Version Description
- Fix: Snippets library not load
- Turn off redirect after activate
Download this release
Release Info
Developer | alexkovalevv |
Plugin | Insert PHP |
Version | 2.4.2 |
Comparing to | |
See all releases |
Code changes from version 2.3.10 to 2.4.2
- admin/activation.php +2 -2
- admin/ajax/ajax.php +44 -4
- admin/assets/css/import.css.map +0 -1
- admin/assets/css/list-table.css +184 -184
- admin/assets/css/list-table.css.map +0 -1
- admin/assets/css/snippet-edit.css +19 -1
- admin/assets/css/snippet-edit.less +21 -1
- admin/assets/css/snippets-table.css.map +0 -1
- admin/assets/css/sync.css.map +0 -1
- admin/assets/dist/js/ccm.min.js +1 -1
- admin/assets/js/snippet-list.js +3 -3
- admin/assets/js/sync.js +3 -3
- admin/assets/js/view-opt.js +1 -0
- admin/boot.php +7 -5
- admin/includes/class.actions.snippet.php +1 -1
- admin/includes/class.request.php +1 -0
- admin/includes/class.snippets.viewtable.php +6 -11
- admin/metaboxes/base-options.php +41 -123
- admin/metaboxes/info.php +3 -3
- admin/metaboxes/revisions.php +3 -3
- admin/metaboxes/view-options.php +5 -5
- admin/pages/about.php +5 -5
- admin/pages/import.php +3 -3
- admin/pages/license.php +5 -5
- admin/pages/new-item.php +2 -2
- admin/pages/page.php +3 -3
- admin/pages/settings.php +2 -2
- admin/pages/snippet-library.php +2 -2
- admin/types/snippets-post-types.php +4 -4
- includes/class.execute.snippet.php +220 -38
- includes/class.helpers.php +79 -69
- includes/class.insertion.locations.php +327 -0
- includes/class.plugin.php +28 -2
- includes/controls/class.dropdown.php +87 -0
- includes/jsonmapper/class-json-mapper.php +1 -1
- insert_php.php +28 -37
- languages/insert-php-ru_RU.mo +0 -0
- languages/insert-php-ru_RU.po +1508 -1380
- languages/insert-php.pot +1032 -903
- libs/factory/adverts/boot.php +13 -13
- libs/factory/adverts/includes/class-base.php +6 -6
- libs/factory/adverts/includes/class-dashboard-widget.php +4 -4
- libs/factory/adverts/includes/class-rest-request.php +4 -4
- libs/factory/adverts/langs/wbcr_factory_adverts_109-ru_RU.po +0 -83
- libs/factory/adverts/langs/wbcr_factory_adverts_111-ru_RU.mo +0 -0
- libs/factory/adverts/langs/wbcr_factory_adverts_111-ru_RU.po +0 -83
- libs/factory/adverts/langs/wbcr_factory_adverts_112-ru_RU.mo +0 -0
- libs/factory/adverts/langs/wbcr_factory_adverts_112-ru_RU.po +0 -83
- libs/factory/adverts/langs/{wbcr_factory_adverts_104-ru_RU.mo → wbcr_factory_adverts_128-ru_RU.mo} +0 -0
- libs/factory/adverts/langs/{wbcr_factory_adverts_104-ru_RU.po → wbcr_factory_adverts_128-ru_RU.po} +0 -0
- libs/factory/bootstrap/assets/css-min/bootstrap.accordion.min.css +2 -2
- libs/factory/bootstrap/assets/css-min/bootstrap.blue.min.css +2 -2
- libs/factory/bootstrap/assets/css-min/bootstrap.coffee.min.css +2 -2
- libs/factory/bootstrap/assets/css-min/bootstrap.core.min.css +3 -3
admin/activation.php
CHANGED
@@ -4,7 +4,7 @@
|
|
4 |
*
|
5 |
* @author Webcraftic <wordpress.webraftic@gmail.com>
|
6 |
* @copyright (c) 02.12.2018, Webcraftic
|
7 |
-
* @see
|
8 |
*
|
9 |
* @version 1.0.1
|
10 |
*/
|
@@ -14,7 +14,7 @@ if ( ! defined( 'ABSPATH' ) ) {
|
|
14 |
exit;
|
15 |
}
|
16 |
|
17 |
-
class WINP_Activation extends
|
18 |
|
19 |
/**
|
20 |
* Method is executed during the activation of the plugin.
|
4 |
*
|
5 |
* @author Webcraftic <wordpress.webraftic@gmail.com>
|
6 |
* @copyright (c) 02.12.2018, Webcraftic
|
7 |
+
* @see Wbcr_Factory450_Activator
|
8 |
*
|
9 |
* @version 1.0.1
|
10 |
*/
|
14 |
exit;
|
15 |
}
|
16 |
|
17 |
+
class WINP_Activation extends Wbcr_Factory450_Activator {
|
18 |
|
19 |
/**
|
20 |
* Method is executed during the activation of the plugin.
|
admin/ajax/ajax.php
CHANGED
@@ -133,9 +133,12 @@ function wbcr_inp_ajax_get_page_list() {
|
|
133 |
|
134 |
check_admin_referer( 'wbcr_inp_snippet_' . $snippet_id . '_conditions_metabox' );
|
135 |
|
|
|
|
|
|
|
136 |
$result = [
|
137 |
'values' => [
|
138 |
-
'Basic'
|
139 |
[
|
140 |
'value' => 'base_web',
|
141 |
'title' => __( 'Entire Website', 'insert-php' ),
|
@@ -149,7 +152,7 @@ function wbcr_inp_ajax_get_page_list() {
|
|
149 |
'title' => __( 'All Archives', 'insert-php' ),
|
150 |
],
|
151 |
],
|
152 |
-
'Special Pages' => [
|
153 |
[
|
154 |
'value' => 'spec_404',
|
155 |
'title' => __( '404 Page', 'insert-php' ),
|
@@ -175,7 +178,7 @@ function wbcr_inp_ajax_get_page_list() {
|
|
175 |
'title' => __( 'Author Archive', 'insert-php' ),
|
176 |
],
|
177 |
],
|
178 |
-
'Posts'
|
179 |
[
|
180 |
'value' => 'post_all',
|
181 |
'title' => __( 'All Posts', 'insert-php' ),
|
@@ -193,7 +196,7 @@ function wbcr_inp_ajax_get_page_list() {
|
|
193 |
'title' => __( 'All Tags Archive', 'insert-php' ),
|
194 |
],
|
195 |
],
|
196 |
-
'Pages'
|
197 |
[
|
198 |
'value' => 'page_all',
|
199 |
'title' => __( 'All Pages', 'insert-php' ),
|
@@ -203,6 +206,43 @@ function wbcr_inp_ajax_get_page_list() {
|
|
203 |
'title' => __( 'All Pages Archive', 'insert-php' ),
|
204 |
],
|
205 |
],
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
206 |
],
|
207 |
];
|
208 |
|
133 |
|
134 |
check_admin_referer( 'wbcr_inp_snippet_' . $snippet_id . '_conditions_metabox' );
|
135 |
|
136 |
+
$is_woo = WINP_Helper::is_woo_active();
|
137 |
+
$woo_desc = $is_woo ? '' : __( '(not active)', 'insert-php' );
|
138 |
+
|
139 |
$result = [
|
140 |
'values' => [
|
141 |
+
__( 'Basic', 'insert-php' ) => [
|
142 |
[
|
143 |
'value' => 'base_web',
|
144 |
'title' => __( 'Entire Website', 'insert-php' ),
|
152 |
'title' => __( 'All Archives', 'insert-php' ),
|
153 |
],
|
154 |
],
|
155 |
+
__( 'Special Pages', 'insert-php' ) => [
|
156 |
[
|
157 |
'value' => 'spec_404',
|
158 |
'title' => __( '404 Page', 'insert-php' ),
|
178 |
'title' => __( 'Author Archive', 'insert-php' ),
|
179 |
],
|
180 |
],
|
181 |
+
__( 'Posts', 'insert-php' ) => [
|
182 |
[
|
183 |
'value' => 'post_all',
|
184 |
'title' => __( 'All Posts', 'insert-php' ),
|
196 |
'title' => __( 'All Tags Archive', 'insert-php' ),
|
197 |
],
|
198 |
],
|
199 |
+
__( 'Pages', 'insert-php' ) => [
|
200 |
[
|
201 |
'value' => 'page_all',
|
202 |
'title' => __( 'All Pages', 'insert-php' ),
|
206 |
'title' => __( 'All Pages Archive', 'insert-php' ),
|
207 |
],
|
208 |
],
|
209 |
+
__( 'Woocommerce', 'insert-php' ) . $woo_desc => [
|
210 |
+
[
|
211 |
+
'value' => 'woo_product',
|
212 |
+
'title' => __( 'Product', 'insert-php' ),
|
213 |
+
'disabled' => ! $is_woo,
|
214 |
+
],
|
215 |
+
[
|
216 |
+
'value' => 'woo_cart',
|
217 |
+
'title' => __( 'Cart page', 'insert-php' ),
|
218 |
+
'disabled' => ! $is_woo,
|
219 |
+
],
|
220 |
+
[
|
221 |
+
'value' => 'woo_checkout',
|
222 |
+
'title' => __( 'Checkout page', 'insert-php' ),
|
223 |
+
'disabled' => ! $is_woo,
|
224 |
+
],
|
225 |
+
[
|
226 |
+
'value' => 'woo_checkout_pay',
|
227 |
+
'title' => __( 'Checkout pay page', 'insert-php' ),
|
228 |
+
'disabled' => ! $is_woo,
|
229 |
+
],
|
230 |
+
[
|
231 |
+
'value' => 'woo_arch',
|
232 |
+
'title' => __( 'All Products page', 'insert-php' ),
|
233 |
+
'disabled' => ! $is_woo,
|
234 |
+
],
|
235 |
+
[
|
236 |
+
'value' => 'woo_cat',
|
237 |
+
'title' => __( 'Products Category page', 'insert-php' ),
|
238 |
+
'disabled' => ! $is_woo,
|
239 |
+
],
|
240 |
+
[
|
241 |
+
'value' => 'woo_tag',
|
242 |
+
'title' => __( 'Products Tag page', 'insert-php' ),
|
243 |
+
'disabled' => ! $is_woo,
|
244 |
+
],
|
245 |
+
],
|
246 |
],
|
247 |
];
|
248 |
|
admin/assets/css/import.css.map
DELETED
@@ -1 +0,0 @@
|
|
1 |
-
{"version":3,"sources":["import.less"],"names":[],"mappings":"AACA,qBACE,EAAC;EACC,sBAAA;EACA,kBAAA;;AAHJ,qBACE,EAAC,UAIC;EACE,cAAA;EACA,cAAA;;AAPN,qBAWE,EAAC;EACC,eAAA;EACA,cAAA;;AAbJ,qBAgBE,EAAC;EACC,eAAA;EACA,cAAA;EACA,oBAAA;;AAnBJ,qBAsBE;EACE,kBAAA;;AAIJ;EACE,yBAAA;EACA,qBAAA;EACA,YAAA;EACA,yBAAA;EACA,kBAAA;EACA,kBAAA;;AANF,wBAQE;EAEE,YAAA;;AAVJ,wBAaE,KAAI;EACF,cAAA;;AAIJ,KAAM,IAAG;EACP,6BAAA;EACA,SAAA;EACA,gBAAA;EACA,iBAAA;EACA,oBAAA;EACA,eAAA;EACA,aAAa,8CAAb;EACA,gBAAA;EACA,cAAA","file":"import.css"}
|
|
admin/assets/css/list-table.css
CHANGED
@@ -1,184 +1,184 @@
|
|
1 |
-
/**
|
2 |
-
* Snippets list table
|
3 |
-
* @author Webcraftic <wordpress.webraftic@gmail.com>
|
4 |
-
* @copyright Webcraftic 02.06.2018
|
5 |
-
*/
|
6 |
-
.wp-list-table th#title {
|
7 |
-
width: 20% !important;
|
8 |
-
}
|
9 |
-
.wp-list-table th#winp_snippet_type {
|
10 |
-
width: 70px !important;
|
11 |
-
}
|
12 |
-
.wp-list-table th#winp_actions {
|
13 |
-
width: 50px !important;
|
14 |
-
}
|
15 |
-
.wp-list-table th#winp_where_use {
|
16 |
-
width: 200px !important;
|
17 |
-
}
|
18 |
-
.wp-list-table th#winp_priority {
|
19 |
-
width: 90px !important;
|
20 |
-
}
|
21 |
-
.wp-list-table th#winp_taxonomy-wbcr-snippet-tags {
|
22 |
-
width: 100px;
|
23 |
-
}
|
24 |
-
.wp-list-table .winp-taxonomy-href {
|
25 |
-
text-decoration: underline;
|
26 |
-
}
|
27 |
-
.wp-list-table td {
|
28 |
-
vertical-align: middle;
|
29 |
-
/*&.column-snippet_type {
|
30 |
-
text-align: center;
|
31 |
-
}*/
|
32 |
-
}
|
33 |
-
.wp-list-table td.column-winp_actions {
|
34 |
-
vertical-align: top;
|
35 |
-
}
|
36 |
-
.wp-list-table td .winp-snippet-active-switch,
|
37 |
-
.wp-list-table td .winp-snippet-inactive-switch {
|
38 |
-
background-color: #2196f3;
|
39 |
-
margin-top: 5px;
|
40 |
-
width: 40px;
|
41 |
-
height: 20px;
|
42 |
-
border-radius: 34px;
|
43 |
-
display: inline-block;
|
44 |
-
}
|
45 |
-
.wp-list-table td .winp-snippet-active-switch:before,
|
46 |
-
.wp-list-table td .winp-snippet-inactive-switch:before {
|
47 |
-
-webkit-transform: translateX(100%);
|
48 |
-
transform: translateX(100%);
|
49 |
-
-webkit-transition: all 0.4s;
|
50 |
-
transition: all 0.4s;
|
51 |
-
content: "";
|
52 |
-
height: 16px;
|
53 |
-
width: 17px;
|
54 |
-
display: inline-block;
|
55 |
-
margin: 2px;
|
56 |
-
background-color: #fff;
|
57 |
-
border-radius: 50%;
|
58 |
-
}
|
59 |
-
.wp-list-table td .winp-snippet-active-switch:hover:before,
|
60 |
-
.wp-list-table td .winp-snippet-inactive-switch:hover:before {
|
61 |
-
-webkit-transform: translateX(80%);
|
62 |
-
transform: translateX(80%);
|
63 |
-
}
|
64 |
-
.wp-list-table td .winp-inactive.winp-snippet-active-switch {
|
65 |
-
background-color: #ccc;
|
66 |
-
}
|
67 |
-
.wp-list-table td .winp-inactive.winp-snippet-active-switch:before {
|
68 |
-
-webkit-transform: none;
|
69 |
-
transform: none;
|
70 |
-
}
|
71 |
-
.wp-list-table td .winp-inactive.winp-snippet-active-switch:hover:before {
|
72 |
-
-webkit-transform: translateX(20%);
|
73 |
-
transform: translateX(20%);
|
74 |
-
}
|
75 |
-
.wp-list-table td .winp-snippet-switch-loader:before {
|
76 |
-
-webkit-transform: translateX(55%) !important;
|
77 |
-
transform: translateX(55%) !important;
|
78 |
-
}
|
79 |
-
.wp-list-table .wbcr-inp-enable-snippet-button .dashicons {
|
80 |
-
margin-top: 3px;
|
81 |
-
}
|
82 |
-
.wp-list-table .wbcr-inp-enable-snippet-button .dashicons.dashicons-controls-pause {
|
83 |
-
color: #8bc34a;
|
84 |
-
}
|
85 |
-
.wp-list-table .wbcr-inp-snippet-type-label {
|
86 |
-
display: inline-block;
|
87 |
-
padding: 3px 8px 6px;
|
88 |
-
border-radius: 3px;
|
89 |
-
font-weight: bold;
|
90 |
-
width: 30px;
|
91 |
-
text-align: center;
|
92 |
-
float: right;
|
93 |
-
margin-right: 5px;
|
94 |
-
}
|
95 |
-
.wp-list-table .wbcr-inp-snippet-type-label.wbcr-inp-type-php {
|
96 |
-
background: #777bb3;
|
97 |
-
color: #ffffff;
|
98 |
-
}
|
99 |
-
.wp-list-table .wbcr-inp-snippet-type-label.wbcr-inp-type-text {
|
100 |
-
background: #4CAF50;
|
101 |
-
color: #fffffd;
|
102 |
-
}
|
103 |
-
.wp-list-table .wbcr-inp-snippet-type-label.wbcr-inp-type-universal {
|
104 |
-
background: #607D8B;
|
105 |
-
color: #ffffff;
|
106 |
-
}
|
107 |
-
.wp-list-table .wbcr-inp-snippet-type-label.wbcr-inp-type-css {
|
108 |
-
background: #1572b6;
|
109 |
-
color: #ffffff;
|
110 |
-
}
|
111 |
-
.wp-list-table .wbcr-inp-snippet-type-label.wbcr-inp-type-js {
|
112 |
-
background: #f7df1e;
|
113 |
-
color: #655b0e;
|
114 |
-
}
|
115 |
-
.wp-list-table .wbcr-inp-snippet-type-label.wbcr-inp-type-html {
|
116 |
-
background: #e44d26;
|
117 |
-
color: #fffffd;
|
118 |
-
}
|
119 |
-
.wp-list-table .wbcr-inp-snippet-type-label.wbcr-inp-type-advert {
|
120 |
-
background: #d56700;
|
121 |
-
color: #fffffd;
|
122 |
-
}
|
123 |
-
.wp-list-table .wbcr-inp-status-marker {
|
124 |
-
display: inline-block;
|
125 |
-
border-radius: 100%;
|
126 |
-
width: 10px;
|
127 |
-
height: 10px;
|
128 |
-
margin-left: 5px;
|
129 |
-
}
|
130 |
-
.wp-list-table .wbcr-inp-status-marker.wbcr-inp-status-green {
|
131 |
-
background: #8bc34a;
|
132 |
-
}
|
133 |
-
.wp-list-table .wbcr-inp-status-marker.wbcr-inp-status-grey {
|
134 |
-
background: #c0c0c0;
|
135 |
-
}
|
136 |
-
.wp-list-table .wbcr_inp_shortcode_input,
|
137 |
-
.wp-list-table .wbcr_inp_shortcode_input:focus {
|
138 |
-
border: 0;
|
139 |
-
background: transparent;
|
140 |
-
box-shadow: none;
|
141 |
-
outline: none;
|
142 |
-
width: 100%;
|
143 |
-
color: #555;
|
144 |
-
font-size: 13px;
|
145 |
-
line-height: 1.5em;
|
146 |
-
padding: 0;
|
147 |
-
margin: 0;
|
148 |
-
}
|
149 |
-
.wp-list-table .wbcr_inp_input_priority,
|
150 |
-
.wp-list-table .wbcr_inp_input_priority:focus {
|
151 |
-
width: 50px;
|
152 |
-
color: #555;
|
153 |
-
font-size: 13px;
|
154 |
-
margin: 0;
|
155 |
-
padding: 0;
|
156 |
-
text-align: center;
|
157 |
-
}
|
158 |
-
.wp-list-table .wbcr_inp_input_priority.winp-loader {
|
159 |
-
background: url('../img/loader.gif') no-repeat right center;
|
160 |
-
background-size: 20px;
|
161 |
-
}
|
162 |
-
@media screen and (max-width: 1350px) {
|
163 |
-
.wp-list-table th#description,
|
164 |
-
.wp-list-table th.column-description {
|
165 |
-
width: 0;
|
166 |
-
font-size: 0;
|
167 |
-
}
|
168 |
-
.wp-list-table th#actions {
|
169 |
-
width: 50px !important;
|
170 |
-
}
|
171 |
-
.wp-list-table th#where_use {
|
172 |
-
width: 100px !important;
|
173 |
-
}
|
174 |
-
.wp-list-table th#taxonomy-wbcr-snippet-tags {
|
175 |
-
width: 60px !important;
|
176 |
-
}
|
177 |
-
.wp-list-table th#snippet_type {
|
178 |
-
width: 50px !important;
|
179 |
-
}
|
180 |
-
.wp-list-table td.column-description {
|
181 |
-
width: 0;
|
182 |
-
font-size: 0;
|
183 |
-
}
|
184 |
-
}
|
1 |
+
/**
|
2 |
+
* Snippets list table
|
3 |
+
* @author Webcraftic <wordpress.webraftic@gmail.com>
|
4 |
+
* @copyright Webcraftic 02.06.2018
|
5 |
+
*/
|
6 |
+
.wp-list-table th#title {
|
7 |
+
width: 20% !important;
|
8 |
+
}
|
9 |
+
.wp-list-table th#winp_snippet_type {
|
10 |
+
width: 70px !important;
|
11 |
+
}
|
12 |
+
.wp-list-table th#winp_actions {
|
13 |
+
width: 50px !important;
|
14 |
+
}
|
15 |
+
.wp-list-table th#winp_where_use {
|
16 |
+
width: 200px !important;
|
17 |
+
}
|
18 |
+
.wp-list-table th#winp_priority {
|
19 |
+
width: 90px !important;
|
20 |
+
}
|
21 |
+
.wp-list-table th#winp_taxonomy-wbcr-snippet-tags {
|
22 |
+
width: 100px;
|
23 |
+
}
|
24 |
+
.wp-list-table .winp-taxonomy-href {
|
25 |
+
text-decoration: underline;
|
26 |
+
}
|
27 |
+
.wp-list-table td {
|
28 |
+
vertical-align: middle;
|
29 |
+
/*&.column-snippet_type {
|
30 |
+
text-align: center;
|
31 |
+
}*/
|
32 |
+
}
|
33 |
+
.wp-list-table td.column-winp_actions {
|
34 |
+
vertical-align: top;
|
35 |
+
}
|
36 |
+
.wp-list-table td .winp-snippet-active-switch,
|
37 |
+
.wp-list-table td .winp-snippet-inactive-switch {
|
38 |
+
background-color: #2196f3;
|
39 |
+
margin-top: 5px;
|
40 |
+
width: 40px;
|
41 |
+
height: 20px;
|
42 |
+
border-radius: 34px;
|
43 |
+
display: inline-block;
|
44 |
+
}
|
45 |
+
.wp-list-table td .winp-snippet-active-switch:before,
|
46 |
+
.wp-list-table td .winp-snippet-inactive-switch:before {
|
47 |
+
-webkit-transform: translateX(100%);
|
48 |
+
transform: translateX(100%);
|
49 |
+
-webkit-transition: all 0.4s;
|
50 |
+
transition: all 0.4s;
|
51 |
+
content: "";
|
52 |
+
height: 16px;
|
53 |
+
width: 17px;
|
54 |
+
display: inline-block;
|
55 |
+
margin: 2px;
|
56 |
+
background-color: #fff;
|
57 |
+
border-radius: 50%;
|
58 |
+
}
|
59 |
+
.wp-list-table td .winp-snippet-active-switch:hover:before,
|
60 |
+
.wp-list-table td .winp-snippet-inactive-switch:hover:before {
|
61 |
+
-webkit-transform: translateX(80%);
|
62 |
+
transform: translateX(80%);
|
63 |
+
}
|
64 |
+
.wp-list-table td .winp-inactive.winp-snippet-active-switch {
|
65 |
+
background-color: #ccc;
|
66 |
+
}
|
67 |
+
.wp-list-table td .winp-inactive.winp-snippet-active-switch:before {
|
68 |
+
-webkit-transform: none;
|
69 |
+
transform: none;
|
70 |
+
}
|
71 |
+
.wp-list-table td .winp-inactive.winp-snippet-active-switch:hover:before {
|
72 |
+
-webkit-transform: translateX(20%);
|
73 |
+
transform: translateX(20%);
|
74 |
+
}
|
75 |
+
.wp-list-table td .winp-snippet-switch-loader:before {
|
76 |
+
-webkit-transform: translateX(55%) !important;
|
77 |
+
transform: translateX(55%) !important;
|
78 |
+
}
|
79 |
+
.wp-list-table .wbcr-inp-enable-snippet-button .dashicons {
|
80 |
+
margin-top: 3px;
|
81 |
+
}
|
82 |
+
.wp-list-table .wbcr-inp-enable-snippet-button .dashicons.dashicons-controls-pause {
|
83 |
+
color: #8bc34a;
|
84 |
+
}
|
85 |
+
.wp-list-table .wbcr-inp-snippet-type-label {
|
86 |
+
display: inline-block;
|
87 |
+
padding: 3px 8px 6px;
|
88 |
+
border-radius: 3px;
|
89 |
+
font-weight: bold;
|
90 |
+
width: 30px;
|
91 |
+
text-align: center;
|
92 |
+
float: right;
|
93 |
+
margin-right: 5px;
|
94 |
+
}
|
95 |
+
.wp-list-table .wbcr-inp-snippet-type-label.wbcr-inp-type-php {
|
96 |
+
background: #777bb3;
|
97 |
+
color: #ffffff;
|
98 |
+
}
|
99 |
+
.wp-list-table .wbcr-inp-snippet-type-label.wbcr-inp-type-text {
|
100 |
+
background: #4CAF50;
|
101 |
+
color: #fffffd;
|
102 |
+
}
|
103 |
+
.wp-list-table .wbcr-inp-snippet-type-label.wbcr-inp-type-universal {
|
104 |
+
background: #607D8B;
|
105 |
+
color: #ffffff;
|
106 |
+
}
|
107 |
+
.wp-list-table .wbcr-inp-snippet-type-label.wbcr-inp-type-css {
|
108 |
+
background: #1572b6;
|
109 |
+
color: #ffffff;
|
110 |
+
}
|
111 |
+
.wp-list-table .wbcr-inp-snippet-type-label.wbcr-inp-type-js {
|
112 |
+
background: #f7df1e;
|
113 |
+
color: #655b0e;
|
114 |
+
}
|
115 |
+
.wp-list-table .wbcr-inp-snippet-type-label.wbcr-inp-type-html {
|
116 |
+
background: #e44d26;
|
117 |
+
color: #fffffd;
|
118 |
+
}
|
119 |
+
.wp-list-table .wbcr-inp-snippet-type-label.wbcr-inp-type-advert {
|
120 |
+
background: #d56700;
|
121 |
+
color: #fffffd;
|
122 |
+
}
|
123 |
+
.wp-list-table .wbcr-inp-status-marker {
|
124 |
+
display: inline-block;
|
125 |
+
border-radius: 100%;
|
126 |
+
width: 10px;
|
127 |
+
height: 10px;
|
128 |
+
margin-left: 5px;
|
129 |
+
}
|
130 |
+
.wp-list-table .wbcr-inp-status-marker.wbcr-inp-status-green {
|
131 |
+
background: #8bc34a;
|
132 |
+
}
|
133 |
+
.wp-list-table .wbcr-inp-status-marker.wbcr-inp-status-grey {
|
134 |
+
background: #c0c0c0;
|
135 |
+
}
|
136 |
+
.wp-list-table .wbcr_inp_shortcode_input,
|
137 |
+
.wp-list-table .wbcr_inp_shortcode_input:focus {
|
138 |
+
border: 0;
|
139 |
+
background: transparent;
|
140 |
+
box-shadow: none;
|
141 |
+
outline: none;
|
142 |
+
width: 100%;
|
143 |
+
color: #555;
|
144 |
+
font-size: 13px;
|
145 |
+
line-height: 1.5em;
|
146 |
+
padding: 0;
|
147 |
+
margin: 0;
|
148 |
+
}
|
149 |
+
.wp-list-table .wbcr_inp_input_priority,
|
150 |
+
.wp-list-table .wbcr_inp_input_priority:focus {
|
151 |
+
width: 50px;
|
152 |
+
color: #555;
|
153 |
+
font-size: 13px;
|
154 |
+
margin: 0;
|
155 |
+
padding: 0;
|
156 |
+
text-align: center;
|
157 |
+
}
|
158 |
+
.wp-list-table .wbcr_inp_input_priority.winp-loader {
|
159 |
+
background: url('../img/loader.gif') no-repeat right center;
|
160 |
+
background-size: 20px;
|
161 |
+
}
|
162 |
+
@media screen and (max-width: 1350px) {
|
163 |
+
.wp-list-table th#description,
|
164 |
+
.wp-list-table th.column-description {
|
165 |
+
width: 0;
|
166 |
+
font-size: 0;
|
167 |
+
}
|
168 |
+
.wp-list-table th#actions {
|
169 |
+
width: 50px !important;
|
170 |
+
}
|
171 |
+
.wp-list-table th#where_use {
|
172 |
+
width: 100px !important;
|
173 |
+
}
|
174 |
+
.wp-list-table th#taxonomy-wbcr-snippet-tags {
|
175 |
+
width: 60px !important;
|
176 |
+
}
|
177 |
+
.wp-list-table th#snippet_type {
|
178 |
+
width: 50px !important;
|
179 |
+
}
|
180 |
+
.wp-list-table td.column-description {
|
181 |
+
width: 0;
|
182 |
+
font-size: 0;
|
183 |
+
}
|
184 |
+
}
|
admin/assets/css/list-table.css.map
DELETED
@@ -1 +0,0 @@
|
|
1 |
-
{"version":3,"sources":["list-table.less"],"names":[],"mappings":";;;;;AAQI,cADA,GACC;EACC,qBAAA;;AAGF,cALA,GAKC;EACC,sBAAA;;AAGF,cATA,GASC;EACC,sBAAA;;AAGF,cAbA,GAaC;EACC,uBAAA;;AAGF,cAjBA,GAiBC;EACC,YAAA;;AAIJ,cAAE;EACA,iCAAA;;;;;AAxBJ,cAmCE,gCACE;EACE,eAAA;;AAEA,cAJJ,gCACE,WAGG;EACC,cAAA;;AAxCR,cA6CE;EACE,qBAAA;EACA,oBAAA;EACA,kBAAA;EACA,iBAAA;EACA,WAAA;EACA,kBAAA;;AAEA,cARF,6BAQG;EACC,mBAAA;EACA,cAAA;;AAGF,cAbF,6BAaG;EACC,mBAAA;EACA,cAAA;;AAGF,cAlBF,6BAkBG;EACC,mBAAA;EACA,cAAA;;AAGF,cAvBF,6BAuBG;EACC,mBAAA;EACA,cAAA;;AAGF,cA5BF,6BA4BG;EACC,mBAAA;EACA,cAAA;;AAGF,cAjCF,6BAiCG;EACC,mBAAA;EACA,cAAA;;AAhFN,cAoFE;EACE,qBAAA;EACA,mBAAA;EACA,WAAA;EACA,YAAA;EACA,gBAAA;;AAEA,cAPF,wBAOG;EACC,mBAAA;;AAGF,cAXF,wBAWG;EACC,mBAAA;;AAON,mBAAsC;EAGhC,cADA,GACC;EAAc,cADf,GACgB;IACd,QAAA;IACA,YAAA;;EAGF,cANA,GAMC;IACC,sBAAA;;EAGF,cAVA,GAUC;IACC,uBAAA;;EAGF,cAdA,GAcC;IACC,sBAAA;;EAGF,cAlBA,GAkBC;IACC,sBAAA;;EAKF,cADA,GACC;IACC,QAAA;IACA,YAAA","file":"list-table.css"}
|
|
admin/assets/css/snippet-edit.css
CHANGED
@@ -8,7 +8,7 @@ button.active {
|
|
8 |
border-color: #007cba !important;
|
9 |
color: #fff !important;
|
10 |
text-decoration: none !important;
|
11 |
-
box-shadow: inset
|
12 |
}
|
13 |
.wbcr_inp_shortcode_input_container,
|
14 |
.wbcr_inp_whereuse_input_container {
|
@@ -31,3 +31,21 @@ button.active {
|
|
31 |
margin: 0 0 10px 0 !important;
|
32 |
text-align: center;
|
33 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
8 |
border-color: #007cba !important;
|
9 |
color: #fff !important;
|
10 |
text-decoration: none !important;
|
11 |
+
box-shadow: inset 0 0 1px 1px rgba(0, 0, 0, 0.2) !important;
|
12 |
}
|
13 |
.wbcr_inp_shortcode_input_container,
|
14 |
.wbcr_inp_whereuse_input_container {
|
31 |
margin: 0 0 10px 0 !important;
|
32 |
text-align: center;
|
33 |
}
|
34 |
+
|
35 |
+
.factory-bootstrap-450 select.form-control
|
36 |
+
{
|
37 |
+
display: block;
|
38 |
+
width: 100%;
|
39 |
+
height: 34px;
|
40 |
+
padding: 6px 12px;
|
41 |
+
font-size: 14px;
|
42 |
+
line-height: 1.42857143;
|
43 |
+
vertical-align: middle;
|
44 |
+
background: #fff url(data:image/svg+xml;charset=US-ASCII,%3Csvg%20width%3D%2220%22%20height%3D%2220%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22M5%206l5%205%205-5%202%201-7%207-7-7%202-1z%22%20fill%3D%22%23555%22%2F%3E%3C%2Fsvg%3E) no-repeat right 5px top 55%;
|
45 |
+
border: 1px solid #ccc;
|
46 |
+
border-radius: 3px;
|
47 |
+
-webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
|
48 |
+
box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
|
49 |
+
-webkit-transition: border-color ease-in-out 0.15s, box-shadow ease-in-out 0.15s;
|
50 |
+
transition: border-color ease-in-out 0.15s, box-shadow ease-in-out 0.15s;
|
51 |
+
}
|
admin/assets/css/snippet-edit.less
CHANGED
@@ -9,7 +9,7 @@ button.active {
|
|
9 |
border-color: #007cba !important;
|
10 |
color: #fff !important;
|
11 |
text-decoration: none !important;
|
12 |
-
box-shadow: inset
|
13 |
}
|
14 |
|
15 |
.wbcr_inp_shortcode_input_container, .wbcr_inp_whereuse_input_container {
|
@@ -34,3 +34,23 @@ button.active {
|
|
34 |
text-align: center;
|
35 |
}
|
36 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
9 |
border-color: #007cba !important;
|
10 |
color: #fff !important;
|
11 |
text-decoration: none !important;
|
12 |
+
box-shadow: inset 0 0 1px 1px rgba(0, 0, 0, 0.2) !important;
|
13 |
}
|
14 |
|
15 |
.wbcr_inp_shortcode_input_container, .wbcr_inp_whereuse_input_container {
|
34 |
text-align: center;
|
35 |
}
|
36 |
|
37 |
+
.factory-bootstrap-000 {
|
38 |
+
select.form-control {
|
39 |
+
display: block;
|
40 |
+
width: 100%;
|
41 |
+
height: 34px;
|
42 |
+
padding: 6px 12px;
|
43 |
+
font-size: 14px;
|
44 |
+
line-height: 1.428571429;
|
45 |
+
vertical-align: middle;
|
46 |
+
background: #fff url(data:image/svg+xml;charset=US-ASCII,%3Csvg%20width%3D%2220%22%20height%3D%2220%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22M5%206l5%205%205-5%202%201-7%207-7-7%202-1z%22%20fill%3D%22%23555%22%2F%3E%3C%2Fsvg%3E) no-repeat right 5px top 55%;
|
47 |
+
border: 1px solid #ccc;
|
48 |
+
border-radius: 3px;
|
49 |
+
-webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075);
|
50 |
+
box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075);
|
51 |
+
-webkit-transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
|
52 |
+
transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
|
53 |
+
}
|
54 |
+
}
|
55 |
+
|
56 |
+
|
admin/assets/css/snippets-table.css.map
DELETED
@@ -1 +0,0 @@
|
|
1 |
-
{"version":3,"sources":["snippets-table.less"],"names":[],"mappings":"AAAA,qBACE,gCAEE;AAHJ,qBAEE,gCACE;EACE,eAAA;;AAJN,qBAQE;EACE,qBAAA;EACA,oBAAA;EACA,kBAAA;EACA,iBAAA;EACA,WAAA;EACA,kBAAA;;AAEA,qBARF,6BAQG;EACC,mBAAA;EACA,cAAA;;AAGF,qBAbF,6BAaG;EACC,mBAAA;EACA,cAAA;;AAGF,qBAlBF,6BAkBG;EACC,mBAAA;EACA,cAAA;;AAGF,qBAvBF,6BAuBG;EACC,mBAAA;EACA,cAAA;;AAGF,qBA5BF,6BA4BG;EACC,mBAAA;EACA,cAAA;;AAGF,qBAjCF,6BAiCG;EACC,mBAAA;EACA,cAAA;;AAKN;;;;;;;;AAAA,qBACE,EAAC;EACC,sBAAA;EACA,kBAAA;;AAHJ,qBACE,EAAC,UAIC;EACE,cAAA;EACA,cAAA;;AAPN,qBAWE,EAAC;EACC,eAAA;EACA,cAAA;;AAbJ,qBAgBE,EAAC;EACC,eAAA;EACA,cAAA;EACA,oBAAA;;AAnBJ,qBAsBE;EACE,kBAAA;;AAvBJ,qBAiCE,MAAK,SACH;EACE,WAAA;;AAnCN,qBAiCE,MAAK,SAKH;EACE,YAAA;;AAvCN,qBAiCE,MAAK,SASH;EACE,YAAA;;AA3CN,qBAiCE,MAAK,SAaH;AA9CJ,qBAiCE,MAAK,SAaa;EACd,YAAA;;AAKN;EACE,yBAAA;EACA,qBAAA;EACA,YAAA;EACA,yBAAA;EACA,kBAAA;EACA,kBAAA;;AANF,wBAQE;EAEE,YAAA;;AAVJ,wBAaE,KAAI;EACF,cAAA","file":"snippets-table.css"}
|
|
admin/assets/css/sync.css.map
DELETED
@@ -1 +0,0 @@
|
|
1 |
-
{"version":3,"sources":["sync.less"],"names":[],"mappings":"AAAA;EACE,kBAAA;EACA,yBAAA;EACA,kBAAA;EACA,8BAAA;EACA,+BAAA;;AALF,kBAOE,gCAEE;AATJ,kBAQE,gCACE;EACE,eAAA;;AAVN,kBAcE,4BAA4B;EAC1B,qBAAA;;AAfJ,kBAkBE;EACE,qBAAA;EACA,oBAAA;EACA,kBAAA;EACA,iBAAA;EACA,WAAA;EACA,kBAAA;;AAEA,kBARF,6BAQG;EACC,mBAAA;EACA,cAAA;;AAGF,kBAbF,6BAaG;EACC,mBAAA;EACA,cAAA;;AAGF,kBAlBF,6BAkBG;EACC,mBAAA;EACA,cAAA;;AAtCN,kBA0CE,eAAe,GAAE;EACf,UAAA;;AA3CJ,kBA8CE;EACE,kBAAA;EACA,WAAA;EACA,yBAAA;EACA,YAAA;EACA,iBAAA;EACA,yBAAA;EACA,eAAA;EACA,iBAAA;EACA,kBAAA;EAEA,YAAA;EACA,YAAA;;AA1DJ,kBA8CE,uBAcE;EACE,kBAAA;EACA,WAAA;;AA9DN,kBA8CE,uBAcE,KAIE;EACE,YAAA;;AAjER,kBAsEE;EACE,kBAAA;EACA,UAAA;EACA,yBAAA;EACA,YAAA;EACA,yBAAA;EACA,eAAA;;AA5EJ,kBA+EE,EAAC;EACC,sBAAA;EACA,kBAAA;;AAjFJ,kBAoFE,EAAC,UAAW;EACV,cAAA;EACA,cAAA;;AAtFJ,kBAyFE,EAAC;EACC,eAAA;EACA,cAAA;;AA3FJ,kBA8FE,EAAC;EACC,eAAA;EACA,cAAA;EACA,sBAAA;;AAIJ;EACE,sBAAA;;AADF,kBAGE;EACE,YAAA;EACA,eAAA;;AAIJ,kBAAmB;EACjB,cAAA;;AAGF,kBAAmB,UAAU;EAC3B,cAAA;;AAGF;EACE,yBAAA;EACA,qBAAA;EACA,cAAA;;AAGF,kBAAmB;EACjB,kBAAA;EACA,QAAA;;AAGF,gBACE,OAAM;EACJ,YAAA;EACA,kBAAA;EACA,SAAA;EACA,eAAA;;AALJ,gBAQE;EACE,YAAA;;AATJ,gBAYE;EACE,aAAA;EACA,mBAAA;EACA,YAAY,0BAAZ;;AAfJ,gBAkBE;EACE,kBAAA;EACA,cAAA;EACA,aAAA;EACA,eAAA;;AAtBJ,gBAkBE,kBAME;EACE,gBAAA;EACA,eAAA;;AA1BN,gBAkBE,kBAWE,KAAI;EACF,kBAAA;EACA,QAAA;EACA,cAAA;;AAKN;EACE,yBAAA;EACA,qBAAA;EACA,YAAA;EACA,yBAAA;EACA,kBAAA;EACA,kBAAA;;AANF,wBAQE;EAEE,YAAA;;AAVJ,wBAaE,KAAI;EACF,cAAA","file":"sync.css"}
|
|
admin/assets/dist/js/ccm.min.js
CHANGED
@@ -1,2 +1,2 @@
|
|
1 |
!function o(s,a,l){function c(e,t){if(!a[e]){if(!s[e]){var i="function"==typeof require&&require;if(!t&&i)return i(e,!0);if(h)return h(e,!0);var r=new Error("Cannot find module '"+e+"'");throw r.code="MODULE_NOT_FOUND",r}var n=a[e]={exports:{}};s[e][0].call(n.exports,function(t){return c(s[e][1][t]||t)},n,n.exports,o,s,a,l)}return a[e].exports}for(var h="function"==typeof require&&require,t=0;t<l.length;t++)c(l[t]);return c}({1:[function(t,e,i){"use strict";var r,n=(r=t("codemirror/lib/codemirror"))&&r.__esModule?r:{default:r};t("codemirror/mode/php/php"),t("codemirror/addon/edit/matchbrackets"),t("codemirror/addon/edit/closebrackets"),t("codemirror/addon/search/search"),t("codemirror/addon/search/match-highlighter"),t("./php-lint"),window.Woody_CodeMirror=n.default},{"./php-lint":2,"codemirror/addon/edit/closebrackets":4,"codemirror/addon/edit/matchbrackets":5,"codemirror/addon/search/match-highlighter":8,"codemirror/addon/search/search":10,"codemirror/lib/codemirror":12,"codemirror/mode/php/php":17}],2:[function(t,e,i){"use strict";var r=n(t("php-parser")),o=n(t("codemirror/lib/codemirror"));function n(t){return t&&t.__esModule?t:{default:t}}function s(t,e){for(var i=0;i<e.length;i++){var r=e[i];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}t("codemirror/addon/lint/lint");var a=(s(l.prototype,[{key:"lint",value:function(){var t=new r.default({parser:{suppressErrors:!0},ast:{withPositions:!0}});try{var e=t.parseEval(this.code);if(e.errors&&0<e.errors.length)for(var i=0;i<e.errors.length;i++)this.annotate(e.errors[i].message,e.errors[i].loc);this.visit(e)}catch(t){this.annotate(t.message,t)}}},{key:"visit",value:function(t){if(t.hasOwnProperty("kind")&&this.validate(t),t.hasOwnProperty("children")){var e=!0,i=!1,r=void 0;try{for(var n,o=t.children[Symbol.iterator]();!(e=(n=o.next()).done);e=!0){var s=n.value;this.visit(s)}}catch(t){i=!0,r=t}finally{try{e||null==o.return||o.return()}finally{if(i)throw r}}}}},{key:"validate",value:function(t){"function"!==t.kind&&"class"!==t.kind||!t.hasOwnProperty("name")||"identifier"!==t.name.kind||("function"===t.kind?this.function_names.has(t.name.name)?this.annotate("Cannot redeclare function ".concat(t.name.name,"()"),t.name.loc):this.function_names.add(t.name.name):"class"===t.kind&&(this.class_names.has(t.name.name)?this.annotate("Cannot redeclare class ".concat(t.name.name),t.name.loc):this.class_names.add(t.name.name)))}},{key:"annotate",value:function(t,e,i){var r,n;e.lineNumber&&e.columnNumber?(r=o.default.Pos(e.lineNumber-1,e.columnNumber-1),n=o.default.Pos(e.lineNumber-1,e.columnNumber)):e.start&&e.end&&(e.end.offset<e.start.offset?(n=o.default.Pos(e.start.line-1,e.start.column),r=o.default.Pos(e.end.line-1,e.end.column)):(r=o.default.Pos(e.start.line-1,e.start.column),n=o.default.Pos(e.end.line-1,e.end.column))),r&&n&&(i=i||"error",this.annotations.push({message:t,severity:i,from:r,to:n}))}}]),l);function l(t){!function(t){if(!(t instanceof l))throw new TypeError("Cannot call a class as a function")}(this),this.code=t,this.annotations=[],this.function_names=new Set,this.class_names=new Set}o.default.registerHelper("lint","php",function(t,e){var i=new a(t);return i.lint(),i.annotations})},{"codemirror/addon/lint/lint":6,"codemirror/lib/codemirror":12,"php-parser":19}],3:[function(t,e,i){var r;r=function(u){function f(t,e,i){var r,n=t.getWrapperElement();return(r=n.appendChild(document.createElement("div"))).className=i?"CodeMirror-dialog CodeMirror-dialog-bottom":"CodeMirror-dialog CodeMirror-dialog-top","string"==typeof e?r.innerHTML=e:r.appendChild(e),u.addClass(n,"dialog-opened"),r}function d(t,e){t.state.currentNotificationClose&&t.state.currentNotificationClose(),t.state.currentNotificationClose=e}u.defineExtension("openDialog",function(t,e,i){i=i||{},d(this,null);var r=f(this,t,i.bottom),n=!1,o=this;function s(t){if("string"==typeof t)l.value=t;else{if(n)return;n=!0,u.rmClass(r.parentNode,"dialog-opened"),r.parentNode.removeChild(r),o.focus(),i.onClose&&i.onClose(r)}}var a,l=r.getElementsByTagName("input")[0];return l?(l.focus(),i.value&&(l.value=i.value,!1!==i.selectValueOnOpen&&l.select()),i.onInput&&u.on(l,"input",function(t){i.onInput(t,l.value,s)}),i.onKeyUp&&u.on(l,"keyup",function(t){i.onKeyUp(t,l.value,s)}),u.on(l,"keydown",function(t){i&&i.onKeyDown&&i.onKeyDown(t,l.value,s)||((27==t.keyCode||!1!==i.closeOnEnter&&13==t.keyCode)&&(l.blur(),u.e_stop(t),s()),13==t.keyCode&&e(l.value,t))}),!1!==i.closeOnBlur&&u.on(l,"blur",s)):(a=r.getElementsByTagName("button")[0])&&(u.on(a,"click",function(){s(),o.focus()}),!1!==i.closeOnBlur&&u.on(a,"blur",s),a.focus()),s}),u.defineExtension("openConfirm",function(t,e,i){d(this,null);var r=f(this,t,i&&i.bottom),n=r.getElementsByTagName("button"),o=!1,s=this,a=1;function l(){o||(o=!0,u.rmClass(r.parentNode,"dialog-opened"),r.parentNode.removeChild(r),s.focus())}n[0].focus();for(var c=0;c<n.length;++c){var h=n[c];!function(e){u.on(h,"click",function(t){u.e_preventDefault(t),l(),e&&e(s)})}(e[c]),u.on(h,"blur",function(){--a,setTimeout(function(){a<=0&&l()},200)}),u.on(h,"focus",function(){++a})}}),u.defineExtension("openNotification",function(t,e){d(this,s);var i,r=f(this,t,e&&e.bottom),n=!1,o=e&&void 0!==e.duration?e.duration:5e3;function s(){n||(n=!0,clearTimeout(i),u.rmClass(r.parentNode,"dialog-opened"),r.parentNode.removeChild(r))}return u.on(r,"click",function(t){u.e_preventDefault(t),s()}),o&&(i=setTimeout(s,o)),s})},"object"==typeof i&&"object"==typeof e?r(t("../../lib/codemirror")):"function"==typeof define&&define.amd?define(["../../lib/codemirror"],r):r(CodeMirror)},{"../../lib/codemirror":12}],4:[function(t,e,i){var r;r=function(T){var i={pairs:"()[]{}''\"\"",triples:"",explode:"[]{}"},k=T.Pos;function b(t,e){return"pairs"==e&&"string"==typeof t?t:"object"==typeof t&&null!=t[e]?t[e]:i[e]}T.defineOption("autoCloseBrackets",!1,function(t,e,i){i&&i!=T.Init&&(t.removeKeyMap(n),t.state.closeBrackets=null),e&&(r(b(e,"pairs")),t.state.closeBrackets=e,t.addKeyMap(n))});var n={Backspace:function(t){var e=w(t);if(!e||t.getOption("disableInput"))return T.Pass;for(var i=b(e,"pairs"),r=t.listSelections(),n=0;n<r.length;n++){if(!r[n].empty())return T.Pass;var o=a(t,r[n].head);if(!o||i.indexOf(o)%2!=0)return T.Pass}for(n=r.length-1;0<=n;n--){var s=r[n].head;t.replaceRange("",k(s.line,s.ch-1),k(s.line,s.ch+1),"+delete")}},Enter:function(r){var t=w(r),e=t&&b(t,"explode");if(!e||r.getOption("disableInput"))return T.Pass;for(var n=r.listSelections(),i=0;i<n.length;i++){if(!n[i].empty())return T.Pass;var o=a(r,n[i].head);if(!o||e.indexOf(o)%2!=0)return T.Pass}r.operation(function(){var t=r.lineSeparator()||"\n";r.replaceSelection(t+t,null),r.execCommand("goCharLeft"),n=r.listSelections();for(var e=0;e<n.length;e++){var i=n[e].head.line;r.indentLine(i,null,!0),r.indentLine(i+1,null,!0)}})}};function r(t){for(var e=0;e<t.length;e++){var i=t.charAt(e),r="'"+i+"'";n[r]||(n[r]=o(i))}}function o(e){return function(t){return function(n,t){var e=w(n);if(!e||n.getOption("disableInput"))return T.Pass;var i,r,o,s=b(e,"pairs"),a=s.indexOf(t);if(-1==a)return T.Pass;for(var l,c=b(e,"triples"),h=s.charAt(a+1)==t,u=n.listSelections(),f=a%2==0,d=0;d<u.length;d++){var p,m=u[d],g=m.head,_=n.getRange(g,k(g.line,g.ch+1));if(f&&!m.empty())p="surround";else if(!h&&f||_!=t)if(h&&1<g.ch&&0<=c.indexOf(t)&&n.getRange(k(g.line,g.ch-2),g)==t+t){if(2<g.ch&&/\bstring/.test(n.getTokenTypeAt(k(g.line,g.ch-2))))return T.Pass;p="addFour"}else if(h){var v=0==g.ch?" ":n.getRange(k(g.line,g.ch-1),g);if(T.isWordChar(_)||v==t||T.isWordChar(v))return T.Pass;p="both"}else{if(!f)return T.Pass;p="both"}else p=!h||(r=g,o=(i=n).getTokenAt(k(r.line,r.ch+1)),!/\bstring/.test(o.type)||o.start!=r.ch||0!=r.ch&&/\bstring/.test(i.getTokenTypeAt(r)))?0<=c.indexOf(t)&&n.getRange(g,k(g.line,g.ch+3))==t+t+t?"skipThree":"skip":"both";if(l){if(l!=p)return T.Pass}else l=p}var y=a%2?s.charAt(a-1):t,x=a%2?t:s.charAt(a+1);n.operation(function(){if("skip"==l)n.execCommand("goCharRight");else if("skipThree"==l)for(var t=0;t<3;t++)n.execCommand("goCharRight");else if("surround"==l){var e=n.getSelections();for(t=0;t<e.length;t++)e[t]=y+e[t]+x;n.replaceSelections(e,"around"),e=n.listSelections().slice();for(t=0;t<e.length;t++)e[t]=(i=e[t],r=0<T.cmpPos(i.anchor,i.head),{anchor:new k(i.anchor.line,i.anchor.ch+(r?-1:1)),head:new k(i.head.line,i.head.ch+(r?1:-1))});n.setSelections(e)}else"both"==l?(n.replaceSelection(y+x,null),n.triggerElectric(y+x),n.execCommand("goCharLeft")):"addFour"==l&&(n.replaceSelection(y+y+y+y,"before"),n.execCommand("goCharRight"));var i,r})}(t,e)}}function w(t){var e=t.state.closeBrackets;return!e||e.override?e:t.getModeAt(t.getCursor()).closeBrackets||e}function a(t,e){var i=t.getRange(k(e.line,e.ch-1),k(e.line,e.ch+1));return 2==i.length?i:null}r(i.pairs+"`")},"object"==typeof i&&"object"==typeof e?r(t("../../lib/codemirror")):"function"==typeof define&&define.amd?define(["../../lib/codemirror"],r):r(CodeMirror)},{"../../lib/codemirror":12}],5:[function(t,e,i){var r;r=function(r){var h=/MSIE \d/.test(navigator.userAgent)&&(null==document.documentMode||document.documentMode<8),m=r.Pos,g={"(":")>",")":"(<","[":"]>","]":"[<","{":"}>","}":"{<"};function u(t,e,i){var r=t.getLineHandle(e.line),n=e.ch-1,o=i&&i.afterCursor;null==o&&(o=/(^| )cm-fat-cursor($| )/.test(t.getWrapperElement().className));var s=!o&&0<=n&&g[r.text.charAt(n)]||g[r.text.charAt(++n)];if(!s)return null;var a=">"==s.charAt(1)?1:-1;if(i&&i.strict&&0<a!=(n==e.ch))return null;var l=t.getTokenTypeAt(m(e.line,n+1)),c=f(t,m(e.line,n+(0<a?1:0)),a,l||null,i);return null==c?null:{from:m(e.line,n),to:c&&c.pos,match:c&&c.ch==s.charAt(0),forward:0<a}}function f(t,e,i,r,n){for(var o=n&&n.maxScanLineLength||1e4,s=n&&n.maxScanLines||1e3,a=[],l=n&&n.bracketRegex?n.bracketRegex:/[(){}[\]]/,c=0<i?Math.min(e.line+s,t.lastLine()+1):Math.max(t.firstLine()-1,e.line-s),h=e.line;h!=c;h+=i){var u=t.getLine(h);if(u){var f=0<i?0:u.length-1,d=0<i?u.length:-1;if(!(u.length>o))for(h==e.line&&(f=e.ch-(i<0?1:0));f!=d;f+=i){var p=u.charAt(f);if(l.test(p)&&(void 0===r||t.getTokenTypeAt(m(h,f+1))==r))if(">"==g[p].charAt(1)==0<i)a.push(p);else{if(!a.length)return{pos:m(h,f),ch:p};a.pop()}}}}return h-i!=(0<i?t.lastLine():t.firstLine())&&null}function e(t,e,i){for(var r=t.state.matchBrackets.maxHighlightLineLength||1e3,n=[],o=t.listSelections(),s=0;s<o.length;s++){var a=o[s].empty()&&u(t,o[s].head,i);if(a&&t.getLine(a.from.line).length<=r){var l=a.match?"CodeMirror-matchingbracket":"CodeMirror-nonmatchingbracket";n.push(t.markText(a.from,m(a.from.line,a.from.ch+1),{className:l})),a.to&&t.getLine(a.to.line).length<=r&&n.push(t.markText(a.to,m(a.to.line,a.to.ch+1),{className:l}))}}if(n.length){h&&t.state.focused&&t.focus();function c(){t.operation(function(){for(var t=0;t<n.length;t++)n[t].clear()})}if(!e)return c;setTimeout(c,800)}}function n(t){t.operation(function(){t.state.matchBrackets.currentlyHighlighted&&(t.state.matchBrackets.currentlyHighlighted(),t.state.matchBrackets.currentlyHighlighted=null),t.state.matchBrackets.currentlyHighlighted=e(t,!1,t.state.matchBrackets)})}r.defineOption("matchBrackets",!1,function(t,e,i){i&&i!=r.Init&&(t.off("cursorActivity",n),t.state.matchBrackets&&t.state.matchBrackets.currentlyHighlighted&&(t.state.matchBrackets.currentlyHighlighted(),t.state.matchBrackets.currentlyHighlighted=null)),e&&(t.state.matchBrackets="object"==typeof e?e:{},t.on("cursorActivity",n))}),r.defineExtension("matchBrackets",function(){e(this,!0)}),r.defineExtension("findMatchingBracket",function(t,e,i){return!i&&"boolean"!=typeof e||(e=i?(i.strict=e,i):e?{strict:!0}:null),u(this,t,e)}),r.defineExtension("scanForBracket",function(t,e,i,r){return f(this,t,e,i,r)})},"object"==typeof i&&"object"==typeof e?r(t("../../lib/codemirror")):"function"==typeof define&&define.amd?define(["../../lib/codemirror"],r):r(CodeMirror)},{"../../lib/codemirror":12}],6:[function(t,e,i){var r;r=function(u){"use strict";var d="CodeMirror-lint-markers";function h(t){t.parentNode&&t.parentNode.removeChild(t)}function f(t,e,i){var r,n,o,s=(r=t,n=e,(o=document.createElement("div")).className="CodeMirror-lint-tooltip",o.appendChild(n.cloneNode(!0)),document.body.appendChild(o),u.on(document,"mousemove",a),a(r),null!=o.style.opacity&&(o.style.opacity=1),o);function a(t){if(!o.parentNode)return u.off(document,"mousemove",a);o.style.top=Math.max(0,t.clientY-o.offsetHeight-5)+"px",o.style.left=t.clientX+5+"px"}function l(){var t;u.off(i,"mouseout",l),s&&((t=s).parentNode&&(null==t.style.opacity&&h(t),t.style.opacity=0,setTimeout(function(){h(t)},600)),s=null)}var c=setInterval(function(){if(s)for(var t=i;;t=t.parentNode){if(t&&11==t.nodeType&&(t=t.host),t==document.body)return;if(!t){l();break}}if(!s)return clearInterval(c)},400);u.on(i,"mouseout",l)}function l(e,t,i){this.marked=[],this.options=t,this.timeout=null,this.hasGutter=i,this.onMouseOver=function(t){!function(t,e){var i=e.target||e.srcElement;if(/\bCodeMirror-lint-mark-/.test(i.className)){for(var r=i.getBoundingClientRect(),n=(r.left+r.right)/2,o=(r.top+r.bottom)/2,s=t.findMarksAt(t.coordsChar({left:n,top:o},"client")),a=[],l=0;l<s.length;++l){var c=s[l].__annotation;c&&a.push(c)}a.length&&function(t,e){for(var i=e.target||e.srcElement,r=document.createDocumentFragment(),n=0;n<t.length;n++){var o=t[n];r.appendChild(g(o))}f(e,r,i)}(a,e)}}(e,t)},this.waitingFor=0}function p(t){var e=t.state.lint;e.hasGutter&&t.clearGutter(d);for(var i=0;i<e.marked.length;++i)e.marked[i].clear();e.marked.length=0}function m(e,t,i,r){var n=document.createElement("div"),o=n;return n.className="CodeMirror-lint-marker-"+t,i&&((o=n.appendChild(document.createElement("div"))).className="CodeMirror-lint-marker-multiple"),0!=r&&u.on(o,"mouseover",function(t){f(t,e,o)}),n}function g(t){var e=t.severity;e=e||"error";var i=document.createElement("div");return i.className="CodeMirror-lint-message-"+e,void 0!==t.messageHTML?i.innerHTML=t.messageHTML:i.appendChild(document.createTextNode(t.message)),i}function c(e){var i,t,r,n,o,s=e.state.lint.options,a=s.options||s,l=s.getAnnotations||e.getHelper(u.Pos(0,0),"lint");if(l)if(s.async||l.async)t=l,r=a,n=(i=e).state.lint,o=++n.waitingFor,i.on("change",h),t(i.getValue(),function(t,e){i.off("change",h),n.waitingFor==o&&(e&&t instanceof u&&(t=e),i.operation(function(){_(i,t)}))},r,i);else{var c=l(e.getValue(),a,e);if(!c)return;c.then?c.then(function(t){e.operation(function(){_(e,t)})}):e.operation(function(){_(e,c)})}function h(){o=-1,i.off("change",h)}}function _(t,e){p(t);for(var i,r=t.state.lint,n=r.options,o=function(t){for(var e=[],i=0;i<t.length;++i){var r=t[i],n=r.from.line;(e[n]||(e[n]=[])).push(r)}return e}(e),s=0;s<o.length;++s){var a=o[s];if(a){for(var l=null,c=r.hasGutter&&document.createDocumentFragment(),h=0;h<a.length;++h){var u=a[h],f=u.severity;f=f||"error",l="error"==(i=l)?i:f,n.formatAnnotation&&(u=n.formatAnnotation(u)),r.hasGutter&&c.appendChild(g(u)),u.to&&r.marked.push(t.markText(u.from,u.to,{className:"CodeMirror-lint-mark-"+f,__annotation:u}))}r.hasGutter&&t.setGutterMarker(s,d,m(c,l,1<a.length,r.options.tooltips))}}n.onUpdateLinting&&n.onUpdateLinting(e,o,t)}function v(t){var e=t.state.lint;e&&(clearTimeout(e.timeout),e.timeout=setTimeout(function(){c(t)},e.options.delay||500))}u.defineOption("lint",!1,function(t,e,i){if(i&&i!=u.Init&&(p(t),!1!==t.state.lint.options.lintOnChange&&t.off("change",v),u.off(t.getWrapperElement(),"mouseover",t.state.lint.onMouseOver),clearTimeout(t.state.lint.timeout),delete t.state.lint),e){for(var r=t.getOption("gutters"),n=!1,o=0;o<r.length;++o)r[o]==d&&(n=!0);var s=t.state.lint=new l(t,(a=e)instanceof Function?{getAnnotations:a}:(a&&!0!==a||(a={}),a),n);!1!==s.options.lintOnChange&&t.on("change",v),0!=s.options.tooltips&&"gutter"!=s.options.tooltips&&u.on(t.getWrapperElement(),"mouseover",s.onMouseOver),c(t)}var a}),u.defineExtension("performLint",function(){this.state.lint&&c(this)})},"object"==typeof i&&"object"==typeof e?r(t("../../lib/codemirror")):"function"==typeof define&&define.amd?define(["../../lib/codemirror"],r):r(CodeMirror)},{"../../lib/codemirror":12}],7:[function(t,e,i){var r;r=function(t){"use strict";function e(t,e){function i(t){clearTimeout(r.doRedraw),r.doRedraw=setTimeout(function(){r.redraw()},t)}this.cm=t,this.options=e,this.buttonHeight=e.scrollButtonHeight||t.getOption("scrollButtonHeight"),this.annotations=[],this.doRedraw=this.doUpdate=null,this.div=t.getWrapperElement().appendChild(document.createElement("div")),this.div.style.cssText="position: absolute; right: 0; top: 0; z-index: 7; pointer-events: none",this.computeScale();var r=this;t.on("refresh",this.resizeHandler=function(){clearTimeout(r.doUpdate),r.doUpdate=setTimeout(function(){r.computeScale()&&i(20)},100)}),t.on("markerAdded",this.resizeHandler),t.on("markerCleared",this.resizeHandler),!1!==e.listenForChanges&&t.on("change",this.changeHandler=function(){i(250)})}t.defineExtension("annotateScrollbar",function(t){return"string"==typeof t&&(t={className:t}),new e(this,t)}),t.defineOption("scrollButtonHeight",0),e.prototype.computeScale=function(){var t=this.cm,e=(t.getWrapperElement().clientHeight-t.display.barHeight-2*this.buttonHeight)/t.getScrollerElement().scrollHeight;if(e!=this.hScale)return this.hScale=e,!0},e.prototype.update=function(t){this.annotations=t,this.redraw()},e.prototype.redraw=function(t){!1!==t&&this.computeScale();var i=this.cm,e=this.hScale,r=document.createDocumentFragment(),n=this.annotations,o=i.getOption("lineWrapping"),s=o&&1.5*i.defaultTextHeight(),a=null,l=null;function c(t,e){return a!=t.line&&(a=t.line,l=i.getLineHandle(a)),l.widgets&&l.widgets.length||o&&l.height>s?i.charCoords(t,"local")[e?"top":"bottom"]:i.heightAtLine(l,"local")+(e?0:l.height)}var h=i.lastLine();if(i.display.barWidth)for(var u,f=0;f<n.length;f++){var d=n[f];if(!(d.to.line>h)){for(var p=u||c(d.from,!0)*e,m=c(d.to,!1)*e;f<n.length-1&&!(n[f+1].to.line>h)&&!(m+.9<(u=c(n[f+1].from,!0)*e));)m=c((d=n[++f]).to,!1)*e;if(m!=p){var g=Math.max(m-p,3),_=r.appendChild(document.createElement("div"));_.style.cssText="position: absolute; right: 0px; width: "+Math.max(i.display.barWidth-1,2)+"px; top: "+(p+this.buttonHeight)+"px; height: "+g+"px",_.className=this.options.className,d.id&&_.setAttribute("annotation-id",d.id)}}}this.div.textContent="",this.div.appendChild(r)},e.prototype.clear=function(){this.cm.off("refresh",this.resizeHandler),this.cm.off("markerAdded",this.resizeHandler),this.cm.off("markerCleared",this.resizeHandler),this.changeHandler&&this.cm.off("change",this.changeHandler),this.div.parentNode.removeChild(this.div)}},"object"==typeof i&&"object"==typeof e?r(t("../../lib/codemirror")):"function"==typeof define&&define.amd?define(["../../lib/codemirror"],r):r(CodeMirror)},{"../../lib/codemirror":12}],8:[function(t,e,i){var r;r=function(n){"use strict";var i={style:"matchhighlight",minChars:2,delay:100,wordsOnly:!1,annotateScrollbar:!1,showToken:!1,trim:!0};function o(t){for(var e in this.options={},i)this.options[e]=(t&&t.hasOwnProperty(e)?t:i)[e];this.overlay=this.timeout=null,this.matchesonscroll=null,this.active=!1}function s(t){var e=t.state.matchHighlighter;(e.active||t.hasFocus())&&r(t,e)}function a(t){var e=t.state.matchHighlighter;e.active||(e.active=!0,r(t,e))}function r(t,e){clearTimeout(e.timeout),e.timeout=setTimeout(function(){l(t)},e.options.delay)}function h(t,e,i,r){var n,o,s,a=t.state.matchHighlighter;if(t.addOverlay(a.overlay=(n=e,o=i,s=r,{token:function(t){if(t.match(n)&&(!o||(i=o,!((e=t).start&&i.test(e.string.charAt(e.start-1))||e.pos!=e.string.length&&i.test(e.string.charAt(e.pos))))))return s;var e,i;t.next(),t.skipTo(n.charAt(0))||t.skipToEnd()}})),a.options.annotateScrollbar&&t.showMatchesOnScrollbar){var l=i?new RegExp("\\b"+e.replace(/[\\\[.+*?(){|^$]/g,"\\$&")+"\\b"):e;a.matchesonscroll=t.showMatchesOnScrollbar(l,!1,{className:"CodeMirror-selection-highlight-scrollbar"})}}function u(t){var e=t.state.matchHighlighter;e.overlay&&(t.removeOverlay(e.overlay),e.overlay=null,e.matchesonscroll&&(e.matchesonscroll.clear(),e.matchesonscroll=null))}function l(c){c.operation(function(){var t=c.state.matchHighlighter;if(u(c),c.somethingSelected()||!t.options.showToken){var e=c.getCursor("from"),i=c.getCursor("to");if(e.line==i.line&&(!t.options.wordsOnly||function(t,e,i){if(null===t.getRange(e,i).match(/^\w+$/))return!1;if(0<e.ch){var r={line:e.line,ch:e.ch-1};if(null===t.getRange(r,e).match(/\W/))return!1}if(i.ch<t.getLine(e.line).length){r={line:i.line,ch:i.ch+1};if(null===t.getRange(i,r).match(/\W/))return!1}return!0}(c,e,i))){var r=c.getRange(e,i);t.options.trim&&(r=r.replace(/^\s+|\s+$/g,"")),r.length>=t.options.minChars&&h(c,r,!1,t.options.style)}}else{for(var n=!0===t.options.showToken?/[\w$]/:t.options.showToken,o=c.getCursor(),s=c.getLine(o.line),a=o.ch,l=a;a&&n.test(s.charAt(a-1));)--a;for(;l<s.length&&n.test(s.charAt(l));)++l;a<l&&h(c,s.slice(a,l),n,t.options.style)}})}n.defineOption("highlightSelectionMatches",!1,function(t,e,i){if(i&&i!=n.Init&&(u(t),clearTimeout(t.state.matchHighlighter.timeout),t.state.matchHighlighter=null,t.off("cursorActivity",s),t.off("focus",a)),e){var r=t.state.matchHighlighter=new o(e);t.hasFocus()?(r.active=!0,l(t)):t.on("focus",a),t.on("cursorActivity",s)}})},"object"==typeof i&&"object"==typeof e?r(t("../../lib/codemirror"),t("./matchesonscrollbar")):"function"==typeof define&&define.amd?define(["../../lib/codemirror","./matchesonscrollbar"],r):r(CodeMirror)},{"../../lib/codemirror":12,"./matchesonscrollbar":9}],9:[function(t,e,i){var r;r=function(c){"use strict";function r(t,e,i,r){this.cm=t,this.options=r;var n={listenForChanges:!1};for(var o in r)n[o]=r[o];n.className||(n.className="CodeMirror-search-match"),this.annotation=t.annotateScrollbar(n),this.query=e,this.caseFold=i,this.gap={from:t.firstLine(),to:t.lastLine()+1},this.matches=[],this.update=null,this.findMatches(),this.annotation.update(this.matches);var s=this;t.on("change",this.changeHandler=function(t,e){s.onChange(e)})}function h(t,e,i){return t<=e?t:Math.max(e,t+i)}c.defineExtension("showMatchesOnScrollbar",function(t,e,i){return"string"==typeof i&&(i={className:i}),new r(this,t,e,i=i||{})}),r.prototype.findMatches=function(){if(this.gap){for(var t=0;t<this.matches.length&&!((r=this.matches[t]).from.line>=this.gap.to);t++)r.to.line>=this.gap.from&&this.matches.splice(t--,1);for(var e=this.cm.getSearchCursor(this.query,c.Pos(this.gap.from,0),this.caseFold),i=this.options&&this.options.maxMatches||1e3;e.findNext();){var r;if((r={from:e.from(),to:e.to()}).from.line>=this.gap.to)break;if(this.matches.splice(t++,0,r),this.matches.length>i)break}this.gap=null}},r.prototype.onChange=function(t){var e=t.from.line,i=c.changeEnd(t).line,r=i-t.to.line;if(this.gap?(this.gap.from=Math.min(h(this.gap.from,e,r),t.from.line),this.gap.to=Math.max(h(this.gap.to,e,r),t.from.line)):this.gap={from:t.from.line,to:i+1},r)for(var n=0;n<this.matches.length;n++){var o=this.matches[n],s=h(o.from.line,e,r);s!=o.from.line&&(o.from=c.Pos(s,o.from.ch));var a=h(o.to.line,e,r);a!=o.to.line&&(o.to=c.Pos(a,o.to.ch))}clearTimeout(this.update);var l=this;this.update=setTimeout(function(){l.updateAfterChange()},250)},r.prototype.updateAfterChange=function(){this.findMatches(),this.annotation.update(this.matches)},r.prototype.clear=function(){this.cm.off("change",this.changeHandler),this.annotation.clear()}},"object"==typeof i&&"object"==typeof e?r(t("../../lib/codemirror"),t("./searchcursor"),t("../scroll/annotatescrollbar")):"function"==typeof define&&define.amd?define(["../../lib/codemirror","./searchcursor","../scroll/annotatescrollbar"],r):r(CodeMirror)},{"../../lib/codemirror":12,"../scroll/annotatescrollbar":7,"./searchcursor":11}],10:[function(t,e,i){var r;r=function(d){"use strict";function e(){this.posFrom=this.posTo=this.lastQuery=this.query=null,this.overlay=null}function p(t){return t.state.search||(t.state.search=new e)}function o(t){return"string"==typeof t&&t==t.toLowerCase()}function m(t,e,i){return t.getSearchCursor(e,i,{caseFold:o(e),multiline:!0})}function g(t,e,i,r,n){t.openDialog?t.openDialog(e,n,{value:r,selectValueOnOpen:!0}):n(prompt(i,r))}function r(t){return t.replace(/\\(.)/g,function(t,e){return"n"==e?"\n":"r"==e?"\r":e})}function s(t){var e=t.match(/^\/(.*)\/([a-z]*)$/);if(e)try{t=new RegExp(e[1],-1==e[2].indexOf("i")?"":"i")}catch(t){}else t=r(t);return("string"==typeof t?""==t:t.test(""))&&(t=/x^/),t}function _(t,e,i){var r,n;e.queryText=i,e.query=s(i),t.removeOverlay(e.overlay,o(e.query)),e.overlay=(r=e.query,n=o(e.query),"string"==typeof r?r=new RegExp(r.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&"),n?"gi":"g"):r.global||(r=new RegExp(r.source,r.ignoreCase?"gi":"g")),{token:function(t){r.lastIndex=t.pos;var e=r.exec(t.string);if(e&&e.index==t.pos)return t.pos+=e[0].length||1,"searching";e?t.pos=e.index:t.skipToEnd()}}),t.addOverlay(e.overlay),t.showMatchesOnScrollbar&&(e.annotate&&(e.annotate.clear(),e.annotate=null),e.annotate=t.showMatchesOnScrollbar(e.query,o(e.query)))}function i(o,e,t,i){var r=p(o);if(r.query)return v(o,e);var n,s,a,l,c,h=o.getSelection()||r.lastQuery;if(h instanceof RegExp&&"x^"==h.source&&(h=null),t&&o.openDialog){var u=null,f=function(t,e){d.e_stop(e),t&&(t!=r.queryText&&(_(o,r,t),r.posFrom=r.posTo=o.getCursor()),u&&(u.style.opacity=1),v(o,e.shiftKey,function(t,e){var i;e.line<3&&document.querySelector&&(i=o.display.wrapper.querySelector(".CodeMirror-dialog"))&&i.getBoundingClientRect().bottom-4>o.cursorCoords(e,"window").top&&((u=i).style.opacity=.4)}))};s=x(n=o),a=h,l=f,c=function(t,e){var i=d.keyName(t),r=o.getOption("extraKeys"),n=r&&r[i]||d.keyMap[o.getOption("keyMap")][i];"findNext"==n||"findPrev"==n||"findPersistentNext"==n||"findPersistentPrev"==n?(d.e_stop(t),_(o,p(o),e),o.execCommand(n)):"find"!=n&&"findPersistent"!=n||(d.e_stop(t),f(e,t))},n.openDialog(s,l,{value:a,selectValueOnOpen:!0,closeOnEnter:!1,onClose:function(){y(n)},onKeyDown:c}),i&&h&&(_(o,r,h),v(o,e))}else g(o,x(o),"Search for:",h,function(t){t&&!r.query&&o.operation(function(){_(o,r,t),r.posFrom=r.posTo=o.getCursor(),v(o,e)})})}function v(i,r,n){i.operation(function(){var t=p(i),e=m(i,t.query,r?t.posFrom:t.posTo);(e.find(r)||(e=m(i,t.query,r?d.Pos(i.lastLine()):d.Pos(i.firstLine(),0))).find(r))&&(i.setSelection(e.from(),e.to()),i.scrollIntoView({from:e.from(),to:e.to()},20),t.posFrom=e.from(),t.posTo=e.to(),n&&n(e.from(),e.to()))})}function y(e){e.operation(function(){var t=p(e);t.lastQuery=t.query,t.query&&(t.query=t.queryText=null,e.removeOverlay(t.overlay),t.annotate&&(t.annotate.clear(),t.annotate=null))})}function x(t){return'<span class="CodeMirror-search-label">'+t.phrase("Search:")+'</span> <input type="text" style="width: 10em" class="CodeMirror-search-field"/> <span style="color: #888" class="CodeMirror-search-hint">'+t.phrase("(Use /re/ syntax for regexp search)")+"</span>"}function T(e,r,n){e.operation(function(){for(var t=m(e,r);t.findNext();)if("string"!=typeof r){var i=e.getRange(t.from(),t.to()).match(r);t.replace(n.replace(/\$(\d)/g,function(t,e){return i[e]}))}else t.replace(n)})}function n(f,t){if(!f.getOption("readOnly")){var e=f.getSelection()||p(f).lastQuery,i='<span class="CodeMirror-search-label">'+(t?f.phrase("Replace all:"):f.phrase("Replace:"))+"</span>";g(f,i+' <input type="text" style="width: 10em" class="CodeMirror-search-field"/> <span style="color: #888" class="CodeMirror-search-hint">'+f.phrase("(Use /re/ syntax for regexp search)")+"</span>",i,e,function(u){u&&(u=s(u),g(f,'<span class="CodeMirror-search-label">'+f.phrase("With:")+'</span> <input type="text" style="width: 10em" class="CodeMirror-search-field"/>',f.phrase("Replace with:"),"",function(a){if(a=r(a),t)T(f,u,a);else{y(f);var l=m(f,u,f.getCursor("from")),c=function(){var t,e,i,r,n,o,s=l.from();!(t=l.findNext())&&(l=m(f,u),!(t=l.findNext())||s&&l.from().line==s.line&&l.from().ch==s.ch)||(f.setSelection(l.from(),l.to()),f.scrollIntoView({from:l.from(),to:l.to()}),i='<span class="CodeMirror-search-label">'+(o=e=f).phrase("Replace?")+"</span> <button>"+o.phrase("Yes")+"</button> <button>"+o.phrase("No")+"</button> <button>"+o.phrase("All")+"</button> <button>"+o.phrase("Stop")+"</button> ",r=f.phrase("Replace?"),n=[function(){h(t)},c,function(){T(f,u,a)}],e.openConfirm?e.openConfirm(i,n):confirm(r)&&n[0]())},h=function(i){l.replace("string"==typeof u?a:a.replace(/\$(\d)/g,function(t,e){return i[e]})),c()};c()}}))})}}d.commands.find=function(t){y(t),i(t)},d.commands.findPersistent=function(t){y(t),i(t,!1,!0)},d.commands.findPersistentNext=function(t){i(t,!1,!0,!0)},d.commands.findPersistentPrev=function(t){i(t,!0,!0,!0)},d.commands.findNext=i,d.commands.findPrev=function(t){i(t,!0)},d.commands.clearSearch=y,d.commands.replace=n,d.commands.replaceAll=function(t){n(t,!0)}},"object"==typeof i&&"object"==typeof e?r(t("../../lib/codemirror"),t("./searchcursor"),t("../dialog/dialog")):"function"==typeof define&&define.amd?define(["../../lib/codemirror","./searchcursor","../dialog/dialog"],r):r(CodeMirror)},{"../../lib/codemirror":12,"../dialog/dialog":3,"./searchcursor":11}],11:[function(t,e,i){var r;r=function(n){"use strict";var _,v,y=n.Pos;function p(t,e){for(var i,r,n=null!=(r=(i=t).flags)?r:(i.ignoreCase?"i":"")+(i.global?"g":"")+(i.multiline?"m":""),o=n,s=0;s<e.length;s++)-1==o.indexOf(e.charAt(s))&&(o+=e.charAt(s));return n==o?t:new RegExp(t.source,o)}function m(t,e,i){e=p(e,"g");for(var r=i.line,n=i.ch,o=t.lastLine();r<=o;r++,n=0){e.lastIndex=n;var s=t.getLine(r),a=e.exec(s);if(a)return{from:y(r,a.index),to:y(r,a.index+a[0].length),match:a}}}function g(t,e){for(var i,r=0;;){e.lastIndex=r;var n=e.exec(t);if(!n)return i;if((r=(i=n).index+(i[0].length||1))==t.length)return i}}function x(t,e,i,r){if(t.length==e.length)return i;for(var n=0,o=i+Math.max(0,t.length-e.length);;){if(n==o)return n;var s=n+o>>1,a=r(t.slice(0,s)).length;if(a==i)return s;i<a?o=s:n=1+s}}function r(i,r,t,e){var n;this.atOccurrence=!1,this.doc=i,t=t?i.clipPos(t):y(0,0),this.pos={from:t,to:t},"object"==typeof e?n=e.caseFold:(n=e,e=null),"string"==typeof r?(null==n&&(n=!1),this.matches=function(t,e){return(t?function(t,e,i,r){if(!e.length)return null;var n=r?_:v,o=n(e).split(/\r|\n\r?/);t:for(var s=i.line,a=i.ch,l=t.firstLine()-1+o.length;l<=s;s--,a=-1){var c=t.getLine(s);-1<a&&(c=c.slice(0,a));var h=n(c);if(1==o.length){var u=h.lastIndexOf(o[0]);if(-1==u)continue t;return{from:y(s,x(c,h,u,n)),to:y(s,x(c,h,u+o[0].length,n))}}var f=o[o.length-1];if(h.slice(0,f.length)==f){var d=1;for(i=s-o.length+1;d<o.length-1;d++)if(n(t.getLine(i+d))!=o[d])continue t;var p=t.getLine(s+1-o.length),m=n(p);if(m.slice(m.length-o[0].length)==o[0])return{from:y(s+1-o.length,x(p,m,p.length-o[0].length,n)),to:y(s,x(c,h,f.length,n))}}}}:function(t,e,i,r){if(!e.length)return null;var n=r?_:v,o=n(e).split(/\r|\n\r?/);t:for(var s=i.line,a=i.ch,l=t.lastLine()+1-o.length;s<=l;s++,a=0){var c=t.getLine(s).slice(a),h=n(c);if(1==o.length){var u=h.indexOf(o[0]);if(-1==u)continue t;return i=x(c,h,u,n)+a,{from:y(s,x(c,h,u,n)+a),to:y(s,x(c,h,u+o[0].length,n)+a)}}var f=h.length-o[0].length;if(h.slice(f)==o[0]){for(var d=1;d<o.length-1;d++)if(n(t.getLine(s+d))!=o[d])continue t;var p=t.getLine(s+o.length-1),m=n(p),g=o[o.length-1];if(m.slice(0,g.length)==g)return{from:y(s,x(c,h,f,n)+a),to:y(s+o.length-1,x(p,m,g.length,n))}}}})(i,r,e,n)}):(r=p(r,"gm"),e&&!1===e.multiline?this.matches=function(t,e){return(t?function(t,e,i){e=p(e,"g");for(var r=i.line,n=i.ch,o=t.firstLine();o<=r;r--,n=-1){var s=t.getLine(r);-1<n&&(s=s.slice(0,n));var a=g(s,e);if(a)return{from:y(r,a.index),to:y(r,a.index+a[0].length),match:a}}}:m)(i,r,e)}:this.matches=function(t,e){return(t?function(t,e,i){e=p(e,"gm");for(var r,n=1,o=i.line,s=t.firstLine();s<=o;){for(var a=0;a<n;a++){var l=t.getLine(o--);r=null==r?l.slice(0,i.ch):l+"\n"+r}n*=2;var c=g(r,e);if(c){var h=r.slice(0,c.index).split("\n"),u=c[0].split("\n"),f=o+h.length,d=h[h.length-1].length;return{from:y(f,d),to:y(f+u.length-1,1==u.length?d+u[0].length:u[u.length-1].length),match:c}}}}:function(t,e,i){if(!/\\s|\\n|\n|\\W|\\D|\[\^/.test(e.source))return m(t,e,i);e=p(e,"gm");for(var r,n=1,o=i.line,s=t.lastLine();o<=s;){for(var a=0;a<n&&!(s<o);a++){var l=t.getLine(o++);r=null==r?l:r+"\n"+l}n*=2,e.lastIndex=i.ch;var c=e.exec(r);if(c){var h=r.slice(0,c.index).split("\n"),u=c[0].split("\n"),f=i.line+h.length-1,d=h[h.length-1].length;return{from:y(f,d),to:y(f+u.length-1,1==u.length?d+u[0].length:u[u.length-1].length),match:c}}}})(i,r,e)})}v=String.prototype.normalize?(_=function(t){return t.normalize("NFD").toLowerCase()},function(t){return t.normalize("NFD")}):(_=function(t){return t.toLowerCase()},function(t){return t}),r.prototype={findNext:function(){return this.find(!1)},findPrevious:function(){return this.find(!0)},find:function(t){for(var e=this.matches(t,this.doc.clipPos(t?this.pos.from:this.pos.to));e&&0==n.cmpPos(e.from,e.to);)t?e.from.ch?e.from=y(e.from.line,e.from.ch-1):e=e.from.line==this.doc.firstLine()?null:this.matches(t,this.doc.clipPos(y(e.from.line-1))):e.to.ch<this.doc.getLine(e.to.line).length?e.to=y(e.to.line,e.to.ch+1):e=e.to.line==this.doc.lastLine()?null:this.matches(t,y(e.to.line+1,0));if(e)return this.pos=e,this.atOccurrence=!0,this.pos.match||!0;var i=y(t?this.doc.firstLine():this.doc.lastLine()+1,0);return this.pos={from:i,to:i},this.atOccurrence=!1},from:function(){if(this.atOccurrence)return this.pos.from},to:function(){if(this.atOccurrence)return this.pos.to},replace:function(t,e){if(this.atOccurrence){var i=n.splitLines(t);this.doc.replaceRange(i,this.pos.from,this.pos.to,e),this.pos.to=y(this.pos.from.line+i.length-1,i[i.length-1].length+(1==i.length?this.pos.from.ch:0))}}},n.defineExtension("getSearchCursor",function(t,e,i){return new r(this.doc,t,e,i)}),n.defineDocExtension("getSearchCursor",function(t,e,i){return new r(this,t,e,i)}),n.defineExtension("selectMatches",function(t,e){for(var i=[],r=this.getSearchCursor(t,this.getCursor("from"),e);r.findNext()&&!(0<n.cmpPos(r.to(),this.getCursor("to")));)i.push({anchor:r.from(),head:r.to()});i.length&&this.setSelections(i,0)})},"object"==typeof i&&"object"==typeof e?r(t("../../lib/codemirror")):"function"==typeof define&&define.amd?define(["../../lib/codemirror"],r):r(CodeMirror)},{"../../lib/codemirror":12}],12:[function(t,e,i){var r;r=function(){"use strict";var t=navigator.userAgent,e=navigator.platform,m=/gecko\/\d/i.test(t),i=/MSIE \d/.test(t),r=/Trident\/(?:[7-9]|\d{2,})\..*rv:(\d+)/.exec(t),n=/Edge\/(\d+)/.exec(t),T=i||r||n,k=T&&(i?document.documentMode||6:+(n||r)[1]),y=!n&&/WebKit\//.test(t),o=y&&/Qt\/\d+\.\d+/.test(t),s=!n&&/Chrome\//.test(t),g=/Opera\//.test(t),l=/Apple Computer/.test(navigator.vendor),a=/Mac OS X 1\d\D([8-9]|\d\d)\D/.test(t),c=/PhantomJS/.test(t),h=!n&&/AppleWebKit/.test(t)&&/Mobile\/\w+/.test(t),u=/Android/.test(t),f=h||u||/webOS|BlackBerry|Opera Mini|Opera Mobi|IEMobile/i.test(t),x=h||/Mac/.test(e),_=/\bCrOS\b/.test(t),d=/win/i.test(e),p=g&&t.match(/Version\/(\d*\.\d*)/);(p=p&&Number(p[1]))&&15<=p&&(y=!(g=!1));var v=x&&(o||g&&(null==p||p<12.11)),b=m||T&&9<=k;function w(t){return new RegExp("(^|\\s)"+t+"(?:$|\\s)\\s*")}var E,C=function(t,e){var i=t.className,r=w(e).exec(i);if(r){var n=i.slice(r.index+r[0].length);t.className=i.slice(0,r.index)+(n?r[1]+n:"")}};function S(t){for(var e=t.childNodes.length;0<e;--e)t.removeChild(t.firstChild);return t}function A(t,e){return S(t).appendChild(e)}function N(t,e,i,r){var n=document.createElement(t);if(i&&(n.className=i),r&&(n.style.cssText=r),"string"==typeof e)n.appendChild(document.createTextNode(e));else if(e)for(var o=0;o<e.length;++o)n.appendChild(e[o]);return n}function L(t,e,i,r){var n=N(t,e,i,r);return n.setAttribute("role","presentation"),n}function O(t,e){if(3==e.nodeType&&(e=e.parentNode),t.contains)return t.contains(e);do{if(11==e.nodeType&&(e=e.host),e==t)return!0}while(e=e.parentNode)}function I(){var e;try{e=document.activeElement}catch(t){e=document.body||null}for(;e&&e.shadowRoot&&e.shadowRoot.activeElement;)e=e.shadowRoot.activeElement;return e}function R(t,e){var i=t.className;w(e).test(i)||(t.className+=(i?" ":"")+e)}function M(t,e){for(var i=t.split(" "),r=0;r<i.length;r++)i[r]&&!w(i[r]).test(e)&&(e+=" "+i[r]);return e}E=document.createRange?function(t,e,i,r){var n=document.createRange();return n.setEnd(r||t,i),n.setStart(t,e),n}:function(t,e,i){var r=document.body.createTextRange();try{r.moveToElementText(t.parentNode)}catch(t){return r}return r.collapse(!0),r.moveEnd("character",i),r.moveStart("character",e),r};var D=function(t){t.select()};function P(t){var e=Array.prototype.slice.call(arguments,1);return function(){return t.apply(null,e)}}function B(t,e,i){for(var r in e=e||{},t)!t.hasOwnProperty(r)||!1===i&&e.hasOwnProperty(r)||(e[r]=t[r]);return e}function F(t,e,i,r,n){null==e&&-1==(e=t.search(/[^\s\u00a0]/))&&(e=t.length);for(var o=r||0,s=n||0;;){var a=t.indexOf("\t",o);if(a<0||e<=a)return s+(e-o);s+=a-o,s+=i-s%i,o=a+1}}h?D=function(t){t.selectionStart=0,t.selectionEnd=t.value.length}:T&&(D=function(t){try{t.select()}catch(t){}});var U=function(){this.id=null};function H(t,e){for(var i=0;i<t.length;++i)if(t[i]==e)return i;return-1}U.prototype.set=function(t,e){clearTimeout(this.id),this.id=setTimeout(e,t)};var W=30,z={toString:function(){return"CodeMirror.Pass"}},q={scroll:!1},G={origin:"*mouse"},j={origin:"+move"};function V(t,e,i){for(var r=0,n=0;;){var o=t.indexOf("\t",r);-1==o&&(o=t.length);var s=o-r;if(o==t.length||e<=n+s)return r+Math.min(s,e-n);if(n+=o-r,r=o+1,e<=(n+=i-n%i))return r}}var Y=[""];function K(t){for(;Y.length<=t;)Y.push($(Y)+" ");return Y[t]}function $(t){return t[t.length-1]}function Q(t,e){for(var i=[],r=0;r<t.length;r++)i[r]=e(t[r],r);return i}function X(){}function Z(t,e){var i;return i=Object.create?Object.create(t):(X.prototype=t,new X),e&&B(e,i),i}var J=/[\u00df\u0587\u0590-\u05f4\u0600-\u06ff\u3040-\u309f\u30a0-\u30ff\u3400-\u4db5\u4e00-\u9fcc\uac00-\ud7af]/;function tt(t){return/\w/.test(t)||""<t&&(t.toUpperCase()!=t.toLowerCase()||J.test(t))}function et(t,e){return e?!!(-1<e.source.indexOf("\\w")&&tt(t))||e.test(t):tt(t)}function it(t){for(var e in t)if(t.hasOwnProperty(e)&&t[e])return!1;return!0}var rt=/[\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 nt(t){return 768<=t.charCodeAt(0)&&rt.test(t)}function ot(t,e,i){for(;(i<0?0<e:e<t.length)&&nt(t.charAt(e));)e+=i;return e}function st(t,e,i){for(var r=i<e?-1:1;;){if(e==i)return e;var n=(e+i)/2,o=r<0?Math.ceil(n):Math.floor(n);if(o==e)return t(o)?e:i;t(o)?i=o:e=o+r}}function at(t,e,i){var r=this;this.input=i,r.scrollbarFiller=N("div",null,"CodeMirror-scrollbar-filler"),r.scrollbarFiller.setAttribute("cm-not-content","true"),r.gutterFiller=N("div",null,"CodeMirror-gutter-filler"),r.gutterFiller.setAttribute("cm-not-content","true"),r.lineDiv=L("div",null,"CodeMirror-code"),r.selectionDiv=N("div",null,null,"position: relative; z-index: 1"),r.cursorDiv=N("div",null,"CodeMirror-cursors"),r.measure=N("div",null,"CodeMirror-measure"),r.lineMeasure=N("div",null,"CodeMirror-measure"),r.lineSpace=L("div",[r.measure,r.lineMeasure,r.selectionDiv,r.cursorDiv,r.lineDiv],null,"position: relative; outline: none");var n=L("div",[r.lineSpace],"CodeMirror-lines");r.mover=N("div",[n],null,"position: relative"),r.sizer=N("div",[r.mover],"CodeMirror-sizer"),r.sizerWidth=null,r.heightForcer=N("div",null,null,"position: absolute; height: "+W+"px; width: 1px;"),r.gutters=N("div",null,"CodeMirror-gutters"),r.lineGutter=null,r.scroller=N("div",[r.sizer,r.heightForcer,r.gutters],"CodeMirror-scroll"),r.scroller.setAttribute("tabIndex","-1"),r.wrapper=N("div",[r.scrollbarFiller,r.gutterFiller,r.scroller],"CodeMirror"),T&&k<8&&(r.gutters.style.zIndex=-1,r.scroller.style.paddingRight=0),y||m&&f||(r.scroller.draggable=!0),t&&(t.appendChild?t.appendChild(r.wrapper):t(r.wrapper)),r.viewFrom=r.viewTo=e.first,r.reportedViewFrom=r.reportedViewTo=e.first,r.view=[],r.renderedView=null,r.externalMeasured=null,r.viewOffset=0,r.lastWrapHeight=r.lastWrapWidth=0,r.updateLineNumbers=null,r.nativeBarWidth=r.barHeight=r.barWidth=0,r.scrollbarsClipped=!1,r.lineNumWidth=r.lineNumInnerWidth=r.lineNumChars=null,r.alignWidgets=!1,r.cachedCharWidth=r.cachedTextHeight=r.cachedPaddingH=null,r.maxLine=null,r.maxLineLength=0,r.maxLineChanged=!1,r.wheelDX=r.wheelDY=r.wheelStartX=r.wheelStartY=null,r.shift=!1,r.selForContextMenu=null,r.activeTouch=null,i.init(r)}function lt(t,e){if((e-=t.first)<0||e>=t.size)throw new Error("There is no line "+(e+t.first)+" in the document.");for(var i=t;!i.lines;)for(var r=0;;++r){var n=i.children[r],o=n.chunkSize();if(e<o){i=n;break}e-=o}return i.lines[e]}function ct(t,i,r){var n=[],o=i.line;return t.iter(i.line,r.line+1,function(t){var e=t.text;o==r.line&&(e=e.slice(0,r.ch)),o==i.line&&(e=e.slice(i.ch)),n.push(e),++o}),n}function ht(t,e,i){var r=[];return t.iter(e,i,function(t){r.push(t.text)}),r}function ut(t,e){var i=e-t.height;if(i)for(var r=t;r;r=r.parent)r.height+=i}function ft(t){if(null==t.parent)return null;for(var e=t.parent,i=H(e.lines,t),r=e.parent;r;r=(e=r).parent)for(var n=0;r.children[n]!=e;++n)i+=r.children[n].chunkSize();return i+e.first}function dt(t,e){var i=t.first;t:do{for(var r=0;r<t.children.length;++r){var n=t.children[r],o=n.height;if(e<o){t=n;continue t}e-=o,i+=n.chunkSize()}return i}while(!t.lines);for(var s=0;s<t.lines.length;++s){var a=t.lines[s].height;if(e<a)break;e-=a}return i+s}function pt(t,e){return e>=t.first&&e<t.first+t.size}function mt(t,e){return String(t.lineNumberFormatter(e+t.firstLineNumber))}function gt(t,e,i){if(void 0===i&&(i=null),!(this instanceof gt))return new gt(t,e,i);this.line=t,this.ch=e,this.sticky=i}function _t(t,e){return t.line-e.line||t.ch-e.ch}function vt(t,e){return t.sticky==e.sticky&&0==_t(t,e)}function yt(t){return gt(t.line,t.ch)}function xt(t,e){return _t(t,e)<0?e:t}function Tt(t,e){return _t(t,e)<0?t:e}function kt(t,e){return Math.max(t.first,Math.min(e,t.first+t.size-1))}function bt(t,e){if(e.line<t.first)return gt(t.first,0);var i,r,n,o=t.first+t.size-1;return e.line>o?gt(o,lt(t,o).text.length):(r=lt(t,(i=e).line).text.length,null==(n=i.ch)||r<n?gt(i.line,r):n<0?gt(i.line,0):i)}function wt(t,e){for(var i=[],r=0;r<e.length;r++)i[r]=bt(t,e[r]);return i}var Et=!1,Ct=!1;function St(t,e,i){this.marker=t,this.from=e,this.to=i}function At(t,e){if(t)for(var i=0;i<t.length;++i){var r=t[i];if(r.marker==e)return r}}function Lt(t,e){for(var i,r=0;r<t.length;++r)t[r]!=e&&(i=i||[]).push(t[r]);return i}function Nt(t,e){if(e.full)return null;var i=pt(t,e.from.line)&<(t,e.from.line).markedSpans,r=pt(t,e.to.line)&<(t,e.to.line).markedSpans;if(!i&&!r)return null;var n=e.from.ch,o=e.to.ch,s=0==_t(e.from,e.to),a=function(t,e,i){var r;if(t)for(var n=0;n<t.length;++n){var o=t[n],s=o.marker;if(null==o.from||(s.inclusiveLeft?o.from<=e:o.from<e)||o.from==e&&"bookmark"==s.type&&(!i||!o.marker.insertLeft)){var a=null==o.to||(s.inclusiveRight?o.to>=e:o.to>e);(r=r||[]).push(new St(s,o.from,a?null:o.to))}}return r}(i,n,s),l=function(t,e,i){var r;if(t)for(var n=0;n<t.length;++n){var o=t[n],s=o.marker;if(null==o.to||(s.inclusiveRight?o.to>=e:o.to>e)||o.from==e&&"bookmark"==s.type&&(!i||o.marker.insertLeft)){var a=null==o.from||(s.inclusiveLeft?o.from<=e:o.from<e);(r=r||[]).push(new St(s,a?null:o.from-e,null==o.to?null:o.to-e))}}return r}(r,o,s),c=1==e.text.length,h=$(e.text).length+(c?n:0);if(a)for(var u=0;u<a.length;++u){var f=a[u];if(null==f.to){var d=At(l,f.marker);d?c&&(f.to=null==d.to?null:d.to+h):f.to=n}}if(l)for(var p=0;p<l.length;++p){var m=l[p];null!=m.to&&(m.to+=h),null==m.from?At(a,m.marker)||(m.from=h,c&&(a=a||[]).push(m)):(m.from+=h,c&&(a=a||[]).push(m))}a=a&&Ot(a),l&&l!=a&&(l=Ot(l));var g=[a];if(!c){var _,v=e.text.length-2;if(0<v&&a)for(var y=0;y<a.length;++y)null==a[y].to&&(_=_||[]).push(new St(a[y].marker,null,null));for(var x=0;x<v;++x)g.push(_);g.push(l)}return g}function Ot(t){for(var e=0;e<t.length;++e){var i=t[e];null!=i.from&&i.from==i.to&&!1!==i.marker.clearWhenEmpty&&t.splice(e--,1)}return t.length?t:null}function It(t){var e=t.markedSpans;if(e){for(var i=0;i<e.length;++i)e[i].marker.detachLine(t);t.markedSpans=null}}function Rt(t,e){if(e){for(var i=0;i<e.length;++i)e[i].marker.attachLine(t);t.markedSpans=e}}function Mt(t){return t.inclusiveLeft?-1:0}function Dt(t){return t.inclusiveRight?1:0}function Pt(t,e){var i=t.lines.length-e.lines.length;if(0!=i)return i;var r=t.find(),n=e.find(),o=_t(r.from,n.from)||Mt(t)-Mt(e);return o?-o:_t(r.to,n.to)||Dt(t)-Dt(e)||e.id-t.id}function Bt(t,e){var i,r=Ct&&t.markedSpans;if(r)for(var n=void 0,o=0;o<r.length;++o)(n=r[o]).marker.collapsed&&null==(e?n.from:n.to)&&(!i||Pt(i,n.marker)<0)&&(i=n.marker);return i}function Ft(t){return Bt(t,!0)}function Ut(t){return Bt(t,!1)}function Ht(t,e){var i,r=Ct&&t.markedSpans;if(r)for(var n=0;n<r.length;++n){var o=r[n];o.marker.collapsed&&(null==o.from||o.from<e)&&(null==o.to||o.to>e)&&(!i||Pt(i,o.marker)<0)&&(i=o.marker)}return i}function Wt(t,e,i,r,n){var o=lt(t,e),s=Ct&&o.markedSpans;if(s)for(var a=0;a<s.length;++a){var l=s[a];if(l.marker.collapsed){var c=l.marker.find(0),h=_t(c.from,i)||Mt(l.marker)-Mt(n),u=_t(c.to,r)||Dt(l.marker)-Dt(n);if(!(0<=h&&u<=0||h<=0&&0<=u)&&(h<=0&&(l.marker.inclusiveRight&&n.inclusiveLeft?0<=_t(c.to,i):0<_t(c.to,i))||0<=h&&(l.marker.inclusiveRight&&n.inclusiveLeft?_t(c.from,r)<=0:_t(c.from,r)<0)))return!0}}}function zt(t){for(var e;e=Ft(t);)t=e.find(-1,!0).line;return t}function qt(t,e){var i=lt(t,e),r=zt(i);return i==r?e:ft(r)}function Gt(t,e){if(e>t.lastLine())return e;var i,r=lt(t,e);if(!jt(t,r))return e;for(;i=Ut(r);)r=i.find(1,!0).line;return ft(r)+1}function jt(t,e){var i=Ct&&e.markedSpans;if(i)for(var r=void 0,n=0;n<i.length;++n)if((r=i[n]).marker.collapsed){if(null==r.from)return!0;if(!r.marker.widgetNode&&0==r.from&&r.marker.inclusiveLeft&&Vt(t,e,r))return!0}}function Vt(t,e,i){if(null==i.to){var r=i.marker.find(1,!0);return Vt(t,r.line,At(r.line.markedSpans,i.marker))}if(i.marker.inclusiveRight&&i.to==e.text.length)return!0;for(var n=void 0,o=0;o<e.markedSpans.length;++o)if((n=e.markedSpans[o]).marker.collapsed&&!n.marker.widgetNode&&n.from==i.to&&(null==n.to||n.to!=i.from)&&(n.marker.inclusiveLeft||i.marker.inclusiveRight)&&Vt(t,e,n))return!0}function Yt(t){for(var e=0,i=(t=zt(t)).parent,r=0;r<i.lines.length;++r){var n=i.lines[r];if(n==t)break;e+=n.height}for(var o=i.parent;o;o=(i=o).parent)for(var s=0;s<o.children.length;++s){var a=o.children[s];if(a==i)break;e+=a.height}return e}function Kt(t){if(0==t.height)return 0;for(var e,i=t.text.length,r=t;e=Ft(r);){var n=e.find(0,!0);r=n.from.line,i+=n.from.ch-n.to.ch}for(r=t;e=Ut(r);){var o=e.find(0,!0);i-=r.text.length-o.from.ch,i+=(r=o.to.line).text.length-o.to.ch}return i}function $t(t){var i=t.display,e=t.doc;i.maxLine=lt(e,e.first),i.maxLineLength=Kt(i.maxLine),i.maxLineChanged=!0,e.iter(function(t){var e=Kt(t);e>i.maxLineLength&&(i.maxLineLength=e,i.maxLine=t)})}var Qt=null;function Xt(t,e,i){var r;Qt=null;for(var n=0;n<t.length;++n){var o=t[n];if(o.from<e&&o.to>e)return n;o.to==e&&(o.from!=o.to&&"before"==i?r=n:Qt=n),o.from==e&&(o.from!=o.to&&"before"!=i?r=n:Qt=n)}return null!=r?r:Qt}var Zt,Jt,te,ee,ie,re=(Zt=/[\u0590-\u05f4\u0600-\u06ff\u0700-\u08ac]/,Jt=/[stwN]/,te=/[LRr]/,ee=/[Lb1n]/,ie=/[1n]/,function(t,e){var i="ltr"==e?"L":"R";if(0==t.length||"ltr"==e&&!Zt.test(t))return!1;for(var r,n=t.length,o=[],s=0;s<n;++s)o.push((r=t.charCodeAt(s))<=247?"bbbbbbbbbtstwsbbbbbbbbbbbbbbssstwNN%%%NNNNNN,N,N1111111111NNNNNNNLLLLLLLLLLLLLLLLLLLLLLLLLLNNNNNNLLLLLLLLLLLLLLLLLLLLLLLLLLNNNNbbbbbbsbbbbbbbbbbbbbbbbbbbbbbbbbb,N%%%%NNNNLNNNNN%%11NLNNN1LNNNNNLLLLLLLLLLLLLLLLLLLLLLLNLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLN".charAt(r):1424<=r&&r<=1524?"R":1536<=r&&r<=1785?"nnnnnnNNr%%r,rNNmmmmmmmmmmmrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrmmmmmmmmmmmmmmmmmmmmmnnnnnnnnnn%nnrrrmrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrmmmmmmmnNmmmmmmrrmmNmmmmrr1111111111".charAt(r-1536):1774<=r&&r<=2220?"r":8192<=r&&r<=8203?"w":8204==r?"b":"L");for(var a=0,l=i;a<n;++a){var c=o[a];"m"==c?o[a]=l:l=c}for(var h=0,u=i;h<n;++h){var f=o[h];"1"==f&&"r"==u?o[h]="n":te.test(f)&&"r"==(u=f)&&(o[h]="R")}for(var d=1,p=o[0];d<n-1;++d){var m=o[d];"+"==m&&"1"==p&&"1"==o[d+1]?o[d]="1":","!=m||p!=o[d+1]||"1"!=p&&"n"!=p||(o[d]=p),p=m}for(var g=0;g<n;++g){var _=o[g];if(","==_)o[g]="N";else if("%"==_){var v=void 0;for(v=g+1;v<n&&"%"==o[v];++v);for(var y=g&&"!"==o[g-1]||v<n&&"1"==o[v]?"1":"N",x=g;x<v;++x)o[x]=y;g=v-1}}for(var T=0,k=i;T<n;++T){var b=o[T];"L"==k&&"1"==b?o[T]="L":te.test(b)&&(k=b)}for(var w=0;w<n;++w)if(Jt.test(o[w])){var E=void 0;for(E=w+1;E<n&&Jt.test(o[E]);++E);for(var C="L"==(w?o[w-1]:i),S=C==("L"==(E<n?o[E]:i))?C?"L":"R":i,A=w;A<E;++A)o[A]=S;w=E-1}for(var L,N=[],O=0;O<n;)if(ee.test(o[O])){var I=O;for(++O;O<n&&ee.test(o[O]);++O);N.push(new ne(0,I,O))}else{var R=O,M=N.length;for(++O;O<n&&"L"!=o[O];++O);for(var D=R;D<O;)if(ie.test(o[D])){R<D&&N.splice(M,0,new ne(1,R,D));var P=D;for(++D;D<O&&ie.test(o[D]);++D);N.splice(M,0,new ne(2,P,D)),R=D}else++D;R<O&&N.splice(M,0,new ne(1,R,O))}return"ltr"==e&&(1==N[0].level&&(L=t.match(/^\s+/))&&(N[0].from=L[0].length,N.unshift(new ne(0,0,L[0].length))),1==$(N).level&&(L=t.match(/\s+$/))&&($(N).to-=L[0].length,N.push(new ne(0,n-L[0].length,n)))),"rtl"==e?N.reverse():N});function ne(t,e,i){this.level=t,this.from=e,this.to=i}function oe(t,e){var i=t.order;return null==i&&(i=t.order=re(t.text,e)),i}var se=[],ae=function(t,e,i){if(t.addEventListener)t.addEventListener(e,i,!1);else if(t.attachEvent)t.attachEvent("on"+e,i);else{var r=t._handlers||(t._handlers={});r[e]=(r[e]||se).concat(i)}};function le(t,e){return t._handlers&&t._handlers[e]||se}function ce(t,e,i){if(t.removeEventListener)t.removeEventListener(e,i,!1);else if(t.detachEvent)t.detachEvent("on"+e,i);else{var r=t._handlers,n=r&&r[e];if(n){var o=H(n,i);-1<o&&(r[e]=n.slice(0,o).concat(n.slice(o+1)))}}}function he(t,e){var i=le(t,e);if(i.length)for(var r=Array.prototype.slice.call(arguments,2),n=0;n<i.length;++n)i[n].apply(null,r)}function ue(t,e,i){return"string"==typeof e&&(e={type:e,preventDefault:function(){this.defaultPrevented=!0}}),he(t,i||e.type,t,e),_e(e)||e.codemirrorIgnore}function fe(t){var e=t._handlers&&t._handlers.cursorActivity;if(e)for(var i=t.curOp.cursorActivityHandlers||(t.curOp.cursorActivityHandlers=[]),r=0;r<e.length;++r)-1==H(i,e[r])&&i.push(e[r])}function de(t,e){return 0<le(t,e).length}function pe(t){t.prototype.on=function(t,e){ae(this,t,e)},t.prototype.off=function(t,e){ce(this,t,e)}}function me(t){t.preventDefault?t.preventDefault():t.returnValue=!1}function ge(t){t.stopPropagation?t.stopPropagation():t.cancelBubble=!0}function _e(t){return null!=t.defaultPrevented?t.defaultPrevented:0==t.returnValue}function ve(t){me(t),ge(t)}function ye(t){return t.target||t.srcElement}function xe(t){var e=t.which;return null==e&&(1&t.button?e=1:2&t.button?e=3:4&t.button&&(e=2)),x&&t.ctrlKey&&1==e&&(e=3),e}var Te,ke,be=function(){if(T&&k<9)return!1;var t=N("div");return"draggable"in t||"dragDrop"in t}();function we(t){if(null==Te){var e=N("span","");A(t,N("span",[e,document.createTextNode("x")])),0!=t.firstChild.offsetHeight&&(Te=e.offsetWidth<=1&&2<e.offsetHeight&&!(T&&k<8))}var i=Te?N("span",""):N("span"," ",null,"display: inline-block; width: 1px; margin-right: -1px");return i.setAttribute("cm-text",""),i}function Ee(t){if(null!=ke)return ke;var e=A(t,document.createTextNode("AخA")),i=E(e,0,1).getBoundingClientRect(),r=E(e,1,2).getBoundingClientRect();return S(t),!(!i||i.left==i.right)&&(ke=r.right-i.right<3)}var Ce,Se=3!="\n\nb".split(/\n/).length?function(t){for(var e=0,i=[],r=t.length;e<=r;){var n=t.indexOf("\n",e);-1==n&&(n=t.length);var o=t.slice(e,"\r"==t.charAt(n-1)?n-1:n),s=o.indexOf("\r");-1!=s?(i.push(o.slice(0,s)),e+=s+1):(i.push(o),e=n+1)}return i}:function(t){return t.split(/\r\n?|\n/)},Ae=window.getSelection?function(t){try{return t.selectionStart!=t.selectionEnd}catch(t){return!1}}:function(t){var e;try{e=t.ownerDocument.selection.createRange()}catch(t){}return!(!e||e.parentElement()!=t)&&0!=e.compareEndPoints("StartToEnd",e)},Le="oncopy"in(Ce=N("div"))||(Ce.setAttribute("oncopy","return;"),"function"==typeof Ce.oncopy),Ne=null,Oe={},Ie={};function Re(t){if("string"==typeof t&&Ie.hasOwnProperty(t))t=Ie[t];else if(t&&"string"==typeof t.name&&Ie.hasOwnProperty(t.name)){var e=Ie[t.name];"string"==typeof e&&(e={name:e}),(t=Z(e,t)).name=e.name}else{if("string"==typeof t&&/^[\w\-]+\/[\w\-]+\+xml$/.test(t))return Re("application/xml");if("string"==typeof t&&/^[\w\-]+\/[\w\-]+\+json$/.test(t))return Re("application/json")}return"string"==typeof t?{name:t}:t||{name:"null"}}function Me(t,e){e=Re(e);var i=Oe[e.name];if(!i)return Me(t,"text/plain");var r=i(t,e);if(De.hasOwnProperty(e.name)){var n=De[e.name];for(var o in n)n.hasOwnProperty(o)&&(r.hasOwnProperty(o)&&(r["_"+o]=r[o]),r[o]=n[o])}if(r.name=e.name,e.helperType&&(r.helperType=e.helperType),e.modeProps)for(var s in e.modeProps)r[s]=e.modeProps[s];return r}var De={};function Pe(t,e){if(!0===e)return e;if(t.copyState)return t.copyState(e);var i={};for(var r in e){var n=e[r];n instanceof Array&&(n=n.concat([])),i[r]=n}return i}function Be(t,e){for(var i;t.innerMode&&(i=t.innerMode(e))&&i.mode!=t;)e=i.state,t=i.mode;return i||{mode:t,state:e}}function Fe(t,e,i){return!t.startState||t.startState(e,i)}var Ue=function(t,e,i){this.pos=this.start=0,this.string=t,this.tabSize=e||8,this.lastColumnPos=this.lastColumnValue=0,this.lineStart=0,this.lineOracle=i};Ue.prototype.eol=function(){return this.pos>=this.string.length},Ue.prototype.sol=function(){return this.pos==this.lineStart},Ue.prototype.peek=function(){return this.string.charAt(this.pos)||void 0},Ue.prototype.next=function(){if(this.pos<this.string.length)return this.string.charAt(this.pos++)},Ue.prototype.eat=function(t){var e=this.string.charAt(this.pos);if("string"==typeof t?e==t:e&&(t.test?t.test(e):t(e)))return++this.pos,e},Ue.prototype.eatWhile=function(t){for(var e=this.pos;this.eat(t););return this.pos>e},Ue.prototype.eatSpace=function(){for(var t=this.pos;/[\s\u00a0]/.test(this.string.charAt(this.pos));)++this.pos;return this.pos>t},Ue.prototype.skipToEnd=function(){this.pos=this.string.length},Ue.prototype.skipTo=function(t){var e=this.string.indexOf(t,this.pos);if(-1<e)return this.pos=e,!0},Ue.prototype.backUp=function(t){this.pos-=t},Ue.prototype.column=function(){return this.lastColumnPos<this.start&&(this.lastColumnValue=F(this.string,this.start,this.tabSize,this.lastColumnPos,this.lastColumnValue),this.lastColumnPos=this.start),this.lastColumnValue-(this.lineStart?F(this.string,this.lineStart,this.tabSize):0)},Ue.prototype.indentation=function(){return F(this.string,null,this.tabSize)-(this.lineStart?F(this.string,this.lineStart,this.tabSize):0)},Ue.prototype.match=function(t,e,i){if("string"!=typeof t){var r=this.string.slice(this.pos).match(t);return r&&0<r.index?null:(r&&!1!==e&&(this.pos+=r[0].length),r)}function n(t){return i?t.toLowerCase():t}if(n(this.string.substr(this.pos,t.length))==n(t))return!1!==e&&(this.pos+=t.length),!0},Ue.prototype.current=function(){return this.string.slice(this.start,this.pos)},Ue.prototype.hideFirstChars=function(t,e){this.lineStart+=t;try{return e()}finally{this.lineStart-=t}},Ue.prototype.lookAhead=function(t){var e=this.lineOracle;return e&&e.lookAhead(t)},Ue.prototype.baseToken=function(){var t=this.lineOracle;return t&&t.baseToken(this.pos)};var He=function(t,e){this.state=t,this.lookAhead=e},We=function(t,e,i,r){this.state=e,this.doc=t,this.line=i,this.maxLookAhead=r||0,this.baseTokens=null,this.baseTokenPos=1};function ze(e,i,r,t){var l=[e.state.modeGen],n={};Xe(e,i.text,e.doc.mode,r,function(t,e){return l.push(t,e)},n,t);for(var c=r.state,o=function(t){r.baseTokens=l;var o=e.state.overlays[t],s=1,a=0;r.state=!0,Xe(e,i.text,o.mode,r,function(t,e){for(var i=s;a<t;){var r=l[s];t<r&&l.splice(s,1,t,l[s+1],r),s+=2,a=Math.min(t,r)}if(e)if(o.opaque)l.splice(i,s-i,t,"overlay "+e),s=i+2;else for(;i<s;i+=2){var n=l[i+1];l[i+1]=(n?n+" ":"")+"overlay "+e}},n),r.state=c,r.baseTokens=null,r.baseTokenPos=1},s=0;s<e.state.overlays.length;++s)o(s);return{styles:l,classes:n.bgClass||n.textClass?n:null}}function qe(t,e,i){if(!e.styles||e.styles[0]!=t.state.modeGen){var r=Ge(t,ft(e)),n=e.text.length>t.options.maxHighlightLength&&Pe(t.doc.mode,r.state),o=ze(t,e,r);n&&(r.state=n),e.stateAfter=r.save(!n),e.styles=o.styles,o.classes?e.styleClasses=o.classes:e.styleClasses&&(e.styleClasses=null),i===t.doc.highlightFrontier&&(t.doc.modeFrontier=Math.max(t.doc.modeFrontier,++t.doc.highlightFrontier))}return e.styles}function Ge(i,r,t){var e=i.doc,n=i.display;if(!e.mode.startState)return new We(e,!0,r);var o=function(t,e,i){for(var r,n,o=t.doc,s=i?-1:e-(t.doc.mode.innerMode?1e3:100),a=e;s<a;--a){if(a<=o.first)return o.first;var l=lt(o,a-1),c=l.stateAfter;if(c&&(!i||a+(c instanceof He?c.lookAhead:0)<=o.modeFrontier))return a;var h=F(l.text,null,t.options.tabSize);(null==n||h<r)&&(n=a-1,r=h)}return n}(i,r,t),s=o>e.first&<(e,o-1).stateAfter,a=s?We.fromSaved(e,s,o):new We(e,Fe(e.mode),o);return e.iter(o,r,function(t){je(i,t.text,a);var e=a.line;t.stateAfter=e==r-1||e%5==0||e>=n.viewFrom&&e<n.viewTo?a.save():null,a.nextLine()}),t&&(e.modeFrontier=a.line),a}function je(t,e,i,r){var n=t.doc.mode,o=new Ue(e,t.options.tabSize,i);for(o.start=o.pos=r||0,""==e&&Ve(n,i.state);!o.eol();)Ye(n,o,i.state),o.start=o.pos}function Ve(t,e){if(t.blankLine)return t.blankLine(e);if(t.innerMode){var i=Be(t,e);return i.mode.blankLine?i.mode.blankLine(i.state):void 0}}function Ye(t,e,i,r){for(var n=0;n<10;n++){r&&(r[0]=Be(t,i).mode);var o=t.token(e,i);if(e.pos>e.start)return o}throw new Error("Mode "+t.name+" failed to advance stream.")}We.prototype.lookAhead=function(t){var e=this.doc.getLine(this.line+t);return null!=e&&t>this.maxLookAhead&&(this.maxLookAhead=t),e},We.prototype.baseToken=function(t){if(!this.baseTokens)return null;for(;this.baseTokens[this.baseTokenPos]<=t;)this.baseTokenPos+=2;var e=this.baseTokens[this.baseTokenPos+1];return{type:e&&e.replace(/( |^)overlay .*/,""),size:this.baseTokens[this.baseTokenPos]-t}},We.prototype.nextLine=function(){this.line++,0<this.maxLookAhead&&this.maxLookAhead--},We.fromSaved=function(t,e,i){return e instanceof He?new We(t,Pe(t.mode,e.state),i,e.lookAhead):new We(t,Pe(t.mode,e),i)},We.prototype.save=function(t){var e=!1!==t?Pe(this.doc.mode,this.state):this.state;return 0<this.maxLookAhead?new He(e,this.maxLookAhead):e};function Ke(t,e,i){this.start=t.start,this.end=t.pos,this.string=t.current(),this.type=e||null,this.state=i}function $e(t,e,i,r){var n,o,s=t.doc,a=s.mode,l=lt(s,(e=bt(s,e)).line),c=Ge(t,e.line,i),h=new Ue(l.text,t.options.tabSize,c);for(r&&(o=[]);(r||h.pos<e.ch)&&!h.eol();)h.start=h.pos,n=Ye(a,h,c.state),r&&o.push(new Ke(h,n,Pe(s.mode,c.state)));return r?o:new Ke(h,n,c.state)}function Qe(t,e){if(t)for(;;){var i=t.match(/(?:^|\s+)line-(background-)?(\S+)/);if(!i)break;t=t.slice(0,i.index)+t.slice(i.index+i[0].length);var r=i[1]?"bgClass":"textClass";null==e[r]?e[r]=i[2]:new RegExp("(?:^|s)"+i[2]+"(?:$|s)").test(e[r])||(e[r]+=" "+i[2])}return t}function Xe(t,e,i,r,n,o,s){var a=i.flattenSpans;null==a&&(a=t.options.flattenSpans);var l,c=0,h=null,u=new Ue(e,t.options.tabSize,r),f=t.options.addModeClass&&[null];for(""==e&&Qe(Ve(i,r.state),o);!u.eol();){if(l=u.pos>t.options.maxHighlightLength?(a=!1,s&&je(t,e,r,u.pos),u.pos=e.length,null):Qe(Ye(i,u,r.state,f),o),f){var d=f[0].name;d&&(l="m-"+(l?d+" "+l:d))}if(!a||h!=l){for(;c<u.start;)n(c=Math.min(u.start,c+5e3),h);h=l}u.start=u.pos}for(;c<u.pos;){var p=Math.min(u.pos,c+5e3);n(p,h),c=p}}var Ze=function(t,e,i){this.text=t,Rt(this,e),this.height=i?i(this):1};Ze.prototype.lineNo=function(){return ft(this)},pe(Ze);var Je={},ti={};function ei(t,e){if(!t||/^\s*$/.test(t))return null;var i=e.addModeClass?ti:Je;return i[t]||(i[t]=t.replace(/\S+/g,"cm-$&"))}function ii(t,e){var i=L("span",null,null,y?"padding-right: .1px":null),r={pre:L("pre",[i],"CodeMirror-line"),content:i,col:0,pos:0,cm:t,trailingSpace:!1,splitSpaces:t.getOption("lineWrapping")};e.measure={};for(var n=0;n<=(e.rest?e.rest.length:0);n++){var o=n?e.rest[n-1]:e.line,s=void 0;r.pos=0,r.addToken=ni,Ee(t.display.measure)&&(s=oe(o,t.doc.direction))&&(r.addToken=oi(r.addToken,s)),r.map=[],ai(o,r,qe(t,o,e!=t.display.externalMeasured&&ft(o))),o.styleClasses&&(o.styleClasses.bgClass&&(r.bgClass=M(o.styleClasses.bgClass,r.bgClass||"")),o.styleClasses.textClass&&(r.textClass=M(o.styleClasses.textClass,r.textClass||""))),0==r.map.length&&r.map.push(0,0,r.content.appendChild(we(t.display.measure))),0==n?(e.measure.map=r.map,e.measure.cache={}):((e.measure.maps||(e.measure.maps=[])).push(r.map),(e.measure.caches||(e.measure.caches=[])).push({}))}if(y){var a=r.content.lastChild;(/\bcm-tab\b/.test(a.className)||a.querySelector&&a.querySelector(".cm-tab"))&&(r.content.className="cm-tab-wrap-hack")}return he(t,"renderLine",t,e.line,r.pre),r.pre.className&&(r.textClass=M(r.pre.className,r.textClass||"")),r}function ri(t){var e=N("span","•","cm-invalidchar");return e.title="\\u"+t.charCodeAt(0).toString(16),e.setAttribute("aria-label",e.title),e}function ni(t,e,i,r,n,o,s){if(e){var a,l=t.splitSpaces?function(t,e){if(1<t.length&&!/ /.test(t))return t;for(var i=e,r="",n=0;n<t.length;n++){var o=t.charAt(n);" "!=o||!i||n!=t.length-1&&32!=t.charCodeAt(n+1)||(o=" "),r+=o,i=" "==o}return r}(e,t.trailingSpace):e,c=t.cm.state.specialChars,h=!1;if(c.test(e)){a=document.createDocumentFragment();for(var u=0;;){c.lastIndex=u;var f=c.exec(e),d=f?f.index-u:e.length-u;if(d){var p=document.createTextNode(l.slice(u,u+d));T&&k<9?a.appendChild(N("span",[p])):a.appendChild(p),t.map.push(t.pos,t.pos+d,p),t.col+=d,t.pos+=d}if(!f)break;u+=1+d;var m=void 0;if("\t"==f[0]){var g=t.cm.options.tabSize,_=g-t.col%g;(m=a.appendChild(N("span",K(_),"cm-tab"))).setAttribute("role","presentation"),m.setAttribute("cm-text","\t"),t.col+=_}else"\r"==f[0]||"\n"==f[0]?(m=a.appendChild(N("span","\r"==f[0]?"␍":"","cm-invalidchar"))).setAttribute("cm-text",f[0]):((m=t.cm.options.specialCharPlaceholder(f[0])).setAttribute("cm-text",f[0]),T&&k<9?a.appendChild(N("span",[m])):a.appendChild(m)),t.col+=1;t.map.push(t.pos,t.pos+1,m),t.pos++}}else t.col+=e.length,a=document.createTextNode(l),t.map.push(t.pos,t.pos+e.length,a),T&&k<9&&(h=!0),t.pos+=e.length;if(t.trailingSpace=32==l.charCodeAt(e.length-1),i||r||n||h||o){var v=i||"";r&&(v+=r),n&&(v+=n);var y=N("span",[a],v,o);if(s)for(var x in s)s.hasOwnProperty(x)&&"style"!=x&&"class"!=x&&y.setAttribute(x,s[x]);return t.content.appendChild(y)}t.content.appendChild(a)}}function oi(u,f){return function(t,e,i,r,n,o,s){i=i?i+" cm-force-border":"cm-force-border";for(var a=t.pos,l=a+e.length;;){for(var c=void 0,h=0;h<f.length&&!((c=f[h]).to>a&&c.from<=a);h++);if(c.to>=l)return u(t,e,i,r,n,o,s);u(t,e.slice(0,c.to-a),i,r,null,o,s),r=null,e=e.slice(c.to-a),a=c.to}}}function si(t,e,i,r){var n=!r&&i.widgetNode;n&&t.map.push(t.pos,t.pos+e,n),!r&&t.cm.display.input.needsContentAttribute&&(n=n||t.content.appendChild(document.createElement("span"))).setAttribute("cm-marker",i.id),n&&(t.cm.display.input.setUneditable(n),t.content.appendChild(n)),t.pos+=e,t.trailingSpace=!1}function ai(t,e,i){var r=t.markedSpans,n=t.text,o=0;if(r)for(var s,a,l,c,h,u,f,d=n.length,p=0,m=1,g="",_=0;;){if(_==p){l=c=h=a="",u=f=null,_=1/0;for(var v=[],y=void 0,x=0;x<r.length;++x){var T=r[x],k=T.marker;if("bookmark"==k.type&&T.from==p&&k.widgetNode)v.push(k);else if(T.from<=p&&(null==T.to||T.to>p||k.collapsed&&T.to==p&&T.from==p)){if(null!=T.to&&T.to!=p&&_>T.to&&(_=T.to,c=""),k.className&&(l+=" "+k.className),k.css&&(a=(a?a+";":"")+k.css),k.startStyle&&T.from==p&&(h+=" "+k.startStyle),k.endStyle&&T.to==_&&(y=y||[]).push(k.endStyle,T.to),k.title&&((f=f||{}).title=k.title),k.attributes)for(var b in k.attributes)(f=f||{})[b]=k.attributes[b];k.collapsed&&(!u||Pt(u.marker,k)<0)&&(u=T)}else T.from>p&&_>T.from&&(_=T.from)}if(y)for(var w=0;w<y.length;w+=2)y[w+1]==_&&(c+=" "+y[w]);if(!u||u.from==p)for(var E=0;E<v.length;++E)si(e,0,v[E]);if(u&&(u.from||0)==p){if(si(e,(null==u.to?d+1:u.to)-p,u.marker,null==u.from),null==u.to)return;u.to==p&&(u=!1)}}if(d<=p)break;for(var C=Math.min(d,_);;){if(g){var S=p+g.length;if(!u){var A=C<S?g.slice(0,C-p):g;e.addToken(e,A,s?s+l:l,h,p+A.length==_?c:"",a,f)}if(C<=S){g=g.slice(C-p),p=C;break}p=S,h=""}g=n.slice(o,o=i[m++]),s=ei(i[m++],e.cm.options)}}else for(var L=1;L<i.length;L+=2)e.addToken(e,n.slice(o,o=i[L]),ei(i[L+1],e.cm.options))}function li(t,e,i){this.line=e,this.rest=function(t){for(var e,i;e=Ut(t);)t=e.find(1,!0).line,(i=i||[]).push(t);return i}(e),this.size=this.rest?ft($(this.rest))-i+1:1,this.node=this.text=null,this.hidden=jt(t,e)}function ci(t,e,i){for(var r,n=[],o=e;o<i;o=r){var s=new li(t.doc,lt(t.doc,o),o);r=o+s.size,n.push(s)}return n}var hi=null,ui=null;function fi(t,e){var i=le(t,e);if(i.length){var r,n=Array.prototype.slice.call(arguments,2);hi?r=hi.delayedCallbacks:ui?r=ui:(r=ui=[],setTimeout(di,0));for(var o=function(t){r.push(function(){return i[t].apply(null,n)})},s=0;s<i.length;++s)o(s)}}function di(){var t=ui;ui=null;for(var e=0;e<t.length;++e)t[e]()}function pi(t,e,i,r){for(var n=0;n<e.changes.length;n++){var o=e.changes[n];"text"==o?(s=t,void 0,l=(a=e).text.className,c=gi(s,a),a.text==a.node&&(a.node=c.pre),a.text.parentNode.replaceChild(c.pre,a.text),a.text=c.pre,c.bgClass!=a.bgClass||c.textClass!=a.textClass?(a.bgClass=c.bgClass,a.textClass=c.textClass,_i(s,a)):l&&(a.text.className=l)):"gutter"==o?vi(t,e,i,r):"class"==o?_i(t,e):"widget"==o&&yi(t,e,r)}var s,a,l,c;e.changes=null}function mi(t){return t.node==t.text&&(t.node=N("div",null,null,"position: relative"),t.text.parentNode&&t.text.parentNode.replaceChild(t.node,t.text),t.node.appendChild(t.text),T&&k<8&&(t.node.style.zIndex=2)),t.node}function gi(t,e){var i=t.display.externalMeasured;return i&&i.line==e.line?(t.display.externalMeasured=null,e.measure=i.measure,i.built):ii(t,e)}function _i(t,e){!function(t,e){var i=e.bgClass?e.bgClass+" "+(e.line.bgClass||""):e.line.bgClass;if(i&&(i+=" CodeMirror-linebackground"),e.background)i?e.background.className=i:(e.background.parentNode.removeChild(e.background),e.background=null);else if(i){var r=mi(e);e.background=r.insertBefore(N("div",null,i),r.firstChild),t.display.input.setUneditable(e.background)}}(t,e),e.line.wrapClass?mi(e).className=e.line.wrapClass:e.node!=e.text&&(e.node.className="");var i=e.textClass?e.textClass+" "+(e.line.textClass||""):e.line.textClass;e.text.className=i||""}function vi(t,e,i,r){if(e.gutter&&(e.node.removeChild(e.gutter),e.gutter=null),e.gutterBackground&&(e.node.removeChild(e.gutterBackground),e.gutterBackground=null),e.line.gutterClass){var n=mi(e);e.gutterBackground=N("div",null,"CodeMirror-gutter-background "+e.line.gutterClass,"left: "+(t.options.fixedGutter?r.fixedPos:-r.gutterTotalWidth)+"px; width: "+r.gutterTotalWidth+"px"),t.display.input.setUneditable(e.gutterBackground),n.insertBefore(e.gutterBackground,e.text)}var o=e.line.gutterMarkers;if(t.options.lineNumbers||o){var s=mi(e),a=e.gutter=N("div",null,"CodeMirror-gutter-wrapper","left: "+(t.options.fixedGutter?r.fixedPos:-r.gutterTotalWidth)+"px");if(t.display.input.setUneditable(a),s.insertBefore(a,e.text),e.line.gutterClass&&(a.className+=" "+e.line.gutterClass),!t.options.lineNumbers||o&&o["CodeMirror-linenumbers"]||(e.lineNumber=a.appendChild(N("div",mt(t.options,i),"CodeMirror-linenumber CodeMirror-gutter-elt","left: "+r.gutterLeft["CodeMirror-linenumbers"]+"px; width: "+t.display.lineNumInnerWidth+"px"))),o)for(var l=0;l<t.options.gutters.length;++l){var c=t.options.gutters[l],h=o.hasOwnProperty(c)&&o[c];h&&a.appendChild(N("div",[h],"CodeMirror-gutter-elt","left: "+r.gutterLeft[c]+"px; width: "+r.gutterWidth[c]+"px"))}}}function yi(t,e,i){e.alignable&&(e.alignable=null);for(var r=e.node.firstChild,n=void 0;r;r=n)n=r.nextSibling,"CodeMirror-linewidget"==r.className&&e.node.removeChild(r);xi(t,e,i)}function xi(t,e,i){if(Ti(t,e.line,e,i,!0),e.rest)for(var r=0;r<e.rest.length;r++)Ti(t,e.rest[r],e,i,!1)}function Ti(t,e,i,r,n){if(e.widgets)for(var o=mi(i),s=0,a=e.widgets;s<a.length;++s){var l=a[s],c=N("div",[l.node],"CodeMirror-linewidget");l.handleMouseEvents||c.setAttribute("cm-ignore-events","true"),ki(l,c,i,r),t.display.input.setUneditable(c),n&&l.above?o.insertBefore(c,i.gutter||i.text):o.appendChild(c),fi(l,"redraw")}}function ki(t,e,i,r){if(t.noHScroll){(i.alignable||(i.alignable=[])).push(e);var n=r.wrapperWidth;e.style.left=r.fixedPos+"px",t.coverGutter||(n-=r.gutterTotalWidth,e.style.paddingLeft=r.gutterTotalWidth+"px"),e.style.width=n+"px"}t.coverGutter&&(e.style.zIndex=5,e.style.position="relative",t.noHScroll||(e.style.marginLeft=-r.gutterTotalWidth+"px"))}function bi(t){if(null!=t.height)return t.height;var e=t.doc.cm;if(!e)return 0;if(!O(document.body,t.node)){var i="position: relative;";t.coverGutter&&(i+="margin-left: -"+e.display.gutters.offsetWidth+"px;"),t.noHScroll&&(i+="width: "+e.display.wrapper.clientWidth+"px;"),A(e.display.measure,N("div",[t.node],null,i))}return t.height=t.node.parentNode.offsetHeight}function wi(t,e){for(var i=ye(e);i!=t.wrapper;i=i.parentNode)if(!i||1==i.nodeType&&"true"==i.getAttribute("cm-ignore-events")||i.parentNode==t.sizer&&i!=t.mover)return!0}function Ei(t){return t.lineSpace.offsetTop}function Ci(t){return t.mover.offsetHeight-t.lineSpace.offsetHeight}function Si(t){if(t.cachedPaddingH)return t.cachedPaddingH;var e=A(t.measure,N("pre","x")),i=window.getComputedStyle?window.getComputedStyle(e):e.currentStyle,r={left:parseInt(i.paddingLeft),right:parseInt(i.paddingRight)};return isNaN(r.left)||isNaN(r.right)||(t.cachedPaddingH=r),r}function Ai(t){return W-t.display.nativeBarWidth}function Li(t){return t.display.scroller.clientWidth-Ai(t)-t.display.barWidth}function Ni(t){return t.display.scroller.clientHeight-Ai(t)-t.display.barHeight}function Oi(t,e,i){if(t.line==e)return{map:t.measure.map,cache:t.measure.cache};for(var r=0;r<t.rest.length;r++)if(t.rest[r]==e)return{map:t.measure.maps[r],cache:t.measure.caches[r]};for(var n=0;n<t.rest.length;n++)if(ft(t.rest[n])>i)return{map:t.measure.maps[n],cache:t.measure.caches[n],before:!0}}function Ii(t,e,i,r){return Di(t,Mi(t,e),i,r)}function Ri(t,e){if(e>=t.display.viewFrom&&e<t.display.viewTo)return t.display.view[hr(t,e)];var i=t.display.externalMeasured;return i&&e>=i.lineN&&e<i.lineN+i.size?i:void 0}function Mi(t,e){var i=ft(e),r=Ri(t,i);r&&!r.text?r=null:r&&r.changes&&(pi(t,r,i,or(t)),t.curOp.forceUpdate=!0);var n=Oi(r=r||function(t,e){var i=ft(e=zt(e)),r=t.display.externalMeasured=new li(t.doc,e,i);r.lineN=i;var n=r.built=ii(t,r);return r.text=n.pre,A(t.display.lineMeasure,n.pre),r}(t,e),e,i);return{line:e,view:r,rect:null,map:n.map,cache:n.cache,before:n.before,hasHeights:!1}}function Di(t,e,i,r,n){e.before&&(i=-1);var o,s=i+(r||"");return e.cache.hasOwnProperty(s)?o=e.cache[s]:(e.rect||(e.rect=e.view.text.getBoundingClientRect()),e.hasHeights||(function(t,e,i){var r=t.options.lineWrapping,n=r&&Li(t);if(!e.measure.heights||r&&e.measure.width!=n){var o=e.measure.heights=[];if(r){e.measure.width=n;for(var s=e.text.firstChild.getClientRects(),a=0;a<s.length-1;a++){var l=s[a],c=s[a+1];2<Math.abs(l.bottom-c.bottom)&&o.push((l.bottom+c.top)/2-i.top)}}o.push(i.bottom-i.top)}}(t,e.view,e.rect),e.hasHeights=!0),(o=function(t,e,i,r){var n,o=Fi(e.map,i,r),s=o.node,a=o.start,l=o.end,c=o.collapse;if(3==s.nodeType){for(var h=0;h<4;h++){for(;a&&nt(e.line.text.charAt(o.coverStart+a));)--a;for(;o.coverStart+l<o.coverEnd&&nt(e.line.text.charAt(o.coverStart+l));)++l;if((n=T&&k<9&&0==a&&l==o.coverEnd-o.coverStart?s.parentNode.getBoundingClientRect():Ui(E(s,a,l).getClientRects(),r)).left||n.right||0==a)break;l=a,a-=1,c="right"}T&&k<11&&(n=function(r,t){if(!window.screen||null==screen.logicalXDPI||screen.logicalXDPI==screen.deviceXDPI||!function(){if(null!=Ne)return Ne;var t=A(r,N("span","x")),e=t.getBoundingClientRect(),i=E(t,0,1).getBoundingClientRect();return Ne=1<Math.abs(e.left-i.left)}())return t;var e=screen.logicalXDPI/screen.deviceXDPI,i=screen.logicalYDPI/screen.deviceYDPI;return{left:t.left*e,right:t.right*e,top:t.top*i,bottom:t.bottom*i}}(t.display.measure,n))}else{var u;0<a&&(c=r="right"),n=t.options.lineWrapping&&1<(u=s.getClientRects()).length?u["right"==r?u.length-1:0]:s.getBoundingClientRect()}if(T&&k<9&&!a&&(!n||!n.left&&!n.right)){var f=s.parentNode.getClientRects()[0];n=f?{left:f.left,right:f.left+nr(t.display),top:f.top,bottom:f.bottom}:Bi}for(var d=n.top-e.rect.top,p=n.bottom-e.rect.top,m=(d+p)/2,g=e.view.measure.heights,_=0;_<g.length-1&&!(m<g[_]);_++);var v=_?g[_-1]:0,y=g[_],x={left:("right"==c?n.right:n.left)-e.rect.left,right:("left"==c?n.left:n.right)-e.rect.left,top:v,bottom:y};return n.left||n.right||(x.bogus=!0),t.options.singleCursorHeightPerLine||(x.rtop=d,x.rbottom=p),x}(t,e,i,r)).bogus||(e.cache[s]=o)),{left:o.left,right:o.right,top:n?o.rtop:o.top,bottom:n?o.rbottom:o.bottom}}var Pi,Bi={left:0,right:0,top:0,bottom:0};function Fi(t,e,i){for(var r,n,o,s,a,l,c=0;c<t.length;c+=3)if(a=t[c],l=t[c+1],e<a?(n=0,o=1,s="left"):e<l?o=1+(n=e-a):(c==t.length-3||e==l&&t[c+3]>e)&&(n=(o=l-a)-1,l<=e&&(s="right")),null!=n){if(r=t[c+2],a==l&&i==(r.insertLeft?"left":"right")&&(s=i),"left"==i&&0==n)for(;c&&t[c-2]==t[c-3]&&t[c-1].insertLeft;)r=t[2+(c-=3)],s="left";if("right"==i&&n==l-a)for(;c<t.length-3&&t[c+3]==t[c+4]&&!t[c+5].insertLeft;)r=t[(c+=3)+2],s="right";break}return{node:r,start:n,end:o,collapse:s,coverStart:a,coverEnd:l}}function Ui(t,e){var i=Bi;if("left"==e)for(var r=0;r<t.length&&(i=t[r]).left==i.right;r++);else for(var n=t.length-1;0<=n&&(i=t[n]).left==i.right;n--);return i}function Hi(t){if(t.measure&&(t.measure.cache={},t.measure.heights=null,t.rest))for(var e=0;e<t.rest.length;e++)t.measure.caches[e]={}}function Wi(t){t.display.externalMeasure=null,S(t.display.lineMeasure);for(var e=0;e<t.display.view.length;e++)Hi(t.display.view[e])}function zi(t){Wi(t),t.display.cachedCharWidth=t.display.cachedTextHeight=t.display.cachedPaddingH=null,t.options.lineWrapping||(t.display.maxLineChanged=!0),t.display.lineNumChars=null}function qi(){return s&&u?-(document.body.getBoundingClientRect().left-parseInt(getComputedStyle(document.body).marginLeft)):window.pageXOffset||(document.documentElement||document.body).scrollLeft}function Gi(){return s&&u?-(document.body.getBoundingClientRect().top-parseInt(getComputedStyle(document.body).marginTop)):window.pageYOffset||(document.documentElement||document.body).scrollTop}function ji(t){var e=0;if(t.widgets)for(var i=0;i<t.widgets.length;++i)t.widgets[i].above&&(e+=bi(t.widgets[i]));return e}function Vi(t,e,i,r,n){if(!n){var o=ji(e);i.top+=o,i.bottom+=o}if("line"==r)return i;r=r||"local";var s=Yt(e);if("local"==r?s+=Ei(t.display):s-=t.display.viewOffset,"page"==r||"window"==r){var a=t.display.lineSpace.getBoundingClientRect();s+=a.top+("window"==r?0:Gi());var l=a.left+("window"==r?0:qi());i.left+=l,i.right+=l}return i.top+=s,i.bottom+=s,i}function Yi(t,e,i){if("div"==i)return e;var r=e.left,n=e.top;if("page"==i)r-=qi(),n-=Gi();else if("local"==i||!i){var o=t.display.sizer.getBoundingClientRect();r+=o.left,n+=o.top}var s=t.display.lineSpace.getBoundingClientRect();return{left:r-s.left,top:n-s.top}}function Ki(t,e,i,r,n){return Vi(t,r=r||lt(t.doc,e.line),Ii(t,r,e.ch,n),i)}function $i(r,t,n,o,s,a){function l(t,e){var i=Di(r,s,t,e?"right":"left",a);return e?i.left=i.right:i.right=i.left,Vi(r,o,i,n)}o=o||lt(r.doc,t.line),s=s||Mi(r,o);var c=oe(o,r.doc.direction),e=t.ch,i=t.sticky;if(e>=o.text.length?(e=o.text.length,i="before"):e<=0&&(e=0,i="after"),!c)return l("before"==i?e-1:e,"before"==i);function h(t,e,i){return l(i?t-1:t,1==c[e].level!=i)}var u=Xt(c,e,i),f=Qt,d=h(e,u,"before"==i);return null!=f&&(d.other=h(e,f,"before"!=i)),d}function Qi(t,e){var i=0;e=bt(t.doc,e),t.options.lineWrapping||(i=nr(t.display)*e.ch);var r=lt(t.doc,e.line),n=Yt(r)+Ei(t.display);return{left:i,right:i,top:n,bottom:n+r.height}}function Xi(t,e,i,r,n){var o=gt(t,e,i);return o.xRel=n,r&&(o.outside=!0),o}function Zi(t,e,i){var r=t.doc;if((i+=t.display.viewOffset)<0)return Xi(r.first,0,null,!0,-1);var n=dt(r,i),o=r.first+r.size-1;if(o<n)return Xi(r.first+r.size-1,lt(r,o).text.length,null,!0,1);e<0&&(e=0);for(var s=lt(r,n);;){var a=ir(t,s,n,e,i),l=Ht(s,a.ch+(0<a.xRel?1:0));if(!l)return a;var c=l.find(1);if(c.line==n)return c;s=lt(r,n=c.line)}}function Ji(e,t,i,r){r-=ji(t);var n=t.text.length,o=st(function(t){return Di(e,i,t-1).bottom<=r},n,0);return{begin:o,end:n=st(function(t){return Di(e,i,t).top>r},o,n)}}function tr(t,e,i,r){return Ji(t,e,i=i||Mi(t,e),Vi(t,e,Di(t,i,r),"line").top)}function er(t,e,i,r){return!(t.bottom<=i)&&(t.top>i||(r?t.left:t.right)>e)}function ir(i,t,e,r,n){n-=Yt(t);var o=Mi(i,t),s=ji(t),a=0,l=t.text.length,c=!0,h=oe(t,i.doc.direction);if(h){var u=(i.options.lineWrapping?function(t,e,i,r,n,o,s){var a=Ji(t,e,r,s),l=a.begin,c=a.end;/\s/.test(e.text.charAt(c-1))&&c--;for(var h=null,u=null,f=0;f<n.length;f++){var d=n[f];if(!(d.from>=c||d.to<=l)){var p=Di(t,r,1!=d.level?Math.min(c,d.to)-1:Math.max(l,d.from)).right,m=p<o?o-p+1e9:p-o;(!h||m<u)&&(h=d,u=m)}}return(h=h||n[n.length-1]).from<l&&(h={from:l,to:h.to,level:h.level}),h.to>c&&(h={from:h.from,to:c,level:h.level}),h}:function(r,n,o,s,a,l,c){var t=st(function(t){var e=a[t],i=1!=e.level;return er($i(r,gt(o,i?e.to:e.from,i?"before":"after"),"line",n,s),l,c,!0)},0,a.length-1),e=a[t];if(0<t){var i=1!=e.level,h=$i(r,gt(o,i?e.from:e.to,i?"after":"before"),"line",n,s);er(h,l,c,!0)&&h.top>c&&(e=a[t-1])}return e})(i,t,e,o,h,r,n);a=(c=1!=u.level)?u.from:u.to-1,l=c?u.to:u.from-1}var f,d,p=null,m=null,g=st(function(t){var e=Di(i,o,t);return e.top+=s,e.bottom+=s,!!er(e,r,n,!1)&&(e.top<=n&&e.left<=r&&(p=t,m=e),!0)},a,l),_=!1;if(m){var v=r-m.left<m.right-r,y=v==c;g=p+(y?0:1),d=y?"after":"before",f=v?m.left:m.right}else{c||g!=l&&g!=a||g++,d=0==g?"after":g==t.text.length?"before":Di(i,o,g-(c?1:0)).bottom+s<=n==c?"after":"before";var x=$i(i,gt(e,g,d),"line",t,o);f=x.left,_=n<x.top||n>=x.bottom}return Xi(e,g=ot(t.text,g,1),d,_,r-f)}function rr(t){if(null!=t.cachedTextHeight)return t.cachedTextHeight;if(null==Pi){Pi=N("pre");for(var e=0;e<49;++e)Pi.appendChild(document.createTextNode("x")),Pi.appendChild(N("br"));Pi.appendChild(document.createTextNode("x"))}A(t.measure,Pi);var i=Pi.offsetHeight/50;return 3<i&&(t.cachedTextHeight=i),S(t.measure),i||1}function nr(t){if(null!=t.cachedCharWidth)return t.cachedCharWidth;var e=N("span","xxxxxxxxxx"),i=N("pre",[e]);A(t.measure,i);var r=e.getBoundingClientRect(),n=(r.right-r.left)/10;return 2<n&&(t.cachedCharWidth=n),n||10}function or(t){for(var e=t.display,i={},r={},n=e.gutters.clientLeft,o=e.gutters.firstChild,s=0;o;o=o.nextSibling,++s)i[t.options.gutters[s]]=o.offsetLeft+o.clientLeft+n,r[t.options.gutters[s]]=o.clientWidth;return{fixedPos:sr(e),gutterTotalWidth:e.gutters.offsetWidth,gutterLeft:i,gutterWidth:r,wrapperWidth:e.wrapper.clientWidth}}function sr(t){return t.scroller.getBoundingClientRect().left-t.sizer.getBoundingClientRect().left}function ar(r){var n=rr(r.display),o=r.options.lineWrapping,s=o&&Math.max(5,r.display.scroller.clientWidth/nr(r.display)-3);return function(t){if(jt(r.doc,t))return 0;var e=0;if(t.widgets)for(var i=0;i<t.widgets.length;i++)t.widgets[i].height&&(e+=t.widgets[i].height);return o?e+(Math.ceil(t.text.length/s)||1)*n:e+n}}function lr(t){var e=t.doc,i=ar(t);e.iter(function(t){var e=i(t);e!=t.height&&ut(t,e)})}function cr(t,e,i,r){var n=t.display;if(!i&&"true"==ye(e).getAttribute("cm-not-content"))return null;var o,s,a=n.lineSpace.getBoundingClientRect();try{o=e.clientX-a.left,s=e.clientY-a.top}catch(e){return null}var l,c=Zi(t,o,s);if(r&&1==c.xRel&&(l=lt(t.doc,c.line).text).length==c.ch){var h=F(l,l.length,t.options.tabSize)-l.length;c=gt(c.line,Math.max(0,Math.round((o-Si(t.display).left)/nr(t.display))-h))}return c}function hr(t,e){if(e>=t.display.viewTo)return null;if((e-=t.display.viewFrom)<0)return null;for(var i=t.display.view,r=0;r<i.length;r++)if((e-=i[r].size)<0)return r}function ur(t){t.display.input.showSelection(t.display.input.prepareSelection())}function fr(t,e){void 0===e&&(e=!0);for(var i=t.doc,r={},n=r.cursors=document.createDocumentFragment(),o=r.selection=document.createDocumentFragment(),s=0;s<i.sel.ranges.length;s++)if(e||s!=i.sel.primIndex){var a=i.sel.ranges[s];if(!(a.from().line>=t.display.viewTo||a.to().line<t.display.viewFrom)){var l=a.empty();(l||t.options.showCursorWhenSelecting)&&dr(t,a.head,n),l||mr(t,a,o)}}return r}function dr(t,e,i){var r=$i(t,e,"div",null,null,!t.options.singleCursorHeightPerLine),n=i.appendChild(N("div"," ","CodeMirror-cursor"));if(n.style.left=r.left+"px",n.style.top=r.top+"px",n.style.height=Math.max(0,r.bottom-r.top)*t.options.cursorHeight+"px",r.other){var o=i.appendChild(N("div"," ","CodeMirror-cursor CodeMirror-secondarycursor"));o.style.display="",o.style.left=r.other.left+"px",o.style.top=r.other.top+"px",o.style.height=.85*(r.other.bottom-r.other.top)+"px"}}function pr(t,e){return t.top-e.top||t.left-e.left}function mr(s,t,e){var i=s.display,r=s.doc,n=document.createDocumentFragment(),o=Si(s.display),C=o.left,S=Math.max(i.sizerWidth,Li(s)-i.sizer.offsetLeft)-o.right,A="ltr"==r.direction;function L(t,e,i,r){e<0&&(e=0),e=Math.round(e),r=Math.round(r),n.appendChild(N("div",null,"CodeMirror-selected","position: absolute; left: "+t+"px;\n top: "+e+"px; width: "+(null==i?S-t:i)+"px;\n height: "+(r-e)+"px"))}function a(i,v,y){var x,T,o=lt(r,i),k=o.text.length;function b(t,e){return Ki(s,gt(i,t),"div",o,e)}function w(t,e,i){var r=tr(s,o,null,t),n="ltr"==e==("after"==i)?"left":"right";return b("after"==i?r.begin:r.end-(/\s/.test(o.text.charAt(r.end-1))?2:1),n)[n]}var E=oe(o,r.direction);return function(t,e,i,r){if(!t)return r(e,i,"ltr",0);for(var n=!1,o=0;o<t.length;++o){var s=t[o];(s.from<i&&s.to>e||e==i&&s.to==e)&&(r(Math.max(s.from,e),Math.min(s.to,i),1==s.level?"rtl":"ltr",o),n=!0)}n||r(e,i,"ltr")}(E,v||0,null==y?k:y,function(t,e,i,r){var n="ltr"==i,o=b(t,n?"left":"right"),s=b(e-1,n?"right":"left"),a=null==v&&0==t,l=null==y&&e==k,c=0==r,h=!E||r==E.length-1;if(s.top-o.top<=3){var u=(A?l:a)&&h,f=(A?a:l)&&c?C:(n?o:s).left,d=u?S:(n?s:o).right;L(f,o.top,d-f,o.bottom)}else{var p,m,g,_;_=n?(p=A&&a&&c?C:o.left,m=A?S:w(t,i,"before"),g=A?C:w(e,i,"after"),A&&l&&h?S:s.right):(p=A?w(t,i,"before"):C,m=!A&&a&&c?S:o.right,g=!A&&l&&h?C:s.left,A?w(e,i,"after"):S),L(p,o.top,m-p,o.bottom),o.bottom<s.top&&L(C,o.bottom,null,s.top),L(g,s.top,_-g,s.bottom)}(!x||pr(o,x)<0)&&(x=o),pr(s,x)<0&&(x=s),(!T||pr(o,T)<0)&&(T=o),pr(s,T)<0&&(T=s)}),{start:x,end:T}}var l=t.from(),c=t.to();if(l.line==c.line)a(l.line,l.ch,c.ch);else{var h=lt(r,l.line),u=lt(r,c.line),f=zt(h)==zt(u),d=a(l.line,l.ch,f?h.text.length+1:null).end,p=a(c.line,f?0:null,c.ch).start;f&&(d.top<p.top-2?(L(d.right,d.top,null,d.bottom),L(C,p.top,p.left,p.bottom)):L(d.right,d.top,p.left-d.right,d.bottom)),d.bottom<p.top&&L(C,d.bottom,null,p.top)}e.appendChild(n)}function gr(t){if(t.state.focused){var e=t.display;clearInterval(e.blinker);var i=!0;e.cursorDiv.style.visibility="",0<t.options.cursorBlinkRate?e.blinker=setInterval(function(){return e.cursorDiv.style.visibility=(i=!i)?"":"hidden"},t.options.cursorBlinkRate):t.options.cursorBlinkRate<0&&(e.cursorDiv.style.visibility="hidden")}}function _r(t){t.state.focused||(t.display.input.focus(),yr(t))}function vr(t){t.state.delayingBlurEvent=!0,setTimeout(function(){t.state.delayingBlurEvent&&(t.state.delayingBlurEvent=!1,xr(t))},100)}function yr(t,e){t.state.delayingBlurEvent&&(t.state.delayingBlurEvent=!1),"nocursor"!=t.options.readOnly&&(t.state.focused||(he(t,"focus",t,e),t.state.focused=!0,R(t.display.wrapper,"CodeMirror-focused"),t.curOp||t.display.selForContextMenu==t.doc.sel||(t.display.input.reset(),y&&setTimeout(function(){return t.display.input.reset(!0)},20)),t.display.input.receivedFocus()),gr(t))}function xr(t,e){t.state.delayingBlurEvent||(t.state.focused&&(he(t,"blur",t,e),t.state.focused=!1,C(t.display.wrapper,"CodeMirror-focused")),clearInterval(t.display.blinker),setTimeout(function(){t.state.focused||(t.display.shift=!1)},150))}function Tr(t){for(var e=t.display,i=e.lineDiv.offsetTop,r=0;r<e.view.length;r++){var n=e.view[r],o=t.options.lineWrapping,s=void 0,a=0;if(!n.hidden){if(T&&k<8){var l=n.node.offsetTop+n.node.offsetHeight;s=l-i,i=l}else{var c=n.node.getBoundingClientRect();s=c.bottom-c.top,!o&&n.text.firstChild&&(a=n.text.firstChild.getBoundingClientRect().right-c.left-1)}var h=n.line.height-s;if(s<2&&(s=rr(e)),(.005<h||h<-.005)&&(ut(n.line,s),kr(n.line),n.rest))for(var u=0;u<n.rest.length;u++)kr(n.rest[u]);if(a>t.display.sizerWidth){var f=Math.ceil(a/nr(t.display));f>t.display.maxLineLength&&(t.display.maxLineLength=f,t.display.maxLine=n.line,t.display.maxLineChanged=!0)}}}}function kr(t){if(t.widgets)for(var e=0;e<t.widgets.length;++e){var i=t.widgets[e],r=i.node.parentNode;r&&(i.height=r.offsetHeight)}}function br(t,e,i){var r=i&&null!=i.top?Math.max(0,i.top):t.scroller.scrollTop;r=Math.floor(r-Ei(t));var n=i&&null!=i.bottom?i.bottom:r+t.wrapper.clientHeight,o=dt(e,r),s=dt(e,n);if(i&&i.ensure){var a=i.ensure.from.line,l=i.ensure.to.line;a<o?s=dt(e,Yt(lt(e,o=a))+t.wrapper.clientHeight):Math.min(l,e.lastLine())>=s&&(o=dt(e,Yt(lt(e,l))-t.wrapper.clientHeight),s=l)}return{from:o,to:Math.max(s,o+1)}}function wr(t){var e=t.display,i=e.view;if(e.alignWidgets||e.gutters.firstChild&&t.options.fixedGutter){for(var r=sr(e)-e.scroller.scrollLeft+t.doc.scrollLeft,n=e.gutters.offsetWidth,o=r+"px",s=0;s<i.length;s++)if(!i[s].hidden){t.options.fixedGutter&&(i[s].gutter&&(i[s].gutter.style.left=o),i[s].gutterBackground&&(i[s].gutterBackground.style.left=o));var a=i[s].alignable;if(a)for(var l=0;l<a.length;l++)a[l].style.left=o}t.options.fixedGutter&&(e.gutters.style.left=r+n+"px")}}function Er(t){if(!t.options.lineNumbers)return!1;var e=t.doc,i=mt(t.options,e.first+e.size-1),r=t.display;if(i.length==r.lineNumChars)return!1;var n=r.measure.appendChild(N("div",[N("div",i)],"CodeMirror-linenumber CodeMirror-gutter-elt")),o=n.firstChild.offsetWidth,s=n.offsetWidth-o;return r.lineGutter.style.width="",r.lineNumInnerWidth=Math.max(o,r.lineGutter.offsetWidth-s)+1,r.lineNumWidth=r.lineNumInnerWidth+s,r.lineNumChars=r.lineNumInnerWidth?i.length:-1,r.lineGutter.style.width=r.lineNumWidth+"px",un(t),!0}function Cr(t,e){var i=t.display,r=rr(t.display);e.top<0&&(e.top=0);var n=t.curOp&&null!=t.curOp.scrollTop?t.curOp.scrollTop:i.scroller.scrollTop,o=Ni(t),s={};e.bottom-e.top>o&&(e.bottom=e.top+o);var a=t.doc.height+Ci(i),l=e.top<r,c=e.bottom>a-r;if(e.top<n)s.scrollTop=l?0:e.top;else if(e.bottom>n+o){var h=Math.min(e.top,(c?a:e.bottom)-o);h!=n&&(s.scrollTop=h)}var u=t.curOp&&null!=t.curOp.scrollLeft?t.curOp.scrollLeft:i.scroller.scrollLeft,f=Li(t)-(t.options.fixedGutter?i.gutters.offsetWidth:0),d=e.right-e.left>f;return d&&(e.right=e.left+f),e.left<10?s.scrollLeft=0:e.left<u?s.scrollLeft=Math.max(0,e.left-(d?0:10)):e.right>f+u-3&&(s.scrollLeft=e.right+(d?0:10)-f),s}function Sr(t,e){null!=e&&(Nr(t),t.curOp.scrollTop=(null==t.curOp.scrollTop?t.doc.scrollTop:t.curOp.scrollTop)+e)}function Ar(t){Nr(t);var e=t.getCursor();t.curOp.scrollToPos={from:e,to:e,margin:t.options.cursorScrollMargin}}function Lr(t,e,i){null==e&&null==i||Nr(t),null!=e&&(t.curOp.scrollLeft=e),null!=i&&(t.curOp.scrollTop=i)}function Nr(t){var e=t.curOp.scrollToPos;e&&(t.curOp.scrollToPos=null,Or(t,Qi(t,e.from),Qi(t,e.to),e.margin))}function Or(t,e,i,r){var n=Cr(t,{left:Math.min(e.left,i.left),top:Math.min(e.top,i.top)-r,right:Math.max(e.right,i.right),bottom:Math.max(e.bottom,i.bottom)+r});Lr(t,n.scrollLeft,n.scrollTop)}function Ir(t,e){Math.abs(t.doc.scrollTop-e)<2||(m||hn(t,{top:e}),Rr(t,e,!0),m&&hn(t),on(t,100))}function Rr(t,e,i){e=Math.min(t.display.scroller.scrollHeight-t.display.scroller.clientHeight,e),t.display.scroller.scrollTop==e&&!i||(t.doc.scrollTop=e,t.display.scrollbars.setScrollTop(e),t.display.scroller.scrollTop!=e&&(t.display.scroller.scrollTop=e))}function Mr(t,e,i,r){e=Math.min(e,t.display.scroller.scrollWidth-t.display.scroller.clientWidth),(i?e==t.doc.scrollLeft:Math.abs(t.doc.scrollLeft-e)<2)&&!r||(t.doc.scrollLeft=e,wr(t),t.display.scroller.scrollLeft!=e&&(t.display.scroller.scrollLeft=e),t.display.scrollbars.setScrollLeft(e))}function Dr(t){var e=t.display,i=e.gutters.offsetWidth,r=Math.round(t.doc.height+Ci(t.display));return{clientHeight:e.scroller.clientHeight,viewHeight:e.wrapper.clientHeight,scrollWidth:e.scroller.scrollWidth,clientWidth:e.scroller.clientWidth,viewWidth:e.wrapper.clientWidth,barLeft:t.options.fixedGutter?i:0,docHeight:r,scrollHeight:r+Ai(t)+e.barHeight,nativeBarWidth:e.nativeBarWidth,gutterWidth:i}}function Pr(t,e,i){this.cm=i;var r=this.vert=N("div",[N("div",null,null,"min-width: 1px")],"CodeMirror-vscrollbar"),n=this.horiz=N("div",[N("div",null,null,"height: 100%; min-height: 1px")],"CodeMirror-hscrollbar");r.tabIndex=n.tabIndex=-1,t(r),t(n),ae(r,"scroll",function(){r.clientHeight&&e(r.scrollTop,"vertical")}),ae(n,"scroll",function(){n.clientWidth&&e(n.scrollLeft,"horizontal")}),this.checkedZeroWidth=!1,T&&k<8&&(this.horiz.style.minHeight=this.vert.style.minWidth="18px")}Pr.prototype.update=function(t){var e=t.scrollWidth>t.clientWidth+1,i=t.scrollHeight>t.clientHeight+1,r=t.nativeBarWidth;if(i){this.vert.style.display="block",this.vert.style.bottom=e?r+"px":"0";var n=t.viewHeight-(e?r:0);this.vert.firstChild.style.height=Math.max(0,t.scrollHeight-t.clientHeight+n)+"px"}else this.vert.style.display="",this.vert.firstChild.style.height="0";if(e){this.horiz.style.display="block",this.horiz.style.right=i?r+"px":"0",this.horiz.style.left=t.barLeft+"px";var o=t.viewWidth-t.barLeft-(i?r:0);this.horiz.firstChild.style.width=Math.max(0,t.scrollWidth-t.clientWidth+o)+"px"}else this.horiz.style.display="",this.horiz.firstChild.style.width="0";return!this.checkedZeroWidth&&0<t.clientHeight&&(0==r&&this.zeroWidthHack(),this.checkedZeroWidth=!0),{right:i?r:0,bottom:e?r:0}},Pr.prototype.setScrollLeft=function(t){this.horiz.scrollLeft!=t&&(this.horiz.scrollLeft=t),this.disableHoriz&&this.enableZeroWidthBar(this.horiz,this.disableHoriz,"horiz")},Pr.prototype.setScrollTop=function(t){this.vert.scrollTop!=t&&(this.vert.scrollTop=t),this.disableVert&&this.enableZeroWidthBar(this.vert,this.disableVert,"vert")},Pr.prototype.zeroWidthHack=function(){var t=x&&!a?"12px":"18px";this.horiz.style.height=this.vert.style.width=t,this.horiz.style.pointerEvents=this.vert.style.pointerEvents="none",this.disableHoriz=new U,this.disableVert=new U},Pr.prototype.enableZeroWidthBar=function(i,r,n){i.style.pointerEvents="auto",r.set(1e3,function t(){var e=i.getBoundingClientRect();("vert"==n?document.elementFromPoint(e.right-1,(e.top+e.bottom)/2):document.elementFromPoint((e.right+e.left)/2,e.bottom-1))!=i?i.style.pointerEvents="none":r.set(1e3,t)})},Pr.prototype.clear=function(){var t=this.horiz.parentNode;t.removeChild(this.horiz),t.removeChild(this.vert)};function Br(){}function Fr(t,e){e=e||Dr(t);var i=t.display.barWidth,r=t.display.barHeight;Ur(t,e);for(var n=0;n<4&&i!=t.display.barWidth||r!=t.display.barHeight;n++)i!=t.display.barWidth&&t.options.lineWrapping&&Tr(t),Ur(t,Dr(t)),i=t.display.barWidth,r=t.display.barHeight}function Ur(t,e){var i=t.display,r=i.scrollbars.update(e);i.sizer.style.paddingRight=(i.barWidth=r.right)+"px",i.sizer.style.paddingBottom=(i.barHeight=r.bottom)+"px",i.heightForcer.style.borderBottom=r.bottom+"px solid transparent",r.right&&r.bottom?(i.scrollbarFiller.style.display="block",i.scrollbarFiller.style.height=r.bottom+"px",i.scrollbarFiller.style.width=r.right+"px"):i.scrollbarFiller.style.display="",r.bottom&&t.options.coverGutterNextToScrollbar&&t.options.fixedGutter?(i.gutterFiller.style.display="block",i.gutterFiller.style.height=r.bottom+"px",i.gutterFiller.style.width=e.gutterWidth+"px"):i.gutterFiller.style.display=""}Br.prototype.update=function(){return{bottom:0,right:0}},Br.prototype.setScrollLeft=function(){},Br.prototype.setScrollTop=function(){},Br.prototype.clear=function(){};var Hr={native:Pr,null:Br};function Wr(i){i.display.scrollbars&&(i.display.scrollbars.clear(),i.display.scrollbars.addClass&&C(i.display.wrapper,i.display.scrollbars.addClass)),i.display.scrollbars=new Hr[i.options.scrollbarStyle](function(t){i.display.wrapper.insertBefore(t,i.display.scrollbarFiller),ae(t,"mousedown",function(){i.state.focused&&setTimeout(function(){return i.display.input.focus()},0)}),t.setAttribute("cm-not-content","true")},function(t,e){"horizontal"==e?Mr(i,t):Ir(i,t)},i),i.display.scrollbars.addClass&&R(i.display.wrapper,i.display.scrollbars.addClass)}var zr=0;function qr(t){var e;t.curOp={cm:t,viewChanged:!1,startHeight:t.doc.height,forceUpdate:!1,updateInput:null,typing:!1,changeObjs:null,cursorActivityHandlers:null,cursorActivityCalled:0,selectionChanged:!1,updateMaxLine:!1,scrollLeft:null,scrollTop:null,scrollToPos:null,focus:!1,id:++zr},e=t.curOp,hi?hi.ops.push(e):e.ownsGroup=hi={ops:[e],delayedCallbacks:[]}}function Gr(t){var e=t.curOp;e&&function(){var t=e.ownsGroup;if(t)try{!function(t){var e=t.delayedCallbacks,i=0;do{for(;i<e.length;i++)e[i].call(null);for(var r=0;r<t.ops.length;r++){var n=t.ops[r];if(n.cursorActivityHandlers)for(;n.cursorActivityCalled<n.cursorActivityHandlers.length;)n.cursorActivityHandlers[n.cursorActivityCalled++].call(null,n.cm)}}while(i<e.length)}(t)}finally{hi=null,function(t){for(var e=0;e<t.ops.length;e++)t.ops[e].cm.curOp=null;!function(t){for(var e=t.ops,i=0;i<e.length;i++)jr(e[i]);for(var r=0;r<e.length;r++)(n=e[r]).updatedDisplay=n.mustUpdate&&ln(n.cm,n.update);var n;for(var o=0;o<e.length;o++)Vr(e[o]);for(var s=0;s<e.length;s++)Yr(e[s]);for(var a=0;a<e.length;a++)Kr(e[a])}(t)}(t)}}()}function jr(t){var e,i,r=t.cm,n=r.display;!(i=(e=r).display).scrollbarsClipped&&i.scroller.offsetWidth&&(i.nativeBarWidth=i.scroller.offsetWidth-i.scroller.clientWidth,i.heightForcer.style.height=Ai(e)+"px",i.sizer.style.marginBottom=-i.nativeBarWidth+"px",i.sizer.style.borderRightWidth=Ai(e)+"px",i.scrollbarsClipped=!0),t.updateMaxLine&&$t(r),t.mustUpdate=t.viewChanged||t.forceUpdate||null!=t.scrollTop||t.scrollToPos&&(t.scrollToPos.from.line<n.viewFrom||t.scrollToPos.to.line>=n.viewTo)||n.maxLineChanged&&r.options.lineWrapping,t.update=t.mustUpdate&&new an(r,t.mustUpdate&&{top:t.scrollTop,ensure:t.scrollToPos},t.forceUpdate)}function Vr(t){var e=t.cm,i=e.display;t.updatedDisplay&&Tr(e),t.barMeasure=Dr(e),i.maxLineChanged&&!e.options.lineWrapping&&(t.adjustWidthTo=Ii(e,i.maxLine,i.maxLine.text.length).left+3,e.display.sizerWidth=t.adjustWidthTo,t.barMeasure.scrollWidth=Math.max(i.scroller.clientWidth,i.sizer.offsetLeft+t.adjustWidthTo+Ai(e)+e.display.barWidth),t.maxScrollLeft=Math.max(0,i.sizer.offsetLeft+t.adjustWidthTo-Li(e))),(t.updatedDisplay||t.selectionChanged)&&(t.preparedSelection=i.input.prepareSelection())}function Yr(t){var e=t.cm;null!=t.adjustWidthTo&&(e.display.sizer.style.minWidth=t.adjustWidthTo+"px",t.maxScrollLeft<e.doc.scrollLeft&&Mr(e,Math.min(e.display.scroller.scrollLeft,t.maxScrollLeft),!0),e.display.maxLineChanged=!1);var i=t.focus&&t.focus==I();t.preparedSelection&&e.display.input.showSelection(t.preparedSelection,i),!t.updatedDisplay&&t.startHeight==e.doc.height||Fr(e,t.barMeasure),t.updatedDisplay&&fn(e,t.barMeasure),t.selectionChanged&&gr(e),e.state.focused&&t.updateInput&&e.display.input.reset(t.typing),i&&_r(t.cm)}function Kr(t){var e=t.cm,i=e.display,r=e.doc;t.updatedDisplay&&cn(e,t.update),null==i.wheelStartX||null==t.scrollTop&&null==t.scrollLeft&&!t.scrollToPos||(i.wheelStartX=i.wheelStartY=null),null!=t.scrollTop&&Rr(e,t.scrollTop,t.forceScroll),null!=t.scrollLeft&&Mr(e,t.scrollLeft,!0,!0),t.scrollToPos&&function(t,e){if(!ue(t,"scrollCursorIntoView")){var i=t.display,r=i.sizer.getBoundingClientRect(),n=null;if(e.top+r.top<0?n=!0:e.bottom+r.top>(window.innerHeight||document.documentElement.clientHeight)&&(n=!1),null!=n&&!c){var o=N("div","",null,"position: absolute;\n top: "+(e.top-i.viewOffset-Ei(t.display))+"px;\n height: "+(e.bottom-e.top+Ai(t)+i.barHeight)+"px;\n left: "+e.left+"px; width: "+Math.max(2,e.right-e.left)+"px;");t.display.lineSpace.appendChild(o),o.scrollIntoView(n),t.display.lineSpace.removeChild(o)}}}(e,function(t,e,i,r){var n;null==r&&(r=0),t.options.lineWrapping||e!=i||(i="before"==(e=e.ch?gt(e.line,"before"==e.sticky?e.ch-1:e.ch,"after"):e).sticky?gt(e.line,e.ch+1,"before"):e);for(var o=0;o<5;o++){var s=!1,a=$i(t,e),l=i&&i!=e?$i(t,i):a,c=Cr(t,n={left:Math.min(a.left,l.left),top:Math.min(a.top,l.top)-r,right:Math.max(a.left,l.left),bottom:Math.max(a.bottom,l.bottom)+r}),h=t.doc.scrollTop,u=t.doc.scrollLeft;if(null!=c.scrollTop&&(Ir(t,c.scrollTop),1<Math.abs(t.doc.scrollTop-h)&&(s=!0)),null!=c.scrollLeft&&(Mr(t,c.scrollLeft),1<Math.abs(t.doc.scrollLeft-u)&&(s=!0)),!s)break}return n}(e,bt(r,t.scrollToPos.from),bt(r,t.scrollToPos.to),t.scrollToPos.margin));var n=t.maybeHiddenMarkers,o=t.maybeUnhiddenMarkers;if(n)for(var s=0;s<n.length;++s)n[s].lines.length||he(n[s],"hide");if(o)for(var a=0;a<o.length;++a)o[a].lines.length&&he(o[a],"unhide");i.wrapper.offsetHeight&&(r.scrollTop=e.display.scroller.scrollTop),t.changeObjs&&he(e,"changes",e,t.changeObjs),t.update&&t.update.finish()}function $r(t,e){if(t.curOp)return e();qr(t);try{return e()}finally{Gr(t)}}function Qr(t,e){return function(){if(t.curOp)return e.apply(t,arguments);qr(t);try{return e.apply(t,arguments)}finally{Gr(t)}}}function Xr(t){return function(){if(this.curOp)return t.apply(this,arguments);qr(this);try{return t.apply(this,arguments)}finally{Gr(this)}}}function Zr(e){return function(){var t=this.cm;if(!t||t.curOp)return e.apply(this,arguments);qr(t);try{return e.apply(this,arguments)}finally{Gr(t)}}}function Jr(t,e,i,r){null==e&&(e=t.doc.first),null==i&&(i=t.doc.first+t.doc.size),r=r||0;var n=t.display;if(r&&i<n.viewTo&&(null==n.updateLineNumbers||n.updateLineNumbers>e)&&(n.updateLineNumbers=e),t.curOp.viewChanged=!0,e>=n.viewTo)Ct&&qt(t.doc,e)<n.viewTo&&en(t);else if(i<=n.viewFrom)Ct&&Gt(t.doc,i+r)>n.viewFrom?en(t):(n.viewFrom+=r,n.viewTo+=r);else if(e<=n.viewFrom&&i>=n.viewTo)en(t);else if(e<=n.viewFrom){var o=rn(t,i,i+r,1);o?(n.view=n.view.slice(o.index),n.viewFrom=o.lineN,n.viewTo+=r):en(t)}else if(i>=n.viewTo){var s=rn(t,e,e,-1);s?(n.view=n.view.slice(0,s.index),n.viewTo=s.lineN):en(t)}else{var a=rn(t,e,e,-1),l=rn(t,i,i+r,1);a&&l?(n.view=n.view.slice(0,a.index).concat(ci(t,a.lineN,l.lineN)).concat(n.view.slice(l.index)),n.viewTo+=r):en(t)}var c=n.externalMeasured;c&&(i<c.lineN?c.lineN+=r:e<c.lineN+c.size&&(n.externalMeasured=null))}function tn(t,e,i){t.curOp.viewChanged=!0;var r=t.display,n=t.display.externalMeasured;if(n&&e>=n.lineN&&e<n.lineN+n.size&&(r.externalMeasured=null),!(e<r.viewFrom||e>=r.viewTo)){var o=r.view[hr(t,e)];if(null!=o.node){var s=o.changes||(o.changes=[]);-1==H(s,i)&&s.push(i)}}}function en(t){t.display.viewFrom=t.display.viewTo=t.doc.first,t.display.view=[],t.display.viewOffset=0}function rn(t,e,i,r){var n,o=hr(t,e),s=t.display.view;if(!Ct||i==t.doc.first+t.doc.size)return{index:o,lineN:i};for(var a=t.display.viewFrom,l=0;l<o;l++)a+=s[l].size;if(a!=e){if(0<r){if(o==s.length-1)return null;n=a+s[o].size-e,o++}else n=a-e;e+=n,i+=n}for(;qt(t.doc,i)!=i;){if(o==(r<0?0:s.length-1))return null;i+=r*s[o-(r<0?1:0)].size,o+=r}return{index:o,lineN:i}}function nn(t){for(var e=t.display.view,i=0,r=0;r<e.length;r++){var n=e[r];n.hidden||n.node&&!n.changes||++i}return i}function on(t,e){t.doc.highlightFrontier<t.display.viewTo&&t.state.highlight.set(e,P(sn,t))}function sn(l){var c=l.doc;if(!(c.highlightFrontier>=l.display.viewTo)){var h=+new Date+l.options.workTime,u=Ge(l,c.highlightFrontier),f=[];c.iter(u.line,Math.min(c.first+c.size,l.display.viewTo+500),function(t){if(u.line>=l.display.viewFrom){var e=t.styles,i=t.text.length>l.options.maxHighlightLength?Pe(c.mode,u.state):null,r=ze(l,t,u,!0);i&&(u.state=i),t.styles=r.styles;var n=t.styleClasses,o=r.classes;o?t.styleClasses=o:n&&(t.styleClasses=null);for(var s=!e||e.length!=t.styles.length||n!=o&&(!n||!o||n.bgClass!=o.bgClass||n.textClass!=o.textClass),a=0;!s&&a<e.length;++a)s=e[a]!=t.styles[a];s&&f.push(u.line),t.stateAfter=u.save(),u.nextLine()}else t.text.length<=l.options.maxHighlightLength&&je(l,t.text,u),t.stateAfter=u.line%5==0?u.save():null,u.nextLine();if(+new Date>h)return on(l,l.options.workDelay),!0}),c.highlightFrontier=u.line,c.modeFrontier=Math.max(c.modeFrontier,u.line),f.length&&$r(l,function(){for(var t=0;t<f.length;t++)tn(l,f[t],"text")})}}var an=function(t,e,i){var r=t.display;this.viewport=e,this.visible=br(r,t.doc,e),this.editorIsHidden=!r.wrapper.offsetWidth,this.wrapperHeight=r.wrapper.clientHeight,this.wrapperWidth=r.wrapper.clientWidth,this.oldDisplayWidth=Li(t),this.force=i,this.dims=or(t),this.events=[]};function ln(t,e){var i=t.display,r=t.doc;if(e.editorIsHidden)return en(t),!1;if(!e.force&&e.visible.from>=i.viewFrom&&e.visible.to<=i.viewTo&&(null==i.updateLineNumbers||i.updateLineNumbers>=i.viewTo)&&i.renderedView==i.view&&0==nn(t))return!1;Er(t)&&(en(t),e.dims=or(t));var n=r.first+r.size,o=Math.max(e.visible.from-t.options.viewportMargin,r.first),s=Math.min(n,e.visible.to+t.options.viewportMargin);i.viewFrom<o&&o-i.viewFrom<20&&(o=Math.max(r.first,i.viewFrom)),i.viewTo>s&&i.viewTo-s<20&&(s=Math.min(n,i.viewTo)),Ct&&(o=qt(t.doc,o),s=Gt(t.doc,s));var a,l,c,h,u=o!=i.viewFrom||s!=i.viewTo||i.lastWrapHeight!=e.wrapperHeight||i.lastWrapWidth!=e.wrapperWidth;l=o,c=s,0==(h=(a=t).display).view.length||l>=h.viewTo||c<=h.viewFrom?(h.view=ci(a,l,c),h.viewFrom=l):(h.viewFrom>l?h.view=ci(a,l,h.viewFrom).concat(h.view):h.viewFrom<l&&(h.view=h.view.slice(hr(a,l))),h.viewFrom=l,h.viewTo<c?h.view=h.view.concat(ci(a,h.viewTo,c)):h.viewTo>c&&(h.view=h.view.slice(0,hr(a,c)))),h.viewTo=c,i.viewOffset=Yt(lt(t.doc,i.viewFrom)),t.display.mover.style.top=i.viewOffset+"px";var f=nn(t);if(!u&&0==f&&!e.force&&i.renderedView==i.view&&(null==i.updateLineNumbers||i.updateLineNumbers>=i.viewTo))return!1;var d=function(t){if(t.hasFocus())return null;var e=I();if(!e||!O(t.display.lineDiv,e))return null;var i={activeElt:e};if(window.getSelection){var r=window.getSelection();r.anchorNode&&r.extend&&O(t.display.lineDiv,r.anchorNode)&&(i.anchorNode=r.anchorNode,i.anchorOffset=r.anchorOffset,i.focusNode=r.focusNode,i.focusOffset=r.focusOffset)}return i}(t);return 4<f&&(i.lineDiv.style.display="none"),function(i,t,e){var r,n,o,s,a,l=i.display,c=i.options.lineNumbers,h=l.lineDiv,u=h.firstChild;function f(t){var e=t.nextSibling;return y&&x&&i.display.currentWheelTarget==t?t.style.display="none":t.parentNode.removeChild(t),e}for(var d=l.view,p=l.viewFrom,m=0;m<d.length;m++){var g=d[m];if(g.hidden);else if(g.node&&g.node.parentNode==h){for(;u!=g.node;)u=f(u);var _=c&&null!=t&&t<=p&&g.lineNumber;g.changes&&(-1<H(g.changes,"gutter")&&(_=!1),pi(i,g,p,e)),_&&(S(g.lineNumber),g.lineNumber.appendChild(document.createTextNode(mt(i.options,p)))),u=g.node.nextSibling}else{var v=(o=p,s=e,a=gi(r=i,n=g),n.text=n.node=a.pre,a.bgClass&&(n.bgClass=a.bgClass),a.textClass&&(n.textClass=a.textClass),_i(r,n),vi(r,n,o,s),xi(r,n,s),n.node);h.insertBefore(v,u)}p+=g.size}for(;u;)u=f(u)}(t,i.updateLineNumbers,e.dims),4<f&&(i.lineDiv.style.display=""),i.renderedView=i.view,function(t){if(t&&t.activeElt&&t.activeElt!=I()&&(t.activeElt.focus(),t.anchorNode&&O(document.body,t.anchorNode)&&O(document.body,t.focusNode))){var e=window.getSelection(),i=document.createRange();i.setEnd(t.anchorNode,t.anchorOffset),i.collapse(!1),e.removeAllRanges(),e.addRange(i),e.extend(t.focusNode,t.focusOffset)}}(d),S(i.cursorDiv),S(i.selectionDiv),i.gutters.style.height=i.sizer.style.minHeight=0,u&&(i.lastWrapHeight=e.wrapperHeight,i.lastWrapWidth=e.wrapperWidth,on(t,400)),!(i.updateLineNumbers=null)}function cn(t,e){for(var i=e.viewport,r=!0;(r&&t.options.lineWrapping&&e.oldDisplayWidth!=Li(t)||(i&&null!=i.top&&(i={top:Math.min(t.doc.height+Ci(t.display)-Ni(t),i.top)}),e.visible=br(t.display,t.doc,i),!(e.visible.from>=t.display.viewFrom&&e.visible.to<=t.display.viewTo)))&&ln(t,e);r=!1){Tr(t);var n=Dr(t);ur(t),Fr(t,n),fn(t,n),e.force=!1}e.signal(t,"update",t),t.display.viewFrom==t.display.reportedViewFrom&&t.display.viewTo==t.display.reportedViewTo||(e.signal(t,"viewportChange",t,t.display.viewFrom,t.display.viewTo),t.display.reportedViewFrom=t.display.viewFrom,t.display.reportedViewTo=t.display.viewTo)}function hn(t,e){var i=new an(t,e);if(ln(t,i)){Tr(t),cn(t,i);var r=Dr(t);ur(t),Fr(t,r),fn(t,r),i.finish()}}function un(t){var e=t.display.gutters.offsetWidth;t.display.sizer.style.marginLeft=e+"px"}function fn(t,e){t.display.sizer.style.minHeight=e.docHeight+"px",t.display.heightForcer.style.top=e.docHeight+"px",t.display.gutters.style.height=e.docHeight+t.display.barHeight+Ai(t)+"px"}function dn(t){var e=t.display.gutters,i=t.options.gutters;S(e);for(var r=0;r<i.length;++r){var n=i[r],o=e.appendChild(N("div",null,"CodeMirror-gutter "+n));"CodeMirror-linenumbers"==n&&((t.display.lineGutter=o).style.width=(t.display.lineNumWidth||1)+"px")}e.style.display=r?"":"none",un(t)}function pn(t){var e=H(t.gutters,"CodeMirror-linenumbers");-1==e&&t.lineNumbers?t.gutters=t.gutters.concat(["CodeMirror-linenumbers"]):-1<e&&!t.lineNumbers&&(t.gutters=t.gutters.slice(0),t.gutters.splice(e,1))}an.prototype.signal=function(t,e){de(t,e)&&this.events.push(arguments)},an.prototype.finish=function(){for(var t=0;t<this.events.length;t++)he.apply(null,this.events[t])};var mn=0,gn=null;function _n(t){var e=t.wheelDeltaX,i=t.wheelDeltaY;return null==e&&t.detail&&t.axis==t.HORIZONTAL_AXIS&&(e=t.detail),null==i&&t.detail&&t.axis==t.VERTICAL_AXIS?i=t.detail:null==i&&(i=t.wheelDelta),{x:e,y:i}}function vn(t,e){var i=_n(e),r=i.x,n=i.y,o=t.display,s=o.scroller,a=s.scrollWidth>s.clientWidth,l=s.scrollHeight>s.clientHeight;if(r&&a||n&&l){if(n&&x&&y)t:for(var c=e.target,h=o.view;c!=s;c=c.parentNode)for(var u=0;u<h.length;u++)if(h[u].node==c){t.display.currentWheelTarget=c;break t}if(r&&!m&&!g&&null!=gn)return n&&l&&Ir(t,Math.max(0,s.scrollTop+n*gn)),Mr(t,Math.max(0,s.scrollLeft+r*gn)),(!n||n&&l)&&me(e),void(o.wheelStartX=null);if(n&&null!=gn){var f=n*gn,d=t.doc.scrollTop,p=d+o.wrapper.clientHeight;f<0?d=Math.max(0,d+f-50):p=Math.min(t.doc.height,p+f+50),hn(t,{top:d,bottom:p})}mn<20&&(null==o.wheelStartX?(o.wheelStartX=s.scrollLeft,o.wheelStartY=s.scrollTop,o.wheelDX=r,o.wheelDY=n,setTimeout(function(){if(null!=o.wheelStartX){var t=s.scrollLeft-o.wheelStartX,e=s.scrollTop-o.wheelStartY,i=e&&o.wheelDY&&e/o.wheelDY||t&&o.wheelDX&&t/o.wheelDX;o.wheelStartX=o.wheelStartY=null,i&&(gn=(gn*mn+i)/(mn+1),++mn)}},200)):(o.wheelDX+=r,o.wheelDY+=n))}}T?gn=-.53:m?gn=15:s?gn=-.7:l&&(gn=-1/3);var yn=function(t,e){this.ranges=t,this.primIndex=e};yn.prototype.primary=function(){return this.ranges[this.primIndex]},yn.prototype.equals=function(t){if(t==this)return!0;if(t.primIndex!=this.primIndex||t.ranges.length!=this.ranges.length)return!1;for(var e=0;e<this.ranges.length;e++){var i=this.ranges[e],r=t.ranges[e];if(!vt(i.anchor,r.anchor)||!vt(i.head,r.head))return!1}return!0},yn.prototype.deepCopy=function(){for(var t=[],e=0;e<this.ranges.length;e++)t[e]=new xn(yt(this.ranges[e].anchor),yt(this.ranges[e].head));return new yn(t,this.primIndex)},yn.prototype.somethingSelected=function(){for(var t=0;t<this.ranges.length;t++)if(!this.ranges[t].empty())return!0;return!1},yn.prototype.contains=function(t,e){e=e||t;for(var i=0;i<this.ranges.length;i++){var r=this.ranges[i];if(0<=_t(e,r.from())&&_t(t,r.to())<=0)return i}return-1};var xn=function(t,e){this.anchor=t,this.head=e};function Tn(t,e,i){var r=t&&t.options.selectionsMayTouch,n=e[i];e.sort(function(t,e){return _t(t.from(),e.from())}),i=H(e,n);for(var o=1;o<e.length;o++){var s=e[o],a=e[o-1],l=_t(a.to(),s.from());if(r&&!s.empty()?0<l:0<=l){var c=Tt(a.from(),s.from()),h=xt(a.to(),s.to()),u=a.empty()?s.from()==s.head:a.from()==a.head;o<=i&&--i,e.splice(--o,2,new xn(u?h:c,u?c:h))}}return new yn(e,i)}function kn(t,e){return new yn([new xn(t,e||t)],0)}function bn(t){return t.text?gt(t.from.line+t.text.length-1,$(t.text).length+(1==t.text.length?t.from.ch:0)):t.to}function wn(t,e){if(_t(t,e.from)<0)return t;if(_t(t,e.to)<=0)return bn(e);var i=t.line+e.text.length-(e.to.line-e.from.line)-1,r=t.ch;return t.line==e.to.line&&(r+=bn(e).ch-e.to.ch),gt(i,r)}function En(t,e){for(var i=[],r=0;r<t.sel.ranges.length;r++){var n=t.sel.ranges[r];i.push(new xn(wn(n.anchor,e),wn(n.head,e)))}return Tn(t.cm,i,t.sel.primIndex)}function Cn(t,e,i){return t.line==e.line?gt(i.line,t.ch-e.ch+i.ch):gt(i.line+(t.line-e.line),t.ch)}function Sn(t){t.doc.mode=Me(t.options,t.doc.modeOption),An(t)}function An(t){t.doc.iter(function(t){t.stateAfter&&(t.stateAfter=null),t.styles&&(t.styles=null)}),t.doc.modeFrontier=t.doc.highlightFrontier=t.doc.first,on(t,100),t.state.modeGen++,t.curOp&&Jr(t)}function Ln(t,e){return 0==e.from.ch&&0==e.to.ch&&""==$(e.text)&&(!t.cm||t.cm.options.wholeLineUpdateBefore)}function Nn(t,r,e,n){function o(t){return e?e[t]:null}function i(t,e,i){!function(t,e,i,r){t.text=e,t.stateAfter&&(t.stateAfter=null),t.styles&&(t.styles=null),null!=t.order&&(t.order=null),It(t),Rt(t,i);var n=r?r(t):1;n!=t.height&&ut(t,n)}(t,e,i,n),fi(t,"change",t,r)}function s(t,e){for(var i=[],r=t;r<e;++r)i.push(new Ze(c[r],o(r),n));return i}var a=r.from,l=r.to,c=r.text,h=lt(t,a.line),u=lt(t,l.line),f=$(c),d=o(c.length-1),p=l.line-a.line;if(r.full)t.insert(0,s(0,c.length)),t.remove(c.length,t.size-c.length);else if(Ln(t,r)){var m=s(0,c.length-1);i(u,u.text,d),p&&t.remove(a.line,p),m.length&&t.insert(a.line,m)}else if(h==u)if(1==c.length)i(h,h.text.slice(0,a.ch)+f+h.text.slice(l.ch),d);else{var g=s(1,c.length-1);g.push(new Ze(f+h.text.slice(l.ch),d,n)),i(h,h.text.slice(0,a.ch)+c[0],o(0)),t.insert(a.line+1,g)}else if(1==c.length)i(h,h.text.slice(0,a.ch)+c[0]+u.text.slice(l.ch),o(0)),t.remove(a.line+1,p);else{i(h,h.text.slice(0,a.ch)+c[0],o(0)),i(u,f+u.text.slice(l.ch),d);var _=s(1,c.length-1);1<p&&t.remove(a.line+1,p-1),t.insert(a.line+1,_)}fi(t,"change",t,r)}function On(t,a,l){!function t(e,i,r){if(e.linked)for(var n=0;n<e.linked.length;++n){var o=e.linked[n];if(o.doc!=i){var s=r&&o.sharedHist;l&&!s||(a(o.doc,s),t(o.doc,e,s))}}}(t,null,!0)}function In(t,e){if(e.cm)throw new Error("This document is already in use.");lr((t.doc=e).cm=t),Sn(t),Rn(t),t.options.lineWrapping||$t(t),t.options.mode=e.modeOption,Jr(t)}function Rn(t){("rtl"==t.doc.direction?R:C)(t.display.lineDiv,"CodeMirror-rtl")}function Mn(t){this.done=[],this.undone=[],this.undoDepth=1/0,this.lastModTime=this.lastSelTime=0,this.lastOp=this.lastSelOp=null,this.lastOrigin=this.lastSelOrigin=null,this.generation=this.maxGeneration=t||1}function Dn(t,e){var i={from:yt(e.from),to:bn(e),text:ct(t,e.from,e.to)};return Un(t,i,e.from.line,e.to.line+1),On(t,function(t){return Un(t,i,e.from.line,e.to.line+1)},!0),i}function Pn(t){for(;t.length&&$(t).ranges;)t.pop()}function Bn(t,e,i,r){var n=t.history;n.undone.length=0;var o,s,a,l=+new Date;if((n.lastOp==r||n.lastOrigin==e.origin&&e.origin&&("+"==e.origin.charAt(0)&&n.lastModTime>l-(t.cm?t.cm.options.historyEventDelay:500)||"*"==e.origin.charAt(0)))&&(o=(a=n).lastOp==r?(Pn(a.done),$(a.done)):a.done.length&&!$(a.done).ranges?$(a.done):1<a.done.length&&!a.done[a.done.length-2].ranges?(a.done.pop(),$(a.done)):void 0))s=$(o.changes),0==_t(e.from,e.to)&&0==_t(e.from,s.to)?s.to=bn(e):o.changes.push(Dn(t,e));else{var c=$(n.done);for(c&&c.ranges||Fn(t.sel,n.done),o={changes:[Dn(t,e)],generation:n.generation},n.done.push(o);n.done.length>n.undoDepth;)n.done.shift(),n.done[0].ranges||n.done.shift()}n.done.push(i),n.generation=++n.maxGeneration,n.lastModTime=n.lastSelTime=l,n.lastOp=n.lastSelOp=r,n.lastOrigin=n.lastSelOrigin=e.origin,s||he(t,"historyAdded")}function Fn(t,e){var i=$(e);i&&i.ranges&&i.equals(t)||e.push(t)}function Un(e,i,t,r){var n=i["spans_"+e.id],o=0;e.iter(Math.max(e.first,t),Math.min(e.first+e.size,r),function(t){t.markedSpans&&((n=n||(i["spans_"+e.id]={}))[o]=t.markedSpans),++o})}function Hn(t){if(!t)return null;for(var e,i=0;i<t.length;++i)t[i].marker.explicitlyCleared?e=e||t.slice(0,i):e&&e.push(t[i]);return e?e.length?e:null:t}function Wn(o,t){var e=function(t,e){var i=e["spans_"+o.id];if(!i)return null;for(var r=[],n=0;n<e.text.length;++n)r.push(Hn(i[n]));return r}(0,t),i=Nt(o,t);if(!e)return i;if(!i)return e;for(var r=0;r<e.length;++r){var n=e[r],s=i[r];if(n&&s)t:for(var a=0;a<s.length;++a){for(var l=s[a],c=0;c<n.length;++c)if(n[c].marker==l.marker)continue t;n.push(l)}else s&&(e[r]=s)}return e}function zn(t,e,i){for(var r=[],n=0;n<t.length;++n){var o=t[n];if(o.ranges)r.push(i?yn.prototype.deepCopy.call(o):o);else{var s=o.changes,a=[];r.push({changes:a});for(var l=0;l<s.length;++l){var c=s[l],h=void 0;if(a.push({from:c.from,to:c.to,text:c.text}),e)for(var u in c)(h=u.match(/^spans_(\d+)$/))&&-1<H(e,Number(h[1]))&&($(a)[u]=c[u],delete c[u])}}}return r}function qn(t,e,i,r){if(r){var n=t.anchor;if(i){var o=_t(e,n)<0;o!=_t(i,n)<0?(n=e,e=i):o!=_t(e,i)<0&&(e=i)}return new xn(n,e)}return new xn(i||e,e)}function Gn(t,e,i,r,n){null==n&&(n=t.cm&&(t.cm.display.shift||t.extend)),$n(t,new yn([qn(t.sel.primary(),e,i,n)],0),r)}function jn(t,e,i){for(var r=[],n=t.cm&&(t.cm.display.shift||t.extend),o=0;o<t.sel.ranges.length;o++)r[o]=qn(t.sel.ranges[o],e[o],null,n);$n(t,Tn(t.cm,r,t.sel.primIndex),i)}function Vn(t,e,i,r){var n=t.sel.ranges.slice(0);n[e]=i,$n(t,Tn(t.cm,n,t.sel.primIndex),r)}function Yn(t,e,i,r){$n(t,kn(e,i),r)}function Kn(t,e,i){var r=t.history.done,n=$(r);n&&n.ranges?Qn(t,r[r.length-1]=e,i):$n(t,e,i)}function $n(t,e,i){Qn(t,e,i),function(t,e,i,r){var n,o,s,a,l,c=t.history,h=r&&r.origin;i==c.lastSelOp||h&&c.lastSelOrigin==h&&(c.lastModTime==c.lastSelTime&&c.lastOrigin==h||(n=t,o=h,s=$(c.done),a=e,"*"==(l=o.charAt(0))||"+"==l&&s.ranges.length==a.ranges.length&&s.somethingSelected()==a.somethingSelected()&&new Date-n.history.lastSelTime<=(n.cm?n.cm.options.historyEventDelay:500)))?c.done[c.done.length-1]=e:Fn(e,c.done),c.lastSelTime=+new Date,c.lastSelOrigin=h,c.lastSelOp=i,r&&!1!==r.clearRedo&&Pn(c.undone)}(t,t.sel,t.cm?t.cm.curOp.id:NaN,i)}function Qn(t,e,i){var r,n,o,s;(de(t,"beforeSelectionChange")||t.cm&&de(t.cm,"beforeSelectionChange"))&&(r=t,o=i,s={ranges:(n=e).ranges,update:function(t){this.ranges=[];for(var e=0;e<t.length;e++)this.ranges[e]=new xn(bt(r,t[e].anchor),bt(r,t[e].head))},origin:o&&o.origin},he(r,"beforeSelectionChange",r,s),r.cm&&he(r.cm,"beforeSelectionChange",r.cm,s),e=s.ranges!=n.ranges?Tn(r.cm,s.ranges,s.ranges.length-1):n),Xn(t,Jn(t,e,i&&i.bias||(_t(e.primary().head,t.sel.primary().head)<0?-1:1),!0)),i&&!1===i.scroll||!t.cm||Ar(t.cm)}function Xn(t,e){e.equals(t.sel)||(t.sel=e,t.cm&&(t.cm.curOp.updateInput=t.cm.curOp.selectionChanged=!0,fe(t.cm)),fi(t,"cursorActivity",t))}function Zn(t){Xn(t,Jn(t,t.sel,null,!1))}function Jn(t,e,i,r){for(var n,o=0;o<e.ranges.length;o++){var s=e.ranges[o],a=e.ranges.length==t.sel.ranges.length&&t.sel.ranges[o],l=eo(t,s.anchor,a&&a.anchor,i,r),c=eo(t,s.head,a&&a.head,i,r);!n&&l==s.anchor&&c==s.head||((n=n||e.ranges.slice(0,o))[o]=new xn(l,c))}return n?Tn(t.cm,n,e.primIndex):e}function to(t,e,i,r,n){var o=lt(t,e.line);if(o.markedSpans)for(var s=0;s<o.markedSpans.length;++s){var a=o.markedSpans[s],l=a.marker;if((null==a.from||(l.inclusiveLeft?a.from<=e.ch:a.from<e.ch))&&(null==a.to||(l.inclusiveRight?a.to>=e.ch:a.to>e.ch))){if(n&&(he(l,"beforeCursorEnter"),l.explicitlyCleared)){if(o.markedSpans){--s;continue}break}if(!l.atomic)continue;if(i){var c=l.find(r<0?1:-1),h=void 0;if((r<0?l.inclusiveRight:l.inclusiveLeft)&&(c=io(t,c,-r,c&&c.line==e.line?o:null)),c&&c.line==e.line&&(h=_t(c,i))&&(r<0?h<0:0<h))return to(t,c,e,r,n)}var u=l.find(r<0?-1:1);return(r<0?l.inclusiveLeft:l.inclusiveRight)&&(u=io(t,u,r,u.line==e.line?o:null)),u?to(t,u,e,r,n):null}}return e}function eo(t,e,i,r,n){var o=r||1;return to(t,e,i,o,n)||!n&&to(t,e,i,o,!0)||to(t,e,i,-o,n)||!n&&to(t,e,i,-o,!0)||(t.cantEdit=!0,gt(t.first,0))}function io(t,e,i,r){return i<0&&0==e.ch?e.line>t.first?bt(t,gt(e.line-1)):null:0<i&&e.ch==(r||lt(t,e.line)).text.length?e.line<t.first+t.size-1?gt(e.line+1,0):null:new gt(e.line,e.ch+i)}function ro(t){t.setSelection(gt(t.firstLine(),0),gt(t.lastLine()),q)}function no(n,t,e){var o={canceled:!1,from:t.from,to:t.to,text:t.text,origin:t.origin,cancel:function(){return o.canceled=!0}};return e&&(o.update=function(t,e,i,r){t&&(o.from=bt(n,t)),e&&(o.to=bt(n,e)),i&&(o.text=i),void 0!==r&&(o.origin=r)}),he(n,"beforeChange",n,o),n.cm&&he(n.cm,"beforeChange",n.cm,o),o.canceled?null:{from:o.from,to:o.to,text:o.text,origin:o.origin}}function oo(t,e,i){if(t.cm){if(!t.cm.curOp)return Qr(t.cm,oo)(t,e,i);if(t.cm.state.suppressEdits)return}if(!(de(t,"beforeChange")||t.cm&&de(t.cm,"beforeChange"))||(e=no(t,e,!0))){var r=Et&&!i&&function(t,e,i){var r=null;if(t.iter(e.line,i.line+1,function(t){if(t.markedSpans)for(var e=0;e<t.markedSpans.length;++e){var i=t.markedSpans[e].marker;!i.readOnly||r&&-1!=H(r,i)||(r=r||[]).push(i)}}),!r)return null;for(var n=[{from:e,to:i}],o=0;o<r.length;++o)for(var s=r[o],a=s.find(0),l=0;l<n.length;++l){var c=n[l];if(!(_t(c.to,a.from)<0||0<_t(c.from,a.to))){var h=[l,1],u=_t(c.from,a.from),f=_t(c.to,a.to);(u<0||!s.inclusiveLeft&&!u)&&h.push({from:c.from,to:a.from}),(0<f||!s.inclusiveRight&&!f)&&h.push({from:a.to,to:c.to}),n.splice.apply(n,h),l+=h.length-3}}return n}(t,e.from,e.to);if(r)for(var n=r.length-1;0<=n;--n)so(t,{from:r[n].from,to:r[n].to,text:n?[""]:e.text,origin:e.origin});else so(t,e)}}function so(t,i){if(1!=i.text.length||""!=i.text[0]||0!=_t(i.from,i.to)){var e=En(t,i);Bn(t,i,e,t.cm?t.cm.curOp.id:NaN),co(t,i,e,Nt(t,i));var r=[];On(t,function(t,e){e||-1!=H(r,t.history)||(po(t.history,i),r.push(t.history)),co(t,i,null,Nt(t,i))})}}function ao(n,o,t){var e=n.cm&&n.cm.state.suppressEdits;if(!e||t){for(var s,i=n.history,r=n.sel,a="undo"==o?i.done:i.undone,l="undo"==o?i.undone:i.done,c=0;c<a.length&&(s=a[c],t?!s.ranges||s.equals(n.sel):s.ranges);c++);if(c!=a.length){for(i.lastOrigin=i.lastSelOrigin=null;;){if(!(s=a.pop()).ranges){if(e)return void a.push(s);break}if(Fn(s,l),t&&!s.equals(n.sel))return void $n(n,s,{clearRedo:!1});r=s}var h=[];Fn(r,l),l.push({changes:h,generation:i.generation}),i.generation=s.generation||++i.maxGeneration;for(var u=de(n,"beforeChange")||n.cm&&de(n.cm,"beforeChange"),f=function(t){var i=s.changes[t];if(i.origin=o,u&&!no(n,i,!1))return a.length=0,{};h.push(Dn(n,i));var e=t?En(n,i):$(a);co(n,i,e,Wn(n,i)),!t&&n.cm&&n.cm.scrollIntoView({from:i.from,to:bn(i)});var r=[];On(n,function(t,e){e||-1!=H(r,t.history)||(po(t.history,i),r.push(t.history)),co(t,i,null,Wn(t,i))})},d=s.changes.length-1;0<=d;--d){var p=f(d);if(p)return p.v}}}}function lo(t,e){if(0!=e&&(t.first+=e,t.sel=new yn(Q(t.sel.ranges,function(t){return new xn(gt(t.anchor.line+e,t.anchor.ch),gt(t.head.line+e,t.head.ch))}),t.sel.primIndex),t.cm)){Jr(t.cm,t.first,t.first-e,e);for(var i=t.cm.display,r=i.viewFrom;r<i.viewTo;r++)tn(t.cm,r,"gutter")}}function co(t,e,i,r){if(t.cm&&!t.cm.curOp)return Qr(t.cm,co)(t,e,i,r);if(e.to.line<t.first)lo(t,e.text.length-1-(e.to.line-e.from.line));else if(!(e.from.line>t.lastLine())){if(e.from.line<t.first){var n=e.text.length-1-(t.first-e.from.line);lo(t,n),e={from:gt(t.first,0),to:gt(e.to.line+n,e.to.ch),text:[$(e.text)],origin:e.origin}}var o=t.lastLine();e.to.line>o&&(e={from:e.from,to:gt(o,lt(t,o).text.length),text:[e.text[0]],origin:e.origin}),e.removed=ct(t,e.from,e.to),i=i||En(t,e),t.cm?function(t,e,i){var r=t.doc,n=t.display,o=e.from,s=e.to,a=!1,l=o.line;t.options.lineWrapping||(l=ft(zt(lt(r,o.line))),r.iter(l,s.line+1,function(t){if(t==n.maxLine)return a=!0})),-1<r.sel.contains(e.from,e.to)&&fe(t),Nn(r,e,i,ar(t)),t.options.lineWrapping||(r.iter(l,o.line+e.text.length,function(t){var e=Kt(t);e>n.maxLineLength&&(n.maxLine=t,n.maxLineLength=e,n.maxLineChanged=!0,a=!1)}),a&&(t.curOp.updateMaxLine=!0)),function(t,e){if(t.modeFrontier=Math.min(t.modeFrontier,e),!(t.highlightFrontier<e-10)){for(var i=t.first,r=e-1;i<r;r--){var n=lt(t,r).stateAfter;if(n&&(!(n instanceof He)||r+n.lookAhead<e)){i=r+1;break}}t.highlightFrontier=Math.min(t.highlightFrontier,i)}}(r,o.line),on(t,400);var c=e.text.length-(s.line-o.line)-1;e.full?Jr(t):o.line!=s.line||1!=e.text.length||Ln(t.doc,e)?Jr(t,o.line,s.line+1,c):tn(t,o.line,"text");var h=de(t,"changes"),u=de(t,"change");if(u||h){var f={from:o,to:s,text:e.text,removed:e.removed,origin:e.origin};u&&fi(t,"change",t,f),h&&(t.curOp.changeObjs||(t.curOp.changeObjs=[])).push(f)}t.display.selForContextMenu=null}(t.cm,e,r):Nn(t,e,r),Qn(t,i,q)}}function ho(t,e,i,r,n){var o;_t(r=r||i,i)<0&&(i=(o=[r,i])[0],r=o[1]),"string"==typeof e&&(e=t.splitLines(e)),oo(t,{from:i,to:r,text:e,origin:n})}function uo(t,e,i,r){i<t.line?t.line+=r:e<t.line&&(t.line=e,t.ch=0)}function fo(t,e,i,r){for(var n=0;n<t.length;++n){var o=t[n],s=!0;if(o.ranges){o.copied||((o=t[n]=o.deepCopy()).copied=!0);for(var a=0;a<o.ranges.length;a++)uo(o.ranges[a].anchor,e,i,r),uo(o.ranges[a].head,e,i,r)}else{for(var l=0;l<o.changes.length;++l){var c=o.changes[l];if(i<c.from.line)c.from=gt(c.from.line+r,c.from.ch),c.to=gt(c.to.line+r,c.to.ch);else if(e<=c.to.line){s=!1;break}}s||(t.splice(0,n+1),n=0)}}}function po(t,e){var i=e.from.line,r=e.to.line,n=e.text.length-(r-i)-1;fo(t.done,i,r,n),fo(t.undone,i,r,n)}function mo(t,e,i,r){var n=e,o=e;return"number"==typeof e?o=lt(t,kt(t,e)):n=ft(e),null==n?null:(r(o,n)&&t.cm&&tn(t.cm,n,i),o)}function go(t){this.lines=t,this.parent=null;for(var e=0,i=0;i<t.length;++i)t[i].parent=this,e+=t[i].height;this.height=e}function _o(t){this.children=t;for(var e=0,i=0,r=0;r<t.length;++r){var n=t[r];e+=n.chunkSize(),i+=n.height,n.parent=this}this.size=e,this.height=i,this.parent=null}xn.prototype.from=function(){return Tt(this.anchor,this.head)},xn.prototype.to=function(){return xt(this.anchor,this.head)},xn.prototype.empty=function(){return this.head.line==this.anchor.line&&this.head.ch==this.anchor.ch},go.prototype={chunkSize:function(){return this.lines.length},removeInner:function(t,e){for(var i,r=t,n=t+e;r<n;++r){var o=this.lines[r];this.height-=o.height,(i=o).parent=null,It(i),fi(o,"delete")}this.lines.splice(t,e)},collapse:function(t){t.push.apply(t,this.lines)},insertInner:function(t,e,i){this.height+=i,this.lines=this.lines.slice(0,t).concat(e).concat(this.lines.slice(t));for(var r=0;r<e.length;++r)e[r].parent=this},iterN:function(t,e,i){for(var r=t+e;t<r;++t)if(i(this.lines[t]))return!0}},_o.prototype={chunkSize:function(){return this.size},removeInner:function(t,e){this.size-=e;for(var i=0;i<this.children.length;++i){var r=this.children[i],n=r.chunkSize();if(t<n){var o=Math.min(e,n-t),s=r.height;if(r.removeInner(t,o),this.height-=s-r.height,n==o&&(this.children.splice(i--,1),r.parent=null),0==(e-=o))break;t=0}else t-=n}if(this.size-e<25&&(1<this.children.length||!(this.children[0]instanceof go))){var a=[];this.collapse(a),this.children=[new go(a)],this.children[0].parent=this}},collapse:function(t){for(var e=0;e<this.children.length;++e)this.children[e].collapse(t)},insertInner:function(t,e,i){this.size+=e.length,this.height+=i;for(var r=0;r<this.children.length;++r){var n=this.children[r],o=n.chunkSize();if(t<=o){if(n.insertInner(t,e,i),n.lines&&50<n.lines.length){for(var s=n.lines.length%25+25,a=s;a<n.lines.length;){var l=new go(n.lines.slice(a,a+=25));n.height-=l.height,this.children.splice(++r,0,l),l.parent=this}n.lines=n.lines.slice(0,s),this.maybeSpill()}break}t-=o}},maybeSpill:function(){if(!(this.children.length<=10)){var t=this;do{var e=new _o(t.children.splice(t.children.length-5,5));if(t.parent){t.size-=e.size,t.height-=e.height;var i=H(t.parent.children,t);t.parent.children.splice(i+1,0,e)}else{var r=new _o(t.children);(r.parent=t).children=[r,e],t=r}e.parent=t.parent}while(10<t.children.length);t.parent.maybeSpill()}},iterN:function(t,e,i){for(var r=0;r<this.children.length;++r){var n=this.children[r],o=n.chunkSize();if(t<o){var s=Math.min(e,o-t);if(n.iterN(t,s,i))return!0;if(0==(e-=s))break;t=0}else t-=o}}};function vo(t,e,i){if(i)for(var r in i)i.hasOwnProperty(r)&&(this[r]=i[r]);this.doc=t,this.node=e}function yo(t,e,i){Yt(e)<(t.curOp&&t.curOp.scrollTop||t.doc.scrollTop)&&Sr(t,i)}vo.prototype.clear=function(){var t=this.doc.cm,e=this.line.widgets,i=this.line,r=ft(i);if(null!=r&&e){for(var n=0;n<e.length;++n)e[n]==this&&e.splice(n--,1);e.length||(i.widgets=null);var o=bi(this);ut(i,Math.max(0,i.height-o)),t&&($r(t,function(){yo(t,i,-o),tn(t,r,"widget")}),fi(t,"lineWidgetCleared",t,this,r))}},vo.prototype.changed=function(){var t=this,e=this.height,i=this.doc.cm,r=this.line;this.height=null;var n=bi(this)-e;n&&(jt(this.doc,r)||ut(r,r.height+n),i&&$r(i,function(){i.curOp.forceUpdate=!0,yo(i,r,n),fi(i,"lineWidgetChanged",i,t,ft(r))}))},pe(vo);var xo=0,To=function(t,e){this.lines=[],this.type=e,this.doc=t,this.id=++xo};function ko(e,r,n,t,i){if(t&&t.shared)return function(t,i,r,n,o){(n=B(n)).shared=!1;var s=[ko(t,i,r,n,o)],a=s[0],l=n.widgetNode;return On(t,function(t){l&&(n.widgetNode=l.cloneNode(!0)),s.push(ko(t,bt(t,i),bt(t,r),n,o));for(var e=0;e<t.linked.length;++e)if(t.linked[e].isParent)return;a=$(s)}),new bo(s,a)}(e,r,n,t,i);if(e.cm&&!e.cm.curOp)return Qr(e.cm,ko)(e,r,n,t,i);var o=new To(e,i),s=_t(r,n);if(t&&B(t,o,!1),0<s||0==s&&!1!==o.clearWhenEmpty)return o;if(o.replacedWith&&(o.collapsed=!0,o.widgetNode=L("span",[o.replacedWith],"CodeMirror-widget"),t.handleMouseEvents||o.widgetNode.setAttribute("cm-ignore-events","true"),t.insertLeft&&(o.widgetNode.insertLeft=!0)),o.collapsed){if(Wt(e,r.line,r,n,o)||r.line!=n.line&&Wt(e,n.line,r,n,o))throw new Error("Inserting collapsed marker partially overlapping an existing one");Ct=!0}o.addToHistory&&Bn(e,{from:r,to:n,origin:"markText"},e.sel,NaN);var a,l=r.line,c=e.cm;if(e.iter(l,n.line+1,function(t){var e,i;c&&o.collapsed&&!c.options.lineWrapping&&zt(t)==c.display.maxLine&&(a=!0),o.collapsed&&l!=r.line&&ut(t,0),e=t,i=new St(o,l==r.line?r.ch:null,l==n.line?n.ch:null),e.markedSpans=e.markedSpans?e.markedSpans.concat([i]):[i],i.marker.attachLine(e),++l}),o.collapsed&&e.iter(r.line,n.line+1,function(t){jt(e,t)&&ut(t,0)}),o.clearOnEnter&&ae(o,"beforeCursorEnter",function(){return o.clear()}),o.readOnly&&(Et=!0,(e.history.done.length||e.history.undone.length)&&e.clearHistory()),o.collapsed&&(o.id=++xo,o.atomic=!0),c){if(a&&(c.curOp.updateMaxLine=!0),o.collapsed)Jr(c,r.line,n.line+1);else if(o.className||o.startStyle||o.endStyle||o.css||o.attributes||o.title)for(var h=r.line;h<=n.line;h++)tn(c,h,"text");o.atomic&&Zn(c.doc),fi(c,"markerAdded",c,o)}return o}To.prototype.clear=function(){var t=this;if(!this.explicitlyCleared){var e=this.doc.cm,i=e&&!e.curOp;if(i&&qr(e),de(this,"clear")){var r=this.find();r&&fi(this,"clear",r.from,r.to)}for(var n=null,o=null,s=0;s<this.lines.length;++s){var a=t.lines[s],l=At(a.markedSpans,t);e&&!t.collapsed?tn(e,ft(a),"text"):e&&(null!=l.to&&(o=ft(a)),null!=l.from&&(n=ft(a))),a.markedSpans=Lt(a.markedSpans,l),null==l.from&&t.collapsed&&!jt(t.doc,a)&&e&&ut(a,rr(e.display))}if(e&&this.collapsed&&!e.options.lineWrapping)for(var c=0;c<this.lines.length;++c){var h=zt(t.lines[c]),u=Kt(h);u>e.display.maxLineLength&&(e.display.maxLine=h,e.display.maxLineLength=u,e.display.maxLineChanged=!0)}null!=n&&e&&this.collapsed&&Jr(e,n,o+1),this.lines.length=0,this.explicitlyCleared=!0,this.atomic&&this.doc.cantEdit&&(this.doc.cantEdit=!1,e&&Zn(e.doc)),e&&fi(e,"markerCleared",e,this,n,o),i&&Gr(e),this.parent&&this.parent.clear()}},To.prototype.find=function(t,e){var i,r;null==t&&"bookmark"==this.type&&(t=1);for(var n=0;n<this.lines.length;++n){var o=this.lines[n],s=At(o.markedSpans,this);if(null!=s.from&&(i=gt(e?o:ft(o),s.from),-1==t))return i;if(null!=s.to&&(r=gt(e?o:ft(o),s.to),1==t))return r}return i&&{from:i,to:r}},To.prototype.changed=function(){var o=this,s=this.find(-1,!0),a=this,l=this.doc.cm;s&&l&&$r(l,function(){var t=s.line,e=ft(s.line),i=Ri(l,e);if(i&&(Hi(i),l.curOp.selectionChanged=l.curOp.forceUpdate=!0),l.curOp.updateMaxLine=!0,!jt(a.doc,t)&&null!=a.height){var r=a.height;a.height=null;var n=bi(a)-r;n&&ut(t,t.height+n)}fi(l,"markerChanged",l,o)})},To.prototype.attachLine=function(t){if(!this.lines.length&&this.doc.cm){var e=this.doc.cm.curOp;e.maybeHiddenMarkers&&-1!=H(e.maybeHiddenMarkers,this)||(e.maybeUnhiddenMarkers||(e.maybeUnhiddenMarkers=[])).push(this)}this.lines.push(t)},To.prototype.detachLine=function(t){if(this.lines.splice(H(this.lines,t),1),!this.lines.length&&this.doc.cm){var e=this.doc.cm.curOp;(e.maybeHiddenMarkers||(e.maybeHiddenMarkers=[])).push(this)}},pe(To);var bo=function(t,e){this.markers=t,this.primary=e;for(var i=0;i<t.length;++i)t[i].parent=this};function wo(t){return t.findMarks(gt(t.first,0),t.clipPos(gt(t.lastLine())),function(t){return t.parent})}function Eo(o){for(var t=function(t){var e=o[t],i=[e.primary.doc];On(e.primary.doc,function(t){return i.push(t)});for(var r=0;r<e.markers.length;r++){var n=e.markers[r];-1==H(i,n.doc)&&(n.parent=null,e.markers.splice(r--,1))}},e=0;e<o.length;e++)t(e)}bo.prototype.clear=function(){if(!this.explicitlyCleared){this.explicitlyCleared=!0;for(var t=0;t<this.markers.length;++t)this.markers[t].clear();fi(this,"clear")}},bo.prototype.find=function(t,e){return this.primary.find(t,e)},pe(bo);var Co=0,So=function(t,e,i,r,n){if(!(this instanceof So))return new So(t,e,i,r,n);null==i&&(i=0),_o.call(this,[new go([new Ze("",null)])]),this.first=i,this.scrollTop=this.scrollLeft=0,this.cantEdit=!1,this.cleanGeneration=1,this.modeFrontier=this.highlightFrontier=i;var o=gt(i,0);this.sel=kn(o),this.history=new Mn(null),this.id=++Co,this.modeOption=e,this.lineSep=r,this.direction="rtl"==n?"rtl":"ltr",this.extend=!1,"string"==typeof t&&(t=this.splitLines(t)),Nn(this,{from:o,to:o,text:t}),$n(this,kn(o),q)};So.prototype=Z(_o.prototype,{constructor:So,iter:function(t,e,i){i?this.iterN(t-this.first,e-t,i):this.iterN(this.first,this.first+this.size,t)},insert:function(t,e){for(var i=0,r=0;r<e.length;++r)i+=e[r].height;this.insertInner(t-this.first,e,i)},remove:function(t,e){this.removeInner(t-this.first,e)},getValue:function(t){var e=ht(this,this.first,this.first+this.size);return!1===t?e:e.join(t||this.lineSeparator())},setValue:Zr(function(t){var e=gt(this.first,0),i=this.first+this.size-1;oo(this,{from:e,to:gt(i,lt(this,i).text.length),text:this.splitLines(t),origin:"setValue",full:!0},!0),this.cm&&Lr(this.cm,0,0),$n(this,kn(e),q)}),replaceRange:function(t,e,i,r){ho(this,t,e=bt(this,e),i=i?bt(this,i):e,r)},getRange:function(t,e,i){var r=ct(this,bt(this,t),bt(this,e));return!1===i?r:r.join(i||this.lineSeparator())},getLine:function(t){var e=this.getLineHandle(t);return e&&e.text},getLineHandle:function(t){if(pt(this,t))return lt(this,t)},getLineNumber:function(t){return ft(t)},getLineHandleVisualStart:function(t){return"number"==typeof t&&(t=lt(this,t)),zt(t)},lineCount:function(){return this.size},firstLine:function(){return this.first},lastLine:function(){return this.first+this.size-1},clipPos:function(t){return bt(this,t)},getCursor:function(t){var e=this.sel.primary();return null==t||"head"==t?e.head:"anchor"==t?e.anchor:"end"==t||"to"==t||!1===t?e.to():e.from()},listSelections:function(){return this.sel.ranges},somethingSelected:function(){return this.sel.somethingSelected()},setCursor:Zr(function(t,e,i){Yn(this,bt(this,"number"==typeof t?gt(t,e||0):t),null,i)}),setSelection:Zr(function(t,e,i){Yn(this,bt(this,t),bt(this,e||t),i)}),extendSelection:Zr(function(t,e,i){Gn(this,bt(this,t),e&&bt(this,e),i)}),extendSelections:Zr(function(t,e){jn(this,wt(this,t),e)}),extendSelectionsBy:Zr(function(t,e){jn(this,wt(this,Q(this.sel.ranges,t)),e)}),setSelections:Zr(function(t,e,i){if(t.length){for(var r=[],n=0;n<t.length;n++)r[n]=new xn(bt(this,t[n].anchor),bt(this,t[n].head));null==e&&(e=Math.min(t.length-1,this.sel.primIndex)),$n(this,Tn(this.cm,r,e),i)}}),addSelection:Zr(function(t,e,i){var r=this.sel.ranges.slice(0);r.push(new xn(bt(this,t),bt(this,e||t))),$n(this,Tn(this.cm,r,r.length-1),i)}),getSelection:function(t){for(var e,i=this.sel.ranges,r=0;r<i.length;r++){var n=ct(this,i[r].from(),i[r].to());e=e?e.concat(n):n}return!1===t?e:e.join(t||this.lineSeparator())},getSelections:function(t){for(var e=[],i=this.sel.ranges,r=0;r<i.length;r++){var n=ct(this,i[r].from(),i[r].to());!1!==t&&(n=n.join(t||this.lineSeparator())),e[r]=n}return e},replaceSelection:function(t,e,i){for(var r=[],n=0;n<this.sel.ranges.length;n++)r[n]=t;this.replaceSelections(r,e,i||"+input")},replaceSelections:Zr(function(t,e,i){for(var r=[],n=this.sel,o=0;o<n.ranges.length;o++){var s=n.ranges[o];r[o]={from:s.from(),to:s.to(),text:this.splitLines(t[o]),origin:i}}for(var a=e&&"end"!=e&&function(t,e,i){for(var r=[],n=gt(t.first,0),o=n,s=0;s<e.length;s++){var a=e[s],l=Cn(a.from,n,o),c=Cn(bn(a),n,o);if(n=a.to,o=c,"around"==i){var h=t.sel.ranges[s],u=_t(h.head,h.anchor)<0;r[s]=new xn(u?c:l,u?l:c)}else r[s]=new xn(l,l)}return new yn(r,t.sel.primIndex)}(this,r,e),l=r.length-1;0<=l;l--)oo(this,r[l]);a?Kn(this,a):this.cm&&Ar(this.cm)}),undo:Zr(function(){ao(this,"undo")}),redo:Zr(function(){ao(this,"redo")}),undoSelection:Zr(function(){ao(this,"undo",!0)}),redoSelection:Zr(function(){ao(this,"redo",!0)}),setExtending:function(t){this.extend=t},getExtending:function(){return this.extend},historySize:function(){for(var t=this.history,e=0,i=0,r=0;r<t.done.length;r++)t.done[r].ranges||++e;for(var n=0;n<t.undone.length;n++)t.undone[n].ranges||++i;return{undo:e,redo:i}},clearHistory:function(){this.history=new Mn(this.history.maxGeneration)},markClean:function(){this.cleanGeneration=this.changeGeneration(!0)},changeGeneration:function(t){return t&&(this.history.lastOp=this.history.lastSelOp=this.history.lastOrigin=null),this.history.generation},isClean:function(t){return this.history.generation==(t||this.cleanGeneration)},getHistory:function(){return{done:zn(this.history.done),undone:zn(this.history.undone)}},setHistory:function(t){var e=this.history=new Mn(this.history.maxGeneration);e.done=zn(t.done.slice(0),null,!0),e.undone=zn(t.undone.slice(0),null,!0)},setGutterMarker:Zr(function(t,i,r){return mo(this,t,"gutter",function(t){var e=t.gutterMarkers||(t.gutterMarkers={});return!(e[i]=r)&&it(e)&&(t.gutterMarkers=null),!0})}),clearGutter:Zr(function(e){var i=this;this.iter(function(t){t.gutterMarkers&&t.gutterMarkers[e]&&mo(i,t,"gutter",function(){return t.gutterMarkers[e]=null,it(t.gutterMarkers)&&(t.gutterMarkers=null),!0})})}),lineInfo:function(t){var e;if("number"==typeof t){if(!pt(this,t))return null;if(!(t=lt(this,e=t)))return null}else if(null==(e=ft(t)))return null;return{line:e,handle:t,text:t.text,gutterMarkers:t.gutterMarkers,textClass:t.textClass,bgClass:t.bgClass,wrapClass:t.wrapClass,widgets:t.widgets}},addLineClass:Zr(function(t,i,r){return mo(this,t,"gutter"==i?"gutter":"class",function(t){var e="text"==i?"textClass":"background"==i?"bgClass":"gutter"==i?"gutterClass":"wrapClass";if(t[e]){if(w(r).test(t[e]))return!1;t[e]+=" "+r}else t[e]=r;return!0})}),removeLineClass:Zr(function(t,o,s){return mo(this,t,"gutter"==o?"gutter":"class",function(t){var e="text"==o?"textClass":"background"==o?"bgClass":"gutter"==o?"gutterClass":"wrapClass",i=t[e];if(!i)return!1;if(null==s)t[e]=null;else{var r=i.match(w(s));if(!r)return!1;var n=r.index+r[0].length;t[e]=i.slice(0,r.index)+(r.index&&n!=i.length?" ":"")+i.slice(n)||null}return!0})}),addLineWidget:Zr(function(t,e,i){return n=t,o=new vo(r=this,e,i),(s=r.cm)&&o.noHScroll&&(s.display.alignWidgets=!0),mo(r,n,"widget",function(t){var e=t.widgets||(t.widgets=[]);if(null==o.insertAt?e.push(o):e.splice(Math.min(e.length-1,Math.max(0,o.insertAt)),0,o),o.line=t,s&&!jt(r,t)){var i=Yt(t)<r.scrollTop;ut(t,t.height+bi(o)),i&&Sr(s,o.height),s.curOp.forceUpdate=!0}return!0}),s&&fi(s,"lineWidgetAdded",s,o,"number"==typeof n?n:ft(n)),o;var r,n,o,s}),removeLineWidget:function(t){t.clear()},markText:function(t,e,i){return ko(this,bt(this,t),bt(this,e),i,i&&i.type||"range")},setBookmark:function(t,e){var i={replacedWith:e&&(null==e.nodeType?e.widget:e),insertLeft:e&&e.insertLeft,clearWhenEmpty:!1,shared:e&&e.shared,handleMouseEvents:e&&e.handleMouseEvents};return ko(this,t=bt(this,t),t,i,"bookmark")},findMarksAt:function(t){var e=[],i=lt(this,(t=bt(this,t)).line).markedSpans;if(i)for(var r=0;r<i.length;++r){var n=i[r];(null==n.from||n.from<=t.ch)&&(null==n.to||n.to>=t.ch)&&e.push(n.marker.parent||n.marker)}return e},findMarks:function(n,o,s){n=bt(this,n),o=bt(this,o);var a=[],l=n.line;return this.iter(n.line,o.line+1,function(t){var e=t.markedSpans;if(e)for(var i=0;i<e.length;i++){var r=e[i];null!=r.to&&l==n.line&&n.ch>=r.to||null==r.from&&l!=n.line||null!=r.from&&l==o.line&&r.from>=o.ch||s&&!s(r.marker)||a.push(r.marker.parent||r.marker)}++l}),a},getAllMarks:function(){var r=[];return this.iter(function(t){var e=t.markedSpans;if(e)for(var i=0;i<e.length;++i)null!=e[i].from&&r.push(e[i].marker)}),r},posFromIndex:function(i){var r,n=this.first,o=this.lineSeparator().length;return this.iter(function(t){var e=t.text.length+o;if(i<e)return r=i,!0;i-=e,++n}),bt(this,gt(n,r))},indexFromPos:function(t){var e=(t=bt(this,t)).ch;if(t.line<this.first||t.ch<0)return 0;var i=this.lineSeparator().length;return this.iter(this.first,t.line,function(t){e+=t.text.length+i}),e},copy:function(t){var e=new So(ht(this,this.first,this.first+this.size),this.modeOption,this.first,this.lineSep,this.direction);return e.scrollTop=this.scrollTop,e.scrollLeft=this.scrollLeft,e.sel=this.sel,e.extend=!1,t&&(e.history.undoDepth=this.history.undoDepth,e.setHistory(this.getHistory())),e},linkedDoc:function(t){t=t||{};var e=this.first,i=this.first+this.size;null!=t.from&&t.from>e&&(e=t.from),null!=t.to&&t.to<i&&(i=t.to);var r=new So(ht(this,e,i),t.mode||this.modeOption,e,this.lineSep,this.direction);return t.sharedHist&&(r.history=this.history),(this.linked||(this.linked=[])).push({doc:r,sharedHist:t.sharedHist}),r.linked=[{doc:this,isParent:!0,sharedHist:t.sharedHist}],function(t,e){for(var i=0;i<e.length;i++){var r=e[i],n=r.find(),o=t.clipPos(n.from),s=t.clipPos(n.to);if(_t(o,s)){var a=ko(t,o,s,r.primary,r.primary.type);r.markers.push(a),a.parent=r}}}(r,wo(this)),r},unlinkDoc:function(t){if(t instanceof Ts&&(t=t.doc),this.linked)for(var e=0;e<this.linked.length;++e)if(this.linked[e].doc==t){this.linked.splice(e,1),t.unlinkDoc(this),Eo(wo(this));break}if(t.history==this.history){var i=[t.id];On(t,function(t){return i.push(t.id)},!0),t.history=new Mn(null),t.history.done=zn(this.history.done,i),t.history.undone=zn(this.history.undone,i)}},iterLinkedDocs:function(t){On(this,t)},getMode:function(){return this.mode},getEditor:function(){return this.cm},splitLines:function(t){return this.lineSep?t.split(this.lineSep):Se(t)},lineSeparator:function(){return this.lineSep||"\n"},setDirection:Zr(function(t){var e;"rtl"!=t&&(t="ltr"),t!=this.direction&&(this.direction=t,this.iter(function(t){return t.order=null}),this.cm&&$r(e=this.cm,function(){Rn(e),Jr(e)}))})}),So.prototype.eachLine=So.prototype.iter;var Ao=0;function Lo(t){var n=this;if(No(n),!ue(n,t)&&!wi(n.display,t)){me(t),T&&(Ao=+new Date);var o=cr(n,t,!0),e=t.dataTransfer.files;if(o&&!n.isReadOnly())if(e&&e.length&&window.FileReader&&window.File)for(var s=e.length,a=Array(s),l=0,i=function(t,i){if(!n.options.allowDropFileTypes||-1!=H(n.options.allowDropFileTypes,t.type)){var r=new FileReader;r.onload=Qr(n,function(){var t=r.result;if(/[\x00-\x08\x0e-\x1f]{2}/.test(t)&&(t=""),a[i]=t,++l==s){var e={from:o=bt(n.doc,o),to:o,text:n.doc.splitLines(a.join(n.doc.lineSeparator())),origin:"paste"};oo(n.doc,e),Kn(n.doc,kn(o,bn(e)))}}),r.readAsText(t)}},r=0;r<s;++r)i(e[r],r);else{if(n.state.draggingText&&-1<n.doc.sel.contains(o))return n.state.draggingText(t),void setTimeout(function(){return n.display.input.focus()},20);try{var c=t.dataTransfer.getData("Text");if(c){var h;if(n.state.draggingText&&!n.state.draggingText.copy&&(h=n.listSelections()),Qn(n.doc,kn(o,o)),h)for(var u=0;u<h.length;++u)ho(n.doc,"",h[u].anchor,h[u].head,"drag");n.replaceSelection(c,"around","paste"),n.display.input.focus()}}catch(t){}}}}function No(t){t.display.dragCursor&&(t.display.lineSpace.removeChild(t.display.dragCursor),t.display.dragCursor=null)}function Oo(e){if(document.getElementsByClassName){for(var t=document.getElementsByClassName("CodeMirror"),i=[],r=0;r<t.length;r++){var n=t[r].CodeMirror;n&&i.push(n)}i.length&&i[0].operation(function(){for(var t=0;t<i.length;t++)e(i[t])})}}var Io=!1;function Ro(t){var e=t.display;e.cachedCharWidth=e.cachedTextHeight=e.cachedPaddingH=null,e.scrollbarsClipped=!1,t.setSize()}for(var Mo={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:"/",127:"Delete",145:"ScrollLock",173:"-",186:";",187:"=",188:",",189:"-",190:".",191:"/",192:"`",219:"[",220:"\\",221:"]",222:"'",63232:"Up",63233:"Down",63234:"Left",63235:"Right",63272:"Delete",63273:"Home",63275:"End",63276:"PageUp",63277:"PageDown",63302:"Insert"},Do=0;Do<10;Do++)Mo[Do+48]=Mo[Do+96]=String(Do);for(var Po=65;Po<=90;Po++)Mo[Po]=String.fromCharCode(Po);for(var Bo=1;Bo<=12;Bo++)Mo[Bo+111]=Mo[Bo+63235]="F"+Bo;var Fo={};function Uo(t){var e,i,r,n,o=t.split(/-(?!$)/);t=o[o.length-1];for(var s=0;s<o.length-1;s++){var a=o[s];if(/^(cmd|meta|m)$/i.test(a))n=!0;else if(/^a(lt)?$/i.test(a))e=!0;else if(/^(c|ctrl|control)$/i.test(a))i=!0;else{if(!/^s(hift)?$/i.test(a))throw new Error("Unrecognized modifier name: "+a);r=!0}}return e&&(t="Alt-"+t),i&&(t="Ctrl-"+t),n&&(t="Cmd-"+t),r&&(t="Shift-"+t),t}function Ho(t,e,i,r){var n=(e=Go(e)).call?e.call(t,r):e[t];if(!1===n)return"nothing";if("..."===n)return"multi";if(null!=n&&i(n))return"handled";if(e.fallthrough){if("[object Array]"!=Object.prototype.toString.call(e.fallthrough))return Ho(t,e.fallthrough,i,r);for(var o=0;o<e.fallthrough.length;o++){var s=Ho(t,e.fallthrough[o],i,r);if(s)return s}}}function Wo(t){var e="string"==typeof t?t:Mo[t.keyCode];return"Ctrl"==e||"Alt"==e||"Shift"==e||"Mod"==e}function zo(t,e,i){var r=t;return e.altKey&&"Alt"!=r&&(t="Alt-"+t),(v?e.metaKey:e.ctrlKey)&&"Ctrl"!=r&&(t="Ctrl-"+t),(v?e.ctrlKey:e.metaKey)&&"Cmd"!=r&&(t="Cmd-"+t),!i&&e.shiftKey&&"Shift"!=r&&(t="Shift-"+t),t}function qo(t,e){if(g&&34==t.keyCode&&t.char)return!1;var i=Mo[t.keyCode];return null!=i&&!t.altGraphKey&&(3==t.keyCode&&t.code&&(i=t.code),zo(i,t,e))}function Go(t){return"string"==typeof t?Fo[t]:t}function jo(e,t){for(var i=e.doc.sel.ranges,r=[],n=0;n<i.length;n++){for(var o=t(i[n]);r.length&&_t(o.from,$(r).to)<=0;){var s=r.pop();if(_t(s.from,o.from)<0){o.from=s.from;break}}r.push(o)}$r(e,function(){for(var t=r.length-1;0<=t;t--)ho(e.doc,"",r[t].from,r[t].to,"+delete");Ar(e)})}function Vo(t,e,i){var r=ot(t.text,e+i,i);return r<0||r>t.text.length?null:r}function Yo(t,e,i){var r=Vo(t,e.ch,i);return null==r?null:new gt(e.line,r,i<0?"after":"before")}function Ko(t,e,i,r,n){if(t){var o=oe(i,e.doc.direction);if(o){var s,a=n<0?$(o):o[0],l=n<0==(1==a.level)?"after":"before";if(0<a.level||"rtl"==e.doc.direction){var c=Mi(e,i);s=n<0?i.text.length-1:0;var h=Di(e,c,s).top;s=st(function(t){return Di(e,c,t).top==h},n<0==(1==a.level)?a.from:a.to-1,s),"before"==l&&(s=Vo(i,s,1))}else s=n<0?a.to:a.from;return new gt(r,s,l)}}return new gt(r,n<0?i.text.length:0,n<0?"before":"after")}Fo.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"},Fo.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"},Fo.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"},Fo.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"]},Fo.default=x?Fo.macDefault:Fo.pcDefault;var $o={selectAll:ro,singleSelection:function(t){return t.setSelection(t.getCursor("anchor"),t.getCursor("head"),q)},killLine:function(i){return jo(i,function(t){if(t.empty()){var e=lt(i.doc,t.head.line).text.length;return t.head.ch==e&&t.head.line<i.lastLine()?{from:t.head,to:gt(t.head.line+1,0)}:{from:t.head,to:gt(t.head.line,e)}}return{from:t.from(),to:t.to()}})},deleteLine:function(e){return jo(e,function(t){return{from:gt(t.from().line,0),to:bt(e.doc,gt(t.to().line+1,0))}})},delLineLeft:function(t){return jo(t,function(t){return{from:gt(t.from().line,0),to:t.from()}})},delWrappedLineLeft:function(i){return jo(i,function(t){var e=i.charCoords(t.head,"div").top+5;return{from:i.coordsChar({left:0,top:e},"div"),to:t.from()}})},delWrappedLineRight:function(r){return jo(r,function(t){var e=r.charCoords(t.head,"div").top+5,i=r.coordsChar({left:r.display.lineDiv.offsetWidth+100,top:e},"div");return{from:t.from(),to:i}})},undo:function(t){return t.undo()},redo:function(t){return t.redo()},undoSelection:function(t){return t.undoSelection()},redoSelection:function(t){return t.redoSelection()},goDocStart:function(t){return t.extendSelection(gt(t.firstLine(),0))},goDocEnd:function(t){return t.extendSelection(gt(t.lastLine()))},goLineStart:function(e){return e.extendSelectionsBy(function(t){return Qo(e,t.head.line)},{origin:"+move",bias:1})},goLineStartSmart:function(e){return e.extendSelectionsBy(function(t){return Xo(e,t.head)},{origin:"+move",bias:1})},goLineEnd:function(o){return o.extendSelectionsBy(function(t){return e=o,i=t.head.line,r=lt(e.doc,i),(n=function(t){for(var e;e=Ut(t);)t=e.find(1,!0).line;return t}(r))!=r&&(i=ft(n)),Ko(!0,e,r,i,-1);var e,i,r,n},{origin:"+move",bias:-1})},goLineRight:function(i){return i.extendSelectionsBy(function(t){var e=i.cursorCoords(t.head,"div").top+5;return i.coordsChar({left:i.display.lineDiv.offsetWidth+100,top:e},"div")},j)},goLineLeft:function(i){return i.extendSelectionsBy(function(t){var e=i.cursorCoords(t.head,"div").top+5;return i.coordsChar({left:0,top:e},"div")},j)},goLineLeftSmart:function(r){return r.extendSelectionsBy(function(t){var e=r.cursorCoords(t.head,"div").top+5,i=r.coordsChar({left:0,top:e},"div");return i.ch<r.getLine(i.line).search(/\S/)?Xo(r,t.head):i},j)},goLineUp:function(t){return t.moveV(-1,"line")},goLineDown:function(t){return t.moveV(1,"line")},goPageUp:function(t){return t.moveV(-1,"page")},goPageDown:function(t){return t.moveV(1,"page")},goCharLeft:function(t){return t.moveH(-1,"char")},goCharRight:function(t){return t.moveH(1,"char")},goColumnLeft:function(t){return t.moveH(-1,"column")},goColumnRight:function(t){return t.moveH(1,"column")},goWordLeft:function(t){return t.moveH(-1,"word")},goGroupRight:function(t){return t.moveH(1,"group")},goGroupLeft:function(t){return t.moveH(-1,"group")},goWordRight:function(t){return t.moveH(1,"word")},delCharBefore:function(t){return t.deleteH(-1,"char")},delCharAfter:function(t){return t.deleteH(1,"char")},delWordBefore:function(t){return t.deleteH(-1,"word")},delWordAfter:function(t){return t.deleteH(1,"word")},delGroupBefore:function(t){return t.deleteH(-1,"group")},delGroupAfter:function(t){return t.deleteH(1,"group")},indentAuto:function(t){return t.indentSelection("smart")},indentMore:function(t){return t.indentSelection("add")},indentLess:function(t){return t.indentSelection("subtract")},insertTab:function(t){return t.replaceSelection("\t")},insertSoftTab:function(t){for(var e=[],i=t.listSelections(),r=t.options.tabSize,n=0;n<i.length;n++){var o=i[n].from(),s=F(t.getLine(o.line),o.ch,r);e.push(K(r-s%r))}t.replaceSelections(e)},defaultTab:function(t){t.somethingSelected()?t.indentSelection("add"):t.execCommand("insertTab")},transposeChars:function(s){return $r(s,function(){for(var t=s.listSelections(),e=[],i=0;i<t.length;i++)if(t[i].empty()){var r=t[i].head,n=lt(s.doc,r.line).text;if(n)if(r.ch==n.length&&(r=new gt(r.line,r.ch-1)),0<r.ch)r=new gt(r.line,r.ch+1),s.replaceRange(n.charAt(r.ch-1)+n.charAt(r.ch-2),gt(r.line,r.ch-2),r,"+transpose");else if(r.line>s.doc.first){var o=lt(s.doc,r.line-1).text;o&&(r=new gt(r.line,1),s.replaceRange(n.charAt(0)+s.doc.lineSeparator()+o.charAt(o.length-1),gt(r.line-1,o.length-1),r,"+transpose"))}e.push(new xn(r,r))}s.setSelections(e)})},newlineAndIndent:function(r){return $r(r,function(){for(var t=r.listSelections(),e=t.length-1;0<=e;e--)r.replaceRange(r.doc.lineSeparator(),t[e].anchor,t[e].head,"+input");t=r.listSelections();for(var i=0;i<t.length;i++)r.indentLine(t[i].from().line,null,!0);Ar(r)})},openLine:function(t){return t.replaceSelection("\n","start")},toggleOverwrite:function(t){return t.toggleOverwrite()}};function Qo(t,e){var i=lt(t.doc,e),r=zt(i);return r!=i&&(e=ft(r)),Ko(!0,t,r,e,1)}function Xo(t,e){var i=Qo(t,e.line),r=lt(t.doc,i.line),n=oe(r,t.doc.direction);if(n&&0!=n[0].level)return i;var o=Math.max(0,r.text.search(/\S/)),s=e.line==i.line&&e.ch<=o&&e.ch;return gt(i.line,s?0:o,i.sticky)}function Zo(t,e,i){if("string"==typeof e&&!(e=$o[e]))return!1;t.display.input.ensurePolled();var r=t.display.shift,n=!1;try{t.isReadOnly()&&(t.state.suppressEdits=!0),i&&(t.display.shift=!1),n=e(t)!=z}finally{t.display.shift=r,t.state.suppressEdits=!1}return n}var Jo=new U;function ts(t,e,i,r){var n=t.state.keySeq;if(n){if(Wo(e))return"handled";if(/\'$/.test(e)?t.state.keySeq=null:Jo.set(50,function(){t.state.keySeq==n&&(t.state.keySeq=null,t.display.input.reset())}),es(t,n+" "+e,i,r))return!0}return es(t,e,i,r)}function es(t,e,i,r){var n=function(t,e,i){for(var r=0;r<t.state.keyMaps.length;r++){var n=Ho(e,t.state.keyMaps[r],i,t);if(n)return n}return t.options.extraKeys&&Ho(e,t.options.extraKeys,i,t)||Ho(e,t.options.keyMap,i,t)}(t,e,r);return"multi"==n&&(t.state.keySeq=e),"handled"==n&&fi(t,"keyHandled",t,e,i),"handled"!=n&&"multi"!=n||(me(i),gr(t)),!!n}function is(e,t){var i=qo(t,!0);return!!i&&(t.shiftKey&&!e.state.keySeq?ts(e,"Shift-"+i,t,function(t){return Zo(e,t,!0)})||ts(e,i,t,function(t){if("string"==typeof t?/^go[A-Z]/.test(t):t.motion)return Zo(e,t)}):ts(e,i,t,function(t){return Zo(e,t)}))}var rs=null;function ns(t){if(this.curOp.focus=I(),!ue(this,t)){T&&k<11&&27==t.keyCode&&(t.returnValue=!1);var e=t.keyCode;this.display.shift=16==e||t.shiftKey;var i=is(this,t);g&&(rs=i?e:null,!i&&88==e&&!Le&&(x?t.metaKey:t.ctrlKey)&&this.replaceSelection("",null,"cut")),18!=e||/\bCodeMirror-crosshair\b/.test(this.display.lineDiv.className)||(R(n=this.display.lineDiv,"CodeMirror-crosshair"),ae(document,"keyup",r),ae(document,"mouseover",r))}function r(t){18!=t.keyCode&&t.altKey||(C(n,"CodeMirror-crosshair"),ce(document,"keyup",r),ce(document,"mouseover",r))}var n}function os(t){16==t.keyCode&&(this.doc.sel.shift=!1),ue(this,t)}function ss(t){if(!(wi(this.display,t)||ue(this,t)||t.ctrlKey&&!t.altKey||x&&t.metaKey)){var e=t.keyCode,i=t.charCode;if(g&&e==rs)return rs=null,void me(t);if(!g||t.which&&!(t.which<10)||!is(this,t)){var r,n=String.fromCharCode(null==i?e:i);"\b"!=n&&(ts(r=this,"'"+n+"'",t,function(t){return Zo(r,t,!0)})||this.display.input.onKeyPress(t))}}}var as,ls,cs=function(t,e,i){this.time=t,this.pos=e,this.button=i};function hs(t){var i,r,e,n,o=this,s=o.display;if(!(ue(o,t)||s.activeTouch&&s.input.supportsTouch()))if(s.input.ensurePolled(),s.shift=t.shiftKey,wi(s,t))y||(s.scroller.draggable=!1,setTimeout(function(){return s.scroller.draggable=!0},100));else if(!ds(o,t)){var a,l,c,h=cr(o,t),u=xe(t),f=h?(a=h,l=u,c=+new Date,ls&&ls.compare(c,a,l)?(as=ls=null,"triple"):as&&as.compare(c,a,l)?(ls=new cs(c,a,l),as=null,"double"):(as=new cs(c,a,l),ls=null,"single")):"single";window.focus(),1==u&&o.state.selectingText&&o.state.selectingText(t),h&&(r=h,n="Click","double"==f?n="Double"+n:"triple"==f&&(n="Triple"+n),ts(i=o,zo(n=(1==u?"Left":2==u?"Middle":"Right")+n,e=t),e,function(t){if("string"==typeof t&&(t=$o[t]),!t)return!1;var e=!1;try{i.isReadOnly()&&(i.state.suppressEdits=!0),e=t(i,r)!=z}finally{i.state.suppressEdits=!1}return e}))||(1==u?h?function(t,e,i,r){T?setTimeout(P(_r,t),0):t.curOp.focus=I();var n,o,s,a,l,c,h,u,f,d,p=function(t,e,i){var r=t.getOption("configureMouse"),n=r?r(t,e,i):{};if(null==n.unit){var o=_?i.shiftKey&&i.metaKey:i.altKey;n.unit=o?"rectangle":"single"==e?"char":"double"==e?"word":"line"}return null!=n.extend&&!t.doc.extend||(n.extend=t.doc.extend||i.shiftKey),null==n.addNew&&(n.addNew=x?i.metaKey:i.ctrlKey),null==n.moveOnDrag&&(n.moveOnDrag=!(x?i.altKey:i.ctrlKey)),n}(t,i,r),m=t.doc.sel;t.options.dragDrop&&be&&!t.isReadOnly()&&"single"==i&&-1<(n=m.contains(e))&&(_t((n=m.ranges[n]).from(),e)<0||0<e.xRel)&&(0<_t(n.to(),e)||e.xRel<0)?(s=r,a=e,l=p,c=(o=t).display,h=!1,u=Qr(o,function(t){y&&(c.scroller.draggable=!1),o.state.draggingText=!1,ce(c.wrapper.ownerDocument,"mouseup",u),ce(c.wrapper.ownerDocument,"mousemove",f),ce(c.scroller,"dragstart",d),ce(c.scroller,"drop",u),h||(me(t),l.addNew||Gn(o.doc,a,null,null,l.extend),y||T&&9==k?setTimeout(function(){c.wrapper.ownerDocument.body.focus(),c.input.focus()},20):c.input.focus())}),f=function(t){h=h||10<=Math.abs(s.clientX-t.clientX)+Math.abs(s.clientY-t.clientY)},d=function(){return h=!0},y&&(c.scroller.draggable=!0),(o.state.draggingText=u).copy=!l.moveOnDrag,c.scroller.dragDrop&&c.scroller.dragDrop(),ae(c.wrapper.ownerDocument,"mouseup",u),ae(c.wrapper.ownerDocument,"mousemove",f),ae(c.scroller,"dragstart",d),ae(c.scroller,"drop",u),vr(o),setTimeout(function(){return c.input.focus()},20)):function(g,t,_,v){var s=g.display,y=g.doc;me(t);var x,T,k=y.sel,e=k.ranges;if(v.addNew&&!v.extend?(T=y.sel.contains(_),x=-1<T?e[T]:new xn(_,_)):(x=y.sel.primary(),T=y.sel.primIndex),"rectangle"==v.unit)v.addNew||(x=new xn(_,_)),_=cr(g,t,!0,!0),T=-1;else{var i=us(g,_,v.unit);x=v.extend?qn(x,i.anchor,i.head,v.extend):i}v.addNew?-1==T?(T=e.length,$n(y,Tn(g,e.concat([x]),T),{scroll:!1,origin:"*mouse"})):1<e.length&&e[T].empty()&&"char"==v.unit&&!v.extend?($n(y,Tn(g,e.slice(0,T).concat(e.slice(T+1)),0),{scroll:!1,origin:"*mouse"}),k=y.sel):Vn(y,T,x,G):($n(y,new yn([x],T=0),G),k=y.sel);var b=_;var a=s.wrapper.getBoundingClientRect(),l=0;function r(t){g.state.selectingText=!1,l=1/0,me(t),s.input.focus(),ce(s.wrapper.ownerDocument,"mousemove",n),ce(s.wrapper.ownerDocument,"mouseup",o),y.history.lastSelOrigin=null}var n=Qr(g,function(t){0!==t.buttons&&xe(t)?function t(e){var i=++l,r=cr(g,e,!0,"rectangle"==v.unit);if(r)if(0!=_t(r,b)){g.curOp.focus=I(),function(t){if(0!=_t(b,t))if(b=t,"rectangle"==v.unit){for(var e=[],i=g.options.tabSize,r=F(lt(y,_.line).text,_.ch,i),n=F(lt(y,t.line).text,t.ch,i),o=Math.min(r,n),s=Math.max(r,n),a=Math.min(_.line,t.line),l=Math.min(g.lastLine(),Math.max(_.line,t.line));a<=l;a++){var c=lt(y,a).text,h=V(c,o,i);o==s?e.push(new xn(gt(a,h),gt(a,h))):c.length>h&&e.push(new xn(gt(a,h),gt(a,V(c,s,i))))}e.length||e.push(new xn(_,_)),$n(y,Tn(g,k.ranges.slice(0,T).concat(e),T),{origin:"*mouse",scroll:!1}),g.scrollIntoView(t)}else{var u,f=x,d=us(g,t,v.unit),p=f.anchor;p=0<_t(d.anchor,p)?(u=d.head,Tt(f.from(),d.anchor)):(u=d.anchor,xt(f.to(),d.head));var m=k.ranges.slice(0);m[T]=function(t,e){var i=e.anchor,r=e.head,n=lt(t.doc,i.line);if(0==_t(i,r)&&i.sticky==r.sticky)return e;var o=oe(n);if(!o)return e;var s=Xt(o,i.ch,i.sticky),a=o[s];if(a.from!=i.ch&&a.to!=i.ch)return e;var l,c=s+(a.from==i.ch==(1!=a.level)?0:1);if(0==c||c==o.length)return e;if(r.line!=i.line)l=0<(r.line-i.line)*("ltr"==t.doc.direction?1:-1);else{var h=Xt(o,r.ch,r.sticky),u=h-s||(r.ch-i.ch)*(1==a.level?-1:1);l=h==c-1||h==c?u<0:0<u}var f=o[c+(l?-1:0)],d=l==(1==f.level),p=d?f.from:f.to,m=d?"after":"before";return i.ch==p&&i.sticky==m?e:new xn(new gt(i.line,p,m),r)}(g,new xn(bt(y,p),u)),$n(y,Tn(g,m,T),G)}}(r);var n=br(s,y);(r.line>=n.to||r.line<n.from)&&setTimeout(Qr(g,function(){l==i&&t(e)}),150)}else{var o=e.clientY<a.top?-20:e.clientY>a.bottom?20:0;o&&setTimeout(Qr(g,function(){l==i&&(s.scroller.scrollTop+=o,t(e))}),50)}}(t):r(t)}),o=Qr(g,r);g.state.selectingText=o,ae(s.wrapper.ownerDocument,"mousemove",n),ae(s.wrapper.ownerDocument,"mouseup",o)}(t,r,e,p)}(o,h,f,t):ye(t)==s.scroller&&me(t):2==u?(h&&Gn(o.doc,h),setTimeout(function(){return s.input.focus()},20)):3==u&&(b?o.display.input.onContextMenu(t):vr(o)))}}function us(t,e,i){if("char"==i)return new xn(e,e);if("word"==i)return t.findWordAt(e);if("line"==i)return new xn(gt(e.line,0),bt(t.doc,gt(e.line+1,0)));var r=i(t,e);return new xn(r.from,r.to)}function fs(t,e,i,r){var n,o;if(e.touches)n=e.touches[0].clientX,o=e.touches[0].clientY;else try{n=e.clientX,o=e.clientY}catch(e){return!1}if(n>=Math.floor(t.display.gutters.getBoundingClientRect().right))return!1;r&&me(e);var s=t.display,a=s.lineDiv.getBoundingClientRect();if(o>a.bottom||!de(t,i))return _e(e);o-=a.top-s.viewOffset;for(var l=0;l<t.options.gutters.length;++l){var c=s.gutters.childNodes[l];if(c&&c.getBoundingClientRect().right>=n)return he(t,i,t,dt(t.doc,o),t.options.gutters[l],e),_e(e)}}function ds(t,e){return fs(t,e,"gutterClick",!0)}function ps(t){t.display.wrapper.className=t.display.wrapper.className.replace(/\s*cm-s-\S+/g,"")+t.options.theme.replace(/(^|\s)\s*/g," cm-s-"),zi(t)}cs.prototype.compare=function(t,e,i){return this.time+400>t&&0==_t(e,this.pos)&&i==this.button};var ms={toString:function(){return"CodeMirror.Init"}},gs={},_s={};function vs(t){dn(t),Jr(t),wr(t)}function ys(t,e,i){if(!e!=!(i&&i!=ms)){var r=t.display.dragFunctions,n=e?ae:ce;n(t.display.scroller,"dragstart",r.start),n(t.display.scroller,"dragenter",r.enter),n(t.display.scroller,"dragover",r.over),n(t.display.scroller,"dragleave",r.leave),n(t.display.scroller,"drop",r.drop)}}function xs(t){t.options.lineWrapping?(R(t.display.wrapper,"CodeMirror-wrap"),t.display.sizer.style.minWidth="",t.display.sizerWidth=null):(C(t.display.wrapper,"CodeMirror-wrap"),$t(t)),lr(t),Jr(t),zi(t),setTimeout(function(){return Fr(t)},100)}function Ts(t,e){var i=this;if(!(this instanceof Ts))return new Ts(t,e);this.options=e=e?B(e):{},B(gs,e,!1),pn(e);var r=e.value;"string"==typeof r?r=new So(r,e.mode,null,e.lineSeparator,e.direction):e.mode&&(r.modeOption=e.mode),this.doc=r;var n=new Ts.inputStyles[e.inputStyle](this),o=this.display=new at(t,r,n);for(var s in dn(o.wrapper.CodeMirror=this),ps(this),e.lineWrapping&&(this.display.wrapper.className+=" CodeMirror-wrap"),Wr(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 U,keySeq:null,specialChars:null},e.autofocus&&!f&&o.input.focus(),T&&k<11&&setTimeout(function(){return i.display.input.reset(!0)},20),function(n){var o=n.display;ae(o.scroller,"mousedown",Qr(n,hs)),ae(o.scroller,"dblclick",T&&k<11?Qr(n,function(t){if(!ue(n,t)){var e=cr(n,t);if(e&&!ds(n,t)&&!wi(n.display,t)){me(t);var i=n.findWordAt(e);Gn(n.doc,i.anchor,i.head)}}}):function(t){return ue(n,t)||me(t)}),ae(o.scroller,"contextmenu",function(t){return function(t,e){var i,r;wi(t.display,e)||(r=e,de(i=t,"gutterContextMenu")&&fs(i,r,"gutterContextMenu",!1))||ue(t,e,"contextmenu")||b||t.display.input.onContextMenu(e)}(n,t)});var i,r={end:0};function s(){o.activeTouch&&(i=setTimeout(function(){return o.activeTouch=null},1e3),(r=o.activeTouch).end=+new Date)}function a(t,e){if(null==e.left)return!0;var i=e.left-t.left,r=e.top-t.top;return 400<i*i+r*r}ae(o.scroller,"touchstart",function(t){if(!ue(n,t)&&!function(t){if(1!=t.touches.length)return!1;var e=t.touches[0];return e.radiusX<=1&&e.radiusY<=1}(t)&&!ds(n,t)){o.input.ensurePolled(),clearTimeout(i);var e=+new Date;o.activeTouch={start:e,moved:!1,prev:e-r.end<=300?r:null},1==t.touches.length&&(o.activeTouch.left=t.touches[0].pageX,o.activeTouch.top=t.touches[0].pageY)}}),ae(o.scroller,"touchmove",function(){o.activeTouch&&(o.activeTouch.moved=!0)}),ae(o.scroller,"touchend",function(t){var e=o.activeTouch;if(e&&!wi(o,t)&&null!=e.left&&!e.moved&&new Date-e.start<300){var i,r=n.coordsChar(o.activeTouch,"page");i=!e.prev||a(e,e.prev)?new xn(r,r):!e.prev.prev||a(e,e.prev.prev)?n.findWordAt(r):new xn(gt(r.line,0),bt(n.doc,gt(r.line+1,0))),n.setSelection(i.anchor,i.head),n.focus(),me(t)}s()}),ae(o.scroller,"touchcancel",s),ae(o.scroller,"scroll",function(){o.scroller.clientHeight&&(Ir(n,o.scroller.scrollTop),Mr(n,o.scroller.scrollLeft,!0),he(n,"scroll",n))}),ae(o.scroller,"mousewheel",function(t){return vn(n,t)}),ae(o.scroller,"DOMMouseScroll",function(t){return vn(n,t)}),ae(o.wrapper,"scroll",function(){return o.wrapper.scrollTop=o.wrapper.scrollLeft=0}),o.dragFunctions={enter:function(t){ue(n,t)||ve(t)},over:function(r){ue(n,r)||(function(t){var e=cr(t,r);if(e){var i=document.createDocumentFragment();dr(t,e,i),t.display.dragCursor||(t.display.dragCursor=N("div",null,"CodeMirror-cursors CodeMirror-dragcursors"),t.display.lineSpace.insertBefore(t.display.dragCursor,t.display.cursorDiv)),A(t.display.dragCursor,i)}}(n),ve(r))},start:function(t){return function(t,e){if(T&&(!t.state.draggingText||+new Date-Ao<100))ve(e);else if(!ue(t,e)&&!wi(t.display,e)&&(e.dataTransfer.setData("Text",t.getSelection()),e.dataTransfer.effectAllowed="copyMove",e.dataTransfer.setDragImage&&!l)){var i=N("img",null,null,"position: fixed; left: 0; top: 0;");i.src="data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==",g&&(i.width=i.height=1,t.display.wrapper.appendChild(i),i._top=i.offsetTop),e.dataTransfer.setDragImage(i,0,0),g&&i.parentNode.removeChild(i)}}(n,t)},drop:Qr(n,Lo),leave:function(t){ue(n,t)||No(n)}};var t=o.input.getField();ae(t,"keyup",function(t){return os.call(n,t)}),ae(t,"keydown",Qr(n,ns)),ae(t,"keypress",Qr(n,ss)),ae(t,"focus",function(t){return yr(n,t)}),ae(t,"blur",function(t){return xr(n,t)})}(this),function(){var t;Io||(ae(window,"resize",function(){null==t&&(t=setTimeout(function(){t=null,Oo(Ro)},100))}),ae(window,"blur",function(){return Oo(xr)}),Io=!0)}(),qr(this),this.curOp.forceUpdate=!0,In(this,r),e.autofocus&&!f||this.hasFocus()?setTimeout(P(yr,this),20):xr(this),_s)_s.hasOwnProperty(s)&&_s[s](i,e[s],ms);Er(this),e.finishInit&&e.finishInit(this);for(var a=0;a<ks.length;++a)ks[a](i);Gr(this),y&&e.lineWrapping&&"optimizelegibility"==getComputedStyle(o.lineDiv).textRendering&&(o.lineDiv.style.textRendering="auto")}Ts.defaults=gs,Ts.optionHandlers=_s;var ks=[];function bs(t,e,i,r){var n,o=t.doc;null==i&&(i="add"),"smart"==i&&(o.mode.indent?n=Ge(t,e).state:i="prev");var s=t.options.tabSize,a=lt(o,e),l=F(a.text,null,s);a.stateAfter&&(a.stateAfter=null);var c,h=a.text.match(/^\s*/)[0];if(r||/\S/.test(a.text)){if("smart"==i&&((c=o.mode.indent(n,a.text.slice(h.length),a.text))==z||150<c)){if(!r)return;i="prev"}}else c=0,i="not";"prev"==i?c=e>o.first?F(lt(o,e-1).text,null,s):0:"add"==i?c=l+t.options.indentUnit:"subtract"==i?c=l-t.options.indentUnit:"number"==typeof i&&(c=l+i),c=Math.max(0,c);var u="",f=0;if(t.options.indentWithTabs)for(var d=Math.floor(c/s);d;--d)f+=s,u+="\t";if(f<c&&(u+=K(c-f)),u!=h)return ho(o,u,gt(e,0),gt(e,h.length),"+input"),!(a.stateAfter=null);for(var p=0;p<o.sel.ranges.length;p++){var m=o.sel.ranges[p];if(m.head.line==e&&m.head.ch<h.length){var g=gt(e,h.length);Vn(o,p,new xn(g,g));break}}}Ts.defineInitHook=function(t){return ks.push(t)};var ws=null;function Es(t){ws=t}function Cs(t,e,i,r,n){var o=t.doc;t.display.shift=!1,r=r||o.sel;var s,a=t.state.pasteIncoming||"paste"==n,l=Se(e),c=null;if(a&&1<r.ranges.length)if(ws&&ws.text.join("\n")==e){if(r.ranges.length%ws.text.length==0){c=[];for(var h=0;h<ws.text.length;h++)c.push(o.splitLines(ws.text[h]))}}else l.length==r.ranges.length&&t.options.pasteLinesPerSelection&&(c=Q(l,function(t){return[t]}));for(var u=r.ranges.length-1;0<=u;u--){var f=r.ranges[u],d=f.from(),p=f.to();f.empty()&&(i&&0<i?d=gt(d.line,d.ch-i):t.state.overwrite&&!a?p=gt(p.line,Math.min(lt(o,p.line).text.length,p.ch+$(l).length)):a&&ws&&ws.lineWise&&ws.text.join("\n")==e&&(d=p=gt(d.line,0))),s=t.curOp.updateInput;var m={from:d,to:p,text:c?c[u%c.length]:l,origin:n||(a?"paste":t.state.cutIncoming?"cut":"+input")};oo(t.doc,m),fi(t,"inputRead",t,m)}e&&!a&&As(t,e),Ar(t),t.curOp.updateInput=s,t.curOp.typing=!0,t.state.pasteIncoming=t.state.cutIncoming=!1}function Ss(t,e){var i=t.clipboardData&&t.clipboardData.getData("Text");if(i)return t.preventDefault(),e.isReadOnly()||e.options.disableInput||$r(e,function(){return Cs(e,i,0,null,"paste")}),!0}function As(t,e){if(t.options.electricChars&&t.options.smartIndent)for(var i=t.doc.sel,r=i.ranges.length-1;0<=r;r--){var n=i.ranges[r];if(!(100<n.head.ch||r&&i.ranges[r-1].head.line==n.head.line)){var o=t.getModeAt(n.head),s=!1;if(o.electricChars){for(var a=0;a<o.electricChars.length;a++)if(-1<e.indexOf(o.electricChars.charAt(a))){s=bs(t,n.head.line,"smart");break}}else o.electricInput&&o.electricInput.test(lt(t.doc,n.head.line).text.slice(0,n.head.ch))&&(s=bs(t,n.head.line,"smart"));s&&fi(t,"electricInput",t,n.head.line)}}}function Ls(t){for(var e=[],i=[],r=0;r<t.doc.sel.ranges.length;r++){var n=t.doc.sel.ranges[r].head.line,o={anchor:gt(n,0),head:gt(n+1,0)};i.push(o),e.push(t.getRange(o.anchor,o.head))}return{text:e,ranges:i}}function Ns(t,e){t.setAttribute("autocorrect","off"),t.setAttribute("autocapitalize","off"),t.setAttribute("spellcheck",!!e)}function Os(){var t=N("textarea",null,null,"position: absolute; bottom: -1em; padding: 0; width: 1px; height: 1em; outline: none"),e=N("div",[t],null,"overflow: hidden; position: relative; width: 3px; height: 0px;");return y?t.style.width="1000px":t.setAttribute("wrap","off"),h&&(t.style.border="1px solid black"),Ns(t),e}function Is(r,n,o,t,s){var e=n,i=o,a=lt(r,n.line);function l(t){var e,i;if(null==(e=s?function(e,i,a,t){var l=oe(i,e.doc.direction);if(!l)return Yo(i,a,t);a.ch>=i.text.length?(a.ch=i.text.length,a.sticky="before"):a.ch<=0&&(a.ch=0,a.sticky="after");var r=Xt(l,a.ch,a.sticky),n=l[r];if("ltr"==e.doc.direction&&n.level%2==0&&(0<t?n.to>a.ch:n.from<a.ch))return Yo(i,a,t);function c(t,e){return Vo(i,t instanceof gt?t.ch:t,e)}function o(t){return e.options.lineWrapping?(s=s||Mi(e,i),tr(e,i,s,t)):{begin:0,end:i.text.length}}var s,h=o("before"==a.sticky?c(a,-1):a.ch);if("rtl"==e.doc.direction||1==n.level){var u=1==n.level==t<0,f=c(a,u?1:-1);if(null!=f&&(u?f<=n.to&&f<=h.end:f>=n.from&&f>=h.begin)){var d=u?"before":"after";return new gt(a.line,f,d)}}function p(t,e,i){for(var r=function(t,e){return e?new gt(a.line,c(t,1),"before"):new gt(a.line,t,"after")};0<=t&&t<l.length;t+=e){var n=l[t],o=0<e==(1!=n.level),s=o?i.begin:c(i.end,-1);if(n.from<=s&&s<n.to)return r(s,o);if(s=o?n.from:c(n.to,-1),i.begin<=s&&s<i.end)return r(s,o)}}var m=p(r+t,t,h);if(m)return m;var g=0<t?h.end:c(h.begin,-1);return null==g||0<t&&g==i.text.length||!(m=p(0<t?0:l.length-1,t,o(g)))?null:m}(r.cm,a,n,o):Yo(a,n,o))){if(t||(i=n.line+o)<r.first||i>=r.first+r.size||(n=new gt(i,n.ch,n.sticky),!(a=lt(r,i))))return!1;n=Ko(s,r.cm,a,n.line,o)}else n=e;return!0}if("char"==t)l();else if("column"==t)l(!0);else if("word"==t||"group"==t)for(var c=null,h="group"==t,u=r.cm&&r.cm.getHelper(n,"wordChars"),f=!0;!(o<0)||l(!f);f=!1){var d=a.text.charAt(n.ch)||"\n",p=et(d,u)?"w":h&&"\n"==d?"n":!h||/\s/.test(d)?null:"p";if(!h||f||p||(p="s"),c&&c!=p){o<0&&(o=1,l(),n.sticky="after");break}if(p&&(c=p),0<o&&!l(!f))break}var m=eo(r,n,e,i,!0);return vt(e,m)&&(m.hitSide=!0),m}function Rs(t,e,i,r){var n,o,s=t.doc,a=e.left;if("page"==r){var l=Math.min(t.display.wrapper.clientHeight,window.innerHeight||document.documentElement.clientHeight),c=Math.max(l-.5*rr(t.display),3);n=(0<i?e.bottom:e.top)+i*c}else"line"==r&&(n=0<i?e.bottom+3:e.top-3);for(;(o=Zi(t,a,n)).outside;){if(i<0?n<=0:n>=s.height){o.hitSide=!0;break}n+=5*i}return o}function Ms(t){this.cm=t,this.lastAnchorNode=this.lastAnchorOffset=this.lastFocusNode=this.lastFocusOffset=null,this.polling=new U,this.composing=null,this.gracePeriod=!1,this.readDOMTimeout=null}function Ds(t,e){var i=Ri(t,e.line);if(!i||i.hidden)return null;var r=lt(t.doc,e.line),n=Oi(i,r,e.line),o=oe(r,t.doc.direction),s="left";o&&(s=Xt(o,e.ch)%2?"right":"left");var a=Fi(n.map,e.ch,s);return a.offset="right"==a.collapse?a.end:a.start,a}function Ps(t,e){return e&&(t.bad=!0),t}function Bs(t,e,i){var r;if(e==t.display.lineDiv){if(!(r=t.display.lineDiv.childNodes[i]))return Ps(t.clipPos(gt(t.display.viewTo-1)),!0);e=null,i=0}else for(r=e;;r=r.parentNode){if(!r||r==t.display.lineDiv)return null;if(r.parentNode&&r.parentNode==t.display.lineDiv)break}for(var n=0;n<t.display.view.length;n++){var o=t.display.view[n];if(o.node==r)return Fs(o,e,i)}}function Fs(c,t,e){var i=c.text.firstChild,r=!1;if(!t||!O(i,t))return Ps(gt(ft(c.line),0),!0);if(t==i&&(r=!0,t=i.childNodes[e],e=0,!t)){var n=c.rest?$(c.rest):c.line;return Ps(gt(ft(n),n.text.length),r)}var o=3==t.nodeType?t:null,s=t;for(o||1!=t.childNodes.length||3!=t.firstChild.nodeType||(o=t.firstChild,e=e&&o.nodeValue.length);s.parentNode!=i;)s=s.parentNode;var h=c.measure,u=h.maps;function a(t,e,i){for(var r=-1;r<(u?u.length:0);r++)for(var n=r<0?h.map:u[r],o=0;o<n.length;o+=3){var s=n[o+2];if(s==t||s==e){var a=ft(r<0?c.line:c.rest[r]),l=n[o]+i;return(i<0||s!=t)&&(l=n[o+(i?1:0)]),gt(a,l)}}}var l=a(o,s,e);if(l)return Ps(l,r);for(var f=s.nextSibling,d=o?o.nodeValue.length-e:0;f;f=f.nextSibling){if(l=a(f,f.firstChild,0))return Ps(gt(l.line,l.ch-d),r);d+=f.textContent.length}for(var p=s.previousSibling,m=e;p;p=p.previousSibling){if(l=a(p,p.firstChild,-1))return Ps(gt(l.line,l.ch+m),r);m+=p.textContent.length}}Ms.prototype.init=function(t){var e=this,s=this,a=s.cm,l=s.div=t.lineDiv;function i(t){if(!ue(a,t)){if(a.somethingSelected())Es({lineWise:!1,text:a.getSelections()}),"cut"==t.type&&a.replaceSelection("",null,"cut");else{if(!a.options.lineWiseCopyCut)return;var e=Ls(a);Es({lineWise:!0,text:e.text}),"cut"==t.type&&a.operation(function(){a.setSelections(e.ranges,0,q),a.replaceSelection("",null,"cut")})}if(t.clipboardData){t.clipboardData.clearData();var i=ws.text.join("\n");if(t.clipboardData.setData("Text",i),t.clipboardData.getData("Text")==i)return void t.preventDefault()}var r=Os(),n=r.firstChild;a.display.lineSpace.insertBefore(r,a.display.lineSpace.firstChild),n.value=ws.text.join("\n");var o=document.activeElement;D(n),setTimeout(function(){a.display.lineSpace.removeChild(r),o.focus(),o==l&&s.showPrimarySelection()},50)}}Ns(l,a.options.spellcheck),ae(l,"paste",function(t){ue(a,t)||Ss(t,a)||k<=11&&setTimeout(Qr(a,function(){return e.updateFromDOM()}),20)}),ae(l,"compositionstart",function(t){e.composing={data:t.data,done:!1}}),ae(l,"compositionupdate",function(t){e.composing||(e.composing={data:t.data,done:!1})}),ae(l,"compositionend",function(t){e.composing&&(t.data!=e.composing.data&&e.readFromDOMSoon(),e.composing.done=!0)}),ae(l,"touchstart",function(){return s.forceCompositionEnd()}),ae(l,"input",function(){e.composing||e.readFromDOMSoon()}),ae(l,"copy",i),ae(l,"cut",i)},Ms.prototype.prepareSelection=function(){var t=fr(this.cm,!1);return t.focus=this.cm.state.focused,t},Ms.prototype.showSelection=function(t,e){t&&this.cm.display.view.length&&((t.focus||e)&&this.showPrimarySelection(),this.showMultipleSelections(t))},Ms.prototype.getSelection=function(){return this.cm.display.wrapper.ownerDocument.getSelection()},Ms.prototype.showPrimarySelection=function(){var t=this.getSelection(),e=this.cm,i=e.doc.sel.primary(),r=i.from(),n=i.to();if(e.display.viewTo==e.display.viewFrom||r.line>=e.display.viewTo||n.line<e.display.viewFrom)t.removeAllRanges();else{var o=Bs(e,t.anchorNode,t.anchorOffset),s=Bs(e,t.focusNode,t.focusOffset);if(!o||o.bad||!s||s.bad||0!=_t(Tt(o,s),r)||0!=_t(xt(o,s),n)){var a=e.display.view,l=r.line>=e.display.viewFrom&&Ds(e,r)||{node:a[0].measure.map[2],offset:0},c=n.line<e.display.viewTo&&Ds(e,n);if(!c){var h=a[a.length-1].measure,u=h.maps?h.maps[h.maps.length-1]:h.map;c={node:u[u.length-1],offset:u[u.length-2]-u[u.length-3]}}if(l&&c){var f,d=t.rangeCount&&t.getRangeAt(0);try{f=E(l.node,l.offset,c.offset,c.node)}catch(t){}f&&(!m&&e.state.focused?(t.collapse(l.node,l.offset),f.collapsed||(t.removeAllRanges(),t.addRange(f))):(t.removeAllRanges(),t.addRange(f)),d&&null==t.anchorNode?t.addRange(d):m&&this.startGracePeriod()),this.rememberSelection()}else t.removeAllRanges()}}},Ms.prototype.startGracePeriod=function(){var t=this;clearTimeout(this.gracePeriod),this.gracePeriod=setTimeout(function(){t.gracePeriod=!1,t.selectionChanged()&&t.cm.operation(function(){return t.cm.curOp.selectionChanged=!0})},20)},Ms.prototype.showMultipleSelections=function(t){A(this.cm.display.cursorDiv,t.cursors),A(this.cm.display.selectionDiv,t.selection)},Ms.prototype.rememberSelection=function(){var t=this.getSelection();this.lastAnchorNode=t.anchorNode,this.lastAnchorOffset=t.anchorOffset,this.lastFocusNode=t.focusNode,this.lastFocusOffset=t.focusOffset},Ms.prototype.selectionInEditor=function(){var t=this.getSelection();if(!t.rangeCount)return!1;var e=t.getRangeAt(0).commonAncestorContainer;return O(this.div,e)},Ms.prototype.focus=function(){"nocursor"!=this.cm.options.readOnly&&(this.selectionInEditor()||this.showSelection(this.prepareSelection(),!0),this.div.focus())},Ms.prototype.blur=function(){this.div.blur()},Ms.prototype.getField=function(){return this.div},Ms.prototype.supportsTouch=function(){return!0},Ms.prototype.receivedFocus=function(){var e=this;this.selectionInEditor()?this.pollSelection():$r(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))})},Ms.prototype.selectionChanged=function(){var t=this.getSelection();return t.anchorNode!=this.lastAnchorNode||t.anchorOffset!=this.lastAnchorOffset||t.focusNode!=this.lastFocusNode||t.focusOffset!=this.lastFocusOffset},Ms.prototype.pollSelection=function(){if(null==this.readDOMTimeout&&!this.gracePeriod&&this.selectionChanged()){var e=this.getSelection(),t=this.cm;if(u&&s&&this.cm.options.gutters.length&&function(){for(var t=e.anchorNode;t;t=t.parentNode)if(/CodeMirror-gutter-wrapper/.test(t.className))return!0;return!1}())return this.cm.triggerOnKeyDown({type:"keydown",keyCode:8,preventDefault:Math.abs}),this.blur(),void this.focus();if(!this.composing){this.rememberSelection();var i=Bs(t,e.anchorNode,e.anchorOffset),r=Bs(t,e.focusNode,e.focusOffset);i&&r&&$r(t,function(){$n(t.doc,kn(i,r),q),(i.bad||r.bad)&&(t.curOp.selectionChanged=!0)})}}},Ms.prototype.pollContent=function(){null!=this.readDOMTimeout&&(clearTimeout(this.readDOMTimeout),this.readDOMTimeout=null);var t,e,i,r=this.cm,n=r.display,o=r.doc.sel.primary(),s=o.from(),a=o.to();if(0==s.ch&&s.line>r.firstLine()&&(s=gt(s.line-1,lt(r.doc,s.line-1).length)),a.ch==lt(r.doc,a.line).text.length&&a.line<r.lastLine()&&(a=gt(a.line+1,0)),s.line<n.viewFrom||a.line>n.viewTo-1)return!1;i=s.line==n.viewFrom||0==(t=hr(r,s.line))?(e=ft(n.view[0].line),n.view[0].node):(e=ft(n.view[t].line),n.view[t-1].node.nextSibling);var l,c,h=hr(r,a.line);if(c=h==n.view.length-1?(l=n.viewTo-1,n.lineDiv.lastChild):(l=ft(n.view[h+1].line)-1,n.view[h+1].node.previousSibling),!i)return!1;for(var u=r.doc.splitLines(function(l,t,e,c,h){var i="",u=!1,f=l.doc.lineSeparator(),d=!1;function p(){u&&(i+=f,d&&(i+=f),u=d=!1)}function m(t){t&&(p(),i+=t)}function g(t){if(1==t.nodeType){var e=t.getAttribute("cm-text");if(e)return void m(e);var i,r=t.getAttribute("cm-marker");if(r){var n=l.findMarks(gt(c,0),gt(h+1,0),(a=+r,function(t){return t.id==a}));return void(n.length&&(i=n[0].find(0))&&m(ct(l.doc,i.from,i.to).join(f)))}if("false"==t.getAttribute("contenteditable"))return;var o=/^(pre|div|p|li|table|br)$/i.test(t.nodeName);if(!/^br$/i.test(t.nodeName)&&0==t.textContent.length)return;o&&p();for(var s=0;s<t.childNodes.length;s++)g(t.childNodes[s]);/^(pre|p)$/i.test(t.nodeName)&&(d=!0),o&&(u=!0)}else 3==t.nodeType&&m(t.nodeValue.replace(/\u200b/g,"").replace(/\u00a0/g," "));var a}for(;g(t),t!=e;)t=t.nextSibling,d=!1;return i}(r,i,c,e,l)),f=ct(r.doc,gt(e,0),gt(l,lt(r.doc,l).text.length));1<u.length&&1<f.length;)if($(u)==$(f))u.pop(),f.pop(),l--;else{if(u[0]!=f[0])break;u.shift(),f.shift(),e++}for(var d=0,p=0,m=u[0],g=f[0],_=Math.min(m.length,g.length);d<_&&m.charCodeAt(d)==g.charCodeAt(d);)++d;for(var v=$(u),y=$(f),x=Math.min(v.length-(1==u.length?d:0),y.length-(1==f.length?d:0));p<x&&v.charCodeAt(v.length-p-1)==y.charCodeAt(y.length-p-1);)++p;if(1==u.length&&1==f.length&&e==s.line)for(;d&&d>s.ch&&v.charCodeAt(v.length-p-1)==y.charCodeAt(y.length-p-1);)d--,p++;u[u.length-1]=v.slice(0,v.length-p).replace(/^\u200b+/,""),u[0]=u[0].slice(d).replace(/\u200b+$/,"");var T=gt(e,d),k=gt(l,f.length?$(f).length-p:0);return 1<u.length||u[0]||_t(T,k)?(ho(r.doc,u,T,k,"+input"),!0):void 0},Ms.prototype.ensurePolled=function(){this.forceCompositionEnd()},Ms.prototype.reset=function(){this.forceCompositionEnd()},Ms.prototype.forceCompositionEnd=function(){this.composing&&(clearTimeout(this.readDOMTimeout),this.composing=null,this.updateFromDOM(),this.div.blur(),this.div.focus())},Ms.prototype.readFromDOMSoon=function(){var t=this;null==this.readDOMTimeout&&(this.readDOMTimeout=setTimeout(function(){if(t.readDOMTimeout=null,t.composing){if(!t.composing.done)return;t.composing=null}t.updateFromDOM()},80))},Ms.prototype.updateFromDOM=function(){var t=this;!this.cm.isReadOnly()&&this.pollContent()||$r(this.cm,function(){return Jr(t.cm)})},Ms.prototype.setUneditable=function(t){t.contentEditable="false"},Ms.prototype.onKeyPress=function(t){0==t.charCode||this.composing||(t.preventDefault(),this.cm.isReadOnly()||Qr(this.cm,Cs)(this.cm,String.fromCharCode(null==t.charCode?t.keyCode:t.charCode),0))},Ms.prototype.readOnlyChanged=function(t){this.div.contentEditable=String("nocursor"!=t)},Ms.prototype.onContextMenu=function(){},Ms.prototype.resetPosition=function(){},Ms.prototype.needsContentAttribute=!0;function Us(t){this.cm=t,this.prevInput="",this.pollingFast=!1,this.polling=new U,this.hasSelection=!1,this.composing=null}var Hs,Ws,zs,qs,Gs;function js(t,e,r,i){qs.defaults[t]=e,r&&(Gs[t]=i?function(t,e,i){i!=ms&&r(t,e,i)}:r)}Us.prototype.init=function(e){var t=this,i=this,r=this.cm;this.createField(e);var n=this.textarea;function o(t){if(!ue(r,t)){if(r.somethingSelected())Es({lineWise:!1,text:r.getSelections()});else{if(!r.options.lineWiseCopyCut)return;var e=Ls(r);Es({lineWise:!0,text:e.text}),"cut"==t.type?r.setSelections(e.ranges,null,q):(i.prevInput="",n.value=e.text.join("\n"),D(n))}"cut"==t.type&&(r.state.cutIncoming=!0)}}e.wrapper.insertBefore(this.wrapper,e.wrapper.firstChild),h&&(n.style.width="0px"),ae(n,"input",function(){T&&9<=k&&t.hasSelection&&(t.hasSelection=null),i.poll()}),ae(n,"paste",function(t){ue(r,t)||Ss(t,r)||(r.state.pasteIncoming=!0,i.fastPoll())}),ae(n,"cut",o),ae(n,"copy",o),ae(e.scroller,"paste",function(t){wi(e,t)||ue(r,t)||(r.state.pasteIncoming=!0,i.focus())}),ae(e.lineSpace,"selectstart",function(t){wi(e,t)||me(t)}),ae(n,"compositionstart",function(){var t=r.getCursor("from");i.composing&&i.composing.range.clear(),i.composing={start:t,range:r.markText(t,r.getCursor("to"),{className:"CodeMirror-composing"})}}),ae(n,"compositionend",function(){i.composing&&(i.poll(),i.composing.range.clear(),i.composing=null)})},Us.prototype.createField=function(t){this.wrapper=Os(),this.textarea=this.wrapper.firstChild},Us.prototype.prepareSelection=function(){var t=this.cm,e=t.display,i=t.doc,r=fr(t);if(t.options.moveInputWithCursor){var n=$i(t,i.sel.primary().head,"div"),o=e.wrapper.getBoundingClientRect(),s=e.lineDiv.getBoundingClientRect();r.teTop=Math.max(0,Math.min(e.wrapper.clientHeight-10,n.top+s.top-o.top)),r.teLeft=Math.max(0,Math.min(e.wrapper.clientWidth-10,n.left+s.left-o.left))}return r},Us.prototype.showSelection=function(t){var e=this.cm.display;A(e.cursorDiv,t.cursors),A(e.selectionDiv,t.selection),null!=t.teTop&&(this.wrapper.style.top=t.teTop+"px",this.wrapper.style.left=t.teLeft+"px")},Us.prototype.reset=function(t){if(!this.contextMenuPending&&!this.composing){var e=this.cm;if(e.somethingSelected()){this.prevInput="";var i=e.getSelection();this.textarea.value=i,e.state.focused&&D(this.textarea),T&&9<=k&&(this.hasSelection=i)}else t||(this.prevInput=this.textarea.value="",T&&9<=k&&(this.hasSelection=null))}},Us.prototype.getField=function(){return this.textarea},Us.prototype.supportsTouch=function(){return!1},Us.prototype.focus=function(){if("nocursor"!=this.cm.options.readOnly&&(!f||I()!=this.textarea))try{this.textarea.focus()}catch(t){}},Us.prototype.blur=function(){this.textarea.blur()},Us.prototype.resetPosition=function(){this.wrapper.style.top=this.wrapper.style.left=0},Us.prototype.receivedFocus=function(){this.slowPoll()},Us.prototype.slowPoll=function(){var t=this;this.pollingFast||this.polling.set(this.cm.options.pollInterval,function(){t.poll(),t.cm.state.focused&&t.slowPoll()})},Us.prototype.fastPoll=function(){var e=!1,i=this;i.pollingFast=!0,i.polling.set(20,function t(){i.poll()||e?(i.pollingFast=!1,i.slowPoll()):(e=!0,i.polling.set(60,t))})},Us.prototype.poll=function(){var t=this,e=this.cm,i=this.textarea,r=this.prevInput;if(this.contextMenuPending||!e.state.focused||Ae(i)&&!r&&!this.composing||e.isReadOnly()||e.options.disableInput||e.state.keySeq)return!1;var n=i.value;if(n==r&&!e.somethingSelected())return!1;if(T&&9<=k&&this.hasSelection===n||x&&/[\uf700-\uf7ff]/.test(n))return e.display.input.reset(),!1;if(e.doc.sel==e.display.selForContextMenu){var o=n.charCodeAt(0);if(8203!=o||r||(r=""),8666==o)return this.reset(),this.cm.execCommand("undo")}for(var s=0,a=Math.min(r.length,n.length);s<a&&r.charCodeAt(s)==n.charCodeAt(s);)++s;return $r(e,function(){Cs(e,n.slice(s),r.length-s,null,t.composing?"*compose":null),1e3<n.length||-1<n.indexOf("\n")?i.value=t.prevInput="":t.prevInput=n,t.composing&&(t.composing.range.clear(),t.composing.range=e.markText(t.composing.start,e.getCursor("to"),{className:"CodeMirror-composing"}))}),!0},Us.prototype.ensurePolled=function(){this.pollingFast&&this.poll()&&(this.pollingFast=!1)},Us.prototype.onKeyPress=function(){T&&9<=k&&(this.hasSelection=null),this.fastPoll()},Us.prototype.onContextMenu=function(t){var i=this,r=i.cm,n=r.display,o=i.textarea,e=cr(r,t),s=n.scroller.scrollTop;if(e&&!g){r.options.resetSelectionOnContextMenu&&-1==r.doc.sel.contains(e)&&Qr(r,$n)(r.doc,kn(e),q);var a=o.style.cssText,l=i.wrapper.style.cssText;i.wrapper.style.cssText="position: absolute";var c,h=i.wrapper.getBoundingClientRect();if(o.style.cssText="position: absolute; width: 30px; height: 30px;\n top: "+(t.clientY-h.top-5)+"px; left: "+(t.clientX-h.left-5)+"px;\n z-index: 1000; background: "+(T?"rgba(255, 255, 255, .05)":"transparent")+";\n outline: none; border-width: 0; outline: none; overflow: hidden; opacity: .05; filter: alpha(opacity=5);",y&&(c=window.scrollY),n.input.focus(),y&&window.scrollTo(null,c),n.input.reset(),r.somethingSelected()||(o.value=i.prevInput=" "),i.contextMenuPending=!0,n.selForContextMenu=r.doc.sel,clearTimeout(n.detectingSelectAll),T&&9<=k&&f(),b){ve(t);var u=function(){ce(window,"mouseup",u),setTimeout(d,20)};ae(window,"mouseup",u)}else setTimeout(d,50)}function f(){if(null!=o.selectionStart){var t=r.somethingSelected(),e=""+(t?o.value:"");o.value="⇚",o.value=e,i.prevInput=t?"":"",o.selectionStart=1,o.selectionEnd=e.length,n.selForContextMenu=r.doc.sel}}function d(){if(i.contextMenuPending=!1,i.wrapper.style.cssText=l,o.style.cssText=a,T&&k<9&&n.scrollbars.setScrollTop(n.scroller.scrollTop=s),null!=o.selectionStart){(!T||T&&k<9)&&f();var t=0,e=function(){n.selForContextMenu==r.doc.sel&&0==o.selectionStart&&0<o.selectionEnd&&""==i.prevInput?Qr(r,ro)(r):t++<10?n.detectingSelectAll=setTimeout(e,500):(n.selForContextMenu=null,n.input.reset())};n.detectingSelectAll=setTimeout(e,200)}}},Us.prototype.readOnlyChanged=function(t){t||this.reset(),this.textarea.disabled="nocursor"==t},Us.prototype.setUneditable=function(){},Us.prototype.needsContentAttribute=!1,Gs=(qs=Ts).optionHandlers,qs.defineOption=js,qs.Init=ms,js("value","",function(t,e){return t.setValue(e)},!0),js("mode",null,function(t,e){t.doc.modeOption=e,Sn(t)},!0),js("indentUnit",2,Sn,!0),js("indentWithTabs",!1),js("smartIndent",!0),js("tabSize",4,function(t){An(t),zi(t),Jr(t)},!0),js("lineSeparator",null,function(t,r){if(t.doc.lineSep=r){var n=[],o=t.doc.first;t.doc.iter(function(t){for(var e=0;;){var i=t.text.indexOf(r,e);if(-1==i)break;e=i+r.length,n.push(gt(o,i))}o++});for(var e=n.length-1;0<=e;e--)ho(t.doc,r,n[e],gt(n[e].line,n[e].ch+r.length))}}),js("specialChars",/[\u0000-\u001f\u007f-\u009f\u00ad\u061c\u200b-\u200f\u2028\u2029\ufeff]/g,function(t,e,i){t.state.specialChars=new RegExp(e.source+(e.test("\t")?"":"|\t"),"g"),i!=ms&&t.refresh()}),js("specialCharPlaceholder",ri,function(t){return t.refresh()},!0),js("electricChars",!0),js("inputStyle",f?"contenteditable":"textarea",function(){throw new Error("inputStyle can not (yet) be changed in a running editor")},!0),js("spellcheck",!1,function(t,e){return t.getInputField().spellcheck=e},!0),js("rtlMoveVisually",!d),js("wholeLineUpdateBefore",!0),js("theme","default",function(t){ps(t),vs(t)},!0),js("keyMap","default",function(t,e,i){var r=Go(e),n=i!=ms&&Go(i);n&&n.detach&&n.detach(t,r),r.attach&&r.attach(t,n||null)}),js("extraKeys",null),js("configureMouse",null),js("lineWrapping",!1,xs,!0),js("gutters",[],function(t){pn(t.options),vs(t)},!0),js("fixedGutter",!0,function(t,e){t.display.gutters.style.left=e?sr(t.display)+"px":"0",t.refresh()},!0),js("coverGutterNextToScrollbar",!1,function(t){return Fr(t)},!0),js("scrollbarStyle","native",function(t){Wr(t),Fr(t),t.display.scrollbars.setScrollTop(t.doc.scrollTop),t.display.scrollbars.setScrollLeft(t.doc.scrollLeft)},!0),js("lineNumbers",!1,function(t){pn(t.options),vs(t)},!0),js("firstLineNumber",1,vs,!0),js("lineNumberFormatter",function(t){return t},vs,!0),js("showCursorWhenSelecting",!1,ur,!0),js("resetSelectionOnContextMenu",!0),js("lineWiseCopyCut",!0),js("pasteLinesPerSelection",!0),js("selectionsMayTouch",!1),js("readOnly",!1,function(t,e){"nocursor"==e&&(xr(t),t.display.input.blur()),t.display.input.readOnlyChanged(e)}),js("disableInput",!1,function(t,e){e||t.display.input.reset()},!0),js("dragDrop",!0,ys),js("allowDropFileTypes",null),js("cursorBlinkRate",530),js("cursorScrollMargin",0),js("cursorHeight",1,ur,!0),js("singleCursorHeightPerLine",!0,ur,!0),js("workTime",100),js("workDelay",100),js("flattenSpans",!0,An,!0),js("addModeClass",!1,An,!0),js("pollInterval",100),js("undoDepth",200,function(t,e){return t.doc.history.undoDepth=e}),js("historyEventDelay",1250),js("viewportMargin",10,function(t){return t.refresh()},!0),js("maxHighlightLength",1e4,An,!0),js("moveInputWithCursor",!0,function(t,e){e||t.display.input.resetPosition()}),js("tabindex",null,function(t,e){return t.display.input.getField().tabIndex=e||""}),js("autofocus",null),js("direction","ltr",function(t,e){return t.doc.setDirection(e)},!0),js("phrases",null),Ws=(Hs=Ts).optionHandlers,zs=Hs.helpers={},Hs.prototype={constructor:Hs,focus:function(){window.focus(),this.display.input.focus()},setOption:function(t,e){var i=this.options,r=i[t];i[t]==e&&"mode"!=t||(i[t]=e,Ws.hasOwnProperty(t)&&Qr(this,Ws[t])(this,e,r),he(this,"optionChange",this,t))},getOption:function(t){return this.options[t]},getDoc:function(){return this.doc},addKeyMap:function(t,e){this.state.keyMaps[e?"push":"unshift"](Go(t))},removeKeyMap:function(t){for(var e=this.state.keyMaps,i=0;i<e.length;++i)if(e[i]==t||e[i].name==t)return e.splice(i,1),!0},addOverlay:Xr(function(t,e){var i=t.token?t:Hs.getMode(this.options,t);if(i.startState)throw new Error("Overlays may not be stateful.");!function(t,e,i){for(var r=0,n=i(e);r<t.length&&i(t[r])<=n;)r++;t.splice(r,0,e)}(this.state.overlays,{mode:i,modeSpec:t,opaque:e&&e.opaque,priority:e&&e.priority||0},function(t){return t.priority}),this.state.modeGen++,Jr(this)}),removeOverlay:Xr(function(t){for(var e=this.state.overlays,i=0;i<e.length;++i){var r=e[i].modeSpec;if(r==t||"string"==typeof t&&r.name==t)return e.splice(i,1),this.state.modeGen++,void Jr(this)}}),indentLine:Xr(function(t,e,i){"string"!=typeof e&&"number"!=typeof e&&(e=null==e?this.options.smartIndent?"smart":"prev":e?"add":"subtract"),pt(this.doc,t)&&bs(this,t,e,i)}),indentSelection:Xr(function(t){for(var e=this.doc.sel.ranges,i=-1,r=0;r<e.length;r++){var n=e[r];if(n.empty())n.head.line>i&&(bs(this,n.head.line,t,!0),i=n.head.line,r==this.doc.sel.primIndex&&Ar(this));else{var o=n.from(),s=n.to(),a=Math.max(i,o.line);i=Math.min(this.lastLine(),s.line-(s.ch?0:1))+1;for(var l=a;l<i;++l)bs(this,l,t);var c=this.doc.sel.ranges;0==o.ch&&e.length==c.length&&0<c[r].from().ch&&Vn(this.doc,r,new xn(o,c[r].to()),q)}}}),getTokenAt:function(t,e){return $e(this,t,e)},getLineTokens:function(t,e){return $e(this,gt(t),e,!0)},getTokenTypeAt:function(t){t=bt(this.doc,t);var e,i=qe(this,lt(this.doc,t.line)),r=0,n=(i.length-1)/2,o=t.ch;if(0==o)e=i[2];else for(;;){var s=r+n>>1;if((s?i[2*s-1]:0)>=o)n=s;else{if(!(i[2*s+1]<o)){e=i[2*s+2];break}r=1+s}}var a=e?e.indexOf("overlay "):-1;return a<0?e:0==a?null:e.slice(0,a-1)},getModeAt:function(t){var e=this.doc.mode;return e.innerMode?Hs.innerMode(e,this.getTokenAt(t).state).mode:e},getHelper:function(t,e){return this.getHelpers(t,e)[0]},getHelpers:function(t,e){var i=[];if(!zs.hasOwnProperty(e))return i;var r=zs[e],n=this.getModeAt(t);if("string"==typeof n[e])r[n[e]]&&i.push(r[n[e]]);else if(n[e])for(var o=0;o<n[e].length;o++){var s=r[n[e][o]];s&&i.push(s)}else n.helperType&&r[n.helperType]?i.push(r[n.helperType]):r[n.name]&&i.push(r[n.name]);for(var a=0;a<r._global.length;a++){var l=r._global[a];l.pred(n,this)&&-1==H(i,l.val)&&i.push(l.val)}return i},getStateAfter:function(t,e){var i=this.doc;return Ge(this,(t=kt(i,null==t?i.first+i.size-1:t))+1,e).state},cursorCoords:function(t,e){var i=this.doc.sel.primary();return $i(this,null==t?i.head:"object"==typeof t?bt(this.doc,t):t?i.from():i.to(),e||"page")},charCoords:function(t,e){return Ki(this,bt(this.doc,t),e||"page")},coordsChar:function(t,e){return Zi(this,(t=Yi(this,t,e||"page")).left,t.top)},lineAtHeight:function(t,e){return t=Yi(this,{top:t,left:0},e||"page").top,dt(this.doc,t+this.display.viewOffset)},heightAtLine:function(t,e,i){var r,n=!1;if("number"==typeof t){var o=this.doc.first+this.doc.size-1;t<this.doc.first?t=this.doc.first:o<t&&(t=o,n=!0),r=lt(this.doc,t)}else r=t;return Vi(this,r,{top:0,left:0},e||"page",i||n).top+(n?this.doc.height-Yt(r):0)},defaultTextHeight:function(){return rr(this.display)},defaultCharWidth:function(){return nr(this.display)},getViewport:function(){return{from:this.display.viewFrom,to:this.display.viewTo}},addWidget:function(t,e,i,r,n){var o,s=this.display,a=(t=$i(this,bt(this.doc,t))).bottom,l=t.left;if(e.style.position="absolute",e.setAttribute("cm-ignore-events","true"),this.display.input.setUneditable(e),s.sizer.appendChild(e),"over"==r)a=t.top;else if("above"==r||"near"==r){var c=Math.max(s.wrapper.clientHeight,this.doc.height),h=Math.max(s.sizer.clientWidth,s.lineSpace.clientWidth);("above"==r||t.bottom+e.offsetHeight>c)&&t.top>e.offsetHeight?a=t.top-e.offsetHeight:t.bottom+e.offsetHeight<=c&&(a=t.bottom),l+e.offsetWidth>h&&(l=h-e.offsetWidth)}e.style.top=a+"px",e.style.left=e.style.right="","right"==n?(l=s.sizer.clientWidth-e.offsetWidth,e.style.right="0px"):("left"==n?l=0:"middle"==n&&(l=(s.sizer.clientWidth-e.offsetWidth)/2),e.style.left=l+"px"),i&&(null!=(o=Cr(this,{left:l,top:a,right:l+e.offsetWidth,bottom:a+e.offsetHeight})).scrollTop&&Ir(this,o.scrollTop),null!=o.scrollLeft&&Mr(this,o.scrollLeft))},triggerOnKeyDown:Xr(ns),triggerOnKeyPress:Xr(ss),triggerOnKeyUp:os,triggerOnMouseDown:Xr(hs),execCommand:function(t){if($o.hasOwnProperty(t))return $o[t].call(null,this)},triggerElectric:Xr(function(t){As(this,t)}),findPosH:function(t,e,i,r){var n=1;e<0&&(n=-1,e=-e);for(var o=bt(this.doc,t),s=0;s<e&&!(o=Is(this.doc,o,n,i,r)).hitSide;++s);return o},moveH:Xr(function(e,i){var r=this;this.extendSelectionsBy(function(t){return r.display.shift||r.doc.extend||t.empty()?Is(r.doc,t.head,e,i,r.options.rtlMoveVisually):e<0?t.from():t.to()},j)}),deleteH:Xr(function(i,r){var t=this.doc.sel,n=this.doc;t.somethingSelected()?n.replaceSelection("",null,"+delete"):jo(this,function(t){var e=Is(n,t.head,i,r,!1);return i<0?{from:e,to:t.head}:{from:t.head,to:e}})}),findPosV:function(t,e,i,r){var n=1,o=r;e<0&&(n=-1,e=-e);for(var s=bt(this.doc,t),a=0;a<e;++a){var l=$i(this,s,"div");if(null==o?o=l.left:l.left=o,(s=Rs(this,l,n,i)).hitSide)break}return s},moveV:Xr(function(r,n){var o=this,s=this.doc,a=[],l=!this.display.shift&&!s.extend&&s.sel.somethingSelected();if(s.extendSelectionsBy(function(t){if(l)return r<0?t.from():t.to();var e=$i(o,t.head,"div");null!=t.goalColumn&&(e.left=t.goalColumn),a.push(e.left);var i=Rs(o,e,r,n);return"page"==n&&t==s.sel.primary()&&Sr(o,Ki(o,i,"div").top-e.top),i},j),a.length)for(var t=0;t<s.sel.ranges.length;t++)s.sel.ranges[t].goalColumn=a[t]}),findWordAt:function(t){var e=lt(this.doc,t.line).text,i=t.ch,r=t.ch;if(e){var n=this.getHelper(t,"wordChars");"before"!=t.sticky&&r!=e.length||!i?++r:--i;for(var o=e.charAt(i),s=et(o,n)?function(t){return et(t,n)}:/\s/.test(o)?function(t){return/\s/.test(t)}:function(t){return!/\s/.test(t)&&!et(t)};0<i&&s(e.charAt(i-1));)--i;for(;r<e.length&&s(e.charAt(r));)++r}return new xn(gt(t.line,i),gt(t.line,r))},toggleOverwrite:function(t){null!=t&&t==this.state.overwrite||((this.state.overwrite=!this.state.overwrite)?R(this.display.cursorDiv,"CodeMirror-overwrite"):C(this.display.cursorDiv,"CodeMirror-overwrite"),he(this,"overwriteToggle",this,this.state.overwrite))},hasFocus:function(){return this.display.input.getField()==I()},isReadOnly:function(){return!(!this.options.readOnly&&!this.doc.cantEdit)},scrollTo:Xr(function(t,e){Lr(this,t,e)}),getScrollInfo:function(){var t=this.display.scroller;return{left:t.scrollLeft,top:t.scrollTop,height:t.scrollHeight-Ai(this)-this.display.barHeight,width:t.scrollWidth-Ai(this)-this.display.barWidth,clientHeight:Ni(this),clientWidth:Li(this)}},scrollIntoView:Xr(function(t,e){var i;null==t?(t={from:this.doc.sel.primary().head,to:null},null==e&&(e=this.options.cursorScrollMargin)):"number"==typeof t?t={from:gt(t,0),to:null}:null==t.from&&(t={from:t,to:null}),t.to||(t.to=t.from),t.margin=e||0,null!=t.from.line?(i=t,Nr(this),this.curOp.scrollToPos=i):Or(this,t.from,t.to,t.margin)}),setSize:Xr(function(t,e){function i(t){return"number"==typeof t||/^\d+$/.test(String(t))?t+"px":t}var r=this;null!=t&&(this.display.wrapper.style.width=i(t)),null!=e&&(this.display.wrapper.style.height=i(e)),this.options.lineWrapping&&Wi(this);var n=this.display.viewFrom;this.doc.iter(n,this.display.viewTo,function(t){if(t.widgets)for(var e=0;e<t.widgets.length;e++)if(t.widgets[e].noHScroll){tn(r,n,"widget");break}++n}),this.curOp.forceUpdate=!0,he(this,"refresh",this)}),operation:function(t){return $r(this,t)},startOperation:function(){return qr(this)},endOperation:function(){return Gr(this)},refresh:Xr(function(){var t=this.display.cachedTextHeight;Jr(this),this.curOp.forceUpdate=!0,zi(this),Lr(this,this.doc.scrollLeft,this.doc.scrollTop),un(this),(null==t||.5<Math.abs(t-rr(this.display)))&&lr(this),he(this,"refresh",this)}),swapDoc:Xr(function(t){var e=this.doc;return e.cm=null,In(this,t),zi(this),this.display.input.reset(),Lr(this,t.scrollLeft,t.scrollTop),this.curOp.forceScroll=!0,fi(this,"swapDoc",this,e),e}),phrase:function(t){var e=this.options.phrases;return e&&Object.prototype.hasOwnProperty.call(e,t)?e[t]:t},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}},pe(Hs),Hs.registerHelper=function(t,e,i){zs.hasOwnProperty(t)||(zs[t]=Hs[t]={_global:[]}),zs[t][e]=i},Hs.registerGlobalHelper=function(t,e,i,r){Hs.registerHelper(t,e,r),zs[t]._global.push({pred:i,val:r})};var Vs,Ys="iter insert remove copy getEditor constructor".split(" ");for(var Ks in So.prototype)So.prototype.hasOwnProperty(Ks)&&H(Ys,Ks)<0&&(Ts.prototype[Ks]=function(t){return function(){return t.apply(this.doc,arguments)}}(So.prototype[Ks]));return pe(So),Ts.inputStyles={textarea:Us,contenteditable:Ms},Ts.defineMode=function(t){Ts.defaults.mode||"null"==t||(Ts.defaults.mode=t),function(t,e){2<arguments.length&&(e.dependencies=Array.prototype.slice.call(arguments,2)),Oe[t]=e}.apply(this,arguments)},Ts.defineMIME=function(t,e){Ie[t]=e},Ts.defineMode("null",function(){return{token:function(t){return t.skipToEnd()}}}),Ts.defineMIME("text/plain","null"),Ts.defineExtension=function(t,e){Ts.prototype[t]=e},Ts.defineDocExtension=function(t,e){So.prototype[t]=e},Ts.fromTextArea=function(e,t){if((t=t?B(t):{}).value=e.value,!t.tabindex&&e.tabIndex&&(t.tabindex=e.tabIndex),!t.placeholder&&e.placeholder&&(t.placeholder=e.placeholder),null==t.autofocus){var i=I();t.autofocus=i==e||null!=e.getAttribute("autofocus")&&i==document.body}function r(){e.value=a.getValue()}var n;if(e.form&&(ae(e.form,"submit",r),!t.leaveSubmitMethodAlone)){var o=e.form;n=o.submit;try{var s=o.submit=function(){r(),o.submit=n,o.submit(),o.submit=s}}catch(t){}}t.finishInit=function(t){t.save=r,t.getTextArea=function(){return e},t.toTextArea=function(){t.toTextArea=isNaN,r(),e.parentNode.removeChild(t.getWrapperElement()),e.style.display="",e.form&&(ce(e.form,"submit",r),"function"==typeof e.form.submit&&(e.form.submit=n))}},e.style.display="none";var a=Ts(function(t){return e.parentNode.insertBefore(t,e.nextSibling)},t);return a},(Vs=Ts).off=ce,Vs.on=ae,Vs.wheelEventPixels=function(t){var e=_n(t);return e.x*=gn,e.y*=gn,e},Vs.Doc=So,Vs.splitLines=Se,Vs.countColumn=F,Vs.findColumn=V,Vs.isWordChar=tt,Vs.Pass=z,Vs.signal=he,Vs.Line=Ze,Vs.changeEnd=bn,Vs.scrollbarModel=Hr,Vs.Pos=gt,Vs.cmpPos=_t,Vs.modes=Oe,Vs.mimeModes=Ie,Vs.resolveMode=Re,Vs.getMode=Me,Vs.modeExtensions=De,Vs.extendMode=function(t,e){B(e,De.hasOwnProperty(t)?De[t]:De[t]={})},Vs.copyState=Pe,Vs.startState=Fe,Vs.innerMode=Be,Vs.commands=$o,Vs.keyMap=Fo,Vs.keyName=qo,Vs.isModifierKey=Wo,Vs.lookupKey=Ho,Vs.normalizeKeyMap=function(t){var e={};for(var i in t)if(t.hasOwnProperty(i)){var r=t[i];if(/^(name|fallthrough|(de|at)tach)$/.test(i))continue;if("..."==r){delete t[i];continue}for(var n=Q(i.split(" "),Uo),o=0;o<n.length;o++){var s,a=void 0;s=o==n.length-1?(a=n.join(" "),r):(a=n.slice(0,o+1).join(" "),"...");var l=e[a];if(l){if(l!=s)throw new Error("Inconsistent bindings for "+a)}else e[a]=s}delete t[i]}for(var c in e)t[c]=e[c];return t},Vs.StringStream=Ue,Vs.SharedTextMarker=bo,Vs.TextMarker=To,Vs.LineWidget=vo,Vs.e_preventDefault=me,Vs.e_stopPropagation=ge,Vs.e_stop=ve,Vs.addClass=R,Vs.contains=O,Vs.rmClass=C,Vs.keyNames=Mo,Ts.version="5.42.0",Ts},"object"==typeof i&&void 0!==e?e.exports=r():"function"==typeof define&&define.amd?define(r):this.CodeMirror=r()},{}],13:[function(t,e,i){var r;r=function(N){"use strict";function O(t,e,i,r,n,o){this.indented=t,this.column=e,this.type=i,this.info=r,this.align=n,this.prev=o}function I(t,e,i,r){var n=t.indented;return t.context&&"statement"==t.context.type&&"statement"!=i&&(n=t.context.indented),t.context=new O(n,e,i,r,null,t.context)}function R(t){var e=t.context.type;return")"!=e&&"]"!=e&&"}"!=e||(t.indented=t.context.indented),t.context=t.context.prev}function M(t,e,i){return"variable"==e.prevToken||"type"==e.prevToken||!!/\S(?:[^- ]>|[*\]])\s*$|\*$/.test(t.string.slice(0,i))||!(!e.typeAtEndOfLine||t.column()!=t.indentation())||void 0}function D(t){for(;;){if(!t||"top"==t.type)return!0;if("}"==t.type&&"namespace"!=t.prev.info)return!1;t=t.prev}}function t(t){for(var e={},i=t.split(" "),r=0;r<i.length;++r)e[i[r]]=!0;return e}function P(t,e){return"function"==typeof t?t(e):t.propertyIsEnumerable(e)}N.defineMode("clike",function(t,a){var s,l,c=t.indentUnit,h=a.statementIndentUnit||c,u=a.dontAlignCalls,f=a.keywords||{},d=a.types||{},p=a.builtin||{},m=a.blockKeywords||{},g=a.defKeywords||{},_=a.atoms||{},v=a.hooks||{},y=a.multiLineStrings,o=!1!==a.indentStatements,e=!1!==a.indentSwitch,x=a.namespaceSeparator,T=a.isPunctuationChar||/[\[\]{}\(\),;\:\.]/,k=a.numberStart||/[\d\.]/,b=a.number||/^(?:0x[a-f\d]+|0b[01]+|(?:\d+\.?\d*|\.\d+)(?:e[-+]?\d+)?)(u|ll?|l|f)?/i,w=a.isOperatorChar||/[+\-*&%=<>!?|\/]/,E=a.isIdentifierChar||/[\w\$_\xa1-\uffff]/,C=a.isReservedIdentifier||!1;function S(t,e){var o,i=t.next();if(v[i]){var r=v[i](t,e);if(!1!==r)return r}if('"'==i||"'"==i)return e.tokenize=(o=i,function(t,e){for(var i,r=!1,n=!1;null!=(i=t.next());){if(i==o&&!r){n=!0;break}r=!r&&"\\"==i}return!n&&(r||y)||(e.tokenize=null),"string"}),e.tokenize(t,e);if(T.test(i))return s=i,null;if(k.test(i)){if(t.backUp(1),t.match(b))return"number";t.next()}if("/"==i){if(t.eat("*"))return(e.tokenize=A)(t,e);if(t.eat("/"))return t.skipToEnd(),"comment"}if(w.test(i)){for(;!t.match(/^\/[\/*]/,!1)&&t.eat(w););return"operator"}if(t.eatWhile(E),x)for(;t.match(x);)t.eatWhile(E);var n=t.current();return P(f,n)?(P(m,n)&&(s="newstatement"),P(g,n)&&(l=!0),"keyword"):P(d,n)?"type":P(p,n)||C&&C(n)?(P(m,n)&&(s="newstatement"),"builtin"):P(_,n)?"atom":"variable"}function A(t,e){for(var i,r=!1;i=t.next();){if("/"==i&&r){e.tokenize=null;break}r="*"==i}return"comment"}function L(t,e){a.typeFirstDefinitions&&t.eol()&&D(e.context)&&(e.typeAtEndOfLine=M(t,e,t.pos))}return{startState:function(t){return{tokenize:null,context:new O((t||0)-c,0,"top",null,!1),indented:0,startOfLine:!0,prevToken:null}},token:function(t,e){var i=e.context;if(t.sol()&&(null==i.align&&(i.align=!1),e.indented=t.indentation(),e.startOfLine=!0),t.eatSpace())return L(t,e),null;s=l=null;var r=(e.tokenize||S)(t,e);if("comment"==r||"meta"==r)return r;if(null==i.align&&(i.align=!0),";"==s||":"==s||","==s&&t.match(/^\s*(?:\/\/.*)?$/,!1))for(;"statement"==e.context.type;)R(e);else if("{"==s)I(e,t.column(),"}");else if("["==s)I(e,t.column(),"]");else if("("==s)I(e,t.column(),")");else if("}"==s){for(;"statement"==i.type;)i=R(e);for("}"==i.type&&(i=R(e));"statement"==i.type;)i=R(e)}else s==i.type?R(e):o&&(("}"==i.type||"top"==i.type)&&";"!=s||"statement"==i.type&&"newstatement"==s)&&I(e,t.column(),"statement",t.current());if("variable"==r&&("def"==e.prevToken||a.typeFirstDefinitions&&M(t,e,t.start)&&D(e.context)&&t.match(/^\s*\(/,!1))&&(r="def"),v.token){var n=v.token(t,e,r);void 0!==n&&(r=n)}return"def"==r&&!1===a.styleDefs&&(r="variable"),e.startOfLine=!1,e.prevToken=l?"def":r||s,L(t,e),r},indent:function(t,e){if(t.tokenize!=S&&null!=t.tokenize||t.typeAtEndOfLine)return N.Pass;var i=t.context,r=e&&e.charAt(0),n=r==i.type;if("statement"==i.type&&"}"==r&&(i=i.prev),a.dontIndentStatements)for(;"statement"==i.type&&a.dontIndentStatements.test(i.info);)i=i.prev;if(v.indent){var o=v.indent(t,i,e,c);if("number"==typeof o)return o}var s=i.prev&&"switch"==i.prev.info;if(a.allmanIndentation&&/[{(]/.test(r)){for(;"top"!=i.type&&"}"!=i.type;)i=i.prev;return i.indented}return"statement"==i.type?i.indented+("{"==r?0:h):!i.align||u&&")"==i.type?")"!=i.type||n?i.indented+(n?0:c)+(n||!s||/^(?:case|default)\b/.test(e)?0:c):i.indented+h:i.column+(n?0:1)},electricInput:e?/^\s*(?:case .*?:|default:|\{\}?|\})$/:/^\s*[{}]$/,blockCommentStart:"/*",blockCommentEnd:"*/",blockCommentContinue:" * ",lineComment:"//",fold:"brace"}});var e="auto if break case register continue return default do sizeof static else struct switch extern typedef union for goto while enum const volatile inline restrict asm fortran",i=t("int long char short double float unsigned signed void bool"),r=t("SEL instancetype id Class Protocol BOOL");function n(t){return P(i,t)||/.+_t/.test(t)}var o="case do else for if switch while struct enum union",s="struct enum union";function a(t,e){if(!e.startOfLine)return!1;for(var i,r=null;i=t.peek();){if("\\"==i&&t.match(/^.$/)){r=a;break}if("/"==i&&t.match(/^\/[\/\*]/,!1))break;t.next()}return e.tokenize=r,"meta"}function l(t,e){return"type"==e.prevToken&&"type"}function c(t){return!(!t||t.length<2||"_"!=t[0]||"_"!=t[1]&&t[1]===t[1].toLowerCase())}function h(t){return t.eatWhile(/[\w\.']/),"number"}function u(t,e){if(t.backUp(1),t.match(/(R|u8R|uR|UR|LR)/)){var i=t.match(/"([^\s\\()]{0,16})\(/);return!!i&&(e.cpp11RawStringDelim=i[1],(e.tokenize=d)(t,e))}return t.match(/(u8|u|U|L)/)?!!t.match(/["']/,!1)&&"string":(t.next(),!1)}function f(t,e){for(var i;null!=(i=t.next());)if('"'==i&&!t.eat('"')){e.tokenize=null;break}return"string"}function d(t,e){var i=e.cpp11RawStringDelim.replace(/[^\w\s]/g,"\\$&");return t.match(new RegExp(".*?\\)"+i+'"'))?e.tokenize=null:t.skipToEnd(),"string"}function p(t,e){"string"==typeof t&&(t=[t]);var i=[];function r(t){if(t)for(var e in t)t.hasOwnProperty(e)&&i.push(e)}r(e.keywords),r(e.types),r(e.builtin),r(e.atoms),i.length&&(e.helperType=t[0],N.registerHelper("hintWords",t[0],i));for(var n=0;n<t.length;++n)N.defineMIME(t[n],e)}function m(t,e){for(var i=!1;!t.eol();){if(!i&&t.match('"""')){e.tokenize=null;break}i="\\"==t.next()&&!i}return"string"}p(["text/x-csrc","text/x-c","text/x-chdr"],{name:"clike",keywords:t(e),types:n,blockKeywords:t(o),defKeywords:t(s),typeFirstDefinitions:!0,atoms:t("NULL true false"),isReservedIdentifier:c,hooks:{"#":a,"*":l},modeProps:{fold:["brace","include"]}}),p(["text/x-c++src","text/x-c++hdr"],{name:"clike",keywords:t(e+"alignas alignof and and_eq audit axiom bitand bitor catch class compl concept constexpr const_cast decltype delete dynamic_cast explicit export final friend import module mutable namespace new noexcept not not_eq operator or or_eq override private protected public reinterpret_cast requires static_assert static_cast template this thread_local throw try typeid typename using virtual xor xor_eq"),types:n,blockKeywords:t(o+" class try catch"),defKeywords:t(s+" class namespace"),typeFirstDefinitions:!0,atoms:t("true false NULL nullptr"),dontIndentStatements:/^template$/,isIdentifierChar:/[\w\$_~\xa1-\uffff]/,isReservedIdentifier:c,hooks:{"#":a,"*":l,u:u,U:u,L:u,R:u,0:h,1:h,2:h,3:h,4:h,5:h,6:h,7:h,8:h,9:h,token:function(t,e,i){if("variable"==i&&"("==t.peek()&&(";"==e.prevToken||null==e.prevToken||"}"==e.prevToken)&&(r=t.current(),(n=/(\w+)::~?(\w+)$/.exec(r))&&n[1]==n[2]))return"def";var r,n}},namespaceSeparator:"::",modeProps:{fold:["brace","include"]}}),p("text/x-java",{name:"clike",keywords:t("abstract assert break case catch class const continue default do else enum extends final finally float for goto if implements import instanceof interface native new package private protected public return static strictfp super switch synchronized this throw throws transient try volatile while @interface"),types:t("byte short int long float double boolean char void Boolean Byte Character Double Float Integer Long Number Object Short String StringBuffer StringBuilder Void"),blockKeywords:t("catch class do else finally for if switch try while"),defKeywords:t("class interface enum @interface"),typeFirstDefinitions:!0,atoms:t("true false null"),number:/^(?:0x[a-f\d_]+|0b[01_]+|(?:[\d_]+\.?\d*|\.\d+)(?:e[-+]?[\d_]+)?)(u|ll?|l|f)?/i,hooks:{"@":function(t){return!t.match("interface",!1)&&(t.eatWhile(/[\w\$_]/),"meta")}},modeProps:{fold:["brace","import"]}}),p("text/x-csharp",{name:"clike",keywords:t("abstract as async await base break case catch checked class const continue default delegate do else enum event explicit extern finally fixed for foreach goto if implicit in interface internal is lock namespace new operator out override params private protected public readonly ref return sealed sizeof stackalloc static struct switch this throw try typeof unchecked unsafe using virtual void volatile while add alias ascending descending dynamic from get global group into join let orderby partial remove select set value var yield"),types:t("Action Boolean Byte Char DateTime DateTimeOffset Decimal Double Func Guid Int16 Int32 Int64 Object SByte Single String Task TimeSpan UInt16 UInt32 UInt64 bool byte char decimal double short int long object sbyte float string ushort uint ulong"),blockKeywords:t("catch class do else finally for foreach if struct switch try while"),defKeywords:t("class interface namespace struct var"),typeFirstDefinitions:!0,atoms:t("true false null"),hooks:{"@":function(t,e){return t.eat('"')?(e.tokenize=f)(t,e):(t.eatWhile(/[\w\$_]/),"meta")}}}),p("text/x-scala",{name:"clike",keywords:t("abstract case catch class def do else extends final finally for forSome if implicit import lazy match new null object override package private protected return sealed super this throw trait try type val var while with yield _ assert assume require print println printf readLine readBoolean readByte readShort readChar readInt readLong readFloat readDouble"),types:t("AnyVal App Application Array BufferedIterator BigDecimal BigInt Char Console Either Enumeration Equiv Error Exception Fractional Function IndexedSeq Int Integral Iterable Iterator List Map Numeric Nil NotNull Option Ordered Ordering PartialFunction PartialOrdering Product Proxy Range Responder Seq Serializable Set Specializable Stream StringBuilder StringContext Symbol Throwable Traversable TraversableOnce Tuple Unit Vector Boolean Byte Character CharSequence Class ClassLoader Cloneable Comparable Compiler Double Exception Float Integer Long Math Number Object Package Pair Process Runtime Runnable SecurityManager Short StackTraceElement StrictMath String StringBuffer System Thread ThreadGroup ThreadLocal Throwable Triple Void"),multiLineStrings:!0,blockKeywords:t("catch class enum do else finally for forSome if match switch try while"),defKeywords:t("class enum def object package trait type val var"),atoms:t("true false null"),indentStatements:!1,indentSwitch:!1,isOperatorChar:/[+\-*&%=<>!?|\/#:@]/,hooks:{"@":function(t){return t.eatWhile(/[\w\$_]/),"meta"},'"':function(t,e){return!!t.match('""')&&(e.tokenize=m,e.tokenize(t,e))},"'":function(t){return t.eatWhile(/[\w\$_\xa1-\uffff]/),"atom"},"=":function(t,e){var i=e.context;return!("}"!=i.type||!i.align||!t.eat(">"))&&(e.context=new O(i.indented,i.column,i.type,i.info,null,i.prev),"operator")},"/":function(t,e){return!!t.eat("*")&&(e.tokenize=function r(n){return function(t,e){for(var i;i=t.next();){if("*"==i&&t.eat("/")){if(1!=n)return e.tokenize=r(n-1),e.tokenize(t,e);e.tokenize=null;break}if("/"==i&&t.eat("*"))return e.tokenize=r(n+1),e.tokenize(t,e)}return"comment"}}(1),e.tokenize(t,e))}},modeProps:{closeBrackets:{pairs:'()[]{}""',triples:'"'}}}),p("text/x-kotlin",{name:"clike",keywords:t("package as typealias class interface this super val operator var fun for is in This throw return annotation break continue object if else while do try when !in !is as? file import where by get set abstract enum open inner override private public internal protected catch finally out final vararg reified dynamic companion constructor init sealed field property receiver param sparam lateinit data inline noinline tailrec external annotation crossinline const operator infix suspend actual expect setparam"),types:t("Boolean Byte Character CharSequence Class ClassLoader Cloneable Comparable Compiler Double Exception Float Integer Long Math Number Object Package Pair Process Runtime Runnable SecurityManager Short StackTraceElement StrictMath String StringBuffer System Thread ThreadGroup ThreadLocal Throwable Triple Void Annotation Any BooleanArray ByteArray Char CharArray DeprecationLevel DoubleArray Enum FloatArray Function Int IntArray Lazy LazyThreadSafetyMode LongArray Nothing ShortArray Unit"),intendSwitch:!1,indentStatements:!1,multiLineStrings:!0,number:/^(?:0x[a-f\d_]+|0b[01_]+|(?:[\d_]+(\.\d+)?|\.\d+)(?:e[-+]?[\d_]+)?)(u|ll?|l|f)?/i,blockKeywords:t("catch class do else finally for if where try while enum"),defKeywords:t("class val var object interface fun"),atoms:t("true false null this"),hooks:{"@":function(t){return t.eatWhile(/[\w\$_]/),"meta"},"*":function(t,e){return"."==e.prevToken?"variable":"operator"},'"':function(t,e){var o;return e.tokenize=(o=t.match('""'),function(t,e){for(var i,r=!1,n=!1;!t.eol();){if(!o&&!r&&t.match('"')){n=!0;break}if(o&&t.match('"""')){n=!0;break}i=t.next(),!r&&"$"==i&&t.match("{")&&t.skipTo("}"),r=!r&&"\\"==i&&!o}return!n&&o||(e.tokenize=null),"string"}),e.tokenize(t,e)},indent:function(t,e,i,r){var n=i&&i.charAt(0);return"}"!=t.prevToken&&")"!=t.prevToken||""!=i?"operator"==t.prevToken&&"}"!=i||"variable"==t.prevToken&&"."==n||("}"==t.prevToken||")"==t.prevToken)&&"."==n?2*r+e.indented:e.align&&"}"==e.type?e.indented+(t.context.type==(i||"").charAt(0)?0:r):void 0:t.indented}},modeProps:{closeBrackets:{triples:'"'}}}),p(["x-shader/x-vertex","x-shader/x-fragment"],{name:"clike",keywords:t("sampler1D sampler2D sampler3D samplerCube sampler1DShadow sampler2DShadow const attribute uniform varying break continue discard return for while do if else struct in out inout"),types:t("float int bool void vec2 vec3 vec4 ivec2 ivec3 ivec4 bvec2 bvec3 bvec4 mat2 mat3 mat4"),blockKeywords:t("for while do if else struct"),builtin:t("radians degrees sin cos tan asin acos atan pow exp log exp2 sqrt inversesqrt abs sign floor ceil fract mod min max clamp mix step smoothstep length distance dot cross normalize ftransform faceforward reflect refract matrixCompMult lessThan lessThanEqual greaterThan greaterThanEqual equal notEqual any all not texture1D texture1DProj texture1DLod texture1DProjLod texture2D texture2DProj texture2DLod texture2DProjLod texture3D texture3DProj texture3DLod texture3DProjLod textureCube textureCubeLod shadow1D shadow2D shadow1DProj shadow2DProj shadow1DLod shadow2DLod shadow1DProjLod shadow2DProjLod dFdx dFdy fwidth noise1 noise2 noise3 noise4"),atoms:t("true false gl_FragColor gl_SecondaryColor gl_Normal gl_Vertex gl_MultiTexCoord0 gl_MultiTexCoord1 gl_MultiTexCoord2 gl_MultiTexCoord3 gl_MultiTexCoord4 gl_MultiTexCoord5 gl_MultiTexCoord6 gl_MultiTexCoord7 gl_FogCoord gl_PointCoord gl_Position gl_PointSize gl_ClipVertex gl_FrontColor gl_BackColor gl_FrontSecondaryColor gl_BackSecondaryColor gl_TexCoord gl_FogFragCoord gl_FragCoord gl_FrontFacing gl_FragData gl_FragDepth gl_ModelViewMatrix gl_ProjectionMatrix gl_ModelViewProjectionMatrix gl_TextureMatrix gl_NormalMatrix gl_ModelViewMatrixInverse gl_ProjectionMatrixInverse gl_ModelViewProjectionMatrixInverse gl_TexureMatrixTranspose gl_ModelViewMatrixInverseTranspose gl_ProjectionMatrixInverseTranspose gl_ModelViewProjectionMatrixInverseTranspose gl_TextureMatrixInverseTranspose gl_NormalScale gl_DepthRange gl_ClipPlane gl_Point gl_FrontMaterial gl_BackMaterial gl_LightSource gl_LightModel gl_FrontLightModelProduct gl_BackLightModelProduct gl_TextureColor gl_EyePlaneS gl_EyePlaneT gl_EyePlaneR gl_EyePlaneQ gl_FogParameters gl_MaxLights gl_MaxClipPlanes gl_MaxTextureUnits gl_MaxTextureCoords gl_MaxVertexAttribs gl_MaxVertexUniformComponents gl_MaxVaryingFloats gl_MaxVertexTextureImageUnits gl_MaxTextureImageUnits gl_MaxFragmentUniformComponents gl_MaxCombineTextureImageUnits gl_MaxDrawBuffers"),indentSwitch:!1,hooks:{"#":a},modeProps:{fold:["brace","include"]}}),p("text/x-nesc",{name:"clike",keywords:t(e+" as atomic async call command component components configuration event generic implementation includes interface module new norace nx_struct nx_union post provides signal task uses abstract extends"),types:n,blockKeywords:t(o),atoms:t("null true false"),hooks:{"#":a},modeProps:{fold:["brace","include"]}}),p("text/x-objectivec",{name:"clike",keywords:t(e+" bycopy byref in inout oneway out self super atomic nonatomic retain copy readwrite readonly strong weak assign typeof nullable nonnull null_resettable _cmd @interface @implementation @end @protocol @encode @property @synthesize @dynamic @class @public @package @private @protected @required @optional @try @catch @finally @import @selector @encode @defs @synchronized @autoreleasepool @compatibility_alias @available"),types:function(t){return n(t)||P(r,t)},builtin:t("FOUNDATION_EXPORT FOUNDATION_EXTERN NS_INLINE NS_FORMAT_FUNCTION NS_RETURNS_RETAINED NS_ERROR_ENUM NS_RETURNS_NOT_RETAINED NS_RETURNS_INNER_POINTER NS_DESIGNATED_INITIALIZER NS_ENUM NS_OPTIONS NS_REQUIRES_NIL_TERMINATION NS_ASSUME_NONNULL_BEGIN NS_ASSUME_NONNULL_END NS_SWIFT_NAME NS_REFINED_FOR_SWIFT"),blockKeywords:t(o+" @synthesize @try @catch @finally @autoreleasepool @synchronized"),defKeywords:t(s+" @interface @implementation @protocol @class"),dontIndentStatements:/^@.*$/,typeFirstDefinitions:!0,atoms:t("YES NO NULL Nil nil true false nullptr"),isReservedIdentifier:c,hooks:{"#":a,"*":l},modeProps:{fold:["brace","include"]}}),p("text/x-squirrel",{name:"clike",keywords:t("base break clone continue const default delete enum extends function in class foreach local resume return this throw typeof yield constructor instanceof static"),types:n,blockKeywords:t("case catch class else for foreach if switch try while"),defKeywords:t("function local class"),typeFirstDefinitions:!0,atoms:t("true false null"),hooks:{"#":a},modeProps:{fold:["brace","include"]}});var g=null;p("text/x-ceylon",{name:"clike",keywords:t("abstracts alias assembly assert assign break case catch class continue dynamic else exists extends finally for function given if import in interface is let module new nonempty object of out outer package return satisfies super switch then this throw try value void while"),types:function(t){var e=t.charAt(0);return e===e.toUpperCase()&&e!==e.toLowerCase()},blockKeywords:t("case catch class dynamic else finally for function if interface module new object switch try while"),defKeywords:t("class dynamic function interface module object package value"),builtin:t("abstract actual aliased annotation by default deprecated doc final formal late license native optional sealed see serializable shared suppressWarnings tagged throws variable"),isPunctuationChar:/[\[\]{}\(\),;\:\.`]/,isOperatorChar:/[+\-*&%=<>!?|^~:\/]/,numberStart:/[\d#$]/,number:/^(?:#[\da-fA-F_]+|\$[01_]+|[\d_]+[kMGTPmunpf]?|[\d_]+\.[\d_]+(?:[eE][-+]?\d+|[kMGTPmunpf]|)|)/i,multiLineStrings:!0,typeFirstDefinitions:!0,atoms:t("true false null larger smaller equal empty finished"),indentSwitch:!1,styleDefs:!1,hooks:{"@":function(t){return t.eatWhile(/[\w\$_]/),"meta"},'"':function(t,e){return e.tokenize=function o(s){return function(t,e){for(var i,r=!1,n=!1;!t.eol();){if(!r&&t.match('"')&&("single"==s||t.match('""'))){n=!0;break}if(!r&&t.match("``")){g=o(s),n=!0;break}i=t.next(),r="single"==s&&!r&&"\\"==i}return n&&(e.tokenize=null),"string"}}(t.match('""')?"triple":"single"),e.tokenize(t,e)},"`":function(t,e){return!(!g||!t.match("`"))&&(e.tokenize=g,g=null,e.tokenize(t,e))},"'":function(t){return t.eatWhile(/[\w\$_\xa1-\uffff]/),"atom"},token:function(t,e,i){if(("variable"==i||"type"==i)&&"."==e.prevToken)return"variable-2"}},modeProps:{fold:["brace","import"],closeBrackets:{triples:'"'}}})},"object"==typeof i&&"object"==typeof e?r(t("../../lib/codemirror")):"function"==typeof define&&define.amd?define(["../../lib/codemirror"],r):r(CodeMirror)},{"../../lib/codemirror":12}],14:[function(t,e,i){var r;r=function(N){"use strict";function t(t){for(var e={},i=0;i<t.length;++i)e[t[i].toLowerCase()]=!0;return e}N.defineMode("css",function(t,e){var i=e.inline;e.propertyKeywords||(e=N.resolveMode("text/css"));var r,n,o=t.indentUnit,s=e.tokenHooks,a=e.documentTypes||{},l=e.mediaTypes||{},c=e.mediaFeatures||{},h=e.mediaValueKeywords||{},u=e.propertyKeywords||{},f=e.nonStandardPropertyKeywords||{},d=e.fontProperties||{},p=e.counterDescriptors||{},m=e.colorKeywords||{},g=e.valueKeywords||{},_=e.allowNested,v=e.lineComment,y=!0===e.supportsAtComponent;function x(t,e){return r=e,t}function T(n){return function(t,e){for(var i,r=!1;null!=(i=t.next());){if(i==n&&!r){")"==n&&t.backUp(1);break}r=!r&&"\\"==i}return i!=n&&(r||")"==n)||(e.tokenize=null),x("string","string")}}function k(t,e){return t.next(),t.match(/\s*[\"\')]/,!1)?e.tokenize=null:e.tokenize=T(")"),x(null,"(")}function b(t,e,i){this.type=t,this.indent=e,this.prev=i}function w(t,e,i,r){return t.context=new b(i,e.indentation()+(!1===r?0:o),t.context),i}function E(t){return t.context.prev&&(t.context=t.context.prev),t.context.type}function C(t,e,i){return L[i.context.type](t,e,i)}function S(t,e,i,r){for(var n=r||1;0<n;n--)i.context=i.context.prev;return C(t,e,i)}function A(t){var e=t.current().toLowerCase();n=g.hasOwnProperty(e)?"atom":m.hasOwnProperty(e)?"keyword":"variable"}var L={top:function(t,e,i){if("{"==t)return w(i,e,"block");if("}"==t&&i.context.prev)return E(i);if(y&&/@component/i.test(t))return w(i,e,"atComponentBlock");if(/^@(-moz-)?document$/i.test(t))return w(i,e,"documentTypes");if(/^@(media|supports|(-moz-)?document|import)$/i.test(t))return w(i,e,"atBlock");if(/^@(font-face|counter-style)/i.test(t))return i.stateArg=t,"restricted_atBlock_before";if(/^@(-(moz|ms|o|webkit)-)?keyframes$/i.test(t))return"keyframes";if(t&&"@"==t.charAt(0))return w(i,e,"at");if("hash"==t)n="builtin";else if("word"==t)n="tag";else{if("variable-definition"==t)return"maybeprop";if("interpolation"==t)return w(i,e,"interpolation");if(":"==t)return"pseudo";if(_&&"("==t)return w(i,e,"parens")}return i.context.type},block:function(t,e,i){if("word"!=t)return"meta"==t?"block":_||"hash"!=t&&"qualifier"!=t?L.top(t,e,i):(n="error","block");var r=e.current().toLowerCase();return u.hasOwnProperty(r)?(n="property","maybeprop"):f.hasOwnProperty(r)?(n="string-2","maybeprop"):_?(n=e.match(/^\s*:(?:\s|$)/,!1)?"property":"tag","block"):(n+=" error","maybeprop")},maybeprop:function(t,e,i){return":"==t?w(i,e,"prop"):C(t,e,i)},prop:function(t,e,i){if(";"==t)return E(i);if("{"==t&&_)return w(i,e,"propBlock");if("}"==t||"{"==t)return S(t,e,i);if("("==t)return w(i,e,"parens");if("hash"!=t||/^#([0-9a-fA-f]{3,4}|[0-9a-fA-f]{6}|[0-9a-fA-f]{8})$/.test(e.current())){if("word"==t)A(e);else if("interpolation"==t)return w(i,e,"interpolation")}else n+=" error";return"prop"},propBlock:function(t,e,i){return"}"==t?E(i):"word"==t?(n="property","maybeprop"):i.context.type},parens:function(t,e,i){return"{"==t||"}"==t?S(t,e,i):")"==t?E(i):"("==t?w(i,e,"parens"):"interpolation"==t?w(i,e,"interpolation"):("word"==t&&A(e),"parens")},pseudo:function(t,e,i){return"meta"==t?"pseudo":"word"==t?(n="variable-3",i.context.type):C(t,e,i)},documentTypes:function(t,e,i){return"word"==t&&a.hasOwnProperty(e.current())?(n="tag",i.context.type):L.atBlock(t,e,i)},atBlock:function(t,e,i){if("("==t)return w(i,e,"atBlock_parens");if("}"==t||";"==t)return S(t,e,i);if("{"==t)return E(i)&&w(i,e,_?"block":"top");if("interpolation"==t)return w(i,e,"interpolation");if("word"==t){var r=e.current().toLowerCase();n="only"==r||"not"==r||"and"==r||"or"==r?"keyword":l.hasOwnProperty(r)?"attribute":c.hasOwnProperty(r)?"property":h.hasOwnProperty(r)?"keyword":u.hasOwnProperty(r)?"property":f.hasOwnProperty(r)?"string-2":g.hasOwnProperty(r)?"atom":m.hasOwnProperty(r)?"keyword":"error"}return i.context.type},atComponentBlock:function(t,e,i){return"}"==t?S(t,e,i):"{"==t?E(i)&&w(i,e,_?"block":"top",!1):("word"==t&&(n="error"),i.context.type)},atBlock_parens:function(t,e,i){return")"==t?E(i):"{"==t||"}"==t?S(t,e,i,2):L.atBlock(t,e,i)},restricted_atBlock_before:function(t,e,i){return"{"==t?w(i,e,"restricted_atBlock"):"word"==t&&"@counter-style"==i.stateArg?(n="variable","restricted_atBlock_before"):C(t,e,i)},restricted_atBlock:function(t,e,i){return"}"==t?(i.stateArg=null,E(i)):"word"==t?(n="@font-face"==i.stateArg&&!d.hasOwnProperty(e.current().toLowerCase())||"@counter-style"==i.stateArg&&!p.hasOwnProperty(e.current().toLowerCase())?"error":"property","maybeprop"):"restricted_atBlock"},keyframes:function(t,e,i){return"word"==t?(n="variable","keyframes"):"{"==t?w(i,e,"top"):C(t,e,i)},at:function(t,e,i){return";"==t?E(i):"{"==t||"}"==t?S(t,e,i):("word"==t?n="tag":"hash"==t&&(n="builtin"),"at")},interpolation:function(t,e,i){return"}"==t?E(i):"{"==t||";"==t?S(t,e,i):("word"==t?n="variable":"variable"!=t&&"("!=t&&")"!=t&&(n="error"),"interpolation")}};return{startState:function(t){return{tokenize:null,state:i?"block":"top",stateArg:null,context:new b(i?"block":"top",t||0,null)}},token:function(t,e){if(!e.tokenize&&t.eatSpace())return null;var i=(e.tokenize||function(t,e){var i=t.next();if(s[i]){var r=s[i](t,e);if(!1!==r)return r}return"@"==i?(t.eatWhile(/[\w\\\-]/),x("def",t.current())):"="==i||("~"==i||"|"==i)&&t.eat("=")?x(null,"compare"):'"'==i||"'"==i?(e.tokenize=T(i),e.tokenize(t,e)):"#"==i?(t.eatWhile(/[\w\\\-]/),x("atom","hash")):"!"==i?(t.match(/^\s*\w*/),x("keyword","important")):/\d/.test(i)||"."==i&&t.eat(/\d/)?(t.eatWhile(/[\w.%]/),x("number","unit")):"-"!==i?/[,+>*\/]/.test(i)?x(null,"select-op"):"."==i&&t.match(/^-?[_a-z][_a-z0-9-]*/i)?x("qualifier","qualifier"):/[:;{}\[\]\(\)]/.test(i)?x(null,i):("u"==i||"U"==i)&&t.match(/rl(-prefix)?\(/i)||("d"==i||"D"==i)&&t.match("omain(",!0,!0)||("r"==i||"R"==i)&&t.match("egexp(",!0,!0)?(t.backUp(1),e.tokenize=k,x("property","word")):/[\w\\\-]/.test(i)?(t.eatWhile(/[\w\\\-]/),x("property","word")):x(null,null):/[\d.]/.test(t.peek())?(t.eatWhile(/[\w.%]/),x("number","unit")):t.match(/^-[\w\\\-]+/)?(t.eatWhile(/[\w\\\-]/),t.match(/^\s*:/,!1)?x("variable-2","variable-definition"):x("variable-2","variable")):t.match(/^\w+-/)?x("meta","meta"):void 0})(t,e);return i&&"object"==typeof i&&(r=i[1],i=i[0]),n=i,"comment"!=r&&(e.state=L[e.state](r,t,e)),n},indent:function(t,e){var i=t.context,r=e&&e.charAt(0),n=i.indent;return"prop"!=i.type||"}"!=r&&")"!=r||(i=i.prev),i.prev&&("}"!=r||"block"!=i.type&&"top"!=i.type&&"interpolation"!=i.type&&"restricted_atBlock"!=i.type?(")"!=r||"parens"!=i.type&&"atBlock_parens"!=i.type)&&("{"!=r||"at"!=i.type&&"atBlock"!=i.type)||(n=Math.max(0,i.indent-o)):n=(i=i.prev).indent),n},electricChars:"}",blockCommentStart:"/*",blockCommentEnd:"*/",blockCommentContinue:" * ",lineComment:v,fold:"brace"}});var e=["domain","regexp","url","url-prefix"],i=t(e),r=["all","aural","braille","handheld","print","projection","screen","tty","tv","embossed"],n=t(r),o=["width","min-width","max-width","height","min-height","max-height","device-width","min-device-width","max-device-width","device-height","min-device-height","max-device-height","aspect-ratio","min-aspect-ratio","max-aspect-ratio","device-aspect-ratio","min-device-aspect-ratio","max-device-aspect-ratio","color","min-color","max-color","color-index","min-color-index","max-color-index","monochrome","min-monochrome","max-monochrome","resolution","min-resolution","max-resolution","scan","grid","orientation","device-pixel-ratio","min-device-pixel-ratio","max-device-pixel-ratio","pointer","any-pointer","hover","any-hover"],s=t(o),a=["landscape","portrait","none","coarse","fine","on-demand","hover","interlace","progressive"],l=t(a),c=["align-content","align-items","align-self","alignment-adjust","alignment-baseline","anchor-point","animation","animation-delay","animation-direction","animation-duration","animation-fill-mode","animation-iteration-count","animation-name","animation-play-state","animation-timing-function","appearance","azimuth","backface-visibility","background","background-attachment","background-blend-mode","background-clip","background-color","background-image","background-origin","background-position","background-repeat","background-size","baseline-shift","binding","bleed","bookmark-label","bookmark-level","bookmark-state","bookmark-target","border","border-bottom","border-bottom-color","border-bottom-left-radius","border-bottom-right-radius","border-bottom-style","border-bottom-width","border-collapse","border-color","border-image","border-image-outset","border-image-repeat","border-image-slice","border-image-source","border-image-width","border-left","border-left-color","border-left-style","border-left-width","border-radius","border-right","border-right-color","border-right-style","border-right-width","border-spacing","border-style","border-top","border-top-color","border-top-left-radius","border-top-right-radius","border-top-style","border-top-width","border-width","bottom","box-decoration-break","box-shadow","box-sizing","break-after","break-before","break-inside","caption-side","caret-color","clear","clip","color","color-profile","column-count","column-fill","column-gap","column-rule","column-rule-color","column-rule-style","column-rule-width","column-span","column-width","columns","content","counter-increment","counter-reset","crop","cue","cue-after","cue-before","cursor","direction","display","dominant-baseline","drop-initial-after-adjust","drop-initial-after-align","drop-initial-before-adjust","drop-initial-before-align","drop-initial-size","drop-initial-value","elevation","empty-cells","fit","fit-position","flex","flex-basis","flex-direction","flex-flow","flex-grow","flex-shrink","flex-wrap","float","float-offset","flow-from","flow-into","font","font-feature-settings","font-family","font-kerning","font-language-override","font-size","font-size-adjust","font-stretch","font-style","font-synthesis","font-variant","font-variant-alternates","font-variant-caps","font-variant-east-asian","font-variant-ligatures","font-variant-numeric","font-variant-position","font-weight","grid","grid-area","grid-auto-columns","grid-auto-flow","grid-auto-rows","grid-column","grid-column-end","grid-column-gap","grid-column-start","grid-gap","grid-row","grid-row-end","grid-row-gap","grid-row-start","grid-template","grid-template-areas","grid-template-columns","grid-template-rows","hanging-punctuation","height","hyphens","icon","image-orientation","image-rendering","image-resolution","inline-box-align","justify-content","justify-items","justify-self","left","letter-spacing","line-break","line-height","line-stacking","line-stacking-ruby","line-stacking-shift","line-stacking-strategy","list-style","list-style-image","list-style-position","list-style-type","margin","margin-bottom","margin-left","margin-right","margin-top","marks","marquee-direction","marquee-loop","marquee-play-count","marquee-speed","marquee-style","max-height","max-width","min-height","min-width","mix-blend-mode","move-to","nav-down","nav-index","nav-left","nav-right","nav-up","object-fit","object-position","opacity","order","orphans","outline","outline-color","outline-offset","outline-style","outline-width","overflow","overflow-style","overflow-wrap","overflow-x","overflow-y","padding","padding-bottom","padding-left","padding-right","padding-top","page","page-break-after","page-break-before","page-break-inside","page-policy","pause","pause-after","pause-before","perspective","perspective-origin","pitch","pitch-range","place-content","place-items","place-self","play-during","position","presentation-level","punctuation-trim","quotes","region-break-after","region-break-before","region-break-inside","region-fragment","rendering-intent","resize","rest","rest-after","rest-before","richness","right","rotation","rotation-point","ruby-align","ruby-overhang","ruby-position","ruby-span","shape-image-threshold","shape-inside","shape-margin","shape-outside","size","speak","speak-as","speak-header","speak-numeral","speak-punctuation","speech-rate","stress","string-set","tab-size","table-layout","target","target-name","target-new","target-position","text-align","text-align-last","text-decoration","text-decoration-color","text-decoration-line","text-decoration-skip","text-decoration-style","text-emphasis","text-emphasis-color","text-emphasis-position","text-emphasis-style","text-height","text-indent","text-justify","text-outline","text-overflow","text-shadow","text-size-adjust","text-space-collapse","text-transform","text-underline-position","text-wrap","top","transform","transform-origin","transform-style","transition","transition-delay","transition-duration","transition-property","transition-timing-function","unicode-bidi","user-select","vertical-align","visibility","voice-balance","voice-duration","voice-family","voice-pitch","voice-range","voice-rate","voice-stress","voice-volume","volume","white-space","widows","width","will-change","word-break","word-spacing","word-wrap","z-index","clip-path","clip-rule","mask","enable-background","filter","flood-color","flood-opacity","lighting-color","stop-color","stop-opacity","pointer-events","color-interpolation","color-interpolation-filters","color-rendering","fill","fill-opacity","fill-rule","image-rendering","marker","marker-end","marker-mid","marker-start","shape-rendering","stroke","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke-width","text-rendering","baseline-shift","dominant-baseline","glyph-orientation-horizontal","glyph-orientation-vertical","text-anchor","writing-mode"],h=t(c),u=["scrollbar-arrow-color","scrollbar-base-color","scrollbar-dark-shadow-color","scrollbar-face-color","scrollbar-highlight-color","scrollbar-shadow-color","scrollbar-3d-light-color","scrollbar-track-color","shape-inside","searchfield-cancel-button","searchfield-decoration","searchfield-results-button","searchfield-results-decoration","zoom"],f=t(u),d=t(["font-family","src","unicode-range","font-variant","font-feature-settings","font-stretch","font-weight","font-style"]),p=t(["additive-symbols","fallback","negative","pad","prefix","range","speak-as","suffix","symbols","system"]),m=["aliceblue","antiquewhite","aqua","aquamarine","azure","beige","bisque","black","blanchedalmond","blue","blueviolet","brown","burlywood","cadetblue","chartreuse","chocolate","coral","cornflowerblue","cornsilk","crimson","cyan","darkblue","darkcyan","darkgoldenrod","darkgray","darkgreen","darkkhaki","darkmagenta","darkolivegreen","darkorange","darkorchid","darkred","darksalmon","darkseagreen","darkslateblue","darkslategray","darkturquoise","darkviolet","deeppink","deepskyblue","dimgray","dodgerblue","firebrick","floralwhite","forestgreen","fuchsia","gainsboro","ghostwhite","gold","goldenrod","gray","grey","green","greenyellow","honeydew","hotpink","indianred","indigo","ivory","khaki","lavender","lavenderblush","lawngreen","lemonchiffon","lightblue","lightcoral","lightcyan","lightgoldenrodyellow","lightgray","lightgreen","lightpink","lightsalmon","lightseagreen","lightskyblue","lightslategray","lightsteelblue","lightyellow","lime","limegreen","linen","magenta","maroon","mediumaquamarine","mediumblue","mediumorchid","mediumpurple","mediumseagreen","mediumslateblue","mediumspringgreen","mediumturquoise","mediumvioletred","midnightblue","mintcream","mistyrose","moccasin","navajowhite","navy","oldlace","olive","olivedrab","orange","orangered","orchid","palegoldenrod","palegreen","paleturquoise","palevioletred","papayawhip","peachpuff","peru","pink","plum","powderblue","purple","rebeccapurple","red","rosybrown","royalblue","saddlebrown","salmon","sandybrown","seagreen","seashell","sienna","silver","skyblue","slateblue","slategray","snow","springgreen","steelblue","tan","teal","thistle","tomato","turquoise","violet","wheat","white","whitesmoke","yellow","yellowgreen"],g=t(m),_=["above","absolute","activeborder","additive","activecaption","afar","after-white-space","ahead","alias","all","all-scroll","alphabetic","alternate","always","amharic","amharic-abegede","antialiased","appworkspace","arabic-indic","armenian","asterisks","attr","auto","auto-flow","avoid","avoid-column","avoid-page","avoid-region","background","backwards","baseline","below","bidi-override","binary","bengali","blink","block","block-axis","bold","bolder","border","border-box","both","bottom","break","break-all","break-word","bullets","button","button-bevel","buttonface","buttonhighlight","buttonshadow","buttontext","calc","cambodian","capitalize","caps-lock-indicator","caption","captiontext","caret","cell","center","checkbox","circle","cjk-decimal","cjk-earthly-branch","cjk-heavenly-stem","cjk-ideographic","clear","clip","close-quote","col-resize","collapse","color","color-burn","color-dodge","column","column-reverse","compact","condensed","contain","content","contents","content-box","context-menu","continuous","copy","counter","counters","cover","crop","cross","crosshair","currentcolor","cursive","cyclic","darken","dashed","decimal","decimal-leading-zero","default","default-button","dense","destination-atop","destination-in","destination-out","destination-over","devanagari","difference","disc","discard","disclosure-closed","disclosure-open","document","dot-dash","dot-dot-dash","dotted","double","down","e-resize","ease","ease-in","ease-in-out","ease-out","element","ellipse","ellipsis","embed","end","ethiopic","ethiopic-abegede","ethiopic-abegede-am-et","ethiopic-abegede-gez","ethiopic-abegede-ti-er","ethiopic-abegede-ti-et","ethiopic-halehame-aa-er","ethiopic-halehame-aa-et","ethiopic-halehame-am-et","ethiopic-halehame-gez","ethiopic-halehame-om-et","ethiopic-halehame-sid-et","ethiopic-halehame-so-et","ethiopic-halehame-ti-er","ethiopic-halehame-ti-et","ethiopic-halehame-tig","ethiopic-numeric","ew-resize","exclusion","expanded","extends","extra-condensed","extra-expanded","fantasy","fast","fill","fixed","flat","flex","flex-end","flex-start","footnotes","forwards","from","geometricPrecision","georgian","graytext","grid","groove","gujarati","gurmukhi","hand","hangul","hangul-consonant","hard-light","hebrew","help","hidden","hide","higher","highlight","highlighttext","hiragana","hiragana-iroha","horizontal","hsl","hsla","hue","icon","ignore","inactiveborder","inactivecaption","inactivecaptiontext","infinite","infobackground","infotext","inherit","initial","inline","inline-axis","inline-block","inline-flex","inline-grid","inline-table","inset","inside","intrinsic","invert","italic","japanese-formal","japanese-informal","justify","kannada","katakana","katakana-iroha","keep-all","khmer","korean-hangul-formal","korean-hanja-formal","korean-hanja-informal","landscape","lao","large","larger","left","level","lighter","lighten","line-through","linear","linear-gradient","lines","list-item","listbox","listitem","local","logical","loud","lower","lower-alpha","lower-armenian","lower-greek","lower-hexadecimal","lower-latin","lower-norwegian","lower-roman","lowercase","ltr","luminosity","malayalam","match","matrix","matrix3d","media-controls-background","media-current-time-display","media-fullscreen-button","media-mute-button","media-play-button","media-return-to-realtime-button","media-rewind-button","media-seek-back-button","media-seek-forward-button","media-slider","media-sliderthumb","media-time-remaining-display","media-volume-slider","media-volume-slider-container","media-volume-sliderthumb","medium","menu","menulist","menulist-button","menulist-text","menulist-textfield","menutext","message-box","middle","min-intrinsic","mix","mongolian","monospace","move","multiple","multiply","myanmar","n-resize","narrower","ne-resize","nesw-resize","no-close-quote","no-drop","no-open-quote","no-repeat","none","normal","not-allowed","nowrap","ns-resize","numbers","numeric","nw-resize","nwse-resize","oblique","octal","opacity","open-quote","optimizeLegibility","optimizeSpeed","oriya","oromo","outset","outside","outside-shape","overlay","overline","padding","padding-box","painted","page","paused","persian","perspective","plus-darker","plus-lighter","pointer","polygon","portrait","pre","pre-line","pre-wrap","preserve-3d","progress","push-button","radial-gradient","radio","read-only","read-write","read-write-plaintext-only","rectangle","region","relative","repeat","repeating-linear-gradient","repeating-radial-gradient","repeat-x","repeat-y","reset","reverse","rgb","rgba","ridge","right","rotate","rotate3d","rotateX","rotateY","rotateZ","round","row","row-resize","row-reverse","rtl","run-in","running","s-resize","sans-serif","saturation","scale","scale3d","scaleX","scaleY","scaleZ","screen","scroll","scrollbar","scroll-position","se-resize","searchfield","searchfield-cancel-button","searchfield-decoration","searchfield-results-button","searchfield-results-decoration","self-start","self-end","semi-condensed","semi-expanded","separate","serif","show","sidama","simp-chinese-formal","simp-chinese-informal","single","skew","skewX","skewY","skip-white-space","slide","slider-horizontal","slider-vertical","sliderthumb-horizontal","sliderthumb-vertical","slow","small","small-caps","small-caption","smaller","soft-light","solid","somali","source-atop","source-in","source-out","source-over","space","space-around","space-between","space-evenly","spell-out","square","square-button","start","static","status-bar","stretch","stroke","sub","subpixel-antialiased","super","sw-resize","symbolic","symbols","system-ui","table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row","table-row-group","tamil","telugu","text","text-bottom","text-top","textarea","textfield","thai","thick","thin","threeddarkshadow","threedface","threedhighlight","threedlightshadow","threedshadow","tibetan","tigre","tigrinya-er","tigrinya-er-abegede","tigrinya-et","tigrinya-et-abegede","to","top","trad-chinese-formal","trad-chinese-informal","transform","translate","translate3d","translateX","translateY","translateZ","transparent","ultra-condensed","ultra-expanded","underline","unset","up","upper-alpha","upper-armenian","upper-greek","upper-hexadecimal","upper-latin","upper-norwegian","upper-roman","uppercase","urdu","url","var","vertical","vertical-text","visible","visibleFill","visiblePainted","visibleStroke","visual","w-resize","wait","wave","wider","window","windowframe","windowtext","words","wrap","wrap-reverse","x-large","x-small","xor","xx-large","xx-small"],v=t(_),y=e.concat(r).concat(o).concat(a).concat(c).concat(u).concat(m).concat(_);function x(t,e){for(var i,r=!1;null!=(i=t.next());){if(r&&"/"==i){e.tokenize=null;break}r="*"==i}return["comment","comment"]}N.registerHelper("hintWords","css",y),N.defineMIME("text/css",{documentTypes:i,mediaTypes:n,mediaFeatures:s,mediaValueKeywords:l,propertyKeywords:h,nonStandardPropertyKeywords:f,fontProperties:d,counterDescriptors:p,colorKeywords:g,valueKeywords:v,tokenHooks:{"/":function(t,e){return!!t.eat("*")&&(e.tokenize=x)(t,e)}},name:"css"}),N.defineMIME("text/x-scss",{mediaTypes:n,mediaFeatures:s,mediaValueKeywords:l,propertyKeywords:h,nonStandardPropertyKeywords:f,colorKeywords:g,valueKeywords:v,fontProperties:d,allowNested:!0,lineComment:"//",tokenHooks:{"/":function(t,e){return t.eat("/")?(t.skipToEnd(),["comment","comment"]):t.eat("*")?(e.tokenize=x)(t,e):["operator","operator"]},":":function(t){return!!t.match(/\s*\{/,!1)&&[null,null]},$:function(t){return t.match(/^[\w-]+/),t.match(/^\s*:/,!1)?["variable-2","variable-definition"]:["variable-2","variable"]},"#":function(t){return!!t.eat("{")&&[null,"interpolation"]}},name:"css",helperType:"scss"}),N.defineMIME("text/x-less",{mediaTypes:n,mediaFeatures:s,mediaValueKeywords:l,propertyKeywords:h,nonStandardPropertyKeywords:f,colorKeywords:g,valueKeywords:v,fontProperties:d,allowNested:!0,lineComment:"//",tokenHooks:{"/":function(t,e){return t.eat("/")?(t.skipToEnd(),["comment","comment"]):t.eat("*")?(e.tokenize=x)(t,e):["operator","operator"]},"@":function(t){return t.eat("{")?[null,"interpolation"]:!t.match(/^(charset|document|font-face|import|(-(moz|ms|o|webkit)-)?keyframes|media|namespace|page|supports)\b/i,!1)&&(t.eatWhile(/[\w\\\-]/),t.match(/^\s*:/,!1)?["variable-2","variable-definition"]:["variable-2","variable"])},"&":function(){return["atom","atom"]}},name:"css",helperType:"less"}),N.defineMIME("text/x-gss",{documentTypes:i,mediaTypes:n,mediaFeatures:s,propertyKeywords:h,nonStandardPropertyKeywords:f,fontProperties:d,counterDescriptors:p,colorKeywords:g,valueKeywords:v,supportsAtComponent:!0,tokenHooks:{"/":function(t,e){return!!t.eat("*")&&(e.tokenize=x)(t,e)}},name:"css",helperType:"gss"})},"object"==typeof i&&"object"==typeof e?r(t("../../lib/codemirror")):"function"==typeof define&&define.amd?define(["../../lib/codemirror"],r):r(CodeMirror)},{"../../lib/codemirror":12}],15:[function(t,e,i){var r;r=function(p){"use strict";var n={script:[["lang",/(javascript|babel)/i,"javascript"],["type",/^(?:text|application)\/(?:x-)?(?:java|ecma)script$|^module$|^$/i,"javascript"],["type",/./,"text/plain"],[null,null,"javascript"]],style:[["lang",/^css$/i,"css"],["type",/^(text\/)?(x-)?(stylesheet|css)$/i,"css"],["type",/./,"text/plain"],[null,null,"css"]]},m={};function g(t,e){return new RegExp((e?"^":"")+"</s*"+t+"s*>","i")}function o(t,e){for(var i in t)for(var r=e[i]||(e[i]=[]),n=t[i],o=n.length-1;0<=o;o--)r.unshift(n[o])}p.defineMode("htmlmixed",function(h,t){var u=p.getMode(h,{name:"xml",htmlMode:!0,multilineTagIndentFactor:t.multilineTagIndentFactor,multilineTagIndentPastTag:t.multilineTagIndentPastTag}),f={},e=t&&t.tags,i=t&&t.scriptTypes;if(o(n,f),e&&o(e,f),i)for(var r=i.length-1;0<=r;r--)f.script.unshift(["type",i[r].matches,i[r].mode]);function d(t,e){var i,r=u.token(t,e.htmlState),n=/\btag\b/.test(r);if(n&&!/[<>\s\/]/.test(t.current())&&(i=e.htmlState.tagName&&e.htmlState.tagName.toLowerCase())&&f.hasOwnProperty(i))e.inTag=i+" ";else if(e.inTag&&n&&/>$/.test(t.current())){var o=/^([\S]+) (.*)/.exec(e.inTag);e.inTag=null;var s=">"==t.current()&&function(t,e){for(var i=0;i<t.length;i++){var r=t[i];if(!r[0]||r[1].test((n=e,o=r[0],void 0,(a=n.match(m[s=o]||(m[s]=new RegExp("\\s+"+s+"\\s*=\\s*('|\")?([^'\"]+)('|\")?\\s*"))))?/^\s*(.*?)\s*$/.exec(a[2])[1]:"")))return r[2]}var n,o,s,a}(f[o[1]],o[2]),a=p.getMode(h,s),l=g(o[1],!0),c=g(o[1],!1);e.token=function(t,e){return t.match(l,!1)?(e.token=d,e.localState=e.localMode=null,null):(i=t,r=c,n=e.localMode.token(t,e.localState),-1<(s=(o=i.current()).search(r))?i.backUp(o.length-s):o.match(/<\/?$/)&&(i.backUp(o.length),i.match(r,!1)||i.match(o)),n);var i,r,n,o,s},e.localMode=a,e.localState=p.startState(a,u.indent(e.htmlState,""))}else e.inTag&&(e.inTag+=t.current(),t.eol()&&(e.inTag+=" "));return r}return{startState:function(){return{token:d,inTag:null,localMode:null,localState:null,htmlState:p.startState(u)}},copyState:function(t){var e;return t.localState&&(e=p.copyState(t.localMode,t.localState)),{token:t.token,inTag:t.inTag,localMode:t.localMode,localState:e,htmlState:p.copyState(u,t.htmlState)}},token:function(t,e){return e.token(t,e)},indent:function(t,e,i){return!t.localMode||/^\s*<\//.test(e)?u.indent(t.htmlState,e):t.localMode.indent?t.localMode.indent(t.localState,e,i):p.Pass},innerMode:function(t){return{state:t.localState||t.htmlState,mode:t.localMode||u}}}},"xml","javascript","css"),p.defineMIME("text/html","htmlmixed")},"object"==typeof i&&"object"==typeof e?r(t("../../lib/codemirror"),t("../xml/xml"),t("../javascript/javascript"),t("../css/css")):"function"==typeof define&&define.amd?define(["../../lib/codemirror","../xml/xml","../javascript/javascript","../css/css"],r):r(CodeMirror)},{"../../lib/codemirror":12,"../css/css":14,"../javascript/javascript":16,"../xml/xml":18}],16:[function(t,e,i){var r;r=function(te){"use strict";te.defineMode("javascript",function(t,u){var r,n,e,i,o,s,a,l,f=t.indentUnit,d=u.statementIndent,c=u.jsonld,h=u.json||c,p=u.typescript,m=u.wordCharacters||/[\w$\xa1-\uffff]/,g=(e=y("keyword a"),i=y("keyword b"),o=y("keyword c"),s=y("keyword d"),a=y("operator"),l={type:"atom",style:"atom"},{if:y("if"),while:e,with:e,else:i,do:i,try:i,finally:i,return:s,break:s,continue:s,new:y("new"),delete:o,void:o,throw:o,debugger:y("debugger"),var:y("var"),const:y("var"),let:y("var"),function:y("function"),catch:y("catch"),for:y("for"),switch:y("switch"),case:y("case"),default:y("default"),in:a,typeof:a,instanceof:a,true:l,false:l,null:l,undefined:l,NaN:l,Infinity:l,this:y("this"),class:y("class"),super:y("atom"),yield:o,export:y("export"),import:y("import"),extends:o,await:o}),_=/[+\-*&%=<>!?|~^@]/,v=/^@(context|id|value|language|type|container|list|set|reverse|index|base|vocab|graph)"/;function y(t){return{type:t,style:"keyword"}}function x(t,e,i){return r=t,n=i,e}function T(t,e){var n,i=t.next();if('"'==i||"'"==i)return e.tokenize=(n=i,function(t,e){var i,r=!1;if(c&&"@"==t.peek()&&t.match(v))return e.tokenize=T,x("jsonld-keyword","meta");for(;null!=(i=t.next())&&(i!=n||r);)r=!r&&"\\"==i;return r||(e.tokenize=T),x("string","string")}),e.tokenize(t,e);if("."==i&&t.match(/^\d+(?:[eE][+\-]?\d+)?/))return x("number","number");if("."==i&&t.match(".."))return x("spread","meta");if(/[\[\]{}\(\),;\:\.]/.test(i))return x(i);if("="==i&&t.eat(">"))return x("=>","operator");if("0"==i&&t.match(/^(?:x[\da-f]+|o[0-7]+|b[01]+)n?/i))return x("number","number");if(/\d/.test(i))return t.match(/^\d*(?:n|(?:\.\d*)?(?:[eE][+\-]?\d+)?)?/),x("number","number");if("/"==i)return t.eat("*")?(e.tokenize=k)(t,e):t.eat("/")?(t.skipToEnd(),x("comment","comment")):Jt(t,e,1)?(function(t){for(var e,i=!1,r=!1;null!=(e=t.next());){if(!i){if("/"==e&&!r)return;"["==e?r=!0:r&&"]"==e&&(r=!1)}i=!i&&"\\"==e}}(t),t.match(/^\b(([gimyus])(?![gimyus]*\2))+\b/),x("regexp","string-2")):(t.eat("="),x("operator","operator",t.current()));if("`"==i)return(e.tokenize=b)(t,e);if("#"==i)return t.skipToEnd(),x("error","error");if(_.test(i))return">"==i&&e.lexical&&">"==e.lexical.type||(t.eat("=")?"!"!=i&&"="!=i||t.eat("="):/[<>*+\-]/.test(i)&&(t.eat(i),">"==i&&t.eat(i))),x("operator","operator",t.current());if(m.test(i)){t.eatWhile(m);var r=t.current();if("."!=e.lastType){if(g.propertyIsEnumerable(r)){var o=g[r];return x(o.type,o.style,r)}if("async"==r&&t.match(/^(\s|\/\*.*?\*\/)*[\[\(\w]/,!1))return x("async","keyword",r)}return x("variable","variable",r)}}function k(t,e){for(var i,r=!1;i=t.next();){if("/"==i&&r){e.tokenize=T;break}r="*"==i}return x("comment","comment")}function b(t,e){for(var i,r=!1;null!=(i=t.next());){if(!r&&("`"==i||"$"==i&&t.eat("{"))){e.tokenize=T;break}r=!r&&"\\"==i}return x("quasi","string-2",t.current())}var w="([{}])";function E(t,e){e.fatArrowAt&&(e.fatArrowAt=null);var i=t.string.indexOf("=>",t.start);if(!(i<0)){if(p){var r=/:\s*(?:\w+(?:<[^>]*>|\[\])?|\{[^}]*\})\s*$/.exec(t.string.slice(t.start,i));r&&(i=r.index)}for(var n=0,o=!1,s=i-1;0<=s;--s){var a=t.string.charAt(s),l=w.indexOf(a);if(0<=l&&l<3){if(!n){++s;break}if(0==--n){"("==a&&(o=!0);break}}else if(3<=l&&l<6)++n;else if(m.test(a))o=!0;else{if(/["'\/]/.test(a))return;if(o&&!n){++s;break}}}o&&!n&&(e.fatArrowAt=s)}}var C={atom:!0,number:!0,variable:!0,string:!0,regexp:!0,this:!0,"jsonld-keyword":!0};function S(t,e,i,r,n,o){this.indented=t,this.column=e,this.type=i,this.prev=n,this.info=o,null!=r&&(this.align=r)}function A(t,e){for(var i=t.localVars;i;i=i.next)if(i.name==e)return!0;for(var r=t.context;r;r=r.prev)for(i=r.vars;i;i=i.next)if(i.name==e)return!0}var L={state:null,column:null,marked:null,cc:null};function N(){for(var t=arguments.length-1;0<=t;t--)L.cc.push(arguments[t])}function O(){return N.apply(null,arguments),!0}function I(t,e){for(var i=e;i;i=i.next)if(i.name==t)return!0;return!1}function R(t){var e=L.state;if(L.marked="def",e.context)if("var"==e.lexical.info&&e.context&&e.context.block){var i=function t(e,i){if(i){if(i.block){var r=t(e,i.prev);return r?r==i.prev?i:new D(r,i.vars,!0):null}return I(e,i.vars)?i:new D(i.prev,new P(e,i.vars),!1)}return null}(t,e.context);if(null!=i)return void(e.context=i)}else if(!I(t,e.localVars))return void(e.localVars=new P(t,e.localVars));u.globalVars&&!I(t,e.globalVars)&&(e.globalVars=new P(t,e.globalVars))}function M(t){return"public"==t||"private"==t||"protected"==t||"abstract"==t||"readonly"==t}function D(t,e,i){this.prev=t,this.vars=e,this.block=i}function P(t,e){this.name=t,this.next=e}var B=new P("this",new P("arguments",null));function F(){L.state.context=new D(L.state.context,L.state.localVars,!1),L.state.localVars=B}function U(){L.state.context=new D(L.state.context,L.state.localVars,!0),L.state.localVars=null}function H(){L.state.localVars=L.state.context.vars,L.state.context=L.state.context.prev}function W(r,n){function t(){var t=L.state,e=t.indented;if("stat"==t.lexical.type)e=t.lexical.indented;else for(var i=t.lexical;i&&")"==i.type&&i.align;i=i.prev)e=i.indented;t.lexical=new S(e,L.stream.column(),r,null,t.lexical,n)}return t.lex=!0,t}function z(){var t=L.state;t.lexical.prev&&(")"==t.lexical.type&&(t.indented=t.lexical.indented),t.lexical=t.lexical.prev)}function q(i){return function t(e){return e==i?O():";"==i||"}"==e||")"==e||"]"==e?N():O(t)}}function G(t,e){return"var"==t?O(W("vardef",e),wt,q(";"),z):"keyword a"==t?O(W("form"),K,G,z):"keyword b"==t?O(W("form"),G,z):"keyword d"==t?L.stream.match(/^\s*$/,!1)?O():O(W("stat"),Q,q(";"),z):"debugger"==t?O(q(";")):"{"==t?O(W("}"),U,ft,z,H):";"==t?O():"if"==t?("else"==L.state.lexical.info&&L.state.cc[L.state.cc.length-1]==z&&L.state.cc.pop()(),O(W("form"),K,G,z,Nt)):"function"==t?O(Pt):"for"==t?O(W("form"),Ot,G,z):"class"==t||p&&"interface"==e?(L.marked="keyword",O(W("form"),Ut,z)):"variable"==t?p&&"declare"==e?(L.marked="keyword",O(G)):p&&("module"==e||"enum"==e||"type"==e)&&L.stream.match(/^\s*\w/,!1)?(L.marked="keyword","enum"==e?O(Xt):"type"==e?O(gt,q("operator"),gt,q(";")):O(W("form"),Et,q("{"),W("}"),ft,z,z)):p&&"namespace"==e?(L.marked="keyword",O(W("form"),V,ft,z)):p&&"abstract"==e?(L.marked="keyword",O(G)):O(W("stat"),ot):"switch"==t?O(W("form"),K,q("{"),W("}","switch"),U,ft,z,z,H):"case"==t?O(V,q(":")):"default"==t?O(q(":")):"catch"==t?O(W("form"),F,j,G,z,H):"export"==t?O(W("stat"),qt,z):"import"==t?O(W("stat"),jt,z):"async"==t?O(G):"@"==e?O(V,G):N(W("stat"),V,q(";"),z)}function j(t){if("("==t)return O(Bt,q(")"))}function V(t,e){return $(t,e,!1)}function Y(t,e){return $(t,e,!0)}function K(t){return"("!=t?N():O(W(")"),V,q(")"),z)}function $(t,e,i){if(L.state.fatArrowAt==L.stream.start){var r=i?it:et;if("("==t)return O(F,W(")"),ht(Bt,")"),z,q("=>"),r,H);if("variable"==t)return N(F,Et,q("=>"),r,H)}var n,o=i?Z:X;return C.hasOwnProperty(t)?O(o):"function"==t?O(Pt,o):"class"==t||p&&"interface"==e?(L.marked="keyword",O(W("form"),Ft,z)):"keyword c"==t||"async"==t?O(i?Y:V):"("==t?O(W(")"),Q,q(")"),z,o):"operator"==t||"spread"==t?O(i?Y:V):"["==t?O(W("]"),Qt,z,o):"{"==t?ut(at,"}",null,o):"quasi"==t?N(J,o):"new"==t?O((n=i,function(t){return"."==t?O(n?nt:rt):"variable"==t&&p?O(Tt,n?Z:X):N(n?Y:V)})):"import"==t?O(V):O()}function Q(t){return t.match(/[;\}\)\],]/)?N():N(V)}function X(t,e){return","==t?O(V):Z(t,e,!1)}function Z(t,e,i){var r=0==i?X:Z,n=0==i?V:Y;return"=>"==t?O(F,i?it:et,H):"operator"==t?/\+\+|--/.test(e)||p&&"!"==e?O(r):p&&"<"==e&&L.stream.match(/^([^>]|<.*?>)*>\s*\(/,!1)?O(W(">"),ht(gt,">"),z,r):"?"==e?O(V,q(":"),n):O(n):"quasi"==t?N(J,r):";"!=t?"("==t?ut(Y,")","call",r):"."==t?O(st,r):"["==t?O(W("]"),Q,q("]"),z,r):p&&"as"==e?(L.marked="keyword",O(gt,r)):"regexp"==t?(L.state.lastType=L.marked="operator",L.stream.backUp(L.stream.pos-L.stream.start-1),O(n)):void 0:void 0}function J(t,e){return"quasi"!=t?N():"${"!=e.slice(e.length-2)?O(J):O(V,tt)}function tt(t){if("}"==t)return L.marked="string-2",L.state.tokenize=b,O(J)}function et(t){return E(L.stream,L.state),N("{"==t?G:V)}function it(t){return E(L.stream,L.state),N("{"==t?G:Y)}function rt(t,e){if("target"==e)return L.marked="keyword",O(X)}function nt(t,e){if("target"==e)return L.marked="keyword",O(Z)}function ot(t){return":"==t?O(z,G):N(X,q(";"),z)}function st(t){if("variable"==t)return L.marked="property",O()}function at(t,e){if("async"==t)return L.marked="property",O(at);if("variable"==t||"keyword"==L.style){return L.marked="property","get"==e||"set"==e?O(lt):(p&&L.state.fatArrowAt==L.stream.start&&(i=L.stream.match(/^\s*:\s*/,!1))&&(L.state.fatArrowAt=L.stream.pos+i[0].length),O(ct));var i}else{if("number"==t||"string"==t)return L.marked=c?"property":L.style+" property",O(ct);if("jsonld-keyword"==t)return O(ct);if(p&&M(e))return L.marked="keyword",O(at);if("["==t)return O(V,dt,q("]"),ct);if("spread"==t)return O(Y,ct);if("*"==e)return L.marked="keyword",O(at);if(":"==t)return N(ct)}}function lt(t){return"variable"!=t?N(ct):(L.marked="property",O(Pt))}function ct(t){return":"==t?O(Y):"("==t?N(Pt):void 0}function ht(r,n,o){function s(t,e){if(o?-1<o.indexOf(t):","==t){var i=L.state.lexical;return"call"==i.info&&(i.pos=(i.pos||0)+1),O(function(t,e){return t==n||e==n?N():N(r)},s)}return t==n||e==n?O():O(q(n))}return function(t,e){return t==n||e==n?O():N(r,s)}}function ut(t,e,i){for(var r=3;r<arguments.length;r++)L.cc.push(arguments[r]);return O(W(e,i),ht(t,e),z)}function ft(t){return"}"==t?O():N(G,ft)}function dt(t,e){if(p){if(":"==t)return O(gt);if("?"==e)return O(dt)}}function pt(t){if(p&&":"==t)return L.stream.match(/^\s*\w+\s+is\b/,!1)?O(V,mt,gt):O(gt)}function mt(t,e){if("is"==e)return L.marked="keyword",O()}function gt(t,e){return"keyof"==e||"typeof"==e?(L.marked="keyword",O("keyof"==e?gt:Y)):"variable"==t||"void"==e?(L.marked="type",O(xt)):"string"==t||"number"==t||"atom"==t?O(xt):"["==t?O(W("]"),ht(gt,"]",","),z,xt):"{"==t?O(W("}"),ht(vt,"}",",;"),z,xt):"("==t?O(ht(yt,")"),_t):"<"==t?O(ht(gt,">"),gt):void 0}function _t(t){if("=>"==t)return O(gt)}function vt(t,e){return"variable"==t||"keyword"==L.style?(L.marked="property",O(vt)):"?"==e?O(vt):":"==t?O(gt):"["==t?O(V,dt,q("]"),vt):void 0}function yt(t,e){return"variable"==t&&L.stream.match(/^\s*[?:]/,!1)||"?"==e?O(yt):":"==t?O(gt):N(gt)}function xt(t,e){return"<"==e?O(W(">"),ht(gt,">"),z,xt):"|"==e||"."==t||"&"==e?O(gt):"["==t?O(q("]"),xt):"extends"==e||"implements"==e?(L.marked="keyword",O(gt)):void 0}function Tt(t,e){if("<"==e)return O(W(">"),ht(gt,">"),z,xt)}function kt(){return N(gt,bt)}function bt(t,e){if("="==e)return O(gt)}function wt(t,e){return"enum"==e?(L.marked="keyword",O(Xt)):N(Et,dt,At,Lt)}function Et(t,e){return p&&M(e)?(L.marked="keyword",O(Et)):"variable"==t?(R(e),O()):"spread"==t?O(Et):"["==t?ut(St,"]"):"{"==t?ut(Ct,"}"):void 0}function Ct(t,e){return"variable"!=t||L.stream.match(/^\s*:/,!1)?("variable"==t&&(L.marked="property"),"spread"==t?O(Et):"}"==t?N():"["==t?O(V,q("]"),q(":"),Ct):O(q(":"),Et,At)):(R(e),O(At))}function St(){return N(Et,At)}function At(t,e){if("="==e)return O(Y)}function Lt(t){if(","==t)return O(wt)}function Nt(t,e){if("keyword b"==t&&"else"==e)return O(W("form","else"),G,z)}function Ot(t,e){return"await"==e?O(Ot):"("==t?O(W(")"),It,q(")"),z):void 0}function It(t){return"var"==t?O(wt,q(";"),Mt):";"==t?O(Mt):"variable"==t?O(Rt):N(V,q(";"),Mt)}function Rt(t,e){return"in"==e||"of"==e?(L.marked="keyword",O(V)):O(X,Mt)}function Mt(t,e){return";"==t?O(Dt):"in"==e||"of"==e?(L.marked="keyword",O(V)):N(V,q(";"),Dt)}function Dt(t){")"!=t&&O(V)}function Pt(t,e){return"*"==e?(L.marked="keyword",O(Pt)):"variable"==t?(R(e),O(Pt)):"("==t?O(F,W(")"),ht(Bt,")"),z,pt,G,H):p&&"<"==e?O(W(">"),ht(kt,">"),z,Pt):void 0}function Bt(t,e){return"@"==e&&O(V,Bt),"spread"==t?O(Bt):p&&M(e)?(L.marked="keyword",O(Bt)):N(Et,dt,At)}function Ft(t,e){return"variable"==t?Ut(t,e):Ht(t,e)}function Ut(t,e){if("variable"==t)return R(e),O(Ht)}function Ht(t,e){return"<"==e?O(W(">"),ht(kt,">"),z,Ht):"extends"==e||"implements"==e||p&&","==t?("implements"==e&&(L.marked="keyword"),O(p?gt:V,Ht)):"{"==t?O(W("}"),Wt,z):void 0}function Wt(t,e){return"async"==t||"variable"==t&&("static"==e||"get"==e||"set"==e||p&&M(e))&&L.stream.match(/^\s+[\w$\xa1-\uffff]/,!1)?(L.marked="keyword",O(Wt)):"variable"==t||"keyword"==L.style?(L.marked="property",O(p?zt:Pt,Wt)):"["==t?O(V,dt,q("]"),p?zt:Pt,Wt):"*"==e?(L.marked="keyword",O(Wt)):";"==t?O(Wt):"}"==t?O():"@"==e?O(V,Wt):void 0}function zt(t,e){return"?"==e?O(zt):":"==t?O(gt,At):"="==e?O(Y):N(Pt)}function qt(t,e){return"*"==e?(L.marked="keyword",O($t,q(";"))):"default"==e?(L.marked="keyword",O(V,q(";"))):"{"==t?O(ht(Gt,"}"),$t,q(";")):N(G)}function Gt(t,e){return"as"==e?(L.marked="keyword",O(q("variable"))):"variable"==t?N(Y,Gt):void 0}function jt(t){return"string"==t?O():"("==t?N(V):N(Vt,Yt,$t)}function Vt(t,e){return"{"==t?ut(Vt,"}"):("variable"==t&&R(e),"*"==e&&(L.marked="keyword"),O(Kt))}function Yt(t){if(","==t)return O(Vt,Yt)}function Kt(t,e){if("as"==e)return L.marked="keyword",O(Vt)}function $t(t,e){if("from"==e)return L.marked="keyword",O(V)}function Qt(t){return"]"==t?O():N(ht(Y,"]"))}function Xt(){return N(W("form"),Et,q("{"),W("}"),ht(Zt,"}"),z,z)}function Zt(){return N(Et,At)}function Jt(t,e,i){return e.tokenize==T&&/^(?:operator|sof|keyword [bcd]|case|new|export|default|spread|[\[{}\(,;:]|=>)$/.test(e.lastType)||"quasi"==e.lastType&&/\{\s*$/.test(t.string.slice(0,t.pos-(i||0)))}return z.lex=H.lex=!0,{startState:function(t){var e={tokenize:T,lastType:"sof",cc:[],lexical:new S((t||0)-f,0,"block",!1),localVars:u.localVars,context:u.localVars&&new D(null,null,!1),indented:t||0};return u.globalVars&&"object"==typeof u.globalVars&&(e.globalVars=u.globalVars),e},token:function(t,e){if(t.sol()&&(e.lexical.hasOwnProperty("align")||(e.lexical.align=!1),e.indented=t.indentation(),E(t,e)),e.tokenize!=k&&t.eatSpace())return null;var i=e.tokenize(t,e);return"comment"==r?i:(e.lastType="operator"!=r||"++"!=n&&"--"!=n?r:"incdec",function(t,e,i,r,n){var o=t.cc;for(L.state=t,L.stream=n,L.marked=null,L.cc=o,L.style=e,t.lexical.hasOwnProperty("align")||(t.lexical.align=!0);;)if((o.length?o.pop():h?V:G)(i,r)){for(;o.length&&o[o.length-1].lex;)o.pop()();return L.marked?L.marked:"variable"==i&&A(t,r)?"variable-2":e}}(e,i,r,n,t))},indent:function(t,e){if(t.tokenize==k)return te.Pass;if(t.tokenize!=T)return 0;var i,r=e&&e.charAt(0),n=t.lexical;if(!/^\s*else\b/.test(e))for(var o=t.cc.length-1;0<=o;--o){var s=t.cc[o];if(s==z)n=n.prev;else if(s!=Nt)break}for(;("stat"==n.type||"form"==n.type)&&("}"==r||(i=t.cc[t.cc.length-1])&&(i==X||i==Z)&&!/^[,\.=+\-*:?[\(]/.test(e));)n=n.prev;d&&")"==n.type&&"stat"==n.prev.type&&(n=n.prev);var a,l,c=n.type,h=r==c;return"vardef"==c?n.indented+("operator"==t.lastType||","==t.lastType?n.info.length+1:0):"form"==c&&"{"==r?n.indented:"form"==c?n.indented+f:"stat"==c?n.indented+(l=e,"operator"==(a=t).lastType||","==a.lastType||_.test(l.charAt(0))||/[,.]/.test(l.charAt(0))?d||f:0):"switch"!=n.info||h||0==u.doubleIndentSwitch?n.align?n.column+(h?0:1):n.indented+(h?0:f):n.indented+(/^(?:case|default)\b/.test(e)?f:2*f)},electricInput:/^\s*(?:case .*?:|default:|\{|\})$/,blockCommentStart:h?null:"/*",blockCommentEnd:h?null:"*/",blockCommentContinue:h?null:" * ",lineComment:h?null:"//",fold:"brace",closeBrackets:"()[]{}''\"\"``",helperType:h?"json":"javascript",jsonldMode:c,jsonMode:h,expressionAllowed:Jt,skipExpression:function(t){var e=t.cc[t.cc.length-1];e!=V&&e!=Y||t.cc.pop()}}}),te.registerHelper("wordChars","javascript",/[\w$]/),te.defineMIME("text/javascript","javascript"),te.defineMIME("text/ecmascript","javascript"),te.defineMIME("application/javascript","javascript"),te.defineMIME("application/x-javascript","javascript"),te.defineMIME("application/ecmascript","javascript"),te.defineMIME("application/json",{name:"javascript",json:!0}),te.defineMIME("application/x-json",{name:"javascript",json:!0}),te.defineMIME("application/ld+json",{name:"javascript",jsonld:!0}),te.defineMIME("text/typescript",{name:"javascript",typescript:!0}),te.defineMIME("application/typescript",{name:"javascript",typescript:!0})},"object"==typeof i&&"object"==typeof e?r(t("../../lib/codemirror")):"function"==typeof define&&define.amd?define(["../../lib/codemirror"],r):r(CodeMirror)},{"../../lib/codemirror":12}],17:[function(t,e,i){var r;r=function(c){"use strict";function t(t){for(var e={},i=t.split(" "),r=0;r<i.length;++r)e[i[r]]=!0;return e}function a(n,o,s){return 0==n.length?l(o):function(t,e){for(var i=n[0],r=0;r<i.length;r++)if(t.match(i[r][0]))return e.tokenize=a(n.slice(1),o),i[r][1];return e.tokenize=l(o,s),"string"}}function l(i,r){return function(t,e){return function(t,e,i,r){if(!1!==r&&t.match("${",!1)||t.match("{$",!1))return e.tokenize=null,"string";if(!1!==r&&t.match(/^\$[a-zA-Z_][a-zA-Z0-9_]*/))return t.match("[",!1)&&(e.tokenize=a([[["[",null]],[[/\d[\w\.]*/,"number"],[/\$[a-zA-Z_][a-zA-Z0-9_]*/,"variable-2"],[/[\w\$]+/,"variable"]],[["]",null]]],i,r)),t.match(/\-\>\w/,!1)&&(e.tokenize=a([[["->",null]],[[/[\w]+/,"variable"]]],i,r)),"variable-2";for(var n=!1;!t.eol()&&(n||!1===r||!t.match("{$",!1)&&!t.match(/^(\$[a-zA-Z_][a-zA-Z0-9_]*|\$\{)/,!1));){if(!n&&t.match(i)){e.tokenize=null,e.tokStack.pop(),e.tokStack.pop();break}n="\\"==t.next()&&!n}return"string"}(t,e,i,r)}}var e="abstract and array as break case catch class clone const continue declare default do else elseif enddeclare endfor endforeach endif endswitch endwhile extends final for foreach function global goto if implements interface instanceof namespace new or private protected public static switch throw trait try use var while xor die echo empty exit eval include include_once isset list require require_once return print unset __halt_compiler self static parent yield insteadof finally",i="true false null TRUE FALSE NULL __CLASS__ __DIR__ __FILE__ __LINE__ __METHOD__ __FUNCTION__ __NAMESPACE__ __TRAIT__",r="func_num_args func_get_arg func_get_args strlen strcmp strncmp strcasecmp strncasecmp each error_reporting define defined trigger_error user_error set_error_handler restore_error_handler get_declared_classes get_loaded_extensions extension_loaded get_extension_funcs debug_backtrace constant bin2hex hex2bin sleep usleep time mktime gmmktime strftime gmstrftime strtotime date gmdate getdate localtime checkdate flush wordwrap htmlspecialchars htmlentities html_entity_decode md5 md5_file crc32 getimagesize image_type_to_mime_type phpinfo phpversion phpcredits strnatcmp strnatcasecmp substr_count strspn strcspn strtok strtoupper strtolower strpos strrpos strrev hebrev hebrevc nl2br basename dirname pathinfo stripslashes stripcslashes strstr stristr strrchr str_shuffle str_word_count strcoll substr substr_replace quotemeta ucfirst ucwords strtr addslashes addcslashes rtrim str_replace str_repeat count_chars chunk_split trim ltrim strip_tags similar_text explode implode setlocale localeconv parse_str str_pad chop strchr sprintf printf vprintf vsprintf sscanf fscanf parse_url urlencode urldecode rawurlencode rawurldecode readlink linkinfo link unlink exec system escapeshellcmd escapeshellarg passthru shell_exec proc_open proc_close rand srand getrandmax mt_rand mt_srand mt_getrandmax base64_decode base64_encode abs ceil floor round is_finite is_nan is_infinite bindec hexdec octdec decbin decoct dechex base_convert number_format fmod ip2long long2ip getenv putenv getopt microtime gettimeofday getrusage uniqid quoted_printable_decode set_time_limit get_cfg_var magic_quotes_runtime set_magic_quotes_runtime get_magic_quotes_gpc get_magic_quotes_runtime import_request_variables error_log serialize unserialize memory_get_usage var_dump var_export debug_zval_dump print_r highlight_file show_source highlight_string ini_get ini_get_all ini_set ini_alter ini_restore get_include_path set_include_path restore_include_path setcookie header headers_sent connection_aborted connection_status ignore_user_abort parse_ini_file is_uploaded_file move_uploaded_file intval floatval doubleval strval gettype settype is_null is_resource is_bool is_long is_float is_int is_integer is_double is_real is_numeric is_string is_array is_object is_scalar ereg ereg_replace eregi eregi_replace split spliti join sql_regcase dl pclose popen readfile rewind rmdir umask fclose feof fgetc fgets fgetss fread fopen fpassthru ftruncate fstat fseek ftell fflush fwrite fputs mkdir rename copy tempnam tmpfile file file_get_contents file_put_contents stream_select stream_context_create stream_context_set_params stream_context_set_option stream_context_get_options stream_filter_prepend stream_filter_append fgetcsv flock get_meta_tags stream_set_write_buffer set_file_buffer set_socket_blocking stream_set_blocking socket_set_blocking stream_get_meta_data stream_register_wrapper stream_wrapper_register stream_set_timeout socket_set_timeout socket_get_status realpath fnmatch fsockopen pfsockopen pack unpack get_browser crypt opendir closedir chdir getcwd rewinddir readdir dir glob fileatime filectime filegroup fileinode filemtime fileowner fileperms filesize filetype file_exists is_writable is_writeable is_readable is_executable is_file is_dir is_link stat lstat chown touch clearstatcache mail ob_start ob_flush ob_clean ob_end_flush ob_end_clean ob_get_flush ob_get_clean ob_get_length ob_get_level ob_get_status ob_get_contents ob_implicit_flush ob_list_handlers ksort krsort natsort natcasesort asort arsort sort rsort usort uasort uksort shuffle array_walk count end prev next reset current key min max in_array array_search extract compact array_fill range array_multisort array_push array_pop array_shift array_unshift array_splice array_slice array_merge array_merge_recursive array_keys array_values array_count_values array_reverse array_reduce array_pad array_flip array_change_key_case array_rand array_unique array_intersect array_intersect_assoc array_diff array_diff_assoc array_sum array_filter array_map array_chunk array_key_exists array_intersect_key array_combine array_column pos sizeof key_exists assert assert_options version_compare ftok str_rot13 aggregate session_name session_module_name session_save_path session_id session_regenerate_id session_decode session_register session_unregister session_is_registered session_encode session_start session_destroy session_unset session_set_save_handler session_cache_limiter session_cache_expire session_set_cookie_params session_get_cookie_params session_write_close preg_match preg_match_all preg_replace preg_replace_callback preg_split preg_quote preg_grep overload ctype_alnum ctype_alpha ctype_cntrl ctype_digit ctype_lower ctype_graph ctype_print ctype_punct ctype_space ctype_upper ctype_xdigit virtual apache_request_headers apache_note apache_lookup_uri apache_child_terminate apache_setenv apache_response_headers apache_get_version getallheaders mysql_connect mysql_pconnect mysql_close mysql_select_db mysql_create_db mysql_drop_db mysql_query mysql_unbuffered_query mysql_db_query mysql_list_dbs mysql_list_tables mysql_list_fields mysql_list_processes mysql_error mysql_errno mysql_affected_rows mysql_insert_id mysql_result mysql_num_rows mysql_num_fields mysql_fetch_row mysql_fetch_array mysql_fetch_assoc mysql_fetch_object mysql_data_seek mysql_fetch_lengths mysql_fetch_field mysql_field_seek mysql_free_result mysql_field_name mysql_field_table mysql_field_len mysql_field_type mysql_field_flags mysql_escape_string mysql_real_escape_string mysql_stat mysql_thread_id mysql_client_encoding mysql_get_client_info mysql_get_host_info mysql_get_proto_info mysql_get_server_info mysql_info mysql mysql_fieldname mysql_fieldtable mysql_fieldlen mysql_fieldtype mysql_fieldflags mysql_selectdb mysql_createdb mysql_dropdb mysql_freeresult mysql_numfields mysql_numrows mysql_listdbs mysql_listtables mysql_listfields mysql_db_name mysql_dbname mysql_tablename mysql_table_name pg_connect pg_pconnect pg_close pg_connection_status pg_connection_busy pg_connection_reset pg_host pg_dbname pg_port pg_tty pg_options pg_ping pg_query pg_send_query pg_cancel_query pg_fetch_result pg_fetch_row pg_fetch_assoc pg_fetch_array pg_fetch_object pg_fetch_all pg_affected_rows pg_get_result pg_result_seek pg_result_status pg_free_result pg_last_oid pg_num_rows pg_num_fields pg_field_name pg_field_num pg_field_size pg_field_type pg_field_prtlen pg_field_is_null pg_get_notify pg_get_pid pg_result_error pg_last_error pg_last_notice pg_put_line pg_end_copy pg_copy_to pg_copy_from pg_trace pg_untrace pg_lo_create pg_lo_unlink pg_lo_open pg_lo_close pg_lo_read pg_lo_write pg_lo_read_all pg_lo_import pg_lo_export pg_lo_seek pg_lo_tell pg_escape_string pg_escape_bytea pg_unescape_bytea pg_client_encoding pg_set_client_encoding pg_meta_data pg_convert pg_insert pg_update pg_delete pg_select pg_exec pg_getlastoid pg_cmdtuples pg_errormessage pg_numrows pg_numfields pg_fieldname pg_fieldsize pg_fieldtype pg_fieldnum pg_fieldprtlen pg_fieldisnull pg_freeresult pg_result pg_loreadall pg_locreate pg_lounlink pg_loopen pg_loclose pg_loread pg_lowrite pg_loimport pg_loexport http_response_code get_declared_traits getimagesizefromstring socket_import_stream stream_set_chunk_size trait_exists header_register_callback class_uses session_status session_register_shutdown echo print global static exit array empty eval isset unset die include require include_once require_once json_decode json_encode json_last_error json_last_error_msg curl_close curl_copy_handle curl_errno curl_error curl_escape curl_exec curl_file_create curl_getinfo curl_init curl_multi_add_handle curl_multi_close curl_multi_exec curl_multi_getcontent curl_multi_info_read curl_multi_init curl_multi_remove_handle curl_multi_select curl_multi_setopt curl_multi_strerror curl_pause curl_reset curl_setopt_array curl_setopt curl_share_close curl_share_init curl_share_setopt curl_strerror curl_unescape curl_version mysqli_affected_rows mysqli_autocommit mysqli_change_user mysqli_character_set_name mysqli_close mysqli_commit mysqli_connect_errno mysqli_connect_error mysqli_connect mysqli_data_seek mysqli_debug mysqli_dump_debug_info mysqli_errno mysqli_error_list mysqli_error mysqli_fetch_all mysqli_fetch_array mysqli_fetch_assoc mysqli_fetch_field_direct mysqli_fetch_field mysqli_fetch_fields mysqli_fetch_lengths mysqli_fetch_object mysqli_fetch_row mysqli_field_count mysqli_field_seek mysqli_field_tell mysqli_free_result mysqli_get_charset mysqli_get_client_info mysqli_get_client_stats mysqli_get_client_version mysqli_get_connection_stats mysqli_get_host_info mysqli_get_proto_info mysqli_get_server_info mysqli_get_server_version mysqli_info mysqli_init mysqli_insert_id mysqli_kill mysqli_more_results mysqli_multi_query mysqli_next_result mysqli_num_fields mysqli_num_rows mysqli_options mysqli_ping mysqli_prepare mysqli_query mysqli_real_connect mysqli_real_escape_string mysqli_real_query mysqli_reap_async_query mysqli_refresh mysqli_rollback mysqli_select_db mysqli_set_charset mysqli_set_local_infile_default mysqli_set_local_infile_handler mysqli_sqlstate mysqli_ssl_set mysqli_stat mysqli_stmt_init mysqli_store_result mysqli_thread_id mysqli_thread_safe mysqli_use_result mysqli_warning_count";c.registerHelper("hintWords","php",[e,i,r].join(" ").split(" ")),c.registerHelper("wordChars","php",/[\w$]/);var n={name:"clike",helperType:"php",keywords:t(e),blockKeywords:t("catch do else elseif for foreach if switch try while finally"),defKeywords:t("class function interface namespace trait"),atoms:t(i),builtin:t(r),multiLineStrings:!0,hooks:{$:function(t){return t.eatWhile(/[\w\$_]/),"variable-2"},"<":function(t,e){var i;if(i=t.match(/<<\s*/)){var r=t.eat(/['"]/);t.eatWhile(/[\w\.]/);var n=t.current().slice(i[0].length+(r?2:1));if(r&&t.eat(r),n)return(e.tokStack||(e.tokStack=[])).push(n,0),e.tokenize=l(n,"'"!=r),"string"}return!1},"#":function(t){for(;!t.eol()&&!t.match("?>",!1);)t.next();return"comment"},"/":function(t){if(t.eat("/")){for(;!t.eol()&&!t.match("?>",!1);)t.next();return"comment"}return!1},'"':function(t,e){return(e.tokStack||(e.tokStack=[])).push('"',0),e.tokenize=l('"'),"string"},"{":function(t,e){return e.tokStack&&e.tokStack.length&&e.tokStack[e.tokStack.length-1]++,!1},"}":function(t,e){return e.tokStack&&0<e.tokStack.length&&!--e.tokStack[e.tokStack.length-1]&&(e.tokenize=l(e.tokStack[e.tokStack.length-2])),!1}}};c.defineMode("php",function(t,i){var a=c.getMode(t,i&&i.htmlMode||"text/html"),l=c.getMode(t,n);return{startState:function(){var t=c.startState(a),e=i.startOpen?c.startState(l):null;return{html:t,php:e,curMode:i.startOpen?l:a,curState:i.startOpen?e:t,pending:null}},copyState:function(t){var e,i=t.html,r=c.copyState(a,i),n=t.php,o=n&&c.copyState(l,n);return e=t.curMode==a?r:o,{html:r,php:o,curMode:t.curMode,curState:e,pending:t.pending}},token:function(t,e){var i=e.curMode==l;if(t.sol()&&e.pending&&'"'!=e.pending&&"'"!=e.pending&&(e.pending=null),i)return i&&null==e.php.tokenize&&t.match("?>")?(e.curMode=a,e.curState=e.html,e.php.context.prev||(e.php=null),"meta"):l.token(t,e.curState);if(t.match(/^<\?\w*/))return e.curMode=l,e.php||(e.php=c.startState(l,a.indent(e.html,""))),e.curState=e.php,"meta";if('"'==e.pending||"'"==e.pending){for(;!t.eol()&&t.next()!=e.pending;);var r="string"}else r=e.pending&&t.pos<e.pending.end?(t.pos=e.pending.end,e.pending.style):a.token(t,e.curState);e.pending&&(e.pending=null);var n,o=t.current(),s=o.search(/<\?/);return-1!=s&&("string"==r&&(n=o.match(/[\'\"]$/))&&!/\?>/.test(o)?e.pending=n[0]:e.pending={end:t.pos,style:r},t.backUp(o.length-s)),r},indent:function(t,e){return t.curMode!=l&&/^\s*<\//.test(e)||t.curMode==l&&/^\?>/.test(e)?a.indent(t.html,e):t.curMode.indent(t.curState,e)},blockCommentStart:"/*",blockCommentEnd:"*/",lineComment:"//",innerMode:function(t){return{state:t.curState,mode:t.curMode}}}},"htmlmixed","clike"),c.defineMIME("application/x-httpd-php","php"),c.defineMIME("application/x-httpd-php-open",{name:"php",startOpen:!0}),c.defineMIME("text/x-php",n)},"object"==typeof i&&"object"==typeof e?r(t("../../lib/codemirror"),t("../htmlmixed/htmlmixed"),t("../clike/clike")):"function"==typeof define&&define.amd?define(["../../lib/codemirror","../htmlmixed/htmlmixed","../clike/clike"],r):r(CodeMirror)},{"../../lib/codemirror":12,"../clike/clike":13,"../htmlmixed/htmlmixed":15}],18:[function(t,e,i){var r;r=function(b){"use strict";var w={autoSelfClosers:{area:!0,base:!0,br:!0,col:!0,command:!0,embed:!0,frame:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0,menuitem:!0},implicitlyClosed:{dd:!0,li:!0,optgroup:!0,option:!0,p:!0,rp:!0,rt:!0,tbody:!0,td:!0,tfoot:!0,th:!0,tr:!0},contextGrabbers:{dd:{dd:!0,dt:!0},dt:{dd:!0,dt:!0},li:{li:!0},option:{option:!0,optgroup:!0},optgroup:{optgroup:!0},p:{address:!0,article:!0,aside:!0,blockquote:!0,dir:!0,div:!0,dl:!0,fieldset:!0,footer:!0,form:!0,h1:!0,h2:!0,h3:!0,h4:!0,h5:!0,h6:!0,header:!0,hgroup:!0,hr:!0,menu:!0,nav:!0,ol:!0,p:!0,pre:!0,section:!0,table:!0,ul:!0},rp:{rp:!0,rt:!0},rt:{rp:!0,rt:!0},tbody:{tbody:!0,tfoot:!0},td:{td:!0,th:!0},tfoot:{tbody:!0},th:{td:!0,th:!0},thead:{tbody:!0,tfoot:!0},tr:{tr:!0}},doNotIndent:{pre:!0},allowUnquoted:!0,allowMissing:!0,caseFold:!0},E={autoSelfClosers:{},implicitlyClosed:{},contextGrabbers:{},doNotIndent:{},allowUnquoted:!1,allowMissing:!1,allowMissingTagName:!1,caseFold:!1};b.defineMode("xml",function(t,e){var s,o,a=t.indentUnit,l={},i=e.htmlMode?w:E;for(var r in i)l[r]=i[r];for(var r in e)l[r]=e[r];function c(e,i){function t(t){return(i.tokenize=t)(e,i)}var r=e.next();return"<"==r?e.eat("!")?e.eat("[")?e.match("CDATA[")?t(n("atom","]]>")):null:e.match("--")?t(n("comment","--\x3e")):e.match("DOCTYPE",!0,!0)?(e.eatWhile(/[\w\._\-]/),t(function r(n){return function(t,e){for(var i;null!=(i=t.next());){if("<"==i)return e.tokenize=r(n+1),e.tokenize(t,e);if(">"==i){if(1!=n)return e.tokenize=r(n-1),e.tokenize(t,e);e.tokenize=c;break}}return"meta"}}(1))):null:e.eat("?")?(e.eatWhile(/[\w\._\-]/),i.tokenize=n("meta","?>"),"meta"):(s=e.eat("/")?"closeTag":"openTag",i.tokenize=h,"tag bracket"):"&"!=r?(e.eatWhile(/[^&<]/),null):(e.eat("#")?e.eat("x")?e.eatWhile(/[a-fA-F\d]/)&&e.eat(";"):e.eatWhile(/[\d]/)&&e.eat(";"):e.eatWhile(/[\w\.\-:]/)&&e.eat(";"))?"atom":"error"}function h(t,e){var i=t.next();if(">"==i||"/"==i&&t.eat(">"))return e.tokenize=c,s=">"==i?"endTag":"selfcloseTag","tag bracket";if("="==i)return s="equals",null;if("<"!=i)return/[\'\"]/.test(i)?(e.tokenize=(r=i,(n=function(t,e){for(;!t.eol();)if(t.next()==r){e.tokenize=h;break}return"string"}).isInAttribute=!0,n),e.stringStartCol=t.column(),e.tokenize(t,e)):(t.match(/^[^\s\u00a0=<>\"\']*[^\s\u00a0=<>\"\'\/]/),"word");e.tokenize=c,e.state=p,e.tagName=e.tagStart=null;var r,n,o=e.tokenize(t,e);return o?o+" tag error":"tag error"}function n(i,r){return function(t,e){for(;!t.eol();){if(t.match(r)){e.tokenize=c;break}t.next()}return i}}function u(t,e,i){this.prev=t.context,this.tagName=e,this.indent=t.indented,this.startOfLine=i,(l.doNotIndent.hasOwnProperty(e)||t.context&&t.context.noIndent)&&(this.noIndent=!0)}function f(t){t.context&&(t.context=t.context.prev)}function d(t,e){for(var i;;){if(!t.context)return;if(i=t.context.tagName,!l.contextGrabbers.hasOwnProperty(i)||!l.contextGrabbers[i].hasOwnProperty(e))return;f(t)}}function p(t,e,i){return"openTag"==t?(i.tagStart=e.column(),m):"closeTag"==t?g:p}function m(t,e,i){return"word"==t?(i.tagName=e.current(),o="tag",y):l.allowMissingTagName&&"endTag"==t?(o="tag bracket",y(t,e,i)):(o="error",m)}function g(t,e,i){if("word"!=t)return l.allowMissingTagName&&"endTag"==t?(o="tag bracket",_(t,e,i)):(o="error",v);var r=e.current();return i.context&&i.context.tagName!=r&&l.implicitlyClosed.hasOwnProperty(i.context.tagName)&&f(i),i.context&&i.context.tagName==r||!1===l.matchClosing?(o="tag",_):(o="tag error",v)}function _(t,e,i){return"endTag"!=t?(o="error",_):(f(i),p)}function v(t,e,i){return o="error",_(t,0,i)}function y(t,e,i){if("word"==t)return o="attribute",x;if("endTag"!=t&&"selfcloseTag"!=t)return o="error",y;var r=i.tagName,n=i.tagStart;return i.tagName=i.tagStart=null,"selfcloseTag"==t||l.autoSelfClosers.hasOwnProperty(r)?d(i,r):(d(i,r),i.context=new u(i,r,n==i.indented)),p}function x(t,e,i){return"equals"==t?T:(l.allowMissing||(o="error"),y(t,0,i))}function T(t,e,i){return"string"==t?k:"word"==t&&l.allowUnquoted?(o="string",y):(o="error",y(t,0,i))}function k(t,e,i){return"string"==t?k:y(t,0,i)}return c.isInText=!0,{startState:function(t){var e={tokenize:c,state:p,indented:t||0,tagName:null,tagStart:null,context:null};return null!=t&&(e.baseIndent=t),e},token:function(t,e){if(!e.tagName&&t.sol()&&(e.indented=t.indentation()),t.eatSpace())return null;s=null;var i=e.tokenize(t,e);return(i||s)&&"comment"!=i&&(o=null,e.state=e.state(s||i,t,e),o&&(i="error"==o?i+" error":o)),i},indent:function(t,e,i){var r=t.context;if(t.tokenize.isInAttribute)return t.tagStart==t.indented?t.stringStartCol+1:t.indented+a;if(r&&r.noIndent)return b.Pass;if(t.tokenize!=h&&t.tokenize!=c)return i?i.match(/^(\s*)/)[0].length:0;if(t.tagName)return!1!==l.multilineTagIndentPastTag?t.tagStart+t.tagName.length+2:t.tagStart+a*(l.multilineTagIndentFactor||1);if(l.alignCDATA&&/<!\[CDATA\[/.test(e))return 0;var n=e&&/^<(\/)?([\w_:\.-]*)/.exec(e);if(n&&n[1])for(;r;){if(r.tagName==n[2]){r=r.prev;break}if(!l.implicitlyClosed.hasOwnProperty(r.tagName))break;r=r.prev}else if(n)for(;r;){var o=l.contextGrabbers[r.tagName];if(!o||!o.hasOwnProperty(n[2]))break;r=r.prev}for(;r&&r.prev&&!r.startOfLine;)r=r.prev;return r?r.indent+a:t.baseIndent||0},electricInput:/<\/[\s\w:]+>$/,blockCommentStart:"\x3c!--",blockCommentEnd:"--\x3e",configuration:l.htmlMode?"html":"xml",helperType:l.htmlMode?"html":"xml",skipAttribute:function(t){t.state==T&&(t.state=y)}}}),b.defineMIME("text/xml","xml"),b.defineMIME("application/xml","xml"),b.mimeModes.hasOwnProperty("text/html")||b.defineMIME("text/html",{name:"xml",htmlMode:!0})},"object"==typeof i&&"object"==typeof e?r(t("../../lib/codemirror")):"function"==typeof define&&define.amd?define(["../../lib/codemirror"],r):r(CodeMirror)},{"../../lib/codemirror":12}],19:[function(NIa,OIa,PIa){var RIa,SIa;RIa=window,SIa=function(){return(vEa=[function(t,e,i){"use strict";var r=i(2);t.exports=r.extends("statement",function(t,e,i){r.apply(this,[t||"statement",e,i])})},function(t,e,i){"use strict";var r=i(2),n="expression";t.exports=r.extends(n,function(t,e,i){r.apply(this,[t||n,e,i])})},function(t,e,i){"use strict";function r(t,e,i){this.kind=t,e&&(this.leadingComments=e),i&&(this.loc=i)}r.prototype.setTrailingComments=function(t){this.trailingComments=t},r.prototype.includeToken=function(t){return this.loc&&(this.loc.end&&(this.loc.end.line=t.lexer.yylloc.last_line,this.loc.end.column=t.lexer.yylloc.last_column,this.loc.end.offset=t.lexer.offset),t.ast.withSource&&(this.loc.source=t.lexer._input.substring(this.loc.start.offset,t.lexer.offset))),this},r.extends=function(t,e){return e.prototype=Object.create(this.prototype),e.extends=this.extends,(e.prototype.constructor=e).kind=t,e},t.exports=r},function(t,e,i){"use strict";var o=i(1);t.exports=o.extends("literal",function(t,e,i,r,n){o.apply(this,[t||"literal",r,n]),this.value=e,i&&(this.raw=i)})},function(t,e,i){"use strict";var n=i(0),o="declaration",r=n.extends(o,function(t,e,i,r){n.apply(this,[t||o,i,r]),this.name=e});r.prototype.parseFlags=function(t){this.isAbstract=1===t[2],this.isFinal=2===t[2],"class"!==this.kind&&(-1===t[0]?this.visibility="":null===t[0]?this.visibility=null:0===t[0]?this.visibility="public":1===t[0]?this.visibility="protected":2===t[0]&&(this.visibility="private"),this.isStatic=1===t[1])},t.exports=r},function(t,e,i){"use strict";var r=i(1);t.exports=r.extends("operation",function(t,e,i){r.apply(this,[t||"operation",e,i])})},function(t,e,i){"use strict";var r=i(2),n=r.extends("reference",function(t,e,i){r.apply(this,[t||"reference",e,i])});t.exports=n},function(t,e,i){"use strict";var n=i(0);t.exports=n.extends("block",function(t,e,i,r){n.apply(this,[t||"block",i,r]),this.children=e.filter(Boolean)})},function(t,e,i){"use strict";var o=i(1);t.exports=o.extends("lookup",function(t,e,i,r,n){o.apply(this,[t||"lookup",r,n]),this.what=e,this.offset=i})},function(t,e,i){"use strict";var n=i(2);t.exports=n.extends("comment",function(t,e,i,r){n.apply(this,[t,i,r]),this.value=e})},function(t,e,i){"use strict";var n=i(0),o="constantstatement";t.exports=n.extends(o,function(t,e,i,r){n.apply(this,[t||o,i,r]),this.items=e})},function(t,e,i){"use strict";var a=i(4);t.exports=a.extends("function",function(t,e,i,r,n,o,s){a.apply(this,["function",t,o,s]),this.arguments=e,this.byref=i,this.type=r,this.nullable=n,this.body=null})},function(t,e,h){"use strict";(function(e){var s="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},i=h(18),r=h(28),n=h(44),o=h(45);function a(t,e){for(var i=Object.keys(t),r=i.length;r--;){var n=i[r],o=t[n];null===o?delete e[n]:"function"==typeof o?e[n]=o.bind(e):Array.isArray(o)?e[n]=Array.isArray(e[n])?e[n].concat(o):o:"object"===(void 0===o?"undefined":s(o))?e[n]="object"===s(e[n])?a(o,e[n]):o:e[n]=o}return e}function l(t){if("function"==typeof this)return new this(t);this.tokens=n,this.lexer=new i(this),this.ast=new o,this.parser=new r(this.lexer,this.ast),t&&"object"===(void 0===t?"undefined":s(t))&&(t.parser&&!1===t.parser.php7&&(t.lexer||(t.lexer={}),t.lexer.php7=!1),a(t,this))}function c(t){return e.isBuffer(t)?t.toString():t}l.create=function(t){return new l(t)},l.parseEval=function(t,e){return new l(e).parseEval(t)},l.prototype.parseEval=function(t){return this.lexer.mode_eval=!0,this.lexer.all_tokens=!1,t=c(t),this.parser.parse(t,"eval")},l.parseCode=function(t,e,i){return"object"!==(void 0===e?"undefined":s(e))||i||(i=e,e="unknown"),new l(i).parseCode(t,e)},l.prototype.parseCode=function(t,e){return this.lexer.mode_eval=!1,this.lexer.all_tokens=!1,t=c(t),this.parser.parse(t,e)},l.tokenGetAll=function(t,e){return new l(e).tokenGetAll(t)},l.prototype.tokenGetAll=function(t){this.lexer.mode_eval=!1,this.lexer.all_tokens=!0,t=c(t);var e=this.lexer.EOF,i=this.tokens.values;this.lexer.setInput(t);for(var r=this.lexer.lex()||e,n=[];r!=e;){var o=this.lexer.yytext;i.hasOwnProperty(r)&&(o=[i[r],o,this.lexer.yylloc.first_line]),n.push(o),r=this.lexer.lex()||e}return n},t.exports=l,t.exports.tokens=n,t.exports.lexer=i,t.exports.AST=o,t.exports.parser=r,t.exports.combine=a,t.exports.default=l}).call(this,h(13).Buffer)},function(t,P,e){"use strict";(function(t){var a=e(15),o=e(16),s=e(17);function i(){return u.TYPED_ARRAY_SUPPORT?2147483647:1073741823}function l(t,e){if(i()<e)throw new RangeError("Invalid typed array length");return u.TYPED_ARRAY_SUPPORT?(t=new Uint8Array(e)).__proto__=u.prototype:(null===t&&(t=new u(e)),t.length=e),t}function u(t,e,i){if(!(u.TYPED_ARRAY_SUPPORT||this instanceof u))return new u(t,e,i);if("number"!=typeof t)return r(this,t,e,i);if("string"==typeof e)throw new Error("If encoding is specified then the first argument must be a string");return n(this,t)}function r(t,e,i,r){if("number"==typeof e)throw new TypeError('"value" argument must not be a number');return"undefined"!=typeof ArrayBuffer&&e instanceof ArrayBuffer?function(t,e,i,r){if(e.byteLength,i<0||e.byteLength<i)throw new RangeError("'offset' is out of bounds");if(e.byteLength<i+(r||0))throw new RangeError("'length' is out of bounds");return e=void 0===i&&void 0===r?new Uint8Array(e):void 0===r?new Uint8Array(e,i):new Uint8Array(e,i,r),u.TYPED_ARRAY_SUPPORT?(t=e).__proto__=u.prototype:t=h(t,e),t}(t,e,i,r):"string"==typeof e?function(t,e,i){if("string"==typeof i&&""!==i||(i="utf8"),!u.isEncoding(i))throw new TypeError('"encoding" must be a valid string encoding');var r=0|d(e,i),n=(t=l(t,r)).write(e,i);return n!==r&&(t=t.slice(0,n)),t}(t,e,i):function(t,e){if(u.isBuffer(e)){var i=0|f(e.length);return 0===(t=l(t,i)).length||e.copy(t,0,0,i),t}if(e){if("undefined"!=typeof ArrayBuffer&&e.buffer instanceof ArrayBuffer||"length"in e)return"number"!=typeof e.length||(r=e.length)!=r?l(t,0):h(t,e);if("Buffer"===e.type&&s(e.data))return h(t,e.data)}var r;throw new TypeError("First argument must be a string, Buffer, ArrayBuffer, Array, or array-like object.")}(t,e)}function c(t){if("number"!=typeof t)throw new TypeError('"size" argument must be a number');if(t<0)throw new RangeError('"size" argument must not be negative')}function n(t,e){if(c(e),t=l(t,e<0?0:0|f(e)),!u.TYPED_ARRAY_SUPPORT)for(var i=0;i<e;++i)t[i]=0;return t}function h(t,e){var i=e.length<0?0:0|f(e.length);t=l(t,i);for(var r=0;r<i;r+=1)t[r]=255&e[r];return t}function f(t){if(t>=i())throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+i().toString(16)+" bytes");return 0|t}function d(t,e){if(u.isBuffer(t))return t.length;if("undefined"!=typeof ArrayBuffer&&"function"==typeof ArrayBuffer.isView&&(ArrayBuffer.isView(t)||t instanceof ArrayBuffer))return t.byteLength;"string"!=typeof t&&(t=""+t);var i=t.length;if(0===i)return 0;for(var r=!1;;)switch(e){case"ascii":case"latin1":case"binary":return i;case"utf8":case"utf-8":case void 0:return R(t).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*i;case"hex":return i>>>1;case"base64":return M(t).length;default:if(r)return R(t).length;e=(""+e).toLowerCase(),r=!0}}function p(t,e,i){var r=t[e];t[e]=t[i],t[i]=r}function m(t,e,i,r,n){if(0===t.length)return-1;if("string"==typeof i?(r=i,i=0):2147483647<i?i=2147483647:i<-2147483648&&(i=-2147483648),i=+i,isNaN(i)&&(i=n?0:t.length-1),i<0&&(i=t.length+i),i>=t.length){if(n)return-1;i=t.length-1}else if(i<0){if(!n)return-1;i=0}if("string"==typeof e&&(e=u.from(e,r)),u.isBuffer(e))return 0===e.length?-1:g(t,e,i,r,n);if("number"==typeof e)return e&=255,u.TYPED_ARRAY_SUPPORT&&"function"==typeof Uint8Array.prototype.indexOf?n?Uint8Array.prototype.indexOf.call(t,e,i):Uint8Array.prototype.lastIndexOf.call(t,e,i):g(t,[e],i,r,n);throw new TypeError("val must be string, number or Buffer")}function g(t,e,i,r,n){var o,s=1,a=t.length,l=e.length;if(void 0!==r&&("ucs2"===(r=String(r).toLowerCase())||"ucs-2"===r||"utf16le"===r||"utf-16le"===r)){if(t.length<2||e.length<2)return-1;a/=s=2,l/=2,i/=2}function c(t,e){return 1===s?t[e]:t.readUInt16BE(e*s)}if(n){var h=-1;for(o=i;o<a;o++)if(c(t,o)===c(e,-1===h?0:o-h)){if(-1===h&&(h=o),o-h+1===l)return h*s}else-1!==h&&(o-=o-h),h=-1}else for(a<i+l&&(i=a-l),o=i;0<=o;o--){for(var u=!0,f=0;f<l;f++)if(c(t,o+f)!==c(e,f)){u=!1;break}if(u)return o}return-1}function _(t,e,i,r){i=Number(i)||0;var n=t.length-i;r?n<(r=Number(r))&&(r=n):r=n;var o=e.length;if(o%2!=0)throw new TypeError("Invalid hex string");o/2<r&&(r=o/2);for(var s=0;s<r;++s){var a=parseInt(e.substr(2*s,2),16);if(isNaN(a))return s;t[i+s]=a}return s}function v(t,e,i,r){return D(function(t){for(var e=[],i=0;i<t.length;++i)e.push(255&t.charCodeAt(i));return e}(e),t,i,r)}function y(t,e,i){i=Math.min(t.length,i);for(var r=[],n=e;n<i;){var o,s,a,l,c=t[n],h=null,u=239<c?4:223<c?3:191<c?2:1;if(n+u<=i)switch(u){case 1:c<128&&(h=c);break;case 2:128==(192&(o=t[n+1]))&&127<(l=(31&c)<<6|63&o)&&(h=l);break;case 3:o=t[n+1],s=t[n+2],128==(192&o)&&128==(192&s)&&2047<(l=(15&c)<<12|(63&o)<<6|63&s)&&(l<55296||57343<l)&&(h=l);break;case 4:o=t[n+1],s=t[n+2],a=t[n+3],128==(192&o)&&128==(192&s)&&128==(192&a)&&65535<(l=(15&c)<<18|(63&o)<<12|(63&s)<<6|63&a)&&l<1114112&&(h=l)}null===h?(h=65533,u=1):65535<h&&(h-=65536,r.push(h>>>10&1023|55296),h=56320|1023&h),r.push(h),n+=u}return function(t){var e=t.length;if(e<=x)return String.fromCharCode.apply(String,t);for(var i="",r=0;r<e;)i+=String.fromCharCode.apply(String,t.slice(r,r+=x));return i}(r)}P.Buffer=u,P.SlowBuffer=function(t){return+t!=t&&(t=0),u.alloc(+t)},P.INSPECT_MAX_BYTES=50,u.TYPED_ARRAY_SUPPORT=void 0!==t.TYPED_ARRAY_SUPPORT?t.TYPED_ARRAY_SUPPORT:function(){try{var t=new Uint8Array(1);return t.__proto__={__proto__:Uint8Array.prototype,foo:function(){return 42}},42===t.foo()&&"function"==typeof t.subarray&&0===t.subarray(1,1).byteLength}catch(t){return!1}}(),P.kMaxLength=i(),u.poolSize=8192,u._augment=function(t){return t.__proto__=u.prototype,t},u.from=function(t,e,i){return r(null,t,e,i)},u.TYPED_ARRAY_SUPPORT&&(u.prototype.__proto__=Uint8Array.prototype,u.__proto__=Uint8Array,"undefined"!=typeof Symbol&&Symbol.species&&u[Symbol.species]===u&&Object.defineProperty(u,Symbol.species,{value:null,configurable:!0})),u.alloc=function(t,e,i){return null,n=e,o=i,c(r=t),r<=0?l(null,r):void 0!==n?"string"==typeof o?l(null,r).fill(n,o):l(null,r).fill(n):l(null,r);var r,n,o},u.allocUnsafe=function(t){return n(null,t)},u.allocUnsafeSlow=function(t){return n(null,t)},u.isBuffer=function(t){return!(null==t||!t._isBuffer)},u.compare=function(t,e){if(!u.isBuffer(t)||!u.isBuffer(e))throw new TypeError("Arguments must be Buffers");if(t===e)return 0;for(var i=t.length,r=e.length,n=0,o=Math.min(i,r);n<o;++n)if(t[n]!==e[n]){i=t[n],r=e[n];break}return i<r?-1:r<i?1:0},u.isEncoding=function(t){switch(String(t).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}},u.concat=function(t,e){if(!s(t))throw new TypeError('"list" argument must be an Array of Buffers');if(0===t.length)return u.alloc(0);var i;if(void 0===e)for(i=e=0;i<t.length;++i)e+=t[i].length;var r=u.allocUnsafe(e),n=0;for(i=0;i<t.length;++i){var o=t[i];if(!u.isBuffer(o))throw new TypeError('"list" argument must be an Array of Buffers');o.copy(r,n),n+=o.length}return r},u.byteLength=d,u.prototype._isBuffer=!0,u.prototype.swap16=function(){var t=this.length;if(t%2!=0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var e=0;e<t;e+=2)p(this,e,e+1);return this},u.prototype.swap32=function(){var t=this.length;if(t%4!=0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var e=0;e<t;e+=4)p(this,e,e+3),p(this,e+1,e+2);return this},u.prototype.swap64=function(){var t=this.length;if(t%8!=0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var e=0;e<t;e+=8)p(this,e,e+7),p(this,e+1,e+6),p(this,e+2,e+5),p(this,e+3,e+4);return this},u.prototype.toString=function(){var t=0|this.length;return 0==t?"":0===arguments.length?y(this,0,t):function(t,e,i){var r,n,o,s=!1;if((void 0===e||e<0)&&(e=0),e>this.length)return"";if((void 0===i||i>this.length)&&(i=this.length),i<=0)return"";if((i>>>=0)<=(e>>>=0))return"";for(t=t||"utf8";;)switch(t){case"hex":return b(this,e,i);case"utf8":case"utf-8":return y(this,e,i);case"ascii":return T(this,e,i);case"latin1":case"binary":return k(this,e,i);case"base64":return r=this,o=i,0===(n=e)&&o===r.length?a.fromByteArray(r):a.fromByteArray(r.slice(n,o));case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return w(this,e,i);default:if(s)throw new TypeError("Unknown encoding: "+t);t=(t+"").toLowerCase(),s=!0}}.apply(this,arguments)},u.prototype.equals=function(t){if(!u.isBuffer(t))throw new TypeError("Argument must be a Buffer");return this===t||0===u.compare(this,t)},u.prototype.inspect=function(){var t="",e=P.INSPECT_MAX_BYTES;return 0<this.length&&(t=this.toString("hex",0,e).match(/.{2}/g).join(" "),this.length>e&&(t+=" ... ")),"<Buffer "+t+">"},u.prototype.compare=function(t,e,i,r,n){if(!u.isBuffer(t))throw new TypeError("Argument must be a Buffer");if(void 0===e&&(e=0),void 0===i&&(i=t?t.length:0),void 0===r&&(r=0),void 0===n&&(n=this.length),e<0||i>t.length||r<0||n>this.length)throw new RangeError("out of range index");if(n<=r&&i<=e)return 0;if(n<=r)return-1;if(i<=e)return 1;if(this===t)return 0;for(var o=(n>>>=0)-(r>>>=0),s=(i>>>=0)-(e>>>=0),a=Math.min(o,s),l=this.slice(r,n),c=t.slice(e,i),h=0;h<a;++h)if(l[h]!==c[h]){o=l[h],s=c[h];break}return o<s?-1:s<o?1:0},u.prototype.includes=function(t,e,i){return-1!==this.indexOf(t,e,i)},u.prototype.indexOf=function(t,e,i){return m(this,t,e,i,!0)},u.prototype.lastIndexOf=function(t,e,i){return m(this,t,e,i,!1)},u.prototype.write=function(t,e,i,r){if(void 0===e)r="utf8",i=this.length,e=0;else if(void 0===i&&"string"==typeof e)r=e,i=this.length,e=0;else{if(!isFinite(e))throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");e|=0,isFinite(i)?(i|=0,void 0===r&&(r="utf8")):(r=i,i=void 0)}var n=this.length-e;if((void 0===i||n<i)&&(i=n),0<t.length&&(i<0||e<0)||e>this.length)throw new RangeError("Attempt to write outside buffer bounds");r=r||"utf8";for(var o,s,a,l,c,h,u=!1;;)switch(r){case"hex":return _(this,t,e,i);case"utf8":case"utf-8":return c=e,h=i,D(R(t,this.length-c),this,c,h);case"ascii":return v(this,t,e,i);case"latin1":case"binary":return v(this,t,e,i);case"base64":return this,a=e,l=i,D(M(t),this,a,l);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return o=e,s=i,D(function(t,e){for(var i,r,n,o=[],s=0;s<t.length&&!((e-=2)<0);++s)r=(i=t.charCodeAt(s))>>8,n=i%256,o.push(n),o.push(r);return o}(t,this.length-o),this,o,s);default:if(u)throw new TypeError("Unknown encoding: "+r);r=(""+r).toLowerCase(),u=!0}},u.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};var x=4096;function T(t,e,i){var r="";i=Math.min(t.length,i);for(var n=e;n<i;++n)r+=String.fromCharCode(127&t[n]);return r}function k(t,e,i){var r="";i=Math.min(t.length,i);for(var n=e;n<i;++n)r+=String.fromCharCode(t[n]);return r}function b(t,e,i){var r,n=t.length;(!e||e<0)&&(e=0),(!i||i<0||n<i)&&(i=n);for(var o="",s=e;s<i;++s)o+=(r=t[s])<16?"0"+r.toString(16):r.toString(16);return o}function w(t,e,i){for(var r=t.slice(e,i),n="",o=0;o<r.length;o+=2)n+=String.fromCharCode(r[o]+256*r[o+1]);return n}function E(t,e,i){if(t%1!=0||t<0)throw new RangeError("offset is not uint");if(i<t+e)throw new RangeError("Trying to access beyond buffer length")}function C(t,e,i,r,n,o){if(!u.isBuffer(t))throw new TypeError('"buffer" argument must be a Buffer instance');if(n<e||e<o)throw new RangeError('"value" argument is out of bounds');if(i+r>t.length)throw new RangeError("Index out of range")}function S(t,e,i,r){e<0&&(e=65535+e+1);for(var n=0,o=Math.min(t.length-i,2);n<o;++n)t[i+n]=(e&255<<8*(r?n:1-n))>>>8*(r?n:1-n)}function A(t,e,i,r){e<0&&(e=4294967295+e+1);for(var n=0,o=Math.min(t.length-i,4);n<o;++n)t[i+n]=e>>>8*(r?n:3-n)&255}function L(t,e,i,r){if(i+r>t.length)throw new RangeError("Index out of range");if(i<0)throw new RangeError("Index out of range")}function N(t,e,i,r,n){return n||L(t,0,i,4),o.write(t,e,i,r,23,4),i+4}function O(t,e,i,r,n){return n||L(t,0,i,8),o.write(t,e,i,r,52,8),i+8}u.prototype.slice=function(t,e){var i,r=this.length;if((t=~~t)<0?(t+=r)<0&&(t=0):r<t&&(t=r),(e=void 0===e?r:~~e)<0?(e+=r)<0&&(e=0):r<e&&(e=r),e<t&&(e=t),u.TYPED_ARRAY_SUPPORT)(i=this.subarray(t,e)).__proto__=u.prototype;else{var n=e-t;i=new u(n,void 0);for(var o=0;o<n;++o)i[o]=this[o+t]}return i},u.prototype.readUIntLE=function(t,e,i){t|=0,e|=0,i||E(t,e,this.length);for(var r=this[t],n=1,o=0;++o<e&&(n*=256);)r+=this[t+o]*n;return r},u.prototype.readUIntBE=function(t,e,i){t|=0,e|=0,i||E(t,e,this.length);for(var r=this[t+--e],n=1;0<e&&(n*=256);)r+=this[t+--e]*n;return r},u.prototype.readUInt8=function(t,e){return e||E(t,1,this.length),this[t]},u.prototype.readUInt16LE=function(t,e){return e||E(t,2,this.length),this[t]|this[t+1]<<8},u.prototype.readUInt16BE=function(t,e){return e||E(t,2,this.length),this[t]<<8|this[t+1]},u.prototype.readUInt32LE=function(t,e){return e||E(t,4,this.length),(this[t]|this[t+1]<<8|this[t+2]<<16)+16777216*this[t+3]},u.prototype.readUInt32BE=function(t,e){return e||E(t,4,this.length),16777216*this[t]+(this[t+1]<<16|this[t+2]<<8|this[t+3])},u.prototype.readIntLE=function(t,e,i){t|=0,e|=0,i||E(t,e,this.length);for(var r=this[t],n=1,o=0;++o<e&&(n*=256);)r+=this[t+o]*n;return(n*=128)<=r&&(r-=Math.pow(2,8*e)),r},u.prototype.readIntBE=function(t,e,i){t|=0,e|=0,i||E(t,e,this.length);for(var r=e,n=1,o=this[t+--r];0<r&&(n*=256);)o+=this[t+--r]*n;return(n*=128)<=o&&(o-=Math.pow(2,8*e)),o},u.prototype.readInt8=function(t,e){return e||E(t,1,this.length),128&this[t]?-1*(255-this[t]+1):this[t]},u.prototype.readInt16LE=function(t,e){e||E(t,2,this.length);var i=this[t]|this[t+1]<<8;return 32768&i?4294901760|i:i},u.prototype.readInt16BE=function(t,e){e||E(t,2,this.length);var i=this[t+1]|this[t]<<8;return 32768&i?4294901760|i:i},u.prototype.readInt32LE=function(t,e){return e||E(t,4,this.length),this[t]|this[t+1]<<8|this[t+2]<<16|this[t+3]<<24},u.prototype.readInt32BE=function(t,e){return e||E(t,4,this.length),this[t]<<24|this[t+1]<<16|this[t+2]<<8|this[t+3]},u.prototype.readFloatLE=function(t,e){return e||E(t,4,this.length),o.read(this,t,!0,23,4)},u.prototype.readFloatBE=function(t,e){return e||E(t,4,this.length),o.read(this,t,!1,23,4)},u.prototype.readDoubleLE=function(t,e){return e||E(t,8,this.length),o.read(this,t,!0,52,8)},u.prototype.readDoubleBE=function(t,e){return e||E(t,8,this.length),o.read(this,t,!1,52,8)},u.prototype.writeUIntLE=function(t,e,i,r){t=+t,e|=0,i|=0,r||C(this,t,e,i,Math.pow(2,8*i)-1,0);var n=1,o=0;for(this[e]=255&t;++o<i&&(n*=256);)this[e+o]=t/n&255;return e+i},u.prototype.writeUIntBE=function(t,e,i,r){t=+t,e|=0,i|=0,r||C(this,t,e,i,Math.pow(2,8*i)-1,0);var n=i-1,o=1;for(this[e+n]=255&t;0<=--n&&(o*=256);)this[e+n]=t/o&255;return e+i},u.prototype.writeUInt8=function(t,e,i){return t=+t,e|=0,i||C(this,t,e,1,255,0),u.TYPED_ARRAY_SUPPORT||(t=Math.floor(t)),this[e]=255&t,e+1},u.prototype.writeUInt16LE=function(t,e,i){return t=+t,e|=0,i||C(this,t,e,2,65535,0),u.TYPED_ARRAY_SUPPORT?(this[e]=255&t,this[e+1]=t>>>8):S(this,t,e,!0),e+2},u.prototype.writeUInt16BE=function(t,e,i){return t=+t,e|=0,i||C(this,t,e,2,65535,0),u.TYPED_ARRAY_SUPPORT?(this[e]=t>>>8,this[e+1]=255&t):S(this,t,e,!1),e+2},u.prototype.writeUInt32LE=function(t,e,i){return t=+t,e|=0,i||C(this,t,e,4,4294967295,0),u.TYPED_ARRAY_SUPPORT?(this[e+3]=t>>>24,this[e+2]=t>>>16,this[e+1]=t>>>8,this[e]=255&t):A(this,t,e,!0),e+4},u.prototype.writeUInt32BE=function(t,e,i){return t=+t,e|=0,i||C(this,t,e,4,4294967295,0),u.TYPED_ARRAY_SUPPORT?(this[e]=t>>>24,this[e+1]=t>>>16,this[e+2]=t>>>8,this[e+3]=255&t):A(this,t,e,!1),e+4},u.prototype.writeIntLE=function(t,e,i,r){if(t=+t,e|=0,!r){var n=Math.pow(2,8*i-1);C(this,t,e,i,n-1,-n)}var o=0,s=1,a=0;for(this[e]=255&t;++o<i&&(s*=256);)t<0&&0===a&&0!==this[e+o-1]&&(a=1),this[e+o]=(t/s>>0)-a&255;return e+i},u.prototype.writeIntBE=function(t,e,i,r){if(t=+t,e|=0,!r){var n=Math.pow(2,8*i-1);C(this,t,e,i,n-1,-n)}var o=i-1,s=1,a=0;for(this[e+o]=255&t;0<=--o&&(s*=256);)t<0&&0===a&&0!==this[e+o+1]&&(a=1),this[e+o]=(t/s>>0)-a&255;return e+i},u.prototype.writeInt8=function(t,e,i){return t=+t,e|=0,i||C(this,t,e,1,127,-128),u.TYPED_ARRAY_SUPPORT||(t=Math.floor(t)),t<0&&(t=255+t+1),this[e]=255&t,e+1},u.prototype.writeInt16LE=function(t,e,i){return t=+t,e|=0,i||C(this,t,e,2,32767,-32768),u.TYPED_ARRAY_SUPPORT?(this[e]=255&t,this[e+1]=t>>>8):S(this,t,e,!0),e+2},u.prototype.writeInt16BE=function(t,e,i){return t=+t,e|=0,i||C(this,t,e,2,32767,-32768),u.TYPED_ARRAY_SUPPORT?(this[e]=t>>>8,this[e+1]=255&t):S(this,t,e,!1),e+2},u.prototype.writeInt32LE=function(t,e,i){return t=+t,e|=0,i||C(this,t,e,4,2147483647,-2147483648),u.TYPED_ARRAY_SUPPORT?(this[e]=255&t,this[e+1]=t>>>8,this[e+2]=t>>>16,this[e+3]=t>>>24):A(this,t,e,!0),e+4},u.prototype.writeInt32BE=function(t,e,i){return t=+t,e|=0,i||C(this,t,e,4,2147483647,-2147483648),t<0&&(t=4294967295+t+1),u.TYPED_ARRAY_SUPPORT?(this[e]=t>>>24,this[e+1]=t>>>16,this[e+2]=t>>>8,this[e+3]=255&t):A(this,t,e,!1),e+4},u.prototype.writeFloatLE=function(t,e,i){return N(this,t,e,!0,i)},u.prototype.writeFloatBE=function(t,e,i){return N(this,t,e,!1,i)},u.prototype.writeDoubleLE=function(t,e,i){return O(this,t,e,!0,i)},u.prototype.writeDoubleBE=function(t,e,i){return O(this,t,e,!1,i)},u.prototype.copy=function(t,e,i,r){if(i=i||0,r||0===r||(r=this.length),e>=t.length&&(e=t.length),e=e||0,0<r&&r<i&&(r=i),r===i)return 0;if(0===t.length||0===this.length)return 0;if(e<0)throw new RangeError("targetStart out of bounds");if(i<0||i>=this.length)throw new RangeError("sourceStart out of bounds");if(r<0)throw new RangeError("sourceEnd out of bounds");r>this.length&&(r=this.length),t.length-e<r-i&&(r=t.length-e+i);var n,o=r-i;if(this===t&&i<e&&e<r)for(n=o-1;0<=n;--n)t[n+e]=this[n+i];else if(o<1e3||!u.TYPED_ARRAY_SUPPORT)for(n=0;n<o;++n)t[n+e]=this[n+i];else Uint8Array.prototype.set.call(t,this.subarray(i,i+o),e);return o},u.prototype.fill=function(t,e,i,r){if("string"==typeof t){if("string"==typeof e?(r=e,e=0,i=this.length):"string"==typeof i&&(r=i,i=this.length),1===t.length){var n=t.charCodeAt(0);n<256&&(t=n)}if(void 0!==r&&"string"!=typeof r)throw new TypeError("encoding must be a string");if("string"==typeof r&&!u.isEncoding(r))throw new TypeError("Unknown encoding: "+r)}else"number"==typeof t&&(t&=255);if(e<0||this.length<e||this.length<i)throw new RangeError("Out of range index");if(i<=e)return this;var o;if(e>>>=0,i=void 0===i?this.length:i>>>0,"number"==typeof(t=t||0))for(o=e;o<i;++o)this[o]=t;else{var s=u.isBuffer(t)?t:R(new u(t,r).toString()),a=s.length;for(o=0;o<i-e;++o)this[o+e]=s[o%a]}return this};var I=/[^+\/0-9A-Za-z-_]/g;function R(t,e){var i;e=e||1/0;for(var r=t.length,n=null,o=[],s=0;s<r;++s){if(55295<(i=t.charCodeAt(s))&&i<57344){if(!n){if(56319<i){-1<(e-=3)&&o.push(239,191,189);continue}if(s+1===r){-1<(e-=3)&&o.push(239,191,189);continue}n=i;continue}if(i<56320){-1<(e-=3)&&o.push(239,191,189),n=i;continue}i=65536+(n-55296<<10|i-56320)}else n&&-1<(e-=3)&&o.push(239,191,189);if(n=null,i<128){if((e-=1)<0)break;o.push(i)}else if(i<2048){if((e-=2)<0)break;o.push(i>>6|192,63&i|128)}else if(i<65536){if((e-=3)<0)break;o.push(i>>12|224,i>>6&63|128,63&i|128)}else{if(!(i<1114112))throw new Error("Invalid code point");if((e-=4)<0)break;o.push(i>>18|240,i>>12&63|128,i>>6&63|128,63&i|128)}}return o}function M(t){return a.toByteArray(function(t){var e;if((t=((e=t).trim?e.trim():e.replace(/^\s+|\s+$/g,"")).replace(I,"")).length<2)return"";for(;t.length%4!=0;)t+="=";return t}(t))}function D(t,e,i,r){for(var n=0;n<r&&!(n+i>=e.length||n>=t.length);++n)e[n+i]=t[n];return n}}).call(this,e(14))},function(aWa,bWa){var cWa;cWa=function(){return this}();try{cWa=cWa||Function("return this")()||eval("this")}catch(t){"object"==typeof window&&(cWa=window)}aWa.exports=cWa},function(t,e,i){"use strict";e.byteLength=function(t){var e=f(t),i=e[0],r=e[1];return 3*(i+r)/4-r},e.toByteArray=function(t){for(var e,i=f(t),r=i[0],n=i[1],o=new u(3*(r+(c=n))/4-c),s=0,a=0<n?r-4:r,l=0;l<a;l+=4)e=h[t.charCodeAt(l)]<<18|h[t.charCodeAt(l+1)]<<12|h[t.charCodeAt(l+2)]<<6|h[t.charCodeAt(l+3)],o[s++]=e>>16&255,o[s++]=e>>8&255,o[s++]=255&e;var c;return 2===n&&(e=h[t.charCodeAt(l)]<<2|h[t.charCodeAt(l+1)]>>4,o[s++]=255&e),1===n&&(e=h[t.charCodeAt(l)]<<10|h[t.charCodeAt(l+1)]<<4|h[t.charCodeAt(l+2)]>>2,o[s++]=e>>8&255,o[s++]=255&e),o},e.fromByteArray=function(t){for(var e,i=t.length,r=i%3,n=[],o=0,s=i-r;o<s;o+=16383)n.push(l(t,o,s<o+16383?s:o+16383));return 1==r?(e=t[i-1],n.push(a[e>>2]+a[e<<4&63]+"==")):2==r&&(e=(t[i-2]<<8)+t[i-1],n.push(a[e>>10]+a[e>>4&63]+a[e<<2&63]+"=")),n.join("")};for(var a=[],h=[],u="undefined"!=typeof Uint8Array?Uint8Array:Array,r="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",n=0,o=r.length;n<o;++n)a[n]=r[n],h[r.charCodeAt(n)]=n;function f(t){var e=t.length;if(0<e%4)throw new Error("Invalid string. Length must be a multiple of 4");var i=t.indexOf("=");return-1===i&&(i=e),[i,i===e?0:4-i%4]}function l(t,e,i){for(var r,n,o=[],s=e;s<i;s+=3)r=(t[s]<<16&16711680)+(t[s+1]<<8&65280)+(255&t[s+2]),o.push(a[(n=r)>>18&63]+a[n>>12&63]+a[n>>6&63]+a[63&n]);return o.join("")}h["-".charCodeAt(0)]=62,h["_".charCodeAt(0)]=63},function(t,e){e.read=function(t,e,i,r,n){var o,s,a=8*n-r-1,l=(1<<a)-1,c=l>>1,h=-7,u=i?n-1:0,f=i?-1:1,d=t[e+u];for(u+=f,o=d&(1<<-h)-1,d>>=-h,h+=a;0<h;o=256*o+t[e+u],u+=f,h-=8);for(s=o&(1<<-h)-1,o>>=-h,h+=r;0<h;s=256*s+t[e+u],u+=f,h-=8);if(0===o)o=1-c;else{if(o===l)return s?NaN:1/0*(d?-1:1);s+=Math.pow(2,r),o-=c}return(d?-1:1)*s*Math.pow(2,o-r)},e.write=function(t,e,i,r,n,o){var s,a,l,c=8*o-n-1,h=(1<<c)-1,u=h>>1,f=23===n?Math.pow(2,-24)-Math.pow(2,-77):0,d=r?0:o-1,p=r?1:-1,m=e<0||0===e&&1/e<0?1:0;for(e=Math.abs(e),isNaN(e)||e===1/0?(a=isNaN(e)?1:0,s=h):(s=Math.floor(Math.log(e)/Math.LN2),e*(l=Math.pow(2,-s))<1&&(s--,l*=2),2<=(e+=1<=s+u?f/l:f*Math.pow(2,1-u))*l&&(s++,l/=2),h<=s+u?(a=0,s=h):1<=s+u?(a=(e*l-1)*Math.pow(2,n),s+=u):(a=e*Math.pow(2,u-1)*Math.pow(2,n),s=0));8<=n;t[i+d]=255&a,d+=p,a/=256,n-=8);for(s=s<<n|a,c+=n;0<c;t[i+d]=255&s,d+=p,s/=256,c-=8);t[i+d-p]|=128*m}},function(t,e){var i={}.toString;t.exports=Array.isArray||function(t){return"[object Array]"==i.call(t)}},function(t,e,i){"use strict";function r(t){this.engine=t,this.tok=this.engine.tokens.names,this.EOF=1,this.debug=!1,this.all_tokens=!0,this.comment_tokens=!1,this.mode_eval=!1,this.asp_tags=!1,this.short_tags=!0,this.php7=!0,this.yyprevcol=0,this.keywords={__class__:this.tok.T_CLASS_C,__trait__:this.tok.T_TRAIT_C,__function__:this.tok.T_FUNC_C,__method__:this.tok.T_METHOD_C,__line__:this.tok.T_LINE,__file__:this.tok.T_FILE,__dir__:this.tok.T_DIR,__namespace__:this.tok.T_NS_C,exit:this.tok.T_EXIT,die:this.tok.T_EXIT,function:this.tok.T_FUNCTION,const:this.tok.T_CONST,return:this.tok.T_RETURN,try:this.tok.T_TRY,catch:this.tok.T_CATCH,finally:this.tok.T_FINALLY,throw:this.tok.T_THROW,if:this.tok.T_IF,elseif:this.tok.T_ELSEIF,endif:this.tok.T_ENDIF,else:this.tok.T_ELSE,while:this.tok.T_WHILE,endwhile:this.tok.T_ENDWHILE,do:this.tok.T_DO,for:this.tok.T_FOR,endfor:this.tok.T_ENDFOR,foreach:this.tok.T_FOREACH,endforeach:this.tok.T_ENDFOREACH,declare:this.tok.T_DECLARE,enddeclare:this.tok.T_ENDDECLARE,instanceof:this.tok.T_INSTANCEOF,as:this.tok.T_AS,switch:this.tok.T_SWITCH,endswitch:this.tok.T_ENDSWITCH,case:this.tok.T_CASE,default:this.tok.T_DEFAULT,break:this.tok.T_BREAK,continue:this.tok.T_CONTINUE,goto:this.tok.T_GOTO,echo:this.tok.T_ECHO,print:this.tok.T_PRINT,class:this.tok.T_CLASS,interface:this.tok.T_INTERFACE,trait:this.tok.T_TRAIT,extends:this.tok.T_EXTENDS,implements:this.tok.T_IMPLEMENTS,new:this.tok.T_NEW,clone:this.tok.T_CLONE,var:this.tok.T_VAR,eval:this.tok.T_EVAL,include:this.tok.T_INCLUDE,include_once:this.tok.T_INCLUDE_ONCE,require:this.tok.T_REQUIRE,require_once:this.tok.T_REQUIRE_ONCE,namespace:this.tok.T_NAMESPACE,use:this.tok.T_USE,insteadof:this.tok.T_INSTEADOF,global:this.tok.T_GLOBAL,isset:this.tok.T_ISSET,empty:this.tok.T_EMPTY,__halt_compiler:this.tok.T_HALT_COMPILER,static:this.tok.T_STATIC,abstract:this.tok.T_ABSTRACT,final:this.tok.T_FINAL,private:this.tok.T_PRIVATE,protected:this.tok.T_PROTECTED,public:this.tok.T_PUBLIC,unset:this.tok.T_UNSET,list:this.tok.T_LIST,array:this.tok.T_ARRAY,callable:this.tok.T_CALLABLE,or:this.tok.T_LOGICAL_OR,and:this.tok.T_LOGICAL_AND,xor:this.tok.T_LOGICAL_XOR},this.castKeywords={int:this.tok.T_INT_CAST,integer:this.tok.T_INT_CAST,real:this.tok.T_DOUBLE_CAST,double:this.tok.T_DOUBLE_CAST,float:this.tok.T_DOUBLE_CAST,string:this.tok.T_STRING_CAST,binary:this.tok.T_STRING_CAST,array:this.tok.T_ARRAY_CAST,object:this.tok.T_OBJECT_CAST,bool:this.tok.T_BOOL_CAST,boolean:this.tok.T_BOOL_CAST,unset:this.tok.T_UNSET_CAST}}var n="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};r.prototype.setInput=function(t){return this._input=t,this.size=t.length,this.yylineno=1,this.offset=0,this.yyprevcol=0,this.yytext="",this.yylloc={first_offset:0,first_line:1,first_column:0,prev_offset:0,prev_line:1,prev_column:0,last_line:1,last_column:0},this.tokens=[],this.done=this.offset>=this.size,!this.all_tokens&&this.mode_eval?(this.conditionStack=["INITIAL"],this.begin("ST_IN_SCRIPTING")):(this.conditionStack=[],this.begin("INITIAL")),this},r.prototype.input=function(){var t=this._input[this.offset];return t?(this.yytext+=t,this.offset++,"\r"===t&&"\n"===this._input[this.offset]&&(this.yytext+="\n",this.offset++),"\n"===t||"\r"===t?(this.yylloc.last_line=++this.yylineno,this.yyprevcol=this.yylloc.last_column,this.yylloc.last_column=0):this.yylloc.last_column++,t):""},r.prototype.unput=function(t){if(1===t)this.offset--,"\n"===this._input[this.offset]&&"\r"===this._input[this.offset-1]&&(this.offset--,t++),"\r"===this._input[this.offset]||"\n"===this._input[this.offset]?(this.yylloc.last_line--,this.yylineno--,this.yylloc.last_column=this.yyprevcol):this.yylloc.last_column--,this.yytext=this.yytext.substring(0,this.yytext.length-t);else if(0<t)if(this.offset-=t,t<this.yytext.length){this.yytext=this.yytext.substring(0,this.yytext.length-t),this.yylloc.last_line=this.yylloc.first_line,this.yylloc.last_column=this.yyprevcol=this.yylloc.first_column;for(var e=0;e<this.yytext.length;e++){var i=this.yytext[e];"\r"===i?(i=this.yytext[++e],this.yyprevcol=this.yylloc.last_column,this.yylloc.last_line++,this.yylloc.last_column=0,"\n"!==i&&("\r"===i?this.yylloc.last_line++:this.yylloc.last_column++)):"\n"===i?(this.yyprevcol=this.yylloc.last_column,this.yylloc.last_line++,this.yylloc.last_column=0):this.yylloc.last_column++}this.yylineno=this.yylloc.last_line}else this.yytext="",this.yylloc.last_line=this.yylineno=this.yylloc.first_line,this.yylloc.last_column=this.yylloc.first_column;return this},r.prototype.tryMatch=function(t){return t===this.ahead(t.length)},r.prototype.tryMatchCaseless=function(t){return t===this.ahead(t.length).toLowerCase()},r.prototype.ahead=function(t){var e=this._input.substring(this.offset,this.offset+t);return"\r"===e[e.length-1]&&"\n"===this._input[this.offset+t+1]&&(e+="\n"),e},r.prototype.consume=function(t){for(var e=0;e<t;e++){var i=this._input[this.offset];if(!i)break;this.yytext+=i,this.offset++,"\r"===i&&"\n"===this._input[this.offset]&&(this.yytext+="\n",this.offset++,e++),"\n"===i||"\r"===i?(this.yylloc.last_line=++this.yylineno,this.yyprevcol=this.yylloc.last_column,this.yylloc.last_column=0):this.yylloc.last_column++}return this},r.prototype.getState=function(){return{yytext:this.yytext,offset:this.offset,yylineno:this.yylineno,yyprevcol:this.yyprevcol,yylloc:{first_offset:this.yylloc.first_offset,first_line:this.yylloc.first_line,first_column:this.yylloc.first_column,last_line:this.yylloc.last_line,last_column:this.yylloc.last_column}}},r.prototype.setState=function(t){return this.yytext=t.yytext,this.offset=t.offset,this.yylineno=t.yylineno,this.yyprevcol=t.yyprevcol,this.yylloc=t.yylloc,this},r.prototype.appendToken=function(t,e){return this.tokens.push([t,e]),this},r.prototype.lex=function(){this.yylloc.prev_offset=this.offset,this.yylloc.prev_line=this.yylloc.last_line,this.yylloc.prev_column=this.yylloc.last_column;var t=this.next()||this.lex();if(!this.all_tokens){for(;t===this.tok.T_WHITESPACE||!this.comment_tokens&&(t===this.tok.T_COMMENT||t===this.tok.T_DOC_COMMENT)||t===this.tok.T_OPEN_TAG;)t=this.next()||this.lex();if(t==this.tok.T_OPEN_TAG_WITH_ECHO)return this.tok.T_ECHO;if(t===this.tok.T_CLOSE_TAG)return";"}return this.yylloc.prev_offset||(this.yylloc.prev_offset=this.yylloc.first_offset,this.yylloc.prev_line=this.yylloc.first_line,this.yylloc.prev_column=this.yylloc.first_column),t},r.prototype.begin=function(t){if(this.conditionStack.push(t),this.curCondition=t,this.stateCb=this["match"+t],"function"!=typeof this.stateCb)throw new Error('Undefined condition state "'+t+'"');return this},r.prototype.popState=function(){var t=0<this.conditionStack.length-1?this.conditionStack.pop():this.conditionStack[0];if(this.curCondition=this.conditionStack[this.conditionStack.length-1],this.stateCb=this["match"+this.curCondition],"function"!=typeof this.stateCb)throw new Error('Undefined condition state "'+this.curCondition+'"');return t},r.prototype.next=function(){var t=void 0;if(this._input||(this.done=!0),this.yylloc.first_offset=this.offset,this.yylloc.first_line=this.yylloc.last_line,this.yylloc.first_column=this.yylloc.last_column,this.yytext="",this.done)return this.yylloc.prev_offset=this.yylloc.first_offset,this.yylloc.prev_line=this.yylloc.first_line,this.yylloc.prev_column=this.yylloc.first_column,this.EOF;if(t=0<this.tokens.length?(t=this.tokens.shift(),"object"===n(t[1])?this.setState(t[1]):this.consume(t[1]),t[0]):this.stateCb.apply(this,[]),this.offset>=this.size&&0===this.tokens.length&&(this.done=!0),this.debug){var e=t;e="number"==typeof e?this.engine.tokens.values[e]:'"'+e+'"';var i=new Error(e+"\tfrom "+this.yylloc.first_line+","+this.yylloc.first_column+"\t - to "+this.yylloc.last_line+","+this.yylloc.last_column+'\t"'+this.yytext+'"');console.error(i.stack)}return t},[i(19),i(20),i(21),i(23),i(24),i(25),i(26),i(27)].forEach(function(t){for(var e in t)r.prototype[e]=t[e]}),t.exports=r},function(t,e,i){"use strict";t.exports={T_COMMENT:function(){for(;this.offset<this.size;){var t=this.input();if("\n"===t||"\r"===t)return this.tok.T_COMMENT;if("?"===t&&!this.aspTagMode&&">"===this._input[this.offset])return this.unput(1),this.tok.T_COMMENT;if("%"===t&&this.aspTagMode&&">"===this._input[this.offset])return this.unput(1),this.tok.T_COMMENT}return this.tok.T_COMMENT},T_DOC_COMMENT:function(){var t=this.input(),e=this.tok.T_COMMENT;if("*"===t){if(t=this.input(),this.is_WHITESPACE()&&(e=this.tok.T_DOC_COMMENT),"/"===t)return e;this.unput(1)}for(;this.offset<this.size;)if("*"===(t=this.input())&&"/"===this._input[this.offset]){this.input();break}return e}}},function(t,e,i){"use strict";t.exports={nextINITIAL:function(){return 1<this.conditionStack.length&&"INITIAL"===this.conditionStack[this.conditionStack.length-1]?this.popState():this.begin("ST_IN_SCRIPTING"),this},matchINITIAL:function(){for(;this.offset<this.size;){var t=this.input();if("<"==t)if("?"==(t=this.ahead(1))){if(this.tryMatch("?=")){this.unput(1).appendToken(this.tok.T_OPEN_TAG_WITH_ECHO,3).nextINITIAL();break}if(this.tryMatchCaseless("?php")&&(" "===(t=this._input[this.offset+4])||"\t"===t||"\n"===t||"\r"===t)){this.unput(1).appendToken(this.tok.T_OPEN_TAG,6).nextINITIAL();break}if(this.short_tags){this.unput(1).appendToken(this.tok.T_OPEN_TAG,2).nextINITIAL();break}}else if(this.asp_tags&&"%"==t){if(this.tryMatch("%=")){this.aspTagMode=!0,this.unput(1).appendToken(this.tok.T_OPEN_TAG_WITH_ECHO,3).nextINITIAL();break}this.aspTagMode=!0,this.unput(1).appendToken(this.tok.T_OPEN_TAG,2).nextINITIAL();break}}return 0<this.yytext.length&&this.tok.T_INLINE_HTML}}},function(e,t,i){"use strict";(function(t){var i=10,r="2147483648";"x64"==t.arch&&(i=19,r="9223372036854775808"),e.exports={consume_NUM:function(){var t=this.yytext[0],e="."===this.yytext[0];if("0"===t)if("x"===(t=this.input())||"X"===t){if(t=this.input(),this.is_HEX())return this.consume_HNUM();this.unput(t?2:1)}else if("b"===t||"B"===t){if("0"===(t=this.input())||"1"===t)return this.consume_BNUM();this.unput(t?2:1)}else this.is_NUM()||t&&this.unput(1);for(;this.offset<this.size;)if(t=this.input(),!this.is_NUM()){if("."!==t||e){if("e"===t||"E"===t){if("+"===(t=this.input())||"-"===t){if(t=this.input(),this.is_NUM())return this.consume_LNUM(),this.tok.T_DNUMBER;this.unput(t?3:2);break}if(this.is_NUM())return this.consume_LNUM(),this.tok.T_DNUMBER;this.unput(t?2:1);break}t&&this.unput(1);break}e=!0}return e?this.tok.T_DNUMBER:this.yytext.length<i-1?this.tok.T_LNUMBER:this.yytext.length<i||this.yytext.length==i&&this.yytext<r?this.tok.T_LNUMBER:this.tok.T_DNUMBER},consume_HNUM:function(){for(;this.offset<this.size;){var t=this.input();if(!this.is_HEX()){t&&this.unput(1);break}}return this.tok.T_LNUMBER},consume_LNUM:function(){for(;this.offset<this.size;){var t=this.input();if(!this.is_NUM()){t&&this.unput(1);break}}return this.tok.T_LNUMBER},consume_BNUM:function(){for(var t=void 0;this.offset<this.size;)if("0"!==(t=this.input())&&"1"!==t){t&&this.unput(1);break}return this.tok.T_LNUMBER}}}).call(this,i(22))},function(t,e){var i,r,n=t.exports={};function o(){throw new Error("setTimeout has not been defined")}function s(){throw new Error("clearTimeout has not been defined")}function a(e){if(i===setTimeout)return setTimeout(e,0);if((i===o||!i)&&setTimeout)return i=setTimeout,setTimeout(e,0);try{return i(e,0)}catch(t){try{return i.call(null,e,0)}catch(t){return i.call(this,e,0)}}}!function(){try{i="function"==typeof setTimeout?setTimeout:o}catch(t){i=o}try{r="function"==typeof clearTimeout?clearTimeout:s}catch(t){r=s}}();var l,c=[],h=!1,u=-1;function f(){h&&l&&(h=!1,l.length?c=l.concat(c):u=-1,c.length&&d())}function d(){if(!h){var t=a(f);h=!0;for(var e=c.length;e;){for(l=c,c=[];++u<e;)l&&l[u].run();u=-1,e=c.length}l=null,h=!1,function(e){if(r===clearTimeout)return clearTimeout(e);if((r===s||!r)&&clearTimeout)return r=clearTimeout,clearTimeout(e);try{r(e)}catch(t){try{return r.call(null,e)}catch(t){return r.call(this,e)}}}(t)}}function p(t,e){this.fun=t,this.array=e}function m(){}n.nextTick=function(t){var e=new Array(arguments.length-1);if(1<arguments.length)for(var i=1;i<arguments.length;i++)e[i-1]=arguments[i];c.push(new p(t,e)),1!==c.length||h||a(d)},p.prototype.run=function(){this.fun.apply(null,this.array)},n.title="browser",n.browser=!0,n.env={},n.argv=[],n.version="",n.versions={},n.on=m,n.addListener=m,n.once=m,n.off=m,n.removeListener=m,n.removeAllListeners=m,n.emit=m,n.prependListener=m,n.prependOnceListener=m,n.listeners=function(t){return[]},n.binding=function(t){throw new Error("process.binding is not supported")},n.cwd=function(){return"/"},n.chdir=function(t){throw new Error("process.chdir is not supported")},n.umask=function(){return 0}},function(t,e,i){"use strict";t.exports={matchST_LOOKING_FOR_PROPERTY:function(){var t=this.input();if("-"===t){if(">"===(t=this.input()))return this.tok.T_OBJECT_OPERATOR;t&&this.unput(1)}else{if(this.is_WHITESPACE())return this.tok.T_WHITESPACE;if(this.is_LABEL_START())return this.consume_LABEL(),this.popState(),this.tok.T_STRING}return this.popState(),t&&this.unput(1),!1},matchST_LOOKING_FOR_VARNAME:function(){var t=this.input();if(this.popState(),this.begin("ST_IN_SCRIPTING"),this.is_LABEL_START()){if(this.consume_LABEL(),"["===(t=this.input())||"}"===t)return this.unput(1),this.tok.T_STRING_VARNAME;this.unput(this.yytext.length)}else t&&this.unput(1);return!1},matchST_VAR_OFFSET:function(){var t=this.input();if(this.is_NUM())return this.consume_NUM(),this.tok.T_NUM_STRING;if("]"===t)return this.popState(),"]";if("$"===t){if(this.input(),this.is_LABEL_START())return this.consume_LABEL(),this.tok.T_VARIABLE;throw new Error("Unexpected terminal")}if(this.is_LABEL_START())return this.consume_LABEL(),this.tok.T_STRING;if(this.is_WHITESPACE()||"\\"===t||"'"===t||"#"===t)return this.tok.T_ENCAPSED_AND_WHITESPACE;if("["===t||"{"===t||"}"===t||'"'===t||"`"===t||this.is_TOKEN())return t;throw new Error("Unexpected terminal")}}},function(t,e,i){"use strict";t.exports={matchST_IN_SCRIPTING:function(){var t=this.input();switch(t){case" ":case"\t":case"\n":case"\r":case"\r\n":return this.T_WHITESPACE();case"#":return this.T_COMMENT();case"/":return"/"===this._input[this.offset]?this.T_COMMENT():"*"===this._input[this.offset]?(this.input(),this.T_DOC_COMMENT()):this.consume_TOKEN();case"'":return this.T_CONSTANT_ENCAPSED_STRING();case'"':return this.ST_DOUBLE_QUOTES();case"`":return this.begin("ST_BACKQUOTE"),"`";case"?":if(this.aspTagMode||!this.tryMatch(">"))return this.consume_TOKEN();this.input();var e=this._input[this.offset];return"\n"!==e&&"\r"!==e||this.input(),1<this.conditionStack.length&&this.begin("INITIAL"),this.tok.T_CLOSE_TAG;case"%":return this.aspTagMode&&">"===this._input[this.offset]?(this.input(),"\n"!==(t=this._input[this.offset])&&"\r"!==t||this.input(),this.aspTagMode=!1,1<this.conditionStack.length&&this.begin("INITIAL"),this.tok.T_CLOSE_TAG):this.consume_TOKEN();case"{":return this.begin("ST_IN_SCRIPTING"),"{";case"}":return 2<this.conditionStack.length&&this.popState(),"}";default:if("."===t){if(t=this.input(),this.is_NUM())return this.consume_NUM();t&&this.unput(1)}if(this.is_NUM())return this.consume_NUM();if(this.is_LABEL_START())return this.consume_LABEL().T_STRING();if(this.is_TOKEN())return this.consume_TOKEN()}throw new Error('Bad terminal sequence "'+t+'" at line '+this.yylineno+" (offset "+this.offset+")")},T_WHITESPACE:function(){for(;this.offset<this.size;){var t=this.input();if(" "!==t&&"\t"!==t&&"\n"!==t&&"\r"!==t){t&&this.unput(1);break}}return this.tok.T_WHITESPACE}}},function(t,e,i){"use strict";t.exports={T_CONSTANT_ENCAPSED_STRING:function(){for(var t=void 0;this.offset<this.size;)if("\\"==(t=this.input()))this.input();else if("'"==t)break;return this.tok.T_CONSTANT_ENCAPSED_STRING},is_HEREDOC:function(){var t=this.offset;if("<"===this._input[this.offset-1]&&"<"===this._input[this.offset]&&"<"===this._input[this.offset+1]){if(this.offset+=3,this.is_TABSPACE())for(;this.offset<this.size&&(this.offset++,this.is_TABSPACE()););var e=this._input[this.offset-1];if("'"===e||'"'===e?this.offset++:e=null,this.is_LABEL_START()){for(var i=this.offset-1;this.offset<this.size&&(this.offset++,this.is_LABEL()););var r=this._input.substring(i,this.offset-1);if((!e||e===this._input[this.offset-1])&&(e&&this.offset++,"\r"===this._input[this.offset-1]||"\n"===this._input[this.offset-1]))return this.heredoc_label=r,i=this.offset-t,this.offset=t,this.consume(i),"'"===e?this.begin("ST_NOWDOC"):this.begin("ST_HEREDOC"),this.tok.T_START_HEREDOC}}return this.offset=t,!1},ST_DOUBLE_QUOTES:function(){for(var t=void 0;this.offset<this.size;)if("\\"==(t=this.input()))this.input();else{if('"'==t)break;if("$"==t){if("{"==(t=this.input())||this.is_LABEL_START()){this.unput(2);break}t&&this.unput(1)}else if("{"==t){if("$"==(t=this.input())){this.unput(2);break}t&&this.unput(1)}}if('"'==t)return this.tok.T_CONSTANT_ENCAPSED_STRING;var e=1;return"b"!==this.yytext[0]&&"B"!==this.yytext[0]||(e=2),2<this.yytext.length&&this.appendToken(this.tok.T_ENCAPSED_AND_WHITESPACE,this.yytext.length-e),this.unput(this.yytext.length-e),this.begin("ST_DOUBLE_QUOTES"),this.yytext},isDOC_MATCH:function(){if(this._input.substring(this.offset-1,this.offset-1+this.heredoc_label.length)===this.heredoc_label){var t=this._input[this.offset-1+this.heredoc_label.length];if("\n"===t||"\r"===t||";"===t)return!0}return!1},matchST_NOWDOC:function(){if(this.isDOC_MATCH())return this.consume(this.heredoc_label.length),this.popState(),this.tok.T_END_HEREDOC;for(var t=this._input[this.offset-1];this.offset<this.size;)if("\n"===t||"\r"===t){if(t=this.input(),this.isDOC_MATCH())return this.unput(1).popState(),this.appendToken(this.tok.T_END_HEREDOC,this.heredoc_label.length),this.tok.T_ENCAPSED_AND_WHITESPACE}else t=this.input();return this.tok.T_ENCAPSED_AND_WHITESPACE},matchST_HEREDOC:function(){var t=this.input();if(this.isDOC_MATCH())return this.consume(this.heredoc_label.length-1),this.popState(),this.tok.T_END_HEREDOC;for(;this.offset<this.size;)if("\\"===t&&"\n"!==(t=this.input())&&"\r"!==t&&(t=this.input()),"\n"===t||"\r"===t){if(t=this.input(),this.isDOC_MATCH())return this.unput(1).popState(),this.appendToken(this.tok.T_END_HEREDOC,this.heredoc_label.length),this.tok.T_ENCAPSED_AND_WHITESPACE}else if("$"===t){if("{"===(t=this.input()))return this.begin("ST_LOOKING_FOR_VARNAME"),2<this.yytext.length?(this.appendToken(this.tok.T_DOLLAR_OPEN_CURLY_BRACES,2),this.unput(2),this.tok.T_ENCAPSED_AND_WHITESPACE):this.tok.T_DOLLAR_OPEN_CURLY_BRACES;if(this.is_LABEL_START()){var e=this.offset,i=this.consume_VARIABLE();return this.yytext.length>this.offset-e+2?(this.appendToken(i,this.offset-e+2),this.unput(this.offset-e+2),this.tok.T_ENCAPSED_AND_WHITESPACE):i}}else if("{"===t){if("$"===(t=this.input()))return this.begin("ST_IN_SCRIPTING"),2<this.yytext.length?(this.appendToken(this.tok.T_CURLY_OPEN,1),this.unput(2),this.tok.T_ENCAPSED_AND_WHITESPACE):(this.unput(1),this.tok.T_CURLY_OPEN)}else t=this.input();return this.tok.T_ENCAPSED_AND_WHITESPACE},consume_VARIABLE:function(){this.consume_LABEL();var t=this.input();if("["==t)return this.unput(1),this.begin("ST_VAR_OFFSET"),this.tok.T_VARIABLE;if("-"===t){if(">"===this.input())return this.input(),this.is_LABEL_START()&&this.begin("ST_LOOKING_FOR_PROPERTY"),this.unput(3),this.tok.T_VARIABLE;this.unput(2)}else t&&this.unput(1);return this.tok.T_VARIABLE},matchST_BACKQUOTE:function(){var t=this.input();if("$"===t){if("{"===(t=this.input()))return this.begin("ST_LOOKING_FOR_VARNAME"),this.tok.T_DOLLAR_OPEN_CURLY_BRACES;if(this.is_LABEL_START())return this.consume_VARIABLE()}else if("{"===t){if("$"===this._input[this.offset])return this.begin("ST_IN_SCRIPTING"),this.tok.T_CURLY_OPEN}else if("`"===t)return this.popState(),"`";for(;this.offset<this.size;){if("\\"===t)this.input();else{if("`"===t){this.unput(1),this.popState(),this.appendToken("`",1);break}if("$"===t){if("{"===(t=this.input()))return this.begin("ST_LOOKING_FOR_VARNAME"),2<this.yytext.length?(this.appendToken(this.tok.T_DOLLAR_OPEN_CURLY_BRACES,2),this.unput(2),this.tok.T_ENCAPSED_AND_WHITESPACE):this.tok.T_DOLLAR_OPEN_CURLY_BRACES;if(this.is_LABEL_START()){var e=this.offset,i=this.consume_VARIABLE();return this.yytext.length>this.offset-e+2?(this.appendToken(i,this.offset-e+2),this.unput(this.offset-e+2),this.tok.T_ENCAPSED_AND_WHITESPACE):i}continue}if("{"===t){if("$"===(t=this.input()))return this.begin("ST_IN_SCRIPTING"),2<this.yytext.length?(this.appendToken(this.tok.T_CURLY_OPEN,1),this.unput(2),this.tok.T_ENCAPSED_AND_WHITESPACE):(this.unput(1),this.tok.T_CURLY_OPEN);continue}}t=this.input()}return this.tok.T_ENCAPSED_AND_WHITESPACE},matchST_DOUBLE_QUOTES:function(){var t=this.input();if("$"===t){if("{"===(t=this.input()))return this.begin("ST_LOOKING_FOR_VARNAME"),this.tok.T_DOLLAR_OPEN_CURLY_BRACES;if(this.is_LABEL_START())return this.consume_VARIABLE()}else if("{"===t){if("$"===this._input[this.offset])return this.begin("ST_IN_SCRIPTING"),this.tok.T_CURLY_OPEN}else if('"'===t)return this.popState(),'"';for(;this.offset<this.size;){if("\\"===t)this.input();else{if('"'===t){this.unput(1),this.popState(),this.appendToken('"',1);break}if("$"===t){if("{"===(t=this.input()))return this.begin("ST_LOOKING_FOR_VARNAME"),2<this.yytext.length?(this.appendToken(this.tok.T_DOLLAR_OPEN_CURLY_BRACES,2),this.unput(2),this.tok.T_ENCAPSED_AND_WHITESPACE):this.tok.T_DOLLAR_OPEN_CURLY_BRACES;if(this.is_LABEL_START()){var e=this.offset,i=this.consume_VARIABLE();return this.yytext.length>this.offset-e+2?(this.appendToken(i,this.offset-e+2),this.unput(this.offset-e+2),this.tok.T_ENCAPSED_AND_WHITESPACE):i}t&&this.unput(1)}else if("{"===t){if("$"===(t=this.input()))return this.begin("ST_IN_SCRIPTING"),2<this.yytext.length?(this.appendToken(this.tok.T_CURLY_OPEN,1),this.unput(2),this.tok.T_ENCAPSED_AND_WHITESPACE):(this.unput(1),this.tok.T_CURLY_OPEN);t&&this.unput(1)}}t=this.input()}return this.tok.T_ENCAPSED_AND_WHITESPACE}}},function(t,e,i){"use strict";t.exports={T_STRING:function(){var t=this.yytext.toLowerCase(),e=this.keywords[t];if("number"!=typeof e)if("yield"===t)e=this.php7&&this.tryMatch(" from")?(this.consume(5),this.tok.T_YIELD_FROM):this.tok.T_YIELD;else if(e=this.tok.T_STRING,"b"===t||"B"===t){var i=this.input(1);if('"'===i)return this.ST_DOUBLE_QUOTES();if("'"===i)return this.T_CONSTANT_ENCAPSED_STRING();i&&this.unput(1)}return e},consume_TOKEN:function(){var t=this._input[this.offset-1],e=this.tokenTerminals[t];return e?e.apply(this,[]):this.yytext},tokenTerminals:{$:function(){return this.offset++,this.is_LABEL_START()?(this.offset--,this.consume_LABEL(),this.tok.T_VARIABLE):(this.offset--,"$")},"-":function(){var t=this._input[this.offset];return">"===t?(this.begin("ST_LOOKING_FOR_PROPERTY").input(),this.tok.T_OBJECT_OPERATOR):"-"===t?(this.input(),this.tok.T_DEC):"="===t?(this.input(),this.tok.T_MINUS_EQUAL):"-"},"\\":function(){return this.tok.T_NS_SEPARATOR},"/":function(){return"="===this._input[this.offset]?(this.input(),this.tok.T_DIV_EQUAL):"/"},":":function(){return":"===this._input[this.offset]?(this.input(),this.tok.T_DOUBLE_COLON):":"},"(":function(){var t=this.offset;if(this.input(),this.is_TABSPACE()&&this.consume_TABSPACE().input(),this.is_LABEL_START()){var e=this.yytext.length;this.consume_LABEL();var i=this.yytext.substring(e-1).toLowerCase(),r=this.castKeywords[i];if("number"==typeof r&&(this.input(),this.is_TABSPACE()&&this.consume_TABSPACE().input(),")"===this._input[this.offset-1]))return r}return this.unput(this.offset-t),"("},"=":function(){var t=this._input[this.offset];return">"===t?(this.input(),this.tok.T_DOUBLE_ARROW):"="===t?"="===this._input[this.offset+1]?(this.consume(2),this.tok.T_IS_IDENTICAL):(this.input(),this.tok.T_IS_EQUAL):"="},"+":function(){var t=this._input[this.offset];return"+"===t?(this.input(),this.tok.T_INC):"="===t?(this.input(),this.tok.T_PLUS_EQUAL):"+"},"!":function(){return"="===this._input[this.offset]?"="===this._input[this.offset+1]?(this.consume(2),this.tok.T_IS_NOT_IDENTICAL):(this.input(),this.tok.T_IS_NOT_EQUAL):"!"},"?":function(){return this.php7&&"?"===this._input[this.offset]?(this.input(),this.tok.T_COALESCE):"?"},"<":function(){var t=this._input[this.offset];return"<"===t?"="===(t=this._input[this.offset+1])?(this.consume(2),this.tok.T_SL_EQUAL):"<"===t&&this.is_HEREDOC()?this.tok.T_START_HEREDOC:(this.input(),this.tok.T_SL):"="===t?(this.input(),this.php7&&">"===this._input[this.offset]?(this.input(),this.tok.T_SPACESHIP):this.tok.T_IS_SMALLER_OR_EQUAL):">"===t?(this.input(),this.tok.T_IS_NOT_EQUAL):"<"},">":function(){var t=this._input[this.offset];return"="===t?(this.input(),this.tok.T_IS_GREATER_OR_EQUAL):">"===t?"="===(t=this._input[this.offset+1])?(this.consume(2),this.tok.T_SR_EQUAL):(this.input(),this.tok.T_SR):">"},"*":function(){var t=this._input[this.offset];return"="===t?(this.input(),this.tok.T_MUL_EQUAL):"*"===t?(this.input(),"="===this._input[this.offset]?(this.input(),this.tok.T_POW_EQUAL):this.tok.T_POW):"*"},".":function(){var t=this._input[this.offset];return"="===t?(this.input(),this.tok.T_CONCAT_EQUAL):"."===t&&"."===this._input[this.offset+1]?(this.consume(2),this.tok.T_ELLIPSIS):"."},"%":function(){return"="===this._input[this.offset]?(this.input(),this.tok.T_MOD_EQUAL):"%"},"&":function(){var t=this._input[this.offset];return"="===t?(this.input(),this.tok.T_AND_EQUAL):"&"===t?(this.input(),this.tok.T_BOOLEAN_AND):"&"},"|":function(){var t=this._input[this.offset];return"="===t?(this.input(),this.tok.T_OR_EQUAL):"|"===t?(this.input(),this.tok.T_BOOLEAN_OR):"|"},"^":function(){return"="===this._input[this.offset]?(this.input(),this.tok.T_XOR_EQUAL):"^"}}}},function(t,e,i){"use strict";t.exports={is_NUM:function(){var t=this._input.charCodeAt(this.offset-1);return 47<t&&t<58},is_LABEL:function(){var t=this._input.charCodeAt(this.offset-1);return 96<t&&t<123||64<t&&t<91||95===t||47<t&&t<58||126<t},is_LABEL_START:function(){var t=this._input.charCodeAt(this.offset-1);return 96<t&&t<123||64<t&&t<91||95===t||126<t},consume_LABEL:function(){for(;this.offset<this.size;){var t=this.input();if(!this.is_LABEL()){t&&this.unput(1);break}}return this},is_TOKEN:function(){var t=this._input[this.offset-1];return-1!==";:,.\\[]()|^&+-/*=%!~$<>?@".indexOf(t)},is_WHITESPACE:function(){var t=this._input[this.offset-1];return" "===t||"\t"===t||"\n"===t||"\r"===t},is_TABSPACE:function(){var t=this._input[this.offset-1];return" "===t||"\t"===t},consume_TABSPACE:function(){for(;this.offset<this.size;){var t=this.input();if(!this.is_TABSPACE()){t&&this.unput(1);break}}return this},is_HEX:function(){var t=this._input.charCodeAt(this.offset-1);return 47<t&&t<58||64<t&&t<71||96<t&&t<103}}},function(t,e,i){"use strict";function o(t){return"."!=t&&","!=t&&!isNaN(parseFloat(t))&&isFinite(t)}function r(t,e){function i(t){return[t,null]}this.lexer=t,this.ast=e,this.tok=t.tok,this.EOF=t.EOF,this.token=null,this.prev=null,this.debug=!1,this.php7=!0,this.extractDoc=!1,this.extractTokens=!1,this.suppressErrors=!1,this.entries={IDENTIFIER:new Map([this.tok.T_ABSTRACT,this.tok.T_ARRAY,this.tok.T_AS,this.tok.T_BREAK,this.tok.T_CALLABLE,this.tok.T_CASE,this.tok.T_CATCH,this.tok.T_CLASS,this.tok.T_CLASS_C,this.tok.T_CLONE,this.tok.T_CONST,this.tok.T_CONTINUE,this.tok.T_DECLARE,this.tok.T_DEFAULT,this.tok.T_DIR,this.tok.T_DO,this.tok.T_ECHO,this.tok.T_ELSE,this.tok.T_ELSEIF,this.tok.T_EMPTY,this.tok.T_ENDDECLARE,this.tok.T_ENDFOR,this.tok.T_ENDFOREACH,this.tok.T_ENDIF,this.tok.T_ENDSWITCH,this.tok.T_ENDWHILE,this.tok.T_EVAL,this.tok.T_EXIT,this.tok.T_EXTENDS,this.tok.T_FILE,this.tok.T_FINAL,this.tok.T_FINALLY,this.tok.T_FUNC_C,this.tok.T_FOR,this.tok.T_FOREACH,this.tok.T_FUNCTION,this.tok.T_GLOBAL,this.tok.T_GOTO,this.tok.T_IF,this.tok.T_IMPLEMENTS,this.tok.T_INCLUDE,this.tok.T_INCLUDE_ONCE,this.tok.T_INSTANCEOF,this.tok.T_INSTEADOF,this.tok.T_INTERFACE,this.tok.T_ISSET,this.tok.T_LINE,this.tok.T_LIST,this.tok.T_LOGICAL_AND,this.tok.T_LOGICAL_OR,this.tok.T_LOGICAL_XOR,this.tok.T_METHOD_C,this.tok.T_NAMESPACE,this.tok.T_NEW,this.tok.T_NS_C,this.tok.T_PRINT,this.tok.T_PRIVATE,this.tok.T_PROTECTED,this.tok.T_PUBLIC,this.tok.T_REQUIRE,this.tok.T_REQUIRE_ONCE,this.tok.T_RETURN,this.tok.T_STATIC,this.tok.T_SWITCH,this.tok.T_THROW,this.tok.T_TRAIT,this.tok.T_TRY,this.tok.T_UNSET,this.tok.T_USE,this.tok.T_VAR,this.tok.T_WHILE,this.tok.T_YIELD].map(i)),VARIABLE:new Map([this.tok.T_VARIABLE,"$","&",this.tok.T_NS_SEPARATOR,this.tok.T_STRING,this.tok.T_NAMESPACE,this.tok.T_STATIC].map(i)),SCALAR:new Map([this.tok.T_CONSTANT_ENCAPSED_STRING,this.tok.T_START_HEREDOC,this.tok.T_LNUMBER,this.tok.T_DNUMBER,this.tok.T_ARRAY,"[",this.tok.T_CLASS_C,this.tok.T_TRAIT_C,this.tok.T_FUNC_C,this.tok.T_METHOD_C,this.tok.T_LINE,this.tok.T_FILE,this.tok.T_DIR,this.tok.T_NS_C,'"','b"','B"',"-",this.tok.T_NS_SEPARATOR].map(i)),T_MAGIC_CONST:new Map([this.tok.T_CLASS_C,this.tok.T_TRAIT_C,this.tok.T_FUNC_C,this.tok.T_METHOD_C,this.tok.T_LINE,this.tok.T_FILE,this.tok.T_DIR,this.tok.T_NS_C].map(i)),T_MEMBER_FLAGS:new Map([this.tok.T_PUBLIC,this.tok.T_PRIVATE,this.tok.T_PROTECTED,this.tok.T_STATIC,this.tok.T_ABSTRACT,this.tok.T_FINAL].map(i)),EOS:new Map([";",this.EOF,this.tok.T_INLINE_HTML].map(i)),EXPR:new Map(["@","-","+","!","~","(","`",this.tok.T_LIST,this.tok.T_CLONE,this.tok.T_INC,this.tok.T_DEC,this.tok.T_NEW,this.tok.T_ISSET,this.tok.T_EMPTY,this.tok.T_INCLUDE,this.tok.T_INCLUDE_ONCE,this.tok.T_REQUIRE,this.tok.T_REQUIRE_ONCE,this.tok.T_EVAL,this.tok.T_INT_CAST,this.tok.T_DOUBLE_CAST,this.tok.T_STRING_CAST,this.tok.T_ARRAY_CAST,this.tok.T_OBJECT_CAST,this.tok.T_BOOL_CAST,this.tok.T_UNSET_CAST,this.tok.T_EXIT,this.tok.T_PRINT,this.tok.T_YIELD,this.tok.T_STATIC,this.tok.T_FUNCTION,this.tok.T_VARIABLE,"$",this.tok.T_NS_SEPARATOR,this.tok.T_STRING,this.tok.T_STRING,this.tok.T_CONSTANT_ENCAPSED_STRING,this.tok.T_START_HEREDOC,this.tok.T_LNUMBER,this.tok.T_DNUMBER,this.tok.T_ARRAY,"[",this.tok.T_CLASS_C,this.tok.T_TRAIT_C,this.tok.T_FUNC_C,this.tok.T_METHOD_C,this.tok.T_LINE,this.tok.T_FILE,this.tok.T_DIR,this.tok.T_NS_C].map(i))}}r.prototype.getTokenName=function(t){return o(t)?t==this.EOF?"the end of file (EOF)":this.lexer.engine.tokens.values[t]:"'"+t+"'"},r.prototype.parse=function(t,e){this._errors=[],this.filename=e||"eval",this.currentNamespace=[""],this.extractDoc?this._docs=[]:this._docs=null,this.extractTokens?this._tokens=[]:this._tokens=null,this._docIndex=0,this.lexer.setInput(t),this.lexer.all_tokens=this.extractTokens,this.lexer.comment_tokens=this.extractDoc,this.length=this.lexer._input.length,this.innerList=!1,this.innerListForm=!1;var i=this.node("program"),r=[];for(this.next();this.token!=this.EOF;){var n=this.read_start();null!=n&&(Array.isArray(n)?r=r.concat(n):r.push(n))}return this.prev=[this.lexer.yylloc.last_line,this.lexer.yylloc.last_column,this.lexer.offset],i(r,this._errors,this._docs,this._tokens)},r.prototype.raiseError=function(t,e,i,r){if(t+=" on line "+this.lexer.yylloc.first_line,!this.suppressErrors){var n=new SyntaxError(t,this.filename,this.lexer.yylloc.first_line);throw n.lineNumber=this.lexer.yylloc.first_line,n.fileName=this.filename,n.columnNumber=this.lexer.yylloc.first_column,n}var o=this.ast.prepare("error",null,this)(t,r,this.lexer.yylloc.first_line,i);return this._errors.push(o),o},r.prototype.error=function(t){var e="Parse Error : syntax error",i=this.getTokenName(this.token),r="";if(this.token!==this.EOF){if(o(this.token)){var n=this.text();10<n.length&&(n=n.substring(0,7)+"..."),i="'"+n+"' ("+i+")"}e+=", unexpected "+i}return t&&!Array.isArray(t)&&(!o(t)&&1!==t.length||(r=", expecting "+this.getTokenName(t)),e+=r),this.raiseError(e,r,t,i)},r.prototype.node=function(t){if(this.extractDoc){var e=null;this._docIndex<this._docs.length&&(e=this._docs.slice(this._docIndex),this._docIndex=this._docs.length,this.debug&&(console.log(new Error("Append docs on "+t)),console.log(e)));var i=this.ast.prepare(t,e,this);return i.preBuild=function(){this._docIndex<this._docs.length&&(i.setTrailingComments(this._docs.slice(this._docIndex)),this._docIndex=this._docs.length)}.bind(this),i}return this.ast.prepare(t,null,this)},r.prototype.expectEndOfStatement=function(t){if(";"===this.token)t&&";"===this.lexer.yytext&&t.includeToken(this);else if(this.token!==this.tok.T_INLINE_HTML&&this.token!==this.EOF)return this.error(";"),!1;return this.next(),!0};var s=["parser.next","parser.node","parser.showlog"];r.prototype.showlog=function(){for(var t=(new Error).stack.split("\n"),e=void 0,i=2;i<t.length;i++){e=t[i].trim();for(var r=!1,n=0;n<s.length;n++)if(e.substring(3,3+s[n].length)===s[n]){r=!0;break}if(!r)break}return console.log("Line "+this.lexer.yylloc.first_line+" : "+this.getTokenName(this.token)+">"+this.lexer.yytext+"< @--\x3e"+e),this},r.prototype.expect=function(t){if(Array.isArray(t)){if(-1===t.indexOf(this.token))return this.error(t),!1}else if(this.token!=t)return this.error(t),!1;return!0},r.prototype.text=function(){return this.lexer.yytext},r.prototype.next=function(){if(";"===this.token&&";"!==this.lexer.yytext||(this.prev=[this.lexer.yylloc.last_line,this.lexer.yylloc.last_column,this.lexer.offset]),this.lex(),this.debug&&this.showlog(),this.extractDoc)for(;this.token===this.tok.T_COMMENT||this.token===this.tok.T_DOC_COMMENT;)this.token===this.tok.T_COMMENT?this._docs.push(this.read_comment()):this._docs.push(this.read_doc_comment());return this},r.prototype.lex=function(){if(this.extractTokens)do{if(this.token=this.lexer.lex()||this.EOF,this.token===this.EOF)return this;var t=this.lexer.yytext;if(t=this.lexer.engine.tokens.values.hasOwnProperty(this.token)?[this.lexer.engine.tokens.values[this.token],t,this.lexer.yylloc.first_line,this.lexer.yylloc.first_offset,this.lexer.offset]:[null,t,this.lexer.yylloc.first_line,this.lexer.yylloc.first_offset,this.lexer.offset],this._tokens.push(t),this.token===this.tok.T_CLOSE_TAG)return this.token=";",this;if(this.token===this.tok.T_OPEN_TAG_WITH_ECHO)return this.token=this.tok.T_ECHO,this}while(this.token===this.tok.T_WHITESPACE||!this.extractDoc&&(this.token===this.tok.T_COMMENT||this.token===this.tok.T_DOC_COMMENT)||this.token===this.tok.T_OPEN_TAG);else this.token=this.lexer.lex()||this.EOF;return this},r.prototype.is=function(t){return Array.isArray(t)?-1!==t.indexOf(this.token):this.entries[t].has(this.token)},[i(29),i(30),i(31),i(32),i(33),i(34),i(35),i(36),i(37),i(38),i(39),i(40),i(41),i(42),i(43)].forEach(function(t){for(var e in t)r.prototype[e]=t[e]}),t.exports=r},function(t,e,i){"use strict";t.exports={read_array:function(){var t,e=!1,i=this.node("array");t=this.token===this.tok.T_ARRAY?(this.next().expect("("),")"):(e=!0,"]");var r=[];return this.next().token!==t&&(r=this.read_array_pair_list(e)),this.expect(t),this.next(),i(e,r)},read_array_pair_list:function(t){var e=this;return this.read_list(function(){return e.read_array_pair(t)},",",!0)},read_array_pair:function(t){if(","===this.token||!t&&")"===this.token||t&&"]"===this.token)return null;if("&"===this.token)return this.next().read_variable(!0,!1,!0);var e=this.node("entry"),i=this.read_expr();return this.token===this.tok.T_DOUBLE_ARROW?"&"===this.next().token?e(i,this.next().read_variable(!0,!1,!0)):e(i,this.read_expr()):i},read_dim_offset:function(){return"]"!=this.token&&this.read_expr()}}},function(t,e,i){"use strict";t.exports={read_class:function(){var t=this.node("class"),e=this.read_class_scope();if(this.token!==this.tok.T_CLASS)return this.error(this.tok.T_CLASS),this.next(),null;this.next().expect(this.tok.T_STRING);var i=this.text(),r=null,n=null;return this.next().token==this.tok.T_EXTENDS&&(r=this.next().read_namespace_name()),this.token==this.tok.T_IMPLEMENTS&&(n=this.next().read_name_list()),this.expect("{"),t(i,r,n,this.next().read_class_body(),e)},read_class_scope:function(){var t=this.token;return t==this.tok.T_FINAL?(this.next(),[0,0,2]):t==this.tok.T_ABSTRACT?(this.next(),[0,0,1]):[0,0,0]},read_class_body:function(){for(var t=[];this.token!==this.EOF&&"}"!==this.token;)if(this.token!==this.tok.T_COMMENT)if(this.token!==this.tok.T_DOC_COMMENT)if(this.token!==this.tok.T_USE){var e=this.read_member_flags(!1);if(this.token!==this.tok.T_CONST)if(this.token===this.tok.T_VAR&&(this.next().expect(this.tok.T_VARIABLE),e[0]=null,e[1]=0),this.token===this.tok.T_VARIABLE){var i=this.read_variable_list(e);this.expect(";"),this.next(),t=t.concat(i)}else this.token===this.tok.T_FUNCTION?t.push(this.read_function(!1,e)):(this.error([this.tok.T_CONST,this.tok.T_VARIABLE,this.tok.T_FUNCTION]),this.next());else{var r=this.read_constant_list(e);this.expect(";")&&this.next(),t=t.concat(r)}}else t=t.concat(this.read_trait_use_statement());else t.push(this.read_doc_comment());else t.push(this.read_comment());return this.expect("}"),this.next(),t},read_variable_list:function(i){return this.read_list(function(){var t=this.node("property");this.expect(this.tok.T_VARIABLE);var e=this.text().substring(1);return this.next(),";"===this.token||","===this.token?t(e,null,i):"="===this.token?t(e,this.next().read_expr(),i):(this.expect([",",";","="]),t(e,null,i))},",")},read_constant_list:function(t){return this.expect(this.tok.T_CONST)&&this.next(),this.node("classconstant")(null,this.read_list(function(){var t=this.node("constant"),e=null,i=null;return this.token===this.tok.T_STRING||this.php7&&this.is("IDENTIFIER")?(e=this.text(),this.next()):this.expect("IDENTIFIER"),this.expect("=")&&(i=this.next().read_expr()),t(e,i)},","),t)},read_member_flags:function(t){var e=[-1,-1,-1];if(this.is("T_MEMBER_FLAGS")){var i=0,r=0;do{switch(this.token){case this.tok.T_PUBLIC:r=i=0;break;case this.tok.T_PROTECTED:i=0,r=1;break;case this.tok.T_PRIVATE:i=0,r=2;break;case this.tok.T_STATIC:r=i=1;break;case this.tok.T_ABSTRACT:i=2,r=1;break;case this.tok.T_FINAL:r=i=2}t&&(0==i&&2==r?(this.expect([this.tok.T_PUBLIC,this.tok.T_PROTECTED]),r=-1):2==i&&1==r&&(this.error(),r=-1)),-1!==e[i]?this.error():-1!==r&&(e[i]=r)}while(this.next().is("T_MEMBER_FLAGS"))}return-1==e[1]&&(e[1]=0),-1==e[2]&&(e[2]=0),e},read_interface:function(){var t=this.node("interface"),e=null,i=null,r=null;return this.expect(this.tok.T_INTERFACE)&&this.next(),this.expect(this.tok.T_STRING)&&(e=this.text(),this.next()),this.token===this.tok.T_EXTENDS&&(r=this.next().read_name_list()),this.expect("{")&&(i=this.next().read_interface_body()),t(e,r,i)},read_interface_body:function(){for(var t=[];this.token!==this.EOF&&"}"!==this.token;)if(this.token!==this.tok.T_COMMENT)if(this.token!==this.tok.T_DOC_COMMENT){var e=this.read_member_flags(!0);if(this.token==this.tok.T_CONST){var i=this.read_constant_list(e);this.expect(";")&&this.next(),t=t.concat(i)}else if(this.token===this.tok.T_FUNCTION){var r=this.read_function_declaration(2,e);r.parseFlags(e),t.push(r),this.expect(";")&&this.next()}else this.error([this.tok.T_CONST,this.tok.T_FUNCTION]),this.next()}else t.push(this.read_doc_comment());else t.push(this.read_comment());return this.expect("}")&&this.next(),t},read_trait:function(){var t=this.node("trait"),e=null,i=null,r=null,n=null;return this.expect(this.tok.T_TRAIT)&&this.next(),this.expect(this.tok.T_STRING)&&(e=this.text()),this.next().token==this.tok.T_EXTENDS&&(i=this.next().read_namespace_name()),this.token==this.tok.T_IMPLEMENTS&&(r=this.next().read_name_list()),this.expect("{")&&(n=this.next().read_class_body()),t(e,i,r,n)},read_trait_use_statement:function(){var t=this.node("traituse");this.expect(this.tok.T_USE)&&this.next();for(var e=[this.read_namespace_name()],i=null;","===this.token;)e.push(this.next().read_namespace_name());if("{"===this.token){for(i=[];this.next().token!==this.EOF&&"}"!==this.token;)i.push(this.read_trait_use_alias()),this.expect(";");this.expect("}")&&this.next()}else this.expect(";")&&this.next();return t(e,i)},read_trait_use_alias:function(){var t=this.node(),e=null,i=void 0;if(this.is("IDENTIFIER")?(i=this.text(),this.next()):(i=this.read_namespace_name(),this.token===this.tok.T_DOUBLE_COLON?(this.next(),this.token===this.tok.T_STRING||this.php7&&this.is("IDENTIFIER")?(e=i,i=this.text(),this.next()):this.expect(this.tok.T_STRING)):i=i.name),this.token===this.tok.T_INSTEADOF)return t("traitprecedence",e,i,this.next().read_name_list());if(this.token!==this.tok.T_AS)return this.expect([this.tok.T_AS,this.tok.T_INSTEADOF]),t("traitalias",e,i,null,null);var r=null,n=null;return this.next().is("T_MEMBER_FLAGS")&&(r=this.read_member_flags()),this.token===this.tok.T_STRING||this.php7&&this.is("IDENTIFIER")?(n=this.text(),this.next()):!1===r&&this.expect(this.tok.T_STRING),t("traitalias",e,i,n,r)}}},function(t,e,i){"use strict";t.exports={read_comment:function(){var t=this.text(),e=this.ast.prepare("/*"===t.substring(0,2)?"commentblock":"commentline",null,this),i=this.prev;return this.prev=[this.lexer.yylloc.last_line,this.lexer.yylloc.last_column,this.lexer.offset],this.lex(),e=e(t),this.prev=i,e},read_doc_comment:function(){var t=this.ast.prepare("commentblock",null,this),e=this.text(),i=this.prev;return this.prev=[this.lexer.yylloc.last_line,this.lexer.yylloc.last_column,this.lexer.offset],this.lex(),t=t(e),this.prev=i,t}}},function(t,e,i){"use strict";t.exports={read_expr:function(t){var e=this.node();if(t=t||this.read_expr_item(),"|"===this.token)return e("bin","|",t,this.next().read_expr());if("&"===this.token)return e("bin","&",t,this.next().read_expr());if("^"===this.token)return e("bin","^",t,this.next().read_expr());if("."===this.token)return e("bin",".",t,this.next().read_expr());if("+"===this.token)return e("bin","+",t,this.next().read_expr());if("-"===this.token)return e("bin","-",t,this.next().read_expr());if("*"===this.token)return e("bin","*",t,this.next().read_expr());if("/"===this.token)return e("bin","/",t,this.next().read_expr());if("%"===this.token)return e("bin","%",t,this.next().read_expr());if(this.token===this.tok.T_POW)return e("bin","**",t,this.next().read_expr());if(this.token===this.tok.T_SL)return e("bin","<<",t,this.next().read_expr());if(this.token===this.tok.T_SR)return e("bin",">>",t,this.next().read_expr());if(this.token===this.tok.T_BOOLEAN_OR)return e("bin","||",t,this.next().read_expr());if(this.token===this.tok.T_LOGICAL_OR)return e("bin","or",t,this.next().read_expr());if(this.token===this.tok.T_BOOLEAN_AND)return e("bin","&&",t,this.next().read_expr());if(this.token===this.tok.T_LOGICAL_AND)return e("bin","and",t,this.next().read_expr());if(this.token===this.tok.T_LOGICAL_XOR)return e("bin","xor",t,this.next().read_expr());if(this.token===this.tok.T_IS_IDENTICAL)return e("bin","===",t,this.next().read_expr());if(this.token===this.tok.T_IS_NOT_IDENTICAL)return e("bin","!==",t,this.next().read_expr());if(this.token===this.tok.T_IS_EQUAL)return e("bin","==",t,this.next().read_expr());if(this.token===this.tok.T_IS_NOT_EQUAL)return e("bin","!=",t,this.next().read_expr());if("<"===this.token)return e("bin","<",t,this.next().read_expr());if(">"===this.token)return e("bin",">",t,this.next().read_expr());if(this.token===this.tok.T_IS_SMALLER_OR_EQUAL)return e("bin","<=",t,this.next().read_expr());if(this.token===this.tok.T_IS_GREATER_OR_EQUAL)return e("bin",">=",t,this.next().read_expr());if(this.token===this.tok.T_SPACESHIP)return e("bin","<=>",t,this.next().read_expr());if(this.token===this.tok.T_INSTANCEOF&&(t=e("bin","instanceof",t,this.next().read_class_name_reference()),";"!==this.token&&this.token!==this.tok.T_INLINE_HTML&&this.token!==this.EOF&&(t=this.read_expr(t))),this.token===this.tok.T_COALESCE)return e("bin","??",t,this.next().read_expr());if("?"!==this.token)return e.destroy(t),t;var i=null;return":"!==this.next().token&&(i=this.read_expr()),this.expect(":")&&this.next(),e("retif",t,i,this.read_expr())},read_expr_cast:function(t){return this.node("cast")(t,this.text(),this.next().read_expr())},read_expr_item:function(){var t=void 0,e=void 0;if("@"===this.token)return this.node("silent")(this.next().read_expr());if("+"===this.token)return this.node("unary")("+",this.next().read_expr());if("-"===this.token)return this.node("unary")("-",this.next().read_expr());if("!"===this.token)return this.node("unary")("!",this.next().read_expr());if("~"===this.token)return this.node("unary")("~",this.next().read_expr());if("("===this.token)return(e=this.next().read_expr()).parenthesizedExpression=!0,this.expect(")")&&this.next(),this.handleDereferencable(e);if("`"===this.token)return this.read_encapsed_string("`");if(this.token===this.tok.T_LIST){var i=null,r=this.innerList;t=this.node("list"),r||(i=this.node("assign")),this.next().expect("(")&&this.next(),this.innerList||(this.innerList=!0);var n=this.read_array_pair_list(!1);this.expect(")")&&this.next();for(var o=!1,s=0;s<n.length;s++)if(null!==n[s]){o=!0;break}return o||this.raiseError("Fatal Error : Cannot use empty list on line "+this.lexer.yylloc.first_line),r?t(n,!1):(this.innerList=!1,this.expect("=")?i(t(n,!1),this.next().read_expr(),"="):t(n,!1))}if(this.token===this.tok.T_CLONE)return this.node("clone")(this.next().read_expr());switch(this.token){case this.tok.T_INC:return this.node("pre")("+",this.next().read_variable(!1,!1,!1));case this.tok.T_DEC:return this.node("pre")("-",this.next().read_variable(!1,!1,!1));case this.tok.T_NEW:return this.read_new_expr();case this.tok.T_ISSET:t=this.node("isset"),this.next().expect("(")&&this.next();var a=this.read_list(this.read_expr,",");return this.expect(")")&&this.next(),t(a);case this.tok.T_EMPTY:t=this.node("empty"),this.next().expect("(")&&this.next();var l=this.read_expr();return this.expect(")")&&this.next(),t(l);case this.tok.T_INCLUDE:return this.node("include")(!1,!1,this.next().read_expr());case this.tok.T_INCLUDE_ONCE:return this.node("include")(!0,!1,this.next().read_expr());case this.tok.T_REQUIRE:return this.node("include")(!1,!0,this.next().read_expr());case this.tok.T_REQUIRE_ONCE:return this.node("include")(!0,!0,this.next().read_expr());case this.tok.T_EVAL:return t=this.node("eval"),this.next().expect("(")&&this.next(),e=this.read_expr(),this.expect(")")&&this.next(),t(e);case this.tok.T_INT_CAST:return this.read_expr_cast("int");case this.tok.T_DOUBLE_CAST:return this.read_expr_cast("float");case this.tok.T_STRING_CAST:return this.read_expr_cast(-1!==this.text().indexOf("binary")?"binary":"string");case this.tok.T_ARRAY_CAST:return this.read_expr_cast("array");case this.tok.T_OBJECT_CAST:return this.read_expr_cast("object");case this.tok.T_BOOL_CAST:return this.read_expr_cast("bool");case this.tok.T_UNSET_CAST:return this.read_expr_cast("unset");case this.tok.T_EXIT:var c="die"===this.lexer.yytext.toLowerCase();t=this.node("exit");var h=null;return"("===this.next().token&&(")"!==this.next().token?(h=this.read_expr(),this.expect(")")&&this.next()):this.next()),t(h,c);case this.tok.T_PRINT:return this.node("print")(this.next().read_expr());case this.tok.T_YIELD:var u=null,f=null;return t=this.node("yield"),this.next().is("EXPR")&&(u=this.read_expr(),this.token===this.tok.T_DOUBLE_ARROW&&(f=u,u=this.next().read_expr())),t(u,f);case this.tok.T_YIELD_FROM:return(t=this.node("yieldfrom"))(e=this.next().read_expr());case this.tok.T_FUNCTION:return this.read_function(!0);case this.tok.T_STATIC:var d=[this.token,this.lexer.getState()];if(this.next().token===this.tok.T_FUNCTION)return this.read_function(!0,[0,1,0]);this.lexer.tokens.push(d),this.next()}if(this.is("VARIABLE")){t=this.node();var p="identifier"===(e=this.read_variable(!1,!1,!1)).kind||"staticlookup"===e.kind&&"identifier"===e.offset.kind;switch(this.token){case"=":return p&&this.error("VARIABLE"),t("assign",e,"&"==this.next().token?this.next().token===this.tok.T_NEW?this.read_new_expr():this.read_variable(!1,!1,!0):this.read_expr(),"=");case this.tok.T_PLUS_EQUAL:return p&&this.error("VARIABLE"),t("assign",e,this.next().read_expr(),"+=");case this.tok.T_MINUS_EQUAL:return p&&this.error("VARIABLE"),t("assign",e,this.next().read_expr(),"-=");case this.tok.T_MUL_EQUAL:return p&&this.error("VARIABLE"),t("assign",e,this.next().read_expr(),"*=");case this.tok.T_POW_EQUAL:return p&&this.error("VARIABLE"),t("assign",e,this.next().read_expr(),"**=");case this.tok.T_DIV_EQUAL:return p&&this.error("VARIABLE"),t("assign",e,this.next().read_expr(),"/=");case this.tok.T_CONCAT_EQUAL:return p&&this.error("VARIABLE"),t("assign",e,this.next().read_expr(),".=");case this.tok.T_MOD_EQUAL:return p&&this.error("VARIABLE"),t("assign",e,this.next().read_expr(),"%=");case this.tok.T_AND_EQUAL:return p&&this.error("VARIABLE"),t("assign",e,this.next().read_expr(),"&=");case this.tok.T_OR_EQUAL:return p&&this.error("VARIABLE"),t("assign",e,this.next().read_expr(),"|=");case this.tok.T_XOR_EQUAL:return p&&this.error("VARIABLE"),t("assign",e,this.next().read_expr(),"^=");case this.tok.T_SL_EQUAL:return p&&this.error("VARIABLE"),t("assign",e,this.next().read_expr(),"<<=");case this.tok.T_SR_EQUAL:return p&&this.error("VARIABLE"),t("assign",e,this.next().read_expr(),">>=");case this.tok.T_INC:return p&&this.error("VARIABLE"),this.next(),t("post","+",e);case this.tok.T_DEC:return p&&this.error("VARIABLE"),this.next(),t("post","-",e);default:t.destroy(e)}}else{if(this.is("SCALAR")){if(t=this.node(),"array"===(e=this.read_scalar()).kind&&e.shortForm&&"="===this.token){var m=this.node("list")(e.items,!0);return e.loc&&(m.loc=e.loc),t("assign",m,this.next().read_expr(),"=")}return t.destroy(e),this.handleDereferencable(e)}this.error("EXPR"),this.next()}return e},read_new_expr:function(){var t=this.node("new");this.expect(this.tok.T_NEW)&&this.next();var e=[];if(this.token===this.tok.T_CLASS){var i=this.node("class"),r=null,n=null,o=null;return"("===this.next().token&&(e=this.read_function_argument_list()),this.token==this.tok.T_EXTENDS&&(r=this.next().read_namespace_name()),this.token==this.tok.T_IMPLEMENTS&&(n=this.next().read_name_list()),this.expect("{")&&(o=this.next().read_class_body()),t(i(null,r,n,o,[0,0,0]),e)}var s=this.read_class_name_reference();return"("===this.token&&(e=this.read_function_argument_list()),t(s,e)},read_class_name_reference:function(){if(this.token===this.tok.T_NS_SEPARATOR||this.token===this.tok.T_STRING||this.token===this.tok.T_NAMESPACE){var t=this.read_namespace_name();return this.token===this.tok.T_DOUBLE_COLON&&(t=this.read_static_getter(t)),t}if(this.is("VARIABLE"))return this.read_variable(!0,!1,!1);this.expect([this.tok.T_STRING,"VARIABLE"])},handleDereferencable:function(t){for(;this.token!==this.EOF;)if(this.token===this.tok.T_OBJECT_OPERATOR||this.token===this.tok.T_DOUBLE_COLON)t=this.recursive_variable_chain_scan(t,!1,!1,!0);else if(this.token===this.tok.T_CURLY_OPEN||"["===this.token)t=this.read_dereferencable(t);else{if("("!==this.token)return t;t=this.node("call")(t,this.read_function_argument_list())}return t}}},function(t,e,i){"use strict";t.exports={is_reference:function(){return"&"==this.token&&(this.next(),!0)},is_variadic:function(){return this.token===this.tok.T_ELLIPSIS&&(this.next(),!0)},read_function:function(t,e){var i=this.read_function_declaration(t?1:e?2:0,e&&1===e[1]);return e&&1==e[2]?(i.parseFlags(e),this.expect(";")&&this.next()):(this.expect("{")&&(i.body=this.read_code_block(!1),i.loc&&i.body.loc&&(i.loc.end=i.body.loc.end)),!t&&e&&i.parseFlags(e)),i},read_function_declaration:function(t,e){var i="function";1===t?i="closure":2===t&&(i="method");var r=this.node(i);this.expect(this.tok.T_FUNCTION)&&this.next();var n=this.is_reference(),o=!1,s=[],a=null,l=!1;if(1!==t){var c=this.node("identifier");2===t?this.token===this.tok.T_STRING||this.php7&&this.is("IDENTIFIER")?(o=this.text(),this.next()):this.error("IDENTIFIER"):(this.expect(this.tok.T_STRING)&&(o=this.text()),this.next()),o=c(o)}this.expect("(")&&this.next();var h=this.read_parameter_list();return this.expect(")")&&this.next(),1===t&&this.token===this.tok.T_USE&&(this.next().expect("(")&&this.next(),s=this.read_list(this.read_lexical_var,","),this.expect(")")&&this.next()),":"===this.token&&("?"===this.next().token&&(l=!0,this.next()),a=this.read_type()),1===t?r(h,n,s,a,l,e):r(o,h,n,a,l)},read_lexical_var:function(){var t=this.node("variable"),e=!1;"&"===this.token&&(e=!0,this.next()),this.expect(this.tok.T_VARIABLE);var i=this.text().substring(1);return this.next(),t(i,e,!1)},read_parameter_list:function(){var t=[];if(")"!=this.token)for(;this.token!=this.EOF;){if(t.push(this.read_parameter()),","!=this.token){if(")"==this.token)break;this.error([",",")"]);break}this.next()}return t},read_parameter:function(){var t,e=this.node("parameter"),i=null,r=null,n=!1;"?"===this.token&&(this.next(),n=!0),t=this.read_type(),n&&!t&&this.raiseError("Expecting a type definition combined with nullable operator");var o=this.is_reference(),s=this.is_variadic();return this.expect(this.tok.T_VARIABLE)&&(i=this.text().substring(1),this.next()),"="==this.token&&(r=this.next().read_expr()),e(i,t,r,o,s,n)},read_function_argument_list:function(){var t=[],e=!1;if(this.expect("(")&&this.next(),")"!==this.token)for(;this.token!=this.EOF;){var i=this.read_argument_list();if(i&&(t.push(i),"variadic"===i.kind?e=!0:e&&this.raiseError("Unexpected argument after a variadic argument")),","!==this.token)break;this.next()}return this.expect(")")&&this.next(),t},read_argument_list:function(){return this.token===this.tok.T_ELLIPSIS?this.node("variadic")(this.next().read_expr()):this.read_expr()},read_type:function(){var t=this.node();if(this.token===this.tok.T_ARRAY||this.token===this.tok.T_CALLABLE){var e=this.text();return this.next(),t("typereference",e.toLowerCase(),e)}if(this.token!==this.tok.T_STRING)return this.token===this.tok.T_NAMESPACE||this.token===this.tok.T_NS_SEPARATOR?this.read_namespace_name():null;var i=this.text(),r=[this.token,this.lexer.getState()];return this.next(),this.token!==this.tok.T_NS_SEPARATOR&&-1<this.ast.typereference.types.indexOf(i.toLowerCase())?t("typereference",i.toLowerCase(),i):(this.lexer.tokens.push(r),this.next(),this.read_namespace_name())}}},function(t,e,i){"use strict";t.exports={read_if:function(){var t,e=this.node("if"),i=null,r=null,n=!1;if(t=this.next().read_if_expr(),":"===this.token){n=!0,this.next(),i=this.node("block");for(var o=[];this.token!==this.EOF&&this.token!==this.tok.T_ENDIF;){if(this.token===this.tok.T_ELSEIF){r=this.read_elseif_short();break}if(this.token===this.tok.T_ELSE){r=this.read_else_short();break}o.push(this.read_inner_statement())}i=i(null,o),this.expect(this.tok.T_ENDIF)&&this.next(),this.expectEndOfStatement()}else i=this.read_statement(),this.token===this.tok.T_ELSEIF?r=this.read_if():this.token===this.tok.T_ELSE&&(r=this.next().read_statement());return e(t,i,r,n)},read_if_expr:function(){this.expect("(")&&this.next();var t=this.read_expr();return this.expect(")")&&this.next(),t},read_elseif_short:function(){var t,e=this.node("if"),i=null,r=null,n=[];for(t=this.next().read_if_expr(),this.expect(":")&&this.next(),r=this.node("block");this.token!=this.EOF&&this.token!==this.tok.T_ENDIF;){if(this.token===this.tok.T_ELSEIF){i=this.read_elseif_short();break}if(this.token===this.tok.T_ELSE){i=this.read_else_short();break}n.push(this.read_inner_statement())}return e(t,r=r(null,n),i,!0)},read_else_short:function(){var t=this.node("block");this.next().expect(":")&&this.next();for(var e=[];this.token!=this.EOF&&this.token!==this.tok.T_ENDIF;)e.push(this.read_inner_statement());return t(null,e)}}},function(t,e,i){"use strict";t.exports={read_while:function(){var t=this.node("while");this.expect(this.tok.T_WHILE)&&this.next();var e,i=!1;return this.expect("(")&&this.next(),e=this.read_expr(),this.expect(")")&&this.next(),t(e,":"===this.token?(i=!0,this.read_short_form(this.tok.T_ENDWHILE)):this.read_statement(),i)},read_do:function(){var t=this.node("do");this.expect(this.tok.T_DO)&&this.next();var e,i=null;return e=this.read_statement(),this.expect(this.tok.T_WHILE)&&(this.next().expect("(")&&this.next(),i=this.read_expr(),this.expect(")")&&this.next(),this.expect(";")&&this.next()),t(i,e)},read_for:function(){var t=this.node("for");this.expect(this.tok.T_FOR)&&this.next();var e=[],i=[],r=[],n=!1;return this.expect("(")&&this.next(),";"!==this.token?(e=this.read_list(this.read_expr,","),this.expect(";")&&this.next()):this.next(),";"!==this.token?(i=this.read_list(this.read_expr,","),this.expect(";")&&this.next()):this.next(),")"!==this.token?(r=this.read_list(this.read_expr,","),this.expect(")")&&this.next()):this.next(),t(e,i,r,":"===this.token?(n=!0,this.read_short_form(this.tok.T_ENDFOR)):this.read_statement(),n)},read_foreach:function(){var t=this.node("foreach");this.expect(this.tok.T_FOREACH)&&this.next();var e,i=null,r=null,n=!1;return this.expect("(")&&this.next(),e=this.read_expr(),this.expect(this.tok.T_AS)&&(this.next(),r=this.read_foreach_variable(),this.token===this.tok.T_DOUBLE_ARROW&&(i=r,r=this.next().read_foreach_variable())),i&&"list"===i.kind&&this.raiseError("Fatal Error : Cannot use list as key element"),this.expect(")")&&this.next(),t(e,i,r,":"===this.token?(n=!0,this.read_short_form(this.tok.T_ENDFOREACH)):this.read_statement(),n)},read_foreach_variable:function(){if(this.token!==this.tok.T_LIST&&"["!==this.token)return this.read_variable(!1,!1,!1);var t="["===this.token,e=this.node("list");this.next(),!t&&this.expect("(")&&this.next();var i=this.read_array_pair_list(t);return this.expect(t?"]":")")&&this.next(),e(i,t)}}},function(t,e,i){"use strict";t.exports={read_start:function(){return this.token==this.tok.T_NAMESPACE?this.read_namespace():this.read_top_statement()}}},function(t,e,i){"use strict";t.exports={read_namespace:function(){var t=this.node("namespace"),e=void 0;if(this.expect(this.tok.T_NAMESPACE)&&this.next(),"{"==this.token)return this.currentNamespace=[""],e=this.next().read_top_statements(),this.expect("}")&&this.next(),t([""],e,!0);var i=this.read_namespace_name();return";"==this.token?(this.currentNamespace=i,e=this.next().read_top_statements(),this.expect(this.EOF),t(i.name,e,!1)):"{"==this.token?(this.currentNamespace=i,e=this.next().read_top_statements(),this.expect("}")&&this.next(),t(i.name,e,!0)):"("===this.token?(i.resolution=this.ast.reference.RELATIVE_NAME,i.name=i.name.substring(1),this.node("call")(i,this.read_function_argument_list())):(this.error(["{",";"]),this.currentNamespace=i,e=this.read_top_statements(),this.expect(this.EOF),t(i,e,!1))},read_namespace_name:function(){var t=this.node(),e=!1;this.token===this.tok.T_NAMESPACE&&(this.next().expect(this.tok.T_NS_SEPARATOR)&&this.next(),e=!0);var i=this.read_list(this.tok.T_STRING,this.tok.T_NS_SEPARATOR,!0);if(!e&&1===i.length){if("parent"===i[0].toLowerCase())return t("parentreference",i[0]);if("self"===i[0].toLowerCase())return t("selfreference",i[0])}return t("classreference",i,e)},read_use_statement:function(){var t=this.node("usegroup"),e=[],i=null;this.expect(this.tok.T_USE)&&this.next();var r=this.read_use_type();return e.push(this.read_use_declaration(!1)),","===this.token?e=e.concat(this.next().read_use_declarations(!1)):"{"===this.token&&(i=e[0].name,e=this.next().read_use_declarations(null===r),this.expect("}")&&this.next()),t=t(i,r,e),this.expect(";")&&this.next(),t},read_class_name_reference:function(){return this.read_variable(!0,!1,!1)},read_use_declaration:function(t){var e=this.node("useitem"),i=null;t&&(i=this.read_use_type());var r=this.read_namespace_name(),n=this.read_use_alias();return e(r.name,n,i)},read_use_declarations:function(t){for(var e=[this.read_use_declaration(t)];","===this.token;){if(this.next(),t){if(this.token!==this.tok.T_FUNCTION&&this.token!==this.tok.T_CONST&&this.token!==this.tok.T_STRING)break}else if(this.token!==this.tok.T_STRING)break;e.push(this.read_use_declaration(t))}return e},read_use_alias:function(){var t=null;return this.token===this.tok.T_AS&&this.next().expect(this.tok.T_STRING)&&(t=this.text(),this.next()),t},read_use_type:function(){return this.token===this.tok.T_FUNCTION?(this.next(),this.ast.useitem.TYPE_FUNCTION):this.token===this.tok.T_CONST?(this.next(),this.ast.useitem.TYPE_CONST):null}}},function(t,e,i){"use strict";var r={"\\r":"\r","\\n":"\n","\\t":"\t","\\v":String.fromCharCode(11),"\\e":String.fromCharCode(27),"\\f":String.fromCharCode(12),"\\\\":"\\","\\$":"$",'\\"':'"',"\\'":"'"};t.exports={resolve_special_chars:function(t,e){return e?t.replace(/\\[rntvef"'\\$]/g,function(t){return r[t]}):t.replace(/\\['\\]/g,function(t){return r[t]})},read_scalar:function(){if(this.is("T_MAGIC_CONST"))return this.get_magic_constant();var t=void 0,e=void 0;switch(this.token){case this.tok.T_CONSTANT_ENCAPSED_STRING:t=this.node("string");var i=this.text(),r=0;"b"!==i[0]&&"B"!==i[0]||(r=1);var n='"'===i[r];return this.next(),t=t(n,this.resolve_special_chars(i.substring(r+1,i.length-1),n),1===r,i),this.token===this.tok.T_DOUBLE_COLON?this.read_static_getter(t):t;case this.tok.T_START_HEREDOC:if("ST_NOWDOC"!==this.lexer.curCondition)return this.read_encapsed_string(this.tok.T_END_HEREDOC);var o=this.lexer.yylloc.first_offset;e=this.node("nowdoc");var s=(t=this.next().text())[t.length-1];"\n"===s?t="\r"===t[t.length-2]?t.substring(0,t.length-2):t.substring(0,t.length-1):"\r"===s&&(t=t.substring(0,t.length-1)),this.expect(this.tok.T_ENCAPSED_AND_WHITESPACE)&&this.next();var a=this.lexer._input.substring(o,this.lexer.yylloc.last_offset);return this.expect(this.tok.T_END_HEREDOC)&&this.next(),e(t,a,this.lexer.heredoc_label,'"'===a[3]||"'"===a[3]);case'"':return this.read_encapsed_string('"');case'b"':case'B"':return this.read_encapsed_string('"',!0);case this.tok.T_LNUMBER:case this.tok.T_DNUMBER:var l=this.node("number");return t=this.text(),this.next(),l(t,null);case this.tok.T_ARRAY:case"[":return this.read_array();default:var c=this.error("SCALAR");return this.next(),c}},read_dereferencable:function(t){var e=void 0,i=void 0,r=this.node("offsetlookup");return"["===this.token?(i=this.next().read_expr(),this.expect("]")&&this.next(),e=r(t,i)):this.token===this.tok.T_DOLLAR_OPEN_CURLY_BRACES&&(e=r(t,i=this.read_encapsed_string_item(!1))),e},read_encapsed_string_item:function(t){var e=this.node("encapsedpart"),i=!1,r=this.node(),n=void 0,o=void 0,s=void 0;if(this.token===this.tok.T_ENCAPSED_AND_WHITESPACE){var a=this.text();this.next(),r=r("string",!1,this.resolve_special_chars(a,t),!1,a)}else if(this.token===this.tok.T_DOLLAR_OPEN_CURLY_BRACES){if(s=null,this.next().token===this.tok.T_STRING_VARNAME){s=this.node("variable");var l=this.text();this.next(),s="["===this.token?(s=s(l,!1),o=this.node("offsetlookup"),n=this.next().read_expr(),this.expect("]")&&this.next(),o(s,n)):l}else s=this.read_expr();this.expect("}")&&this.next(),r=r("variable",s,!1,!0)}else if(this.token===this.tok.T_CURLY_OPEN)i=!0,r.destroy(),r=this.next().read_variable(!1,!1,!1),this.expect("}")&&this.next();else if(this.token===this.tok.T_VARIABLE){if(r.destroy(),r=this.read_simple_variable(!1),"["===this.token&&(o=this.node("offsetlookup"),n=this.next().read_encaps_var_offset(),this.expect("]")&&this.next(),r=o(r,n)),this.token===this.tok.T_OBJECT_OPERATOR){o=this.node("propertylookup"),this.next().expect(this.tok.T_STRING);var c=this.node("identifier");s=this.text(),this.next(),r=o(r,c(s))}}else{this.expect(this.tok.T_ENCAPSED_AND_WHITESPACE);var h=this.text();this.next(),r.destroy(),r=r("string",!1,h,!1,h)}return e(r,i)},read_encapsed_string:function(t){var e=1<arguments.length&&void 0!==arguments[1]&&arguments[1],i=this.node("encapsed");this.next();var r,n=this.lexer.yylloc.prev_offset-(e?1:0),o=[];for(r="`"===t?this.ast.encapsed.TYPE_SHELL:'"'===t?this.ast.encapsed.TYPE_STRING:this.ast.encapsed.TYPE_HEREDOC;this.token!==t&&this.token!==this.EOF;)o.push(this.read_encapsed_string_item(!0));return this.expect(t)&&this.next(),i=i(o,this.lexer._input.substring(n-1,this.lexer.yylloc.first_offset),r),t===this.tok.T_END_HEREDOC&&(i.label=this.lexer.heredoc_label),i},get_magic_constant:function(){var t=this.node("magic"),e=this.text();return this.next(),t(e.toUpperCase(),e)}}},function(t,e,i){"use strict";t.exports={read_top_statements:function(){for(var t=[];this.token!==this.EOF&&"}"!==this.token;){var e=this.read_top_statement();e&&(Array.isArray(e)?t=t.concat(e):t.push(e))}return t},read_top_statement:function(){switch(this.token){case this.tok.T_FUNCTION:return this.read_function(!1,!1);case this.tok.T_ABSTRACT:case this.tok.T_FINAL:case this.tok.T_CLASS:return this.read_class();case this.tok.T_INTERFACE:return this.read_interface();case this.tok.T_TRAIT:return this.read_trait();case this.tok.T_USE:return this.read_use_statement();case this.tok.T_CONST:var t=this.node("constantstatement"),e=this.next().read_const_list();return this.expectEndOfStatement(),t(null,e);case this.tok.T_NAMESPACE:return this.read_namespace();case this.tok.T_HALT_COMPILER:var i=this.node("halt");return this.next().expect("(")&&this.next(),this.expect(")")&&this.next(),this.expect(";"),this.lexer.done=!0,i(this.lexer._input.substring(this.lexer.offset));default:return this.read_statement()}},read_inner_statements:function(){for(var t=[];this.token!=this.EOF&&"}"!==this.token;){var e=this.read_inner_statement();e&&(Array.isArray(e)?t=t.concat(e):t.push(e))}return t},read_const_list:function(){return this.read_list(function(){this.expect(this.tok.T_STRING);var t=this.node("constant"),e=this.text();return this.next().expect("=")?t(e,this.next().read_expr()):t(e,null)},",",!1)},read_declare_list:function(){for(var t={};this.token!=this.EOF&&")"!==this.token;){this.expect(this.tok.T_STRING);var e=this.text().toLowerCase();if(this.next().expect("=")?t[e]=this.next().read_expr():t[e]=null,","!==this.token)break;this.next()}return t},read_inner_statement:function(){switch(this.token){case this.tok.T_FUNCTION:return this.read_function(!1,!1);case this.tok.T_ABSTRACT:case this.tok.T_FINAL:case this.tok.T_CLASS:return this.read_class();case this.tok.T_INTERFACE:return this.read_interface();case this.tok.T_TRAIT:return this.read_trait();case this.tok.T_HALT_COMPILER:this.raiseError("__HALT_COMPILER() can only be used from the outermost scope");var t=this.node("halt");return this.next().expect("(")&&this.next(),this.expect(")")&&this.next(),t=t(this.lexer._input.substring(this.lexer.offset)),this.expect(";")&&this.next(),t;default:return this.read_statement()}},read_statement:function(){switch(this.token){case"{":return this.read_code_block(!1);case this.tok.T_IF:return this.read_if();case this.tok.T_SWITCH:return this.read_switch();case this.tok.T_FOR:return this.read_for();case this.tok.T_FOREACH:return this.read_foreach();case this.tok.T_WHILE:return this.read_while();case this.tok.T_DO:return this.read_do();case this.tok.T_COMMENT:return this.read_comment();case this.tok.T_DOC_COMMENT:return this.read_doc_comment();case this.tok.T_RETURN:var t=this.node("return"),e=null;return this.next().is("EOS")||(e=this.read_expr()),this.expectEndOfStatement(),t(e);case this.tok.T_BREAK:case this.tok.T_CONTINUE:var i=this.node(this.token===this.tok.T_CONTINUE?"continue":"break"),r=null;return this.next(),";"!==this.token&&(r=this.read_expr()),this.expectEndOfStatement(),i(r);case this.tok.T_GLOBAL:var n=this.node("global"),o=this.next().read_list(this.read_simple_variable,",");return this.expectEndOfStatement(),n(o);case this.tok.T_STATIC:var s=[this.token,this.lexer.getState()],a=this.node();if(this.next().token===this.tok.T_DOUBLE_COLON){this.lexer.tokens.push(s);var l=this.next().read_expr();return this.expectEndOfStatement(l),a("expressionstatement",l)}if(this.token===this.tok.T_FUNCTION)return this.read_function(!0,[0,1,0]);var c=this.read_variable_declarations();return this.expectEndOfStatement(),a("static",c);case this.tok.T_ECHO:var h=this.node("echo"),u=this.text(),f="<?="===u||"<%="===u,d=this.next().read_list(this.read_expr,",");return this.expectEndOfStatement(),h(d,f);case this.tok.T_INLINE_HTML:var p=this.text(),m=0<this.lexer.yylloc.first_offset?this.lexer._input[this.lexer.yylloc.first_offset-1]:null,g="\r"===m||"\n"===m;g&&"\n"===m&&1<this.lexer.yylloc.first_offset&&"\r"===this.lexer._input[this.lexer.yylloc.first_offset-2]&&(m="\r\n");var _=this.node("inline");return this.next(),_(p,g?m+p:p);case this.tok.T_UNSET:var v=this.node("unset");this.next().expect("(")&&this.next();var y=this.read_list(this.read_variable,",");return this.expect(")")&&this.next(),this.expect(";")&&this.next(),v(y);case this.tok.T_DECLARE:var x=this.node("declare"),T=[],k=void 0;this.next().expect("(")&&this.next();var b=this.read_declare_list();if(this.expect(")")&&this.next(),":"===this.token){for(this.next();this.token!=this.EOF&&this.token!==this.tok.T_ENDDECLARE;)T.push(this.read_top_statement());this.expect(this.tok.T_ENDDECLARE)&&this.next(),this.expectEndOfStatement(),k=this.ast.declare.MODE_SHORT}else if("{"===this.token){for(this.next();this.token!=this.EOF&&"}"!==this.token;)T.push(this.read_top_statement());this.expect("}")&&this.next(),k=this.ast.declare.MODE_BLOCK}else this.expect(";")&&this.next(),k=this.ast.declare.MODE_NONE;return x(b,T,k);case this.tok.T_TRY:return this.read_try();case this.tok.T_THROW:var w=this.node("throw"),E=this.next().read_expr();return this.expectEndOfStatement(),w(E);case";":return this.next(),null;case this.tok.T_STRING:var C=this.node(),S=[this.token,this.lexer.getState()],A=this.text();if(":"===this.next().token)return this.next(),C("label",A);this.lexer.tokens.push(S);var L=this.next().read_expr();return this.expectEndOfStatement(),L;case this.tok.T_GOTO:var N=this.node("goto"),O=null;return this.next().expect(this.tok.T_STRING)&&(O=this.text(),this.next().expectEndOfStatement()),N(O);default:var I=this.node("expressionstatement"),R=this.read_expr();return this.expectEndOfStatement(R),I(R)}},read_code_block:function(t){var e=this.node("block");this.expect("{")&&this.next();var i=t?this.read_top_statements():this.read_inner_statements();return this.expect("}")&&this.next(),e(null,i)}}},function(t,e,i){"use strict";t.exports={read_switch:function(){var t=this.node("switch");this.expect(this.tok.T_SWITCH)&&this.next(),this.expect("(")&&this.next();var e=this.read_expr();this.expect(")")&&this.next();var i=":"===this.token;return t(e,this.read_switch_case_list(),i)},read_switch_case_list:function(){var t=null,e=this.node("block"),i=[];for("{"===this.token?t="}":":"===this.token?t=this.tok.T_ENDSWITCH:this.expect(["{",":"]),";"===this.next().token&&this.next();this.token!==this.EOF&&this.token!==t;)i.push(this.read_case_list(t));return this.expect(t)&&this.next(),t===this.tok.T_ENDSWITCH&&this.expectEndOfStatement(),e(null,i)},read_case_list:function(t){var e=this.node("case"),i=null,r=null,n=[];for(this.token===this.tok.T_CASE?i=this.next().read_expr():this.token===this.tok.T_DEFAULT?this.next():this.expect([this.tok.T_CASE,this.tok.T_DEFAULT]),this.expect([":",";"])&&this.next(),r=this.node("block");this.token!=this.EOF&&this.token!==t&&this.token!==this.tok.T_CASE&&this.token!==this.tok.T_DEFAULT;)n.push(this.read_inner_statement());return e(i,0<n.length?r(null,n):null)}}},function(t,e,i){"use strict";t.exports={read_try:function(){this.expect(this.tok.T_TRY);for(var t=this.node("try"),e=null,i=[],r=this.next().read_statement();this.token===this.tok.T_CATCH;){var n=this.node("catch");this.next().expect("(")&&this.next();var o=this.read_list(this.read_namespace_name,"|",!1),s=this.read_variable(!0,!1,!1);this.expect(")"),i.push(n(this.next().read_statement(),o,s))}return this.token===this.tok.T_FINALLY&&(e=this.next().read_statement()),t(r,i,e)}}},function(t,e,i){"use strict";t.exports={read_short_form:function(t){var e=this.node("block"),i=[];for(this.expect(":")&&this.next();this.token!=this.EOF&&this.token!==t;)i.push(this.read_inner_statement());return this.expect(t)&&this.next(),this.expectEndOfStatement(),e(null,i)},read_list:function(t,e,i){var r=[];if(this.token==e&&(i&&r.push(null),this.next()),"function"==typeof t){do{if(r.push(t.apply(this,[])),this.token!=e)break}while(this.next().token!=this.EOF)}else{if(!this.expect(t))return[];for(r.push(this.text());this.next().token!=this.EOF&&this.token==e&&this.next().token==t;)r.push(this.text())}return r},read_name_list:function(){return this.read_list(this.read_namespace_name,",",!1)},read_variable_declarations:function(){return this.read_list(function(){var t=this.node("assign"),e=this.node("variable");if(this.expect(this.tok.T_VARIABLE)){var i=this.text().substring(1);this.next(),e=e(i,!1,!1)}else e=e("#ERR",!1,!1);return"="===this.token?t(e,this.next().read_expr()):e},",")}}},function(t,e,i){"use strict";t.exports={read_variable:function(t,e,i){var r=void 0;if(i||"&"!==this.token||(i=!0,this.next()),this.is([this.tok.T_VARIABLE,"$"]))r=this.read_reference_variable(e,i);else if(this.is([this.tok.T_NS_SEPARATOR,this.tok.T_STRING,this.tok.T_NAMESPACE])){r=this.node();var n=this.read_namespace_name();if(this.token!=this.tok.T_DOUBLE_COLON&&"("!=this.token&&-1===["parentreference","selfreference"].indexOf(n.kind)){var o=n.name.toLowerCase();r="true"===o?r("boolean",!0,n.name):"false"===o?r("boolean",!1,n.name):r("identifier",n)}else r=n}else if(this.token===this.tok.T_STATIC){r=this.node("staticreference");var s=this.text();this.next(),r=r(s)}else this.expect("VARIABLE");return this.token===this.tok.T_DOUBLE_COLON&&(r=this.read_static_getter(r,e)),this.recursive_variable_chain_scan(r,t,e)},read_static_getter:function(t,e){var i=this.node("staticlookup"),r=void 0,n=void 0;return this.next().is([this.tok.T_VARIABLE,"$"])?r=this.read_reference_variable(e,!1):this.token===this.tok.T_STRING||this.token===this.tok.T_CLASS||this.php7&&this.is("IDENTIFIER")?(r=this.node("identifier"),n=this.text(),this.next(),r=r(n)):"{"===this.token?(r=this.next().read_expr(),this.expect("}")&&this.next(),this.expect("(")):(this.error([this.tok.T_VARIABLE,this.tok.T_STRING]),r=this.node("identifier"),n=this.text(),this.next(),r=r(n)),i(t,r)},read_what:function(){var t=0<arguments.length&&void 0!==arguments[0]&&arguments[0],e=null,i=null;switch(this.next().token){case this.tok.T_STRING:if(e=this.node("identifier"),i=this.text(),this.next(),e=e(i),t&&this.token===this.tok.T_OBJECT_OPERATOR&&this.error(),this.token===this.tok.T_VARIABLE){var r=this.node("variable");i=this.text().substring(1),this.next(),(e=this.node("encapsed")([e,r(i,!1,!1)],null,"offset")).loc&&e.value[0].loc&&(e.loc.start=e.value[0].loc.start)}else if("{"===this.token){var n=this.next().read_expr();this.expect("}")&&this.next(),(e=this.node("encapsed")([e,n],null,"offset")).loc&&e.value[0].loc&&(e.loc.start=e.value[0].loc.start)}break;case this.tok.T_VARIABLE:e=this.node("variable"),i=this.text().substring(1),this.next(),e=e(i,!1,!1);break;case"$":this.next().expect(["{",this.tok.T_VARIABLE]),"{"===this.token?(e=this.next().read_expr(),this.expect("}")&&this.next()):e=this.read_expr();break;case"{":e=this.next().read_expr(),this.expect("}")&&this.next();break;default:this.error([this.tok.T_STRING,this.tok.T_VARIABLE,"$","{"]),e=this.node("identifier"),i=this.text(),this.next(),e=e(i)}return e},recursive_variable_chain_scan:function(t,e,i,r){var n=void 0,o=void 0;t:for(;this.token!=this.EOF;)switch(this.token){case"(":if(e)return t;t=this.node("call")(t,this.read_function_argument_list());break;case"[":n=this.node("offsetlookup"),this.next(),o=!1,i?(o=this.read_encaps_var_offset(),this.expect("]")&&this.next()):"]"!==this.token?(o=this.read_expr(),this.expect("]")&&this.next()):this.next(),t=n(t,o);break;case this.tok.T_DOUBLE_COLON:"staticlookup"===t.kind&&"identifier"===t.offset.kind&&this.error(),t=(n=this.node("staticlookup"))(t,this.read_what(!0)),r&&"("!==this.token&&this.error("(");break;case this.tok.T_OBJECT_OPERATOR:t=(n=this.node("propertylookup"))(t,this.read_what());break;default:break t}return t},read_encaps_var_offset:function(){var t=this.node();if(this.token===this.tok.T_STRING){var e=this.text();this.next(),t=t("identifier",e)}else if(this.token===this.tok.T_NUM_STRING){var i=this.text();this.next(),t=t("number",i,null)}else if(this.token===this.tok.T_VARIABLE){var r=this.text().substring(1);this.next(),t=t("variable",r,!1,!1)}else{this.expect([this.tok.T_STRING,this.tok.T_NUM_STRING,this.tok.T_VARIABLE]);var n=this.text();this.next(),t=t("identifier",n)}return t},read_reference_variable:function(t,e){for(var i=this.read_simple_variable(e),r=void 0;this.token!=this.EOF;){var n=this.node();if("["==this.token)r=null,r=t?this.next().read_encaps_var_offset():"]"===this.next().token?null:this.read_dim_offset(),this.expect("]")&&this.next(),i=n("offsetlookup",i,r);else{if("{"!=this.token||t){n.destroy();break}r=this.next().read_expr(),this.expect("}")&&this.next(),i=n("offsetlookup",i,r)}}return i},read_simple_variable:function(t){var e=this.node("variable"),i=void 0;if(this.expect([this.tok.T_VARIABLE,"$"])&&this.token===this.tok.T_VARIABLE)i=this.text().substring(1),this.next(),e=e(i,t,!1);else switch("$"===this.token&&this.next(),this.token){case"{":var r=this.next().read_expr();this.expect("}")&&this.next(),e=e(r,t,!0);break;case"$":e=e(this.read_simple_variable(!1),t);break;case this.tok.T_VARIABLE:i=this.text().substring(1);var n=this.node("variable");this.next(),e=e(n(i,!1,!1),t,!1);break;default:this.error(["{","$",this.tok.T_VARIABLE]),i=this.text(),this.next(),e=e(i,t,!1)}return e}}},function(t,e,i){"use strict";t.exports={values:{101:"T_HALT_COMPILER",102:"T_USE",103:"T_ENCAPSED_AND_WHITESPACE",104:"T_OBJECT_OPERATOR",105:"T_STRING",106:"T_DOLLAR_OPEN_CURLY_BRACES",107:"T_STRING_VARNAME",108:"T_CURLY_OPEN",109:"T_NUM_STRING",110:"T_ISSET",111:"T_EMPTY",112:"T_INCLUDE",113:"T_INCLUDE_ONCE",114:"T_EVAL",115:"T_REQUIRE",116:"T_REQUIRE_ONCE",117:"T_NAMESPACE",118:"T_NS_SEPARATOR",119:"T_AS",120:"T_IF",121:"T_ENDIF",122:"T_WHILE",123:"T_DO",124:"T_FOR",125:"T_SWITCH",126:"T_BREAK",127:"T_CONTINUE",128:"T_RETURN",129:"T_GLOBAL",130:"T_STATIC",131:"T_ECHO",132:"T_INLINE_HTML",133:"T_UNSET",134:"T_FOREACH",135:"T_DECLARE",136:"T_TRY",137:"T_THROW",138:"T_GOTO",139:"T_FINALLY",140:"T_CATCH",141:"T_ENDDECLARE",142:"T_LIST",143:"T_CLONE",144:"T_PLUS_EQUAL",145:"T_MINUS_EQUAL",146:"T_MUL_EQUAL",147:"T_DIV_EQUAL",148:"T_CONCAT_EQUAL",149:"T_MOD_EQUAL",150:"T_AND_EQUAL",151:"T_OR_EQUAL",152:"T_XOR_EQUAL",153:"T_SL_EQUAL",154:"T_SR_EQUAL",155:"T_INC",156:"T_DEC",157:"T_BOOLEAN_OR",158:"T_BOOLEAN_AND",159:"T_LOGICAL_OR",160:"T_LOGICAL_AND",161:"T_LOGICAL_XOR",162:"T_SL",163:"T_SR",164:"T_IS_IDENTICAL",165:"T_IS_NOT_IDENTICAL",166:"T_IS_EQUAL",167:"T_IS_NOT_EQUAL",168:"T_IS_SMALLER_OR_EQUAL",169:"T_IS_GREATER_OR_EQUAL",170:"T_INSTANCEOF",171:"T_INT_CAST",172:"T_DOUBLE_CAST",173:"T_STRING_CAST",174:"T_ARRAY_CAST",175:"T_OBJECT_CAST",176:"T_BOOL_CAST",177:"T_UNSET_CAST",178:"T_EXIT",179:"T_PRINT",180:"T_YIELD",181:"T_YIELD_FROM",182:"T_FUNCTION",183:"T_DOUBLE_ARROW",184:"T_DOUBLE_COLON",185:"T_ARRAY",186:"T_CALLABLE",187:"T_CLASS",188:"T_ABSTRACT",189:"T_TRAIT",190:"T_FINAL",191:"T_EXTENDS",192:"T_INTERFACE",193:"T_IMPLEMENTS",194:"T_VAR",195:"T_PUBLIC",196:"T_PROTECTED",197:"T_PRIVATE",198:"T_CONST",199:"T_NEW",200:"T_INSTEADOF",201:"T_ELSEIF",202:"T_ELSE",203:"T_ENDSWITCH",204:"T_CASE",205:"T_DEFAULT",206:"T_ENDFOR",207:"T_ENDFOREACH",208:"T_ENDWHILE",209:"T_CONSTANT_ENCAPSED_STRING",210:"T_LNUMBER",211:"T_DNUMBER",212:"T_LINE",213:"T_FILE",214:"T_DIR",215:"T_TRAIT_C",216:"T_METHOD_C",217:"T_FUNC_C",218:"T_NS_C",219:"T_START_HEREDOC",220:"T_END_HEREDOC",221:"T_CLASS_C",222:"T_VARIABLE",223:"T_OPEN_TAG",224:"T_OPEN_TAG_WITH_ECHO",225:"T_CLOSE_TAG",226:"T_WHITESPACE",227:"T_COMMENT",228:"T_DOC_COMMENT",229:"T_ELLIPSIS",230:"T_COALESCE",231:"T_POW",232:"T_POW_EQUAL",233:"T_SPACESHIP"},names:{T_HALT_COMPILER:101,T_USE:102,T_ENCAPSED_AND_WHITESPACE:103,T_OBJECT_OPERATOR:104,T_STRING:105,T_DOLLAR_OPEN_CURLY_BRACES:106,T_STRING_VARNAME:107,T_CURLY_OPEN:108,T_NUM_STRING:109,T_ISSET:110,T_EMPTY:111,T_INCLUDE:112,T_INCLUDE_ONCE:113,T_EVAL:114,T_REQUIRE:115,T_REQUIRE_ONCE:116,T_NAMESPACE:117,T_NS_SEPARATOR:118,T_AS:119,T_IF:120,T_ENDIF:121,T_WHILE:122,T_DO:123,T_FOR:124,T_SWITCH:125,T_BREAK:126,T_CONTINUE:127,T_RETURN:128,T_GLOBAL:129,T_STATIC:130,T_ECHO:131,T_INLINE_HTML:132,T_UNSET:133,T_FOREACH:134,T_DECLARE:135,T_TRY:136,T_THROW:137,T_GOTO:138,T_FINALLY:139,T_CATCH:140,T_ENDDECLARE:141,T_LIST:142,T_CLONE:143,T_PLUS_EQUAL:144,T_MINUS_EQUAL:145,T_MUL_EQUAL:146,T_DIV_EQUAL:147,T_CONCAT_EQUAL:148,T_MOD_EQUAL:149,T_AND_EQUAL:150,T_OR_EQUAL:151,T_XOR_EQUAL:152,T_SL_EQUAL:153,T_SR_EQUAL:154,T_INC:155,T_DEC:156,T_BOOLEAN_OR:157,T_BOOLEAN_AND:158,T_LOGICAL_OR:159,T_LOGICAL_AND:160,T_LOGICAL_XOR:161,T_SL:162,T_SR:163,T_IS_IDENTICAL:164,T_IS_NOT_IDENTICAL:165,T_IS_EQUAL:166,T_IS_NOT_EQUAL:167,T_IS_SMALLER_OR_EQUAL:168,T_IS_GREATER_OR_EQUAL:169,T_INSTANCEOF:170,T_INT_CAST:171,T_DOUBLE_CAST:172,T_STRING_CAST:173,T_ARRAY_CAST:174,T_OBJECT_CAST:175,T_BOOL_CAST:176,T_UNSET_CAST:177,T_EXIT:178,T_PRINT:179,T_YIELD:180,T_YIELD_FROM:181,T_FUNCTION:182,T_DOUBLE_ARROW:183,T_DOUBLE_COLON:184,T_ARRAY:185,T_CALLABLE:186,T_CLASS:187,T_ABSTRACT:188,T_TRAIT:189,T_FINAL:190,T_EXTENDS:191,T_INTERFACE:192,T_IMPLEMENTS:193,T_VAR:194,T_PUBLIC:195,T_PROTECTED:196,T_PRIVATE:197,T_CONST:198,T_NEW:199,T_INSTEADOF:200,T_ELSEIF:201,T_ELSE:202,T_ENDSWITCH:203,T_CASE:204,T_DEFAULT:205,T_ENDFOR:206,T_ENDFOREACH:207,T_ENDWHILE:208,T_CONSTANT_ENCAPSED_STRING:209,T_LNUMBER:210,T_DNUMBER:211,T_LINE:212,T_FILE:213,T_DIR:214,T_TRAIT_C:215,T_METHOD_C:216,T_FUNC_C:217,T_NS_C:218,T_START_HEREDOC:219,T_END_HEREDOC:220,T_CLASS_C:221,T_VARIABLE:222,T_OPEN_TAG:223,T_OPEN_TAG_WITH_ECHO:224,T_CLOSE_TAG:225,T_WHITESPACE:226,T_COMMENT:227,T_DOC_COMMENT:228,T_ELLIPSIS:229,T_COALESCE:230,T_POW:231,T_POW_EQUAL:232,T_SPACESHIP:233}}},function(t,e,i){"use strict";function n(t,e){this.withPositions=t,this.withSource=e}var u=i(46),f=i(47);n.prototype.position=function(t){return new f(t.lexer.yylloc.first_line,t.lexer.yylloc.first_column,t.lexer.yylloc.first_offset)},n.precedence={},[["or"],["xor"],["and"],["="],["?"],["??"],["||"],["&&"],["|"],["^"],["&"],["==","!=","===","!==","<=>"],["<","<=",">",">="],["<<",">>"],["+","-","."],["*","/","%"],["!"],["instanceof"]].forEach(function(t,e){t.forEach(function(t){n.precedence[t]=e+1})}),n.prototype.resolvePrecedence=function(t){var e=void 0,i=void 0,r=void 0;return"bin"===t.kind?t.right&&!t.right.parenthesizedExpression&&("bin"===t.right.kind?(i=n.precedence[t.type],r=n.precedence[t.right.type],i&&r&&r<=i&&(e=t.right,t.right=t.right.left,e.left=this.resolvePrecedence(t),t=e)):"retif"===t.right.kind&&(i=n.precedence[t.type],r=n.precedence["?"],i&&r&&r<=i&&(e=t.right,t.right=t.right.test,e.test=this.resolvePrecedence(t),t=e))):"unary"===t.kind?t.what&&!t.what.parenthesizedExpression&&("bin"===t.what.kind?(e=t.what,t.what=t.what.left,e.left=this.resolvePrecedence(t),t=e):"retif"===t.what.kind&&(e=t.what,t.what=t.what.test,e.test=this.resolvePrecedence(t),t=e)):"retif"===t.kind?t.falseExpr&&"retif"===t.falseExpr.kind&&!t.falseExpr.parenthesizedExpression&&(e=t.falseExpr,t.falseExpr=e.test,e.test=this.resolvePrecedence(t),t=e):"assign"===t.kind&&t.right&&"bin"===t.right.kind&&!t.right.parenthesizedExpression&&(i=n.precedence["="],r=n.precedence[t.right.type],i&&r&&r<i&&(e=t.right,t.right=t.right.left,e.left=t,t=e)),t},n.prototype.prepare=function(o,s,a){var l=null;(this.withPositions||this.withSource)&&(l=this.position(a));function c(){var t=null,e=Array.prototype.slice.call(arguments);if(e.push(s),"function"==typeof c.preBuild&&c.preBuild(arguments),h.withPositions||h.withSource){var i=null;h.withSource&&(i=a.lexer._input.substring(l.offset,a.prev[2])),t=h.withPositions?new u(i,l,new f(a.prev[0],a.prev[1],a.prev[2])):new u(i,null,null),e.push(t)}o=o||e.shift();var r=h[o];if("function"!=typeof r)throw new Error('Undefined node "'+o+'"');var n=Object.create(r.prototype);return r.apply(n,e),c.instance=n,c.trailingComments&&(n.trailingComments=c.trailingComments),h.resolvePrecedence(n)}var h=this;return c.setKind=function(t){o=t},c.setTrailingComments=function(t){c.instance?c.instance.setTrailingComments(t):c.trailingComments=t},c.destroy=function(t){s&&(t?t.leadingComments?t.leadingComments=s.concat(t.leadingComments):t.leadingComments=s:a._docIndex=a._docs.length-s.length)},c},[i(48),i(49),i(50),i(7),i(51),i(52),i(53),i(54),i(55),i(56),i(57),i(58),i(59),i(60),i(61),i(9),i(62),i(63),i(64),i(10),i(65),i(4),i(66),i(67),i(68),i(69),i(70),i(71),i(72),i(73),i(74),i(75),i(1),i(76),i(77),i(78),i(11),i(79),i(80),i(81),i(82),i(83),i(84),i(85),i(86),i(87),i(88),i(89),i(3),i(8),i(90),i(91),i(92),i(93),i(2),i(94),i(95),i(96),i(5),i(97),i(98),i(99),i(100),i(101),i(102),i(103),i(104),i(6),i(105),i(106),i(107),i(108),i(0),i(109),i(110),i(111),i(112),i(113),i(114),i(115),i(116),i(117),i(118),i(119),i(120),i(121),i(122),i(123),i(124),i(125),i(126),i(127),i(128),i(129)].forEach(function(t){n.prototype[t.kind]=t}),t.exports=n},function(t,e,i){"use strict";t.exports=function(t,e,i){this.source=t,this.start=e,this.end=i}},function(t,e,i){"use strict";t.exports=function(t,e,i){this.line=t,this.column=e,this.offset=i}},function(t,e,i){"use strict";var n=i(1);t.exports=n.extends("array",function(t,e,i,r){n.apply(this,["array",i,r]),this.items=e,this.shortForm=t})},function(t,e,i){"use strict";var o=i(1);t.exports=o.extends("assign",function(t,e,i,r,n){o.apply(this,["assign",r,n]),this.operator=i,this.left=t,this.right=e})},function(t,e,i){"use strict";var o=i(5);t.exports=o.extends("bin",function(t,e,i,r,n){o.apply(this,["bin",r,n]),this.type=t,this.left=e,this.right=i})},function(t,e,i){"use strict";var n=i(3);t.exports=n.extends("boolean",function(t,e,i,r){n.apply(this,["boolean",t,e,i,r])})},function(t,e,i){"use strict";var r=i(0);t.exports=r.extends("break",function(t,e,i){r.apply(this,["break",e,i]),this.level=t})},function(t,e,i){"use strict";var n=i(1);t.exports=n.extends("call",function(t,e,i,r){n.apply(this,["call",i,r]),this.what=t,this.arguments=e})},function(t,e,i){"use strict";var n=i(0);t.exports=n.extends("case",function(t,e,i,r){n.apply(this,["case",i,r]),this.test=t,this.body=e})},function(t,e,i){"use strict";var o=i(5);t.exports=o.extends("cast",function(t,e,i,r,n){o.apply(this,["cast",r,n]),this.type=t,this.raw=e,this.what=i})},function(t,e,i){"use strict";var o=i(0);t.exports=o.extends("catch",function(t,e,i,r,n){o.apply(this,["catch",r,n]),this.body=t,this.what=e,this.variable=i})},function(t,e,i){"use strict";var a=i(4);t.exports=a.extends("class",function(t,e,i,r,n,o,s){a.apply(this,["class",t,o,s]),this.isAnonymous=!t,this.extends=e,this.implements=i,this.body=r,this.parseFlags(n)})},function(t,e,i){"use strict";var o=i(10),s="classconstant",r=o.extends(s,function(t,e,i,r,n){o.apply(this,[t||s,e,r,n]),this.parseFlags(i)});r.prototype.parseFlags=function(t){-1===t[0]?this.visibility="":null===t[0]?this.visibility=null:0===t[0]?this.visibility="public":1===t[0]?this.visibility="protected":2===t[0]&&(this.visibility="private")},t.exports=r},function(t,e,i){"use strict";var o=i(6),s="classreference",r=o.extends(s,function t(e,i,r,n){o.apply(this,[s,r,n]),i?this.resolution=t.RELATIVE_NAME:1===e.length?this.resolution=t.UNQUALIFIED_NAME:""===e[0]?this.resolution=t.FULL_QUALIFIED_NAME:this.resolution=t.QUALIFIED_NAME,this.name=e.join("\\")});r.UNQUALIFIED_NAME="uqn",r.QUALIFIED_NAME="qn",r.FULL_QUALIFIED_NAME="fqn",r.RELATIVE_NAME="rn",t.exports=r},function(t,e,i){"use strict";var r=i(1);t.exports=r.extends("clone",function(t,e,i){r.apply(this,["clone",e,i]),this.what=t})},function(t,e,i){"use strict";var l=i(0);t.exports=l.extends("closure",function(t,e,i,r,n,o,s,a){l.apply(this,["closure",s,a]),this.uses=i,this.arguments=t,this.byref=e,this.type=r,this.nullable=n,this.isStatic=o||!1,this.body=null})},function(t,e,i){"use strict";var r=i(9),n="commentblock";t.exports=r.extends(n,function(t,e,i){r.apply(this,[n,t,e,i])})},function(t,e,i){"use strict";var r=i(9),n="commentline";t.exports=r.extends(n,function(t,e,i){r.apply(this,[n,t,e,i])})},function(t,e,i){"use strict";var n=i(2);t.exports=n.extends("constant",function(t,e,i,r){n.apply(this,["constant",i,r]),this.name=t,this.value=e})},function(t,e,i){"use strict";var r=i(0);t.exports=r.extends("continue",function(t,e,i){r.apply(this,["continue",e,i]),this.level=t})},function(t,e,i){"use strict";var o=i(7),r=o.extends("declare",function(t,e,i,r,n){o.apply(this,["declare",e,r,n]),this.what=t,this.mode=i});r.MODE_SHORT="short",r.MODE_BLOCK="block",r.MODE_NONE="none",t.exports=r},function(t,e,i){"use strict";var n=i(0);t.exports=n.extends("do",function(t,e,i,r){n.apply(this,["do",i,r]),this.test=t,this.body=e})},function(t,e,i){"use strict";var n=i(0);t.exports=n.extends("echo",function(t,e,i,r){n.apply(this,["echo",i,r]),this.shortForm=e,this.expressions=t})},function(t,e,i){"use strict";var r=i(1);t.exports=r.extends("empty",function(t,e,i){r.apply(this,["empty",e,i]),this.expression=t})},function(t,e,i){"use strict";var o=i(3),r=o.extends("encapsed",function(t,e,i,r,n){o.apply(this,["encapsed",t,e,r,n]),this.type=i});r.TYPE_STRING="string",r.TYPE_SHELL="shell",r.TYPE_HEREDOC="heredoc",r.TYPE_OFFSET="offset",t.exports=r},function(t,e,i){"use strict";var n=i(1),o="encapsedpart";t.exports=n.extends(o,function(t,e,i,r){n.apply(this,[o,i,r]),this.expression=t,this.curly=e})},function(t,e,i){"use strict";var n=i(2);t.exports=n.extends("entry",function(t,e,i,r){n.apply(this,["entry",i,r]),this.key=t,this.value=e})},function(t,e,i){"use strict";var s=i(2);t.exports=s.extends("error",function(t,e,i,r,n,o){s.apply(this,["error",n,o]),this.message=t,this.token=e,this.line=i,this.expected=r})},function(t,e,i){"use strict";var r=i(1);t.exports=r.extends("eval",function(t,e,i){r.apply(this,["eval",e,i]),this.source=t})},function(t,e,i){"use strict";var n=i(1);t.exports=n.extends("exit",function(t,e,i,r){n.apply(this,["exit",i,r]),this.status=t,this.useDie=e})},function(t,e,i){"use strict";var r=i(0),n="expressionstatement";t.exports=r.extends(n,function(t,e,i){r.apply(this,[n,e,i]),this.expression=t})},function(t,e,i){"use strict";var a=i(0);t.exports=a.extends("for",function(t,e,i,r,n,o,s){a.apply(this,["for",o,s]),this.init=t,this.test=e,this.increment=i,this.shortForm=n,this.body=r})},function(t,e,i){"use strict";var a=i(0);t.exports=a.extends("foreach",function(t,e,i,r,n,o,s){a.apply(this,["foreach",o,s]),this.source=t,this.key=e,this.value=i,this.shortForm=n,this.body=r})},function(t,e,i){"use strict";var r=i(0);t.exports=r.extends("global",function(t,e,i){r.apply(this,["global",e,i]),this.items=t})},function(t,e,i){"use strict";var r=i(0);t.exports=r.extends("goto",function(t,e,i){r.apply(this,["goto",e,i]),this.label=t})},function(t,e,i){"use strict";var r=i(0);t.exports=r.extends("halt",function(t,e,i){r.apply(this,["halt",e,i]),this.after=t})},function(t,e,i){"use strict";var r=i(2),n="identifier",o=r.extends(n,function(t,e,i){r.apply(this,[n,e,i]),this.name=t});t.exports=o},function(t,e,i){"use strict";var s=i(0);t.exports=s.extends("if",function(t,e,i,r,n,o){s.apply(this,["if",n,o]),this.test=t,this.body=e,this.alternate=i,this.shortForm=r})},function(t,e,i){"use strict";var o=i(1);t.exports=o.extends("include",function(t,e,i,r,n){o.apply(this,["include",r,n]),this.once=t,this.require=e,this.target=i})},function(t,e,i){"use strict";var n=i(3);t.exports=n.extends("inline",function(t,e,i,r){n.apply(this,["inline",t,e,i,r])})},function(t,e,i){"use strict";var o=i(4);t.exports=o.extends("interface",function(t,e,i,r,n){o.apply(this,["interface",t,r,n]),this.extends=e,this.body=i})},function(t,e,i){"use strict";var r=i(1);t.exports=r.extends("isset",function(t,e,i){r.apply(this,["isset",e,i]),this.variables=t})},function(t,e,i){"use strict";var r=i(0);t.exports=r.extends("label",function(t,e,i){r.apply(this,["label",e,i]),this.name=t})},function(t,e,i){"use strict";var n=i(1);t.exports=n.extends("list",function(t,e,i,r){n.apply(this,["list",i,r]),this.items=t,this.shortForm=e})},function(t,e,i){"use strict";var n=i(3);t.exports=n.extends("magic",function(t,e,i,r){n.apply(this,["magic",t,e,i,r])})},function(t,e,i){"use strict";var r=i(11);t.exports=r.extends("method",function(){r.apply(this,arguments),this.kind="method"})},function(t,e,i){"use strict";var o=i(7);t.exports=o.extends("namespace",function(t,e,i,r,n){o.apply(this,["namespace",e,r,n]),this.name=t,this.withBrackets=i||!1})},function(t,e,i){"use strict";var n=i(1);t.exports=n.extends("new",function(t,e,i,r){n.apply(this,["new",i,r]),this.what=t,this.arguments=e})},function(t,e,i){"use strict";var s=i(3);t.exports=s.extends("nowdoc",function(t,e,i,r,n,o){s.apply(this,["nowdoc",t,e,n,o]),this.label=i,this.quote=r})},function(t,e,i){"use strict";var n=i(3);t.exports=n.extends("number",function(t,e,i,r){n.apply(this,["number",t,e,i,r])})},function(t,e,i){"use strict";var n=i(8),o="offsetlookup";t.exports=n.extends(o,function(t,e,i,r){n.apply(this,[o,t,e,i,r])})},function(t,e,i){"use strict";var l=i(4);t.exports=l.extends("parameter",function(t,e,i,r,n,o,s,a){l.apply(this,["parameter",t,s,a]),this.value=i,this.type=e,this.byref=r,this.variadic=n,this.nullable=o})},function(t,e,i){"use strict";var r=i(6),n="parentreference",o=r.extends(n,function(t,e,i){r.apply(this,[n,e,i]),this.raw=t});t.exports=o},function(t,e,i){"use strict";var n=i(5);t.exports=n.extends("post",function(t,e,i,r){n.apply(this,["post",i,r]),this.type=t,this.what=e})},function(t,e,i){"use strict";var n=i(5);t.exports=n.extends("pre",function(t,e,i,r){n.apply(this,["pre",i,r]),this.type=t,this.what=e})},function(t,e,i){"use strict";var r=i(1);t.exports=r.extends("print",function(t,e,i){r.apply(this,["print",e,i]),this.expression=t})},function(t,e,i){"use strict";var s=i(7);t.exports=s.extends("program",function(t,e,i,r,n,o){s.apply(this,["program",t,n,o]),this.errors=e,i&&(this.comments=i),r&&(this.tokens=r)})},function(t,e,i){"use strict";var o=i(4);t.exports=o.extends("property",function(t,e,i,r,n){o.apply(this,["property",t,r,n]),this.value=e,this.parseFlags(i)})},function(t,e,i){"use strict";var n=i(8),o="propertylookup";t.exports=n.extends(o,function(t,e,i,r){n.apply(this,[o,t,e,i,r])})},function(t,e,i){"use strict";var o=i(1);t.exports=o.extends("retif",function(t,e,i,r,n){o.apply(this,["retif",r,n]),this.test=t,this.trueExpr=e,this.falseExpr=i})},function(t,e,i){"use strict";var r=i(0);t.exports=r.extends("return",function(t,e,i){r.apply(this,["return",e,i]),this.expr=t})},function(t,e,i){"use strict";var r=i(6),n="selfreference",o=r.extends(n,function(t,e,i){r.apply(this,[n,e,i]),this.raw=t});t.exports=o},function(t,e,i){"use strict";var r=i(1);t.exports=r.extends("silent",function(t,e,i){r.apply(this,["silent",e,i]),this.expr=t})},function(t,e,i){"use strict";var r=i(0);t.exports=r.extends("static",function(t,e,i){r.apply(this,["static",e,i]),this.items=t})},function(t,e,i){"use strict";var n=i(8),o="staticlookup";t.exports=n.extends(o,function(t,e,i,r){n.apply(this,[o,t,e,i,r])})},function(t,e,i){"use strict";var r=i(6),n="staticreference",o=r.extends(n,function(t,e,i){r.apply(this,[n,e,i]),this.raw=t});t.exports=o},function(t,e,i){"use strict";var s=i(3);t.exports=s.extends("string",function(t,e,i,r,n,o){s.apply(this,["string",e,r,n,o]),this.unicode=i,this.isDoubleQuote=t})},function(t,e,i){"use strict";var o=i(0);t.exports=o.extends("switch",function(t,e,i,r,n){o.apply(this,["switch",r,n]),this.test=t,this.body=e,this.shortForm=i})},function(t,e,i){"use strict";var r=i(0);t.exports=r.extends("throw",function(t,e,i){r.apply(this,["throw",e,i]),this.what=t})},function(t,e,i){"use strict";var s=i(4);t.exports=s.extends("trait",function(t,e,i,r,n,o){s.apply(this,["trait",t,n,o]),this.extends=e,this.implements=i,this.body=r})},function(t,e,i){"use strict";var s=i(2),a="traitalias";t.exports=s.extends(a,function(t,e,i,r,n,o){s.apply(this,[a,n,o]),this.trait=t,this.method=e,this.as=i,this.visibility="",r&&(0===r[0]?this.visibility="public":1===r[0]?this.visibility="protected":2===r[0]&&(this.visibility="private"))})},function(t,e,i){"use strict";var o=i(2),s="traitprecedence";t.exports=o.extends(s,function(t,e,i,r,n){o.apply(this,[s,r,n]),this.trait=t,this.method=e,this.instead=i})},function(t,e,i){"use strict";var n=i(2);t.exports=n.extends("traituse",function(t,e,i,r){n.apply(this,["traituse",i,r]),this.traits=t,this.adaptations=e})},function(t,e,i){"use strict";var o=i(0);t.exports=o.extends("try",function(t,e,i,r,n){o.apply(this,["try",r,n]),this.body=t,this.catches=e,this.always=i})},function(t,e,i){"use strict";var n=i(6),o="typereference",r=n.extends(o,function(t,e,i,r){n.apply(this,[o,i,r]),this.name=t,this.raw=e});r.types=["int","float","string","bool","object","array","callable","iterable","void"],t.exports=r},function(t,e,i){"use strict";var n=i(5);t.exports=n.extends("unary",function(t,e,i,r){n.apply(this,["unary",i,r]),this.type=t,this.what=e})},function(t,e,i){"use strict";var r=i(0);t.exports=r.extends("unset",function(t,e,i){r.apply(this,["unset",e,i]),this.variables=t})},function(t,e,i){"use strict";var o=i(0);t.exports=o.extends("usegroup",function(t,e,i,r,n){o.apply(this,["usegroup",r,n]),this.name=t,this.type=e,this.items=i})},function(t,e,i){"use strict";var o=i(0),r=o.extends("useitem",function(t,e,i,r,n){o.apply(this,["useitem",r,n]),this.name=t,this.alias=e,this.type=i});r.TYPE_CONST="const",r.TYPE_FUNCTION="function",t.exports=r},function(t,e,i){"use strict";var o=i(1);t.exports=o.extends("variable",function(t,e,i,r,n){o.apply(this,["variable",r,n]),this.name=t,this.byref=e||!1,this.curly=i||!1})},function(t,e,i){"use strict";var r=i(1);t.exports=r.extends("variadic",function(t,e,i){r.apply(this,["variadic",e,i]),this.what=t})},function(t,e,i){"use strict";var o=i(0);t.exports=o.extends("while",function(t,e,i,r,n){o.apply(this,["while",r,n]),this.test=t,this.body=e,this.shortForm=i})},function(t,e,i){"use strict";var n=i(1);t.exports=n.extends("yield",function(t,e,i,r){n.apply(this,["yield",i,r]),this.value=t,this.key=e})},function(t,e,i){"use strict";var r=i(1);t.exports=r.extends("yieldfrom",function(t,e,i){r.apply(this,["yieldfrom",e,i]),this.value=t})}],wEa={},xEa.m=vEa,xEa.c=wEa,xEa.d=function(t,e,i){xEa.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:i})},xEa.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},xEa.t=function(e,t){if(1&t&&(e=xEa(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var i=Object.create(null);if(xEa.r(i),Object.defineProperty(i,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var r in e)xEa.d(i,r,function(t){return e[t]}.bind(null,r));return i},xEa.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return xEa.d(e,"a",e),e},xEa.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},xEa.p="",xEa(xEa.s=12)).default;function xEa(t){if(wEa[t])return wEa[t].exports;var e=wEa[t]={i:t,l:!1,exports:{}};return vEa[t].call(e.exports,e,e.exports,xEa),e.l=!0,e.exports}var vEa,wEa},"object"==typeof PIa&&"object"==typeof OIa?OIa.exports=SIa():"function"==typeof define&&define.amd?define([],SIa):"object"==typeof PIa?PIa.PhpParser=SIa():RIa.PhpParser=SIa()},{}]},{},[1]);
|
2 |
-
jQuery(document).ready(function(i){i("#winp-snippet-sync").click(function(){i(this).hasClass("disabled")||(i("#winp-sync-snippet-name").val(""),i("#winp-sync-content").find(".winp-modal-error").css("visibility","hidden"),i("#winp-sync-modal").
|
1 |
!function o(s,a,l){function c(e,t){if(!a[e]){if(!s[e]){var i="function"==typeof require&&require;if(!t&&i)return i(e,!0);if(h)return h(e,!0);var r=new Error("Cannot find module '"+e+"'");throw r.code="MODULE_NOT_FOUND",r}var n=a[e]={exports:{}};s[e][0].call(n.exports,function(t){return c(s[e][1][t]||t)},n,n.exports,o,s,a,l)}return a[e].exports}for(var h="function"==typeof require&&require,t=0;t<l.length;t++)c(l[t]);return c}({1:[function(t,e,i){"use strict";var r,n=(r=t("codemirror/lib/codemirror"))&&r.__esModule?r:{default:r};t("codemirror/mode/php/php"),t("codemirror/addon/edit/matchbrackets"),t("codemirror/addon/edit/closebrackets"),t("codemirror/addon/search/search"),t("codemirror/addon/search/match-highlighter"),t("./php-lint"),window.Woody_CodeMirror=n.default},{"./php-lint":2,"codemirror/addon/edit/closebrackets":4,"codemirror/addon/edit/matchbrackets":5,"codemirror/addon/search/match-highlighter":8,"codemirror/addon/search/search":10,"codemirror/lib/codemirror":12,"codemirror/mode/php/php":17}],2:[function(t,e,i){"use strict";var r=n(t("php-parser")),o=n(t("codemirror/lib/codemirror"));function n(t){return t&&t.__esModule?t:{default:t}}function s(t,e){for(var i=0;i<e.length;i++){var r=e[i];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}t("codemirror/addon/lint/lint");var a=(s(l.prototype,[{key:"lint",value:function(){var t=new r.default({parser:{suppressErrors:!0},ast:{withPositions:!0}});try{var e=t.parseEval(this.code);if(e.errors&&0<e.errors.length)for(var i=0;i<e.errors.length;i++)this.annotate(e.errors[i].message,e.errors[i].loc);this.visit(e)}catch(t){this.annotate(t.message,t)}}},{key:"visit",value:function(t){if(t.hasOwnProperty("kind")&&this.validate(t),t.hasOwnProperty("children")){var e=!0,i=!1,r=void 0;try{for(var n,o=t.children[Symbol.iterator]();!(e=(n=o.next()).done);e=!0){var s=n.value;this.visit(s)}}catch(t){i=!0,r=t}finally{try{e||null==o.return||o.return()}finally{if(i)throw r}}}}},{key:"validate",value:function(t){"function"!==t.kind&&"class"!==t.kind||!t.hasOwnProperty("name")||"identifier"!==t.name.kind||("function"===t.kind?this.function_names.has(t.name.name)?this.annotate("Cannot redeclare function ".concat(t.name.name,"()"),t.name.loc):this.function_names.add(t.name.name):"class"===t.kind&&(this.class_names.has(t.name.name)?this.annotate("Cannot redeclare class ".concat(t.name.name),t.name.loc):this.class_names.add(t.name.name)))}},{key:"annotate",value:function(t,e,i){var r,n;e.lineNumber&&e.columnNumber?(r=o.default.Pos(e.lineNumber-1,e.columnNumber-1),n=o.default.Pos(e.lineNumber-1,e.columnNumber)):e.start&&e.end&&(e.end.offset<e.start.offset?(n=o.default.Pos(e.start.line-1,e.start.column),r=o.default.Pos(e.end.line-1,e.end.column)):(r=o.default.Pos(e.start.line-1,e.start.column),n=o.default.Pos(e.end.line-1,e.end.column))),r&&n&&(i=i||"error",this.annotations.push({message:t,severity:i,from:r,to:n}))}}]),l);function l(t){!function(t){if(!(t instanceof l))throw new TypeError("Cannot call a class as a function")}(this),this.code=t,this.annotations=[],this.function_names=new Set,this.class_names=new Set}o.default.registerHelper("lint","php",function(t,e){var i=new a(t);return i.lint(),i.annotations})},{"codemirror/addon/lint/lint":6,"codemirror/lib/codemirror":12,"php-parser":19}],3:[function(t,e,i){var r;r=function(u){function f(t,e,i){var r,n=t.getWrapperElement();return(r=n.appendChild(document.createElement("div"))).className=i?"CodeMirror-dialog CodeMirror-dialog-bottom":"CodeMirror-dialog CodeMirror-dialog-top","string"==typeof e?r.innerHTML=e:r.appendChild(e),u.addClass(n,"dialog-opened"),r}function d(t,e){t.state.currentNotificationClose&&t.state.currentNotificationClose(),t.state.currentNotificationClose=e}u.defineExtension("openDialog",function(t,e,i){i=i||{},d(this,null);var r=f(this,t,i.bottom),n=!1,o=this;function s(t){if("string"==typeof t)l.value=t;else{if(n)return;n=!0,u.rmClass(r.parentNode,"dialog-opened"),r.parentNode.removeChild(r),o.focus(),i.onClose&&i.onClose(r)}}var a,l=r.getElementsByTagName("input")[0];return l?(l.focus(),i.value&&(l.value=i.value,!1!==i.selectValueOnOpen&&l.select()),i.onInput&&u.on(l,"input",function(t){i.onInput(t,l.value,s)}),i.onKeyUp&&u.on(l,"keyup",function(t){i.onKeyUp(t,l.value,s)}),u.on(l,"keydown",function(t){i&&i.onKeyDown&&i.onKeyDown(t,l.value,s)||((27==t.keyCode||!1!==i.closeOnEnter&&13==t.keyCode)&&(l.blur(),u.e_stop(t),s()),13==t.keyCode&&e(l.value,t))}),!1!==i.closeOnBlur&&u.on(l,"blur",s)):(a=r.getElementsByTagName("button")[0])&&(u.on(a,"click",function(){s(),o.focus()}),!1!==i.closeOnBlur&&u.on(a,"blur",s),a.focus()),s}),u.defineExtension("openConfirm",function(t,e,i){d(this,null);var r=f(this,t,i&&i.bottom),n=r.getElementsByTagName("button"),o=!1,s=this,a=1;function l(){o||(o=!0,u.rmClass(r.parentNode,"dialog-opened"),r.parentNode.removeChild(r),s.focus())}n[0].focus();for(var c=0;c<n.length;++c){var h=n[c];!function(e){u.on(h,"click",function(t){u.e_preventDefault(t),l(),e&&e(s)})}(e[c]),u.on(h,"blur",function(){--a,setTimeout(function(){a<=0&&l()},200)}),u.on(h,"focus",function(){++a})}}),u.defineExtension("openNotification",function(t,e){d(this,s);var i,r=f(this,t,e&&e.bottom),n=!1,o=e&&void 0!==e.duration?e.duration:5e3;function s(){n||(n=!0,clearTimeout(i),u.rmClass(r.parentNode,"dialog-opened"),r.parentNode.removeChild(r))}return u.on(r,"click",function(t){u.e_preventDefault(t),s()}),o&&(i=setTimeout(s,o)),s})},"object"==typeof i&&"object"==typeof e?r(t("../../lib/codemirror")):"function"==typeof define&&define.amd?define(["../../lib/codemirror"],r):r(CodeMirror)},{"../../lib/codemirror":12}],4:[function(t,e,i){var r;r=function(T){var i={pairs:"()[]{}''\"\"",triples:"",explode:"[]{}"},k=T.Pos;function b(t,e){return"pairs"==e&&"string"==typeof t?t:"object"==typeof t&&null!=t[e]?t[e]:i[e]}T.defineOption("autoCloseBrackets",!1,function(t,e,i){i&&i!=T.Init&&(t.removeKeyMap(n),t.state.closeBrackets=null),e&&(r(b(e,"pairs")),t.state.closeBrackets=e,t.addKeyMap(n))});var n={Backspace:function(t){var e=w(t);if(!e||t.getOption("disableInput"))return T.Pass;for(var i=b(e,"pairs"),r=t.listSelections(),n=0;n<r.length;n++){if(!r[n].empty())return T.Pass;var o=a(t,r[n].head);if(!o||i.indexOf(o)%2!=0)return T.Pass}for(n=r.length-1;0<=n;n--){var s=r[n].head;t.replaceRange("",k(s.line,s.ch-1),k(s.line,s.ch+1),"+delete")}},Enter:function(r){var t=w(r),e=t&&b(t,"explode");if(!e||r.getOption("disableInput"))return T.Pass;for(var n=r.listSelections(),i=0;i<n.length;i++){if(!n[i].empty())return T.Pass;var o=a(r,n[i].head);if(!o||e.indexOf(o)%2!=0)return T.Pass}r.operation(function(){var t=r.lineSeparator()||"\n";r.replaceSelection(t+t,null),r.execCommand("goCharLeft"),n=r.listSelections();for(var e=0;e<n.length;e++){var i=n[e].head.line;r.indentLine(i,null,!0),r.indentLine(i+1,null,!0)}})}};function r(t){for(var e=0;e<t.length;e++){var i=t.charAt(e),r="'"+i+"'";n[r]||(n[r]=o(i))}}function o(e){return function(t){return function(n,t){var e=w(n);if(!e||n.getOption("disableInput"))return T.Pass;var i,r,o,s=b(e,"pairs"),a=s.indexOf(t);if(-1==a)return T.Pass;for(var l,c=b(e,"triples"),h=s.charAt(a+1)==t,u=n.listSelections(),f=a%2==0,d=0;d<u.length;d++){var p,m=u[d],g=m.head,_=n.getRange(g,k(g.line,g.ch+1));if(f&&!m.empty())p="surround";else if(!h&&f||_!=t)if(h&&1<g.ch&&0<=c.indexOf(t)&&n.getRange(k(g.line,g.ch-2),g)==t+t){if(2<g.ch&&/\bstring/.test(n.getTokenTypeAt(k(g.line,g.ch-2))))return T.Pass;p="addFour"}else if(h){var v=0==g.ch?" ":n.getRange(k(g.line,g.ch-1),g);if(T.isWordChar(_)||v==t||T.isWordChar(v))return T.Pass;p="both"}else{if(!f)return T.Pass;p="both"}else p=!h||(r=g,o=(i=n).getTokenAt(k(r.line,r.ch+1)),!/\bstring/.test(o.type)||o.start!=r.ch||0!=r.ch&&/\bstring/.test(i.getTokenTypeAt(r)))?0<=c.indexOf(t)&&n.getRange(g,k(g.line,g.ch+3))==t+t+t?"skipThree":"skip":"both";if(l){if(l!=p)return T.Pass}else l=p}var y=a%2?s.charAt(a-1):t,x=a%2?t:s.charAt(a+1);n.operation(function(){if("skip"==l)n.execCommand("goCharRight");else if("skipThree"==l)for(var t=0;t<3;t++)n.execCommand("goCharRight");else if("surround"==l){var e=n.getSelections();for(t=0;t<e.length;t++)e[t]=y+e[t]+x;n.replaceSelections(e,"around"),e=n.listSelections().slice();for(t=0;t<e.length;t++)e[t]=(i=e[t],r=0<T.cmpPos(i.anchor,i.head),{anchor:new k(i.anchor.line,i.anchor.ch+(r?-1:1)),head:new k(i.head.line,i.head.ch+(r?1:-1))});n.setSelections(e)}else"both"==l?(n.replaceSelection(y+x,null),n.triggerElectric(y+x),n.execCommand("goCharLeft")):"addFour"==l&&(n.replaceSelection(y+y+y+y,"before"),n.execCommand("goCharRight"));var i,r})}(t,e)}}function w(t){var e=t.state.closeBrackets;return!e||e.override?e:t.getModeAt(t.getCursor()).closeBrackets||e}function a(t,e){var i=t.getRange(k(e.line,e.ch-1),k(e.line,e.ch+1));return 2==i.length?i:null}r(i.pairs+"`")},"object"==typeof i&&"object"==typeof e?r(t("../../lib/codemirror")):"function"==typeof define&&define.amd?define(["../../lib/codemirror"],r):r(CodeMirror)},{"../../lib/codemirror":12}],5:[function(t,e,i){var r;r=function(r){var h=/MSIE \d/.test(navigator.userAgent)&&(null==document.documentMode||document.documentMode<8),m=r.Pos,g={"(":")>",")":"(<","[":"]>","]":"[<","{":"}>","}":"{<"};function u(t,e,i){var r=t.getLineHandle(e.line),n=e.ch-1,o=i&&i.afterCursor;null==o&&(o=/(^| )cm-fat-cursor($| )/.test(t.getWrapperElement().className));var s=!o&&0<=n&&g[r.text.charAt(n)]||g[r.text.charAt(++n)];if(!s)return null;var a=">"==s.charAt(1)?1:-1;if(i&&i.strict&&0<a!=(n==e.ch))return null;var l=t.getTokenTypeAt(m(e.line,n+1)),c=f(t,m(e.line,n+(0<a?1:0)),a,l||null,i);return null==c?null:{from:m(e.line,n),to:c&&c.pos,match:c&&c.ch==s.charAt(0),forward:0<a}}function f(t,e,i,r,n){for(var o=n&&n.maxScanLineLength||1e4,s=n&&n.maxScanLines||1e3,a=[],l=n&&n.bracketRegex?n.bracketRegex:/[(){}[\]]/,c=0<i?Math.min(e.line+s,t.lastLine()+1):Math.max(t.firstLine()-1,e.line-s),h=e.line;h!=c;h+=i){var u=t.getLine(h);if(u){var f=0<i?0:u.length-1,d=0<i?u.length:-1;if(!(u.length>o))for(h==e.line&&(f=e.ch-(i<0?1:0));f!=d;f+=i){var p=u.charAt(f);if(l.test(p)&&(void 0===r||t.getTokenTypeAt(m(h,f+1))==r))if(">"==g[p].charAt(1)==0<i)a.push(p);else{if(!a.length)return{pos:m(h,f),ch:p};a.pop()}}}}return h-i!=(0<i?t.lastLine():t.firstLine())&&null}function e(t,e,i){for(var r=t.state.matchBrackets.maxHighlightLineLength||1e3,n=[],o=t.listSelections(),s=0;s<o.length;s++){var a=o[s].empty()&&u(t,o[s].head,i);if(a&&t.getLine(a.from.line).length<=r){var l=a.match?"CodeMirror-matchingbracket":"CodeMirror-nonmatchingbracket";n.push(t.markText(a.from,m(a.from.line,a.from.ch+1),{className:l})),a.to&&t.getLine(a.to.line).length<=r&&n.push(t.markText(a.to,m(a.to.line,a.to.ch+1),{className:l}))}}if(n.length){h&&t.state.focused&&t.focus();function c(){t.operation(function(){for(var t=0;t<n.length;t++)n[t].clear()})}if(!e)return c;setTimeout(c,800)}}function n(t){t.operation(function(){t.state.matchBrackets.currentlyHighlighted&&(t.state.matchBrackets.currentlyHighlighted(),t.state.matchBrackets.currentlyHighlighted=null),t.state.matchBrackets.currentlyHighlighted=e(t,!1,t.state.matchBrackets)})}r.defineOption("matchBrackets",!1,function(t,e,i){i&&i!=r.Init&&(t.off("cursorActivity",n),t.state.matchBrackets&&t.state.matchBrackets.currentlyHighlighted&&(t.state.matchBrackets.currentlyHighlighted(),t.state.matchBrackets.currentlyHighlighted=null)),e&&(t.state.matchBrackets="object"==typeof e?e:{},t.on("cursorActivity",n))}),r.defineExtension("matchBrackets",function(){e(this,!0)}),r.defineExtension("findMatchingBracket",function(t,e,i){return!i&&"boolean"!=typeof e||(e=i?(i.strict=e,i):e?{strict:!0}:null),u(this,t,e)}),r.defineExtension("scanForBracket",function(t,e,i,r){return f(this,t,e,i,r)})},"object"==typeof i&&"object"==typeof e?r(t("../../lib/codemirror")):"function"==typeof define&&define.amd?define(["../../lib/codemirror"],r):r(CodeMirror)},{"../../lib/codemirror":12}],6:[function(t,e,i){var r;r=function(u){"use strict";var d="CodeMirror-lint-markers";function h(t){t.parentNode&&t.parentNode.removeChild(t)}function f(t,e,i){var r,n,o,s=(r=t,n=e,(o=document.createElement("div")).className="CodeMirror-lint-tooltip",o.appendChild(n.cloneNode(!0)),document.body.appendChild(o),u.on(document,"mousemove",a),a(r),null!=o.style.opacity&&(o.style.opacity=1),o);function a(t){if(!o.parentNode)return u.off(document,"mousemove",a);o.style.top=Math.max(0,t.clientY-o.offsetHeight-5)+"px",o.style.left=t.clientX+5+"px"}function l(){var t;u.off(i,"mouseout",l),s&&((t=s).parentNode&&(null==t.style.opacity&&h(t),t.style.opacity=0,setTimeout(function(){h(t)},600)),s=null)}var c=setInterval(function(){if(s)for(var t=i;;t=t.parentNode){if(t&&11==t.nodeType&&(t=t.host),t==document.body)return;if(!t){l();break}}if(!s)return clearInterval(c)},400);u.on(i,"mouseout",l)}function l(e,t,i){this.marked=[],this.options=t,this.timeout=null,this.hasGutter=i,this.onMouseOver=function(t){!function(t,e){var i=e.target||e.srcElement;if(/\bCodeMirror-lint-mark-/.test(i.className)){for(var r=i.getBoundingClientRect(),n=(r.left+r.right)/2,o=(r.top+r.bottom)/2,s=t.findMarksAt(t.coordsChar({left:n,top:o},"client")),a=[],l=0;l<s.length;++l){var c=s[l].__annotation;c&&a.push(c)}a.length&&function(t,e){for(var i=e.target||e.srcElement,r=document.createDocumentFragment(),n=0;n<t.length;n++){var o=t[n];r.appendChild(g(o))}f(e,r,i)}(a,e)}}(e,t)},this.waitingFor=0}function p(t){var e=t.state.lint;e.hasGutter&&t.clearGutter(d);for(var i=0;i<e.marked.length;++i)e.marked[i].clear();e.marked.length=0}function m(e,t,i,r){var n=document.createElement("div"),o=n;return n.className="CodeMirror-lint-marker-"+t,i&&((o=n.appendChild(document.createElement("div"))).className="CodeMirror-lint-marker-multiple"),0!=r&&u.on(o,"mouseover",function(t){f(t,e,o)}),n}function g(t){var e=t.severity;e=e||"error";var i=document.createElement("div");return i.className="CodeMirror-lint-message-"+e,void 0!==t.messageHTML?i.innerHTML=t.messageHTML:i.appendChild(document.createTextNode(t.message)),i}function c(e){var i,t,r,n,o,s=e.state.lint.options,a=s.options||s,l=s.getAnnotations||e.getHelper(u.Pos(0,0),"lint");if(l)if(s.async||l.async)t=l,r=a,n=(i=e).state.lint,o=++n.waitingFor,i.on("change",h),t(i.getValue(),function(t,e){i.off("change",h),n.waitingFor==o&&(e&&t instanceof u&&(t=e),i.operation(function(){_(i,t)}))},r,i);else{var c=l(e.getValue(),a,e);if(!c)return;c.then?c.then(function(t){e.operation(function(){_(e,t)})}):e.operation(function(){_(e,c)})}function h(){o=-1,i.off("change",h)}}function _(t,e){p(t);for(var i,r=t.state.lint,n=r.options,o=function(t){for(var e=[],i=0;i<t.length;++i){var r=t[i],n=r.from.line;(e[n]||(e[n]=[])).push(r)}return e}(e),s=0;s<o.length;++s){var a=o[s];if(a){for(var l=null,c=r.hasGutter&&document.createDocumentFragment(),h=0;h<a.length;++h){var u=a[h],f=u.severity;f=f||"error",l="error"==(i=l)?i:f,n.formatAnnotation&&(u=n.formatAnnotation(u)),r.hasGutter&&c.appendChild(g(u)),u.to&&r.marked.push(t.markText(u.from,u.to,{className:"CodeMirror-lint-mark-"+f,__annotation:u}))}r.hasGutter&&t.setGutterMarker(s,d,m(c,l,1<a.length,r.options.tooltips))}}n.onUpdateLinting&&n.onUpdateLinting(e,o,t)}function v(t){var e=t.state.lint;e&&(clearTimeout(e.timeout),e.timeout=setTimeout(function(){c(t)},e.options.delay||500))}u.defineOption("lint",!1,function(t,e,i){if(i&&i!=u.Init&&(p(t),!1!==t.state.lint.options.lintOnChange&&t.off("change",v),u.off(t.getWrapperElement(),"mouseover",t.state.lint.onMouseOver),clearTimeout(t.state.lint.timeout),delete t.state.lint),e){for(var r=t.getOption("gutters"),n=!1,o=0;o<r.length;++o)r[o]==d&&(n=!0);var s=t.state.lint=new l(t,(a=e)instanceof Function?{getAnnotations:a}:(a&&!0!==a||(a={}),a),n);!1!==s.options.lintOnChange&&t.on("change",v),0!=s.options.tooltips&&"gutter"!=s.options.tooltips&&u.on(t.getWrapperElement(),"mouseover",s.onMouseOver),c(t)}var a}),u.defineExtension("performLint",function(){this.state.lint&&c(this)})},"object"==typeof i&&"object"==typeof e?r(t("../../lib/codemirror")):"function"==typeof define&&define.amd?define(["../../lib/codemirror"],r):r(CodeMirror)},{"../../lib/codemirror":12}],7:[function(t,e,i){var r;r=function(t){"use strict";function e(t,e){function i(t){clearTimeout(r.doRedraw),r.doRedraw=setTimeout(function(){r.redraw()},t)}this.cm=t,this.options=e,this.buttonHeight=e.scrollButtonHeight||t.getOption("scrollButtonHeight"),this.annotations=[],this.doRedraw=this.doUpdate=null,this.div=t.getWrapperElement().appendChild(document.createElement("div")),this.div.style.cssText="position: absolute; right: 0; top: 0; z-index: 7; pointer-events: none",this.computeScale();var r=this;t.on("refresh",this.resizeHandler=function(){clearTimeout(r.doUpdate),r.doUpdate=setTimeout(function(){r.computeScale()&&i(20)},100)}),t.on("markerAdded",this.resizeHandler),t.on("markerCleared",this.resizeHandler),!1!==e.listenForChanges&&t.on("change",this.changeHandler=function(){i(250)})}t.defineExtension("annotateScrollbar",function(t){return"string"==typeof t&&(t={className:t}),new e(this,t)}),t.defineOption("scrollButtonHeight",0),e.prototype.computeScale=function(){var t=this.cm,e=(t.getWrapperElement().clientHeight-t.display.barHeight-2*this.buttonHeight)/t.getScrollerElement().scrollHeight;if(e!=this.hScale)return this.hScale=e,!0},e.prototype.update=function(t){this.annotations=t,this.redraw()},e.prototype.redraw=function(t){!1!==t&&this.computeScale();var i=this.cm,e=this.hScale,r=document.createDocumentFragment(),n=this.annotations,o=i.getOption("lineWrapping"),s=o&&1.5*i.defaultTextHeight(),a=null,l=null;function c(t,e){return a!=t.line&&(a=t.line,l=i.getLineHandle(a)),l.widgets&&l.widgets.length||o&&l.height>s?i.charCoords(t,"local")[e?"top":"bottom"]:i.heightAtLine(l,"local")+(e?0:l.height)}var h=i.lastLine();if(i.display.barWidth)for(var u,f=0;f<n.length;f++){var d=n[f];if(!(d.to.line>h)){for(var p=u||c(d.from,!0)*e,m=c(d.to,!1)*e;f<n.length-1&&!(n[f+1].to.line>h)&&!(m+.9<(u=c(n[f+1].from,!0)*e));)m=c((d=n[++f]).to,!1)*e;if(m!=p){var g=Math.max(m-p,3),_=r.appendChild(document.createElement("div"));_.style.cssText="position: absolute; right: 0px; width: "+Math.max(i.display.barWidth-1,2)+"px; top: "+(p+this.buttonHeight)+"px; height: "+g+"px",_.className=this.options.className,d.id&&_.setAttribute("annotation-id",d.id)}}}this.div.textContent="",this.div.appendChild(r)},e.prototype.clear=function(){this.cm.off("refresh",this.resizeHandler),this.cm.off("markerAdded",this.resizeHandler),this.cm.off("markerCleared",this.resizeHandler),this.changeHandler&&this.cm.off("change",this.changeHandler),this.div.parentNode.removeChild(this.div)}},"object"==typeof i&&"object"==typeof e?r(t("../../lib/codemirror")):"function"==typeof define&&define.amd?define(["../../lib/codemirror"],r):r(CodeMirror)},{"../../lib/codemirror":12}],8:[function(t,e,i){var r;r=function(n){"use strict";var i={style:"matchhighlight",minChars:2,delay:100,wordsOnly:!1,annotateScrollbar:!1,showToken:!1,trim:!0};function o(t){for(var e in this.options={},i)this.options[e]=(t&&t.hasOwnProperty(e)?t:i)[e];this.overlay=this.timeout=null,this.matchesonscroll=null,this.active=!1}function s(t){var e=t.state.matchHighlighter;(e.active||t.hasFocus())&&r(t,e)}function a(t){var e=t.state.matchHighlighter;e.active||(e.active=!0,r(t,e))}function r(t,e){clearTimeout(e.timeout),e.timeout=setTimeout(function(){l(t)},e.options.delay)}function h(t,e,i,r){var n,o,s,a=t.state.matchHighlighter;if(t.addOverlay(a.overlay=(n=e,o=i,s=r,{token:function(t){if(t.match(n)&&(!o||(i=o,!((e=t).start&&i.test(e.string.charAt(e.start-1))||e.pos!=e.string.length&&i.test(e.string.charAt(e.pos))))))return s;var e,i;t.next(),t.skipTo(n.charAt(0))||t.skipToEnd()}})),a.options.annotateScrollbar&&t.showMatchesOnScrollbar){var l=i?new RegExp("\\b"+e.replace(/[\\\[.+*?(){|^$]/g,"\\$&")+"\\b"):e;a.matchesonscroll=t.showMatchesOnScrollbar(l,!1,{className:"CodeMirror-selection-highlight-scrollbar"})}}function u(t){var e=t.state.matchHighlighter;e.overlay&&(t.removeOverlay(e.overlay),e.overlay=null,e.matchesonscroll&&(e.matchesonscroll.clear(),e.matchesonscroll=null))}function l(c){c.operation(function(){var t=c.state.matchHighlighter;if(u(c),c.somethingSelected()||!t.options.showToken){var e=c.getCursor("from"),i=c.getCursor("to");if(e.line==i.line&&(!t.options.wordsOnly||function(t,e,i){if(null===t.getRange(e,i).match(/^\w+$/))return!1;if(0<e.ch){var r={line:e.line,ch:e.ch-1};if(null===t.getRange(r,e).match(/\W/))return!1}if(i.ch<t.getLine(e.line).length){r={line:i.line,ch:i.ch+1};if(null===t.getRange(i,r).match(/\W/))return!1}return!0}(c,e,i))){var r=c.getRange(e,i);t.options.trim&&(r=r.replace(/^\s+|\s+$/g,"")),r.length>=t.options.minChars&&h(c,r,!1,t.options.style)}}else{for(var n=!0===t.options.showToken?/[\w$]/:t.options.showToken,o=c.getCursor(),s=c.getLine(o.line),a=o.ch,l=a;a&&n.test(s.charAt(a-1));)--a;for(;l<s.length&&n.test(s.charAt(l));)++l;a<l&&h(c,s.slice(a,l),n,t.options.style)}})}n.defineOption("highlightSelectionMatches",!1,function(t,e,i){if(i&&i!=n.Init&&(u(t),clearTimeout(t.state.matchHighlighter.timeout),t.state.matchHighlighter=null,t.off("cursorActivity",s),t.off("focus",a)),e){var r=t.state.matchHighlighter=new o(e);t.hasFocus()?(r.active=!0,l(t)):t.on("focus",a),t.on("cursorActivity",s)}})},"object"==typeof i&&"object"==typeof e?r(t("../../lib/codemirror"),t("./matchesonscrollbar")):"function"==typeof define&&define.amd?define(["../../lib/codemirror","./matchesonscrollbar"],r):r(CodeMirror)},{"../../lib/codemirror":12,"./matchesonscrollbar":9}],9:[function(t,e,i){var r;r=function(c){"use strict";function r(t,e,i,r){this.cm=t,this.options=r;var n={listenForChanges:!1};for(var o in r)n[o]=r[o];n.className||(n.className="CodeMirror-search-match"),this.annotation=t.annotateScrollbar(n),this.query=e,this.caseFold=i,this.gap={from:t.firstLine(),to:t.lastLine()+1},this.matches=[],this.update=null,this.findMatches(),this.annotation.update(this.matches);var s=this;t.on("change",this.changeHandler=function(t,e){s.onChange(e)})}function h(t,e,i){return t<=e?t:Math.max(e,t+i)}c.defineExtension("showMatchesOnScrollbar",function(t,e,i){return"string"==typeof i&&(i={className:i}),new r(this,t,e,i=i||{})}),r.prototype.findMatches=function(){if(this.gap){for(var t=0;t<this.matches.length&&!((r=this.matches[t]).from.line>=this.gap.to);t++)r.to.line>=this.gap.from&&this.matches.splice(t--,1);for(var e=this.cm.getSearchCursor(this.query,c.Pos(this.gap.from,0),this.caseFold),i=this.options&&this.options.maxMatches||1e3;e.findNext();){var r;if((r={from:e.from(),to:e.to()}).from.line>=this.gap.to)break;if(this.matches.splice(t++,0,r),this.matches.length>i)break}this.gap=null}},r.prototype.onChange=function(t){var e=t.from.line,i=c.changeEnd(t).line,r=i-t.to.line;if(this.gap?(this.gap.from=Math.min(h(this.gap.from,e,r),t.from.line),this.gap.to=Math.max(h(this.gap.to,e,r),t.from.line)):this.gap={from:t.from.line,to:i+1},r)for(var n=0;n<this.matches.length;n++){var o=this.matches[n],s=h(o.from.line,e,r);s!=o.from.line&&(o.from=c.Pos(s,o.from.ch));var a=h(o.to.line,e,r);a!=o.to.line&&(o.to=c.Pos(a,o.to.ch))}clearTimeout(this.update);var l=this;this.update=setTimeout(function(){l.updateAfterChange()},250)},r.prototype.updateAfterChange=function(){this.findMatches(),this.annotation.update(this.matches)},r.prototype.clear=function(){this.cm.off("change",this.changeHandler),this.annotation.clear()}},"object"==typeof i&&"object"==typeof e?r(t("../../lib/codemirror"),t("./searchcursor"),t("../scroll/annotatescrollbar")):"function"==typeof define&&define.amd?define(["../../lib/codemirror","./searchcursor","../scroll/annotatescrollbar"],r):r(CodeMirror)},{"../../lib/codemirror":12,"../scroll/annotatescrollbar":7,"./searchcursor":11}],10:[function(t,e,i){var r;r=function(d){"use strict";function e(){this.posFrom=this.posTo=this.lastQuery=this.query=null,this.overlay=null}function p(t){return t.state.search||(t.state.search=new e)}function o(t){return"string"==typeof t&&t==t.toLowerCase()}function m(t,e,i){return t.getSearchCursor(e,i,{caseFold:o(e),multiline:!0})}function g(t,e,i,r,n){t.openDialog?t.openDialog(e,n,{value:r,selectValueOnOpen:!0}):n(prompt(i,r))}function r(t){return t.replace(/\\(.)/g,function(t,e){return"n"==e?"\n":"r"==e?"\r":e})}function s(t){var e=t.match(/^\/(.*)\/([a-z]*)$/);if(e)try{t=new RegExp(e[1],-1==e[2].indexOf("i")?"":"i")}catch(t){}else t=r(t);return("string"==typeof t?""==t:t.test(""))&&(t=/x^/),t}function _(t,e,i){var r,n;e.queryText=i,e.query=s(i),t.removeOverlay(e.overlay,o(e.query)),e.overlay=(r=e.query,n=o(e.query),"string"==typeof r?r=new RegExp(r.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&"),n?"gi":"g"):r.global||(r=new RegExp(r.source,r.ignoreCase?"gi":"g")),{token:function(t){r.lastIndex=t.pos;var e=r.exec(t.string);if(e&&e.index==t.pos)return t.pos+=e[0].length||1,"searching";e?t.pos=e.index:t.skipToEnd()}}),t.addOverlay(e.overlay),t.showMatchesOnScrollbar&&(e.annotate&&(e.annotate.clear(),e.annotate=null),e.annotate=t.showMatchesOnScrollbar(e.query,o(e.query)))}function i(o,e,t,i){var r=p(o);if(r.query)return v(o,e);var n,s,a,l,c,h=o.getSelection()||r.lastQuery;if(h instanceof RegExp&&"x^"==h.source&&(h=null),t&&o.openDialog){var u=null,f=function(t,e){d.e_stop(e),t&&(t!=r.queryText&&(_(o,r,t),r.posFrom=r.posTo=o.getCursor()),u&&(u.style.opacity=1),v(o,e.shiftKey,function(t,e){var i;e.line<3&&document.querySelector&&(i=o.display.wrapper.querySelector(".CodeMirror-dialog"))&&i.getBoundingClientRect().bottom-4>o.cursorCoords(e,"window").top&&((u=i).style.opacity=.4)}))};s=x(n=o),a=h,l=f,c=function(t,e){var i=d.keyName(t),r=o.getOption("extraKeys"),n=r&&r[i]||d.keyMap[o.getOption("keyMap")][i];"findNext"==n||"findPrev"==n||"findPersistentNext"==n||"findPersistentPrev"==n?(d.e_stop(t),_(o,p(o),e),o.execCommand(n)):"find"!=n&&"findPersistent"!=n||(d.e_stop(t),f(e,t))},n.openDialog(s,l,{value:a,selectValueOnOpen:!0,closeOnEnter:!1,onClose:function(){y(n)},onKeyDown:c}),i&&h&&(_(o,r,h),v(o,e))}else g(o,x(o),"Search for:",h,function(t){t&&!r.query&&o.operation(function(){_(o,r,t),r.posFrom=r.posTo=o.getCursor(),v(o,e)})})}function v(i,r,n){i.operation(function(){var t=p(i),e=m(i,t.query,r?t.posFrom:t.posTo);(e.find(r)||(e=m(i,t.query,r?d.Pos(i.lastLine()):d.Pos(i.firstLine(),0))).find(r))&&(i.setSelection(e.from(),e.to()),i.scrollIntoView({from:e.from(),to:e.to()},20),t.posFrom=e.from(),t.posTo=e.to(),n&&n(e.from(),e.to()))})}function y(e){e.operation(function(){var t=p(e);t.lastQuery=t.query,t.query&&(t.query=t.queryText=null,e.removeOverlay(t.overlay),t.annotate&&(t.annotate.clear(),t.annotate=null))})}function x(t){return'<span class="CodeMirror-search-label">'+t.phrase("Search:")+'</span> <input type="text" style="width: 10em" class="CodeMirror-search-field"/> <span style="color: #888" class="CodeMirror-search-hint">'+t.phrase("(Use /re/ syntax for regexp search)")+"</span>"}function T(e,r,n){e.operation(function(){for(var t=m(e,r);t.findNext();)if("string"!=typeof r){var i=e.getRange(t.from(),t.to()).match(r);t.replace(n.replace(/\$(\d)/g,function(t,e){return i[e]}))}else t.replace(n)})}function n(f,t){if(!f.getOption("readOnly")){var e=f.getSelection()||p(f).lastQuery,i='<span class="CodeMirror-search-label">'+(t?f.phrase("Replace all:"):f.phrase("Replace:"))+"</span>";g(f,i+' <input type="text" style="width: 10em" class="CodeMirror-search-field"/> <span style="color: #888" class="CodeMirror-search-hint">'+f.phrase("(Use /re/ syntax for regexp search)")+"</span>",i,e,function(u){u&&(u=s(u),g(f,'<span class="CodeMirror-search-label">'+f.phrase("With:")+'</span> <input type="text" style="width: 10em" class="CodeMirror-search-field"/>',f.phrase("Replace with:"),"",function(a){if(a=r(a),t)T(f,u,a);else{y(f);var l=m(f,u,f.getCursor("from")),c=function(){var t,e,i,r,n,o,s=l.from();!(t=l.findNext())&&(l=m(f,u),!(t=l.findNext())||s&&l.from().line==s.line&&l.from().ch==s.ch)||(f.setSelection(l.from(),l.to()),f.scrollIntoView({from:l.from(),to:l.to()}),i='<span class="CodeMirror-search-label">'+(o=e=f).phrase("Replace?")+"</span> <button>"+o.phrase("Yes")+"</button> <button>"+o.phrase("No")+"</button> <button>"+o.phrase("All")+"</button> <button>"+o.phrase("Stop")+"</button> ",r=f.phrase("Replace?"),n=[function(){h(t)},c,function(){T(f,u,a)}],e.openConfirm?e.openConfirm(i,n):confirm(r)&&n[0]())},h=function(i){l.replace("string"==typeof u?a:a.replace(/\$(\d)/g,function(t,e){return i[e]})),c()};c()}}))})}}d.commands.find=function(t){y(t),i(t)},d.commands.findPersistent=function(t){y(t),i(t,!1,!0)},d.commands.findPersistentNext=function(t){i(t,!1,!0,!0)},d.commands.findPersistentPrev=function(t){i(t,!0,!0,!0)},d.commands.findNext=i,d.commands.findPrev=function(t){i(t,!0)},d.commands.clearSearch=y,d.commands.replace=n,d.commands.replaceAll=function(t){n(t,!0)}},"object"==typeof i&&"object"==typeof e?r(t("../../lib/codemirror"),t("./searchcursor"),t("../dialog/dialog")):"function"==typeof define&&define.amd?define(["../../lib/codemirror","./searchcursor","../dialog/dialog"],r):r(CodeMirror)},{"../../lib/codemirror":12,"../dialog/dialog":3,"./searchcursor":11}],11:[function(t,e,i){var r;r=function(n){"use strict";var _,v,y=n.Pos;function p(t,e){for(var i,r,n=null!=(r=(i=t).flags)?r:(i.ignoreCase?"i":"")+(i.global?"g":"")+(i.multiline?"m":""),o=n,s=0;s<e.length;s++)-1==o.indexOf(e.charAt(s))&&(o+=e.charAt(s));return n==o?t:new RegExp(t.source,o)}function m(t,e,i){e=p(e,"g");for(var r=i.line,n=i.ch,o=t.lastLine();r<=o;r++,n=0){e.lastIndex=n;var s=t.getLine(r),a=e.exec(s);if(a)return{from:y(r,a.index),to:y(r,a.index+a[0].length),match:a}}}function g(t,e){for(var i,r=0;;){e.lastIndex=r;var n=e.exec(t);if(!n)return i;if((r=(i=n).index+(i[0].length||1))==t.length)return i}}function x(t,e,i,r){if(t.length==e.length)return i;for(var n=0,o=i+Math.max(0,t.length-e.length);;){if(n==o)return n;var s=n+o>>1,a=r(t.slice(0,s)).length;if(a==i)return s;i<a?o=s:n=1+s}}function r(i,r,t,e){var n;this.atOccurrence=!1,this.doc=i,t=t?i.clipPos(t):y(0,0),this.pos={from:t,to:t},"object"==typeof e?n=e.caseFold:(n=e,e=null),"string"==typeof r?(null==n&&(n=!1),this.matches=function(t,e){return(t?function(t,e,i,r){if(!e.length)return null;var n=r?_:v,o=n(e).split(/\r|\n\r?/);t:for(var s=i.line,a=i.ch,l=t.firstLine()-1+o.length;l<=s;s--,a=-1){var c=t.getLine(s);-1<a&&(c=c.slice(0,a));var h=n(c);if(1==o.length){var u=h.lastIndexOf(o[0]);if(-1==u)continue t;return{from:y(s,x(c,h,u,n)),to:y(s,x(c,h,u+o[0].length,n))}}var f=o[o.length-1];if(h.slice(0,f.length)==f){var d=1;for(i=s-o.length+1;d<o.length-1;d++)if(n(t.getLine(i+d))!=o[d])continue t;var p=t.getLine(s+1-o.length),m=n(p);if(m.slice(m.length-o[0].length)==o[0])return{from:y(s+1-o.length,x(p,m,p.length-o[0].length,n)),to:y(s,x(c,h,f.length,n))}}}}:function(t,e,i,r){if(!e.length)return null;var n=r?_:v,o=n(e).split(/\r|\n\r?/);t:for(var s=i.line,a=i.ch,l=t.lastLine()+1-o.length;s<=l;s++,a=0){var c=t.getLine(s).slice(a),h=n(c);if(1==o.length){var u=h.indexOf(o[0]);if(-1==u)continue t;return i=x(c,h,u,n)+a,{from:y(s,x(c,h,u,n)+a),to:y(s,x(c,h,u+o[0].length,n)+a)}}var f=h.length-o[0].length;if(h.slice(f)==o[0]){for(var d=1;d<o.length-1;d++)if(n(t.getLine(s+d))!=o[d])continue t;var p=t.getLine(s+o.length-1),m=n(p),g=o[o.length-1];if(m.slice(0,g.length)==g)return{from:y(s,x(c,h,f,n)+a),to:y(s+o.length-1,x(p,m,g.length,n))}}}})(i,r,e,n)}):(r=p(r,"gm"),e&&!1===e.multiline?this.matches=function(t,e){return(t?function(t,e,i){e=p(e,"g");for(var r=i.line,n=i.ch,o=t.firstLine();o<=r;r--,n=-1){var s=t.getLine(r);-1<n&&(s=s.slice(0,n));var a=g(s,e);if(a)return{from:y(r,a.index),to:y(r,a.index+a[0].length),match:a}}}:m)(i,r,e)}:this.matches=function(t,e){return(t?function(t,e,i){e=p(e,"gm");for(var r,n=1,o=i.line,s=t.firstLine();s<=o;){for(var a=0;a<n;a++){var l=t.getLine(o--);r=null==r?l.slice(0,i.ch):l+"\n"+r}n*=2;var c=g(r,e);if(c){var h=r.slice(0,c.index).split("\n"),u=c[0].split("\n"),f=o+h.length,d=h[h.length-1].length;return{from:y(f,d),to:y(f+u.length-1,1==u.length?d+u[0].length:u[u.length-1].length),match:c}}}}:function(t,e,i){if(!/\\s|\\n|\n|\\W|\\D|\[\^/.test(e.source))return m(t,e,i);e=p(e,"gm");for(var r,n=1,o=i.line,s=t.lastLine();o<=s;){for(var a=0;a<n&&!(s<o);a++){var l=t.getLine(o++);r=null==r?l:r+"\n"+l}n*=2,e.lastIndex=i.ch;var c=e.exec(r);if(c){var h=r.slice(0,c.index).split("\n"),u=c[0].split("\n"),f=i.line+h.length-1,d=h[h.length-1].length;return{from:y(f,d),to:y(f+u.length-1,1==u.length?d+u[0].length:u[u.length-1].length),match:c}}}})(i,r,e)})}v=String.prototype.normalize?(_=function(t){return t.normalize("NFD").toLowerCase()},function(t){return t.normalize("NFD")}):(_=function(t){return t.toLowerCase()},function(t){return t}),r.prototype={findNext:function(){return this.find(!1)},findPrevious:function(){return this.find(!0)},find:function(t){for(var e=this.matches(t,this.doc.clipPos(t?this.pos.from:this.pos.to));e&&0==n.cmpPos(e.from,e.to);)t?e.from.ch?e.from=y(e.from.line,e.from.ch-1):e=e.from.line==this.doc.firstLine()?null:this.matches(t,this.doc.clipPos(y(e.from.line-1))):e.to.ch<this.doc.getLine(e.to.line).length?e.to=y(e.to.line,e.to.ch+1):e=e.to.line==this.doc.lastLine()?null:this.matches(t,y(e.to.line+1,0));if(e)return this.pos=e,this.atOccurrence=!0,this.pos.match||!0;var i=y(t?this.doc.firstLine():this.doc.lastLine()+1,0);return this.pos={from:i,to:i},this.atOccurrence=!1},from:function(){if(this.atOccurrence)return this.pos.from},to:function(){if(this.atOccurrence)return this.pos.to},replace:function(t,e){if(this.atOccurrence){var i=n.splitLines(t);this.doc.replaceRange(i,this.pos.from,this.pos.to,e),this.pos.to=y(this.pos.from.line+i.length-1,i[i.length-1].length+(1==i.length?this.pos.from.ch:0))}}},n.defineExtension("getSearchCursor",function(t,e,i){return new r(this.doc,t,e,i)}),n.defineDocExtension("getSearchCursor",function(t,e,i){return new r(this,t,e,i)}),n.defineExtension("selectMatches",function(t,e){for(var i=[],r=this.getSearchCursor(t,this.getCursor("from"),e);r.findNext()&&!(0<n.cmpPos(r.to(),this.getCursor("to")));)i.push({anchor:r.from(),head:r.to()});i.length&&this.setSelections(i,0)})},"object"==typeof i&&"object"==typeof e?r(t("../../lib/codemirror")):"function"==typeof define&&define.amd?define(["../../lib/codemirror"],r):r(CodeMirror)},{"../../lib/codemirror":12}],12:[function(t,e,i){var r;r=function(){"use strict";var t=navigator.userAgent,e=navigator.platform,m=/gecko\/\d/i.test(t),i=/MSIE \d/.test(t),r=/Trident\/(?:[7-9]|\d{2,})\..*rv:(\d+)/.exec(t),n=/Edge\/(\d+)/.exec(t),T=i||r||n,k=T&&(i?document.documentMode||6:+(n||r)[1]),y=!n&&/WebKit\//.test(t),o=y&&/Qt\/\d+\.\d+/.test(t),s=!n&&/Chrome\//.test(t),g=/Opera\//.test(t),l=/Apple Computer/.test(navigator.vendor),a=/Mac OS X 1\d\D([8-9]|\d\d)\D/.test(t),c=/PhantomJS/.test(t),h=!n&&/AppleWebKit/.test(t)&&/Mobile\/\w+/.test(t),u=/Android/.test(t),f=h||u||/webOS|BlackBerry|Opera Mini|Opera Mobi|IEMobile/i.test(t),x=h||/Mac/.test(e),_=/\bCrOS\b/.test(t),d=/win/i.test(e),p=g&&t.match(/Version\/(\d*\.\d*)/);(p=p&&Number(p[1]))&&15<=p&&(y=!(g=!1));var v=x&&(o||g&&(null==p||p<12.11)),b=m||T&&9<=k;function w(t){return new RegExp("(^|\\s)"+t+"(?:$|\\s)\\s*")}var E,C=function(t,e){var i=t.className,r=w(e).exec(i);if(r){var n=i.slice(r.index+r[0].length);t.className=i.slice(0,r.index)+(n?r[1]+n:"")}};function S(t){for(var e=t.childNodes.length;0<e;--e)t.removeChild(t.firstChild);return t}function A(t,e){return S(t).appendChild(e)}function N(t,e,i,r){var n=document.createElement(t);if(i&&(n.className=i),r&&(n.style.cssText=r),"string"==typeof e)n.appendChild(document.createTextNode(e));else if(e)for(var o=0;o<e.length;++o)n.appendChild(e[o]);return n}function L(t,e,i,r){var n=N(t,e,i,r);return n.setAttribute("role","presentation"),n}function O(t,e){if(3==e.nodeType&&(e=e.parentNode),t.contains)return t.contains(e);do{if(11==e.nodeType&&(e=e.host),e==t)return!0}while(e=e.parentNode)}function I(){var e;try{e=document.activeElement}catch(t){e=document.body||null}for(;e&&e.shadowRoot&&e.shadowRoot.activeElement;)e=e.shadowRoot.activeElement;return e}function R(t,e){var i=t.className;w(e).test(i)||(t.className+=(i?" ":"")+e)}function M(t,e){for(var i=t.split(" "),r=0;r<i.length;r++)i[r]&&!w(i[r]).test(e)&&(e+=" "+i[r]);return e}E=document.createRange?function(t,e,i,r){var n=document.createRange();return n.setEnd(r||t,i),n.setStart(t,e),n}:function(t,e,i){var r=document.body.createTextRange();try{r.moveToElementText(t.parentNode)}catch(t){return r}return r.collapse(!0),r.moveEnd("character",i),r.moveStart("character",e),r};var D=function(t){t.select()};function P(t){var e=Array.prototype.slice.call(arguments,1);return function(){return t.apply(null,e)}}function B(t,e,i){for(var r in e=e||{},t)!t.hasOwnProperty(r)||!1===i&&e.hasOwnProperty(r)||(e[r]=t[r]);return e}function F(t,e,i,r,n){null==e&&-1==(e=t.search(/[^\s\u00a0]/))&&(e=t.length);for(var o=r||0,s=n||0;;){var a=t.indexOf("\t",o);if(a<0||e<=a)return s+(e-o);s+=a-o,s+=i-s%i,o=a+1}}h?D=function(t){t.selectionStart=0,t.selectionEnd=t.value.length}:T&&(D=function(t){try{t.select()}catch(t){}});var U=function(){this.id=null};function H(t,e){for(var i=0;i<t.length;++i)if(t[i]==e)return i;return-1}U.prototype.set=function(t,e){clearTimeout(this.id),this.id=setTimeout(e,t)};var W=30,z={toString:function(){return"CodeMirror.Pass"}},q={scroll:!1},G={origin:"*mouse"},j={origin:"+move"};function V(t,e,i){for(var r=0,n=0;;){var o=t.indexOf("\t",r);-1==o&&(o=t.length);var s=o-r;if(o==t.length||e<=n+s)return r+Math.min(s,e-n);if(n+=o-r,r=o+1,e<=(n+=i-n%i))return r}}var Y=[""];function K(t){for(;Y.length<=t;)Y.push($(Y)+" ");return Y[t]}function $(t){return t[t.length-1]}function Q(t,e){for(var i=[],r=0;r<t.length;r++)i[r]=e(t[r],r);return i}function X(){}function Z(t,e){var i;return i=Object.create?Object.create(t):(X.prototype=t,new X),e&&B(e,i),i}var J=/[\u00df\u0587\u0590-\u05f4\u0600-\u06ff\u3040-\u309f\u30a0-\u30ff\u3400-\u4db5\u4e00-\u9fcc\uac00-\ud7af]/;function tt(t){return/\w/.test(t)||""<t&&(t.toUpperCase()!=t.toLowerCase()||J.test(t))}function et(t,e){return e?!!(-1<e.source.indexOf("\\w")&&tt(t))||e.test(t):tt(t)}function it(t){for(var e in t)if(t.hasOwnProperty(e)&&t[e])return!1;return!0}var rt=/[\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 nt(t){return 768<=t.charCodeAt(0)&&rt.test(t)}function ot(t,e,i){for(;(i<0?0<e:e<t.length)&&nt(t.charAt(e));)e+=i;return e}function st(t,e,i){for(var r=i<e?-1:1;;){if(e==i)return e;var n=(e+i)/2,o=r<0?Math.ceil(n):Math.floor(n);if(o==e)return t(o)?e:i;t(o)?i=o:e=o+r}}function at(t,e,i){var r=this;this.input=i,r.scrollbarFiller=N("div",null,"CodeMirror-scrollbar-filler"),r.scrollbarFiller.setAttribute("cm-not-content","true"),r.gutterFiller=N("div",null,"CodeMirror-gutter-filler"),r.gutterFiller.setAttribute("cm-not-content","true"),r.lineDiv=L("div",null,"CodeMirror-code"),r.selectionDiv=N("div",null,null,"position: relative; z-index: 1"),r.cursorDiv=N("div",null,"CodeMirror-cursors"),r.measure=N("div",null,"CodeMirror-measure"),r.lineMeasure=N("div",null,"CodeMirror-measure"),r.lineSpace=L("div",[r.measure,r.lineMeasure,r.selectionDiv,r.cursorDiv,r.lineDiv],null,"position: relative; outline: none");var n=L("div",[r.lineSpace],"CodeMirror-lines");r.mover=N("div",[n],null,"position: relative"),r.sizer=N("div",[r.mover],"CodeMirror-sizer"),r.sizerWidth=null,r.heightForcer=N("div",null,null,"position: absolute; height: "+W+"px; width: 1px;"),r.gutters=N("div",null,"CodeMirror-gutters"),r.lineGutter=null,r.scroller=N("div",[r.sizer,r.heightForcer,r.gutters],"CodeMirror-scroll"),r.scroller.setAttribute("tabIndex","-1"),r.wrapper=N("div",[r.scrollbarFiller,r.gutterFiller,r.scroller],"CodeMirror"),T&&k<8&&(r.gutters.style.zIndex=-1,r.scroller.style.paddingRight=0),y||m&&f||(r.scroller.draggable=!0),t&&(t.appendChild?t.appendChild(r.wrapper):t(r.wrapper)),r.viewFrom=r.viewTo=e.first,r.reportedViewFrom=r.reportedViewTo=e.first,r.view=[],r.renderedView=null,r.externalMeasured=null,r.viewOffset=0,r.lastWrapHeight=r.lastWrapWidth=0,r.updateLineNumbers=null,r.nativeBarWidth=r.barHeight=r.barWidth=0,r.scrollbarsClipped=!1,r.lineNumWidth=r.lineNumInnerWidth=r.lineNumChars=null,r.alignWidgets=!1,r.cachedCharWidth=r.cachedTextHeight=r.cachedPaddingH=null,r.maxLine=null,r.maxLineLength=0,r.maxLineChanged=!1,r.wheelDX=r.wheelDY=r.wheelStartX=r.wheelStartY=null,r.shift=!1,r.selForContextMenu=null,r.activeTouch=null,i.init(r)}function lt(t,e){if((e-=t.first)<0||e>=t.size)throw new Error("There is no line "+(e+t.first)+" in the document.");for(var i=t;!i.lines;)for(var r=0;;++r){var n=i.children[r],o=n.chunkSize();if(e<o){i=n;break}e-=o}return i.lines[e]}function ct(t,i,r){var n=[],o=i.line;return t.iter(i.line,r.line+1,function(t){var e=t.text;o==r.line&&(e=e.slice(0,r.ch)),o==i.line&&(e=e.slice(i.ch)),n.push(e),++o}),n}function ht(t,e,i){var r=[];return t.iter(e,i,function(t){r.push(t.text)}),r}function ut(t,e){var i=e-t.height;if(i)for(var r=t;r;r=r.parent)r.height+=i}function ft(t){if(null==t.parent)return null;for(var e=t.parent,i=H(e.lines,t),r=e.parent;r;r=(e=r).parent)for(var n=0;r.children[n]!=e;++n)i+=r.children[n].chunkSize();return i+e.first}function dt(t,e){var i=t.first;t:do{for(var r=0;r<t.children.length;++r){var n=t.children[r],o=n.height;if(e<o){t=n;continue t}e-=o,i+=n.chunkSize()}return i}while(!t.lines);for(var s=0;s<t.lines.length;++s){var a=t.lines[s].height;if(e<a)break;e-=a}return i+s}function pt(t,e){return e>=t.first&&e<t.first+t.size}function mt(t,e){return String(t.lineNumberFormatter(e+t.firstLineNumber))}function gt(t,e,i){if(void 0===i&&(i=null),!(this instanceof gt))return new gt(t,e,i);this.line=t,this.ch=e,this.sticky=i}function _t(t,e){return t.line-e.line||t.ch-e.ch}function vt(t,e){return t.sticky==e.sticky&&0==_t(t,e)}function yt(t){return gt(t.line,t.ch)}function xt(t,e){return _t(t,e)<0?e:t}function Tt(t,e){return _t(t,e)<0?t:e}function kt(t,e){return Math.max(t.first,Math.min(e,t.first+t.size-1))}function bt(t,e){if(e.line<t.first)return gt(t.first,0);var i,r,n,o=t.first+t.size-1;return e.line>o?gt(o,lt(t,o).text.length):(r=lt(t,(i=e).line).text.length,null==(n=i.ch)||r<n?gt(i.line,r):n<0?gt(i.line,0):i)}function wt(t,e){for(var i=[],r=0;r<e.length;r++)i[r]=bt(t,e[r]);return i}var Et=!1,Ct=!1;function St(t,e,i){this.marker=t,this.from=e,this.to=i}function At(t,e){if(t)for(var i=0;i<t.length;++i){var r=t[i];if(r.marker==e)return r}}function Lt(t,e){for(var i,r=0;r<t.length;++r)t[r]!=e&&(i=i||[]).push(t[r]);return i}function Nt(t,e){if(e.full)return null;var i=pt(t,e.from.line)&<(t,e.from.line).markedSpans,r=pt(t,e.to.line)&<(t,e.to.line).markedSpans;if(!i&&!r)return null;var n=e.from.ch,o=e.to.ch,s=0==_t(e.from,e.to),a=function(t,e,i){var r;if(t)for(var n=0;n<t.length;++n){var o=t[n],s=o.marker;if(null==o.from||(s.inclusiveLeft?o.from<=e:o.from<e)||o.from==e&&"bookmark"==s.type&&(!i||!o.marker.insertLeft)){var a=null==o.to||(s.inclusiveRight?o.to>=e:o.to>e);(r=r||[]).push(new St(s,o.from,a?null:o.to))}}return r}(i,n,s),l=function(t,e,i){var r;if(t)for(var n=0;n<t.length;++n){var o=t[n],s=o.marker;if(null==o.to||(s.inclusiveRight?o.to>=e:o.to>e)||o.from==e&&"bookmark"==s.type&&(!i||o.marker.insertLeft)){var a=null==o.from||(s.inclusiveLeft?o.from<=e:o.from<e);(r=r||[]).push(new St(s,a?null:o.from-e,null==o.to?null:o.to-e))}}return r}(r,o,s),c=1==e.text.length,h=$(e.text).length+(c?n:0);if(a)for(var u=0;u<a.length;++u){var f=a[u];if(null==f.to){var d=At(l,f.marker);d?c&&(f.to=null==d.to?null:d.to+h):f.to=n}}if(l)for(var p=0;p<l.length;++p){var m=l[p];null!=m.to&&(m.to+=h),null==m.from?At(a,m.marker)||(m.from=h,c&&(a=a||[]).push(m)):(m.from+=h,c&&(a=a||[]).push(m))}a=a&&Ot(a),l&&l!=a&&(l=Ot(l));var g=[a];if(!c){var _,v=e.text.length-2;if(0<v&&a)for(var y=0;y<a.length;++y)null==a[y].to&&(_=_||[]).push(new St(a[y].marker,null,null));for(var x=0;x<v;++x)g.push(_);g.push(l)}return g}function Ot(t){for(var e=0;e<t.length;++e){var i=t[e];null!=i.from&&i.from==i.to&&!1!==i.marker.clearWhenEmpty&&t.splice(e--,1)}return t.length?t:null}function It(t){var e=t.markedSpans;if(e){for(var i=0;i<e.length;++i)e[i].marker.detachLine(t);t.markedSpans=null}}function Rt(t,e){if(e){for(var i=0;i<e.length;++i)e[i].marker.attachLine(t);t.markedSpans=e}}function Mt(t){return t.inclusiveLeft?-1:0}function Dt(t){return t.inclusiveRight?1:0}function Pt(t,e){var i=t.lines.length-e.lines.length;if(0!=i)return i;var r=t.find(),n=e.find(),o=_t(r.from,n.from)||Mt(t)-Mt(e);return o?-o:_t(r.to,n.to)||Dt(t)-Dt(e)||e.id-t.id}function Bt(t,e){var i,r=Ct&&t.markedSpans;if(r)for(var n=void 0,o=0;o<r.length;++o)(n=r[o]).marker.collapsed&&null==(e?n.from:n.to)&&(!i||Pt(i,n.marker)<0)&&(i=n.marker);return i}function Ft(t){return Bt(t,!0)}function Ut(t){return Bt(t,!1)}function Ht(t,e){var i,r=Ct&&t.markedSpans;if(r)for(var n=0;n<r.length;++n){var o=r[n];o.marker.collapsed&&(null==o.from||o.from<e)&&(null==o.to||o.to>e)&&(!i||Pt(i,o.marker)<0)&&(i=o.marker)}return i}function Wt(t,e,i,r,n){var o=lt(t,e),s=Ct&&o.markedSpans;if(s)for(var a=0;a<s.length;++a){var l=s[a];if(l.marker.collapsed){var c=l.marker.find(0),h=_t(c.from,i)||Mt(l.marker)-Mt(n),u=_t(c.to,r)||Dt(l.marker)-Dt(n);if(!(0<=h&&u<=0||h<=0&&0<=u)&&(h<=0&&(l.marker.inclusiveRight&&n.inclusiveLeft?0<=_t(c.to,i):0<_t(c.to,i))||0<=h&&(l.marker.inclusiveRight&&n.inclusiveLeft?_t(c.from,r)<=0:_t(c.from,r)<0)))return!0}}}function zt(t){for(var e;e=Ft(t);)t=e.find(-1,!0).line;return t}function qt(t,e){var i=lt(t,e),r=zt(i);return i==r?e:ft(r)}function Gt(t,e){if(e>t.lastLine())return e;var i,r=lt(t,e);if(!jt(t,r))return e;for(;i=Ut(r);)r=i.find(1,!0).line;return ft(r)+1}function jt(t,e){var i=Ct&&e.markedSpans;if(i)for(var r=void 0,n=0;n<i.length;++n)if((r=i[n]).marker.collapsed){if(null==r.from)return!0;if(!r.marker.widgetNode&&0==r.from&&r.marker.inclusiveLeft&&Vt(t,e,r))return!0}}function Vt(t,e,i){if(null==i.to){var r=i.marker.find(1,!0);return Vt(t,r.line,At(r.line.markedSpans,i.marker))}if(i.marker.inclusiveRight&&i.to==e.text.length)return!0;for(var n=void 0,o=0;o<e.markedSpans.length;++o)if((n=e.markedSpans[o]).marker.collapsed&&!n.marker.widgetNode&&n.from==i.to&&(null==n.to||n.to!=i.from)&&(n.marker.inclusiveLeft||i.marker.inclusiveRight)&&Vt(t,e,n))return!0}function Yt(t){for(var e=0,i=(t=zt(t)).parent,r=0;r<i.lines.length;++r){var n=i.lines[r];if(n==t)break;e+=n.height}for(var o=i.parent;o;o=(i=o).parent)for(var s=0;s<o.children.length;++s){var a=o.children[s];if(a==i)break;e+=a.height}return e}function Kt(t){if(0==t.height)return 0;for(var e,i=t.text.length,r=t;e=Ft(r);){var n=e.find(0,!0);r=n.from.line,i+=n.from.ch-n.to.ch}for(r=t;e=Ut(r);){var o=e.find(0,!0);i-=r.text.length-o.from.ch,i+=(r=o.to.line).text.length-o.to.ch}return i}function $t(t){var i=t.display,e=t.doc;i.maxLine=lt(e,e.first),i.maxLineLength=Kt(i.maxLine),i.maxLineChanged=!0,e.iter(function(t){var e=Kt(t);e>i.maxLineLength&&(i.maxLineLength=e,i.maxLine=t)})}var Qt=null;function Xt(t,e,i){var r;Qt=null;for(var n=0;n<t.length;++n){var o=t[n];if(o.from<e&&o.to>e)return n;o.to==e&&(o.from!=o.to&&"before"==i?r=n:Qt=n),o.from==e&&(o.from!=o.to&&"before"!=i?r=n:Qt=n)}return null!=r?r:Qt}var Zt,Jt,te,ee,ie,re=(Zt=/[\u0590-\u05f4\u0600-\u06ff\u0700-\u08ac]/,Jt=/[stwN]/,te=/[LRr]/,ee=/[Lb1n]/,ie=/[1n]/,function(t,e){var i="ltr"==e?"L":"R";if(0==t.length||"ltr"==e&&!Zt.test(t))return!1;for(var r,n=t.length,o=[],s=0;s<n;++s)o.push((r=t.charCodeAt(s))<=247?"bbbbbbbbbtstwsbbbbbbbbbbbbbbssstwNN%%%NNNNNN,N,N1111111111NNNNNNNLLLLLLLLLLLLLLLLLLLLLLLLLLNNNNNNLLLLLLLLLLLLLLLLLLLLLLLLLLNNNNbbbbbbsbbbbbbbbbbbbbbbbbbbbbbbbbb,N%%%%NNNNLNNNNN%%11NLNNN1LNNNNNLLLLLLLLLLLLLLLLLLLLLLLNLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLN".charAt(r):1424<=r&&r<=1524?"R":1536<=r&&r<=1785?"nnnnnnNNr%%r,rNNmmmmmmmmmmmrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrmmmmmmmmmmmmmmmmmmmmmnnnnnnnnnn%nnrrrmrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrmmmmmmmnNmmmmmmrrmmNmmmmrr1111111111".charAt(r-1536):1774<=r&&r<=2220?"r":8192<=r&&r<=8203?"w":8204==r?"b":"L");for(var a=0,l=i;a<n;++a){var c=o[a];"m"==c?o[a]=l:l=c}for(var h=0,u=i;h<n;++h){var f=o[h];"1"==f&&"r"==u?o[h]="n":te.test(f)&&"r"==(u=f)&&(o[h]="R")}for(var d=1,p=o[0];d<n-1;++d){var m=o[d];"+"==m&&"1"==p&&"1"==o[d+1]?o[d]="1":","!=m||p!=o[d+1]||"1"!=p&&"n"!=p||(o[d]=p),p=m}for(var g=0;g<n;++g){var _=o[g];if(","==_)o[g]="N";else if("%"==_){var v=void 0;for(v=g+1;v<n&&"%"==o[v];++v);for(var y=g&&"!"==o[g-1]||v<n&&"1"==o[v]?"1":"N",x=g;x<v;++x)o[x]=y;g=v-1}}for(var T=0,k=i;T<n;++T){var b=o[T];"L"==k&&"1"==b?o[T]="L":te.test(b)&&(k=b)}for(var w=0;w<n;++w)if(Jt.test(o[w])){var E=void 0;for(E=w+1;E<n&&Jt.test(o[E]);++E);for(var C="L"==(w?o[w-1]:i),S=C==("L"==(E<n?o[E]:i))?C?"L":"R":i,A=w;A<E;++A)o[A]=S;w=E-1}for(var L,N=[],O=0;O<n;)if(ee.test(o[O])){var I=O;for(++O;O<n&&ee.test(o[O]);++O);N.push(new ne(0,I,O))}else{var R=O,M=N.length;for(++O;O<n&&"L"!=o[O];++O);for(var D=R;D<O;)if(ie.test(o[D])){R<D&&N.splice(M,0,new ne(1,R,D));var P=D;for(++D;D<O&&ie.test(o[D]);++D);N.splice(M,0,new ne(2,P,D)),R=D}else++D;R<O&&N.splice(M,0,new ne(1,R,O))}return"ltr"==e&&(1==N[0].level&&(L=t.match(/^\s+/))&&(N[0].from=L[0].length,N.unshift(new ne(0,0,L[0].length))),1==$(N).level&&(L=t.match(/\s+$/))&&($(N).to-=L[0].length,N.push(new ne(0,n-L[0].length,n)))),"rtl"==e?N.reverse():N});function ne(t,e,i){this.level=t,this.from=e,this.to=i}function oe(t,e){var i=t.order;return null==i&&(i=t.order=re(t.text,e)),i}var se=[],ae=function(t,e,i){if(t.addEventListener)t.addEventListener(e,i,!1);else if(t.attachEvent)t.attachEvent("on"+e,i);else{var r=t._handlers||(t._handlers={});r[e]=(r[e]||se).concat(i)}};function le(t,e){return t._handlers&&t._handlers[e]||se}function ce(t,e,i){if(t.removeEventListener)t.removeEventListener(e,i,!1);else if(t.detachEvent)t.detachEvent("on"+e,i);else{var r=t._handlers,n=r&&r[e];if(n){var o=H(n,i);-1<o&&(r[e]=n.slice(0,o).concat(n.slice(o+1)))}}}function he(t,e){var i=le(t,e);if(i.length)for(var r=Array.prototype.slice.call(arguments,2),n=0;n<i.length;++n)i[n].apply(null,r)}function ue(t,e,i){return"string"==typeof e&&(e={type:e,preventDefault:function(){this.defaultPrevented=!0}}),he(t,i||e.type,t,e),_e(e)||e.codemirrorIgnore}function fe(t){var e=t._handlers&&t._handlers.cursorActivity;if(e)for(var i=t.curOp.cursorActivityHandlers||(t.curOp.cursorActivityHandlers=[]),r=0;r<e.length;++r)-1==H(i,e[r])&&i.push(e[r])}function de(t,e){return 0<le(t,e).length}function pe(t){t.prototype.on=function(t,e){ae(this,t,e)},t.prototype.off=function(t,e){ce(this,t,e)}}function me(t){t.preventDefault?t.preventDefault():t.returnValue=!1}function ge(t){t.stopPropagation?t.stopPropagation():t.cancelBubble=!0}function _e(t){return null!=t.defaultPrevented?t.defaultPrevented:0==t.returnValue}function ve(t){me(t),ge(t)}function ye(t){return t.target||t.srcElement}function xe(t){var e=t.which;return null==e&&(1&t.button?e=1:2&t.button?e=3:4&t.button&&(e=2)),x&&t.ctrlKey&&1==e&&(e=3),e}var Te,ke,be=function(){if(T&&k<9)return!1;var t=N("div");return"draggable"in t||"dragDrop"in t}();function we(t){if(null==Te){var e=N("span","");A(t,N("span",[e,document.createTextNode("x")])),0!=t.firstChild.offsetHeight&&(Te=e.offsetWidth<=1&&2<e.offsetHeight&&!(T&&k<8))}var i=Te?N("span",""):N("span"," ",null,"display: inline-block; width: 1px; margin-right: -1px");return i.setAttribute("cm-text",""),i}function Ee(t){if(null!=ke)return ke;var e=A(t,document.createTextNode("AخA")),i=E(e,0,1).getBoundingClientRect(),r=E(e,1,2).getBoundingClientRect();return S(t),!(!i||i.left==i.right)&&(ke=r.right-i.right<3)}var Ce,Se=3!="\n\nb".split(/\n/).length?function(t){for(var e=0,i=[],r=t.length;e<=r;){var n=t.indexOf("\n",e);-1==n&&(n=t.length);var o=t.slice(e,"\r"==t.charAt(n-1)?n-1:n),s=o.indexOf("\r");-1!=s?(i.push(o.slice(0,s)),e+=s+1):(i.push(o),e=n+1)}return i}:function(t){return t.split(/\r\n?|\n/)},Ae=window.getSelection?function(t){try{return t.selectionStart!=t.selectionEnd}catch(t){return!1}}:function(t){var e;try{e=t.ownerDocument.selection.createRange()}catch(t){}return!(!e||e.parentElement()!=t)&&0!=e.compareEndPoints("StartToEnd",e)},Le="oncopy"in(Ce=N("div"))||(Ce.setAttribute("oncopy","return;"),"function"==typeof Ce.oncopy),Ne=null,Oe={},Ie={};function Re(t){if("string"==typeof t&&Ie.hasOwnProperty(t))t=Ie[t];else if(t&&"string"==typeof t.name&&Ie.hasOwnProperty(t.name)){var e=Ie[t.name];"string"==typeof e&&(e={name:e}),(t=Z(e,t)).name=e.name}else{if("string"==typeof t&&/^[\w\-]+\/[\w\-]+\+xml$/.test(t))return Re("application/xml");if("string"==typeof t&&/^[\w\-]+\/[\w\-]+\+json$/.test(t))return Re("application/json")}return"string"==typeof t?{name:t}:t||{name:"null"}}function Me(t,e){e=Re(e);var i=Oe[e.name];if(!i)return Me(t,"text/plain");var r=i(t,e);if(De.hasOwnProperty(e.name)){var n=De[e.name];for(var o in n)n.hasOwnProperty(o)&&(r.hasOwnProperty(o)&&(r["_"+o]=r[o]),r[o]=n[o])}if(r.name=e.name,e.helperType&&(r.helperType=e.helperType),e.modeProps)for(var s in e.modeProps)r[s]=e.modeProps[s];return r}var De={};function Pe(t,e){if(!0===e)return e;if(t.copyState)return t.copyState(e);var i={};for(var r in e){var n=e[r];n instanceof Array&&(n=n.concat([])),i[r]=n}return i}function Be(t,e){for(var i;t.innerMode&&(i=t.innerMode(e))&&i.mode!=t;)e=i.state,t=i.mode;return i||{mode:t,state:e}}function Fe(t,e,i){return!t.startState||t.startState(e,i)}var Ue=function(t,e,i){this.pos=this.start=0,this.string=t,this.tabSize=e||8,this.lastColumnPos=this.lastColumnValue=0,this.lineStart=0,this.lineOracle=i};Ue.prototype.eol=function(){return this.pos>=this.string.length},Ue.prototype.sol=function(){return this.pos==this.lineStart},Ue.prototype.peek=function(){return this.string.charAt(this.pos)||void 0},Ue.prototype.next=function(){if(this.pos<this.string.length)return this.string.charAt(this.pos++)},Ue.prototype.eat=function(t){var e=this.string.charAt(this.pos);if("string"==typeof t?e==t:e&&(t.test?t.test(e):t(e)))return++this.pos,e},Ue.prototype.eatWhile=function(t){for(var e=this.pos;this.eat(t););return this.pos>e},Ue.prototype.eatSpace=function(){for(var t=this.pos;/[\s\u00a0]/.test(this.string.charAt(this.pos));)++this.pos;return this.pos>t},Ue.prototype.skipToEnd=function(){this.pos=this.string.length},Ue.prototype.skipTo=function(t){var e=this.string.indexOf(t,this.pos);if(-1<e)return this.pos=e,!0},Ue.prototype.backUp=function(t){this.pos-=t},Ue.prototype.column=function(){return this.lastColumnPos<this.start&&(this.lastColumnValue=F(this.string,this.start,this.tabSize,this.lastColumnPos,this.lastColumnValue),this.lastColumnPos=this.start),this.lastColumnValue-(this.lineStart?F(this.string,this.lineStart,this.tabSize):0)},Ue.prototype.indentation=function(){return F(this.string,null,this.tabSize)-(this.lineStart?F(this.string,this.lineStart,this.tabSize):0)},Ue.prototype.match=function(t,e,i){if("string"!=typeof t){var r=this.string.slice(this.pos).match(t);return r&&0<r.index?null:(r&&!1!==e&&(this.pos+=r[0].length),r)}function n(t){return i?t.toLowerCase():t}if(n(this.string.substr(this.pos,t.length))==n(t))return!1!==e&&(this.pos+=t.length),!0},Ue.prototype.current=function(){return this.string.slice(this.start,this.pos)},Ue.prototype.hideFirstChars=function(t,e){this.lineStart+=t;try{return e()}finally{this.lineStart-=t}},Ue.prototype.lookAhead=function(t){var e=this.lineOracle;return e&&e.lookAhead(t)},Ue.prototype.baseToken=function(){var t=this.lineOracle;return t&&t.baseToken(this.pos)};var He=function(t,e){this.state=t,this.lookAhead=e},We=function(t,e,i,r){this.state=e,this.doc=t,this.line=i,this.maxLookAhead=r||0,this.baseTokens=null,this.baseTokenPos=1};function ze(e,i,r,t){var l=[e.state.modeGen],n={};Xe(e,i.text,e.doc.mode,r,function(t,e){return l.push(t,e)},n,t);for(var c=r.state,o=function(t){r.baseTokens=l;var o=e.state.overlays[t],s=1,a=0;r.state=!0,Xe(e,i.text,o.mode,r,function(t,e){for(var i=s;a<t;){var r=l[s];t<r&&l.splice(s,1,t,l[s+1],r),s+=2,a=Math.min(t,r)}if(e)if(o.opaque)l.splice(i,s-i,t,"overlay "+e),s=i+2;else for(;i<s;i+=2){var n=l[i+1];l[i+1]=(n?n+" ":"")+"overlay "+e}},n),r.state=c,r.baseTokens=null,r.baseTokenPos=1},s=0;s<e.state.overlays.length;++s)o(s);return{styles:l,classes:n.bgClass||n.textClass?n:null}}function qe(t,e,i){if(!e.styles||e.styles[0]!=t.state.modeGen){var r=Ge(t,ft(e)),n=e.text.length>t.options.maxHighlightLength&&Pe(t.doc.mode,r.state),o=ze(t,e,r);n&&(r.state=n),e.stateAfter=r.save(!n),e.styles=o.styles,o.classes?e.styleClasses=o.classes:e.styleClasses&&(e.styleClasses=null),i===t.doc.highlightFrontier&&(t.doc.modeFrontier=Math.max(t.doc.modeFrontier,++t.doc.highlightFrontier))}return e.styles}function Ge(i,r,t){var e=i.doc,n=i.display;if(!e.mode.startState)return new We(e,!0,r);var o=function(t,e,i){for(var r,n,o=t.doc,s=i?-1:e-(t.doc.mode.innerMode?1e3:100),a=e;s<a;--a){if(a<=o.first)return o.first;var l=lt(o,a-1),c=l.stateAfter;if(c&&(!i||a+(c instanceof He?c.lookAhead:0)<=o.modeFrontier))return a;var h=F(l.text,null,t.options.tabSize);(null==n||h<r)&&(n=a-1,r=h)}return n}(i,r,t),s=o>e.first&<(e,o-1).stateAfter,a=s?We.fromSaved(e,s,o):new We(e,Fe(e.mode),o);return e.iter(o,r,function(t){je(i,t.text,a);var e=a.line;t.stateAfter=e==r-1||e%5==0||e>=n.viewFrom&&e<n.viewTo?a.save():null,a.nextLine()}),t&&(e.modeFrontier=a.line),a}function je(t,e,i,r){var n=t.doc.mode,o=new Ue(e,t.options.tabSize,i);for(o.start=o.pos=r||0,""==e&&Ve(n,i.state);!o.eol();)Ye(n,o,i.state),o.start=o.pos}function Ve(t,e){if(t.blankLine)return t.blankLine(e);if(t.innerMode){var i=Be(t,e);return i.mode.blankLine?i.mode.blankLine(i.state):void 0}}function Ye(t,e,i,r){for(var n=0;n<10;n++){r&&(r[0]=Be(t,i).mode);var o=t.token(e,i);if(e.pos>e.start)return o}throw new Error("Mode "+t.name+" failed to advance stream.")}We.prototype.lookAhead=function(t){var e=this.doc.getLine(this.line+t);return null!=e&&t>this.maxLookAhead&&(this.maxLookAhead=t),e},We.prototype.baseToken=function(t){if(!this.baseTokens)return null;for(;this.baseTokens[this.baseTokenPos]<=t;)this.baseTokenPos+=2;var e=this.baseTokens[this.baseTokenPos+1];return{type:e&&e.replace(/( |^)overlay .*/,""),size:this.baseTokens[this.baseTokenPos]-t}},We.prototype.nextLine=function(){this.line++,0<this.maxLookAhead&&this.maxLookAhead--},We.fromSaved=function(t,e,i){return e instanceof He?new We(t,Pe(t.mode,e.state),i,e.lookAhead):new We(t,Pe(t.mode,e),i)},We.prototype.save=function(t){var e=!1!==t?Pe(this.doc.mode,this.state):this.state;return 0<this.maxLookAhead?new He(e,this.maxLookAhead):e};function Ke(t,e,i){this.start=t.start,this.end=t.pos,this.string=t.current(),this.type=e||null,this.state=i}function $e(t,e,i,r){var n,o,s=t.doc,a=s.mode,l=lt(s,(e=bt(s,e)).line),c=Ge(t,e.line,i),h=new Ue(l.text,t.options.tabSize,c);for(r&&(o=[]);(r||h.pos<e.ch)&&!h.eol();)h.start=h.pos,n=Ye(a,h,c.state),r&&o.push(new Ke(h,n,Pe(s.mode,c.state)));return r?o:new Ke(h,n,c.state)}function Qe(t,e){if(t)for(;;){var i=t.match(/(?:^|\s+)line-(background-)?(\S+)/);if(!i)break;t=t.slice(0,i.index)+t.slice(i.index+i[0].length);var r=i[1]?"bgClass":"textClass";null==e[r]?e[r]=i[2]:new RegExp("(?:^|s)"+i[2]+"(?:$|s)").test(e[r])||(e[r]+=" "+i[2])}return t}function Xe(t,e,i,r,n,o,s){var a=i.flattenSpans;null==a&&(a=t.options.flattenSpans);var l,c=0,h=null,u=new Ue(e,t.options.tabSize,r),f=t.options.addModeClass&&[null];for(""==e&&Qe(Ve(i,r.state),o);!u.eol();){if(l=u.pos>t.options.maxHighlightLength?(a=!1,s&&je(t,e,r,u.pos),u.pos=e.length,null):Qe(Ye(i,u,r.state,f),o),f){var d=f[0].name;d&&(l="m-"+(l?d+" "+l:d))}if(!a||h!=l){for(;c<u.start;)n(c=Math.min(u.start,c+5e3),h);h=l}u.start=u.pos}for(;c<u.pos;){var p=Math.min(u.pos,c+5e3);n(p,h),c=p}}var Ze=function(t,e,i){this.text=t,Rt(this,e),this.height=i?i(this):1};Ze.prototype.lineNo=function(){return ft(this)},pe(Ze);var Je={},ti={};function ei(t,e){if(!t||/^\s*$/.test(t))return null;var i=e.addModeClass?ti:Je;return i[t]||(i[t]=t.replace(/\S+/g,"cm-$&"))}function ii(t,e){var i=L("span",null,null,y?"padding-right: .1px":null),r={pre:L("pre",[i],"CodeMirror-line"),content:i,col:0,pos:0,cm:t,trailingSpace:!1,splitSpaces:t.getOption("lineWrapping")};e.measure={};for(var n=0;n<=(e.rest?e.rest.length:0);n++){var o=n?e.rest[n-1]:e.line,s=void 0;r.pos=0,r.addToken=ni,Ee(t.display.measure)&&(s=oe(o,t.doc.direction))&&(r.addToken=oi(r.addToken,s)),r.map=[],ai(o,r,qe(t,o,e!=t.display.externalMeasured&&ft(o))),o.styleClasses&&(o.styleClasses.bgClass&&(r.bgClass=M(o.styleClasses.bgClass,r.bgClass||"")),o.styleClasses.textClass&&(r.textClass=M(o.styleClasses.textClass,r.textClass||""))),0==r.map.length&&r.map.push(0,0,r.content.appendChild(we(t.display.measure))),0==n?(e.measure.map=r.map,e.measure.cache={}):((e.measure.maps||(e.measure.maps=[])).push(r.map),(e.measure.caches||(e.measure.caches=[])).push({}))}if(y){var a=r.content.lastChild;(/\bcm-tab\b/.test(a.className)||a.querySelector&&a.querySelector(".cm-tab"))&&(r.content.className="cm-tab-wrap-hack")}return he(t,"renderLine",t,e.line,r.pre),r.pre.className&&(r.textClass=M(r.pre.className,r.textClass||"")),r}function ri(t){var e=N("span","•","cm-invalidchar");return e.title="\\u"+t.charCodeAt(0).toString(16),e.setAttribute("aria-label",e.title),e}function ni(t,e,i,r,n,o,s){if(e){var a,l=t.splitSpaces?function(t,e){if(1<t.length&&!/ /.test(t))return t;for(var i=e,r="",n=0;n<t.length;n++){var o=t.charAt(n);" "!=o||!i||n!=t.length-1&&32!=t.charCodeAt(n+1)||(o=" "),r+=o,i=" "==o}return r}(e,t.trailingSpace):e,c=t.cm.state.specialChars,h=!1;if(c.test(e)){a=document.createDocumentFragment();for(var u=0;;){c.lastIndex=u;var f=c.exec(e),d=f?f.index-u:e.length-u;if(d){var p=document.createTextNode(l.slice(u,u+d));T&&k<9?a.appendChild(N("span",[p])):a.appendChild(p),t.map.push(t.pos,t.pos+d,p),t.col+=d,t.pos+=d}if(!f)break;u+=1+d;var m=void 0;if("\t"==f[0]){var g=t.cm.options.tabSize,_=g-t.col%g;(m=a.appendChild(N("span",K(_),"cm-tab"))).setAttribute("role","presentation"),m.setAttribute("cm-text","\t"),t.col+=_}else"\r"==f[0]||"\n"==f[0]?(m=a.appendChild(N("span","\r"==f[0]?"␍":"","cm-invalidchar"))).setAttribute("cm-text",f[0]):((m=t.cm.options.specialCharPlaceholder(f[0])).setAttribute("cm-text",f[0]),T&&k<9?a.appendChild(N("span",[m])):a.appendChild(m)),t.col+=1;t.map.push(t.pos,t.pos+1,m),t.pos++}}else t.col+=e.length,a=document.createTextNode(l),t.map.push(t.pos,t.pos+e.length,a),T&&k<9&&(h=!0),t.pos+=e.length;if(t.trailingSpace=32==l.charCodeAt(e.length-1),i||r||n||h||o){var v=i||"";r&&(v+=r),n&&(v+=n);var y=N("span",[a],v,o);if(s)for(var x in s)s.hasOwnProperty(x)&&"style"!=x&&"class"!=x&&y.setAttribute(x,s[x]);return t.content.appendChild(y)}t.content.appendChild(a)}}function oi(u,f){return function(t,e,i,r,n,o,s){i=i?i+" cm-force-border":"cm-force-border";for(var a=t.pos,l=a+e.length;;){for(var c=void 0,h=0;h<f.length&&!((c=f[h]).to>a&&c.from<=a);h++);if(c.to>=l)return u(t,e,i,r,n,o,s);u(t,e.slice(0,c.to-a),i,r,null,o,s),r=null,e=e.slice(c.to-a),a=c.to}}}function si(t,e,i,r){var n=!r&&i.widgetNode;n&&t.map.push(t.pos,t.pos+e,n),!r&&t.cm.display.input.needsContentAttribute&&(n=n||t.content.appendChild(document.createElement("span"))).setAttribute("cm-marker",i.id),n&&(t.cm.display.input.setUneditable(n),t.content.appendChild(n)),t.pos+=e,t.trailingSpace=!1}function ai(t,e,i){var r=t.markedSpans,n=t.text,o=0;if(r)for(var s,a,l,c,h,u,f,d=n.length,p=0,m=1,g="",_=0;;){if(_==p){l=c=h=a="",u=f=null,_=1/0;for(var v=[],y=void 0,x=0;x<r.length;++x){var T=r[x],k=T.marker;if("bookmark"==k.type&&T.from==p&&k.widgetNode)v.push(k);else if(T.from<=p&&(null==T.to||T.to>p||k.collapsed&&T.to==p&&T.from==p)){if(null!=T.to&&T.to!=p&&_>T.to&&(_=T.to,c=""),k.className&&(l+=" "+k.className),k.css&&(a=(a?a+";":"")+k.css),k.startStyle&&T.from==p&&(h+=" "+k.startStyle),k.endStyle&&T.to==_&&(y=y||[]).push(k.endStyle,T.to),k.title&&((f=f||{}).title=k.title),k.attributes)for(var b in k.attributes)(f=f||{})[b]=k.attributes[b];k.collapsed&&(!u||Pt(u.marker,k)<0)&&(u=T)}else T.from>p&&_>T.from&&(_=T.from)}if(y)for(var w=0;w<y.length;w+=2)y[w+1]==_&&(c+=" "+y[w]);if(!u||u.from==p)for(var E=0;E<v.length;++E)si(e,0,v[E]);if(u&&(u.from||0)==p){if(si(e,(null==u.to?d+1:u.to)-p,u.marker,null==u.from),null==u.to)return;u.to==p&&(u=!1)}}if(d<=p)break;for(var C=Math.min(d,_);;){if(g){var S=p+g.length;if(!u){var A=C<S?g.slice(0,C-p):g;e.addToken(e,A,s?s+l:l,h,p+A.length==_?c:"",a,f)}if(C<=S){g=g.slice(C-p),p=C;break}p=S,h=""}g=n.slice(o,o=i[m++]),s=ei(i[m++],e.cm.options)}}else for(var L=1;L<i.length;L+=2)e.addToken(e,n.slice(o,o=i[L]),ei(i[L+1],e.cm.options))}function li(t,e,i){this.line=e,this.rest=function(t){for(var e,i;e=Ut(t);)t=e.find(1,!0).line,(i=i||[]).push(t);return i}(e),this.size=this.rest?ft($(this.rest))-i+1:1,this.node=this.text=null,this.hidden=jt(t,e)}function ci(t,e,i){for(var r,n=[],o=e;o<i;o=r){var s=new li(t.doc,lt(t.doc,o),o);r=o+s.size,n.push(s)}return n}var hi=null,ui=null;function fi(t,e){var i=le(t,e);if(i.length){var r,n=Array.prototype.slice.call(arguments,2);hi?r=hi.delayedCallbacks:ui?r=ui:(r=ui=[],setTimeout(di,0));for(var o=function(t){r.push(function(){return i[t].apply(null,n)})},s=0;s<i.length;++s)o(s)}}function di(){var t=ui;ui=null;for(var e=0;e<t.length;++e)t[e]()}function pi(t,e,i,r){for(var n=0;n<e.changes.length;n++){var o=e.changes[n];"text"==o?(s=t,void 0,l=(a=e).text.className,c=gi(s,a),a.text==a.node&&(a.node=c.pre),a.text.parentNode.replaceChild(c.pre,a.text),a.text=c.pre,c.bgClass!=a.bgClass||c.textClass!=a.textClass?(a.bgClass=c.bgClass,a.textClass=c.textClass,_i(s,a)):l&&(a.text.className=l)):"gutter"==o?vi(t,e,i,r):"class"==o?_i(t,e):"widget"==o&&yi(t,e,r)}var s,a,l,c;e.changes=null}function mi(t){return t.node==t.text&&(t.node=N("div",null,null,"position: relative"),t.text.parentNode&&t.text.parentNode.replaceChild(t.node,t.text),t.node.appendChild(t.text),T&&k<8&&(t.node.style.zIndex=2)),t.node}function gi(t,e){var i=t.display.externalMeasured;return i&&i.line==e.line?(t.display.externalMeasured=null,e.measure=i.measure,i.built):ii(t,e)}function _i(t,e){!function(t,e){var i=e.bgClass?e.bgClass+" "+(e.line.bgClass||""):e.line.bgClass;if(i&&(i+=" CodeMirror-linebackground"),e.background)i?e.background.className=i:(e.background.parentNode.removeChild(e.background),e.background=null);else if(i){var r=mi(e);e.background=r.insertBefore(N("div",null,i),r.firstChild),t.display.input.setUneditable(e.background)}}(t,e),e.line.wrapClass?mi(e).className=e.line.wrapClass:e.node!=e.text&&(e.node.className="");var i=e.textClass?e.textClass+" "+(e.line.textClass||""):e.line.textClass;e.text.className=i||""}function vi(t,e,i,r){if(e.gutter&&(e.node.removeChild(e.gutter),e.gutter=null),e.gutterBackground&&(e.node.removeChild(e.gutterBackground),e.gutterBackground=null),e.line.gutterClass){var n=mi(e);e.gutterBackground=N("div",null,"CodeMirror-gutter-background "+e.line.gutterClass,"left: "+(t.options.fixedGutter?r.fixedPos:-r.gutterTotalWidth)+"px; width: "+r.gutterTotalWidth+"px"),t.display.input.setUneditable(e.gutterBackground),n.insertBefore(e.gutterBackground,e.text)}var o=e.line.gutterMarkers;if(t.options.lineNumbers||o){var s=mi(e),a=e.gutter=N("div",null,"CodeMirror-gutter-wrapper","left: "+(t.options.fixedGutter?r.fixedPos:-r.gutterTotalWidth)+"px");if(t.display.input.setUneditable(a),s.insertBefore(a,e.text),e.line.gutterClass&&(a.className+=" "+e.line.gutterClass),!t.options.lineNumbers||o&&o["CodeMirror-linenumbers"]||(e.lineNumber=a.appendChild(N("div",mt(t.options,i),"CodeMirror-linenumber CodeMirror-gutter-elt","left: "+r.gutterLeft["CodeMirror-linenumbers"]+"px; width: "+t.display.lineNumInnerWidth+"px"))),o)for(var l=0;l<t.options.gutters.length;++l){var c=t.options.gutters[l],h=o.hasOwnProperty(c)&&o[c];h&&a.appendChild(N("div",[h],"CodeMirror-gutter-elt","left: "+r.gutterLeft[c]+"px; width: "+r.gutterWidth[c]+"px"))}}}function yi(t,e,i){e.alignable&&(e.alignable=null);for(var r=e.node.firstChild,n=void 0;r;r=n)n=r.nextSibling,"CodeMirror-linewidget"==r.className&&e.node.removeChild(r);xi(t,e,i)}function xi(t,e,i){if(Ti(t,e.line,e,i,!0),e.rest)for(var r=0;r<e.rest.length;r++)Ti(t,e.rest[r],e,i,!1)}function Ti(t,e,i,r,n){if(e.widgets)for(var o=mi(i),s=0,a=e.widgets;s<a.length;++s){var l=a[s],c=N("div",[l.node],"CodeMirror-linewidget");l.handleMouseEvents||c.setAttribute("cm-ignore-events","true"),ki(l,c,i,r),t.display.input.setUneditable(c),n&&l.above?o.insertBefore(c,i.gutter||i.text):o.appendChild(c),fi(l,"redraw")}}function ki(t,e,i,r){if(t.noHScroll){(i.alignable||(i.alignable=[])).push(e);var n=r.wrapperWidth;e.style.left=r.fixedPos+"px",t.coverGutter||(n-=r.gutterTotalWidth,e.style.paddingLeft=r.gutterTotalWidth+"px"),e.style.width=n+"px"}t.coverGutter&&(e.style.zIndex=5,e.style.position="relative",t.noHScroll||(e.style.marginLeft=-r.gutterTotalWidth+"px"))}function bi(t){if(null!=t.height)return t.height;var e=t.doc.cm;if(!e)return 0;if(!O(document.body,t.node)){var i="position: relative;";t.coverGutter&&(i+="margin-left: -"+e.display.gutters.offsetWidth+"px;"),t.noHScroll&&(i+="width: "+e.display.wrapper.clientWidth+"px;"),A(e.display.measure,N("div",[t.node],null,i))}return t.height=t.node.parentNode.offsetHeight}function wi(t,e){for(var i=ye(e);i!=t.wrapper;i=i.parentNode)if(!i||1==i.nodeType&&"true"==i.getAttribute("cm-ignore-events")||i.parentNode==t.sizer&&i!=t.mover)return!0}function Ei(t){return t.lineSpace.offsetTop}function Ci(t){return t.mover.offsetHeight-t.lineSpace.offsetHeight}function Si(t){if(t.cachedPaddingH)return t.cachedPaddingH;var e=A(t.measure,N("pre","x")),i=window.getComputedStyle?window.getComputedStyle(e):e.currentStyle,r={left:parseInt(i.paddingLeft),right:parseInt(i.paddingRight)};return isNaN(r.left)||isNaN(r.right)||(t.cachedPaddingH=r),r}function Ai(t){return W-t.display.nativeBarWidth}function Li(t){return t.display.scroller.clientWidth-Ai(t)-t.display.barWidth}function Ni(t){return t.display.scroller.clientHeight-Ai(t)-t.display.barHeight}function Oi(t,e,i){if(t.line==e)return{map:t.measure.map,cache:t.measure.cache};for(var r=0;r<t.rest.length;r++)if(t.rest[r]==e)return{map:t.measure.maps[r],cache:t.measure.caches[r]};for(var n=0;n<t.rest.length;n++)if(ft(t.rest[n])>i)return{map:t.measure.maps[n],cache:t.measure.caches[n],before:!0}}function Ii(t,e,i,r){return Di(t,Mi(t,e),i,r)}function Ri(t,e){if(e>=t.display.viewFrom&&e<t.display.viewTo)return t.display.view[hr(t,e)];var i=t.display.externalMeasured;return i&&e>=i.lineN&&e<i.lineN+i.size?i:void 0}function Mi(t,e){var i=ft(e),r=Ri(t,i);r&&!r.text?r=null:r&&r.changes&&(pi(t,r,i,or(t)),t.curOp.forceUpdate=!0);var n=Oi(r=r||function(t,e){var i=ft(e=zt(e)),r=t.display.externalMeasured=new li(t.doc,e,i);r.lineN=i;var n=r.built=ii(t,r);return r.text=n.pre,A(t.display.lineMeasure,n.pre),r}(t,e),e,i);return{line:e,view:r,rect:null,map:n.map,cache:n.cache,before:n.before,hasHeights:!1}}function Di(t,e,i,r,n){e.before&&(i=-1);var o,s=i+(r||"");return e.cache.hasOwnProperty(s)?o=e.cache[s]:(e.rect||(e.rect=e.view.text.getBoundingClientRect()),e.hasHeights||(function(t,e,i){var r=t.options.lineWrapping,n=r&&Li(t);if(!e.measure.heights||r&&e.measure.width!=n){var o=e.measure.heights=[];if(r){e.measure.width=n;for(var s=e.text.firstChild.getClientRects(),a=0;a<s.length-1;a++){var l=s[a],c=s[a+1];2<Math.abs(l.bottom-c.bottom)&&o.push((l.bottom+c.top)/2-i.top)}}o.push(i.bottom-i.top)}}(t,e.view,e.rect),e.hasHeights=!0),(o=function(t,e,i,r){var n,o=Fi(e.map,i,r),s=o.node,a=o.start,l=o.end,c=o.collapse;if(3==s.nodeType){for(var h=0;h<4;h++){for(;a&&nt(e.line.text.charAt(o.coverStart+a));)--a;for(;o.coverStart+l<o.coverEnd&&nt(e.line.text.charAt(o.coverStart+l));)++l;if((n=T&&k<9&&0==a&&l==o.coverEnd-o.coverStart?s.parentNode.getBoundingClientRect():Ui(E(s,a,l).getClientRects(),r)).left||n.right||0==a)break;l=a,a-=1,c="right"}T&&k<11&&(n=function(r,t){if(!window.screen||null==screen.logicalXDPI||screen.logicalXDPI==screen.deviceXDPI||!function(){if(null!=Ne)return Ne;var t=A(r,N("span","x")),e=t.getBoundingClientRect(),i=E(t,0,1).getBoundingClientRect();return Ne=1<Math.abs(e.left-i.left)}())return t;var e=screen.logicalXDPI/screen.deviceXDPI,i=screen.logicalYDPI/screen.deviceYDPI;return{left:t.left*e,right:t.right*e,top:t.top*i,bottom:t.bottom*i}}(t.display.measure,n))}else{var u;0<a&&(c=r="right"),n=t.options.lineWrapping&&1<(u=s.getClientRects()).length?u["right"==r?u.length-1:0]:s.getBoundingClientRect()}if(T&&k<9&&!a&&(!n||!n.left&&!n.right)){var f=s.parentNode.getClientRects()[0];n=f?{left:f.left,right:f.left+nr(t.display),top:f.top,bottom:f.bottom}:Bi}for(var d=n.top-e.rect.top,p=n.bottom-e.rect.top,m=(d+p)/2,g=e.view.measure.heights,_=0;_<g.length-1&&!(m<g[_]);_++);var v=_?g[_-1]:0,y=g[_],x={left:("right"==c?n.right:n.left)-e.rect.left,right:("left"==c?n.left:n.right)-e.rect.left,top:v,bottom:y};return n.left||n.right||(x.bogus=!0),t.options.singleCursorHeightPerLine||(x.rtop=d,x.rbottom=p),x}(t,e,i,r)).bogus||(e.cache[s]=o)),{left:o.left,right:o.right,top:n?o.rtop:o.top,bottom:n?o.rbottom:o.bottom}}var Pi,Bi={left:0,right:0,top:0,bottom:0};function Fi(t,e,i){for(var r,n,o,s,a,l,c=0;c<t.length;c+=3)if(a=t[c],l=t[c+1],e<a?(n=0,o=1,s="left"):e<l?o=1+(n=e-a):(c==t.length-3||e==l&&t[c+3]>e)&&(n=(o=l-a)-1,l<=e&&(s="right")),null!=n){if(r=t[c+2],a==l&&i==(r.insertLeft?"left":"right")&&(s=i),"left"==i&&0==n)for(;c&&t[c-2]==t[c-3]&&t[c-1].insertLeft;)r=t[2+(c-=3)],s="left";if("right"==i&&n==l-a)for(;c<t.length-3&&t[c+3]==t[c+4]&&!t[c+5].insertLeft;)r=t[(c+=3)+2],s="right";break}return{node:r,start:n,end:o,collapse:s,coverStart:a,coverEnd:l}}function Ui(t,e){var i=Bi;if("left"==e)for(var r=0;r<t.length&&(i=t[r]).left==i.right;r++);else for(var n=t.length-1;0<=n&&(i=t[n]).left==i.right;n--);return i}function Hi(t){if(t.measure&&(t.measure.cache={},t.measure.heights=null,t.rest))for(var e=0;e<t.rest.length;e++)t.measure.caches[e]={}}function Wi(t){t.display.externalMeasure=null,S(t.display.lineMeasure);for(var e=0;e<t.display.view.length;e++)Hi(t.display.view[e])}function zi(t){Wi(t),t.display.cachedCharWidth=t.display.cachedTextHeight=t.display.cachedPaddingH=null,t.options.lineWrapping||(t.display.maxLineChanged=!0),t.display.lineNumChars=null}function qi(){return s&&u?-(document.body.getBoundingClientRect().left-parseInt(getComputedStyle(document.body).marginLeft)):window.pageXOffset||(document.documentElement||document.body).scrollLeft}function Gi(){return s&&u?-(document.body.getBoundingClientRect().top-parseInt(getComputedStyle(document.body).marginTop)):window.pageYOffset||(document.documentElement||document.body).scrollTop}function ji(t){var e=0;if(t.widgets)for(var i=0;i<t.widgets.length;++i)t.widgets[i].above&&(e+=bi(t.widgets[i]));return e}function Vi(t,e,i,r,n){if(!n){var o=ji(e);i.top+=o,i.bottom+=o}if("line"==r)return i;r=r||"local";var s=Yt(e);if("local"==r?s+=Ei(t.display):s-=t.display.viewOffset,"page"==r||"window"==r){var a=t.display.lineSpace.getBoundingClientRect();s+=a.top+("window"==r?0:Gi());var l=a.left+("window"==r?0:qi());i.left+=l,i.right+=l}return i.top+=s,i.bottom+=s,i}function Yi(t,e,i){if("div"==i)return e;var r=e.left,n=e.top;if("page"==i)r-=qi(),n-=Gi();else if("local"==i||!i){var o=t.display.sizer.getBoundingClientRect();r+=o.left,n+=o.top}var s=t.display.lineSpace.getBoundingClientRect();return{left:r-s.left,top:n-s.top}}function Ki(t,e,i,r,n){return Vi(t,r=r||lt(t.doc,e.line),Ii(t,r,e.ch,n),i)}function $i(r,t,n,o,s,a){function l(t,e){var i=Di(r,s,t,e?"right":"left",a);return e?i.left=i.right:i.right=i.left,Vi(r,o,i,n)}o=o||lt(r.doc,t.line),s=s||Mi(r,o);var c=oe(o,r.doc.direction),e=t.ch,i=t.sticky;if(e>=o.text.length?(e=o.text.length,i="before"):e<=0&&(e=0,i="after"),!c)return l("before"==i?e-1:e,"before"==i);function h(t,e,i){return l(i?t-1:t,1==c[e].level!=i)}var u=Xt(c,e,i),f=Qt,d=h(e,u,"before"==i);return null!=f&&(d.other=h(e,f,"before"!=i)),d}function Qi(t,e){var i=0;e=bt(t.doc,e),t.options.lineWrapping||(i=nr(t.display)*e.ch);var r=lt(t.doc,e.line),n=Yt(r)+Ei(t.display);return{left:i,right:i,top:n,bottom:n+r.height}}function Xi(t,e,i,r,n){var o=gt(t,e,i);return o.xRel=n,r&&(o.outside=!0),o}function Zi(t,e,i){var r=t.doc;if((i+=t.display.viewOffset)<0)return Xi(r.first,0,null,!0,-1);var n=dt(r,i),o=r.first+r.size-1;if(o<n)return Xi(r.first+r.size-1,lt(r,o).text.length,null,!0,1);e<0&&(e=0);for(var s=lt(r,n);;){var a=ir(t,s,n,e,i),l=Ht(s,a.ch+(0<a.xRel?1:0));if(!l)return a;var c=l.find(1);if(c.line==n)return c;s=lt(r,n=c.line)}}function Ji(e,t,i,r){r-=ji(t);var n=t.text.length,o=st(function(t){return Di(e,i,t-1).bottom<=r},n,0);return{begin:o,end:n=st(function(t){return Di(e,i,t).top>r},o,n)}}function tr(t,e,i,r){return Ji(t,e,i=i||Mi(t,e),Vi(t,e,Di(t,i,r),"line").top)}function er(t,e,i,r){return!(t.bottom<=i)&&(t.top>i||(r?t.left:t.right)>e)}function ir(i,t,e,r,n){n-=Yt(t);var o=Mi(i,t),s=ji(t),a=0,l=t.text.length,c=!0,h=oe(t,i.doc.direction);if(h){var u=(i.options.lineWrapping?function(t,e,i,r,n,o,s){var a=Ji(t,e,r,s),l=a.begin,c=a.end;/\s/.test(e.text.charAt(c-1))&&c--;for(var h=null,u=null,f=0;f<n.length;f++){var d=n[f];if(!(d.from>=c||d.to<=l)){var p=Di(t,r,1!=d.level?Math.min(c,d.to)-1:Math.max(l,d.from)).right,m=p<o?o-p+1e9:p-o;(!h||m<u)&&(h=d,u=m)}}return(h=h||n[n.length-1]).from<l&&(h={from:l,to:h.to,level:h.level}),h.to>c&&(h={from:h.from,to:c,level:h.level}),h}:function(r,n,o,s,a,l,c){var t=st(function(t){var e=a[t],i=1!=e.level;return er($i(r,gt(o,i?e.to:e.from,i?"before":"after"),"line",n,s),l,c,!0)},0,a.length-1),e=a[t];if(0<t){var i=1!=e.level,h=$i(r,gt(o,i?e.from:e.to,i?"after":"before"),"line",n,s);er(h,l,c,!0)&&h.top>c&&(e=a[t-1])}return e})(i,t,e,o,h,r,n);a=(c=1!=u.level)?u.from:u.to-1,l=c?u.to:u.from-1}var f,d,p=null,m=null,g=st(function(t){var e=Di(i,o,t);return e.top+=s,e.bottom+=s,!!er(e,r,n,!1)&&(e.top<=n&&e.left<=r&&(p=t,m=e),!0)},a,l),_=!1;if(m){var v=r-m.left<m.right-r,y=v==c;g=p+(y?0:1),d=y?"after":"before",f=v?m.left:m.right}else{c||g!=l&&g!=a||g++,d=0==g?"after":g==t.text.length?"before":Di(i,o,g-(c?1:0)).bottom+s<=n==c?"after":"before";var x=$i(i,gt(e,g,d),"line",t,o);f=x.left,_=n<x.top||n>=x.bottom}return Xi(e,g=ot(t.text,g,1),d,_,r-f)}function rr(t){if(null!=t.cachedTextHeight)return t.cachedTextHeight;if(null==Pi){Pi=N("pre");for(var e=0;e<49;++e)Pi.appendChild(document.createTextNode("x")),Pi.appendChild(N("br"));Pi.appendChild(document.createTextNode("x"))}A(t.measure,Pi);var i=Pi.offsetHeight/50;return 3<i&&(t.cachedTextHeight=i),S(t.measure),i||1}function nr(t){if(null!=t.cachedCharWidth)return t.cachedCharWidth;var e=N("span","xxxxxxxxxx"),i=N("pre",[e]);A(t.measure,i);var r=e.getBoundingClientRect(),n=(r.right-r.left)/10;return 2<n&&(t.cachedCharWidth=n),n||10}function or(t){for(var e=t.display,i={},r={},n=e.gutters.clientLeft,o=e.gutters.firstChild,s=0;o;o=o.nextSibling,++s)i[t.options.gutters[s]]=o.offsetLeft+o.clientLeft+n,r[t.options.gutters[s]]=o.clientWidth;return{fixedPos:sr(e),gutterTotalWidth:e.gutters.offsetWidth,gutterLeft:i,gutterWidth:r,wrapperWidth:e.wrapper.clientWidth}}function sr(t){return t.scroller.getBoundingClientRect().left-t.sizer.getBoundingClientRect().left}function ar(r){var n=rr(r.display),o=r.options.lineWrapping,s=o&&Math.max(5,r.display.scroller.clientWidth/nr(r.display)-3);return function(t){if(jt(r.doc,t))return 0;var e=0;if(t.widgets)for(var i=0;i<t.widgets.length;i++)t.widgets[i].height&&(e+=t.widgets[i].height);return o?e+(Math.ceil(t.text.length/s)||1)*n:e+n}}function lr(t){var e=t.doc,i=ar(t);e.iter(function(t){var e=i(t);e!=t.height&&ut(t,e)})}function cr(t,e,i,r){var n=t.display;if(!i&&"true"==ye(e).getAttribute("cm-not-content"))return null;var o,s,a=n.lineSpace.getBoundingClientRect();try{o=e.clientX-a.left,s=e.clientY-a.top}catch(e){return null}var l,c=Zi(t,o,s);if(r&&1==c.xRel&&(l=lt(t.doc,c.line).text).length==c.ch){var h=F(l,l.length,t.options.tabSize)-l.length;c=gt(c.line,Math.max(0,Math.round((o-Si(t.display).left)/nr(t.display))-h))}return c}function hr(t,e){if(e>=t.display.viewTo)return null;if((e-=t.display.viewFrom)<0)return null;for(var i=t.display.view,r=0;r<i.length;r++)if((e-=i[r].size)<0)return r}function ur(t){t.display.input.showSelection(t.display.input.prepareSelection())}function fr(t,e){void 0===e&&(e=!0);for(var i=t.doc,r={},n=r.cursors=document.createDocumentFragment(),o=r.selection=document.createDocumentFragment(),s=0;s<i.sel.ranges.length;s++)if(e||s!=i.sel.primIndex){var a=i.sel.ranges[s];if(!(a.from().line>=t.display.viewTo||a.to().line<t.display.viewFrom)){var l=a.empty();(l||t.options.showCursorWhenSelecting)&&dr(t,a.head,n),l||mr(t,a,o)}}return r}function dr(t,e,i){var r=$i(t,e,"div",null,null,!t.options.singleCursorHeightPerLine),n=i.appendChild(N("div"," ","CodeMirror-cursor"));if(n.style.left=r.left+"px",n.style.top=r.top+"px",n.style.height=Math.max(0,r.bottom-r.top)*t.options.cursorHeight+"px",r.other){var o=i.appendChild(N("div"," ","CodeMirror-cursor CodeMirror-secondarycursor"));o.style.display="",o.style.left=r.other.left+"px",o.style.top=r.other.top+"px",o.style.height=.85*(r.other.bottom-r.other.top)+"px"}}function pr(t,e){return t.top-e.top||t.left-e.left}function mr(s,t,e){var i=s.display,r=s.doc,n=document.createDocumentFragment(),o=Si(s.display),C=o.left,S=Math.max(i.sizerWidth,Li(s)-i.sizer.offsetLeft)-o.right,A="ltr"==r.direction;function L(t,e,i,r){e<0&&(e=0),e=Math.round(e),r=Math.round(r),n.appendChild(N("div",null,"CodeMirror-selected","position: absolute; left: "+t+"px;\n top: "+e+"px; width: "+(null==i?S-t:i)+"px;\n height: "+(r-e)+"px"))}function a(i,v,y){var x,T,o=lt(r,i),k=o.text.length;function b(t,e){return Ki(s,gt(i,t),"div",o,e)}function w(t,e,i){var r=tr(s,o,null,t),n="ltr"==e==("after"==i)?"left":"right";return b("after"==i?r.begin:r.end-(/\s/.test(o.text.charAt(r.end-1))?2:1),n)[n]}var E=oe(o,r.direction);return function(t,e,i,r){if(!t)return r(e,i,"ltr",0);for(var n=!1,o=0;o<t.length;++o){var s=t[o];(s.from<i&&s.to>e||e==i&&s.to==e)&&(r(Math.max(s.from,e),Math.min(s.to,i),1==s.level?"rtl":"ltr",o),n=!0)}n||r(e,i,"ltr")}(E,v||0,null==y?k:y,function(t,e,i,r){var n="ltr"==i,o=b(t,n?"left":"right"),s=b(e-1,n?"right":"left"),a=null==v&&0==t,l=null==y&&e==k,c=0==r,h=!E||r==E.length-1;if(s.top-o.top<=3){var u=(A?l:a)&&h,f=(A?a:l)&&c?C:(n?o:s).left,d=u?S:(n?s:o).right;L(f,o.top,d-f,o.bottom)}else{var p,m,g,_;_=n?(p=A&&a&&c?C:o.left,m=A?S:w(t,i,"before"),g=A?C:w(e,i,"after"),A&&l&&h?S:s.right):(p=A?w(t,i,"before"):C,m=!A&&a&&c?S:o.right,g=!A&&l&&h?C:s.left,A?w(e,i,"after"):S),L(p,o.top,m-p,o.bottom),o.bottom<s.top&&L(C,o.bottom,null,s.top),L(g,s.top,_-g,s.bottom)}(!x||pr(o,x)<0)&&(x=o),pr(s,x)<0&&(x=s),(!T||pr(o,T)<0)&&(T=o),pr(s,T)<0&&(T=s)}),{start:x,end:T}}var l=t.from(),c=t.to();if(l.line==c.line)a(l.line,l.ch,c.ch);else{var h=lt(r,l.line),u=lt(r,c.line),f=zt(h)==zt(u),d=a(l.line,l.ch,f?h.text.length+1:null).end,p=a(c.line,f?0:null,c.ch).start;f&&(d.top<p.top-2?(L(d.right,d.top,null,d.bottom),L(C,p.top,p.left,p.bottom)):L(d.right,d.top,p.left-d.right,d.bottom)),d.bottom<p.top&&L(C,d.bottom,null,p.top)}e.appendChild(n)}function gr(t){if(t.state.focused){var e=t.display;clearInterval(e.blinker);var i=!0;e.cursorDiv.style.visibility="",0<t.options.cursorBlinkRate?e.blinker=setInterval(function(){return e.cursorDiv.style.visibility=(i=!i)?"":"hidden"},t.options.cursorBlinkRate):t.options.cursorBlinkRate<0&&(e.cursorDiv.style.visibility="hidden")}}function _r(t){t.state.focused||(t.display.input.focus(),yr(t))}function vr(t){t.state.delayingBlurEvent=!0,setTimeout(function(){t.state.delayingBlurEvent&&(t.state.delayingBlurEvent=!1,xr(t))},100)}function yr(t,e){t.state.delayingBlurEvent&&(t.state.delayingBlurEvent=!1),"nocursor"!=t.options.readOnly&&(t.state.focused||(he(t,"focus",t,e),t.state.focused=!0,R(t.display.wrapper,"CodeMirror-focused"),t.curOp||t.display.selForContextMenu==t.doc.sel||(t.display.input.reset(),y&&setTimeout(function(){return t.display.input.reset(!0)},20)),t.display.input.receivedFocus()),gr(t))}function xr(t,e){t.state.delayingBlurEvent||(t.state.focused&&(he(t,"blur",t,e),t.state.focused=!1,C(t.display.wrapper,"CodeMirror-focused")),clearInterval(t.display.blinker),setTimeout(function(){t.state.focused||(t.display.shift=!1)},150))}function Tr(t){for(var e=t.display,i=e.lineDiv.offsetTop,r=0;r<e.view.length;r++){var n=e.view[r],o=t.options.lineWrapping,s=void 0,a=0;if(!n.hidden){if(T&&k<8){var l=n.node.offsetTop+n.node.offsetHeight;s=l-i,i=l}else{var c=n.node.getBoundingClientRect();s=c.bottom-c.top,!o&&n.text.firstChild&&(a=n.text.firstChild.getBoundingClientRect().right-c.left-1)}var h=n.line.height-s;if(s<2&&(s=rr(e)),(.005<h||h<-.005)&&(ut(n.line,s),kr(n.line),n.rest))for(var u=0;u<n.rest.length;u++)kr(n.rest[u]);if(a>t.display.sizerWidth){var f=Math.ceil(a/nr(t.display));f>t.display.maxLineLength&&(t.display.maxLineLength=f,t.display.maxLine=n.line,t.display.maxLineChanged=!0)}}}}function kr(t){if(t.widgets)for(var e=0;e<t.widgets.length;++e){var i=t.widgets[e],r=i.node.parentNode;r&&(i.height=r.offsetHeight)}}function br(t,e,i){var r=i&&null!=i.top?Math.max(0,i.top):t.scroller.scrollTop;r=Math.floor(r-Ei(t));var n=i&&null!=i.bottom?i.bottom:r+t.wrapper.clientHeight,o=dt(e,r),s=dt(e,n);if(i&&i.ensure){var a=i.ensure.from.line,l=i.ensure.to.line;a<o?s=dt(e,Yt(lt(e,o=a))+t.wrapper.clientHeight):Math.min(l,e.lastLine())>=s&&(o=dt(e,Yt(lt(e,l))-t.wrapper.clientHeight),s=l)}return{from:o,to:Math.max(s,o+1)}}function wr(t){var e=t.display,i=e.view;if(e.alignWidgets||e.gutters.firstChild&&t.options.fixedGutter){for(var r=sr(e)-e.scroller.scrollLeft+t.doc.scrollLeft,n=e.gutters.offsetWidth,o=r+"px",s=0;s<i.length;s++)if(!i[s].hidden){t.options.fixedGutter&&(i[s].gutter&&(i[s].gutter.style.left=o),i[s].gutterBackground&&(i[s].gutterBackground.style.left=o));var a=i[s].alignable;if(a)for(var l=0;l<a.length;l++)a[l].style.left=o}t.options.fixedGutter&&(e.gutters.style.left=r+n+"px")}}function Er(t){if(!t.options.lineNumbers)return!1;var e=t.doc,i=mt(t.options,e.first+e.size-1),r=t.display;if(i.length==r.lineNumChars)return!1;var n=r.measure.appendChild(N("div",[N("div",i)],"CodeMirror-linenumber CodeMirror-gutter-elt")),o=n.firstChild.offsetWidth,s=n.offsetWidth-o;return r.lineGutter.style.width="",r.lineNumInnerWidth=Math.max(o,r.lineGutter.offsetWidth-s)+1,r.lineNumWidth=r.lineNumInnerWidth+s,r.lineNumChars=r.lineNumInnerWidth?i.length:-1,r.lineGutter.style.width=r.lineNumWidth+"px",un(t),!0}function Cr(t,e){var i=t.display,r=rr(t.display);e.top<0&&(e.top=0);var n=t.curOp&&null!=t.curOp.scrollTop?t.curOp.scrollTop:i.scroller.scrollTop,o=Ni(t),s={};e.bottom-e.top>o&&(e.bottom=e.top+o);var a=t.doc.height+Ci(i),l=e.top<r,c=e.bottom>a-r;if(e.top<n)s.scrollTop=l?0:e.top;else if(e.bottom>n+o){var h=Math.min(e.top,(c?a:e.bottom)-o);h!=n&&(s.scrollTop=h)}var u=t.curOp&&null!=t.curOp.scrollLeft?t.curOp.scrollLeft:i.scroller.scrollLeft,f=Li(t)-(t.options.fixedGutter?i.gutters.offsetWidth:0),d=e.right-e.left>f;return d&&(e.right=e.left+f),e.left<10?s.scrollLeft=0:e.left<u?s.scrollLeft=Math.max(0,e.left-(d?0:10)):e.right>f+u-3&&(s.scrollLeft=e.right+(d?0:10)-f),s}function Sr(t,e){null!=e&&(Nr(t),t.curOp.scrollTop=(null==t.curOp.scrollTop?t.doc.scrollTop:t.curOp.scrollTop)+e)}function Ar(t){Nr(t);var e=t.getCursor();t.curOp.scrollToPos={from:e,to:e,margin:t.options.cursorScrollMargin}}function Lr(t,e,i){null==e&&null==i||Nr(t),null!=e&&(t.curOp.scrollLeft=e),null!=i&&(t.curOp.scrollTop=i)}function Nr(t){var e=t.curOp.scrollToPos;e&&(t.curOp.scrollToPos=null,Or(t,Qi(t,e.from),Qi(t,e.to),e.margin))}function Or(t,e,i,r){var n=Cr(t,{left:Math.min(e.left,i.left),top:Math.min(e.top,i.top)-r,right:Math.max(e.right,i.right),bottom:Math.max(e.bottom,i.bottom)+r});Lr(t,n.scrollLeft,n.scrollTop)}function Ir(t,e){Math.abs(t.doc.scrollTop-e)<2||(m||hn(t,{top:e}),Rr(t,e,!0),m&&hn(t),on(t,100))}function Rr(t,e,i){e=Math.min(t.display.scroller.scrollHeight-t.display.scroller.clientHeight,e),t.display.scroller.scrollTop==e&&!i||(t.doc.scrollTop=e,t.display.scrollbars.setScrollTop(e),t.display.scroller.scrollTop!=e&&(t.display.scroller.scrollTop=e))}function Mr(t,e,i,r){e=Math.min(e,t.display.scroller.scrollWidth-t.display.scroller.clientWidth),(i?e==t.doc.scrollLeft:Math.abs(t.doc.scrollLeft-e)<2)&&!r||(t.doc.scrollLeft=e,wr(t),t.display.scroller.scrollLeft!=e&&(t.display.scroller.scrollLeft=e),t.display.scrollbars.setScrollLeft(e))}function Dr(t){var e=t.display,i=e.gutters.offsetWidth,r=Math.round(t.doc.height+Ci(t.display));return{clientHeight:e.scroller.clientHeight,viewHeight:e.wrapper.clientHeight,scrollWidth:e.scroller.scrollWidth,clientWidth:e.scroller.clientWidth,viewWidth:e.wrapper.clientWidth,barLeft:t.options.fixedGutter?i:0,docHeight:r,scrollHeight:r+Ai(t)+e.barHeight,nativeBarWidth:e.nativeBarWidth,gutterWidth:i}}function Pr(t,e,i){this.cm=i;var r=this.vert=N("div",[N("div",null,null,"min-width: 1px")],"CodeMirror-vscrollbar"),n=this.horiz=N("div",[N("div",null,null,"height: 100%; min-height: 1px")],"CodeMirror-hscrollbar");r.tabIndex=n.tabIndex=-1,t(r),t(n),ae(r,"scroll",function(){r.clientHeight&&e(r.scrollTop,"vertical")}),ae(n,"scroll",function(){n.clientWidth&&e(n.scrollLeft,"horizontal")}),this.checkedZeroWidth=!1,T&&k<8&&(this.horiz.style.minHeight=this.vert.style.minWidth="18px")}Pr.prototype.update=function(t){var e=t.scrollWidth>t.clientWidth+1,i=t.scrollHeight>t.clientHeight+1,r=t.nativeBarWidth;if(i){this.vert.style.display="block",this.vert.style.bottom=e?r+"px":"0";var n=t.viewHeight-(e?r:0);this.vert.firstChild.style.height=Math.max(0,t.scrollHeight-t.clientHeight+n)+"px"}else this.vert.style.display="",this.vert.firstChild.style.height="0";if(e){this.horiz.style.display="block",this.horiz.style.right=i?r+"px":"0",this.horiz.style.left=t.barLeft+"px";var o=t.viewWidth-t.barLeft-(i?r:0);this.horiz.firstChild.style.width=Math.max(0,t.scrollWidth-t.clientWidth+o)+"px"}else this.horiz.style.display="",this.horiz.firstChild.style.width="0";return!this.checkedZeroWidth&&0<t.clientHeight&&(0==r&&this.zeroWidthHack(),this.checkedZeroWidth=!0),{right:i?r:0,bottom:e?r:0}},Pr.prototype.setScrollLeft=function(t){this.horiz.scrollLeft!=t&&(this.horiz.scrollLeft=t),this.disableHoriz&&this.enableZeroWidthBar(this.horiz,this.disableHoriz,"horiz")},Pr.prototype.setScrollTop=function(t){this.vert.scrollTop!=t&&(this.vert.scrollTop=t),this.disableVert&&this.enableZeroWidthBar(this.vert,this.disableVert,"vert")},Pr.prototype.zeroWidthHack=function(){var t=x&&!a?"12px":"18px";this.horiz.style.height=this.vert.style.width=t,this.horiz.style.pointerEvents=this.vert.style.pointerEvents="none",this.disableHoriz=new U,this.disableVert=new U},Pr.prototype.enableZeroWidthBar=function(i,r,n){i.style.pointerEvents="auto",r.set(1e3,function t(){var e=i.getBoundingClientRect();("vert"==n?document.elementFromPoint(e.right-1,(e.top+e.bottom)/2):document.elementFromPoint((e.right+e.left)/2,e.bottom-1))!=i?i.style.pointerEvents="none":r.set(1e3,t)})},Pr.prototype.clear=function(){var t=this.horiz.parentNode;t.removeChild(this.horiz),t.removeChild(this.vert)};function Br(){}function Fr(t,e){e=e||Dr(t);var i=t.display.barWidth,r=t.display.barHeight;Ur(t,e);for(var n=0;n<4&&i!=t.display.barWidth||r!=t.display.barHeight;n++)i!=t.display.barWidth&&t.options.lineWrapping&&Tr(t),Ur(t,Dr(t)),i=t.display.barWidth,r=t.display.barHeight}function Ur(t,e){var i=t.display,r=i.scrollbars.update(e);i.sizer.style.paddingRight=(i.barWidth=r.right)+"px",i.sizer.style.paddingBottom=(i.barHeight=r.bottom)+"px",i.heightForcer.style.borderBottom=r.bottom+"px solid transparent",r.right&&r.bottom?(i.scrollbarFiller.style.display="block",i.scrollbarFiller.style.height=r.bottom+"px",i.scrollbarFiller.style.width=r.right+"px"):i.scrollbarFiller.style.display="",r.bottom&&t.options.coverGutterNextToScrollbar&&t.options.fixedGutter?(i.gutterFiller.style.display="block",i.gutterFiller.style.height=r.bottom+"px",i.gutterFiller.style.width=e.gutterWidth+"px"):i.gutterFiller.style.display=""}Br.prototype.update=function(){return{bottom:0,right:0}},Br.prototype.setScrollLeft=function(){},Br.prototype.setScrollTop=function(){},Br.prototype.clear=function(){};var Hr={native:Pr,null:Br};function Wr(i){i.display.scrollbars&&(i.display.scrollbars.clear(),i.display.scrollbars.addClass&&C(i.display.wrapper,i.display.scrollbars.addClass)),i.display.scrollbars=new Hr[i.options.scrollbarStyle](function(t){i.display.wrapper.insertBefore(t,i.display.scrollbarFiller),ae(t,"mousedown",function(){i.state.focused&&setTimeout(function(){return i.display.input.focus()},0)}),t.setAttribute("cm-not-content","true")},function(t,e){"horizontal"==e?Mr(i,t):Ir(i,t)},i),i.display.scrollbars.addClass&&R(i.display.wrapper,i.display.scrollbars.addClass)}var zr=0;function qr(t){var e;t.curOp={cm:t,viewChanged:!1,startHeight:t.doc.height,forceUpdate:!1,updateInput:null,typing:!1,changeObjs:null,cursorActivityHandlers:null,cursorActivityCalled:0,selectionChanged:!1,updateMaxLine:!1,scrollLeft:null,scrollTop:null,scrollToPos:null,focus:!1,id:++zr},e=t.curOp,hi?hi.ops.push(e):e.ownsGroup=hi={ops:[e],delayedCallbacks:[]}}function Gr(t){var e=t.curOp;e&&function(){var t=e.ownsGroup;if(t)try{!function(t){var e=t.delayedCallbacks,i=0;do{for(;i<e.length;i++)e[i].call(null);for(var r=0;r<t.ops.length;r++){var n=t.ops[r];if(n.cursorActivityHandlers)for(;n.cursorActivityCalled<n.cursorActivityHandlers.length;)n.cursorActivityHandlers[n.cursorActivityCalled++].call(null,n.cm)}}while(i<e.length)}(t)}finally{hi=null,function(t){for(var e=0;e<t.ops.length;e++)t.ops[e].cm.curOp=null;!function(t){for(var e=t.ops,i=0;i<e.length;i++)jr(e[i]);for(var r=0;r<e.length;r++)(n=e[r]).updatedDisplay=n.mustUpdate&&ln(n.cm,n.update);var n;for(var o=0;o<e.length;o++)Vr(e[o]);for(var s=0;s<e.length;s++)Yr(e[s]);for(var a=0;a<e.length;a++)Kr(e[a])}(t)}(t)}}()}function jr(t){var e,i,r=t.cm,n=r.display;!(i=(e=r).display).scrollbarsClipped&&i.scroller.offsetWidth&&(i.nativeBarWidth=i.scroller.offsetWidth-i.scroller.clientWidth,i.heightForcer.style.height=Ai(e)+"px",i.sizer.style.marginBottom=-i.nativeBarWidth+"px",i.sizer.style.borderRightWidth=Ai(e)+"px",i.scrollbarsClipped=!0),t.updateMaxLine&&$t(r),t.mustUpdate=t.viewChanged||t.forceUpdate||null!=t.scrollTop||t.scrollToPos&&(t.scrollToPos.from.line<n.viewFrom||t.scrollToPos.to.line>=n.viewTo)||n.maxLineChanged&&r.options.lineWrapping,t.update=t.mustUpdate&&new an(r,t.mustUpdate&&{top:t.scrollTop,ensure:t.scrollToPos},t.forceUpdate)}function Vr(t){var e=t.cm,i=e.display;t.updatedDisplay&&Tr(e),t.barMeasure=Dr(e),i.maxLineChanged&&!e.options.lineWrapping&&(t.adjustWidthTo=Ii(e,i.maxLine,i.maxLine.text.length).left+3,e.display.sizerWidth=t.adjustWidthTo,t.barMeasure.scrollWidth=Math.max(i.scroller.clientWidth,i.sizer.offsetLeft+t.adjustWidthTo+Ai(e)+e.display.barWidth),t.maxScrollLeft=Math.max(0,i.sizer.offsetLeft+t.adjustWidthTo-Li(e))),(t.updatedDisplay||t.selectionChanged)&&(t.preparedSelection=i.input.prepareSelection())}function Yr(t){var e=t.cm;null!=t.adjustWidthTo&&(e.display.sizer.style.minWidth=t.adjustWidthTo+"px",t.maxScrollLeft<e.doc.scrollLeft&&Mr(e,Math.min(e.display.scroller.scrollLeft,t.maxScrollLeft),!0),e.display.maxLineChanged=!1);var i=t.focus&&t.focus==I();t.preparedSelection&&e.display.input.showSelection(t.preparedSelection,i),!t.updatedDisplay&&t.startHeight==e.doc.height||Fr(e,t.barMeasure),t.updatedDisplay&&fn(e,t.barMeasure),t.selectionChanged&&gr(e),e.state.focused&&t.updateInput&&e.display.input.reset(t.typing),i&&_r(t.cm)}function Kr(t){var e=t.cm,i=e.display,r=e.doc;t.updatedDisplay&&cn(e,t.update),null==i.wheelStartX||null==t.scrollTop&&null==t.scrollLeft&&!t.scrollToPos||(i.wheelStartX=i.wheelStartY=null),null!=t.scrollTop&&Rr(e,t.scrollTop,t.forceScroll),null!=t.scrollLeft&&Mr(e,t.scrollLeft,!0,!0),t.scrollToPos&&function(t,e){if(!ue(t,"scrollCursorIntoView")){var i=t.display,r=i.sizer.getBoundingClientRect(),n=null;if(e.top+r.top<0?n=!0:e.bottom+r.top>(window.innerHeight||document.documentElement.clientHeight)&&(n=!1),null!=n&&!c){var o=N("div","",null,"position: absolute;\n top: "+(e.top-i.viewOffset-Ei(t.display))+"px;\n height: "+(e.bottom-e.top+Ai(t)+i.barHeight)+"px;\n left: "+e.left+"px; width: "+Math.max(2,e.right-e.left)+"px;");t.display.lineSpace.appendChild(o),o.scrollIntoView(n),t.display.lineSpace.removeChild(o)}}}(e,function(t,e,i,r){var n;null==r&&(r=0),t.options.lineWrapping||e!=i||(i="before"==(e=e.ch?gt(e.line,"before"==e.sticky?e.ch-1:e.ch,"after"):e).sticky?gt(e.line,e.ch+1,"before"):e);for(var o=0;o<5;o++){var s=!1,a=$i(t,e),l=i&&i!=e?$i(t,i):a,c=Cr(t,n={left:Math.min(a.left,l.left),top:Math.min(a.top,l.top)-r,right:Math.max(a.left,l.left),bottom:Math.max(a.bottom,l.bottom)+r}),h=t.doc.scrollTop,u=t.doc.scrollLeft;if(null!=c.scrollTop&&(Ir(t,c.scrollTop),1<Math.abs(t.doc.scrollTop-h)&&(s=!0)),null!=c.scrollLeft&&(Mr(t,c.scrollLeft),1<Math.abs(t.doc.scrollLeft-u)&&(s=!0)),!s)break}return n}(e,bt(r,t.scrollToPos.from),bt(r,t.scrollToPos.to),t.scrollToPos.margin));var n=t.maybeHiddenMarkers,o=t.maybeUnhiddenMarkers;if(n)for(var s=0;s<n.length;++s)n[s].lines.length||he(n[s],"hide");if(o)for(var a=0;a<o.length;++a)o[a].lines.length&&he(o[a],"unhide");i.wrapper.offsetHeight&&(r.scrollTop=e.display.scroller.scrollTop),t.changeObjs&&he(e,"changes",e,t.changeObjs),t.update&&t.update.finish()}function $r(t,e){if(t.curOp)return e();qr(t);try{return e()}finally{Gr(t)}}function Qr(t,e){return function(){if(t.curOp)return e.apply(t,arguments);qr(t);try{return e.apply(t,arguments)}finally{Gr(t)}}}function Xr(t){return function(){if(this.curOp)return t.apply(this,arguments);qr(this);try{return t.apply(this,arguments)}finally{Gr(this)}}}function Zr(e){return function(){var t=this.cm;if(!t||t.curOp)return e.apply(this,arguments);qr(t);try{return e.apply(this,arguments)}finally{Gr(t)}}}function Jr(t,e,i,r){null==e&&(e=t.doc.first),null==i&&(i=t.doc.first+t.doc.size),r=r||0;var n=t.display;if(r&&i<n.viewTo&&(null==n.updateLineNumbers||n.updateLineNumbers>e)&&(n.updateLineNumbers=e),t.curOp.viewChanged=!0,e>=n.viewTo)Ct&&qt(t.doc,e)<n.viewTo&&en(t);else if(i<=n.viewFrom)Ct&&Gt(t.doc,i+r)>n.viewFrom?en(t):(n.viewFrom+=r,n.viewTo+=r);else if(e<=n.viewFrom&&i>=n.viewTo)en(t);else if(e<=n.viewFrom){var o=rn(t,i,i+r,1);o?(n.view=n.view.slice(o.index),n.viewFrom=o.lineN,n.viewTo+=r):en(t)}else if(i>=n.viewTo){var s=rn(t,e,e,-1);s?(n.view=n.view.slice(0,s.index),n.viewTo=s.lineN):en(t)}else{var a=rn(t,e,e,-1),l=rn(t,i,i+r,1);a&&l?(n.view=n.view.slice(0,a.index).concat(ci(t,a.lineN,l.lineN)).concat(n.view.slice(l.index)),n.viewTo+=r):en(t)}var c=n.externalMeasured;c&&(i<c.lineN?c.lineN+=r:e<c.lineN+c.size&&(n.externalMeasured=null))}function tn(t,e,i){t.curOp.viewChanged=!0;var r=t.display,n=t.display.externalMeasured;if(n&&e>=n.lineN&&e<n.lineN+n.size&&(r.externalMeasured=null),!(e<r.viewFrom||e>=r.viewTo)){var o=r.view[hr(t,e)];if(null!=o.node){var s=o.changes||(o.changes=[]);-1==H(s,i)&&s.push(i)}}}function en(t){t.display.viewFrom=t.display.viewTo=t.doc.first,t.display.view=[],t.display.viewOffset=0}function rn(t,e,i,r){var n,o=hr(t,e),s=t.display.view;if(!Ct||i==t.doc.first+t.doc.size)return{index:o,lineN:i};for(var a=t.display.viewFrom,l=0;l<o;l++)a+=s[l].size;if(a!=e){if(0<r){if(o==s.length-1)return null;n=a+s[o].size-e,o++}else n=a-e;e+=n,i+=n}for(;qt(t.doc,i)!=i;){if(o==(r<0?0:s.length-1))return null;i+=r*s[o-(r<0?1:0)].size,o+=r}return{index:o,lineN:i}}function nn(t){for(var e=t.display.view,i=0,r=0;r<e.length;r++){var n=e[r];n.hidden||n.node&&!n.changes||++i}return i}function on(t,e){t.doc.highlightFrontier<t.display.viewTo&&t.state.highlight.set(e,P(sn,t))}function sn(l){var c=l.doc;if(!(c.highlightFrontier>=l.display.viewTo)){var h=+new Date+l.options.workTime,u=Ge(l,c.highlightFrontier),f=[];c.iter(u.line,Math.min(c.first+c.size,l.display.viewTo+500),function(t){if(u.line>=l.display.viewFrom){var e=t.styles,i=t.text.length>l.options.maxHighlightLength?Pe(c.mode,u.state):null,r=ze(l,t,u,!0);i&&(u.state=i),t.styles=r.styles;var n=t.styleClasses,o=r.classes;o?t.styleClasses=o:n&&(t.styleClasses=null);for(var s=!e||e.length!=t.styles.length||n!=o&&(!n||!o||n.bgClass!=o.bgClass||n.textClass!=o.textClass),a=0;!s&&a<e.length;++a)s=e[a]!=t.styles[a];s&&f.push(u.line),t.stateAfter=u.save(),u.nextLine()}else t.text.length<=l.options.maxHighlightLength&&je(l,t.text,u),t.stateAfter=u.line%5==0?u.save():null,u.nextLine();if(+new Date>h)return on(l,l.options.workDelay),!0}),c.highlightFrontier=u.line,c.modeFrontier=Math.max(c.modeFrontier,u.line),f.length&&$r(l,function(){for(var t=0;t<f.length;t++)tn(l,f[t],"text")})}}var an=function(t,e,i){var r=t.display;this.viewport=e,this.visible=br(r,t.doc,e),this.editorIsHidden=!r.wrapper.offsetWidth,this.wrapperHeight=r.wrapper.clientHeight,this.wrapperWidth=r.wrapper.clientWidth,this.oldDisplayWidth=Li(t),this.force=i,this.dims=or(t),this.events=[]};function ln(t,e){var i=t.display,r=t.doc;if(e.editorIsHidden)return en(t),!1;if(!e.force&&e.visible.from>=i.viewFrom&&e.visible.to<=i.viewTo&&(null==i.updateLineNumbers||i.updateLineNumbers>=i.viewTo)&&i.renderedView==i.view&&0==nn(t))return!1;Er(t)&&(en(t),e.dims=or(t));var n=r.first+r.size,o=Math.max(e.visible.from-t.options.viewportMargin,r.first),s=Math.min(n,e.visible.to+t.options.viewportMargin);i.viewFrom<o&&o-i.viewFrom<20&&(o=Math.max(r.first,i.viewFrom)),i.viewTo>s&&i.viewTo-s<20&&(s=Math.min(n,i.viewTo)),Ct&&(o=qt(t.doc,o),s=Gt(t.doc,s));var a,l,c,h,u=o!=i.viewFrom||s!=i.viewTo||i.lastWrapHeight!=e.wrapperHeight||i.lastWrapWidth!=e.wrapperWidth;l=o,c=s,0==(h=(a=t).display).view.length||l>=h.viewTo||c<=h.viewFrom?(h.view=ci(a,l,c),h.viewFrom=l):(h.viewFrom>l?h.view=ci(a,l,h.viewFrom).concat(h.view):h.viewFrom<l&&(h.view=h.view.slice(hr(a,l))),h.viewFrom=l,h.viewTo<c?h.view=h.view.concat(ci(a,h.viewTo,c)):h.viewTo>c&&(h.view=h.view.slice(0,hr(a,c)))),h.viewTo=c,i.viewOffset=Yt(lt(t.doc,i.viewFrom)),t.display.mover.style.top=i.viewOffset+"px";var f=nn(t);if(!u&&0==f&&!e.force&&i.renderedView==i.view&&(null==i.updateLineNumbers||i.updateLineNumbers>=i.viewTo))return!1;var d=function(t){if(t.hasFocus())return null;var e=I();if(!e||!O(t.display.lineDiv,e))return null;var i={activeElt:e};if(window.getSelection){var r=window.getSelection();r.anchorNode&&r.extend&&O(t.display.lineDiv,r.anchorNode)&&(i.anchorNode=r.anchorNode,i.anchorOffset=r.anchorOffset,i.focusNode=r.focusNode,i.focusOffset=r.focusOffset)}return i}(t);return 4<f&&(i.lineDiv.style.display="none"),function(i,t,e){var r,n,o,s,a,l=i.display,c=i.options.lineNumbers,h=l.lineDiv,u=h.firstChild;function f(t){var e=t.nextSibling;return y&&x&&i.display.currentWheelTarget==t?t.style.display="none":t.parentNode.removeChild(t),e}for(var d=l.view,p=l.viewFrom,m=0;m<d.length;m++){var g=d[m];if(g.hidden);else if(g.node&&g.node.parentNode==h){for(;u!=g.node;)u=f(u);var _=c&&null!=t&&t<=p&&g.lineNumber;g.changes&&(-1<H(g.changes,"gutter")&&(_=!1),pi(i,g,p,e)),_&&(S(g.lineNumber),g.lineNumber.appendChild(document.createTextNode(mt(i.options,p)))),u=g.node.nextSibling}else{var v=(o=p,s=e,a=gi(r=i,n=g),n.text=n.node=a.pre,a.bgClass&&(n.bgClass=a.bgClass),a.textClass&&(n.textClass=a.textClass),_i(r,n),vi(r,n,o,s),xi(r,n,s),n.node);h.insertBefore(v,u)}p+=g.size}for(;u;)u=f(u)}(t,i.updateLineNumbers,e.dims),4<f&&(i.lineDiv.style.display=""),i.renderedView=i.view,function(t){if(t&&t.activeElt&&t.activeElt!=I()&&(t.activeElt.focus(),t.anchorNode&&O(document.body,t.anchorNode)&&O(document.body,t.focusNode))){var e=window.getSelection(),i=document.createRange();i.setEnd(t.anchorNode,t.anchorOffset),i.collapse(!1),e.removeAllRanges(),e.addRange(i),e.extend(t.focusNode,t.focusOffset)}}(d),S(i.cursorDiv),S(i.selectionDiv),i.gutters.style.height=i.sizer.style.minHeight=0,u&&(i.lastWrapHeight=e.wrapperHeight,i.lastWrapWidth=e.wrapperWidth,on(t,400)),!(i.updateLineNumbers=null)}function cn(t,e){for(var i=e.viewport,r=!0;(r&&t.options.lineWrapping&&e.oldDisplayWidth!=Li(t)||(i&&null!=i.top&&(i={top:Math.min(t.doc.height+Ci(t.display)-Ni(t),i.top)}),e.visible=br(t.display,t.doc,i),!(e.visible.from>=t.display.viewFrom&&e.visible.to<=t.display.viewTo)))&&ln(t,e);r=!1){Tr(t);var n=Dr(t);ur(t),Fr(t,n),fn(t,n),e.force=!1}e.signal(t,"update",t),t.display.viewFrom==t.display.reportedViewFrom&&t.display.viewTo==t.display.reportedViewTo||(e.signal(t,"viewportChange",t,t.display.viewFrom,t.display.viewTo),t.display.reportedViewFrom=t.display.viewFrom,t.display.reportedViewTo=t.display.viewTo)}function hn(t,e){var i=new an(t,e);if(ln(t,i)){Tr(t),cn(t,i);var r=Dr(t);ur(t),Fr(t,r),fn(t,r),i.finish()}}function un(t){var e=t.display.gutters.offsetWidth;t.display.sizer.style.marginLeft=e+"px"}function fn(t,e){t.display.sizer.style.minHeight=e.docHeight+"px",t.display.heightForcer.style.top=e.docHeight+"px",t.display.gutters.style.height=e.docHeight+t.display.barHeight+Ai(t)+"px"}function dn(t){var e=t.display.gutters,i=t.options.gutters;S(e);for(var r=0;r<i.length;++r){var n=i[r],o=e.appendChild(N("div",null,"CodeMirror-gutter "+n));"CodeMirror-linenumbers"==n&&((t.display.lineGutter=o).style.width=(t.display.lineNumWidth||1)+"px")}e.style.display=r?"":"none",un(t)}function pn(t){var e=H(t.gutters,"CodeMirror-linenumbers");-1==e&&t.lineNumbers?t.gutters=t.gutters.concat(["CodeMirror-linenumbers"]):-1<e&&!t.lineNumbers&&(t.gutters=t.gutters.slice(0),t.gutters.splice(e,1))}an.prototype.signal=function(t,e){de(t,e)&&this.events.push(arguments)},an.prototype.finish=function(){for(var t=0;t<this.events.length;t++)he.apply(null,this.events[t])};var mn=0,gn=null;function _n(t){var e=t.wheelDeltaX,i=t.wheelDeltaY;return null==e&&t.detail&&t.axis==t.HORIZONTAL_AXIS&&(e=t.detail),null==i&&t.detail&&t.axis==t.VERTICAL_AXIS?i=t.detail:null==i&&(i=t.wheelDelta),{x:e,y:i}}function vn(t,e){var i=_n(e),r=i.x,n=i.y,o=t.display,s=o.scroller,a=s.scrollWidth>s.clientWidth,l=s.scrollHeight>s.clientHeight;if(r&&a||n&&l){if(n&&x&&y)t:for(var c=e.target,h=o.view;c!=s;c=c.parentNode)for(var u=0;u<h.length;u++)if(h[u].node==c){t.display.currentWheelTarget=c;break t}if(r&&!m&&!g&&null!=gn)return n&&l&&Ir(t,Math.max(0,s.scrollTop+n*gn)),Mr(t,Math.max(0,s.scrollLeft+r*gn)),(!n||n&&l)&&me(e),void(o.wheelStartX=null);if(n&&null!=gn){var f=n*gn,d=t.doc.scrollTop,p=d+o.wrapper.clientHeight;f<0?d=Math.max(0,d+f-50):p=Math.min(t.doc.height,p+f+50),hn(t,{top:d,bottom:p})}mn<20&&(null==o.wheelStartX?(o.wheelStartX=s.scrollLeft,o.wheelStartY=s.scrollTop,o.wheelDX=r,o.wheelDY=n,setTimeout(function(){if(null!=o.wheelStartX){var t=s.scrollLeft-o.wheelStartX,e=s.scrollTop-o.wheelStartY,i=e&&o.wheelDY&&e/o.wheelDY||t&&o.wheelDX&&t/o.wheelDX;o.wheelStartX=o.wheelStartY=null,i&&(gn=(gn*mn+i)/(mn+1),++mn)}},200)):(o.wheelDX+=r,o.wheelDY+=n))}}T?gn=-.53:m?gn=15:s?gn=-.7:l&&(gn=-1/3);var yn=function(t,e){this.ranges=t,this.primIndex=e};yn.prototype.primary=function(){return this.ranges[this.primIndex]},yn.prototype.equals=function(t){if(t==this)return!0;if(t.primIndex!=this.primIndex||t.ranges.length!=this.ranges.length)return!1;for(var e=0;e<this.ranges.length;e++){var i=this.ranges[e],r=t.ranges[e];if(!vt(i.anchor,r.anchor)||!vt(i.head,r.head))return!1}return!0},yn.prototype.deepCopy=function(){for(var t=[],e=0;e<this.ranges.length;e++)t[e]=new xn(yt(this.ranges[e].anchor),yt(this.ranges[e].head));return new yn(t,this.primIndex)},yn.prototype.somethingSelected=function(){for(var t=0;t<this.ranges.length;t++)if(!this.ranges[t].empty())return!0;return!1},yn.prototype.contains=function(t,e){e=e||t;for(var i=0;i<this.ranges.length;i++){var r=this.ranges[i];if(0<=_t(e,r.from())&&_t(t,r.to())<=0)return i}return-1};var xn=function(t,e){this.anchor=t,this.head=e};function Tn(t,e,i){var r=t&&t.options.selectionsMayTouch,n=e[i];e.sort(function(t,e){return _t(t.from(),e.from())}),i=H(e,n);for(var o=1;o<e.length;o++){var s=e[o],a=e[o-1],l=_t(a.to(),s.from());if(r&&!s.empty()?0<l:0<=l){var c=Tt(a.from(),s.from()),h=xt(a.to(),s.to()),u=a.empty()?s.from()==s.head:a.from()==a.head;o<=i&&--i,e.splice(--o,2,new xn(u?h:c,u?c:h))}}return new yn(e,i)}function kn(t,e){return new yn([new xn(t,e||t)],0)}function bn(t){return t.text?gt(t.from.line+t.text.length-1,$(t.text).length+(1==t.text.length?t.from.ch:0)):t.to}function wn(t,e){if(_t(t,e.from)<0)return t;if(_t(t,e.to)<=0)return bn(e);var i=t.line+e.text.length-(e.to.line-e.from.line)-1,r=t.ch;return t.line==e.to.line&&(r+=bn(e).ch-e.to.ch),gt(i,r)}function En(t,e){for(var i=[],r=0;r<t.sel.ranges.length;r++){var n=t.sel.ranges[r];i.push(new xn(wn(n.anchor,e),wn(n.head,e)))}return Tn(t.cm,i,t.sel.primIndex)}function Cn(t,e,i){return t.line==e.line?gt(i.line,t.ch-e.ch+i.ch):gt(i.line+(t.line-e.line),t.ch)}function Sn(t){t.doc.mode=Me(t.options,t.doc.modeOption),An(t)}function An(t){t.doc.iter(function(t){t.stateAfter&&(t.stateAfter=null),t.styles&&(t.styles=null)}),t.doc.modeFrontier=t.doc.highlightFrontier=t.doc.first,on(t,100),t.state.modeGen++,t.curOp&&Jr(t)}function Ln(t,e){return 0==e.from.ch&&0==e.to.ch&&""==$(e.text)&&(!t.cm||t.cm.options.wholeLineUpdateBefore)}function Nn(t,r,e,n){function o(t){return e?e[t]:null}function i(t,e,i){!function(t,e,i,r){t.text=e,t.stateAfter&&(t.stateAfter=null),t.styles&&(t.styles=null),null!=t.order&&(t.order=null),It(t),Rt(t,i);var n=r?r(t):1;n!=t.height&&ut(t,n)}(t,e,i,n),fi(t,"change",t,r)}function s(t,e){for(var i=[],r=t;r<e;++r)i.push(new Ze(c[r],o(r),n));return i}var a=r.from,l=r.to,c=r.text,h=lt(t,a.line),u=lt(t,l.line),f=$(c),d=o(c.length-1),p=l.line-a.line;if(r.full)t.insert(0,s(0,c.length)),t.remove(c.length,t.size-c.length);else if(Ln(t,r)){var m=s(0,c.length-1);i(u,u.text,d),p&&t.remove(a.line,p),m.length&&t.insert(a.line,m)}else if(h==u)if(1==c.length)i(h,h.text.slice(0,a.ch)+f+h.text.slice(l.ch),d);else{var g=s(1,c.length-1);g.push(new Ze(f+h.text.slice(l.ch),d,n)),i(h,h.text.slice(0,a.ch)+c[0],o(0)),t.insert(a.line+1,g)}else if(1==c.length)i(h,h.text.slice(0,a.ch)+c[0]+u.text.slice(l.ch),o(0)),t.remove(a.line+1,p);else{i(h,h.text.slice(0,a.ch)+c[0],o(0)),i(u,f+u.text.slice(l.ch),d);var _=s(1,c.length-1);1<p&&t.remove(a.line+1,p-1),t.insert(a.line+1,_)}fi(t,"change",t,r)}function On(t,a,l){!function t(e,i,r){if(e.linked)for(var n=0;n<e.linked.length;++n){var o=e.linked[n];if(o.doc!=i){var s=r&&o.sharedHist;l&&!s||(a(o.doc,s),t(o.doc,e,s))}}}(t,null,!0)}function In(t,e){if(e.cm)throw new Error("This document is already in use.");lr((t.doc=e).cm=t),Sn(t),Rn(t),t.options.lineWrapping||$t(t),t.options.mode=e.modeOption,Jr(t)}function Rn(t){("rtl"==t.doc.direction?R:C)(t.display.lineDiv,"CodeMirror-rtl")}function Mn(t){this.done=[],this.undone=[],this.undoDepth=1/0,this.lastModTime=this.lastSelTime=0,this.lastOp=this.lastSelOp=null,this.lastOrigin=this.lastSelOrigin=null,this.generation=this.maxGeneration=t||1}function Dn(t,e){var i={from:yt(e.from),to:bn(e),text:ct(t,e.from,e.to)};return Un(t,i,e.from.line,e.to.line+1),On(t,function(t){return Un(t,i,e.from.line,e.to.line+1)},!0),i}function Pn(t){for(;t.length&&$(t).ranges;)t.pop()}function Bn(t,e,i,r){var n=t.history;n.undone.length=0;var o,s,a,l=+new Date;if((n.lastOp==r||n.lastOrigin==e.origin&&e.origin&&("+"==e.origin.charAt(0)&&n.lastModTime>l-(t.cm?t.cm.options.historyEventDelay:500)||"*"==e.origin.charAt(0)))&&(o=(a=n).lastOp==r?(Pn(a.done),$(a.done)):a.done.length&&!$(a.done).ranges?$(a.done):1<a.done.length&&!a.done[a.done.length-2].ranges?(a.done.pop(),$(a.done)):void 0))s=$(o.changes),0==_t(e.from,e.to)&&0==_t(e.from,s.to)?s.to=bn(e):o.changes.push(Dn(t,e));else{var c=$(n.done);for(c&&c.ranges||Fn(t.sel,n.done),o={changes:[Dn(t,e)],generation:n.generation},n.done.push(o);n.done.length>n.undoDepth;)n.done.shift(),n.done[0].ranges||n.done.shift()}n.done.push(i),n.generation=++n.maxGeneration,n.lastModTime=n.lastSelTime=l,n.lastOp=n.lastSelOp=r,n.lastOrigin=n.lastSelOrigin=e.origin,s||he(t,"historyAdded")}function Fn(t,e){var i=$(e);i&&i.ranges&&i.equals(t)||e.push(t)}function Un(e,i,t,r){var n=i["spans_"+e.id],o=0;e.iter(Math.max(e.first,t),Math.min(e.first+e.size,r),function(t){t.markedSpans&&((n=n||(i["spans_"+e.id]={}))[o]=t.markedSpans),++o})}function Hn(t){if(!t)return null;for(var e,i=0;i<t.length;++i)t[i].marker.explicitlyCleared?e=e||t.slice(0,i):e&&e.push(t[i]);return e?e.length?e:null:t}function Wn(o,t){var e=function(t,e){var i=e["spans_"+o.id];if(!i)return null;for(var r=[],n=0;n<e.text.length;++n)r.push(Hn(i[n]));return r}(0,t),i=Nt(o,t);if(!e)return i;if(!i)return e;for(var r=0;r<e.length;++r){var n=e[r],s=i[r];if(n&&s)t:for(var a=0;a<s.length;++a){for(var l=s[a],c=0;c<n.length;++c)if(n[c].marker==l.marker)continue t;n.push(l)}else s&&(e[r]=s)}return e}function zn(t,e,i){for(var r=[],n=0;n<t.length;++n){var o=t[n];if(o.ranges)r.push(i?yn.prototype.deepCopy.call(o):o);else{var s=o.changes,a=[];r.push({changes:a});for(var l=0;l<s.length;++l){var c=s[l],h=void 0;if(a.push({from:c.from,to:c.to,text:c.text}),e)for(var u in c)(h=u.match(/^spans_(\d+)$/))&&-1<H(e,Number(h[1]))&&($(a)[u]=c[u],delete c[u])}}}return r}function qn(t,e,i,r){if(r){var n=t.anchor;if(i){var o=_t(e,n)<0;o!=_t(i,n)<0?(n=e,e=i):o!=_t(e,i)<0&&(e=i)}return new xn(n,e)}return new xn(i||e,e)}function Gn(t,e,i,r,n){null==n&&(n=t.cm&&(t.cm.display.shift||t.extend)),$n(t,new yn([qn(t.sel.primary(),e,i,n)],0),r)}function jn(t,e,i){for(var r=[],n=t.cm&&(t.cm.display.shift||t.extend),o=0;o<t.sel.ranges.length;o++)r[o]=qn(t.sel.ranges[o],e[o],null,n);$n(t,Tn(t.cm,r,t.sel.primIndex),i)}function Vn(t,e,i,r){var n=t.sel.ranges.slice(0);n[e]=i,$n(t,Tn(t.cm,n,t.sel.primIndex),r)}function Yn(t,e,i,r){$n(t,kn(e,i),r)}function Kn(t,e,i){var r=t.history.done,n=$(r);n&&n.ranges?Qn(t,r[r.length-1]=e,i):$n(t,e,i)}function $n(t,e,i){Qn(t,e,i),function(t,e,i,r){var n,o,s,a,l,c=t.history,h=r&&r.origin;i==c.lastSelOp||h&&c.lastSelOrigin==h&&(c.lastModTime==c.lastSelTime&&c.lastOrigin==h||(n=t,o=h,s=$(c.done),a=e,"*"==(l=o.charAt(0))||"+"==l&&s.ranges.length==a.ranges.length&&s.somethingSelected()==a.somethingSelected()&&new Date-n.history.lastSelTime<=(n.cm?n.cm.options.historyEventDelay:500)))?c.done[c.done.length-1]=e:Fn(e,c.done),c.lastSelTime=+new Date,c.lastSelOrigin=h,c.lastSelOp=i,r&&!1!==r.clearRedo&&Pn(c.undone)}(t,t.sel,t.cm?t.cm.curOp.id:NaN,i)}function Qn(t,e,i){var r,n,o,s;(de(t,"beforeSelectionChange")||t.cm&&de(t.cm,"beforeSelectionChange"))&&(r=t,o=i,s={ranges:(n=e).ranges,update:function(t){this.ranges=[];for(var e=0;e<t.length;e++)this.ranges[e]=new xn(bt(r,t[e].anchor),bt(r,t[e].head))},origin:o&&o.origin},he(r,"beforeSelectionChange",r,s),r.cm&&he(r.cm,"beforeSelectionChange",r.cm,s),e=s.ranges!=n.ranges?Tn(r.cm,s.ranges,s.ranges.length-1):n),Xn(t,Jn(t,e,i&&i.bias||(_t(e.primary().head,t.sel.primary().head)<0?-1:1),!0)),i&&!1===i.scroll||!t.cm||Ar(t.cm)}function Xn(t,e){e.equals(t.sel)||(t.sel=e,t.cm&&(t.cm.curOp.updateInput=t.cm.curOp.selectionChanged=!0,fe(t.cm)),fi(t,"cursorActivity",t))}function Zn(t){Xn(t,Jn(t,t.sel,null,!1))}function Jn(t,e,i,r){for(var n,o=0;o<e.ranges.length;o++){var s=e.ranges[o],a=e.ranges.length==t.sel.ranges.length&&t.sel.ranges[o],l=eo(t,s.anchor,a&&a.anchor,i,r),c=eo(t,s.head,a&&a.head,i,r);!n&&l==s.anchor&&c==s.head||((n=n||e.ranges.slice(0,o))[o]=new xn(l,c))}return n?Tn(t.cm,n,e.primIndex):e}function to(t,e,i,r,n){var o=lt(t,e.line);if(o.markedSpans)for(var s=0;s<o.markedSpans.length;++s){var a=o.markedSpans[s],l=a.marker;if((null==a.from||(l.inclusiveLeft?a.from<=e.ch:a.from<e.ch))&&(null==a.to||(l.inclusiveRight?a.to>=e.ch:a.to>e.ch))){if(n&&(he(l,"beforeCursorEnter"),l.explicitlyCleared)){if(o.markedSpans){--s;continue}break}if(!l.atomic)continue;if(i){var c=l.find(r<0?1:-1),h=void 0;if((r<0?l.inclusiveRight:l.inclusiveLeft)&&(c=io(t,c,-r,c&&c.line==e.line?o:null)),c&&c.line==e.line&&(h=_t(c,i))&&(r<0?h<0:0<h))return to(t,c,e,r,n)}var u=l.find(r<0?-1:1);return(r<0?l.inclusiveLeft:l.inclusiveRight)&&(u=io(t,u,r,u.line==e.line?o:null)),u?to(t,u,e,r,n):null}}return e}function eo(t,e,i,r,n){var o=r||1;return to(t,e,i,o,n)||!n&&to(t,e,i,o,!0)||to(t,e,i,-o,n)||!n&&to(t,e,i,-o,!0)||(t.cantEdit=!0,gt(t.first,0))}function io(t,e,i,r){return i<0&&0==e.ch?e.line>t.first?bt(t,gt(e.line-1)):null:0<i&&e.ch==(r||lt(t,e.line)).text.length?e.line<t.first+t.size-1?gt(e.line+1,0):null:new gt(e.line,e.ch+i)}function ro(t){t.setSelection(gt(t.firstLine(),0),gt(t.lastLine()),q)}function no(n,t,e){var o={canceled:!1,from:t.from,to:t.to,text:t.text,origin:t.origin,cancel:function(){return o.canceled=!0}};return e&&(o.update=function(t,e,i,r){t&&(o.from=bt(n,t)),e&&(o.to=bt(n,e)),i&&(o.text=i),void 0!==r&&(o.origin=r)}),he(n,"beforeChange",n,o),n.cm&&he(n.cm,"beforeChange",n.cm,o),o.canceled?null:{from:o.from,to:o.to,text:o.text,origin:o.origin}}function oo(t,e,i){if(t.cm){if(!t.cm.curOp)return Qr(t.cm,oo)(t,e,i);if(t.cm.state.suppressEdits)return}if(!(de(t,"beforeChange")||t.cm&&de(t.cm,"beforeChange"))||(e=no(t,e,!0))){var r=Et&&!i&&function(t,e,i){var r=null;if(t.iter(e.line,i.line+1,function(t){if(t.markedSpans)for(var e=0;e<t.markedSpans.length;++e){var i=t.markedSpans[e].marker;!i.readOnly||r&&-1!=H(r,i)||(r=r||[]).push(i)}}),!r)return null;for(var n=[{from:e,to:i}],o=0;o<r.length;++o)for(var s=r[o],a=s.find(0),l=0;l<n.length;++l){var c=n[l];if(!(_t(c.to,a.from)<0||0<_t(c.from,a.to))){var h=[l,1],u=_t(c.from,a.from),f=_t(c.to,a.to);(u<0||!s.inclusiveLeft&&!u)&&h.push({from:c.from,to:a.from}),(0<f||!s.inclusiveRight&&!f)&&h.push({from:a.to,to:c.to}),n.splice.apply(n,h),l+=h.length-3}}return n}(t,e.from,e.to);if(r)for(var n=r.length-1;0<=n;--n)so(t,{from:r[n].from,to:r[n].to,text:n?[""]:e.text,origin:e.origin});else so(t,e)}}function so(t,i){if(1!=i.text.length||""!=i.text[0]||0!=_t(i.from,i.to)){var e=En(t,i);Bn(t,i,e,t.cm?t.cm.curOp.id:NaN),co(t,i,e,Nt(t,i));var r=[];On(t,function(t,e){e||-1!=H(r,t.history)||(po(t.history,i),r.push(t.history)),co(t,i,null,Nt(t,i))})}}function ao(n,o,t){var e=n.cm&&n.cm.state.suppressEdits;if(!e||t){for(var s,i=n.history,r=n.sel,a="undo"==o?i.done:i.undone,l="undo"==o?i.undone:i.done,c=0;c<a.length&&(s=a[c],t?!s.ranges||s.equals(n.sel):s.ranges);c++);if(c!=a.length){for(i.lastOrigin=i.lastSelOrigin=null;;){if(!(s=a.pop()).ranges){if(e)return void a.push(s);break}if(Fn(s,l),t&&!s.equals(n.sel))return void $n(n,s,{clearRedo:!1});r=s}var h=[];Fn(r,l),l.push({changes:h,generation:i.generation}),i.generation=s.generation||++i.maxGeneration;for(var u=de(n,"beforeChange")||n.cm&&de(n.cm,"beforeChange"),f=function(t){var i=s.changes[t];if(i.origin=o,u&&!no(n,i,!1))return a.length=0,{};h.push(Dn(n,i));var e=t?En(n,i):$(a);co(n,i,e,Wn(n,i)),!t&&n.cm&&n.cm.scrollIntoView({from:i.from,to:bn(i)});var r=[];On(n,function(t,e){e||-1!=H(r,t.history)||(po(t.history,i),r.push(t.history)),co(t,i,null,Wn(t,i))})},d=s.changes.length-1;0<=d;--d){var p=f(d);if(p)return p.v}}}}function lo(t,e){if(0!=e&&(t.first+=e,t.sel=new yn(Q(t.sel.ranges,function(t){return new xn(gt(t.anchor.line+e,t.anchor.ch),gt(t.head.line+e,t.head.ch))}),t.sel.primIndex),t.cm)){Jr(t.cm,t.first,t.first-e,e);for(var i=t.cm.display,r=i.viewFrom;r<i.viewTo;r++)tn(t.cm,r,"gutter")}}function co(t,e,i,r){if(t.cm&&!t.cm.curOp)return Qr(t.cm,co)(t,e,i,r);if(e.to.line<t.first)lo(t,e.text.length-1-(e.to.line-e.from.line));else if(!(e.from.line>t.lastLine())){if(e.from.line<t.first){var n=e.text.length-1-(t.first-e.from.line);lo(t,n),e={from:gt(t.first,0),to:gt(e.to.line+n,e.to.ch),text:[$(e.text)],origin:e.origin}}var o=t.lastLine();e.to.line>o&&(e={from:e.from,to:gt(o,lt(t,o).text.length),text:[e.text[0]],origin:e.origin}),e.removed=ct(t,e.from,e.to),i=i||En(t,e),t.cm?function(t,e,i){var r=t.doc,n=t.display,o=e.from,s=e.to,a=!1,l=o.line;t.options.lineWrapping||(l=ft(zt(lt(r,o.line))),r.iter(l,s.line+1,function(t){if(t==n.maxLine)return a=!0})),-1<r.sel.contains(e.from,e.to)&&fe(t),Nn(r,e,i,ar(t)),t.options.lineWrapping||(r.iter(l,o.line+e.text.length,function(t){var e=Kt(t);e>n.maxLineLength&&(n.maxLine=t,n.maxLineLength=e,n.maxLineChanged=!0,a=!1)}),a&&(t.curOp.updateMaxLine=!0)),function(t,e){if(t.modeFrontier=Math.min(t.modeFrontier,e),!(t.highlightFrontier<e-10)){for(var i=t.first,r=e-1;i<r;r--){var n=lt(t,r).stateAfter;if(n&&(!(n instanceof He)||r+n.lookAhead<e)){i=r+1;break}}t.highlightFrontier=Math.min(t.highlightFrontier,i)}}(r,o.line),on(t,400);var c=e.text.length-(s.line-o.line)-1;e.full?Jr(t):o.line!=s.line||1!=e.text.length||Ln(t.doc,e)?Jr(t,o.line,s.line+1,c):tn(t,o.line,"text");var h=de(t,"changes"),u=de(t,"change");if(u||h){var f={from:o,to:s,text:e.text,removed:e.removed,origin:e.origin};u&&fi(t,"change",t,f),h&&(t.curOp.changeObjs||(t.curOp.changeObjs=[])).push(f)}t.display.selForContextMenu=null}(t.cm,e,r):Nn(t,e,r),Qn(t,i,q)}}function ho(t,e,i,r,n){var o;_t(r=r||i,i)<0&&(i=(o=[r,i])[0],r=o[1]),"string"==typeof e&&(e=t.splitLines(e)),oo(t,{from:i,to:r,text:e,origin:n})}function uo(t,e,i,r){i<t.line?t.line+=r:e<t.line&&(t.line=e,t.ch=0)}function fo(t,e,i,r){for(var n=0;n<t.length;++n){var o=t[n],s=!0;if(o.ranges){o.copied||((o=t[n]=o.deepCopy()).copied=!0);for(var a=0;a<o.ranges.length;a++)uo(o.ranges[a].anchor,e,i,r),uo(o.ranges[a].head,e,i,r)}else{for(var l=0;l<o.changes.length;++l){var c=o.changes[l];if(i<c.from.line)c.from=gt(c.from.line+r,c.from.ch),c.to=gt(c.to.line+r,c.to.ch);else if(e<=c.to.line){s=!1;break}}s||(t.splice(0,n+1),n=0)}}}function po(t,e){var i=e.from.line,r=e.to.line,n=e.text.length-(r-i)-1;fo(t.done,i,r,n),fo(t.undone,i,r,n)}function mo(t,e,i,r){var n=e,o=e;return"number"==typeof e?o=lt(t,kt(t,e)):n=ft(e),null==n?null:(r(o,n)&&t.cm&&tn(t.cm,n,i),o)}function go(t){this.lines=t,this.parent=null;for(var e=0,i=0;i<t.length;++i)t[i].parent=this,e+=t[i].height;this.height=e}function _o(t){this.children=t;for(var e=0,i=0,r=0;r<t.length;++r){var n=t[r];e+=n.chunkSize(),i+=n.height,n.parent=this}this.size=e,this.height=i,this.parent=null}xn.prototype.from=function(){return Tt(this.anchor,this.head)},xn.prototype.to=function(){return xt(this.anchor,this.head)},xn.prototype.empty=function(){return this.head.line==this.anchor.line&&this.head.ch==this.anchor.ch},go.prototype={chunkSize:function(){return this.lines.length},removeInner:function(t,e){for(var i,r=t,n=t+e;r<n;++r){var o=this.lines[r];this.height-=o.height,(i=o).parent=null,It(i),fi(o,"delete")}this.lines.splice(t,e)},collapse:function(t){t.push.apply(t,this.lines)},insertInner:function(t,e,i){this.height+=i,this.lines=this.lines.slice(0,t).concat(e).concat(this.lines.slice(t));for(var r=0;r<e.length;++r)e[r].parent=this},iterN:function(t,e,i){for(var r=t+e;t<r;++t)if(i(this.lines[t]))return!0}},_o.prototype={chunkSize:function(){return this.size},removeInner:function(t,e){this.size-=e;for(var i=0;i<this.children.length;++i){var r=this.children[i],n=r.chunkSize();if(t<n){var o=Math.min(e,n-t),s=r.height;if(r.removeInner(t,o),this.height-=s-r.height,n==o&&(this.children.splice(i--,1),r.parent=null),0==(e-=o))break;t=0}else t-=n}if(this.size-e<25&&(1<this.children.length||!(this.children[0]instanceof go))){var a=[];this.collapse(a),this.children=[new go(a)],this.children[0].parent=this}},collapse:function(t){for(var e=0;e<this.children.length;++e)this.children[e].collapse(t)},insertInner:function(t,e,i){this.size+=e.length,this.height+=i;for(var r=0;r<this.children.length;++r){var n=this.children[r],o=n.chunkSize();if(t<=o){if(n.insertInner(t,e,i),n.lines&&50<n.lines.length){for(var s=n.lines.length%25+25,a=s;a<n.lines.length;){var l=new go(n.lines.slice(a,a+=25));n.height-=l.height,this.children.splice(++r,0,l),l.parent=this}n.lines=n.lines.slice(0,s),this.maybeSpill()}break}t-=o}},maybeSpill:function(){if(!(this.children.length<=10)){var t=this;do{var e=new _o(t.children.splice(t.children.length-5,5));if(t.parent){t.size-=e.size,t.height-=e.height;var i=H(t.parent.children,t);t.parent.children.splice(i+1,0,e)}else{var r=new _o(t.children);(r.parent=t).children=[r,e],t=r}e.parent=t.parent}while(10<t.children.length);t.parent.maybeSpill()}},iterN:function(t,e,i){for(var r=0;r<this.children.length;++r){var n=this.children[r],o=n.chunkSize();if(t<o){var s=Math.min(e,o-t);if(n.iterN(t,s,i))return!0;if(0==(e-=s))break;t=0}else t-=o}}};function vo(t,e,i){if(i)for(var r in i)i.hasOwnProperty(r)&&(this[r]=i[r]);this.doc=t,this.node=e}function yo(t,e,i){Yt(e)<(t.curOp&&t.curOp.scrollTop||t.doc.scrollTop)&&Sr(t,i)}vo.prototype.clear=function(){var t=this.doc.cm,e=this.line.widgets,i=this.line,r=ft(i);if(null!=r&&e){for(var n=0;n<e.length;++n)e[n]==this&&e.splice(n--,1);e.length||(i.widgets=null);var o=bi(this);ut(i,Math.max(0,i.height-o)),t&&($r(t,function(){yo(t,i,-o),tn(t,r,"widget")}),fi(t,"lineWidgetCleared",t,this,r))}},vo.prototype.changed=function(){var t=this,e=this.height,i=this.doc.cm,r=this.line;this.height=null;var n=bi(this)-e;n&&(jt(this.doc,r)||ut(r,r.height+n),i&&$r(i,function(){i.curOp.forceUpdate=!0,yo(i,r,n),fi(i,"lineWidgetChanged",i,t,ft(r))}))},pe(vo);var xo=0,To=function(t,e){this.lines=[],this.type=e,this.doc=t,this.id=++xo};function ko(e,r,n,t,i){if(t&&t.shared)return function(t,i,r,n,o){(n=B(n)).shared=!1;var s=[ko(t,i,r,n,o)],a=s[0],l=n.widgetNode;return On(t,function(t){l&&(n.widgetNode=l.cloneNode(!0)),s.push(ko(t,bt(t,i),bt(t,r),n,o));for(var e=0;e<t.linked.length;++e)if(t.linked[e].isParent)return;a=$(s)}),new bo(s,a)}(e,r,n,t,i);if(e.cm&&!e.cm.curOp)return Qr(e.cm,ko)(e,r,n,t,i);var o=new To(e,i),s=_t(r,n);if(t&&B(t,o,!1),0<s||0==s&&!1!==o.clearWhenEmpty)return o;if(o.replacedWith&&(o.collapsed=!0,o.widgetNode=L("span",[o.replacedWith],"CodeMirror-widget"),t.handleMouseEvents||o.widgetNode.setAttribute("cm-ignore-events","true"),t.insertLeft&&(o.widgetNode.insertLeft=!0)),o.collapsed){if(Wt(e,r.line,r,n,o)||r.line!=n.line&&Wt(e,n.line,r,n,o))throw new Error("Inserting collapsed marker partially overlapping an existing one");Ct=!0}o.addToHistory&&Bn(e,{from:r,to:n,origin:"markText"},e.sel,NaN);var a,l=r.line,c=e.cm;if(e.iter(l,n.line+1,function(t){var e,i;c&&o.collapsed&&!c.options.lineWrapping&&zt(t)==c.display.maxLine&&(a=!0),o.collapsed&&l!=r.line&&ut(t,0),e=t,i=new St(o,l==r.line?r.ch:null,l==n.line?n.ch:null),e.markedSpans=e.markedSpans?e.markedSpans.concat([i]):[i],i.marker.attachLine(e),++l}),o.collapsed&&e.iter(r.line,n.line+1,function(t){jt(e,t)&&ut(t,0)}),o.clearOnEnter&&ae(o,"beforeCursorEnter",function(){return o.clear()}),o.readOnly&&(Et=!0,(e.history.done.length||e.history.undone.length)&&e.clearHistory()),o.collapsed&&(o.id=++xo,o.atomic=!0),c){if(a&&(c.curOp.updateMaxLine=!0),o.collapsed)Jr(c,r.line,n.line+1);else if(o.className||o.startStyle||o.endStyle||o.css||o.attributes||o.title)for(var h=r.line;h<=n.line;h++)tn(c,h,"text");o.atomic&&Zn(c.doc),fi(c,"markerAdded",c,o)}return o}To.prototype.clear=function(){var t=this;if(!this.explicitlyCleared){var e=this.doc.cm,i=e&&!e.curOp;if(i&&qr(e),de(this,"clear")){var r=this.find();r&&fi(this,"clear",r.from,r.to)}for(var n=null,o=null,s=0;s<this.lines.length;++s){var a=t.lines[s],l=At(a.markedSpans,t);e&&!t.collapsed?tn(e,ft(a),"text"):e&&(null!=l.to&&(o=ft(a)),null!=l.from&&(n=ft(a))),a.markedSpans=Lt(a.markedSpans,l),null==l.from&&t.collapsed&&!jt(t.doc,a)&&e&&ut(a,rr(e.display))}if(e&&this.collapsed&&!e.options.lineWrapping)for(var c=0;c<this.lines.length;++c){var h=zt(t.lines[c]),u=Kt(h);u>e.display.maxLineLength&&(e.display.maxLine=h,e.display.maxLineLength=u,e.display.maxLineChanged=!0)}null!=n&&e&&this.collapsed&&Jr(e,n,o+1),this.lines.length=0,this.explicitlyCleared=!0,this.atomic&&this.doc.cantEdit&&(this.doc.cantEdit=!1,e&&Zn(e.doc)),e&&fi(e,"markerCleared",e,this,n,o),i&&Gr(e),this.parent&&this.parent.clear()}},To.prototype.find=function(t,e){var i,r;null==t&&"bookmark"==this.type&&(t=1);for(var n=0;n<this.lines.length;++n){var o=this.lines[n],s=At(o.markedSpans,this);if(null!=s.from&&(i=gt(e?o:ft(o),s.from),-1==t))return i;if(null!=s.to&&(r=gt(e?o:ft(o),s.to),1==t))return r}return i&&{from:i,to:r}},To.prototype.changed=function(){var o=this,s=this.find(-1,!0),a=this,l=this.doc.cm;s&&l&&$r(l,function(){var t=s.line,e=ft(s.line),i=Ri(l,e);if(i&&(Hi(i),l.curOp.selectionChanged=l.curOp.forceUpdate=!0),l.curOp.updateMaxLine=!0,!jt(a.doc,t)&&null!=a.height){var r=a.height;a.height=null;var n=bi(a)-r;n&&ut(t,t.height+n)}fi(l,"markerChanged",l,o)})},To.prototype.attachLine=function(t){if(!this.lines.length&&this.doc.cm){var e=this.doc.cm.curOp;e.maybeHiddenMarkers&&-1!=H(e.maybeHiddenMarkers,this)||(e.maybeUnhiddenMarkers||(e.maybeUnhiddenMarkers=[])).push(this)}this.lines.push(t)},To.prototype.detachLine=function(t){if(this.lines.splice(H(this.lines,t),1),!this.lines.length&&this.doc.cm){var e=this.doc.cm.curOp;(e.maybeHiddenMarkers||(e.maybeHiddenMarkers=[])).push(this)}},pe(To);var bo=function(t,e){this.markers=t,this.primary=e;for(var i=0;i<t.length;++i)t[i].parent=this};function wo(t){return t.findMarks(gt(t.first,0),t.clipPos(gt(t.lastLine())),function(t){return t.parent})}function Eo(o){for(var t=function(t){var e=o[t],i=[e.primary.doc];On(e.primary.doc,function(t){return i.push(t)});for(var r=0;r<e.markers.length;r++){var n=e.markers[r];-1==H(i,n.doc)&&(n.parent=null,e.markers.splice(r--,1))}},e=0;e<o.length;e++)t(e)}bo.prototype.clear=function(){if(!this.explicitlyCleared){this.explicitlyCleared=!0;for(var t=0;t<this.markers.length;++t)this.markers[t].clear();fi(this,"clear")}},bo.prototype.find=function(t,e){return this.primary.find(t,e)},pe(bo);var Co=0,So=function(t,e,i,r,n){if(!(this instanceof So))return new So(t,e,i,r,n);null==i&&(i=0),_o.call(this,[new go([new Ze("",null)])]),this.first=i,this.scrollTop=this.scrollLeft=0,this.cantEdit=!1,this.cleanGeneration=1,this.modeFrontier=this.highlightFrontier=i;var o=gt(i,0);this.sel=kn(o),this.history=new Mn(null),this.id=++Co,this.modeOption=e,this.lineSep=r,this.direction="rtl"==n?"rtl":"ltr",this.extend=!1,"string"==typeof t&&(t=this.splitLines(t)),Nn(this,{from:o,to:o,text:t}),$n(this,kn(o),q)};So.prototype=Z(_o.prototype,{constructor:So,iter:function(t,e,i){i?this.iterN(t-this.first,e-t,i):this.iterN(this.first,this.first+this.size,t)},insert:function(t,e){for(var i=0,r=0;r<e.length;++r)i+=e[r].height;this.insertInner(t-this.first,e,i)},remove:function(t,e){this.removeInner(t-this.first,e)},getValue:function(t){var e=ht(this,this.first,this.first+this.size);return!1===t?e:e.join(t||this.lineSeparator())},setValue:Zr(function(t){var e=gt(this.first,0),i=this.first+this.size-1;oo(this,{from:e,to:gt(i,lt(this,i).text.length),text:this.splitLines(t),origin:"setValue",full:!0},!0),this.cm&&Lr(this.cm,0,0),$n(this,kn(e),q)}),replaceRange:function(t,e,i,r){ho(this,t,e=bt(this,e),i=i?bt(this,i):e,r)},getRange:function(t,e,i){var r=ct(this,bt(this,t),bt(this,e));return!1===i?r:r.join(i||this.lineSeparator())},getLine:function(t){var e=this.getLineHandle(t);return e&&e.text},getLineHandle:function(t){if(pt(this,t))return lt(this,t)},getLineNumber:function(t){return ft(t)},getLineHandleVisualStart:function(t){return"number"==typeof t&&(t=lt(this,t)),zt(t)},lineCount:function(){return this.size},firstLine:function(){return this.first},lastLine:function(){return this.first+this.size-1},clipPos:function(t){return bt(this,t)},getCursor:function(t){var e=this.sel.primary();return null==t||"head"==t?e.head:"anchor"==t?e.anchor:"end"==t||"to"==t||!1===t?e.to():e.from()},listSelections:function(){return this.sel.ranges},somethingSelected:function(){return this.sel.somethingSelected()},setCursor:Zr(function(t,e,i){Yn(this,bt(this,"number"==typeof t?gt(t,e||0):t),null,i)}),setSelection:Zr(function(t,e,i){Yn(this,bt(this,t),bt(this,e||t),i)}),extendSelection:Zr(function(t,e,i){Gn(this,bt(this,t),e&&bt(this,e),i)}),extendSelections:Zr(function(t,e){jn(this,wt(this,t),e)}),extendSelectionsBy:Zr(function(t,e){jn(this,wt(this,Q(this.sel.ranges,t)),e)}),setSelections:Zr(function(t,e,i){if(t.length){for(var r=[],n=0;n<t.length;n++)r[n]=new xn(bt(this,t[n].anchor),bt(this,t[n].head));null==e&&(e=Math.min(t.length-1,this.sel.primIndex)),$n(this,Tn(this.cm,r,e),i)}}),addSelection:Zr(function(t,e,i){var r=this.sel.ranges.slice(0);r.push(new xn(bt(this,t),bt(this,e||t))),$n(this,Tn(this.cm,r,r.length-1),i)}),getSelection:function(t){for(var e,i=this.sel.ranges,r=0;r<i.length;r++){var n=ct(this,i[r].from(),i[r].to());e=e?e.concat(n):n}return!1===t?e:e.join(t||this.lineSeparator())},getSelections:function(t){for(var e=[],i=this.sel.ranges,r=0;r<i.length;r++){var n=ct(this,i[r].from(),i[r].to());!1!==t&&(n=n.join(t||this.lineSeparator())),e[r]=n}return e},replaceSelection:function(t,e,i){for(var r=[],n=0;n<this.sel.ranges.length;n++)r[n]=t;this.replaceSelections(r,e,i||"+input")},replaceSelections:Zr(function(t,e,i){for(var r=[],n=this.sel,o=0;o<n.ranges.length;o++){var s=n.ranges[o];r[o]={from:s.from(),to:s.to(),text:this.splitLines(t[o]),origin:i}}for(var a=e&&"end"!=e&&function(t,e,i){for(var r=[],n=gt(t.first,0),o=n,s=0;s<e.length;s++){var a=e[s],l=Cn(a.from,n,o),c=Cn(bn(a),n,o);if(n=a.to,o=c,"around"==i){var h=t.sel.ranges[s],u=_t(h.head,h.anchor)<0;r[s]=new xn(u?c:l,u?l:c)}else r[s]=new xn(l,l)}return new yn(r,t.sel.primIndex)}(this,r,e),l=r.length-1;0<=l;l--)oo(this,r[l]);a?Kn(this,a):this.cm&&Ar(this.cm)}),undo:Zr(function(){ao(this,"undo")}),redo:Zr(function(){ao(this,"redo")}),undoSelection:Zr(function(){ao(this,"undo",!0)}),redoSelection:Zr(function(){ao(this,"redo",!0)}),setExtending:function(t){this.extend=t},getExtending:function(){return this.extend},historySize:function(){for(var t=this.history,e=0,i=0,r=0;r<t.done.length;r++)t.done[r].ranges||++e;for(var n=0;n<t.undone.length;n++)t.undone[n].ranges||++i;return{undo:e,redo:i}},clearHistory:function(){this.history=new Mn(this.history.maxGeneration)},markClean:function(){this.cleanGeneration=this.changeGeneration(!0)},changeGeneration:function(t){return t&&(this.history.lastOp=this.history.lastSelOp=this.history.lastOrigin=null),this.history.generation},isClean:function(t){return this.history.generation==(t||this.cleanGeneration)},getHistory:function(){return{done:zn(this.history.done),undone:zn(this.history.undone)}},setHistory:function(t){var e=this.history=new Mn(this.history.maxGeneration);e.done=zn(t.done.slice(0),null,!0),e.undone=zn(t.undone.slice(0),null,!0)},setGutterMarker:Zr(function(t,i,r){return mo(this,t,"gutter",function(t){var e=t.gutterMarkers||(t.gutterMarkers={});return!(e[i]=r)&&it(e)&&(t.gutterMarkers=null),!0})}),clearGutter:Zr(function(e){var i=this;this.iter(function(t){t.gutterMarkers&&t.gutterMarkers[e]&&mo(i,t,"gutter",function(){return t.gutterMarkers[e]=null,it(t.gutterMarkers)&&(t.gutterMarkers=null),!0})})}),lineInfo:function(t){var e;if("number"==typeof t){if(!pt(this,t))return null;if(!(t=lt(this,e=t)))return null}else if(null==(e=ft(t)))return null;return{line:e,handle:t,text:t.text,gutterMarkers:t.gutterMarkers,textClass:t.textClass,bgClass:t.bgClass,wrapClass:t.wrapClass,widgets:t.widgets}},addLineClass:Zr(function(t,i,r){return mo(this,t,"gutter"==i?"gutter":"class",function(t){var e="text"==i?"textClass":"background"==i?"bgClass":"gutter"==i?"gutterClass":"wrapClass";if(t[e]){if(w(r).test(t[e]))return!1;t[e]+=" "+r}else t[e]=r;return!0})}),removeLineClass:Zr(function(t,o,s){return mo(this,t,"gutter"==o?"gutter":"class",function(t){var e="text"==o?"textClass":"background"==o?"bgClass":"gutter"==o?"gutterClass":"wrapClass",i=t[e];if(!i)return!1;if(null==s)t[e]=null;else{var r=i.match(w(s));if(!r)return!1;var n=r.index+r[0].length;t[e]=i.slice(0,r.index)+(r.index&&n!=i.length?" ":"")+i.slice(n)||null}return!0})}),addLineWidget:Zr(function(t,e,i){return n=t,o=new vo(r=this,e,i),(s=r.cm)&&o.noHScroll&&(s.display.alignWidgets=!0),mo(r,n,"widget",function(t){var e=t.widgets||(t.widgets=[]);if(null==o.insertAt?e.push(o):e.splice(Math.min(e.length-1,Math.max(0,o.insertAt)),0,o),o.line=t,s&&!jt(r,t)){var i=Yt(t)<r.scrollTop;ut(t,t.height+bi(o)),i&&Sr(s,o.height),s.curOp.forceUpdate=!0}return!0}),s&&fi(s,"lineWidgetAdded",s,o,"number"==typeof n?n:ft(n)),o;var r,n,o,s}),removeLineWidget:function(t){t.clear()},markText:function(t,e,i){return ko(this,bt(this,t),bt(this,e),i,i&&i.type||"range")},setBookmark:function(t,e){var i={replacedWith:e&&(null==e.nodeType?e.widget:e),insertLeft:e&&e.insertLeft,clearWhenEmpty:!1,shared:e&&e.shared,handleMouseEvents:e&&e.handleMouseEvents};return ko(this,t=bt(this,t),t,i,"bookmark")},findMarksAt:function(t){var e=[],i=lt(this,(t=bt(this,t)).line).markedSpans;if(i)for(var r=0;r<i.length;++r){var n=i[r];(null==n.from||n.from<=t.ch)&&(null==n.to||n.to>=t.ch)&&e.push(n.marker.parent||n.marker)}return e},findMarks:function(n,o,s){n=bt(this,n),o=bt(this,o);var a=[],l=n.line;return this.iter(n.line,o.line+1,function(t){var e=t.markedSpans;if(e)for(var i=0;i<e.length;i++){var r=e[i];null!=r.to&&l==n.line&&n.ch>=r.to||null==r.from&&l!=n.line||null!=r.from&&l==o.line&&r.from>=o.ch||s&&!s(r.marker)||a.push(r.marker.parent||r.marker)}++l}),a},getAllMarks:function(){var r=[];return this.iter(function(t){var e=t.markedSpans;if(e)for(var i=0;i<e.length;++i)null!=e[i].from&&r.push(e[i].marker)}),r},posFromIndex:function(i){var r,n=this.first,o=this.lineSeparator().length;return this.iter(function(t){var e=t.text.length+o;if(i<e)return r=i,!0;i-=e,++n}),bt(this,gt(n,r))},indexFromPos:function(t){var e=(t=bt(this,t)).ch;if(t.line<this.first||t.ch<0)return 0;var i=this.lineSeparator().length;return this.iter(this.first,t.line,function(t){e+=t.text.length+i}),e},copy:function(t){var e=new So(ht(this,this.first,this.first+this.size),this.modeOption,this.first,this.lineSep,this.direction);return e.scrollTop=this.scrollTop,e.scrollLeft=this.scrollLeft,e.sel=this.sel,e.extend=!1,t&&(e.history.undoDepth=this.history.undoDepth,e.setHistory(this.getHistory())),e},linkedDoc:function(t){t=t||{};var e=this.first,i=this.first+this.size;null!=t.from&&t.from>e&&(e=t.from),null!=t.to&&t.to<i&&(i=t.to);var r=new So(ht(this,e,i),t.mode||this.modeOption,e,this.lineSep,this.direction);return t.sharedHist&&(r.history=this.history),(this.linked||(this.linked=[])).push({doc:r,sharedHist:t.sharedHist}),r.linked=[{doc:this,isParent:!0,sharedHist:t.sharedHist}],function(t,e){for(var i=0;i<e.length;i++){var r=e[i],n=r.find(),o=t.clipPos(n.from),s=t.clipPos(n.to);if(_t(o,s)){var a=ko(t,o,s,r.primary,r.primary.type);r.markers.push(a),a.parent=r}}}(r,wo(this)),r},unlinkDoc:function(t){if(t instanceof Ts&&(t=t.doc),this.linked)for(var e=0;e<this.linked.length;++e)if(this.linked[e].doc==t){this.linked.splice(e,1),t.unlinkDoc(this),Eo(wo(this));break}if(t.history==this.history){var i=[t.id];On(t,function(t){return i.push(t.id)},!0),t.history=new Mn(null),t.history.done=zn(this.history.done,i),t.history.undone=zn(this.history.undone,i)}},iterLinkedDocs:function(t){On(this,t)},getMode:function(){return this.mode},getEditor:function(){return this.cm},splitLines:function(t){return this.lineSep?t.split(this.lineSep):Se(t)},lineSeparator:function(){return this.lineSep||"\n"},setDirection:Zr(function(t){var e;"rtl"!=t&&(t="ltr"),t!=this.direction&&(this.direction=t,this.iter(function(t){return t.order=null}),this.cm&&$r(e=this.cm,function(){Rn(e),Jr(e)}))})}),So.prototype.eachLine=So.prototype.iter;var Ao=0;function Lo(t){var n=this;if(No(n),!ue(n,t)&&!wi(n.display,t)){me(t),T&&(Ao=+new Date);var o=cr(n,t,!0),e=t.dataTransfer.files;if(o&&!n.isReadOnly())if(e&&e.length&&window.FileReader&&window.File)for(var s=e.length,a=Array(s),l=0,i=function(t,i){if(!n.options.allowDropFileTypes||-1!=H(n.options.allowDropFileTypes,t.type)){var r=new FileReader;r.onload=Qr(n,function(){var t=r.result;if(/[\x00-\x08\x0e-\x1f]{2}/.test(t)&&(t=""),a[i]=t,++l==s){var e={from:o=bt(n.doc,o),to:o,text:n.doc.splitLines(a.join(n.doc.lineSeparator())),origin:"paste"};oo(n.doc,e),Kn(n.doc,kn(o,bn(e)))}}),r.readAsText(t)}},r=0;r<s;++r)i(e[r],r);else{if(n.state.draggingText&&-1<n.doc.sel.contains(o))return n.state.draggingText(t),void setTimeout(function(){return n.display.input.focus()},20);try{var c=t.dataTransfer.getData("Text");if(c){var h;if(n.state.draggingText&&!n.state.draggingText.copy&&(h=n.listSelections()),Qn(n.doc,kn(o,o)),h)for(var u=0;u<h.length;++u)ho(n.doc,"",h[u].anchor,h[u].head,"drag");n.replaceSelection(c,"around","paste"),n.display.input.focus()}}catch(t){}}}}function No(t){t.display.dragCursor&&(t.display.lineSpace.removeChild(t.display.dragCursor),t.display.dragCursor=null)}function Oo(e){if(document.getElementsByClassName){for(var t=document.getElementsByClassName("CodeMirror"),i=[],r=0;r<t.length;r++){var n=t[r].CodeMirror;n&&i.push(n)}i.length&&i[0].operation(function(){for(var t=0;t<i.length;t++)e(i[t])})}}var Io=!1;function Ro(t){var e=t.display;e.cachedCharWidth=e.cachedTextHeight=e.cachedPaddingH=null,e.scrollbarsClipped=!1,t.setSize()}for(var Mo={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:"/",127:"Delete",145:"ScrollLock",173:"-",186:";",187:"=",188:",",189:"-",190:".",191:"/",192:"`",219:"[",220:"\\",221:"]",222:"'",63232:"Up",63233:"Down",63234:"Left",63235:"Right",63272:"Delete",63273:"Home",63275:"End",63276:"PageUp",63277:"PageDown",63302:"Insert"},Do=0;Do<10;Do++)Mo[Do+48]=Mo[Do+96]=String(Do);for(var Po=65;Po<=90;Po++)Mo[Po]=String.fromCharCode(Po);for(var Bo=1;Bo<=12;Bo++)Mo[Bo+111]=Mo[Bo+63235]="F"+Bo;var Fo={};function Uo(t){var e,i,r,n,o=t.split(/-(?!$)/);t=o[o.length-1];for(var s=0;s<o.length-1;s++){var a=o[s];if(/^(cmd|meta|m)$/i.test(a))n=!0;else if(/^a(lt)?$/i.test(a))e=!0;else if(/^(c|ctrl|control)$/i.test(a))i=!0;else{if(!/^s(hift)?$/i.test(a))throw new Error("Unrecognized modifier name: "+a);r=!0}}return e&&(t="Alt-"+t),i&&(t="Ctrl-"+t),n&&(t="Cmd-"+t),r&&(t="Shift-"+t),t}function Ho(t,e,i,r){var n=(e=Go(e)).call?e.call(t,r):e[t];if(!1===n)return"nothing";if("..."===n)return"multi";if(null!=n&&i(n))return"handled";if(e.fallthrough){if("[object Array]"!=Object.prototype.toString.call(e.fallthrough))return Ho(t,e.fallthrough,i,r);for(var o=0;o<e.fallthrough.length;o++){var s=Ho(t,e.fallthrough[o],i,r);if(s)return s}}}function Wo(t){var e="string"==typeof t?t:Mo[t.keyCode];return"Ctrl"==e||"Alt"==e||"Shift"==e||"Mod"==e}function zo(t,e,i){var r=t;return e.altKey&&"Alt"!=r&&(t="Alt-"+t),(v?e.metaKey:e.ctrlKey)&&"Ctrl"!=r&&(t="Ctrl-"+t),(v?e.ctrlKey:e.metaKey)&&"Cmd"!=r&&(t="Cmd-"+t),!i&&e.shiftKey&&"Shift"!=r&&(t="Shift-"+t),t}function qo(t,e){if(g&&34==t.keyCode&&t.char)return!1;var i=Mo[t.keyCode];return null!=i&&!t.altGraphKey&&(3==t.keyCode&&t.code&&(i=t.code),zo(i,t,e))}function Go(t){return"string"==typeof t?Fo[t]:t}function jo(e,t){for(var i=e.doc.sel.ranges,r=[],n=0;n<i.length;n++){for(var o=t(i[n]);r.length&&_t(o.from,$(r).to)<=0;){var s=r.pop();if(_t(s.from,o.from)<0){o.from=s.from;break}}r.push(o)}$r(e,function(){for(var t=r.length-1;0<=t;t--)ho(e.doc,"",r[t].from,r[t].to,"+delete");Ar(e)})}function Vo(t,e,i){var r=ot(t.text,e+i,i);return r<0||r>t.text.length?null:r}function Yo(t,e,i){var r=Vo(t,e.ch,i);return null==r?null:new gt(e.line,r,i<0?"after":"before")}function Ko(t,e,i,r,n){if(t){var o=oe(i,e.doc.direction);if(o){var s,a=n<0?$(o):o[0],l=n<0==(1==a.level)?"after":"before";if(0<a.level||"rtl"==e.doc.direction){var c=Mi(e,i);s=n<0?i.text.length-1:0;var h=Di(e,c,s).top;s=st(function(t){return Di(e,c,t).top==h},n<0==(1==a.level)?a.from:a.to-1,s),"before"==l&&(s=Vo(i,s,1))}else s=n<0?a.to:a.from;return new gt(r,s,l)}}return new gt(r,n<0?i.text.length:0,n<0?"before":"after")}Fo.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"},Fo.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"},Fo.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"},Fo.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"]},Fo.default=x?Fo.macDefault:Fo.pcDefault;var $o={selectAll:ro,singleSelection:function(t){return t.setSelection(t.getCursor("anchor"),t.getCursor("head"),q)},killLine:function(i){return jo(i,function(t){if(t.empty()){var e=lt(i.doc,t.head.line).text.length;return t.head.ch==e&&t.head.line<i.lastLine()?{from:t.head,to:gt(t.head.line+1,0)}:{from:t.head,to:gt(t.head.line,e)}}return{from:t.from(),to:t.to()}})},deleteLine:function(e){return jo(e,function(t){return{from:gt(t.from().line,0),to:bt(e.doc,gt(t.to().line+1,0))}})},delLineLeft:function(t){return jo(t,function(t){return{from:gt(t.from().line,0),to:t.from()}})},delWrappedLineLeft:function(i){return jo(i,function(t){var e=i.charCoords(t.head,"div").top+5;return{from:i.coordsChar({left:0,top:e},"div"),to:t.from()}})},delWrappedLineRight:function(r){return jo(r,function(t){var e=r.charCoords(t.head,"div").top+5,i=r.coordsChar({left:r.display.lineDiv.offsetWidth+100,top:e},"div");return{from:t.from(),to:i}})},undo:function(t){return t.undo()},redo:function(t){return t.redo()},undoSelection:function(t){return t.undoSelection()},redoSelection:function(t){return t.redoSelection()},goDocStart:function(t){return t.extendSelection(gt(t.firstLine(),0))},goDocEnd:function(t){return t.extendSelection(gt(t.lastLine()))},goLineStart:function(e){return e.extendSelectionsBy(function(t){return Qo(e,t.head.line)},{origin:"+move",bias:1})},goLineStartSmart:function(e){return e.extendSelectionsBy(function(t){return Xo(e,t.head)},{origin:"+move",bias:1})},goLineEnd:function(o){return o.extendSelectionsBy(function(t){return e=o,i=t.head.line,r=lt(e.doc,i),(n=function(t){for(var e;e=Ut(t);)t=e.find(1,!0).line;return t}(r))!=r&&(i=ft(n)),Ko(!0,e,r,i,-1);var e,i,r,n},{origin:"+move",bias:-1})},goLineRight:function(i){return i.extendSelectionsBy(function(t){var e=i.cursorCoords(t.head,"div").top+5;return i.coordsChar({left:i.display.lineDiv.offsetWidth+100,top:e},"div")},j)},goLineLeft:function(i){return i.extendSelectionsBy(function(t){var e=i.cursorCoords(t.head,"div").top+5;return i.coordsChar({left:0,top:e},"div")},j)},goLineLeftSmart:function(r){return r.extendSelectionsBy(function(t){var e=r.cursorCoords(t.head,"div").top+5,i=r.coordsChar({left:0,top:e},"div");return i.ch<r.getLine(i.line).search(/\S/)?Xo(r,t.head):i},j)},goLineUp:function(t){return t.moveV(-1,"line")},goLineDown:function(t){return t.moveV(1,"line")},goPageUp:function(t){return t.moveV(-1,"page")},goPageDown:function(t){return t.moveV(1,"page")},goCharLeft:function(t){return t.moveH(-1,"char")},goCharRight:function(t){return t.moveH(1,"char")},goColumnLeft:function(t){return t.moveH(-1,"column")},goColumnRight:function(t){return t.moveH(1,"column")},goWordLeft:function(t){return t.moveH(-1,"word")},goGroupRight:function(t){return t.moveH(1,"group")},goGroupLeft:function(t){return t.moveH(-1,"group")},goWordRight:function(t){return t.moveH(1,"word")},delCharBefore:function(t){return t.deleteH(-1,"char")},delCharAfter:function(t){return t.deleteH(1,"char")},delWordBefore:function(t){return t.deleteH(-1,"word")},delWordAfter:function(t){return t.deleteH(1,"word")},delGroupBefore:function(t){return t.deleteH(-1,"group")},delGroupAfter:function(t){return t.deleteH(1,"group")},indentAuto:function(t){return t.indentSelection("smart")},indentMore:function(t){return t.indentSelection("add")},indentLess:function(t){return t.indentSelection("subtract")},insertTab:function(t){return t.replaceSelection("\t")},insertSoftTab:function(t){for(var e=[],i=t.listSelections(),r=t.options.tabSize,n=0;n<i.length;n++){var o=i[n].from(),s=F(t.getLine(o.line),o.ch,r);e.push(K(r-s%r))}t.replaceSelections(e)},defaultTab:function(t){t.somethingSelected()?t.indentSelection("add"):t.execCommand("insertTab")},transposeChars:function(s){return $r(s,function(){for(var t=s.listSelections(),e=[],i=0;i<t.length;i++)if(t[i].empty()){var r=t[i].head,n=lt(s.doc,r.line).text;if(n)if(r.ch==n.length&&(r=new gt(r.line,r.ch-1)),0<r.ch)r=new gt(r.line,r.ch+1),s.replaceRange(n.charAt(r.ch-1)+n.charAt(r.ch-2),gt(r.line,r.ch-2),r,"+transpose");else if(r.line>s.doc.first){var o=lt(s.doc,r.line-1).text;o&&(r=new gt(r.line,1),s.replaceRange(n.charAt(0)+s.doc.lineSeparator()+o.charAt(o.length-1),gt(r.line-1,o.length-1),r,"+transpose"))}e.push(new xn(r,r))}s.setSelections(e)})},newlineAndIndent:function(r){return $r(r,function(){for(var t=r.listSelections(),e=t.length-1;0<=e;e--)r.replaceRange(r.doc.lineSeparator(),t[e].anchor,t[e].head,"+input");t=r.listSelections();for(var i=0;i<t.length;i++)r.indentLine(t[i].from().line,null,!0);Ar(r)})},openLine:function(t){return t.replaceSelection("\n","start")},toggleOverwrite:function(t){return t.toggleOverwrite()}};function Qo(t,e){var i=lt(t.doc,e),r=zt(i);return r!=i&&(e=ft(r)),Ko(!0,t,r,e,1)}function Xo(t,e){var i=Qo(t,e.line),r=lt(t.doc,i.line),n=oe(r,t.doc.direction);if(n&&0!=n[0].level)return i;var o=Math.max(0,r.text.search(/\S/)),s=e.line==i.line&&e.ch<=o&&e.ch;return gt(i.line,s?0:o,i.sticky)}function Zo(t,e,i){if("string"==typeof e&&!(e=$o[e]))return!1;t.display.input.ensurePolled();var r=t.display.shift,n=!1;try{t.isReadOnly()&&(t.state.suppressEdits=!0),i&&(t.display.shift=!1),n=e(t)!=z}finally{t.display.shift=r,t.state.suppressEdits=!1}return n}var Jo=new U;function ts(t,e,i,r){var n=t.state.keySeq;if(n){if(Wo(e))return"handled";if(/\'$/.test(e)?t.state.keySeq=null:Jo.set(50,function(){t.state.keySeq==n&&(t.state.keySeq=null,t.display.input.reset())}),es(t,n+" "+e,i,r))return!0}return es(t,e,i,r)}function es(t,e,i,r){var n=function(t,e,i){for(var r=0;r<t.state.keyMaps.length;r++){var n=Ho(e,t.state.keyMaps[r],i,t);if(n)return n}return t.options.extraKeys&&Ho(e,t.options.extraKeys,i,t)||Ho(e,t.options.keyMap,i,t)}(t,e,r);return"multi"==n&&(t.state.keySeq=e),"handled"==n&&fi(t,"keyHandled",t,e,i),"handled"!=n&&"multi"!=n||(me(i),gr(t)),!!n}function is(e,t){var i=qo(t,!0);return!!i&&(t.shiftKey&&!e.state.keySeq?ts(e,"Shift-"+i,t,function(t){return Zo(e,t,!0)})||ts(e,i,t,function(t){if("string"==typeof t?/^go[A-Z]/.test(t):t.motion)return Zo(e,t)}):ts(e,i,t,function(t){return Zo(e,t)}))}var rs=null;function ns(t){if(this.curOp.focus=I(),!ue(this,t)){T&&k<11&&27==t.keyCode&&(t.returnValue=!1);var e=t.keyCode;this.display.shift=16==e||t.shiftKey;var i=is(this,t);g&&(rs=i?e:null,!i&&88==e&&!Le&&(x?t.metaKey:t.ctrlKey)&&this.replaceSelection("",null,"cut")),18!=e||/\bCodeMirror-crosshair\b/.test(this.display.lineDiv.className)||(R(n=this.display.lineDiv,"CodeMirror-crosshair"),ae(document,"keyup",r),ae(document,"mouseover",r))}function r(t){18!=t.keyCode&&t.altKey||(C(n,"CodeMirror-crosshair"),ce(document,"keyup",r),ce(document,"mouseover",r))}var n}function os(t){16==t.keyCode&&(this.doc.sel.shift=!1),ue(this,t)}function ss(t){if(!(wi(this.display,t)||ue(this,t)||t.ctrlKey&&!t.altKey||x&&t.metaKey)){var e=t.keyCode,i=t.charCode;if(g&&e==rs)return rs=null,void me(t);if(!g||t.which&&!(t.which<10)||!is(this,t)){var r,n=String.fromCharCode(null==i?e:i);"\b"!=n&&(ts(r=this,"'"+n+"'",t,function(t){return Zo(r,t,!0)})||this.display.input.onKeyPress(t))}}}var as,ls,cs=function(t,e,i){this.time=t,this.pos=e,this.button=i};function hs(t){var i,r,e,n,o=this,s=o.display;if(!(ue(o,t)||s.activeTouch&&s.input.supportsTouch()))if(s.input.ensurePolled(),s.shift=t.shiftKey,wi(s,t))y||(s.scroller.draggable=!1,setTimeout(function(){return s.scroller.draggable=!0},100));else if(!ds(o,t)){var a,l,c,h=cr(o,t),u=xe(t),f=h?(a=h,l=u,c=+new Date,ls&&ls.compare(c,a,l)?(as=ls=null,"triple"):as&&as.compare(c,a,l)?(ls=new cs(c,a,l),as=null,"double"):(as=new cs(c,a,l),ls=null,"single")):"single";window.focus(),1==u&&o.state.selectingText&&o.state.selectingText(t),h&&(r=h,n="Click","double"==f?n="Double"+n:"triple"==f&&(n="Triple"+n),ts(i=o,zo(n=(1==u?"Left":2==u?"Middle":"Right")+n,e=t),e,function(t){if("string"==typeof t&&(t=$o[t]),!t)return!1;var e=!1;try{i.isReadOnly()&&(i.state.suppressEdits=!0),e=t(i,r)!=z}finally{i.state.suppressEdits=!1}return e}))||(1==u?h?function(t,e,i,r){T?setTimeout(P(_r,t),0):t.curOp.focus=I();var n,o,s,a,l,c,h,u,f,d,p=function(t,e,i){var r=t.getOption("configureMouse"),n=r?r(t,e,i):{};if(null==n.unit){var o=_?i.shiftKey&&i.metaKey:i.altKey;n.unit=o?"rectangle":"single"==e?"char":"double"==e?"word":"line"}return null!=n.extend&&!t.doc.extend||(n.extend=t.doc.extend||i.shiftKey),null==n.addNew&&(n.addNew=x?i.metaKey:i.ctrlKey),null==n.moveOnDrag&&(n.moveOnDrag=!(x?i.altKey:i.ctrlKey)),n}(t,i,r),m=t.doc.sel;t.options.dragDrop&&be&&!t.isReadOnly()&&"single"==i&&-1<(n=m.contains(e))&&(_t((n=m.ranges[n]).from(),e)<0||0<e.xRel)&&(0<_t(n.to(),e)||e.xRel<0)?(s=r,a=e,l=p,c=(o=t).display,h=!1,u=Qr(o,function(t){y&&(c.scroller.draggable=!1),o.state.draggingText=!1,ce(c.wrapper.ownerDocument,"mouseup",u),ce(c.wrapper.ownerDocument,"mousemove",f),ce(c.scroller,"dragstart",d),ce(c.scroller,"drop",u),h||(me(t),l.addNew||Gn(o.doc,a,null,null,l.extend),y||T&&9==k?setTimeout(function(){c.wrapper.ownerDocument.body.focus(),c.input.focus()},20):c.input.focus())}),f=function(t){h=h||10<=Math.abs(s.clientX-t.clientX)+Math.abs(s.clientY-t.clientY)},d=function(){return h=!0},y&&(c.scroller.draggable=!0),(o.state.draggingText=u).copy=!l.moveOnDrag,c.scroller.dragDrop&&c.scroller.dragDrop(),ae(c.wrapper.ownerDocument,"mouseup",u),ae(c.wrapper.ownerDocument,"mousemove",f),ae(c.scroller,"dragstart",d),ae(c.scroller,"drop",u),vr(o),setTimeout(function(){return c.input.focus()},20)):function(g,t,_,v){var s=g.display,y=g.doc;me(t);var x,T,k=y.sel,e=k.ranges;if(v.addNew&&!v.extend?(T=y.sel.contains(_),x=-1<T?e[T]:new xn(_,_)):(x=y.sel.primary(),T=y.sel.primIndex),"rectangle"==v.unit)v.addNew||(x=new xn(_,_)),_=cr(g,t,!0,!0),T=-1;else{var i=us(g,_,v.unit);x=v.extend?qn(x,i.anchor,i.head,v.extend):i}v.addNew?-1==T?(T=e.length,$n(y,Tn(g,e.concat([x]),T),{scroll:!1,origin:"*mouse"})):1<e.length&&e[T].empty()&&"char"==v.unit&&!v.extend?($n(y,Tn(g,e.slice(0,T).concat(e.slice(T+1)),0),{scroll:!1,origin:"*mouse"}),k=y.sel):Vn(y,T,x,G):($n(y,new yn([x],T=0),G),k=y.sel);var b=_;var a=s.wrapper.getBoundingClientRect(),l=0;function r(t){g.state.selectingText=!1,l=1/0,me(t),s.input.focus(),ce(s.wrapper.ownerDocument,"mousemove",n),ce(s.wrapper.ownerDocument,"mouseup",o),y.history.lastSelOrigin=null}var n=Qr(g,function(t){0!==t.buttons&&xe(t)?function t(e){var i=++l,r=cr(g,e,!0,"rectangle"==v.unit);if(r)if(0!=_t(r,b)){g.curOp.focus=I(),function(t){if(0!=_t(b,t))if(b=t,"rectangle"==v.unit){for(var e=[],i=g.options.tabSize,r=F(lt(y,_.line).text,_.ch,i),n=F(lt(y,t.line).text,t.ch,i),o=Math.min(r,n),s=Math.max(r,n),a=Math.min(_.line,t.line),l=Math.min(g.lastLine(),Math.max(_.line,t.line));a<=l;a++){var c=lt(y,a).text,h=V(c,o,i);o==s?e.push(new xn(gt(a,h),gt(a,h))):c.length>h&&e.push(new xn(gt(a,h),gt(a,V(c,s,i))))}e.length||e.push(new xn(_,_)),$n(y,Tn(g,k.ranges.slice(0,T).concat(e),T),{origin:"*mouse",scroll:!1}),g.scrollIntoView(t)}else{var u,f=x,d=us(g,t,v.unit),p=f.anchor;p=0<_t(d.anchor,p)?(u=d.head,Tt(f.from(),d.anchor)):(u=d.anchor,xt(f.to(),d.head));var m=k.ranges.slice(0);m[T]=function(t,e){var i=e.anchor,r=e.head,n=lt(t.doc,i.line);if(0==_t(i,r)&&i.sticky==r.sticky)return e;var o=oe(n);if(!o)return e;var s=Xt(o,i.ch,i.sticky),a=o[s];if(a.from!=i.ch&&a.to!=i.ch)return e;var l,c=s+(a.from==i.ch==(1!=a.level)?0:1);if(0==c||c==o.length)return e;if(r.line!=i.line)l=0<(r.line-i.line)*("ltr"==t.doc.direction?1:-1);else{var h=Xt(o,r.ch,r.sticky),u=h-s||(r.ch-i.ch)*(1==a.level?-1:1);l=h==c-1||h==c?u<0:0<u}var f=o[c+(l?-1:0)],d=l==(1==f.level),p=d?f.from:f.to,m=d?"after":"before";return i.ch==p&&i.sticky==m?e:new xn(new gt(i.line,p,m),r)}(g,new xn(bt(y,p),u)),$n(y,Tn(g,m,T),G)}}(r);var n=br(s,y);(r.line>=n.to||r.line<n.from)&&setTimeout(Qr(g,function(){l==i&&t(e)}),150)}else{var o=e.clientY<a.top?-20:e.clientY>a.bottom?20:0;o&&setTimeout(Qr(g,function(){l==i&&(s.scroller.scrollTop+=o,t(e))}),50)}}(t):r(t)}),o=Qr(g,r);g.state.selectingText=o,ae(s.wrapper.ownerDocument,"mousemove",n),ae(s.wrapper.ownerDocument,"mouseup",o)}(t,r,e,p)}(o,h,f,t):ye(t)==s.scroller&&me(t):2==u?(h&&Gn(o.doc,h),setTimeout(function(){return s.input.focus()},20)):3==u&&(b?o.display.input.onContextMenu(t):vr(o)))}}function us(t,e,i){if("char"==i)return new xn(e,e);if("word"==i)return t.findWordAt(e);if("line"==i)return new xn(gt(e.line,0),bt(t.doc,gt(e.line+1,0)));var r=i(t,e);return new xn(r.from,r.to)}function fs(t,e,i,r){var n,o;if(e.touches)n=e.touches[0].clientX,o=e.touches[0].clientY;else try{n=e.clientX,o=e.clientY}catch(e){return!1}if(n>=Math.floor(t.display.gutters.getBoundingClientRect().right))return!1;r&&me(e);var s=t.display,a=s.lineDiv.getBoundingClientRect();if(o>a.bottom||!de(t,i))return _e(e);o-=a.top-s.viewOffset;for(var l=0;l<t.options.gutters.length;++l){var c=s.gutters.childNodes[l];if(c&&c.getBoundingClientRect().right>=n)return he(t,i,t,dt(t.doc,o),t.options.gutters[l],e),_e(e)}}function ds(t,e){return fs(t,e,"gutterClick",!0)}function ps(t){t.display.wrapper.className=t.display.wrapper.className.replace(/\s*cm-s-\S+/g,"")+t.options.theme.replace(/(^|\s)\s*/g," cm-s-"),zi(t)}cs.prototype.compare=function(t,e,i){return this.time+400>t&&0==_t(e,this.pos)&&i==this.button};var ms={toString:function(){return"CodeMirror.Init"}},gs={},_s={};function vs(t){dn(t),Jr(t),wr(t)}function ys(t,e,i){if(!e!=!(i&&i!=ms)){var r=t.display.dragFunctions,n=e?ae:ce;n(t.display.scroller,"dragstart",r.start),n(t.display.scroller,"dragenter",r.enter),n(t.display.scroller,"dragover",r.over),n(t.display.scroller,"dragleave",r.leave),n(t.display.scroller,"drop",r.drop)}}function xs(t){t.options.lineWrapping?(R(t.display.wrapper,"CodeMirror-wrap"),t.display.sizer.style.minWidth="",t.display.sizerWidth=null):(C(t.display.wrapper,"CodeMirror-wrap"),$t(t)),lr(t),Jr(t),zi(t),setTimeout(function(){return Fr(t)},100)}function Ts(t,e){var i=this;if(!(this instanceof Ts))return new Ts(t,e);this.options=e=e?B(e):{},B(gs,e,!1),pn(e);var r=e.value;"string"==typeof r?r=new So(r,e.mode,null,e.lineSeparator,e.direction):e.mode&&(r.modeOption=e.mode),this.doc=r;var n=new Ts.inputStyles[e.inputStyle](this),o=this.display=new at(t,r,n);for(var s in dn(o.wrapper.CodeMirror=this),ps(this),e.lineWrapping&&(this.display.wrapper.className+=" CodeMirror-wrap"),Wr(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 U,keySeq:null,specialChars:null},e.autofocus&&!f&&o.input.focus(),T&&k<11&&setTimeout(function(){return i.display.input.reset(!0)},20),function(n){var o=n.display;ae(o.scroller,"mousedown",Qr(n,hs)),ae(o.scroller,"dblclick",T&&k<11?Qr(n,function(t){if(!ue(n,t)){var e=cr(n,t);if(e&&!ds(n,t)&&!wi(n.display,t)){me(t);var i=n.findWordAt(e);Gn(n.doc,i.anchor,i.head)}}}):function(t){return ue(n,t)||me(t)}),ae(o.scroller,"contextmenu",function(t){return function(t,e){var i,r;wi(t.display,e)||(r=e,de(i=t,"gutterContextMenu")&&fs(i,r,"gutterContextMenu",!1))||ue(t,e,"contextmenu")||b||t.display.input.onContextMenu(e)}(n,t)});var i,r={end:0};function s(){o.activeTouch&&(i=setTimeout(function(){return o.activeTouch=null},1e3),(r=o.activeTouch).end=+new Date)}function a(t,e){if(null==e.left)return!0;var i=e.left-t.left,r=e.top-t.top;return 400<i*i+r*r}ae(o.scroller,"touchstart",function(t){if(!ue(n,t)&&!function(t){if(1!=t.touches.length)return!1;var e=t.touches[0];return e.radiusX<=1&&e.radiusY<=1}(t)&&!ds(n,t)){o.input.ensurePolled(),clearTimeout(i);var e=+new Date;o.activeTouch={start:e,moved:!1,prev:e-r.end<=300?r:null},1==t.touches.length&&(o.activeTouch.left=t.touches[0].pageX,o.activeTouch.top=t.touches[0].pageY)}}),ae(o.scroller,"touchmove",function(){o.activeTouch&&(o.activeTouch.moved=!0)}),ae(o.scroller,"touchend",function(t){var e=o.activeTouch;if(e&&!wi(o,t)&&null!=e.left&&!e.moved&&new Date-e.start<300){var i,r=n.coordsChar(o.activeTouch,"page");i=!e.prev||a(e,e.prev)?new xn(r,r):!e.prev.prev||a(e,e.prev.prev)?n.findWordAt(r):new xn(gt(r.line,0),bt(n.doc,gt(r.line+1,0))),n.setSelection(i.anchor,i.head),n.focus(),me(t)}s()}),ae(o.scroller,"touchcancel",s),ae(o.scroller,"scroll",function(){o.scroller.clientHeight&&(Ir(n,o.scroller.scrollTop),Mr(n,o.scroller.scrollLeft,!0),he(n,"scroll",n))}),ae(o.scroller,"mousewheel",function(t){return vn(n,t)}),ae(o.scroller,"DOMMouseScroll",function(t){return vn(n,t)}),ae(o.wrapper,"scroll",function(){return o.wrapper.scrollTop=o.wrapper.scrollLeft=0}),o.dragFunctions={enter:function(t){ue(n,t)||ve(t)},over:function(r){ue(n,r)||(function(t){var e=cr(t,r);if(e){var i=document.createDocumentFragment();dr(t,e,i),t.display.dragCursor||(t.display.dragCursor=N("div",null,"CodeMirror-cursors CodeMirror-dragcursors"),t.display.lineSpace.insertBefore(t.display.dragCursor,t.display.cursorDiv)),A(t.display.dragCursor,i)}}(n),ve(r))},start:function(t){return function(t,e){if(T&&(!t.state.draggingText||+new Date-Ao<100))ve(e);else if(!ue(t,e)&&!wi(t.display,e)&&(e.dataTransfer.setData("Text",t.getSelection()),e.dataTransfer.effectAllowed="copyMove",e.dataTransfer.setDragImage&&!l)){var i=N("img",null,null,"position: fixed; left: 0; top: 0;");i.src="data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==",g&&(i.width=i.height=1,t.display.wrapper.appendChild(i),i._top=i.offsetTop),e.dataTransfer.setDragImage(i,0,0),g&&i.parentNode.removeChild(i)}}(n,t)},drop:Qr(n,Lo),leave:function(t){ue(n,t)||No(n)}};var t=o.input.getField();ae(t,"keyup",function(t){return os.call(n,t)}),ae(t,"keydown",Qr(n,ns)),ae(t,"keypress",Qr(n,ss)),ae(t,"focus",function(t){return yr(n,t)}),ae(t,"blur",function(t){return xr(n,t)})}(this),function(){var t;Io||(ae(window,"resize",function(){null==t&&(t=setTimeout(function(){t=null,Oo(Ro)},100))}),ae(window,"blur",function(){return Oo(xr)}),Io=!0)}(),qr(this),this.curOp.forceUpdate=!0,In(this,r),e.autofocus&&!f||this.hasFocus()?setTimeout(P(yr,this),20):xr(this),_s)_s.hasOwnProperty(s)&&_s[s](i,e[s],ms);Er(this),e.finishInit&&e.finishInit(this);for(var a=0;a<ks.length;++a)ks[a](i);Gr(this),y&&e.lineWrapping&&"optimizelegibility"==getComputedStyle(o.lineDiv).textRendering&&(o.lineDiv.style.textRendering="auto")}Ts.defaults=gs,Ts.optionHandlers=_s;var ks=[];function bs(t,e,i,r){var n,o=t.doc;null==i&&(i="add"),"smart"==i&&(o.mode.indent?n=Ge(t,e).state:i="prev");var s=t.options.tabSize,a=lt(o,e),l=F(a.text,null,s);a.stateAfter&&(a.stateAfter=null);var c,h=a.text.match(/^\s*/)[0];if(r||/\S/.test(a.text)){if("smart"==i&&((c=o.mode.indent(n,a.text.slice(h.length),a.text))==z||150<c)){if(!r)return;i="prev"}}else c=0,i="not";"prev"==i?c=e>o.first?F(lt(o,e-1).text,null,s):0:"add"==i?c=l+t.options.indentUnit:"subtract"==i?c=l-t.options.indentUnit:"number"==typeof i&&(c=l+i),c=Math.max(0,c);var u="",f=0;if(t.options.indentWithTabs)for(var d=Math.floor(c/s);d;--d)f+=s,u+="\t";if(f<c&&(u+=K(c-f)),u!=h)return ho(o,u,gt(e,0),gt(e,h.length),"+input"),!(a.stateAfter=null);for(var p=0;p<o.sel.ranges.length;p++){var m=o.sel.ranges[p];if(m.head.line==e&&m.head.ch<h.length){var g=gt(e,h.length);Vn(o,p,new xn(g,g));break}}}Ts.defineInitHook=function(t){return ks.push(t)};var ws=null;function Es(t){ws=t}function Cs(t,e,i,r,n){var o=t.doc;t.display.shift=!1,r=r||o.sel;var s,a=t.state.pasteIncoming||"paste"==n,l=Se(e),c=null;if(a&&1<r.ranges.length)if(ws&&ws.text.join("\n")==e){if(r.ranges.length%ws.text.length==0){c=[];for(var h=0;h<ws.text.length;h++)c.push(o.splitLines(ws.text[h]))}}else l.length==r.ranges.length&&t.options.pasteLinesPerSelection&&(c=Q(l,function(t){return[t]}));for(var u=r.ranges.length-1;0<=u;u--){var f=r.ranges[u],d=f.from(),p=f.to();f.empty()&&(i&&0<i?d=gt(d.line,d.ch-i):t.state.overwrite&&!a?p=gt(p.line,Math.min(lt(o,p.line).text.length,p.ch+$(l).length)):a&&ws&&ws.lineWise&&ws.text.join("\n")==e&&(d=p=gt(d.line,0))),s=t.curOp.updateInput;var m={from:d,to:p,text:c?c[u%c.length]:l,origin:n||(a?"paste":t.state.cutIncoming?"cut":"+input")};oo(t.doc,m),fi(t,"inputRead",t,m)}e&&!a&&As(t,e),Ar(t),t.curOp.updateInput=s,t.curOp.typing=!0,t.state.pasteIncoming=t.state.cutIncoming=!1}function Ss(t,e){var i=t.clipboardData&&t.clipboardData.getData("Text");if(i)return t.preventDefault(),e.isReadOnly()||e.options.disableInput||$r(e,function(){return Cs(e,i,0,null,"paste")}),!0}function As(t,e){if(t.options.electricChars&&t.options.smartIndent)for(var i=t.doc.sel,r=i.ranges.length-1;0<=r;r--){var n=i.ranges[r];if(!(100<n.head.ch||r&&i.ranges[r-1].head.line==n.head.line)){var o=t.getModeAt(n.head),s=!1;if(o.electricChars){for(var a=0;a<o.electricChars.length;a++)if(-1<e.indexOf(o.electricChars.charAt(a))){s=bs(t,n.head.line,"smart");break}}else o.electricInput&&o.electricInput.test(lt(t.doc,n.head.line).text.slice(0,n.head.ch))&&(s=bs(t,n.head.line,"smart"));s&&fi(t,"electricInput",t,n.head.line)}}}function Ls(t){for(var e=[],i=[],r=0;r<t.doc.sel.ranges.length;r++){var n=t.doc.sel.ranges[r].head.line,o={anchor:gt(n,0),head:gt(n+1,0)};i.push(o),e.push(t.getRange(o.anchor,o.head))}return{text:e,ranges:i}}function Ns(t,e){t.setAttribute("autocorrect","off"),t.setAttribute("autocapitalize","off"),t.setAttribute("spellcheck",!!e)}function Os(){var t=N("textarea",null,null,"position: absolute; bottom: -1em; padding: 0; width: 1px; height: 1em; outline: none"),e=N("div",[t],null,"overflow: hidden; position: relative; width: 3px; height: 0px;");return y?t.style.width="1000px":t.setAttribute("wrap","off"),h&&(t.style.border="1px solid black"),Ns(t),e}function Is(r,n,o,t,s){var e=n,i=o,a=lt(r,n.line);function l(t){var e,i;if(null==(e=s?function(e,i,a,t){var l=oe(i,e.doc.direction);if(!l)return Yo(i,a,t);a.ch>=i.text.length?(a.ch=i.text.length,a.sticky="before"):a.ch<=0&&(a.ch=0,a.sticky="after");var r=Xt(l,a.ch,a.sticky),n=l[r];if("ltr"==e.doc.direction&&n.level%2==0&&(0<t?n.to>a.ch:n.from<a.ch))return Yo(i,a,t);function c(t,e){return Vo(i,t instanceof gt?t.ch:t,e)}function o(t){return e.options.lineWrapping?(s=s||Mi(e,i),tr(e,i,s,t)):{begin:0,end:i.text.length}}var s,h=o("before"==a.sticky?c(a,-1):a.ch);if("rtl"==e.doc.direction||1==n.level){var u=1==n.level==t<0,f=c(a,u?1:-1);if(null!=f&&(u?f<=n.to&&f<=h.end:f>=n.from&&f>=h.begin)){var d=u?"before":"after";return new gt(a.line,f,d)}}function p(t,e,i){for(var r=function(t,e){return e?new gt(a.line,c(t,1),"before"):new gt(a.line,t,"after")};0<=t&&t<l.length;t+=e){var n=l[t],o=0<e==(1!=n.level),s=o?i.begin:c(i.end,-1);if(n.from<=s&&s<n.to)return r(s,o);if(s=o?n.from:c(n.to,-1),i.begin<=s&&s<i.end)return r(s,o)}}var m=p(r+t,t,h);if(m)return m;var g=0<t?h.end:c(h.begin,-1);return null==g||0<t&&g==i.text.length||!(m=p(0<t?0:l.length-1,t,o(g)))?null:m}(r.cm,a,n,o):Yo(a,n,o))){if(t||(i=n.line+o)<r.first||i>=r.first+r.size||(n=new gt(i,n.ch,n.sticky),!(a=lt(r,i))))return!1;n=Ko(s,r.cm,a,n.line,o)}else n=e;return!0}if("char"==t)l();else if("column"==t)l(!0);else if("word"==t||"group"==t)for(var c=null,h="group"==t,u=r.cm&&r.cm.getHelper(n,"wordChars"),f=!0;!(o<0)||l(!f);f=!1){var d=a.text.charAt(n.ch)||"\n",p=et(d,u)?"w":h&&"\n"==d?"n":!h||/\s/.test(d)?null:"p";if(!h||f||p||(p="s"),c&&c!=p){o<0&&(o=1,l(),n.sticky="after");break}if(p&&(c=p),0<o&&!l(!f))break}var m=eo(r,n,e,i,!0);return vt(e,m)&&(m.hitSide=!0),m}function Rs(t,e,i,r){var n,o,s=t.doc,a=e.left;if("page"==r){var l=Math.min(t.display.wrapper.clientHeight,window.innerHeight||document.documentElement.clientHeight),c=Math.max(l-.5*rr(t.display),3);n=(0<i?e.bottom:e.top)+i*c}else"line"==r&&(n=0<i?e.bottom+3:e.top-3);for(;(o=Zi(t,a,n)).outside;){if(i<0?n<=0:n>=s.height){o.hitSide=!0;break}n+=5*i}return o}function Ms(t){this.cm=t,this.lastAnchorNode=this.lastAnchorOffset=this.lastFocusNode=this.lastFocusOffset=null,this.polling=new U,this.composing=null,this.gracePeriod=!1,this.readDOMTimeout=null}function Ds(t,e){var i=Ri(t,e.line);if(!i||i.hidden)return null;var r=lt(t.doc,e.line),n=Oi(i,r,e.line),o=oe(r,t.doc.direction),s="left";o&&(s=Xt(o,e.ch)%2?"right":"left");var a=Fi(n.map,e.ch,s);return a.offset="right"==a.collapse?a.end:a.start,a}function Ps(t,e){return e&&(t.bad=!0),t}function Bs(t,e,i){var r;if(e==t.display.lineDiv){if(!(r=t.display.lineDiv.childNodes[i]))return Ps(t.clipPos(gt(t.display.viewTo-1)),!0);e=null,i=0}else for(r=e;;r=r.parentNode){if(!r||r==t.display.lineDiv)return null;if(r.parentNode&&r.parentNode==t.display.lineDiv)break}for(var n=0;n<t.display.view.length;n++){var o=t.display.view[n];if(o.node==r)return Fs(o,e,i)}}function Fs(c,t,e){var i=c.text.firstChild,r=!1;if(!t||!O(i,t))return Ps(gt(ft(c.line),0),!0);if(t==i&&(r=!0,t=i.childNodes[e],e=0,!t)){var n=c.rest?$(c.rest):c.line;return Ps(gt(ft(n),n.text.length),r)}var o=3==t.nodeType?t:null,s=t;for(o||1!=t.childNodes.length||3!=t.firstChild.nodeType||(o=t.firstChild,e=e&&o.nodeValue.length);s.parentNode!=i;)s=s.parentNode;var h=c.measure,u=h.maps;function a(t,e,i){for(var r=-1;r<(u?u.length:0);r++)for(var n=r<0?h.map:u[r],o=0;o<n.length;o+=3){var s=n[o+2];if(s==t||s==e){var a=ft(r<0?c.line:c.rest[r]),l=n[o]+i;return(i<0||s!=t)&&(l=n[o+(i?1:0)]),gt(a,l)}}}var l=a(o,s,e);if(l)return Ps(l,r);for(var f=s.nextSibling,d=o?o.nodeValue.length-e:0;f;f=f.nextSibling){if(l=a(f,f.firstChild,0))return Ps(gt(l.line,l.ch-d),r);d+=f.textContent.length}for(var p=s.previousSibling,m=e;p;p=p.previousSibling){if(l=a(p,p.firstChild,-1))return Ps(gt(l.line,l.ch+m),r);m+=p.textContent.length}}Ms.prototype.init=function(t){var e=this,s=this,a=s.cm,l=s.div=t.lineDiv;function i(t){if(!ue(a,t)){if(a.somethingSelected())Es({lineWise:!1,text:a.getSelections()}),"cut"==t.type&&a.replaceSelection("",null,"cut");else{if(!a.options.lineWiseCopyCut)return;var e=Ls(a);Es({lineWise:!0,text:e.text}),"cut"==t.type&&a.operation(function(){a.setSelections(e.ranges,0,q),a.replaceSelection("",null,"cut")})}if(t.clipboardData){t.clipboardData.clearData();var i=ws.text.join("\n");if(t.clipboardData.setData("Text",i),t.clipboardData.getData("Text")==i)return void t.preventDefault()}var r=Os(),n=r.firstChild;a.display.lineSpace.insertBefore(r,a.display.lineSpace.firstChild),n.value=ws.text.join("\n");var o=document.activeElement;D(n),setTimeout(function(){a.display.lineSpace.removeChild(r),o.focus(),o==l&&s.showPrimarySelection()},50)}}Ns(l,a.options.spellcheck),ae(l,"paste",function(t){ue(a,t)||Ss(t,a)||k<=11&&setTimeout(Qr(a,function(){return e.updateFromDOM()}),20)}),ae(l,"compositionstart",function(t){e.composing={data:t.data,done:!1}}),ae(l,"compositionupdate",function(t){e.composing||(e.composing={data:t.data,done:!1})}),ae(l,"compositionend",function(t){e.composing&&(t.data!=e.composing.data&&e.readFromDOMSoon(),e.composing.done=!0)}),ae(l,"touchstart",function(){return s.forceCompositionEnd()}),ae(l,"input",function(){e.composing||e.readFromDOMSoon()}),ae(l,"copy",i),ae(l,"cut",i)},Ms.prototype.prepareSelection=function(){var t=fr(this.cm,!1);return t.focus=this.cm.state.focused,t},Ms.prototype.showSelection=function(t,e){t&&this.cm.display.view.length&&((t.focus||e)&&this.showPrimarySelection(),this.showMultipleSelections(t))},Ms.prototype.getSelection=function(){return this.cm.display.wrapper.ownerDocument.getSelection()},Ms.prototype.showPrimarySelection=function(){var t=this.getSelection(),e=this.cm,i=e.doc.sel.primary(),r=i.from(),n=i.to();if(e.display.viewTo==e.display.viewFrom||r.line>=e.display.viewTo||n.line<e.display.viewFrom)t.removeAllRanges();else{var o=Bs(e,t.anchorNode,t.anchorOffset),s=Bs(e,t.focusNode,t.focusOffset);if(!o||o.bad||!s||s.bad||0!=_t(Tt(o,s),r)||0!=_t(xt(o,s),n)){var a=e.display.view,l=r.line>=e.display.viewFrom&&Ds(e,r)||{node:a[0].measure.map[2],offset:0},c=n.line<e.display.viewTo&&Ds(e,n);if(!c){var h=a[a.length-1].measure,u=h.maps?h.maps[h.maps.length-1]:h.map;c={node:u[u.length-1],offset:u[u.length-2]-u[u.length-3]}}if(l&&c){var f,d=t.rangeCount&&t.getRangeAt(0);try{f=E(l.node,l.offset,c.offset,c.node)}catch(t){}f&&(!m&&e.state.focused?(t.collapse(l.node,l.offset),f.collapsed||(t.removeAllRanges(),t.addRange(f))):(t.removeAllRanges(),t.addRange(f)),d&&null==t.anchorNode?t.addRange(d):m&&this.startGracePeriod()),this.rememberSelection()}else t.removeAllRanges()}}},Ms.prototype.startGracePeriod=function(){var t=this;clearTimeout(this.gracePeriod),this.gracePeriod=setTimeout(function(){t.gracePeriod=!1,t.selectionChanged()&&t.cm.operation(function(){return t.cm.curOp.selectionChanged=!0})},20)},Ms.prototype.showMultipleSelections=function(t){A(this.cm.display.cursorDiv,t.cursors),A(this.cm.display.selectionDiv,t.selection)},Ms.prototype.rememberSelection=function(){var t=this.getSelection();this.lastAnchorNode=t.anchorNode,this.lastAnchorOffset=t.anchorOffset,this.lastFocusNode=t.focusNode,this.lastFocusOffset=t.focusOffset},Ms.prototype.selectionInEditor=function(){var t=this.getSelection();if(!t.rangeCount)return!1;var e=t.getRangeAt(0).commonAncestorContainer;return O(this.div,e)},Ms.prototype.focus=function(){"nocursor"!=this.cm.options.readOnly&&(this.selectionInEditor()||this.showSelection(this.prepareSelection(),!0),this.div.focus())},Ms.prototype.blur=function(){this.div.blur()},Ms.prototype.getField=function(){return this.div},Ms.prototype.supportsTouch=function(){return!0},Ms.prototype.receivedFocus=function(){var e=this;this.selectionInEditor()?this.pollSelection():$r(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))})},Ms.prototype.selectionChanged=function(){var t=this.getSelection();return t.anchorNode!=this.lastAnchorNode||t.anchorOffset!=this.lastAnchorOffset||t.focusNode!=this.lastFocusNode||t.focusOffset!=this.lastFocusOffset},Ms.prototype.pollSelection=function(){if(null==this.readDOMTimeout&&!this.gracePeriod&&this.selectionChanged()){var e=this.getSelection(),t=this.cm;if(u&&s&&this.cm.options.gutters.length&&function(){for(var t=e.anchorNode;t;t=t.parentNode)if(/CodeMirror-gutter-wrapper/.test(t.className))return!0;return!1}())return this.cm.triggerOnKeyDown({type:"keydown",keyCode:8,preventDefault:Math.abs}),this.blur(),void this.focus();if(!this.composing){this.rememberSelection();var i=Bs(t,e.anchorNode,e.anchorOffset),r=Bs(t,e.focusNode,e.focusOffset);i&&r&&$r(t,function(){$n(t.doc,kn(i,r),q),(i.bad||r.bad)&&(t.curOp.selectionChanged=!0)})}}},Ms.prototype.pollContent=function(){null!=this.readDOMTimeout&&(clearTimeout(this.readDOMTimeout),this.readDOMTimeout=null);var t,e,i,r=this.cm,n=r.display,o=r.doc.sel.primary(),s=o.from(),a=o.to();if(0==s.ch&&s.line>r.firstLine()&&(s=gt(s.line-1,lt(r.doc,s.line-1).length)),a.ch==lt(r.doc,a.line).text.length&&a.line<r.lastLine()&&(a=gt(a.line+1,0)),s.line<n.viewFrom||a.line>n.viewTo-1)return!1;i=s.line==n.viewFrom||0==(t=hr(r,s.line))?(e=ft(n.view[0].line),n.view[0].node):(e=ft(n.view[t].line),n.view[t-1].node.nextSibling);var l,c,h=hr(r,a.line);if(c=h==n.view.length-1?(l=n.viewTo-1,n.lineDiv.lastChild):(l=ft(n.view[h+1].line)-1,n.view[h+1].node.previousSibling),!i)return!1;for(var u=r.doc.splitLines(function(l,t,e,c,h){var i="",u=!1,f=l.doc.lineSeparator(),d=!1;function p(){u&&(i+=f,d&&(i+=f),u=d=!1)}function m(t){t&&(p(),i+=t)}function g(t){if(1==t.nodeType){var e=t.getAttribute("cm-text");if(e)return void m(e);var i,r=t.getAttribute("cm-marker");if(r){var n=l.findMarks(gt(c,0),gt(h+1,0),(a=+r,function(t){return t.id==a}));return void(n.length&&(i=n[0].find(0))&&m(ct(l.doc,i.from,i.to).join(f)))}if("false"==t.getAttribute("contenteditable"))return;var o=/^(pre|div|p|li|table|br)$/i.test(t.nodeName);if(!/^br$/i.test(t.nodeName)&&0==t.textContent.length)return;o&&p();for(var s=0;s<t.childNodes.length;s++)g(t.childNodes[s]);/^(pre|p)$/i.test(t.nodeName)&&(d=!0),o&&(u=!0)}else 3==t.nodeType&&m(t.nodeValue.replace(/\u200b/g,"").replace(/\u00a0/g," "));var a}for(;g(t),t!=e;)t=t.nextSibling,d=!1;return i}(r,i,c,e,l)),f=ct(r.doc,gt(e,0),gt(l,lt(r.doc,l).text.length));1<u.length&&1<f.length;)if($(u)==$(f))u.pop(),f.pop(),l--;else{if(u[0]!=f[0])break;u.shift(),f.shift(),e++}for(var d=0,p=0,m=u[0],g=f[0],_=Math.min(m.length,g.length);d<_&&m.charCodeAt(d)==g.charCodeAt(d);)++d;for(var v=$(u),y=$(f),x=Math.min(v.length-(1==u.length?d:0),y.length-(1==f.length?d:0));p<x&&v.charCodeAt(v.length-p-1)==y.charCodeAt(y.length-p-1);)++p;if(1==u.length&&1==f.length&&e==s.line)for(;d&&d>s.ch&&v.charCodeAt(v.length-p-1)==y.charCodeAt(y.length-p-1);)d--,p++;u[u.length-1]=v.slice(0,v.length-p).replace(/^\u200b+/,""),u[0]=u[0].slice(d).replace(/\u200b+$/,"");var T=gt(e,d),k=gt(l,f.length?$(f).length-p:0);return 1<u.length||u[0]||_t(T,k)?(ho(r.doc,u,T,k,"+input"),!0):void 0},Ms.prototype.ensurePolled=function(){this.forceCompositionEnd()},Ms.prototype.reset=function(){this.forceCompositionEnd()},Ms.prototype.forceCompositionEnd=function(){this.composing&&(clearTimeout(this.readDOMTimeout),this.composing=null,this.updateFromDOM(),this.div.blur(),this.div.focus())},Ms.prototype.readFromDOMSoon=function(){var t=this;null==this.readDOMTimeout&&(this.readDOMTimeout=setTimeout(function(){if(t.readDOMTimeout=null,t.composing){if(!t.composing.done)return;t.composing=null}t.updateFromDOM()},80))},Ms.prototype.updateFromDOM=function(){var t=this;!this.cm.isReadOnly()&&this.pollContent()||$r(this.cm,function(){return Jr(t.cm)})},Ms.prototype.setUneditable=function(t){t.contentEditable="false"},Ms.prototype.onKeyPress=function(t){0==t.charCode||this.composing||(t.preventDefault(),this.cm.isReadOnly()||Qr(this.cm,Cs)(this.cm,String.fromCharCode(null==t.charCode?t.keyCode:t.charCode),0))},Ms.prototype.readOnlyChanged=function(t){this.div.contentEditable=String("nocursor"!=t)},Ms.prototype.onContextMenu=function(){},Ms.prototype.resetPosition=function(){},Ms.prototype.needsContentAttribute=!0;function Us(t){this.cm=t,this.prevInput="",this.pollingFast=!1,this.polling=new U,this.hasSelection=!1,this.composing=null}var Hs,Ws,zs,qs,Gs;function js(t,e,r,i){qs.defaults[t]=e,r&&(Gs[t]=i?function(t,e,i){i!=ms&&r(t,e,i)}:r)}Us.prototype.init=function(e){var t=this,i=this,r=this.cm;this.createField(e);var n=this.textarea;function o(t){if(!ue(r,t)){if(r.somethingSelected())Es({lineWise:!1,text:r.getSelections()});else{if(!r.options.lineWiseCopyCut)return;var e=Ls(r);Es({lineWise:!0,text:e.text}),"cut"==t.type?r.setSelections(e.ranges,null,q):(i.prevInput="",n.value=e.text.join("\n"),D(n))}"cut"==t.type&&(r.state.cutIncoming=!0)}}e.wrapper.insertBefore(this.wrapper,e.wrapper.firstChild),h&&(n.style.width="0px"),ae(n,"input",function(){T&&9<=k&&t.hasSelection&&(t.hasSelection=null),i.poll()}),ae(n,"paste",function(t){ue(r,t)||Ss(t,r)||(r.state.pasteIncoming=!0,i.fastPoll())}),ae(n,"cut",o),ae(n,"copy",o),ae(e.scroller,"paste",function(t){wi(e,t)||ue(r,t)||(r.state.pasteIncoming=!0,i.focus())}),ae(e.lineSpace,"selectstart",function(t){wi(e,t)||me(t)}),ae(n,"compositionstart",function(){var t=r.getCursor("from");i.composing&&i.composing.range.clear(),i.composing={start:t,range:r.markText(t,r.getCursor("to"),{className:"CodeMirror-composing"})}}),ae(n,"compositionend",function(){i.composing&&(i.poll(),i.composing.range.clear(),i.composing=null)})},Us.prototype.createField=function(t){this.wrapper=Os(),this.textarea=this.wrapper.firstChild},Us.prototype.prepareSelection=function(){var t=this.cm,e=t.display,i=t.doc,r=fr(t);if(t.options.moveInputWithCursor){var n=$i(t,i.sel.primary().head,"div"),o=e.wrapper.getBoundingClientRect(),s=e.lineDiv.getBoundingClientRect();r.teTop=Math.max(0,Math.min(e.wrapper.clientHeight-10,n.top+s.top-o.top)),r.teLeft=Math.max(0,Math.min(e.wrapper.clientWidth-10,n.left+s.left-o.left))}return r},Us.prototype.showSelection=function(t){var e=this.cm.display;A(e.cursorDiv,t.cursors),A(e.selectionDiv,t.selection),null!=t.teTop&&(this.wrapper.style.top=t.teTop+"px",this.wrapper.style.left=t.teLeft+"px")},Us.prototype.reset=function(t){if(!this.contextMenuPending&&!this.composing){var e=this.cm;if(e.somethingSelected()){this.prevInput="";var i=e.getSelection();this.textarea.value=i,e.state.focused&&D(this.textarea),T&&9<=k&&(this.hasSelection=i)}else t||(this.prevInput=this.textarea.value="",T&&9<=k&&(this.hasSelection=null))}},Us.prototype.getField=function(){return this.textarea},Us.prototype.supportsTouch=function(){return!1},Us.prototype.focus=function(){if("nocursor"!=this.cm.options.readOnly&&(!f||I()!=this.textarea))try{this.textarea.focus()}catch(t){}},Us.prototype.blur=function(){this.textarea.blur()},Us.prototype.resetPosition=function(){this.wrapper.style.top=this.wrapper.style.left=0},Us.prototype.receivedFocus=function(){this.slowPoll()},Us.prototype.slowPoll=function(){var t=this;this.pollingFast||this.polling.set(this.cm.options.pollInterval,function(){t.poll(),t.cm.state.focused&&t.slowPoll()})},Us.prototype.fastPoll=function(){var e=!1,i=this;i.pollingFast=!0,i.polling.set(20,function t(){i.poll()||e?(i.pollingFast=!1,i.slowPoll()):(e=!0,i.polling.set(60,t))})},Us.prototype.poll=function(){var t=this,e=this.cm,i=this.textarea,r=this.prevInput;if(this.contextMenuPending||!e.state.focused||Ae(i)&&!r&&!this.composing||e.isReadOnly()||e.options.disableInput||e.state.keySeq)return!1;var n=i.value;if(n==r&&!e.somethingSelected())return!1;if(T&&9<=k&&this.hasSelection===n||x&&/[\uf700-\uf7ff]/.test(n))return e.display.input.reset(),!1;if(e.doc.sel==e.display.selForContextMenu){var o=n.charCodeAt(0);if(8203!=o||r||(r=""),8666==o)return this.reset(),this.cm.execCommand("undo")}for(var s=0,a=Math.min(r.length,n.length);s<a&&r.charCodeAt(s)==n.charCodeAt(s);)++s;return $r(e,function(){Cs(e,n.slice(s),r.length-s,null,t.composing?"*compose":null),1e3<n.length||-1<n.indexOf("\n")?i.value=t.prevInput="":t.prevInput=n,t.composing&&(t.composing.range.clear(),t.composing.range=e.markText(t.composing.start,e.getCursor("to"),{className:"CodeMirror-composing"}))}),!0},Us.prototype.ensurePolled=function(){this.pollingFast&&this.poll()&&(this.pollingFast=!1)},Us.prototype.onKeyPress=function(){T&&9<=k&&(this.hasSelection=null),this.fastPoll()},Us.prototype.onContextMenu=function(t){var i=this,r=i.cm,n=r.display,o=i.textarea,e=cr(r,t),s=n.scroller.scrollTop;if(e&&!g){r.options.resetSelectionOnContextMenu&&-1==r.doc.sel.contains(e)&&Qr(r,$n)(r.doc,kn(e),q);var a=o.style.cssText,l=i.wrapper.style.cssText;i.wrapper.style.cssText="position: absolute";var c,h=i.wrapper.getBoundingClientRect();if(o.style.cssText="position: absolute; width: 30px; height: 30px;\n top: "+(t.clientY-h.top-5)+"px; left: "+(t.clientX-h.left-5)+"px;\n z-index: 1000; background: "+(T?"rgba(255, 255, 255, .05)":"transparent")+";\n outline: none; border-width: 0; outline: none; overflow: hidden; opacity: .05; filter: alpha(opacity=5);",y&&(c=window.scrollY),n.input.focus(),y&&window.scrollTo(null,c),n.input.reset(),r.somethingSelected()||(o.value=i.prevInput=" "),i.contextMenuPending=!0,n.selForContextMenu=r.doc.sel,clearTimeout(n.detectingSelectAll),T&&9<=k&&f(),b){ve(t);var u=function(){ce(window,"mouseup",u),setTimeout(d,20)};ae(window,"mouseup",u)}else setTimeout(d,50)}function f(){if(null!=o.selectionStart){var t=r.somethingSelected(),e=""+(t?o.value:"");o.value="⇚",o.value=e,i.prevInput=t?"":"",o.selectionStart=1,o.selectionEnd=e.length,n.selForContextMenu=r.doc.sel}}function d(){if(i.contextMenuPending=!1,i.wrapper.style.cssText=l,o.style.cssText=a,T&&k<9&&n.scrollbars.setScrollTop(n.scroller.scrollTop=s),null!=o.selectionStart){(!T||T&&k<9)&&f();var t=0,e=function(){n.selForContextMenu==r.doc.sel&&0==o.selectionStart&&0<o.selectionEnd&&""==i.prevInput?Qr(r,ro)(r):t++<10?n.detectingSelectAll=setTimeout(e,500):(n.selForContextMenu=null,n.input.reset())};n.detectingSelectAll=setTimeout(e,200)}}},Us.prototype.readOnlyChanged=function(t){t||this.reset(),this.textarea.disabled="nocursor"==t},Us.prototype.setUneditable=function(){},Us.prototype.needsContentAttribute=!1,Gs=(qs=Ts).optionHandlers,qs.defineOption=js,qs.Init=ms,js("value","",function(t,e){return t.setValue(e)},!0),js("mode",null,function(t,e){t.doc.modeOption=e,Sn(t)},!0),js("indentUnit",2,Sn,!0),js("indentWithTabs",!1),js("smartIndent",!0),js("tabSize",4,function(t){An(t),zi(t),Jr(t)},!0),js("lineSeparator",null,function(t,r){if(t.doc.lineSep=r){var n=[],o=t.doc.first;t.doc.iter(function(t){for(var e=0;;){var i=t.text.indexOf(r,e);if(-1==i)break;e=i+r.length,n.push(gt(o,i))}o++});for(var e=n.length-1;0<=e;e--)ho(t.doc,r,n[e],gt(n[e].line,n[e].ch+r.length))}}),js("specialChars",/[\u0000-\u001f\u007f-\u009f\u00ad\u061c\u200b-\u200f\u2028\u2029\ufeff]/g,function(t,e,i){t.state.specialChars=new RegExp(e.source+(e.test("\t")?"":"|\t"),"g"),i!=ms&&t.refresh()}),js("specialCharPlaceholder",ri,function(t){return t.refresh()},!0),js("electricChars",!0),js("inputStyle",f?"contenteditable":"textarea",function(){throw new Error("inputStyle can not (yet) be changed in a running editor")},!0),js("spellcheck",!1,function(t,e){return t.getInputField().spellcheck=e},!0),js("rtlMoveVisually",!d),js("wholeLineUpdateBefore",!0),js("theme","default",function(t){ps(t),vs(t)},!0),js("keyMap","default",function(t,e,i){var r=Go(e),n=i!=ms&&Go(i);n&&n.detach&&n.detach(t,r),r.attach&&r.attach(t,n||null)}),js("extraKeys",null),js("configureMouse",null),js("lineWrapping",!1,xs,!0),js("gutters",[],function(t){pn(t.options),vs(t)},!0),js("fixedGutter",!0,function(t,e){t.display.gutters.style.left=e?sr(t.display)+"px":"0",t.refresh()},!0),js("coverGutterNextToScrollbar",!1,function(t){return Fr(t)},!0),js("scrollbarStyle","native",function(t){Wr(t),Fr(t),t.display.scrollbars.setScrollTop(t.doc.scrollTop),t.display.scrollbars.setScrollLeft(t.doc.scrollLeft)},!0),js("lineNumbers",!1,function(t){pn(t.options),vs(t)},!0),js("firstLineNumber",1,vs,!0),js("lineNumberFormatter",function(t){return t},vs,!0),js("showCursorWhenSelecting",!1,ur,!0),js("resetSelectionOnContextMenu",!0),js("lineWiseCopyCut",!0),js("pasteLinesPerSelection",!0),js("selectionsMayTouch",!1),js("readOnly",!1,function(t,e){"nocursor"==e&&(xr(t),t.display.input.blur()),t.display.input.readOnlyChanged(e)}),js("disableInput",!1,function(t,e){e||t.display.input.reset()},!0),js("dragDrop",!0,ys),js("allowDropFileTypes",null),js("cursorBlinkRate",530),js("cursorScrollMargin",0),js("cursorHeight",1,ur,!0),js("singleCursorHeightPerLine",!0,ur,!0),js("workTime",100),js("workDelay",100),js("flattenSpans",!0,An,!0),js("addModeClass",!1,An,!0),js("pollInterval",100),js("undoDepth",200,function(t,e){return t.doc.history.undoDepth=e}),js("historyEventDelay",1250),js("viewportMargin",10,function(t){return t.refresh()},!0),js("maxHighlightLength",1e4,An,!0),js("moveInputWithCursor",!0,function(t,e){e||t.display.input.resetPosition()}),js("tabindex",null,function(t,e){return t.display.input.getField().tabIndex=e||""}),js("autofocus",null),js("direction","ltr",function(t,e){return t.doc.setDirection(e)},!0),js("phrases",null),Ws=(Hs=Ts).optionHandlers,zs=Hs.helpers={},Hs.prototype={constructor:Hs,focus:function(){window.focus(),this.display.input.focus()},setOption:function(t,e){var i=this.options,r=i[t];i[t]==e&&"mode"!=t||(i[t]=e,Ws.hasOwnProperty(t)&&Qr(this,Ws[t])(this,e,r),he(this,"optionChange",this,t))},getOption:function(t){return this.options[t]},getDoc:function(){return this.doc},addKeyMap:function(t,e){this.state.keyMaps[e?"push":"unshift"](Go(t))},removeKeyMap:function(t){for(var e=this.state.keyMaps,i=0;i<e.length;++i)if(e[i]==t||e[i].name==t)return e.splice(i,1),!0},addOverlay:Xr(function(t,e){var i=t.token?t:Hs.getMode(this.options,t);if(i.startState)throw new Error("Overlays may not be stateful.");!function(t,e,i){for(var r=0,n=i(e);r<t.length&&i(t[r])<=n;)r++;t.splice(r,0,e)}(this.state.overlays,{mode:i,modeSpec:t,opaque:e&&e.opaque,priority:e&&e.priority||0},function(t){return t.priority}),this.state.modeGen++,Jr(this)}),removeOverlay:Xr(function(t){for(var e=this.state.overlays,i=0;i<e.length;++i){var r=e[i].modeSpec;if(r==t||"string"==typeof t&&r.name==t)return e.splice(i,1),this.state.modeGen++,void Jr(this)}}),indentLine:Xr(function(t,e,i){"string"!=typeof e&&"number"!=typeof e&&(e=null==e?this.options.smartIndent?"smart":"prev":e?"add":"subtract"),pt(this.doc,t)&&bs(this,t,e,i)}),indentSelection:Xr(function(t){for(var e=this.doc.sel.ranges,i=-1,r=0;r<e.length;r++){var n=e[r];if(n.empty())n.head.line>i&&(bs(this,n.head.line,t,!0),i=n.head.line,r==this.doc.sel.primIndex&&Ar(this));else{var o=n.from(),s=n.to(),a=Math.max(i,o.line);i=Math.min(this.lastLine(),s.line-(s.ch?0:1))+1;for(var l=a;l<i;++l)bs(this,l,t);var c=this.doc.sel.ranges;0==o.ch&&e.length==c.length&&0<c[r].from().ch&&Vn(this.doc,r,new xn(o,c[r].to()),q)}}}),getTokenAt:function(t,e){return $e(this,t,e)},getLineTokens:function(t,e){return $e(this,gt(t),e,!0)},getTokenTypeAt:function(t){t=bt(this.doc,t);var e,i=qe(this,lt(this.doc,t.line)),r=0,n=(i.length-1)/2,o=t.ch;if(0==o)e=i[2];else for(;;){var s=r+n>>1;if((s?i[2*s-1]:0)>=o)n=s;else{if(!(i[2*s+1]<o)){e=i[2*s+2];break}r=1+s}}var a=e?e.indexOf("overlay "):-1;return a<0?e:0==a?null:e.slice(0,a-1)},getModeAt:function(t){var e=this.doc.mode;return e.innerMode?Hs.innerMode(e,this.getTokenAt(t).state).mode:e},getHelper:function(t,e){return this.getHelpers(t,e)[0]},getHelpers:function(t,e){var i=[];if(!zs.hasOwnProperty(e))return i;var r=zs[e],n=this.getModeAt(t);if("string"==typeof n[e])r[n[e]]&&i.push(r[n[e]]);else if(n[e])for(var o=0;o<n[e].length;o++){var s=r[n[e][o]];s&&i.push(s)}else n.helperType&&r[n.helperType]?i.push(r[n.helperType]):r[n.name]&&i.push(r[n.name]);for(var a=0;a<r._global.length;a++){var l=r._global[a];l.pred(n,this)&&-1==H(i,l.val)&&i.push(l.val)}return i},getStateAfter:function(t,e){var i=this.doc;return Ge(this,(t=kt(i,null==t?i.first+i.size-1:t))+1,e).state},cursorCoords:function(t,e){var i=this.doc.sel.primary();return $i(this,null==t?i.head:"object"==typeof t?bt(this.doc,t):t?i.from():i.to(),e||"page")},charCoords:function(t,e){return Ki(this,bt(this.doc,t),e||"page")},coordsChar:function(t,e){return Zi(this,(t=Yi(this,t,e||"page")).left,t.top)},lineAtHeight:function(t,e){return t=Yi(this,{top:t,left:0},e||"page").top,dt(this.doc,t+this.display.viewOffset)},heightAtLine:function(t,e,i){var r,n=!1;if("number"==typeof t){var o=this.doc.first+this.doc.size-1;t<this.doc.first?t=this.doc.first:o<t&&(t=o,n=!0),r=lt(this.doc,t)}else r=t;return Vi(this,r,{top:0,left:0},e||"page",i||n).top+(n?this.doc.height-Yt(r):0)},defaultTextHeight:function(){return rr(this.display)},defaultCharWidth:function(){return nr(this.display)},getViewport:function(){return{from:this.display.viewFrom,to:this.display.viewTo}},addWidget:function(t,e,i,r,n){var o,s=this.display,a=(t=$i(this,bt(this.doc,t))).bottom,l=t.left;if(e.style.position="absolute",e.setAttribute("cm-ignore-events","true"),this.display.input.setUneditable(e),s.sizer.appendChild(e),"over"==r)a=t.top;else if("above"==r||"near"==r){var c=Math.max(s.wrapper.clientHeight,this.doc.height),h=Math.max(s.sizer.clientWidth,s.lineSpace.clientWidth);("above"==r||t.bottom+e.offsetHeight>c)&&t.top>e.offsetHeight?a=t.top-e.offsetHeight:t.bottom+e.offsetHeight<=c&&(a=t.bottom),l+e.offsetWidth>h&&(l=h-e.offsetWidth)}e.style.top=a+"px",e.style.left=e.style.right="","right"==n?(l=s.sizer.clientWidth-e.offsetWidth,e.style.right="0px"):("left"==n?l=0:"middle"==n&&(l=(s.sizer.clientWidth-e.offsetWidth)/2),e.style.left=l+"px"),i&&(null!=(o=Cr(this,{left:l,top:a,right:l+e.offsetWidth,bottom:a+e.offsetHeight})).scrollTop&&Ir(this,o.scrollTop),null!=o.scrollLeft&&Mr(this,o.scrollLeft))},triggerOnKeyDown:Xr(ns),triggerOnKeyPress:Xr(ss),triggerOnKeyUp:os,triggerOnMouseDown:Xr(hs),execCommand:function(t){if($o.hasOwnProperty(t))return $o[t].call(null,this)},triggerElectric:Xr(function(t){As(this,t)}),findPosH:function(t,e,i,r){var n=1;e<0&&(n=-1,e=-e);for(var o=bt(this.doc,t),s=0;s<e&&!(o=Is(this.doc,o,n,i,r)).hitSide;++s);return o},moveH:Xr(function(e,i){var r=this;this.extendSelectionsBy(function(t){return r.display.shift||r.doc.extend||t.empty()?Is(r.doc,t.head,e,i,r.options.rtlMoveVisually):e<0?t.from():t.to()},j)}),deleteH:Xr(function(i,r){var t=this.doc.sel,n=this.doc;t.somethingSelected()?n.replaceSelection("",null,"+delete"):jo(this,function(t){var e=Is(n,t.head,i,r,!1);return i<0?{from:e,to:t.head}:{from:t.head,to:e}})}),findPosV:function(t,e,i,r){var n=1,o=r;e<0&&(n=-1,e=-e);for(var s=bt(this.doc,t),a=0;a<e;++a){var l=$i(this,s,"div");if(null==o?o=l.left:l.left=o,(s=Rs(this,l,n,i)).hitSide)break}return s},moveV:Xr(function(r,n){var o=this,s=this.doc,a=[],l=!this.display.shift&&!s.extend&&s.sel.somethingSelected();if(s.extendSelectionsBy(function(t){if(l)return r<0?t.from():t.to();var e=$i(o,t.head,"div");null!=t.goalColumn&&(e.left=t.goalColumn),a.push(e.left);var i=Rs(o,e,r,n);return"page"==n&&t==s.sel.primary()&&Sr(o,Ki(o,i,"div").top-e.top),i},j),a.length)for(var t=0;t<s.sel.ranges.length;t++)s.sel.ranges[t].goalColumn=a[t]}),findWordAt:function(t){var e=lt(this.doc,t.line).text,i=t.ch,r=t.ch;if(e){var n=this.getHelper(t,"wordChars");"before"!=t.sticky&&r!=e.length||!i?++r:--i;for(var o=e.charAt(i),s=et(o,n)?function(t){return et(t,n)}:/\s/.test(o)?function(t){return/\s/.test(t)}:function(t){return!/\s/.test(t)&&!et(t)};0<i&&s(e.charAt(i-1));)--i;for(;r<e.length&&s(e.charAt(r));)++r}return new xn(gt(t.line,i),gt(t.line,r))},toggleOverwrite:function(t){null!=t&&t==this.state.overwrite||((this.state.overwrite=!this.state.overwrite)?R(this.display.cursorDiv,"CodeMirror-overwrite"):C(this.display.cursorDiv,"CodeMirror-overwrite"),he(this,"overwriteToggle",this,this.state.overwrite))},hasFocus:function(){return this.display.input.getField()==I()},isReadOnly:function(){return!(!this.options.readOnly&&!this.doc.cantEdit)},scrollTo:Xr(function(t,e){Lr(this,t,e)}),getScrollInfo:function(){var t=this.display.scroller;return{left:t.scrollLeft,top:t.scrollTop,height:t.scrollHeight-Ai(this)-this.display.barHeight,width:t.scrollWidth-Ai(this)-this.display.barWidth,clientHeight:Ni(this),clientWidth:Li(this)}},scrollIntoView:Xr(function(t,e){var i;null==t?(t={from:this.doc.sel.primary().head,to:null},null==e&&(e=this.options.cursorScrollMargin)):"number"==typeof t?t={from:gt(t,0),to:null}:null==t.from&&(t={from:t,to:null}),t.to||(t.to=t.from),t.margin=e||0,null!=t.from.line?(i=t,Nr(this),this.curOp.scrollToPos=i):Or(this,t.from,t.to,t.margin)}),setSize:Xr(function(t,e){function i(t){return"number"==typeof t||/^\d+$/.test(String(t))?t+"px":t}var r=this;null!=t&&(this.display.wrapper.style.width=i(t)),null!=e&&(this.display.wrapper.style.height=i(e)),this.options.lineWrapping&&Wi(this);var n=this.display.viewFrom;this.doc.iter(n,this.display.viewTo,function(t){if(t.widgets)for(var e=0;e<t.widgets.length;e++)if(t.widgets[e].noHScroll){tn(r,n,"widget");break}++n}),this.curOp.forceUpdate=!0,he(this,"refresh",this)}),operation:function(t){return $r(this,t)},startOperation:function(){return qr(this)},endOperation:function(){return Gr(this)},refresh:Xr(function(){var t=this.display.cachedTextHeight;Jr(this),this.curOp.forceUpdate=!0,zi(this),Lr(this,this.doc.scrollLeft,this.doc.scrollTop),un(this),(null==t||.5<Math.abs(t-rr(this.display)))&&lr(this),he(this,"refresh",this)}),swapDoc:Xr(function(t){var e=this.doc;return e.cm=null,In(this,t),zi(this),this.display.input.reset(),Lr(this,t.scrollLeft,t.scrollTop),this.curOp.forceScroll=!0,fi(this,"swapDoc",this,e),e}),phrase:function(t){var e=this.options.phrases;return e&&Object.prototype.hasOwnProperty.call(e,t)?e[t]:t},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}},pe(Hs),Hs.registerHelper=function(t,e,i){zs.hasOwnProperty(t)||(zs[t]=Hs[t]={_global:[]}),zs[t][e]=i},Hs.registerGlobalHelper=function(t,e,i,r){Hs.registerHelper(t,e,r),zs[t]._global.push({pred:i,val:r})};var Vs,Ys="iter insert remove copy getEditor constructor".split(" ");for(var Ks in So.prototype)So.prototype.hasOwnProperty(Ks)&&H(Ys,Ks)<0&&(Ts.prototype[Ks]=function(t){return function(){return t.apply(this.doc,arguments)}}(So.prototype[Ks]));return pe(So),Ts.inputStyles={textarea:Us,contenteditable:Ms},Ts.defineMode=function(t){Ts.defaults.mode||"null"==t||(Ts.defaults.mode=t),function(t,e){2<arguments.length&&(e.dependencies=Array.prototype.slice.call(arguments,2)),Oe[t]=e}.apply(this,arguments)},Ts.defineMIME=function(t,e){Ie[t]=e},Ts.defineMode("null",function(){return{token:function(t){return t.skipToEnd()}}}),Ts.defineMIME("text/plain","null"),Ts.defineExtension=function(t,e){Ts.prototype[t]=e},Ts.defineDocExtension=function(t,e){So.prototype[t]=e},Ts.fromTextArea=function(e,t){if((t=t?B(t):{}).value=e.value,!t.tabindex&&e.tabIndex&&(t.tabindex=e.tabIndex),!t.placeholder&&e.placeholder&&(t.placeholder=e.placeholder),null==t.autofocus){var i=I();t.autofocus=i==e||null!=e.getAttribute("autofocus")&&i==document.body}function r(){e.value=a.getValue()}var n;if(e.form&&(ae(e.form,"submit",r),!t.leaveSubmitMethodAlone)){var o=e.form;n=o.submit;try{var s=o.submit=function(){r(),o.submit=n,o.submit(),o.submit=s}}catch(t){}}t.finishInit=function(t){t.save=r,t.getTextArea=function(){return e},t.toTextArea=function(){t.toTextArea=isNaN,r(),e.parentNode.removeChild(t.getWrapperElement()),e.style.display="",e.form&&(ce(e.form,"submit",r),"function"==typeof e.form.submit&&(e.form.submit=n))}},e.style.display="none";var a=Ts(function(t){return e.parentNode.insertBefore(t,e.nextSibling)},t);return a},(Vs=Ts).off=ce,Vs.on=ae,Vs.wheelEventPixels=function(t){var e=_n(t);return e.x*=gn,e.y*=gn,e},Vs.Doc=So,Vs.splitLines=Se,Vs.countColumn=F,Vs.findColumn=V,Vs.isWordChar=tt,Vs.Pass=z,Vs.signal=he,Vs.Line=Ze,Vs.changeEnd=bn,Vs.scrollbarModel=Hr,Vs.Pos=gt,Vs.cmpPos=_t,Vs.modes=Oe,Vs.mimeModes=Ie,Vs.resolveMode=Re,Vs.getMode=Me,Vs.modeExtensions=De,Vs.extendMode=function(t,e){B(e,De.hasOwnProperty(t)?De[t]:De[t]={})},Vs.copyState=Pe,Vs.startState=Fe,Vs.innerMode=Be,Vs.commands=$o,Vs.keyMap=Fo,Vs.keyName=qo,Vs.isModifierKey=Wo,Vs.lookupKey=Ho,Vs.normalizeKeyMap=function(t){var e={};for(var i in t)if(t.hasOwnProperty(i)){var r=t[i];if(/^(name|fallthrough|(de|at)tach)$/.test(i))continue;if("..."==r){delete t[i];continue}for(var n=Q(i.split(" "),Uo),o=0;o<n.length;o++){var s,a=void 0;s=o==n.length-1?(a=n.join(" "),r):(a=n.slice(0,o+1).join(" "),"...");var l=e[a];if(l){if(l!=s)throw new Error("Inconsistent bindings for "+a)}else e[a]=s}delete t[i]}for(var c in e)t[c]=e[c];return t},Vs.StringStream=Ue,Vs.SharedTextMarker=bo,Vs.TextMarker=To,Vs.LineWidget=vo,Vs.e_preventDefault=me,Vs.e_stopPropagation=ge,Vs.e_stop=ve,Vs.addClass=R,Vs.contains=O,Vs.rmClass=C,Vs.keyNames=Mo,Ts.version="5.42.0",Ts},"object"==typeof i&&void 0!==e?e.exports=r():"function"==typeof define&&define.amd?define(r):this.CodeMirror=r()},{}],13:[function(t,e,i){var r;r=function(N){"use strict";function O(t,e,i,r,n,o){this.indented=t,this.column=e,this.type=i,this.info=r,this.align=n,this.prev=o}function I(t,e,i,r){var n=t.indented;return t.context&&"statement"==t.context.type&&"statement"!=i&&(n=t.context.indented),t.context=new O(n,e,i,r,null,t.context)}function R(t){var e=t.context.type;return")"!=e&&"]"!=e&&"}"!=e||(t.indented=t.context.indented),t.context=t.context.prev}function M(t,e,i){return"variable"==e.prevToken||"type"==e.prevToken||!!/\S(?:[^- ]>|[*\]])\s*$|\*$/.test(t.string.slice(0,i))||!(!e.typeAtEndOfLine||t.column()!=t.indentation())||void 0}function D(t){for(;;){if(!t||"top"==t.type)return!0;if("}"==t.type&&"namespace"!=t.prev.info)return!1;t=t.prev}}function t(t){for(var e={},i=t.split(" "),r=0;r<i.length;++r)e[i[r]]=!0;return e}function P(t,e){return"function"==typeof t?t(e):t.propertyIsEnumerable(e)}N.defineMode("clike",function(t,a){var s,l,c=t.indentUnit,h=a.statementIndentUnit||c,u=a.dontAlignCalls,f=a.keywords||{},d=a.types||{},p=a.builtin||{},m=a.blockKeywords||{},g=a.defKeywords||{},_=a.atoms||{},v=a.hooks||{},y=a.multiLineStrings,o=!1!==a.indentStatements,e=!1!==a.indentSwitch,x=a.namespaceSeparator,T=a.isPunctuationChar||/[\[\]{}\(\),;\:\.]/,k=a.numberStart||/[\d\.]/,b=a.number||/^(?:0x[a-f\d]+|0b[01]+|(?:\d+\.?\d*|\.\d+)(?:e[-+]?\d+)?)(u|ll?|l|f)?/i,w=a.isOperatorChar||/[+\-*&%=<>!?|\/]/,E=a.isIdentifierChar||/[\w\$_\xa1-\uffff]/,C=a.isReservedIdentifier||!1;function S(t,e){var o,i=t.next();if(v[i]){var r=v[i](t,e);if(!1!==r)return r}if('"'==i||"'"==i)return e.tokenize=(o=i,function(t,e){for(var i,r=!1,n=!1;null!=(i=t.next());){if(i==o&&!r){n=!0;break}r=!r&&"\\"==i}return!n&&(r||y)||(e.tokenize=null),"string"}),e.tokenize(t,e);if(T.test(i))return s=i,null;if(k.test(i)){if(t.backUp(1),t.match(b))return"number";t.next()}if("/"==i){if(t.eat("*"))return(e.tokenize=A)(t,e);if(t.eat("/"))return t.skipToEnd(),"comment"}if(w.test(i)){for(;!t.match(/^\/[\/*]/,!1)&&t.eat(w););return"operator"}if(t.eatWhile(E),x)for(;t.match(x);)t.eatWhile(E);var n=t.current();return P(f,n)?(P(m,n)&&(s="newstatement"),P(g,n)&&(l=!0),"keyword"):P(d,n)?"type":P(p,n)||C&&C(n)?(P(m,n)&&(s="newstatement"),"builtin"):P(_,n)?"atom":"variable"}function A(t,e){for(var i,r=!1;i=t.next();){if("/"==i&&r){e.tokenize=null;break}r="*"==i}return"comment"}function L(t,e){a.typeFirstDefinitions&&t.eol()&&D(e.context)&&(e.typeAtEndOfLine=M(t,e,t.pos))}return{startState:function(t){return{tokenize:null,context:new O((t||0)-c,0,"top",null,!1),indented:0,startOfLine:!0,prevToken:null}},token:function(t,e){var i=e.context;if(t.sol()&&(null==i.align&&(i.align=!1),e.indented=t.indentation(),e.startOfLine=!0),t.eatSpace())return L(t,e),null;s=l=null;var r=(e.tokenize||S)(t,e);if("comment"==r||"meta"==r)return r;if(null==i.align&&(i.align=!0),";"==s||":"==s||","==s&&t.match(/^\s*(?:\/\/.*)?$/,!1))for(;"statement"==e.context.type;)R(e);else if("{"==s)I(e,t.column(),"}");else if("["==s)I(e,t.column(),"]");else if("("==s)I(e,t.column(),")");else if("}"==s){for(;"statement"==i.type;)i=R(e);for("}"==i.type&&(i=R(e));"statement"==i.type;)i=R(e)}else s==i.type?R(e):o&&(("}"==i.type||"top"==i.type)&&";"!=s||"statement"==i.type&&"newstatement"==s)&&I(e,t.column(),"statement",t.current());if("variable"==r&&("def"==e.prevToken||a.typeFirstDefinitions&&M(t,e,t.start)&&D(e.context)&&t.match(/^\s*\(/,!1))&&(r="def"),v.token){var n=v.token(t,e,r);void 0!==n&&(r=n)}return"def"==r&&!1===a.styleDefs&&(r="variable"),e.startOfLine=!1,e.prevToken=l?"def":r||s,L(t,e),r},indent:function(t,e){if(t.tokenize!=S&&null!=t.tokenize||t.typeAtEndOfLine)return N.Pass;var i=t.context,r=e&&e.charAt(0),n=r==i.type;if("statement"==i.type&&"}"==r&&(i=i.prev),a.dontIndentStatements)for(;"statement"==i.type&&a.dontIndentStatements.test(i.info);)i=i.prev;if(v.indent){var o=v.indent(t,i,e,c);if("number"==typeof o)return o}var s=i.prev&&"switch"==i.prev.info;if(a.allmanIndentation&&/[{(]/.test(r)){for(;"top"!=i.type&&"}"!=i.type;)i=i.prev;return i.indented}return"statement"==i.type?i.indented+("{"==r?0:h):!i.align||u&&")"==i.type?")"!=i.type||n?i.indented+(n?0:c)+(n||!s||/^(?:case|default)\b/.test(e)?0:c):i.indented+h:i.column+(n?0:1)},electricInput:e?/^\s*(?:case .*?:|default:|\{\}?|\})$/:/^\s*[{}]$/,blockCommentStart:"/*",blockCommentEnd:"*/",blockCommentContinue:" * ",lineComment:"//",fold:"brace"}});var e="auto if break case register continue return default do sizeof static else struct switch extern typedef union for goto while enum const volatile inline restrict asm fortran",i=t("int long char short double float unsigned signed void bool"),r=t("SEL instancetype id Class Protocol BOOL");function n(t){return P(i,t)||/.+_t/.test(t)}var o="case do else for if switch while struct enum union",s="struct enum union";function a(t,e){if(!e.startOfLine)return!1;for(var i,r=null;i=t.peek();){if("\\"==i&&t.match(/^.$/)){r=a;break}if("/"==i&&t.match(/^\/[\/\*]/,!1))break;t.next()}return e.tokenize=r,"meta"}function l(t,e){return"type"==e.prevToken&&"type"}function c(t){return!(!t||t.length<2||"_"!=t[0]||"_"!=t[1]&&t[1]===t[1].toLowerCase())}function h(t){return t.eatWhile(/[\w\.']/),"number"}function u(t,e){if(t.backUp(1),t.match(/(R|u8R|uR|UR|LR)/)){var i=t.match(/"([^\s\\()]{0,16})\(/);return!!i&&(e.cpp11RawStringDelim=i[1],(e.tokenize=d)(t,e))}return t.match(/(u8|u|U|L)/)?!!t.match(/["']/,!1)&&"string":(t.next(),!1)}function f(t,e){for(var i;null!=(i=t.next());)if('"'==i&&!t.eat('"')){e.tokenize=null;break}return"string"}function d(t,e){var i=e.cpp11RawStringDelim.replace(/[^\w\s]/g,"\\$&");return t.match(new RegExp(".*?\\)"+i+'"'))?e.tokenize=null:t.skipToEnd(),"string"}function p(t,e){"string"==typeof t&&(t=[t]);var i=[];function r(t){if(t)for(var e in t)t.hasOwnProperty(e)&&i.push(e)}r(e.keywords),r(e.types),r(e.builtin),r(e.atoms),i.length&&(e.helperType=t[0],N.registerHelper("hintWords",t[0],i));for(var n=0;n<t.length;++n)N.defineMIME(t[n],e)}function m(t,e){for(var i=!1;!t.eol();){if(!i&&t.match('"""')){e.tokenize=null;break}i="\\"==t.next()&&!i}return"string"}p(["text/x-csrc","text/x-c","text/x-chdr"],{name:"clike",keywords:t(e),types:n,blockKeywords:t(o),defKeywords:t(s),typeFirstDefinitions:!0,atoms:t("NULL true false"),isReservedIdentifier:c,hooks:{"#":a,"*":l},modeProps:{fold:["brace","include"]}}),p(["text/x-c++src","text/x-c++hdr"],{name:"clike",keywords:t(e+"alignas alignof and and_eq audit axiom bitand bitor catch class compl concept constexpr const_cast decltype delete dynamic_cast explicit export final friend import module mutable namespace new noexcept not not_eq operator or or_eq override private protected public reinterpret_cast requires static_assert static_cast template this thread_local throw try typeid typename using virtual xor xor_eq"),types:n,blockKeywords:t(o+" class try catch"),defKeywords:t(s+" class namespace"),typeFirstDefinitions:!0,atoms:t("true false NULL nullptr"),dontIndentStatements:/^template$/,isIdentifierChar:/[\w\$_~\xa1-\uffff]/,isReservedIdentifier:c,hooks:{"#":a,"*":l,u:u,U:u,L:u,R:u,0:h,1:h,2:h,3:h,4:h,5:h,6:h,7:h,8:h,9:h,token:function(t,e,i){if("variable"==i&&"("==t.peek()&&(";"==e.prevToken||null==e.prevToken||"}"==e.prevToken)&&(r=t.current(),(n=/(\w+)::~?(\w+)$/.exec(r))&&n[1]==n[2]))return"def";var r,n}},namespaceSeparator:"::",modeProps:{fold:["brace","include"]}}),p("text/x-java",{name:"clike",keywords:t("abstract assert break case catch class const continue default do else enum extends final finally float for goto if implements import instanceof interface native new package private protected public return static strictfp super switch synchronized this throw throws transient try volatile while @interface"),types:t("byte short int long float double boolean char void Boolean Byte Character Double Float Integer Long Number Object Short String StringBuffer StringBuilder Void"),blockKeywords:t("catch class do else finally for if switch try while"),defKeywords:t("class interface enum @interface"),typeFirstDefinitions:!0,atoms:t("true false null"),number:/^(?:0x[a-f\d_]+|0b[01_]+|(?:[\d_]+\.?\d*|\.\d+)(?:e[-+]?[\d_]+)?)(u|ll?|l|f)?/i,hooks:{"@":function(t){return!t.match("interface",!1)&&(t.eatWhile(/[\w\$_]/),"meta")}},modeProps:{fold:["brace","import"]}}),p("text/x-csharp",{name:"clike",keywords:t("abstract as async await base break case catch checked class const continue default delegate do else enum event explicit extern finally fixed for foreach goto if implicit in interface internal is lock namespace new operator out override params private protected public readonly ref return sealed sizeof stackalloc static struct switch this throw try typeof unchecked unsafe using virtual void volatile while add alias ascending descending dynamic from get global group into join let orderby partial remove select set value var yield"),types:t("Action Boolean Byte Char DateTime DateTimeOffset Decimal Double Func Guid Int16 Int32 Int64 Object SByte Single String Task TimeSpan UInt16 UInt32 UInt64 bool byte char decimal double short int long object sbyte float string ushort uint ulong"),blockKeywords:t("catch class do else finally for foreach if struct switch try while"),defKeywords:t("class interface namespace struct var"),typeFirstDefinitions:!0,atoms:t("true false null"),hooks:{"@":function(t,e){return t.eat('"')?(e.tokenize=f)(t,e):(t.eatWhile(/[\w\$_]/),"meta")}}}),p("text/x-scala",{name:"clike",keywords:t("abstract case catch class def do else extends final finally for forSome if implicit import lazy match new null object override package private protected return sealed super this throw trait try type val var while with yield _ assert assume require print println printf readLine readBoolean readByte readShort readChar readInt readLong readFloat readDouble"),types:t("AnyVal App Application Array BufferedIterator BigDecimal BigInt Char Console Either Enumeration Equiv Error Exception Fractional Function IndexedSeq Int Integral Iterable Iterator List Map Numeric Nil NotNull Option Ordered Ordering PartialFunction PartialOrdering Product Proxy Range Responder Seq Serializable Set Specializable Stream StringBuilder StringContext Symbol Throwable Traversable TraversableOnce Tuple Unit Vector Boolean Byte Character CharSequence Class ClassLoader Cloneable Comparable Compiler Double Exception Float Integer Long Math Number Object Package Pair Process Runtime Runnable SecurityManager Short StackTraceElement StrictMath String StringBuffer System Thread ThreadGroup ThreadLocal Throwable Triple Void"),multiLineStrings:!0,blockKeywords:t("catch class enum do else finally for forSome if match switch try while"),defKeywords:t("class enum def object package trait type val var"),atoms:t("true false null"),indentStatements:!1,indentSwitch:!1,isOperatorChar:/[+\-*&%=<>!?|\/#:@]/,hooks:{"@":function(t){return t.eatWhile(/[\w\$_]/),"meta"},'"':function(t,e){return!!t.match('""')&&(e.tokenize=m,e.tokenize(t,e))},"'":function(t){return t.eatWhile(/[\w\$_\xa1-\uffff]/),"atom"},"=":function(t,e){var i=e.context;return!("}"!=i.type||!i.align||!t.eat(">"))&&(e.context=new O(i.indented,i.column,i.type,i.info,null,i.prev),"operator")},"/":function(t,e){return!!t.eat("*")&&(e.tokenize=function r(n){return function(t,e){for(var i;i=t.next();){if("*"==i&&t.eat("/")){if(1!=n)return e.tokenize=r(n-1),e.tokenize(t,e);e.tokenize=null;break}if("/"==i&&t.eat("*"))return e.tokenize=r(n+1),e.tokenize(t,e)}return"comment"}}(1),e.tokenize(t,e))}},modeProps:{closeBrackets:{pairs:'()[]{}""',triples:'"'}}}),p("text/x-kotlin",{name:"clike",keywords:t("package as typealias class interface this super val operator var fun for is in This throw return annotation break continue object if else while do try when !in !is as? file import where by get set abstract enum open inner override private public internal protected catch finally out final vararg reified dynamic companion constructor init sealed field property receiver param sparam lateinit data inline noinline tailrec external annotation crossinline const operator infix suspend actual expect setparam"),types:t("Boolean Byte Character CharSequence Class ClassLoader Cloneable Comparable Compiler Double Exception Float Integer Long Math Number Object Package Pair Process Runtime Runnable SecurityManager Short StackTraceElement StrictMath String StringBuffer System Thread ThreadGroup ThreadLocal Throwable Triple Void Annotation Any BooleanArray ByteArray Char CharArray DeprecationLevel DoubleArray Enum FloatArray Function Int IntArray Lazy LazyThreadSafetyMode LongArray Nothing ShortArray Unit"),intendSwitch:!1,indentStatements:!1,multiLineStrings:!0,number:/^(?:0x[a-f\d_]+|0b[01_]+|(?:[\d_]+(\.\d+)?|\.\d+)(?:e[-+]?[\d_]+)?)(u|ll?|l|f)?/i,blockKeywords:t("catch class do else finally for if where try while enum"),defKeywords:t("class val var object interface fun"),atoms:t("true false null this"),hooks:{"@":function(t){return t.eatWhile(/[\w\$_]/),"meta"},"*":function(t,e){return"."==e.prevToken?"variable":"operator"},'"':function(t,e){var o;return e.tokenize=(o=t.match('""'),function(t,e){for(var i,r=!1,n=!1;!t.eol();){if(!o&&!r&&t.match('"')){n=!0;break}if(o&&t.match('"""')){n=!0;break}i=t.next(),!r&&"$"==i&&t.match("{")&&t.skipTo("}"),r=!r&&"\\"==i&&!o}return!n&&o||(e.tokenize=null),"string"}),e.tokenize(t,e)},indent:function(t,e,i,r){var n=i&&i.charAt(0);return"}"!=t.prevToken&&")"!=t.prevToken||""!=i?"operator"==t.prevToken&&"}"!=i||"variable"==t.prevToken&&"."==n||("}"==t.prevToken||")"==t.prevToken)&&"."==n?2*r+e.indented:e.align&&"}"==e.type?e.indented+(t.context.type==(i||"").charAt(0)?0:r):void 0:t.indented}},modeProps:{closeBrackets:{triples:'"'}}}),p(["x-shader/x-vertex","x-shader/x-fragment"],{name:"clike",keywords:t("sampler1D sampler2D sampler3D samplerCube sampler1DShadow sampler2DShadow const attribute uniform varying break continue discard return for while do if else struct in out inout"),types:t("float int bool void vec2 vec3 vec4 ivec2 ivec3 ivec4 bvec2 bvec3 bvec4 mat2 mat3 mat4"),blockKeywords:t("for while do if else struct"),builtin:t("radians degrees sin cos tan asin acos atan pow exp log exp2 sqrt inversesqrt abs sign floor ceil fract mod min max clamp mix step smoothstep length distance dot cross normalize ftransform faceforward reflect refract matrixCompMult lessThan lessThanEqual greaterThan greaterThanEqual equal notEqual any all not texture1D texture1DProj texture1DLod texture1DProjLod texture2D texture2DProj texture2DLod texture2DProjLod texture3D texture3DProj texture3DLod texture3DProjLod textureCube textureCubeLod shadow1D shadow2D shadow1DProj shadow2DProj shadow1DLod shadow2DLod shadow1DProjLod shadow2DProjLod dFdx dFdy fwidth noise1 noise2 noise3 noise4"),atoms:t("true false gl_FragColor gl_SecondaryColor gl_Normal gl_Vertex gl_MultiTexCoord0 gl_MultiTexCoord1 gl_MultiTexCoord2 gl_MultiTexCoord3 gl_MultiTexCoord4 gl_MultiTexCoord5 gl_MultiTexCoord6 gl_MultiTexCoord7 gl_FogCoord gl_PointCoord gl_Position gl_PointSize gl_ClipVertex gl_FrontColor gl_BackColor gl_FrontSecondaryColor gl_BackSecondaryColor gl_TexCoord gl_FogFragCoord gl_FragCoord gl_FrontFacing gl_FragData gl_FragDepth gl_ModelViewMatrix gl_ProjectionMatrix gl_ModelViewProjectionMatrix gl_TextureMatrix gl_NormalMatrix gl_ModelViewMatrixInverse gl_ProjectionMatrixInverse gl_ModelViewProjectionMatrixInverse gl_TexureMatrixTranspose gl_ModelViewMatrixInverseTranspose gl_ProjectionMatrixInverseTranspose gl_ModelViewProjectionMatrixInverseTranspose gl_TextureMatrixInverseTranspose gl_NormalScale gl_DepthRange gl_ClipPlane gl_Point gl_FrontMaterial gl_BackMaterial gl_LightSource gl_LightModel gl_FrontLightModelProduct gl_BackLightModelProduct gl_TextureColor gl_EyePlaneS gl_EyePlaneT gl_EyePlaneR gl_EyePlaneQ gl_FogParameters gl_MaxLights gl_MaxClipPlanes gl_MaxTextureUnits gl_MaxTextureCoords gl_MaxVertexAttribs gl_MaxVertexUniformComponents gl_MaxVaryingFloats gl_MaxVertexTextureImageUnits gl_MaxTextureImageUnits gl_MaxFragmentUniformComponents gl_MaxCombineTextureImageUnits gl_MaxDrawBuffers"),indentSwitch:!1,hooks:{"#":a},modeProps:{fold:["brace","include"]}}),p("text/x-nesc",{name:"clike",keywords:t(e+" as atomic async call command component components configuration event generic implementation includes interface module new norace nx_struct nx_union post provides signal task uses abstract extends"),types:n,blockKeywords:t(o),atoms:t("null true false"),hooks:{"#":a},modeProps:{fold:["brace","include"]}}),p("text/x-objectivec",{name:"clike",keywords:t(e+" bycopy byref in inout oneway out self super atomic nonatomic retain copy readwrite readonly strong weak assign typeof nullable nonnull null_resettable _cmd @interface @implementation @end @protocol @encode @property @synthesize @dynamic @class @public @package @private @protected @required @optional @try @catch @finally @import @selector @encode @defs @synchronized @autoreleasepool @compatibility_alias @available"),types:function(t){return n(t)||P(r,t)},builtin:t("FOUNDATION_EXPORT FOUNDATION_EXTERN NS_INLINE NS_FORMAT_FUNCTION NS_RETURNS_RETAINED NS_ERROR_ENUM NS_RETURNS_NOT_RETAINED NS_RETURNS_INNER_POINTER NS_DESIGNATED_INITIALIZER NS_ENUM NS_OPTIONS NS_REQUIRES_NIL_TERMINATION NS_ASSUME_NONNULL_BEGIN NS_ASSUME_NONNULL_END NS_SWIFT_NAME NS_REFINED_FOR_SWIFT"),blockKeywords:t(o+" @synthesize @try @catch @finally @autoreleasepool @synchronized"),defKeywords:t(s+" @interface @implementation @protocol @class"),dontIndentStatements:/^@.*$/,typeFirstDefinitions:!0,atoms:t("YES NO NULL Nil nil true false nullptr"),isReservedIdentifier:c,hooks:{"#":a,"*":l},modeProps:{fold:["brace","include"]}}),p("text/x-squirrel",{name:"clike",keywords:t("base break clone continue const default delete enum extends function in class foreach local resume return this throw typeof yield constructor instanceof static"),types:n,blockKeywords:t("case catch class else for foreach if switch try while"),defKeywords:t("function local class"),typeFirstDefinitions:!0,atoms:t("true false null"),hooks:{"#":a},modeProps:{fold:["brace","include"]}});var g=null;p("text/x-ceylon",{name:"clike",keywords:t("abstracts alias assembly assert assign break case catch class continue dynamic else exists extends finally for function given if import in interface is let module new nonempty object of out outer package return satisfies super switch then this throw try value void while"),types:function(t){var e=t.charAt(0);return e===e.toUpperCase()&&e!==e.toLowerCase()},blockKeywords:t("case catch class dynamic else finally for function if interface module new object switch try while"),defKeywords:t("class dynamic function interface module object package value"),builtin:t("abstract actual aliased annotation by default deprecated doc final formal late license native optional sealed see serializable shared suppressWarnings tagged throws variable"),isPunctuationChar:/[\[\]{}\(\),;\:\.`]/,isOperatorChar:/[+\-*&%=<>!?|^~:\/]/,numberStart:/[\d#$]/,number:/^(?:#[\da-fA-F_]+|\$[01_]+|[\d_]+[kMGTPmunpf]?|[\d_]+\.[\d_]+(?:[eE][-+]?\d+|[kMGTPmunpf]|)|)/i,multiLineStrings:!0,typeFirstDefinitions:!0,atoms:t("true false null larger smaller equal empty finished"),indentSwitch:!1,styleDefs:!1,hooks:{"@":function(t){return t.eatWhile(/[\w\$_]/),"meta"},'"':function(t,e){return e.tokenize=function o(s){return function(t,e){for(var i,r=!1,n=!1;!t.eol();){if(!r&&t.match('"')&&("single"==s||t.match('""'))){n=!0;break}if(!r&&t.match("``")){g=o(s),n=!0;break}i=t.next(),r="single"==s&&!r&&"\\"==i}return n&&(e.tokenize=null),"string"}}(t.match('""')?"triple":"single"),e.tokenize(t,e)},"`":function(t,e){return!(!g||!t.match("`"))&&(e.tokenize=g,g=null,e.tokenize(t,e))},"'":function(t){return t.eatWhile(/[\w\$_\xa1-\uffff]/),"atom"},token:function(t,e,i){if(("variable"==i||"type"==i)&&"."==e.prevToken)return"variable-2"}},modeProps:{fold:["brace","import"],closeBrackets:{triples:'"'}}})},"object"==typeof i&&"object"==typeof e?r(t("../../lib/codemirror")):"function"==typeof define&&define.amd?define(["../../lib/codemirror"],r):r(CodeMirror)},{"../../lib/codemirror":12}],14:[function(t,e,i){var r;r=function(N){"use strict";function t(t){for(var e={},i=0;i<t.length;++i)e[t[i].toLowerCase()]=!0;return e}N.defineMode("css",function(t,e){var i=e.inline;e.propertyKeywords||(e=N.resolveMode("text/css"));var r,n,o=t.indentUnit,s=e.tokenHooks,a=e.documentTypes||{},l=e.mediaTypes||{},c=e.mediaFeatures||{},h=e.mediaValueKeywords||{},u=e.propertyKeywords||{},f=e.nonStandardPropertyKeywords||{},d=e.fontProperties||{},p=e.counterDescriptors||{},m=e.colorKeywords||{},g=e.valueKeywords||{},_=e.allowNested,v=e.lineComment,y=!0===e.supportsAtComponent;function x(t,e){return r=e,t}function T(n){return function(t,e){for(var i,r=!1;null!=(i=t.next());){if(i==n&&!r){")"==n&&t.backUp(1);break}r=!r&&"\\"==i}return i!=n&&(r||")"==n)||(e.tokenize=null),x("string","string")}}function k(t,e){return t.next(),t.match(/\s*[\"\')]/,!1)?e.tokenize=null:e.tokenize=T(")"),x(null,"(")}function b(t,e,i){this.type=t,this.indent=e,this.prev=i}function w(t,e,i,r){return t.context=new b(i,e.indentation()+(!1===r?0:o),t.context),i}function E(t){return t.context.prev&&(t.context=t.context.prev),t.context.type}function C(t,e,i){return L[i.context.type](t,e,i)}function S(t,e,i,r){for(var n=r||1;0<n;n--)i.context=i.context.prev;return C(t,e,i)}function A(t){var e=t.current().toLowerCase();n=g.hasOwnProperty(e)?"atom":m.hasOwnProperty(e)?"keyword":"variable"}var L={top:function(t,e,i){if("{"==t)return w(i,e,"block");if("}"==t&&i.context.prev)return E(i);if(y&&/@component/i.test(t))return w(i,e,"atComponentBlock");if(/^@(-moz-)?document$/i.test(t))return w(i,e,"documentTypes");if(/^@(media|supports|(-moz-)?document|import)$/i.test(t))return w(i,e,"atBlock");if(/^@(font-face|counter-style)/i.test(t))return i.stateArg=t,"restricted_atBlock_before";if(/^@(-(moz|ms|o|webkit)-)?keyframes$/i.test(t))return"keyframes";if(t&&"@"==t.charAt(0))return w(i,e,"at");if("hash"==t)n="builtin";else if("word"==t)n="tag";else{if("variable-definition"==t)return"maybeprop";if("interpolation"==t)return w(i,e,"interpolation");if(":"==t)return"pseudo";if(_&&"("==t)return w(i,e,"parens")}return i.context.type},block:function(t,e,i){if("word"!=t)return"meta"==t?"block":_||"hash"!=t&&"qualifier"!=t?L.top(t,e,i):(n="error","block");var r=e.current().toLowerCase();return u.hasOwnProperty(r)?(n="property","maybeprop"):f.hasOwnProperty(r)?(n="string-2","maybeprop"):_?(n=e.match(/^\s*:(?:\s|$)/,!1)?"property":"tag","block"):(n+=" error","maybeprop")},maybeprop:function(t,e,i){return":"==t?w(i,e,"prop"):C(t,e,i)},prop:function(t,e,i){if(";"==t)return E(i);if("{"==t&&_)return w(i,e,"propBlock");if("}"==t||"{"==t)return S(t,e,i);if("("==t)return w(i,e,"parens");if("hash"!=t||/^#([0-9a-fA-f]{3,4}|[0-9a-fA-f]{6}|[0-9a-fA-f]{8})$/.test(e.current())){if("word"==t)A(e);else if("interpolation"==t)return w(i,e,"interpolation")}else n+=" error";return"prop"},propBlock:function(t,e,i){return"}"==t?E(i):"word"==t?(n="property","maybeprop"):i.context.type},parens:function(t,e,i){return"{"==t||"}"==t?S(t,e,i):")"==t?E(i):"("==t?w(i,e,"parens"):"interpolation"==t?w(i,e,"interpolation"):("word"==t&&A(e),"parens")},pseudo:function(t,e,i){return"meta"==t?"pseudo":"word"==t?(n="variable-3",i.context.type):C(t,e,i)},documentTypes:function(t,e,i){return"word"==t&&a.hasOwnProperty(e.current())?(n="tag",i.context.type):L.atBlock(t,e,i)},atBlock:function(t,e,i){if("("==t)return w(i,e,"atBlock_parens");if("}"==t||";"==t)return S(t,e,i);if("{"==t)return E(i)&&w(i,e,_?"block":"top");if("interpolation"==t)return w(i,e,"interpolation");if("word"==t){var r=e.current().toLowerCase();n="only"==r||"not"==r||"and"==r||"or"==r?"keyword":l.hasOwnProperty(r)?"attribute":c.hasOwnProperty(r)?"property":h.hasOwnProperty(r)?"keyword":u.hasOwnProperty(r)?"property":f.hasOwnProperty(r)?"string-2":g.hasOwnProperty(r)?"atom":m.hasOwnProperty(r)?"keyword":"error"}return i.context.type},atComponentBlock:function(t,e,i){return"}"==t?S(t,e,i):"{"==t?E(i)&&w(i,e,_?"block":"top",!1):("word"==t&&(n="error"),i.context.type)},atBlock_parens:function(t,e,i){return")"==t?E(i):"{"==t||"}"==t?S(t,e,i,2):L.atBlock(t,e,i)},restricted_atBlock_before:function(t,e,i){return"{"==t?w(i,e,"restricted_atBlock"):"word"==t&&"@counter-style"==i.stateArg?(n="variable","restricted_atBlock_before"):C(t,e,i)},restricted_atBlock:function(t,e,i){return"}"==t?(i.stateArg=null,E(i)):"word"==t?(n="@font-face"==i.stateArg&&!d.hasOwnProperty(e.current().toLowerCase())||"@counter-style"==i.stateArg&&!p.hasOwnProperty(e.current().toLowerCase())?"error":"property","maybeprop"):"restricted_atBlock"},keyframes:function(t,e,i){return"word"==t?(n="variable","keyframes"):"{"==t?w(i,e,"top"):C(t,e,i)},at:function(t,e,i){return";"==t?E(i):"{"==t||"}"==t?S(t,e,i):("word"==t?n="tag":"hash"==t&&(n="builtin"),"at")},interpolation:function(t,e,i){return"}"==t?E(i):"{"==t||";"==t?S(t,e,i):("word"==t?n="variable":"variable"!=t&&"("!=t&&")"!=t&&(n="error"),"interpolation")}};return{startState:function(t){return{tokenize:null,state:i?"block":"top",stateArg:null,context:new b(i?"block":"top",t||0,null)}},token:function(t,e){if(!e.tokenize&&t.eatSpace())return null;var i=(e.tokenize||function(t,e){var i=t.next();if(s[i]){var r=s[i](t,e);if(!1!==r)return r}return"@"==i?(t.eatWhile(/[\w\\\-]/),x("def",t.current())):"="==i||("~"==i||"|"==i)&&t.eat("=")?x(null,"compare"):'"'==i||"'"==i?(e.tokenize=T(i),e.tokenize(t,e)):"#"==i?(t.eatWhile(/[\w\\\-]/),x("atom","hash")):"!"==i?(t.match(/^\s*\w*/),x("keyword","important")):/\d/.test(i)||"."==i&&t.eat(/\d/)?(t.eatWhile(/[\w.%]/),x("number","unit")):"-"!==i?/[,+>*\/]/.test(i)?x(null,"select-op"):"."==i&&t.match(/^-?[_a-z][_a-z0-9-]*/i)?x("qualifier","qualifier"):/[:;{}\[\]\(\)]/.test(i)?x(null,i):("u"==i||"U"==i)&&t.match(/rl(-prefix)?\(/i)||("d"==i||"D"==i)&&t.match("omain(",!0,!0)||("r"==i||"R"==i)&&t.match("egexp(",!0,!0)?(t.backUp(1),e.tokenize=k,x("property","word")):/[\w\\\-]/.test(i)?(t.eatWhile(/[\w\\\-]/),x("property","word")):x(null,null):/[\d.]/.test(t.peek())?(t.eatWhile(/[\w.%]/),x("number","unit")):t.match(/^-[\w\\\-]+/)?(t.eatWhile(/[\w\\\-]/),t.match(/^\s*:/,!1)?x("variable-2","variable-definition"):x("variable-2","variable")):t.match(/^\w+-/)?x("meta","meta"):void 0})(t,e);return i&&"object"==typeof i&&(r=i[1],i=i[0]),n=i,"comment"!=r&&(e.state=L[e.state](r,t,e)),n},indent:function(t,e){var i=t.context,r=e&&e.charAt(0),n=i.indent;return"prop"!=i.type||"}"!=r&&")"!=r||(i=i.prev),i.prev&&("}"!=r||"block"!=i.type&&"top"!=i.type&&"interpolation"!=i.type&&"restricted_atBlock"!=i.type?(")"!=r||"parens"!=i.type&&"atBlock_parens"!=i.type)&&("{"!=r||"at"!=i.type&&"atBlock"!=i.type)||(n=Math.max(0,i.indent-o)):n=(i=i.prev).indent),n},electricChars:"}",blockCommentStart:"/*",blockCommentEnd:"*/",blockCommentContinue:" * ",lineComment:v,fold:"brace"}});var e=["domain","regexp","url","url-prefix"],i=t(e),r=["all","aural","braille","handheld","print","projection","screen","tty","tv","embossed"],n=t(r),o=["width","min-width","max-width","height","min-height","max-height","device-width","min-device-width","max-device-width","device-height","min-device-height","max-device-height","aspect-ratio","min-aspect-ratio","max-aspect-ratio","device-aspect-ratio","min-device-aspect-ratio","max-device-aspect-ratio","color","min-color","max-color","color-index","min-color-index","max-color-index","monochrome","min-monochrome","max-monochrome","resolution","min-resolution","max-resolution","scan","grid","orientation","device-pixel-ratio","min-device-pixel-ratio","max-device-pixel-ratio","pointer","any-pointer","hover","any-hover"],s=t(o),a=["landscape","portrait","none","coarse","fine","on-demand","hover","interlace","progressive"],l=t(a),c=["align-content","align-items","align-self","alignment-adjust","alignment-baseline","anchor-point","animation","animation-delay","animation-direction","animation-duration","animation-fill-mode","animation-iteration-count","animation-name","animation-play-state","animation-timing-function","appearance","azimuth","backface-visibility","background","background-attachment","background-blend-mode","background-clip","background-color","background-image","background-origin","background-position","background-repeat","background-size","baseline-shift","binding","bleed","bookmark-label","bookmark-level","bookmark-state","bookmark-target","border","border-bottom","border-bottom-color","border-bottom-left-radius","border-bottom-right-radius","border-bottom-style","border-bottom-width","border-collapse","border-color","border-image","border-image-outset","border-image-repeat","border-image-slice","border-image-source","border-image-width","border-left","border-left-color","border-left-style","border-left-width","border-radius","border-right","border-right-color","border-right-style","border-right-width","border-spacing","border-style","border-top","border-top-color","border-top-left-radius","border-top-right-radius","border-top-style","border-top-width","border-width","bottom","box-decoration-break","box-shadow","box-sizing","break-after","break-before","break-inside","caption-side","caret-color","clear","clip","color","color-profile","column-count","column-fill","column-gap","column-rule","column-rule-color","column-rule-style","column-rule-width","column-span","column-width","columns","content","counter-increment","counter-reset","crop","cue","cue-after","cue-before","cursor","direction","display","dominant-baseline","drop-initial-after-adjust","drop-initial-after-align","drop-initial-before-adjust","drop-initial-before-align","drop-initial-size","drop-initial-value","elevation","empty-cells","fit","fit-position","flex","flex-basis","flex-direction","flex-flow","flex-grow","flex-shrink","flex-wrap","float","float-offset","flow-from","flow-into","font","font-feature-settings","font-family","font-kerning","font-language-override","font-size","font-size-adjust","font-stretch","font-style","font-synthesis","font-variant","font-variant-alternates","font-variant-caps","font-variant-east-asian","font-variant-ligatures","font-variant-numeric","font-variant-position","font-weight","grid","grid-area","grid-auto-columns","grid-auto-flow","grid-auto-rows","grid-column","grid-column-end","grid-column-gap","grid-column-start","grid-gap","grid-row","grid-row-end","grid-row-gap","grid-row-start","grid-template","grid-template-areas","grid-template-columns","grid-template-rows","hanging-punctuation","height","hyphens","icon","image-orientation","image-rendering","image-resolution","inline-box-align","justify-content","justify-items","justify-self","left","letter-spacing","line-break","line-height","line-stacking","line-stacking-ruby","line-stacking-shift","line-stacking-strategy","list-style","list-style-image","list-style-position","list-style-type","margin","margin-bottom","margin-left","margin-right","margin-top","marks","marquee-direction","marquee-loop","marquee-play-count","marquee-speed","marquee-style","max-height","max-width","min-height","min-width","mix-blend-mode","move-to","nav-down","nav-index","nav-left","nav-right","nav-up","object-fit","object-position","opacity","order","orphans","outline","outline-color","outline-offset","outline-style","outline-width","overflow","overflow-style","overflow-wrap","overflow-x","overflow-y","padding","padding-bottom","padding-left","padding-right","padding-top","page","page-break-after","page-break-before","page-break-inside","page-policy","pause","pause-after","pause-before","perspective","perspective-origin","pitch","pitch-range","place-content","place-items","place-self","play-during","position","presentation-level","punctuation-trim","quotes","region-break-after","region-break-before","region-break-inside","region-fragment","rendering-intent","resize","rest","rest-after","rest-before","richness","right","rotation","rotation-point","ruby-align","ruby-overhang","ruby-position","ruby-span","shape-image-threshold","shape-inside","shape-margin","shape-outside","size","speak","speak-as","speak-header","speak-numeral","speak-punctuation","speech-rate","stress","string-set","tab-size","table-layout","target","target-name","target-new","target-position","text-align","text-align-last","text-decoration","text-decoration-color","text-decoration-line","text-decoration-skip","text-decoration-style","text-emphasis","text-emphasis-color","text-emphasis-position","text-emphasis-style","text-height","text-indent","text-justify","text-outline","text-overflow","text-shadow","text-size-adjust","text-space-collapse","text-transform","text-underline-position","text-wrap","top","transform","transform-origin","transform-style","transition","transition-delay","transition-duration","transition-property","transition-timing-function","unicode-bidi","user-select","vertical-align","visibility","voice-balance","voice-duration","voice-family","voice-pitch","voice-range","voice-rate","voice-stress","voice-volume","volume","white-space","widows","width","will-change","word-break","word-spacing","word-wrap","z-index","clip-path","clip-rule","mask","enable-background","filter","flood-color","flood-opacity","lighting-color","stop-color","stop-opacity","pointer-events","color-interpolation","color-interpolation-filters","color-rendering","fill","fill-opacity","fill-rule","image-rendering","marker","marker-end","marker-mid","marker-start","shape-rendering","stroke","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke-width","text-rendering","baseline-shift","dominant-baseline","glyph-orientation-horizontal","glyph-orientation-vertical","text-anchor","writing-mode"],h=t(c),u=["scrollbar-arrow-color","scrollbar-base-color","scrollbar-dark-shadow-color","scrollbar-face-color","scrollbar-highlight-color","scrollbar-shadow-color","scrollbar-3d-light-color","scrollbar-track-color","shape-inside","searchfield-cancel-button","searchfield-decoration","searchfield-results-button","searchfield-results-decoration","zoom"],f=t(u),d=t(["font-family","src","unicode-range","font-variant","font-feature-settings","font-stretch","font-weight","font-style"]),p=t(["additive-symbols","fallback","negative","pad","prefix","range","speak-as","suffix","symbols","system"]),m=["aliceblue","antiquewhite","aqua","aquamarine","azure","beige","bisque","black","blanchedalmond","blue","blueviolet","brown","burlywood","cadetblue","chartreuse","chocolate","coral","cornflowerblue","cornsilk","crimson","cyan","darkblue","darkcyan","darkgoldenrod","darkgray","darkgreen","darkkhaki","darkmagenta","darkolivegreen","darkorange","darkorchid","darkred","darksalmon","darkseagreen","darkslateblue","darkslategray","darkturquoise","darkviolet","deeppink","deepskyblue","dimgray","dodgerblue","firebrick","floralwhite","forestgreen","fuchsia","gainsboro","ghostwhite","gold","goldenrod","gray","grey","green","greenyellow","honeydew","hotpink","indianred","indigo","ivory","khaki","lavender","lavenderblush","lawngreen","lemonchiffon","lightblue","lightcoral","lightcyan","lightgoldenrodyellow","lightgray","lightgreen","lightpink","lightsalmon","lightseagreen","lightskyblue","lightslategray","lightsteelblue","lightyellow","lime","limegreen","linen","magenta","maroon","mediumaquamarine","mediumblue","mediumorchid","mediumpurple","mediumseagreen","mediumslateblue","mediumspringgreen","mediumturquoise","mediumvioletred","midnightblue","mintcream","mistyrose","moccasin","navajowhite","navy","oldlace","olive","olivedrab","orange","orangered","orchid","palegoldenrod","palegreen","paleturquoise","palevioletred","papayawhip","peachpuff","peru","pink","plum","powderblue","purple","rebeccapurple","red","rosybrown","royalblue","saddlebrown","salmon","sandybrown","seagreen","seashell","sienna","silver","skyblue","slateblue","slategray","snow","springgreen","steelblue","tan","teal","thistle","tomato","turquoise","violet","wheat","white","whitesmoke","yellow","yellowgreen"],g=t(m),_=["above","absolute","activeborder","additive","activecaption","afar","after-white-space","ahead","alias","all","all-scroll","alphabetic","alternate","always","amharic","amharic-abegede","antialiased","appworkspace","arabic-indic","armenian","asterisks","attr","auto","auto-flow","avoid","avoid-column","avoid-page","avoid-region","background","backwards","baseline","below","bidi-override","binary","bengali","blink","block","block-axis","bold","bolder","border","border-box","both","bottom","break","break-all","break-word","bullets","button","button-bevel","buttonface","buttonhighlight","buttonshadow","buttontext","calc","cambodian","capitalize","caps-lock-indicator","caption","captiontext","caret","cell","center","checkbox","circle","cjk-decimal","cjk-earthly-branch","cjk-heavenly-stem","cjk-ideographic","clear","clip","close-quote","col-resize","collapse","color","color-burn","color-dodge","column","column-reverse","compact","condensed","contain","content","contents","content-box","context-menu","continuous","copy","counter","counters","cover","crop","cross","crosshair","currentcolor","cursive","cyclic","darken","dashed","decimal","decimal-leading-zero","default","default-button","dense","destination-atop","destination-in","destination-out","destination-over","devanagari","difference","disc","discard","disclosure-closed","disclosure-open","document","dot-dash","dot-dot-dash","dotted","double","down","e-resize","ease","ease-in","ease-in-out","ease-out","element","ellipse","ellipsis","embed","end","ethiopic","ethiopic-abegede","ethiopic-abegede-am-et","ethiopic-abegede-gez","ethiopic-abegede-ti-er","ethiopic-abegede-ti-et","ethiopic-halehame-aa-er","ethiopic-halehame-aa-et","ethiopic-halehame-am-et","ethiopic-halehame-gez","ethiopic-halehame-om-et","ethiopic-halehame-sid-et","ethiopic-halehame-so-et","ethiopic-halehame-ti-er","ethiopic-halehame-ti-et","ethiopic-halehame-tig","ethiopic-numeric","ew-resize","exclusion","expanded","extends","extra-condensed","extra-expanded","fantasy","fast","fill","fixed","flat","flex","flex-end","flex-start","footnotes","forwards","from","geometricPrecision","georgian","graytext","grid","groove","gujarati","gurmukhi","hand","hangul","hangul-consonant","hard-light","hebrew","help","hidden","hide","higher","highlight","highlighttext","hiragana","hiragana-iroha","horizontal","hsl","hsla","hue","icon","ignore","inactiveborder","inactivecaption","inactivecaptiontext","infinite","infobackground","infotext","inherit","initial","inline","inline-axis","inline-block","inline-flex","inline-grid","inline-table","inset","inside","intrinsic","invert","italic","japanese-formal","japanese-informal","justify","kannada","katakana","katakana-iroha","keep-all","khmer","korean-hangul-formal","korean-hanja-formal","korean-hanja-informal","landscape","lao","large","larger","left","level","lighter","lighten","line-through","linear","linear-gradient","lines","list-item","listbox","listitem","local","logical","loud","lower","lower-alpha","lower-armenian","lower-greek","lower-hexadecimal","lower-latin","lower-norwegian","lower-roman","lowercase","ltr","luminosity","malayalam","match","matrix","matrix3d","media-controls-background","media-current-time-display","media-fullscreen-button","media-mute-button","media-play-button","media-return-to-realtime-button","media-rewind-button","media-seek-back-button","media-seek-forward-button","media-slider","media-sliderthumb","media-time-remaining-display","media-volume-slider","media-volume-slider-container","media-volume-sliderthumb","medium","menu","menulist","menulist-button","menulist-text","menulist-textfield","menutext","message-box","middle","min-intrinsic","mix","mongolian","monospace","move","multiple","multiply","myanmar","n-resize","narrower","ne-resize","nesw-resize","no-close-quote","no-drop","no-open-quote","no-repeat","none","normal","not-allowed","nowrap","ns-resize","numbers","numeric","nw-resize","nwse-resize","oblique","octal","opacity","open-quote","optimizeLegibility","optimizeSpeed","oriya","oromo","outset","outside","outside-shape","overlay","overline","padding","padding-box","painted","page","paused","persian","perspective","plus-darker","plus-lighter","pointer","polygon","portrait","pre","pre-line","pre-wrap","preserve-3d","progress","push-button","radial-gradient","radio","read-only","read-write","read-write-plaintext-only","rectangle","region","relative","repeat","repeating-linear-gradient","repeating-radial-gradient","repeat-x","repeat-y","reset","reverse","rgb","rgba","ridge","right","rotate","rotate3d","rotateX","rotateY","rotateZ","round","row","row-resize","row-reverse","rtl","run-in","running","s-resize","sans-serif","saturation","scale","scale3d","scaleX","scaleY","scaleZ","screen","scroll","scrollbar","scroll-position","se-resize","searchfield","searchfield-cancel-button","searchfield-decoration","searchfield-results-button","searchfield-results-decoration","self-start","self-end","semi-condensed","semi-expanded","separate","serif","show","sidama","simp-chinese-formal","simp-chinese-informal","single","skew","skewX","skewY","skip-white-space","slide","slider-horizontal","slider-vertical","sliderthumb-horizontal","sliderthumb-vertical","slow","small","small-caps","small-caption","smaller","soft-light","solid","somali","source-atop","source-in","source-out","source-over","space","space-around","space-between","space-evenly","spell-out","square","square-button","start","static","status-bar","stretch","stroke","sub","subpixel-antialiased","super","sw-resize","symbolic","symbols","system-ui","table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row","table-row-group","tamil","telugu","text","text-bottom","text-top","textarea","textfield","thai","thick","thin","threeddarkshadow","threedface","threedhighlight","threedlightshadow","threedshadow","tibetan","tigre","tigrinya-er","tigrinya-er-abegede","tigrinya-et","tigrinya-et-abegede","to","top","trad-chinese-formal","trad-chinese-informal","transform","translate","translate3d","translateX","translateY","translateZ","transparent","ultra-condensed","ultra-expanded","underline","unset","up","upper-alpha","upper-armenian","upper-greek","upper-hexadecimal","upper-latin","upper-norwegian","upper-roman","uppercase","urdu","url","var","vertical","vertical-text","visible","visibleFill","visiblePainted","visibleStroke","visual","w-resize","wait","wave","wider","window","windowframe","windowtext","words","wrap","wrap-reverse","x-large","x-small","xor","xx-large","xx-small"],v=t(_),y=e.concat(r).concat(o).concat(a).concat(c).concat(u).concat(m).concat(_);function x(t,e){for(var i,r=!1;null!=(i=t.next());){if(r&&"/"==i){e.tokenize=null;break}r="*"==i}return["comment","comment"]}N.registerHelper("hintWords","css",y),N.defineMIME("text/css",{documentTypes:i,mediaTypes:n,mediaFeatures:s,mediaValueKeywords:l,propertyKeywords:h,nonStandardPropertyKeywords:f,fontProperties:d,counterDescriptors:p,colorKeywords:g,valueKeywords:v,tokenHooks:{"/":function(t,e){return!!t.eat("*")&&(e.tokenize=x)(t,e)}},name:"css"}),N.defineMIME("text/x-scss",{mediaTypes:n,mediaFeatures:s,mediaValueKeywords:l,propertyKeywords:h,nonStandardPropertyKeywords:f,colorKeywords:g,valueKeywords:v,fontProperties:d,allowNested:!0,lineComment:"//",tokenHooks:{"/":function(t,e){return t.eat("/")?(t.skipToEnd(),["comment","comment"]):t.eat("*")?(e.tokenize=x)(t,e):["operator","operator"]},":":function(t){return!!t.match(/\s*\{/,!1)&&[null,null]},$:function(t){return t.match(/^[\w-]+/),t.match(/^\s*:/,!1)?["variable-2","variable-definition"]:["variable-2","variable"]},"#":function(t){return!!t.eat("{")&&[null,"interpolation"]}},name:"css",helperType:"scss"}),N.defineMIME("text/x-less",{mediaTypes:n,mediaFeatures:s,mediaValueKeywords:l,propertyKeywords:h,nonStandardPropertyKeywords:f,colorKeywords:g,valueKeywords:v,fontProperties:d,allowNested:!0,lineComment:"//",tokenHooks:{"/":function(t,e){return t.eat("/")?(t.skipToEnd(),["comment","comment"]):t.eat("*")?(e.tokenize=x)(t,e):["operator","operator"]},"@":function(t){return t.eat("{")?[null,"interpolation"]:!t.match(/^(charset|document|font-face|import|(-(moz|ms|o|webkit)-)?keyframes|media|namespace|page|supports)\b/i,!1)&&(t.eatWhile(/[\w\\\-]/),t.match(/^\s*:/,!1)?["variable-2","variable-definition"]:["variable-2","variable"])},"&":function(){return["atom","atom"]}},name:"css",helperType:"less"}),N.defineMIME("text/x-gss",{documentTypes:i,mediaTypes:n,mediaFeatures:s,propertyKeywords:h,nonStandardPropertyKeywords:f,fontProperties:d,counterDescriptors:p,colorKeywords:g,valueKeywords:v,supportsAtComponent:!0,tokenHooks:{"/":function(t,e){return!!t.eat("*")&&(e.tokenize=x)(t,e)}},name:"css",helperType:"gss"})},"object"==typeof i&&"object"==typeof e?r(t("../../lib/codemirror")):"function"==typeof define&&define.amd?define(["../../lib/codemirror"],r):r(CodeMirror)},{"../../lib/codemirror":12}],15:[function(t,e,i){var r;r=function(p){"use strict";var n={script:[["lang",/(javascript|babel)/i,"javascript"],["type",/^(?:text|application)\/(?:x-)?(?:java|ecma)script$|^module$|^$/i,"javascript"],["type",/./,"text/plain"],[null,null,"javascript"]],style:[["lang",/^css$/i,"css"],["type",/^(text\/)?(x-)?(stylesheet|css)$/i,"css"],["type",/./,"text/plain"],[null,null,"css"]]},m={};function g(t,e){return new RegExp((e?"^":"")+"</s*"+t+"s*>","i")}function o(t,e){for(var i in t)for(var r=e[i]||(e[i]=[]),n=t[i],o=n.length-1;0<=o;o--)r.unshift(n[o])}p.defineMode("htmlmixed",function(h,t){var u=p.getMode(h,{name:"xml",htmlMode:!0,multilineTagIndentFactor:t.multilineTagIndentFactor,multilineTagIndentPastTag:t.multilineTagIndentPastTag}),f={},e=t&&t.tags,i=t&&t.scriptTypes;if(o(n,f),e&&o(e,f),i)for(var r=i.length-1;0<=r;r--)f.script.unshift(["type",i[r].matches,i[r].mode]);function d(t,e){var i,r=u.token(t,e.htmlState),n=/\btag\b/.test(r);if(n&&!/[<>\s\/]/.test(t.current())&&(i=e.htmlState.tagName&&e.htmlState.tagName.toLowerCase())&&f.hasOwnProperty(i))e.inTag=i+" ";else if(e.inTag&&n&&/>$/.test(t.current())){var o=/^([\S]+) (.*)/.exec(e.inTag);e.inTag=null;var s=">"==t.current()&&function(t,e){for(var i=0;i<t.length;i++){var r=t[i];if(!r[0]||r[1].test((n=e,o=r[0],void 0,(a=n.match(m[s=o]||(m[s]=new RegExp("\\s+"+s+"\\s*=\\s*('|\")?([^'\"]+)('|\")?\\s*"))))?/^\s*(.*?)\s*$/.exec(a[2])[1]:"")))return r[2]}var n,o,s,a}(f[o[1]],o[2]),a=p.getMode(h,s),l=g(o[1],!0),c=g(o[1],!1);e.token=function(t,e){return t.match(l,!1)?(e.token=d,e.localState=e.localMode=null,null):(i=t,r=c,n=e.localMode.token(t,e.localState),-1<(s=(o=i.current()).search(r))?i.backUp(o.length-s):o.match(/<\/?$/)&&(i.backUp(o.length),i.match(r,!1)||i.match(o)),n);var i,r,n,o,s},e.localMode=a,e.localState=p.startState(a,u.indent(e.htmlState,""))}else e.inTag&&(e.inTag+=t.current(),t.eol()&&(e.inTag+=" "));return r}return{startState:function(){return{token:d,inTag:null,localMode:null,localState:null,htmlState:p.startState(u)}},copyState:function(t){var e;return t.localState&&(e=p.copyState(t.localMode,t.localState)),{token:t.token,inTag:t.inTag,localMode:t.localMode,localState:e,htmlState:p.copyState(u,t.htmlState)}},token:function(t,e){return e.token(t,e)},indent:function(t,e,i){return!t.localMode||/^\s*<\//.test(e)?u.indent(t.htmlState,e):t.localMode.indent?t.localMode.indent(t.localState,e,i):p.Pass},innerMode:function(t){return{state:t.localState||t.htmlState,mode:t.localMode||u}}}},"xml","javascript","css"),p.defineMIME("text/html","htmlmixed")},"object"==typeof i&&"object"==typeof e?r(t("../../lib/codemirror"),t("../xml/xml"),t("../javascript/javascript"),t("../css/css")):"function"==typeof define&&define.amd?define(["../../lib/codemirror","../xml/xml","../javascript/javascript","../css/css"],r):r(CodeMirror)},{"../../lib/codemirror":12,"../css/css":14,"../javascript/javascript":16,"../xml/xml":18}],16:[function(t,e,i){var r;r=function(te){"use strict";te.defineMode("javascript",function(t,u){var r,n,e,i,o,s,a,l,f=t.indentUnit,d=u.statementIndent,c=u.jsonld,h=u.json||c,p=u.typescript,m=u.wordCharacters||/[\w$\xa1-\uffff]/,g=(e=y("keyword a"),i=y("keyword b"),o=y("keyword c"),s=y("keyword d"),a=y("operator"),l={type:"atom",style:"atom"},{if:y("if"),while:e,with:e,else:i,do:i,try:i,finally:i,return:s,break:s,continue:s,new:y("new"),delete:o,void:o,throw:o,debugger:y("debugger"),var:y("var"),const:y("var"),let:y("var"),function:y("function"),catch:y("catch"),for:y("for"),switch:y("switch"),case:y("case"),default:y("default"),in:a,typeof:a,instanceof:a,true:l,false:l,null:l,undefined:l,NaN:l,Infinity:l,this:y("this"),class:y("class"),super:y("atom"),yield:o,export:y("export"),import:y("import"),extends:o,await:o}),_=/[+\-*&%=<>!?|~^@]/,v=/^@(context|id|value|language|type|container|list|set|reverse|index|base|vocab|graph)"/;function y(t){return{type:t,style:"keyword"}}function x(t,e,i){return r=t,n=i,e}function T(t,e){var n,i=t.next();if('"'==i||"'"==i)return e.tokenize=(n=i,function(t,e){var i,r=!1;if(c&&"@"==t.peek()&&t.match(v))return e.tokenize=T,x("jsonld-keyword","meta");for(;null!=(i=t.next())&&(i!=n||r);)r=!r&&"\\"==i;return r||(e.tokenize=T),x("string","string")}),e.tokenize(t,e);if("."==i&&t.match(/^\d+(?:[eE][+\-]?\d+)?/))return x("number","number");if("."==i&&t.match(".."))return x("spread","meta");if(/[\[\]{}\(\),;\:\.]/.test(i))return x(i);if("="==i&&t.eat(">"))return x("=>","operator");if("0"==i&&t.match(/^(?:x[\da-f]+|o[0-7]+|b[01]+)n?/i))return x("number","number");if(/\d/.test(i))return t.match(/^\d*(?:n|(?:\.\d*)?(?:[eE][+\-]?\d+)?)?/),x("number","number");if("/"==i)return t.eat("*")?(e.tokenize=k)(t,e):t.eat("/")?(t.skipToEnd(),x("comment","comment")):Jt(t,e,1)?(function(t){for(var e,i=!1,r=!1;null!=(e=t.next());){if(!i){if("/"==e&&!r)return;"["==e?r=!0:r&&"]"==e&&(r=!1)}i=!i&&"\\"==e}}(t),t.match(/^\b(([gimyus])(?![gimyus]*\2))+\b/),x("regexp","string-2")):(t.eat("="),x("operator","operator",t.current()));if("`"==i)return(e.tokenize=b)(t,e);if("#"==i)return t.skipToEnd(),x("error","error");if(_.test(i))return">"==i&&e.lexical&&">"==e.lexical.type||(t.eat("=")?"!"!=i&&"="!=i||t.eat("="):/[<>*+\-]/.test(i)&&(t.eat(i),">"==i&&t.eat(i))),x("operator","operator",t.current());if(m.test(i)){t.eatWhile(m);var r=t.current();if("."!=e.lastType){if(g.propertyIsEnumerable(r)){var o=g[r];return x(o.type,o.style,r)}if("async"==r&&t.match(/^(\s|\/\*.*?\*\/)*[\[\(\w]/,!1))return x("async","keyword",r)}return x("variable","variable",r)}}function k(t,e){for(var i,r=!1;i=t.next();){if("/"==i&&r){e.tokenize=T;break}r="*"==i}return x("comment","comment")}function b(t,e){for(var i,r=!1;null!=(i=t.next());){if(!r&&("`"==i||"$"==i&&t.eat("{"))){e.tokenize=T;break}r=!r&&"\\"==i}return x("quasi","string-2",t.current())}var w="([{}])";function E(t,e){e.fatArrowAt&&(e.fatArrowAt=null);var i=t.string.indexOf("=>",t.start);if(!(i<0)){if(p){var r=/:\s*(?:\w+(?:<[^>]*>|\[\])?|\{[^}]*\})\s*$/.exec(t.string.slice(t.start,i));r&&(i=r.index)}for(var n=0,o=!1,s=i-1;0<=s;--s){var a=t.string.charAt(s),l=w.indexOf(a);if(0<=l&&l<3){if(!n){++s;break}if(0==--n){"("==a&&(o=!0);break}}else if(3<=l&&l<6)++n;else if(m.test(a))o=!0;else{if(/["'\/]/.test(a))return;if(o&&!n){++s;break}}}o&&!n&&(e.fatArrowAt=s)}}var C={atom:!0,number:!0,variable:!0,string:!0,regexp:!0,this:!0,"jsonld-keyword":!0};function S(t,e,i,r,n,o){this.indented=t,this.column=e,this.type=i,this.prev=n,this.info=o,null!=r&&(this.align=r)}function A(t,e){for(var i=t.localVars;i;i=i.next)if(i.name==e)return!0;for(var r=t.context;r;r=r.prev)for(i=r.vars;i;i=i.next)if(i.name==e)return!0}var L={state:null,column:null,marked:null,cc:null};function N(){for(var t=arguments.length-1;0<=t;t--)L.cc.push(arguments[t])}function O(){return N.apply(null,arguments),!0}function I(t,e){for(var i=e;i;i=i.next)if(i.name==t)return!0;return!1}function R(t){var e=L.state;if(L.marked="def",e.context)if("var"==e.lexical.info&&e.context&&e.context.block){var i=function t(e,i){if(i){if(i.block){var r=t(e,i.prev);return r?r==i.prev?i:new D(r,i.vars,!0):null}return I(e,i.vars)?i:new D(i.prev,new P(e,i.vars),!1)}return null}(t,e.context);if(null!=i)return void(e.context=i)}else if(!I(t,e.localVars))return void(e.localVars=new P(t,e.localVars));u.globalVars&&!I(t,e.globalVars)&&(e.globalVars=new P(t,e.globalVars))}function M(t){return"public"==t||"private"==t||"protected"==t||"abstract"==t||"readonly"==t}function D(t,e,i){this.prev=t,this.vars=e,this.block=i}function P(t,e){this.name=t,this.next=e}var B=new P("this",new P("arguments",null));function F(){L.state.context=new D(L.state.context,L.state.localVars,!1),L.state.localVars=B}function U(){L.state.context=new D(L.state.context,L.state.localVars,!0),L.state.localVars=null}function H(){L.state.localVars=L.state.context.vars,L.state.context=L.state.context.prev}function W(r,n){function t(){var t=L.state,e=t.indented;if("stat"==t.lexical.type)e=t.lexical.indented;else for(var i=t.lexical;i&&")"==i.type&&i.align;i=i.prev)e=i.indented;t.lexical=new S(e,L.stream.column(),r,null,t.lexical,n)}return t.lex=!0,t}function z(){var t=L.state;t.lexical.prev&&(")"==t.lexical.type&&(t.indented=t.lexical.indented),t.lexical=t.lexical.prev)}function q(i){return function t(e){return e==i?O():";"==i||"}"==e||")"==e||"]"==e?N():O(t)}}function G(t,e){return"var"==t?O(W("vardef",e),wt,q(";"),z):"keyword a"==t?O(W("form"),K,G,z):"keyword b"==t?O(W("form"),G,z):"keyword d"==t?L.stream.match(/^\s*$/,!1)?O():O(W("stat"),Q,q(";"),z):"debugger"==t?O(q(";")):"{"==t?O(W("}"),U,ft,z,H):";"==t?O():"if"==t?("else"==L.state.lexical.info&&L.state.cc[L.state.cc.length-1]==z&&L.state.cc.pop()(),O(W("form"),K,G,z,Nt)):"function"==t?O(Pt):"for"==t?O(W("form"),Ot,G,z):"class"==t||p&&"interface"==e?(L.marked="keyword",O(W("form"),Ut,z)):"variable"==t?p&&"declare"==e?(L.marked="keyword",O(G)):p&&("module"==e||"enum"==e||"type"==e)&&L.stream.match(/^\s*\w/,!1)?(L.marked="keyword","enum"==e?O(Xt):"type"==e?O(gt,q("operator"),gt,q(";")):O(W("form"),Et,q("{"),W("}"),ft,z,z)):p&&"namespace"==e?(L.marked="keyword",O(W("form"),V,ft,z)):p&&"abstract"==e?(L.marked="keyword",O(G)):O(W("stat"),ot):"switch"==t?O(W("form"),K,q("{"),W("}","switch"),U,ft,z,z,H):"case"==t?O(V,q(":")):"default"==t?O(q(":")):"catch"==t?O(W("form"),F,j,G,z,H):"export"==t?O(W("stat"),qt,z):"import"==t?O(W("stat"),jt,z):"async"==t?O(G):"@"==e?O(V,G):N(W("stat"),V,q(";"),z)}function j(t){if("("==t)return O(Bt,q(")"))}function V(t,e){return $(t,e,!1)}function Y(t,e){return $(t,e,!0)}function K(t){return"("!=t?N():O(W(")"),V,q(")"),z)}function $(t,e,i){if(L.state.fatArrowAt==L.stream.start){var r=i?it:et;if("("==t)return O(F,W(")"),ht(Bt,")"),z,q("=>"),r,H);if("variable"==t)return N(F,Et,q("=>"),r,H)}var n,o=i?Z:X;return C.hasOwnProperty(t)?O(o):"function"==t?O(Pt,o):"class"==t||p&&"interface"==e?(L.marked="keyword",O(W("form"),Ft,z)):"keyword c"==t||"async"==t?O(i?Y:V):"("==t?O(W(")"),Q,q(")"),z,o):"operator"==t||"spread"==t?O(i?Y:V):"["==t?O(W("]"),Qt,z,o):"{"==t?ut(at,"}",null,o):"quasi"==t?N(J,o):"new"==t?O((n=i,function(t){return"."==t?O(n?nt:rt):"variable"==t&&p?O(Tt,n?Z:X):N(n?Y:V)})):"import"==t?O(V):O()}function Q(t){return t.match(/[;\}\)\],]/)?N():N(V)}function X(t,e){return","==t?O(V):Z(t,e,!1)}function Z(t,e,i){var r=0==i?X:Z,n=0==i?V:Y;return"=>"==t?O(F,i?it:et,H):"operator"==t?/\+\+|--/.test(e)||p&&"!"==e?O(r):p&&"<"==e&&L.stream.match(/^([^>]|<.*?>)*>\s*\(/,!1)?O(W(">"),ht(gt,">"),z,r):"?"==e?O(V,q(":"),n):O(n):"quasi"==t?N(J,r):";"!=t?"("==t?ut(Y,")","call",r):"."==t?O(st,r):"["==t?O(W("]"),Q,q("]"),z,r):p&&"as"==e?(L.marked="keyword",O(gt,r)):"regexp"==t?(L.state.lastType=L.marked="operator",L.stream.backUp(L.stream.pos-L.stream.start-1),O(n)):void 0:void 0}function J(t,e){return"quasi"!=t?N():"${"!=e.slice(e.length-2)?O(J):O(V,tt)}function tt(t){if("}"==t)return L.marked="string-2",L.state.tokenize=b,O(J)}function et(t){return E(L.stream,L.state),N("{"==t?G:V)}function it(t){return E(L.stream,L.state),N("{"==t?G:Y)}function rt(t,e){if("target"==e)return L.marked="keyword",O(X)}function nt(t,e){if("target"==e)return L.marked="keyword",O(Z)}function ot(t){return":"==t?O(z,G):N(X,q(";"),z)}function st(t){if("variable"==t)return L.marked="property",O()}function at(t,e){if("async"==t)return L.marked="property",O(at);if("variable"==t||"keyword"==L.style){return L.marked="property","get"==e||"set"==e?O(lt):(p&&L.state.fatArrowAt==L.stream.start&&(i=L.stream.match(/^\s*:\s*/,!1))&&(L.state.fatArrowAt=L.stream.pos+i[0].length),O(ct));var i}else{if("number"==t||"string"==t)return L.marked=c?"property":L.style+" property",O(ct);if("jsonld-keyword"==t)return O(ct);if(p&&M(e))return L.marked="keyword",O(at);if("["==t)return O(V,dt,q("]"),ct);if("spread"==t)return O(Y,ct);if("*"==e)return L.marked="keyword",O(at);if(":"==t)return N(ct)}}function lt(t){return"variable"!=t?N(ct):(L.marked="property",O(Pt))}function ct(t){return":"==t?O(Y):"("==t?N(Pt):void 0}function ht(r,n,o){function s(t,e){if(o?-1<o.indexOf(t):","==t){var i=L.state.lexical;return"call"==i.info&&(i.pos=(i.pos||0)+1),O(function(t,e){return t==n||e==n?N():N(r)},s)}return t==n||e==n?O():O(q(n))}return function(t,e){return t==n||e==n?O():N(r,s)}}function ut(t,e,i){for(var r=3;r<arguments.length;r++)L.cc.push(arguments[r]);return O(W(e,i),ht(t,e),z)}function ft(t){return"}"==t?O():N(G,ft)}function dt(t,e){if(p){if(":"==t)return O(gt);if("?"==e)return O(dt)}}function pt(t){if(p&&":"==t)return L.stream.match(/^\s*\w+\s+is\b/,!1)?O(V,mt,gt):O(gt)}function mt(t,e){if("is"==e)return L.marked="keyword",O()}function gt(t,e){return"keyof"==e||"typeof"==e?(L.marked="keyword",O("keyof"==e?gt:Y)):"variable"==t||"void"==e?(L.marked="type",O(xt)):"string"==t||"number"==t||"atom"==t?O(xt):"["==t?O(W("]"),ht(gt,"]",","),z,xt):"{"==t?O(W("}"),ht(vt,"}",",;"),z,xt):"("==t?O(ht(yt,")"),_t):"<"==t?O(ht(gt,">"),gt):void 0}function _t(t){if("=>"==t)return O(gt)}function vt(t,e){return"variable"==t||"keyword"==L.style?(L.marked="property",O(vt)):"?"==e?O(vt):":"==t?O(gt):"["==t?O(V,dt,q("]"),vt):void 0}function yt(t,e){return"variable"==t&&L.stream.match(/^\s*[?:]/,!1)||"?"==e?O(yt):":"==t?O(gt):N(gt)}function xt(t,e){return"<"==e?O(W(">"),ht(gt,">"),z,xt):"|"==e||"."==t||"&"==e?O(gt):"["==t?O(q("]"),xt):"extends"==e||"implements"==e?(L.marked="keyword",O(gt)):void 0}function Tt(t,e){if("<"==e)return O(W(">"),ht(gt,">"),z,xt)}function kt(){return N(gt,bt)}function bt(t,e){if("="==e)return O(gt)}function wt(t,e){return"enum"==e?(L.marked="keyword",O(Xt)):N(Et,dt,At,Lt)}function Et(t,e){return p&&M(e)?(L.marked="keyword",O(Et)):"variable"==t?(R(e),O()):"spread"==t?O(Et):"["==t?ut(St,"]"):"{"==t?ut(Ct,"}"):void 0}function Ct(t,e){return"variable"!=t||L.stream.match(/^\s*:/,!1)?("variable"==t&&(L.marked="property"),"spread"==t?O(Et):"}"==t?N():"["==t?O(V,q("]"),q(":"),Ct):O(q(":"),Et,At)):(R(e),O(At))}function St(){return N(Et,At)}function At(t,e){if("="==e)return O(Y)}function Lt(t){if(","==t)return O(wt)}function Nt(t,e){if("keyword b"==t&&"else"==e)return O(W("form","else"),G,z)}function Ot(t,e){return"await"==e?O(Ot):"("==t?O(W(")"),It,q(")"),z):void 0}function It(t){return"var"==t?O(wt,q(";"),Mt):";"==t?O(Mt):"variable"==t?O(Rt):N(V,q(";"),Mt)}function Rt(t,e){return"in"==e||"of"==e?(L.marked="keyword",O(V)):O(X,Mt)}function Mt(t,e){return";"==t?O(Dt):"in"==e||"of"==e?(L.marked="keyword",O(V)):N(V,q(";"),Dt)}function Dt(t){")"!=t&&O(V)}function Pt(t,e){return"*"==e?(L.marked="keyword",O(Pt)):"variable"==t?(R(e),O(Pt)):"("==t?O(F,W(")"),ht(Bt,")"),z,pt,G,H):p&&"<"==e?O(W(">"),ht(kt,">"),z,Pt):void 0}function Bt(t,e){return"@"==e&&O(V,Bt),"spread"==t?O(Bt):p&&M(e)?(L.marked="keyword",O(Bt)):N(Et,dt,At)}function Ft(t,e){return"variable"==t?Ut(t,e):Ht(t,e)}function Ut(t,e){if("variable"==t)return R(e),O(Ht)}function Ht(t,e){return"<"==e?O(W(">"),ht(kt,">"),z,Ht):"extends"==e||"implements"==e||p&&","==t?("implements"==e&&(L.marked="keyword"),O(p?gt:V,Ht)):"{"==t?O(W("}"),Wt,z):void 0}function Wt(t,e){return"async"==t||"variable"==t&&("static"==e||"get"==e||"set"==e||p&&M(e))&&L.stream.match(/^\s+[\w$\xa1-\uffff]/,!1)?(L.marked="keyword",O(Wt)):"variable"==t||"keyword"==L.style?(L.marked="property",O(p?zt:Pt,Wt)):"["==t?O(V,dt,q("]"),p?zt:Pt,Wt):"*"==e?(L.marked="keyword",O(Wt)):";"==t?O(Wt):"}"==t?O():"@"==e?O(V,Wt):void 0}function zt(t,e){return"?"==e?O(zt):":"==t?O(gt,At):"="==e?O(Y):N(Pt)}function qt(t,e){return"*"==e?(L.marked="keyword",O($t,q(";"))):"default"==e?(L.marked="keyword",O(V,q(";"))):"{"==t?O(ht(Gt,"}"),$t,q(";")):N(G)}function Gt(t,e){return"as"==e?(L.marked="keyword",O(q("variable"))):"variable"==t?N(Y,Gt):void 0}function jt(t){return"string"==t?O():"("==t?N(V):N(Vt,Yt,$t)}function Vt(t,e){return"{"==t?ut(Vt,"}"):("variable"==t&&R(e),"*"==e&&(L.marked="keyword"),O(Kt))}function Yt(t){if(","==t)return O(Vt,Yt)}function Kt(t,e){if("as"==e)return L.marked="keyword",O(Vt)}function $t(t,e){if("from"==e)return L.marked="keyword",O(V)}function Qt(t){return"]"==t?O():N(ht(Y,"]"))}function Xt(){return N(W("form"),Et,q("{"),W("}"),ht(Zt,"}"),z,z)}function Zt(){return N(Et,At)}function Jt(t,e,i){return e.tokenize==T&&/^(?:operator|sof|keyword [bcd]|case|new|export|default|spread|[\[{}\(,;:]|=>)$/.test(e.lastType)||"quasi"==e.lastType&&/\{\s*$/.test(t.string.slice(0,t.pos-(i||0)))}return z.lex=H.lex=!0,{startState:function(t){var e={tokenize:T,lastType:"sof",cc:[],lexical:new S((t||0)-f,0,"block",!1),localVars:u.localVars,context:u.localVars&&new D(null,null,!1),indented:t||0};return u.globalVars&&"object"==typeof u.globalVars&&(e.globalVars=u.globalVars),e},token:function(t,e){if(t.sol()&&(e.lexical.hasOwnProperty("align")||(e.lexical.align=!1),e.indented=t.indentation(),E(t,e)),e.tokenize!=k&&t.eatSpace())return null;var i=e.tokenize(t,e);return"comment"==r?i:(e.lastType="operator"!=r||"++"!=n&&"--"!=n?r:"incdec",function(t,e,i,r,n){var o=t.cc;for(L.state=t,L.stream=n,L.marked=null,L.cc=o,L.style=e,t.lexical.hasOwnProperty("align")||(t.lexical.align=!0);;)if((o.length?o.pop():h?V:G)(i,r)){for(;o.length&&o[o.length-1].lex;)o.pop()();return L.marked?L.marked:"variable"==i&&A(t,r)?"variable-2":e}}(e,i,r,n,t))},indent:function(t,e){if(t.tokenize==k)return te.Pass;if(t.tokenize!=T)return 0;var i,r=e&&e.charAt(0),n=t.lexical;if(!/^\s*else\b/.test(e))for(var o=t.cc.length-1;0<=o;--o){var s=t.cc[o];if(s==z)n=n.prev;else if(s!=Nt)break}for(;("stat"==n.type||"form"==n.type)&&("}"==r||(i=t.cc[t.cc.length-1])&&(i==X||i==Z)&&!/^[,\.=+\-*:?[\(]/.test(e));)n=n.prev;d&&")"==n.type&&"stat"==n.prev.type&&(n=n.prev);var a,l,c=n.type,h=r==c;return"vardef"==c?n.indented+("operator"==t.lastType||","==t.lastType?n.info.length+1:0):"form"==c&&"{"==r?n.indented:"form"==c?n.indented+f:"stat"==c?n.indented+(l=e,"operator"==(a=t).lastType||","==a.lastType||_.test(l.charAt(0))||/[,.]/.test(l.charAt(0))?d||f:0):"switch"!=n.info||h||0==u.doubleIndentSwitch?n.align?n.column+(h?0:1):n.indented+(h?0:f):n.indented+(/^(?:case|default)\b/.test(e)?f:2*f)},electricInput:/^\s*(?:case .*?:|default:|\{|\})$/,blockCommentStart:h?null:"/*",blockCommentEnd:h?null:"*/",blockCommentContinue:h?null:" * ",lineComment:h?null:"//",fold:"brace",closeBrackets:"()[]{}''\"\"``",helperType:h?"json":"javascript",jsonldMode:c,jsonMode:h,expressionAllowed:Jt,skipExpression:function(t){var e=t.cc[t.cc.length-1];e!=V&&e!=Y||t.cc.pop()}}}),te.registerHelper("wordChars","javascript",/[\w$]/),te.defineMIME("text/javascript","javascript"),te.defineMIME("text/ecmascript","javascript"),te.defineMIME("application/javascript","javascript"),te.defineMIME("application/x-javascript","javascript"),te.defineMIME("application/ecmascript","javascript"),te.defineMIME("application/json",{name:"javascript",json:!0}),te.defineMIME("application/x-json",{name:"javascript",json:!0}),te.defineMIME("application/ld+json",{name:"javascript",jsonld:!0}),te.defineMIME("text/typescript",{name:"javascript",typescript:!0}),te.defineMIME("application/typescript",{name:"javascript",typescript:!0})},"object"==typeof i&&"object"==typeof e?r(t("../../lib/codemirror")):"function"==typeof define&&define.amd?define(["../../lib/codemirror"],r):r(CodeMirror)},{"../../lib/codemirror":12}],17:[function(t,e,i){var r;r=function(c){"use strict";function t(t){for(var e={},i=t.split(" "),r=0;r<i.length;++r)e[i[r]]=!0;return e}function a(n,o,s){return 0==n.length?l(o):function(t,e){for(var i=n[0],r=0;r<i.length;r++)if(t.match(i[r][0]))return e.tokenize=a(n.slice(1),o),i[r][1];return e.tokenize=l(o,s),"string"}}function l(i,r){return function(t,e){return function(t,e,i,r){if(!1!==r&&t.match("${",!1)||t.match("{$",!1))return e.tokenize=null,"string";if(!1!==r&&t.match(/^\$[a-zA-Z_][a-zA-Z0-9_]*/))return t.match("[",!1)&&(e.tokenize=a([[["[",null]],[[/\d[\w\.]*/,"number"],[/\$[a-zA-Z_][a-zA-Z0-9_]*/,"variable-2"],[/[\w\$]+/,"variable"]],[["]",null]]],i,r)),t.match(/\-\>\w/,!1)&&(e.tokenize=a([[["->",null]],[[/[\w]+/,"variable"]]],i,r)),"variable-2";for(var n=!1;!t.eol()&&(n||!1===r||!t.match("{$",!1)&&!t.match(/^(\$[a-zA-Z_][a-zA-Z0-9_]*|\$\{)/,!1));){if(!n&&t.match(i)){e.tokenize=null,e.tokStack.pop(),e.tokStack.pop();break}n="\\"==t.next()&&!n}return"string"}(t,e,i,r)}}var e="abstract and array as break case catch class clone const continue declare default do else elseif enddeclare endfor endforeach endif endswitch endwhile extends final for foreach function global goto if implements interface instanceof namespace new or private protected public static switch throw trait try use var while xor die echo empty exit eval include include_once isset list require require_once return print unset __halt_compiler self static parent yield insteadof finally",i="true false null TRUE FALSE NULL __CLASS__ __DIR__ __FILE__ __LINE__ __METHOD__ __FUNCTION__ __NAMESPACE__ __TRAIT__",r="func_num_args func_get_arg func_get_args strlen strcmp strncmp strcasecmp strncasecmp each error_reporting define defined trigger_error user_error set_error_handler restore_error_handler get_declared_classes get_loaded_extensions extension_loaded get_extension_funcs debug_backtrace constant bin2hex hex2bin sleep usleep time mktime gmmktime strftime gmstrftime strtotime date gmdate getdate localtime checkdate flush wordwrap htmlspecialchars htmlentities html_entity_decode md5 md5_file crc32 getimagesize image_type_to_mime_type phpinfo phpversion phpcredits strnatcmp strnatcasecmp substr_count strspn strcspn strtok strtoupper strtolower strpos strrpos strrev hebrev hebrevc nl2br basename dirname pathinfo stripslashes stripcslashes strstr stristr strrchr str_shuffle str_word_count strcoll substr substr_replace quotemeta ucfirst ucwords strtr addslashes addcslashes rtrim str_replace str_repeat count_chars chunk_split trim ltrim strip_tags similar_text explode implode setlocale localeconv parse_str str_pad chop strchr sprintf printf vprintf vsprintf sscanf fscanf parse_url urlencode urldecode rawurlencode rawurldecode readlink linkinfo link unlink exec system escapeshellcmd escapeshellarg passthru shell_exec proc_open proc_close rand srand getrandmax mt_rand mt_srand mt_getrandmax base64_decode base64_encode abs ceil floor round is_finite is_nan is_infinite bindec hexdec octdec decbin decoct dechex base_convert number_format fmod ip2long long2ip getenv putenv getopt microtime gettimeofday getrusage uniqid quoted_printable_decode set_time_limit get_cfg_var magic_quotes_runtime set_magic_quotes_runtime get_magic_quotes_gpc get_magic_quotes_runtime import_request_variables error_log serialize unserialize memory_get_usage var_dump var_export debug_zval_dump print_r highlight_file show_source highlight_string ini_get ini_get_all ini_set ini_alter ini_restore get_include_path set_include_path restore_include_path setcookie header headers_sent connection_aborted connection_status ignore_user_abort parse_ini_file is_uploaded_file move_uploaded_file intval floatval doubleval strval gettype settype is_null is_resource is_bool is_long is_float is_int is_integer is_double is_real is_numeric is_string is_array is_object is_scalar ereg ereg_replace eregi eregi_replace split spliti join sql_regcase dl pclose popen readfile rewind rmdir umask fclose feof fgetc fgets fgetss fread fopen fpassthru ftruncate fstat fseek ftell fflush fwrite fputs mkdir rename copy tempnam tmpfile file file_get_contents file_put_contents stream_select stream_context_create stream_context_set_params stream_context_set_option stream_context_get_options stream_filter_prepend stream_filter_append fgetcsv flock get_meta_tags stream_set_write_buffer set_file_buffer set_socket_blocking stream_set_blocking socket_set_blocking stream_get_meta_data stream_register_wrapper stream_wrapper_register stream_set_timeout socket_set_timeout socket_get_status realpath fnmatch fsockopen pfsockopen pack unpack get_browser crypt opendir closedir chdir getcwd rewinddir readdir dir glob fileatime filectime filegroup fileinode filemtime fileowner fileperms filesize filetype file_exists is_writable is_writeable is_readable is_executable is_file is_dir is_link stat lstat chown touch clearstatcache mail ob_start ob_flush ob_clean ob_end_flush ob_end_clean ob_get_flush ob_get_clean ob_get_length ob_get_level ob_get_status ob_get_contents ob_implicit_flush ob_list_handlers ksort krsort natsort natcasesort asort arsort sort rsort usort uasort uksort shuffle array_walk count end prev next reset current key min max in_array array_search extract compact array_fill range array_multisort array_push array_pop array_shift array_unshift array_splice array_slice array_merge array_merge_recursive array_keys array_values array_count_values array_reverse array_reduce array_pad array_flip array_change_key_case array_rand array_unique array_intersect array_intersect_assoc array_diff array_diff_assoc array_sum array_filter array_map array_chunk array_key_exists array_intersect_key array_combine array_column pos sizeof key_exists assert assert_options version_compare ftok str_rot13 aggregate session_name session_module_name session_save_path session_id session_regenerate_id session_decode session_register session_unregister session_is_registered session_encode session_start session_destroy session_unset session_set_save_handler session_cache_limiter session_cache_expire session_set_cookie_params session_get_cookie_params session_write_close preg_match preg_match_all preg_replace preg_replace_callback preg_split preg_quote preg_grep overload ctype_alnum ctype_alpha ctype_cntrl ctype_digit ctype_lower ctype_graph ctype_print ctype_punct ctype_space ctype_upper ctype_xdigit virtual apache_request_headers apache_note apache_lookup_uri apache_child_terminate apache_setenv apache_response_headers apache_get_version getallheaders mysql_connect mysql_pconnect mysql_close mysql_select_db mysql_create_db mysql_drop_db mysql_query mysql_unbuffered_query mysql_db_query mysql_list_dbs mysql_list_tables mysql_list_fields mysql_list_processes mysql_error mysql_errno mysql_affected_rows mysql_insert_id mysql_result mysql_num_rows mysql_num_fields mysql_fetch_row mysql_fetch_array mysql_fetch_assoc mysql_fetch_object mysql_data_seek mysql_fetch_lengths mysql_fetch_field mysql_field_seek mysql_free_result mysql_field_name mysql_field_table mysql_field_len mysql_field_type mysql_field_flags mysql_escape_string mysql_real_escape_string mysql_stat mysql_thread_id mysql_client_encoding mysql_get_client_info mysql_get_host_info mysql_get_proto_info mysql_get_server_info mysql_info mysql mysql_fieldname mysql_fieldtable mysql_fieldlen mysql_fieldtype mysql_fieldflags mysql_selectdb mysql_createdb mysql_dropdb mysql_freeresult mysql_numfields mysql_numrows mysql_listdbs mysql_listtables mysql_listfields mysql_db_name mysql_dbname mysql_tablename mysql_table_name pg_connect pg_pconnect pg_close pg_connection_status pg_connection_busy pg_connection_reset pg_host pg_dbname pg_port pg_tty pg_options pg_ping pg_query pg_send_query pg_cancel_query pg_fetch_result pg_fetch_row pg_fetch_assoc pg_fetch_array pg_fetch_object pg_fetch_all pg_affected_rows pg_get_result pg_result_seek pg_result_status pg_free_result pg_last_oid pg_num_rows pg_num_fields pg_field_name pg_field_num pg_field_size pg_field_type pg_field_prtlen pg_field_is_null pg_get_notify pg_get_pid pg_result_error pg_last_error pg_last_notice pg_put_line pg_end_copy pg_copy_to pg_copy_from pg_trace pg_untrace pg_lo_create pg_lo_unlink pg_lo_open pg_lo_close pg_lo_read pg_lo_write pg_lo_read_all pg_lo_import pg_lo_export pg_lo_seek pg_lo_tell pg_escape_string pg_escape_bytea pg_unescape_bytea pg_client_encoding pg_set_client_encoding pg_meta_data pg_convert pg_insert pg_update pg_delete pg_select pg_exec pg_getlastoid pg_cmdtuples pg_errormessage pg_numrows pg_numfields pg_fieldname pg_fieldsize pg_fieldtype pg_fieldnum pg_fieldprtlen pg_fieldisnull pg_freeresult pg_result pg_loreadall pg_locreate pg_lounlink pg_loopen pg_loclose pg_loread pg_lowrite pg_loimport pg_loexport http_response_code get_declared_traits getimagesizefromstring socket_import_stream stream_set_chunk_size trait_exists header_register_callback class_uses session_status session_register_shutdown echo print global static exit array empty eval isset unset die include require include_once require_once json_decode json_encode json_last_error json_last_error_msg curl_close curl_copy_handle curl_errno curl_error curl_escape curl_exec curl_file_create curl_getinfo curl_init curl_multi_add_handle curl_multi_close curl_multi_exec curl_multi_getcontent curl_multi_info_read curl_multi_init curl_multi_remove_handle curl_multi_select curl_multi_setopt curl_multi_strerror curl_pause curl_reset curl_setopt_array curl_setopt curl_share_close curl_share_init curl_share_setopt curl_strerror curl_unescape curl_version mysqli_affected_rows mysqli_autocommit mysqli_change_user mysqli_character_set_name mysqli_close mysqli_commit mysqli_connect_errno mysqli_connect_error mysqli_connect mysqli_data_seek mysqli_debug mysqli_dump_debug_info mysqli_errno mysqli_error_list mysqli_error mysqli_fetch_all mysqli_fetch_array mysqli_fetch_assoc mysqli_fetch_field_direct mysqli_fetch_field mysqli_fetch_fields mysqli_fetch_lengths mysqli_fetch_object mysqli_fetch_row mysqli_field_count mysqli_field_seek mysqli_field_tell mysqli_free_result mysqli_get_charset mysqli_get_client_info mysqli_get_client_stats mysqli_get_client_version mysqli_get_connection_stats mysqli_get_host_info mysqli_get_proto_info mysqli_get_server_info mysqli_get_server_version mysqli_info mysqli_init mysqli_insert_id mysqli_kill mysqli_more_results mysqli_multi_query mysqli_next_result mysqli_num_fields mysqli_num_rows mysqli_options mysqli_ping mysqli_prepare mysqli_query mysqli_real_connect mysqli_real_escape_string mysqli_real_query mysqli_reap_async_query mysqli_refresh mysqli_rollback mysqli_select_db mysqli_set_charset mysqli_set_local_infile_default mysqli_set_local_infile_handler mysqli_sqlstate mysqli_ssl_set mysqli_stat mysqli_stmt_init mysqli_store_result mysqli_thread_id mysqli_thread_safe mysqli_use_result mysqli_warning_count";c.registerHelper("hintWords","php",[e,i,r].join(" ").split(" ")),c.registerHelper("wordChars","php",/[\w$]/);var n={name:"clike",helperType:"php",keywords:t(e),blockKeywords:t("catch do else elseif for foreach if switch try while finally"),defKeywords:t("class function interface namespace trait"),atoms:t(i),builtin:t(r),multiLineStrings:!0,hooks:{$:function(t){return t.eatWhile(/[\w\$_]/),"variable-2"},"<":function(t,e){var i;if(i=t.match(/<<\s*/)){var r=t.eat(/['"]/);t.eatWhile(/[\w\.]/);var n=t.current().slice(i[0].length+(r?2:1));if(r&&t.eat(r),n)return(e.tokStack||(e.tokStack=[])).push(n,0),e.tokenize=l(n,"'"!=r),"string"}return!1},"#":function(t){for(;!t.eol()&&!t.match("?>",!1);)t.next();return"comment"},"/":function(t){if(t.eat("/")){for(;!t.eol()&&!t.match("?>",!1);)t.next();return"comment"}return!1},'"':function(t,e){return(e.tokStack||(e.tokStack=[])).push('"',0),e.tokenize=l('"'),"string"},"{":function(t,e){return e.tokStack&&e.tokStack.length&&e.tokStack[e.tokStack.length-1]++,!1},"}":function(t,e){return e.tokStack&&0<e.tokStack.length&&!--e.tokStack[e.tokStack.length-1]&&(e.tokenize=l(e.tokStack[e.tokStack.length-2])),!1}}};c.defineMode("php",function(t,i){var a=c.getMode(t,i&&i.htmlMode||"text/html"),l=c.getMode(t,n);return{startState:function(){var t=c.startState(a),e=i.startOpen?c.startState(l):null;return{html:t,php:e,curMode:i.startOpen?l:a,curState:i.startOpen?e:t,pending:null}},copyState:function(t){var e,i=t.html,r=c.copyState(a,i),n=t.php,o=n&&c.copyState(l,n);return e=t.curMode==a?r:o,{html:r,php:o,curMode:t.curMode,curState:e,pending:t.pending}},token:function(t,e){var i=e.curMode==l;if(t.sol()&&e.pending&&'"'!=e.pending&&"'"!=e.pending&&(e.pending=null),i)return i&&null==e.php.tokenize&&t.match("?>")?(e.curMode=a,e.curState=e.html,e.php.context.prev||(e.php=null),"meta"):l.token(t,e.curState);if(t.match(/^<\?\w*/))return e.curMode=l,e.php||(e.php=c.startState(l,a.indent(e.html,""))),e.curState=e.php,"meta";if('"'==e.pending||"'"==e.pending){for(;!t.eol()&&t.next()!=e.pending;);var r="string"}else r=e.pending&&t.pos<e.pending.end?(t.pos=e.pending.end,e.pending.style):a.token(t,e.curState);e.pending&&(e.pending=null);var n,o=t.current(),s=o.search(/<\?/);return-1!=s&&("string"==r&&(n=o.match(/[\'\"]$/))&&!/\?>/.test(o)?e.pending=n[0]:e.pending={end:t.pos,style:r},t.backUp(o.length-s)),r},indent:function(t,e){return t.curMode!=l&&/^\s*<\//.test(e)||t.curMode==l&&/^\?>/.test(e)?a.indent(t.html,e):t.curMode.indent(t.curState,e)},blockCommentStart:"/*",blockCommentEnd:"*/",lineComment:"//",innerMode:function(t){return{state:t.curState,mode:t.curMode}}}},"htmlmixed","clike"),c.defineMIME("application/x-httpd-php","php"),c.defineMIME("application/x-httpd-php-open",{name:"php",startOpen:!0}),c.defineMIME("text/x-php",n)},"object"==typeof i&&"object"==typeof e?r(t("../../lib/codemirror"),t("../htmlmixed/htmlmixed"),t("../clike/clike")):"function"==typeof define&&define.amd?define(["../../lib/codemirror","../htmlmixed/htmlmixed","../clike/clike"],r):r(CodeMirror)},{"../../lib/codemirror":12,"../clike/clike":13,"../htmlmixed/htmlmixed":15}],18:[function(t,e,i){var r;r=function(b){"use strict";var w={autoSelfClosers:{area:!0,base:!0,br:!0,col:!0,command:!0,embed:!0,frame:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0,menuitem:!0},implicitlyClosed:{dd:!0,li:!0,optgroup:!0,option:!0,p:!0,rp:!0,rt:!0,tbody:!0,td:!0,tfoot:!0,th:!0,tr:!0},contextGrabbers:{dd:{dd:!0,dt:!0},dt:{dd:!0,dt:!0},li:{li:!0},option:{option:!0,optgroup:!0},optgroup:{optgroup:!0},p:{address:!0,article:!0,aside:!0,blockquote:!0,dir:!0,div:!0,dl:!0,fieldset:!0,footer:!0,form:!0,h1:!0,h2:!0,h3:!0,h4:!0,h5:!0,h6:!0,header:!0,hgroup:!0,hr:!0,menu:!0,nav:!0,ol:!0,p:!0,pre:!0,section:!0,table:!0,ul:!0},rp:{rp:!0,rt:!0},rt:{rp:!0,rt:!0},tbody:{tbody:!0,tfoot:!0},td:{td:!0,th:!0},tfoot:{tbody:!0},th:{td:!0,th:!0},thead:{tbody:!0,tfoot:!0},tr:{tr:!0}},doNotIndent:{pre:!0},allowUnquoted:!0,allowMissing:!0,caseFold:!0},E={autoSelfClosers:{},implicitlyClosed:{},contextGrabbers:{},doNotIndent:{},allowUnquoted:!1,allowMissing:!1,allowMissingTagName:!1,caseFold:!1};b.defineMode("xml",function(t,e){var s,o,a=t.indentUnit,l={},i=e.htmlMode?w:E;for(var r in i)l[r]=i[r];for(var r in e)l[r]=e[r];function c(e,i){function t(t){return(i.tokenize=t)(e,i)}var r=e.next();return"<"==r?e.eat("!")?e.eat("[")?e.match("CDATA[")?t(n("atom","]]>")):null:e.match("--")?t(n("comment","--\x3e")):e.match("DOCTYPE",!0,!0)?(e.eatWhile(/[\w\._\-]/),t(function r(n){return function(t,e){for(var i;null!=(i=t.next());){if("<"==i)return e.tokenize=r(n+1),e.tokenize(t,e);if(">"==i){if(1!=n)return e.tokenize=r(n-1),e.tokenize(t,e);e.tokenize=c;break}}return"meta"}}(1))):null:e.eat("?")?(e.eatWhile(/[\w\._\-]/),i.tokenize=n("meta","?>"),"meta"):(s=e.eat("/")?"closeTag":"openTag",i.tokenize=h,"tag bracket"):"&"!=r?(e.eatWhile(/[^&<]/),null):(e.eat("#")?e.eat("x")?e.eatWhile(/[a-fA-F\d]/)&&e.eat(";"):e.eatWhile(/[\d]/)&&e.eat(";"):e.eatWhile(/[\w\.\-:]/)&&e.eat(";"))?"atom":"error"}function h(t,e){var i=t.next();if(">"==i||"/"==i&&t.eat(">"))return e.tokenize=c,s=">"==i?"endTag":"selfcloseTag","tag bracket";if("="==i)return s="equals",null;if("<"!=i)return/[\'\"]/.test(i)?(e.tokenize=(r=i,(n=function(t,e){for(;!t.eol();)if(t.next()==r){e.tokenize=h;break}return"string"}).isInAttribute=!0,n),e.stringStartCol=t.column(),e.tokenize(t,e)):(t.match(/^[^\s\u00a0=<>\"\']*[^\s\u00a0=<>\"\'\/]/),"word");e.tokenize=c,e.state=p,e.tagName=e.tagStart=null;var r,n,o=e.tokenize(t,e);return o?o+" tag error":"tag error"}function n(i,r){return function(t,e){for(;!t.eol();){if(t.match(r)){e.tokenize=c;break}t.next()}return i}}function u(t,e,i){this.prev=t.context,this.tagName=e,this.indent=t.indented,this.startOfLine=i,(l.doNotIndent.hasOwnProperty(e)||t.context&&t.context.noIndent)&&(this.noIndent=!0)}function f(t){t.context&&(t.context=t.context.prev)}function d(t,e){for(var i;;){if(!t.context)return;if(i=t.context.tagName,!l.contextGrabbers.hasOwnProperty(i)||!l.contextGrabbers[i].hasOwnProperty(e))return;f(t)}}function p(t,e,i){return"openTag"==t?(i.tagStart=e.column(),m):"closeTag"==t?g:p}function m(t,e,i){return"word"==t?(i.tagName=e.current(),o="tag",y):l.allowMissingTagName&&"endTag"==t?(o="tag bracket",y(t,e,i)):(o="error",m)}function g(t,e,i){if("word"!=t)return l.allowMissingTagName&&"endTag"==t?(o="tag bracket",_(t,e,i)):(o="error",v);var r=e.current();return i.context&&i.context.tagName!=r&&l.implicitlyClosed.hasOwnProperty(i.context.tagName)&&f(i),i.context&&i.context.tagName==r||!1===l.matchClosing?(o="tag",_):(o="tag error",v)}function _(t,e,i){return"endTag"!=t?(o="error",_):(f(i),p)}function v(t,e,i){return o="error",_(t,0,i)}function y(t,e,i){if("word"==t)return o="attribute",x;if("endTag"!=t&&"selfcloseTag"!=t)return o="error",y;var r=i.tagName,n=i.tagStart;return i.tagName=i.tagStart=null,"selfcloseTag"==t||l.autoSelfClosers.hasOwnProperty(r)?d(i,r):(d(i,r),i.context=new u(i,r,n==i.indented)),p}function x(t,e,i){return"equals"==t?T:(l.allowMissing||(o="error"),y(t,0,i))}function T(t,e,i){return"string"==t?k:"word"==t&&l.allowUnquoted?(o="string",y):(o="error",y(t,0,i))}function k(t,e,i){return"string"==t?k:y(t,0,i)}return c.isInText=!0,{startState:function(t){var e={tokenize:c,state:p,indented:t||0,tagName:null,tagStart:null,context:null};return null!=t&&(e.baseIndent=t),e},token:function(t,e){if(!e.tagName&&t.sol()&&(e.indented=t.indentation()),t.eatSpace())return null;s=null;var i=e.tokenize(t,e);return(i||s)&&"comment"!=i&&(o=null,e.state=e.state(s||i,t,e),o&&(i="error"==o?i+" error":o)),i},indent:function(t,e,i){var r=t.context;if(t.tokenize.isInAttribute)return t.tagStart==t.indented?t.stringStartCol+1:t.indented+a;if(r&&r.noIndent)return b.Pass;if(t.tokenize!=h&&t.tokenize!=c)return i?i.match(/^(\s*)/)[0].length:0;if(t.tagName)return!1!==l.multilineTagIndentPastTag?t.tagStart+t.tagName.length+2:t.tagStart+a*(l.multilineTagIndentFactor||1);if(l.alignCDATA&&/<!\[CDATA\[/.test(e))return 0;var n=e&&/^<(\/)?([\w_:\.-]*)/.exec(e);if(n&&n[1])for(;r;){if(r.tagName==n[2]){r=r.prev;break}if(!l.implicitlyClosed.hasOwnProperty(r.tagName))break;r=r.prev}else if(n)for(;r;){var o=l.contextGrabbers[r.tagName];if(!o||!o.hasOwnProperty(n[2]))break;r=r.prev}for(;r&&r.prev&&!r.startOfLine;)r=r.prev;return r?r.indent+a:t.baseIndent||0},electricInput:/<\/[\s\w:]+>$/,blockCommentStart:"\x3c!--",blockCommentEnd:"--\x3e",configuration:l.htmlMode?"html":"xml",helperType:l.htmlMode?"html":"xml",skipAttribute:function(t){t.state==T&&(t.state=y)}}}),b.defineMIME("text/xml","xml"),b.defineMIME("application/xml","xml"),b.mimeModes.hasOwnProperty("text/html")||b.defineMIME("text/html",{name:"xml",htmlMode:!0})},"object"==typeof i&&"object"==typeof e?r(t("../../lib/codemirror")):"function"==typeof define&&define.amd?define(["../../lib/codemirror"],r):r(CodeMirror)},{"../../lib/codemirror":12}],19:[function(NIa,OIa,PIa){var RIa,SIa;RIa=window,SIa=function(){return(vEa=[function(t,e,i){"use strict";var r=i(2);t.exports=r.extends("statement",function(t,e,i){r.apply(this,[t||"statement",e,i])})},function(t,e,i){"use strict";var r=i(2),n="expression";t.exports=r.extends(n,function(t,e,i){r.apply(this,[t||n,e,i])})},function(t,e,i){"use strict";function r(t,e,i){this.kind=t,e&&(this.leadingComments=e),i&&(this.loc=i)}r.prototype.setTrailingComments=function(t){this.trailingComments=t},r.prototype.includeToken=function(t){return this.loc&&(this.loc.end&&(this.loc.end.line=t.lexer.yylloc.last_line,this.loc.end.column=t.lexer.yylloc.last_column,this.loc.end.offset=t.lexer.offset),t.ast.withSource&&(this.loc.source=t.lexer._input.substring(this.loc.start.offset,t.lexer.offset))),this},r.extends=function(t,e){return e.prototype=Object.create(this.prototype),e.extends=this.extends,(e.prototype.constructor=e).kind=t,e},t.exports=r},function(t,e,i){"use strict";var o=i(1);t.exports=o.extends("literal",function(t,e,i,r,n){o.apply(this,[t||"literal",r,n]),this.value=e,i&&(this.raw=i)})},function(t,e,i){"use strict";var n=i(0),o="declaration",r=n.extends(o,function(t,e,i,r){n.apply(this,[t||o,i,r]),this.name=e});r.prototype.parseFlags=function(t){this.isAbstract=1===t[2],this.isFinal=2===t[2],"class"!==this.kind&&(-1===t[0]?this.visibility="":null===t[0]?this.visibility=null:0===t[0]?this.visibility="public":1===t[0]?this.visibility="protected":2===t[0]&&(this.visibility="private"),this.isStatic=1===t[1])},t.exports=r},function(t,e,i){"use strict";var r=i(1);t.exports=r.extends("operation",function(t,e,i){r.apply(this,[t||"operation",e,i])})},function(t,e,i){"use strict";var r=i(2),n=r.extends("reference",function(t,e,i){r.apply(this,[t||"reference",e,i])});t.exports=n},function(t,e,i){"use strict";var n=i(0);t.exports=n.extends("block",function(t,e,i,r){n.apply(this,[t||"block",i,r]),this.children=e.filter(Boolean)})},function(t,e,i){"use strict";var o=i(1);t.exports=o.extends("lookup",function(t,e,i,r,n){o.apply(this,[t||"lookup",r,n]),this.what=e,this.offset=i})},function(t,e,i){"use strict";var n=i(2);t.exports=n.extends("comment",function(t,e,i,r){n.apply(this,[t,i,r]),this.value=e})},function(t,e,i){"use strict";var n=i(0),o="constantstatement";t.exports=n.extends(o,function(t,e,i,r){n.apply(this,[t||o,i,r]),this.items=e})},function(t,e,i){"use strict";var a=i(4);t.exports=a.extends("function",function(t,e,i,r,n,o,s){a.apply(this,["function",t,o,s]),this.arguments=e,this.byref=i,this.type=r,this.nullable=n,this.body=null})},function(t,e,h){"use strict";(function(e){var s="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},i=h(18),r=h(28),n=h(44),o=h(45);function a(t,e){for(var i=Object.keys(t),r=i.length;r--;){var n=i[r],o=t[n];null===o?delete e[n]:"function"==typeof o?e[n]=o.bind(e):Array.isArray(o)?e[n]=Array.isArray(e[n])?e[n].concat(o):o:"object"===(void 0===o?"undefined":s(o))?e[n]="object"===s(e[n])?a(o,e[n]):o:e[n]=o}return e}function l(t){if("function"==typeof this)return new this(t);this.tokens=n,this.lexer=new i(this),this.ast=new o,this.parser=new r(this.lexer,this.ast),t&&"object"===(void 0===t?"undefined":s(t))&&(t.parser&&!1===t.parser.php7&&(t.lexer||(t.lexer={}),t.lexer.php7=!1),a(t,this))}function c(t){return e.isBuffer(t)?t.toString():t}l.create=function(t){return new l(t)},l.parseEval=function(t,e){return new l(e).parseEval(t)},l.prototype.parseEval=function(t){return this.lexer.mode_eval=!0,this.lexer.all_tokens=!1,t=c(t),this.parser.parse(t,"eval")},l.parseCode=function(t,e,i){return"object"!==(void 0===e?"undefined":s(e))||i||(i=e,e="unknown"),new l(i).parseCode(t,e)},l.prototype.parseCode=function(t,e){return this.lexer.mode_eval=!1,this.lexer.all_tokens=!1,t=c(t),this.parser.parse(t,e)},l.tokenGetAll=function(t,e){return new l(e).tokenGetAll(t)},l.prototype.tokenGetAll=function(t){this.lexer.mode_eval=!1,this.lexer.all_tokens=!0,t=c(t);var e=this.lexer.EOF,i=this.tokens.values;this.lexer.setInput(t);for(var r=this.lexer.lex()||e,n=[];r!=e;){var o=this.lexer.yytext;i.hasOwnProperty(r)&&(o=[i[r],o,this.lexer.yylloc.first_line]),n.push(o),r=this.lexer.lex()||e}return n},t.exports=l,t.exports.tokens=n,t.exports.lexer=i,t.exports.AST=o,t.exports.parser=r,t.exports.combine=a,t.exports.default=l}).call(this,h(13).Buffer)},function(t,P,e){"use strict";(function(t){var a=e(15),o=e(16),s=e(17);function i(){return u.TYPED_ARRAY_SUPPORT?2147483647:1073741823}function l(t,e){if(i()<e)throw new RangeError("Invalid typed array length");return u.TYPED_ARRAY_SUPPORT?(t=new Uint8Array(e)).__proto__=u.prototype:(null===t&&(t=new u(e)),t.length=e),t}function u(t,e,i){if(!(u.TYPED_ARRAY_SUPPORT||this instanceof u))return new u(t,e,i);if("number"!=typeof t)return r(this,t,e,i);if("string"==typeof e)throw new Error("If encoding is specified then the first argument must be a string");return n(this,t)}function r(t,e,i,r){if("number"==typeof e)throw new TypeError('"value" argument must not be a number');return"undefined"!=typeof ArrayBuffer&&e instanceof ArrayBuffer?function(t,e,i,r){if(e.byteLength,i<0||e.byteLength<i)throw new RangeError("'offset' is out of bounds");if(e.byteLength<i+(r||0))throw new RangeError("'length' is out of bounds");return e=void 0===i&&void 0===r?new Uint8Array(e):void 0===r?new Uint8Array(e,i):new Uint8Array(e,i,r),u.TYPED_ARRAY_SUPPORT?(t=e).__proto__=u.prototype:t=h(t,e),t}(t,e,i,r):"string"==typeof e?function(t,e,i){if("string"==typeof i&&""!==i||(i="utf8"),!u.isEncoding(i))throw new TypeError('"encoding" must be a valid string encoding');var r=0|d(e,i),n=(t=l(t,r)).write(e,i);return n!==r&&(t=t.slice(0,n)),t}(t,e,i):function(t,e){if(u.isBuffer(e)){var i=0|f(e.length);return 0===(t=l(t,i)).length||e.copy(t,0,0,i),t}if(e){if("undefined"!=typeof ArrayBuffer&&e.buffer instanceof ArrayBuffer||"length"in e)return"number"!=typeof e.length||(r=e.length)!=r?l(t,0):h(t,e);if("Buffer"===e.type&&s(e.data))return h(t,e.data)}var r;throw new TypeError("First argument must be a string, Buffer, ArrayBuffer, Array, or array-like object.")}(t,e)}function c(t){if("number"!=typeof t)throw new TypeError('"size" argument must be a number');if(t<0)throw new RangeError('"size" argument must not be negative')}function n(t,e){if(c(e),t=l(t,e<0?0:0|f(e)),!u.TYPED_ARRAY_SUPPORT)for(var i=0;i<e;++i)t[i]=0;return t}function h(t,e){var i=e.length<0?0:0|f(e.length);t=l(t,i);for(var r=0;r<i;r+=1)t[r]=255&e[r];return t}function f(t){if(t>=i())throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+i().toString(16)+" bytes");return 0|t}function d(t,e){if(u.isBuffer(t))return t.length;if("undefined"!=typeof ArrayBuffer&&"function"==typeof ArrayBuffer.isView&&(ArrayBuffer.isView(t)||t instanceof ArrayBuffer))return t.byteLength;"string"!=typeof t&&(t=""+t);var i=t.length;if(0===i)return 0;for(var r=!1;;)switch(e){case"ascii":case"latin1":case"binary":return i;case"utf8":case"utf-8":case void 0:return R(t).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*i;case"hex":return i>>>1;case"base64":return M(t).length;default:if(r)return R(t).length;e=(""+e).toLowerCase(),r=!0}}function p(t,e,i){var r=t[e];t[e]=t[i],t[i]=r}function m(t,e,i,r,n){if(0===t.length)return-1;if("string"==typeof i?(r=i,i=0):2147483647<i?i=2147483647:i<-2147483648&&(i=-2147483648),i=+i,isNaN(i)&&(i=n?0:t.length-1),i<0&&(i=t.length+i),i>=t.length){if(n)return-1;i=t.length-1}else if(i<0){if(!n)return-1;i=0}if("string"==typeof e&&(e=u.from(e,r)),u.isBuffer(e))return 0===e.length?-1:g(t,e,i,r,n);if("number"==typeof e)return e&=255,u.TYPED_ARRAY_SUPPORT&&"function"==typeof Uint8Array.prototype.indexOf?n?Uint8Array.prototype.indexOf.call(t,e,i):Uint8Array.prototype.lastIndexOf.call(t,e,i):g(t,[e],i,r,n);throw new TypeError("val must be string, number or Buffer")}function g(t,e,i,r,n){var o,s=1,a=t.length,l=e.length;if(void 0!==r&&("ucs2"===(r=String(r).toLowerCase())||"ucs-2"===r||"utf16le"===r||"utf-16le"===r)){if(t.length<2||e.length<2)return-1;a/=s=2,l/=2,i/=2}function c(t,e){return 1===s?t[e]:t.readUInt16BE(e*s)}if(n){var h=-1;for(o=i;o<a;o++)if(c(t,o)===c(e,-1===h?0:o-h)){if(-1===h&&(h=o),o-h+1===l)return h*s}else-1!==h&&(o-=o-h),h=-1}else for(a<i+l&&(i=a-l),o=i;0<=o;o--){for(var u=!0,f=0;f<l;f++)if(c(t,o+f)!==c(e,f)){u=!1;break}if(u)return o}return-1}function _(t,e,i,r){i=Number(i)||0;var n=t.length-i;r?n<(r=Number(r))&&(r=n):r=n;var o=e.length;if(o%2!=0)throw new TypeError("Invalid hex string");o/2<r&&(r=o/2);for(var s=0;s<r;++s){var a=parseInt(e.substr(2*s,2),16);if(isNaN(a))return s;t[i+s]=a}return s}function v(t,e,i,r){return D(function(t){for(var e=[],i=0;i<t.length;++i)e.push(255&t.charCodeAt(i));return e}(e),t,i,r)}function y(t,e,i){i=Math.min(t.length,i);for(var r=[],n=e;n<i;){var o,s,a,l,c=t[n],h=null,u=239<c?4:223<c?3:191<c?2:1;if(n+u<=i)switch(u){case 1:c<128&&(h=c);break;case 2:128==(192&(o=t[n+1]))&&127<(l=(31&c)<<6|63&o)&&(h=l);break;case 3:o=t[n+1],s=t[n+2],128==(192&o)&&128==(192&s)&&2047<(l=(15&c)<<12|(63&o)<<6|63&s)&&(l<55296||57343<l)&&(h=l);break;case 4:o=t[n+1],s=t[n+2],a=t[n+3],128==(192&o)&&128==(192&s)&&128==(192&a)&&65535<(l=(15&c)<<18|(63&o)<<12|(63&s)<<6|63&a)&&l<1114112&&(h=l)}null===h?(h=65533,u=1):65535<h&&(h-=65536,r.push(h>>>10&1023|55296),h=56320|1023&h),r.push(h),n+=u}return function(t){var e=t.length;if(e<=x)return String.fromCharCode.apply(String,t);for(var i="",r=0;r<e;)i+=String.fromCharCode.apply(String,t.slice(r,r+=x));return i}(r)}P.Buffer=u,P.SlowBuffer=function(t){return+t!=t&&(t=0),u.alloc(+t)},P.INSPECT_MAX_BYTES=50,u.TYPED_ARRAY_SUPPORT=void 0!==t.TYPED_ARRAY_SUPPORT?t.TYPED_ARRAY_SUPPORT:function(){try{var t=new Uint8Array(1);return t.__proto__={__proto__:Uint8Array.prototype,foo:function(){return 42}},42===t.foo()&&"function"==typeof t.subarray&&0===t.subarray(1,1).byteLength}catch(t){return!1}}(),P.kMaxLength=i(),u.poolSize=8192,u._augment=function(t){return t.__proto__=u.prototype,t},u.from=function(t,e,i){return r(null,t,e,i)},u.TYPED_ARRAY_SUPPORT&&(u.prototype.__proto__=Uint8Array.prototype,u.__proto__=Uint8Array,"undefined"!=typeof Symbol&&Symbol.species&&u[Symbol.species]===u&&Object.defineProperty(u,Symbol.species,{value:null,configurable:!0})),u.alloc=function(t,e,i){return null,n=e,o=i,c(r=t),r<=0?l(null,r):void 0!==n?"string"==typeof o?l(null,r).fill(n,o):l(null,r).fill(n):l(null,r);var r,n,o},u.allocUnsafe=function(t){return n(null,t)},u.allocUnsafeSlow=function(t){return n(null,t)},u.isBuffer=function(t){return!(null==t||!t._isBuffer)},u.compare=function(t,e){if(!u.isBuffer(t)||!u.isBuffer(e))throw new TypeError("Arguments must be Buffers");if(t===e)return 0;for(var i=t.length,r=e.length,n=0,o=Math.min(i,r);n<o;++n)if(t[n]!==e[n]){i=t[n],r=e[n];break}return i<r?-1:r<i?1:0},u.isEncoding=function(t){switch(String(t).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}},u.concat=function(t,e){if(!s(t))throw new TypeError('"list" argument must be an Array of Buffers');if(0===t.length)return u.alloc(0);var i;if(void 0===e)for(i=e=0;i<t.length;++i)e+=t[i].length;var r=u.allocUnsafe(e),n=0;for(i=0;i<t.length;++i){var o=t[i];if(!u.isBuffer(o))throw new TypeError('"list" argument must be an Array of Buffers');o.copy(r,n),n+=o.length}return r},u.byteLength=d,u.prototype._isBuffer=!0,u.prototype.swap16=function(){var t=this.length;if(t%2!=0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var e=0;e<t;e+=2)p(this,e,e+1);return this},u.prototype.swap32=function(){var t=this.length;if(t%4!=0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var e=0;e<t;e+=4)p(this,e,e+3),p(this,e+1,e+2);return this},u.prototype.swap64=function(){var t=this.length;if(t%8!=0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var e=0;e<t;e+=8)p(this,e,e+7),p(this,e+1,e+6),p(this,e+2,e+5),p(this,e+3,e+4);return this},u.prototype.toString=function(){var t=0|this.length;return 0==t?"":0===arguments.length?y(this,0,t):function(t,e,i){var r,n,o,s=!1;if((void 0===e||e<0)&&(e=0),e>this.length)return"";if((void 0===i||i>this.length)&&(i=this.length),i<=0)return"";if((i>>>=0)<=(e>>>=0))return"";for(t=t||"utf8";;)switch(t){case"hex":return b(this,e,i);case"utf8":case"utf-8":return y(this,e,i);case"ascii":return T(this,e,i);case"latin1":case"binary":return k(this,e,i);case"base64":return r=this,o=i,0===(n=e)&&o===r.length?a.fromByteArray(r):a.fromByteArray(r.slice(n,o));case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return w(this,e,i);default:if(s)throw new TypeError("Unknown encoding: "+t);t=(t+"").toLowerCase(),s=!0}}.apply(this,arguments)},u.prototype.equals=function(t){if(!u.isBuffer(t))throw new TypeError("Argument must be a Buffer");return this===t||0===u.compare(this,t)},u.prototype.inspect=function(){var t="",e=P.INSPECT_MAX_BYTES;return 0<this.length&&(t=this.toString("hex",0,e).match(/.{2}/g).join(" "),this.length>e&&(t+=" ... ")),"<Buffer "+t+">"},u.prototype.compare=function(t,e,i,r,n){if(!u.isBuffer(t))throw new TypeError("Argument must be a Buffer");if(void 0===e&&(e=0),void 0===i&&(i=t?t.length:0),void 0===r&&(r=0),void 0===n&&(n=this.length),e<0||i>t.length||r<0||n>this.length)throw new RangeError("out of range index");if(n<=r&&i<=e)return 0;if(n<=r)return-1;if(i<=e)return 1;if(this===t)return 0;for(var o=(n>>>=0)-(r>>>=0),s=(i>>>=0)-(e>>>=0),a=Math.min(o,s),l=this.slice(r,n),c=t.slice(e,i),h=0;h<a;++h)if(l[h]!==c[h]){o=l[h],s=c[h];break}return o<s?-1:s<o?1:0},u.prototype.includes=function(t,e,i){return-1!==this.indexOf(t,e,i)},u.prototype.indexOf=function(t,e,i){return m(this,t,e,i,!0)},u.prototype.lastIndexOf=function(t,e,i){return m(this,t,e,i,!1)},u.prototype.write=function(t,e,i,r){if(void 0===e)r="utf8",i=this.length,e=0;else if(void 0===i&&"string"==typeof e)r=e,i=this.length,e=0;else{if(!isFinite(e))throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");e|=0,isFinite(i)?(i|=0,void 0===r&&(r="utf8")):(r=i,i=void 0)}var n=this.length-e;if((void 0===i||n<i)&&(i=n),0<t.length&&(i<0||e<0)||e>this.length)throw new RangeError("Attempt to write outside buffer bounds");r=r||"utf8";for(var o,s,a,l,c,h,u=!1;;)switch(r){case"hex":return _(this,t,e,i);case"utf8":case"utf-8":return c=e,h=i,D(R(t,this.length-c),this,c,h);case"ascii":return v(this,t,e,i);case"latin1":case"binary":return v(this,t,e,i);case"base64":return this,a=e,l=i,D(M(t),this,a,l);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return o=e,s=i,D(function(t,e){for(var i,r,n,o=[],s=0;s<t.length&&!((e-=2)<0);++s)r=(i=t.charCodeAt(s))>>8,n=i%256,o.push(n),o.push(r);return o}(t,this.length-o),this,o,s);default:if(u)throw new TypeError("Unknown encoding: "+r);r=(""+r).toLowerCase(),u=!0}},u.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};var x=4096;function T(t,e,i){var r="";i=Math.min(t.length,i);for(var n=e;n<i;++n)r+=String.fromCharCode(127&t[n]);return r}function k(t,e,i){var r="";i=Math.min(t.length,i);for(var n=e;n<i;++n)r+=String.fromCharCode(t[n]);return r}function b(t,e,i){var r,n=t.length;(!e||e<0)&&(e=0),(!i||i<0||n<i)&&(i=n);for(var o="",s=e;s<i;++s)o+=(r=t[s])<16?"0"+r.toString(16):r.toString(16);return o}function w(t,e,i){for(var r=t.slice(e,i),n="",o=0;o<r.length;o+=2)n+=String.fromCharCode(r[o]+256*r[o+1]);return n}function E(t,e,i){if(t%1!=0||t<0)throw new RangeError("offset is not uint");if(i<t+e)throw new RangeError("Trying to access beyond buffer length")}function C(t,e,i,r,n,o){if(!u.isBuffer(t))throw new TypeError('"buffer" argument must be a Buffer instance');if(n<e||e<o)throw new RangeError('"value" argument is out of bounds');if(i+r>t.length)throw new RangeError("Index out of range")}function S(t,e,i,r){e<0&&(e=65535+e+1);for(var n=0,o=Math.min(t.length-i,2);n<o;++n)t[i+n]=(e&255<<8*(r?n:1-n))>>>8*(r?n:1-n)}function A(t,e,i,r){e<0&&(e=4294967295+e+1);for(var n=0,o=Math.min(t.length-i,4);n<o;++n)t[i+n]=e>>>8*(r?n:3-n)&255}function L(t,e,i,r){if(i+r>t.length)throw new RangeError("Index out of range");if(i<0)throw new RangeError("Index out of range")}function N(t,e,i,r,n){return n||L(t,0,i,4),o.write(t,e,i,r,23,4),i+4}function O(t,e,i,r,n){return n||L(t,0,i,8),o.write(t,e,i,r,52,8),i+8}u.prototype.slice=function(t,e){var i,r=this.length;if((t=~~t)<0?(t+=r)<0&&(t=0):r<t&&(t=r),(e=void 0===e?r:~~e)<0?(e+=r)<0&&(e=0):r<e&&(e=r),e<t&&(e=t),u.TYPED_ARRAY_SUPPORT)(i=this.subarray(t,e)).__proto__=u.prototype;else{var n=e-t;i=new u(n,void 0);for(var o=0;o<n;++o)i[o]=this[o+t]}return i},u.prototype.readUIntLE=function(t,e,i){t|=0,e|=0,i||E(t,e,this.length);for(var r=this[t],n=1,o=0;++o<e&&(n*=256);)r+=this[t+o]*n;return r},u.prototype.readUIntBE=function(t,e,i){t|=0,e|=0,i||E(t,e,this.length);for(var r=this[t+--e],n=1;0<e&&(n*=256);)r+=this[t+--e]*n;return r},u.prototype.readUInt8=function(t,e){return e||E(t,1,this.length),this[t]},u.prototype.readUInt16LE=function(t,e){return e||E(t,2,this.length),this[t]|this[t+1]<<8},u.prototype.readUInt16BE=function(t,e){return e||E(t,2,this.length),this[t]<<8|this[t+1]},u.prototype.readUInt32LE=function(t,e){return e||E(t,4,this.length),(this[t]|this[t+1]<<8|this[t+2]<<16)+16777216*this[t+3]},u.prototype.readUInt32BE=function(t,e){return e||E(t,4,this.length),16777216*this[t]+(this[t+1]<<16|this[t+2]<<8|this[t+3])},u.prototype.readIntLE=function(t,e,i){t|=0,e|=0,i||E(t,e,this.length);for(var r=this[t],n=1,o=0;++o<e&&(n*=256);)r+=this[t+o]*n;return(n*=128)<=r&&(r-=Math.pow(2,8*e)),r},u.prototype.readIntBE=function(t,e,i){t|=0,e|=0,i||E(t,e,this.length);for(var r=e,n=1,o=this[t+--r];0<r&&(n*=256);)o+=this[t+--r]*n;return(n*=128)<=o&&(o-=Math.pow(2,8*e)),o},u.prototype.readInt8=function(t,e){return e||E(t,1,this.length),128&this[t]?-1*(255-this[t]+1):this[t]},u.prototype.readInt16LE=function(t,e){e||E(t,2,this.length);var i=this[t]|this[t+1]<<8;return 32768&i?4294901760|i:i},u.prototype.readInt16BE=function(t,e){e||E(t,2,this.length);var i=this[t+1]|this[t]<<8;return 32768&i?4294901760|i:i},u.prototype.readInt32LE=function(t,e){return e||E(t,4,this.length),this[t]|this[t+1]<<8|this[t+2]<<16|this[t+3]<<24},u.prototype.readInt32BE=function(t,e){return e||E(t,4,this.length),this[t]<<24|this[t+1]<<16|this[t+2]<<8|this[t+3]},u.prototype.readFloatLE=function(t,e){return e||E(t,4,this.length),o.read(this,t,!0,23,4)},u.prototype.readFloatBE=function(t,e){return e||E(t,4,this.length),o.read(this,t,!1,23,4)},u.prototype.readDoubleLE=function(t,e){return e||E(t,8,this.length),o.read(this,t,!0,52,8)},u.prototype.readDoubleBE=function(t,e){return e||E(t,8,this.length),o.read(this,t,!1,52,8)},u.prototype.writeUIntLE=function(t,e,i,r){t=+t,e|=0,i|=0,r||C(this,t,e,i,Math.pow(2,8*i)-1,0);var n=1,o=0;for(this[e]=255&t;++o<i&&(n*=256);)this[e+o]=t/n&255;return e+i},u.prototype.writeUIntBE=function(t,e,i,r){t=+t,e|=0,i|=0,r||C(this,t,e,i,Math.pow(2,8*i)-1,0);var n=i-1,o=1;for(this[e+n]=255&t;0<=--n&&(o*=256);)this[e+n]=t/o&255;return e+i},u.prototype.writeUInt8=function(t,e,i){return t=+t,e|=0,i||C(this,t,e,1,255,0),u.TYPED_ARRAY_SUPPORT||(t=Math.floor(t)),this[e]=255&t,e+1},u.prototype.writeUInt16LE=function(t,e,i){return t=+t,e|=0,i||C(this,t,e,2,65535,0),u.TYPED_ARRAY_SUPPORT?(this[e]=255&t,this[e+1]=t>>>8):S(this,t,e,!0),e+2},u.prototype.writeUInt16BE=function(t,e,i){return t=+t,e|=0,i||C(this,t,e,2,65535,0),u.TYPED_ARRAY_SUPPORT?(this[e]=t>>>8,this[e+1]=255&t):S(this,t,e,!1),e+2},u.prototype.writeUInt32LE=function(t,e,i){return t=+t,e|=0,i||C(this,t,e,4,4294967295,0),u.TYPED_ARRAY_SUPPORT?(this[e+3]=t>>>24,this[e+2]=t>>>16,this[e+1]=t>>>8,this[e]=255&t):A(this,t,e,!0),e+4},u.prototype.writeUInt32BE=function(t,e,i){return t=+t,e|=0,i||C(this,t,e,4,4294967295,0),u.TYPED_ARRAY_SUPPORT?(this[e]=t>>>24,this[e+1]=t>>>16,this[e+2]=t>>>8,this[e+3]=255&t):A(this,t,e,!1),e+4},u.prototype.writeIntLE=function(t,e,i,r){if(t=+t,e|=0,!r){var n=Math.pow(2,8*i-1);C(this,t,e,i,n-1,-n)}var o=0,s=1,a=0;for(this[e]=255&t;++o<i&&(s*=256);)t<0&&0===a&&0!==this[e+o-1]&&(a=1),this[e+o]=(t/s>>0)-a&255;return e+i},u.prototype.writeIntBE=function(t,e,i,r){if(t=+t,e|=0,!r){var n=Math.pow(2,8*i-1);C(this,t,e,i,n-1,-n)}var o=i-1,s=1,a=0;for(this[e+o]=255&t;0<=--o&&(s*=256);)t<0&&0===a&&0!==this[e+o+1]&&(a=1),this[e+o]=(t/s>>0)-a&255;return e+i},u.prototype.writeInt8=function(t,e,i){return t=+t,e|=0,i||C(this,t,e,1,127,-128),u.TYPED_ARRAY_SUPPORT||(t=Math.floor(t)),t<0&&(t=255+t+1),this[e]=255&t,e+1},u.prototype.writeInt16LE=function(t,e,i){return t=+t,e|=0,i||C(this,t,e,2,32767,-32768),u.TYPED_ARRAY_SUPPORT?(this[e]=255&t,this[e+1]=t>>>8):S(this,t,e,!0),e+2},u.prototype.writeInt16BE=function(t,e,i){return t=+t,e|=0,i||C(this,t,e,2,32767,-32768),u.TYPED_ARRAY_SUPPORT?(this[e]=t>>>8,this[e+1]=255&t):S(this,t,e,!1),e+2},u.prototype.writeInt32LE=function(t,e,i){return t=+t,e|=0,i||C(this,t,e,4,2147483647,-2147483648),u.TYPED_ARRAY_SUPPORT?(this[e]=255&t,this[e+1]=t>>>8,this[e+2]=t>>>16,this[e+3]=t>>>24):A(this,t,e,!0),e+4},u.prototype.writeInt32BE=function(t,e,i){return t=+t,e|=0,i||C(this,t,e,4,2147483647,-2147483648),t<0&&(t=4294967295+t+1),u.TYPED_ARRAY_SUPPORT?(this[e]=t>>>24,this[e+1]=t>>>16,this[e+2]=t>>>8,this[e+3]=255&t):A(this,t,e,!1),e+4},u.prototype.writeFloatLE=function(t,e,i){return N(this,t,e,!0,i)},u.prototype.writeFloatBE=function(t,e,i){return N(this,t,e,!1,i)},u.prototype.writeDoubleLE=function(t,e,i){return O(this,t,e,!0,i)},u.prototype.writeDoubleBE=function(t,e,i){return O(this,t,e,!1,i)},u.prototype.copy=function(t,e,i,r){if(i=i||0,r||0===r||(r=this.length),e>=t.length&&(e=t.length),e=e||0,0<r&&r<i&&(r=i),r===i)return 0;if(0===t.length||0===this.length)return 0;if(e<0)throw new RangeError("targetStart out of bounds");if(i<0||i>=this.length)throw new RangeError("sourceStart out of bounds");if(r<0)throw new RangeError("sourceEnd out of bounds");r>this.length&&(r=this.length),t.length-e<r-i&&(r=t.length-e+i);var n,o=r-i;if(this===t&&i<e&&e<r)for(n=o-1;0<=n;--n)t[n+e]=this[n+i];else if(o<1e3||!u.TYPED_ARRAY_SUPPORT)for(n=0;n<o;++n)t[n+e]=this[n+i];else Uint8Array.prototype.set.call(t,this.subarray(i,i+o),e);return o},u.prototype.fill=function(t,e,i,r){if("string"==typeof t){if("string"==typeof e?(r=e,e=0,i=this.length):"string"==typeof i&&(r=i,i=this.length),1===t.length){var n=t.charCodeAt(0);n<256&&(t=n)}if(void 0!==r&&"string"!=typeof r)throw new TypeError("encoding must be a string");if("string"==typeof r&&!u.isEncoding(r))throw new TypeError("Unknown encoding: "+r)}else"number"==typeof t&&(t&=255);if(e<0||this.length<e||this.length<i)throw new RangeError("Out of range index");if(i<=e)return this;var o;if(e>>>=0,i=void 0===i?this.length:i>>>0,"number"==typeof(t=t||0))for(o=e;o<i;++o)this[o]=t;else{var s=u.isBuffer(t)?t:R(new u(t,r).toString()),a=s.length;for(o=0;o<i-e;++o)this[o+e]=s[o%a]}return this};var I=/[^+\/0-9A-Za-z-_]/g;function R(t,e){var i;e=e||1/0;for(var r=t.length,n=null,o=[],s=0;s<r;++s){if(55295<(i=t.charCodeAt(s))&&i<57344){if(!n){if(56319<i){-1<(e-=3)&&o.push(239,191,189);continue}if(s+1===r){-1<(e-=3)&&o.push(239,191,189);continue}n=i;continue}if(i<56320){-1<(e-=3)&&o.push(239,191,189),n=i;continue}i=65536+(n-55296<<10|i-56320)}else n&&-1<(e-=3)&&o.push(239,191,189);if(n=null,i<128){if((e-=1)<0)break;o.push(i)}else if(i<2048){if((e-=2)<0)break;o.push(i>>6|192,63&i|128)}else if(i<65536){if((e-=3)<0)break;o.push(i>>12|224,i>>6&63|128,63&i|128)}else{if(!(i<1114112))throw new Error("Invalid code point");if((e-=4)<0)break;o.push(i>>18|240,i>>12&63|128,i>>6&63|128,63&i|128)}}return o}function M(t){return a.toByteArray(function(t){var e;if((t=((e=t).trim?e.trim():e.replace(/^\s+|\s+$/g,"")).replace(I,"")).length<2)return"";for(;t.length%4!=0;)t+="=";return t}(t))}function D(t,e,i,r){for(var n=0;n<r&&!(n+i>=e.length||n>=t.length);++n)e[n+i]=t[n];return n}}).call(this,e(14))},function(aWa,bWa){var cWa;cWa=function(){return this}();try{cWa=cWa||Function("return this")()||eval("this")}catch(t){"object"==typeof window&&(cWa=window)}aWa.exports=cWa},function(t,e,i){"use strict";e.byteLength=function(t){var e=f(t),i=e[0],r=e[1];return 3*(i+r)/4-r},e.toByteArray=function(t){for(var e,i=f(t),r=i[0],n=i[1],o=new u(3*(r+(c=n))/4-c),s=0,a=0<n?r-4:r,l=0;l<a;l+=4)e=h[t.charCodeAt(l)]<<18|h[t.charCodeAt(l+1)]<<12|h[t.charCodeAt(l+2)]<<6|h[t.charCodeAt(l+3)],o[s++]=e>>16&255,o[s++]=e>>8&255,o[s++]=255&e;var c;return 2===n&&(e=h[t.charCodeAt(l)]<<2|h[t.charCodeAt(l+1)]>>4,o[s++]=255&e),1===n&&(e=h[t.charCodeAt(l)]<<10|h[t.charCodeAt(l+1)]<<4|h[t.charCodeAt(l+2)]>>2,o[s++]=e>>8&255,o[s++]=255&e),o},e.fromByteArray=function(t){for(var e,i=t.length,r=i%3,n=[],o=0,s=i-r;o<s;o+=16383)n.push(l(t,o,s<o+16383?s:o+16383));return 1==r?(e=t[i-1],n.push(a[e>>2]+a[e<<4&63]+"==")):2==r&&(e=(t[i-2]<<8)+t[i-1],n.push(a[e>>10]+a[e>>4&63]+a[e<<2&63]+"=")),n.join("")};for(var a=[],h=[],u="undefined"!=typeof Uint8Array?Uint8Array:Array,r="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",n=0,o=r.length;n<o;++n)a[n]=r[n],h[r.charCodeAt(n)]=n;function f(t){var e=t.length;if(0<e%4)throw new Error("Invalid string. Length must be a multiple of 4");var i=t.indexOf("=");return-1===i&&(i=e),[i,i===e?0:4-i%4]}function l(t,e,i){for(var r,n,o=[],s=e;s<i;s+=3)r=(t[s]<<16&16711680)+(t[s+1]<<8&65280)+(255&t[s+2]),o.push(a[(n=r)>>18&63]+a[n>>12&63]+a[n>>6&63]+a[63&n]);return o.join("")}h["-".charCodeAt(0)]=62,h["_".charCodeAt(0)]=63},function(t,e){e.read=function(t,e,i,r,n){var o,s,a=8*n-r-1,l=(1<<a)-1,c=l>>1,h=-7,u=i?n-1:0,f=i?-1:1,d=t[e+u];for(u+=f,o=d&(1<<-h)-1,d>>=-h,h+=a;0<h;o=256*o+t[e+u],u+=f,h-=8);for(s=o&(1<<-h)-1,o>>=-h,h+=r;0<h;s=256*s+t[e+u],u+=f,h-=8);if(0===o)o=1-c;else{if(o===l)return s?NaN:1/0*(d?-1:1);s+=Math.pow(2,r),o-=c}return(d?-1:1)*s*Math.pow(2,o-r)},e.write=function(t,e,i,r,n,o){var s,a,l,c=8*o-n-1,h=(1<<c)-1,u=h>>1,f=23===n?Math.pow(2,-24)-Math.pow(2,-77):0,d=r?0:o-1,p=r?1:-1,m=e<0||0===e&&1/e<0?1:0;for(e=Math.abs(e),isNaN(e)||e===1/0?(a=isNaN(e)?1:0,s=h):(s=Math.floor(Math.log(e)/Math.LN2),e*(l=Math.pow(2,-s))<1&&(s--,l*=2),2<=(e+=1<=s+u?f/l:f*Math.pow(2,1-u))*l&&(s++,l/=2),h<=s+u?(a=0,s=h):1<=s+u?(a=(e*l-1)*Math.pow(2,n),s+=u):(a=e*Math.pow(2,u-1)*Math.pow(2,n),s=0));8<=n;t[i+d]=255&a,d+=p,a/=256,n-=8);for(s=s<<n|a,c+=n;0<c;t[i+d]=255&s,d+=p,s/=256,c-=8);t[i+d-p]|=128*m}},function(t,e){var i={}.toString;t.exports=Array.isArray||function(t){return"[object Array]"==i.call(t)}},function(t,e,i){"use strict";function r(t){this.engine=t,this.tok=this.engine.tokens.names,this.EOF=1,this.debug=!1,this.all_tokens=!0,this.comment_tokens=!1,this.mode_eval=!1,this.asp_tags=!1,this.short_tags=!0,this.php7=!0,this.yyprevcol=0,this.keywords={__class__:this.tok.T_CLASS_C,__trait__:this.tok.T_TRAIT_C,__function__:this.tok.T_FUNC_C,__method__:this.tok.T_METHOD_C,__line__:this.tok.T_LINE,__file__:this.tok.T_FILE,__dir__:this.tok.T_DIR,__namespace__:this.tok.T_NS_C,exit:this.tok.T_EXIT,die:this.tok.T_EXIT,function:this.tok.T_FUNCTION,const:this.tok.T_CONST,return:this.tok.T_RETURN,try:this.tok.T_TRY,catch:this.tok.T_CATCH,finally:this.tok.T_FINALLY,throw:this.tok.T_THROW,if:this.tok.T_IF,elseif:this.tok.T_ELSEIF,endif:this.tok.T_ENDIF,else:this.tok.T_ELSE,while:this.tok.T_WHILE,endwhile:this.tok.T_ENDWHILE,do:this.tok.T_DO,for:this.tok.T_FOR,endfor:this.tok.T_ENDFOR,foreach:this.tok.T_FOREACH,endforeach:this.tok.T_ENDFOREACH,declare:this.tok.T_DECLARE,enddeclare:this.tok.T_ENDDECLARE,instanceof:this.tok.T_INSTANCEOF,as:this.tok.T_AS,switch:this.tok.T_SWITCH,endswitch:this.tok.T_ENDSWITCH,case:this.tok.T_CASE,default:this.tok.T_DEFAULT,break:this.tok.T_BREAK,continue:this.tok.T_CONTINUE,goto:this.tok.T_GOTO,echo:this.tok.T_ECHO,print:this.tok.T_PRINT,class:this.tok.T_CLASS,interface:this.tok.T_INTERFACE,trait:this.tok.T_TRAIT,extends:this.tok.T_EXTENDS,implements:this.tok.T_IMPLEMENTS,new:this.tok.T_NEW,clone:this.tok.T_CLONE,var:this.tok.T_VAR,eval:this.tok.T_EVAL,include:this.tok.T_INCLUDE,include_once:this.tok.T_INCLUDE_ONCE,require:this.tok.T_REQUIRE,require_once:this.tok.T_REQUIRE_ONCE,namespace:this.tok.T_NAMESPACE,use:this.tok.T_USE,insteadof:this.tok.T_INSTEADOF,global:this.tok.T_GLOBAL,isset:this.tok.T_ISSET,empty:this.tok.T_EMPTY,__halt_compiler:this.tok.T_HALT_COMPILER,static:this.tok.T_STATIC,abstract:this.tok.T_ABSTRACT,final:this.tok.T_FINAL,private:this.tok.T_PRIVATE,protected:this.tok.T_PROTECTED,public:this.tok.T_PUBLIC,unset:this.tok.T_UNSET,list:this.tok.T_LIST,array:this.tok.T_ARRAY,callable:this.tok.T_CALLABLE,or:this.tok.T_LOGICAL_OR,and:this.tok.T_LOGICAL_AND,xor:this.tok.T_LOGICAL_XOR},this.castKeywords={int:this.tok.T_INT_CAST,integer:this.tok.T_INT_CAST,real:this.tok.T_DOUBLE_CAST,double:this.tok.T_DOUBLE_CAST,float:this.tok.T_DOUBLE_CAST,string:this.tok.T_STRING_CAST,binary:this.tok.T_STRING_CAST,array:this.tok.T_ARRAY_CAST,object:this.tok.T_OBJECT_CAST,bool:this.tok.T_BOOL_CAST,boolean:this.tok.T_BOOL_CAST,unset:this.tok.T_UNSET_CAST}}var n="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};r.prototype.setInput=function(t){return this._input=t,this.size=t.length,this.yylineno=1,this.offset=0,this.yyprevcol=0,this.yytext="",this.yylloc={first_offset:0,first_line:1,first_column:0,prev_offset:0,prev_line:1,prev_column:0,last_line:1,last_column:0},this.tokens=[],this.done=this.offset>=this.size,!this.all_tokens&&this.mode_eval?(this.conditionStack=["INITIAL"],this.begin("ST_IN_SCRIPTING")):(this.conditionStack=[],this.begin("INITIAL")),this},r.prototype.input=function(){var t=this._input[this.offset];return t?(this.yytext+=t,this.offset++,"\r"===t&&"\n"===this._input[this.offset]&&(this.yytext+="\n",this.offset++),"\n"===t||"\r"===t?(this.yylloc.last_line=++this.yylineno,this.yyprevcol=this.yylloc.last_column,this.yylloc.last_column=0):this.yylloc.last_column++,t):""},r.prototype.unput=function(t){if(1===t)this.offset--,"\n"===this._input[this.offset]&&"\r"===this._input[this.offset-1]&&(this.offset--,t++),"\r"===this._input[this.offset]||"\n"===this._input[this.offset]?(this.yylloc.last_line--,this.yylineno--,this.yylloc.last_column=this.yyprevcol):this.yylloc.last_column--,this.yytext=this.yytext.substring(0,this.yytext.length-t);else if(0<t)if(this.offset-=t,t<this.yytext.length){this.yytext=this.yytext.substring(0,this.yytext.length-t),this.yylloc.last_line=this.yylloc.first_line,this.yylloc.last_column=this.yyprevcol=this.yylloc.first_column;for(var e=0;e<this.yytext.length;e++){var i=this.yytext[e];"\r"===i?(i=this.yytext[++e],this.yyprevcol=this.yylloc.last_column,this.yylloc.last_line++,this.yylloc.last_column=0,"\n"!==i&&("\r"===i?this.yylloc.last_line++:this.yylloc.last_column++)):"\n"===i?(this.yyprevcol=this.yylloc.last_column,this.yylloc.last_line++,this.yylloc.last_column=0):this.yylloc.last_column++}this.yylineno=this.yylloc.last_line}else this.yytext="",this.yylloc.last_line=this.yylineno=this.yylloc.first_line,this.yylloc.last_column=this.yylloc.first_column;return this},r.prototype.tryMatch=function(t){return t===this.ahead(t.length)},r.prototype.tryMatchCaseless=function(t){return t===this.ahead(t.length).toLowerCase()},r.prototype.ahead=function(t){var e=this._input.substring(this.offset,this.offset+t);return"\r"===e[e.length-1]&&"\n"===this._input[this.offset+t+1]&&(e+="\n"),e},r.prototype.consume=function(t){for(var e=0;e<t;e++){var i=this._input[this.offset];if(!i)break;this.yytext+=i,this.offset++,"\r"===i&&"\n"===this._input[this.offset]&&(this.yytext+="\n",this.offset++,e++),"\n"===i||"\r"===i?(this.yylloc.last_line=++this.yylineno,this.yyprevcol=this.yylloc.last_column,this.yylloc.last_column=0):this.yylloc.last_column++}return this},r.prototype.getState=function(){return{yytext:this.yytext,offset:this.offset,yylineno:this.yylineno,yyprevcol:this.yyprevcol,yylloc:{first_offset:this.yylloc.first_offset,first_line:this.yylloc.first_line,first_column:this.yylloc.first_column,last_line:this.yylloc.last_line,last_column:this.yylloc.last_column}}},r.prototype.setState=function(t){return this.yytext=t.yytext,this.offset=t.offset,this.yylineno=t.yylineno,this.yyprevcol=t.yyprevcol,this.yylloc=t.yylloc,this},r.prototype.appendToken=function(t,e){return this.tokens.push([t,e]),this},r.prototype.lex=function(){this.yylloc.prev_offset=this.offset,this.yylloc.prev_line=this.yylloc.last_line,this.yylloc.prev_column=this.yylloc.last_column;var t=this.next()||this.lex();if(!this.all_tokens){for(;t===this.tok.T_WHITESPACE||!this.comment_tokens&&(t===this.tok.T_COMMENT||t===this.tok.T_DOC_COMMENT)||t===this.tok.T_OPEN_TAG;)t=this.next()||this.lex();if(t==this.tok.T_OPEN_TAG_WITH_ECHO)return this.tok.T_ECHO;if(t===this.tok.T_CLOSE_TAG)return";"}return this.yylloc.prev_offset||(this.yylloc.prev_offset=this.yylloc.first_offset,this.yylloc.prev_line=this.yylloc.first_line,this.yylloc.prev_column=this.yylloc.first_column),t},r.prototype.begin=function(t){if(this.conditionStack.push(t),this.curCondition=t,this.stateCb=this["match"+t],"function"!=typeof this.stateCb)throw new Error('Undefined condition state "'+t+'"');return this},r.prototype.popState=function(){var t=0<this.conditionStack.length-1?this.conditionStack.pop():this.conditionStack[0];if(this.curCondition=this.conditionStack[this.conditionStack.length-1],this.stateCb=this["match"+this.curCondition],"function"!=typeof this.stateCb)throw new Error('Undefined condition state "'+this.curCondition+'"');return t},r.prototype.next=function(){var t=void 0;if(this._input||(this.done=!0),this.yylloc.first_offset=this.offset,this.yylloc.first_line=this.yylloc.last_line,this.yylloc.first_column=this.yylloc.last_column,this.yytext="",this.done)return this.yylloc.prev_offset=this.yylloc.first_offset,this.yylloc.prev_line=this.yylloc.first_line,this.yylloc.prev_column=this.yylloc.first_column,this.EOF;if(t=0<this.tokens.length?(t=this.tokens.shift(),"object"===n(t[1])?this.setState(t[1]):this.consume(t[1]),t[0]):this.stateCb.apply(this,[]),this.offset>=this.size&&0===this.tokens.length&&(this.done=!0),this.debug){var e=t;e="number"==typeof e?this.engine.tokens.values[e]:'"'+e+'"';var i=new Error(e+"\tfrom "+this.yylloc.first_line+","+this.yylloc.first_column+"\t - to "+this.yylloc.last_line+","+this.yylloc.last_column+'\t"'+this.yytext+'"');console.error(i.stack)}return t},[i(19),i(20),i(21),i(23),i(24),i(25),i(26),i(27)].forEach(function(t){for(var e in t)r.prototype[e]=t[e]}),t.exports=r},function(t,e,i){"use strict";t.exports={T_COMMENT:function(){for(;this.offset<this.size;){var t=this.input();if("\n"===t||"\r"===t)return this.tok.T_COMMENT;if("?"===t&&!this.aspTagMode&&">"===this._input[this.offset])return this.unput(1),this.tok.T_COMMENT;if("%"===t&&this.aspTagMode&&">"===this._input[this.offset])return this.unput(1),this.tok.T_COMMENT}return this.tok.T_COMMENT},T_DOC_COMMENT:function(){var t=this.input(),e=this.tok.T_COMMENT;if("*"===t){if(t=this.input(),this.is_WHITESPACE()&&(e=this.tok.T_DOC_COMMENT),"/"===t)return e;this.unput(1)}for(;this.offset<this.size;)if("*"===(t=this.input())&&"/"===this._input[this.offset]){this.input();break}return e}}},function(t,e,i){"use strict";t.exports={nextINITIAL:function(){return 1<this.conditionStack.length&&"INITIAL"===this.conditionStack[this.conditionStack.length-1]?this.popState():this.begin("ST_IN_SCRIPTING"),this},matchINITIAL:function(){for(;this.offset<this.size;){var t=this.input();if("<"==t)if("?"==(t=this.ahead(1))){if(this.tryMatch("?=")){this.unput(1).appendToken(this.tok.T_OPEN_TAG_WITH_ECHO,3).nextINITIAL();break}if(this.tryMatchCaseless("?php")&&(" "===(t=this._input[this.offset+4])||"\t"===t||"\n"===t||"\r"===t)){this.unput(1).appendToken(this.tok.T_OPEN_TAG,6).nextINITIAL();break}if(this.short_tags){this.unput(1).appendToken(this.tok.T_OPEN_TAG,2).nextINITIAL();break}}else if(this.asp_tags&&"%"==t){if(this.tryMatch("%=")){this.aspTagMode=!0,this.unput(1).appendToken(this.tok.T_OPEN_TAG_WITH_ECHO,3).nextINITIAL();break}this.aspTagMode=!0,this.unput(1).appendToken(this.tok.T_OPEN_TAG,2).nextINITIAL();break}}return 0<this.yytext.length&&this.tok.T_INLINE_HTML}}},function(e,t,i){"use strict";(function(t){var i=10,r="2147483648";"x64"==t.arch&&(i=19,r="9223372036854775808"),e.exports={consume_NUM:function(){var t=this.yytext[0],e="."===this.yytext[0];if("0"===t)if("x"===(t=this.input())||"X"===t){if(t=this.input(),this.is_HEX())return this.consume_HNUM();this.unput(t?2:1)}else if("b"===t||"B"===t){if("0"===(t=this.input())||"1"===t)return this.consume_BNUM();this.unput(t?2:1)}else this.is_NUM()||t&&this.unput(1);for(;this.offset<this.size;)if(t=this.input(),!this.is_NUM()){if("."!==t||e){if("e"===t||"E"===t){if("+"===(t=this.input())||"-"===t){if(t=this.input(),this.is_NUM())return this.consume_LNUM(),this.tok.T_DNUMBER;this.unput(t?3:2);break}if(this.is_NUM())return this.consume_LNUM(),this.tok.T_DNUMBER;this.unput(t?2:1);break}t&&this.unput(1);break}e=!0}return e?this.tok.T_DNUMBER:this.yytext.length<i-1?this.tok.T_LNUMBER:this.yytext.length<i||this.yytext.length==i&&this.yytext<r?this.tok.T_LNUMBER:this.tok.T_DNUMBER},consume_HNUM:function(){for(;this.offset<this.size;){var t=this.input();if(!this.is_HEX()){t&&this.unput(1);break}}return this.tok.T_LNUMBER},consume_LNUM:function(){for(;this.offset<this.size;){var t=this.input();if(!this.is_NUM()){t&&this.unput(1);break}}return this.tok.T_LNUMBER},consume_BNUM:function(){for(var t=void 0;this.offset<this.size;)if("0"!==(t=this.input())&&"1"!==t){t&&this.unput(1);break}return this.tok.T_LNUMBER}}}).call(this,i(22))},function(t,e){var i,r,n=t.exports={};function o(){throw new Error("setTimeout has not been defined")}function s(){throw new Error("clearTimeout has not been defined")}function a(e){if(i===setTimeout)return setTimeout(e,0);if((i===o||!i)&&setTimeout)return i=setTimeout,setTimeout(e,0);try{return i(e,0)}catch(t){try{return i.call(null,e,0)}catch(t){return i.call(this,e,0)}}}!function(){try{i="function"==typeof setTimeout?setTimeout:o}catch(t){i=o}try{r="function"==typeof clearTimeout?clearTimeout:s}catch(t){r=s}}();var l,c=[],h=!1,u=-1;function f(){h&&l&&(h=!1,l.length?c=l.concat(c):u=-1,c.length&&d())}function d(){if(!h){var t=a(f);h=!0;for(var e=c.length;e;){for(l=c,c=[];++u<e;)l&&l[u].run();u=-1,e=c.length}l=null,h=!1,function(e){if(r===clearTimeout)return clearTimeout(e);if((r===s||!r)&&clearTimeout)return r=clearTimeout,clearTimeout(e);try{r(e)}catch(t){try{return r.call(null,e)}catch(t){return r.call(this,e)}}}(t)}}function p(t,e){this.fun=t,this.array=e}function m(){}n.nextTick=function(t){var e=new Array(arguments.length-1);if(1<arguments.length)for(var i=1;i<arguments.length;i++)e[i-1]=arguments[i];c.push(new p(t,e)),1!==c.length||h||a(d)},p.prototype.run=function(){this.fun.apply(null,this.array)},n.title="browser",n.browser=!0,n.env={},n.argv=[],n.version="",n.versions={},n.on=m,n.addListener=m,n.once=m,n.off=m,n.removeListener=m,n.removeAllListeners=m,n.emit=m,n.prependListener=m,n.prependOnceListener=m,n.listeners=function(t){return[]},n.binding=function(t){throw new Error("process.binding is not supported")},n.cwd=function(){return"/"},n.chdir=function(t){throw new Error("process.chdir is not supported")},n.umask=function(){return 0}},function(t,e,i){"use strict";t.exports={matchST_LOOKING_FOR_PROPERTY:function(){var t=this.input();if("-"===t){if(">"===(t=this.input()))return this.tok.T_OBJECT_OPERATOR;t&&this.unput(1)}else{if(this.is_WHITESPACE())return this.tok.T_WHITESPACE;if(this.is_LABEL_START())return this.consume_LABEL(),this.popState(),this.tok.T_STRING}return this.popState(),t&&this.unput(1),!1},matchST_LOOKING_FOR_VARNAME:function(){var t=this.input();if(this.popState(),this.begin("ST_IN_SCRIPTING"),this.is_LABEL_START()){if(this.consume_LABEL(),"["===(t=this.input())||"}"===t)return this.unput(1),this.tok.T_STRING_VARNAME;this.unput(this.yytext.length)}else t&&this.unput(1);return!1},matchST_VAR_OFFSET:function(){var t=this.input();if(this.is_NUM())return this.consume_NUM(),this.tok.T_NUM_STRING;if("]"===t)return this.popState(),"]";if("$"===t){if(this.input(),this.is_LABEL_START())return this.consume_LABEL(),this.tok.T_VARIABLE;throw new Error("Unexpected terminal")}if(this.is_LABEL_START())return this.consume_LABEL(),this.tok.T_STRING;if(this.is_WHITESPACE()||"\\"===t||"'"===t||"#"===t)return this.tok.T_ENCAPSED_AND_WHITESPACE;if("["===t||"{"===t||"}"===t||'"'===t||"`"===t||this.is_TOKEN())return t;throw new Error("Unexpected terminal")}}},function(t,e,i){"use strict";t.exports={matchST_IN_SCRIPTING:function(){var t=this.input();switch(t){case" ":case"\t":case"\n":case"\r":case"\r\n":return this.T_WHITESPACE();case"#":return this.T_COMMENT();case"/":return"/"===this._input[this.offset]?this.T_COMMENT():"*"===this._input[this.offset]?(this.input(),this.T_DOC_COMMENT()):this.consume_TOKEN();case"'":return this.T_CONSTANT_ENCAPSED_STRING();case'"':return this.ST_DOUBLE_QUOTES();case"`":return this.begin("ST_BACKQUOTE"),"`";case"?":if(this.aspTagMode||!this.tryMatch(">"))return this.consume_TOKEN();this.input();var e=this._input[this.offset];return"\n"!==e&&"\r"!==e||this.input(),1<this.conditionStack.length&&this.begin("INITIAL"),this.tok.T_CLOSE_TAG;case"%":return this.aspTagMode&&">"===this._input[this.offset]?(this.input(),"\n"!==(t=this._input[this.offset])&&"\r"!==t||this.input(),this.aspTagMode=!1,1<this.conditionStack.length&&this.begin("INITIAL"),this.tok.T_CLOSE_TAG):this.consume_TOKEN();case"{":return this.begin("ST_IN_SCRIPTING"),"{";case"}":return 2<this.conditionStack.length&&this.popState(),"}";default:if("."===t){if(t=this.input(),this.is_NUM())return this.consume_NUM();t&&this.unput(1)}if(this.is_NUM())return this.consume_NUM();if(this.is_LABEL_START())return this.consume_LABEL().T_STRING();if(this.is_TOKEN())return this.consume_TOKEN()}throw new Error('Bad terminal sequence "'+t+'" at line '+this.yylineno+" (offset "+this.offset+")")},T_WHITESPACE:function(){for(;this.offset<this.size;){var t=this.input();if(" "!==t&&"\t"!==t&&"\n"!==t&&"\r"!==t){t&&this.unput(1);break}}return this.tok.T_WHITESPACE}}},function(t,e,i){"use strict";t.exports={T_CONSTANT_ENCAPSED_STRING:function(){for(var t=void 0;this.offset<this.size;)if("\\"==(t=this.input()))this.input();else if("'"==t)break;return this.tok.T_CONSTANT_ENCAPSED_STRING},is_HEREDOC:function(){var t=this.offset;if("<"===this._input[this.offset-1]&&"<"===this._input[this.offset]&&"<"===this._input[this.offset+1]){if(this.offset+=3,this.is_TABSPACE())for(;this.offset<this.size&&(this.offset++,this.is_TABSPACE()););var e=this._input[this.offset-1];if("'"===e||'"'===e?this.offset++:e=null,this.is_LABEL_START()){for(var i=this.offset-1;this.offset<this.size&&(this.offset++,this.is_LABEL()););var r=this._input.substring(i,this.offset-1);if((!e||e===this._input[this.offset-1])&&(e&&this.offset++,"\r"===this._input[this.offset-1]||"\n"===this._input[this.offset-1]))return this.heredoc_label=r,i=this.offset-t,this.offset=t,this.consume(i),"'"===e?this.begin("ST_NOWDOC"):this.begin("ST_HEREDOC"),this.tok.T_START_HEREDOC}}return this.offset=t,!1},ST_DOUBLE_QUOTES:function(){for(var t=void 0;this.offset<this.size;)if("\\"==(t=this.input()))this.input();else{if('"'==t)break;if("$"==t){if("{"==(t=this.input())||this.is_LABEL_START()){this.unput(2);break}t&&this.unput(1)}else if("{"==t){if("$"==(t=this.input())){this.unput(2);break}t&&this.unput(1)}}if('"'==t)return this.tok.T_CONSTANT_ENCAPSED_STRING;var e=1;return"b"!==this.yytext[0]&&"B"!==this.yytext[0]||(e=2),2<this.yytext.length&&this.appendToken(this.tok.T_ENCAPSED_AND_WHITESPACE,this.yytext.length-e),this.unput(this.yytext.length-e),this.begin("ST_DOUBLE_QUOTES"),this.yytext},isDOC_MATCH:function(){if(this._input.substring(this.offset-1,this.offset-1+this.heredoc_label.length)===this.heredoc_label){var t=this._input[this.offset-1+this.heredoc_label.length];if("\n"===t||"\r"===t||";"===t)return!0}return!1},matchST_NOWDOC:function(){if(this.isDOC_MATCH())return this.consume(this.heredoc_label.length),this.popState(),this.tok.T_END_HEREDOC;for(var t=this._input[this.offset-1];this.offset<this.size;)if("\n"===t||"\r"===t){if(t=this.input(),this.isDOC_MATCH())return this.unput(1).popState(),this.appendToken(this.tok.T_END_HEREDOC,this.heredoc_label.length),this.tok.T_ENCAPSED_AND_WHITESPACE}else t=this.input();return this.tok.T_ENCAPSED_AND_WHITESPACE},matchST_HEREDOC:function(){var t=this.input();if(this.isDOC_MATCH())return this.consume(this.heredoc_label.length-1),this.popState(),this.tok.T_END_HEREDOC;for(;this.offset<this.size;)if("\\"===t&&"\n"!==(t=this.input())&&"\r"!==t&&(t=this.input()),"\n"===t||"\r"===t){if(t=this.input(),this.isDOC_MATCH())return this.unput(1).popState(),this.appendToken(this.tok.T_END_HEREDOC,this.heredoc_label.length),this.tok.T_ENCAPSED_AND_WHITESPACE}else if("$"===t){if("{"===(t=this.input()))return this.begin("ST_LOOKING_FOR_VARNAME"),2<this.yytext.length?(this.appendToken(this.tok.T_DOLLAR_OPEN_CURLY_BRACES,2),this.unput(2),this.tok.T_ENCAPSED_AND_WHITESPACE):this.tok.T_DOLLAR_OPEN_CURLY_BRACES;if(this.is_LABEL_START()){var e=this.offset,i=this.consume_VARIABLE();return this.yytext.length>this.offset-e+2?(this.appendToken(i,this.offset-e+2),this.unput(this.offset-e+2),this.tok.T_ENCAPSED_AND_WHITESPACE):i}}else if("{"===t){if("$"===(t=this.input()))return this.begin("ST_IN_SCRIPTING"),2<this.yytext.length?(this.appendToken(this.tok.T_CURLY_OPEN,1),this.unput(2),this.tok.T_ENCAPSED_AND_WHITESPACE):(this.unput(1),this.tok.T_CURLY_OPEN)}else t=this.input();return this.tok.T_ENCAPSED_AND_WHITESPACE},consume_VARIABLE:function(){this.consume_LABEL();var t=this.input();if("["==t)return this.unput(1),this.begin("ST_VAR_OFFSET"),this.tok.T_VARIABLE;if("-"===t){if(">"===this.input())return this.input(),this.is_LABEL_START()&&this.begin("ST_LOOKING_FOR_PROPERTY"),this.unput(3),this.tok.T_VARIABLE;this.unput(2)}else t&&this.unput(1);return this.tok.T_VARIABLE},matchST_BACKQUOTE:function(){var t=this.input();if("$"===t){if("{"===(t=this.input()))return this.begin("ST_LOOKING_FOR_VARNAME"),this.tok.T_DOLLAR_OPEN_CURLY_BRACES;if(this.is_LABEL_START())return this.consume_VARIABLE()}else if("{"===t){if("$"===this._input[this.offset])return this.begin("ST_IN_SCRIPTING"),this.tok.T_CURLY_OPEN}else if("`"===t)return this.popState(),"`";for(;this.offset<this.size;){if("\\"===t)this.input();else{if("`"===t){this.unput(1),this.popState(),this.appendToken("`",1);break}if("$"===t){if("{"===(t=this.input()))return this.begin("ST_LOOKING_FOR_VARNAME"),2<this.yytext.length?(this.appendToken(this.tok.T_DOLLAR_OPEN_CURLY_BRACES,2),this.unput(2),this.tok.T_ENCAPSED_AND_WHITESPACE):this.tok.T_DOLLAR_OPEN_CURLY_BRACES;if(this.is_LABEL_START()){var e=this.offset,i=this.consume_VARIABLE();return this.yytext.length>this.offset-e+2?(this.appendToken(i,this.offset-e+2),this.unput(this.offset-e+2),this.tok.T_ENCAPSED_AND_WHITESPACE):i}continue}if("{"===t){if("$"===(t=this.input()))return this.begin("ST_IN_SCRIPTING"),2<this.yytext.length?(this.appendToken(this.tok.T_CURLY_OPEN,1),this.unput(2),this.tok.T_ENCAPSED_AND_WHITESPACE):(this.unput(1),this.tok.T_CURLY_OPEN);continue}}t=this.input()}return this.tok.T_ENCAPSED_AND_WHITESPACE},matchST_DOUBLE_QUOTES:function(){var t=this.input();if("$"===t){if("{"===(t=this.input()))return this.begin("ST_LOOKING_FOR_VARNAME"),this.tok.T_DOLLAR_OPEN_CURLY_BRACES;if(this.is_LABEL_START())return this.consume_VARIABLE()}else if("{"===t){if("$"===this._input[this.offset])return this.begin("ST_IN_SCRIPTING"),this.tok.T_CURLY_OPEN}else if('"'===t)return this.popState(),'"';for(;this.offset<this.size;){if("\\"===t)this.input();else{if('"'===t){this.unput(1),this.popState(),this.appendToken('"',1);break}if("$"===t){if("{"===(t=this.input()))return this.begin("ST_LOOKING_FOR_VARNAME"),2<this.yytext.length?(this.appendToken(this.tok.T_DOLLAR_OPEN_CURLY_BRACES,2),this.unput(2),this.tok.T_ENCAPSED_AND_WHITESPACE):this.tok.T_DOLLAR_OPEN_CURLY_BRACES;if(this.is_LABEL_START()){var e=this.offset,i=this.consume_VARIABLE();return this.yytext.length>this.offset-e+2?(this.appendToken(i,this.offset-e+2),this.unput(this.offset-e+2),this.tok.T_ENCAPSED_AND_WHITESPACE):i}t&&this.unput(1)}else if("{"===t){if("$"===(t=this.input()))return this.begin("ST_IN_SCRIPTING"),2<this.yytext.length?(this.appendToken(this.tok.T_CURLY_OPEN,1),this.unput(2),this.tok.T_ENCAPSED_AND_WHITESPACE):(this.unput(1),this.tok.T_CURLY_OPEN);t&&this.unput(1)}}t=this.input()}return this.tok.T_ENCAPSED_AND_WHITESPACE}}},function(t,e,i){"use strict";t.exports={T_STRING:function(){var t=this.yytext.toLowerCase(),e=this.keywords[t];if("number"!=typeof e)if("yield"===t)e=this.php7&&this.tryMatch(" from")?(this.consume(5),this.tok.T_YIELD_FROM):this.tok.T_YIELD;else if(e=this.tok.T_STRING,"b"===t||"B"===t){var i=this.input(1);if('"'===i)return this.ST_DOUBLE_QUOTES();if("'"===i)return this.T_CONSTANT_ENCAPSED_STRING();i&&this.unput(1)}return e},consume_TOKEN:function(){var t=this._input[this.offset-1],e=this.tokenTerminals[t];return e?e.apply(this,[]):this.yytext},tokenTerminals:{$:function(){return this.offset++,this.is_LABEL_START()?(this.offset--,this.consume_LABEL(),this.tok.T_VARIABLE):(this.offset--,"$")},"-":function(){var t=this._input[this.offset];return">"===t?(this.begin("ST_LOOKING_FOR_PROPERTY").input(),this.tok.T_OBJECT_OPERATOR):"-"===t?(this.input(),this.tok.T_DEC):"="===t?(this.input(),this.tok.T_MINUS_EQUAL):"-"},"\\":function(){return this.tok.T_NS_SEPARATOR},"/":function(){return"="===this._input[this.offset]?(this.input(),this.tok.T_DIV_EQUAL):"/"},":":function(){return":"===this._input[this.offset]?(this.input(),this.tok.T_DOUBLE_COLON):":"},"(":function(){var t=this.offset;if(this.input(),this.is_TABSPACE()&&this.consume_TABSPACE().input(),this.is_LABEL_START()){var e=this.yytext.length;this.consume_LABEL();var i=this.yytext.substring(e-1).toLowerCase(),r=this.castKeywords[i];if("number"==typeof r&&(this.input(),this.is_TABSPACE()&&this.consume_TABSPACE().input(),")"===this._input[this.offset-1]))return r}return this.unput(this.offset-t),"("},"=":function(){var t=this._input[this.offset];return">"===t?(this.input(),this.tok.T_DOUBLE_ARROW):"="===t?"="===this._input[this.offset+1]?(this.consume(2),this.tok.T_IS_IDENTICAL):(this.input(),this.tok.T_IS_EQUAL):"="},"+":function(){var t=this._input[this.offset];return"+"===t?(this.input(),this.tok.T_INC):"="===t?(this.input(),this.tok.T_PLUS_EQUAL):"+"},"!":function(){return"="===this._input[this.offset]?"="===this._input[this.offset+1]?(this.consume(2),this.tok.T_IS_NOT_IDENTICAL):(this.input(),this.tok.T_IS_NOT_EQUAL):"!"},"?":function(){return this.php7&&"?"===this._input[this.offset]?(this.input(),this.tok.T_COALESCE):"?"},"<":function(){var t=this._input[this.offset];return"<"===t?"="===(t=this._input[this.offset+1])?(this.consume(2),this.tok.T_SL_EQUAL):"<"===t&&this.is_HEREDOC()?this.tok.T_START_HEREDOC:(this.input(),this.tok.T_SL):"="===t?(this.input(),this.php7&&">"===this._input[this.offset]?(this.input(),this.tok.T_SPACESHIP):this.tok.T_IS_SMALLER_OR_EQUAL):">"===t?(this.input(),this.tok.T_IS_NOT_EQUAL):"<"},">":function(){var t=this._input[this.offset];return"="===t?(this.input(),this.tok.T_IS_GREATER_OR_EQUAL):">"===t?"="===(t=this._input[this.offset+1])?(this.consume(2),this.tok.T_SR_EQUAL):(this.input(),this.tok.T_SR):">"},"*":function(){var t=this._input[this.offset];return"="===t?(this.input(),this.tok.T_MUL_EQUAL):"*"===t?(this.input(),"="===this._input[this.offset]?(this.input(),this.tok.T_POW_EQUAL):this.tok.T_POW):"*"},".":function(){var t=this._input[this.offset];return"="===t?(this.input(),this.tok.T_CONCAT_EQUAL):"."===t&&"."===this._input[this.offset+1]?(this.consume(2),this.tok.T_ELLIPSIS):"."},"%":function(){return"="===this._input[this.offset]?(this.input(),this.tok.T_MOD_EQUAL):"%"},"&":function(){var t=this._input[this.offset];return"="===t?(this.input(),this.tok.T_AND_EQUAL):"&"===t?(this.input(),this.tok.T_BOOLEAN_AND):"&"},"|":function(){var t=this._input[this.offset];return"="===t?(this.input(),this.tok.T_OR_EQUAL):"|"===t?(this.input(),this.tok.T_BOOLEAN_OR):"|"},"^":function(){return"="===this._input[this.offset]?(this.input(),this.tok.T_XOR_EQUAL):"^"}}}},function(t,e,i){"use strict";t.exports={is_NUM:function(){var t=this._input.charCodeAt(this.offset-1);return 47<t&&t<58},is_LABEL:function(){var t=this._input.charCodeAt(this.offset-1);return 96<t&&t<123||64<t&&t<91||95===t||47<t&&t<58||126<t},is_LABEL_START:function(){var t=this._input.charCodeAt(this.offset-1);return 96<t&&t<123||64<t&&t<91||95===t||126<t},consume_LABEL:function(){for(;this.offset<this.size;){var t=this.input();if(!this.is_LABEL()){t&&this.unput(1);break}}return this},is_TOKEN:function(){var t=this._input[this.offset-1];return-1!==";:,.\\[]()|^&+-/*=%!~$<>?@".indexOf(t)},is_WHITESPACE:function(){var t=this._input[this.offset-1];return" "===t||"\t"===t||"\n"===t||"\r"===t},is_TABSPACE:function(){var t=this._input[this.offset-1];return" "===t||"\t"===t},consume_TABSPACE:function(){for(;this.offset<this.size;){var t=this.input();if(!this.is_TABSPACE()){t&&this.unput(1);break}}return this},is_HEX:function(){var t=this._input.charCodeAt(this.offset-1);return 47<t&&t<58||64<t&&t<71||96<t&&t<103}}},function(t,e,i){"use strict";function o(t){return"."!=t&&","!=t&&!isNaN(parseFloat(t))&&isFinite(t)}function r(t,e){function i(t){return[t,null]}this.lexer=t,this.ast=e,this.tok=t.tok,this.EOF=t.EOF,this.token=null,this.prev=null,this.debug=!1,this.php7=!0,this.extractDoc=!1,this.extractTokens=!1,this.suppressErrors=!1,this.entries={IDENTIFIER:new Map([this.tok.T_ABSTRACT,this.tok.T_ARRAY,this.tok.T_AS,this.tok.T_BREAK,this.tok.T_CALLABLE,this.tok.T_CASE,this.tok.T_CATCH,this.tok.T_CLASS,this.tok.T_CLASS_C,this.tok.T_CLONE,this.tok.T_CONST,this.tok.T_CONTINUE,this.tok.T_DECLARE,this.tok.T_DEFAULT,this.tok.T_DIR,this.tok.T_DO,this.tok.T_ECHO,this.tok.T_ELSE,this.tok.T_ELSEIF,this.tok.T_EMPTY,this.tok.T_ENDDECLARE,this.tok.T_ENDFOR,this.tok.T_ENDFOREACH,this.tok.T_ENDIF,this.tok.T_ENDSWITCH,this.tok.T_ENDWHILE,this.tok.T_EVAL,this.tok.T_EXIT,this.tok.T_EXTENDS,this.tok.T_FILE,this.tok.T_FINAL,this.tok.T_FINALLY,this.tok.T_FUNC_C,this.tok.T_FOR,this.tok.T_FOREACH,this.tok.T_FUNCTION,this.tok.T_GLOBAL,this.tok.T_GOTO,this.tok.T_IF,this.tok.T_IMPLEMENTS,this.tok.T_INCLUDE,this.tok.T_INCLUDE_ONCE,this.tok.T_INSTANCEOF,this.tok.T_INSTEADOF,this.tok.T_INTERFACE,this.tok.T_ISSET,this.tok.T_LINE,this.tok.T_LIST,this.tok.T_LOGICAL_AND,this.tok.T_LOGICAL_OR,this.tok.T_LOGICAL_XOR,this.tok.T_METHOD_C,this.tok.T_NAMESPACE,this.tok.T_NEW,this.tok.T_NS_C,this.tok.T_PRINT,this.tok.T_PRIVATE,this.tok.T_PROTECTED,this.tok.T_PUBLIC,this.tok.T_REQUIRE,this.tok.T_REQUIRE_ONCE,this.tok.T_RETURN,this.tok.T_STATIC,this.tok.T_SWITCH,this.tok.T_THROW,this.tok.T_TRAIT,this.tok.T_TRY,this.tok.T_UNSET,this.tok.T_USE,this.tok.T_VAR,this.tok.T_WHILE,this.tok.T_YIELD].map(i)),VARIABLE:new Map([this.tok.T_VARIABLE,"$","&",this.tok.T_NS_SEPARATOR,this.tok.T_STRING,this.tok.T_NAMESPACE,this.tok.T_STATIC].map(i)),SCALAR:new Map([this.tok.T_CONSTANT_ENCAPSED_STRING,this.tok.T_START_HEREDOC,this.tok.T_LNUMBER,this.tok.T_DNUMBER,this.tok.T_ARRAY,"[",this.tok.T_CLASS_C,this.tok.T_TRAIT_C,this.tok.T_FUNC_C,this.tok.T_METHOD_C,this.tok.T_LINE,this.tok.T_FILE,this.tok.T_DIR,this.tok.T_NS_C,'"','b"','B"',"-",this.tok.T_NS_SEPARATOR].map(i)),T_MAGIC_CONST:new Map([this.tok.T_CLASS_C,this.tok.T_TRAIT_C,this.tok.T_FUNC_C,this.tok.T_METHOD_C,this.tok.T_LINE,this.tok.T_FILE,this.tok.T_DIR,this.tok.T_NS_C].map(i)),T_MEMBER_FLAGS:new Map([this.tok.T_PUBLIC,this.tok.T_PRIVATE,this.tok.T_PROTECTED,this.tok.T_STATIC,this.tok.T_ABSTRACT,this.tok.T_FINAL].map(i)),EOS:new Map([";",this.EOF,this.tok.T_INLINE_HTML].map(i)),EXPR:new Map(["@","-","+","!","~","(","`",this.tok.T_LIST,this.tok.T_CLONE,this.tok.T_INC,this.tok.T_DEC,this.tok.T_NEW,this.tok.T_ISSET,this.tok.T_EMPTY,this.tok.T_INCLUDE,this.tok.T_INCLUDE_ONCE,this.tok.T_REQUIRE,this.tok.T_REQUIRE_ONCE,this.tok.T_EVAL,this.tok.T_INT_CAST,this.tok.T_DOUBLE_CAST,this.tok.T_STRING_CAST,this.tok.T_ARRAY_CAST,this.tok.T_OBJECT_CAST,this.tok.T_BOOL_CAST,this.tok.T_UNSET_CAST,this.tok.T_EXIT,this.tok.T_PRINT,this.tok.T_YIELD,this.tok.T_STATIC,this.tok.T_FUNCTION,this.tok.T_VARIABLE,"$",this.tok.T_NS_SEPARATOR,this.tok.T_STRING,this.tok.T_STRING,this.tok.T_CONSTANT_ENCAPSED_STRING,this.tok.T_START_HEREDOC,this.tok.T_LNUMBER,this.tok.T_DNUMBER,this.tok.T_ARRAY,"[",this.tok.T_CLASS_C,this.tok.T_TRAIT_C,this.tok.T_FUNC_C,this.tok.T_METHOD_C,this.tok.T_LINE,this.tok.T_FILE,this.tok.T_DIR,this.tok.T_NS_C].map(i))}}r.prototype.getTokenName=function(t){return o(t)?t==this.EOF?"the end of file (EOF)":this.lexer.engine.tokens.values[t]:"'"+t+"'"},r.prototype.parse=function(t,e){this._errors=[],this.filename=e||"eval",this.currentNamespace=[""],this.extractDoc?this._docs=[]:this._docs=null,this.extractTokens?this._tokens=[]:this._tokens=null,this._docIndex=0,this.lexer.setInput(t),this.lexer.all_tokens=this.extractTokens,this.lexer.comment_tokens=this.extractDoc,this.length=this.lexer._input.length,this.innerList=!1,this.innerListForm=!1;var i=this.node("program"),r=[];for(this.next();this.token!=this.EOF;){var n=this.read_start();null!=n&&(Array.isArray(n)?r=r.concat(n):r.push(n))}return this.prev=[this.lexer.yylloc.last_line,this.lexer.yylloc.last_column,this.lexer.offset],i(r,this._errors,this._docs,this._tokens)},r.prototype.raiseError=function(t,e,i,r){if(t+=" on line "+this.lexer.yylloc.first_line,!this.suppressErrors){var n=new SyntaxError(t,this.filename,this.lexer.yylloc.first_line);throw n.lineNumber=this.lexer.yylloc.first_line,n.fileName=this.filename,n.columnNumber=this.lexer.yylloc.first_column,n}var o=this.ast.prepare("error",null,this)(t,r,this.lexer.yylloc.first_line,i);return this._errors.push(o),o},r.prototype.error=function(t){var e="Parse Error : syntax error",i=this.getTokenName(this.token),r="";if(this.token!==this.EOF){if(o(this.token)){var n=this.text();10<n.length&&(n=n.substring(0,7)+"..."),i="'"+n+"' ("+i+")"}e+=", unexpected "+i}return t&&!Array.isArray(t)&&(!o(t)&&1!==t.length||(r=", expecting "+this.getTokenName(t)),e+=r),this.raiseError(e,r,t,i)},r.prototype.node=function(t){if(this.extractDoc){var e=null;this._docIndex<this._docs.length&&(e=this._docs.slice(this._docIndex),this._docIndex=this._docs.length,this.debug&&(console.log(new Error("Append docs on "+t)),console.log(e)));var i=this.ast.prepare(t,e,this);return i.preBuild=function(){this._docIndex<this._docs.length&&(i.setTrailingComments(this._docs.slice(this._docIndex)),this._docIndex=this._docs.length)}.bind(this),i}return this.ast.prepare(t,null,this)},r.prototype.expectEndOfStatement=function(t){if(";"===this.token)t&&";"===this.lexer.yytext&&t.includeToken(this);else if(this.token!==this.tok.T_INLINE_HTML&&this.token!==this.EOF)return this.error(";"),!1;return this.next(),!0};var s=["parser.next","parser.node","parser.showlog"];r.prototype.showlog=function(){for(var t=(new Error).stack.split("\n"),e=void 0,i=2;i<t.length;i++){e=t[i].trim();for(var r=!1,n=0;n<s.length;n++)if(e.substring(3,3+s[n].length)===s[n]){r=!0;break}if(!r)break}return console.log("Line "+this.lexer.yylloc.first_line+" : "+this.getTokenName(this.token)+">"+this.lexer.yytext+"< @--\x3e"+e),this},r.prototype.expect=function(t){if(Array.isArray(t)){if(-1===t.indexOf(this.token))return this.error(t),!1}else if(this.token!=t)return this.error(t),!1;return!0},r.prototype.text=function(){return this.lexer.yytext},r.prototype.next=function(){if(";"===this.token&&";"!==this.lexer.yytext||(this.prev=[this.lexer.yylloc.last_line,this.lexer.yylloc.last_column,this.lexer.offset]),this.lex(),this.debug&&this.showlog(),this.extractDoc)for(;this.token===this.tok.T_COMMENT||this.token===this.tok.T_DOC_COMMENT;)this.token===this.tok.T_COMMENT?this._docs.push(this.read_comment()):this._docs.push(this.read_doc_comment());return this},r.prototype.lex=function(){if(this.extractTokens)do{if(this.token=this.lexer.lex()||this.EOF,this.token===this.EOF)return this;var t=this.lexer.yytext;if(t=this.lexer.engine.tokens.values.hasOwnProperty(this.token)?[this.lexer.engine.tokens.values[this.token],t,this.lexer.yylloc.first_line,this.lexer.yylloc.first_offset,this.lexer.offset]:[null,t,this.lexer.yylloc.first_line,this.lexer.yylloc.first_offset,this.lexer.offset],this._tokens.push(t),this.token===this.tok.T_CLOSE_TAG)return this.token=";",this;if(this.token===this.tok.T_OPEN_TAG_WITH_ECHO)return this.token=this.tok.T_ECHO,this}while(this.token===this.tok.T_WHITESPACE||!this.extractDoc&&(this.token===this.tok.T_COMMENT||this.token===this.tok.T_DOC_COMMENT)||this.token===this.tok.T_OPEN_TAG);else this.token=this.lexer.lex()||this.EOF;return this},r.prototype.is=function(t){return Array.isArray(t)?-1!==t.indexOf(this.token):this.entries[t].has(this.token)},[i(29),i(30),i(31),i(32),i(33),i(34),i(35),i(36),i(37),i(38),i(39),i(40),i(41),i(42),i(43)].forEach(function(t){for(var e in t)r.prototype[e]=t[e]}),t.exports=r},function(t,e,i){"use strict";t.exports={read_array:function(){var t,e=!1,i=this.node("array");t=this.token===this.tok.T_ARRAY?(this.next().expect("("),")"):(e=!0,"]");var r=[];return this.next().token!==t&&(r=this.read_array_pair_list(e)),this.expect(t),this.next(),i(e,r)},read_array_pair_list:function(t){var e=this;return this.read_list(function(){return e.read_array_pair(t)},",",!0)},read_array_pair:function(t){if(","===this.token||!t&&")"===this.token||t&&"]"===this.token)return null;if("&"===this.token)return this.next().read_variable(!0,!1,!0);var e=this.node("entry"),i=this.read_expr();return this.token===this.tok.T_DOUBLE_ARROW?"&"===this.next().token?e(i,this.next().read_variable(!0,!1,!0)):e(i,this.read_expr()):i},read_dim_offset:function(){return"]"!=this.token&&this.read_expr()}}},function(t,e,i){"use strict";t.exports={read_class:function(){var t=this.node("class"),e=this.read_class_scope();if(this.token!==this.tok.T_CLASS)return this.error(this.tok.T_CLASS),this.next(),null;this.next().expect(this.tok.T_STRING);var i=this.text(),r=null,n=null;return this.next().token==this.tok.T_EXTENDS&&(r=this.next().read_namespace_name()),this.token==this.tok.T_IMPLEMENTS&&(n=this.next().read_name_list()),this.expect("{"),t(i,r,n,this.next().read_class_body(),e)},read_class_scope:function(){var t=this.token;return t==this.tok.T_FINAL?(this.next(),[0,0,2]):t==this.tok.T_ABSTRACT?(this.next(),[0,0,1]):[0,0,0]},read_class_body:function(){for(var t=[];this.token!==this.EOF&&"}"!==this.token;)if(this.token!==this.tok.T_COMMENT)if(this.token!==this.tok.T_DOC_COMMENT)if(this.token!==this.tok.T_USE){var e=this.read_member_flags(!1);if(this.token!==this.tok.T_CONST)if(this.token===this.tok.T_VAR&&(this.next().expect(this.tok.T_VARIABLE),e[0]=null,e[1]=0),this.token===this.tok.T_VARIABLE){var i=this.read_variable_list(e);this.expect(";"),this.next(),t=t.concat(i)}else this.token===this.tok.T_FUNCTION?t.push(this.read_function(!1,e)):(this.error([this.tok.T_CONST,this.tok.T_VARIABLE,this.tok.T_FUNCTION]),this.next());else{var r=this.read_constant_list(e);this.expect(";")&&this.next(),t=t.concat(r)}}else t=t.concat(this.read_trait_use_statement());else t.push(this.read_doc_comment());else t.push(this.read_comment());return this.expect("}"),this.next(),t},read_variable_list:function(i){return this.read_list(function(){var t=this.node("property");this.expect(this.tok.T_VARIABLE);var e=this.text().substring(1);return this.next(),";"===this.token||","===this.token?t(e,null,i):"="===this.token?t(e,this.next().read_expr(),i):(this.expect([",",";","="]),t(e,null,i))},",")},read_constant_list:function(t){return this.expect(this.tok.T_CONST)&&this.next(),this.node("classconstant")(null,this.read_list(function(){var t=this.node("constant"),e=null,i=null;return this.token===this.tok.T_STRING||this.php7&&this.is("IDENTIFIER")?(e=this.text(),this.next()):this.expect("IDENTIFIER"),this.expect("=")&&(i=this.next().read_expr()),t(e,i)},","),t)},read_member_flags:function(t){var e=[-1,-1,-1];if(this.is("T_MEMBER_FLAGS")){var i=0,r=0;do{switch(this.token){case this.tok.T_PUBLIC:r=i=0;break;case this.tok.T_PROTECTED:i=0,r=1;break;case this.tok.T_PRIVATE:i=0,r=2;break;case this.tok.T_STATIC:r=i=1;break;case this.tok.T_ABSTRACT:i=2,r=1;break;case this.tok.T_FINAL:r=i=2}t&&(0==i&&2==r?(this.expect([this.tok.T_PUBLIC,this.tok.T_PROTECTED]),r=-1):2==i&&1==r&&(this.error(),r=-1)),-1!==e[i]?this.error():-1!==r&&(e[i]=r)}while(this.next().is("T_MEMBER_FLAGS"))}return-1==e[1]&&(e[1]=0),-1==e[2]&&(e[2]=0),e},read_interface:function(){var t=this.node("interface"),e=null,i=null,r=null;return this.expect(this.tok.T_INTERFACE)&&this.next(),this.expect(this.tok.T_STRING)&&(e=this.text(),this.next()),this.token===this.tok.T_EXTENDS&&(r=this.next().read_name_list()),this.expect("{")&&(i=this.next().read_interface_body()),t(e,r,i)},read_interface_body:function(){for(var t=[];this.token!==this.EOF&&"}"!==this.token;)if(this.token!==this.tok.T_COMMENT)if(this.token!==this.tok.T_DOC_COMMENT){var e=this.read_member_flags(!0);if(this.token==this.tok.T_CONST){var i=this.read_constant_list(e);this.expect(";")&&this.next(),t=t.concat(i)}else if(this.token===this.tok.T_FUNCTION){var r=this.read_function_declaration(2,e);r.parseFlags(e),t.push(r),this.expect(";")&&this.next()}else this.error([this.tok.T_CONST,this.tok.T_FUNCTION]),this.next()}else t.push(this.read_doc_comment());else t.push(this.read_comment());return this.expect("}")&&this.next(),t},read_trait:function(){var t=this.node("trait"),e=null,i=null,r=null,n=null;return this.expect(this.tok.T_TRAIT)&&this.next(),this.expect(this.tok.T_STRING)&&(e=this.text()),this.next().token==this.tok.T_EXTENDS&&(i=this.next().read_namespace_name()),this.token==this.tok.T_IMPLEMENTS&&(r=this.next().read_name_list()),this.expect("{")&&(n=this.next().read_class_body()),t(e,i,r,n)},read_trait_use_statement:function(){var t=this.node("traituse");this.expect(this.tok.T_USE)&&this.next();for(var e=[this.read_namespace_name()],i=null;","===this.token;)e.push(this.next().read_namespace_name());if("{"===this.token){for(i=[];this.next().token!==this.EOF&&"}"!==this.token;)i.push(this.read_trait_use_alias()),this.expect(";");this.expect("}")&&this.next()}else this.expect(";")&&this.next();return t(e,i)},read_trait_use_alias:function(){var t=this.node(),e=null,i=void 0;if(this.is("IDENTIFIER")?(i=this.text(),this.next()):(i=this.read_namespace_name(),this.token===this.tok.T_DOUBLE_COLON?(this.next(),this.token===this.tok.T_STRING||this.php7&&this.is("IDENTIFIER")?(e=i,i=this.text(),this.next()):this.expect(this.tok.T_STRING)):i=i.name),this.token===this.tok.T_INSTEADOF)return t("traitprecedence",e,i,this.next().read_name_list());if(this.token!==this.tok.T_AS)return this.expect([this.tok.T_AS,this.tok.T_INSTEADOF]),t("traitalias",e,i,null,null);var r=null,n=null;return this.next().is("T_MEMBER_FLAGS")&&(r=this.read_member_flags()),this.token===this.tok.T_STRING||this.php7&&this.is("IDENTIFIER")?(n=this.text(),this.next()):!1===r&&this.expect(this.tok.T_STRING),t("traitalias",e,i,n,r)}}},function(t,e,i){"use strict";t.exports={read_comment:function(){var t=this.text(),e=this.ast.prepare("/*"===t.substring(0,2)?"commentblock":"commentline",null,this),i=this.prev;return this.prev=[this.lexer.yylloc.last_line,this.lexer.yylloc.last_column,this.lexer.offset],this.lex(),e=e(t),this.prev=i,e},read_doc_comment:function(){var t=this.ast.prepare("commentblock",null,this),e=this.text(),i=this.prev;return this.prev=[this.lexer.yylloc.last_line,this.lexer.yylloc.last_column,this.lexer.offset],this.lex(),t=t(e),this.prev=i,t}}},function(t,e,i){"use strict";t.exports={read_expr:function(t){var e=this.node();if(t=t||this.read_expr_item(),"|"===this.token)return e("bin","|",t,this.next().read_expr());if("&"===this.token)return e("bin","&",t,this.next().read_expr());if("^"===this.token)return e("bin","^",t,this.next().read_expr());if("."===this.token)return e("bin",".",t,this.next().read_expr());if("+"===this.token)return e("bin","+",t,this.next().read_expr());if("-"===this.token)return e("bin","-",t,this.next().read_expr());if("*"===this.token)return e("bin","*",t,this.next().read_expr());if("/"===this.token)return e("bin","/",t,this.next().read_expr());if("%"===this.token)return e("bin","%",t,this.next().read_expr());if(this.token===this.tok.T_POW)return e("bin","**",t,this.next().read_expr());if(this.token===this.tok.T_SL)return e("bin","<<",t,this.next().read_expr());if(this.token===this.tok.T_SR)return e("bin",">>",t,this.next().read_expr());if(this.token===this.tok.T_BOOLEAN_OR)return e("bin","||",t,this.next().read_expr());if(this.token===this.tok.T_LOGICAL_OR)return e("bin","or",t,this.next().read_expr());if(this.token===this.tok.T_BOOLEAN_AND)return e("bin","&&",t,this.next().read_expr());if(this.token===this.tok.T_LOGICAL_AND)return e("bin","and",t,this.next().read_expr());if(this.token===this.tok.T_LOGICAL_XOR)return e("bin","xor",t,this.next().read_expr());if(this.token===this.tok.T_IS_IDENTICAL)return e("bin","===",t,this.next().read_expr());if(this.token===this.tok.T_IS_NOT_IDENTICAL)return e("bin","!==",t,this.next().read_expr());if(this.token===this.tok.T_IS_EQUAL)return e("bin","==",t,this.next().read_expr());if(this.token===this.tok.T_IS_NOT_EQUAL)return e("bin","!=",t,this.next().read_expr());if("<"===this.token)return e("bin","<",t,this.next().read_expr());if(">"===this.token)return e("bin",">",t,this.next().read_expr());if(this.token===this.tok.T_IS_SMALLER_OR_EQUAL)return e("bin","<=",t,this.next().read_expr());if(this.token===this.tok.T_IS_GREATER_OR_EQUAL)return e("bin",">=",t,this.next().read_expr());if(this.token===this.tok.T_SPACESHIP)return e("bin","<=>",t,this.next().read_expr());if(this.token===this.tok.T_INSTANCEOF&&(t=e("bin","instanceof",t,this.next().read_class_name_reference()),";"!==this.token&&this.token!==this.tok.T_INLINE_HTML&&this.token!==this.EOF&&(t=this.read_expr(t))),this.token===this.tok.T_COALESCE)return e("bin","??",t,this.next().read_expr());if("?"!==this.token)return e.destroy(t),t;var i=null;return":"!==this.next().token&&(i=this.read_expr()),this.expect(":")&&this.next(),e("retif",t,i,this.read_expr())},read_expr_cast:function(t){return this.node("cast")(t,this.text(),this.next().read_expr())},read_expr_item:function(){var t=void 0,e=void 0;if("@"===this.token)return this.node("silent")(this.next().read_expr());if("+"===this.token)return this.node("unary")("+",this.next().read_expr());if("-"===this.token)return this.node("unary")("-",this.next().read_expr());if("!"===this.token)return this.node("unary")("!",this.next().read_expr());if("~"===this.token)return this.node("unary")("~",this.next().read_expr());if("("===this.token)return(e=this.next().read_expr()).parenthesizedExpression=!0,this.expect(")")&&this.next(),this.handleDereferencable(e);if("`"===this.token)return this.read_encapsed_string("`");if(this.token===this.tok.T_LIST){var i=null,r=this.innerList;t=this.node("list"),r||(i=this.node("assign")),this.next().expect("(")&&this.next(),this.innerList||(this.innerList=!0);var n=this.read_array_pair_list(!1);this.expect(")")&&this.next();for(var o=!1,s=0;s<n.length;s++)if(null!==n[s]){o=!0;break}return o||this.raiseError("Fatal Error : Cannot use empty list on line "+this.lexer.yylloc.first_line),r?t(n,!1):(this.innerList=!1,this.expect("=")?i(t(n,!1),this.next().read_expr(),"="):t(n,!1))}if(this.token===this.tok.T_CLONE)return this.node("clone")(this.next().read_expr());switch(this.token){case this.tok.T_INC:return this.node("pre")("+",this.next().read_variable(!1,!1,!1));case this.tok.T_DEC:return this.node("pre")("-",this.next().read_variable(!1,!1,!1));case this.tok.T_NEW:return this.read_new_expr();case this.tok.T_ISSET:t=this.node("isset"),this.next().expect("(")&&this.next();var a=this.read_list(this.read_expr,",");return this.expect(")")&&this.next(),t(a);case this.tok.T_EMPTY:t=this.node("empty"),this.next().expect("(")&&this.next();var l=this.read_expr();return this.expect(")")&&this.next(),t(l);case this.tok.T_INCLUDE:return this.node("include")(!1,!1,this.next().read_expr());case this.tok.T_INCLUDE_ONCE:return this.node("include")(!0,!1,this.next().read_expr());case this.tok.T_REQUIRE:return this.node("include")(!1,!0,this.next().read_expr());case this.tok.T_REQUIRE_ONCE:return this.node("include")(!0,!0,this.next().read_expr());case this.tok.T_EVAL:return t=this.node("eval"),this.next().expect("(")&&this.next(),e=this.read_expr(),this.expect(")")&&this.next(),t(e);case this.tok.T_INT_CAST:return this.read_expr_cast("int");case this.tok.T_DOUBLE_CAST:return this.read_expr_cast("float");case this.tok.T_STRING_CAST:return this.read_expr_cast(-1!==this.text().indexOf("binary")?"binary":"string");case this.tok.T_ARRAY_CAST:return this.read_expr_cast("array");case this.tok.T_OBJECT_CAST:return this.read_expr_cast("object");case this.tok.T_BOOL_CAST:return this.read_expr_cast("bool");case this.tok.T_UNSET_CAST:return this.read_expr_cast("unset");case this.tok.T_EXIT:var c="die"===this.lexer.yytext.toLowerCase();t=this.node("exit");var h=null;return"("===this.next().token&&(")"!==this.next().token?(h=this.read_expr(),this.expect(")")&&this.next()):this.next()),t(h,c);case this.tok.T_PRINT:return this.node("print")(this.next().read_expr());case this.tok.T_YIELD:var u=null,f=null;return t=this.node("yield"),this.next().is("EXPR")&&(u=this.read_expr(),this.token===this.tok.T_DOUBLE_ARROW&&(f=u,u=this.next().read_expr())),t(u,f);case this.tok.T_YIELD_FROM:return(t=this.node("yieldfrom"))(e=this.next().read_expr());case this.tok.T_FUNCTION:return this.read_function(!0);case this.tok.T_STATIC:var d=[this.token,this.lexer.getState()];if(this.next().token===this.tok.T_FUNCTION)return this.read_function(!0,[0,1,0]);this.lexer.tokens.push(d),this.next()}if(this.is("VARIABLE")){t=this.node();var p="identifier"===(e=this.read_variable(!1,!1,!1)).kind||"staticlookup"===e.kind&&"identifier"===e.offset.kind;switch(this.token){case"=":return p&&this.error("VARIABLE"),t("assign",e,"&"==this.next().token?this.next().token===this.tok.T_NEW?this.read_new_expr():this.read_variable(!1,!1,!0):this.read_expr(),"=");case this.tok.T_PLUS_EQUAL:return p&&this.error("VARIABLE"),t("assign",e,this.next().read_expr(),"+=");case this.tok.T_MINUS_EQUAL:return p&&this.error("VARIABLE"),t("assign",e,this.next().read_expr(),"-=");case this.tok.T_MUL_EQUAL:return p&&this.error("VARIABLE"),t("assign",e,this.next().read_expr(),"*=");case this.tok.T_POW_EQUAL:return p&&this.error("VARIABLE"),t("assign",e,this.next().read_expr(),"**=");case this.tok.T_DIV_EQUAL:return p&&this.error("VARIABLE"),t("assign",e,this.next().read_expr(),"/=");case this.tok.T_CONCAT_EQUAL:return p&&this.error("VARIABLE"),t("assign",e,this.next().read_expr(),".=");case this.tok.T_MOD_EQUAL:return p&&this.error("VARIABLE"),t("assign",e,this.next().read_expr(),"%=");case this.tok.T_AND_EQUAL:return p&&this.error("VARIABLE"),t("assign",e,this.next().read_expr(),"&=");case this.tok.T_OR_EQUAL:return p&&this.error("VARIABLE"),t("assign",e,this.next().read_expr(),"|=");case this.tok.T_XOR_EQUAL:return p&&this.error("VARIABLE"),t("assign",e,this.next().read_expr(),"^=");case this.tok.T_SL_EQUAL:return p&&this.error("VARIABLE"),t("assign",e,this.next().read_expr(),"<<=");case this.tok.T_SR_EQUAL:return p&&this.error("VARIABLE"),t("assign",e,this.next().read_expr(),">>=");case this.tok.T_INC:return p&&this.error("VARIABLE"),this.next(),t("post","+",e);case this.tok.T_DEC:return p&&this.error("VARIABLE"),this.next(),t("post","-",e);default:t.destroy(e)}}else{if(this.is("SCALAR")){if(t=this.node(),"array"===(e=this.read_scalar()).kind&&e.shortForm&&"="===this.token){var m=this.node("list")(e.items,!0);return e.loc&&(m.loc=e.loc),t("assign",m,this.next().read_expr(),"=")}return t.destroy(e),this.handleDereferencable(e)}this.error("EXPR"),this.next()}return e},read_new_expr:function(){var t=this.node("new");this.expect(this.tok.T_NEW)&&this.next();var e=[];if(this.token===this.tok.T_CLASS){var i=this.node("class"),r=null,n=null,o=null;return"("===this.next().token&&(e=this.read_function_argument_list()),this.token==this.tok.T_EXTENDS&&(r=this.next().read_namespace_name()),this.token==this.tok.T_IMPLEMENTS&&(n=this.next().read_name_list()),this.expect("{")&&(o=this.next().read_class_body()),t(i(null,r,n,o,[0,0,0]),e)}var s=this.read_class_name_reference();return"("===this.token&&(e=this.read_function_argument_list()),t(s,e)},read_class_name_reference:function(){if(this.token===this.tok.T_NS_SEPARATOR||this.token===this.tok.T_STRING||this.token===this.tok.T_NAMESPACE){var t=this.read_namespace_name();return this.token===this.tok.T_DOUBLE_COLON&&(t=this.read_static_getter(t)),t}if(this.is("VARIABLE"))return this.read_variable(!0,!1,!1);this.expect([this.tok.T_STRING,"VARIABLE"])},handleDereferencable:function(t){for(;this.token!==this.EOF;)if(this.token===this.tok.T_OBJECT_OPERATOR||this.token===this.tok.T_DOUBLE_COLON)t=this.recursive_variable_chain_scan(t,!1,!1,!0);else if(this.token===this.tok.T_CURLY_OPEN||"["===this.token)t=this.read_dereferencable(t);else{if("("!==this.token)return t;t=this.node("call")(t,this.read_function_argument_list())}return t}}},function(t,e,i){"use strict";t.exports={is_reference:function(){return"&"==this.token&&(this.next(),!0)},is_variadic:function(){return this.token===this.tok.T_ELLIPSIS&&(this.next(),!0)},read_function:function(t,e){var i=this.read_function_declaration(t?1:e?2:0,e&&1===e[1]);return e&&1==e[2]?(i.parseFlags(e),this.expect(";")&&this.next()):(this.expect("{")&&(i.body=this.read_code_block(!1),i.loc&&i.body.loc&&(i.loc.end=i.body.loc.end)),!t&&e&&i.parseFlags(e)),i},read_function_declaration:function(t,e){var i="function";1===t?i="closure":2===t&&(i="method");var r=this.node(i);this.expect(this.tok.T_FUNCTION)&&this.next();var n=this.is_reference(),o=!1,s=[],a=null,l=!1;if(1!==t){var c=this.node("identifier");2===t?this.token===this.tok.T_STRING||this.php7&&this.is("IDENTIFIER")?(o=this.text(),this.next()):this.error("IDENTIFIER"):(this.expect(this.tok.T_STRING)&&(o=this.text()),this.next()),o=c(o)}this.expect("(")&&this.next();var h=this.read_parameter_list();return this.expect(")")&&this.next(),1===t&&this.token===this.tok.T_USE&&(this.next().expect("(")&&this.next(),s=this.read_list(this.read_lexical_var,","),this.expect(")")&&this.next()),":"===this.token&&("?"===this.next().token&&(l=!0,this.next()),a=this.read_type()),1===t?r(h,n,s,a,l,e):r(o,h,n,a,l)},read_lexical_var:function(){var t=this.node("variable"),e=!1;"&"===this.token&&(e=!0,this.next()),this.expect(this.tok.T_VARIABLE);var i=this.text().substring(1);return this.next(),t(i,e,!1)},read_parameter_list:function(){var t=[];if(")"!=this.token)for(;this.token!=this.EOF;){if(t.push(this.read_parameter()),","!=this.token){if(")"==this.token)break;this.error([",",")"]);break}this.next()}return t},read_parameter:function(){var t,e=this.node("parameter"),i=null,r=null,n=!1;"?"===this.token&&(this.next(),n=!0),t=this.read_type(),n&&!t&&this.raiseError("Expecting a type definition combined with nullable operator");var o=this.is_reference(),s=this.is_variadic();return this.expect(this.tok.T_VARIABLE)&&(i=this.text().substring(1),this.next()),"="==this.token&&(r=this.next().read_expr()),e(i,t,r,o,s,n)},read_function_argument_list:function(){var t=[],e=!1;if(this.expect("(")&&this.next(),")"!==this.token)for(;this.token!=this.EOF;){var i=this.read_argument_list();if(i&&(t.push(i),"variadic"===i.kind?e=!0:e&&this.raiseError("Unexpected argument after a variadic argument")),","!==this.token)break;this.next()}return this.expect(")")&&this.next(),t},read_argument_list:function(){return this.token===this.tok.T_ELLIPSIS?this.node("variadic")(this.next().read_expr()):this.read_expr()},read_type:function(){var t=this.node();if(this.token===this.tok.T_ARRAY||this.token===this.tok.T_CALLABLE){var e=this.text();return this.next(),t("typereference",e.toLowerCase(),e)}if(this.token!==this.tok.T_STRING)return this.token===this.tok.T_NAMESPACE||this.token===this.tok.T_NS_SEPARATOR?this.read_namespace_name():null;var i=this.text(),r=[this.token,this.lexer.getState()];return this.next(),this.token!==this.tok.T_NS_SEPARATOR&&-1<this.ast.typereference.types.indexOf(i.toLowerCase())?t("typereference",i.toLowerCase(),i):(this.lexer.tokens.push(r),this.next(),this.read_namespace_name())}}},function(t,e,i){"use strict";t.exports={read_if:function(){var t,e=this.node("if"),i=null,r=null,n=!1;if(t=this.next().read_if_expr(),":"===this.token){n=!0,this.next(),i=this.node("block");for(var o=[];this.token!==this.EOF&&this.token!==this.tok.T_ENDIF;){if(this.token===this.tok.T_ELSEIF){r=this.read_elseif_short();break}if(this.token===this.tok.T_ELSE){r=this.read_else_short();break}o.push(this.read_inner_statement())}i=i(null,o),this.expect(this.tok.T_ENDIF)&&this.next(),this.expectEndOfStatement()}else i=this.read_statement(),this.token===this.tok.T_ELSEIF?r=this.read_if():this.token===this.tok.T_ELSE&&(r=this.next().read_statement());return e(t,i,r,n)},read_if_expr:function(){this.expect("(")&&this.next();var t=this.read_expr();return this.expect(")")&&this.next(),t},read_elseif_short:function(){var t,e=this.node("if"),i=null,r=null,n=[];for(t=this.next().read_if_expr(),this.expect(":")&&this.next(),r=this.node("block");this.token!=this.EOF&&this.token!==this.tok.T_ENDIF;){if(this.token===this.tok.T_ELSEIF){i=this.read_elseif_short();break}if(this.token===this.tok.T_ELSE){i=this.read_else_short();break}n.push(this.read_inner_statement())}return e(t,r=r(null,n),i,!0)},read_else_short:function(){var t=this.node("block");this.next().expect(":")&&this.next();for(var e=[];this.token!=this.EOF&&this.token!==this.tok.T_ENDIF;)e.push(this.read_inner_statement());return t(null,e)}}},function(t,e,i){"use strict";t.exports={read_while:function(){var t=this.node("while");this.expect(this.tok.T_WHILE)&&this.next();var e,i=!1;return this.expect("(")&&this.next(),e=this.read_expr(),this.expect(")")&&this.next(),t(e,":"===this.token?(i=!0,this.read_short_form(this.tok.T_ENDWHILE)):this.read_statement(),i)},read_do:function(){var t=this.node("do");this.expect(this.tok.T_DO)&&this.next();var e,i=null;return e=this.read_statement(),this.expect(this.tok.T_WHILE)&&(this.next().expect("(")&&this.next(),i=this.read_expr(),this.expect(")")&&this.next(),this.expect(";")&&this.next()),t(i,e)},read_for:function(){var t=this.node("for");this.expect(this.tok.T_FOR)&&this.next();var e=[],i=[],r=[],n=!1;return this.expect("(")&&this.next(),";"!==this.token?(e=this.read_list(this.read_expr,","),this.expect(";")&&this.next()):this.next(),";"!==this.token?(i=this.read_list(this.read_expr,","),this.expect(";")&&this.next()):this.next(),")"!==this.token?(r=this.read_list(this.read_expr,","),this.expect(")")&&this.next()):this.next(),t(e,i,r,":"===this.token?(n=!0,this.read_short_form(this.tok.T_ENDFOR)):this.read_statement(),n)},read_foreach:function(){var t=this.node("foreach");this.expect(this.tok.T_FOREACH)&&this.next();var e,i=null,r=null,n=!1;return this.expect("(")&&this.next(),e=this.read_expr(),this.expect(this.tok.T_AS)&&(this.next(),r=this.read_foreach_variable(),this.token===this.tok.T_DOUBLE_ARROW&&(i=r,r=this.next().read_foreach_variable())),i&&"list"===i.kind&&this.raiseError("Fatal Error : Cannot use list as key element"),this.expect(")")&&this.next(),t(e,i,r,":"===this.token?(n=!0,this.read_short_form(this.tok.T_ENDFOREACH)):this.read_statement(),n)},read_foreach_variable:function(){if(this.token!==this.tok.T_LIST&&"["!==this.token)return this.read_variable(!1,!1,!1);var t="["===this.token,e=this.node("list");this.next(),!t&&this.expect("(")&&this.next();var i=this.read_array_pair_list(t);return this.expect(t?"]":")")&&this.next(),e(i,t)}}},function(t,e,i){"use strict";t.exports={read_start:function(){return this.token==this.tok.T_NAMESPACE?this.read_namespace():this.read_top_statement()}}},function(t,e,i){"use strict";t.exports={read_namespace:function(){var t=this.node("namespace"),e=void 0;if(this.expect(this.tok.T_NAMESPACE)&&this.next(),"{"==this.token)return this.currentNamespace=[""],e=this.next().read_top_statements(),this.expect("}")&&this.next(),t([""],e,!0);var i=this.read_namespace_name();return";"==this.token?(this.currentNamespace=i,e=this.next().read_top_statements(),this.expect(this.EOF),t(i.name,e,!1)):"{"==this.token?(this.currentNamespace=i,e=this.next().read_top_statements(),this.expect("}")&&this.next(),t(i.name,e,!0)):"("===this.token?(i.resolution=this.ast.reference.RELATIVE_NAME,i.name=i.name.substring(1),this.node("call")(i,this.read_function_argument_list())):(this.error(["{",";"]),this.currentNamespace=i,e=this.read_top_statements(),this.expect(this.EOF),t(i,e,!1))},read_namespace_name:function(){var t=this.node(),e=!1;this.token===this.tok.T_NAMESPACE&&(this.next().expect(this.tok.T_NS_SEPARATOR)&&this.next(),e=!0);var i=this.read_list(this.tok.T_STRING,this.tok.T_NS_SEPARATOR,!0);if(!e&&1===i.length){if("parent"===i[0].toLowerCase())return t("parentreference",i[0]);if("self"===i[0].toLowerCase())return t("selfreference",i[0])}return t("classreference",i,e)},read_use_statement:function(){var t=this.node("usegroup"),e=[],i=null;this.expect(this.tok.T_USE)&&this.next();var r=this.read_use_type();return e.push(this.read_use_declaration(!1)),","===this.token?e=e.concat(this.next().read_use_declarations(!1)):"{"===this.token&&(i=e[0].name,e=this.next().read_use_declarations(null===r),this.expect("}")&&this.next()),t=t(i,r,e),this.expect(";")&&this.next(),t},read_class_name_reference:function(){return this.read_variable(!0,!1,!1)},read_use_declaration:function(t){var e=this.node("useitem"),i=null;t&&(i=this.read_use_type());var r=this.read_namespace_name(),n=this.read_use_alias();return e(r.name,n,i)},read_use_declarations:function(t){for(var e=[this.read_use_declaration(t)];","===this.token;){if(this.next(),t){if(this.token!==this.tok.T_FUNCTION&&this.token!==this.tok.T_CONST&&this.token!==this.tok.T_STRING)break}else if(this.token!==this.tok.T_STRING)break;e.push(this.read_use_declaration(t))}return e},read_use_alias:function(){var t=null;return this.token===this.tok.T_AS&&this.next().expect(this.tok.T_STRING)&&(t=this.text(),this.next()),t},read_use_type:function(){return this.token===this.tok.T_FUNCTION?(this.next(),this.ast.useitem.TYPE_FUNCTION):this.token===this.tok.T_CONST?(this.next(),this.ast.useitem.TYPE_CONST):null}}},function(t,e,i){"use strict";var r={"\\r":"\r","\\n":"\n","\\t":"\t","\\v":String.fromCharCode(11),"\\e":String.fromCharCode(27),"\\f":String.fromCharCode(12),"\\\\":"\\","\\$":"$",'\\"':'"',"\\'":"'"};t.exports={resolve_special_chars:function(t,e){return e?t.replace(/\\[rntvef"'\\$]/g,function(t){return r[t]}):t.replace(/\\['\\]/g,function(t){return r[t]})},read_scalar:function(){if(this.is("T_MAGIC_CONST"))return this.get_magic_constant();var t=void 0,e=void 0;switch(this.token){case this.tok.T_CONSTANT_ENCAPSED_STRING:t=this.node("string");var i=this.text(),r=0;"b"!==i[0]&&"B"!==i[0]||(r=1);var n='"'===i[r];return this.next(),t=t(n,this.resolve_special_chars(i.substring(r+1,i.length-1),n),1===r,i),this.token===this.tok.T_DOUBLE_COLON?this.read_static_getter(t):t;case this.tok.T_START_HEREDOC:if("ST_NOWDOC"!==this.lexer.curCondition)return this.read_encapsed_string(this.tok.T_END_HEREDOC);var o=this.lexer.yylloc.first_offset;e=this.node("nowdoc");var s=(t=this.next().text())[t.length-1];"\n"===s?t="\r"===t[t.length-2]?t.substring(0,t.length-2):t.substring(0,t.length-1):"\r"===s&&(t=t.substring(0,t.length-1)),this.expect(this.tok.T_ENCAPSED_AND_WHITESPACE)&&this.next();var a=this.lexer._input.substring(o,this.lexer.yylloc.last_offset);return this.expect(this.tok.T_END_HEREDOC)&&this.next(),e(t,a,this.lexer.heredoc_label,'"'===a[3]||"'"===a[3]);case'"':return this.read_encapsed_string('"');case'b"':case'B"':return this.read_encapsed_string('"',!0);case this.tok.T_LNUMBER:case this.tok.T_DNUMBER:var l=this.node("number");return t=this.text(),this.next(),l(t,null);case this.tok.T_ARRAY:case"[":return this.read_array();default:var c=this.error("SCALAR");return this.next(),c}},read_dereferencable:function(t){var e=void 0,i=void 0,r=this.node("offsetlookup");return"["===this.token?(i=this.next().read_expr(),this.expect("]")&&this.next(),e=r(t,i)):this.token===this.tok.T_DOLLAR_OPEN_CURLY_BRACES&&(e=r(t,i=this.read_encapsed_string_item(!1))),e},read_encapsed_string_item:function(t){var e=this.node("encapsedpart"),i=!1,r=this.node(),n=void 0,o=void 0,s=void 0;if(this.token===this.tok.T_ENCAPSED_AND_WHITESPACE){var a=this.text();this.next(),r=r("string",!1,this.resolve_special_chars(a,t),!1,a)}else if(this.token===this.tok.T_DOLLAR_OPEN_CURLY_BRACES){if(s=null,this.next().token===this.tok.T_STRING_VARNAME){s=this.node("variable");var l=this.text();this.next(),s="["===this.token?(s=s(l,!1),o=this.node("offsetlookup"),n=this.next().read_expr(),this.expect("]")&&this.next(),o(s,n)):l}else s=this.read_expr();this.expect("}")&&this.next(),r=r("variable",s,!1,!0)}else if(this.token===this.tok.T_CURLY_OPEN)i=!0,r.destroy(),r=this.next().read_variable(!1,!1,!1),this.expect("}")&&this.next();else if(this.token===this.tok.T_VARIABLE){if(r.destroy(),r=this.read_simple_variable(!1),"["===this.token&&(o=this.node("offsetlookup"),n=this.next().read_encaps_var_offset(),this.expect("]")&&this.next(),r=o(r,n)),this.token===this.tok.T_OBJECT_OPERATOR){o=this.node("propertylookup"),this.next().expect(this.tok.T_STRING);var c=this.node("identifier");s=this.text(),this.next(),r=o(r,c(s))}}else{this.expect(this.tok.T_ENCAPSED_AND_WHITESPACE);var h=this.text();this.next(),r.destroy(),r=r("string",!1,h,!1,h)}return e(r,i)},read_encapsed_string:function(t){var e=1<arguments.length&&void 0!==arguments[1]&&arguments[1],i=this.node("encapsed");this.next();var r,n=this.lexer.yylloc.prev_offset-(e?1:0),o=[];for(r="`"===t?this.ast.encapsed.TYPE_SHELL:'"'===t?this.ast.encapsed.TYPE_STRING:this.ast.encapsed.TYPE_HEREDOC;this.token!==t&&this.token!==this.EOF;)o.push(this.read_encapsed_string_item(!0));return this.expect(t)&&this.next(),i=i(o,this.lexer._input.substring(n-1,this.lexer.yylloc.first_offset),r),t===this.tok.T_END_HEREDOC&&(i.label=this.lexer.heredoc_label),i},get_magic_constant:function(){var t=this.node("magic"),e=this.text();return this.next(),t(e.toUpperCase(),e)}}},function(t,e,i){"use strict";t.exports={read_top_statements:function(){for(var t=[];this.token!==this.EOF&&"}"!==this.token;){var e=this.read_top_statement();e&&(Array.isArray(e)?t=t.concat(e):t.push(e))}return t},read_top_statement:function(){switch(this.token){case this.tok.T_FUNCTION:return this.read_function(!1,!1);case this.tok.T_ABSTRACT:case this.tok.T_FINAL:case this.tok.T_CLASS:return this.read_class();case this.tok.T_INTERFACE:return this.read_interface();case this.tok.T_TRAIT:return this.read_trait();case this.tok.T_USE:return this.read_use_statement();case this.tok.T_CONST:var t=this.node("constantstatement"),e=this.next().read_const_list();return this.expectEndOfStatement(),t(null,e);case this.tok.T_NAMESPACE:return this.read_namespace();case this.tok.T_HALT_COMPILER:var i=this.node("halt");return this.next().expect("(")&&this.next(),this.expect(")")&&this.next(),this.expect(";"),this.lexer.done=!0,i(this.lexer._input.substring(this.lexer.offset));default:return this.read_statement()}},read_inner_statements:function(){for(var t=[];this.token!=this.EOF&&"}"!==this.token;){var e=this.read_inner_statement();e&&(Array.isArray(e)?t=t.concat(e):t.push(e))}return t},read_const_list:function(){return this.read_list(function(){this.expect(this.tok.T_STRING);var t=this.node("constant"),e=this.text();return this.next().expect("=")?t(e,this.next().read_expr()):t(e,null)},",",!1)},read_declare_list:function(){for(var t={};this.token!=this.EOF&&")"!==this.token;){this.expect(this.tok.T_STRING);var e=this.text().toLowerCase();if(this.next().expect("=")?t[e]=this.next().read_expr():t[e]=null,","!==this.token)break;this.next()}return t},read_inner_statement:function(){switch(this.token){case this.tok.T_FUNCTION:return this.read_function(!1,!1);case this.tok.T_ABSTRACT:case this.tok.T_FINAL:case this.tok.T_CLASS:return this.read_class();case this.tok.T_INTERFACE:return this.read_interface();case this.tok.T_TRAIT:return this.read_trait();case this.tok.T_HALT_COMPILER:this.raiseError("__HALT_COMPILER() can only be used from the outermost scope");var t=this.node("halt");return this.next().expect("(")&&this.next(),this.expect(")")&&this.next(),t=t(this.lexer._input.substring(this.lexer.offset)),this.expect(";")&&this.next(),t;default:return this.read_statement()}},read_statement:function(){switch(this.token){case"{":return this.read_code_block(!1);case this.tok.T_IF:return this.read_if();case this.tok.T_SWITCH:return this.read_switch();case this.tok.T_FOR:return this.read_for();case this.tok.T_FOREACH:return this.read_foreach();case this.tok.T_WHILE:return this.read_while();case this.tok.T_DO:return this.read_do();case this.tok.T_COMMENT:return this.read_comment();case this.tok.T_DOC_COMMENT:return this.read_doc_comment();case this.tok.T_RETURN:var t=this.node("return"),e=null;return this.next().is("EOS")||(e=this.read_expr()),this.expectEndOfStatement(),t(e);case this.tok.T_BREAK:case this.tok.T_CONTINUE:var i=this.node(this.token===this.tok.T_CONTINUE?"continue":"break"),r=null;return this.next(),";"!==this.token&&(r=this.read_expr()),this.expectEndOfStatement(),i(r);case this.tok.T_GLOBAL:var n=this.node("global"),o=this.next().read_list(this.read_simple_variable,",");return this.expectEndOfStatement(),n(o);case this.tok.T_STATIC:var s=[this.token,this.lexer.getState()],a=this.node();if(this.next().token===this.tok.T_DOUBLE_COLON){this.lexer.tokens.push(s);var l=this.next().read_expr();return this.expectEndOfStatement(l),a("expressionstatement",l)}if(this.token===this.tok.T_FUNCTION)return this.read_function(!0,[0,1,0]);var c=this.read_variable_declarations();return this.expectEndOfStatement(),a("static",c);case this.tok.T_ECHO:var h=this.node("echo"),u=this.text(),f="<?="===u||"<%="===u,d=this.next().read_list(this.read_expr,",");return this.expectEndOfStatement(),h(d,f);case this.tok.T_INLINE_HTML:var p=this.text(),m=0<this.lexer.yylloc.first_offset?this.lexer._input[this.lexer.yylloc.first_offset-1]:null,g="\r"===m||"\n"===m;g&&"\n"===m&&1<this.lexer.yylloc.first_offset&&"\r"===this.lexer._input[this.lexer.yylloc.first_offset-2]&&(m="\r\n");var _=this.node("inline");return this.next(),_(p,g?m+p:p);case this.tok.T_UNSET:var v=this.node("unset");this.next().expect("(")&&this.next();var y=this.read_list(this.read_variable,",");return this.expect(")")&&this.next(),this.expect(";")&&this.next(),v(y);case this.tok.T_DECLARE:var x=this.node("declare"),T=[],k=void 0;this.next().expect("(")&&this.next();var b=this.read_declare_list();if(this.expect(")")&&this.next(),":"===this.token){for(this.next();this.token!=this.EOF&&this.token!==this.tok.T_ENDDECLARE;)T.push(this.read_top_statement());this.expect(this.tok.T_ENDDECLARE)&&this.next(),this.expectEndOfStatement(),k=this.ast.declare.MODE_SHORT}else if("{"===this.token){for(this.next();this.token!=this.EOF&&"}"!==this.token;)T.push(this.read_top_statement());this.expect("}")&&this.next(),k=this.ast.declare.MODE_BLOCK}else this.expect(";")&&this.next(),k=this.ast.declare.MODE_NONE;return x(b,T,k);case this.tok.T_TRY:return this.read_try();case this.tok.T_THROW:var w=this.node("throw"),E=this.next().read_expr();return this.expectEndOfStatement(),w(E);case";":return this.next(),null;case this.tok.T_STRING:var C=this.node(),S=[this.token,this.lexer.getState()],A=this.text();if(":"===this.next().token)return this.next(),C("label",A);this.lexer.tokens.push(S);var L=this.next().read_expr();return this.expectEndOfStatement(),L;case this.tok.T_GOTO:var N=this.node("goto"),O=null;return this.next().expect(this.tok.T_STRING)&&(O=this.text(),this.next().expectEndOfStatement()),N(O);default:var I=this.node("expressionstatement"),R=this.read_expr();return this.expectEndOfStatement(R),I(R)}},read_code_block:function(t){var e=this.node("block");this.expect("{")&&this.next();var i=t?this.read_top_statements():this.read_inner_statements();return this.expect("}")&&this.next(),e(null,i)}}},function(t,e,i){"use strict";t.exports={read_switch:function(){var t=this.node("switch");this.expect(this.tok.T_SWITCH)&&this.next(),this.expect("(")&&this.next();var e=this.read_expr();this.expect(")")&&this.next();var i=":"===this.token;return t(e,this.read_switch_case_list(),i)},read_switch_case_list:function(){var t=null,e=this.node("block"),i=[];for("{"===this.token?t="}":":"===this.token?t=this.tok.T_ENDSWITCH:this.expect(["{",":"]),";"===this.next().token&&this.next();this.token!==this.EOF&&this.token!==t;)i.push(this.read_case_list(t));return this.expect(t)&&this.next(),t===this.tok.T_ENDSWITCH&&this.expectEndOfStatement(),e(null,i)},read_case_list:function(t){var e=this.node("case"),i=null,r=null,n=[];for(this.token===this.tok.T_CASE?i=this.next().read_expr():this.token===this.tok.T_DEFAULT?this.next():this.expect([this.tok.T_CASE,this.tok.T_DEFAULT]),this.expect([":",";"])&&this.next(),r=this.node("block");this.token!=this.EOF&&this.token!==t&&this.token!==this.tok.T_CASE&&this.token!==this.tok.T_DEFAULT;)n.push(this.read_inner_statement());return e(i,0<n.length?r(null,n):null)}}},function(t,e,i){"use strict";t.exports={read_try:function(){this.expect(this.tok.T_TRY);for(var t=this.node("try"),e=null,i=[],r=this.next().read_statement();this.token===this.tok.T_CATCH;){var n=this.node("catch");this.next().expect("(")&&this.next();var o=this.read_list(this.read_namespace_name,"|",!1),s=this.read_variable(!0,!1,!1);this.expect(")"),i.push(n(this.next().read_statement(),o,s))}return this.token===this.tok.T_FINALLY&&(e=this.next().read_statement()),t(r,i,e)}}},function(t,e,i){"use strict";t.exports={read_short_form:function(t){var e=this.node("block"),i=[];for(this.expect(":")&&this.next();this.token!=this.EOF&&this.token!==t;)i.push(this.read_inner_statement());return this.expect(t)&&this.next(),this.expectEndOfStatement(),e(null,i)},read_list:function(t,e,i){var r=[];if(this.token==e&&(i&&r.push(null),this.next()),"function"==typeof t){do{if(r.push(t.apply(this,[])),this.token!=e)break}while(this.next().token!=this.EOF)}else{if(!this.expect(t))return[];for(r.push(this.text());this.next().token!=this.EOF&&this.token==e&&this.next().token==t;)r.push(this.text())}return r},read_name_list:function(){return this.read_list(this.read_namespace_name,",",!1)},read_variable_declarations:function(){return this.read_list(function(){var t=this.node("assign"),e=this.node("variable");if(this.expect(this.tok.T_VARIABLE)){var i=this.text().substring(1);this.next(),e=e(i,!1,!1)}else e=e("#ERR",!1,!1);return"="===this.token?t(e,this.next().read_expr()):e},",")}}},function(t,e,i){"use strict";t.exports={read_variable:function(t,e,i){var r=void 0;if(i||"&"!==this.token||(i=!0,this.next()),this.is([this.tok.T_VARIABLE,"$"]))r=this.read_reference_variable(e,i);else if(this.is([this.tok.T_NS_SEPARATOR,this.tok.T_STRING,this.tok.T_NAMESPACE])){r=this.node();var n=this.read_namespace_name();if(this.token!=this.tok.T_DOUBLE_COLON&&"("!=this.token&&-1===["parentreference","selfreference"].indexOf(n.kind)){var o=n.name.toLowerCase();r="true"===o?r("boolean",!0,n.name):"false"===o?r("boolean",!1,n.name):r("identifier",n)}else r=n}else if(this.token===this.tok.T_STATIC){r=this.node("staticreference");var s=this.text();this.next(),r=r(s)}else this.expect("VARIABLE");return this.token===this.tok.T_DOUBLE_COLON&&(r=this.read_static_getter(r,e)),this.recursive_variable_chain_scan(r,t,e)},read_static_getter:function(t,e){var i=this.node("staticlookup"),r=void 0,n=void 0;return this.next().is([this.tok.T_VARIABLE,"$"])?r=this.read_reference_variable(e,!1):this.token===this.tok.T_STRING||this.token===this.tok.T_CLASS||this.php7&&this.is("IDENTIFIER")?(r=this.node("identifier"),n=this.text(),this.next(),r=r(n)):"{"===this.token?(r=this.next().read_expr(),this.expect("}")&&this.next(),this.expect("(")):(this.error([this.tok.T_VARIABLE,this.tok.T_STRING]),r=this.node("identifier"),n=this.text(),this.next(),r=r(n)),i(t,r)},read_what:function(){var t=0<arguments.length&&void 0!==arguments[0]&&arguments[0],e=null,i=null;switch(this.next().token){case this.tok.T_STRING:if(e=this.node("identifier"),i=this.text(),this.next(),e=e(i),t&&this.token===this.tok.T_OBJECT_OPERATOR&&this.error(),this.token===this.tok.T_VARIABLE){var r=this.node("variable");i=this.text().substring(1),this.next(),(e=this.node("encapsed")([e,r(i,!1,!1)],null,"offset")).loc&&e.value[0].loc&&(e.loc.start=e.value[0].loc.start)}else if("{"===this.token){var n=this.next().read_expr();this.expect("}")&&this.next(),(e=this.node("encapsed")([e,n],null,"offset")).loc&&e.value[0].loc&&(e.loc.start=e.value[0].loc.start)}break;case this.tok.T_VARIABLE:e=this.node("variable"),i=this.text().substring(1),this.next(),e=e(i,!1,!1);break;case"$":this.next().expect(["{",this.tok.T_VARIABLE]),"{"===this.token?(e=this.next().read_expr(),this.expect("}")&&this.next()):e=this.read_expr();break;case"{":e=this.next().read_expr(),this.expect("}")&&this.next();break;default:this.error([this.tok.T_STRING,this.tok.T_VARIABLE,"$","{"]),e=this.node("identifier"),i=this.text(),this.next(),e=e(i)}return e},recursive_variable_chain_scan:function(t,e,i,r){var n=void 0,o=void 0;t:for(;this.token!=this.EOF;)switch(this.token){case"(":if(e)return t;t=this.node("call")(t,this.read_function_argument_list());break;case"[":n=this.node("offsetlookup"),this.next(),o=!1,i?(o=this.read_encaps_var_offset(),this.expect("]")&&this.next()):"]"!==this.token?(o=this.read_expr(),this.expect("]")&&this.next()):this.next(),t=n(t,o);break;case this.tok.T_DOUBLE_COLON:"staticlookup"===t.kind&&"identifier"===t.offset.kind&&this.error(),t=(n=this.node("staticlookup"))(t,this.read_what(!0)),r&&"("!==this.token&&this.error("(");break;case this.tok.T_OBJECT_OPERATOR:t=(n=this.node("propertylookup"))(t,this.read_what());break;default:break t}return t},read_encaps_var_offset:function(){var t=this.node();if(this.token===this.tok.T_STRING){var e=this.text();this.next(),t=t("identifier",e)}else if(this.token===this.tok.T_NUM_STRING){var i=this.text();this.next(),t=t("number",i,null)}else if(this.token===this.tok.T_VARIABLE){var r=this.text().substring(1);this.next(),t=t("variable",r,!1,!1)}else{this.expect([this.tok.T_STRING,this.tok.T_NUM_STRING,this.tok.T_VARIABLE]);var n=this.text();this.next(),t=t("identifier",n)}return t},read_reference_variable:function(t,e){for(var i=this.read_simple_variable(e),r=void 0;this.token!=this.EOF;){var n=this.node();if("["==this.token)r=null,r=t?this.next().read_encaps_var_offset():"]"===this.next().token?null:this.read_dim_offset(),this.expect("]")&&this.next(),i=n("offsetlookup",i,r);else{if("{"!=this.token||t){n.destroy();break}r=this.next().read_expr(),this.expect("}")&&this.next(),i=n("offsetlookup",i,r)}}return i},read_simple_variable:function(t){var e=this.node("variable"),i=void 0;if(this.expect([this.tok.T_VARIABLE,"$"])&&this.token===this.tok.T_VARIABLE)i=this.text().substring(1),this.next(),e=e(i,t,!1);else switch("$"===this.token&&this.next(),this.token){case"{":var r=this.next().read_expr();this.expect("}")&&this.next(),e=e(r,t,!0);break;case"$":e=e(this.read_simple_variable(!1),t);break;case this.tok.T_VARIABLE:i=this.text().substring(1);var n=this.node("variable");this.next(),e=e(n(i,!1,!1),t,!1);break;default:this.error(["{","$",this.tok.T_VARIABLE]),i=this.text(),this.next(),e=e(i,t,!1)}return e}}},function(t,e,i){"use strict";t.exports={values:{101:"T_HALT_COMPILER",102:"T_USE",103:"T_ENCAPSED_AND_WHITESPACE",104:"T_OBJECT_OPERATOR",105:"T_STRING",106:"T_DOLLAR_OPEN_CURLY_BRACES",107:"T_STRING_VARNAME",108:"T_CURLY_OPEN",109:"T_NUM_STRING",110:"T_ISSET",111:"T_EMPTY",112:"T_INCLUDE",113:"T_INCLUDE_ONCE",114:"T_EVAL",115:"T_REQUIRE",116:"T_REQUIRE_ONCE",117:"T_NAMESPACE",118:"T_NS_SEPARATOR",119:"T_AS",120:"T_IF",121:"T_ENDIF",122:"T_WHILE",123:"T_DO",124:"T_FOR",125:"T_SWITCH",126:"T_BREAK",127:"T_CONTINUE",128:"T_RETURN",129:"T_GLOBAL",130:"T_STATIC",131:"T_ECHO",132:"T_INLINE_HTML",133:"T_UNSET",134:"T_FOREACH",135:"T_DECLARE",136:"T_TRY",137:"T_THROW",138:"T_GOTO",139:"T_FINALLY",140:"T_CATCH",141:"T_ENDDECLARE",142:"T_LIST",143:"T_CLONE",144:"T_PLUS_EQUAL",145:"T_MINUS_EQUAL",146:"T_MUL_EQUAL",147:"T_DIV_EQUAL",148:"T_CONCAT_EQUAL",149:"T_MOD_EQUAL",150:"T_AND_EQUAL",151:"T_OR_EQUAL",152:"T_XOR_EQUAL",153:"T_SL_EQUAL",154:"T_SR_EQUAL",155:"T_INC",156:"T_DEC",157:"T_BOOLEAN_OR",158:"T_BOOLEAN_AND",159:"T_LOGICAL_OR",160:"T_LOGICAL_AND",161:"T_LOGICAL_XOR",162:"T_SL",163:"T_SR",164:"T_IS_IDENTICAL",165:"T_IS_NOT_IDENTICAL",166:"T_IS_EQUAL",167:"T_IS_NOT_EQUAL",168:"T_IS_SMALLER_OR_EQUAL",169:"T_IS_GREATER_OR_EQUAL",170:"T_INSTANCEOF",171:"T_INT_CAST",172:"T_DOUBLE_CAST",173:"T_STRING_CAST",174:"T_ARRAY_CAST",175:"T_OBJECT_CAST",176:"T_BOOL_CAST",177:"T_UNSET_CAST",178:"T_EXIT",179:"T_PRINT",180:"T_YIELD",181:"T_YIELD_FROM",182:"T_FUNCTION",183:"T_DOUBLE_ARROW",184:"T_DOUBLE_COLON",185:"T_ARRAY",186:"T_CALLABLE",187:"T_CLASS",188:"T_ABSTRACT",189:"T_TRAIT",190:"T_FINAL",191:"T_EXTENDS",192:"T_INTERFACE",193:"T_IMPLEMENTS",194:"T_VAR",195:"T_PUBLIC",196:"T_PROTECTED",197:"T_PRIVATE",198:"T_CONST",199:"T_NEW",200:"T_INSTEADOF",201:"T_ELSEIF",202:"T_ELSE",203:"T_ENDSWITCH",204:"T_CASE",205:"T_DEFAULT",206:"T_ENDFOR",207:"T_ENDFOREACH",208:"T_ENDWHILE",209:"T_CONSTANT_ENCAPSED_STRING",210:"T_LNUMBER",211:"T_DNUMBER",212:"T_LINE",213:"T_FILE",214:"T_DIR",215:"T_TRAIT_C",216:"T_METHOD_C",217:"T_FUNC_C",218:"T_NS_C",219:"T_START_HEREDOC",220:"T_END_HEREDOC",221:"T_CLASS_C",222:"T_VARIABLE",223:"T_OPEN_TAG",224:"T_OPEN_TAG_WITH_ECHO",225:"T_CLOSE_TAG",226:"T_WHITESPACE",227:"T_COMMENT",228:"T_DOC_COMMENT",229:"T_ELLIPSIS",230:"T_COALESCE",231:"T_POW",232:"T_POW_EQUAL",233:"T_SPACESHIP"},names:{T_HALT_COMPILER:101,T_USE:102,T_ENCAPSED_AND_WHITESPACE:103,T_OBJECT_OPERATOR:104,T_STRING:105,T_DOLLAR_OPEN_CURLY_BRACES:106,T_STRING_VARNAME:107,T_CURLY_OPEN:108,T_NUM_STRING:109,T_ISSET:110,T_EMPTY:111,T_INCLUDE:112,T_INCLUDE_ONCE:113,T_EVAL:114,T_REQUIRE:115,T_REQUIRE_ONCE:116,T_NAMESPACE:117,T_NS_SEPARATOR:118,T_AS:119,T_IF:120,T_ENDIF:121,T_WHILE:122,T_DO:123,T_FOR:124,T_SWITCH:125,T_BREAK:126,T_CONTINUE:127,T_RETURN:128,T_GLOBAL:129,T_STATIC:130,T_ECHO:131,T_INLINE_HTML:132,T_UNSET:133,T_FOREACH:134,T_DECLARE:135,T_TRY:136,T_THROW:137,T_GOTO:138,T_FINALLY:139,T_CATCH:140,T_ENDDECLARE:141,T_LIST:142,T_CLONE:143,T_PLUS_EQUAL:144,T_MINUS_EQUAL:145,T_MUL_EQUAL:146,T_DIV_EQUAL:147,T_CONCAT_EQUAL:148,T_MOD_EQUAL:149,T_AND_EQUAL:150,T_OR_EQUAL:151,T_XOR_EQUAL:152,T_SL_EQUAL:153,T_SR_EQUAL:154,T_INC:155,T_DEC:156,T_BOOLEAN_OR:157,T_BOOLEAN_AND:158,T_LOGICAL_OR:159,T_LOGICAL_AND:160,T_LOGICAL_XOR:161,T_SL:162,T_SR:163,T_IS_IDENTICAL:164,T_IS_NOT_IDENTICAL:165,T_IS_EQUAL:166,T_IS_NOT_EQUAL:167,T_IS_SMALLER_OR_EQUAL:168,T_IS_GREATER_OR_EQUAL:169,T_INSTANCEOF:170,T_INT_CAST:171,T_DOUBLE_CAST:172,T_STRING_CAST:173,T_ARRAY_CAST:174,T_OBJECT_CAST:175,T_BOOL_CAST:176,T_UNSET_CAST:177,T_EXIT:178,T_PRINT:179,T_YIELD:180,T_YIELD_FROM:181,T_FUNCTION:182,T_DOUBLE_ARROW:183,T_DOUBLE_COLON:184,T_ARRAY:185,T_CALLABLE:186,T_CLASS:187,T_ABSTRACT:188,T_TRAIT:189,T_FINAL:190,T_EXTENDS:191,T_INTERFACE:192,T_IMPLEMENTS:193,T_VAR:194,T_PUBLIC:195,T_PROTECTED:196,T_PRIVATE:197,T_CONST:198,T_NEW:199,T_INSTEADOF:200,T_ELSEIF:201,T_ELSE:202,T_ENDSWITCH:203,T_CASE:204,T_DEFAULT:205,T_ENDFOR:206,T_ENDFOREACH:207,T_ENDWHILE:208,T_CONSTANT_ENCAPSED_STRING:209,T_LNUMBER:210,T_DNUMBER:211,T_LINE:212,T_FILE:213,T_DIR:214,T_TRAIT_C:215,T_METHOD_C:216,T_FUNC_C:217,T_NS_C:218,T_START_HEREDOC:219,T_END_HEREDOC:220,T_CLASS_C:221,T_VARIABLE:222,T_OPEN_TAG:223,T_OPEN_TAG_WITH_ECHO:224,T_CLOSE_TAG:225,T_WHITESPACE:226,T_COMMENT:227,T_DOC_COMMENT:228,T_ELLIPSIS:229,T_COALESCE:230,T_POW:231,T_POW_EQUAL:232,T_SPACESHIP:233}}},function(t,e,i){"use strict";function n(t,e){this.withPositions=t,this.withSource=e}var u=i(46),f=i(47);n.prototype.position=function(t){return new f(t.lexer.yylloc.first_line,t.lexer.yylloc.first_column,t.lexer.yylloc.first_offset)},n.precedence={},[["or"],["xor"],["and"],["="],["?"],["??"],["||"],["&&"],["|"],["^"],["&"],["==","!=","===","!==","<=>"],["<","<=",">",">="],["<<",">>"],["+","-","."],["*","/","%"],["!"],["instanceof"]].forEach(function(t,e){t.forEach(function(t){n.precedence[t]=e+1})}),n.prototype.resolvePrecedence=function(t){var e=void 0,i=void 0,r=void 0;return"bin"===t.kind?t.right&&!t.right.parenthesizedExpression&&("bin"===t.right.kind?(i=n.precedence[t.type],r=n.precedence[t.right.type],i&&r&&r<=i&&(e=t.right,t.right=t.right.left,e.left=this.resolvePrecedence(t),t=e)):"retif"===t.right.kind&&(i=n.precedence[t.type],r=n.precedence["?"],i&&r&&r<=i&&(e=t.right,t.right=t.right.test,e.test=this.resolvePrecedence(t),t=e))):"unary"===t.kind?t.what&&!t.what.parenthesizedExpression&&("bin"===t.what.kind?(e=t.what,t.what=t.what.left,e.left=this.resolvePrecedence(t),t=e):"retif"===t.what.kind&&(e=t.what,t.what=t.what.test,e.test=this.resolvePrecedence(t),t=e)):"retif"===t.kind?t.falseExpr&&"retif"===t.falseExpr.kind&&!t.falseExpr.parenthesizedExpression&&(e=t.falseExpr,t.falseExpr=e.test,e.test=this.resolvePrecedence(t),t=e):"assign"===t.kind&&t.right&&"bin"===t.right.kind&&!t.right.parenthesizedExpression&&(i=n.precedence["="],r=n.precedence[t.right.type],i&&r&&r<i&&(e=t.right,t.right=t.right.left,e.left=t,t=e)),t},n.prototype.prepare=function(o,s,a){var l=null;(this.withPositions||this.withSource)&&(l=this.position(a));function c(){var t=null,e=Array.prototype.slice.call(arguments);if(e.push(s),"function"==typeof c.preBuild&&c.preBuild(arguments),h.withPositions||h.withSource){var i=null;h.withSource&&(i=a.lexer._input.substring(l.offset,a.prev[2])),t=h.withPositions?new u(i,l,new f(a.prev[0],a.prev[1],a.prev[2])):new u(i,null,null),e.push(t)}o=o||e.shift();var r=h[o];if("function"!=typeof r)throw new Error('Undefined node "'+o+'"');var n=Object.create(r.prototype);return r.apply(n,e),c.instance=n,c.trailingComments&&(n.trailingComments=c.trailingComments),h.resolvePrecedence(n)}var h=this;return c.setKind=function(t){o=t},c.setTrailingComments=function(t){c.instance?c.instance.setTrailingComments(t):c.trailingComments=t},c.destroy=function(t){s&&(t?t.leadingComments?t.leadingComments=s.concat(t.leadingComments):t.leadingComments=s:a._docIndex=a._docs.length-s.length)},c},[i(48),i(49),i(50),i(7),i(51),i(52),i(53),i(54),i(55),i(56),i(57),i(58),i(59),i(60),i(61),i(9),i(62),i(63),i(64),i(10),i(65),i(4),i(66),i(67),i(68),i(69),i(70),i(71),i(72),i(73),i(74),i(75),i(1),i(76),i(77),i(78),i(11),i(79),i(80),i(81),i(82),i(83),i(84),i(85),i(86),i(87),i(88),i(89),i(3),i(8),i(90),i(91),i(92),i(93),i(2),i(94),i(95),i(96),i(5),i(97),i(98),i(99),i(100),i(101),i(102),i(103),i(104),i(6),i(105),i(106),i(107),i(108),i(0),i(109),i(110),i(111),i(112),i(113),i(114),i(115),i(116),i(117),i(118),i(119),i(120),i(121),i(122),i(123),i(124),i(125),i(126),i(127),i(128),i(129)].forEach(function(t){n.prototype[t.kind]=t}),t.exports=n},function(t,e,i){"use strict";t.exports=function(t,e,i){this.source=t,this.start=e,this.end=i}},function(t,e,i){"use strict";t.exports=function(t,e,i){this.line=t,this.column=e,this.offset=i}},function(t,e,i){"use strict";var n=i(1);t.exports=n.extends("array",function(t,e,i,r){n.apply(this,["array",i,r]),this.items=e,this.shortForm=t})},function(t,e,i){"use strict";var o=i(1);t.exports=o.extends("assign",function(t,e,i,r,n){o.apply(this,["assign",r,n]),this.operator=i,this.left=t,this.right=e})},function(t,e,i){"use strict";var o=i(5);t.exports=o.extends("bin",function(t,e,i,r,n){o.apply(this,["bin",r,n]),this.type=t,this.left=e,this.right=i})},function(t,e,i){"use strict";var n=i(3);t.exports=n.extends("boolean",function(t,e,i,r){n.apply(this,["boolean",t,e,i,r])})},function(t,e,i){"use strict";var r=i(0);t.exports=r.extends("break",function(t,e,i){r.apply(this,["break",e,i]),this.level=t})},function(t,e,i){"use strict";var n=i(1);t.exports=n.extends("call",function(t,e,i,r){n.apply(this,["call",i,r]),this.what=t,this.arguments=e})},function(t,e,i){"use strict";var n=i(0);t.exports=n.extends("case",function(t,e,i,r){n.apply(this,["case",i,r]),this.test=t,this.body=e})},function(t,e,i){"use strict";var o=i(5);t.exports=o.extends("cast",function(t,e,i,r,n){o.apply(this,["cast",r,n]),this.type=t,this.raw=e,this.what=i})},function(t,e,i){"use strict";var o=i(0);t.exports=o.extends("catch",function(t,e,i,r,n){o.apply(this,["catch",r,n]),this.body=t,this.what=e,this.variable=i})},function(t,e,i){"use strict";var a=i(4);t.exports=a.extends("class",function(t,e,i,r,n,o,s){a.apply(this,["class",t,o,s]),this.isAnonymous=!t,this.extends=e,this.implements=i,this.body=r,this.parseFlags(n)})},function(t,e,i){"use strict";var o=i(10),s="classconstant",r=o.extends(s,function(t,e,i,r,n){o.apply(this,[t||s,e,r,n]),this.parseFlags(i)});r.prototype.parseFlags=function(t){-1===t[0]?this.visibility="":null===t[0]?this.visibility=null:0===t[0]?this.visibility="public":1===t[0]?this.visibility="protected":2===t[0]&&(this.visibility="private")},t.exports=r},function(t,e,i){"use strict";var o=i(6),s="classreference",r=o.extends(s,function t(e,i,r,n){o.apply(this,[s,r,n]),i?this.resolution=t.RELATIVE_NAME:1===e.length?this.resolution=t.UNQUALIFIED_NAME:""===e[0]?this.resolution=t.FULL_QUALIFIED_NAME:this.resolution=t.QUALIFIED_NAME,this.name=e.join("\\")});r.UNQUALIFIED_NAME="uqn",r.QUALIFIED_NAME="qn",r.FULL_QUALIFIED_NAME="fqn",r.RELATIVE_NAME="rn",t.exports=r},function(t,e,i){"use strict";var r=i(1);t.exports=r.extends("clone",function(t,e,i){r.apply(this,["clone",e,i]),this.what=t})},function(t,e,i){"use strict";var l=i(0);t.exports=l.extends("closure",function(t,e,i,r,n,o,s,a){l.apply(this,["closure",s,a]),this.uses=i,this.arguments=t,this.byref=e,this.type=r,this.nullable=n,this.isStatic=o||!1,this.body=null})},function(t,e,i){"use strict";var r=i(9),n="commentblock";t.exports=r.extends(n,function(t,e,i){r.apply(this,[n,t,e,i])})},function(t,e,i){"use strict";var r=i(9),n="commentline";t.exports=r.extends(n,function(t,e,i){r.apply(this,[n,t,e,i])})},function(t,e,i){"use strict";var n=i(2);t.exports=n.extends("constant",function(t,e,i,r){n.apply(this,["constant",i,r]),this.name=t,this.value=e})},function(t,e,i){"use strict";var r=i(0);t.exports=r.extends("continue",function(t,e,i){r.apply(this,["continue",e,i]),this.level=t})},function(t,e,i){"use strict";var o=i(7),r=o.extends("declare",function(t,e,i,r,n){o.apply(this,["declare",e,r,n]),this.what=t,this.mode=i});r.MODE_SHORT="short",r.MODE_BLOCK="block",r.MODE_NONE="none",t.exports=r},function(t,e,i){"use strict";var n=i(0);t.exports=n.extends("do",function(t,e,i,r){n.apply(this,["do",i,r]),this.test=t,this.body=e})},function(t,e,i){"use strict";var n=i(0);t.exports=n.extends("echo",function(t,e,i,r){n.apply(this,["echo",i,r]),this.shortForm=e,this.expressions=t})},function(t,e,i){"use strict";var r=i(1);t.exports=r.extends("empty",function(t,e,i){r.apply(this,["empty",e,i]),this.expression=t})},function(t,e,i){"use strict";var o=i(3),r=o.extends("encapsed",function(t,e,i,r,n){o.apply(this,["encapsed",t,e,r,n]),this.type=i});r.TYPE_STRING="string",r.TYPE_SHELL="shell",r.TYPE_HEREDOC="heredoc",r.TYPE_OFFSET="offset",t.exports=r},function(t,e,i){"use strict";var n=i(1),o="encapsedpart";t.exports=n.extends(o,function(t,e,i,r){n.apply(this,[o,i,r]),this.expression=t,this.curly=e})},function(t,e,i){"use strict";var n=i(2);t.exports=n.extends("entry",function(t,e,i,r){n.apply(this,["entry",i,r]),this.key=t,this.value=e})},function(t,e,i){"use strict";var s=i(2);t.exports=s.extends("error",function(t,e,i,r,n,o){s.apply(this,["error",n,o]),this.message=t,this.token=e,this.line=i,this.expected=r})},function(t,e,i){"use strict";var r=i(1);t.exports=r.extends("eval",function(t,e,i){r.apply(this,["eval",e,i]),this.source=t})},function(t,e,i){"use strict";var n=i(1);t.exports=n.extends("exit",function(t,e,i,r){n.apply(this,["exit",i,r]),this.status=t,this.useDie=e})},function(t,e,i){"use strict";var r=i(0),n="expressionstatement";t.exports=r.extends(n,function(t,e,i){r.apply(this,[n,e,i]),this.expression=t})},function(t,e,i){"use strict";var a=i(0);t.exports=a.extends("for",function(t,e,i,r,n,o,s){a.apply(this,["for",o,s]),this.init=t,this.test=e,this.increment=i,this.shortForm=n,this.body=r})},function(t,e,i){"use strict";var a=i(0);t.exports=a.extends("foreach",function(t,e,i,r,n,o,s){a.apply(this,["foreach",o,s]),this.source=t,this.key=e,this.value=i,this.shortForm=n,this.body=r})},function(t,e,i){"use strict";var r=i(0);t.exports=r.extends("global",function(t,e,i){r.apply(this,["global",e,i]),this.items=t})},function(t,e,i){"use strict";var r=i(0);t.exports=r.extends("goto",function(t,e,i){r.apply(this,["goto",e,i]),this.label=t})},function(t,e,i){"use strict";var r=i(0);t.exports=r.extends("halt",function(t,e,i){r.apply(this,["halt",e,i]),this.after=t})},function(t,e,i){"use strict";var r=i(2),n="identifier",o=r.extends(n,function(t,e,i){r.apply(this,[n,e,i]),this.name=t});t.exports=o},function(t,e,i){"use strict";var s=i(0);t.exports=s.extends("if",function(t,e,i,r,n,o){s.apply(this,["if",n,o]),this.test=t,this.body=e,this.alternate=i,this.shortForm=r})},function(t,e,i){"use strict";var o=i(1);t.exports=o.extends("include",function(t,e,i,r,n){o.apply(this,["include",r,n]),this.once=t,this.require=e,this.target=i})},function(t,e,i){"use strict";var n=i(3);t.exports=n.extends("inline",function(t,e,i,r){n.apply(this,["inline",t,e,i,r])})},function(t,e,i){"use strict";var o=i(4);t.exports=o.extends("interface",function(t,e,i,r,n){o.apply(this,["interface",t,r,n]),this.extends=e,this.body=i})},function(t,e,i){"use strict";var r=i(1);t.exports=r.extends("isset",function(t,e,i){r.apply(this,["isset",e,i]),this.variables=t})},function(t,e,i){"use strict";var r=i(0);t.exports=r.extends("label",function(t,e,i){r.apply(this,["label",e,i]),this.name=t})},function(t,e,i){"use strict";var n=i(1);t.exports=n.extends("list",function(t,e,i,r){n.apply(this,["list",i,r]),this.items=t,this.shortForm=e})},function(t,e,i){"use strict";var n=i(3);t.exports=n.extends("magic",function(t,e,i,r){n.apply(this,["magic",t,e,i,r])})},function(t,e,i){"use strict";var r=i(11);t.exports=r.extends("method",function(){r.apply(this,arguments),this.kind="method"})},function(t,e,i){"use strict";var o=i(7);t.exports=o.extends("namespace",function(t,e,i,r,n){o.apply(this,["namespace",e,r,n]),this.name=t,this.withBrackets=i||!1})},function(t,e,i){"use strict";var n=i(1);t.exports=n.extends("new",function(t,e,i,r){n.apply(this,["new",i,r]),this.what=t,this.arguments=e})},function(t,e,i){"use strict";var s=i(3);t.exports=s.extends("nowdoc",function(t,e,i,r,n,o){s.apply(this,["nowdoc",t,e,n,o]),this.label=i,this.quote=r})},function(t,e,i){"use strict";var n=i(3);t.exports=n.extends("number",function(t,e,i,r){n.apply(this,["number",t,e,i,r])})},function(t,e,i){"use strict";var n=i(8),o="offsetlookup";t.exports=n.extends(o,function(t,e,i,r){n.apply(this,[o,t,e,i,r])})},function(t,e,i){"use strict";var l=i(4);t.exports=l.extends("parameter",function(t,e,i,r,n,o,s,a){l.apply(this,["parameter",t,s,a]),this.value=i,this.type=e,this.byref=r,this.variadic=n,this.nullable=o})},function(t,e,i){"use strict";var r=i(6),n="parentreference",o=r.extends(n,function(t,e,i){r.apply(this,[n,e,i]),this.raw=t});t.exports=o},function(t,e,i){"use strict";var n=i(5);t.exports=n.extends("post",function(t,e,i,r){n.apply(this,["post",i,r]),this.type=t,this.what=e})},function(t,e,i){"use strict";var n=i(5);t.exports=n.extends("pre",function(t,e,i,r){n.apply(this,["pre",i,r]),this.type=t,this.what=e})},function(t,e,i){"use strict";var r=i(1);t.exports=r.extends("print",function(t,e,i){r.apply(this,["print",e,i]),this.expression=t})},function(t,e,i){"use strict";var s=i(7);t.exports=s.extends("program",function(t,e,i,r,n,o){s.apply(this,["program",t,n,o]),this.errors=e,i&&(this.comments=i),r&&(this.tokens=r)})},function(t,e,i){"use strict";var o=i(4);t.exports=o.extends("property",function(t,e,i,r,n){o.apply(this,["property",t,r,n]),this.value=e,this.parseFlags(i)})},function(t,e,i){"use strict";var n=i(8),o="propertylookup";t.exports=n.extends(o,function(t,e,i,r){n.apply(this,[o,t,e,i,r])})},function(t,e,i){"use strict";var o=i(1);t.exports=o.extends("retif",function(t,e,i,r,n){o.apply(this,["retif",r,n]),this.test=t,this.trueExpr=e,this.falseExpr=i})},function(t,e,i){"use strict";var r=i(0);t.exports=r.extends("return",function(t,e,i){r.apply(this,["return",e,i]),this.expr=t})},function(t,e,i){"use strict";var r=i(6),n="selfreference",o=r.extends(n,function(t,e,i){r.apply(this,[n,e,i]),this.raw=t});t.exports=o},function(t,e,i){"use strict";var r=i(1);t.exports=r.extends("silent",function(t,e,i){r.apply(this,["silent",e,i]),this.expr=t})},function(t,e,i){"use strict";var r=i(0);t.exports=r.extends("static",function(t,e,i){r.apply(this,["static",e,i]),this.items=t})},function(t,e,i){"use strict";var n=i(8),o="staticlookup";t.exports=n.extends(o,function(t,e,i,r){n.apply(this,[o,t,e,i,r])})},function(t,e,i){"use strict";var r=i(6),n="staticreference",o=r.extends(n,function(t,e,i){r.apply(this,[n,e,i]),this.raw=t});t.exports=o},function(t,e,i){"use strict";var s=i(3);t.exports=s.extends("string",function(t,e,i,r,n,o){s.apply(this,["string",e,r,n,o]),this.unicode=i,this.isDoubleQuote=t})},function(t,e,i){"use strict";var o=i(0);t.exports=o.extends("switch",function(t,e,i,r,n){o.apply(this,["switch",r,n]),this.test=t,this.body=e,this.shortForm=i})},function(t,e,i){"use strict";var r=i(0);t.exports=r.extends("throw",function(t,e,i){r.apply(this,["throw",e,i]),this.what=t})},function(t,e,i){"use strict";var s=i(4);t.exports=s.extends("trait",function(t,e,i,r,n,o){s.apply(this,["trait",t,n,o]),this.extends=e,this.implements=i,this.body=r})},function(t,e,i){"use strict";var s=i(2),a="traitalias";t.exports=s.extends(a,function(t,e,i,r,n,o){s.apply(this,[a,n,o]),this.trait=t,this.method=e,this.as=i,this.visibility="",r&&(0===r[0]?this.visibility="public":1===r[0]?this.visibility="protected":2===r[0]&&(this.visibility="private"))})},function(t,e,i){"use strict";var o=i(2),s="traitprecedence";t.exports=o.extends(s,function(t,e,i,r,n){o.apply(this,[s,r,n]),this.trait=t,this.method=e,this.instead=i})},function(t,e,i){"use strict";var n=i(2);t.exports=n.extends("traituse",function(t,e,i,r){n.apply(this,["traituse",i,r]),this.traits=t,this.adaptations=e})},function(t,e,i){"use strict";var o=i(0);t.exports=o.extends("try",function(t,e,i,r,n){o.apply(this,["try",r,n]),this.body=t,this.catches=e,this.always=i})},function(t,e,i){"use strict";var n=i(6),o="typereference",r=n.extends(o,function(t,e,i,r){n.apply(this,[o,i,r]),this.name=t,this.raw=e});r.types=["int","float","string","bool","object","array","callable","iterable","void"],t.exports=r},function(t,e,i){"use strict";var n=i(5);t.exports=n.extends("unary",function(t,e,i,r){n.apply(this,["unary",i,r]),this.type=t,this.what=e})},function(t,e,i){"use strict";var r=i(0);t.exports=r.extends("unset",function(t,e,i){r.apply(this,["unset",e,i]),this.variables=t})},function(t,e,i){"use strict";var o=i(0);t.exports=o.extends("usegroup",function(t,e,i,r,n){o.apply(this,["usegroup",r,n]),this.name=t,this.type=e,this.items=i})},function(t,e,i){"use strict";var o=i(0),r=o.extends("useitem",function(t,e,i,r,n){o.apply(this,["useitem",r,n]),this.name=t,this.alias=e,this.type=i});r.TYPE_CONST="const",r.TYPE_FUNCTION="function",t.exports=r},function(t,e,i){"use strict";var o=i(1);t.exports=o.extends("variable",function(t,e,i,r,n){o.apply(this,["variable",r,n]),this.name=t,this.byref=e||!1,this.curly=i||!1})},function(t,e,i){"use strict";var r=i(1);t.exports=r.extends("variadic",function(t,e,i){r.apply(this,["variadic",e,i]),this.what=t})},function(t,e,i){"use strict";var o=i(0);t.exports=o.extends("while",function(t,e,i,r,n){o.apply(this,["while",r,n]),this.test=t,this.body=e,this.shortForm=i})},function(t,e,i){"use strict";var n=i(1);t.exports=n.extends("yield",function(t,e,i,r){n.apply(this,["yield",i,r]),this.value=t,this.key=e})},function(t,e,i){"use strict";var r=i(1);t.exports=r.extends("yieldfrom",function(t,e,i){r.apply(this,["yieldfrom",e,i]),this.value=t})}],wEa={},xEa.m=vEa,xEa.c=wEa,xEa.d=function(t,e,i){xEa.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:i})},xEa.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},xEa.t=function(e,t){if(1&t&&(e=xEa(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var i=Object.create(null);if(xEa.r(i),Object.defineProperty(i,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var r in e)xEa.d(i,r,function(t){return e[t]}.bind(null,r));return i},xEa.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return xEa.d(e,"a",e),e},xEa.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},xEa.p="",xEa(xEa.s=12)).default;function xEa(t){if(wEa[t])return wEa[t].exports;var e=wEa[t]={i:t,l:!1,exports:{}};return vEa[t].call(e.exports,e,e.exports,xEa),e.l=!0,e.exports}var vEa,wEa},"object"==typeof PIa&&"object"==typeof OIa?OIa.exports=SIa():"function"==typeof define&&define.amd?define([],SIa):"object"==typeof PIa?PIa.PhpParser=SIa():RIa.PhpParser=SIa()},{}]},{},[1]);
|
2 |
+
jQuery(document).ready(function(i){i("#winp-snippet-sync").click(function(){i(this).hasClass("disabled")||(i("#winp-sync-snippet-name").val(""),i("#winp-sync-content").find(".winp-modal-error").css("visibility","hidden"),i("#winp-sync-modal").factoryBootstrap450_modal("show"))}),i("#winp-sync-save-button").click(function(){var n=i(this);i(this).hasClass("disabled")||(""!==i("#winp-sync-snippet-name").val()?(i(this).addClass("disabled"),i("#winp-sync-save-button span").html('<img src="'+winp_snippet_sync.src_loader+'">'),i.post(ajaxurl,{action:"winp_snippet_synchronization",snippet_id:i("#post_ID").val(),snippet_name:i("#winp-sync-snippet-name").val(),_wpnonce:n.data("nonce")},function(n){if(i("#winp-sync-save-button").removeClass("disabled"),i("#winp-sync-save-button span").html(winp_snippet_sync.save),1==n)i(".winp-sync-buttons").css("color","green"),i("#winp-snippet-sync").replaceWith('<span class="dashicons dashicons-plus-alt winp-green"></span> '+winp_snippet_sync.saved),i("#winp-sync-modal").factoryBootstrap450_modal("hide");else{var t=winp_snippet_sync.export_failed;"string"==typeof n&&(t=n),i("#winp-sync-content").find(".winp-modal-error span.warning-text").text(t),i("#winp-sync-content").find(".winp-modal-error").css("visibility","visible")}})):i("#winp-sync-snippet-name")[0].reportValidity())})}),function(s){window.wimp_snippet_list={display:function(){s.ajax({url:ajaxurl,dataType:"json",data:{winp_ajax_custom_list_nonce:s("#winp_ajax_custom_list_nonce").val(),action:"winp_sts_display"},success:function(n){s("#winp-snippet-library-table").html(n.display),s("tbody").on("click",".toggle-row",function(n){n.preventDefault(),s(this).closest("tr").toggleClass("is-expanded")}),window.wimp_snippet_list.init()},error:function(n){alert(winp_snippet_sync.import_failed)}})},init:function(){var i;s(".wbcr-inp-enable-snippet-button").click(function(){confirm(winp_snippet_sync.import+"?")&&(s("#winp-snippet-library, #winp-snippet-sync").addClass("disabled"),s.post(ajaxurl,{action:"winp_snippet_create",snippet_id:s(this).data("snippet"),post_id:0<s("#auto_draft").length&&1==s("#auto_draft").val()?0:s("#post_ID").val()},function(n){n?window.location="post.php?post="+n+"&action=edit":(s("#winp-snippet-library, #winp-snippet-sync").removeClass("disabled"),alert(winp_snippet_sync.import_failed))}))}),s(".tablenav-pages a, .manage-column.sortable a, .manage-column.sorted a").on("click",function(n){n.preventDefault();var t=this.search.substring(1),i={paged:window.wimp_snippet_list.__query(t,"paged")||"1",order:window.wimp_snippet_list.__query(t,"order")||"asc",orderby:window.wimp_snippet_list.__query(t,"orderby")||"title"};window.wimp_snippet_list.update(i)}),s("input[name=paged]").on("keyup",function(n){13==n.which&&n.preventDefault();var t={paged:parseInt(s("input[name=paged]").val())||"1",order:s("input[name=order]").val()||"asc",orderby:s("input[name=orderby]").val()||"title"};window.clearTimeout(i),i=window.setTimeout(function(){window.wimp_snippet_list.update(t)},500)}),s("#winp-snippet-library-list").on("submit",function(n){n.preventDefault()})},update:function(n){s.ajax({url:ajaxurl,data:s.extend({winp_ajax_custom_list_nonce:s("#winp_ajax_custom_list_nonce").val(),action:"winp_fetch_sts_history"},n),success:function(n){(n=s.parseJSON(n)).rows.length&&s("#the-list").html(n.rows),n.column_headers.length&&s("thead tr, tfoot tr").html(n.column_headers),n.pagination.bottom.length&&s(".tablenav.top .tablenav-pages").html(s(n.pagination.top).html()),n.pagination.top.length&&s(".tablenav.bottom .tablenav-pages").html(s(n.pagination.bottom).html()),window.wimp_snippet_list.init()},error:function(n){alert(winp_snippet_sync.import_failed)}})},__query:function(n,t){for(var i=n.split("&"),s=0;s<i.length;s++){var e=i[s].split("=");if(e[0]==t)return e[1]}return!1}}}(jQuery);
|
admin/assets/js/snippet-list.js
CHANGED
@@ -1,6 +1,6 @@
|
|
1 |
jQuery(document).ready(function ($) {
|
2 |
//Export page
|
3 |
-
|
4 |
|
5 |
//
|
6 |
$("a#winp-snippet-status-switch").on('click', function (e) {
|
@@ -10,7 +10,7 @@ jQuery(document).ready(function ($) {
|
|
10 |
jQuery.post(ajaxurl, {
|
11 |
action: 'change_snippet_status',
|
12 |
snippet_id: href.data('snippet-id'),
|
13 |
-
_ajax_nonce:
|
14 |
}).done(function (result) {
|
15 |
href.removeClass('winp-snippet-switch-loader');
|
16 |
if (result.error_message) {
|
@@ -36,7 +36,7 @@ jQuery(document).ready(function ($) {
|
|
36 |
action: 'change_priority',
|
37 |
snippet_id: input.data('snippet-id'),
|
38 |
priority: input.val(),
|
39 |
-
_ajax_nonce:
|
40 |
}).done(function (result) {
|
41 |
//console.log(result);
|
42 |
if (result.error_message) {
|
1 |
jQuery(document).ready(function ($) {
|
2 |
//Export page
|
3 |
+
//$('#bulk-action-selector-top option[value="exportsnp"]').css('color', '#999').prop('disabled', true);
|
4 |
|
5 |
//
|
6 |
$("a#winp-snippet-status-switch").on('click', function (e) {
|
10 |
jQuery.post(ajaxurl, {
|
11 |
action: 'change_snippet_status',
|
12 |
snippet_id: href.data('snippet-id'),
|
13 |
+
_ajax_nonce: winp_ajax.nonce,
|
14 |
}).done(function (result) {
|
15 |
href.removeClass('winp-snippet-switch-loader');
|
16 |
if (result.error_message) {
|
36 |
action: 'change_priority',
|
37 |
snippet_id: input.data('snippet-id'),
|
38 |
priority: input.val(),
|
39 |
+
_ajax_nonce: winp_ajax.nonce,
|
40 |
}).done(function (result) {
|
41 |
//console.log(result);
|
42 |
if (result.error_message) {
|
admin/assets/js/sync.js
CHANGED
@@ -7,7 +7,7 @@ jQuery(document).ready(function($) {
|
|
7 |
|
8 |
$('#winp-sync-snippet-name').val('');
|
9 |
$('#winp-sync-content').find('.winp-modal-error').css('visibility', 'hidden');
|
10 |
-
$('#winp-sync-modal').
|
11 |
});
|
12 |
|
13 |
// Экспорт сниппета
|
@@ -42,7 +42,7 @@ jQuery(document).ready(function($) {
|
|
42 |
$('.winp-sync-buttons').css('color', 'green');
|
43 |
$('#winp-snippet-sync').replaceWith('<span class="dashicons dashicons-plus-alt winp-green"></span> ' + winp_snippet_sync.saved);
|
44 |
|
45 |
-
$('#winp-sync-modal').
|
46 |
} else {
|
47 |
var error_text = winp_snippet_sync.export_failed;
|
48 |
if( typeof data == 'string' ) {
|
@@ -109,7 +109,7 @@ jQuery(document).ready(function($) {
|
|
109 |
}
|
110 |
);
|
111 |
|
112 |
-
//$('#winp-sync-modal').
|
113 |
}
|
114 |
});
|
115 |
|
7 |
|
8 |
$('#winp-sync-snippet-name').val('');
|
9 |
$('#winp-sync-content').find('.winp-modal-error').css('visibility', 'hidden');
|
10 |
+
$('#winp-sync-modal').factoryBootstrap450_modal('show');
|
11 |
});
|
12 |
|
13 |
// Экспорт сниппета
|
42 |
$('.winp-sync-buttons').css('color', 'green');
|
43 |
$('#winp-snippet-sync').replaceWith('<span class="dashicons dashicons-plus-alt winp-green"></span> ' + winp_snippet_sync.saved);
|
44 |
|
45 |
+
$('#winp-sync-modal').factoryBootstrap450_modal('hide');
|
46 |
} else {
|
47 |
var error_text = winp_snippet_sync.export_failed;
|
48 |
if( typeof data == 'string' ) {
|
109 |
}
|
110 |
);
|
111 |
|
112 |
+
//$('#winp-sync-modal').factoryBootstrap450_modal('hide');
|
113 |
}
|
114 |
});
|
115 |
|
admin/assets/js/view-opt.js
CHANGED
@@ -982,6 +982,7 @@ if( !window.winp ) {
|
|
982 |
for( var subindex in item ) {
|
983 |
var subvalue = item[subindex];
|
984 |
$option = $("<option></option>").attr('value', subvalue['value']).text(subvalue['title']);
|
|
|
985 |
$optgroup.append($option);
|
986 |
}
|
987 |
$select.append($optgroup);
|
982 |
for( var subindex in item ) {
|
983 |
var subvalue = item[subindex];
|
984 |
$option = $("<option></option>").attr('value', subvalue['value']).text(subvalue['title']);
|
985 |
+
if (subvalue['disabled'] !== null && subvalue['disabled']) $option.attr('disabled', 'disabled');
|
986 |
$optgroup.append($option);
|
987 |
}
|
988 |
$select.append($optgroup);
|
admin/boot.php
CHANGED
@@ -24,8 +24,8 @@ if ( ! defined( 'ABSPATH' ) ) {
|
|
24 |
*/
|
25 |
add_filter( 'wp_php_error_message', function ( $message ) {
|
26 |
$safe_mode_url = admin_url( 'edit.php?post_type=' . WINP_SNIPPETS_POST_TYPE . '&wbcr-php-snippets-safe-mode' );
|
27 |
-
$safe_mode_button = '<div style="margin:20px 0;padding:20px; background:#ffe8e8;">' . __( 'If you see this message after saving the snippet to the Woody
|
28 |
-
$safe_mode_button .= '<a href="' . $safe_mode_url . '" class="button">' . __( 'Enable safe mode in Woody
|
29 |
|
30 |
return $message . $safe_mode_button;
|
31 |
} );
|
@@ -60,13 +60,14 @@ add_action( 'admin_init', function () {
|
|
60 |
|
61 |
// If the user has updated the plugin or activated it for the first time,
|
62 |
// you need to show the page "What's new?"
|
63 |
-
|
|
|
64 |
$about_page_viewed = WINP_Plugin::app()->request->get( 'wbcr_inp_about_page_viewed', null );
|
65 |
if ( is_null( $about_page_viewed ) ) {
|
66 |
if ( WINP_Helper::is_need_show_about_page() && current_user_can( 'manage_options' ) ) {
|
67 |
try {
|
68 |
$redirect_url = '';
|
69 |
-
if ( class_exists( '
|
70 |
$redirect_url = WINP_Plugin::app()->getPluginPageUrl( 'about', [ 'wbcr_inp_about_page_viewed' => 1 ] );
|
71 |
}
|
72 |
if ( $redirect_url ) {
|
@@ -82,6 +83,7 @@ add_action( 'admin_init', function () {
|
|
82 |
}
|
83 |
}
|
84 |
}
|
|
|
85 |
} );
|
86 |
|
87 |
function wbcr_inp_admin_revisions() {
|
@@ -148,7 +150,7 @@ function wbcr_inp_tinymce_data( $hook ) {
|
|
148 |
|
149 |
// styles for the plugin shorcodes
|
150 |
$shortcode_icon = WINP_PLUGIN_URL . '/admin/assets/img/shortcode-icon5.png';
|
151 |
-
$shortcode_title = __( 'Woody
|
152 |
|
153 |
$result = WINP_Helper::get_shortcode_data( true );
|
154 |
$shortcode_snippets_json = json_encode( $result );
|
24 |
*/
|
25 |
add_filter( 'wp_php_error_message', function ( $message ) {
|
26 |
$safe_mode_url = admin_url( 'edit.php?post_type=' . WINP_SNIPPETS_POST_TYPE . '&wbcr-php-snippets-safe-mode' );
|
27 |
+
$safe_mode_button = '<div style="margin:20px 0;padding:20px; background:#ffe8e8;">' . __( 'If you see this message after saving the snippet to the Woody Code Snippets plugin, please enable safe mode in the Woody plugin. Safe mode will allow you to continue working in the admin panel of your site and change the snippet in which you made a php error.', 'insert_php' ) . '</div>';
|
28 |
+
$safe_mode_button .= '<a href="' . $safe_mode_url . '" class="button">' . __( 'Enable safe mode in Woody Code Snippets', 'insert_php' ) . '</a>';
|
29 |
|
30 |
return $message . $safe_mode_button;
|
31 |
} );
|
60 |
|
61 |
// If the user has updated the plugin or activated it for the first time,
|
62 |
// you need to show the page "What's new?"
|
63 |
+
/*
|
64 |
+
if ( ! WINP_Plugin::app()->isNetworkAdmin() ) {
|
65 |
$about_page_viewed = WINP_Plugin::app()->request->get( 'wbcr_inp_about_page_viewed', null );
|
66 |
if ( is_null( $about_page_viewed ) ) {
|
67 |
if ( WINP_Helper::is_need_show_about_page() && current_user_can( 'manage_options' ) ) {
|
68 |
try {
|
69 |
$redirect_url = '';
|
70 |
+
if ( class_exists( 'Wbcr_FactoryPages449' ) ) {
|
71 |
$redirect_url = WINP_Plugin::app()->getPluginPageUrl( 'about', [ 'wbcr_inp_about_page_viewed' => 1 ] );
|
72 |
}
|
73 |
if ( $redirect_url ) {
|
83 |
}
|
84 |
}
|
85 |
}
|
86 |
+
*/
|
87 |
} );
|
88 |
|
89 |
function wbcr_inp_admin_revisions() {
|
150 |
|
151 |
// styles for the plugin shorcodes
|
152 |
$shortcode_icon = WINP_PLUGIN_URL . '/admin/assets/img/shortcode-icon5.png';
|
153 |
+
$shortcode_title = __( 'Woody Code Snippets', 'insert-php' );
|
154 |
|
155 |
$result = WINP_Helper::get_shortcode_data( true );
|
156 |
$shortcode_snippets_json = json_encode( $result );
|
admin/includes/class.actions.snippet.php
CHANGED
@@ -107,7 +107,7 @@ class WINP_Export_Snippet {
|
|
107 |
public function actionBulkEditPost( $bulk_actions ) {
|
108 |
$pro = WINP_Plugin::app()->get_api_object()->is_key() ? '' : ' (PRO)';
|
109 |
|
110 |
-
$bulk_actions['exportsnp'] = __( 'Export'
|
111 |
$bulk_actions['deletesnp'] = __( 'Delete', 'insert-php' );
|
112 |
$bulk_actions['deactivate'] = __( 'Deactivate', 'insert-php' );
|
113 |
$bulk_actions['activate'] = __( 'Activate', 'insert-php' );
|
107 |
public function actionBulkEditPost( $bulk_actions ) {
|
108 |
$pro = WINP_Plugin::app()->get_api_object()->is_key() ? '' : ' (PRO)';
|
109 |
|
110 |
+
$bulk_actions['exportsnp'] = __( 'Export', 'insert-php' ) . $pro;
|
111 |
$bulk_actions['deletesnp'] = __( 'Delete', 'insert-php' );
|
112 |
$bulk_actions['deactivate'] = __( 'Deactivate', 'insert-php' );
|
113 |
$bulk_actions['activate'] = __( 'Activate', 'insert-php' );
|
admin/includes/class.request.php
CHANGED
@@ -18,6 +18,7 @@ if ( ! defined( 'ABSPATH' ) ) {
|
|
18 |
class WINP_Request {
|
19 |
//В новых версиях Вуди начиная с 2.2.10 будет обращаться к новой версии API библиотеки сниппетов
|
20 |
// это делается для обратной совместимости, чтобы старые версии продолжили работать со старым API
|
|
|
21 |
const WINP_REQUEST_URL = 'http://api.woodysnippet.com/v2/woody/';
|
22 |
// Старое API http://142.93.91.206/v1/woody/
|
23 |
|
18 |
class WINP_Request {
|
19 |
//В новых версиях Вуди начиная с 2.2.10 будет обращаться к новой версии API библиотеки сниппетов
|
20 |
// это делается для обратной совместимости, чтобы старые версии продолжили работать со старым API
|
21 |
+
//const WINP_REQUEST_URL = 'http://185.75.88.217/v2/woody/'; //тестовая после переноса на другой сервер
|
22 |
const WINP_REQUEST_URL = 'http://api.woodysnippet.com/v2/woody/';
|
23 |
// Старое API http://142.93.91.206/v1/woody/
|
24 |
|
admin/includes/class.snippets.viewtable.php
CHANGED
@@ -26,7 +26,7 @@ class WINP_SnippetsViewTable extends Wbcr_FactoryViewtables410_Viewtable {
|
|
26 |
*/
|
27 |
$this->styles->add( WINP_PLUGIN_URL . '/admin/assets/css/list-table.css' );
|
28 |
$this->scripts->add( WINP_PLUGIN_URL . '/admin/assets/js/snippet-list.js' );
|
29 |
-
$this->scripts->localize( '
|
30 |
$this->runActions();
|
31 |
|
32 |
add_filter( 'manage_edit-' . WINP_SNIPPETS_POST_TYPE . '_sortable_columns', array(
|
@@ -204,15 +204,13 @@ class WINP_SnippetsViewTable extends Wbcr_FactoryViewtables410_Viewtable {
|
|
204 |
} else {
|
205 |
wp_send_json( [
|
206 |
'error_message' => __( "Priority is not changed! It's must be a number", 'insert-php' ),
|
207 |
-
]
|
208 |
-
);
|
209 |
}
|
210 |
|
211 |
} else {
|
212 |
wp_send_json( [
|
213 |
'error_message' => __( 'Priority is not changed!', 'insert-php' ),
|
214 |
-
]
|
215 |
-
);
|
216 |
}
|
217 |
}
|
218 |
|
@@ -242,8 +240,7 @@ class WINP_SnippetsViewTable extends Wbcr_FactoryViewtables410_Viewtable {
|
|
242 |
wp_send_json( [
|
243 |
'alert' => true,
|
244 |
'error_message' => __( "The snippet is not activated because errors were detected in the snippet code!", 'insert-php' ),
|
245 |
-
]
|
246 |
-
);
|
247 |
}
|
248 |
}
|
249 |
|
@@ -258,16 +255,14 @@ class WINP_SnippetsViewTable extends Wbcr_FactoryViewtables410_Viewtable {
|
|
258 |
} else {
|
259 |
wp_send_json( [
|
260 |
'error_message' => __( 'Snippet status not changed.', 'insert-php' ),
|
261 |
-
]
|
262 |
-
);
|
263 |
|
264 |
}
|
265 |
|
266 |
} else {
|
267 |
wp_send_json( [
|
268 |
'error_message' => __( 'Snippet status not changed. No snippet ID', 'insert-php' ),
|
269 |
-
]
|
270 |
-
);
|
271 |
}
|
272 |
}
|
273 |
}
|
26 |
*/
|
27 |
$this->styles->add( WINP_PLUGIN_URL . '/admin/assets/css/list-table.css' );
|
28 |
$this->scripts->add( WINP_PLUGIN_URL . '/admin/assets/js/snippet-list.js' );
|
29 |
+
$this->scripts->localize( 'winp_ajax', [ 'nonce' => wp_create_nonce( 'winp_ajax' ) ] );
|
30 |
$this->runActions();
|
31 |
|
32 |
add_filter( 'manage_edit-' . WINP_SNIPPETS_POST_TYPE . '_sortable_columns', array(
|
204 |
} else {
|
205 |
wp_send_json( [
|
206 |
'error_message' => __( "Priority is not changed! It's must be a number", 'insert-php' ),
|
207 |
+
] );
|
|
|
208 |
}
|
209 |
|
210 |
} else {
|
211 |
wp_send_json( [
|
212 |
'error_message' => __( 'Priority is not changed!', 'insert-php' ),
|
213 |
+
] );
|
|
|
214 |
}
|
215 |
}
|
216 |
|
240 |
wp_send_json( [
|
241 |
'alert' => true,
|
242 |
'error_message' => __( "The snippet is not activated because errors were detected in the snippet code!", 'insert-php' ),
|
243 |
+
] );
|
|
|
244 |
}
|
245 |
}
|
246 |
|
255 |
} else {
|
256 |
wp_send_json( [
|
257 |
'error_message' => __( 'Snippet status not changed.', 'insert-php' ),
|
258 |
+
] );
|
|
|
259 |
|
260 |
}
|
261 |
|
262 |
} else {
|
263 |
wp_send_json( [
|
264 |
'error_message' => __( 'Snippet status not changed. No snippet ID', 'insert-php' ),
|
265 |
+
] );
|
|
|
266 |
}
|
267 |
}
|
268 |
}
|
admin/metaboxes/base-options.php
CHANGED
@@ -30,7 +30,7 @@ class WINP_BaseOptionsMetaBox extends Wbcr_FactoryMetaboxes409_FormMetabox {
|
|
30 |
*/
|
31 |
public $priority = 'core';
|
32 |
|
33 |
-
public $css_class = 'factory-bootstrap-
|
34 |
|
35 |
protected $errors = [];
|
36 |
protected $source_channel;
|
@@ -42,6 +42,10 @@ class WINP_BaseOptionsMetaBox extends Wbcr_FactoryMetaboxes409_FormMetabox {
|
|
42 |
|
43 |
$this->title = __( 'Base options', 'insert-php' );
|
44 |
|
|
|
|
|
|
|
|
|
45 |
add_action( 'admin_footer', [ $this, 'adminFooter' ] );
|
46 |
add_action( 'admin_enqueue_scripts', [ $this, 'deregisterDefaultEditorResourses' ] );
|
47 |
|
@@ -75,9 +79,9 @@ class WINP_BaseOptionsMetaBox extends Wbcr_FactoryMetaboxes409_FormMetabox {
|
|
75 |
/**
|
76 |
* Configures a metabox.
|
77 |
*
|
78 |
-
* @param
|
79 |
*
|
80 |
-
* @param
|
81 |
*
|
82 |
* @return void
|
83 |
* @since 1.0.0
|
@@ -97,7 +101,7 @@ class WINP_BaseOptionsMetaBox extends Wbcr_FactoryMetaboxes409_FormMetabox {
|
|
97 |
|
98 |
$scripts->add( WINP_PLUGIN_URL . '/admin/assets/dist/js/ccm.min.js', [ 'jquery' ], 'winp-snippet-codemirror' );
|
99 |
//$scripts->add( WINP_PLUGIN_URL . '/admin/assets/js/transition.js', [ 'jquery' ], 'winp-snippet-transition' );
|
100 |
-
wp_enqueue_script( 'winp-snippet-transition', WINP_PLUGIN_URL . '/admin/assets/js/transition.js');
|
101 |
|
102 |
if ( WINP_Plugin::app()->get_api_object()->is_key() ) {
|
103 |
wp_localize_script( 'winp-snippet-transition', 'winp_snippet_sync', [
|
@@ -242,7 +246,7 @@ class WINP_BaseOptionsMetaBox extends Wbcr_FactoryMetaboxes409_FormMetabox {
|
|
242 |
$button_nonce = ' data-nonce="' . wp_create_nonce( "wbcr_inp_save_snippet_{$snippet_id}_as_template" ) . '"';
|
243 |
|
244 |
?>
|
245 |
-
<div class="factory-bootstrap-
|
246 |
<div class="modal fade" id="winp-sync-modal" tabindex="-1" role="dialog"
|
247 |
aria-labelledby="exampleModalLabel"
|
248 |
aria-hidden="true" style="display: none">
|
@@ -532,7 +536,7 @@ class WINP_BaseOptionsMetaBox extends Wbcr_FactoryMetaboxes409_FormMetabox {
|
|
532 |
/**
|
533 |
* Configures a form that will be inside the metabox.
|
534 |
*
|
535 |
-
* @param
|
536 |
*
|
537 |
* @return void
|
538 |
* @since 1.0.0
|
@@ -541,6 +545,7 @@ class WINP_BaseOptionsMetaBox extends Wbcr_FactoryMetaboxes409_FormMetabox {
|
|
541 |
*/
|
542 |
public function form( $form ) {
|
543 |
$snippet_type = WINP_Helper::get_snippet_type();
|
|
|
544 |
|
545 |
if ( $snippet_type === WINP_SNIPPET_TYPE_PHP ) {
|
546 |
$option_name = 'Run everywhere';
|
@@ -567,7 +572,7 @@ class WINP_BaseOptionsMetaBox extends Wbcr_FactoryMetaboxes409_FormMetabox {
|
|
567 |
$hint = sprintf( __( 'If you want to place some content into your snippet from the shortcode just wrap it inside [wbcr%s_snippet id="xxx"]content[/wbcr%s_snippet]. To use this content inside the snippet use $content variable.', 'insert-php' ), $_type, $_type );
|
568 |
}
|
569 |
|
570 |
-
$option_name = 'Automatic insertion';
|
571 |
$data = [
|
572 |
[ 'auto', __( $option_name, 'insert-php' ) ],
|
573 |
[ 'shortcode', __( 'Where there is a shortcode', 'insert-php' ), $hint ],
|
@@ -614,141 +619,54 @@ class WINP_BaseOptionsMetaBox extends Wbcr_FactoryMetaboxes409_FormMetabox {
|
|
614 |
[
|
615 |
'title' => __( 'Everywhere', 'insert-php' ),
|
616 |
'type' => 'group',
|
617 |
-
'items' =>
|
618 |
-
[
|
619 |
-
WINP_SNIPPET_AUTO_HEADER,
|
620 |
-
__( 'Head', 'insert-php' ),
|
621 |
-
__( 'Snippet will be placed in the source code before </head>.', 'insert-php' ),
|
622 |
-
],
|
623 |
-
[
|
624 |
-
WINP_SNIPPET_AUTO_FOOTER,
|
625 |
-
__( 'Footer', 'insert-php' ),
|
626 |
-
__( 'Snippet will be placed in the source code before </body>.', 'insert-php' ),
|
627 |
-
],
|
628 |
-
],
|
629 |
],
|
630 |
[
|
631 |
'title' => __( 'Posts, Pages, Custom post types', 'insert-php' ),
|
632 |
'type' => 'group',
|
633 |
-
'items' =>
|
634 |
-
[
|
635 |
-
WINP_SNIPPET_AUTO_BEFORE_POST,
|
636 |
-
__( 'Insert Before Post', 'insert-php' ),
|
637 |
-
__( 'Snippet will be placed before the title of the post/page.', 'insert-php' ),
|
638 |
-
],
|
639 |
-
[
|
640 |
-
WINP_SNIPPET_AUTO_BEFORE_CONTENT,
|
641 |
-
__( 'Insert Before Content', 'insert-php' ),
|
642 |
-
__( 'Snippet will be placed before the content of the post/page.', 'insert-php' ),
|
643 |
-
],
|
644 |
-
[
|
645 |
-
WINP_SNIPPET_AUTO_BEFORE_PARAGRAPH,
|
646 |
-
__( 'Insert Before Paragraph', 'insert-php' ),
|
647 |
-
__( 'Snippet will be placed before the paragraph, which number you can specify in the Location number field.', 'insert-php' ),
|
648 |
-
],
|
649 |
-
[
|
650 |
-
WINP_SNIPPET_AUTO_AFTER_PARAGRAPH,
|
651 |
-
__( 'Insert After Paragraph', 'insert-php' ),
|
652 |
-
__( 'Snippet will be placed after the paragraph, which number you can specify in the Location number field.', 'insert-php' ),
|
653 |
-
],
|
654 |
-
[
|
655 |
-
WINP_SNIPPET_AUTO_AFTER_CONTENT,
|
656 |
-
__( 'Insert After Content', 'insert-php' ),
|
657 |
-
__( 'Snippet will be placed after the content of the post/page.', 'insert-php' ),
|
658 |
-
],
|
659 |
-
[
|
660 |
-
WINP_SNIPPET_AUTO_AFTER_POST,
|
661 |
-
__( 'Insert After Post', 'insert-php' ),
|
662 |
-
__( 'Snippet will be placed in the very end of the post/page.', 'insert-php' ),
|
663 |
-
],
|
664 |
-
],
|
665 |
],
|
666 |
[
|
667 |
'title' => __( 'Categories, Archives, Tags, Taxonomies', 'insert-php' ),
|
668 |
'type' => 'group',
|
669 |
-
'items' =>
|
670 |
-
[
|
671 |
-
WINP_SNIPPET_AUTO_BEFORE_EXCERPT,
|
672 |
-
__( 'Insert Before Excerpt', 'insert-php' ),
|
673 |
-
__( 'Snippet will be placed before the excerpt of the post/page.', 'insert-php' ),
|
674 |
-
],
|
675 |
-
[
|
676 |
-
WINP_SNIPPET_AUTO_AFTER_EXCERPT,
|
677 |
-
__( 'Insert After Excerpt', 'insert-php' ),
|
678 |
-
__( 'Snippet will be placed after the excerpt of the post/page.', 'insert-php' ),
|
679 |
-
],
|
680 |
-
[
|
681 |
-
WINP_SNIPPET_AUTO_BETWEEN_POSTS,
|
682 |
-
__( 'Between Posts', 'insert-php' ),
|
683 |
-
__( 'Snippet will be placed between each post.', 'insert-php' ),
|
684 |
-
],
|
685 |
-
[
|
686 |
-
WINP_SNIPPET_AUTO_BEFORE_POSTS,
|
687 |
-
__( 'Before post', 'insert-php' ),
|
688 |
-
__( 'Snippet will be placed before the post, which number you can specify in the Location number field.', 'insert-php' ),
|
689 |
-
],
|
690 |
-
[
|
691 |
-
WINP_SNIPPET_AUTO_AFTER_POSTS,
|
692 |
-
__( 'After post', 'insert-php' ),
|
693 |
-
__( 'Snippet will be placed after the post, which number you can specify in the Location number field.', 'insert-php' ),
|
694 |
-
],
|
695 |
-
],
|
696 |
],
|
697 |
];
|
698 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
699 |
if ( $snippet_type === WINP_SNIPPET_TYPE_TEXT || $snippet_type === WINP_SNIPPET_TYPE_AD ) {
|
700 |
unset( $data[0] );
|
701 |
$data = array_values( $data );
|
702 |
}
|
703 |
|
704 |
$items[] = [
|
705 |
-
'type' => 'dropdown',
|
706 |
'name' => 'snippet_location',
|
707 |
'data' => $data,
|
708 |
'title' => __( 'Insertion location', 'insert-php' ),
|
709 |
'hint' => __( 'Select the location for you snippet.', 'insert-php' ),
|
710 |
-
'default' =>
|
711 |
-
'events' =>
|
712 |
-
WINP_SNIPPET_AUTO_HEADER => [
|
713 |
-
'hide' => '.factory-control-snippet_p_number',
|
714 |
-
],
|
715 |
-
WINP_SNIPPET_AUTO_FOOTER => [
|
716 |
-
'hide' => '.factory-control-snippet_p_number',
|
717 |
-
],
|
718 |
-
WINP_SNIPPET_AUTO_BEFORE_POST => [
|
719 |
-
'hide' => '.factory-control-snippet_p_number',
|
720 |
-
],
|
721 |
-
WINP_SNIPPET_AUTO_BEFORE_CONTENT => [
|
722 |
-
'hide' => '.factory-control-snippet_p_number',
|
723 |
-
],
|
724 |
-
WINP_SNIPPET_AUTO_AFTER_CONTENT => [
|
725 |
-
'hide' => '.factory-control-snippet_p_number',
|
726 |
-
],
|
727 |
-
WINP_SNIPPET_AUTO_AFTER_POST => [
|
728 |
-
'hide' => '.factory-control-snippet_p_number',
|
729 |
-
],
|
730 |
-
WINP_SNIPPET_AUTO_BEFORE_EXCERPT => [
|
731 |
-
'hide' => '.factory-control-snippet_p_number',
|
732 |
-
],
|
733 |
-
WINP_SNIPPET_AUTO_AFTER_EXCERPT => [
|
734 |
-
'hide' => '.factory-control-snippet_p_number',
|
735 |
-
],
|
736 |
-
WINP_SNIPPET_AUTO_BETWEEN_POSTS => [
|
737 |
-
'hide' => '.factory-control-snippet_p_number',
|
738 |
-
],
|
739 |
-
WINP_SNIPPET_AUTO_BEFORE_PARAGRAPH => [
|
740 |
-
'show' => '.factory-control-snippet_p_number',
|
741 |
-
],
|
742 |
-
WINP_SNIPPET_AUTO_AFTER_PARAGRAPH => [
|
743 |
-
'show' => '.factory-control-snippet_p_number',
|
744 |
-
],
|
745 |
-
WINP_SNIPPET_AUTO_BEFORE_POSTS => [
|
746 |
-
'show' => '.factory-control-snippet_p_number',
|
747 |
-
],
|
748 |
-
WINP_SNIPPET_AUTO_AFTER_POSTS => [
|
749 |
-
'show' => '.factory-control-snippet_p_number',
|
750 |
-
],
|
751 |
-
],
|
752 |
];
|
753 |
|
754 |
$items[] = [
|
@@ -816,7 +734,7 @@ class WINP_BaseOptionsMetaBox extends Wbcr_FactoryMetaboxes409_FormMetabox {
|
|
816 |
'title' => __( 'WPML Language', 'insert-php' ),
|
817 |
'data' => $wpml_langs,
|
818 |
'hint' => __( 'Select the WPML language/languages that this snippet will work for.', 'insert-php' ),
|
819 |
-
'default' => implode(',', $wpml_langs_default),
|
820 |
];
|
821 |
}
|
822 |
}
|
@@ -929,7 +847,7 @@ class WINP_BaseOptionsMetaBox extends Wbcr_FactoryMetaboxes409_FormMetabox {
|
|
929 |
return;
|
930 |
}
|
931 |
|
932 |
-
$location = WINP_Plugin::app()->request->post( WINP_Plugin::app()->getPrefix() . 'snippet_location',
|
933 |
WINP_Helper::updateMetaOption( $post_id, 'snippet_location', $location );
|
934 |
|
935 |
$type = WINP_Plugin::app()->request->post( WINP_Plugin::app()->getPrefix() . 'snippet_type', WINP_SNIPPET_TYPE_PHP, true );
|
30 |
*/
|
31 |
public $priority = 'core';
|
32 |
|
33 |
+
public $css_class = 'factory-bootstrap-450 factory-fontawesome-000';
|
34 |
|
35 |
protected $errors = [];
|
36 |
protected $source_channel;
|
42 |
|
43 |
$this->title = __( 'Base options', 'insert-php' );
|
44 |
|
45 |
+
global $winp_snippets_locations;
|
46 |
+
/** @var $winp_snippets_locations WINP_Insertion_Locations */
|
47 |
+
$winp_snippets_locations = new WINP_Insertion_Locations();
|
48 |
+
|
49 |
add_action( 'admin_footer', [ $this, 'adminFooter' ] );
|
50 |
add_action( 'admin_enqueue_scripts', [ $this, 'deregisterDefaultEditorResourses' ] );
|
51 |
|
79 |
/**
|
80 |
* Configures a metabox.
|
81 |
*
|
82 |
+
* @param Wbcr_Factory450_StyleList $styles A set of style to include.
|
83 |
*
|
84 |
+
* @param Wbcr_Factory450_ScriptList $scripts A set of scripts to include.
|
85 |
*
|
86 |
* @return void
|
87 |
* @since 1.0.0
|
101 |
|
102 |
$scripts->add( WINP_PLUGIN_URL . '/admin/assets/dist/js/ccm.min.js', [ 'jquery' ], 'winp-snippet-codemirror' );
|
103 |
//$scripts->add( WINP_PLUGIN_URL . '/admin/assets/js/transition.js', [ 'jquery' ], 'winp-snippet-transition' );
|
104 |
+
wp_enqueue_script( 'winp-snippet-transition', WINP_PLUGIN_URL . '/admin/assets/js/transition.js' );
|
105 |
|
106 |
if ( WINP_Plugin::app()->get_api_object()->is_key() ) {
|
107 |
wp_localize_script( 'winp-snippet-transition', 'winp_snippet_sync', [
|
246 |
$button_nonce = ' data-nonce="' . wp_create_nonce( "wbcr_inp_save_snippet_{$snippet_id}_as_template" ) . '"';
|
247 |
|
248 |
?>
|
249 |
+
<div class="factory-bootstrap-450 factory-fontawesome-000">
|
250 |
<div class="modal fade" id="winp-sync-modal" tabindex="-1" role="dialog"
|
251 |
aria-labelledby="exampleModalLabel"
|
252 |
aria-hidden="true" style="display: none">
|
536 |
/**
|
537 |
* Configures a form that will be inside the metabox.
|
538 |
*
|
539 |
+
* @param Wbcr_FactoryForms447_Form $form A form object to configure.
|
540 |
*
|
541 |
* @return void
|
542 |
* @since 1.0.0
|
545 |
*/
|
546 |
public function form( $form ) {
|
547 |
$snippet_type = WINP_Helper::get_snippet_type();
|
548 |
+
global $winp_snippets_locations;
|
549 |
|
550 |
if ( $snippet_type === WINP_SNIPPET_TYPE_PHP ) {
|
551 |
$option_name = 'Run everywhere';
|
572 |
$hint = sprintf( __( 'If you want to place some content into your snippet from the shortcode just wrap it inside [wbcr%s_snippet id="xxx"]content[/wbcr%s_snippet]. To use this content inside the snippet use $content variable.', 'insert-php' ), $_type, $_type );
|
573 |
}
|
574 |
|
575 |
+
$option_name = __( 'Automatic insertion', 'insert-php' );
|
576 |
$data = [
|
577 |
[ 'auto', __( $option_name, 'insert-php' ) ],
|
578 |
[ 'shortcode', __( 'Where there is a shortcode', 'insert-php' ), $hint ],
|
619 |
[
|
620 |
'title' => __( 'Everywhere', 'insert-php' ),
|
621 |
'type' => 'group',
|
622 |
+
'items' => $winp_snippets_locations->getInsertionForOptions( 'everywhere' ),
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
623 |
],
|
624 |
[
|
625 |
'title' => __( 'Posts, Pages, Custom post types', 'insert-php' ),
|
626 |
'type' => 'group',
|
627 |
+
'items' => $winp_snippets_locations->getInsertionForOptions( 'posts' ),
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
628 |
],
|
629 |
[
|
630 |
'title' => __( 'Categories, Archives, Tags, Taxonomies', 'insert-php' ),
|
631 |
'type' => 'group',
|
632 |
+
'items' => $winp_snippets_locations->getInsertionForOptions( 'pages' ),
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
633 |
],
|
634 |
];
|
635 |
|
636 |
+
if ( ! empty( $winp_snippets_locations->getInsertion( 'woocommerce' ) ) ) {
|
637 |
+
$pro = $this->plugin->is_premium();
|
638 |
+
$woo = WINP_Helper::is_woo_active();
|
639 |
+
$disabled = $pro && $woo ? '' : 'disabled';
|
640 |
+
$addition = $pro ? $woo ? '' : '(not installed)' : ' (PRO)';
|
641 |
+
$data[] = [
|
642 |
+
'title' => __( 'Woocommerce', 'insert-php' ) . $addition,
|
643 |
+
'type' => 'group',
|
644 |
+
'disabled' => $disabled,
|
645 |
+
'items' => $winp_snippets_locations->getInsertionForOptions( 'woocommerce' ),
|
646 |
+
];
|
647 |
+
}
|
648 |
+
|
649 |
+
if ( ! empty( $winp_snippets_locations->getInsertion( 'custom' ) ) ) {
|
650 |
+
$data[] = [
|
651 |
+
'title' => __( 'Custom', 'insert-php' ),
|
652 |
+
'type' => 'group',
|
653 |
+
'items' => $winp_snippets_locations->getInsertionForOptions( 'custom' ),
|
654 |
+
];
|
655 |
+
}
|
656 |
+
|
657 |
if ( $snippet_type === WINP_SNIPPET_TYPE_TEXT || $snippet_type === WINP_SNIPPET_TYPE_AD ) {
|
658 |
unset( $data[0] );
|
659 |
$data = array_values( $data );
|
660 |
}
|
661 |
|
662 |
$items[] = [
|
663 |
+
'type' => 'winp-dropdown',
|
664 |
'name' => 'snippet_location',
|
665 |
'data' => $data,
|
666 |
'title' => __( 'Insertion location', 'insert-php' ),
|
667 |
'hint' => __( 'Select the location for you snippet.', 'insert-php' ),
|
668 |
+
'default' => 'header',
|
669 |
+
'events' => $winp_snippets_locations->getEventsForOptions(),
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
670 |
];
|
671 |
|
672 |
$items[] = [
|
734 |
'title' => __( 'WPML Language', 'insert-php' ),
|
735 |
'data' => $wpml_langs,
|
736 |
'hint' => __( 'Select the WPML language/languages that this snippet will work for.', 'insert-php' ),
|
737 |
+
'default' => implode( ',', $wpml_langs_default ),
|
738 |
];
|
739 |
}
|
740 |
}
|
847 |
return;
|
848 |
}
|
849 |
|
850 |
+
$location = WINP_Plugin::app()->request->post( WINP_Plugin::app()->getPrefix() . 'snippet_location', 'header', true );
|
851 |
WINP_Helper::updateMetaOption( $post_id, 'snippet_location', $location );
|
852 |
|
853 |
$type = WINP_Plugin::app()->request->post( WINP_Plugin::app()->getPrefix() . 'snippet_type', WINP_SNIPPET_TYPE_PHP, true );
|
admin/metaboxes/info.php
CHANGED
@@ -39,7 +39,7 @@ class WINP_InfoMetaBox extends WINP_MetaBox {
|
|
39 |
*/
|
40 |
public $priority = 'core';
|
41 |
|
42 |
-
public $css_class = 'factory-bootstrap-
|
43 |
|
44 |
protected $errors = [];
|
45 |
protected $source_channel;
|
@@ -58,8 +58,8 @@ class WINP_InfoMetaBox extends WINP_MetaBox {
|
|
58 |
*
|
59 |
* @since 1.0.0
|
60 |
*
|
61 |
-
* @param
|
62 |
-
* @param
|
63 |
*
|
64 |
* @return void
|
65 |
*/
|
39 |
*/
|
40 |
public $priority = 'core';
|
41 |
|
42 |
+
public $css_class = 'factory-bootstrap-450 factory-fontawesome-000';
|
43 |
|
44 |
protected $errors = [];
|
45 |
protected $source_channel;
|
58 |
*
|
59 |
* @since 1.0.0
|
60 |
*
|
61 |
+
* @param Wbcr_Factory450_ScriptList $scripts A set of scripts to include.
|
62 |
+
* @param Wbcr_Factory450_StyleList $styles A set of style to include.
|
63 |
*
|
64 |
* @return void
|
65 |
*/
|
admin/metaboxes/revisions.php
CHANGED
@@ -38,7 +38,7 @@ class WINP_RevisionsMetaBox extends WINP_MetaBox {
|
|
38 |
*/
|
39 |
public $priority = 'core';
|
40 |
|
41 |
-
public $css_class = 'factory-bootstrap-
|
42 |
|
43 |
public function __construct( $plugin ) {
|
44 |
parent::__construct( $plugin );
|
@@ -51,8 +51,8 @@ class WINP_RevisionsMetaBox extends WINP_MetaBox {
|
|
51 |
*
|
52 |
* @since 1.0.0
|
53 |
*
|
54 |
-
* @param
|
55 |
-
* @param
|
56 |
*
|
57 |
* @return void
|
58 |
*/
|
38 |
*/
|
39 |
public $priority = 'core';
|
40 |
|
41 |
+
public $css_class = 'factory-bootstrap-450 factory-fontawesome-000';
|
42 |
|
43 |
public function __construct( $plugin ) {
|
44 |
parent::__construct( $plugin );
|
51 |
*
|
52 |
* @since 1.0.0
|
53 |
*
|
54 |
+
* @param Wbcr_Factory450_ScriptList $scripts A set of scripts to include.
|
55 |
+
* @param Wbcr_Factory450_StyleList $styles A set of style to include.
|
56 |
*
|
57 |
* @return void
|
58 |
*/
|
admin/metaboxes/view-options.php
CHANGED
@@ -25,14 +25,14 @@ class WINP_ViewOptionsMetaBox extends WINP_MetaBox {
|
|
25 |
*
|
26 |
* @var string
|
27 |
*/
|
28 |
-
public $css_class = 'factory-bootstrap-
|
29 |
|
30 |
/**
|
31 |
* WINP_ViewOptionsMetaBox constructor.
|
32 |
*
|
33 |
-
* @param
|
34 |
*/
|
35 |
-
public function __construct(
|
36 |
parent::__construct( $plugin );
|
37 |
|
38 |
$this->title = __( 'Conditional execution logic for the snippet', 'insert-php' );
|
@@ -41,8 +41,8 @@ class WINP_ViewOptionsMetaBox extends WINP_MetaBox {
|
|
41 |
/**
|
42 |
* {@inheritDoc}
|
43 |
*
|
44 |
-
* @param
|
45 |
-
* @param
|
46 |
*
|
47 |
* @return void
|
48 |
*/
|
25 |
*
|
26 |
* @var string
|
27 |
*/
|
28 |
+
public $css_class = 'factory-bootstrap-450 factory-fontawesome-000';
|
29 |
|
30 |
/**
|
31 |
* WINP_ViewOptionsMetaBox constructor.
|
32 |
*
|
33 |
+
* @param Wbcr_Factory450_Plugin $plugin
|
34 |
*/
|
35 |
+
public function __construct( Wbcr_Factory450_Plugin $plugin ) {
|
36 |
parent::__construct( $plugin );
|
37 |
|
38 |
$this->title = __( 'Conditional execution logic for the snippet', 'insert-php' );
|
41 |
/**
|
42 |
* {@inheritDoc}
|
43 |
*
|
44 |
+
* @param Wbcr_Factory450_ScriptList $scripts A set of scripts to include.
|
45 |
+
* @param Wbcr_Factory450_StyleList $styles A set of style to include.
|
46 |
*
|
47 |
* @return void
|
48 |
*/
|
admin/pages/about.php
CHANGED
@@ -20,9 +20,9 @@ if ( ! defined( 'ABSPATH' ) ) {
|
|
20 |
class WINP_AboutPage extends WINP_Page {
|
21 |
|
22 |
/**
|
23 |
-
* @param
|
24 |
*/
|
25 |
-
public function __construct(
|
26 |
$this->menu_post_type = WINP_SNIPPETS_POST_TYPE;
|
27 |
|
28 |
$this->id = "about";
|
@@ -39,7 +39,7 @@ class WINP_AboutPage extends WINP_Page {
|
|
39 |
?>
|
40 |
<div class="wrap about-wrap full-width-layout" id="wbcr-inp-about">
|
41 |
<!-- News Title !-->
|
42 |
-
<h1>Welcome to Woody
|
43 |
<!-- News Subtext !-->
|
44 |
<div class="about-text">
|
45 |
Thanks for upgrading! Many new features and improvements are available that you will enjoy.
|
@@ -52,7 +52,7 @@ class WINP_AboutPage extends WINP_Page {
|
|
52 |
<!-- Latest News !-->
|
53 |
<div id="wbcr-inp-news-tab">
|
54 |
<div class="headline">
|
55 |
-
<h3 class="headline-title">PHP snippets (Insert php) Evolution to Woody
|
56 |
<div class="featured-image">
|
57 |
<img src="https://woodysnippet.com/images/about/change-plugin-name.jpg" alt="">
|
58 |
</div>
|
@@ -84,7 +84,7 @@ class WINP_AboutPage extends WINP_Page {
|
|
84 |
plugin supports
|
85 |
not only a PHP code but HTML. JS, CSS code and text as well. Obviously, the name <code>Php snippets
|
86 |
(Insert php)</code> no longer suited the plugin. </p>
|
87 |
-
<p>So we’ve created a new name – Woody
|
88 |
pain. We won’t change the plugin name anymore, as we’ve scheduled a solid roadmap of the plugin
|
89 |
development and plan to stick to it!</p>
|
90 |
</div>
|
20 |
class WINP_AboutPage extends WINP_Page {
|
21 |
|
22 |
/**
|
23 |
+
* @param Wbcr_Factory450_Plugin $plugin
|
24 |
*/
|
25 |
+
public function __construct( Wbcr_Factory450_Plugin $plugin ) {
|
26 |
$this->menu_post_type = WINP_SNIPPETS_POST_TYPE;
|
27 |
|
28 |
$this->id = "about";
|
39 |
?>
|
40 |
<div class="wrap about-wrap full-width-layout" id="wbcr-inp-about">
|
41 |
<!-- News Title !-->
|
42 |
+
<h1>Welcome to Woody Code Snippets <?php echo $this->plugin->getPluginVersion() ?></h1>
|
43 |
<!-- News Subtext !-->
|
44 |
<div class="about-text">
|
45 |
Thanks for upgrading! Many new features and improvements are available that you will enjoy.
|
52 |
<!-- Latest News !-->
|
53 |
<div id="wbcr-inp-news-tab">
|
54 |
<div class="headline">
|
55 |
+
<h3 class="headline-title">PHP snippets (Insert php) Evolution to Woody Code Snippets</h3>
|
56 |
<div class="featured-image">
|
57 |
<img src="https://woodysnippet.com/images/about/change-plugin-name.jpg" alt="">
|
58 |
</div>
|
84 |
plugin supports
|
85 |
not only a PHP code but HTML. JS, CSS code and text as well. Obviously, the name <code>Php snippets
|
86 |
(Insert php)</code> no longer suited the plugin. </p>
|
87 |
+
<p>So we’ve created a new name – Woody Code Snippets. We are hoping that the new name didn’t cause you any
|
88 |
pain. We won’t change the plugin name anymore, as we’ve scheduled a solid roadmap of the plugin
|
89 |
development and plan to stick to it!</p>
|
90 |
</div>
|
admin/pages/import.php
CHANGED
@@ -19,9 +19,9 @@ if ( ! defined( 'ABSPATH' ) ) {
|
|
19 |
class WINP_ImportPage extends WINP_Page {
|
20 |
|
21 |
/**
|
22 |
-
* @param
|
23 |
*/
|
24 |
-
public function __construct(
|
25 |
$this->menu_post_type = WINP_SNIPPETS_POST_TYPE;
|
26 |
|
27 |
$this->id = "import";
|
@@ -105,7 +105,7 @@ class WINP_ImportPage extends WINP_Page {
|
|
105 |
<div class="<?php echo WINP_Helper::get_factory_class(); ?> winp-import-snippets">
|
106 |
<form method="post" class="form-horizontal" enctype="multipart/form-data">
|
107 |
<?php $this->getMessage() ?>
|
108 |
-
<h3><?php _e( 'Woody
|
109 |
<div class="row">
|
110 |
<div class="<?php echo $import_tab ? 'col-md-9' : 'col-md-12' ?>">
|
111 |
<div class="nav-tab-wrapper">
|
19 |
class WINP_ImportPage extends WINP_Page {
|
20 |
|
21 |
/**
|
22 |
+
* @param Wbcr_Factory450_Plugin $plugin
|
23 |
*/
|
24 |
+
public function __construct( Wbcr_Factory450_Plugin $plugin ) {
|
25 |
$this->menu_post_type = WINP_SNIPPETS_POST_TYPE;
|
26 |
|
27 |
$this->id = "import";
|
105 |
<div class="<?php echo WINP_Helper::get_factory_class(); ?> winp-import-snippets">
|
106 |
<form method="post" class="form-horizontal" enctype="multipart/form-data">
|
107 |
<?php $this->getMessage() ?>
|
108 |
+
<h3><?php _e( 'Woody Code Snippets Import', 'insert-php' ) ?></h3>
|
109 |
<div class="row">
|
110 |
<div class="<?php echo $import_tab ? 'col-md-9' : 'col-md-12' ?>">
|
111 |
<div class="nav-tab-wrapper">
|
admin/pages/license.php
CHANGED
@@ -52,7 +52,7 @@ class WINP_License_Page extends WINP_Page {
|
|
52 |
|
53 |
/**
|
54 |
* @since 2.0.7
|
55 |
-
* @var \WBCR\
|
56 |
*/
|
57 |
protected $premium;
|
58 |
|
@@ -70,7 +70,7 @@ class WINP_License_Page extends WINP_Page {
|
|
70 |
|
71 |
/**
|
72 |
* @since 2.0.7
|
73 |
-
* @var \WBCR\
|
74 |
*/
|
75 |
protected $premium_license;
|
76 |
|
@@ -79,9 +79,9 @@ class WINP_License_Page extends WINP_Page {
|
|
79 |
|
80 |
/**
|
81 |
* {@inheritdoc}
|
82 |
-
* @param
|
83 |
*/
|
84 |
-
public function __construct (
|
85 |
$this->plugin = $plugin;
|
86 |
|
87 |
parent::__construct( $plugin );
|
@@ -209,7 +209,7 @@ class WINP_License_Page extends WINP_Page {
|
|
209 |
data-loader="<?php echo WINP_PLUGIN_URL . '/admin/assets/img/loader.gif'; ?>"
|
210 |
data-plugin="<?php echo get_class( $this->plugin ) ?>">
|
211 |
|
212 |
-
<div class="factory-bootstrap-
|
213 |
id="license-manager">
|
214 |
<div>
|
215 |
<h3><?php printf( __( 'Activate %s', 'insert-php' ), $this->plan_name ) ?></h3>
|
52 |
|
53 |
/**
|
54 |
* @since 2.0.7
|
55 |
+
* @var \WBCR\Factory_450\Premium\Provider
|
56 |
*/
|
57 |
protected $premium;
|
58 |
|
70 |
|
71 |
/**
|
72 |
* @since 2.0.7
|
73 |
+
* @var \WBCR\Factory_450\Premium\Interfaces\License
|
74 |
*/
|
75 |
protected $premium_license;
|
76 |
|
79 |
|
80 |
/**
|
81 |
* {@inheritdoc}
|
82 |
+
* @param Wbcr_Factory450_Plugin $plugin
|
83 |
*/
|
84 |
+
public function __construct ( Wbcr_Factory450_Plugin $plugin ) {
|
85 |
$this->plugin = $plugin;
|
86 |
|
87 |
parent::__construct( $plugin );
|
209 |
data-loader="<?php echo WINP_PLUGIN_URL . '/admin/assets/img/loader.gif'; ?>"
|
210 |
data-plugin="<?php echo get_class( $this->plugin ) ?>">
|
211 |
|
212 |
+
<div class="factory-bootstrap-450 onp-page-wrap <?php echo $this->get_license_type() ?>-license-manager-content"
|
213 |
id="license-manager">
|
214 |
<div>
|
215 |
<h3><?php printf( __( 'Activate %s', 'insert-php' ), $this->plan_name ) ?></h3>
|
admin/pages/new-item.php
CHANGED
@@ -20,9 +20,9 @@ if ( ! defined( 'ABSPATH' ) ) {
|
|
20 |
class WINP_NewItemPage extends WINP_Page {
|
21 |
|
22 |
/**
|
23 |
-
* @param
|
24 |
*/
|
25 |
-
public function __construct(
|
26 |
$this->menu_post_type = WINP_SNIPPETS_POST_TYPE;
|
27 |
|
28 |
$this->menu_position = 1;
|
20 |
class WINP_NewItemPage extends WINP_Page {
|
21 |
|
22 |
/**
|
23 |
+
* @param Wbcr_Factory450_Plugin $plugin
|
24 |
*/
|
25 |
+
public function __construct( Wbcr_Factory450_Plugin $plugin ) {
|
26 |
$this->menu_post_type = WINP_SNIPPETS_POST_TYPE;
|
27 |
|
28 |
$this->menu_position = 1;
|
admin/pages/page.php
CHANGED
@@ -17,12 +17,12 @@ if ( ! defined( 'ABSPATH' ) ) {
|
|
17 |
/**
|
18 |
* Common Settings
|
19 |
*/
|
20 |
-
class WINP_Page extends
|
21 |
|
22 |
/**
|
23 |
-
* @param
|
24 |
*/
|
25 |
-
public function __construct(
|
26 |
$this->menu_post_type = WINP_SNIPPETS_POST_TYPE;
|
27 |
|
28 |
parent::__construct( $plugin );
|
17 |
/**
|
18 |
* Common Settings
|
19 |
*/
|
20 |
+
class WINP_Page extends Wbcr_FactoryPages449_AdminPage {
|
21 |
|
22 |
/**
|
23 |
+
* @param Wbcr_Factory450_Plugin $plugin
|
24 |
*/
|
25 |
+
public function __construct( Wbcr_Factory450_Plugin $plugin ) {
|
26 |
$this->menu_post_type = WINP_SNIPPETS_POST_TYPE;
|
27 |
|
28 |
parent::__construct( $plugin );
|
admin/pages/settings.php
CHANGED
@@ -19,9 +19,9 @@ if ( ! defined( 'ABSPATH' ) ) {
|
|
19 |
class WINP_SettingsPage extends WINP_Page {
|
20 |
|
21 |
/**
|
22 |
-
* @param
|
23 |
*/
|
24 |
-
public function __construct(
|
25 |
$this->menu_post_type = WINP_SNIPPETS_POST_TYPE;
|
26 |
|
27 |
$this->id = "settings";
|
19 |
class WINP_SettingsPage extends WINP_Page {
|
20 |
|
21 |
/**
|
22 |
+
* @param Wbcr_Factory450_Plugin $plugin
|
23 |
*/
|
24 |
+
public function __construct( Wbcr_Factory450_Plugin $plugin ) {
|
25 |
$this->menu_post_type = WINP_SNIPPETS_POST_TYPE;
|
26 |
|
27 |
$this->id = "settings";
|
admin/pages/snippet-library.php
CHANGED
@@ -20,9 +20,9 @@ if ( ! defined( 'ABSPATH' ) ) {
|
|
20 |
class WINP_SnippetLibraryPage extends WINP_Page {
|
21 |
|
22 |
/**
|
23 |
-
* @param
|
24 |
*/
|
25 |
-
public function __construct(
|
26 |
$this->menu_post_type = WINP_SNIPPETS_POST_TYPE;
|
27 |
|
28 |
$this->id = 'snippet-library';
|
20 |
class WINP_SnippetLibraryPage extends WINP_Page {
|
21 |
|
22 |
/**
|
23 |
+
* @param Wbcr_Factory450_Plugin $plugin
|
24 |
*/
|
25 |
+
public function __construct( Wbcr_Factory450_Plugin $plugin ) {
|
26 |
$this->menu_post_type = WINP_SNIPPETS_POST_TYPE;
|
27 |
|
28 |
$this->id = 'snippet-library';
|
admin/types/snippets-post-types.php
CHANGED
@@ -38,9 +38,9 @@ class WINP_SnippetsType extends Wbcr_FactoryTypes410_Type {
|
|
38 |
public $capabilities = [ 'administrator' ];
|
39 |
|
40 |
/**
|
41 |
-
* @param
|
42 |
*/
|
43 |
-
function __construct(
|
44 |
$this->name = WINP_SNIPPETS_POST_TYPE;
|
45 |
$this->plural_title = __( 'Woody snippets', 'insert-php' );
|
46 |
$this->singular_title = __( 'Woody snippets', 'insert-php' );
|
@@ -55,13 +55,13 @@ class WINP_SnippetsType extends Wbcr_FactoryTypes410_Type {
|
|
55 |
*/
|
56 |
public function print_left_menu_styles() {
|
57 |
?>
|
58 |
-
<!-- Woody
|
59 |
<style>
|
60 |
#menu-posts-wbcr-snippets .wp-menu-open .wp-menu-name {
|
61 |
background: #242525;
|
62 |
}
|
63 |
</style>
|
64 |
-
<!-- /Woody
|
65 |
<?php
|
66 |
}
|
67 |
|
38 |
public $capabilities = [ 'administrator' ];
|
39 |
|
40 |
/**
|
41 |
+
* @param Wbcr_Factory450_Plugin $plugin
|
42 |
*/
|
43 |
+
function __construct( Wbcr_Factory450_Plugin $plugin ) {
|
44 |
$this->name = WINP_SNIPPETS_POST_TYPE;
|
45 |
$this->plural_title = __( 'Woody snippets', 'insert-php' );
|
46 |
$this->singular_title = __( 'Woody snippets', 'insert-php' );
|
55 |
*/
|
56 |
public function print_left_menu_styles() {
|
57 |
?>
|
58 |
+
<!-- Woody Code Snippets -->
|
59 |
<style>
|
60 |
#menu-posts-wbcr-snippets .wp-menu-open .wp-menu-name {
|
61 |
background: #242525;
|
62 |
}
|
63 |
</style>
|
64 |
+
<!-- /Woody Code Snippets -->
|
65 |
<?php
|
66 |
}
|
67 |
|
includes/class.execute.snippet.php
CHANGED
@@ -2,9 +2,9 @@
|
|
2 |
/**
|
3 |
* Execute snippet
|
4 |
*
|
5 |
-
* @author
|
6 |
-
* @copyright (c)
|
7 |
-
* @version
|
8 |
*/
|
9 |
|
10 |
// Exit if accessed directly
|
@@ -14,10 +14,35 @@ if ( ! defined( 'ABSPATH' ) ) {
|
|
14 |
|
15 |
class WINP_Execute_Snippet {
|
16 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
17 |
/**
|
18 |
* WINP_Execute_Snippet constructor.
|
19 |
*/
|
20 |
public function __construct() {
|
|
|
|
|
21 |
if ( ! defined( 'WINP_UPLOAD_DIR' ) ) {
|
22 |
$dir = wp_upload_dir();
|
23 |
define( 'WINP_UPLOAD_DIR', $dir['basedir'] . '/winp-css-js' );
|
@@ -27,6 +52,26 @@ class WINP_Execute_Snippet {
|
|
27 |
$dir = wp_upload_dir();
|
28 |
define( 'WINP_UPLOAD_URL', $dir['baseurl'] . '/winp-css-js' );
|
29 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
30 |
}
|
31 |
|
32 |
/**
|
@@ -41,12 +86,20 @@ class WINP_Execute_Snippet {
|
|
41 |
add_filter( 'the_post', [ $this, 'executePostSnippets' ], 10, 2 );
|
42 |
add_filter( 'the_content', [ $this, 'executeContentSnippets' ] );
|
43 |
add_filter( 'the_excerpt', [ $this, 'executeExcerptSnippets' ] );
|
44 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
45 |
}
|
46 |
}
|
47 |
|
48 |
/**
|
49 |
-
* Execute the
|
50 |
*/
|
51 |
public function executeEverywhereSnippets() {
|
52 |
echo $this->executeActiveSnippets( 'evrywhere' );
|
@@ -56,14 +109,14 @@ class WINP_Execute_Snippet {
|
|
56 |
* Execute the snippets in header of page once the plugins are loaded
|
57 |
*/
|
58 |
public function executeHeaderSnippets() {
|
59 |
-
echo $this->executeActiveSnippets( 'auto',
|
60 |
}
|
61 |
|
62 |
/**
|
63 |
* Execute the snippets in footer of page once the plugins are loaded
|
64 |
*/
|
65 |
public function executeFooterSnippets() {
|
66 |
-
echo $this->executeActiveSnippets( 'auto',
|
67 |
}
|
68 |
|
69 |
/**
|
@@ -81,19 +134,19 @@ class WINP_Execute_Snippet {
|
|
81 |
if ( is_singular( [ $post_type ] ) && $post->ID == $data->ID ) {
|
82 |
if ( did_action( 'get_header' ) ) {
|
83 |
// Перед заголовком
|
84 |
-
$content = $this->executeActiveSnippets( 'auto',
|
85 |
}
|
86 |
} else {
|
87 |
if ( $query->post_count > 0 ) {
|
88 |
if ( $query->post_count > 1 && $query->current_post > 0 && $query->post_count > $query->current_post ) {
|
89 |
// Между записями
|
90 |
-
$content = $this->executeActiveSnippets( 'auto',
|
91 |
}
|
92 |
// Перед записью
|
93 |
-
$content .= $this->executeActiveSnippets( 'auto',
|
94 |
|
95 |
// После записи
|
96 |
-
$content .= $this->executeActiveSnippets( 'auto',
|
97 |
}
|
98 |
}
|
99 |
|
@@ -192,27 +245,27 @@ class WINP_Execute_Snippet {
|
|
192 |
|
193 |
if ( is_category() || is_archive() || is_tag() || is_tax() || is_search() ) {
|
194 |
// Перед коротким описанием
|
195 |
-
$content = $this->executeActiveSnippets( 'auto',
|
196 |
|
197 |
// После короткого описания
|
198 |
-
$content .= $this->executeActiveSnippets( 'auto',
|
199 |
}
|
200 |
|
201 |
if ( is_singular( [ $post_type ] ) ) {
|
202 |
// Перед параграфом
|
203 |
-
$content = $this->executeActiveSnippets( 'auto',
|
204 |
|
205 |
// После параграфа
|
206 |
-
$content = $this->executeActiveSnippets( 'auto',
|
207 |
|
208 |
// После заголовка
|
209 |
-
$content = $this->executeActiveSnippets( 'auto',
|
210 |
|
211 |
// После текста
|
212 |
-
$content .= $this->executeActiveSnippets( 'auto',
|
213 |
|
214 |
// После поста
|
215 |
-
$content .= $this->executeActiveSnippets( 'auto',
|
216 |
|
217 |
if ( ! comments_open( $post->ID ) && ! get_comments_number( $post->ID ) ) {
|
218 |
remove_filter( 'wp_list_comments_args', [ $this, 'executeListCommentsSnippets' ] );
|
@@ -236,10 +289,10 @@ class WINP_Execute_Snippet {
|
|
236 |
public function executeExcerptSnippets( $excerpt ) {
|
237 |
if ( is_category() || is_archive() || is_tag() || is_tax() || is_search() ) {
|
238 |
// Перед коротким описанием
|
239 |
-
$excerpt = $this->executeActiveSnippets( 'auto',
|
240 |
|
241 |
// После короткого описания
|
242 |
-
$excerpt .= $this->executeActiveSnippets( 'auto',
|
243 |
}
|
244 |
|
245 |
return $excerpt;
|
@@ -280,23 +333,108 @@ class WINP_Execute_Snippet {
|
|
280 |
$post_type = ! empty( $post ) ? $post->post_type : false;
|
281 |
if ( is_singular( [ $post_type ] ) ) {
|
282 |
// После комментариев
|
283 |
-
$content = $this->executeActiveSnippets( 'auto',
|
284 |
}
|
285 |
|
286 |
echo $content;
|
287 |
}
|
288 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
289 |
/**
|
290 |
* Execute the snippets once the plugins are loaded
|
291 |
*
|
292 |
* @param string $scope
|
293 |
-
* @param string $
|
294 |
* @param string $content
|
295 |
* @param array $custom_params
|
296 |
*
|
297 |
* @return string
|
298 |
*/
|
299 |
-
public function executeActiveSnippets( $scope = 'evrywhere', $
|
|
|
300 |
global $wpdb;
|
301 |
|
302 |
if ( $scope == 'evrywhere' ) {
|
@@ -308,27 +446,31 @@ class WINP_Execute_Snippet {
|
|
308 |
FROM {$wpdb->posts}
|
309 |
INNER JOIN {$wpdb->postmeta} p1 ON ({$wpdb->posts}.ID = p1.post_id)
|
310 |
INNER JOIN {$wpdb->postmeta} p2 ON ({$wpdb->posts}.ID = p2.post_id)
|
311 |
-
|
312 |
-
|
313 |
-
|
|
|
|
|
314 |
AND {$wpdb->posts}.post_type = '" . WINP_SNIPPETS_POST_TYPE . "'
|
315 |
AND ({$wpdb->posts}.post_status = 'publish')
|
316 |
ORDER BY CAST(priority AS UNSIGNED) {$sort}" );
|
|
|
|
|
317 |
|
318 |
if ( empty( $snippets ) ) {
|
319 |
return $content;
|
320 |
}
|
321 |
|
322 |
foreach ( (array) $snippets as $snippet ) {
|
323 |
-
$id
|
324 |
-
|
325 |
// Если это сниппет с автовставкой и выбранное место подходит под активный action
|
326 |
-
$avail_place = ( 'auto' == $scope ? $
|
327 |
-
// Если условие отображения
|
328 |
$snippet_type = WINP_Helper::getMetaOption( $id, 'snippet_type', WINP_SNIPPET_TYPE_PHP );
|
329 |
$is_condition = $snippet_type != WINP_SNIPPET_TYPE_PHP ? $this->checkCondition( $id ) : true;
|
330 |
|
331 |
-
if ( $
|
332 |
$post_id = (int) WINP_Plugin::app()->request->post( 'post_ID', 0 );
|
333 |
|
334 |
if ( isset( $_POST['wbcr_inp_snippet_scope'] ) && $post_id === $id && WINP_Plugin::app()->currentUserCan() ) {
|
@@ -370,26 +512,40 @@ class WINP_Execute_Snippet {
|
|
370 |
}
|
371 |
|
372 |
if ( 'auto' == $scope ) {
|
373 |
-
switch ( $
|
374 |
-
case
|
375 |
$location_number = WINP_Helper::getMetaOption( $id, 'snippet_p_number', 0 );
|
376 |
$content = $this->handleParagraphContent( $content, $snippet_content, $location_number );
|
377 |
break;
|
378 |
-
case
|
379 |
$location_number = WINP_Helper::getMetaOption( $id, 'snippet_p_number', 0 );
|
380 |
$content = $this->handleParagraphContent( $content, $snippet_content, $location_number, 'after' );
|
381 |
break;
|
382 |
-
case
|
383 |
$location_number = WINP_Helper::getMetaOption( $id, 'snippet_p_number', 0 );
|
384 |
$content = $this->handlePostsContent( $content, $snippet_content, $location_number, 'before', $custom_params );
|
385 |
break;
|
386 |
-
case
|
387 |
$location_number = WINP_Helper::getMetaOption( $id, 'snippet_p_number', 0 );
|
388 |
$content = $this->handlePostsContent( $content, $snippet_content, $location_number, 'after', $custom_params );
|
389 |
break;
|
390 |
default:
|
391 |
$content = $snippet_content . $content;
|
392 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
393 |
} else {
|
394 |
$content = $snippet_content . $content;
|
395 |
}
|
@@ -908,10 +1064,36 @@ class WINP_Execute_Snippet {
|
|
908 |
$result = true;
|
909 |
}
|
910 |
}
|
911 |
-
|
912 |
|
913 |
default:
|
914 |
-
$result =
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
915 |
}
|
916 |
|
917 |
return $this->checkByOperator( $operator, $result, true );
|
2 |
/**
|
3 |
* Execute snippet
|
4 |
*
|
5 |
+
* @author Artem Prihodko <webtemyk@yandex.ru>
|
6 |
+
* @copyright (c) 2020, CreativeMotion
|
7 |
+
* @version 2.4
|
8 |
*/
|
9 |
|
10 |
// Exit if accessed directly
|
14 |
|
15 |
class WINP_Execute_Snippet {
|
16 |
|
17 |
+
/**
|
18 |
+
* @var self
|
19 |
+
*/
|
20 |
+
private static $instance;
|
21 |
+
|
22 |
+
/**
|
23 |
+
* @var array
|
24 |
+
*/
|
25 |
+
public $snippets;
|
26 |
+
|
27 |
+
/**
|
28 |
+
* @var WINP_Insertion_Locations
|
29 |
+
*/
|
30 |
+
public $snippets_locations;
|
31 |
+
|
32 |
+
public static function app() {
|
33 |
+
if ( self::$instance === null ) {
|
34 |
+
self::$instance = new self();
|
35 |
+
}
|
36 |
+
|
37 |
+
return self::$instance;
|
38 |
+
}
|
39 |
+
|
40 |
/**
|
41 |
* WINP_Execute_Snippet constructor.
|
42 |
*/
|
43 |
public function __construct() {
|
44 |
+
self::$instance = $this;
|
45 |
+
|
46 |
if ( ! defined( 'WINP_UPLOAD_DIR' ) ) {
|
47 |
$dir = wp_upload_dir();
|
48 |
define( 'WINP_UPLOAD_DIR', $dir['basedir'] . '/winp-css-js' );
|
52 |
$dir = wp_upload_dir();
|
53 |
define( 'WINP_UPLOAD_URL', $dir['baseurl'] . '/winp-css-js' );
|
54 |
}
|
55 |
+
global $wpdb;
|
56 |
+
|
57 |
+
$sql = "SELECT {$wpdb->posts}.ID, {$wpdb->posts}.post_content, p2.meta_value as priority
|
58 |
+
FROM {$wpdb->posts}
|
59 |
+
INNER JOIN {$wpdb->postmeta} p1 ON ({$wpdb->posts}.ID = p1.post_id)
|
60 |
+
INNER JOIN {$wpdb->postmeta} p2 ON ({$wpdb->posts}.ID = p2.post_id)
|
61 |
+
INNER JOIN {$wpdb->postmeta} p3 ON ({$wpdb->posts}.ID = p3.post_id)
|
62 |
+
WHERE (( p1.meta_key = '" . WINP_Plugin::app()->getPrefix() . "snippet_scope' AND p1.meta_value = '%s')
|
63 |
+
AND
|
64 |
+
( p3.meta_key = '" . WINP_Plugin::app()->getPrefix() . "snippet_activate' AND p3.meta_value = '1')
|
65 |
+
AND p2.meta_key = '" . WINP_Plugin::app()->getPrefix() . "snippet_priority' )
|
66 |
+
AND {$wpdb->posts}.post_type = '" . WINP_SNIPPETS_POST_TYPE . "'
|
67 |
+
AND ({$wpdb->posts}.post_status = 'publish')
|
68 |
+
ORDER BY CAST(priority AS UNSIGNED) %s";
|
69 |
+
|
70 |
+
$this->snippets['evrywhere'] = $wpdb->get_results( sprintf( $sql, 'evrywhere', 'DESC' ) );
|
71 |
+
$this->snippets['auto'] = $wpdb->get_results( sprintf( $sql, 'auto', 'ASC' ) );
|
72 |
+
|
73 |
+
global $winp_snippets_locations;
|
74 |
+
$this->snippets_locations = new WINP_Insertion_Locations();
|
75 |
}
|
76 |
|
77 |
/**
|
86 |
add_filter( 'the_post', [ $this, 'executePostSnippets' ], 10, 2 );
|
87 |
add_filter( 'the_content', [ $this, 'executeContentSnippets' ] );
|
88 |
add_filter( 'the_excerpt', [ $this, 'executeExcerptSnippets' ] );
|
89 |
+
// Бесполезный хук, который вызывается на каждый комментарий. Если их много, увеличивается нагрузка
|
90 |
+
//add_filter( 'wp_list_comments_args', [ $this, 'executeListCommentsSnippets' ] );
|
91 |
+
|
92 |
+
//add_action( 'wp_head', [ $this, 'executeWoocommerceSnippets' ] );
|
93 |
+
|
94 |
+
if ( ! empty( $this->snippets_locations->getInsertion( 'custom' ) ) ) {
|
95 |
+
add_action( 'wp_head', [ $this, 'executeCustomSnippets' ] );
|
96 |
+
}
|
97 |
+
|
98 |
}
|
99 |
}
|
100 |
|
101 |
/**
|
102 |
+
* Execute the everywhere snippets once the plugins are loaded
|
103 |
*/
|
104 |
public function executeEverywhereSnippets() {
|
105 |
echo $this->executeActiveSnippets( 'evrywhere' );
|
109 |
* Execute the snippets in header of page once the plugins are loaded
|
110 |
*/
|
111 |
public function executeHeaderSnippets() {
|
112 |
+
echo $this->executeActiveSnippets( 'auto', 'header' );
|
113 |
}
|
114 |
|
115 |
/**
|
116 |
* Execute the snippets in footer of page once the plugins are loaded
|
117 |
*/
|
118 |
public function executeFooterSnippets() {
|
119 |
+
echo $this->executeActiveSnippets( 'auto', 'footer' );
|
120 |
}
|
121 |
|
122 |
/**
|
134 |
if ( is_singular( [ $post_type ] ) && $post->ID == $data->ID ) {
|
135 |
if ( did_action( 'get_header' ) ) {
|
136 |
// Перед заголовком
|
137 |
+
$content = $this->executeActiveSnippets( 'auto', 'before_post' );
|
138 |
}
|
139 |
} else {
|
140 |
if ( $query->post_count > 0 ) {
|
141 |
if ( $query->post_count > 1 && $query->current_post > 0 && $query->post_count > $query->current_post ) {
|
142 |
// Между записями
|
143 |
+
$content = $this->executeActiveSnippets( 'auto', 'between_posts' );
|
144 |
}
|
145 |
// Перед записью
|
146 |
+
$content .= $this->executeActiveSnippets( 'auto', 'before_posts', '', $query );
|
147 |
|
148 |
// После записи
|
149 |
+
$content .= $this->executeActiveSnippets( 'auto', 'after_posts', '', $query );
|
150 |
}
|
151 |
}
|
152 |
|
245 |
|
246 |
if ( is_category() || is_archive() || is_tag() || is_tax() || is_search() ) {
|
247 |
// Перед коротким описанием
|
248 |
+
$content = $this->executeActiveSnippets( 'auto', 'before_excerpt' ) . $content;
|
249 |
|
250 |
// После короткого описания
|
251 |
+
$content .= $this->executeActiveSnippets( 'auto', 'after_excerpt' );
|
252 |
}
|
253 |
|
254 |
if ( is_singular( [ $post_type ] ) ) {
|
255 |
// Перед параграфом
|
256 |
+
$content = $this->executeActiveSnippets( 'auto', 'before_paragraph', $content );
|
257 |
|
258 |
// После параграфа
|
259 |
+
$content = $this->executeActiveSnippets( 'auto', 'after_paragraph', $content );
|
260 |
|
261 |
// После заголовка
|
262 |
+
$content = $this->executeActiveSnippets( 'auto', 'before_content' ) . $content;
|
263 |
|
264 |
// После текста
|
265 |
+
$content .= $this->executeActiveSnippets( 'auto', 'after_content' );
|
266 |
|
267 |
// После поста
|
268 |
+
$content .= $this->executeActiveSnippets( 'auto', 'after_post' );
|
269 |
|
270 |
if ( ! comments_open( $post->ID ) && ! get_comments_number( $post->ID ) ) {
|
271 |
remove_filter( 'wp_list_comments_args', [ $this, 'executeListCommentsSnippets' ] );
|
289 |
public function executeExcerptSnippets( $excerpt ) {
|
290 |
if ( is_category() || is_archive() || is_tag() || is_tax() || is_search() ) {
|
291 |
// Перед коротким описанием
|
292 |
+
$excerpt = $this->executeActiveSnippets( 'auto', 'before_excerpt' ) . $excerpt;
|
293 |
|
294 |
// После короткого описания
|
295 |
+
$excerpt .= $this->executeActiveSnippets( 'auto', 'after_excerpt' );
|
296 |
}
|
297 |
|
298 |
return $excerpt;
|
333 |
$post_type = ! empty( $post ) ? $post->post_type : false;
|
334 |
if ( is_singular( [ $post_type ] ) ) {
|
335 |
// После комментариев
|
336 |
+
$content = $this->executeActiveSnippets( 'auto', 'after_post' );
|
337 |
}
|
338 |
|
339 |
echo $content;
|
340 |
}
|
341 |
|
342 |
+
/**
|
343 |
+
* Execute the custom snippets
|
344 |
+
*
|
345 |
+
* @since 2.4
|
346 |
+
*/
|
347 |
+
public function executeCustomSnippets() {
|
348 |
+
$locations = $this->snippets_locations->getInsertion( 'custom' );
|
349 |
+
foreach ( $locations as $location => $data ) {
|
350 |
+
$this->executeActiveSnippets( 'auto', $location );
|
351 |
+
}
|
352 |
+
}
|
353 |
+
|
354 |
+
/**
|
355 |
+
* Execute Woocommerce actions/hooks
|
356 |
+
*
|
357 |
+
* @param $location
|
358 |
+
* @param $snippet_content
|
359 |
+
*
|
360 |
+
* @since 2.4
|
361 |
+
*/
|
362 |
+
public function woocommerce_actions( $location, $snippet_content = '' ) {
|
363 |
+
$action = function () use ( $location, $snippet_content ) {
|
364 |
+
echo $snippet_content;
|
365 |
+
};
|
366 |
+
|
367 |
+
switch ( $location ) {
|
368 |
+
case 'woo_before_shop_loop':
|
369 |
+
add_filter( 'woocommerce_product_loop_start', function ( $content ) use ( $snippet_content ) {
|
370 |
+
return $snippet_content . $content;
|
371 |
+
} );
|
372 |
+
break;
|
373 |
+
case 'woo_after_shop_loop':
|
374 |
+
add_filter( 'woocommerce_product_loop_end', function ( $content ) use ( $snippet_content ) {
|
375 |
+
return $content . $snippet_content;
|
376 |
+
} );
|
377 |
+
break;
|
378 |
+
case 'woo_before_single_product':
|
379 |
+
add_action( 'woocommerce_before_single_product', $action, 10, 2 );
|
380 |
+
break;
|
381 |
+
case 'woo_after_single_product':
|
382 |
+
add_action( 'woocommerce_after_single_product', $action, 10, 2 );
|
383 |
+
break;
|
384 |
+
case 'woo_before_single_product_summary':
|
385 |
+
add_action( 'woocommerce_before_single_product_summary', $action, 10, 2 );
|
386 |
+
break;
|
387 |
+
case 'woo_after_single_product_summary':
|
388 |
+
add_action( 'woocommerce_after_single_product_summary', $action, 10, 2 );
|
389 |
+
break;
|
390 |
+
case 'woo_single_product_summary_title':
|
391 |
+
add_action( 'woocommerce_single_product_summary', $action, 6, 2 );
|
392 |
+
break;
|
393 |
+
case 'woo_single_product_summary_price':
|
394 |
+
add_action( 'woocommerce_single_product_summary', $action, 15, 2 );
|
395 |
+
break;
|
396 |
+
case 'woo_single_product_summary_excerpt':
|
397 |
+
add_action( 'woocommerce_single_product_summary', $action, 25, 2 );
|
398 |
+
break;
|
399 |
+
default:
|
400 |
+
break;
|
401 |
+
}
|
402 |
+
}
|
403 |
+
|
404 |
+
/**
|
405 |
+
* Execute Woocommerce actions/hooks
|
406 |
+
*
|
407 |
+
* @param $location
|
408 |
+
* @param $snippet_content
|
409 |
+
*
|
410 |
+
* @since 2.4
|
411 |
+
*/
|
412 |
+
public function custom_actions( $location, $snippet_content = '' ) {
|
413 |
+
if ( ! empty( $this->snippets_locations->getLocation( $location ) ) ) {
|
414 |
+
/**
|
415 |
+
* Action for a custom location applied in 'wbcr/woody/add_custom_location' filter
|
416 |
+
*
|
417 |
+
* @param array $location Slug of the location.
|
418 |
+
* @param string $snippet_content Rendered snippet content
|
419 |
+
*
|
420 |
+
* @since 2.4
|
421 |
+
*/
|
422 |
+
do_action( "wbcr/woody/do_custom_location/{$location}", $snippet_content );
|
423 |
+
}
|
424 |
+
}
|
425 |
+
|
426 |
/**
|
427 |
* Execute the snippets once the plugins are loaded
|
428 |
*
|
429 |
* @param string $scope
|
430 |
+
* @param string $location
|
431 |
* @param string $content
|
432 |
* @param array $custom_params
|
433 |
*
|
434 |
* @return string
|
435 |
*/
|
436 |
+
public function executeActiveSnippets( $scope = 'evrywhere', $location = '', $content = '', $custom_params = [] ) {
|
437 |
+
/*
|
438 |
global $wpdb;
|
439 |
|
440 |
if ( $scope == 'evrywhere' ) {
|
446 |
FROM {$wpdb->posts}
|
447 |
INNER JOIN {$wpdb->postmeta} p1 ON ({$wpdb->posts}.ID = p1.post_id)
|
448 |
INNER JOIN {$wpdb->postmeta} p2 ON ({$wpdb->posts}.ID = p2.post_id)
|
449 |
+
INNER JOIN {$wpdb->postmeta} p3 ON ({$wpdb->posts}.ID = p3.post_id)
|
450 |
+
WHERE (( p1.meta_key = '" . WINP_Plugin::app()->getPrefix() . "snippet_scope' AND p1.meta_value = '{$scope}')
|
451 |
+
AND
|
452 |
+
( p3.meta_key = '" . WINP_Plugin::app()->getPrefix() . "snippet_activate' AND p3.meta_value = '1')
|
453 |
+
AND p2.meta_key = '" . WINP_Plugin::app()->getPrefix() . "snippet_priority' )
|
454 |
AND {$wpdb->posts}.post_type = '" . WINP_SNIPPETS_POST_TYPE . "'
|
455 |
AND ({$wpdb->posts}.post_status = 'publish')
|
456 |
ORDER BY CAST(priority AS UNSIGNED) {$sort}" );
|
457 |
+
*/
|
458 |
+
$snippets = $this->snippets[ $scope ] ?? [];
|
459 |
|
460 |
if ( empty( $snippets ) ) {
|
461 |
return $content;
|
462 |
}
|
463 |
|
464 |
foreach ( (array) $snippets as $snippet ) {
|
465 |
+
$id = (int) $snippet->ID;
|
466 |
+
//$is_active = (int) WINP_Helper::getMetaOption( $id, 'snippet_activate', 0 );
|
467 |
// Если это сниппет с автовставкой и выбранное место подходит под активный action
|
468 |
+
$avail_place = ( 'auto' == $scope ? $location == WINP_Helper::getMetaOption( $id, 'snippet_location', '' ) : true );
|
469 |
+
// Если условие отображения сниппета выполняется
|
470 |
$snippet_type = WINP_Helper::getMetaOption( $id, 'snippet_type', WINP_SNIPPET_TYPE_PHP );
|
471 |
$is_condition = $snippet_type != WINP_SNIPPET_TYPE_PHP ? $this->checkCondition( $id ) : true;
|
472 |
|
473 |
+
if ( $avail_place && $is_condition ) {
|
474 |
$post_id = (int) WINP_Plugin::app()->request->post( 'post_ID', 0 );
|
475 |
|
476 |
if ( isset( $_POST['wbcr_inp_snippet_scope'] ) && $post_id === $id && WINP_Plugin::app()->currentUserCan() ) {
|
512 |
}
|
513 |
|
514 |
if ( 'auto' == $scope ) {
|
515 |
+
switch ( $location ) {
|
516 |
+
case 'before_paragraph': // Перед параграфом
|
517 |
$location_number = WINP_Helper::getMetaOption( $id, 'snippet_p_number', 0 );
|
518 |
$content = $this->handleParagraphContent( $content, $snippet_content, $location_number );
|
519 |
break;
|
520 |
+
case 'after_paragraph': // После параграфа
|
521 |
$location_number = WINP_Helper::getMetaOption( $id, 'snippet_p_number', 0 );
|
522 |
$content = $this->handleParagraphContent( $content, $snippet_content, $location_number, 'after' );
|
523 |
break;
|
524 |
+
case 'before_posts': // Перед записью
|
525 |
$location_number = WINP_Helper::getMetaOption( $id, 'snippet_p_number', 0 );
|
526 |
$content = $this->handlePostsContent( $content, $snippet_content, $location_number, 'before', $custom_params );
|
527 |
break;
|
528 |
+
case 'after_posts': // После записи
|
529 |
$location_number = WINP_Helper::getMetaOption( $id, 'snippet_p_number', 0 );
|
530 |
$content = $this->handlePostsContent( $content, $snippet_content, $location_number, 'after', $custom_params );
|
531 |
break;
|
532 |
default:
|
533 |
$content = $snippet_content . $content;
|
534 |
}
|
535 |
+
|
536 |
+
/**
|
537 |
+
* Action for woo actions
|
538 |
+
*
|
539 |
+
* @param array $location Slug of the location.
|
540 |
+
* @param string $snippet_content Rendered snippet content
|
541 |
+
*
|
542 |
+
* @since 2.4
|
543 |
+
*/
|
544 |
+
do_action( "wbcr/woody/do_woocommerce_actions", $location, $snippet_content );
|
545 |
+
|
546 |
+
//$this->woocommerce_actions( $location, $snippet_content );
|
547 |
+
$this->custom_actions( $location, $snippet_content );
|
548 |
+
|
549 |
} else {
|
550 |
$content = $snippet_content . $content;
|
551 |
}
|
1064 |
$result = true;
|
1065 |
}
|
1066 |
}
|
1067 |
+
break;
|
1068 |
|
1069 |
default:
|
1070 |
+
$result = false;
|
1071 |
+
}
|
1072 |
+
|
1073 |
+
if ( WINP_Helper::is_woo_active() ) {
|
1074 |
+
switch ( $value ) {
|
1075 |
+
case 'woo_product':
|
1076 |
+
$result = is_product();
|
1077 |
+
break;
|
1078 |
+
case 'woo_arch':
|
1079 |
+
$result = is_shop();
|
1080 |
+
break;
|
1081 |
+
case 'woo_cart':
|
1082 |
+
$result = is_cart();
|
1083 |
+
break;
|
1084 |
+
case 'woo_checkout':
|
1085 |
+
$result = is_checkout();
|
1086 |
+
break;
|
1087 |
+
case 'woo_checkout_pay':
|
1088 |
+
$result = is_checkout_pay_page();
|
1089 |
+
break;
|
1090 |
+
case 'woo_cat':
|
1091 |
+
$result = is_product_category();
|
1092 |
+
break;
|
1093 |
+
case 'woo_tag':
|
1094 |
+
$result = is_product_tag();
|
1095 |
+
break;
|
1096 |
+
}
|
1097 |
}
|
1098 |
|
1099 |
return $this->checkByOperator( $operator, $result, true );
|
includes/class.helpers.php
CHANGED
@@ -391,14 +391,15 @@ class WINP_Helper {
|
|
391 |
|
392 |
$posts = [
|
393 |
[
|
394 |
-
'post_title' => __( 'Simple
|
395 |
-
'post_name' => 'simple-
|
396 |
-
'post_content' => self::
|
397 |
'meta' => [
|
398 |
-
'type' =>
|
399 |
-
'description' => __( '
|
400 |
-
'
|
401 |
-
'
|
|
|
402 |
]
|
403 |
],
|
404 |
[
|
@@ -414,17 +415,28 @@ class WINP_Helper {
|
|
414 |
]
|
415 |
],
|
416 |
[
|
417 |
-
'post_title' => __( 'Simple
|
418 |
-
'post_name' => 'simple-
|
419 |
-
'post_content' => self::
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
420 |
'meta' => [
|
421 |
'type' => WINP_SNIPPET_TYPE_UNIVERSAL,
|
422 |
-
'description' => __( '
|
423 |
-
'filters' => 'a:1:{i:0;O:8:"stdClass":2:{s:10:"conditions";a:1:{i:0;O:8:"stdClass":2:{s:4:"type";s:5:"scope";s:10:"conditions";a:1:{i:0;O:8:"stdClass":4:{s:5:"param";s:18:"location-some-page";s:8:"operator";s:6:"equals";s:4:"type";s:6:"select";s:5:"value";s:
|
424 |
-
'tags' => [ '
|
425 |
-
'priority' =>
|
426 |
]
|
427 |
-
]
|
428 |
];
|
429 |
|
430 |
foreach ( $posts as $post ) {
|
@@ -543,6 +555,32 @@ class WINP_Helper {
|
|
543 |
return $output;
|
544 |
}
|
545 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
546 |
/**
|
547 |
* Wrapper for register shortcode
|
548 |
*
|
@@ -559,18 +597,18 @@ class WINP_Helper {
|
|
559 |
* @return string
|
560 |
*/
|
561 |
public static function get_factory_class() {
|
562 |
-
return "factory-bootstrap-
|
563 |
}
|
564 |
|
565 |
/**
|
566 |
-
* Wrapper for
|
567 |
*
|
568 |
* @param $plugin
|
569 |
*
|
570 |
-
* @return
|
571 |
*/
|
572 |
public static function get_options_value_provider( $plugin ) {
|
573 |
-
return new
|
574 |
}
|
575 |
|
576 |
/**
|
@@ -579,10 +617,10 @@ class WINP_Helper {
|
|
579 |
* @param $options
|
580 |
* @param $plugin
|
581 |
*
|
582 |
-
* @return
|
583 |
*/
|
584 |
public static function get_factory_form( $options, $plugin ) {
|
585 |
-
return new
|
586 |
}
|
587 |
|
588 |
/**
|
@@ -686,65 +724,31 @@ class WINP_Helper {
|
|
686 |
}
|
687 |
|
688 |
/**
|
689 |
-
* @since 2.4.0
|
690 |
-
*
|
691 |
* @param $post WP_Post
|
692 |
*
|
693 |
* @return string
|
|
|
|
|
694 |
*/
|
695 |
public static function get_where_use_text( $post ) {
|
|
|
696 |
$snippet_scope = self::getMetaOption( $post->ID, 'snippet_scope' );
|
697 |
$result = "";
|
698 |
|
699 |
if ( $snippet_scope == 'evrywhere' ) {
|
700 |
$result = __( 'Run everywhere', 'insert-php' );
|
701 |
} else if ( $snippet_scope == 'auto' ) {
|
702 |
-
$items =
|
703 |
-
WINP_SNIPPET_AUTO_HEADER => __( 'Header', 'insert-php' ),
|
704 |
-
WINP_SNIPPET_AUTO_FOOTER => __( 'Footer', 'insert-php' ),
|
705 |
-
WINP_SNIPPET_AUTO_BEFORE_POST => __( 'Insert Before Post', 'insert-php' ),
|
706 |
-
WINP_SNIPPET_AUTO_BEFORE_CONTENT => __( 'Insert Before Content', 'insert-php' ),
|
707 |
-
WINP_SNIPPET_AUTO_BEFORE_PARAGRAPH => __( 'Insert Before Paragraph', 'insert-php' ),
|
708 |
-
WINP_SNIPPET_AUTO_AFTER_PARAGRAPH => __( 'Insert After Paragraph', 'insert-php' ),
|
709 |
-
WINP_SNIPPET_AUTO_AFTER_CONTENT => __( 'Insert After Content', 'insert-php' ),
|
710 |
-
WINP_SNIPPET_AUTO_AFTER_POST => __( 'Insert After Post', 'insert-php' ),
|
711 |
-
WINP_SNIPPET_AUTO_BEFORE_EXCERPT => __( 'Insert Before Excerpt', 'insert-php' ),
|
712 |
-
WINP_SNIPPET_AUTO_AFTER_EXCERPT => __( 'Insert After Excerpt', 'insert-php' ),
|
713 |
-
WINP_SNIPPET_AUTO_BETWEEN_POSTS => __( 'Between Posts', 'insert-php' ),
|
714 |
-
WINP_SNIPPET_AUTO_BEFORE_POSTS => __( 'Before post', 'insert-php' ),
|
715 |
-
WINP_SNIPPET_AUTO_AFTER_POSTS => __( 'After post', 'insert-php' ),
|
716 |
-
];
|
717 |
|
718 |
$snippet_location = self::getMetaOption( $post->ID, 'snippet_location', '' );
|
719 |
|
720 |
-
|
721 |
-
|
722 |
-
|
723 |
-
|
724 |
-
break;
|
725 |
-
|
726 |
-
case WINP_SNIPPET_AUTO_BEFORE_POST:
|
727 |
-
case WINP_SNIPPET_AUTO_BEFORE_CONTENT:
|
728 |
-
case WINP_SNIPPET_AUTO_BEFORE_PARAGRAPH:
|
729 |
-
case WINP_SNIPPET_AUTO_AFTER_PARAGRAPH:
|
730 |
-
case WINP_SNIPPET_AUTO_AFTER_CONTENT:
|
731 |
-
case WINP_SNIPPET_AUTO_AFTER_POST:
|
732 |
-
$text = __( 'Posts, Pages, Custom post types', 'insert-php' ) . '[' . $items[ $snippet_location ] . ']';
|
733 |
-
break;
|
734 |
-
|
735 |
-
case WINP_SNIPPET_AUTO_BEFORE_EXCERPT:
|
736 |
-
case WINP_SNIPPET_AUTO_AFTER_EXCERPT:
|
737 |
-
case WINP_SNIPPET_AUTO_BETWEEN_POSTS:
|
738 |
-
case WINP_SNIPPET_AUTO_BEFORE_POSTS:
|
739 |
-
case WINP_SNIPPET_AUTO_AFTER_POSTS:
|
740 |
-
$text = __( 'Categories, Archives, Tags, Taxonomies', 'insert-php' ) . '[' . $items[ $snippet_location ] . ']';
|
741 |
-
break;
|
742 |
-
|
743 |
-
default:
|
744 |
-
$text = __( 'Everywhere', 'insert-php' );
|
745 |
}
|
746 |
|
747 |
-
$result =
|
748 |
} else {
|
749 |
$result = self::get_shortcode_text( $post );
|
750 |
}
|
@@ -753,8 +757,6 @@ class WINP_Helper {
|
|
753 |
}
|
754 |
|
755 |
/**
|
756 |
-
* @since 2.4.0
|
757 |
-
*
|
758 |
* @param $post WP_Post
|
759 |
*
|
760 |
* @return string
|
@@ -767,10 +769,8 @@ class WINP_Helper {
|
|
767 |
}
|
768 |
|
769 |
/**
|
770 |
-
* @since 2.4.0
|
771 |
-
*
|
772 |
* @param $post WP_Post
|
773 |
-
|
774 |
* @return int
|
775 |
*/
|
776 |
public static function get_next_snippet_priority() {
|
@@ -789,4 +789,14 @@ class WINP_Helper {
|
|
789 |
|
790 |
return $max_priority + 10;
|
791 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
792 |
}
|
391 |
|
392 |
$posts = [
|
393 |
[
|
394 |
+
'post_title' => __( 'Simple universal snippet: Google analytics tracking', 'insert-php' ),
|
395 |
+
'post_name' => 'simple-universal-snippet',
|
396 |
+
'post_content' => self::get_simple_universal_snippet(),
|
397 |
'meta' => [
|
398 |
+
'type' => WINP_SNIPPET_TYPE_UNIVERSAL,
|
399 |
+
'description' => __( 'Google analytics tracking code will be added to all pages before the </head> tag. Please remember to set the Tracking ID before activating the snippet.' ),
|
400 |
+
'filters' => 'a:1:{i:0;O:8:"stdClass":2:{s:10:"conditions";a:1:{i:0;O:8:"stdClass":2:{s:4:"type";s:5:"scope";s:10:"conditions";a:1:{i:0;O:8:"stdClass":4:{s:5:"param";s:18:"location-some-page";s:8:"operator";s:6:"equals";s:4:"type";s:6:"select";s:5:"value";s:8:"base_web";}}}}s:4:"type";s:6:"showif";}}',
|
401 |
+
'tags' => [ 'universal', 'tracking' ],
|
402 |
+
'priority' => 10
|
403 |
]
|
404 |
],
|
405 |
[
|
415 |
]
|
416 |
],
|
417 |
[
|
418 |
+
'post_title' => __( 'Simple php snippet: Disable emojis', 'insert-php' ),
|
419 |
+
'post_name' => 'simple-php-snippet',
|
420 |
+
'post_content' => self::get_simple_php_snippet(),
|
421 |
+
'meta' => [
|
422 |
+
'type' => WINP_SNIPPET_TYPE_PHP,
|
423 |
+
'description' => __( 'Emojis are little icons used to express ideas or emotions. While these icons are fun and all, are they really necessary for your WordPress site? This snippet to disable emojis on your site to make it faster.', 'insert-php' ),
|
424 |
+
'tags' => [ 'php', 'disable features' ],
|
425 |
+
'priority' => 30
|
426 |
+
]
|
427 |
+
],
|
428 |
+
[
|
429 |
+
'post_title' => __( 'Add Facebook Pixel to the Order success page', 'insert-php' ),
|
430 |
+
'post_name' => 'simple-uni-snippet-for-woocommerce',
|
431 |
+
'post_content' => self::get_woo_snippet(),
|
432 |
'meta' => [
|
433 |
'type' => WINP_SNIPPET_TYPE_UNIVERSAL,
|
434 |
+
'description' => __( 'Add Facebook Pixel to the Order success page.', 'insert-php' ),
|
435 |
+
'filters' => 'a:1:{i:0;O:8:"stdClass":2:{s:10:"conditions";a:1:{i:0;O:8:"stdClass":2:{s:4:"type";s:5:"scope";s:10:"conditions";a:1:{i:0;O:8:"stdClass":4:{s:5:"param";s:18:"location-some-page";s:8:"operator";s:6:"equals";s:4:"type";s:6:"select";s:5:"value";s:16:"woo_checkout_pay";}}}}s:4:"type";s:6:"showif";}}',
|
436 |
+
'tags' => [ 'woocommerce' ],
|
437 |
+
'priority' => 40
|
438 |
]
|
439 |
+
],
|
440 |
];
|
441 |
|
442 |
foreach ( $posts as $post ) {
|
555 |
return $output;
|
556 |
}
|
557 |
|
558 |
+
/**
|
559 |
+
* Returns an example of the content of a woocommerce snippet.
|
560 |
+
*
|
561 |
+
* @return string
|
562 |
+
*/
|
563 |
+
protected static function get_woo_snippet() {
|
564 |
+
$output = <<<SCRIPT
|
565 |
+
<script type="text/javascript">
|
566 |
+
var pixel_id = ''; // Add you FB pixel ID!
|
567 |
+
!function (f, b, e, v, n, t, s) {
|
568 |
+
if (f.fbq) return; n = f.fbq = function () {
|
569 |
+
n.callMethod ?
|
570 |
+
n.callMethod.apply(n, arguments) : n.queue.push(arguments)
|
571 |
+
}; if (!f._fbq) f._fbq = n;
|
572 |
+
n.push = n; n.loaded = !0; n.version = '2.0'; n.queue = []; t = b.createElement(e); t.async = !0;
|
573 |
+
t.src = v; s = b.getElementsByTagName(e)[0]; s.parentNode.insertBefore(t, s)
|
574 |
+
}(window,document, 'script', 'https://connect.facebook.net/en_US/fbevents.js');
|
575 |
+
|
576 |
+
fbq('init', pixel_id);
|
577 |
+
fbq('track', 'PageView');
|
578 |
+
</script>
|
579 |
+
SCRIPT;
|
580 |
+
|
581 |
+
return $output;
|
582 |
+
}
|
583 |
+
|
584 |
/**
|
585 |
* Wrapper for register shortcode
|
586 |
*
|
597 |
* @return string
|
598 |
*/
|
599 |
public static function get_factory_class() {
|
600 |
+
return "factory-bootstrap-450 factory-fontawesome-000";
|
601 |
}
|
602 |
|
603 |
/**
|
604 |
+
* Wrapper for Wbcr_FactoryForms447_OptionsValueProvider object
|
605 |
*
|
606 |
* @param $plugin
|
607 |
*
|
608 |
+
* @return Wbcr_FactoryForms447_OptionsValueProvider
|
609 |
*/
|
610 |
public static function get_options_value_provider( $plugin ) {
|
611 |
+
return new Wbcr_FactoryForms447_OptionsValueProvider( $plugin );
|
612 |
}
|
613 |
|
614 |
/**
|
617 |
* @param $options
|
618 |
* @param $plugin
|
619 |
*
|
620 |
+
* @return Wbcr_FactoryForms447_Form
|
621 |
*/
|
622 |
public static function get_factory_form( $options, $plugin ) {
|
623 |
+
return new Wbcr_FactoryForms447_Form( $options, $plugin );
|
624 |
}
|
625 |
|
626 |
/**
|
724 |
}
|
725 |
|
726 |
/**
|
|
|
|
|
727 |
* @param $post WP_Post
|
728 |
*
|
729 |
* @return string
|
730 |
+
* @since 2.4.0
|
731 |
+
*
|
732 |
*/
|
733 |
public static function get_where_use_text( $post ) {
|
734 |
+
global $winp_snippets_locations;
|
735 |
$snippet_scope = self::getMetaOption( $post->ID, 'snippet_scope' );
|
736 |
$result = "";
|
737 |
|
738 |
if ( $snippet_scope == 'evrywhere' ) {
|
739 |
$result = __( 'Run everywhere', 'insert-php' );
|
740 |
} else if ( $snippet_scope == 'auto' ) {
|
741 |
+
$items = $winp_snippets_locations->getList();
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
742 |
|
743 |
$snippet_location = self::getMetaOption( $post->ID, 'snippet_location', '' );
|
744 |
|
745 |
+
if ( ! empty( $snippet_location ) ) {
|
746 |
+
$text = $items[ $snippet_location ][0] ?? '';
|
747 |
+
} else {
|
748 |
+
$text = __( 'Everywhere', 'insert-php' );
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
749 |
}
|
750 |
|
751 |
+
$result = esc_html( $text );
|
752 |
} else {
|
753 |
$result = self::get_shortcode_text( $post );
|
754 |
}
|
757 |
}
|
758 |
|
759 |
/**
|
|
|
|
|
760 |
* @param $post WP_Post
|
761 |
*
|
762 |
* @return string
|
769 |
}
|
770 |
|
771 |
/**
|
|
|
|
|
772 |
* @param $post WP_Post
|
773 |
+
*
|
774 |
* @return int
|
775 |
*/
|
776 |
public static function get_next_snippet_priority() {
|
789 |
|
790 |
return $max_priority + 10;
|
791 |
}
|
792 |
+
|
793 |
+
/**
|
794 |
+
* @return bool
|
795 |
+
*
|
796 |
+
* @since 2.4.0
|
797 |
+
*/
|
798 |
+
public static function is_woo_active() {
|
799 |
+
return is_plugin_active( 'woocommerce/woocommerce.php' );
|
800 |
+
}
|
801 |
+
|
802 |
}
|
includes/class.insertion.locations.php
ADDED
@@ -0,0 +1,327 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Insertion locations
|
4 |
+
*
|
5 |
+
* @author Artem Prihodko <webtemyk@yandex.ru>
|
6 |
+
* @copyright (c) 2021, Creative Motion
|
7 |
+
* @version 1.0
|
8 |
+
* @since 2.4
|
9 |
+
*/
|
10 |
+
|
11 |
+
// Exit if accessed directly
|
12 |
+
if ( ! defined( 'ABSPATH' ) ) {
|
13 |
+
exit;
|
14 |
+
}
|
15 |
+
|
16 |
+
class WINP_Insertion_Locations {
|
17 |
+
|
18 |
+
public $locations = [];
|
19 |
+
|
20 |
+
/**
|
21 |
+
* Constructor.
|
22 |
+
*/
|
23 |
+
public function __construct() {
|
24 |
+
$locations = [
|
25 |
+
'everywhere' => [
|
26 |
+
'header' => [
|
27 |
+
__( 'Header', 'insert-php' ),
|
28 |
+
__( 'Snippet will be placed in the source code before </head>.', 'insert-php' ),
|
29 |
+
[
|
30 |
+
'hide' => '.factory-control-snippet_p_number',
|
31 |
+
'show' => '',
|
32 |
+
]
|
33 |
+
],
|
34 |
+
'footer' => [
|
35 |
+
__( 'Footer', 'insert-php' ),
|
36 |
+
__( 'Snippet will be placed in the source code before </body>.', 'insert-php' ),
|
37 |
+
[
|
38 |
+
'hide' => '.factory-control-snippet_p_number',
|
39 |
+
'show' => '',
|
40 |
+
]
|
41 |
+
],
|
42 |
+
],
|
43 |
+
'posts' => [
|
44 |
+
'before_post' => [
|
45 |
+
__( 'Insert Before Post', 'insert-php' ),
|
46 |
+
__( 'Snippet will be placed before the title of the post/page.', 'insert-php' ),
|
47 |
+
[
|
48 |
+
'hide' => '.factory-control-snippet_p_number',
|
49 |
+
'show' => '',
|
50 |
+
]
|
51 |
+
],
|
52 |
+
'before_content' => [
|
53 |
+
__( 'Insert Before Content', 'insert-php' ),
|
54 |
+
__( 'Snippet will be placed before the content of the post/page.', 'insert-php' ),
|
55 |
+
[
|
56 |
+
'hide' => '.factory-control-snippet_p_number',
|
57 |
+
'show' => '',
|
58 |
+
]
|
59 |
+
],
|
60 |
+
'before_paragraph' => [
|
61 |
+
__( 'Insert Before Paragraph', 'insert-php' ),
|
62 |
+
__( 'Snippet will be placed before the paragraph, which number you can specify in the Location number field.', 'insert-php' ),
|
63 |
+
[
|
64 |
+
'hide' => '',
|
65 |
+
'show' => '.factory-control-snippet_p_number',
|
66 |
+
]
|
67 |
+
],
|
68 |
+
'after_paragraph' => [
|
69 |
+
__( 'Insert After Paragraph', 'insert-php' ),
|
70 |
+
__( 'Snippet will be placed after the paragraph, which number you can specify in the Location number field.', 'insert-php' ),
|
71 |
+
[
|
72 |
+
'hide' => '',
|
73 |
+
'show' => '.factory-control-snippet_p_number',
|
74 |
+
]
|
75 |
+
],
|
76 |
+
'after_content' => [
|
77 |
+
__( 'Insert After Content', 'insert-php' ),
|
78 |
+
__( 'Snippet will be placed after the content of the post/page.', 'insert-php' ),
|
79 |
+
[
|
80 |
+
'hide' => '.factory-control-snippet_p_number',
|
81 |
+
'show' => '',
|
82 |
+
]
|
83 |
+
],
|
84 |
+
'after_post' => [
|
85 |
+
__( 'Insert After Post', 'insert-php' ),
|
86 |
+
__( 'Snippet will be placed in the very end of the post/page.', 'insert-php' ),
|
87 |
+
[
|
88 |
+
'hide' => '.factory-control-snippet_p_number',
|
89 |
+
'show' => '',
|
90 |
+
]
|
91 |
+
],
|
92 |
+
],
|
93 |
+
'pages' => [
|
94 |
+
'before_excerpt' => [
|
95 |
+
__( 'Insert Before Excerpt', 'insert-php' ),
|
96 |
+
__( 'Snippet will be placed before the excerpt of the post/page.', 'insert-php' ),
|
97 |
+
[
|
98 |
+
'hide' => '.factory-control-snippet_p_number',
|
99 |
+
'show' => '',
|
100 |
+
]
|
101 |
+
],
|
102 |
+
'after_excerpt' => [
|
103 |
+
__( 'Insert After Excerpt', 'insert-php' ),
|
104 |
+
__( 'Snippet will be placed after the excerpt of the post/page.', 'insert-php' ),
|
105 |
+
[
|
106 |
+
'hide' => '.factory-control-snippet_p_number',
|
107 |
+
'show' => '',
|
108 |
+
]
|
109 |
+
],
|
110 |
+
'between_posts' => [
|
111 |
+
__( 'Between Posts', 'insert-php' ),
|
112 |
+
__( 'Snippet will be placed between each post.', 'insert-php' ),
|
113 |
+
[
|
114 |
+
'hide' => '.factory-control-snippet_p_number',
|
115 |
+
'show' => '',
|
116 |
+
]
|
117 |
+
],
|
118 |
+
'before_posts' => [
|
119 |
+
__( 'Before post', 'insert-php' ),
|
120 |
+
__( 'Snippet will be placed before the post, which number you can specify in the Location number field.', 'insert-php' ),
|
121 |
+
[
|
122 |
+
'hide' => '',
|
123 |
+
'show' => '.factory-control-snippet_p_number',
|
124 |
+
]
|
125 |
+
],
|
126 |
+
'after_posts' => [
|
127 |
+
__( 'After post', 'insert-php' ),
|
128 |
+
__( 'Snippet will be placed after the post, which number you can specify in the Location number field.', 'insert-php' ),
|
129 |
+
[
|
130 |
+
'hide' => '',
|
131 |
+
'show' => '.factory-control-snippet_p_number',
|
132 |
+
]
|
133 |
+
],
|
134 |
+
],
|
135 |
+
'woocommerce' => [
|
136 |
+
'woo_before_shop_loop' => [
|
137 |
+
__( 'Before the list of products', 'insert-php' ),
|
138 |
+
__( 'Snippet will be placed before the list of products.', 'insert-php' ),
|
139 |
+
[
|
140 |
+
'hide' => '.factory-control-snippet_p_number',
|
141 |
+
'show' => '',
|
142 |
+
]
|
143 |
+
],
|
144 |
+
'woo_after_shop_loop' => [
|
145 |
+
__( 'After the list of products', 'insert-php' ),
|
146 |
+
__( 'Snippet will be placed after the list of products.', 'insert-php' ),
|
147 |
+
[
|
148 |
+
'hide' => '.factory-control-snippet_p_number',
|
149 |
+
'show' => '',
|
150 |
+
]
|
151 |
+
],
|
152 |
+
'woo_before_single_product' => [
|
153 |
+
__( 'Before a single product', 'insert-php' ),
|
154 |
+
__( 'Snippet will be placed before a single product', 'insert-php' ),
|
155 |
+
[
|
156 |
+
'hide' => '.factory-control-snippet_p_number',
|
157 |
+
'show' => '',
|
158 |
+
]
|
159 |
+
],
|
160 |
+
'woo_after_single_product' => [
|
161 |
+
__( 'After a single product', 'insert-php' ),
|
162 |
+
__( 'Snippet will be placed after a single product', 'insert-php' ),
|
163 |
+
[
|
164 |
+
'hide' => '.factory-control-snippet_p_number',
|
165 |
+
'show' => '',
|
166 |
+
]
|
167 |
+
],
|
168 |
+
'woo_before_single_product_summary' => [
|
169 |
+
__( 'Before a single product summary', 'insert-php' ),
|
170 |
+
__( 'Snippet will be placed before a single product summary', 'insert-php' ),
|
171 |
+
[
|
172 |
+
'hide' => '.factory-control-snippet_p_number',
|
173 |
+
'show' => '',
|
174 |
+
]
|
175 |
+
],
|
176 |
+
'woo_after_single_product_summary' => [
|
177 |
+
__( 'After a single product summary', 'insert-php' ),
|
178 |
+
__( 'Snippet will be placed after a single product summary', 'insert-php' ),
|
179 |
+
[
|
180 |
+
'hide' => '.factory-control-snippet_p_number',
|
181 |
+
'show' => '',
|
182 |
+
]
|
183 |
+
],
|
184 |
+
'woo_single_product_summary_title' => [
|
185 |
+
__( 'After a product title', 'insert-php' ),
|
186 |
+
__( 'Snippet will be placed after a product title', 'insert-php' ),
|
187 |
+
[
|
188 |
+
'hide' => '.factory-control-snippet_p_number',
|
189 |
+
'show' => '',
|
190 |
+
]
|
191 |
+
],
|
192 |
+
'woo_single_product_summary_price' => [
|
193 |
+
__( 'After a product price', 'insert-php' ),
|
194 |
+
__( 'Snippet will be placed after a product price', 'insert-php' ),
|
195 |
+
[
|
196 |
+
'hide' => '.factory-control-snippet_p_number',
|
197 |
+
'show' => '',
|
198 |
+
]
|
199 |
+
],
|
200 |
+
'woo_single_product_summary_excerpt' => [
|
201 |
+
__( 'After a product excerpt', 'insert-php' ),
|
202 |
+
__( 'Snippet will be placed after a product excerpt', 'insert-php' ),
|
203 |
+
[
|
204 |
+
'hide' => '.factory-control-snippet_p_number',
|
205 |
+
'show' => '',
|
206 |
+
]
|
207 |
+
],
|
208 |
+
],
|
209 |
+
];
|
210 |
+
|
211 |
+
/**
|
212 |
+
* Filters the insertion locations.
|
213 |
+
*
|
214 |
+
* [
|
215 |
+
* 'before_2' => [
|
216 |
+
* __( 'Before 2', 'insert-php' ),
|
217 |
+
* __( 'Before 2 desc.', 'insert-php' ),
|
218 |
+
* [
|
219 |
+
* 'hide' => '.factory-control-snippet_p_number',
|
220 |
+
* 'show' => '',
|
221 |
+
* ]
|
222 |
+
* ]
|
223 |
+
* ]
|
224 |
+
*
|
225 |
+
* @param array The array of custom location data.
|
226 |
+
*
|
227 |
+
* @since 2.4
|
228 |
+
*/
|
229 |
+
$custom_data = apply_filters( 'wbcr/woody/add_custom_location', [] );
|
230 |
+
|
231 |
+
if ( ! empty( $custom_data ) && is_array( $custom_data ) ) {
|
232 |
+
$locations['custom'] = $custom_data;
|
233 |
+
}
|
234 |
+
|
235 |
+
$this->locations = $locations;
|
236 |
+
}
|
237 |
+
|
238 |
+
/**
|
239 |
+
* @param $name
|
240 |
+
*
|
241 |
+
* @return array|array[]
|
242 |
+
*/
|
243 |
+
public function __get( $name ) {
|
244 |
+
return $this->getLocation( $name );
|
245 |
+
}
|
246 |
+
|
247 |
+
/**
|
248 |
+
* @param string $insertion
|
249 |
+
*
|
250 |
+
* @return array
|
251 |
+
*/
|
252 |
+
public function getInsertion( $insertion ) {
|
253 |
+
return $this->locations[ $insertion ] ?? [];
|
254 |
+
}
|
255 |
+
|
256 |
+
/**
|
257 |
+
* @param string $location
|
258 |
+
* @param string $insertion
|
259 |
+
*
|
260 |
+
* @return array
|
261 |
+
*/
|
262 |
+
public function getLocation( $location, $insertion = '' ) {
|
263 |
+
if ( ! empty( $insertion ) ) {
|
264 |
+
return $this->locations[ $insertion ][ $location ] ?? [];
|
265 |
+
} else {
|
266 |
+
foreach ( $this->locations as $k => $loc ) {
|
267 |
+
foreach ( $loc as $key => $item ) {
|
268 |
+
if ( $key == $location ) {
|
269 |
+
return [ $key => $item ];
|
270 |
+
}
|
271 |
+
}
|
272 |
+
}
|
273 |
+
}
|
274 |
+
|
275 |
+
return [];
|
276 |
+
}
|
277 |
+
|
278 |
+
/**
|
279 |
+
*
|
280 |
+
* @return array
|
281 |
+
*/
|
282 |
+
public function getList() {
|
283 |
+
$list = [];
|
284 |
+
foreach ( $this->locations as $k => $loc ) {
|
285 |
+
foreach ( $loc as $key => $item ) {
|
286 |
+
$list[ $key ] = $item;
|
287 |
+
}
|
288 |
+
}
|
289 |
+
|
290 |
+
return $list;
|
291 |
+
}
|
292 |
+
|
293 |
+
/**
|
294 |
+
* @param string $insertion
|
295 |
+
*
|
296 |
+
* @return array
|
297 |
+
*/
|
298 |
+
public function getInsertionForOptions( $insertion ) {
|
299 |
+
$return = [];
|
300 |
+
foreach ( $this->locations[ $insertion ] ?? [] as $key => $locations ) {
|
301 |
+
$return[] = [ $key, $locations[0] ?? '', $locations[1] ?? '' ];
|
302 |
+
}
|
303 |
+
|
304 |
+
return $return;
|
305 |
+
}
|
306 |
+
|
307 |
+
/**
|
308 |
+
* @return array
|
309 |
+
*/
|
310 |
+
public function getEventsForOptions() {
|
311 |
+
$return = [];
|
312 |
+
$list = $this->getList();
|
313 |
+
foreach ( $list as $key => $locations ) {
|
314 |
+
if ( isset( $locations[2] ) && is_array( $locations[2] ) ) {
|
315 |
+
$return[ $key ] = $locations[2];
|
316 |
+
} else {
|
317 |
+
$return[ $key ] = [
|
318 |
+
'hide' => '.factory-control-snippet_p_number',
|
319 |
+
'show' => '',
|
320 |
+
];
|
321 |
+
}
|
322 |
+
}
|
323 |
+
|
324 |
+
return $return;
|
325 |
+
}
|
326 |
+
|
327 |
+
}
|
includes/class.plugin.php
CHANGED
@@ -14,10 +14,10 @@ if ( ! defined( 'ABSPATH' ) ) {
|
|
14 |
|
15 |
if ( ! class_exists( 'WINP_Plugin' ) ) {
|
16 |
|
17 |
-
class WINP_Plugin extends
|
18 |
|
19 |
/**
|
20 |
-
* @var
|
21 |
*/
|
22 |
private static $app;
|
23 |
|
@@ -243,6 +243,32 @@ if ( ! class_exists( 'WINP_Plugin' ) ) {
|
|
243 |
# Required for compatibility with the premium plugin.
|
244 |
# We set the priority to 30 to wait for the premium plugin to load.
|
245 |
add_action( 'plugins_loaded', [ $this, 'register_depence_pages' ], 30 );
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
246 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
247 |
}
|
248 |
}
|
14 |
|
15 |
if ( ! class_exists( 'WINP_Plugin' ) ) {
|
16 |
|
17 |
+
class WINP_Plugin extends Wbcr_Factory450_Plugin {
|
18 |
|
19 |
/**
|
20 |
+
* @var Wbcr_Factory450_Plugin
|
21 |
*/
|
22 |
private static $app;
|
23 |
|
243 |
# Required for compatibility with the premium plugin.
|
244 |
# We set the priority to 30 to wait for the premium plugin to load.
|
245 |
add_action( 'plugins_loaded', [ $this, 'register_depence_pages' ], 30 );
|
246 |
+
|
247 |
+
add_action( 'wbcr_factory_forms_447_register_controls', function () {
|
248 |
+
$colorControls = array(
|
249 |
+
[
|
250 |
+
'type' => 'winp-dropdown',
|
251 |
+
'class' => 'WINP_FactoryForms_Dropdown',
|
252 |
+
'include' => WINP_PLUGIN_DIR . '/includes/controls/class.dropdown.php'
|
253 |
+
],
|
254 |
+
);
|
255 |
+
$this->forms->registerControls( $colorControls );
|
256 |
+
} );
|
257 |
}
|
258 |
+
|
259 |
+
/**
|
260 |
+
* Метод проверяет активацию премиум плагина и наличие действующего лицензионного ключа
|
261 |
+
*
|
262 |
+
* @return bool
|
263 |
+
*/
|
264 |
+
public function is_premium() {
|
265 |
+
if ( $this->premium->is_active() && $this->premium->is_activate() //&& $this->premium->is_install_package()
|
266 |
+
) {
|
267 |
+
return true;
|
268 |
+
} else {
|
269 |
+
return false;
|
270 |
+
}
|
271 |
+
}
|
272 |
+
|
273 |
}
|
274 |
}
|
includes/controls/class.dropdown.php
ADDED
@@ -0,0 +1,87 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
|
3 |
+
/**
|
4 |
+
* Woody Dropdown List Control
|
5 |
+
*
|
6 |
+
* Main options:
|
7 |
+
* name => a name of the control
|
8 |
+
* value => a value to show in the control
|
9 |
+
* default => a default value of the control if the "value" option is not specified
|
10 |
+
* items => a callback to return items or an array of items to select
|
11 |
+
*
|
12 |
+
* @author Artem Prihodko <webtemyk@ya.ru>
|
13 |
+
* @copyright (c) 2021, CreativeMotion
|
14 |
+
*
|
15 |
+
* @package factory-forms
|
16 |
+
* @since 1.0.0
|
17 |
+
*/
|
18 |
+
|
19 |
+
// Exit if accessed directly
|
20 |
+
if ( ! defined( 'ABSPATH' ) ) {
|
21 |
+
exit;
|
22 |
+
}
|
23 |
+
|
24 |
+
if ( ! class_exists( 'WINP_FactoryForms_Dropdown' ) ) {
|
25 |
+
|
26 |
+
class WINP_FactoryForms_Dropdown extends Wbcr_FactoryForms447_DropdownControl {
|
27 |
+
|
28 |
+
public $type = 'winp-dropdown';
|
29 |
+
|
30 |
+
/**
|
31 |
+
* @param array $items
|
32 |
+
* @param null $selected
|
33 |
+
*/
|
34 |
+
protected function printItems( $items, $selected = null ) {
|
35 |
+
foreach ( (array) $items as $item ) {
|
36 |
+
$subitems = array();
|
37 |
+
$data = null;
|
38 |
+
|
39 |
+
// this item is an associative array
|
40 |
+
if ( isset( $item['type'] ) || isset( $item['value'] ) ) {
|
41 |
+
$type = isset( $item['type'] ) ? $item['type'] : 'option';
|
42 |
+
$disabled = isset( $item['disabled'] ) && $item['disabled'] == 'disabled' ? 'disabled' : '';
|
43 |
+
|
44 |
+
if ( 'group' === $type ) {
|
45 |
+
$subitems = isset( $item['items'] ) ? $item['items'] : array();
|
46 |
+
}
|
47 |
+
|
48 |
+
$value = isset( $item['value'] ) ? $item['value'] : '';
|
49 |
+
$title = isset( $item['title'] ) ? $item['title'] : __( '- empty -', 'wbcr_factory_forms_447' );
|
50 |
+
|
51 |
+
$data = isset( $item['data'] ) ? $item['data'] : null;
|
52 |
+
} else {
|
53 |
+
$type = ( count( $item ) == 3 && $item[0] === 'group' ) ? 'group' : 'option';
|
54 |
+
if ( 'group' === $type ) {
|
55 |
+
$subitems = $item[2];
|
56 |
+
}
|
57 |
+
|
58 |
+
$title = $item[1];
|
59 |
+
$value = esc_attr( $item[0] );
|
60 |
+
}
|
61 |
+
|
62 |
+
if ( 'group' === $type ) {
|
63 |
+
?>
|
64 |
+
<optgroup label="<?php echo $title ?>" <?php echo $disabled; ?>>
|
65 |
+
<?php $this->printItems( $subitems, $selected ); ?>
|
66 |
+
</optgroup>
|
67 |
+
<?php
|
68 |
+
} else {
|
69 |
+
$attr = ( $selected == $value ) ? 'selected="selected"' : '';
|
70 |
+
$strData = '';
|
71 |
+
|
72 |
+
if ( ! empty( $data ) ) {
|
73 |
+
foreach ( $data as $key => $values ) {
|
74 |
+
$strData = $strData . ' data-' . $key . '="' . ( is_array( $values ) ? implode( ',', $values ) : $values ) . '"';
|
75 |
+
}
|
76 |
+
}
|
77 |
+
|
78 |
+
?>
|
79 |
+
<option value='<?php echo $value ?>' <?php echo $attr ?> <?php echo $strData ?>>
|
80 |
+
<?php echo $title ?>
|
81 |
+
</option>
|
82 |
+
<?php
|
83 |
+
}
|
84 |
+
}
|
85 |
+
}
|
86 |
+
}
|
87 |
+
}
|
includes/jsonmapper/class-json-mapper.php
CHANGED
@@ -190,7 +190,7 @@ class Mapper {
|
|
190 |
}
|
191 |
$type = $this->removeNullable( $type );
|
192 |
} else if ( $jvalue === null ) {
|
193 |
-
throw new Exception( 'JSON property "' . $key . '" in class "' . $strClassName . '" must not be NULL' );
|
194 |
}
|
195 |
|
196 |
if ( $type === null || $type === 'mixed' ) {
|
190 |
}
|
191 |
$type = $this->removeNullable( $type );
|
192 |
} else if ( $jvalue === null ) {
|
193 |
+
//throw new Exception( 'JSON property "' . $key . '" in class "' . $strClassName . '" must not be NULL' );
|
194 |
}
|
195 |
|
196 |
if ( $type === null || $type === 'mixed' ) {
|
insert_php.php
CHANGED
@@ -1,13 +1,13 @@
|
|
1 |
<?php
|
2 |
/**
|
3 |
-
* Plugin Name: Woody
|
4 |
-
* Plugin URI:
|
5 |
* Description: Executes PHP code, uses conditional logic to insert ads, text, media content and external service’s code. Ensures no content duplication.
|
6 |
-
* Author: Will Bontrager Software, LLC <will@willmaster.com
|
7 |
-
* Version: 2.
|
8 |
* Text Domain: insert-php
|
9 |
* Domain Path: /languages/
|
10 |
-
* Author URI: http://
|
11 |
*/
|
12 |
|
13 |
/**
|
@@ -20,7 +20,7 @@
|
|
20 |
*
|
21 |
* If you are a long-term user, you may be confused about the new plugin update.
|
22 |
* You’ve been using an old plugin – Insert php 1.3.0, and now got an extended
|
23 |
-
* product – Woody
|
24 |
* with PHP code. It was created by Will Bontrager Software, LLC. In 2018, the
|
25 |
* Webcraftic studio started to actively develop the plugin. We’ve created a
|
26 |
* roadmap and released several powerful updates that help you to use PHP code
|
@@ -58,15 +58,12 @@
|
|
58 |
* Personal repo: https://github.com/temyk
|
59 |
* ---------------------------------------------------------------------------------
|
60 |
*
|
61 |
-
* All development rights belong to @webcraftic studio.
|
62 |
-
* http://webcraftic.com
|
63 |
*/
|
64 |
|
65 |
// Exit if accessed directly
|
66 |
if ( ! defined( 'ABSPATH' ) ) {
|
67 |
exit;
|
68 |
}
|
69 |
-
|
70 |
// @formatter:off
|
71 |
|
72 |
|
@@ -84,14 +81,14 @@ require_once( dirname( __FILE__ ) . '/libs/factory/core/includes/class-factory-r
|
|
84 |
$plugin_info = array(
|
85 |
'prefix' => 'wbcr_inp_',
|
86 |
'plugin_name' => 'wbcr_insert_php',
|
87 |
-
'plugin_title' => __( 'Woody
|
88 |
'plugin_text_domain' => 'insert-php',
|
89 |
|
90 |
// PLUGIN SUPPORT
|
91 |
'support_details' => array(
|
92 |
'url' => 'https://r.freemius.com/3465/1916966/http://woody-ad-snippets.webcraftic.com',
|
93 |
'affiliate_url' => 'https://r.freemius.com/3465/1916966/',
|
94 |
-
'pages_map'
|
95 |
'features' => 'premium-features', // {site}/premium-features
|
96 |
'pricing' => 'pricing', // {site}/prices
|
97 |
'support' => 'support', // {site}/support
|
@@ -100,8 +97,8 @@ $plugin_info = array(
|
|
100 |
),
|
101 |
|
102 |
// PLUGIN ADVERTS
|
103 |
-
'render_adverts'
|
104 |
-
'adverts_settings'
|
105 |
'dashboard_widget' => true, // show dashboard widget (default: false)
|
106 |
'right_sidebar' => true, // show adverts sidebar (default: false)
|
107 |
'notice' => true, // show notice message (default: false)
|
@@ -137,27 +134,27 @@ $plugin_info = array(
|
|
137 |
|
138 |
// FRAMEWORK MODULES
|
139 |
'load_factory_modules' => array(
|
140 |
-
array( 'libs/factory/bootstrap', '
|
141 |
-
array( 'libs/factory/forms', '
|
142 |
-
array( 'libs/factory/pages', '
|
143 |
array( 'libs/factory/types', 'factory_types_410' ),
|
144 |
array( 'libs/factory/taxonomies', 'factory_taxonomies_330' ),
|
145 |
array( 'libs/factory/metaboxes', 'factory_metaboxes_409', 'admin' ),
|
146 |
array( 'libs/factory/viewtables', 'factory_viewtables_410', 'admin' ),
|
147 |
array( 'libs/factory/shortcodes', 'factory_shortcodes_329', 'all' ),
|
148 |
-
array( 'libs/factory/freemius', '
|
149 |
-
array( 'libs/factory/adverts', '
|
150 |
-
array( 'libs/factory/feedback', '
|
151 |
),
|
152 |
);
|
153 |
|
154 |
/**
|
155 |
* Checks compatibility with WordPress, php and other plugins.
|
156 |
*/
|
157 |
-
$wbcr_compatibility = new
|
158 |
'plugin_already_activate' => defined( 'WINP_PLUGIN_ACTIVE' ),
|
159 |
-
'required_php_version' => '
|
160 |
-
'required_wp_version' => '4.
|
161 |
) ) );
|
162 |
|
163 |
/**
|
@@ -200,26 +197,20 @@ define( 'WINP_SNIPPET_TYPE_JS', 'js' );
|
|
200 |
define( 'WINP_SNIPPET_TYPE_HTML', 'html' );
|
201 |
define( 'WINP_SNIPPET_TYPE_AD', 'advert' );
|
202 |
|
203 |
-
// The snippet automatic insertion locations
|
204 |
-
define( 'WINP_SNIPPET_AUTO_HEADER', 'header' );
|
205 |
-
define( 'WINP_SNIPPET_AUTO_FOOTER', 'footer' );
|
206 |
-
define( 'WINP_SNIPPET_AUTO_BEFORE_POST', 'before_post' );
|
207 |
-
define( 'WINP_SNIPPET_AUTO_BEFORE_CONTENT', 'before_content' );
|
208 |
-
define( 'WINP_SNIPPET_AUTO_BEFORE_PARAGRAPH', 'before_paragraph' );
|
209 |
-
define( 'WINP_SNIPPET_AUTO_AFTER_PARAGRAPH', 'after_paragraph' );
|
210 |
-
define( 'WINP_SNIPPET_AUTO_AFTER_CONTENT', 'after_content' );
|
211 |
-
define( 'WINP_SNIPPET_AUTO_AFTER_POST', 'after_post' );
|
212 |
-
define( 'WINP_SNIPPET_AUTO_BEFORE_EXCERPT', 'before_excerpt' );
|
213 |
-
define( 'WINP_SNIPPET_AUTO_AFTER_EXCERPT', 'after_excerpt' );
|
214 |
-
define( 'WINP_SNIPPET_AUTO_BETWEEN_POSTS', 'between_posts' );
|
215 |
-
define( 'WINP_SNIPPET_AUTO_BEFORE_POSTS', 'before_posts' );
|
216 |
-
define( 'WINP_SNIPPET_AUTO_AFTER_POSTS', 'after_posts' );
|
217 |
-
|
218 |
require_once( WINP_PLUGIN_DIR . '/libs/factory/core/boot.php' );
|
219 |
require_once( WINP_PLUGIN_DIR . '/includes/compat.php' );
|
|
|
220 |
require_once( WINP_PLUGIN_DIR . '/includes/class.helpers.php' );
|
221 |
require_once( WINP_PLUGIN_DIR . '/includes/class.plugin.php' );
|
222 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
223 |
try {
|
224 |
new WINP_Plugin( __FILE__, array_merge( $plugin_info, array(
|
225 |
'plugin_version' => WINP_PLUGIN_VERSION,
|
1 |
<?php
|
2 |
/**
|
3 |
+
* Plugin Name: Woody code snippets (PHP snippets | Insert PHP)
|
4 |
+
* Plugin URI: https://woodysnippet.com/
|
5 |
* Description: Executes PHP code, uses conditional logic to insert ads, text, media content and external service’s code. Ensures no content duplication.
|
6 |
+
* Author: Creative Motion, Will Bontrager Software, LLC <will@willmaster.com>
|
7 |
+
* Version: 2.4.2
|
8 |
* Text Domain: insert-php
|
9 |
* Domain Path: /languages/
|
10 |
+
* Author URI: http://cm-wp.com
|
11 |
*/
|
12 |
|
13 |
/**
|
20 |
*
|
21 |
* If you are a long-term user, you may be confused about the new plugin update.
|
22 |
* You’ve been using an old plugin – Insert php 1.3.0, and now got an extended
|
23 |
+
* product – Woody Code Snippets. Insert php was the first plugin version to work
|
24 |
* with PHP code. It was created by Will Bontrager Software, LLC. In 2018, the
|
25 |
* Webcraftic studio started to actively develop the plugin. We’ve created a
|
26 |
* roadmap and released several powerful updates that help you to use PHP code
|
58 |
* Personal repo: https://github.com/temyk
|
59 |
* ---------------------------------------------------------------------------------
|
60 |
*
|
|
|
|
|
61 |
*/
|
62 |
|
63 |
// Exit if accessed directly
|
64 |
if ( ! defined( 'ABSPATH' ) ) {
|
65 |
exit;
|
66 |
}
|
|
|
67 |
// @formatter:off
|
68 |
|
69 |
|
81 |
$plugin_info = array(
|
82 |
'prefix' => 'wbcr_inp_',
|
83 |
'plugin_name' => 'wbcr_insert_php',
|
84 |
+
'plugin_title' => __( 'Woody Code Snippets', 'insert-php' ),
|
85 |
'plugin_text_domain' => 'insert-php',
|
86 |
|
87 |
// PLUGIN SUPPORT
|
88 |
'support_details' => array(
|
89 |
'url' => 'https://r.freemius.com/3465/1916966/http://woody-ad-snippets.webcraftic.com',
|
90 |
'affiliate_url' => 'https://r.freemius.com/3465/1916966/',
|
91 |
+
'pages_map' => array(
|
92 |
'features' => 'premium-features', // {site}/premium-features
|
93 |
'pricing' => 'pricing', // {site}/prices
|
94 |
'support' => 'support', // {site}/support
|
97 |
),
|
98 |
|
99 |
// PLUGIN ADVERTS
|
100 |
+
'render_adverts' => true,
|
101 |
+
'adverts_settings' => array(
|
102 |
'dashboard_widget' => true, // show dashboard widget (default: false)
|
103 |
'right_sidebar' => true, // show adverts sidebar (default: false)
|
104 |
'notice' => true, // show notice message (default: false)
|
134 |
|
135 |
// FRAMEWORK MODULES
|
136 |
'load_factory_modules' => array(
|
137 |
+
array( 'libs/factory/bootstrap', 'factory_bootstrap_450', 'admin' ),
|
138 |
+
array( 'libs/factory/forms', 'factory_forms_447', 'admin' ),
|
139 |
+
array( 'libs/factory/pages', 'factory_pages_449', 'admin' ),
|
140 |
array( 'libs/factory/types', 'factory_types_410' ),
|
141 |
array( 'libs/factory/taxonomies', 'factory_taxonomies_330' ),
|
142 |
array( 'libs/factory/metaboxes', 'factory_metaboxes_409', 'admin' ),
|
143 |
array( 'libs/factory/viewtables', 'factory_viewtables_410', 'admin' ),
|
144 |
array( 'libs/factory/shortcodes', 'factory_shortcodes_329', 'all' ),
|
145 |
+
array( 'libs/factory/freemius', 'factory_freemius_138', 'all' ),
|
146 |
+
array( 'libs/factory/adverts', 'factory_adverts_128', 'admin' ),
|
147 |
+
array( 'libs/factory/feedback', 'factory_feedback_112', 'admin' )
|
148 |
),
|
149 |
);
|
150 |
|
151 |
/**
|
152 |
* Checks compatibility with WordPress, php and other plugins.
|
153 |
*/
|
154 |
+
$wbcr_compatibility = new Wbcr_Factory450_Requirements( __FILE__, array_merge( $plugin_info, array(
|
155 |
'plugin_already_activate' => defined( 'WINP_PLUGIN_ACTIVE' ),
|
156 |
+
'required_php_version' => '7.0',
|
157 |
+
'required_wp_version' => '4.8.0',
|
158 |
) ) );
|
159 |
|
160 |
/**
|
197 |
define( 'WINP_SNIPPET_TYPE_HTML', 'html' );
|
198 |
define( 'WINP_SNIPPET_TYPE_AD', 'advert' );
|
199 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
200 |
require_once( WINP_PLUGIN_DIR . '/libs/factory/core/boot.php' );
|
201 |
require_once( WINP_PLUGIN_DIR . '/includes/compat.php' );
|
202 |
+
require_once( WINP_PLUGIN_DIR . '/includes/class.insertion.locations.php' );
|
203 |
require_once( WINP_PLUGIN_DIR . '/includes/class.helpers.php' );
|
204 |
require_once( WINP_PLUGIN_DIR . '/includes/class.plugin.php' );
|
205 |
|
206 |
+
/*
|
207 |
+
* Woocommerce Insertion location
|
208 |
+
* @since 2.4
|
209 |
+
* */
|
210 |
+
|
211 |
+
global $winp_snippets_locations;
|
212 |
+
$winp_snippets_locations = new WINP_Insertion_Locations();
|
213 |
+
|
214 |
try {
|
215 |
new WINP_Plugin( __FILE__, array_merge( $plugin_info, array(
|
216 |
'plugin_version' => WINP_PLUGIN_VERSION,
|
languages/insert-php-ru_RU.mo
CHANGED
Binary file
|
languages/insert-php-ru_RU.po
CHANGED
@@ -1,8 +1,8 @@
|
|
1 |
-
# Translation of Plugins - Woody
|
2 |
-
# This file is distributed under the same license as the Plugins - Woody
|
3 |
msgid ""
|
4 |
msgstr ""
|
5 |
-
"PO-Revision-Date:
|
6 |
"MIME-Version: 1.0\n"
|
7 |
"Content-Type: text/plain; charset=UTF-8\n"
|
8 |
"Content-Transfer-Encoding: 8bit\n"
|
@@ -10,1046 +10,1065 @@ msgstr ""
|
|
10 |
"n%10<=4 &&(n%100<10||n%100 >= 20)? 1 : 2);\n"
|
11 |
"X-Generator: Loco https://localise.biz/\n"
|
12 |
"Language: ru_RU\n"
|
13 |
-
"Project-Id-Version: Plugins - Woody
|
14 |
"text, or ads via using conditions - Development (trunk)\n"
|
15 |
"POT-Creation-Date: 2020-08-07 08:44+0000\n"
|
16 |
"Last-Translator: \n"
|
17 |
"Language-Team: Русский\n"
|
18 |
"Report-Msgid-Bugs-To: \n"
|
19 |
-
"X-Loco-Version: 2.
|
20 |
|
21 |
-
|
22 |
-
|
23 |
-
|
|
|
|
|
24 |
|
25 |
-
#:
|
26 |
-
msgid "
|
27 |
-
msgstr "
|
28 |
|
29 |
-
#:
|
30 |
-
msgid ""
|
31 |
-
"
|
32 |
-
"are fun and all, are they really necessary for your WordPress site? This "
|
33 |
-
"snippet to disable emojis on your site to make it faster."
|
34 |
-
msgstr ""
|
35 |
-
"Эмодзи - это небольшие иконки, выражающие какие-то мысли или эмоции. Но "
|
36 |
-
"действительно ли вашему сайту нужны эти забавные смайлики? Данный сниппет "
|
37 |
-
"отключает эмодзи и позволяет ускорить сайт."
|
38 |
|
39 |
-
#:
|
40 |
-
msgid "
|
41 |
-
msgstr "
|
42 |
|
43 |
-
#:
|
|
|
|
|
|
|
|
|
|
|
44 |
msgid ""
|
45 |
-
"
|
46 |
-
"
|
47 |
msgstr ""
|
48 |
-
"
|
49 |
-
"
|
50 |
|
51 |
-
#:
|
52 |
-
msgid "
|
53 |
-
msgstr "
|
|
|
|
|
54 |
|
55 |
-
#:
|
56 |
-
msgid "
|
57 |
-
msgstr "
|
58 |
|
59 |
-
#:
|
60 |
-
msgid "
|
61 |
-
msgstr "
|
62 |
|
63 |
-
#: includes/
|
64 |
-
msgid "
|
65 |
-
msgstr "
|
66 |
|
67 |
-
#: includes/
|
68 |
-
|
69 |
-
|
|
|
|
|
|
|
|
|
70 |
|
71 |
-
#: includes/
|
72 |
-
msgid "
|
73 |
-
msgstr "
|
74 |
|
75 |
-
#:
|
76 |
-
msgid "
|
77 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
78 |
|
79 |
-
#:
|
80 |
-
msgid "
|
81 |
-
msgstr "
|
82 |
|
83 |
-
#:
|
84 |
-
msgid "
|
85 |
-
msgstr "
|
86 |
|
87 |
-
#:
|
88 |
-
msgid "
|
89 |
-
|
|
|
|
|
|
|
|
|
90 |
|
91 |
-
#:
|
92 |
-
msgid "
|
93 |
-
msgstr "
|
94 |
|
95 |
-
#:
|
96 |
-
msgid "
|
97 |
-
msgstr "
|
98 |
|
99 |
-
#:
|
100 |
-
msgid "
|
101 |
-
msgstr "
|
102 |
|
103 |
-
#:
|
104 |
-
msgid "
|
105 |
-
msgstr "
|
106 |
|
107 |
-
#:
|
108 |
-
msgid "
|
109 |
-
msgstr "
|
110 |
|
111 |
-
#: includes/class.
|
112 |
-
msgid "
|
113 |
-
msgstr "
|
114 |
|
115 |
-
#:
|
116 |
-
|
117 |
-
msgid "
|
118 |
-
msgstr "
|
119 |
|
120 |
-
#:
|
121 |
-
msgid "
|
122 |
-
msgstr "
|
123 |
|
124 |
-
#:
|
125 |
-
msgid "
|
126 |
-
msgstr "
|
127 |
|
128 |
-
#: includes/class.
|
129 |
-
|
130 |
-
|
|
|
131 |
|
132 |
-
#:
|
133 |
-
msgid "
|
134 |
-
msgstr "
|
135 |
|
136 |
-
#:
|
137 |
-
msgid "
|
138 |
-
msgstr "
|
139 |
|
140 |
-
#: admin/
|
141 |
-
msgid "
|
142 |
-
msgstr "
|
143 |
|
144 |
-
#: admin/
|
145 |
-
msgid "
|
146 |
-
msgstr "
|
147 |
|
148 |
-
#: admin/
|
149 |
-
|
150 |
-
|
|
|
151 |
|
152 |
-
#:
|
153 |
-
msgid "
|
154 |
-
msgstr "
|
155 |
|
156 |
-
#:
|
157 |
-
msgid "
|
158 |
-
msgstr "
|
159 |
|
160 |
-
#:
|
161 |
-
msgid "
|
162 |
-
msgstr "
|
163 |
|
164 |
-
#:
|
165 |
-
msgid "
|
166 |
-
msgstr "
|
167 |
|
168 |
-
#:
|
169 |
-
msgid "
|
170 |
-
msgstr "
|
171 |
|
172 |
-
#:
|
173 |
-
msgid "
|
174 |
-
msgstr "
|
175 |
|
176 |
-
#:
|
177 |
-
msgid "
|
178 |
-
msgstr "
|
|
|
|
|
|
|
|
|
179 |
|
180 |
-
#: admin/ajax/ajax.php:
|
181 |
msgid "All Categories Archive"
|
182 |
msgstr "Архив всех рубрик"
|
183 |
|
184 |
-
#: admin/ajax/ajax.php:
|
185 |
-
msgid "All Tags Archive"
|
186 |
-
msgstr "Архив всех тегов"
|
187 |
-
|
188 |
-
#: admin/ajax/ajax.php:199
|
189 |
msgid "All Pages"
|
190 |
msgstr "Все страницы"
|
191 |
|
192 |
-
#: admin/ajax/ajax.php:
|
193 |
msgid "All Pages Archive"
|
194 |
msgstr "Архив всех страниц"
|
195 |
|
196 |
-
#: admin/ajax/
|
197 |
-
msgid "
|
198 |
-
msgstr "
|
199 |
-
|
200 |
-
#: admin/ajax/check-license.php:39
|
201 |
-
msgid ""
|
202 |
-
"License key is empty or license key too long (license key is 32 characters "
|
203 |
-
"long)"
|
204 |
-
msgstr ""
|
205 |
-
"Лицензионный ключ является пустым или вы ввели ключ с ошибкой (ключ должен "
|
206 |
-
"иметь длинну 32 символа)"
|
207 |
|
208 |
-
#: admin/ajax/
|
209 |
-
msgid "
|
210 |
-
msgstr "
|
211 |
|
212 |
-
#: admin/ajax/
|
213 |
-
msgid "
|
214 |
-
msgstr "
|
215 |
|
216 |
-
#: admin/ajax/
|
217 |
-
msgid "
|
218 |
-
msgstr "
|
219 |
|
220 |
-
#: admin/ajax/
|
221 |
-
msgid "
|
222 |
-
msgstr "
|
223 |
|
224 |
-
#: admin/
|
225 |
-
msgid "
|
226 |
-
msgstr "
|
227 |
|
228 |
-
#: admin/
|
229 |
-
|
230 |
-
|
231 |
-
msgstr "Экспорт"
|
232 |
|
233 |
-
#: admin/
|
234 |
-
|
235 |
-
|
236 |
-
msgid "Delete"
|
237 |
-
msgstr "Удалить"
|
238 |
|
239 |
-
#: admin/
|
240 |
-
msgid "
|
241 |
-
msgstr "
|
242 |
-
|
243 |
-
#: admin/includes/class.actions.snippet.php:113
|
244 |
-
msgid "Activate"
|
245 |
-
msgstr "Активировать"
|
246 |
-
|
247 |
-
#: admin/includes/class.actions.snippet.php:176
|
248 |
-
msgid "Close"
|
249 |
-
msgstr "Закрыть"
|
250 |
|
251 |
-
#: admin/
|
252 |
-
msgid "
|
253 |
-
|
|
|
254 |
|
255 |
-
#: admin/
|
256 |
-
msgid "
|
257 |
-
msgstr "
|
258 |
|
259 |
-
#: admin/
|
260 |
-
|
261 |
-
|
262 |
-
msgstr "Директория %s не может быть создана"
|
263 |
|
264 |
-
#: admin/
|
265 |
-
msgid "
|
266 |
-
msgstr "
|
267 |
|
268 |
-
#: admin/includes/class.
|
269 |
#, php-format
|
270 |
msgid ""
|
271 |
-
"
|
272 |
-
"
|
273 |
-
|
274 |
-
"
|
275 |
-
"
|
276 |
-
|
277 |
-
#: admin/includes/class.common.snippet.php:75
|
278 |
-
msgid "Please run the following command to make the directory writable"
|
279 |
msgstr ""
|
280 |
-
"
|
281 |
-
"
|
282 |
-
|
283 |
-
|
284 |
-
|
285 |
-
|
286 |
-
msgstr "PHP сниппет"
|
287 |
-
|
288 |
-
#: admin/includes/class.common.snippet.php:94
|
289 |
-
#: admin/includes/class.common.snippet.php:152 admin/pages/new-item.php:59
|
290 |
-
msgid "Text snippet"
|
291 |
-
msgstr "Текстовый сниппет"
|
292 |
-
|
293 |
-
#: admin/includes/class.common.snippet.php:95
|
294 |
-
#: admin/includes/class.common.snippet.php:153 admin/pages/new-item.php:69
|
295 |
-
msgid "Css snippet"
|
296 |
-
msgstr "CSS сниппет"
|
297 |
-
|
298 |
-
#: admin/includes/class.common.snippet.php:96
|
299 |
-
#: admin/includes/class.common.snippet.php:154
|
300 |
-
msgid "Js snippet"
|
301 |
-
msgstr "JS сниппет"
|
302 |
-
|
303 |
-
#: admin/includes/class.common.snippet.php:97
|
304 |
-
#: admin/includes/class.common.snippet.php:155
|
305 |
-
msgid "Html snippet"
|
306 |
-
msgstr "HTML сниппет"
|
307 |
-
|
308 |
-
#: admin/includes/class.common.snippet.php:98
|
309 |
-
#: admin/includes/class.common.snippet.php:156 admin/pages/new-item.php:64
|
310 |
-
msgid "Universal snippet"
|
311 |
-
msgstr "Универсальный сниппет"
|
312 |
-
|
313 |
-
#: admin/includes/class.common.snippet.php:99
|
314 |
-
#: admin/includes/class.common.snippet.php:157 admin/pages/new-item.php:84
|
315 |
-
msgid "Advertisement snippet"
|
316 |
-
msgstr "Рекламный сниппет"
|
317 |
|
318 |
-
#: admin/
|
319 |
-
|
320 |
-
|
321 |
-
msgid "Woody snippets"
|
322 |
-
msgstr "Woody snippets"
|
323 |
|
324 |
-
#: admin/
|
325 |
-
|
326 |
-
|
327 |
-
msgstr "Добавить"
|
328 |
|
329 |
-
#: admin/
|
330 |
-
msgid "
|
331 |
-
msgstr "
|
332 |
|
333 |
-
#: admin/
|
334 |
-
msgid "
|
335 |
-
msgstr "
|
336 |
|
337 |
-
#: admin/
|
338 |
-
msgid "
|
339 |
-
msgstr "
|
340 |
|
341 |
-
#: admin/
|
342 |
-
msgid "
|
343 |
-
msgstr "
|
344 |
|
345 |
-
#: admin/
|
346 |
-
|
347 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
348 |
|
349 |
-
#: admin/
|
350 |
-
msgid "
|
351 |
-
msgstr "
|
352 |
|
353 |
-
#: admin/
|
354 |
-
msgid "
|
355 |
-
msgstr "
|
356 |
|
357 |
-
#:
|
358 |
-
msgid "
|
359 |
-
msgstr "
|
360 |
|
361 |
-
#:
|
362 |
-
msgid "
|
363 |
-
msgstr "
|
364 |
|
365 |
-
#:
|
366 |
-
|
367 |
-
|
368 |
-
msgstr "Изменить"
|
369 |
|
370 |
-
#:
|
371 |
-
msgid "
|
372 |
-
msgstr "
|
373 |
|
374 |
-
#: admin/
|
375 |
-
msgid "
|
376 |
-
msgstr "
|
377 |
|
378 |
-
#:
|
379 |
-
msgid "
|
380 |
-
msgstr "
|
381 |
|
382 |
-
#: admin/
|
383 |
-
msgid ""
|
384 |
-
"
|
385 |
-
"what you'd like to see changed or added in the future."
|
386 |
-
msgstr ""
|
387 |
-
"Пожалуйста, пройдите небольшой опрос о Вашем опыте работы с плагином и "
|
388 |
-
"поделитесь своими пожеланиями к функционалу: какие опции можно изменить или "
|
389 |
-
"добавить."
|
390 |
|
391 |
-
#: admin/
|
392 |
-
msgid "
|
393 |
-
msgstr "
|
394 |
|
395 |
-
#: admin/
|
396 |
-
|
397 |
-
|
398 |
-
msgstr "Сниппет был отключен, из-за ошибки в строке %d:"
|
399 |
|
400 |
-
#: admin/
|
401 |
-
#, php-format
|
402 |
msgid ""
|
403 |
-
"
|
404 |
-
"
|
405 |
-
"
|
406 |
-
"
|
407 |
-
" we left support for [insert_php] shortcodes until March 2019, after that we "
|
408 |
-
"will stop supporting shortcodes [insert_php]."
|
409 |
msgstr ""
|
410 |
-
"
|
411 |
-
"
|
412 |
-
"
|
413 |
-
"
|
414 |
-
"удобства мы сохранили поддержку старых шорткодов [insert_php] до марта 2019. "
|
415 |
-
"Затем поддержка данных сниппетов прекратится."
|
416 |
|
417 |
-
#: admin/
|
418 |
msgid ""
|
419 |
-
"
|
420 |
-
"
|
421 |
-
"
|
|
|
|
|
422 |
msgstr ""
|
423 |
-
"
|
424 |
-
"
|
|
|
|
|
|
|
425 |
|
426 |
-
#: admin/
|
427 |
#, php-format
|
428 |
msgid ""
|
429 |
-
"
|
430 |
-
"
|
|
|
431 |
msgstr ""
|
432 |
-
"
|
433 |
-
"
|
|
|
434 |
|
435 |
-
#: admin/
|
436 |
-
msgid "
|
437 |
-
msgstr "
|
438 |
|
439 |
-
#: admin/
|
440 |
-
msgid "
|
441 |
-
msgstr "
|
442 |
|
443 |
-
#: admin/
|
444 |
-
|
445 |
-
|
446 |
-
|
447 |
-
|
448 |
-
"
|
449 |
-
msgstr ""
|
450 |
-
|
451 |
-
|
452 |
-
"
|
|
|
453 |
|
454 |
-
#: admin/
|
455 |
-
#, php-format
|
456 |
msgid ""
|
457 |
-
"
|
458 |
-
"
|
459 |
msgstr ""
|
460 |
-
"
|
461 |
-
"
|
462 |
|
463 |
-
#: admin/
|
464 |
-
msgid "
|
465 |
-
msgstr "
|
466 |
|
467 |
-
#: admin/
|
468 |
-
msgid "
|
469 |
-
msgstr "
|
470 |
|
471 |
-
#: admin/includes/class.
|
472 |
-
msgid "
|
473 |
-
msgstr "
|
474 |
|
475 |
-
#: admin/
|
476 |
-
msgid "
|
477 |
-
msgstr "
|
478 |
|
479 |
-
#: admin/
|
480 |
-
msgid "
|
481 |
-
msgstr "
|
482 |
|
483 |
-
#: admin/
|
484 |
-
|
485 |
-
|
486 |
-
msgid "Description"
|
487 |
-
msgstr "Описание"
|
488 |
|
489 |
-
#: admin/
|
490 |
-
msgid "
|
491 |
-
msgstr "
|
492 |
|
493 |
-
#: admin/
|
494 |
-
msgid "
|
495 |
-
msgstr "
|
496 |
|
497 |
-
#: admin/
|
498 |
-
msgid "
|
499 |
-
msgstr "
|
500 |
|
501 |
-
#: admin/
|
502 |
-
msgid "
|
503 |
-
msgstr "
|
504 |
|
505 |
-
#: admin/
|
506 |
-
msgid "
|
507 |
-
msgstr "
|
508 |
|
509 |
-
#: admin/includes/class.
|
510 |
-
msgid "
|
511 |
-
msgstr "
|
512 |
|
513 |
-
#: admin/
|
514 |
-
|
515 |
-
|
516 |
-
msgstr "Теги"
|
517 |
|
518 |
-
#: admin/includes/class.
|
519 |
-
|
520 |
-
|
|
|
521 |
|
522 |
-
#: admin/
|
523 |
-
|
524 |
-
|
525 |
-
msgstr "У вас недостаточно прав для этого."
|
526 |
|
527 |
-
#: admin/
|
528 |
-
msgid "
|
529 |
-
msgstr "
|
530 |
|
531 |
-
#: admin/
|
532 |
-
msgid "
|
533 |
-
msgstr "
|
534 |
|
535 |
-
#: admin/
|
536 |
-
msgid "
|
537 |
-
msgstr "
|
538 |
|
539 |
-
#: admin/includes/class.snippets.
|
540 |
-
msgid ""
|
541 |
-
|
542 |
-
"code!"
|
543 |
-
msgstr ""
|
544 |
|
545 |
-
#: admin/
|
546 |
-
msgid "
|
547 |
-
msgstr "
|
548 |
|
549 |
-
#: admin/
|
550 |
-
|
551 |
-
|
|
|
552 |
|
553 |
-
#: admin/
|
554 |
-
msgid "
|
555 |
-
msgstr "
|
556 |
|
557 |
-
#: admin/
|
558 |
-
msgid "
|
559 |
-
msgstr "
|
560 |
|
561 |
-
#: admin/
|
562 |
-
|
563 |
-
|
|
|
|
|
564 |
|
565 |
-
#: admin/
|
566 |
-
msgid "
|
567 |
-
msgstr "
|
568 |
|
569 |
-
#: admin/
|
570 |
-
msgid "
|
571 |
-
msgstr "
|
572 |
|
573 |
-
#: admin/
|
574 |
-
|
575 |
-
|
|
|
|
|
576 |
|
577 |
-
#: admin/metaboxes/
|
578 |
-
msgid "
|
579 |
-
msgstr "
|
580 |
|
581 |
-
#: admin/metaboxes/
|
582 |
-
msgid "
|
583 |
-
msgstr "
|
584 |
|
585 |
-
#: admin/metaboxes/
|
586 |
-
msgid "
|
587 |
-
msgstr "
|
588 |
|
589 |
-
#: admin/metaboxes/
|
590 |
-
msgid ""
|
591 |
-
"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
592 |
msgstr ""
|
593 |
-
"
|
594 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
595 |
|
596 |
-
#: admin/
|
597 |
msgid ""
|
598 |
-
"
|
599 |
-
"can access it from any website where you’ve activated the plugin’s premium "
|
600 |
-
"version. If you have our plugin on multiple websites or work in a team, it’s "
|
601 |
-
"quite handy to use templates. The feature is available in the premium "
|
602 |
-
"version only."
|
603 |
msgstr ""
|
604 |
-
"
|
605 |
-
"сервере, вы сможете получить к нему доступ с любого сайта, где у вас "
|
606 |
-
"активирована премиум версия плагина. Использования шаблонов очень удобно, "
|
607 |
-
"если вы используете наш плагин на большом количестве сайтов или работаете в "
|
608 |
-
"команде. Возможность сохранения шаблонов сниппетов доступна только в премиум "
|
609 |
-
"версии."
|
610 |
-
|
611 |
-
#: admin/metaboxes/base-options.php:273
|
612 |
-
msgid "Enter template name"
|
613 |
-
msgstr "Введите название шаблона"
|
614 |
|
615 |
-
#: admin/
|
616 |
-
msgid "
|
617 |
-
msgstr "
|
618 |
|
619 |
-
#: admin/metaboxes/
|
620 |
-
msgid "
|
621 |
-
msgstr "
|
622 |
|
623 |
-
#: admin/metaboxes/
|
624 |
-
msgid "
|
625 |
-
msgstr "
|
626 |
|
627 |
-
#: admin/
|
628 |
-
msgid "
|
629 |
-
msgstr "
|
630 |
|
631 |
-
#: admin/
|
632 |
-
msgid ""
|
633 |
-
"
|
634 |
-
"wrap it inside [wbcr_text_snippet id=\"xxx\"]content[/wbcr_text_snippet]. To "
|
635 |
-
"use this content inside the snippet use {{SNIPPET_CONTENT}} variable."
|
636 |
-
msgstr ""
|
637 |
-
"Если вы хотите разместить содержимое в сниппете из шорткода, то оберните его "
|
638 |
-
"в теги [wbcr_text_snippet id=\"xxx\"]содержимое[/wbcr_text_snippet].. Для "
|
639 |
-
"работы с этим содержимым внутри сниппета пользуйтесь переменной "
|
640 |
-
"{{SNIPPET_CONTENT}}"
|
641 |
|
642 |
-
#: admin/
|
643 |
-
|
644 |
-
|
645 |
-
"If you want to place some content into your snippet from the shortcode just "
|
646 |
-
"wrap it inside [wbcr%s_snippet id=\"xxx\"]content[/wbcr%s_snippet]. To use "
|
647 |
-
"this content inside the snippet use $content variable."
|
648 |
-
msgstr ""
|
649 |
-
"Если вы хотите вставить какой-то контент внутри вашего сниппета из шорткода, "
|
650 |
-
"просто оберните его в [wbcr%s_snippet id=\"xxx\"]контент[/wbcr%s_snippet]. "
|
651 |
-
"Для использования текущего контента внутри сниппета используйте $content "
|
652 |
-
"переменную."
|
653 |
|
654 |
-
#: admin/
|
655 |
-
|
656 |
-
|
|
|
657 |
|
658 |
-
#: admin/
|
659 |
-
|
660 |
-
|
661 |
-
"If you select the \"%s\" option, after activating the widget, the php code "
|
662 |
-
"will be launched on all pages of your site. Another option works only where "
|
663 |
-
"you have set a shortcode snippet (widgets, post)."
|
664 |
-
msgstr ""
|
665 |
-
"Если вы выберите опцию \"%s\", то после активации виджета php код будет "
|
666 |
-
"запущен на всех страницах вашего сайта. Другая опция позволяет запускать "
|
667 |
-
"сниппет только там, где указан шорткод сниппета (widgets, post)."
|
668 |
|
669 |
-
#: admin/
|
670 |
-
msgid "
|
671 |
-
msgstr "
|
672 |
|
673 |
-
#: admin/
|
674 |
-
msgid ""
|
675 |
-
"
|
676 |
-
"Such shortcodes are hard to remember. In addition, when you move a snippet "
|
677 |
-
"to another website its ID can be changed. So the best solution for the "
|
678 |
-
"snippets use regularly is to define a custom shortcode name. The custom "
|
679 |
-
"shortcode may look like this: [soccer_match_date]"
|
680 |
-
msgstr ""
|
681 |
-
"По умолчанию все шорткоды сниппетов выглядят вот так: [wbcr_snippet id=”121”]"
|
682 |
-
". Такие шорткоды сложно запомнить, а при переносе сниппетов на другой сайт, "
|
683 |
-
"ID сниппетов может измениться. Лучшее решение для часто используемых "
|
684 |
-
"сниппетов, это задать собственное имя шорткода. Произвольный шорткод может "
|
685 |
-
"выглядеть так: [soccer_match_date]"
|
686 |
|
687 |
-
#: admin/
|
688 |
-
msgid "
|
689 |
-
msgstr "
|
690 |
|
691 |
-
#: admin/
|
692 |
-
msgid "
|
693 |
-
msgstr "
|
694 |
|
695 |
-
#: admin/
|
696 |
-
msgid "
|
697 |
-
msgstr "
|
698 |
|
699 |
-
#: admin/
|
700 |
-
msgid "
|
701 |
-
msgstr "
|
702 |
|
703 |
-
#: admin/
|
704 |
-
msgid "
|
705 |
-
msgstr "
|
706 |
|
707 |
-
#: admin/
|
708 |
-
msgid ""
|
709 |
-
"
|
710 |
-
"the Location number field."
|
711 |
-
msgstr ""
|
712 |
-
"Сниппет будет размещен до абзаца с номером, указанным в поле \"Число при "
|
713 |
-
"размещении\"."
|
714 |
|
715 |
-
#:
|
716 |
msgid ""
|
717 |
-
"
|
718 |
-
"
|
|
|
719 |
msgstr ""
|
720 |
-
"
|
721 |
-
"
|
|
|
722 |
|
723 |
-
#: admin/metaboxes/base-options.php:
|
724 |
-
msgid "
|
725 |
-
msgstr "
|
726 |
|
727 |
-
#: admin/
|
728 |
-
msgid "
|
729 |
-
msgstr "
|
730 |
|
731 |
-
#: admin/metaboxes/
|
732 |
-
msgid "
|
733 |
-
msgstr "
|
734 |
|
735 |
-
#: admin/metaboxes/base-options.php:
|
736 |
-
msgid "
|
737 |
-
msgstr "
|
738 |
|
739 |
-
#: admin/
|
740 |
-
msgid "
|
741 |
-
msgstr "
|
742 |
|
743 |
-
#: admin/
|
744 |
-
msgid ""
|
745 |
-
"
|
746 |
-
"Location number field."
|
747 |
-
msgstr ""
|
748 |
-
"Сниппет будет размещен до записи с номером, указанным в поле \"Число при "
|
749 |
-
"размещении\""
|
750 |
|
751 |
-
|
752 |
msgid ""
|
753 |
-
"
|
754 |
-
"
|
755 |
msgstr ""
|
756 |
-
"
|
757 |
-
"
|
758 |
-
|
759 |
-
#: admin/metaboxes/base-options.php:707
|
760 |
-
msgid "Insertion location"
|
761 |
-
msgstr "Место добавления"
|
762 |
|
763 |
-
#: admin/
|
764 |
-
msgid "
|
765 |
-
msgstr "
|
766 |
|
767 |
-
#: admin/
|
768 |
-
|
769 |
-
|
|
|
770 |
|
771 |
-
#: admin/metaboxes/base-options.php:
|
772 |
-
msgid "
|
773 |
-
msgstr "
|
774 |
|
775 |
-
#: admin/metaboxes/base-options.php:
|
776 |
msgid "External File"
|
777 |
msgstr "Внешний файл"
|
778 |
|
779 |
-
#: admin/
|
780 |
-
msgid "
|
781 |
-
msgstr "
|
782 |
|
783 |
-
#: admin/
|
784 |
-
msgid "
|
785 |
-
msgstr "
|
786 |
|
787 |
-
#:
|
788 |
-
msgid "
|
789 |
-
msgstr "
|
790 |
|
791 |
-
#: admin/
|
|
|
792 |
msgid ""
|
793 |
-
"
|
794 |
-
"
|
795 |
msgstr ""
|
796 |
-
"
|
797 |
-
"
|
798 |
|
799 |
-
#: admin/metaboxes/
|
800 |
-
msgid "
|
801 |
-
msgstr "
|
802 |
|
803 |
-
#: admin/
|
804 |
-
|
805 |
-
|
806 |
-
"Available attributes for shortcode via comma. Only numbers, letters and "
|
807 |
-
"underscore characters are allowed. Attribute id is always available. With "
|
808 |
-
"this option you can set additional attributes for the shortcode. Example: "
|
809 |
-
"start_date attribute to [%s id='xxx' start_date='2018/01/15'] shortcode. Now "
|
810 |
-
"we can get attribute value in the snippet with the $start_date variable. "
|
811 |
-
"It's convenient if you want to print out different results depending on this "
|
812 |
-
"attributes."
|
813 |
-
msgstr ""
|
814 |
-
"Доступные атрибуты шорткода, разделённые запятой. Разрешено использовать "
|
815 |
-
"только цифры, буквы и символ подчёркивания. Атрибут id доступен всегда. С "
|
816 |
-
"этой опцией вы можете указать дополнительные атрибуты шорткода. Пример: "
|
817 |
-
"атрибут start_date для шорткода [%s id='xxx' start_date='2018/01/15']. "
|
818 |
-
"Теперь в cниппете вы можете использовать значение переменной $start_date. "
|
819 |
-
"Это удобно, если вы хотите выводить разные результаты в зависимости от "
|
820 |
-
"значения этих атрибутов."
|
821 |
|
822 |
-
#: admin/metaboxes/
|
823 |
-
msgid "
|
824 |
-
msgstr ""
|
825 |
|
826 |
-
#: admin/metaboxes/
|
827 |
-
msgid "
|
828 |
-
msgstr "
|
829 |
|
830 |
-
#: admin/
|
831 |
-
msgid "
|
832 |
-
msgstr "
|
833 |
|
834 |
-
#: admin/
|
835 |
-
msgid "
|
836 |
-
msgstr "
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
837 |
|
838 |
-
#:
|
839 |
-
msgid "
|
840 |
-
msgstr "
|
841 |
|
842 |
-
#: admin/
|
843 |
-
msgid "
|
844 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
845 |
|
846 |
-
#: admin/
|
847 |
-
msgid "
|
848 |
-
msgstr "
|
849 |
|
850 |
-
#: admin/metaboxes/
|
851 |
-
|
852 |
-
|
|
|
853 |
|
854 |
-
#: admin/
|
855 |
-
msgid "
|
856 |
-
msgstr "
|
857 |
|
858 |
-
#: admin/
|
859 |
-
|
860 |
-
|
|
|
861 |
|
862 |
-
|
863 |
-
msgid "
|
864 |
-
msgstr "
|
865 |
|
866 |
-
|
867 |
-
msgid "
|
868 |
-
msgstr "
|
869 |
|
870 |
-
#: admin/
|
|
|
871 |
msgid ""
|
872 |
-
"
|
873 |
-
"
|
874 |
msgstr ""
|
875 |
-
"
|
876 |
-
"
|
877 |
|
878 |
-
#: admin/metaboxes/
|
879 |
-
|
880 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
881 |
|
882 |
-
#: admin/
|
|
|
883 |
msgid ""
|
884 |
-
"
|
885 |
-
"
|
|
|
886 |
msgstr ""
|
887 |
-
"
|
888 |
-
"
|
|
|
889 |
|
890 |
-
#: admin/
|
891 |
-
msgid "
|
892 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
893 |
|
894 |
-
#: admin/metaboxes/
|
895 |
-
|
896 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
897 |
|
898 |
-
#: admin/metaboxes/
|
899 |
-
msgid "
|
900 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
901 |
|
902 |
-
#: admin/
|
903 |
-
msgid "
|
904 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
905 |
|
906 |
-
#: admin/
|
907 |
msgid ""
|
908 |
-
"
|
909 |
-
|
|
|
|
|
|
|
910 |
|
911 |
-
#: admin/
|
912 |
-
msgid "
|
913 |
-
msgstr "
|
914 |
|
915 |
-
#: admin/metaboxes/
|
916 |
-
msgid "
|
917 |
-
msgstr "
|
918 |
|
919 |
-
#: admin/
|
920 |
-
msgid "
|
921 |
-
msgstr "
|
922 |
|
923 |
-
#: admin/
|
924 |
-
msgid "
|
925 |
-
msgstr "
|
926 |
|
927 |
-
#: admin/
|
928 |
-
msgid "
|
929 |
-
msgstr "
|
930 |
|
931 |
-
#: admin/
|
932 |
-
msgid "
|
933 |
-
msgstr "
|
934 |
|
935 |
-
#: admin/metaboxes/
|
936 |
-
msgid "
|
937 |
-
msgstr "
|
938 |
|
939 |
-
#: admin/
|
940 |
-
msgid "
|
941 |
-
msgstr "
|
942 |
|
943 |
-
#:
|
944 |
-
msgid "
|
945 |
-
msgstr "
|
946 |
|
947 |
-
#:
|
948 |
-
msgid "
|
949 |
-
msgstr "
|
950 |
|
951 |
-
#:
|
952 |
-
msgid "
|
953 |
-
msgstr "
|
954 |
|
955 |
-
#:
|
956 |
-
msgid "
|
957 |
-
msgstr "
|
958 |
|
959 |
-
#:
|
960 |
-
msgid "
|
961 |
-
msgstr "
|
962 |
|
963 |
-
#:
|
964 |
-
msgid "
|
965 |
-
msgstr "
|
966 |
|
967 |
-
#:
|
968 |
-
msgid "
|
969 |
-
msgstr "
|
970 |
|
971 |
-
#:
|
972 |
-
msgid "
|
973 |
-
msgstr "
|
974 |
|
975 |
-
#: admin/metaboxes/
|
976 |
-
msgid "
|
977 |
-
msgstr "
|
978 |
|
979 |
-
#: admin/
|
980 |
-
msgid "
|
981 |
-
msgstr "
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
982 |
|
983 |
-
#: admin/metaboxes/view-options.php:
|
984 |
-
msgid "
|
985 |
-
msgstr "
|
986 |
|
987 |
-
#: admin/
|
988 |
-
msgid "
|
989 |
-
msgstr "
|
990 |
|
991 |
-
#: admin/
|
992 |
-
msgid "
|
|
|
|
|
993 |
msgstr ""
|
994 |
-
"
|
995 |
-
|
996 |
-
#: admin/metaboxes/view-options.php:213
|
997 |
-
msgid "Device type"
|
998 |
-
msgstr "Тип устройства"
|
999 |
|
1000 |
-
#: admin/
|
1001 |
-
msgid "
|
1002 |
-
msgstr "
|
1003 |
|
1004 |
-
#: admin/
|
1005 |
-
msgid "
|
1006 |
-
msgstr "
|
1007 |
|
1008 |
-
#: admin/metaboxes/
|
1009 |
-
msgid "
|
1010 |
-
msgstr "
|
1011 |
|
1012 |
-
#: admin/metaboxes/view-options.php:
|
1013 |
-
msgid "
|
1014 |
-
msgstr "
|
1015 |
|
1016 |
-
#: admin/
|
1017 |
-
msgid "
|
1018 |
-
msgstr "
|
1019 |
|
1020 |
-
#: admin/metaboxes/view-options.php:
|
1021 |
-
msgid "
|
1022 |
-
msgstr "
|
1023 |
|
1024 |
-
#: admin/metaboxes/
|
1025 |
-
msgid "
|
1026 |
-
msgstr "
|
1027 |
|
1028 |
-
#: admin/metaboxes/view-options.php:
|
1029 |
-
|
1030 |
-
|
|
|
1031 |
|
1032 |
-
#: admin/metaboxes/view-options.php:
|
1033 |
-
|
1034 |
-
|
|
|
1035 |
|
1036 |
-
#: admin/
|
1037 |
-
msgid "
|
1038 |
-
msgstr "
|
1039 |
|
1040 |
-
#: admin/
|
1041 |
-
msgid "
|
1042 |
-
msgstr "
|
1043 |
|
1044 |
-
#: admin/
|
1045 |
-
msgid "
|
1046 |
-
msgstr "
|
1047 |
|
1048 |
-
#: admin/metaboxes/view-options.php:
|
1049 |
-
msgid "
|
|
|
|
|
1050 |
msgstr ""
|
1051 |
-
"
|
1052 |
-
"
|
|
|
|
|
|
|
|
|
1053 |
|
1054 |
#: admin/metaboxes/view-options.php:322
|
1055 |
msgid ""
|
@@ -1059,572 +1078,536 @@ msgstr ""
|
|
1059 |
"Фильтры не выбраны. Чтобы добавить фильтр, <a href=\"#\" class=\"winp-add-"
|
1060 |
"filter\">нажмите здесь</a>."
|
1061 |
|
1062 |
-
#: admin/
|
1063 |
-
msgid "
|
1064 |
-
msgstr "
|
1065 |
|
1066 |
-
#: admin/
|
1067 |
-
msgid "
|
1068 |
-
msgstr "
|
1069 |
|
1070 |
-
#: admin/metaboxes/view-options.php:
|
1071 |
-
msgid "
|
1072 |
-
msgstr "
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1073 |
|
1074 |
#: admin/metaboxes/view-options.php:337 admin/metaboxes/view-options.php:364
|
1075 |
msgid "or"
|
1076 |
msgstr "или"
|
1077 |
|
1078 |
-
#: admin/metaboxes/view-options.php:
|
1079 |
-
msgid ""
|
1080 |
-
|
1081 |
-
" to add one."
|
1082 |
-
msgstr ""
|
1083 |
-
"Условия не выбраны. Чтобы добавить условия, <a href=\"#\" class=\"winp-link-"
|
1084 |
-
"add\">нажмите здесь</a>."
|
1085 |
|
1086 |
-
#: admin/
|
1087 |
-
msgid "
|
1088 |
-
msgstr "
|
1089 |
|
1090 |
-
#: admin/metaboxes/
|
1091 |
-
msgid "
|
1092 |
-
msgstr "
|
1093 |
|
1094 |
-
#: admin/
|
1095 |
-
msgid "
|
1096 |
-
msgstr "
|
1097 |
|
1098 |
-
#: admin/
|
1099 |
-
msgid "
|
1100 |
-
msgstr "
|
1101 |
|
1102 |
-
#: admin/
|
1103 |
-
msgid "
|
1104 |
-
msgstr "
|
1105 |
|
1106 |
-
#: admin/
|
1107 |
-
|
1108 |
-
|
|
|
1109 |
|
1110 |
-
#: admin/
|
1111 |
-
msgid "
|
1112 |
-
msgstr "
|
1113 |
|
1114 |
-
#: admin/
|
1115 |
-
msgid "
|
1116 |
-
msgstr "
|
|
|
|
|
1117 |
|
1118 |
-
#: admin/
|
1119 |
-
msgid "
|
1120 |
-
msgstr "
|
1121 |
|
1122 |
-
#: admin/
|
1123 |
-
msgid "
|
1124 |
-
|
|
|
|
|
|
|
|
|
|
|
1125 |
|
1126 |
-
#: admin/
|
1127 |
-
msgid "
|
1128 |
-
msgstr "
|
1129 |
|
1130 |
-
#: admin/metaboxes/view-options.php:
|
1131 |
-
msgid "
|
1132 |
-
msgstr "
|
1133 |
|
1134 |
-
#: admin/
|
1135 |
-
msgid "
|
1136 |
-
msgstr "
|
1137 |
|
1138 |
-
#: admin/metaboxes/
|
1139 |
-
msgid "
|
1140 |
-
msgstr "
|
1141 |
|
1142 |
-
#: admin/
|
1143 |
-
msgid "
|
1144 |
-
msgstr "
|
1145 |
|
1146 |
-
#: admin/
|
1147 |
-
|
1148 |
-
|
1149 |
-
|
|
|
|
|
|
|
1150 |
|
1151 |
-
#: admin/
|
1152 |
-
|
1153 |
-
|
1154 |
-
msgstr "Минута(ы)"
|
1155 |
|
1156 |
-
#: admin/
|
1157 |
-
|
1158 |
-
|
1159 |
-
msgstr "Час(ов)"
|
1160 |
|
1161 |
-
#: admin/
|
1162 |
-
|
1163 |
-
|
1164 |
-
msgstr "День/дней"
|
1165 |
|
1166 |
-
#: admin/
|
1167 |
-
|
1168 |
-
|
1169 |
-
msgstr "Неделя(и)"
|
1170 |
|
1171 |
-
#: admin/
|
1172 |
-
|
1173 |
-
|
1174 |
-
msgstr "Месяц(ев)"
|
1175 |
|
1176 |
-
#: admin/
|
1177 |
-
|
1178 |
-
|
1179 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1180 |
|
1181 |
-
#:
|
1182 |
-
msgid "
|
1183 |
-
msgstr "
|
|
|
|
|
|
|
|
|
1184 |
|
1185 |
#: admin/metaboxes/view-options.php:469
|
1186 |
msgid "relative"
|
1187 |
msgstr "относительно"
|
1188 |
|
1189 |
-
#: admin/
|
1190 |
-
msgid "
|
1191 |
-
msgstr "
|
1192 |
|
1193 |
-
#: admin/pages/
|
1194 |
-
msgid "
|
1195 |
-
|
|
|
|
|
1196 |
|
1197 |
-
#: admin/
|
1198 |
-
msgid "
|
1199 |
-
msgstr "
|
1200 |
|
1201 |
-
#: admin/
|
1202 |
-
msgid "
|
1203 |
-
msgstr "
|
1204 |
|
1205 |
-
#: admin/
|
1206 |
-
msgid "
|
1207 |
-
msgstr "
|
1208 |
|
1209 |
-
#: admin/
|
1210 |
-
msgid "
|
1211 |
-
msgstr "
|
1212 |
|
1213 |
-
#:
|
1214 |
-
msgid "
|
1215 |
-
msgstr "
|
1216 |
|
1217 |
-
#: admin/
|
1218 |
-
|
1219 |
-
|
1220 |
-
msgid_plural "Successfully imported <strong>%1$d</strong> snippets."
|
1221 |
-
msgstr[0] "<strong>%1$d</strong> сниппет успешно импортирован."
|
1222 |
-
msgstr[1] "<strong>%1$d</strong> сниппета успешно импортированы."
|
1223 |
-
msgstr[2] "<strong>%1$d</strong> сниппетов успешно импортировано."
|
1224 |
|
1225 |
-
#: admin/
|
1226 |
-
|
1227 |
-
|
1228 |
-
"To import more then one snippet at a time, you need to purchase <a "
|
1229 |
-
"href=\"%s\">Woody snippets PRO</a>"
|
1230 |
-
msgstr ""
|
1231 |
-
"Для того, чтобы импортировать более одного сниппета за раз, необходимо "
|
1232 |
-
"приобрести <a href=\"%s\">Woody snippets PRO</a>"
|
1233 |
|
1234 |
-
#: admin/
|
1235 |
-
msgid "
|
1236 |
-
msgstr "
|
1237 |
|
1238 |
-
#: admin/
|
1239 |
-
msgid "
|
1240 |
-
msgstr "
|
1241 |
|
1242 |
-
#: admin/pages/
|
1243 |
-
msgid "
|
1244 |
-
msgstr "
|
1245 |
|
1246 |
-
#: admin/
|
1247 |
-
msgid ""
|
1248 |
-
"
|
1249 |
-
"imported."
|
1250 |
-
msgstr ""
|
1251 |
-
"Загрузите один или несколько экспорт-файлов PHP сниппетов и они будут "
|
1252 |
-
"импортированы."
|
1253 |
|
1254 |
-
#: admin/
|
1255 |
-
msgid "
|
1256 |
-
msgstr "
|
1257 |
|
1258 |
-
#: admin/
|
1259 |
-
|
1260 |
-
|
1261 |
-
|
1262 |
-
msgstr ""
|
1263 |
-
"Что делать с импортированным файлом, если сниппет с таким именем уже "
|
1264 |
-
"существует?"
|
1265 |
|
1266 |
-
#: admin/
|
1267 |
-
msgid ""
|
1268 |
-
"
|
1269 |
-
"and leave all existing snippets unchanged."
|
1270 |
-
msgstr ""
|
1271 |
-
"Игнорировать повторяющиеся сниппеты. Импортировать все сниппеты без замены "
|
1272 |
-
"существующих."
|
1273 |
|
1274 |
-
#: admin/
|
1275 |
-
msgid ""
|
1276 |
-
"
|
1277 |
-
msgstr ""
|
1278 |
-
"Заменять существующие сниппеты импортированными файлами с тем же именем"
|
1279 |
|
1280 |
-
#: admin/
|
1281 |
-
msgid ""
|
1282 |
-
"
|
1283 |
-
msgstr ""
|
1284 |
-
"Не импортировать повторяющиеся сниппеты и не заменять существующие сниппеты."
|
1285 |
|
1286 |
-
#: admin/pages/
|
1287 |
-
msgid "
|
1288 |
-
msgstr "
|
1289 |
|
1290 |
-
#: admin/
|
1291 |
-
msgid ""
|
1292 |
-
|
1293 |
-
"files and import\"."
|
1294 |
-
msgstr ""
|
1295 |
-
"Выберите один или несколько PHP сниппетов (.json) для загрузки, а затем "
|
1296 |
-
"нажмите \"Загрузить файлы и импортировать\"."
|
1297 |
|
1298 |
-
#: admin/
|
1299 |
-
msgid "
|
1300 |
-
msgstr "
|
1301 |
|
1302 |
-
|
1303 |
-
|
1304 |
-
|
1305 |
-
msgid "(Maximum size: %s)"
|
1306 |
-
msgstr "(Максимальный размер: %s)"
|
1307 |
|
1308 |
-
#:
|
1309 |
-
msgid "
|
1310 |
-
msgstr "
|
1311 |
|
1312 |
-
#:
|
1313 |
-
msgid "
|
1314 |
-
msgstr "
|
1315 |
|
1316 |
-
#: admin/
|
1317 |
-
msgid ""
|
1318 |
-
"
|
1319 |
-
"advanced settings of snippet segmentation by types, tags, or activity. If "
|
1320 |
-
"you value your time use our premium plugin and export all of your snippets "
|
1321 |
-
"in one click."
|
1322 |
-
msgstr ""
|
1323 |
-
"Массовый экспорт позволяет экспортировать все сниппеты в один клик. Массовый "
|
1324 |
-
"экспорт имеет расширенные настройки сегментации сниппетов по типам, тегам "
|
1325 |
-
"или активности. Если вы цените свое время, используйте наш премиум-плагин и "
|
1326 |
-
"экспортируйте все свои сниппеты в один клик."
|
1327 |
|
1328 |
-
#: admin/
|
1329 |
-
msgid "
|
1330 |
-
msgstr "
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1331 |
|
1332 |
-
#:
|
1333 |
-
|
1334 |
-
|
1335 |
-
msgstr "Активировать %s"
|
1336 |
|
1337 |
-
#:
|
1338 |
-
|
1339 |
-
|
1340 |
-
msgstr "Обновить до премиум за $%s"
|
1341 |
|
1342 |
-
#:
|
1343 |
-
|
1344 |
-
|
1345 |
-
msgstr "Ваша текущая лицензия для %1$s:"
|
1346 |
|
1347 |
-
#:
|
1348 |
-
msgid "
|
1349 |
-
msgstr "
|
1350 |
|
1351 |
-
#:
|
1352 |
-
msgid "
|
1353 |
-
msgstr "
|
1354 |
|
1355 |
-
#:
|
1356 |
msgid ""
|
1357 |
-
"
|
1358 |
-
"
|
1359 |
-
"only free edition of the plugin. Premium versions are distributed with other "
|
1360 |
-
"type of a license."
|
1361 |
msgstr ""
|
1362 |
-
"
|
1363 |
-
"
|
1364 |
-
"эта лицензия относиться только к бесплатной редакции плагина. Премимум "
|
1365 |
-
"версии плагина распространяются в рамках другой лицензии."
|
1366 |
|
1367 |
-
#:
|
1368 |
msgid ""
|
1369 |
-
"
|
1370 |
-
"
|
1371 |
-
"class=\"winp-control-btn\" href=\"#\">cancel subscription</a>"
|
1372 |
msgstr ""
|
1373 |
-
"
|
1374 |
-
"
|
1375 |
-
"class=\"winp-control-btn\" href=\"#\">отменить подписку</a>"
|
1376 |
|
1377 |
-
#:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1378 |
msgid ""
|
1379 |
-
"
|
1380 |
-
"
|
1381 |
msgstr ""
|
1382 |
-
"
|
1383 |
-
"
|
1384 |
|
1385 |
-
#:
|
1386 |
-
msgid "
|
1387 |
-
|
|
|
|
|
|
|
|
|
1388 |
|
1389 |
-
#:
|
1390 |
-
msgid "
|
1391 |
-
msgstr "
|
1392 |
|
1393 |
-
#:
|
1394 |
-
msgid "
|
1395 |
-
msgstr "
|
1396 |
|
1397 |
-
#:
|
1398 |
-
msgid "
|
1399 |
-
msgstr "
|
1400 |
|
1401 |
-
#:
|
1402 |
-
msgid "
|
1403 |
-
msgstr "
|
1404 |
|
1405 |
-
#:
|
1406 |
-
msgid "
|
1407 |
-
msgstr "
|
1408 |
|
1409 |
-
#: admin/
|
1410 |
-
msgid "
|
1411 |
-
msgstr "
|
1412 |
|
1413 |
-
#: admin/pages/
|
1414 |
-
|
1415 |
-
|
|
|
1416 |
|
1417 |
-
#: admin/pages/
|
1418 |
-
msgid "
|
1419 |
-
msgstr "
|
1420 |
|
1421 |
-
#: admin/
|
1422 |
-
msgid "
|
1423 |
-
msgstr "
|
1424 |
|
1425 |
-
#: admin/
|
1426 |
-
msgid "
|
1427 |
-
msgstr "
|
|
|
|
|
|
|
|
|
1428 |
|
1429 |
#: admin/pages/license.php:330
|
1430 |
msgid "Submit Key"
|
1431 |
msgstr "Отправить"
|
1432 |
|
1433 |
-
#: admin/
|
1434 |
-
|
1435 |
-
|
1436 |
-
"<a href=\"%s\" target=\"_blank\" rel=\"noopener\">Lean more</a> about the "
|
1437 |
-
"premium version and get the license key to activate it now!"
|
1438 |
-
msgstr ""
|
1439 |
-
"<a href=\"%s\" target=\"_blank\" rel=\"noopener\">Узнать больше</a> о "
|
1440 |
-
"премиум версии и получить ключ лицензии прямо сейчас!"
|
1441 |
|
1442 |
-
#: admin/pages/
|
1443 |
#, php-format
|
1444 |
-
msgid ""
|
1445 |
-
"
|
1446 |
-
"
|
1447 |
-
"
|
1448 |
-
msgstr ""
|
1449 |
-
"Не можете найти свой ключ? Перейдите на <a href=\"%s\" target=\"_blank\" "
|
1450 |
-
"rel=\"noopener\">эту страницу</a> и авторизуйтесь используя свой email, на "
|
1451 |
-
"который вы делали покупку."
|
1452 |
-
|
1453 |
-
#: admin/pages/new-item.php:30 admin/types/snippets-post-types.php:79
|
1454 |
-
msgid "+ Add snippet"
|
1455 |
-
msgstr "+ Добавить сниппет"
|
1456 |
-
|
1457 |
-
#: admin/pages/new-item.php:54
|
1458 |
-
msgid "PHP snippet"
|
1459 |
-
msgstr "PHP сниппет"
|
1460 |
-
|
1461 |
-
#: admin/pages/new-item.php:56
|
1462 |
-
msgid ""
|
1463 |
-
"Used for inserting php code. Can be used for registering functions, hooks, "
|
1464 |
-
"global variables, printing text. Virtual functions.php"
|
1465 |
-
msgstr ""
|
1466 |
-
"Используется для добавления PHP кода. Подходит для регистрирования функций, "
|
1467 |
-
"хуков, глобальных переменных, вывода текста. Виртуальный functions.php"
|
1468 |
-
|
1469 |
-
#: admin/pages/new-item.php:61
|
1470 |
-
msgid ""
|
1471 |
-
"Used for inserting formatted text. Can be used for inserting quotes, "
|
1472 |
-
"paragraphs, shortcodes from other plugins, tables, media files."
|
1473 |
-
msgstr ""
|
1474 |
-
"Используется для добавления форматированного текста. Подходит для размещения "
|
1475 |
-
"цитат, абзацев, шорткодов других плагинов, таблиц и медиафайлов."
|
1476 |
-
|
1477 |
-
#: admin/pages/new-item.php:66
|
1478 |
-
msgid ""
|
1479 |
-
"Used for inserting php, html, js & css code. Can be used for inserting ads, "
|
1480 |
-
"analytics, embeds & other complex scenarios."
|
1481 |
-
msgstr ""
|
1482 |
-
"Используется для добавления PHP, HTML, JS и CSS кода. Подходит для "
|
1483 |
-
"размещения рекламы, аналитики, встроенных и сложных сценариев"
|
1484 |
|
1485 |
-
#: admin/pages/
|
1486 |
-
msgid "
|
1487 |
-
msgstr "
|
1488 |
|
1489 |
-
#: admin/pages/
|
1490 |
-
msgid "
|
1491 |
-
msgstr "
|
1492 |
|
1493 |
-
#: admin/
|
1494 |
-
msgid ""
|
1495 |
-
"
|
1496 |
-
"& other complex scenarios."
|
1497 |
-
msgstr ""
|
1498 |
-
"Используется для вставки JS кода. Также может использоваться для вставки "
|
1499 |
-
"рекламы, аналитики, вставок & других сложных сценариев."
|
1500 |
|
1501 |
-
#: admin/pages/
|
1502 |
-
msgid "
|
1503 |
-
msgstr "
|
1504 |
|
1505 |
-
#: admin/
|
1506 |
-
msgid "
|
1507 |
-
msgstr "
|
1508 |
|
1509 |
-
#: admin/
|
1510 |
-
|
1511 |
-
|
1512 |
-
|
1513 |
-
msgstr ""
|
1514 |
-
"Используется для добавления рекламного сниппета. Подходит для размещения "
|
1515 |
-
"цитат, абзацев, шорткодов других плагинов, таблиц и медиафайлов."
|
1516 |
|
1517 |
-
#: admin/
|
1518 |
-
msgid "
|
1519 |
-
msgstr "
|
1520 |
|
1521 |
-
#: admin/
|
1522 |
-
msgid "
|
1523 |
-
msgstr "
|
1524 |
|
1525 |
-
#: admin/
|
1526 |
-
msgid "
|
1527 |
-
msgstr "
|
1528 |
|
1529 |
-
#: admin/
|
1530 |
-
msgid "
|
1531 |
-
msgstr "
|
1532 |
|
1533 |
-
#: admin/
|
1534 |
-
|
1535 |
-
|
|
|
1536 |
|
1537 |
-
#: admin/
|
1538 |
-
|
1539 |
-
|
|
|
1540 |
|
1541 |
-
#: admin/
|
|
|
1542 |
msgid ""
|
1543 |
-
"
|
1544 |
-
"
|
1545 |
msgstr ""
|
1546 |
-
"
|
1547 |
-
"
|
1548 |
-
|
1549 |
-
#: admin/pages/settings.php:81
|
1550 |
-
msgid "Keep the HTML entities, don't convert to its character"
|
1551 |
-
msgstr "Сохранять HTML-сущности, не конвертировать их в свой символ"
|
1552 |
|
1553 |
-
#: admin/
|
1554 |
msgid ""
|
1555 |
-
"
|
1556 |
-
"
|
1557 |
-
"for the previous example), then you might want to enable this option."
|
1558 |
msgstr ""
|
1559 |
-
"
|
1560 |
-
"
|
1561 |
-
"для предыдущего примера), то вы можете включить эту опцию."
|
1562 |
|
1563 |
-
#: admin/
|
1564 |
-
msgid "
|
1565 |
-
msgstr "
|
1566 |
|
1567 |
-
#: admin/
|
1568 |
-
msgid "
|
1569 |
-
msgstr "
|
1570 |
|
1571 |
-
#: admin/
|
1572 |
-
msgid "
|
1573 |
-
msgstr "
|
1574 |
|
1575 |
-
#: admin/pages/settings.php:
|
1576 |
-
msgid ""
|
1577 |
-
"When the plugin is deleted from the Plugins menu, also delete all snippets "
|
1578 |
-
"and plugin settings."
|
1579 |
msgstr ""
|
1580 |
-
"
|
1581 |
-
"
|
1582 |
-
|
1583 |
-
#: admin/pages/settings.php:108
|
1584 |
-
msgid "Support old shortcodes [insert_php]"
|
1585 |
-
msgstr "Поддержка старых шорткодов [insert_php]"
|
1586 |
|
1587 |
-
#: admin/pages/settings.php:
|
1588 |
msgid ""
|
1589 |
-
"
|
1590 |
-
"
|
1591 |
-
"type of shortcodes by default, as their use is not safe. If you still want "
|
1592 |
-
"to execute your php code via [insert_php][/insert_php] shortcodes, you can "
|
1593 |
-
"enable this option."
|
1594 |
msgstr ""
|
1595 |
-
"
|
1596 |
-
"
|
1597 |
-
"
|
1598 |
-
"все еще хотите выполнить свой php-код с помощью коротких кодов [insert_php]"
|
1599 |
-
"[/insert_php], вы можете включить эту опцию."
|
1600 |
-
|
1601 |
-
#: admin/pages/settings.php:125
|
1602 |
-
msgid "Code style"
|
1603 |
-
msgstr "Стиль кода"
|
1604 |
|
1605 |
-
#: admin/pages/settings.php:
|
1606 |
msgid ""
|
1607 |
-
"The optional feature.
|
1608 |
-
"
|
1609 |
msgstr ""
|
1610 |
-
"Не обязательная опция.
|
1611 |
-
"
|
1612 |
-
|
1613 |
-
#: admin/pages/settings.php:135
|
1614 |
-
msgid "Indent With Tabs"
|
1615 |
-
msgstr "Отступ через Tab"
|
1616 |
|
1617 |
-
#: admin/pages/settings.php:
|
1618 |
msgid ""
|
1619 |
-
"The optional feature.
|
1620 |
-
"
|
1621 |
msgstr ""
|
1622 |
-
"Не обязательная опция.
|
1623 |
-
"
|
1624 |
-
|
1625 |
-
#: admin/pages/settings.php:144
|
1626 |
-
msgid "Tab Size"
|
1627 |
-
msgstr "Размер табуляции"
|
1628 |
|
1629 |
#: admin/pages/settings.php:146
|
1630 |
msgid ""
|
@@ -1634,10 +1617,6 @@ msgstr ""
|
|
1634 |
"Не обязательная опция. Клавиша Tab в редакторе кода увеличивает левый отступ "
|
1635 |
"на N-количество пробелов. Вы сами задаете число N."
|
1636 |
|
1637 |
-
#: admin/pages/settings.php:153
|
1638 |
-
msgid "Indent Unit"
|
1639 |
-
msgstr "Блок отступа"
|
1640 |
-
|
1641 |
#: admin/pages/settings.php:155
|
1642 |
msgid ""
|
1643 |
"The optional feature. The indent for code lines (units). Example: select a "
|
@@ -1648,98 +1627,229 @@ msgstr ""
|
|
1648 |
"сниппет, нажмите Tab. Левый отступ выделенного кода увеличится на N-"
|
1649 |
"количество пробелов. Вы сами задаете число N."
|
1650 |
|
1651 |
-
#: admin/pages/settings.php:
|
1652 |
-
msgid "
|
1653 |
-
|
|
|
|
|
|
|
|
|
1654 |
|
1655 |
-
#: admin/pages/settings.php:
|
1656 |
msgid ""
|
1657 |
-
"The optional feature.
|
1658 |
-
"
|
1659 |
msgstr ""
|
1660 |
-
"Не обязательная опция.
|
1661 |
-
"
|
1662 |
|
1663 |
-
#: admin/pages/settings.php:
|
1664 |
-
msgid "
|
1665 |
-
msgstr "
|
1666 |
|
1667 |
-
#: admin/
|
1668 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1669 |
msgstr ""
|
1670 |
-
"
|
1671 |
-
"
|
1672 |
|
1673 |
-
#: admin/pages/
|
1674 |
-
msgid "
|
1675 |
-
msgstr "
|
1676 |
|
1677 |
-
#: admin/pages/
|
1678 |
msgid ""
|
1679 |
-
"
|
1680 |
-
"
|
1681 |
msgstr ""
|
1682 |
-
"
|
1683 |
-
"
|
1684 |
|
1685 |
-
#: admin/pages/
|
1686 |
-
msgid "
|
1687 |
-
|
|
|
|
|
|
|
|
|
1688 |
|
1689 |
-
#: admin/pages/
|
1690 |
msgid ""
|
1691 |
-
"
|
1692 |
-
"
|
1693 |
msgstr ""
|
1694 |
-
"
|
1695 |
-
"
|
1696 |
-
"читабельность."
|
1697 |
|
1698 |
-
#: admin/
|
1699 |
-
msgid "
|
1700 |
-
msgstr "
|
1701 |
|
1702 |
-
#: admin/
|
1703 |
-
msgid "
|
1704 |
-
msgstr "
|
1705 |
|
1706 |
-
#: admin/pages/
|
1707 |
-
|
1708 |
-
|
1709 |
-
msgstr "Библиотека сниппетов"
|
1710 |
|
1711 |
-
#: admin/
|
1712 |
-
msgid "
|
1713 |
-
msgstr "
|
1714 |
|
1715 |
-
#: admin/
|
1716 |
-
msgid "
|
1717 |
-
msgstr "
|
1718 |
|
1719 |
-
#: admin/
|
1720 |
-
msgid "
|
1721 |
-
msgstr "
|
1722 |
|
1723 |
-
#: admin/
|
1724 |
-
msgid "
|
1725 |
-
|
|
|
|
|
|
|
|
|
|
|
1726 |
|
1727 |
-
#: admin/
|
|
|
|
|
|
|
|
|
|
|
1728 |
msgid ""
|
1729 |
-
"
|
1730 |
-
"
|
1731 |
-
"to implement your ideas faster without wasting time on searching and "
|
1732 |
-
"studying PHP code. The feature is available in the premium version only."
|
1733 |
msgstr ""
|
1734 |
-
"
|
1735 |
-
"
|
1736 |
-
"проектах. Заготовки сниппетов позволяют быстрее реализовать ваши идеи, не "
|
1737 |
-
"прибегая к поиску и изучению php кода. Доступ к этому разделу можно получить "
|
1738 |
-
"только после покупки премиум версии."
|
1739 |
|
1740 |
-
#: admin/pages/
|
1741 |
-
msgid "
|
1742 |
-
msgstr "
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1743 |
|
1744 |
#: admin/pages/snippet-library.php:103
|
1745 |
msgid ""
|
@@ -1755,91 +1865,109 @@ msgstr ""
|
|
1755 |
"необходимости импорта/экспорта. Доступ к этому разделу можно получить "
|
1756 |
"только после покупки премиум версии."
|
1757 |
|
1758 |
-
#: admin/
|
1759 |
-
msgid "
|
1760 |
-
msgstr "
|
1761 |
|
1762 |
-
#: admin/
|
1763 |
-
msgid "
|
1764 |
-
msgstr "
|
1765 |
|
1766 |
-
#: admin/
|
1767 |
-
msgid "
|
1768 |
-
msgstr "
|
1769 |
|
1770 |
-
#: admin/
|
1771 |
-
msgid "
|
1772 |
-
msgstr "
|
1773 |
|
1774 |
-
|
1775 |
-
msgid "
|
1776 |
-
msgstr "
|
1777 |
|
1778 |
-
#: admin/
|
1779 |
-
msgid "
|
1780 |
-
msgstr "
|
1781 |
|
1782 |
-
#: admin/
|
1783 |
-
msgid "
|
1784 |
-
msgstr "
|
1785 |
|
1786 |
-
#: admin/
|
1787 |
-
msgid "
|
1788 |
-
msgstr "
|
1789 |
|
1790 |
-
|
1791 |
-
msgid "
|
1792 |
-
|
|
|
1793 |
|
1794 |
-
#: admin/
|
1795 |
-
|
1796 |
-
|
|
|
|
|
1797 |
|
1798 |
-
#: admin/
|
1799 |
-
msgid "
|
1800 |
-
msgstr "
|
1801 |
|
1802 |
-
#:
|
1803 |
-
msgid "
|
1804 |
-
msgstr "
|
1805 |
|
1806 |
-
#:
|
1807 |
-
#:
|
1808 |
-
|
1809 |
-
|
1810 |
-
#: includes/shortcodes/shortcode-universal.php:26
|
1811 |
-
msgid "]: PHP snippets error (not passed the snippet ID)"
|
1812 |
-
msgstr "]: Ошибка PHP снипета (ID сниппета не было передано)"
|
1813 |
|
1814 |
-
#:
|
1815 |
-
msgid "
|
1816 |
-
|
|
|
|
|
|
|
|
|
1817 |
|
1818 |
-
|
1819 |
-
|
1820 |
-
|
|
|
1821 |
|
1822 |
-
|
1823 |
msgid ""
|
1824 |
-
"
|
1825 |
-
"
|
|
|
1826 |
msgstr ""
|
1827 |
-
"
|
1828 |
-
"
|
1829 |
-
"
|
1830 |
|
1831 |
-
|
1832 |
-
msgid "
|
1833 |
-
msgstr "
|
1834 |
|
1835 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1836 |
msgid ""
|
1837 |
-
"
|
1838 |
-
"
|
1839 |
msgstr ""
|
1840 |
-
"
|
1841 |
-
"
|
1842 |
|
1843 |
-
|
1844 |
-
msgid "
|
1845 |
-
|
|
|
|
|
|
1 |
+
# Translation of Plugins - Woody Code Snippets – insert any code, text, or ads via using conditions - Development (trunk) in Russian
|
2 |
+
# This file is distributed under the same license as the Plugins - Woody Code Snippets – insert any code, text, or ads via using conditions - Development (trunk) package.
|
3 |
msgid ""
|
4 |
msgstr ""
|
5 |
+
"PO-Revision-Date: 2021-02-12 05:58+0000\n"
|
6 |
"MIME-Version: 1.0\n"
|
7 |
"Content-Type: text/plain; charset=UTF-8\n"
|
8 |
"Content-Transfer-Encoding: 8bit\n"
|
10 |
"n%10<=4 &&(n%100<10||n%100 >= 20)? 1 : 2);\n"
|
11 |
"X-Generator: Loco https://localise.biz/\n"
|
12 |
"Language: ru_RU\n"
|
13 |
+
"Project-Id-Version: Plugins - Woody Code Snippets – insert any code, "
|
14 |
"text, or ads via using conditions - Development (trunk)\n"
|
15 |
"POT-Creation-Date: 2020-08-07 08:44+0000\n"
|
16 |
"Last-Translator: \n"
|
17 |
"Language-Team: Русский\n"
|
18 |
"Report-Msgid-Bugs-To: \n"
|
19 |
+
"X-Loco-Version: 2.5.0; wp-5.6.1"
|
20 |
|
21 |
+
#. %s: size in bytes
|
22 |
+
#: admin/pages/import.php:157
|
23 |
+
#, php-format
|
24 |
+
msgid "(Maximum size: %s)"
|
25 |
+
msgstr "(Максимальный размер: %s)"
|
26 |
|
27 |
+
#: admin/ajax/ajax.php:137
|
28 |
+
msgid "(not active)"
|
29 |
+
msgstr "(не активирован)"
|
30 |
|
31 |
+
#: admin/pages/new-item.php:30 admin/types/snippets-post-types.php:79
|
32 |
+
msgid "+ Add snippet"
|
33 |
+
msgstr "+ Добавить сниппет"
|
|
|
|
|
|
|
|
|
|
|
|
|
34 |
|
35 |
+
#: admin/metaboxes/view-options.php:433
|
36 |
+
msgid ", younger than"
|
37 |
+
msgstr ", младше"
|
38 |
|
39 |
+
#: admin/ajax/ajax.php:158
|
40 |
+
msgid "404 Page"
|
41 |
+
msgstr "404 Page"
|
42 |
+
|
43 |
+
#: admin/pages/license.php:338
|
44 |
+
#, php-format
|
45 |
msgid ""
|
46 |
+
"<a href=\"%s\" target=\"_blank\" rel=\"noopener\">Lean more</a> about the "
|
47 |
+
"premium version and get the license key to activate it now!"
|
48 |
msgstr ""
|
49 |
+
"<a href=\"%s\" target=\"_blank\" rel=\"noopener\">Узнать больше</a> о "
|
50 |
+
"премиум версии и получить ключ лицензии прямо сейчас!"
|
51 |
|
52 |
+
#: admin/metaboxes/view-options.php:292
|
53 |
+
msgid "[Delayed Lock]: Show the locker only in posts older than 5 days"
|
54 |
+
msgstr ""
|
55 |
+
"[Отложенная блокировка]: Показывать блокировку только для записей, старше 5 "
|
56 |
+
"дней"
|
57 |
|
58 |
+
#: admin/metaboxes/view-options.php:262
|
59 |
+
msgid "[Hide For Members]: Show the locker only for guests"
|
60 |
+
msgstr "[Скрыть для пользователей]: Показывать блокировку только для гостей"
|
61 |
|
62 |
+
#: admin/metaboxes/view-options.php:277
|
63 |
+
msgid "[Hide On Mobile]: Hide the locker on mobile devices"
|
64 |
+
msgstr "[Скрыть на мобильном]; Скрыть блокировку на мобильных устройствах"
|
65 |
|
66 |
+
#: includes/shortcodes/shortcode-ad.php:26
|
67 |
+
msgid "]: Advertisement snippets error (not passed the snippet ID)"
|
68 |
+
msgstr "]: Ошибка Рекламного сниппета (ID сниппета не было передано)"
|
69 |
|
70 |
+
#: includes/shortcodes/shortcode-css.php:26
|
71 |
+
#: includes/shortcodes/shortcode-html.php:26
|
72 |
+
#: includes/shortcodes/shortcode-js.php:26
|
73 |
+
#: includes/shortcodes/shortcode-php.php:26
|
74 |
+
#: includes/shortcodes/shortcode-universal.php:26
|
75 |
+
msgid "]: PHP snippets error (not passed the snippet ID)"
|
76 |
+
msgstr "]: Ошибка PHP снипета (ID сниппета не было передано)"
|
77 |
|
78 |
+
#: includes/shortcodes/shortcode-text.php:26
|
79 |
+
msgid "]: Text snippets error (not passed the snippet ID)"
|
80 |
+
msgstr "]: Ошибка текстового снипета (ID сниппета не было передано)"
|
81 |
|
82 |
+
#: admin/metaboxes/base-options.php:273
|
83 |
+
msgid ""
|
84 |
+
"A copy of your snippet and its settings are stored on our remote server. You "
|
85 |
+
"can access it from any website where you’ve activated the plugin’s premium "
|
86 |
+
"version. If you have our plugin on multiple websites or work in a team, it’s "
|
87 |
+
"quite handy to use templates. The feature is available in the premium "
|
88 |
+
"version only."
|
89 |
+
msgstr ""
|
90 |
+
"Копия вашего сниппета и его настройки будут сохранены на нашем удаленном "
|
91 |
+
"сервере, вы сможете получить к нему доступ с любого сайта, где у вас "
|
92 |
+
"активирована премиум версия плагина. Использования шаблонов очень удобно, "
|
93 |
+
"если вы используете наш плагин на большом количестве сайтов или работаете в "
|
94 |
+
"команде. Возможность сохранения шаблонов сниппетов доступна только в премиум "
|
95 |
+
"версии."
|
96 |
|
97 |
+
#: admin/metaboxes/view-options.php:143
|
98 |
+
msgid "A post type of the current page."
|
99 |
+
msgstr "Тип записи текущей страницы"
|
100 |
|
101 |
+
#: admin/metaboxes/view-options.php:133
|
102 |
+
msgid "A referrer URL which has brought a user to the current page."
|
103 |
+
msgstr "URL-реферер, который привел пользователя на текущую страницу"
|
104 |
|
105 |
+
#: admin/metaboxes/view-options.php:92
|
106 |
+
msgid ""
|
107 |
+
"A role of the user who views your website. The role \"guest\" is applied to "
|
108 |
+
"unregistered users."
|
109 |
+
msgstr ""
|
110 |
+
"Роль пользователя, просматривающего ваш сайт. Для незарегистрированных "
|
111 |
+
"пользователей это \"гость\"."
|
112 |
|
113 |
+
#: admin/metaboxes/view-options.php:163
|
114 |
+
msgid "A taxonomy of the current page."
|
115 |
+
msgstr "Таксономия выбранной страницы"
|
116 |
|
117 |
+
#: admin/metaboxes/view-options.php:153
|
118 |
+
msgid "A taxonomy page."
|
119 |
+
msgstr "Страница с постами таксономии"
|
120 |
|
121 |
+
#: admin/pages/about.php:29
|
122 |
+
msgid "About"
|
123 |
+
msgstr "О продукте"
|
124 |
|
125 |
+
#: admin/metaboxes/view-options.php:471
|
126 |
+
msgid "absolute"
|
127 |
+
msgstr "абсолютно"
|
128 |
|
129 |
+
#: admin/metaboxes/revisions.php:68
|
130 |
+
msgid "Access denied"
|
131 |
+
msgstr "Доступ запрещен"
|
132 |
|
133 |
+
#: admin/includes/class.actions.snippet.php:113
|
134 |
+
msgid "Activate"
|
135 |
+
msgstr "Активировать"
|
136 |
|
137 |
+
#: admin/pages/license.php:215
|
138 |
+
#, php-format
|
139 |
+
msgid "Activate %s"
|
140 |
+
msgstr "Активировать %s"
|
141 |
|
142 |
+
#: admin/pages/settings.php:72
|
143 |
+
msgid "Activate by Default"
|
144 |
+
msgstr "Активировать по умолч."
|
145 |
|
146 |
+
#: admin/pages/license.php:288
|
147 |
+
msgid "active sites"
|
148 |
+
msgstr "активировано"
|
149 |
|
150 |
+
#: admin/includes/class.common.snippet.php:135
|
151 |
+
#: admin/includes/class.common.snippet.php:190
|
152 |
+
msgid "Add"
|
153 |
+
msgstr "Добавить"
|
154 |
|
155 |
+
#: includes/class.helpers.php:429
|
156 |
+
msgid "Add Facebook Pixel to the Order success page"
|
157 |
+
msgstr "Добавить Facebook Pixel на страницу успешного заказа"
|
158 |
|
159 |
+
#: includes/class.helpers.php:434
|
160 |
+
msgid "Add Facebook Pixel to the Order success page."
|
161 |
+
msgstr "Добавляет Facebook Pixel на страницу успешного заказа"
|
162 |
|
163 |
+
#: admin/types/snippets-post-types.php:80
|
164 |
+
msgid "Add new"
|
165 |
+
msgstr "Добавить новый"
|
166 |
|
167 |
+
#: admin/metaboxes/view-options.php:183
|
168 |
+
msgid "Addblocker"
|
169 |
+
msgstr "Addblocker"
|
170 |
|
171 |
+
#: admin/includes/class.common.snippet.php:99
|
172 |
+
#: admin/includes/class.common.snippet.php:157 admin/pages/new-item.php:84
|
173 |
+
msgid "Advertisement snippet"
|
174 |
+
msgstr "Рекламный сниппет"
|
175 |
|
176 |
+
#: includes/class.insertion.locations.php:201
|
177 |
+
msgid "After a product excerpt"
|
178 |
+
msgstr "После описания товара"
|
179 |
|
180 |
+
#: includes/class.insertion.locations.php:193
|
181 |
+
msgid "After a product price"
|
182 |
+
msgstr "После цены товара"
|
183 |
|
184 |
+
#: includes/class.insertion.locations.php:185
|
185 |
+
msgid "After a product title"
|
186 |
+
msgstr "После заголовка товара"
|
187 |
|
188 |
+
#: includes/class.insertion.locations.php:161
|
189 |
+
msgid "After a single product"
|
190 |
+
msgstr "После товара"
|
191 |
|
192 |
+
#: includes/class.insertion.locations.php:177
|
193 |
+
msgid "After a single product summary"
|
194 |
+
msgstr "После информации о товаре"
|
195 |
|
196 |
+
#: includes/class.insertion.locations.php:127
|
197 |
+
msgid "After post"
|
198 |
+
msgstr "После записи"
|
199 |
|
200 |
+
#: includes/class.insertion.locations.php:145
|
201 |
+
msgid "After the list of products"
|
202 |
+
msgstr "После списка товаров"
|
203 |
+
|
204 |
+
#: admin/ajax/ajax.php:152
|
205 |
+
msgid "All Archives"
|
206 |
+
msgstr "Все архивы"
|
207 |
|
208 |
+
#: admin/ajax/ajax.php:192
|
209 |
msgid "All Categories Archive"
|
210 |
msgstr "Архив всех рубрик"
|
211 |
|
212 |
+
#: admin/ajax/ajax.php:202
|
|
|
|
|
|
|
|
|
213 |
msgid "All Pages"
|
214 |
msgstr "Все страницы"
|
215 |
|
216 |
+
#: admin/ajax/ajax.php:206
|
217 |
msgid "All Pages Archive"
|
218 |
msgstr "Архив всех страниц"
|
219 |
|
220 |
+
#: admin/ajax/ajax.php:184
|
221 |
+
msgid "All Posts"
|
222 |
+
msgstr "Все записи"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
223 |
|
224 |
+
#: admin/ajax/ajax.php:188
|
225 |
+
msgid "All Posts Archive"
|
226 |
+
msgstr "Архив всех записей"
|
227 |
|
228 |
+
#: admin/ajax/ajax.php:232
|
229 |
+
msgid "All Products page"
|
230 |
+
msgstr "Страница продуктов"
|
231 |
|
232 |
+
#: admin/ajax/ajax.php:148
|
233 |
+
msgid "All Singulars"
|
234 |
+
msgstr "Все одиночные"
|
235 |
|
236 |
+
#: admin/ajax/ajax.php:196
|
237 |
+
msgid "All Tags Archive"
|
238 |
+
msgstr "Архив всех тегов"
|
239 |
|
240 |
+
#: admin/pages/snippet-library.php:64
|
241 |
+
msgid "An error occurred during delete"
|
242 |
+
msgstr "Произошла ошибка во время удаления"
|
243 |
|
244 |
+
#: admin/metaboxes/base-options.php:111
|
245 |
+
msgid "An error occurred during export"
|
246 |
+
msgstr "Произошла ошибка во время экспорта"
|
|
|
247 |
|
248 |
+
#: admin/metaboxes/base-options.php:110 admin/pages/snippet-library.php:63
|
249 |
+
msgid "An error occurred during import"
|
250 |
+
msgstr "Произошла ошибка во время импортирования"
|
|
|
|
|
251 |
|
252 |
+
#: admin/pages/import.php:61
|
253 |
+
msgid "An error occurred when processing the import files."
|
254 |
+
msgstr "При обработке файла импорта произошла ошибка."
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
255 |
|
256 |
+
#: admin/metaboxes/view-options.php:127
|
257 |
+
msgid ""
|
258 |
+
"An URL of the current page where a user who views your website is located."
|
259 |
+
msgstr "URL страницы где находится пользователь просматриваемый ваш сайт."
|
260 |
|
261 |
+
#: admin/metaboxes/view-options.php:402
|
262 |
+
msgid "AND"
|
263 |
+
msgstr "И"
|
264 |
|
265 |
+
#: admin/metaboxes/view-options.php:361
|
266 |
+
msgid "and"
|
267 |
+
msgstr "и"
|
|
|
268 |
|
269 |
+
#: admin/metaboxes/view-options.php:237
|
270 |
+
msgid "Attendance by time of day"
|
271 |
+
msgstr "Посещения в течении дня"
|
272 |
|
273 |
+
#: admin/includes/class.notices.php:118
|
274 |
#, php-format
|
275 |
msgid ""
|
276 |
+
"Attention! If you have previously used version 1.3.0 of plugin Insert php. "
|
277 |
+
"This new %s plugin version, we added the ability to insert php code using "
|
278 |
+
"snippets. This is a more convenient and secure way than using shortcodes "
|
279 |
+
"[insert_php] code execute [/ insert_php]. However, for compatibility reasons,"
|
280 |
+
" we left support for [insert_php] shortcodes until March 2019, after that we "
|
281 |
+
"will stop supporting shortcodes [insert_php]."
|
|
|
|
|
282 |
msgstr ""
|
283 |
+
"Внимание всем пользователям версии 1.3.0 плагина Insert php. Это новая "
|
284 |
+
"версия плагина %s. Мы добавили возможность размещения PHP кода через "
|
285 |
+
"сниппеты. Это более удобный и безопасный способ работы, по сравнению с "
|
286 |
+
"шорткодами [insert_php] выполнения кода [/ insert_php]. Для большего "
|
287 |
+
"удобства мы сохранили поддержку старых шорткодов [insert_php] до марта 2019. "
|
288 |
+
"Затем поддержка данных сниппетов прекратится."
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
289 |
|
290 |
+
#: admin/metaboxes/view-options.php:221
|
291 |
+
msgid "Auditory"
|
292 |
+
msgstr "Аудитория"
|
|
|
|
|
293 |
|
294 |
+
#: admin/metaboxes/revisions.php:100
|
295 |
+
msgid "Author"
|
296 |
+
msgstr "Автор"
|
|
|
297 |
|
298 |
+
#: admin/ajax/ajax.php:178
|
299 |
+
msgid "Author Archive"
|
300 |
+
msgstr "Архив авторов"
|
301 |
|
302 |
+
#: admin/pages/settings.php:180
|
303 |
+
msgid "Auto Close Brackets"
|
304 |
+
msgstr "Авто-закрытие скобок"
|
305 |
|
306 |
+
#: admin/metaboxes/base-options.php:575
|
307 |
+
msgid "Automatic insertion"
|
308 |
+
msgstr "Авто-размещение"
|
309 |
|
310 |
+
#: admin/metaboxes/base-options.php:713
|
311 |
+
msgid "Available attributes"
|
312 |
+
msgstr "Доступные атрибуты"
|
313 |
|
314 |
+
#: admin/metaboxes/base-options.php:714
|
315 |
+
#, php-format
|
316 |
+
msgid ""
|
317 |
+
"Available attributes for shortcode via comma. Only numbers, letters and "
|
318 |
+
"underscore characters are allowed. Attribute id is always available. With "
|
319 |
+
"this option you can set additional attributes for the shortcode. Example: "
|
320 |
+
"start_date attribute to [%s id='xxx' start_date='2018/01/15'] shortcode. Now "
|
321 |
+
"we can get attribute value in the snippet with the $start_date variable. "
|
322 |
+
"It's convenient if you want to print out different results depending on this "
|
323 |
+
"attributes."
|
324 |
+
msgstr ""
|
325 |
+
"Доступные атрибуты шорткода, разделённые запятой. Разрешено использовать "
|
326 |
+
"только цифры, буквы и символ подчёркивания. Атрибут id доступен всегда. С "
|
327 |
+
"этой опцией вы можете указать дополнительные атрибуты шорткода. Пример: "
|
328 |
+
"атрибут start_date для шорткода [%s id='xxx' start_date='2018/01/15']. "
|
329 |
+
"Теперь в cниппете вы можете использовать значение переменной $start_date. "
|
330 |
+
"Это удобно, если вы хотите выводить разные результаты в зависимости от "
|
331 |
+
"значения этих атрибутов."
|
332 |
|
333 |
+
#: admin/metaboxes/base-options.php:43
|
334 |
+
msgid "Base options"
|
335 |
+
msgstr "Базовые опции"
|
336 |
|
337 |
+
#: admin/ajax/ajax.php:141
|
338 |
+
msgid "Basic"
|
339 |
+
msgstr "Базовые"
|
340 |
|
341 |
+
#: includes/class.insertion.locations.php:153
|
342 |
+
msgid "Before a single product"
|
343 |
+
msgstr "До товара"
|
344 |
|
345 |
+
#: includes/class.insertion.locations.php:169
|
346 |
+
msgid "Before a single product summary"
|
347 |
+
msgstr "До информации о товаре"
|
348 |
|
349 |
+
#: includes/class.insertion.locations.php:119
|
350 |
+
msgid "Before post"
|
351 |
+
msgstr "Перед записью"
|
|
|
352 |
|
353 |
+
#: includes/class.insertion.locations.php:137
|
354 |
+
msgid "Before the list of products"
|
355 |
+
msgstr "До списка товаров"
|
356 |
|
357 |
+
#: admin/metaboxes/view-options.php:394
|
358 |
+
msgid "Between"
|
359 |
+
msgstr "Между"
|
360 |
|
361 |
+
#: includes/class.insertion.locations.php:111
|
362 |
+
msgid "Between Posts"
|
363 |
+
msgstr "Между записями"
|
364 |
|
365 |
+
#: admin/ajax/ajax.php:166
|
366 |
+
msgid "Blog / Posts Page"
|
367 |
+
msgstr "Блог/ страница записей"
|
|
|
|
|
|
|
|
|
|
|
368 |
|
369 |
+
#: admin/metaboxes/view-options.php:189
|
370 |
+
msgid "Browser"
|
371 |
+
msgstr "Браузер"
|
372 |
|
373 |
+
#: admin/pages/import.php:177
|
374 |
+
msgid "Bulk export [Premium]"
|
375 |
+
msgstr "Массовый экспорт [Premium]"
|
|
|
376 |
|
377 |
+
#: admin/pages/import.php:178
|
|
|
378 |
msgid ""
|
379 |
+
"Bulk export allows exporting all snippets in one click. Bulk export has "
|
380 |
+
"advanced settings of snippet segmentation by types, tags, or activity. If "
|
381 |
+
"you value your time use our premium plugin and export all of your snippets "
|
382 |
+
"in one click."
|
|
|
|
|
383 |
msgstr ""
|
384 |
+
"Массовый экспорт позволяет экспортировать все сниппеты в один клик. Массовый "
|
385 |
+
"экспорт имеет расширенные настройки сегментации сниппетов по типам, тегам "
|
386 |
+
"или активности. Если вы цените свое время, используйте наш премиум-плагин и "
|
387 |
+
"экспортируйте все свои сниппеты в один клик."
|
|
|
|
|
388 |
|
389 |
+
#: admin/metaboxes/base-options.php:609
|
390 |
msgid ""
|
391 |
+
"By default, all snippet shortcodes look like this: [wbcr_snippet id=”121”]. "
|
392 |
+
"Such shortcodes are hard to remember. In addition, when you move a snippet "
|
393 |
+
"to another website its ID can be changed. So the best solution for the "
|
394 |
+
"snippets use regularly is to define a custom shortcode name. The custom "
|
395 |
+
"shortcode may look like this: [soccer_match_date]"
|
396 |
msgstr ""
|
397 |
+
"По умолчанию все шорткоды сниппетов выглядят вот так: [wbcr_snippet id=”121”]"
|
398 |
+
". Такие шорткоды сложно запомнить, а при переносе сниппетов на другой сайт, "
|
399 |
+
"ID сниппетов может измениться. Лучшее решение для часто используемых "
|
400 |
+
"сниппетов, это задать собственное имя шорткода. Произвольный шорткод может "
|
401 |
+
"выглядеть так: [soccer_match_date]"
|
402 |
|
403 |
+
#: admin/pages/license.php:342
|
404 |
#, php-format
|
405 |
msgid ""
|
406 |
+
"Can’t find your key? Go to <a href=\"%s\" target=\"_blank\" rel=\"noopener\">"
|
407 |
+
"this page</a> and login using the e-mail address associated with your "
|
408 |
+
"purchase."
|
409 |
msgstr ""
|
410 |
+
"Не можете найти свой ключ? Перейдите на <a href=\"%s\" target=\"_blank\" "
|
411 |
+
"rel=\"noopener\">эту страницу</a> и авторизуйтесь используя свой email, на "
|
412 |
+
"который вы делали покупку."
|
413 |
|
414 |
+
#: admin/ajax/ajax.php:217
|
415 |
+
msgid "Cart page"
|
416 |
+
msgstr "Страница корзины"
|
417 |
|
418 |
+
#: admin/metaboxes/base-options.php:630
|
419 |
+
msgid "Categories, Archives, Tags, Taxonomies"
|
420 |
+
msgstr "Рубрики, архивы, теги, таксономии"
|
421 |
|
422 |
+
#: admin/ajax/ajax.php:222
|
423 |
+
msgid "Checkout page"
|
424 |
+
msgstr "Страница оформления заказа"
|
425 |
+
|
426 |
+
#: admin/ajax/ajax.php:227
|
427 |
+
msgid "Checkout pay page"
|
428 |
+
msgstr "Страница успешного заказа"
|
429 |
+
|
430 |
+
#: admin/pages/import.php:155
|
431 |
+
msgid "Choose files from your computer:"
|
432 |
+
msgstr "Выберите файлы на компьютере:"
|
433 |
|
434 |
+
#: admin/pages/import.php:150
|
|
|
435 |
msgid ""
|
436 |
+
"Choose one or more Php Snippets (.json) files to upload, then click \"Upload "
|
437 |
+
"files and import\"."
|
438 |
msgstr ""
|
439 |
+
"Выберите один или несколько PHP сниппетов (.json) для загрузки, а затем "
|
440 |
+
"нажмите \"Загрузить файлы и импортировать\"."
|
441 |
|
442 |
+
#: admin/pages/new-item.php:92
|
443 |
+
msgid "Choose which snippet you would like to create."
|
444 |
+
msgstr "Укажите, какой сниппет вы хотите создать"
|
445 |
|
446 |
+
#: admin/pages/new-item.php:107
|
447 |
+
msgid "Click here to learn more"
|
448 |
+
msgstr "Подробная информация"
|
449 |
|
450 |
+
#: admin/includes/class.actions.snippet.php:176
|
451 |
+
msgid "Close"
|
452 |
+
msgstr "Закрыть"
|
453 |
|
454 |
+
#: admin/metaboxes/revisions.php:46
|
455 |
+
msgid "Code Revisions"
|
456 |
+
msgstr "Версии кода"
|
457 |
|
458 |
+
#: admin/pages/settings.php:125
|
459 |
+
msgid "Code style"
|
460 |
+
msgstr "Стиль кода"
|
461 |
|
462 |
+
#: admin/metaboxes/revisions.php:98 admin/metaboxes/revisions.php:136
|
463 |
+
msgid "Compare"
|
464 |
+
msgstr "Сравнить"
|
|
|
|
|
465 |
|
466 |
+
#: admin/pages/settings.php:99
|
467 |
+
msgid "Complete Uninstall"
|
468 |
+
msgstr "Полное удаление"
|
469 |
|
470 |
+
#: admin/metaboxes/view-options.php:38
|
471 |
+
msgid "Conditional execution logic for the snippet"
|
472 |
+
msgstr "Дополнительная логика выполнения сниппета"
|
473 |
|
474 |
+
#: admin/metaboxes/view-options.php:392
|
475 |
+
msgid "Contains"
|
476 |
+
msgstr "Содержит"
|
477 |
|
478 |
+
#: admin/metaboxes/view-options.php:112
|
479 |
+
msgid "Cookie Name"
|
480 |
+
msgstr "Название куков"
|
481 |
|
482 |
+
#: admin/pages/new-item.php:104
|
483 |
+
msgid "Create Item"
|
484 |
+
msgstr "Создать элемент"
|
485 |
|
486 |
+
#: admin/includes/class.notices.php:122
|
487 |
+
msgid "Create new php snippet"
|
488 |
+
msgstr "Создать новый PHP сниппет"
|
489 |
|
490 |
+
#: admin/pages/new-item.php:91
|
491 |
+
msgid "Creating New Snippet"
|
492 |
+
msgstr "Создание нового сниппета"
|
|
|
493 |
|
494 |
+
#: admin/includes/class.common.snippet.php:95
|
495 |
+
#: admin/includes/class.common.snippet.php:153 admin/pages/new-item.php:69
|
496 |
+
msgid "Css snippet"
|
497 |
+
msgstr "CSS сниппет"
|
498 |
|
499 |
+
#: admin/metaboxes/view-options.php:125
|
500 |
+
msgid "Current Page"
|
501 |
+
msgstr "Текущая страница"
|
|
|
502 |
|
503 |
+
#: admin/metaboxes/view-options.php:131
|
504 |
+
msgid "Current Referrer"
|
505 |
+
msgstr "Текущий реферер"
|
506 |
|
507 |
+
#: admin/metaboxes/base-options.php:651
|
508 |
+
msgid "Custom"
|
509 |
+
msgstr "Пользовательский"
|
510 |
|
511 |
+
#: admin/metaboxes/base-options.php:608
|
512 |
+
msgid "Custom shortcode name"
|
513 |
+
msgstr "Собственное название"
|
514 |
|
515 |
+
#: admin/includes/class.snippets.table.php:213
|
516 |
+
msgid "Date"
|
517 |
+
msgstr "Дата"
|
|
|
|
|
518 |
|
519 |
+
#: admin/ajax/ajax.php:174
|
520 |
+
msgid "Date Archive"
|
521 |
+
msgstr "Архив дат"
|
522 |
|
523 |
+
#: admin/metaboxes/view-options.php:428 admin/metaboxes/view-options.php:439
|
524 |
+
#: admin/metaboxes/view-options.php:459
|
525 |
+
msgid "Day(s)"
|
526 |
+
msgstr "День/дней"
|
527 |
|
528 |
+
#: admin/pages/license.php:309
|
529 |
+
msgid "day(s)"
|
530 |
+
msgstr "дней"
|
531 |
|
532 |
+
#: admin/includes/class.actions.snippet.php:112
|
533 |
+
msgid "Deactivate"
|
534 |
+
msgstr "Деактивировать"
|
535 |
|
536 |
+
#: admin/includes/class.actions.snippet.php:111
|
537 |
+
#: admin/includes/class.snippets.table.php:217
|
538 |
+
#: admin/metaboxes/revisions.php:101 admin/metaboxes/revisions.php:138
|
539 |
+
msgid "Delete"
|
540 |
+
msgstr "Удалить"
|
541 |
|
542 |
+
#: admin/pages/license.php:235
|
543 |
+
msgid "Delete Key"
|
544 |
+
msgstr "Удалить"
|
545 |
|
546 |
+
#: admin/pages/snippet-library.php:62
|
547 |
+
msgid "Delete snippet?"
|
548 |
+
msgstr "Удалить сниппет?"
|
549 |
|
550 |
+
#: admin/includes/class.snippets.table.php:212
|
551 |
+
#: admin/includes/class.snippets.viewtable.php:18
|
552 |
+
#: admin/metaboxes/base-options.php:699
|
553 |
+
msgid "Description"
|
554 |
+
msgstr "Описание"
|
555 |
|
556 |
+
#: admin/metaboxes/view-options.php:185
|
557 |
+
msgid "Determines whether the user use Addblocker on website."
|
558 |
+
msgstr "Определение использует пользователь Addblocker или нет."
|
559 |
|
560 |
+
#: admin/metaboxes/view-options.php:197
|
561 |
+
msgid "Determines whether the user use cookie on website."
|
562 |
+
msgstr "Определение использует пользователь куки или нет."
|
563 |
|
564 |
+
#: admin/metaboxes/view-options.php:203
|
565 |
+
msgid "Determines whether the user use javascript on website."
|
566 |
+
msgstr "Определение использует пользователь JavaScript или нет."
|
567 |
|
568 |
+
#: admin/metaboxes/view-options.php:191
|
569 |
+
msgid "Determines whether the user use selected browser."
|
570 |
+
msgstr "Определение использует пользователь выбранный браузер или нет."
|
571 |
+
|
572 |
+
#: admin/metaboxes/view-options.php:215
|
573 |
+
msgid "Determines whether the user use selected device type."
|
574 |
+
msgstr "Определение использует пользователь выбранное устройство или нет."
|
575 |
+
|
576 |
+
#: admin/metaboxes/view-options.php:209
|
577 |
+
msgid "Determines whether the user use selected OS."
|
578 |
msgstr ""
|
579 |
+
"Определение использует пользователь выбранную операционную систему или нет."
|
580 |
+
|
581 |
+
#: admin/metaboxes/view-options.php:115
|
582 |
+
msgid "Determines whether the user's browser has a cookie with a given name."
|
583 |
+
msgstr "Проверяет, есть ли в браузере пользователя куки с этим названием."
|
584 |
+
|
585 |
+
#: admin/metaboxes/view-options.php:213
|
586 |
+
msgid "Device type"
|
587 |
+
msgstr "Тип устройства"
|
588 |
+
|
589 |
+
#: admin/includes/class.notices.php:144
|
590 |
+
msgid "Disable Safe Mode"
|
591 |
+
msgstr "Отключить безопасный режим"
|
592 |
+
|
593 |
+
#: admin/metaboxes/view-options.php:334
|
594 |
+
msgid "Display On IF"
|
595 |
+
msgstr "Показывать, ЕСЛИ"
|
596 |
+
|
597 |
+
#: admin/metaboxes/view-options.php:335
|
598 |
+
msgid "Do Not Display IF"
|
599 |
+
msgstr "Не показывать, ЕСЛИ"
|
600 |
|
601 |
+
#: admin/pages/import.php:143
|
602 |
msgid ""
|
603 |
+
"Do not import any duplicate snippets; leave all existing snippets unchanged."
|
|
|
|
|
|
|
|
|
604 |
msgstr ""
|
605 |
+
"Не импортировать повторяющиеся сниппеты и не заменять существующие сниппеты."
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
606 |
|
607 |
+
#: admin/pages/about.php:50
|
608 |
+
msgid "Documentation"
|
609 |
+
msgstr "Документация"
|
610 |
|
611 |
+
#: admin/metaboxes/view-options.php:387
|
612 |
+
msgid "Doesn't Equal"
|
613 |
+
msgstr "Не равно"
|
614 |
|
615 |
+
#: admin/metaboxes/view-options.php:393
|
616 |
+
msgid "Doesn't Сontain"
|
617 |
+
msgstr "Не содержит"
|
618 |
|
619 |
+
#: admin/pages/license.php:276
|
620 |
+
msgid "domain"
|
621 |
+
msgstr "домен"
|
622 |
|
623 |
+
#: admin/includes/class.notices.php:123
|
624 |
+
msgid "Download old version"
|
625 |
+
msgstr "Скачать старую версию"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
626 |
|
627 |
+
#: admin/pages/import.php:122
|
628 |
+
msgid "Duplicate Snippets"
|
629 |
+
msgstr "Дублировать сниппеты"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
630 |
|
631 |
+
#: admin/includes/class.common.snippet.php:283
|
632 |
+
#: admin/types/snippets-post-types.php:81
|
633 |
+
msgid "Edit"
|
634 |
+
msgstr "Изменить"
|
635 |
|
636 |
+
#: admin/includes/class.common.snippet.php:166
|
637 |
+
msgid "Edit advertisement snippet"
|
638 |
+
msgstr "Редактирование рекламного сниппета"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
639 |
|
640 |
+
#: admin/includes/class.common.snippet.php:162
|
641 |
+
msgid "Edit css snippet"
|
642 |
+
msgstr "Изменить CSS снипет"
|
643 |
|
644 |
+
#: admin/includes/class.common.snippet.php:164
|
645 |
+
msgid "Edit html snippet"
|
646 |
+
msgstr "Изменить HTML снипет"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
647 |
|
648 |
+
#: admin/includes/class.common.snippet.php:163
|
649 |
+
msgid "Edit js snippet"
|
650 |
+
msgstr "Изменить JS сниппет"
|
651 |
|
652 |
+
#: admin/includes/class.common.snippet.php:283
|
653 |
+
msgid "Edit permalink"
|
654 |
+
msgstr "Изменить постоянную ссылку"
|
655 |
|
656 |
+
#: admin/includes/class.common.snippet.php:160
|
657 |
+
msgid "Edit php snippet"
|
658 |
+
msgstr "Изменить PHP сниппет"
|
659 |
|
660 |
+
#: admin/types/snippets-post-types.php:82
|
661 |
+
msgid "Edit snippet"
|
662 |
+
msgstr "Изменить сниппет"
|
663 |
|
664 |
+
#: admin/includes/class.common.snippet.php:161
|
665 |
+
msgid "Edit text snippet"
|
666 |
+
msgstr "Изменить текстовый сниппет"
|
667 |
|
668 |
+
#: admin/includes/class.common.snippet.php:165
|
669 |
+
msgid "Edit universal snippet"
|
670 |
+
msgstr "Изменить глобальный сниппет"
|
|
|
|
|
|
|
|
|
671 |
|
672 |
+
#: includes/class.helpers.php:423
|
673 |
msgid ""
|
674 |
+
"Emojis are little icons used to express ideas or emotions. While these icons "
|
675 |
+
"are fun and all, are they really necessary for your WordPress site? This "
|
676 |
+
"snippet to disable emojis on your site to make it faster."
|
677 |
msgstr ""
|
678 |
+
"Эмодзи - это небольшие иконки, выражающие какие-то мысли или эмоции. Но "
|
679 |
+
"действительно ли вашему сайту нужны эти забавные смайлики? Данный сниппет "
|
680 |
+
"отключает эмодзи и позволяет ускорить сайт."
|
681 |
|
682 |
+
#: admin/metaboxes/base-options.php:278
|
683 |
+
msgid "Enter template name"
|
684 |
+
msgstr "Введите название шаблона"
|
685 |
|
686 |
+
#: admin/ajax/ajax.php:144
|
687 |
+
msgid "Entire Website"
|
688 |
+
msgstr "Весь сайт"
|
689 |
|
690 |
+
#: admin/metaboxes/view-options.php:386
|
691 |
+
msgid "Equals"
|
692 |
+
msgstr "Равно"
|
693 |
|
694 |
+
#: includes/class.helpers.php:748 admin/metaboxes/base-options.php:620
|
695 |
+
msgid "Everywhere"
|
696 |
+
msgstr "Везде"
|
697 |
|
698 |
+
#: admin/pages/settings.php:90
|
699 |
+
msgid "Execute shortcodes in snippets"
|
700 |
+
msgstr "Выполнять шорткоды в сниппетах"
|
701 |
|
702 |
+
#: admin/pages/settings.php:92
|
703 |
+
msgid "Execute shortcodes in the snippet code before executing the snippet."
|
704 |
+
msgstr "Выполнять шорткоды в коде сниппетов перед выполнением сниппетов"
|
|
|
|
|
|
|
|
|
705 |
|
706 |
+
#. Description of the plugin
|
707 |
msgid ""
|
708 |
+
"Executes PHP code, uses conditional logic to insert ads, text, media content "
|
709 |
+
"and external service’s code. Ensures no content duplication."
|
710 |
msgstr ""
|
711 |
+
"Выполняет РНР код, использует условную логику для добавления рекламы, текста,"
|
712 |
+
" медиа-содержимого и кода внешних сервисов. Гарантирует отсутствие "
|
713 |
+
"повторяющегося содержимого."
|
|
|
|
|
|
|
714 |
|
715 |
+
#: admin/pages/license.php:298
|
716 |
+
msgid "EXPIRED!"
|
717 |
+
msgstr "ИСТЕКЛА!"
|
718 |
|
719 |
+
#: admin/includes/class.actions.snippet.php:90
|
720 |
+
#: admin/includes/class.actions.snippet.php:179 admin/pages/import.php:116
|
721 |
+
msgid "Export"
|
722 |
+
msgstr "Экспорт"
|
723 |
|
724 |
+
#: admin/metaboxes/base-options.php:109 admin/metaboxes/base-options.php:489
|
725 |
+
msgid "Export snippet"
|
726 |
+
msgstr "Экспортировать сниппет"
|
727 |
|
728 |
+
#: admin/metaboxes/base-options.php:687
|
729 |
msgid "External File"
|
730 |
msgstr "Внешний файл"
|
731 |
|
732 |
+
#: admin/includes/class.filter.snippet.php:38
|
733 |
+
msgid "Filter by tag:"
|
734 |
+
msgstr "Фильтр по тегу:"
|
735 |
|
736 |
+
#: admin/includes/class.filter.snippet.php:63
|
737 |
+
msgid "Filter by type:"
|
738 |
+
msgstr "Фильтр по типу:"
|
739 |
|
740 |
+
#: includes/class.insertion.locations.php:35
|
741 |
+
msgid "Footer"
|
742 |
+
msgstr "Подвал"
|
743 |
|
744 |
+
#: admin/includes/class.notices.php:121
|
745 |
+
#, php-format
|
746 |
msgid ""
|
747 |
+
"For more information on porting code and using snippets, see our plugin <a "
|
748 |
+
"href=\"%s\" target=\"_blank\">documentation</a>"
|
749 |
msgstr ""
|
750 |
+
"Подробнее о размещении кода и использовании сниппетов читайте в <a "
|
751 |
+
"href=\"%s\" target=\"_blank\">документации плагина</a> "
|
752 |
|
753 |
+
#: admin/metaboxes/view-options.php:410
|
754 |
+
msgid "from"
|
755 |
+
msgstr "с"
|
756 |
|
757 |
+
#: admin/ajax/ajax.php:170
|
758 |
+
msgid "Front Page"
|
759 |
+
msgstr "Главная"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
760 |
|
761 |
+
#: admin/metaboxes/view-options.php:227
|
762 |
+
msgid "Geolocation"
|
763 |
+
msgstr "Геолокация"
|
764 |
|
765 |
+
#: admin/metaboxes/view-options.php:388
|
766 |
+
msgid "Greater Than"
|
767 |
+
msgstr "Больше"
|
768 |
|
769 |
+
#: admin/ajax/ajax.php:41
|
770 |
+
msgid "Guest"
|
771 |
+
msgstr "Гость"
|
772 |
|
773 |
+
#: admin/pages/license.php:324
|
774 |
+
msgid "Have a key to activate the plugin? Paste it here:"
|
775 |
+
msgstr "Есть ключ для активации плагина? Вставьте его здесь:"
|
776 |
+
|
777 |
+
#: admin/pages/license.php:322
|
778 |
+
msgid "Have a key to activate the premium version? Paste it here:"
|
779 |
+
msgstr "Есть ключ для активации премиум версии? Вставьте его здесь:"
|
780 |
+
|
781 |
+
#: admin/includes/class.notices.php:79
|
782 |
+
msgid "Have feedback on Woody ad Snippets?"
|
783 |
+
msgstr "Есть, что сказать о Woody ad Snippets?"
|
784 |
|
785 |
+
#: includes/class.insertion.locations.php:27
|
786 |
+
msgid "Header"
|
787 |
+
msgstr "Шапка"
|
788 |
|
789 |
+
#: admin/pages/snippet-library.php:100
|
790 |
+
msgid ""
|
791 |
+
"Here you see all of your snippet templates. We’ve gathered the frequently "
|
792 |
+
"used snippets so you can use them in your projects. Snippet templates help "
|
793 |
+
"to implement your ideas faster without wasting time on searching and "
|
794 |
+
"studying PHP code. The feature is available in the premium version only."
|
795 |
+
msgstr ""
|
796 |
+
"В этом разделе хранятся заготовки сниппетов от нашей команды. Мы собрали "
|
797 |
+
"самые часто используемые сниппеты кода, чтобы вы могли применить их в своих "
|
798 |
+
"проектах. Заготовки сниппетов позволяют быстрее реализовать ваши идеи, не "
|
799 |
+
"прибегая к поиску и изучению php кода. Доступ к этому разделу можно получить "
|
800 |
+
"только после покупки премиум версии."
|
801 |
|
802 |
+
#: admin/pages/settings.php:189
|
803 |
+
msgid "Highlight Selection Matches"
|
804 |
+
msgstr "Выделить совпадения"
|
805 |
|
806 |
+
#: admin/metaboxes/view-options.php:427 admin/metaboxes/view-options.php:438
|
807 |
+
#: admin/metaboxes/view-options.php:458
|
808 |
+
msgid "Hours(s)"
|
809 |
+
msgstr "Час(ов)"
|
810 |
|
811 |
+
#: admin/pages/new-item.php:79
|
812 |
+
msgid "HTML snippet"
|
813 |
+
msgstr "HTML сниппет"
|
814 |
|
815 |
+
#: admin/includes/class.common.snippet.php:97
|
816 |
+
#: admin/includes/class.common.snippet.php:155
|
817 |
+
msgid "Html snippet"
|
818 |
+
msgstr "HTML сниппет"
|
819 |
|
820 |
+
#. Author URI of the plugin
|
821 |
+
msgid "http://cm-wp.com"
|
822 |
+
msgstr "http://cm-wp.com"
|
823 |
|
824 |
+
#. URI of the plugin
|
825 |
+
msgid "https://woodysnippet.com/"
|
826 |
+
msgstr "https://woodysnippet.com/"
|
827 |
|
828 |
+
#: admin/includes/class.notices.php:125
|
829 |
+
#, php-format
|
830 |
msgid ""
|
831 |
+
"If you have issues with the plugin new version or any suggestions, please "
|
832 |
+
"contact us on <a href=\"%s\" target=\"_blank\">our forum</a>."
|
833 |
msgstr ""
|
834 |
+
"Если у вас возникли проблемы с новой версией плагина или появились "
|
835 |
+
"предложения, то напишите нам <a href=\"%s\" target=\"_blank\">на форуме</a>"
|
836 |
|
837 |
+
#: admin/metaboxes/base-options.php:599
|
838 |
+
#, php-format
|
839 |
+
msgid ""
|
840 |
+
"If you select the \"%s\" option, after activating the widget, the php code "
|
841 |
+
"will be launched on all pages of your site. Another option works only where "
|
842 |
+
"you have set a shortcode snippet (widgets, post)."
|
843 |
+
msgstr ""
|
844 |
+
"Если вы выберите опцию \"%s\", то после активации виджета php код будет "
|
845 |
+
"запущен на всех страницах вашего сайта. Другая опция позволяет запускать "
|
846 |
+
"сниппет только там, где указан шорткод сниппета (widgets, post)."
|
847 |
|
848 |
+
#: admin/includes/class.notices.php:124
|
849 |
+
#, php-format
|
850 |
msgid ""
|
851 |
+
"If you still want to use the old shortcodes [insert_php] and you don’t have "
|
852 |
+
"time to upgrade to the new version, you can enable support for old "
|
853 |
+
"shortcodes in the plugin <a href=\"%s\">settings</a>."
|
854 |
msgstr ""
|
855 |
+
"Если вы хотите использовать старый тип шорткодов [insert_php] и у вас нет "
|
856 |
+
"времени обновлять сниппета на новые шорткоды, вы можете включить поддержку "
|
857 |
+
"старых шорткодов в <a href=\"%s\">настройках плагина</a>."
|
858 |
|
859 |
+
#: admin/pages/settings.php:110
|
860 |
+
msgid ""
|
861 |
+
"If you used our plugin from version 1.3.0, then you could use the old "
|
862 |
+
"shortcodes [insert_php][/insert_php]; from version 2.2.0 we disabled this "
|
863 |
+
"type of shortcodes by default, as their use is not safe. If you still want "
|
864 |
+
"to execute your php code via [insert_php][/insert_php] shortcodes, you can "
|
865 |
+
"enable this option."
|
866 |
+
msgstr ""
|
867 |
+
"Если вы использовали наш плагин с версии 1.3.0, то вы можете использовать "
|
868 |
+
"старые шорткоды [insert_php] [/insert_php]; с версии 2.2.0 мы отключили этот "
|
869 |
+
"тип шорткодов по умолчанию, так как их использование небезопасно. Если вы "
|
870 |
+
"все еще хотите выполнить свой php-код с помощью коротких кодов [insert_php]"
|
871 |
+
"[/insert_php], вы можете включить эту опцию."
|
872 |
|
873 |
+
#: admin/metaboxes/base-options.php:572
|
874 |
+
#, php-format
|
875 |
+
msgid ""
|
876 |
+
"If you want to place some content into your snippet from the shortcode just "
|
877 |
+
"wrap it inside [wbcr%s_snippet id=\"xxx\"]content[/wbcr%s_snippet]. To use "
|
878 |
+
"this content inside the snippet use $content variable."
|
879 |
+
msgstr ""
|
880 |
+
"Если вы хотите вставить какой-то контент внутри вашего сниппета из шорткода, "
|
881 |
+
"просто оберните его в [wbcr%s_snippet id=\"xxx\"]контент[/wbcr%s_snippet]. "
|
882 |
+
"Для использования текущего контента внутри сниппета используйте $content "
|
883 |
+
"переменную."
|
884 |
|
885 |
+
#: admin/metaboxes/base-options.php:569
|
886 |
+
msgid ""
|
887 |
+
"If you want to place some content into your snippet from the shortcode just "
|
888 |
+
"wrap it inside [wbcr_text_snippet id=\"xxx\"]content[/wbcr_text_snippet]. To "
|
889 |
+
"use this content inside the snippet use {{SNIPPET_CONTENT}} variable."
|
890 |
+
msgstr ""
|
891 |
+
"Если вы хотите разместить содержимое в сниппете из шорткода, то оберните его "
|
892 |
+
"в теги [wbcr_text_snippet id=\"xxx\"]содержимое[/wbcr_text_snippet].. Для "
|
893 |
+
"работы с этим содержимым внутри сниппета пользуйтесь переменной "
|
894 |
+
"{{SNIPPET_CONTENT}}"
|
895 |
|
896 |
+
#: admin/pages/settings.php:83
|
897 |
+
msgid ""
|
898 |
+
"If you want to use an HTML entity in your code (for example > or "), "
|
899 |
+
"but the editor keeps on changing them to its equivalent character (> and \" "
|
900 |
+
"for the previous example), then you might want to enable this option."
|
901 |
+
msgstr ""
|
902 |
+
"Если вы хотите использовать HTML-сущности в своем коде (например, > или "
|
903 |
+
""), но редактор продолжает изменять их на эквивалентный символ (>и \" "
|
904 |
+
"для предыдущего примера), то вы можете включить эту опцию."
|
905 |
|
906 |
+
#: admin/pages/import.php:131
|
907 |
msgid ""
|
908 |
+
"Ignore any duplicate snippets: import all snippets from the file regardless "
|
909 |
+
"and leave all existing snippets unchanged."
|
910 |
+
msgstr ""
|
911 |
+
"Игнорировать повторяющиеся сниппеты. Импортировать все сниппеты без замены "
|
912 |
+
"существующих."
|
913 |
|
914 |
+
#: admin/pages/import.php:113
|
915 |
+
msgid "Import"
|
916 |
+
msgstr "Импорт"
|
917 |
|
918 |
+
#: admin/metaboxes/base-options.php:108
|
919 |
+
msgid "Import snippet"
|
920 |
+
msgstr "Импортировать снипет"
|
921 |
|
922 |
+
#: admin/pages/snippet-library.php:61
|
923 |
+
msgid "Import snippet?"
|
924 |
+
msgstr "Импортировать сниппет?"
|
925 |
|
926 |
+
#: admin/pages/import.php:28
|
927 |
+
msgid "Import/Export"
|
928 |
+
msgstr "Импорт/Экспорт"
|
929 |
|
930 |
+
#: admin/pages/settings.php:153
|
931 |
+
msgid "Indent Unit"
|
932 |
+
msgstr "Блок отступа"
|
933 |
|
934 |
+
#: admin/pages/settings.php:135
|
935 |
+
msgid "Indent With Tabs"
|
936 |
+
msgstr "Отступ через Tab"
|
937 |
|
938 |
+
#: admin/metaboxes/base-options.php:688
|
939 |
+
msgid "Inline Code"
|
940 |
+
msgstr "Встроенный код"
|
941 |
|
942 |
+
#: admin/includes/class.snippets.table.php:214
|
943 |
+
msgid "Insert"
|
944 |
+
msgstr "Вставить"
|
945 |
|
946 |
+
#: includes/class.insertion.locations.php:77
|
947 |
+
msgid "Insert After Content"
|
948 |
+
msgstr "Добавить после содержимого"
|
949 |
|
950 |
+
#: includes/class.insertion.locations.php:103
|
951 |
+
msgid "Insert After Excerpt"
|
952 |
+
msgstr "Добавить после превью"
|
953 |
|
954 |
+
#: includes/class.insertion.locations.php:69
|
955 |
+
msgid "Insert After Paragraph"
|
956 |
+
msgstr "Добавить после абзаца"
|
957 |
|
958 |
+
#: includes/class.insertion.locations.php:85
|
959 |
+
msgid "Insert After Post"
|
960 |
+
msgstr "Добавить после записи"
|
961 |
|
962 |
+
#: includes/class.insertion.locations.php:53
|
963 |
+
msgid "Insert Before Content"
|
964 |
+
msgstr "Добавить до содержимого"
|
965 |
|
966 |
+
#: includes/class.insertion.locations.php:95
|
967 |
+
msgid "Insert Before Excerpt"
|
968 |
+
msgstr "Добавить перед превью"
|
969 |
|
970 |
+
#: includes/class.insertion.locations.php:61
|
971 |
+
msgid "Insert Before Paragraph"
|
972 |
+
msgstr "Добавить до абзаца"
|
973 |
|
974 |
+
#: includes/class.insertion.locations.php:45
|
975 |
+
msgid "Insert Before Post"
|
976 |
+
msgstr "Добавить до записи"
|
977 |
|
978 |
+
#: admin/metaboxes/base-options.php:666
|
979 |
+
msgid "Insertion location"
|
980 |
+
msgstr "Место добавления"
|
981 |
|
982 |
+
#: admin/pages/new-item.php:74
|
983 |
+
msgid "JavaScript snippet"
|
984 |
+
msgstr "JavaScript сниппеты"
|
985 |
+
|
986 |
+
#: admin/includes/class.common.snippet.php:96
|
987 |
+
#: admin/includes/class.common.snippet.php:154
|
988 |
+
msgid "Js snippet"
|
989 |
+
msgstr "JS сниппет"
|
990 |
+
|
991 |
+
#: admin/pages/settings.php:81
|
992 |
+
msgid "Keep the HTML entities, don't convert to its character"
|
993 |
+
msgstr "Сохранять HTML-сущности, не конвертировать их в свой символ"
|
994 |
|
995 |
+
#: admin/metaboxes/view-options.php:389
|
996 |
+
msgid "Less Than"
|
997 |
+
msgstr "Меньше"
|
998 |
|
999 |
+
#: admin/pages/license.php:91
|
1000 |
+
msgid "License"
|
1001 |
+
msgstr "Лицензия"
|
1002 |
|
1003 |
+
#: admin/ajax/check-license.php:39
|
1004 |
+
msgid ""
|
1005 |
+
"License key is empty or license key too long (license key is 32 characters "
|
1006 |
+
"long)"
|
1007 |
msgstr ""
|
1008 |
+
"Лицензионный ключ является пустым или вы ввели ключ с ошибкой (ключ должен "
|
1009 |
+
"иметь длинну 32 символа)"
|
|
|
|
|
|
|
1010 |
|
1011 |
+
#: admin/ajax/check-license.php:27
|
1012 |
+
msgid "Licensing action not passed or this action is prohibited!"
|
1013 |
+
msgstr "Не передано действие лицензии или действие запрещено!"
|
1014 |
|
1015 |
+
#: admin/pages/settings.php:171
|
1016 |
+
msgid "Line Numbers"
|
1017 |
+
msgstr "Номера строк"
|
1018 |
|
1019 |
+
#: admin/metaboxes/base-options.php:690
|
1020 |
+
msgid "Linking type"
|
1021 |
+
msgstr "Тип перелинковки"
|
1022 |
|
1023 |
+
#: admin/metaboxes/view-options.php:173
|
1024 |
+
msgid "List of specific pages."
|
1025 |
+
msgstr "Список выбранных страниц."
|
1026 |
|
1027 |
+
#: admin/ajax/snippet-library.php:31
|
1028 |
+
msgid "Loading..."
|
1029 |
+
msgstr "Загрузка..."
|
1030 |
|
1031 |
+
#: admin/metaboxes/view-options.php:121
|
1032 |
+
msgid "Location"
|
1033 |
+
msgstr "Расположение"
|
1034 |
|
1035 |
+
#: admin/metaboxes/base-options.php:675
|
1036 |
+
msgid "Location number"
|
1037 |
+
msgstr "Число при размещении"
|
1038 |
|
1039 |
+
#: admin/metaboxes/view-options.php:426 admin/metaboxes/view-options.php:437
|
1040 |
+
#: admin/metaboxes/view-options.php:457
|
1041 |
+
msgid "Minutes(s)"
|
1042 |
+
msgstr "Минута(ы)"
|
1043 |
|
1044 |
+
#: admin/metaboxes/view-options.php:430 admin/metaboxes/view-options.php:441
|
1045 |
+
#: admin/metaboxes/view-options.php:461
|
1046 |
+
msgid "Month(s)"
|
1047 |
+
msgstr "Месяц(ев)"
|
1048 |
|
1049 |
+
#: admin/pages/snippet-library.php:131
|
1050 |
+
msgid "My snippets"
|
1051 |
+
msgstr "Мои сниппеты"
|
1052 |
|
1053 |
+
#: admin/pages/snippet-library.php:102
|
1054 |
+
msgid "My Templates [Premium]"
|
1055 |
+
msgstr "Мои шаблоны сниппетов [Премиум]"
|
1056 |
|
1057 |
+
#: admin/types/snippets-post-types.php:83
|
1058 |
+
msgid "New snippet"
|
1059 |
+
msgstr "Новый сниппет"
|
1060 |
|
1061 |
+
#: admin/metaboxes/view-options.php:355
|
1062 |
+
msgid ""
|
1063 |
+
"No conditions specified. <a href=\"#\" class=\"winp-link-add\">Click here</a>"
|
1064 |
+
" to add one."
|
1065 |
msgstr ""
|
1066 |
+
"Условия не выбраны. Чтобы добавить условия, <a href=\"#\" class=\"winp-link-"
|
1067 |
+
"add\">нажмите здесь</a>."
|
1068 |
+
|
1069 |
+
#: admin/pages/import.php:83
|
1070 |
+
msgid "No files selected!"
|
1071 |
+
msgstr "Не выбраны файлы!"
|
1072 |
|
1073 |
#: admin/metaboxes/view-options.php:322
|
1074 |
msgid ""
|
1078 |
"Фильтры не выбраны. Чтобы добавить фильтр, <a href=\"#\" class=\"winp-add-"
|
1079 |
"filter\">нажмите здесь</a>."
|
1080 |
|
1081 |
+
#: admin/pages/import.php:66
|
1082 |
+
msgid "No snippets were imported."
|
1083 |
+
msgstr "Сниппеты не импортированы."
|
1084 |
|
1085 |
+
#: admin/pages/license.php:286
|
1086 |
+
msgid "of"
|
1087 |
+
msgstr "до"
|
1088 |
|
1089 |
+
#: admin/metaboxes/view-options.php:390
|
1090 |
+
msgid "Older Than"
|
1091 |
+
msgstr "Старше"
|
1092 |
+
|
1093 |
+
#: admin/metaboxes/view-options.php:422
|
1094 |
+
msgid "older than"
|
1095 |
+
msgstr "старше"
|
1096 |
+
|
1097 |
+
#: admin/metaboxes/view-options.php:207
|
1098 |
+
msgid "Operating system"
|
1099 |
+
msgstr "Операционная система"
|
1100 |
+
|
1101 |
+
#: admin/metaboxes/view-options.php:401
|
1102 |
+
msgid "OR"
|
1103 |
+
msgstr "ИЛИ"
|
1104 |
|
1105 |
#: admin/metaboxes/view-options.php:337 admin/metaboxes/view-options.php:364
|
1106 |
msgid "or"
|
1107 |
msgstr "или"
|
1108 |
|
1109 |
+
#: admin/metaboxes/view-options.php:167
|
1110 |
+
msgid "Page"
|
1111 |
+
msgstr "Страница"
|
|
|
|
|
|
|
|
|
1112 |
|
1113 |
+
#: admin/ajax/ajax.php:199
|
1114 |
+
msgid "Pages"
|
1115 |
+
msgstr "Страницы"
|
1116 |
|
1117 |
+
#: admin/metaboxes/base-options.php:676
|
1118 |
+
msgid "Paragraph / Post number"
|
1119 |
+
msgstr "Кол-во записей / абзацев"
|
1120 |
|
1121 |
+
#: admin/types/snippets-post-types.php:89
|
1122 |
+
msgid "Parent snippet"
|
1123 |
+
msgstr "Сниппет-предок"
|
1124 |
|
1125 |
+
#: admin/includes/class.common.snippet.php:277
|
1126 |
+
msgid "Permalink"
|
1127 |
+
msgstr "Постоянная ссылка"
|
1128 |
|
1129 |
+
#: admin/pages/new-item.php:54
|
1130 |
+
msgid "PHP snippet"
|
1131 |
+
msgstr "PHP сниппет"
|
1132 |
|
1133 |
+
#: admin/includes/class.common.snippet.php:93
|
1134 |
+
#: admin/includes/class.common.snippet.php:151
|
1135 |
+
msgid "Php snippet"
|
1136 |
+
msgstr "PHP сниппет"
|
1137 |
|
1138 |
+
#: admin/pages/license.php:280
|
1139 |
+
msgid "plan"
|
1140 |
+
msgstr "тарифный план"
|
1141 |
|
1142 |
+
#: admin/includes/class.common.snippet.php:75
|
1143 |
+
msgid "Please run the following command to make the directory writable"
|
1144 |
+
msgstr ""
|
1145 |
+
"Пожалуйста запустите следующие команды, чтобы можно было записывать в "
|
1146 |
+
"директорию"
|
1147 |
|
1148 |
+
#: admin/includes/class.common.snippet.php:64
|
1149 |
+
msgid "Please run the following commands in order to make the directory"
|
1150 |
+
msgstr "Пожалуйста сделайте следующие команды, чтобы сделать директорию"
|
1151 |
|
1152 |
+
#: admin/includes/class.notices.php:79
|
1153 |
+
msgid ""
|
1154 |
+
"Please take the time to answer a short survey on how you use this plugin and "
|
1155 |
+
"what you'd like to see changed or added in the future."
|
1156 |
+
msgstr ""
|
1157 |
+
"Пожалуйста, пройдите небольшой опрос о Вашем опыте работы с плагином и "
|
1158 |
+
"поделитесь своими пожеланиями к функционалу: какие опции можно изменить или "
|
1159 |
+
"добавить."
|
1160 |
|
1161 |
+
#: admin/pages/license.php:299
|
1162 |
+
msgid "please update the key"
|
1163 |
+
msgstr "пожалуйста, обновите лицензионный ключ"
|
1164 |
|
1165 |
+
#: admin/metaboxes/view-options.php:137
|
1166 |
+
msgid "Post type"
|
1167 |
+
msgstr "Тип записи"
|
1168 |
|
1169 |
+
#: admin/ajax/ajax.php:181
|
1170 |
+
msgid "Posts"
|
1171 |
+
msgstr "Записи"
|
1172 |
|
1173 |
+
#: admin/metaboxes/base-options.php:625
|
1174 |
+
msgid "Posts, Pages, Custom post types"
|
1175 |
+
msgstr "Записи, страницы, произвольные типы записей"
|
1176 |
|
1177 |
+
#: admin/includes/class.snippets.table.php:209
|
1178 |
+
msgid "Preview"
|
1179 |
+
msgstr "Просмотр"
|
1180 |
|
1181 |
+
#: admin/includes/class.snippets.viewtable.php:21
|
1182 |
+
msgid "Priority"
|
1183 |
+
msgstr "Приоритет"
|
1184 |
+
|
1185 |
+
#: admin/includes/class.snippets.viewtable.php:213
|
1186 |
+
msgid "Priority is not changed!"
|
1187 |
+
msgstr "Приоритет не изменён!"
|
1188 |
|
1189 |
+
#: admin/includes/class.snippets.viewtable.php:206
|
1190 |
+
msgid "Priority is not changed! It's must be a number"
|
1191 |
+
msgstr "Приоритет не изменён! Он должен быть числовым"
|
|
|
1192 |
|
1193 |
+
#: admin/includes/class.snippets.viewtable.php:202
|
1194 |
+
msgid "Priority successfully changed"
|
1195 |
+
msgstr "Приоритет изменён"
|
|
|
1196 |
|
1197 |
+
#: admin/ajax/ajax.php:212
|
1198 |
+
msgid "Product"
|
1199 |
+
msgstr "Товар"
|
|
|
1200 |
|
1201 |
+
#: admin/ajax/ajax.php:237
|
1202 |
+
msgid "Products Category page"
|
1203 |
+
msgstr "Страница категории"
|
|
|
1204 |
|
1205 |
+
#: admin/ajax/ajax.php:242
|
1206 |
+
msgid "Products Tag page"
|
1207 |
+
msgstr "Страница тэга"
|
|
|
1208 |
|
1209 |
+
#: admin/pages/license.php:258
|
1210 |
+
msgid ""
|
1211 |
+
"Public License is a GPLv2 compatible license allowing you to change and use "
|
1212 |
+
"this version of the plugin for free. Please keep in mind this license covers "
|
1213 |
+
"only free edition of the plugin. Premium versions are distributed with other "
|
1214 |
+
"type of a license."
|
1215 |
+
msgstr ""
|
1216 |
+
"Public License это GPLv2-совместимая лицензия, которая позволяет изменять и "
|
1217 |
+
"использовать эту версию плагина бесплатно. Пожалуйста, имейте в виду, что "
|
1218 |
+
"эта лицензия относиться только к бесплатной редакции плагина. Премимум "
|
1219 |
+
"версии плагина распространяются в рамках другой лицензии."
|
1220 |
|
1221 |
+
#: includes/class.helpers.php:647
|
1222 |
+
msgid "Purchase premium for"
|
1223 |
+
msgstr "Приобрести премиум за"
|
1224 |
+
|
1225 |
+
#: admin/metaboxes/view-options.php:96
|
1226 |
+
msgid "Registration Date"
|
1227 |
+
msgstr "Дата регистрации"
|
1228 |
|
1229 |
#: admin/metaboxes/view-options.php:469
|
1230 |
msgid "relative"
|
1231 |
msgstr "относительно"
|
1232 |
|
1233 |
+
#: admin/pages/license.php:311
|
1234 |
+
msgid "remained"
|
1235 |
+
msgstr "осталось"
|
1236 |
|
1237 |
+
#: admin/pages/import.php:137
|
1238 |
+
msgid ""
|
1239 |
+
"Replace any existing snippets with a newly imported snippet of the same name."
|
1240 |
+
msgstr ""
|
1241 |
+
"Заменять существующие сниппеты импортированными файлами с тем же именем"
|
1242 |
|
1243 |
+
#: admin/metaboxes/revisions.php:102 admin/metaboxes/revisions.php:124
|
1244 |
+
msgid "Restore"
|
1245 |
+
msgstr "Восстановить"
|
1246 |
|
1247 |
+
#: admin/metaboxes/revisions.php:99
|
1248 |
+
msgid "Revision"
|
1249 |
+
msgstr "Ревизии"
|
1250 |
|
1251 |
+
#: admin/metaboxes/info.php:52
|
1252 |
+
msgid "Robin image optimizer: notice"
|
1253 |
+
msgstr "Robin Image Optimizer: уведомление"
|
1254 |
|
1255 |
+
#: admin/metaboxes/view-options.php:86
|
1256 |
+
msgid "Role"
|
1257 |
+
msgstr "Роль"
|
1258 |
|
1259 |
+
#: includes/class.helpers.php:739
|
1260 |
+
msgid "Run everywhere"
|
1261 |
+
msgstr "Запустить везде"
|
1262 |
|
1263 |
+
#: admin/includes/class.notices.php:143
|
1264 |
+
msgid "Running in safe mode. This mode your snippets will not be started."
|
1265 |
+
msgstr "Запуск в безопасном режиме. Так сниппеты не будут выполняться."
|
|
|
|
|
|
|
|
|
1266 |
|
1267 |
+
#: admin/metaboxes/base-options.php:112 admin/metaboxes/base-options.php:281
|
1268 |
+
msgid "Save"
|
1269 |
+
msgstr "Сохранить"
|
|
|
|
|
|
|
|
|
|
|
1270 |
|
1271 |
+
#: admin/metaboxes/base-options.php:265
|
1272 |
+
msgid "Save a Snippet as a Template"
|
1273 |
+
msgstr "Сохранить сниппет, как шаблон"
|
1274 |
|
1275 |
+
#: admin/metaboxes/base-options.php:490
|
1276 |
+
msgid "Save as template"
|
1277 |
+
msgstr "Сохранить в облако"
|
1278 |
|
1279 |
+
#: admin/pages/settings.php:246
|
1280 |
+
msgid "Save settings"
|
1281 |
+
msgstr "Сохранить настройки"
|
1282 |
|
1283 |
+
#: admin/ajax/ajax.php:162
|
1284 |
+
msgid "Search Page"
|
1285 |
+
msgstr "Страница поиска"
|
|
|
|
|
|
|
|
|
1286 |
|
1287 |
+
#: admin/types/snippets-post-types.php:86
|
1288 |
+
msgid "Search snippets"
|
1289 |
+
msgstr "Поиск сниппетов"
|
1290 |
|
1291 |
+
#: admin/metaboxes/view-options.php:425 admin/metaboxes/view-options.php:436
|
1292 |
+
#: admin/metaboxes/view-options.php:456
|
1293 |
+
msgid "Second(s)"
|
1294 |
+
msgstr "Секунда(ы)"
|
|
|
|
|
|
|
1295 |
|
1296 |
+
#: admin/metaboxes/base-options.php:691
|
1297 |
+
msgid "Select how the snippet will be linked to the page."
|
1298 |
+
msgstr "Выберите как сниппеты будут отмечены со страницей."
|
|
|
|
|
|
|
|
|
1299 |
|
1300 |
+
#: admin/metaboxes/base-options.php:667
|
1301 |
+
msgid "Select the location for you snippet."
|
1302 |
+
msgstr "Укажите размещение для сниппета"
|
|
|
|
|
1303 |
|
1304 |
+
#: admin/metaboxes/base-options.php:736
|
1305 |
+
msgid "Select the WPML language/languages that this snippet will work for."
|
1306 |
+
msgstr "Выберите WPML язык/языки, для которых будет работать этот сниппет."
|
|
|
|
|
1307 |
|
1308 |
+
#: admin/pages/settings.php:28 admin/pages/settings.php:230
|
1309 |
+
msgid "Settings"
|
1310 |
+
msgstr "Настройки"
|
1311 |
|
1312 |
+
#: admin/metaboxes/base-options.php:520
|
1313 |
+
msgid "Shortcode:"
|
1314 |
+
msgstr "Шорткод:"
|
|
|
|
|
|
|
|
|
1315 |
|
1316 |
+
#: admin/metaboxes/view-options.php:331
|
1317 |
+
msgid "Show IF"
|
1318 |
+
msgstr "Показать ЕСЛИ"
|
1319 |
|
1320 |
+
#: includes/class.helpers.php:418
|
1321 |
+
msgid "Simple php snippet: Disable emojis"
|
1322 |
+
msgstr "Простой PHP сниппет: Отключить эмодзи"
|
|
|
|
|
1323 |
|
1324 |
+
#: includes/class.helpers.php:406
|
1325 |
+
msgid "Simple text snippet: What is Lorem Ipsum?"
|
1326 |
+
msgstr "Простой текстовый сниппет: Что такое Lorem Ipsum?"
|
1327 |
|
1328 |
+
#: includes/class.helpers.php:394
|
1329 |
+
msgid "Simple universal snippet: Google analytics tracking"
|
1330 |
+
msgstr "Простой универсальный плагин: отслеживание Google Analytics"
|
1331 |
|
1332 |
+
#: admin/types/snippets-post-types.php:87
|
1333 |
+
msgid "Snippet is not found"
|
1334 |
+
msgstr "Сниппет не найден"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1335 |
|
1336 |
+
#: admin/includes/class.snippets.viewtable.php:256
|
1337 |
+
msgid "Snippet status changed"
|
1338 |
+
msgstr "Статус сниппета изменён"
|
1339 |
+
|
1340 |
+
#: admin/includes/class.snippets.viewtable.php:260
|
1341 |
+
msgid "Snippet status not changed."
|
1342 |
+
msgstr "Статус сниппета не изменён"
|
1343 |
+
|
1344 |
+
#: admin/includes/class.snippets.viewtable.php:268
|
1345 |
+
msgid "Snippet status not changed. No snippet ID"
|
1346 |
+
msgstr "Статус сниппета не изменён. Отсутствует ID сниппета"
|
1347 |
+
|
1348 |
+
#: admin/metaboxes/base-options.php:113
|
1349 |
+
msgid "Snippet template succefully saved!"
|
1350 |
+
msgstr "Шаблон сниппета успешно сохранен!"
|
1351 |
+
|
1352 |
+
#: admin/includes/class.snippets.viewtable.php:17
|
1353 |
+
msgid "Snippet title"
|
1354 |
+
msgstr "Заголовок сниппета"
|
1355 |
+
|
1356 |
+
#: includes/class.insertion.locations.php:202
|
1357 |
+
msgid "Snippet will be placed after a product excerpt"
|
1358 |
+
msgstr "Сниппет будет размещён после описания товара"
|
1359 |
+
|
1360 |
+
#: includes/class.insertion.locations.php:194
|
1361 |
+
msgid "Snippet will be placed after a product price"
|
1362 |
+
msgstr "Сниппет будет размещён после цены товара"
|
1363 |
+
|
1364 |
+
#: includes/class.insertion.locations.php:186
|
1365 |
+
msgid "Snippet will be placed after a product title"
|
1366 |
+
msgstr "Сниппет будет размещён после заголовка товара"
|
1367 |
|
1368 |
+
#: includes/class.insertion.locations.php:162
|
1369 |
+
msgid "Snippet will be placed after a single product"
|
1370 |
+
msgstr "Сниппет будет размещён после товара"
|
|
|
1371 |
|
1372 |
+
#: includes/class.insertion.locations.php:178
|
1373 |
+
msgid "Snippet will be placed after a single product summary"
|
1374 |
+
msgstr "Сниппет будет размещён после карточки товара"
|
|
|
1375 |
|
1376 |
+
#: includes/class.insertion.locations.php:78
|
1377 |
+
msgid "Snippet will be placed after the content of the post/page."
|
1378 |
+
msgstr "Сниппет будет размещен после содержимого записи/страницы."
|
|
|
1379 |
|
1380 |
+
#: includes/class.insertion.locations.php:104
|
1381 |
+
msgid "Snippet will be placed after the excerpt of the post/page."
|
1382 |
+
msgstr "Сниппет будет размещен после превью записи/страницы."
|
1383 |
|
1384 |
+
#: includes/class.insertion.locations.php:146
|
1385 |
+
msgid "Snippet will be placed after the list of products."
|
1386 |
+
msgstr "Сниппет будет размещён после списка товаров"
|
1387 |
|
1388 |
+
#: includes/class.insertion.locations.php:70
|
1389 |
msgid ""
|
1390 |
+
"Snippet will be placed after the paragraph, which number you can specify in "
|
1391 |
+
"the Location number field."
|
|
|
|
|
1392 |
msgstr ""
|
1393 |
+
"Сниппет будет размещен после абзаца с номером, указанным в поле \"Число при "
|
1394 |
+
"размещении\"."
|
|
|
|
|
1395 |
|
1396 |
+
#: includes/class.insertion.locations.php:128
|
1397 |
msgid ""
|
1398 |
+
"Snippet will be placed after the post, which number you can specify in the "
|
1399 |
+
"Location number field."
|
|
|
1400 |
msgstr ""
|
1401 |
+
"Сниппет будет размещен после записи с номером, указанным в поле \"Число при "
|
1402 |
+
"размещении\"."
|
|
|
1403 |
|
1404 |
+
#: includes/class.insertion.locations.php:154
|
1405 |
+
msgid "Snippet will be placed before a single product"
|
1406 |
+
msgstr "Сниппет будет размещён до товара"
|
1407 |
+
|
1408 |
+
#: includes/class.insertion.locations.php:170
|
1409 |
+
msgid "Snippet will be placed before a single product summary"
|
1410 |
+
msgstr "Сниппет будет размещён до карточки товара"
|
1411 |
+
|
1412 |
+
#: includes/class.insertion.locations.php:54
|
1413 |
+
msgid "Snippet will be placed before the content of the post/page."
|
1414 |
+
msgstr "Сниппет будет размещен до содержимого записи/страницы."
|
1415 |
+
|
1416 |
+
#: includes/class.insertion.locations.php:96
|
1417 |
+
msgid "Snippet will be placed before the excerpt of the post/page."
|
1418 |
+
msgstr "Сниппет будет размещен до превью записи/страницы."
|
1419 |
+
|
1420 |
+
#: includes/class.insertion.locations.php:138
|
1421 |
+
msgid "Snippet will be placed before the list of products."
|
1422 |
+
msgstr "Сниппет будет размещён до списка товаров"
|
1423 |
+
|
1424 |
+
#: includes/class.insertion.locations.php:62
|
1425 |
msgid ""
|
1426 |
+
"Snippet will be placed before the paragraph, which number you can specify in "
|
1427 |
+
"the Location number field."
|
1428 |
msgstr ""
|
1429 |
+
"Сниппет будет размещен до абзаца с номером, указанным в поле \"Число при "
|
1430 |
+
"размещении\"."
|
1431 |
|
1432 |
+
#: includes/class.insertion.locations.php:120
|
1433 |
+
msgid ""
|
1434 |
+
"Snippet will be placed before the post, which number you can specify in the "
|
1435 |
+
"Location number field."
|
1436 |
+
msgstr ""
|
1437 |
+
"Сниппет будет размещен до записи с номером, указанным в поле \"Число при "
|
1438 |
+
"размещении\""
|
1439 |
|
1440 |
+
#: includes/class.insertion.locations.php:46
|
1441 |
+
msgid "Snippet will be placed before the title of the post/page."
|
1442 |
+
msgstr "Сниппет будет размещен до заголовка записи/страницы."
|
1443 |
|
1444 |
+
#: includes/class.insertion.locations.php:112
|
1445 |
+
msgid "Snippet will be placed between each post."
|
1446 |
+
msgstr "Сниппет будет размещен между записями."
|
1447 |
|
1448 |
+
#: includes/class.insertion.locations.php:36
|
1449 |
+
msgid "Snippet will be placed in the source code before </body>."
|
1450 |
+
msgstr "Сниппет будет размещен в исходном коде перед </body>."
|
1451 |
|
1452 |
+
#: includes/class.insertion.locations.php:28
|
1453 |
+
msgid "Snippet will be placed in the source code before </head>."
|
1454 |
+
msgstr "Сниппет будет размещен в исходном коде перед </head>."
|
1455 |
|
1456 |
+
#: includes/class.insertion.locations.php:86
|
1457 |
+
msgid "Snippet will be placed in the very end of the post/page."
|
1458 |
+
msgstr "Сниппет будет размещен в конце записи/страницы."
|
1459 |
|
1460 |
+
#: admin/types/snippets-post-types.php:78
|
1461 |
+
msgid "Snippets"
|
1462 |
+
msgstr "Сниппеты"
|
1463 |
|
1464 |
+
#: admin/pages/snippet-library.php:29 admin/pages/snippet-library.php:127
|
1465 |
+
#: admin/pages/snippet-library.php:134
|
1466 |
+
msgid "Snippets library"
|
1467 |
+
msgstr "Библиотека сниппетов"
|
1468 |
|
1469 |
+
#: admin/pages/snippet-library.php:99
|
1470 |
+
msgid "Snippets Library [Premium]"
|
1471 |
+
msgstr "Библиотека сниппетов [Premium]"
|
1472 |
|
1473 |
+
#: admin/types/snippets-post-types.php:88
|
1474 |
+
msgid "Snippt is not found in trash"
|
1475 |
+
msgstr "Сниппет не найден в Корзине."
|
1476 |
|
1477 |
+
#: admin/ajax/ajax.php:155
|
1478 |
+
msgid "Special Pages"
|
1479 |
+
msgstr "Специальные страницы"
|
1480 |
+
|
1481 |
+
#: admin/includes/class.snippets.viewtable.php:16
|
1482 |
+
msgid "Status"
|
1483 |
+
msgstr "Статус"
|
1484 |
|
1485 |
#: admin/pages/license.php:330
|
1486 |
msgid "Submit Key"
|
1487 |
msgstr "Отправить"
|
1488 |
|
1489 |
+
#: admin/ajax/check-license.php:55
|
1490 |
+
msgid "Subscription success cancelled"
|
1491 |
+
msgstr "Подписка успешно отменена"
|
|
|
|
|
|
|
|
|
|
|
1492 |
|
1493 |
+
#: admin/pages/import.php:68
|
1494 |
#, php-format
|
1495 |
+
msgid "Successfully imported <strong>%1$d</strong> snippet."
|
1496 |
+
msgid_plural "Successfully imported <strong>%1$d</strong> snippets."
|
1497 |
+
msgstr[0] "<strong>%1$d</strong> сниппет успешно импортирован."
|
1498 |
+
msgstr[1] "<strong>%1$d</strong> сниппета успешно импортированы."
|
1499 |
+
msgstr[2] "<strong>%1$d</strong> сниппетов успешно импортировано."
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1500 |
|
1501 |
+
#: admin/pages/settings.php:108
|
1502 |
+
msgid "Support old shortcodes [insert_php]"
|
1503 |
+
msgstr "Поддержка старых шорткодов [insert_php]"
|
1504 |
|
1505 |
+
#: admin/pages/license.php:239
|
1506 |
+
msgid "Synchronization"
|
1507 |
+
msgstr "Синхронизация"
|
1508 |
|
1509 |
+
#: admin/includes/class.api.php:269
|
1510 |
+
msgid "Synchronization snippet error"
|
1511 |
+
msgstr "Ошибка синхронизации снипета"
|
|
|
|
|
|
|
|
|
1512 |
|
1513 |
+
#: admin/pages/settings.php:144
|
1514 |
+
msgid "Tab Size"
|
1515 |
+
msgstr "Размер табуляции"
|
1516 |
|
1517 |
+
#: admin/types/snippets-taxonomy.php:35
|
1518 |
+
msgid "Tag"
|
1519 |
+
msgstr "Тег"
|
1520 |
|
1521 |
+
#: admin/includes/class.snippets.viewtable.php:20
|
1522 |
+
#: admin/types/snippets-taxonomy.php:34
|
1523 |
+
msgid "Tags"
|
1524 |
+
msgstr "Теги"
|
|
|
|
|
|
|
1525 |
|
1526 |
+
#: admin/includes/class.notices.php:80
|
1527 |
+
msgid "Take the survey now"
|
1528 |
+
msgstr "Пройти опрос"
|
1529 |
|
1530 |
+
#: admin/metaboxes/view-options.php:157
|
1531 |
+
msgid "Taxonomy of the page"
|
1532 |
+
msgstr "Таксономия страницы"
|
1533 |
|
1534 |
+
#: admin/metaboxes/view-options.php:147
|
1535 |
+
msgid "Taxonomy page"
|
1536 |
+
msgstr "Страница таксономии"
|
1537 |
|
1538 |
+
#: admin/metaboxes/view-options.php:179
|
1539 |
+
msgid "Technology"
|
1540 |
+
msgstr "Технология"
|
1541 |
|
1542 |
+
#: admin/includes/class.common.snippet.php:94
|
1543 |
+
#: admin/includes/class.common.snippet.php:152 admin/pages/new-item.php:59
|
1544 |
+
msgid "Text snippet"
|
1545 |
+
msgstr "Текстовый сниппет"
|
1546 |
|
1547 |
+
#: admin/includes/class.common.snippet.php:63
|
1548 |
+
#, php-format
|
1549 |
+
msgid "The %s directory could not be created"
|
1550 |
+
msgstr "Директория %s не может быть создана"
|
1551 |
|
1552 |
+
#: admin/includes/class.common.snippet.php:74
|
1553 |
+
#, php-format
|
1554 |
msgid ""
|
1555 |
+
"The %s directory is not writable, therefore the CSS and JS files cannot be "
|
1556 |
+
"saved."
|
1557 |
msgstr ""
|
1558 |
+
"Директория %s недоступа для записи, поэтому CSS и JS файлы не могу быть "
|
1559 |
+
"сохранены."
|
|
|
|
|
|
|
|
|
1560 |
|
1561 |
+
#: admin/metaboxes/view-options.php:98
|
1562 |
msgid ""
|
1563 |
+
"The date when the user who views your website was registered. For "
|
1564 |
+
"unregistered users this date always equals to 1 Jan 1970."
|
|
|
1565 |
msgstr ""
|
1566 |
+
"Дата регистрации пользователя, просматривающего сайт. Для "
|
1567 |
+
"незарегистрированных пользователей значение всегда 1 января 1970."
|
|
|
1568 |
|
1569 |
+
#: admin/ajax/check-license.php:51
|
1570 |
+
msgid "The license has been updated"
|
1571 |
+
msgstr "Лицензия обновлена."
|
1572 |
|
1573 |
+
#: admin/ajax/check-license.php:47
|
1574 |
+
msgid "The license is deactivated"
|
1575 |
+
msgstr "Лицензия деактивирована."
|
1576 |
|
1577 |
+
#: admin/metaboxes/view-options.php:233
|
1578 |
+
msgid "The number of pages viewed by the user per session"
|
1579 |
+
msgstr "Количество просмотров страниц на сессию пользователя"
|
1580 |
|
1581 |
+
#: admin/pages/settings.php:173
|
1582 |
+
msgid "The optional feature. If ON, all lines in the editor will be numbered."
|
|
|
|
|
1583 |
msgstr ""
|
1584 |
+
"Не обязательная опция. Если активна, то все строки в редакторе будут "
|
1585 |
+
"пронумерованы"
|
|
|
|
|
|
|
|
|
1586 |
|
1587 |
+
#: admin/pages/settings.php:191
|
1588 |
msgid ""
|
1589 |
+
"The optional feature. If ON, it searches for matches for the selected "
|
1590 |
+
"variable/function name. Highlight matches with green. Improves readability."
|
|
|
|
|
|
|
1591 |
msgstr ""
|
1592 |
+
"Не обязательная опция. Если активна, то ищет совпадения по заданному имени "
|
1593 |
+
"функции/переменной. Найденные совпадения подсвечиваются зеленым. Улучшает "
|
1594 |
+
"читабельность."
|
|
|
|
|
|
|
|
|
|
|
|
|
1595 |
|
1596 |
+
#: admin/pages/settings.php:182
|
1597 |
msgid ""
|
1598 |
+
"The optional feature. If ON, the editor will automatically close opened "
|
1599 |
+
"quotes or brackets. Sometimes, it speeds up coding."
|
1600 |
msgstr ""
|
1601 |
+
"Не обязательная опция. Если активна, то редактор автоматически закрывает "
|
1602 |
+
"открытые скобки и кавычки. В ряде случаев ускоряет разработку."
|
|
|
|
|
|
|
|
|
1603 |
|
1604 |
+
#: admin/pages/settings.php:164
|
1605 |
msgid ""
|
1606 |
+
"The optional feature. If ON, the editor will wrap long lines. Otherwise, it "
|
1607 |
+
"will create a horizontal scroll."
|
1608 |
msgstr ""
|
1609 |
+
"Не обязательная опция. Если активна, то редактор будет разделять длинные "
|
1610 |
+
"строки. В противном случае создается горизонтальная прокрутка."
|
|
|
|
|
|
|
|
|
1611 |
|
1612 |
#: admin/pages/settings.php:146
|
1613 |
msgid ""
|
1617 |
"Не обязательная опция. Клавиша Tab в редакторе кода увеличивает левый отступ "
|
1618 |
"на N-количество пробелов. Вы сами задаете число N."
|
1619 |
|
|
|
|
|
|
|
|
|
1620 |
#: admin/pages/settings.php:155
|
1621 |
msgid ""
|
1622 |
"The optional feature. The indent for code lines (units). Example: select a "
|
1627 |
"сниппет, нажмите Tab. Левый отступ выделенного кода увеличится на N-"
|
1628 |
"количество пробелов. Вы сами задаете число N."
|
1629 |
|
1630 |
+
#: admin/pages/settings.php:137
|
1631 |
+
msgid ""
|
1632 |
+
"The optional feature. Whether, when indenting, the first N*tabSize spaces "
|
1633 |
+
"should be replaced by N tabs. The default is false."
|
1634 |
+
msgstr ""
|
1635 |
+
"Не обязательная опция. Указывает, должен ли первый отступ N*tabSize "
|
1636 |
+
"заменяться на N. По умолчанию - false."
|
1637 |
|
1638 |
+
#: admin/pages/settings.php:128
|
1639 |
msgid ""
|
1640 |
+
"The optional feature. You can customize the code style in the snippet editor."
|
1641 |
+
" The \"Default\" style is applied by default."
|
1642 |
msgstr ""
|
1643 |
+
"Не обязательная опция. Вы можете настраивать стили кода в редакторе сниппета."
|
1644 |
+
" По умолчанию используется стиль \"Default\"."
|
1645 |
|
1646 |
+
#: admin/pages/settings.php:236
|
1647 |
+
msgid "The settings have been updated successfully!"
|
1648 |
+
msgstr "Настройки успешно обновились!"
|
1649 |
|
1650 |
+
#: admin/includes/class.notices.php:101
|
1651 |
+
#, php-format
|
1652 |
+
msgid "The snippet has been deactivated due to an error on line %d:"
|
1653 |
+
msgstr "Сниппет был отключен, из-за ошибки в строке %d:"
|
1654 |
+
|
1655 |
+
#: admin/includes/class.snippets.viewtable.php:244
|
1656 |
+
msgid ""
|
1657 |
+
"The snippet is not activated because errors were detected in the snippet "
|
1658 |
+
"code!"
|
1659 |
+
msgstr "Сниппет не активирован, так как в его коде обнаружены ошибки!"
|
1660 |
+
|
1661 |
+
#: admin/metaboxes/view-options.php:239
|
1662 |
+
msgid "The time interval during which the user entered"
|
1663 |
+
msgstr "Временной интервал в которой зашел пользователь"
|
1664 |
+
|
1665 |
+
#: admin/metaboxes/view-options.php:245
|
1666 |
+
msgid "The total number of sessions opened by the user"
|
1667 |
+
msgstr "Общее количество открытых сессий пользователем "
|
1668 |
+
|
1669 |
+
#: includes/class.helpers.php:411
|
1670 |
+
msgid ""
|
1671 |
+
"This ordinary maintenance text. With this snippet, you can fill your pages "
|
1672 |
+
"with meaningless English text."
|
1673 |
+
msgstr ""
|
1674 |
+
"Это обычный текст-заполнитель. С данным сниппетом вы можете заполнить "
|
1675 |
+
"страницы бессмысленным текстом на латинице."
|
1676 |
+
|
1677 |
+
#: admin/includes/class.snippets.table.php:206
|
1678 |
+
msgid "Title"
|
1679 |
+
msgstr "Заголовок"
|
1680 |
+
|
1681 |
+
#: admin/metaboxes/view-options.php:415
|
1682 |
+
msgid "to"
|
1683 |
+
msgstr "по"
|
1684 |
+
|
1685 |
+
#: admin/pages/import.php:77
|
1686 |
+
#, php-format
|
1687 |
+
msgid ""
|
1688 |
+
"To import more then one snippet at a time, you need to purchase <a "
|
1689 |
+
"href=\"%s\">Woody snippets PRO</a>"
|
1690 |
+
msgstr ""
|
1691 |
+
"Для того, чтобы импортировать более одного сниппета за раз, необходимо "
|
1692 |
+
"приобрести <a href=\"%s\">Woody snippets PRO</a>"
|
1693 |
+
|
1694 |
+
#: admin/metaboxes/view-options.php:243
|
1695 |
+
msgid "Total number of visits"
|
1696 |
+
msgstr "Общее число визитов"
|
1697 |
+
|
1698 |
+
#: admin/includes/class.snippets.table.php:205
|
1699 |
+
msgid "Type"
|
1700 |
+
msgstr "Тип"
|
1701 |
+
|
1702 |
+
#: admin/includes/class.common.snippet.php:98
|
1703 |
+
#: admin/includes/class.common.snippet.php:156 admin/pages/new-item.php:64
|
1704 |
+
msgid "Universal snippet"
|
1705 |
+
msgstr "Универсальный сниппет"
|
1706 |
+
|
1707 |
+
#: admin/includes/class.api.php:272
|
1708 |
+
msgid "Unknown sippet type"
|
1709 |
+
msgstr "Неизвестный тип сниппета"
|
1710 |
+
|
1711 |
+
#: admin/pages/license.php:226
|
1712 |
+
#, php-format
|
1713 |
+
msgid "Upgrade to Premium for $%s"
|
1714 |
+
msgstr "Обновить до премиум за $%s"
|
1715 |
+
|
1716 |
+
#: admin/pages/import.php:148
|
1717 |
+
msgid "Upload Files"
|
1718 |
+
msgstr "Загрузить файлы"
|
1719 |
+
|
1720 |
+
#: admin/pages/import.php:166
|
1721 |
+
msgid "Upload files and import"
|
1722 |
+
msgstr "Загрузить файлы и импортировать"
|
1723 |
+
|
1724 |
+
#: admin/pages/import.php:121
|
1725 |
+
msgid ""
|
1726 |
+
"Upload one or more Php Snippets export files and the snippets will be "
|
1727 |
+
"imported."
|
1728 |
+
msgstr ""
|
1729 |
+
"Загрузите один или несколько экспорт-файлов PHP сниппетов и они будут "
|
1730 |
+
"импортированы."
|
1731 |
+
|
1732 |
+
#: admin/metaboxes/view-options.php:195
|
1733 |
+
msgid "Use cookie"
|
1734 |
+
msgstr "Использует куки"
|
1735 |
+
|
1736 |
+
#: admin/metaboxes/view-options.php:201
|
1737 |
+
msgid "Use javascript"
|
1738 |
+
msgstr "Использует JavaScript"
|
1739 |
+
|
1740 |
+
#: admin/pages/new-item.php:86
|
1741 |
+
msgid ""
|
1742 |
+
"Used for inserting Advertisement. Can be used for inserting quotes, "
|
1743 |
+
"paragraphs, shortcodes from other plugins, tables, media files."
|
1744 |
+
msgstr ""
|
1745 |
+
"Используется для добавления рекламного сниппета. Подходит для размещения "
|
1746 |
+
"цитат, абзацев, шорткодов других плагинов, таблиц и медиафайлов."
|
1747 |
+
|
1748 |
+
#: admin/pages/new-item.php:71
|
1749 |
+
msgid "Used for inserting css code. Can be used for inserting css styles."
|
1750 |
+
msgstr "Используется для вставки CSS кода."
|
1751 |
+
|
1752 |
+
#: admin/pages/new-item.php:61
|
1753 |
+
msgid ""
|
1754 |
+
"Used for inserting formatted text. Can be used for inserting quotes, "
|
1755 |
+
"paragraphs, shortcodes from other plugins, tables, media files."
|
1756 |
msgstr ""
|
1757 |
+
"Используется для добавления форматированного текста. Подходит для размещения "
|
1758 |
+
"цитат, абзацев, шорткодов других плагинов, таблиц и медиафайлов."
|
1759 |
|
1760 |
+
#: admin/pages/new-item.php:81
|
1761 |
+
msgid "Used for inserting html code. Can be used for inserting html code."
|
1762 |
+
msgstr "Используется для вставки HTML кода."
|
1763 |
|
1764 |
+
#: admin/pages/new-item.php:76
|
1765 |
msgid ""
|
1766 |
+
"Used for inserting js code. Can be used for inserting ads, analytics, embeds "
|
1767 |
+
"& other complex scenarios."
|
1768 |
msgstr ""
|
1769 |
+
"Используется для вставки JS кода. Также может использоваться для вставки "
|
1770 |
+
"рекламы, аналитики, вставок & других сложных сценариев."
|
1771 |
|
1772 |
+
#: admin/pages/new-item.php:56
|
1773 |
+
msgid ""
|
1774 |
+
"Used for inserting php code. Can be used for registering functions, hooks, "
|
1775 |
+
"global variables, printing text. Virtual functions.php"
|
1776 |
+
msgstr ""
|
1777 |
+
"Используется для добавления PHP кода. Подходит для регистрирования функций, "
|
1778 |
+
"хуков, глобальных переменных, вывода текста. Виртуальный functions.php"
|
1779 |
|
1780 |
+
#: admin/pages/new-item.php:66
|
1781 |
msgid ""
|
1782 |
+
"Used for inserting php, html, js & css code. Can be used for inserting ads, "
|
1783 |
+
"analytics, embeds & other complex scenarios."
|
1784 |
msgstr ""
|
1785 |
+
"Используется для добавления PHP, HTML, JS и CSS кода. Подходит для "
|
1786 |
+
"размещения рекламы, аналитики, встроенных и сложных сценариев"
|
|
|
1787 |
|
1788 |
+
#: admin/metaboxes/view-options.php:82
|
1789 |
+
msgid "User"
|
1790 |
+
msgstr "Пользователь"
|
1791 |
|
1792 |
+
#: admin/metaboxes/view-options.php:225
|
1793 |
+
msgid "User country"
|
1794 |
+
msgstr "Страна пользователя"
|
1795 |
|
1796 |
+
#: admin/pages/license.php:293
|
1797 |
+
msgid "version"
|
1798 |
+
msgstr "версия"
|
|
|
1799 |
|
1800 |
+
#: admin/types/snippets-post-types.php:85
|
1801 |
+
msgid "View snippet"
|
1802 |
+
msgstr "Просмотр сниппета"
|
1803 |
|
1804 |
+
#: admin/includes/class.snippets.table.php:343
|
1805 |
+
msgid "View the video"
|
1806 |
+
msgstr "Смотреть видео"
|
1807 |
|
1808 |
+
#: admin/metaboxes/view-options.php:231
|
1809 |
+
msgid "Viewing depth"
|
1810 |
+
msgstr "Глубина просмотра"
|
1811 |
|
1812 |
+
#: admin/includes/class.notices.php:120
|
1813 |
+
msgid ""
|
1814 |
+
"We strongly recommend you to porting your php code to snippets and call them "
|
1815 |
+
"in your posts/pages and widgets using [wbcr_php_snippet id = \"000\"] "
|
1816 |
+
"shortcodes."
|
1817 |
+
msgstr ""
|
1818 |
+
"Мы настоятельно рекомендуем переносить PHP код в сниппеты и вызывать их в "
|
1819 |
+
"записях/страницах и виджетах через шорткоды [wbcr_php_snippet id = \"000\"] "
|
1820 |
|
1821 |
+
#: admin/metaboxes/view-options.php:429 admin/metaboxes/view-options.php:440
|
1822 |
+
#: admin/metaboxes/view-options.php:460
|
1823 |
+
msgid "Week(s)"
|
1824 |
+
msgstr "Неделя(и)"
|
1825 |
+
|
1826 |
+
#: admin/pages/import.php:124
|
1827 |
msgid ""
|
1828 |
+
"What should happen if an existing snippet is found with an identical name to "
|
1829 |
+
"an imported snippet?"
|
|
|
|
|
1830 |
msgstr ""
|
1831 |
+
"Что делать с импортированным файлом, если сниппет с таким именем уже "
|
1832 |
+
"существует?"
|
|
|
|
|
|
|
1833 |
|
1834 |
+
#: admin/pages/about.php:49
|
1835 |
+
msgid "What’s New"
|
1836 |
+
msgstr "Что нового"
|
1837 |
+
|
1838 |
+
#: admin/pages/settings.php:74
|
1839 |
+
msgid ""
|
1840 |
+
"When creating a new snippet or updating an old one, make the code snippets "
|
1841 |
+
"active by default."
|
1842 |
+
msgstr ""
|
1843 |
+
"При создании нового сниппета или обновлении старого, активируйте сниппеты "
|
1844 |
+
"кода по умолчанию."
|
1845 |
+
|
1846 |
+
#: admin/pages/settings.php:101
|
1847 |
+
msgid ""
|
1848 |
+
"When the plugin is deleted from the Plugins menu, also delete all snippets "
|
1849 |
+
"and plugin settings."
|
1850 |
+
msgstr ""
|
1851 |
+
"При удалении плагина из меню \"Плагины\" удаляются все сниппеты и настройки "
|
1852 |
+
"плагина"
|
1853 |
|
1854 |
#: admin/pages/snippet-library.php:103
|
1855 |
msgid ""
|
1865 |
"необходимости импорта/экспорта. Доступ к этому разделу можно получить "
|
1866 |
"только после покупки премиум версии."
|
1867 |
|
1868 |
+
#: admin/metaboxes/base-options.php:554 admin/metaboxes/base-options.php:578
|
1869 |
+
msgid "Where there is a shortcode"
|
1870 |
+
msgstr "Везде, где есть шорткод"
|
1871 |
|
1872 |
+
#: admin/metaboxes/base-options.php:598
|
1873 |
+
msgid "Where to execute the code?"
|
1874 |
+
msgstr "Где можно выполнять код?"
|
1875 |
|
1876 |
+
#: admin/metaboxes/base-options.php:524
|
1877 |
+
msgid "Where use:"
|
1878 |
+
msgstr "Авто-размещение:"
|
1879 |
|
1880 |
+
#: admin/includes/class.snippets.viewtable.php:19
|
1881 |
+
msgid "Where use?"
|
1882 |
+
msgstr "Где использовать?"
|
1883 |
|
1884 |
+
#. Author of the plugin
|
1885 |
+
msgid "Will Bontrager Software, LLC <will@willmaster.com>, Webcraftic"
|
1886 |
+
msgstr "Will Bontrager Software, LLC <will@willmaster.com>, Webcraftic"
|
1887 |
|
1888 |
+
#: admin/ajax/ajax.php:209 admin/metaboxes/base-options.php:642
|
1889 |
+
msgid "Woocommerce"
|
1890 |
+
msgstr "Woocommerce"
|
1891 |
|
1892 |
+
#: insert_php.php:178 admin/boot.php:151
|
1893 |
+
msgid "Woody Code Snippets"
|
1894 |
+
msgstr "Woody Code Snippets"
|
1895 |
|
1896 |
+
#: admin/pages/import.php:108
|
1897 |
+
msgid "Woody Code Snippets Import"
|
1898 |
+
msgstr "Woody импорт сниппетов"
|
1899 |
|
1900 |
+
#. Name of the plugin
|
1901 |
+
#| msgid "Woody Code Snippets (PHP snippets | Insert PHP)"
|
1902 |
+
msgid "Woody code snippets (PHP snippets | Insert PHP)"
|
1903 |
+
msgstr "Woody code snippets (PHP snippets | Insert PHP)"
|
1904 |
|
1905 |
+
#: admin/includes/class.common.snippet.php:125
|
1906 |
+
#: admin/types/snippets-post-types.php:45
|
1907 |
+
#: admin/types/snippets-post-types.php:46
|
1908 |
+
msgid "Woody snippets"
|
1909 |
+
msgstr "Woody snippets"
|
1910 |
|
1911 |
+
#: admin/metaboxes/base-options.php:734
|
1912 |
+
msgid "WPML Language"
|
1913 |
+
msgstr "WPML Язык"
|
1914 |
|
1915 |
+
#: admin/pages/settings.php:162
|
1916 |
+
msgid "Wrap Lines"
|
1917 |
+
msgstr "Обернуть строки"
|
1918 |
|
1919 |
+
#: admin/metaboxes/view-options.php:431 admin/metaboxes/view-options.php:442
|
1920 |
+
#: admin/metaboxes/view-options.php:462
|
1921 |
+
msgid "Year(s)"
|
1922 |
+
msgstr "Год/Лет"
|
|
|
|
|
|
|
1923 |
|
1924 |
+
#: admin/metaboxes/base-options.php:700
|
1925 |
+
msgid ""
|
1926 |
+
"You can write a short note so that you can always remember why this code or "
|
1927 |
+
"your colleague was able to apply this code in his works."
|
1928 |
+
msgstr ""
|
1929 |
+
"Вы можете добавить короткое примечание. Так вы и ваши коллеги всегда будете "
|
1930 |
+
"знать, что именно делает этот код, и как применять его в работе."
|
1931 |
|
1932 |
+
#: admin/includes/class.snippets.viewtable.php:194
|
1933 |
+
#: admin/includes/class.snippets.viewtable.php:226
|
1934 |
+
msgid "You don't have enough capability to edit this information."
|
1935 |
+
msgstr "У вас недостаточно прав для этого."
|
1936 |
|
1937 |
+
#: admin/pages/license.php:262
|
1938 |
msgid ""
|
1939 |
+
"You use a paid subscription for the plugin updates. In case you don’t want "
|
1940 |
+
"to receive paid updates, please, click <a data-action=\"unsubscribe\" "
|
1941 |
+
"class=\"winp-control-btn\" href=\"#\">cancel subscription</a>"
|
1942 |
msgstr ""
|
1943 |
+
"Вы используете платную подписку на обновления плагина. В случае если вы не "
|
1944 |
+
"хотите получить платные обновления, нажмите <a data-action=\"unsubscribe\" "
|
1945 |
+
"class=\"winp-control-btn\" href=\"#\">отменить подписку</a>"
|
1946 |
|
1947 |
+
#: admin/metaboxes/view-options.php:391
|
1948 |
+
msgid "Younger Than"
|
1949 |
+
msgstr "Младше"
|
1950 |
|
1951 |
+
#: admin/pages/license.php:229
|
1952 |
+
#, php-format
|
1953 |
+
msgid "Your current license for %1$s:"
|
1954 |
+
msgstr "Ваша текущая лицензия для %1$s:"
|
1955 |
+
|
1956 |
+
#: admin/ajax/check-license.php:42
|
1957 |
+
msgid "Your license has been successfully activated"
|
1958 |
+
msgstr "Ваша лицензия успешно активирована"
|
1959 |
+
|
1960 |
+
#: admin/pages/license.php:268
|
1961 |
msgid ""
|
1962 |
+
"Your license has expired, please extend the license to get updates and "
|
1963 |
+
"support."
|
1964 |
msgstr ""
|
1965 |
+
"Срок действия вашей лицензии истек, пожалуйста, продлите лицензию, чтобы "
|
1966 |
+
"получать обновления и поддержку."
|
1967 |
|
1968 |
+
#: admin/metaboxes/base-options.php:270
|
1969 |
+
msgid ""
|
1970 |
+
"Your snippets will be available for export and reuse on any page or website"
|
1971 |
+
msgstr ""
|
1972 |
+
"Ваши сниппеты будут доступны для экспорта и повторного использования на "
|
1973 |
+
"любой странице или веб-сайте"
|
languages/insert-php.pot
CHANGED
@@ -1,5 +1,5 @@
|
|
1 |
-
# Translation of Plugins - Woody
|
2 |
-
# This file is distributed under the same license as the Plugins - Woody
|
3 |
#, fuzzy
|
4 |
msgid ""
|
5 |
msgstr ""
|
@@ -10,966 +10,978 @@ msgstr ""
|
|
10 |
"Plural-Forms: nplurals=INTEGER; plural=EXPRESSION;\n"
|
11 |
"X-Generator: Loco https://localise.biz/\n"
|
12 |
"Language: \n"
|
13 |
-
"Project-Id-Version: Plugins - Woody
|
14 |
"text, or ads via using conditions - Development (trunk)\n"
|
15 |
-
"POT-Creation-Date:
|
16 |
"Last-Translator: \n"
|
17 |
"Language-Team: "
|
18 |
|
19 |
-
|
20 |
-
|
|
|
|
|
21 |
msgstr ""
|
22 |
|
23 |
-
#:
|
24 |
-
msgid "
|
25 |
msgstr ""
|
26 |
|
27 |
-
#:
|
28 |
-
msgid ""
|
29 |
-
"Emojis are little icons used to express ideas or emotions. While these icons "
|
30 |
-
"are fun and all, are they really necessary for your WordPress site? This "
|
31 |
-
"snippet to disable emojis on your site to make it faster."
|
32 |
msgstr ""
|
33 |
|
34 |
-
#:
|
35 |
-
msgid "
|
|
|
|
|
|
|
|
|
36 |
msgstr ""
|
37 |
|
38 |
-
#:
|
|
|
39 |
msgid ""
|
40 |
-
"
|
41 |
-
"
|
42 |
msgstr ""
|
43 |
|
44 |
-
#:
|
45 |
-
msgid "
|
46 |
msgstr ""
|
47 |
|
48 |
-
#:
|
49 |
-
msgid "
|
50 |
msgstr ""
|
51 |
|
52 |
-
#:
|
53 |
-
msgid "
|
54 |
msgstr ""
|
55 |
|
56 |
-
#: includes/
|
57 |
-
msgid "
|
58 |
msgstr ""
|
59 |
|
60 |
-
#: includes/
|
61 |
-
|
|
|
|
|
|
|
|
|
62 |
msgstr ""
|
63 |
|
64 |
-
#: includes/
|
65 |
-
msgid "
|
66 |
msgstr ""
|
67 |
|
68 |
-
#:
|
69 |
-
msgid "
|
|
|
|
|
|
|
|
|
|
|
70 |
msgstr ""
|
71 |
|
72 |
-
#:
|
73 |
-
msgid "
|
74 |
msgstr ""
|
75 |
|
76 |
-
#:
|
77 |
-
msgid "
|
78 |
msgstr ""
|
79 |
|
80 |
-
#:
|
81 |
-
msgid "
|
|
|
|
|
82 |
msgstr ""
|
83 |
|
84 |
-
#:
|
85 |
-
msgid "
|
86 |
msgstr ""
|
87 |
|
88 |
-
#:
|
89 |
-
msgid "
|
90 |
msgstr ""
|
91 |
|
92 |
-
#:
|
93 |
-
msgid "
|
94 |
msgstr ""
|
95 |
|
96 |
-
#:
|
97 |
-
msgid "
|
98 |
msgstr ""
|
99 |
|
100 |
-
#:
|
101 |
-
msgid "
|
102 |
msgstr ""
|
103 |
|
104 |
-
#: includes/class.
|
105 |
-
msgid "
|
106 |
msgstr ""
|
107 |
|
108 |
-
#:
|
109 |
-
|
110 |
-
msgid "
|
111 |
msgstr ""
|
112 |
|
113 |
-
#:
|
114 |
-
msgid "
|
115 |
msgstr ""
|
116 |
|
117 |
-
#:
|
118 |
-
msgid "
|
119 |
msgstr ""
|
120 |
|
121 |
-
#: includes/class.
|
122 |
-
|
|
|
123 |
msgstr ""
|
124 |
|
125 |
-
#:
|
126 |
-
msgid "
|
127 |
msgstr ""
|
128 |
|
129 |
-
#:
|
130 |
-
msgid "
|
131 |
msgstr ""
|
132 |
|
133 |
-
#: admin/
|
134 |
-
msgid "
|
135 |
msgstr ""
|
136 |
|
137 |
-
#: admin/
|
138 |
-
msgid "
|
139 |
msgstr ""
|
140 |
|
141 |
-
#: admin/
|
142 |
-
|
|
|
143 |
msgstr ""
|
144 |
|
145 |
-
#:
|
146 |
-
msgid "
|
147 |
msgstr ""
|
148 |
|
149 |
-
#:
|
150 |
-
msgid "
|
151 |
msgstr ""
|
152 |
|
153 |
-
#:
|
154 |
-
msgid "
|
155 |
msgstr ""
|
156 |
|
157 |
-
#:
|
158 |
-
msgid "
|
159 |
msgstr ""
|
160 |
|
161 |
-
#:
|
162 |
-
msgid "
|
163 |
msgstr ""
|
164 |
|
165 |
-
#:
|
166 |
-
msgid "
|
167 |
msgstr ""
|
168 |
|
169 |
-
#:
|
170 |
-
msgid "
|
171 |
msgstr ""
|
172 |
|
173 |
-
#: admin/ajax/ajax.php:
|
174 |
-
msgid "All
|
175 |
msgstr ""
|
176 |
|
177 |
-
#: admin/ajax/ajax.php:
|
178 |
-
msgid "All
|
179 |
msgstr ""
|
180 |
|
181 |
-
#: admin/ajax/ajax.php:
|
182 |
msgid "All Pages"
|
183 |
msgstr ""
|
184 |
|
185 |
-
#: admin/ajax/ajax.php:
|
186 |
msgid "All Pages Archive"
|
187 |
msgstr ""
|
188 |
|
189 |
-
#: admin/ajax/
|
190 |
-
msgid "
|
191 |
msgstr ""
|
192 |
|
193 |
-
#: admin/ajax/
|
194 |
-
msgid ""
|
195 |
-
"License key is empty or license key too long (license key is 32 characters "
|
196 |
-
"long)"
|
197 |
msgstr ""
|
198 |
|
199 |
-
#: admin/ajax/
|
200 |
-
msgid "
|
201 |
msgstr ""
|
202 |
|
203 |
-
#: admin/ajax/
|
204 |
-
msgid "
|
205 |
msgstr ""
|
206 |
|
207 |
-
#: admin/ajax/
|
208 |
-
msgid "
|
209 |
msgstr ""
|
210 |
|
211 |
-
#: admin/
|
212 |
-
msgid "
|
213 |
msgstr ""
|
214 |
|
215 |
-
#: admin/
|
216 |
-
msgid "
|
217 |
msgstr ""
|
218 |
|
219 |
-
#: admin/
|
220 |
-
|
221 |
-
msgid "Export"
|
222 |
msgstr ""
|
223 |
|
224 |
-
#: admin/
|
225 |
-
|
226 |
-
#: admin/metaboxes/revisions.php:101 admin/metaboxes/revisions.php:138
|
227 |
-
msgid "Delete"
|
228 |
msgstr ""
|
229 |
|
230 |
-
#: admin/
|
231 |
-
msgid "
|
|
|
232 |
msgstr ""
|
233 |
|
234 |
-
#: admin/
|
235 |
-
msgid "
|
236 |
msgstr ""
|
237 |
|
238 |
-
#: admin/
|
239 |
-
msgid "
|
240 |
msgstr ""
|
241 |
|
242 |
-
#: admin/
|
243 |
-
msgid "
|
244 |
msgstr ""
|
245 |
|
246 |
-
#: admin/includes/class.
|
247 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
248 |
msgstr ""
|
249 |
|
250 |
-
#: admin/
|
251 |
-
|
252 |
-
msgid "The %s directory could not be created"
|
253 |
msgstr ""
|
254 |
|
255 |
-
#: admin/
|
256 |
-
msgid "
|
257 |
msgstr ""
|
258 |
|
259 |
-
#: admin/
|
260 |
-
|
261 |
-
msgid ""
|
262 |
-
"The %s directory is not writable, therefore the CSS and JS files cannot be "
|
263 |
-
"saved."
|
264 |
msgstr ""
|
265 |
|
266 |
-
#: admin/
|
267 |
-
msgid "
|
268 |
msgstr ""
|
269 |
|
270 |
-
#: admin/
|
271 |
-
|
272 |
-
msgid "Php snippet"
|
273 |
msgstr ""
|
274 |
|
275 |
-
#: admin/
|
276 |
-
|
277 |
-
msgid "Text snippet"
|
278 |
msgstr ""
|
279 |
|
280 |
-
#: admin/
|
281 |
-
|
282 |
-
msgid "
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
283 |
msgstr ""
|
284 |
|
285 |
-
#: admin/
|
286 |
-
|
287 |
-
msgid "Js snippet"
|
288 |
msgstr ""
|
289 |
|
290 |
-
#: admin/
|
291 |
-
|
292 |
-
msgid "Html snippet"
|
293 |
msgstr ""
|
294 |
|
295 |
-
#:
|
296 |
-
|
297 |
-
msgid "Universal snippet"
|
298 |
msgstr ""
|
299 |
|
300 |
-
#:
|
301 |
-
|
302 |
-
msgid "Advertisement snippet"
|
303 |
msgstr ""
|
304 |
|
305 |
-
#:
|
306 |
-
|
307 |
-
#: admin/types/snippets-post-types.php:46
|
308 |
-
msgid "Woody snippets"
|
309 |
msgstr ""
|
310 |
|
311 |
-
#:
|
312 |
-
|
313 |
-
msgid "Add"
|
314 |
msgstr ""
|
315 |
|
316 |
-
#: admin/
|
317 |
-
msgid "
|
318 |
msgstr ""
|
319 |
|
320 |
-
#:
|
321 |
-
msgid "
|
322 |
msgstr ""
|
323 |
|
324 |
-
#: admin/
|
325 |
-
msgid "
|
326 |
msgstr ""
|
327 |
|
328 |
-
#: admin/
|
329 |
-
msgid "
|
330 |
msgstr ""
|
331 |
|
332 |
-
#: admin/
|
333 |
-
msgid "
|
334 |
msgstr ""
|
335 |
|
336 |
-
#: admin/
|
337 |
-
msgid "
|
|
|
|
|
|
|
|
|
338 |
msgstr ""
|
339 |
|
340 |
-
#: admin/
|
341 |
-
msgid "
|
|
|
|
|
|
|
|
|
|
|
342 |
msgstr ""
|
343 |
|
344 |
-
#: admin/
|
345 |
-
|
|
|
|
|
|
|
|
|
346 |
msgstr ""
|
347 |
|
348 |
-
#: admin/
|
349 |
-
msgid "
|
350 |
msgstr ""
|
351 |
|
352 |
-
#: admin/
|
353 |
-
|
354 |
-
msgid "Edit"
|
355 |
msgstr ""
|
356 |
|
357 |
-
#: admin/
|
358 |
-
msgid "
|
359 |
msgstr ""
|
360 |
|
361 |
-
#: admin/
|
362 |
-
msgid "
|
363 |
msgstr ""
|
364 |
|
365 |
-
#: admin/
|
366 |
-
msgid "
|
367 |
msgstr ""
|
368 |
|
369 |
-
#: admin/
|
370 |
msgid ""
|
371 |
-
"
|
372 |
-
"
|
373 |
-
msgstr ""
|
374 |
-
|
375 |
-
#: admin/includes/class.notices.php:80
|
376 |
-
msgid "Take the survey now"
|
377 |
msgstr ""
|
378 |
|
379 |
-
#: admin/
|
380 |
-
|
381 |
-
msgid "The snippet has been deactivated due to an error on line %d:"
|
382 |
msgstr ""
|
383 |
|
384 |
-
#: admin/
|
385 |
-
|
386 |
-
msgid ""
|
387 |
-
"Attention! If you have previously used version 1.3.0 of plugin Insert php. "
|
388 |
-
"This new %s plugin version, we added the ability to insert php code using "
|
389 |
-
"snippets. This is a more convenient and secure way than using shortcodes "
|
390 |
-
"[insert_php] code execute [/ insert_php]. However, for compatibility reasons,"
|
391 |
-
" we left support for [insert_php] shortcodes until March 2019, after that we "
|
392 |
-
"will stop supporting shortcodes [insert_php]."
|
393 |
msgstr ""
|
394 |
|
395 |
-
#: admin/includes/class.
|
396 |
-
msgid ""
|
397 |
-
"We strongly recommend you to porting your php code to snippets and call them "
|
398 |
-
"in your posts/pages and widgets using [wbcr_php_snippet id = \"000\"] "
|
399 |
-
"shortcodes."
|
400 |
msgstr ""
|
401 |
|
402 |
-
#: admin/
|
403 |
-
|
404 |
-
msgid ""
|
405 |
-
"For more information on porting code and using snippets, see our plugin <a "
|
406 |
-
"href=\"%s\" target=\"_blank\">documentation</a>"
|
407 |
msgstr ""
|
408 |
|
409 |
-
#: admin/
|
410 |
-
msgid "
|
411 |
msgstr ""
|
412 |
|
413 |
-
#: admin/
|
414 |
-
msgid "
|
415 |
msgstr ""
|
416 |
|
417 |
-
#: admin/
|
418 |
-
|
419 |
-
msgid ""
|
420 |
-
"If you still want to use the old shortcodes [insert_php] and you don’t have "
|
421 |
-
"time to upgrade to the new version, you can enable support for old "
|
422 |
-
"shortcodes in the plugin <a href=\"%s\">settings</a>."
|
423 |
msgstr ""
|
424 |
|
425 |
-
#: admin/
|
426 |
-
|
427 |
-
msgid ""
|
428 |
-
"If you have issues with the plugin new version or any suggestions, please "
|
429 |
-
"contact us on <a href=\"%s\" target=\"_blank\">our forum</a>."
|
430 |
msgstr ""
|
431 |
|
432 |
-
#: admin/
|
433 |
-
msgid "
|
434 |
msgstr ""
|
435 |
|
436 |
-
#: admin/
|
437 |
-
msgid "
|
438 |
msgstr ""
|
439 |
|
440 |
-
#: admin/
|
441 |
-
msgid "
|
442 |
msgstr ""
|
443 |
|
444 |
-
#: admin/includes/class.
|
445 |
-
msgid "
|
446 |
msgstr ""
|
447 |
|
448 |
-
#: admin/
|
449 |
-
msgid "
|
450 |
msgstr ""
|
451 |
|
452 |
-
#: admin/includes/class.
|
453 |
-
#: admin/includes/class.
|
454 |
-
|
455 |
-
msgid "Description"
|
456 |
msgstr ""
|
457 |
|
458 |
-
#: admin/
|
459 |
-
msgid "
|
460 |
msgstr ""
|
461 |
|
462 |
-
#: admin/
|
463 |
-
msgid "
|
464 |
msgstr ""
|
465 |
|
466 |
-
#: admin/
|
467 |
-
msgid "
|
468 |
msgstr ""
|
469 |
|
470 |
-
#: admin/
|
471 |
-
msgid "
|
472 |
msgstr ""
|
473 |
|
474 |
-
#: admin/includes/class.snippets.
|
475 |
-
msgid "
|
476 |
msgstr ""
|
477 |
|
478 |
-
#: admin/
|
479 |
-
msgid "
|
480 |
msgstr ""
|
481 |
|
482 |
-
#: admin/
|
483 |
-
#: admin/
|
484 |
-
msgid "
|
485 |
msgstr ""
|
486 |
|
487 |
-
#: admin/
|
488 |
-
msgid "
|
489 |
msgstr ""
|
490 |
|
491 |
-
#: admin/includes/class.
|
492 |
-
|
493 |
-
msgid "You don't have enough capability to edit this information."
|
494 |
msgstr ""
|
495 |
|
496 |
-
#: admin/includes/class.
|
497 |
-
|
|
|
|
|
498 |
msgstr ""
|
499 |
|
500 |
-
#: admin/
|
501 |
-
msgid "
|
502 |
msgstr ""
|
503 |
|
504 |
-
#: admin/
|
505 |
-
msgid "
|
506 |
msgstr ""
|
507 |
|
508 |
-
#: admin/includes/class.snippets.
|
509 |
-
|
510 |
-
|
511 |
-
"
|
512 |
msgstr ""
|
513 |
|
514 |
-
#: admin/
|
515 |
-
msgid "
|
516 |
msgstr ""
|
517 |
|
518 |
-
#: admin/
|
519 |
-
msgid "
|
520 |
msgstr ""
|
521 |
|
522 |
-
#: admin/
|
523 |
-
msgid "
|
524 |
msgstr ""
|
525 |
|
526 |
-
#: admin/metaboxes/
|
527 |
-
msgid "
|
528 |
msgstr ""
|
529 |
|
530 |
-
#: admin/metaboxes/
|
531 |
-
msgid "
|
532 |
msgstr ""
|
533 |
|
534 |
-
#: admin/metaboxes/
|
535 |
-
msgid "
|
536 |
msgstr ""
|
537 |
|
538 |
-
#: admin/metaboxes/
|
539 |
-
msgid "
|
540 |
msgstr ""
|
541 |
|
542 |
-
#: admin/metaboxes/
|
543 |
-
msgid "
|
544 |
msgstr ""
|
545 |
|
546 |
-
#: admin/
|
547 |
-
msgid "
|
548 |
msgstr ""
|
549 |
|
550 |
-
#: admin/metaboxes/
|
551 |
-
msgid "
|
552 |
msgstr ""
|
553 |
|
554 |
-
#: admin/metaboxes/
|
555 |
-
msgid "
|
556 |
msgstr ""
|
557 |
|
558 |
-
#: admin/
|
559 |
msgid ""
|
560 |
-
"
|
561 |
msgstr ""
|
562 |
|
563 |
-
#: admin/
|
564 |
-
msgid ""
|
565 |
-
"A copy of your snippet and its settings are stored on our remote server. You "
|
566 |
-
"can access it from any website where you’ve activated the plugin’s premium "
|
567 |
-
"version. If you have our plugin on multiple websites or work in a team, it’s "
|
568 |
-
"quite handy to use templates. The feature is available in the premium "
|
569 |
-
"version only."
|
570 |
msgstr ""
|
571 |
|
572 |
-
#: admin/metaboxes/
|
573 |
-
msgid "
|
574 |
msgstr ""
|
575 |
|
576 |
-
#: admin/metaboxes/
|
577 |
-
msgid "
|
578 |
msgstr ""
|
579 |
|
580 |
-
#: admin/
|
581 |
-
msgid "
|
582 |
msgstr ""
|
583 |
|
584 |
-
#: admin/
|
585 |
-
msgid "
|
586 |
-
msgstr ""
|
587 |
-
|
588 |
-
#: admin/metaboxes/base-options.php:548 admin/metaboxes/base-options.php:572
|
589 |
-
msgid "Where there is a shortcode"
|
590 |
msgstr ""
|
591 |
|
592 |
-
#: admin/
|
593 |
-
msgid ""
|
594 |
-
"If you want to place some content into your snippet from the shortcode just "
|
595 |
-
"wrap it inside [wbcr_text_snippet id=\"xxx\"]content[/wbcr_text_snippet]. To "
|
596 |
-
"use this content inside the snippet use {{SNIPPET_CONTENT}} variable."
|
597 |
msgstr ""
|
598 |
|
599 |
-
#: admin/
|
600 |
-
|
601 |
-
msgid ""
|
602 |
-
"If you want to place some content into your snippet from the shortcode just "
|
603 |
-
"wrap it inside [wbcr%s_snippet id=\"xxx\"]content[/wbcr%s_snippet]. To use "
|
604 |
-
"this content inside the snippet use $content variable."
|
605 |
msgstr ""
|
606 |
|
607 |
-
#: admin/
|
608 |
-
msgid "
|
609 |
msgstr ""
|
610 |
|
611 |
-
#: admin/
|
612 |
-
|
613 |
-
msgid ""
|
614 |
-
"If you select the \"%s\" option, after activating the widget, the php code "
|
615 |
-
"will be launched on all pages of your site. Another option works only where "
|
616 |
-
"you have set a shortcode snippet (widgets, post)."
|
617 |
msgstr ""
|
618 |
|
619 |
-
#: admin/
|
620 |
-
msgid "
|
621 |
msgstr ""
|
622 |
|
623 |
-
#: admin/
|
624 |
-
msgid ""
|
625 |
-
"By default, all snippet shortcodes look like this: [wbcr_snippet id=”121”]. "
|
626 |
-
"Such shortcodes are hard to remember. In addition, when you move a snippet "
|
627 |
-
"to another website its ID can be changed. So the best solution for the "
|
628 |
-
"snippets use regularly is to define a custom shortcode name. The custom "
|
629 |
-
"shortcode may look like this: [soccer_match_date]"
|
630 |
msgstr ""
|
631 |
|
632 |
-
#: admin/
|
633 |
-
msgid "
|
634 |
msgstr ""
|
635 |
|
636 |
-
#: admin/
|
637 |
-
msgid "
|
638 |
msgstr ""
|
639 |
|
640 |
-
#: admin/
|
641 |
-
msgid "
|
642 |
msgstr ""
|
643 |
|
644 |
-
#: admin/
|
645 |
-
msgid "
|
646 |
msgstr ""
|
647 |
|
648 |
-
#: admin/
|
649 |
-
msgid "
|
650 |
msgstr ""
|
651 |
|
652 |
-
#:
|
653 |
msgid ""
|
654 |
-
"
|
655 |
-
"
|
|
|
656 |
msgstr ""
|
657 |
|
658 |
-
#: admin/metaboxes/base-options.php:
|
659 |
-
msgid ""
|
660 |
-
"Snippet will be placed after the paragraph, which number you can specify in "
|
661 |
-
"the Location number field."
|
662 |
msgstr ""
|
663 |
|
664 |
-
#: admin/
|
665 |
-
msgid "
|
666 |
msgstr ""
|
667 |
|
668 |
-
#: admin/metaboxes/
|
669 |
-
msgid "
|
670 |
msgstr ""
|
671 |
|
672 |
-
#: admin/metaboxes/base-options.php:
|
673 |
-
msgid "
|
674 |
msgstr ""
|
675 |
|
676 |
-
#: admin/
|
677 |
-
msgid "
|
678 |
msgstr ""
|
679 |
|
680 |
-
#: admin/
|
681 |
-
msgid "
|
682 |
msgstr ""
|
683 |
|
684 |
-
|
685 |
msgid ""
|
686 |
-
"
|
687 |
-
"
|
688 |
msgstr ""
|
689 |
|
690 |
-
#: admin/
|
691 |
-
msgid ""
|
692 |
-
"Snippet will be placed after the post, which number you can specify in the "
|
693 |
-
"Location number field."
|
694 |
msgstr ""
|
695 |
|
696 |
-
#: admin/
|
697 |
-
|
|
|
698 |
msgstr ""
|
699 |
|
700 |
-
#: admin/metaboxes/base-options.php:
|
701 |
-
msgid "
|
702 |
msgstr ""
|
703 |
|
704 |
-
#: admin/metaboxes/base-options.php:
|
705 |
-
msgid "
|
706 |
msgstr ""
|
707 |
|
708 |
-
#: admin/
|
709 |
-
msgid "
|
710 |
msgstr ""
|
711 |
|
712 |
-
#: admin/
|
713 |
-
msgid "
|
714 |
msgstr ""
|
715 |
|
716 |
-
#:
|
717 |
-
msgid "
|
718 |
msgstr ""
|
719 |
|
720 |
-
#: admin/
|
721 |
-
|
|
|
|
|
|
|
722 |
msgstr ""
|
723 |
|
724 |
-
#: admin/metaboxes/
|
725 |
-
msgid "
|
726 |
msgstr ""
|
727 |
|
728 |
-
#: admin/
|
729 |
-
msgid ""
|
730 |
-
"You can write a short note so that you can always remember why this code or "
|
731 |
-
"your colleague was able to apply this code in his works."
|
732 |
msgstr ""
|
733 |
|
734 |
-
#: admin/metaboxes/
|
735 |
-
msgid "
|
736 |
msgstr ""
|
737 |
|
738 |
-
#: admin/metaboxes/
|
739 |
-
|
740 |
-
msgid ""
|
741 |
-
"Available attributes for shortcode via comma. Only numbers, letters and "
|
742 |
-
"underscore characters are allowed. Attribute id is always available. With "
|
743 |
-
"this option you can set additional attributes for the shortcode. Example: "
|
744 |
-
"start_date attribute to [%s id='xxx' start_date='2018/01/15'] shortcode. Now "
|
745 |
-
"we can get attribute value in the snippet with the $start_date variable. "
|
746 |
-
"It's convenient if you want to print out different results depending on this "
|
747 |
-
"attributes."
|
748 |
msgstr ""
|
749 |
|
750 |
-
#: admin/
|
751 |
-
msgid "
|
752 |
msgstr ""
|
753 |
|
754 |
-
#: admin/
|
755 |
-
msgid "
|
756 |
msgstr ""
|
757 |
|
758 |
-
#: admin/
|
759 |
-
msgid "
|
760 |
msgstr ""
|
761 |
|
762 |
-
#: admin/
|
763 |
-
msgid "
|
764 |
msgstr ""
|
765 |
|
766 |
-
#:
|
767 |
-
msgid "
|
768 |
msgstr ""
|
769 |
|
770 |
-
#: admin/
|
771 |
-
msgid "
|
|
|
|
|
|
|
|
|
772 |
msgstr ""
|
773 |
|
774 |
-
#: admin/
|
775 |
-
msgid "
|
776 |
msgstr ""
|
777 |
|
778 |
-
#: admin/metaboxes/
|
779 |
-
|
|
|
780 |
msgstr ""
|
781 |
|
782 |
-
#: admin/
|
783 |
-
msgid "
|
784 |
msgstr ""
|
785 |
|
786 |
-
#: admin/
|
787 |
-
|
|
|
788 |
msgstr ""
|
789 |
|
790 |
-
|
791 |
-
msgid "
|
792 |
msgstr ""
|
793 |
|
794 |
-
|
795 |
-
msgid "
|
796 |
msgstr ""
|
797 |
|
798 |
-
#: admin/
|
|
|
799 |
msgid ""
|
800 |
-
"
|
801 |
-
"
|
802 |
msgstr ""
|
803 |
|
804 |
-
#: admin/metaboxes/
|
805 |
-
|
|
|
|
|
|
|
|
|
806 |
msgstr ""
|
807 |
|
808 |
-
#: admin/
|
|
|
809 |
msgid ""
|
810 |
-
"
|
811 |
-
"
|
|
|
812 |
msgstr ""
|
813 |
|
814 |
-
#: admin/
|
815 |
-
msgid "
|
|
|
|
|
|
|
|
|
|
|
816 |
msgstr ""
|
817 |
|
818 |
-
#: admin/metaboxes/
|
819 |
-
|
|
|
|
|
|
|
|
|
820 |
msgstr ""
|
821 |
|
822 |
-
#: admin/metaboxes/
|
823 |
-
msgid "
|
|
|
|
|
|
|
824 |
msgstr ""
|
825 |
|
826 |
-
#: admin/
|
827 |
-
msgid "
|
|
|
|
|
|
|
828 |
msgstr ""
|
829 |
|
830 |
-
#: admin/
|
831 |
msgid ""
|
832 |
-
"
|
|
|
833 |
msgstr ""
|
834 |
|
835 |
-
#: admin/
|
836 |
-
msgid "
|
837 |
msgstr ""
|
838 |
|
839 |
-
#: admin/metaboxes/
|
840 |
-
msgid "
|
841 |
msgstr ""
|
842 |
|
843 |
-
#: admin/
|
844 |
-
msgid "
|
845 |
msgstr ""
|
846 |
|
847 |
-
#: admin/
|
848 |
-
msgid "
|
849 |
msgstr ""
|
850 |
|
851 |
-
#: admin/
|
852 |
-
msgid "
|
853 |
msgstr ""
|
854 |
|
855 |
-
#: admin/
|
856 |
-
msgid "
|
857 |
msgstr ""
|
858 |
|
859 |
-
#: admin/metaboxes/
|
860 |
-
msgid "
|
861 |
msgstr ""
|
862 |
|
863 |
-
#: admin/
|
864 |
-
msgid "
|
865 |
msgstr ""
|
866 |
|
867 |
-
#:
|
868 |
-
msgid "
|
869 |
msgstr ""
|
870 |
|
871 |
-
#:
|
872 |
-
msgid "
|
873 |
msgstr ""
|
874 |
|
875 |
-
#:
|
876 |
-
msgid "
|
877 |
msgstr ""
|
878 |
|
879 |
-
#:
|
880 |
-
msgid "
|
881 |
msgstr ""
|
882 |
|
883 |
-
#:
|
884 |
-
msgid "
|
885 |
msgstr ""
|
886 |
|
887 |
-
#:
|
888 |
-
msgid "
|
889 |
msgstr ""
|
890 |
|
891 |
-
#:
|
892 |
-
msgid "
|
893 |
msgstr ""
|
894 |
|
895 |
-
#:
|
896 |
-
msgid "
|
897 |
msgstr ""
|
898 |
|
899 |
-
#: admin/metaboxes/
|
900 |
-
msgid "
|
901 |
msgstr ""
|
902 |
|
903 |
-
#: admin/
|
904 |
-
msgid "
|
905 |
msgstr ""
|
906 |
|
907 |
-
#: admin/
|
908 |
-
|
|
|
909 |
msgstr ""
|
910 |
|
911 |
-
#: admin/
|
912 |
-
msgid "
|
913 |
msgstr ""
|
914 |
|
915 |
-
#: admin/metaboxes/view-options.php:
|
916 |
-
msgid "
|
917 |
msgstr ""
|
918 |
|
919 |
-
#: admin/
|
920 |
-
msgid "
|
921 |
msgstr ""
|
922 |
|
923 |
-
#: admin/
|
924 |
-
msgid "
|
|
|
|
|
925 |
msgstr ""
|
926 |
|
927 |
-
#: admin/
|
928 |
-
msgid "
|
929 |
msgstr ""
|
930 |
|
931 |
-
#: admin/
|
932 |
-
msgid "
|
933 |
msgstr ""
|
934 |
|
935 |
-
#: admin/metaboxes/
|
936 |
-
msgid "
|
937 |
msgstr ""
|
938 |
|
939 |
-
#: admin/metaboxes/view-options.php:
|
940 |
-
msgid "
|
941 |
msgstr ""
|
942 |
|
943 |
-
#: admin/
|
944 |
-
msgid "
|
945 |
msgstr ""
|
946 |
|
947 |
-
#: admin/metaboxes/view-options.php:
|
948 |
-
msgid "
|
949 |
msgstr ""
|
950 |
|
951 |
-
#: admin/metaboxes/
|
952 |
-
msgid "
|
953 |
msgstr ""
|
954 |
|
955 |
-
#: admin/metaboxes/view-options.php:
|
956 |
-
|
|
|
957 |
msgstr ""
|
958 |
|
959 |
-
#: admin/metaboxes/view-options.php:
|
960 |
-
|
|
|
961 |
msgstr ""
|
962 |
|
963 |
-
#: admin/
|
964 |
-
msgid "
|
965 |
msgstr ""
|
966 |
|
967 |
-
#: admin/
|
968 |
-
msgid "
|
969 |
msgstr ""
|
970 |
|
971 |
-
#: admin/
|
972 |
-
msgid "
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
973 |
msgstr ""
|
974 |
|
975 |
#: admin/metaboxes/view-options.php:322
|
@@ -978,608 +990,712 @@ msgid ""
|
|
978 |
"to add one."
|
979 |
msgstr ""
|
980 |
|
981 |
-
#: admin/
|
982 |
-
msgid "
|
983 |
msgstr ""
|
984 |
|
985 |
-
#: admin/
|
986 |
-
msgid "
|
987 |
msgstr ""
|
988 |
|
989 |
-
#: admin/metaboxes/view-options.php:
|
990 |
-
msgid "
|
991 |
msgstr ""
|
992 |
|
993 |
-
#: admin/metaboxes/view-options.php:
|
994 |
-
msgid "
|
995 |
msgstr ""
|
996 |
|
997 |
-
#: admin/metaboxes/view-options.php:
|
998 |
-
msgid ""
|
999 |
-
"No conditions specified. <a href=\"#\" class=\"winp-link-add\">Click here</a>"
|
1000 |
-
" to add one."
|
1001 |
msgstr ""
|
1002 |
|
1003 |
-
#: admin/metaboxes/view-options.php:
|
1004 |
-
msgid "
|
1005 |
msgstr ""
|
1006 |
|
1007 |
-
#: admin/metaboxes/view-options.php:
|
1008 |
-
msgid "
|
1009 |
msgstr ""
|
1010 |
|
1011 |
-
#: admin/metaboxes/view-options.php:
|
1012 |
-
msgid "
|
1013 |
msgstr ""
|
1014 |
|
1015 |
-
#: admin/
|
1016 |
-
msgid "
|
1017 |
msgstr ""
|
1018 |
|
1019 |
-
#: admin/metaboxes/
|
1020 |
-
msgid "
|
1021 |
msgstr ""
|
1022 |
|
1023 |
-
#: admin/
|
1024 |
-
msgid "
|
1025 |
msgstr ""
|
1026 |
|
1027 |
-
#: admin/
|
1028 |
-
msgid "
|
1029 |
msgstr ""
|
1030 |
|
1031 |
-
#: admin/
|
1032 |
-
msgid "
|
1033 |
msgstr ""
|
1034 |
|
1035 |
-
#: admin/
|
1036 |
-
|
|
|
1037 |
msgstr ""
|
1038 |
|
1039 |
-
#: admin/
|
1040 |
-
msgid "
|
1041 |
msgstr ""
|
1042 |
|
1043 |
-
#: admin/
|
1044 |
-
msgid "
|
1045 |
msgstr ""
|
1046 |
|
1047 |
-
#: admin/
|
1048 |
-
msgid "
|
1049 |
msgstr ""
|
1050 |
|
1051 |
-
#: admin/
|
1052 |
-
msgid "
|
|
|
|
|
1053 |
msgstr ""
|
1054 |
|
1055 |
-
#: admin/
|
1056 |
-
msgid "
|
1057 |
msgstr ""
|
1058 |
|
1059 |
-
#: admin/metaboxes/view-options.php:
|
1060 |
-
msgid "
|
1061 |
msgstr ""
|
1062 |
|
1063 |
-
#: admin/
|
1064 |
-
|
1065 |
-
msgid "Second(s)"
|
1066 |
msgstr ""
|
1067 |
|
1068 |
-
#: admin/metaboxes/
|
1069 |
-
|
1070 |
-
msgid "Minutes(s)"
|
1071 |
msgstr ""
|
1072 |
|
1073 |
-
#: admin/
|
1074 |
-
|
1075 |
-
msgid "Hours(s)"
|
1076 |
msgstr ""
|
1077 |
|
1078 |
-
#: admin/
|
1079 |
-
|
1080 |
-
msgid "Day(s)"
|
1081 |
msgstr ""
|
1082 |
|
1083 |
-
#: admin/
|
1084 |
-
|
1085 |
-
msgid "Week(s)"
|
1086 |
msgstr ""
|
1087 |
|
1088 |
-
#: admin/
|
1089 |
-
|
1090 |
-
msgid "Month(s)"
|
1091 |
msgstr ""
|
1092 |
|
1093 |
-
#: admin/
|
1094 |
-
|
1095 |
-
msgid "Year(s)"
|
1096 |
msgstr ""
|
1097 |
|
1098 |
-
#: admin/
|
1099 |
-
msgid "
|
1100 |
msgstr ""
|
1101 |
|
1102 |
-
#: admin/
|
1103 |
-
msgid "
|
1104 |
msgstr ""
|
1105 |
|
1106 |
-
#: admin/
|
1107 |
-
msgid "
|
1108 |
msgstr ""
|
1109 |
|
1110 |
-
#: admin/pages/
|
1111 |
-
msgid "
|
|
|
|
|
|
|
|
|
1112 |
msgstr ""
|
1113 |
|
1114 |
-
#:
|
1115 |
-
msgid "
|
1116 |
msgstr ""
|
1117 |
|
1118 |
-
#: admin/
|
1119 |
-
msgid "
|
1120 |
msgstr ""
|
1121 |
|
1122 |
-
#: admin/
|
1123 |
-
msgid "
|
1124 |
msgstr ""
|
1125 |
|
1126 |
-
#: admin/pages/
|
1127 |
-
msgid "
|
1128 |
msgstr ""
|
1129 |
|
1130 |
-
#: admin/pages/import.php:
|
1131 |
-
msgid "
|
|
|
1132 |
msgstr ""
|
1133 |
|
1134 |
-
#: admin/
|
1135 |
-
|
1136 |
-
|
1137 |
-
msgid_plural "Successfully imported <strong>%1$d</strong> snippets."
|
1138 |
-
msgstr[0] ""
|
1139 |
-
msgstr[1] ""
|
1140 |
|
1141 |
-
#: admin/
|
1142 |
-
|
1143 |
-
msgid ""
|
1144 |
-
"To import more then one snippet at a time, you need to purchase <a "
|
1145 |
-
"href=\"%s\">Woody snippets PRO</a>"
|
1146 |
msgstr ""
|
1147 |
|
1148 |
-
#: admin/
|
1149 |
-
msgid "
|
1150 |
msgstr ""
|
1151 |
|
1152 |
-
#: admin/
|
1153 |
-
msgid "
|
1154 |
msgstr ""
|
1155 |
|
1156 |
-
#:
|
1157 |
-
msgid "
|
1158 |
msgstr ""
|
1159 |
|
1160 |
-
#: admin/
|
1161 |
-
msgid ""
|
1162 |
-
"Upload one or more Php Snippets export files and the snippets will be "
|
1163 |
-
"imported."
|
1164 |
msgstr ""
|
1165 |
|
1166 |
-
#: admin/
|
1167 |
-
msgid "
|
1168 |
msgstr ""
|
1169 |
|
1170 |
-
#: admin/
|
1171 |
-
msgid ""
|
1172 |
-
"What should happen if an existing snippet is found with an identical name to "
|
1173 |
-
"an imported snippet?"
|
1174 |
msgstr ""
|
1175 |
|
1176 |
-
#: admin/
|
1177 |
-
msgid ""
|
1178 |
-
"Ignore any duplicate snippets: import all snippets from the file regardless "
|
1179 |
-
"and leave all existing snippets unchanged."
|
1180 |
msgstr ""
|
1181 |
|
1182 |
-
#: admin/pages/
|
1183 |
-
msgid ""
|
1184 |
-
"Replace any existing snippets with a newly imported snippet of the same name."
|
1185 |
msgstr ""
|
1186 |
|
1187 |
-
#: admin/
|
1188 |
-
msgid ""
|
1189 |
-
"Do not import any duplicate snippets; leave all existing snippets unchanged."
|
1190 |
msgstr ""
|
1191 |
|
1192 |
-
#: admin/
|
1193 |
-
msgid "
|
1194 |
msgstr ""
|
1195 |
|
1196 |
-
#: admin/
|
1197 |
-
|
1198 |
-
"
|
1199 |
-
"files and import\"."
|
1200 |
msgstr ""
|
1201 |
|
1202 |
-
#: admin/
|
1203 |
-
msgid "
|
1204 |
msgstr ""
|
1205 |
|
1206 |
-
|
1207 |
-
|
1208 |
-
#, php-format
|
1209 |
-
msgid "(Maximum size: %s)"
|
1210 |
msgstr ""
|
1211 |
|
1212 |
-
#: admin/
|
1213 |
-
msgid "
|
1214 |
msgstr ""
|
1215 |
|
1216 |
-
#: admin/pages/
|
1217 |
-
msgid "
|
1218 |
msgstr ""
|
1219 |
|
1220 |
-
#: admin/
|
1221 |
-
msgid ""
|
1222 |
-
"Bulk export allows exporting all snippets in one click. Bulk export has "
|
1223 |
-
"advanced settings of snippet segmentation by types, tags, or activity. If "
|
1224 |
-
"you value your time use our premium plugin and export all of your snippets "
|
1225 |
-
"in one click."
|
1226 |
msgstr ""
|
1227 |
|
1228 |
-
#: admin/
|
1229 |
-
msgid "
|
1230 |
msgstr ""
|
1231 |
|
1232 |
-
#:
|
1233 |
-
|
1234 |
-
msgid "Activate %s"
|
1235 |
msgstr ""
|
1236 |
|
1237 |
-
#:
|
1238 |
-
|
1239 |
-
msgid "Upgrade to Premium for $%s"
|
1240 |
msgstr ""
|
1241 |
|
1242 |
-
#:
|
1243 |
-
|
1244 |
-
msgid "Your current license for %1$s:"
|
1245 |
msgstr ""
|
1246 |
|
1247 |
-
#: admin/
|
1248 |
-
msgid "
|
1249 |
msgstr ""
|
1250 |
|
1251 |
-
#: admin/
|
1252 |
-
msgid "
|
1253 |
msgstr ""
|
1254 |
|
1255 |
-
#: admin/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1256 |
msgid ""
|
1257 |
-
"
|
1258 |
-
"
|
1259 |
-
"only free edition of the plugin. Premium versions are distributed with other "
|
1260 |
-
"type of a license."
|
1261 |
msgstr ""
|
1262 |
|
1263 |
-
#:
|
1264 |
msgid ""
|
1265 |
-
"
|
1266 |
-
"
|
1267 |
-
"class=\"winp-control-btn\" href=\"#\">cancel subscription</a>"
|
1268 |
msgstr ""
|
1269 |
|
1270 |
-
#:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1271 |
msgid ""
|
1272 |
-
"
|
1273 |
-
"
|
1274 |
msgstr ""
|
1275 |
|
1276 |
-
#:
|
1277 |
-
msgid "
|
|
|
|
|
1278 |
msgstr ""
|
1279 |
|
1280 |
-
#:
|
1281 |
-
msgid "
|
1282 |
msgstr ""
|
1283 |
|
1284 |
-
#:
|
1285 |
-
msgid "
|
1286 |
msgstr ""
|
1287 |
|
1288 |
-
#:
|
1289 |
-
msgid "
|
1290 |
msgstr ""
|
1291 |
|
1292 |
-
#:
|
1293 |
-
msgid "
|
1294 |
msgstr ""
|
1295 |
|
1296 |
-
#:
|
1297 |
-
msgid "
|
1298 |
msgstr ""
|
1299 |
|
1300 |
-
#: admin/
|
1301 |
-
msgid "
|
1302 |
msgstr ""
|
1303 |
|
1304 |
-
#: admin/pages/
|
1305 |
-
|
|
|
1306 |
msgstr ""
|
1307 |
|
1308 |
-
#: admin/pages/
|
1309 |
-
msgid "
|
1310 |
msgstr ""
|
1311 |
|
1312 |
-
#: admin/
|
1313 |
-
msgid "
|
1314 |
msgstr ""
|
1315 |
|
1316 |
-
#: admin/
|
1317 |
-
msgid "
|
|
|
|
|
|
|
|
|
1318 |
msgstr ""
|
1319 |
|
1320 |
#: admin/pages/license.php:330
|
1321 |
msgid "Submit Key"
|
1322 |
msgstr ""
|
1323 |
|
1324 |
-
#: admin/
|
1325 |
-
|
1326 |
-
msgid ""
|
1327 |
-
"<a href=\"%s\" target=\"_blank\" rel=\"noopener\">Lean more</a> about the "
|
1328 |
-
"premium version and get the license key to activate it now!"
|
1329 |
msgstr ""
|
1330 |
|
1331 |
-
#: admin/pages/
|
1332 |
#, php-format
|
1333 |
-
msgid ""
|
1334 |
-
"
|
1335 |
-
|
1336 |
-
"
|
|
|
|
|
|
|
1337 |
msgstr ""
|
1338 |
|
1339 |
-
#: admin/pages/
|
1340 |
-
msgid "
|
1341 |
msgstr ""
|
1342 |
|
1343 |
-
#: admin/
|
1344 |
-
msgid "
|
1345 |
msgstr ""
|
1346 |
|
1347 |
-
#: admin/pages/
|
1348 |
-
msgid ""
|
1349 |
-
"Used for inserting php code. Can be used for registering functions, hooks, "
|
1350 |
-
"global variables, printing text. Virtual functions.php"
|
1351 |
msgstr ""
|
1352 |
|
1353 |
-
#: admin/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1354 |
msgid ""
|
1355 |
-
"
|
1356 |
-
"
|
1357 |
msgstr ""
|
1358 |
|
1359 |
-
#: admin/
|
1360 |
msgid ""
|
1361 |
-
"
|
1362 |
-
"
|
1363 |
msgstr ""
|
1364 |
|
1365 |
-
#: admin/
|
1366 |
-
msgid "
|
1367 |
msgstr ""
|
1368 |
|
1369 |
-
#: admin/
|
1370 |
-
msgid "
|
1371 |
msgstr ""
|
1372 |
|
1373 |
-
#: admin/
|
1374 |
-
msgid ""
|
1375 |
-
"Used for inserting js code. Can be used for inserting ads, analytics, embeds "
|
1376 |
-
"& other complex scenarios."
|
1377 |
msgstr ""
|
1378 |
|
1379 |
-
#: admin/pages/
|
1380 |
-
msgid "
|
1381 |
msgstr ""
|
1382 |
|
1383 |
-
#: admin/pages/
|
1384 |
-
msgid "
|
|
|
|
|
1385 |
msgstr ""
|
1386 |
|
1387 |
-
#: admin/pages/
|
1388 |
msgid ""
|
1389 |
-
"
|
1390 |
-
"
|
1391 |
msgstr ""
|
1392 |
|
1393 |
-
#: admin/pages/
|
1394 |
-
msgid "
|
|
|
|
|
1395 |
msgstr ""
|
1396 |
|
1397 |
-
#: admin/pages/
|
1398 |
-
msgid "
|
|
|
|
|
1399 |
msgstr ""
|
1400 |
|
1401 |
-
#: admin/pages/
|
1402 |
-
msgid "
|
|
|
|
|
|
|
1403 |
msgstr ""
|
1404 |
|
1405 |
-
#: admin/pages/
|
1406 |
-
msgid "
|
|
|
|
|
1407 |
msgstr ""
|
1408 |
|
1409 |
-
#: admin/pages/settings.php:
|
1410 |
-
msgid "
|
|
|
|
|
1411 |
msgstr ""
|
1412 |
|
1413 |
-
#: admin/pages/settings.php:
|
1414 |
-
msgid "
|
1415 |
msgstr ""
|
1416 |
|
1417 |
-
#: admin/
|
|
|
|
|
|
|
|
|
|
|
1418 |
msgid ""
|
1419 |
-
"
|
1420 |
-
"
|
1421 |
msgstr ""
|
1422 |
|
1423 |
-
#: admin/
|
1424 |
-
msgid "
|
1425 |
msgstr ""
|
1426 |
|
1427 |
-
#: admin/
|
1428 |
-
msgid ""
|
1429 |
-
"If you want to use an HTML entity in your code (for example > or "), "
|
1430 |
-
"but the editor keeps on changing them to its equivalent character (> and \" "
|
1431 |
-
"for the previous example), then you might want to enable this option."
|
1432 |
msgstr ""
|
1433 |
|
1434 |
-
#:
|
1435 |
-
msgid "
|
|
|
|
|
1436 |
msgstr ""
|
1437 |
|
1438 |
-
#: admin/
|
1439 |
-
msgid "
|
1440 |
msgstr ""
|
1441 |
|
1442 |
-
#: admin/
|
1443 |
-
msgid "
|
1444 |
msgstr ""
|
1445 |
|
1446 |
-
#: admin/pages/
|
|
|
1447 |
msgid ""
|
1448 |
-
"
|
1449 |
-
"
|
1450 |
msgstr ""
|
1451 |
|
1452 |
-
#: admin/
|
1453 |
-
msgid "
|
1454 |
msgstr ""
|
1455 |
|
1456 |
-
#: admin/
|
1457 |
-
msgid ""
|
1458 |
-
"If you used our plugin from version 1.3.0, then you could use the old "
|
1459 |
-
"shortcodes [insert_php][/insert_php]; from version 2.2.0 we disabled this "
|
1460 |
-
"type of shortcodes by default, as their use is not safe. If you still want "
|
1461 |
-
"to execute your php code via [insert_php][/insert_php] shortcodes, you can "
|
1462 |
-
"enable this option."
|
1463 |
msgstr ""
|
1464 |
|
1465 |
-
#: admin/
|
1466 |
-
|
|
|
1467 |
msgstr ""
|
1468 |
|
1469 |
-
#: admin/
|
1470 |
-
msgid ""
|
1471 |
-
"The optional feature. You can customize the code style in the snippet editor."
|
1472 |
-
" The \"Default\" style is applied by default."
|
1473 |
msgstr ""
|
1474 |
|
1475 |
-
#: admin/pages/
|
1476 |
-
|
|
|
1477 |
msgstr ""
|
1478 |
|
1479 |
-
#: admin/pages/
|
1480 |
-
msgid ""
|
1481 |
-
"The optional feature. Whether, when indenting, the first N*tabSize spaces "
|
1482 |
-
"should be replaced by N tabs. The default is false."
|
1483 |
msgstr ""
|
1484 |
|
1485 |
-
#: admin/pages/
|
1486 |
-
msgid "
|
1487 |
msgstr ""
|
1488 |
|
1489 |
-
#: admin/pages/
|
1490 |
msgid ""
|
1491 |
-
"
|
1492 |
-
"
|
1493 |
msgstr ""
|
1494 |
|
1495 |
-
#: admin/
|
1496 |
-
msgid "
|
1497 |
msgstr ""
|
1498 |
|
1499 |
-
#: admin/
|
|
|
|
|
|
|
|
|
1500 |
msgid ""
|
1501 |
-
"
|
1502 |
-
"
|
1503 |
-
"spaces. N is a number pre-defined by you."
|
1504 |
msgstr ""
|
1505 |
|
1506 |
-
#: admin/pages/
|
1507 |
-
msgid "
|
1508 |
msgstr ""
|
1509 |
|
1510 |
-
#: admin/pages/
|
1511 |
msgid ""
|
1512 |
-
"
|
1513 |
-
"
|
1514 |
msgstr ""
|
1515 |
|
1516 |
-
#: admin/pages/
|
1517 |
-
msgid "
|
1518 |
msgstr ""
|
1519 |
|
1520 |
-
#: admin/pages/
|
1521 |
-
msgid "
|
|
|
|
|
1522 |
msgstr ""
|
1523 |
|
1524 |
-
#: admin/pages/
|
1525 |
-
msgid "
|
|
|
|
|
1526 |
msgstr ""
|
1527 |
|
1528 |
-
#: admin/pages/
|
1529 |
msgid ""
|
1530 |
-
"
|
1531 |
-
"
|
1532 |
msgstr ""
|
1533 |
|
1534 |
-
#: admin/
|
1535 |
-
msgid "
|
1536 |
msgstr ""
|
1537 |
|
1538 |
-
#: admin/
|
1539 |
-
msgid ""
|
1540 |
-
"The optional feature. If ON, it searches for matches for the selected "
|
1541 |
-
"variable/function name. Highlight matches with green. Improves readability."
|
1542 |
msgstr ""
|
1543 |
|
1544 |
-
#: admin/pages/
|
1545 |
-
msgid "
|
1546 |
msgstr ""
|
1547 |
|
1548 |
-
#: admin/
|
1549 |
-
msgid "
|
1550 |
msgstr ""
|
1551 |
|
1552 |
-
#: admin/
|
1553 |
-
|
1554 |
-
msgid "Snippets library"
|
1555 |
msgstr ""
|
1556 |
|
1557 |
-
#: admin/
|
1558 |
-
msgid "
|
1559 |
msgstr ""
|
1560 |
|
1561 |
-
#: admin/
|
1562 |
-
msgid "
|
|
|
|
|
|
|
1563 |
msgstr ""
|
1564 |
|
1565 |
-
#: admin/
|
1566 |
-
|
|
|
1567 |
msgstr ""
|
1568 |
|
1569 |
-
#: admin/pages/
|
1570 |
-
msgid "
|
|
|
|
|
1571 |
msgstr ""
|
1572 |
|
1573 |
-
#: admin/pages/
|
|
|
|
|
|
|
|
|
1574 |
msgid ""
|
1575 |
-
"
|
1576 |
-
"
|
1577 |
-
"to implement your ideas faster without wasting time on searching and "
|
1578 |
-
"studying PHP code. The feature is available in the premium version only."
|
1579 |
msgstr ""
|
1580 |
|
1581 |
-
#: admin/pages/
|
1582 |
-
msgid "
|
|
|
|
|
1583 |
msgstr ""
|
1584 |
|
1585 |
#: admin/pages/snippet-library.php:103
|
@@ -1590,86 +1706,99 @@ msgid ""
|
|
1590 |
"import/export. The feature is available in the premium version only."
|
1591 |
msgstr ""
|
1592 |
|
1593 |
-
#: admin/
|
1594 |
-
msgid "
|
1595 |
msgstr ""
|
1596 |
|
1597 |
-
#: admin/
|
1598 |
-
msgid "
|
1599 |
msgstr ""
|
1600 |
|
1601 |
-
#: admin/
|
1602 |
-
msgid "
|
1603 |
msgstr ""
|
1604 |
|
1605 |
-
#: admin/
|
1606 |
-
msgid "
|
1607 |
msgstr ""
|
1608 |
|
1609 |
-
|
1610 |
-
msgid "
|
1611 |
msgstr ""
|
1612 |
|
1613 |
-
#: admin/
|
1614 |
-
msgid "
|
1615 |
msgstr ""
|
1616 |
|
1617 |
-
#: admin/
|
1618 |
-
msgid "
|
1619 |
msgstr ""
|
1620 |
|
1621 |
-
#: admin/
|
1622 |
-
msgid "
|
1623 |
msgstr ""
|
1624 |
|
1625 |
-
|
1626 |
-
msgid "
|
1627 |
msgstr ""
|
1628 |
|
1629 |
-
#: admin/
|
1630 |
-
|
|
|
|
|
1631 |
msgstr ""
|
1632 |
|
1633 |
-
#: admin/
|
1634 |
-
msgid "
|
1635 |
msgstr ""
|
1636 |
|
1637 |
-
#:
|
1638 |
-
msgid "
|
1639 |
msgstr ""
|
1640 |
|
1641 |
-
#:
|
1642 |
-
#:
|
1643 |
-
|
1644 |
-
#: includes/shortcodes/shortcode-php.php:26
|
1645 |
-
#: includes/shortcodes/shortcode-universal.php:26
|
1646 |
-
msgid "]: PHP snippets error (not passed the snippet ID)"
|
1647 |
msgstr ""
|
1648 |
|
1649 |
-
#:
|
1650 |
-
msgid "
|
|
|
|
|
1651 |
msgstr ""
|
1652 |
|
1653 |
-
|
1654 |
-
|
|
|
1655 |
msgstr ""
|
1656 |
|
1657 |
-
|
1658 |
msgid ""
|
1659 |
-
"
|
1660 |
-
"
|
|
|
1661 |
msgstr ""
|
1662 |
|
1663 |
-
|
1664 |
-
msgid "
|
1665 |
msgstr ""
|
1666 |
|
1667 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1668 |
msgid ""
|
1669 |
-
"
|
1670 |
-
"
|
1671 |
msgstr ""
|
1672 |
|
1673 |
-
|
1674 |
-
msgid "
|
|
|
1675 |
msgstr ""
|
1 |
+
# Translation of Plugins - Woody Code Snippets – insert any code, text, or ads via using conditions - Development (trunk) in Russian
|
2 |
+
# This file is distributed under the same license as the Plugins - Woody Code Snippets – insert any code, text, or ads via using conditions - Development (trunk) package.
|
3 |
#, fuzzy
|
4 |
msgid ""
|
5 |
msgstr ""
|
10 |
"Plural-Forms: nplurals=INTEGER; plural=EXPRESSION;\n"
|
11 |
"X-Generator: Loco https://localise.biz/\n"
|
12 |
"Language: \n"
|
13 |
+
"Project-Id-Version: Plugins - Woody Code Snippets – insert any code, "
|
14 |
"text, or ads via using conditions - Development (trunk)\n"
|
15 |
+
"POT-Creation-Date: 2021-02-11 13:48+0000\n"
|
16 |
"Last-Translator: \n"
|
17 |
"Language-Team: "
|
18 |
|
19 |
+
#. %s: size in bytes
|
20 |
+
#: admin/pages/import.php:157
|
21 |
+
#, php-format
|
22 |
+
msgid "(Maximum size: %s)"
|
23 |
msgstr ""
|
24 |
|
25 |
+
#: admin/ajax/ajax.php:137
|
26 |
+
msgid "(not active)"
|
27 |
msgstr ""
|
28 |
|
29 |
+
#: admin/pages/new-item.php:30 admin/types/snippets-post-types.php:79
|
30 |
+
msgid "+ Add snippet"
|
|
|
|
|
|
|
31 |
msgstr ""
|
32 |
|
33 |
+
#: admin/metaboxes/view-options.php:433
|
34 |
+
msgid ", younger than"
|
35 |
+
msgstr ""
|
36 |
+
|
37 |
+
#: admin/ajax/ajax.php:158
|
38 |
+
msgid "404 Page"
|
39 |
msgstr ""
|
40 |
|
41 |
+
#: admin/pages/license.php:338
|
42 |
+
#, php-format
|
43 |
msgid ""
|
44 |
+
"<a href=\"%s\" target=\"_blank\" rel=\"noopener\">Lean more</a> about the "
|
45 |
+
"premium version and get the license key to activate it now!"
|
46 |
msgstr ""
|
47 |
|
48 |
+
#: admin/metaboxes/view-options.php:292
|
49 |
+
msgid "[Delayed Lock]: Show the locker only in posts older than 5 days"
|
50 |
msgstr ""
|
51 |
|
52 |
+
#: admin/metaboxes/view-options.php:262
|
53 |
+
msgid "[Hide For Members]: Show the locker only for guests"
|
54 |
msgstr ""
|
55 |
|
56 |
+
#: admin/metaboxes/view-options.php:277
|
57 |
+
msgid "[Hide On Mobile]: Hide the locker on mobile devices"
|
58 |
msgstr ""
|
59 |
|
60 |
+
#: includes/shortcodes/shortcode-ad.php:26
|
61 |
+
msgid "]: Advertisement snippets error (not passed the snippet ID)"
|
62 |
msgstr ""
|
63 |
|
64 |
+
#: includes/shortcodes/shortcode-css.php:26
|
65 |
+
#: includes/shortcodes/shortcode-html.php:26
|
66 |
+
#: includes/shortcodes/shortcode-js.php:26
|
67 |
+
#: includes/shortcodes/shortcode-php.php:26
|
68 |
+
#: includes/shortcodes/shortcode-universal.php:26
|
69 |
+
msgid "]: PHP snippets error (not passed the snippet ID)"
|
70 |
msgstr ""
|
71 |
|
72 |
+
#: includes/shortcodes/shortcode-text.php:26
|
73 |
+
msgid "]: Text snippets error (not passed the snippet ID)"
|
74 |
msgstr ""
|
75 |
|
76 |
+
#: admin/metaboxes/base-options.php:273
|
77 |
+
msgid ""
|
78 |
+
"A copy of your snippet and its settings are stored on our remote server. You "
|
79 |
+
"can access it from any website where you’ve activated the plugin’s premium "
|
80 |
+
"version. If you have our plugin on multiple websites or work in a team, it’s "
|
81 |
+
"quite handy to use templates. The feature is available in the premium "
|
82 |
+
"version only."
|
83 |
msgstr ""
|
84 |
|
85 |
+
#: admin/metaboxes/view-options.php:143
|
86 |
+
msgid "A post type of the current page."
|
87 |
msgstr ""
|
88 |
|
89 |
+
#: admin/metaboxes/view-options.php:133
|
90 |
+
msgid "A referrer URL which has brought a user to the current page."
|
91 |
msgstr ""
|
92 |
|
93 |
+
#: admin/metaboxes/view-options.php:92
|
94 |
+
msgid ""
|
95 |
+
"A role of the user who views your website. The role \"guest\" is applied to "
|
96 |
+
"unregistered users."
|
97 |
msgstr ""
|
98 |
|
99 |
+
#: admin/metaboxes/view-options.php:163
|
100 |
+
msgid "A taxonomy of the current page."
|
101 |
msgstr ""
|
102 |
|
103 |
+
#: admin/metaboxes/view-options.php:153
|
104 |
+
msgid "A taxonomy page."
|
105 |
msgstr ""
|
106 |
|
107 |
+
#: admin/pages/about.php:29
|
108 |
+
msgid "About"
|
109 |
msgstr ""
|
110 |
|
111 |
+
#: admin/metaboxes/view-options.php:471
|
112 |
+
msgid "absolute"
|
113 |
msgstr ""
|
114 |
|
115 |
+
#: admin/metaboxes/revisions.php:68
|
116 |
+
msgid "Access denied"
|
117 |
msgstr ""
|
118 |
|
119 |
+
#: admin/includes/class.actions.snippet.php:113
|
120 |
+
msgid "Activate"
|
121 |
msgstr ""
|
122 |
|
123 |
+
#: admin/pages/license.php:215
|
124 |
+
#, php-format
|
125 |
+
msgid "Activate %s"
|
126 |
msgstr ""
|
127 |
|
128 |
+
#: admin/pages/settings.php:72
|
129 |
+
msgid "Activate by Default"
|
130 |
msgstr ""
|
131 |
|
132 |
+
#: admin/pages/license.php:288
|
133 |
+
msgid "active sites"
|
134 |
msgstr ""
|
135 |
|
136 |
+
#: admin/includes/class.common.snippet.php:135
|
137 |
+
#: admin/includes/class.common.snippet.php:190
|
138 |
+
msgid "Add"
|
139 |
msgstr ""
|
140 |
|
141 |
+
#: includes/class.helpers.php:429
|
142 |
+
msgid "Add Facebook Pixel to the Order success page"
|
143 |
msgstr ""
|
144 |
|
145 |
+
#: includes/class.helpers.php:434
|
146 |
+
msgid "Add Facebook Pixel to the Order success page."
|
147 |
msgstr ""
|
148 |
|
149 |
+
#: admin/types/snippets-post-types.php:80
|
150 |
+
msgid "Add new"
|
151 |
msgstr ""
|
152 |
|
153 |
+
#: admin/metaboxes/view-options.php:183
|
154 |
+
msgid "Addblocker"
|
155 |
msgstr ""
|
156 |
|
157 |
+
#: admin/includes/class.common.snippet.php:99
|
158 |
+
#: admin/includes/class.common.snippet.php:157 admin/pages/new-item.php:84
|
159 |
+
msgid "Advertisement snippet"
|
160 |
msgstr ""
|
161 |
|
162 |
+
#: includes/class.insertion.locations.php:201
|
163 |
+
msgid "After a product excerpt"
|
164 |
msgstr ""
|
165 |
|
166 |
+
#: includes/class.insertion.locations.php:193
|
167 |
+
msgid "After a product price"
|
168 |
msgstr ""
|
169 |
|
170 |
+
#: includes/class.insertion.locations.php:185
|
171 |
+
msgid "After a product title"
|
172 |
msgstr ""
|
173 |
|
174 |
+
#: includes/class.insertion.locations.php:161
|
175 |
+
msgid "After a single product"
|
176 |
msgstr ""
|
177 |
|
178 |
+
#: includes/class.insertion.locations.php:177
|
179 |
+
msgid "After a single product summary"
|
180 |
msgstr ""
|
181 |
|
182 |
+
#: includes/class.insertion.locations.php:127
|
183 |
+
msgid "After post"
|
184 |
msgstr ""
|
185 |
|
186 |
+
#: includes/class.insertion.locations.php:145
|
187 |
+
msgid "After the list of products"
|
188 |
msgstr ""
|
189 |
|
190 |
+
#: admin/ajax/ajax.php:152
|
191 |
+
msgid "All Archives"
|
192 |
msgstr ""
|
193 |
|
194 |
+
#: admin/ajax/ajax.php:192
|
195 |
+
msgid "All Categories Archive"
|
196 |
msgstr ""
|
197 |
|
198 |
+
#: admin/ajax/ajax.php:202
|
199 |
msgid "All Pages"
|
200 |
msgstr ""
|
201 |
|
202 |
+
#: admin/ajax/ajax.php:206
|
203 |
msgid "All Pages Archive"
|
204 |
msgstr ""
|
205 |
|
206 |
+
#: admin/ajax/ajax.php:184
|
207 |
+
msgid "All Posts"
|
208 |
msgstr ""
|
209 |
|
210 |
+
#: admin/ajax/ajax.php:188
|
211 |
+
msgid "All Posts Archive"
|
|
|
|
|
212 |
msgstr ""
|
213 |
|
214 |
+
#: admin/ajax/ajax.php:232
|
215 |
+
msgid "All Products page"
|
216 |
msgstr ""
|
217 |
|
218 |
+
#: admin/ajax/ajax.php:148
|
219 |
+
msgid "All Singulars"
|
220 |
msgstr ""
|
221 |
|
222 |
+
#: admin/ajax/ajax.php:196
|
223 |
+
msgid "All Tags Archive"
|
224 |
msgstr ""
|
225 |
|
226 |
+
#: admin/pages/snippet-library.php:64
|
227 |
+
msgid "An error occurred during delete"
|
228 |
msgstr ""
|
229 |
|
230 |
+
#: admin/metaboxes/base-options.php:111
|
231 |
+
msgid "An error occurred during export"
|
232 |
msgstr ""
|
233 |
|
234 |
+
#: admin/metaboxes/base-options.php:110 admin/pages/snippet-library.php:63
|
235 |
+
msgid "An error occurred during import"
|
|
|
236 |
msgstr ""
|
237 |
|
238 |
+
#: admin/pages/import.php:61
|
239 |
+
msgid "An error occurred when processing the import files."
|
|
|
|
|
240 |
msgstr ""
|
241 |
|
242 |
+
#: admin/metaboxes/view-options.php:127
|
243 |
+
msgid ""
|
244 |
+
"An URL of the current page where a user who views your website is located."
|
245 |
msgstr ""
|
246 |
|
247 |
+
#: admin/metaboxes/view-options.php:402
|
248 |
+
msgid "AND"
|
249 |
msgstr ""
|
250 |
|
251 |
+
#: admin/metaboxes/view-options.php:361
|
252 |
+
msgid "and"
|
253 |
msgstr ""
|
254 |
|
255 |
+
#: admin/metaboxes/view-options.php:237
|
256 |
+
msgid "Attendance by time of day"
|
257 |
msgstr ""
|
258 |
|
259 |
+
#: admin/includes/class.notices.php:118
|
260 |
+
#, php-format
|
261 |
+
msgid ""
|
262 |
+
"Attention! If you have previously used version 1.3.0 of plugin Insert php. "
|
263 |
+
"This new %s plugin version, we added the ability to insert php code using "
|
264 |
+
"snippets. This is a more convenient and secure way than using shortcodes "
|
265 |
+
"[insert_php] code execute [/ insert_php]. However, for compatibility reasons,"
|
266 |
+
" we left support for [insert_php] shortcodes until March 2019, after that we "
|
267 |
+
"will stop supporting shortcodes [insert_php]."
|
268 |
msgstr ""
|
269 |
|
270 |
+
#: admin/metaboxes/view-options.php:221
|
271 |
+
msgid "Auditory"
|
|
|
272 |
msgstr ""
|
273 |
|
274 |
+
#: admin/metaboxes/revisions.php:100
|
275 |
+
msgid "Author"
|
276 |
msgstr ""
|
277 |
|
278 |
+
#: admin/ajax/ajax.php:178
|
279 |
+
msgid "Author Archive"
|
|
|
|
|
|
|
280 |
msgstr ""
|
281 |
|
282 |
+
#: admin/pages/settings.php:180
|
283 |
+
msgid "Auto Close Brackets"
|
284 |
msgstr ""
|
285 |
|
286 |
+
#: admin/metaboxes/base-options.php:575
|
287 |
+
msgid "Automatic insertion"
|
|
|
288 |
msgstr ""
|
289 |
|
290 |
+
#: admin/metaboxes/base-options.php:713
|
291 |
+
msgid "Available attributes"
|
|
|
292 |
msgstr ""
|
293 |
|
294 |
+
#: admin/metaboxes/base-options.php:714
|
295 |
+
#, php-format
|
296 |
+
msgid ""
|
297 |
+
"Available attributes for shortcode via comma. Only numbers, letters and "
|
298 |
+
"underscore characters are allowed. Attribute id is always available. With "
|
299 |
+
"this option you can set additional attributes for the shortcode. Example: "
|
300 |
+
"start_date attribute to [%s id='xxx' start_date='2018/01/15'] shortcode. Now "
|
301 |
+
"we can get attribute value in the snippet with the $start_date variable. "
|
302 |
+
"It's convenient if you want to print out different results depending on this "
|
303 |
+
"attributes."
|
304 |
msgstr ""
|
305 |
|
306 |
+
#: admin/metaboxes/base-options.php:43
|
307 |
+
msgid "Base options"
|
|
|
308 |
msgstr ""
|
309 |
|
310 |
+
#: admin/ajax/ajax.php:141
|
311 |
+
msgid "Basic"
|
|
|
312 |
msgstr ""
|
313 |
|
314 |
+
#: includes/class.insertion.locations.php:153
|
315 |
+
msgid "Before a single product"
|
|
|
316 |
msgstr ""
|
317 |
|
318 |
+
#: includes/class.insertion.locations.php:169
|
319 |
+
msgid "Before a single product summary"
|
|
|
320 |
msgstr ""
|
321 |
|
322 |
+
#: includes/class.insertion.locations.php:119
|
323 |
+
msgid "Before post"
|
|
|
|
|
324 |
msgstr ""
|
325 |
|
326 |
+
#: includes/class.insertion.locations.php:137
|
327 |
+
msgid "Before the list of products"
|
|
|
328 |
msgstr ""
|
329 |
|
330 |
+
#: admin/metaboxes/view-options.php:394
|
331 |
+
msgid "Between"
|
332 |
msgstr ""
|
333 |
|
334 |
+
#: includes/class.insertion.locations.php:111
|
335 |
+
msgid "Between Posts"
|
336 |
msgstr ""
|
337 |
|
338 |
+
#: admin/ajax/ajax.php:166
|
339 |
+
msgid "Blog / Posts Page"
|
340 |
msgstr ""
|
341 |
|
342 |
+
#: admin/metaboxes/view-options.php:189
|
343 |
+
msgid "Browser"
|
344 |
msgstr ""
|
345 |
|
346 |
+
#: admin/pages/import.php:177
|
347 |
+
msgid "Bulk export [Premium]"
|
348 |
msgstr ""
|
349 |
|
350 |
+
#: admin/pages/import.php:178
|
351 |
+
msgid ""
|
352 |
+
"Bulk export allows exporting all snippets in one click. Bulk export has "
|
353 |
+
"advanced settings of snippet segmentation by types, tags, or activity. If "
|
354 |
+
"you value your time use our premium plugin and export all of your snippets "
|
355 |
+
"in one click."
|
356 |
msgstr ""
|
357 |
|
358 |
+
#: admin/metaboxes/base-options.php:609
|
359 |
+
msgid ""
|
360 |
+
"By default, all snippet shortcodes look like this: [wbcr_snippet id=”121”]. "
|
361 |
+
"Such shortcodes are hard to remember. In addition, when you move a snippet "
|
362 |
+
"to another website its ID can be changed. So the best solution for the "
|
363 |
+
"snippets use regularly is to define a custom shortcode name. The custom "
|
364 |
+
"shortcode may look like this: [soccer_match_date]"
|
365 |
msgstr ""
|
366 |
|
367 |
+
#: admin/pages/license.php:342
|
368 |
+
#, php-format
|
369 |
+
msgid ""
|
370 |
+
"Can’t find your key? Go to <a href=\"%s\" target=\"_blank\" rel=\"noopener\">"
|
371 |
+
"this page</a> and login using the e-mail address associated with your "
|
372 |
+
"purchase."
|
373 |
msgstr ""
|
374 |
|
375 |
+
#: admin/ajax/ajax.php:217
|
376 |
+
msgid "Cart page"
|
377 |
msgstr ""
|
378 |
|
379 |
+
#: admin/metaboxes/base-options.php:630
|
380 |
+
msgid "Categories, Archives, Tags, Taxonomies"
|
|
|
381 |
msgstr ""
|
382 |
|
383 |
+
#: admin/ajax/ajax.php:222
|
384 |
+
msgid "Checkout page"
|
385 |
msgstr ""
|
386 |
|
387 |
+
#: admin/ajax/ajax.php:227
|
388 |
+
msgid "Checkout pay page"
|
389 |
msgstr ""
|
390 |
|
391 |
+
#: admin/pages/import.php:155
|
392 |
+
msgid "Choose files from your computer:"
|
393 |
msgstr ""
|
394 |
|
395 |
+
#: admin/pages/import.php:150
|
396 |
msgid ""
|
397 |
+
"Choose one or more Php Snippets (.json) files to upload, then click \"Upload "
|
398 |
+
"files and import\"."
|
|
|
|
|
|
|
|
|
399 |
msgstr ""
|
400 |
|
401 |
+
#: admin/pages/new-item.php:92
|
402 |
+
msgid "Choose which snippet you would like to create."
|
|
|
403 |
msgstr ""
|
404 |
|
405 |
+
#: admin/pages/new-item.php:107
|
406 |
+
msgid "Click here to learn more"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
407 |
msgstr ""
|
408 |
|
409 |
+
#: admin/includes/class.actions.snippet.php:176
|
410 |
+
msgid "Close"
|
|
|
|
|
|
|
411 |
msgstr ""
|
412 |
|
413 |
+
#: admin/metaboxes/revisions.php:46
|
414 |
+
msgid "Code Revisions"
|
|
|
|
|
|
|
415 |
msgstr ""
|
416 |
|
417 |
+
#: admin/pages/settings.php:125
|
418 |
+
msgid "Code style"
|
419 |
msgstr ""
|
420 |
|
421 |
+
#: admin/metaboxes/revisions.php:98 admin/metaboxes/revisions.php:136
|
422 |
+
msgid "Compare"
|
423 |
msgstr ""
|
424 |
|
425 |
+
#: admin/pages/settings.php:99
|
426 |
+
msgid "Complete Uninstall"
|
|
|
|
|
|
|
|
|
427 |
msgstr ""
|
428 |
|
429 |
+
#: admin/metaboxes/view-options.php:38
|
430 |
+
msgid "Conditional execution logic for the snippet"
|
|
|
|
|
|
|
431 |
msgstr ""
|
432 |
|
433 |
+
#: admin/metaboxes/view-options.php:392
|
434 |
+
msgid "Contains"
|
435 |
msgstr ""
|
436 |
|
437 |
+
#: admin/metaboxes/view-options.php:112
|
438 |
+
msgid "Cookie Name"
|
439 |
msgstr ""
|
440 |
|
441 |
+
#: admin/pages/new-item.php:104
|
442 |
+
msgid "Create Item"
|
443 |
msgstr ""
|
444 |
|
445 |
+
#: admin/includes/class.notices.php:122
|
446 |
+
msgid "Create new php snippet"
|
447 |
msgstr ""
|
448 |
|
449 |
+
#: admin/pages/new-item.php:91
|
450 |
+
msgid "Creating New Snippet"
|
451 |
msgstr ""
|
452 |
|
453 |
+
#: admin/includes/class.common.snippet.php:95
|
454 |
+
#: admin/includes/class.common.snippet.php:153 admin/pages/new-item.php:69
|
455 |
+
msgid "Css snippet"
|
|
|
456 |
msgstr ""
|
457 |
|
458 |
+
#: admin/metaboxes/view-options.php:125
|
459 |
+
msgid "Current Page"
|
460 |
msgstr ""
|
461 |
|
462 |
+
#: admin/metaboxes/view-options.php:131
|
463 |
+
msgid "Current Referrer"
|
464 |
msgstr ""
|
465 |
|
466 |
+
#: admin/metaboxes/base-options.php:651
|
467 |
+
msgid "Custom"
|
468 |
msgstr ""
|
469 |
|
470 |
+
#: admin/metaboxes/base-options.php:608
|
471 |
+
msgid "Custom shortcode name"
|
472 |
msgstr ""
|
473 |
|
474 |
+
#: admin/includes/class.snippets.table.php:213
|
475 |
+
msgid "Date"
|
476 |
msgstr ""
|
477 |
|
478 |
+
#: admin/ajax/ajax.php:174
|
479 |
+
msgid "Date Archive"
|
480 |
msgstr ""
|
481 |
|
482 |
+
#: admin/metaboxes/view-options.php:428 admin/metaboxes/view-options.php:439
|
483 |
+
#: admin/metaboxes/view-options.php:459
|
484 |
+
msgid "Day(s)"
|
485 |
msgstr ""
|
486 |
|
487 |
+
#: admin/pages/license.php:309
|
488 |
+
msgid "day(s)"
|
489 |
msgstr ""
|
490 |
|
491 |
+
#: admin/includes/class.actions.snippet.php:112
|
492 |
+
msgid "Deactivate"
|
|
|
493 |
msgstr ""
|
494 |
|
495 |
+
#: admin/includes/class.actions.snippet.php:111
|
496 |
+
#: admin/includes/class.snippets.table.php:217
|
497 |
+
#: admin/metaboxes/revisions.php:101 admin/metaboxes/revisions.php:138
|
498 |
+
msgid "Delete"
|
499 |
msgstr ""
|
500 |
|
501 |
+
#: admin/pages/license.php:235
|
502 |
+
msgid "Delete Key"
|
503 |
msgstr ""
|
504 |
|
505 |
+
#: admin/pages/snippet-library.php:62
|
506 |
+
msgid "Delete snippet?"
|
507 |
msgstr ""
|
508 |
|
509 |
+
#: admin/includes/class.snippets.table.php:212
|
510 |
+
#: admin/includes/class.snippets.viewtable.php:18
|
511 |
+
#: admin/metaboxes/base-options.php:699
|
512 |
+
msgid "Description"
|
513 |
msgstr ""
|
514 |
|
515 |
+
#: admin/metaboxes/view-options.php:185
|
516 |
+
msgid "Determines whether the user use Addblocker on website."
|
517 |
msgstr ""
|
518 |
|
519 |
+
#: admin/metaboxes/view-options.php:197
|
520 |
+
msgid "Determines whether the user use cookie on website."
|
521 |
msgstr ""
|
522 |
|
523 |
+
#: admin/metaboxes/view-options.php:203
|
524 |
+
msgid "Determines whether the user use javascript on website."
|
525 |
msgstr ""
|
526 |
|
527 |
+
#: admin/metaboxes/view-options.php:191
|
528 |
+
msgid "Determines whether the user use selected browser."
|
529 |
msgstr ""
|
530 |
|
531 |
+
#: admin/metaboxes/view-options.php:215
|
532 |
+
msgid "Determines whether the user use selected device type."
|
533 |
msgstr ""
|
534 |
|
535 |
+
#: admin/metaboxes/view-options.php:209
|
536 |
+
msgid "Determines whether the user use selected OS."
|
537 |
msgstr ""
|
538 |
|
539 |
+
#: admin/metaboxes/view-options.php:115
|
540 |
+
msgid "Determines whether the user's browser has a cookie with a given name."
|
541 |
msgstr ""
|
542 |
|
543 |
+
#: admin/metaboxes/view-options.php:213
|
544 |
+
msgid "Device type"
|
545 |
msgstr ""
|
546 |
|
547 |
+
#: admin/includes/class.notices.php:144
|
548 |
+
msgid "Disable Safe Mode"
|
549 |
msgstr ""
|
550 |
|
551 |
+
#: admin/metaboxes/view-options.php:334
|
552 |
+
msgid "Display On IF"
|
553 |
msgstr ""
|
554 |
|
555 |
+
#: admin/metaboxes/view-options.php:335
|
556 |
+
msgid "Do Not Display IF"
|
557 |
msgstr ""
|
558 |
|
559 |
+
#: admin/pages/import.php:143
|
560 |
msgid ""
|
561 |
+
"Do not import any duplicate snippets; leave all existing snippets unchanged."
|
562 |
msgstr ""
|
563 |
|
564 |
+
#: admin/pages/about.php:50
|
565 |
+
msgid "Documentation"
|
|
|
|
|
|
|
|
|
|
|
566 |
msgstr ""
|
567 |
|
568 |
+
#: admin/metaboxes/view-options.php:387
|
569 |
+
msgid "Doesn't Equal"
|
570 |
msgstr ""
|
571 |
|
572 |
+
#: admin/metaboxes/view-options.php:393
|
573 |
+
msgid "Doesn't Сontain"
|
574 |
msgstr ""
|
575 |
|
576 |
+
#: admin/pages/license.php:276
|
577 |
+
msgid "domain"
|
578 |
msgstr ""
|
579 |
|
580 |
+
#: admin/includes/class.notices.php:123
|
581 |
+
msgid "Download old version"
|
|
|
|
|
|
|
|
|
582 |
msgstr ""
|
583 |
|
584 |
+
#: admin/pages/import.php:122
|
585 |
+
msgid "Duplicate Snippets"
|
|
|
|
|
|
|
586 |
msgstr ""
|
587 |
|
588 |
+
#: admin/includes/class.common.snippet.php:283
|
589 |
+
#: admin/types/snippets-post-types.php:81
|
590 |
+
msgid "Edit"
|
|
|
|
|
|
|
591 |
msgstr ""
|
592 |
|
593 |
+
#: admin/includes/class.common.snippet.php:166
|
594 |
+
msgid "Edit advertisement snippet"
|
595 |
msgstr ""
|
596 |
|
597 |
+
#: admin/includes/class.common.snippet.php:162
|
598 |
+
msgid "Edit css snippet"
|
|
|
|
|
|
|
|
|
599 |
msgstr ""
|
600 |
|
601 |
+
#: admin/includes/class.common.snippet.php:164
|
602 |
+
msgid "Edit html snippet"
|
603 |
msgstr ""
|
604 |
|
605 |
+
#: admin/includes/class.common.snippet.php:163
|
606 |
+
msgid "Edit js snippet"
|
|
|
|
|
|
|
|
|
|
|
607 |
msgstr ""
|
608 |
|
609 |
+
#: admin/includes/class.common.snippet.php:283
|
610 |
+
msgid "Edit permalink"
|
611 |
msgstr ""
|
612 |
|
613 |
+
#: admin/includes/class.common.snippet.php:160
|
614 |
+
msgid "Edit php snippet"
|
615 |
msgstr ""
|
616 |
|
617 |
+
#: admin/types/snippets-post-types.php:82
|
618 |
+
msgid "Edit snippet"
|
619 |
msgstr ""
|
620 |
|
621 |
+
#: admin/includes/class.common.snippet.php:161
|
622 |
+
msgid "Edit text snippet"
|
623 |
msgstr ""
|
624 |
|
625 |
+
#: admin/includes/class.common.snippet.php:165
|
626 |
+
msgid "Edit universal snippet"
|
627 |
msgstr ""
|
628 |
|
629 |
+
#: includes/class.helpers.php:423
|
630 |
msgid ""
|
631 |
+
"Emojis are little icons used to express ideas or emotions. While these icons "
|
632 |
+
"are fun and all, are they really necessary for your WordPress site? This "
|
633 |
+
"snippet to disable emojis on your site to make it faster."
|
634 |
msgstr ""
|
635 |
|
636 |
+
#: admin/metaboxes/base-options.php:278
|
637 |
+
msgid "Enter template name"
|
|
|
|
|
638 |
msgstr ""
|
639 |
|
640 |
+
#: admin/ajax/ajax.php:144
|
641 |
+
msgid "Entire Website"
|
642 |
msgstr ""
|
643 |
|
644 |
+
#: admin/metaboxes/view-options.php:386
|
645 |
+
msgid "Equals"
|
646 |
msgstr ""
|
647 |
|
648 |
+
#: includes/class.helpers.php:748 admin/metaboxes/base-options.php:620
|
649 |
+
msgid "Everywhere"
|
650 |
msgstr ""
|
651 |
|
652 |
+
#: admin/pages/settings.php:90
|
653 |
+
msgid "Execute shortcodes in snippets"
|
654 |
msgstr ""
|
655 |
|
656 |
+
#: admin/pages/settings.php:92
|
657 |
+
msgid "Execute shortcodes in the snippet code before executing the snippet."
|
658 |
msgstr ""
|
659 |
|
660 |
+
#. Description of the plugin
|
661 |
msgid ""
|
662 |
+
"Executes PHP code, uses conditional logic to insert ads, text, media content "
|
663 |
+
"and external service’s code. Ensures no content duplication."
|
664 |
msgstr ""
|
665 |
|
666 |
+
#: admin/pages/license.php:298
|
667 |
+
msgid "EXPIRED!"
|
|
|
|
|
668 |
msgstr ""
|
669 |
|
670 |
+
#: admin/includes/class.actions.snippet.php:90
|
671 |
+
#: admin/includes/class.actions.snippet.php:179 admin/pages/import.php:116
|
672 |
+
msgid "Export"
|
673 |
msgstr ""
|
674 |
|
675 |
+
#: admin/metaboxes/base-options.php:109 admin/metaboxes/base-options.php:489
|
676 |
+
msgid "Export snippet"
|
677 |
msgstr ""
|
678 |
|
679 |
+
#: admin/metaboxes/base-options.php:687
|
680 |
+
msgid "External File"
|
681 |
msgstr ""
|
682 |
|
683 |
+
#: admin/includes/class.filter.snippet.php:38
|
684 |
+
msgid "Filter by tag:"
|
685 |
msgstr ""
|
686 |
|
687 |
+
#: admin/includes/class.filter.snippet.php:63
|
688 |
+
msgid "Filter by type:"
|
689 |
msgstr ""
|
690 |
|
691 |
+
#: includes/class.insertion.locations.php:35
|
692 |
+
msgid "Footer"
|
693 |
msgstr ""
|
694 |
|
695 |
+
#: admin/includes/class.notices.php:121
|
696 |
+
#, php-format
|
697 |
+
msgid ""
|
698 |
+
"For more information on porting code and using snippets, see our plugin <a "
|
699 |
+
"href=\"%s\" target=\"_blank\">documentation</a>"
|
700 |
msgstr ""
|
701 |
|
702 |
+
#: admin/metaboxes/view-options.php:410
|
703 |
+
msgid "from"
|
704 |
msgstr ""
|
705 |
|
706 |
+
#: admin/ajax/ajax.php:170
|
707 |
+
msgid "Front Page"
|
|
|
|
|
708 |
msgstr ""
|
709 |
|
710 |
+
#: admin/metaboxes/view-options.php:227
|
711 |
+
msgid "Geolocation"
|
712 |
msgstr ""
|
713 |
|
714 |
+
#: admin/metaboxes/view-options.php:388
|
715 |
+
msgid "Greater Than"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
716 |
msgstr ""
|
717 |
|
718 |
+
#: admin/ajax/ajax.php:41
|
719 |
+
msgid "Guest"
|
720 |
msgstr ""
|
721 |
|
722 |
+
#: admin/pages/license.php:324
|
723 |
+
msgid "Have a key to activate the plugin? Paste it here:"
|
724 |
msgstr ""
|
725 |
|
726 |
+
#: admin/pages/license.php:322
|
727 |
+
msgid "Have a key to activate the premium version? Paste it here:"
|
728 |
msgstr ""
|
729 |
|
730 |
+
#: admin/includes/class.notices.php:79
|
731 |
+
msgid "Have feedback on Woody ad Snippets?"
|
732 |
msgstr ""
|
733 |
|
734 |
+
#: includes/class.insertion.locations.php:27
|
735 |
+
msgid "Header"
|
736 |
msgstr ""
|
737 |
|
738 |
+
#: admin/pages/snippet-library.php:100
|
739 |
+
msgid ""
|
740 |
+
"Here you see all of your snippet templates. We’ve gathered the frequently "
|
741 |
+
"used snippets so you can use them in your projects. Snippet templates help "
|
742 |
+
"to implement your ideas faster without wasting time on searching and "
|
743 |
+
"studying PHP code. The feature is available in the premium version only."
|
744 |
msgstr ""
|
745 |
|
746 |
+
#: admin/pages/settings.php:189
|
747 |
+
msgid "Highlight Selection Matches"
|
748 |
msgstr ""
|
749 |
|
750 |
+
#: admin/metaboxes/view-options.php:427 admin/metaboxes/view-options.php:438
|
751 |
+
#: admin/metaboxes/view-options.php:458
|
752 |
+
msgid "Hours(s)"
|
753 |
msgstr ""
|
754 |
|
755 |
+
#: admin/pages/new-item.php:79
|
756 |
+
msgid "HTML snippet"
|
757 |
msgstr ""
|
758 |
|
759 |
+
#: admin/includes/class.common.snippet.php:97
|
760 |
+
#: admin/includes/class.common.snippet.php:155
|
761 |
+
msgid "Html snippet"
|
762 |
msgstr ""
|
763 |
|
764 |
+
#. Author URI of the plugin
|
765 |
+
msgid "http://cm-wp.com"
|
766 |
msgstr ""
|
767 |
|
768 |
+
#. URI of the plugin
|
769 |
+
msgid "https://woodysnippet.com/"
|
770 |
msgstr ""
|
771 |
|
772 |
+
#: admin/includes/class.notices.php:125
|
773 |
+
#, php-format
|
774 |
msgid ""
|
775 |
+
"If you have issues with the plugin new version or any suggestions, please "
|
776 |
+
"contact us on <a href=\"%s\" target=\"_blank\">our forum</a>."
|
777 |
msgstr ""
|
778 |
|
779 |
+
#: admin/metaboxes/base-options.php:599
|
780 |
+
#, php-format
|
781 |
+
msgid ""
|
782 |
+
"If you select the \"%s\" option, after activating the widget, the php code "
|
783 |
+
"will be launched on all pages of your site. Another option works only where "
|
784 |
+
"you have set a shortcode snippet (widgets, post)."
|
785 |
msgstr ""
|
786 |
|
787 |
+
#: admin/includes/class.notices.php:124
|
788 |
+
#, php-format
|
789 |
msgid ""
|
790 |
+
"If you still want to use the old shortcodes [insert_php] and you don’t have "
|
791 |
+
"time to upgrade to the new version, you can enable support for old "
|
792 |
+
"shortcodes in the plugin <a href=\"%s\">settings</a>."
|
793 |
msgstr ""
|
794 |
|
795 |
+
#: admin/pages/settings.php:110
|
796 |
+
msgid ""
|
797 |
+
"If you used our plugin from version 1.3.0, then you could use the old "
|
798 |
+
"shortcodes [insert_php][/insert_php]; from version 2.2.0 we disabled this "
|
799 |
+
"type of shortcodes by default, as their use is not safe. If you still want "
|
800 |
+
"to execute your php code via [insert_php][/insert_php] shortcodes, you can "
|
801 |
+
"enable this option."
|
802 |
msgstr ""
|
803 |
|
804 |
+
#: admin/metaboxes/base-options.php:572
|
805 |
+
#, php-format
|
806 |
+
msgid ""
|
807 |
+
"If you want to place some content into your snippet from the shortcode just "
|
808 |
+
"wrap it inside [wbcr%s_snippet id=\"xxx\"]content[/wbcr%s_snippet]. To use "
|
809 |
+
"this content inside the snippet use $content variable."
|
810 |
msgstr ""
|
811 |
|
812 |
+
#: admin/metaboxes/base-options.php:569
|
813 |
+
msgid ""
|
814 |
+
"If you want to place some content into your snippet from the shortcode just "
|
815 |
+
"wrap it inside [wbcr_text_snippet id=\"xxx\"]content[/wbcr_text_snippet]. To "
|
816 |
+
"use this content inside the snippet use {{SNIPPET_CONTENT}} variable."
|
817 |
msgstr ""
|
818 |
|
819 |
+
#: admin/pages/settings.php:83
|
820 |
+
msgid ""
|
821 |
+
"If you want to use an HTML entity in your code (for example > or "), "
|
822 |
+
"but the editor keeps on changing them to its equivalent character (> and \" "
|
823 |
+
"for the previous example), then you might want to enable this option."
|
824 |
msgstr ""
|
825 |
|
826 |
+
#: admin/pages/import.php:131
|
827 |
msgid ""
|
828 |
+
"Ignore any duplicate snippets: import all snippets from the file regardless "
|
829 |
+
"and leave all existing snippets unchanged."
|
830 |
msgstr ""
|
831 |
|
832 |
+
#: admin/pages/import.php:113
|
833 |
+
msgid "Import"
|
834 |
msgstr ""
|
835 |
|
836 |
+
#: admin/metaboxes/base-options.php:108
|
837 |
+
msgid "Import snippet"
|
838 |
msgstr ""
|
839 |
|
840 |
+
#: admin/pages/snippet-library.php:61
|
841 |
+
msgid "Import snippet?"
|
842 |
msgstr ""
|
843 |
|
844 |
+
#: admin/pages/import.php:28
|
845 |
+
msgid "Import/Export"
|
846 |
msgstr ""
|
847 |
|
848 |
+
#: admin/pages/settings.php:153
|
849 |
+
msgid "Indent Unit"
|
850 |
msgstr ""
|
851 |
|
852 |
+
#: admin/pages/settings.php:135
|
853 |
+
msgid "Indent With Tabs"
|
854 |
msgstr ""
|
855 |
|
856 |
+
#: admin/metaboxes/base-options.php:688
|
857 |
+
msgid "Inline Code"
|
858 |
msgstr ""
|
859 |
|
860 |
+
#: admin/includes/class.snippets.table.php:214
|
861 |
+
msgid "Insert"
|
862 |
msgstr ""
|
863 |
|
864 |
+
#: includes/class.insertion.locations.php:77
|
865 |
+
msgid "Insert After Content"
|
866 |
msgstr ""
|
867 |
|
868 |
+
#: includes/class.insertion.locations.php:103
|
869 |
+
msgid "Insert After Excerpt"
|
870 |
msgstr ""
|
871 |
|
872 |
+
#: includes/class.insertion.locations.php:69
|
873 |
+
msgid "Insert After Paragraph"
|
874 |
msgstr ""
|
875 |
|
876 |
+
#: includes/class.insertion.locations.php:85
|
877 |
+
msgid "Insert After Post"
|
878 |
msgstr ""
|
879 |
|
880 |
+
#: includes/class.insertion.locations.php:53
|
881 |
+
msgid "Insert Before Content"
|
882 |
msgstr ""
|
883 |
|
884 |
+
#: includes/class.insertion.locations.php:95
|
885 |
+
msgid "Insert Before Excerpt"
|
886 |
msgstr ""
|
887 |
|
888 |
+
#: includes/class.insertion.locations.php:61
|
889 |
+
msgid "Insert Before Paragraph"
|
890 |
msgstr ""
|
891 |
|
892 |
+
#: includes/class.insertion.locations.php:45
|
893 |
+
msgid "Insert Before Post"
|
894 |
msgstr ""
|
895 |
|
896 |
+
#: admin/metaboxes/base-options.php:666
|
897 |
+
msgid "Insertion location"
|
898 |
msgstr ""
|
899 |
|
900 |
+
#: admin/pages/new-item.php:74
|
901 |
+
msgid "JavaScript snippet"
|
902 |
msgstr ""
|
903 |
|
904 |
+
#: admin/includes/class.common.snippet.php:96
|
905 |
+
#: admin/includes/class.common.snippet.php:154
|
906 |
+
msgid "Js snippet"
|
907 |
msgstr ""
|
908 |
|
909 |
+
#: admin/pages/settings.php:81
|
910 |
+
msgid "Keep the HTML entities, don't convert to its character"
|
911 |
msgstr ""
|
912 |
|
913 |
+
#: admin/metaboxes/view-options.php:389
|
914 |
+
msgid "Less Than"
|
915 |
msgstr ""
|
916 |
|
917 |
+
#: admin/pages/license.php:91
|
918 |
+
msgid "License"
|
919 |
msgstr ""
|
920 |
|
921 |
+
#: admin/ajax/check-license.php:39
|
922 |
+
msgid ""
|
923 |
+
"License key is empty or license key too long (license key is 32 characters "
|
924 |
+
"long)"
|
925 |
msgstr ""
|
926 |
|
927 |
+
#: admin/ajax/check-license.php:27
|
928 |
+
msgid "Licensing action not passed or this action is prohibited!"
|
929 |
msgstr ""
|
930 |
|
931 |
+
#: admin/pages/settings.php:171
|
932 |
+
msgid "Line Numbers"
|
933 |
msgstr ""
|
934 |
|
935 |
+
#: admin/metaboxes/base-options.php:690
|
936 |
+
msgid "Linking type"
|
937 |
msgstr ""
|
938 |
|
939 |
+
#: admin/metaboxes/view-options.php:173
|
940 |
+
msgid "List of specific pages."
|
941 |
msgstr ""
|
942 |
|
943 |
+
#: admin/ajax/snippet-library.php:31
|
944 |
+
msgid "Loading..."
|
945 |
msgstr ""
|
946 |
|
947 |
+
#: admin/metaboxes/view-options.php:121
|
948 |
+
msgid "Location"
|
949 |
msgstr ""
|
950 |
|
951 |
+
#: admin/metaboxes/base-options.php:675
|
952 |
+
msgid "Location number"
|
953 |
msgstr ""
|
954 |
|
955 |
+
#: admin/metaboxes/view-options.php:426 admin/metaboxes/view-options.php:437
|
956 |
+
#: admin/metaboxes/view-options.php:457
|
957 |
+
msgid "Minutes(s)"
|
958 |
msgstr ""
|
959 |
|
960 |
+
#: admin/metaboxes/view-options.php:430 admin/metaboxes/view-options.php:441
|
961 |
+
#: admin/metaboxes/view-options.php:461
|
962 |
+
msgid "Month(s)"
|
963 |
msgstr ""
|
964 |
|
965 |
+
#: admin/pages/snippet-library.php:131
|
966 |
+
msgid "My snippets"
|
967 |
msgstr ""
|
968 |
|
969 |
+
#: admin/pages/snippet-library.php:102
|
970 |
+
msgid "My Templates [Premium]"
|
971 |
msgstr ""
|
972 |
|
973 |
+
#: admin/types/snippets-post-types.php:83
|
974 |
+
msgid "New snippet"
|
975 |
+
msgstr ""
|
976 |
+
|
977 |
+
#: admin/metaboxes/view-options.php:355
|
978 |
+
msgid ""
|
979 |
+
"No conditions specified. <a href=\"#\" class=\"winp-link-add\">Click here</a>"
|
980 |
+
" to add one."
|
981 |
+
msgstr ""
|
982 |
+
|
983 |
+
#: admin/pages/import.php:83
|
984 |
+
msgid "No files selected!"
|
985 |
msgstr ""
|
986 |
|
987 |
#: admin/metaboxes/view-options.php:322
|
990 |
"to add one."
|
991 |
msgstr ""
|
992 |
|
993 |
+
#: admin/pages/import.php:66
|
994 |
+
msgid "No snippets were imported."
|
995 |
msgstr ""
|
996 |
|
997 |
+
#: admin/pages/license.php:286
|
998 |
+
msgid "of"
|
999 |
msgstr ""
|
1000 |
|
1001 |
+
#: admin/metaboxes/view-options.php:390
|
1002 |
+
msgid "Older Than"
|
1003 |
msgstr ""
|
1004 |
|
1005 |
+
#: admin/metaboxes/view-options.php:422
|
1006 |
+
msgid "older than"
|
1007 |
msgstr ""
|
1008 |
|
1009 |
+
#: admin/metaboxes/view-options.php:207
|
1010 |
+
msgid "Operating system"
|
|
|
|
|
1011 |
msgstr ""
|
1012 |
|
1013 |
+
#: admin/metaboxes/view-options.php:401
|
1014 |
+
msgid "OR"
|
1015 |
msgstr ""
|
1016 |
|
1017 |
+
#: admin/metaboxes/view-options.php:337 admin/metaboxes/view-options.php:364
|
1018 |
+
msgid "or"
|
1019 |
msgstr ""
|
1020 |
|
1021 |
+
#: admin/metaboxes/view-options.php:167
|
1022 |
+
msgid "Page"
|
1023 |
msgstr ""
|
1024 |
|
1025 |
+
#: admin/ajax/ajax.php:199
|
1026 |
+
msgid "Pages"
|
1027 |
msgstr ""
|
1028 |
|
1029 |
+
#: admin/metaboxes/base-options.php:676
|
1030 |
+
msgid "Paragraph / Post number"
|
1031 |
msgstr ""
|
1032 |
|
1033 |
+
#: admin/types/snippets-post-types.php:89
|
1034 |
+
msgid "Parent snippet"
|
1035 |
msgstr ""
|
1036 |
|
1037 |
+
#: admin/includes/class.common.snippet.php:277
|
1038 |
+
msgid "Permalink"
|
1039 |
msgstr ""
|
1040 |
|
1041 |
+
#: admin/pages/new-item.php:54
|
1042 |
+
msgid "PHP snippet"
|
1043 |
msgstr ""
|
1044 |
|
1045 |
+
#: admin/includes/class.common.snippet.php:93
|
1046 |
+
#: admin/includes/class.common.snippet.php:151
|
1047 |
+
msgid "Php snippet"
|
1048 |
msgstr ""
|
1049 |
|
1050 |
+
#: admin/pages/license.php:280
|
1051 |
+
msgid "plan"
|
1052 |
msgstr ""
|
1053 |
|
1054 |
+
#: admin/includes/class.common.snippet.php:75
|
1055 |
+
msgid "Please run the following command to make the directory writable"
|
1056 |
msgstr ""
|
1057 |
|
1058 |
+
#: admin/includes/class.common.snippet.php:64
|
1059 |
+
msgid "Please run the following commands in order to make the directory"
|
1060 |
msgstr ""
|
1061 |
|
1062 |
+
#: admin/includes/class.notices.php:79
|
1063 |
+
msgid ""
|
1064 |
+
"Please take the time to answer a short survey on how you use this plugin and "
|
1065 |
+
"what you'd like to see changed or added in the future."
|
1066 |
msgstr ""
|
1067 |
|
1068 |
+
#: admin/pages/license.php:299
|
1069 |
+
msgid "please update the key"
|
1070 |
msgstr ""
|
1071 |
|
1072 |
+
#: admin/metaboxes/view-options.php:137
|
1073 |
+
msgid "Post type"
|
1074 |
msgstr ""
|
1075 |
|
1076 |
+
#: admin/ajax/ajax.php:181
|
1077 |
+
msgid "Posts"
|
|
|
1078 |
msgstr ""
|
1079 |
|
1080 |
+
#: admin/metaboxes/base-options.php:625
|
1081 |
+
msgid "Posts, Pages, Custom post types"
|
|
|
1082 |
msgstr ""
|
1083 |
|
1084 |
+
#: admin/includes/class.snippets.table.php:209
|
1085 |
+
msgid "Preview"
|
|
|
1086 |
msgstr ""
|
1087 |
|
1088 |
+
#: admin/includes/class.snippets.viewtable.php:21
|
1089 |
+
msgid "Priority"
|
|
|
1090 |
msgstr ""
|
1091 |
|
1092 |
+
#: admin/includes/class.snippets.viewtable.php:213
|
1093 |
+
msgid "Priority is not changed!"
|
|
|
1094 |
msgstr ""
|
1095 |
|
1096 |
+
#: admin/includes/class.snippets.viewtable.php:206
|
1097 |
+
msgid "Priority is not changed! It's must be a number"
|
|
|
1098 |
msgstr ""
|
1099 |
|
1100 |
+
#: admin/includes/class.snippets.viewtable.php:202
|
1101 |
+
msgid "Priority successfully changed"
|
|
|
1102 |
msgstr ""
|
1103 |
|
1104 |
+
#: admin/ajax/ajax.php:212
|
1105 |
+
msgid "Product"
|
1106 |
msgstr ""
|
1107 |
|
1108 |
+
#: admin/ajax/ajax.php:237
|
1109 |
+
msgid "Products Category page"
|
1110 |
msgstr ""
|
1111 |
|
1112 |
+
#: admin/ajax/ajax.php:242
|
1113 |
+
msgid "Products Tag page"
|
1114 |
msgstr ""
|
1115 |
|
1116 |
+
#: admin/pages/license.php:258
|
1117 |
+
msgid ""
|
1118 |
+
"Public License is a GPLv2 compatible license allowing you to change and use "
|
1119 |
+
"this version of the plugin for free. Please keep in mind this license covers "
|
1120 |
+
"only free edition of the plugin. Premium versions are distributed with other "
|
1121 |
+
"type of a license."
|
1122 |
msgstr ""
|
1123 |
|
1124 |
+
#: includes/class.helpers.php:647
|
1125 |
+
msgid "Purchase premium for"
|
1126 |
msgstr ""
|
1127 |
|
1128 |
+
#: admin/metaboxes/view-options.php:96
|
1129 |
+
msgid "Registration Date"
|
1130 |
msgstr ""
|
1131 |
|
1132 |
+
#: admin/metaboxes/view-options.php:469
|
1133 |
+
msgid "relative"
|
1134 |
msgstr ""
|
1135 |
|
1136 |
+
#: admin/pages/license.php:311
|
1137 |
+
msgid "remained"
|
1138 |
msgstr ""
|
1139 |
|
1140 |
+
#: admin/pages/import.php:137
|
1141 |
+
msgid ""
|
1142 |
+
"Replace any existing snippets with a newly imported snippet of the same name."
|
1143 |
msgstr ""
|
1144 |
|
1145 |
+
#: admin/metaboxes/revisions.php:102 admin/metaboxes/revisions.php:124
|
1146 |
+
msgid "Restore"
|
1147 |
+
msgstr ""
|
|
|
|
|
|
|
1148 |
|
1149 |
+
#: admin/metaboxes/revisions.php:99
|
1150 |
+
msgid "Revision"
|
|
|
|
|
|
|
1151 |
msgstr ""
|
1152 |
|
1153 |
+
#: admin/metaboxes/info.php:52
|
1154 |
+
msgid "Robin image optimizer: notice"
|
1155 |
msgstr ""
|
1156 |
|
1157 |
+
#: admin/metaboxes/view-options.php:86
|
1158 |
+
msgid "Role"
|
1159 |
msgstr ""
|
1160 |
|
1161 |
+
#: includes/class.helpers.php:739
|
1162 |
+
msgid "Run everywhere"
|
1163 |
msgstr ""
|
1164 |
|
1165 |
+
#: admin/includes/class.notices.php:143
|
1166 |
+
msgid "Running in safe mode. This mode your snippets will not be started."
|
|
|
|
|
1167 |
msgstr ""
|
1168 |
|
1169 |
+
#: admin/metaboxes/base-options.php:112 admin/metaboxes/base-options.php:281
|
1170 |
+
msgid "Save"
|
1171 |
msgstr ""
|
1172 |
|
1173 |
+
#: admin/metaboxes/base-options.php:265
|
1174 |
+
msgid "Save a Snippet as a Template"
|
|
|
|
|
1175 |
msgstr ""
|
1176 |
|
1177 |
+
#: admin/metaboxes/base-options.php:490
|
1178 |
+
msgid "Save as template"
|
|
|
|
|
1179 |
msgstr ""
|
1180 |
|
1181 |
+
#: admin/pages/settings.php:246
|
1182 |
+
msgid "Save settings"
|
|
|
1183 |
msgstr ""
|
1184 |
|
1185 |
+
#: admin/ajax/ajax.php:162
|
1186 |
+
msgid "Search Page"
|
|
|
1187 |
msgstr ""
|
1188 |
|
1189 |
+
#: admin/types/snippets-post-types.php:86
|
1190 |
+
msgid "Search snippets"
|
1191 |
msgstr ""
|
1192 |
|
1193 |
+
#: admin/metaboxes/view-options.php:425 admin/metaboxes/view-options.php:436
|
1194 |
+
#: admin/metaboxes/view-options.php:456
|
1195 |
+
msgid "Second(s)"
|
|
|
1196 |
msgstr ""
|
1197 |
|
1198 |
+
#: admin/metaboxes/base-options.php:691
|
1199 |
+
msgid "Select how the snippet will be linked to the page."
|
1200 |
msgstr ""
|
1201 |
|
1202 |
+
#: admin/metaboxes/base-options.php:667
|
1203 |
+
msgid "Select the location for you snippet."
|
|
|
|
|
1204 |
msgstr ""
|
1205 |
|
1206 |
+
#: admin/metaboxes/base-options.php:736
|
1207 |
+
msgid "Select the WPML language/languages that this snippet will work for."
|
1208 |
msgstr ""
|
1209 |
|
1210 |
+
#: admin/pages/settings.php:28 admin/pages/settings.php:230
|
1211 |
+
msgid "Settings"
|
1212 |
msgstr ""
|
1213 |
|
1214 |
+
#: admin/metaboxes/base-options.php:520
|
1215 |
+
msgid "Shortcode:"
|
|
|
|
|
|
|
|
|
1216 |
msgstr ""
|
1217 |
|
1218 |
+
#: admin/metaboxes/view-options.php:331
|
1219 |
+
msgid "Show IF"
|
1220 |
msgstr ""
|
1221 |
|
1222 |
+
#: includes/class.helpers.php:418
|
1223 |
+
msgid "Simple php snippet: Disable emojis"
|
|
|
1224 |
msgstr ""
|
1225 |
|
1226 |
+
#: includes/class.helpers.php:406
|
1227 |
+
msgid "Simple text snippet: What is Lorem Ipsum?"
|
|
|
1228 |
msgstr ""
|
1229 |
|
1230 |
+
#: includes/class.helpers.php:394
|
1231 |
+
msgid "Simple universal snippet: Google analytics tracking"
|
|
|
1232 |
msgstr ""
|
1233 |
|
1234 |
+
#: admin/types/snippets-post-types.php:87
|
1235 |
+
msgid "Snippet is not found"
|
1236 |
msgstr ""
|
1237 |
|
1238 |
+
#: admin/includes/class.snippets.viewtable.php:256
|
1239 |
+
msgid "Snippet status changed"
|
1240 |
msgstr ""
|
1241 |
|
1242 |
+
#: admin/includes/class.snippets.viewtable.php:260
|
1243 |
+
msgid "Snippet status not changed."
|
1244 |
+
msgstr ""
|
1245 |
+
|
1246 |
+
#: admin/includes/class.snippets.viewtable.php:268
|
1247 |
+
msgid "Snippet status not changed. No snippet ID"
|
1248 |
+
msgstr ""
|
1249 |
+
|
1250 |
+
#: admin/metaboxes/base-options.php:113
|
1251 |
+
msgid "Snippet template succefully saved!"
|
1252 |
+
msgstr ""
|
1253 |
+
|
1254 |
+
#: admin/includes/class.snippets.viewtable.php:17
|
1255 |
+
msgid "Snippet title"
|
1256 |
+
msgstr ""
|
1257 |
+
|
1258 |
+
#: includes/class.insertion.locations.php:202
|
1259 |
+
msgid "Snippet will be placed after a product excerpt"
|
1260 |
+
msgstr ""
|
1261 |
+
|
1262 |
+
#: includes/class.insertion.locations.php:194
|
1263 |
+
msgid "Snippet will be placed after a product price"
|
1264 |
+
msgstr ""
|
1265 |
+
|
1266 |
+
#: includes/class.insertion.locations.php:186
|
1267 |
+
msgid "Snippet will be placed after a product title"
|
1268 |
+
msgstr ""
|
1269 |
+
|
1270 |
+
#: includes/class.insertion.locations.php:162
|
1271 |
+
msgid "Snippet will be placed after a single product"
|
1272 |
+
msgstr ""
|
1273 |
+
|
1274 |
+
#: includes/class.insertion.locations.php:178
|
1275 |
+
msgid "Snippet will be placed after a single product summary"
|
1276 |
+
msgstr ""
|
1277 |
+
|
1278 |
+
#: includes/class.insertion.locations.php:78
|
1279 |
+
msgid "Snippet will be placed after the content of the post/page."
|
1280 |
+
msgstr ""
|
1281 |
+
|
1282 |
+
#: includes/class.insertion.locations.php:104
|
1283 |
+
msgid "Snippet will be placed after the excerpt of the post/page."
|
1284 |
+
msgstr ""
|
1285 |
+
|
1286 |
+
#: includes/class.insertion.locations.php:146
|
1287 |
+
msgid "Snippet will be placed after the list of products."
|
1288 |
+
msgstr ""
|
1289 |
+
|
1290 |
+
#: includes/class.insertion.locations.php:70
|
1291 |
msgid ""
|
1292 |
+
"Snippet will be placed after the paragraph, which number you can specify in "
|
1293 |
+
"the Location number field."
|
|
|
|
|
1294 |
msgstr ""
|
1295 |
|
1296 |
+
#: includes/class.insertion.locations.php:128
|
1297 |
msgid ""
|
1298 |
+
"Snippet will be placed after the post, which number you can specify in the "
|
1299 |
+
"Location number field."
|
|
|
1300 |
msgstr ""
|
1301 |
|
1302 |
+
#: includes/class.insertion.locations.php:154
|
1303 |
+
msgid "Snippet will be placed before a single product"
|
1304 |
+
msgstr ""
|
1305 |
+
|
1306 |
+
#: includes/class.insertion.locations.php:170
|
1307 |
+
msgid "Snippet will be placed before a single product summary"
|
1308 |
+
msgstr ""
|
1309 |
+
|
1310 |
+
#: includes/class.insertion.locations.php:54
|
1311 |
+
msgid "Snippet will be placed before the content of the post/page."
|
1312 |
+
msgstr ""
|
1313 |
+
|
1314 |
+
#: includes/class.insertion.locations.php:96
|
1315 |
+
msgid "Snippet will be placed before the excerpt of the post/page."
|
1316 |
+
msgstr ""
|
1317 |
+
|
1318 |
+
#: includes/class.insertion.locations.php:138
|
1319 |
+
msgid "Snippet will be placed before the list of products."
|
1320 |
+
msgstr ""
|
1321 |
+
|
1322 |
+
#: includes/class.insertion.locations.php:62
|
1323 |
msgid ""
|
1324 |
+
"Snippet will be placed before the paragraph, which number you can specify in "
|
1325 |
+
"the Location number field."
|
1326 |
msgstr ""
|
1327 |
|
1328 |
+
#: includes/class.insertion.locations.php:120
|
1329 |
+
msgid ""
|
1330 |
+
"Snippet will be placed before the post, which number you can specify in the "
|
1331 |
+
"Location number field."
|
1332 |
msgstr ""
|
1333 |
|
1334 |
+
#: includes/class.insertion.locations.php:46
|
1335 |
+
msgid "Snippet will be placed before the title of the post/page."
|
1336 |
msgstr ""
|
1337 |
|
1338 |
+
#: includes/class.insertion.locations.php:112
|
1339 |
+
msgid "Snippet will be placed between each post."
|
1340 |
msgstr ""
|
1341 |
|
1342 |
+
#: includes/class.insertion.locations.php:36
|
1343 |
+
msgid "Snippet will be placed in the source code before </body>."
|
1344 |
msgstr ""
|
1345 |
|
1346 |
+
#: includes/class.insertion.locations.php:28
|
1347 |
+
msgid "Snippet will be placed in the source code before </head>."
|
1348 |
msgstr ""
|
1349 |
|
1350 |
+
#: includes/class.insertion.locations.php:86
|
1351 |
+
msgid "Snippet will be placed in the very end of the post/page."
|
1352 |
msgstr ""
|
1353 |
|
1354 |
+
#: admin/types/snippets-post-types.php:78
|
1355 |
+
msgid "Snippets"
|
1356 |
msgstr ""
|
1357 |
|
1358 |
+
#: admin/pages/snippet-library.php:29 admin/pages/snippet-library.php:127
|
1359 |
+
#: admin/pages/snippet-library.php:134
|
1360 |
+
msgid "Snippets library"
|
1361 |
msgstr ""
|
1362 |
|
1363 |
+
#: admin/pages/snippet-library.php:99
|
1364 |
+
msgid "Snippets Library [Premium]"
|
1365 |
msgstr ""
|
1366 |
|
1367 |
+
#: admin/types/snippets-post-types.php:88
|
1368 |
+
msgid "Snippt is not found in trash"
|
1369 |
msgstr ""
|
1370 |
|
1371 |
+
#: admin/ajax/ajax.php:155
|
1372 |
+
msgid "Special Pages"
|
1373 |
+
msgstr ""
|
1374 |
+
|
1375 |
+
#: admin/includes/class.snippets.viewtable.php:16
|
1376 |
+
msgid "Status"
|
1377 |
msgstr ""
|
1378 |
|
1379 |
#: admin/pages/license.php:330
|
1380 |
msgid "Submit Key"
|
1381 |
msgstr ""
|
1382 |
|
1383 |
+
#: admin/ajax/check-license.php:55
|
1384 |
+
msgid "Subscription success cancelled"
|
|
|
|
|
|
|
1385 |
msgstr ""
|
1386 |
|
1387 |
+
#: admin/pages/import.php:68
|
1388 |
#, php-format
|
1389 |
+
msgid "Successfully imported <strong>%1$d</strong> snippet."
|
1390 |
+
msgid_plural "Successfully imported <strong>%1$d</strong> snippets."
|
1391 |
+
msgstr[0] ""
|
1392 |
+
msgstr[1] ""
|
1393 |
+
|
1394 |
+
#: admin/pages/settings.php:108
|
1395 |
+
msgid "Support old shortcodes [insert_php]"
|
1396 |
msgstr ""
|
1397 |
|
1398 |
+
#: admin/pages/license.php:239
|
1399 |
+
msgid "Synchronization"
|
1400 |
msgstr ""
|
1401 |
|
1402 |
+
#: admin/includes/class.api.php:269
|
1403 |
+
msgid "Synchronization snippet error"
|
1404 |
msgstr ""
|
1405 |
|
1406 |
+
#: admin/pages/settings.php:144
|
1407 |
+
msgid "Tab Size"
|
|
|
|
|
1408 |
msgstr ""
|
1409 |
|
1410 |
+
#: admin/types/snippets-taxonomy.php:35
|
1411 |
+
msgid "Tag"
|
1412 |
+
msgstr ""
|
1413 |
+
|
1414 |
+
#: admin/includes/class.snippets.viewtable.php:20
|
1415 |
+
#: admin/types/snippets-taxonomy.php:34
|
1416 |
+
msgid "Tags"
|
1417 |
+
msgstr ""
|
1418 |
+
|
1419 |
+
#: admin/includes/class.notices.php:80
|
1420 |
+
msgid "Take the survey now"
|
1421 |
+
msgstr ""
|
1422 |
+
|
1423 |
+
#: admin/metaboxes/view-options.php:157
|
1424 |
+
msgid "Taxonomy of the page"
|
1425 |
+
msgstr ""
|
1426 |
+
|
1427 |
+
#: admin/metaboxes/view-options.php:147
|
1428 |
+
msgid "Taxonomy page"
|
1429 |
+
msgstr ""
|
1430 |
+
|
1431 |
+
#: admin/metaboxes/view-options.php:179
|
1432 |
+
msgid "Technology"
|
1433 |
+
msgstr ""
|
1434 |
+
|
1435 |
+
#: admin/includes/class.common.snippet.php:94
|
1436 |
+
#: admin/includes/class.common.snippet.php:152 admin/pages/new-item.php:59
|
1437 |
+
msgid "Text snippet"
|
1438 |
+
msgstr ""
|
1439 |
+
|
1440 |
+
#: admin/includes/class.common.snippet.php:63
|
1441 |
+
#, php-format
|
1442 |
+
msgid "The %s directory could not be created"
|
1443 |
+
msgstr ""
|
1444 |
+
|
1445 |
+
#: admin/includes/class.common.snippet.php:74
|
1446 |
+
#, php-format
|
1447 |
msgid ""
|
1448 |
+
"The %s directory is not writable, therefore the CSS and JS files cannot be "
|
1449 |
+
"saved."
|
1450 |
msgstr ""
|
1451 |
|
1452 |
+
#: admin/metaboxes/view-options.php:98
|
1453 |
msgid ""
|
1454 |
+
"The date when the user who views your website was registered. For "
|
1455 |
+
"unregistered users this date always equals to 1 Jan 1970."
|
1456 |
msgstr ""
|
1457 |
|
1458 |
+
#: admin/ajax/check-license.php:51
|
1459 |
+
msgid "The license has been updated"
|
1460 |
msgstr ""
|
1461 |
|
1462 |
+
#: admin/ajax/check-license.php:47
|
1463 |
+
msgid "The license is deactivated"
|
1464 |
msgstr ""
|
1465 |
|
1466 |
+
#: admin/metaboxes/view-options.php:233
|
1467 |
+
msgid "The number of pages viewed by the user per session"
|
|
|
|
|
1468 |
msgstr ""
|
1469 |
|
1470 |
+
#: admin/pages/settings.php:173
|
1471 |
+
msgid "The optional feature. If ON, all lines in the editor will be numbered."
|
1472 |
msgstr ""
|
1473 |
|
1474 |
+
#: admin/pages/settings.php:191
|
1475 |
+
msgid ""
|
1476 |
+
"The optional feature. If ON, it searches for matches for the selected "
|
1477 |
+
"variable/function name. Highlight matches with green. Improves readability."
|
1478 |
msgstr ""
|
1479 |
|
1480 |
+
#: admin/pages/settings.php:182
|
1481 |
msgid ""
|
1482 |
+
"The optional feature. If ON, the editor will automatically close opened "
|
1483 |
+
"quotes or brackets. Sometimes, it speeds up coding."
|
1484 |
msgstr ""
|
1485 |
|
1486 |
+
#: admin/pages/settings.php:164
|
1487 |
+
msgid ""
|
1488 |
+
"The optional feature. If ON, the editor will wrap long lines. Otherwise, it "
|
1489 |
+
"will create a horizontal scroll."
|
1490 |
msgstr ""
|
1491 |
|
1492 |
+
#: admin/pages/settings.php:146
|
1493 |
+
msgid ""
|
1494 |
+
"The optional feature. Pressing Tab in the code editor increases left indent "
|
1495 |
+
"to N spaces. N is a number pre-defined by you."
|
1496 |
msgstr ""
|
1497 |
|
1498 |
+
#: admin/pages/settings.php:155
|
1499 |
+
msgid ""
|
1500 |
+
"The optional feature. The indent for code lines (units). Example: select a "
|
1501 |
+
"snippet, press Tab. The left indent in the selected code increases to N "
|
1502 |
+
"spaces. N is a number pre-defined by you."
|
1503 |
msgstr ""
|
1504 |
|
1505 |
+
#: admin/pages/settings.php:137
|
1506 |
+
msgid ""
|
1507 |
+
"The optional feature. Whether, when indenting, the first N*tabSize spaces "
|
1508 |
+
"should be replaced by N tabs. The default is false."
|
1509 |
msgstr ""
|
1510 |
|
1511 |
+
#: admin/pages/settings.php:128
|
1512 |
+
msgid ""
|
1513 |
+
"The optional feature. You can customize the code style in the snippet editor."
|
1514 |
+
" The \"Default\" style is applied by default."
|
1515 |
msgstr ""
|
1516 |
|
1517 |
+
#: admin/pages/settings.php:236
|
1518 |
+
msgid "The settings have been updated successfully!"
|
1519 |
msgstr ""
|
1520 |
|
1521 |
+
#: admin/includes/class.notices.php:101
|
1522 |
+
#, php-format
|
1523 |
+
msgid "The snippet has been deactivated due to an error on line %d:"
|
1524 |
+
msgstr ""
|
1525 |
+
|
1526 |
+
#: admin/includes/class.snippets.viewtable.php:244
|
1527 |
msgid ""
|
1528 |
+
"The snippet is not activated because errors were detected in the snippet "
|
1529 |
+
"code!"
|
1530 |
msgstr ""
|
1531 |
|
1532 |
+
#: admin/metaboxes/view-options.php:239
|
1533 |
+
msgid "The time interval during which the user entered"
|
1534 |
msgstr ""
|
1535 |
|
1536 |
+
#: admin/metaboxes/view-options.php:245
|
1537 |
+
msgid "The total number of sessions opened by the user"
|
|
|
|
|
|
|
1538 |
msgstr ""
|
1539 |
|
1540 |
+
#: includes/class.helpers.php:411
|
1541 |
+
msgid ""
|
1542 |
+
"This ordinary maintenance text. With this snippet, you can fill your pages "
|
1543 |
+
"with meaningless English text."
|
1544 |
msgstr ""
|
1545 |
|
1546 |
+
#: admin/includes/class.snippets.table.php:206
|
1547 |
+
msgid "Title"
|
1548 |
msgstr ""
|
1549 |
|
1550 |
+
#: admin/metaboxes/view-options.php:415
|
1551 |
+
msgid "to"
|
1552 |
msgstr ""
|
1553 |
|
1554 |
+
#: admin/pages/import.php:77
|
1555 |
+
#, php-format
|
1556 |
msgid ""
|
1557 |
+
"To import more then one snippet at a time, you need to purchase <a "
|
1558 |
+
"href=\"%s\">Woody snippets PRO</a>"
|
1559 |
msgstr ""
|
1560 |
|
1561 |
+
#: admin/metaboxes/view-options.php:243
|
1562 |
+
msgid "Total number of visits"
|
1563 |
msgstr ""
|
1564 |
|
1565 |
+
#: admin/includes/class.snippets.table.php:205
|
1566 |
+
msgid "Type"
|
|
|
|
|
|
|
|
|
|
|
1567 |
msgstr ""
|
1568 |
|
1569 |
+
#: admin/includes/class.common.snippet.php:98
|
1570 |
+
#: admin/includes/class.common.snippet.php:156 admin/pages/new-item.php:64
|
1571 |
+
msgid "Universal snippet"
|
1572 |
msgstr ""
|
1573 |
|
1574 |
+
#: admin/includes/class.api.php:272
|
1575 |
+
msgid "Unknown sippet type"
|
|
|
|
|
1576 |
msgstr ""
|
1577 |
|
1578 |
+
#: admin/pages/license.php:226
|
1579 |
+
#, php-format
|
1580 |
+
msgid "Upgrade to Premium for $%s"
|
1581 |
msgstr ""
|
1582 |
|
1583 |
+
#: admin/pages/import.php:148
|
1584 |
+
msgid "Upload Files"
|
|
|
|
|
1585 |
msgstr ""
|
1586 |
|
1587 |
+
#: admin/pages/import.php:166
|
1588 |
+
msgid "Upload files and import"
|
1589 |
msgstr ""
|
1590 |
|
1591 |
+
#: admin/pages/import.php:121
|
1592 |
msgid ""
|
1593 |
+
"Upload one or more Php Snippets export files and the snippets will be "
|
1594 |
+
"imported."
|
1595 |
msgstr ""
|
1596 |
|
1597 |
+
#: admin/metaboxes/view-options.php:195
|
1598 |
+
msgid "Use cookie"
|
1599 |
msgstr ""
|
1600 |
|
1601 |
+
#: admin/metaboxes/view-options.php:201
|
1602 |
+
msgid "Use javascript"
|
1603 |
+
msgstr ""
|
1604 |
+
|
1605 |
+
#: admin/pages/new-item.php:86
|
1606 |
msgid ""
|
1607 |
+
"Used for inserting Advertisement. Can be used for inserting quotes, "
|
1608 |
+
"paragraphs, shortcodes from other plugins, tables, media files."
|
|
|
1609 |
msgstr ""
|
1610 |
|
1611 |
+
#: admin/pages/new-item.php:71
|
1612 |
+
msgid "Used for inserting css code. Can be used for inserting css styles."
|
1613 |
msgstr ""
|
1614 |
|
1615 |
+
#: admin/pages/new-item.php:61
|
1616 |
msgid ""
|
1617 |
+
"Used for inserting formatted text. Can be used for inserting quotes, "
|
1618 |
+
"paragraphs, shortcodes from other plugins, tables, media files."
|
1619 |
msgstr ""
|
1620 |
|
1621 |
+
#: admin/pages/new-item.php:81
|
1622 |
+
msgid "Used for inserting html code. Can be used for inserting html code."
|
1623 |
msgstr ""
|
1624 |
|
1625 |
+
#: admin/pages/new-item.php:76
|
1626 |
+
msgid ""
|
1627 |
+
"Used for inserting js code. Can be used for inserting ads, analytics, embeds "
|
1628 |
+
"& other complex scenarios."
|
1629 |
msgstr ""
|
1630 |
|
1631 |
+
#: admin/pages/new-item.php:56
|
1632 |
+
msgid ""
|
1633 |
+
"Used for inserting php code. Can be used for registering functions, hooks, "
|
1634 |
+
"global variables, printing text. Virtual functions.php"
|
1635 |
msgstr ""
|
1636 |
|
1637 |
+
#: admin/pages/new-item.php:66
|
1638 |
msgid ""
|
1639 |
+
"Used for inserting php, html, js & css code. Can be used for inserting ads, "
|
1640 |
+
"analytics, embeds & other complex scenarios."
|
1641 |
msgstr ""
|
1642 |
|
1643 |
+
#: admin/metaboxes/view-options.php:82
|
1644 |
+
msgid "User"
|
1645 |
msgstr ""
|
1646 |
|
1647 |
+
#: admin/metaboxes/view-options.php:225
|
1648 |
+
msgid "User country"
|
|
|
|
|
1649 |
msgstr ""
|
1650 |
|
1651 |
+
#: admin/pages/license.php:293
|
1652 |
+
msgid "version"
|
1653 |
msgstr ""
|
1654 |
|
1655 |
+
#: admin/types/snippets-post-types.php:85
|
1656 |
+
msgid "View snippet"
|
1657 |
msgstr ""
|
1658 |
|
1659 |
+
#: admin/includes/class.snippets.table.php:343
|
1660 |
+
msgid "View the video"
|
|
|
1661 |
msgstr ""
|
1662 |
|
1663 |
+
#: admin/metaboxes/view-options.php:231
|
1664 |
+
msgid "Viewing depth"
|
1665 |
msgstr ""
|
1666 |
|
1667 |
+
#: admin/includes/class.notices.php:120
|
1668 |
+
msgid ""
|
1669 |
+
"We strongly recommend you to porting your php code to snippets and call them "
|
1670 |
+
"in your posts/pages and widgets using [wbcr_php_snippet id = \"000\"] "
|
1671 |
+
"shortcodes."
|
1672 |
msgstr ""
|
1673 |
|
1674 |
+
#: admin/metaboxes/view-options.php:429 admin/metaboxes/view-options.php:440
|
1675 |
+
#: admin/metaboxes/view-options.php:460
|
1676 |
+
msgid "Week(s)"
|
1677 |
msgstr ""
|
1678 |
|
1679 |
+
#: admin/pages/import.php:124
|
1680 |
+
msgid ""
|
1681 |
+
"What should happen if an existing snippet is found with an identical name to "
|
1682 |
+
"an imported snippet?"
|
1683 |
msgstr ""
|
1684 |
|
1685 |
+
#: admin/pages/about.php:49
|
1686 |
+
msgid "What’s New"
|
1687 |
+
msgstr ""
|
1688 |
+
|
1689 |
+
#: admin/pages/settings.php:74
|
1690 |
msgid ""
|
1691 |
+
"When creating a new snippet or updating an old one, make the code snippets "
|
1692 |
+
"active by default."
|
|
|
|
|
1693 |
msgstr ""
|
1694 |
|
1695 |
+
#: admin/pages/settings.php:101
|
1696 |
+
msgid ""
|
1697 |
+
"When the plugin is deleted from the Plugins menu, also delete all snippets "
|
1698 |
+
"and plugin settings."
|
1699 |
msgstr ""
|
1700 |
|
1701 |
#: admin/pages/snippet-library.php:103
|
1706 |
"import/export. The feature is available in the premium version only."
|
1707 |
msgstr ""
|
1708 |
|
1709 |
+
#: admin/metaboxes/base-options.php:554 admin/metaboxes/base-options.php:578
|
1710 |
+
msgid "Where there is a shortcode"
|
1711 |
msgstr ""
|
1712 |
|
1713 |
+
#: admin/metaboxes/base-options.php:598
|
1714 |
+
msgid "Where to execute the code?"
|
1715 |
msgstr ""
|
1716 |
|
1717 |
+
#: admin/metaboxes/base-options.php:524
|
1718 |
+
msgid "Where use:"
|
1719 |
msgstr ""
|
1720 |
|
1721 |
+
#: admin/includes/class.snippets.viewtable.php:19
|
1722 |
+
msgid "Where use?"
|
1723 |
msgstr ""
|
1724 |
|
1725 |
+
#. Author of the plugin
|
1726 |
+
msgid "Will Bontrager Software, LLC <will@willmaster.com>, Webcraftic"
|
1727 |
msgstr ""
|
1728 |
|
1729 |
+
#: admin/ajax/ajax.php:209 admin/metaboxes/base-options.php:642
|
1730 |
+
msgid "Woocommerce"
|
1731 |
msgstr ""
|
1732 |
|
1733 |
+
#: insert_php.php:178 admin/boot.php:151
|
1734 |
+
msgid "Woody Code Snippets"
|
1735 |
msgstr ""
|
1736 |
|
1737 |
+
#: admin/pages/import.php:108
|
1738 |
+
msgid "Woody Code Snippets Import"
|
1739 |
msgstr ""
|
1740 |
|
1741 |
+
#. Name of the plugin
|
1742 |
+
msgid "Woody code snippets (PHP snippets | Insert PHP)"
|
1743 |
msgstr ""
|
1744 |
|
1745 |
+
#: admin/includes/class.common.snippet.php:125
|
1746 |
+
#: admin/types/snippets-post-types.php:45
|
1747 |
+
#: admin/types/snippets-post-types.php:46
|
1748 |
+
msgid "Woody snippets"
|
1749 |
msgstr ""
|
1750 |
|
1751 |
+
#: admin/metaboxes/base-options.php:734
|
1752 |
+
msgid "WPML Language"
|
1753 |
msgstr ""
|
1754 |
|
1755 |
+
#: admin/pages/settings.php:162
|
1756 |
+
msgid "Wrap Lines"
|
1757 |
msgstr ""
|
1758 |
|
1759 |
+
#: admin/metaboxes/view-options.php:431 admin/metaboxes/view-options.php:442
|
1760 |
+
#: admin/metaboxes/view-options.php:462
|
1761 |
+
msgid "Year(s)"
|
|
|
|
|
|
|
1762 |
msgstr ""
|
1763 |
|
1764 |
+
#: admin/metaboxes/base-options.php:700
|
1765 |
+
msgid ""
|
1766 |
+
"You can write a short note so that you can always remember why this code or "
|
1767 |
+
"your colleague was able to apply this code in his works."
|
1768 |
msgstr ""
|
1769 |
|
1770 |
+
#: admin/includes/class.snippets.viewtable.php:194
|
1771 |
+
#: admin/includes/class.snippets.viewtable.php:226
|
1772 |
+
msgid "You don't have enough capability to edit this information."
|
1773 |
msgstr ""
|
1774 |
|
1775 |
+
#: admin/pages/license.php:262
|
1776 |
msgid ""
|
1777 |
+
"You use a paid subscription for the plugin updates. In case you don’t want "
|
1778 |
+
"to receive paid updates, please, click <a data-action=\"unsubscribe\" "
|
1779 |
+
"class=\"winp-control-btn\" href=\"#\">cancel subscription</a>"
|
1780 |
msgstr ""
|
1781 |
|
1782 |
+
#: admin/metaboxes/view-options.php:391
|
1783 |
+
msgid "Younger Than"
|
1784 |
msgstr ""
|
1785 |
|
1786 |
+
#: admin/pages/license.php:229
|
1787 |
+
#, php-format
|
1788 |
+
msgid "Your current license for %1$s:"
|
1789 |
+
msgstr ""
|
1790 |
+
|
1791 |
+
#: admin/ajax/check-license.php:42
|
1792 |
+
msgid "Your license has been successfully activated"
|
1793 |
+
msgstr ""
|
1794 |
+
|
1795 |
+
#: admin/pages/license.php:268
|
1796 |
msgid ""
|
1797 |
+
"Your license has expired, please extend the license to get updates and "
|
1798 |
+
"support."
|
1799 |
msgstr ""
|
1800 |
|
1801 |
+
#: admin/metaboxes/base-options.php:270
|
1802 |
+
msgid ""
|
1803 |
+
"Your snippets will be available for export and reuse on any page or website"
|
1804 |
msgstr ""
|
libs/factory/adverts/boot.php
CHANGED
@@ -1,6 +1,6 @@
|
|
1 |
<?php
|
2 |
|
3 |
-
use WBCR\
|
4 |
|
5 |
/**
|
6 |
* Factory Adverts
|
@@ -12,7 +12,7 @@ use WBCR\Factory_Adverts_112\Base;
|
|
12 |
* @package factory-ad-inserter
|
13 |
* @copyright (c) 2019, Webcraftic Ltd
|
14 |
*
|
15 |
-
* @version 1.2.
|
16 |
*/
|
17 |
|
18 |
// Exit if accessed directly
|
@@ -20,31 +20,31 @@ if( !defined('ABSPATH') ) {
|
|
20 |
exit;
|
21 |
}
|
22 |
|
23 |
-
if( defined('
|
24 |
return;
|
25 |
}
|
26 |
|
27 |
# Устанавливаем константу, что модуль уже загружен
|
28 |
-
define('
|
29 |
|
30 |
# Устанавливаем версию модуля
|
31 |
-
define('
|
32 |
|
33 |
# Регистрируем тектовый домен, для интернализации интерфейса модуля
|
34 |
-
load_plugin_textdomain('
|
35 |
|
36 |
# Устанавливаем директорию модуля
|
37 |
-
define('
|
38 |
|
39 |
# Устанавливаем url модуля
|
40 |
-
define('
|
41 |
|
42 |
-
require_once(
|
43 |
-
require_once(
|
44 |
|
45 |
/**
|
46 |
-
* @param
|
47 |
*/
|
48 |
-
add_action('
|
49 |
-
$plugin->set_adverts_manager("WBCR\
|
50 |
});
|
1 |
<?php
|
2 |
|
3 |
+
use WBCR\Factory_Adverts_128\Base;
|
4 |
|
5 |
/**
|
6 |
* Factory Adverts
|
12 |
* @package factory-ad-inserter
|
13 |
* @copyright (c) 2019, Webcraftic Ltd
|
14 |
*
|
15 |
+
* @version 1.2.4
|
16 |
*/
|
17 |
|
18 |
// Exit if accessed directly
|
20 |
exit;
|
21 |
}
|
22 |
|
23 |
+
if( defined('FACTORY_ADVERTS_128_LOADED') || (defined('FACTORY_ADVERTS_BLOCK') && FACTORY_ADVERTS_BLOCK) ) {
|
24 |
return;
|
25 |
}
|
26 |
|
27 |
# Устанавливаем константу, что модуль уже загружен
|
28 |
+
define('FACTORY_ADVERTS_128_LOADED', true);
|
29 |
|
30 |
# Устанавливаем версию модуля
|
31 |
+
define('FACTORY_ADVERTS_128_VERSION', '1.2.8');
|
32 |
|
33 |
# Регистрируем тектовый домен, для интернализации интерфейса модуля
|
34 |
+
load_plugin_textdomain('wbcr_factory_adverts_128', false, dirname(plugin_basename(__FILE__)) . '/langs');
|
35 |
|
36 |
# Устанавливаем директорию модуля
|
37 |
+
define('FACTORY_ADVERTS_128_DIR', dirname(__FILE__));
|
38 |
|
39 |
# Устанавливаем url модуля
|
40 |
+
define('FACTORY_ADVERTS_128_URL', plugins_url(null, __FILE__));
|
41 |
|
42 |
+
require_once(FACTORY_ADVERTS_128_DIR . '/includes/class-rest-request.php');
|
43 |
+
require_once(FACTORY_ADVERTS_128_DIR . '/includes/class-base.php');
|
44 |
|
45 |
/**
|
46 |
+
* @param Wbcr_Factory450_Plugin $plugin
|
47 |
*/
|
48 |
+
add_action('wbcr_factory_adverts_128_plugin_created', function ($plugin) {
|
49 |
+
$plugin->set_adverts_manager("WBCR\Factory_Adverts_128\Base");
|
50 |
});
|
libs/factory/adverts/includes/class-base.php
CHANGED
@@ -1,6 +1,6 @@
|
|
1 |
<?php
|
2 |
|
3 |
-
namespace WBCR\
|
4 |
|
5 |
// Exit if accessed directly
|
6 |
if ( ! defined( 'ABSPATH' ) ) {
|
@@ -28,7 +28,7 @@ class Base {
|
|
28 |
*
|
29 |
* @author Alexander Kovalev <alex.kovalevv@gmail.com>
|
30 |
* @since 1.0.1
|
31 |
-
* @var \
|
32 |
*/
|
33 |
private $plugin;
|
34 |
|
@@ -53,7 +53,7 @@ class Base {
|
|
53 |
*
|
54 |
* @author Alexander Kovalev <alex.kovalevv@gmail.com>
|
55 |
* @since 1.0.1
|
56 |
-
* @var \WBCR\
|
57 |
*/
|
58 |
private $api;
|
59 |
|
@@ -82,9 +82,9 @@ class Base {
|
|
82 |
*
|
83 |
* @since 1.0.0 Added
|
84 |
*
|
85 |
-
* @param \
|
86 |
*/
|
87 |
-
public function __construct( \
|
88 |
$this->plugin = $plugin;
|
89 |
|
90 |
$this->settings = wp_parse_args( $settings, [
|
@@ -257,7 +257,7 @@ class Base {
|
|
257 |
$content = $this->get_debug_message( 'dashboard_widget' );
|
258 |
}
|
259 |
|
260 |
-
require_once
|
261 |
new Dashboard_Widget( $this->plugin, $content );
|
262 |
}
|
263 |
}
|
1 |
<?php
|
2 |
|
3 |
+
namespace WBCR\Factory_Adverts_128;
|
4 |
|
5 |
// Exit if accessed directly
|
6 |
if ( ! defined( 'ABSPATH' ) ) {
|
28 |
*
|
29 |
* @author Alexander Kovalev <alex.kovalevv@gmail.com>
|
30 |
* @since 1.0.1
|
31 |
+
* @var \Wbcr_Factory450_Plugin
|
32 |
*/
|
33 |
private $plugin;
|
34 |
|
53 |
*
|
54 |
* @author Alexander Kovalev <alex.kovalevv@gmail.com>
|
55 |
* @since 1.0.1
|
56 |
+
* @var \WBCR\Factory_Adverts_128\Creative_Motion_API
|
57 |
*/
|
58 |
private $api;
|
59 |
|
82 |
*
|
83 |
* @since 1.0.0 Added
|
84 |
*
|
85 |
+
* @param \Wbcr_Factory450_Plugin $plugin
|
86 |
*/
|
87 |
+
public function __construct( \Wbcr_Factory450_Plugin $plugin, $settings ) {
|
88 |
$this->plugin = $plugin;
|
89 |
|
90 |
$this->settings = wp_parse_args( $settings, [
|
257 |
$content = $this->get_debug_message( 'dashboard_widget' );
|
258 |
}
|
259 |
|
260 |
+
require_once FACTORY_ADVERTS_128_DIR . '/includes/class-dashboard-widget.php';
|
261 |
new Dashboard_Widget( $this->plugin, $content );
|
262 |
}
|
263 |
}
|
libs/factory/adverts/includes/class-dashboard-widget.php
CHANGED
@@ -1,6 +1,6 @@
|
|
1 |
<?php
|
2 |
|
3 |
-
namespace WBCR\
|
4 |
|
5 |
// Exit if accessed directly
|
6 |
if ( ! defined( 'ABSPATH' ) ) {
|
@@ -35,7 +35,7 @@ class Dashboard_Widget {
|
|
35 |
*
|
36 |
* @author Alexander Kovalev <alex.kovalevv@gmail.com>
|
37 |
* @since 1.0.1
|
38 |
-
* @var \
|
39 |
*/
|
40 |
private $plugin;
|
41 |
|
@@ -46,10 +46,10 @@ class Dashboard_Widget {
|
|
46 |
*
|
47 |
* @since 1.0.0 Added
|
48 |
*
|
49 |
-
* @param \
|
50 |
* @param string $content
|
51 |
*/
|
52 |
-
public function __construct( \
|
53 |
|
54 |
$this->plugin = $plugin;
|
55 |
$this->content = $content;
|
1 |
<?php
|
2 |
|
3 |
+
namespace WBCR\Factory_Adverts_128;
|
4 |
|
5 |
// Exit if accessed directly
|
6 |
if ( ! defined( 'ABSPATH' ) ) {
|
35 |
*
|
36 |
* @author Alexander Kovalev <alex.kovalevv@gmail.com>
|
37 |
* @since 1.0.1
|
38 |
+
* @var \Wbcr_Factory450_Plugin
|
39 |
*/
|
40 |
private $plugin;
|
41 |
|
46 |
*
|
47 |
* @since 1.0.0 Added
|
48 |
*
|
49 |
+
* @param \Wbcr_Factory450_Plugin $plugin
|
50 |
* @param string $content
|
51 |
*/
|
52 |
+
public function __construct( \Wbcr_Factory450_Plugin $plugin, $content ) {
|
53 |
|
54 |
$this->plugin = $plugin;
|
55 |
$this->content = $content;
|
libs/factory/adverts/includes/class-rest-request.php
CHANGED
@@ -1,6 +1,6 @@
|
|
1 |
<?php
|
2 |
|
3 |
-
namespace WBCR\
|
4 |
|
5 |
// Exit if accessed directly
|
6 |
if( !defined('ABSPATH') ) {
|
@@ -65,7 +65,7 @@ class Creative_Motion_API {
|
|
65 |
*
|
66 |
* @author Alexander Kovalev <alex.kovalevv@gmail.com>
|
67 |
* @since 1.0.1
|
68 |
-
* @var \
|
69 |
*/
|
70 |
private $plugin;
|
71 |
|
@@ -75,11 +75,11 @@ class Creative_Motion_API {
|
|
75 |
*
|
76 |
* Variable initialization.
|
77 |
*
|
78 |
-
* @param \
|
79 |
* @since 1.0.0 Added
|
80 |
*
|
81 |
*/
|
82 |
-
public function __construct(\
|
83 |
{
|
84 |
$this->plugin = $plugin;
|
85 |
}
|
1 |
<?php
|
2 |
|
3 |
+
namespace WBCR\Factory_Adverts_128;
|
4 |
|
5 |
// Exit if accessed directly
|
6 |
if( !defined('ABSPATH') ) {
|
65 |
*
|
66 |
* @author Alexander Kovalev <alex.kovalevv@gmail.com>
|
67 |
* @since 1.0.1
|
68 |
+
* @var \Wbcr_Factory450_Plugin
|
69 |
*/
|
70 |
private $plugin;
|
71 |
|
75 |
*
|
76 |
* Variable initialization.
|
77 |
*
|
78 |
+
* @param \Wbcr_Factory450_Plugin $plugin_name
|
79 |
* @since 1.0.0 Added
|
80 |
*
|
81 |
*/
|
82 |
+
public function __construct(\Wbcr_Factory450_Plugin $plugin)
|
83 |
{
|
84 |
$this->plugin = $plugin;
|
85 |
}
|
libs/factory/adverts/langs/wbcr_factory_adverts_109-ru_RU.po
DELETED
@@ -1,83 +0,0 @@
|
|
1 |
-
msgid ""
|
2 |
-
msgstr ""
|
3 |
-
"Project-Id-Version: factory_forms\n"
|
4 |
-
"POT-Creation-Date: 2018-10-16 22:44+0300\n"
|
5 |
-
"PO-Revision-Date: 2018-10-16 22:45+0300\n"
|
6 |
-
"Last-Translator: \n"
|
7 |
-
"Language-Team: Alex Kovalev <alex.kovalevv@gmail.com>\n"
|
8 |
-
"Language: ru_RU\n"
|
9 |
-
"MIME-Version: 1.0\n"
|
10 |
-
"Content-Type: text/plain; charset=UTF-8\n"
|
11 |
-
"Content-Transfer-Encoding: 8bit\n"
|
12 |
-
"X-Generator: Poedit 2.1.1\n"
|
13 |
-
"X-Poedit-Basepath: ..\n"
|
14 |
-
"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n"
|
15 |
-
"%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n"
|
16 |
-
"X-Poedit-SourceCharset: UTF-8\n"
|
17 |
-
"X-Poedit-KeywordsList: __;_e;_n:1,2;_x:1,2c;_ex:1,2c\n"
|
18 |
-
"X-Poedit-SearchPath-0: .\n"
|
19 |
-
|
20 |
-
#: includes/check-compatibility.php:80
|
21 |
-
msgid "warning"
|
22 |
-
msgstr "предупреждение"
|
23 |
-
|
24 |
-
#: includes/check-compatibility.php:82
|
25 |
-
#, php-format
|
26 |
-
msgid "The %s plugin has stopped."
|
27 |
-
msgstr "Работа плагина %s была остановлена."
|
28 |
-
|
29 |
-
#: includes/check-compatibility.php:83
|
30 |
-
msgid "Possible reasons:"
|
31 |
-
msgstr "Возможные причины:"
|
32 |
-
|
33 |
-
#: includes/check-compatibility.php:89
|
34 |
-
#, php-format
|
35 |
-
msgid "You need to update the PHP version to %s or higher!"
|
36 |
-
msgstr "Вам нужно обновить версию PHP до %s или выше!"
|
37 |
-
|
38 |
-
#: includes/check-compatibility.php:94
|
39 |
-
#, php-format
|
40 |
-
msgid "You need to update WordPress to %s or higher!"
|
41 |
-
msgstr "Вам нужно обновить WordPress до %s или выше!"
|
42 |
-
|
43 |
-
#: includes/functions.php:132
|
44 |
-
#, php-format
|
45 |
-
msgid ""
|
46 |
-
"%1$s is <strong>deprecated</strong> since version %2$s! Use %3$s instead."
|
47 |
-
msgstr ""
|
48 |
-
"%1$s является <strong>устаревшим,</strong> начиная с версии %2$s в "
|
49 |
-
"Wordpress! Используйте %3$s."
|
50 |
-
|
51 |
-
#: includes/functions.php:134
|
52 |
-
#, php-format
|
53 |
-
msgid ""
|
54 |
-
"%1$s is <strong>deprecated</strong> since version %2$s with no alternative "
|
55 |
-
"available."
|
56 |
-
msgstr ""
|
57 |
-
"%1$s был вызван с параметром, который является <strong>устаревшими</strong> "
|
58 |
-
"начиная с версии %2$s , в настоящее время доступных альтернатив нет."
|
59 |
-
|
60 |
-
#: includes/plugin.class.php:202 includes/plugin.class.php:237
|
61 |
-
msgid ""
|
62 |
-
"You are trying to call this earlier than the plugin menu will be registered."
|
63 |
-
msgstr ""
|
64 |
-
"Вы пытаетесь вызвать это раньше, чем будет зарегистрировано меню плагина."
|
65 |
-
|
66 |
-
#: includes/plugin.class.php:220
|
67 |
-
msgid ""
|
68 |
-
"You are trying to get a link to a page that does not have multisite mode. "
|
69 |
-
"Clicking this link will lead the user to a non-existent page."
|
70 |
-
msgstr ""
|
71 |
-
"Вы пытаетесь получить ссылку на страницу, которая не имеет "
|
72 |
-
"многопользовательского режима. Щелчок по этой ссылке приведет пользователя "
|
73 |
-
"к несуществующей странице."
|
74 |
-
|
75 |
-
#: includes/plugin.class.php:222
|
76 |
-
msgid ""
|
77 |
-
"Trying to get a link to an unregistered page. You are trying to call this "
|
78 |
-
"earlier than the plugin menu will be registered."
|
79 |
-
msgstr ""
|
80 |
-
"Попытка получить ссылку на незарегистрированную страницу. Вы пытаетесь "
|
81 |
-
"вызвать это раньше, чем будет зарегистрировано меню плагина."
|
82 |
-
|
83 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
libs/factory/adverts/langs/wbcr_factory_adverts_111-ru_RU.mo
DELETED
Binary file
|
libs/factory/adverts/langs/wbcr_factory_adverts_111-ru_RU.po
DELETED
@@ -1,83 +0,0 @@
|
|
1 |
-
msgid ""
|
2 |
-
msgstr ""
|
3 |
-
"Project-Id-Version: factory_forms\n"
|
4 |
-
"POT-Creation-Date: 2018-10-16 22:44+0300\n"
|
5 |
-
"PO-Revision-Date: 2018-10-16 22:45+0300\n"
|
6 |
-
"Last-Translator: \n"
|
7 |
-
"Language-Team: Alex Kovalev <alex.kovalevv@gmail.com>\n"
|
8 |
-
"Language: ru_RU\n"
|
9 |
-
"MIME-Version: 1.0\n"
|
10 |
-
"Content-Type: text/plain; charset=UTF-8\n"
|
11 |
-
"Content-Transfer-Encoding: 8bit\n"
|
12 |
-
"X-Generator: Poedit 2.1.1\n"
|
13 |
-
"X-Poedit-Basepath: ..\n"
|
14 |
-
"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n"
|
15 |
-
"%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n"
|
16 |
-
"X-Poedit-SourceCharset: UTF-8\n"
|
17 |
-
"X-Poedit-KeywordsList: __;_e;_n:1,2;_x:1,2c;_ex:1,2c\n"
|
18 |
-
"X-Poedit-SearchPath-0: .\n"
|
19 |
-
|
20 |
-
#: includes/check-compatibility.php:80
|
21 |
-
msgid "warning"
|
22 |
-
msgstr "предупреждение"
|
23 |
-
|
24 |
-
#: includes/check-compatibility.php:82
|
25 |
-
#, php-format
|
26 |
-
msgid "The %s plugin has stopped."
|
27 |
-
msgstr "Работа плагина %s была остановлена."
|
28 |
-
|
29 |
-
#: includes/check-compatibility.php:83
|
30 |
-
msgid "Possible reasons:"
|
31 |
-
msgstr "Возможные причины:"
|
32 |
-
|
33 |
-
#: includes/check-compatibility.php:89
|
34 |
-
#, php-format
|
35 |
-
msgid "You need to update the PHP version to %s or higher!"
|
36 |
-
msgstr "Вам нужно обновить версию PHP до %s или выше!"
|
37 |
-
|
38 |
-
#: includes/check-compatibility.php:94
|
39 |
-
#, php-format
|
40 |
-
msgid "You need to update WordPress to %s or higher!"
|
41 |
-
msgstr "Вам нужно обновить WordPress до %s или выше!"
|
42 |
-
|
43 |
-
#: includes/functions.php:132
|
44 |
-
#, php-format
|
45 |
-
msgid ""
|
46 |
-
"%1$s is <strong>deprecated</strong> since version %2$s! Use %3$s instead."
|
47 |
-
msgstr ""
|
48 |
-
"%1$s является <strong>устаревшим,</strong> начиная с версии %2$s в "
|
49 |
-
"Wordpress! Используйте %3$s."
|
50 |
-
|
51 |
-
#: includes/functions.php:134
|
52 |
-
#, php-format
|
53 |
-
msgid ""
|
54 |
-
"%1$s is <strong>deprecated</strong> since version %2$s with no alternative "
|
55 |
-
"available."
|
56 |
-
msgstr ""
|
57 |
-
"%1$s был вызван с параметром, который является <strong>устаревшими</strong> "
|
58 |
-
"начиная с версии %2$s , в настоящее время доступных альтернатив нет."
|
59 |
-
|
60 |
-
#: includes/plugin.class.php:202 includes/plugin.class.php:237
|
61 |
-
msgid ""
|
62 |
-
"You are trying to call this earlier than the plugin menu will be registered."
|
63 |
-
msgstr ""
|
64 |
-
"Вы пытаетесь вызвать это раньше, чем будет зарегистрировано меню плагина."
|
65 |
-
|
66 |
-
#: includes/plugin.class.php:220
|
67 |
-
msgid ""
|
68 |
-
"You are trying to get a link to a page that does not have multisite mode. "
|
69 |
-
"Clicking this link will lead the user to a non-existent page."
|
70 |
-
msgstr ""
|
71 |
-
"Вы пытаетесь получить ссылку на страницу, которая не имеет "
|
72 |
-
"многопользовательского режима. Щелчок по этой ссылке приведет пользователя "
|
73 |
-
"к несуществующей странице."
|
74 |
-
|
75 |
-
#: includes/plugin.class.php:222
|
76 |
-
msgid ""
|
77 |
-
"Trying to get a link to an unregistered page. You are trying to call this "
|
78 |
-
"earlier than the plugin menu will be registered."
|
79 |
-
msgstr ""
|
80 |
-
"Попытка получить ссылку на незарегистрированную страницу. Вы пытаетесь "
|
81 |
-
"вызвать это раньше, чем будет зарегистрировано меню плагина."
|
82 |
-
|
83 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
libs/factory/adverts/langs/wbcr_factory_adverts_112-ru_RU.mo
DELETED
Binary file
|
libs/factory/adverts/langs/wbcr_factory_adverts_112-ru_RU.po
DELETED
@@ -1,83 +0,0 @@
|
|
1 |
-
msgid ""
|
2 |
-
msgstr ""
|
3 |
-
"Project-Id-Version: factory_forms\n"
|
4 |
-
"POT-Creation-Date: 2018-10-16 22:44+0300\n"
|
5 |
-
"PO-Revision-Date: 2018-10-16 22:45+0300\n"
|
6 |
-
"Last-Translator: \n"
|
7 |
-
"Language-Team: Alex Kovalev <alex.kovalevv@gmail.com>\n"
|
8 |
-
"Language: ru_RU\n"
|
9 |
-
"MIME-Version: 1.0\n"
|
10 |
-
"Content-Type: text/plain; charset=UTF-8\n"
|
11 |
-
"Content-Transfer-Encoding: 8bit\n"
|
12 |
-
"X-Generator: Poedit 2.1.1\n"
|
13 |
-
"X-Poedit-Basepath: ..\n"
|
14 |
-
"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n"
|
15 |
-
"%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n"
|
16 |
-
"X-Poedit-SourceCharset: UTF-8\n"
|
17 |
-
"X-Poedit-KeywordsList: __;_e;_n:1,2;_x:1,2c;_ex:1,2c\n"
|
18 |
-
"X-Poedit-SearchPath-0: .\n"
|
19 |
-
|
20 |
-
#: includes/check-compatibility.php:80
|
21 |
-
msgid "warning"
|
22 |
-
msgstr "предупреждение"
|
23 |
-
|
24 |
-
#: includes/check-compatibility.php:82
|
25 |
-
#, php-format
|
26 |
-
msgid "The %s plugin has stopped."
|
27 |
-
msgstr "Работа плагина %s была остановлена."
|
28 |
-
|
29 |
-
#: includes/check-compatibility.php:83
|
30 |
-
msgid "Possible reasons:"
|
31 |
-
msgstr "Возможные причины:"
|
32 |
-
|
33 |
-
#: includes/check-compatibility.php:89
|
34 |
-
#, php-format
|
35 |
-
msgid "You need to update the PHP version to %s or higher!"
|
36 |
-
msgstr "Вам нужно обновить версию PHP до %s или выше!"
|
37 |
-
|
38 |
-
#: includes/check-compatibility.php:94
|
39 |
-
#, php-format
|
40 |
-
msgid "You need to update WordPress to %s or higher!"
|
41 |
-
msgstr "Вам нужно обновить WordPress до %s или выше!"
|
42 |
-
|
43 |
-
#: includes/functions.php:132
|
44 |
-
#, php-format
|
45 |
-
msgid ""
|
46 |
-
"%1$s is <strong>deprecated</strong> since version %2$s! Use %3$s instead."
|
47 |
-
msgstr ""
|
48 |
-
"%1$s является <strong>устаревшим,</strong> начиная с версии %2$s в "
|
49 |
-
"Wordpress! Используйте %3$s."
|
50 |
-
|
51 |
-
#: includes/functions.php:134
|
52 |
-
#, php-format
|
53 |
-
msgid ""
|
54 |
-
"%1$s is <strong>deprecated</strong> since version %2$s with no alternative "
|
55 |
-
"available."
|
56 |
-
msgstr ""
|
57 |
-
"%1$s был вызван с параметром, который является <strong>устаревшими</strong> "
|
58 |
-
"начиная с версии %2$s , в настоящее время доступных альтернатив нет."
|
59 |
-
|
60 |
-
#: includes/plugin.class.php:202 includes/plugin.class.php:237
|
61 |
-
msgid ""
|
62 |
-
"You are trying to call this earlier than the plugin menu will be registered."
|
63 |
-
msgstr ""
|
64 |
-
"Вы пытаетесь вызвать это раньше, чем будет зарегистрировано меню плагина."
|
65 |
-
|
66 |
-
#: includes/plugin.class.php:220
|
67 |
-
msgid ""
|
68 |
-
"You are trying to get a link to a page that does not have multisite mode. "
|
69 |
-
"Clicking this link will lead the user to a non-existent page."
|
70 |
-
msgstr ""
|
71 |
-
"Вы пытаетесь получить ссылку на страницу, которая не имеет "
|
72 |
-
"многопользовательского режима. Щелчок по этой ссылке приведет пользователя "
|
73 |
-
"к несуществующей странице."
|
74 |
-
|
75 |
-
#: includes/plugin.class.php:222
|
76 |
-
msgid ""
|
77 |
-
"Trying to get a link to an unregistered page. You are trying to call this "
|
78 |
-
"earlier than the plugin menu will be registered."
|
79 |
-
msgstr ""
|
80 |
-
"Попытка получить ссылку на незарегистрированную страницу. Вы пытаетесь "
|
81 |
-
"вызвать это раньше, чем будет зарегистрировано меню плагина."
|
82 |
-
|
83 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
libs/factory/adverts/langs/{wbcr_factory_adverts_104-ru_RU.mo → wbcr_factory_adverts_128-ru_RU.mo}
RENAMED
File without changes
|
libs/factory/adverts/langs/{wbcr_factory_adverts_104-ru_RU.po → wbcr_factory_adverts_128-ru_RU.po}
RENAMED
File without changes
|
libs/factory/bootstrap/assets/css-min/bootstrap.accordion.min.css
CHANGED
@@ -1,5 +1,5 @@
|
|
1 |
/*!
|
2 |
-
* Bootstrap generator - v1.0.1,
|
3 |
* Webcraftic factory build
|
4 |
*
|
5 |
* Copyright 2018, Alex Kovalev <alex.kovalevv@gmail.com>, Webcraftic <wordpress.webraftic@gmail.com>
|
@@ -8,4 +8,4 @@
|
|
8 |
*/
|
9 |
|
10 |
|
11 |
-
.factory-bootstrap-
|
1 |
/*!
|
2 |
+
* Bootstrap generator - v1.0.1, 2021-02-04
|
3 |
* Webcraftic factory build
|
4 |
*
|
5 |
* Copyright 2018, Alex Kovalev <alex.kovalevv@gmail.com>, Webcraftic <wordpress.webraftic@gmail.com>
|
8 |
*/
|
9 |
|
10 |
|
11 |
+
.factory-bootstrap-450 .factory-accordion{margin:0 0 30px;border-top:1px solid #DDD;border-right:1px solid #DDD;border-left:1px solid #DDD;-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:4px}.factory-bootstrap-450 .factory-accordion>h3{border-bottom:1px solid #DDD;cursor:pointer;padding:8px 15px;margin:0}.factory-bootstrap-450 .factory-accordion>div{display:none;margin:0;border-bottom:1px solid #DDD}.factory-bootstrap-450 .factory-accordion-item{display:none}.factory-bootstrap-450 .inner-factory-accordion-item{padding:10px 0}.factory-bootstrap-450 .factory-accordion>h3.active:hover{cursor:default}
|
libs/factory/bootstrap/assets/css-min/bootstrap.blue.min.css
CHANGED
@@ -1,5 +1,5 @@
|
|
1 |
/*!
|
2 |
-
* Bootstrap generator - v1.0.1,
|
3 |
* Webcraftic factory build
|
4 |
*
|
5 |
* Copyright 2018, Alex Kovalev <alex.kovalevv@gmail.com>, Webcraftic <wordpress.webraftic@gmail.com>
|
@@ -8,4 +8,4 @@
|
|
8 |
*/
|
9 |
|
10 |
|
11 |
-
.factory-bootstrap-
|
1 |
/*!
|
2 |
+
* Bootstrap generator - v1.0.1, 2021-02-04
|
3 |
* Webcraftic factory build
|
4 |
*
|
5 |
* Copyright 2018, Alex Kovalev <alex.kovalevv@gmail.com>, Webcraftic <wordpress.webraftic@gmail.com>
|
8 |
*/
|
9 |
|
10 |
|
11 |
+
.factory-bootstrap-450 .btn-primary{background:#e1a948;border-color:#d39323;color:#fff;-webkit-box-shadow:inset 0 1px 0 #ecc88a,0 1px 0 rgba(0,0,0,.15);box-shadow:inset 0 1px 0 #ecc88a,0 1px 0 rgba(0,0,0,.15)}.factory-bootstrap-450 .btn-primary:focus,.factory-bootstrap-450 .btn-primary:hover{background:#db9825;border-color:#bd831f;color:#fff;-webkit-box-shadow:inset 0 1px 0 #e8be74,0 1px 0 rgba(0,0,0,.15);box-shadow:inset 0 1px 0 #e8be74,0 1px 0 rgba(0,0,0,.15)}.factory-bootstrap-450 .btn-primary:active{background:#db9825;border-color:#bd831f;color:#fff;-webkit-box-shadow:inset 0 2px 5px -3px rgba(0,0,0,.5);box-shadow:inset 0 2px 5px -3px rgba(0,0,0,.5)}.factory-bootstrap-450 .btn-primary:disabled,.factory-bootstrap-450 .btn-primary[disabled]{color:#d1cdc7!important;background:#db9825!important;border-color:#bd831f!important;text-shadow:none!important}.factory-bootstrap-450 .btn-group .btn.active.value{background-color:#e1a948;-webkit-box-shadow:inset 0 1px 2px #d39323;box-shadow:inset 0 1px 2px #d39323;border-top:1px solid #d39323;border-bottom:1px solid #d39323;border-left:1px solid #d39323}.factory-bootstrap-450 .pagination>.active>a,.factory-bootstrap-450 .pagination>.active>a:focus,.factory-bootstrap-450 .pagination>.active>a:hover,.factory-bootstrap-450 .pagination>.active>span,.factory-bootstrap-450 .pagination>.active>span:focus,.factory-bootstrap-450 .pagination>.active>span:hover{background-color:#e1a948;border-color:#d39323}
|
libs/factory/bootstrap/assets/css-min/bootstrap.coffee.min.css
CHANGED
@@ -1,5 +1,5 @@
|
|
1 |
/*!
|
2 |
-
* Bootstrap generator - v1.0.1,
|
3 |
* Webcraftic factory build
|
4 |
*
|
5 |
* Copyright 2018, Alex Kovalev <alex.kovalevv@gmail.com>, Webcraftic <wordpress.webraftic@gmail.com>
|
@@ -8,4 +8,4 @@
|
|
8 |
*/
|
9 |
|
10 |
|
11 |
-
.factory-bootstrap-
|
1 |
/*!
|
2 |
+
* Bootstrap generator - v1.0.1, 2021-02-04
|
3 |
* Webcraftic factory build
|
4 |
*
|
5 |
* Copyright 2018, Alex Kovalev <alex.kovalevv@gmail.com>, Webcraftic <wordpress.webraftic@gmail.com>
|
8 |
*/
|
9 |
|
10 |
|
11 |
+
.factory-bootstrap-450 .btn-primary{background:#c7a589;border-color:#b78a66;color:#fff;-webkit-box-shadow:inset 0 1px 0 #e0cdbd,0 1px 0 rgba(0,0,0,.15);box-shadow:inset 0 1px 0 #e0cdbd,0 1px 0 rgba(0,0,0,.15)}.factory-bootstrap-450 .btn-primary:focus,.factory-bootstrap-450 .btn-primary:hover{background:#ba906d;border-color:#ae7d55;color:#fff;-webkit-box-shadow:inset 0 1px 0 #d7bfac,0 1px 0 rgba(0,0,0,.15);box-shadow:inset 0 1px 0 #d7bfac,0 1px 0 rgba(0,0,0,.15)}.factory-bootstrap-450 .btn-primary:active{background:#ba906d;border-color:#ae7d55;color:#fff;-webkit-box-shadow:inset 0 2px 5px -3px rgba(0,0,0,.5);box-shadow:inset 0 2px 5px -3px rgba(0,0,0,.5)}.factory-bootstrap-450 .btn-primary:disabled,.factory-bootstrap-450 .btn-primary[disabled]{color:#d1cbc7!important;background:#ba906d!important;border-color:#ae7d55!important;text-shadow:none!important}.factory-bootstrap-450 .btn-group .btn.active.value{background-color:#c7a589;-webkit-box-shadow:inset 0 1px 2px #b78a66;box-shadow:inset 0 1px 2px #b78a66;border-top:1px solid #b78a66;border-bottom:1px solid #b78a66;border-left:1px solid #b78a66}.factory-bootstrap-450 .pagination>.active>a,.factory-bootstrap-450 .pagination>.active>a:focus,.factory-bootstrap-450 .pagination>.active>a:hover,.factory-bootstrap-450 .pagination>.active>span,.factory-bootstrap-450 .pagination>.active>span:focus,.factory-bootstrap-450 .pagination>.active>span:hover{background-color:#c7a589;border-color:#b78a66}
|
libs/factory/bootstrap/assets/css-min/bootstrap.core.min.css
CHANGED
@@ -1,5 +1,5 @@
|
|
1 |
/*!
|
2 |
-
* Bootstrap generator - v1.0.1,
|
3 |
* Webcraftic factory build
|
4 |
*
|
5 |
* Copyright 2018, Alex Kovalev <alex.kovalevv@gmail.com>, Webcraftic <wordpress.webraftic@gmail.com>
|
@@ -8,7 +8,7 @@
|
|
8 |
*/
|
9 |
|
10 |
|
11 |
-
.factory-bootstrap-433 article,.factory-bootstrap-433 aside,.factory-bootstrap-433 details,.factory-bootstrap-433 figcaption,.factory-bootstrap-433 figure,.factory-bootstrap-433 footer,.factory-bootstrap-433 header,.factory-bootstrap-433 hgroup,.factory-bootstrap-433 main,.factory-bootstrap-433 nav,.factory-bootstrap-433 section,.factory-bootstrap-433 summary{display:block}.factory-bootstrap-433 audio,.factory-bootstrap-433 canvas,.factory-bootstrap-433 video{display:inline-block}.factory-bootstrap-433 audio:not([controls]){display:none;height:0}.factory-bootstrap-433 [hidden],.factory-bootstrap-433 template{display:none}.factory-bootstrap-433 body{margin:0}.factory-bootstrap-433 a{background:0 0}.factory-bootstrap-433 a:focus{outline:thin dotted}.factory-bootstrap-433 a:active,.factory-bootstrap-433 a:hover{outline:0}.factory-bootstrap-433 h1{margin:.67em 0}.factory-bootstrap-433 b,.factory-bootstrap-433 strong{font-weight:700}.factory-bootstrap-433 dfn{font-style:italic}.factory-bootstrap-433 hr{height:0;-moz-box-sizing:content-box;box-sizing:content-box}.factory-bootstrap-433 mark{color:#000;background:#ff0}.factory-bootstrap-433 code,.factory-bootstrap-433 kbd,.factory-bootstrap-433 pre,.factory-bootstrap-433 samp{font-size:1em}.factory-bootstrap-433 pre{white-space:pre-wrap}.factory-bootstrap-433 q{quotes:"\201C" "\201D" "\2018" "\2019"}.factory-bootstrap-433 sub,.factory-bootstrap-433 sup{position:relative;font-size:75%;line-height:0;vertical-align:baseline}.factory-bootstrap-433 sup{top:-.5em}.factory-bootstrap-433 sub{bottom:-.25em}.factory-bootstrap-433 img{border:0}.factory-bootstrap-433 svg:not(:root){overflow:hidden}.factory-bootstrap-433 figure{margin:0}.factory-bootstrap-433 button,.factory-bootstrap-433 input,.factory-bootstrap-433 select,.factory-bootstrap-433 textarea{margin:0}.factory-bootstrap-433 button,.factory-bootstrap-433 select{text-transform:none}.factory-bootstrap-433 select{padding-right:4px!important}.factory-bootstrap-433 button,.factory-bootstrap-433 input[type=reset],.factory-bootstrap-433 input[type=submit],html .factory-bootstrap-433 input[type=button]{cursor:pointer;-webkit-appearance:button}.factory-bootstrap-433 button[disabled],html .factory-bootstrap-433 input[disabled]{cursor:default}.factory-bootstrap-433 input[type=checkbox],.factory-bootstrap-433 input[type=radio]{padding:0;box-sizing:border-box}.factory-bootstrap-433 input[type=search]{-webkit-appearance:textfield}.factory-bootstrap-433 input[type=search]::-webkit-search-cancel-button,.factory-bootstrap-433 input[type=search]::-webkit-search-decoration{-webkit-appearance:none}.factory-bootstrap-433 button::-moz-focus-inner,.factory-bootstrap-433 input::-moz-focus-inner{padding:0;border:0}.factory-bootstrap-433 textarea{overflow:auto;vertical-align:top}.factory-bootstrap-433 table{border-collapse:collapse;border-spacing:0}@media print{.factory-bootstrap-433 *{color:#000!important;text-shadow:none!important;background:transparent!important;box-shadow:none!important}.factory-bootstrap-433 a,.factory-bootstrap-433 a:visited{text-decoration:underline}.factory-bootstrap-433 a[href]:after{content:" (" attr(href) ")"}.factory-bootstrap-433 abbr[title]:after{content:" (" attr(title) ")"}.factory-bootstrap-433 a[href^="javascript:"]:after,.factory-bootstrap-433 a[href^="#"]:after{content:""}.factory-bootstrap-433 blockquote,.factory-bootstrap-433 pre{border:1px solid #999;page-break-inside:avoid}.factory-bootstrap-433 thead{display:table-header-group}.factory-bootstrap-433 img,.factory-bootstrap-433 tr{page-break-inside:avoid}.factory-bootstrap-433 img{max-width:100%!important}@page{margin:2cm .5cm}.factory-bootstrap-433 h2,.factory-bootstrap-433 h3,.factory-bootstrap-433 p{orphans:3;widows:3}.factory-bootstrap-433 h2,.factory-bootstrap-433 h3{page-break-after:avoid}.factory-bootstrap-433 select{background:#fff!important}.factory-bootstrap-433 .navbar{display:none}.factory-bootstrap-433 .table td,.factory-bootstrap-433 .table th{background-color:#fff!important}.factory-bootstrap-433 .btn>.caret,.factory-bootstrap-433 .dropup>.btn>.caret{border-top-color:#000!important}.factory-bootstrap-433 .label{border:1px solid #000}.factory-bootstrap-433 .table{border-collapse:collapse!important}.factory-bootstrap-433 .table-bordered td,.factory-bootstrap-433 .table-bordered th{border:1px solid #ddd!important}}.factory-bootstrap-433 *,.factory-bootstrap-433 :after,.factory-bootstrap-433 :before{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}html .factory-bootstrap-433{-webkit-tap-highlight-color:rgba(0,0,0,0)}.factory-bootstrap-433 body{font-family:"Helvetica Neue",Helvetica,Arial,sans-serif;font-size:14px;line-height:1.428571429;color:#333;background-color:#fff}.factory-bootstrap-433 button,.factory-bootstrap-433 input,.factory-bootstrap-433 select,.factory-bootstrap-433 textarea{font-family:inherit;font-size:inherit;line-height:inherit}.factory-bootstrap-433 img{vertical-align:middle}.factory-bootstrap-433 .img-responsive{display:block;height:auto;max-width:100%}.factory-bootstrap-433 .img-rounded{border-radius:6px}.factory-bootstrap-433 .img-thumbnail{display:inline-block;height:auto;max-width:100%;padding:4px;line-height:1.428571429;background-color:#fff;border:1px solid #ddd;border-radius:4px;-webkit-transition:all .2s ease-in-out;transition:all .2s ease-in-out}.factory-bootstrap-433 .img-circle{border-radius:50%}.factory-bootstrap-433 hr{margin-top:20px;margin-bottom:20px;border:0;border-top:1px solid #eee}.factory-bootstrap-433 .sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);border:0}.factory-bootstrap-433 .h1,.factory-bootstrap-433 .h2,.factory-bootstrap-433 .h3,.factory-bootstrap-433 .h4,.factory-bootstrap-433 .h5,.factory-bootstrap-433 .h6,.factory-bootstrap-433 h1,.factory-bootstrap-433 h2,.factory-bootstrap-433 h3,.factory-bootstrap-433 h4,.factory-bootstrap-433 h5,.factory-bootstrap-433 h6{font-family:"Helvetica Neue",Helvetica,Arial,sans-serif;font-weight:500;line-height:1.1;color:inherit}.factory-bootstrap-433 .h1 .small,.factory-bootstrap-433 .h1 small,.factory-bootstrap-433 .h2 .small,.factory-bootstrap-433 .h2 small,.factory-bootstrap-433 .h3 .small,.factory-bootstrap-433 .h3 small,.factory-bootstrap-433 .h4 .small,.factory-bootstrap-433 .h4 small,.factory-bootstrap-433 .h5 .small,.factory-bootstrap-433 .h5 small,.factory-bootstrap-433 .h6 .small,.factory-bootstrap-433 .h6 small,.factory-bootstrap-433 h1 .small,.factory-bootstrap-433 h1 small,.factory-bootstrap-433 h2 .small,.factory-bootstrap-433 h2 small,.factory-bootstrap-433 h3 .small,.factory-bootstrap-433 h3 small,.factory-bootstrap-433 h4 .small,.factory-bootstrap-433 h4 small,.factory-bootstrap-433 h5 .small,.factory-bootstrap-433 h5 small,.factory-bootstrap-433 h6 .small,.factory-bootstrap-433 h6 small{font-weight:400;line-height:1;color:#999}.factory-bootstrap-433 h1,.factory-bootstrap-433 h2,.factory-bootstrap-433 h3{margin-top:20px;margin-bottom:10px}.factory-bootstrap-433 h1 .small,.factory-bootstrap-433 h1 small,.factory-bootstrap-433 h2 .small,.factory-bootstrap-433 h2 small,.factory-bootstrap-433 h3 .small,.factory-bootstrap-433 h3 small{font-size:65%}.factory-bootstrap-433 h4,.factory-bootstrap-433 h5,.factory-bootstrap-433 h6{margin-top:10px;margin-bottom:10px}.factory-bootstrap-433 h4 .small,.factory-bootstrap-433 h4 small,.factory-bootstrap-433 h5 .small,.factory-bootstrap-433 h5 small,.factory-bootstrap-433 h6 .small,.factory-bootstrap-433 h6 small{font-size:75%}.factory-bootstrap-433 .h1,.factory-bootstrap-433 h1{font-size:36px}.factory-bootstrap-433 .h2,.factory-bootstrap-433 h2{font-size:30px}.factory-bootstrap-433 .h3,.factory-bootstrap-433 h3{font-size:24px}.factory-bootstrap-433 .h4,.factory-bootstrap-433 h4{font-size:18px}.factory-bootstrap-433 .h5,.factory-bootstrap-433 h5{font-size:14px}.factory-bootstrap-433 .h6,.factory-bootstrap-433 h6{font-size:12px}.factory-bootstrap-433 p{margin:0 0 10px}.factory-bootstrap-433 .lead{margin-bottom:20px;font-size:16px;font-weight:200;line-height:1.4}@media (min-width:768px){.lead{font-size:21px}}.factory-bootstrap-433 .small,.factory-bootstrap-433 small{font-size:85%}.factory-bootstrap-433 cite{font-style:normal}.factory-bootstrap-433 .text-muted{color:#999}.factory-bootstrap-433 .text-primary{color:#428bca}.factory-bootstrap-433 .text-primary:hover{color:#3071a9}.factory-bootstrap-433 .text-warning{color:#8a6d3b}.factory-bootstrap-433 .text-warning:hover{color:#66512c}.factory-bootstrap-433 .text-danger{color:#a94442}.factory-bootstrap-433 .text-danger:hover{color:#843534}.factory-bootstrap-433 .text-success{color:#3c763d}.factory-bootstrap-433 .text-success:hover{color:#2b542c}.factory-bootstrap-433 .text-info{color:#31708f}.factory-bootstrap-433 .text-info:hover{color:#245269}.factory-bootstrap-433 .text-left{text-align:left}.factory-bootstrap-433 .text-right{text-align:right}.factory-bootstrap-433 .text-center{text-align:center}.factory-bootstrap-433 .page-header{padding-bottom:9px;margin:40px 0 20px;border-bottom:1px solid #eee}.factory-bootstrap-433 ol,.factory-bootstrap-433 ul{margin-top:0;margin-bottom:10px}.factory-bootstrap-433 ol ol,.factory-bootstrap-433 ol ul,.factory-bootstrap-433 ul ol,.factory-bootstrap-433 ul ul{margin-bottom:0}.factory-bootstrap-433 .list-inline,.factory-bootstrap-433 .list-unstyled{padding-left:0;list-style:none}.factory-bootstrap-433 .list-inline>li{display:inline-block;padding-right:5px;padding-left:5px}.factory-bootstrap-433 .list-inline>li:first-child{padding-left:0}.factory-bootstrap-433 dl{margin-top:0;margin-bottom:20px}.factory-bootstrap-433 dd,.factory-bootstrap-433 dt{line-height:1.428571429}.factory-bootstrap-433 dt{font-weight:700}.factory-bootstrap-433 dd{margin-left:0}@media (min-width:768px){.dl-horizontal dt{float:left;width:160px;overflow:hidden;clear:left;text-align:right;text-overflow:ellipsis;white-space:nowrap}.dl-horizontal dd{margin-left:180px}.dl-horizontal dd:after,.dl-horizontal dd:before{display:table;content:" "}.dl-horizontal dd:after{clear:both}}.factory-bootstrap-433 abbr[data-original-title],.factory-bootstrap-433 abbr[title]{cursor:help;border-bottom:1px dotted #999}.factory-bootstrap-433 .initialism{font-size:90%;text-transform:uppercase}.factory-bootstrap-433 blockquote{padding:10px 20px;margin:0 0 20px;border-left:5px solid #eee}.factory-bootstrap-433 blockquote p{font-size:17.5px;font-weight:300;line-height:1.25}.factory-bootstrap-433 blockquote p:last-child{margin-bottom:0}.factory-bootstrap-433 blockquote .small,.factory-bootstrap-433 blockquote small{display:block;line-height:1.428571429;color:#999}.factory-bootstrap-433 blockquote .small:before,.factory-bootstrap-433 blockquote small:before{content:'\2014 \00A0'}.factory-bootstrap-433 blockquote.pull-right{padding-right:15px;padding-left:0;border-right:5px solid #eee;border-left:0}.factory-bootstrap-433 blockquote.pull-right .small,.factory-bootstrap-433 blockquote.pull-right p,.factory-bootstrap-433 blockquote.pull-right small{text-align:right}.factory-bootstrap-433 blockquote.pull-right .small:before,.factory-bootstrap-433 blockquote.pull-right small:before{content:''}.factory-bootstrap-433 blockquote.pull-right .small:after,.factory-bootstrap-433 blockquote.pull-right small:after{content:'\00A0 \2014'}.factory-bootstrap-433 blockquote:after,.factory-bootstrap-433 blockquote:before{content:""}.factory-bootstrap-433 address{margin-bottom:20px;font-style:normal;line-height:1.428571429}.factory-bootstrap-433 code,.factory-bootstrap-433 kbd,.factory-bootstrap-433 pre,.factory-bootstrap-433 samp{font-family:Menlo,Monaco,Consolas,"Courier New",monospace}.factory-bootstrap-433 code{padding:2px 4px;font-size:90%;color:#c7254e;white-space:nowrap;background-color:#f9f2f4;border-radius:4px}.factory-bootstrap-433 pre{display:block;padding:9.5px;margin:0 0 10px;font-size:13px;line-height:1.428571429;color:#333;word-break:break-all;word-wrap:break-word;background-color:#f5f5f5;border:1px solid #ccc;border-radius:4px}.factory-bootstrap-433 pre code{padding:0;font-size:inherit;color:inherit;white-space:pre-wrap;background-color:transparent;border-radius:0}.factory-bootstrap-433 .pre-scrollable{max-height:340px;overflow-y:scroll}.factory-bootstrap-433 .container{padding-right:15px;padding-left:15px;margin-right:auto;margin-left:auto}.factory-bootstrap-433 .container:after,.factory-bootstrap-433 .container:before{display:table;content:" "}.factory-bootstrap-433 .container:after{clear:both}@media (min-width:768px){.container{width:750px}}@media (min-width:992px){.container{width:970px}}@media (min-width:1200px){.container{width:1170px}}.factory-bootstrap-433 .row{margin-right:-15px;margin-left:-15px}.factory-bootstrap-433 .row:after,.factory-bootstrap-433 .row:before{display:table;content:" "}.factory-bootstrap-433 .row:after{clear:both}.factory-bootstrap-433 .col-lg-1,.factory-bootstrap-433 .col-lg-10,.factory-bootstrap-433 .col-lg-11,.factory-bootstrap-433 .col-lg-12,.factory-bootstrap-433 .col-lg-2,.factory-bootstrap-433 .col-lg-3,.factory-bootstrap-433 .col-lg-4,.factory-bootstrap-433 .col-lg-5,.factory-bootstrap-433 .col-lg-6,.factory-bootstrap-433 .col-lg-7,.factory-bootstrap-433 .col-lg-8,.factory-bootstrap-433 .col-lg-9,.factory-bootstrap-433 .col-md-1,.factory-bootstrap-433 .col-md-10,.factory-bootstrap-433 .col-md-11,.factory-bootstrap-433 .col-md-12,.factory-bootstrap-433 .col-md-2,.factory-bootstrap-433 .col-md-3,.factory-bootstrap-433 .col-md-4,.factory-bootstrap-433 .col-md-5,.factory-bootstrap-433 .col-md-6,.factory-bootstrap-433 .col-md-7,.factory-bootstrap-433 .col-md-8,.factory-bootstrap-433 .col-md-9,.factory-bootstrap-433 .col-sm-1,.factory-bootstrap-433 .col-sm-10,.factory-bootstrap-433 .col-sm-11,.factory-bootstrap-433 .col-sm-12,.factory-bootstrap-433 .col-sm-2,.factory-bootstrap-433 .col-sm-3,.factory-bootstrap-433 .col-sm-4,.factory-bootstrap-433 .col-sm-5,.factory-bootstrap-433 .col-sm-6,.factory-bootstrap-433 .col-sm-7,.factory-bootstrap-433 .col-sm-8,.factory-bootstrap-433 .col-sm-9,.factory-bootstrap-433 .col-xs-1,.factory-bootstrap-433 .col-xs-10,.factory-bootstrap-433 .col-xs-11,.factory-bootstrap-433 .col-xs-12,.factory-bootstrap-433 .col-xs-2,.factory-bootstrap-433 .col-xs-3,.factory-bootstrap-433 .col-xs-4,.factory-bootstrap-433 .col-xs-5,.factory-bootstrap-433 .col-xs-6,.factory-bootstrap-433 .col-xs-7,.factory-bootstrap-433 .col-xs-8,.factory-bootstrap-433 .col-xs-9{position:relative;min-height:1px;padding-right:15px;padding-left:15px}.factory-bootstrap-433 .col-xs-1,.factory-bootstrap-433 .col-xs-10,.factory-bootstrap-433 .col-xs-11,.factory-bootstrap-433 .col-xs-12,.factory-bootstrap-433 .col-xs-2,.factory-bootstrap-433 .col-xs-3,.factory-bootstrap-433 .col-xs-4,.factory-bootstrap-433 .col-xs-5,.factory-bootstrap-433 .col-xs-6,.factory-bootstrap-433 .col-xs-7,.factory-bootstrap-433 .col-xs-8,.factory-bootstrap-433 .col-xs-9{float:left}.factory-bootstrap-433 .col-xs-12{width:100%}.factory-bootstrap-433 .col-xs-11{width:91.66666666666666%}.factory-bootstrap-433 .col-xs-10{width:83.33333333333334%}.factory-bootstrap-433 .col-xs-9{width:75%}.factory-bootstrap-433 .col-xs-8{width:66.66666666666666%}.factory-bootstrap-433 .col-xs-7{width:58.333333333333336%}.factory-bootstrap-433 .col-xs-6{width:50%}.factory-bootstrap-433 .col-xs-5{width:41.66666666666667%}.factory-bootstrap-433 .col-xs-4{width:33.33333333333333%}.factory-bootstrap-433 .col-xs-3{width:25%}.factory-bootstrap-433 .col-xs-2{width:16.666666666666664%}.factory-bootstrap-433 .col-xs-1{width:8.333333333333332%}.factory-bootstrap-433 .col-xs-pull-12{right:100%}.factory-bootstrap-433 .col-xs-pull-11{right:91.66666666666666%}.factory-bootstrap-433 .col-xs-pull-10{right:83.33333333333334%}.factory-bootstrap-433 .col-xs-pull-9{right:75%}.factory-bootstrap-433 .col-xs-pull-8{right:66.66666666666666%}.factory-bootstrap-433 .col-xs-pull-7{right:58.333333333333336%}.factory-bootstrap-433 .col-xs-pull-6{right:50%}.factory-bootstrap-433 .col-xs-pull-5{right:41.66666666666667%}.factory-bootstrap-433 .col-xs-pull-4{right:33.33333333333333%}.factory-bootstrap-433 .col-xs-pull-3{right:25%}.factory-bootstrap-433 .col-xs-pull-2{right:16.666666666666664%}.factory-bootstrap-433 .col-xs-pull-1{right:8.333333333333332%}.factory-bootstrap-433 .col-xs-pull-0{right:0}.factory-bootstrap-433 .col-xs-push-12{left:100%}.factory-bootstrap-433 .col-xs-push-11{left:91.66666666666666%}.factory-bootstrap-433 .col-xs-push-10{left:83.33333333333334%}.factory-bootstrap-433 .col-xs-push-9{left:75%}.factory-bootstrap-433 .col-xs-push-8{left:66.66666666666666%}.factory-bootstrap-433 .col-xs-push-7{left:58.333333333333336%}.factory-bootstrap-433 .col-xs-push-6{left:50%}.factory-bootstrap-433 .col-xs-push-5{left:41.66666666666667%}.factory-bootstrap-433 .col-xs-push-4{left:33.33333333333333%}.factory-bootstrap-433 .col-xs-push-3{left:25%}.factory-bootstrap-433 .col-xs-push-2{left:16.666666666666664%}.factory-bootstrap-433 .col-xs-push-1{left:8.333333333333332%}.factory-bootstrap-433 .col-xs-push-0{left:0}.factory-bootstrap-433 .col-xs-offset-12{margin-left:100%}.factory-bootstrap-433 .col-xs-offset-11{margin-left:91.66666666666666%}.factory-bootstrap-433 .col-xs-offset-10{margin-left:83.33333333333334%}.factory-bootstrap-433 .col-xs-offset-9{margin-left:75%}.factory-bootstrap-433 .col-xs-offset-8{margin-left:66.66666666666666%}.factory-bootstrap-433 .col-xs-offset-7{margin-left:58.333333333333336%}.factory-bootstrap-433 .col-xs-offset-6{margin-left:50%}.factory-bootstrap-433 .col-xs-offset-5{margin-left:41.66666666666667%}.factory-bootstrap-433 .col-xs-offset-4{margin-left:33.33333333333333%}.factory-bootstrap-433 .col-xs-offset-3{margin-left:25%}.factory-bootstrap-433 .col-xs-offset-2{margin-left:16.666666666666664%}.factory-bootstrap-433 .col-xs-offset-1{margin-left:8.333333333333332%}.factory-bootstrap-433 .col-xs-offset-0{margin-left:0}@media (min-width:768px){.col-sm-1,.col-sm-10,.col-sm-11,.col-sm-12,.col-sm-2,.col-sm-3,.col-sm-4,.col-sm-5,.col-sm-6,.col-sm-7,.col-sm-8,.col-sm-9{float:left}.col-sm-12{width:100%}.col-sm-11{width:91.66666666666666%}.col-sm-10{width:83.33333333333334%}.col-sm-9{width:75%}.col-sm-8{width:66.66666666666666%}.col-sm-7{width:58.333333333333336%}.col-sm-6{width:50%}.col-sm-5{width:41.66666666666667%}.col-sm-4{width:33.33333333333333%}.col-sm-3{width:25%}.col-sm-2{width:16.666666666666664%}.col-sm-1{width:8.333333333333332%}.col-sm-pull-12{right:100%}.col-sm-pull-11{right:91.66666666666666%}.col-sm-pull-10{right:83.33333333333334%}.col-sm-pull-9{right:75%}.col-sm-pull-8{right:66.66666666666666%}.col-sm-pull-7{right:58.333333333333336%}.col-sm-pull-6{right:50%}.col-sm-pull-5{right:41.66666666666667%}.col-sm-pull-4{right:33.33333333333333%}.col-sm-pull-3{right:25%}.col-sm-pull-2{right:16.666666666666664%}.col-sm-pull-1{right:8.333333333333332%}.col-sm-pull-0{right:0}.col-sm-push-12{left:100%}.col-sm-push-11{left:91.66666666666666%}.col-sm-push-10{left:83.33333333333334%}.col-sm-push-9{left:75%}.col-sm-push-8{left:66.66666666666666%}.col-sm-push-7{left:58.333333333333336%}.col-sm-push-6{left:50%}.col-sm-push-5{left:41.66666666666667%}.col-sm-push-4{left:33.33333333333333%}.col-sm-push-3{left:25%}.col-sm-push-2{left:16.666666666666664%}.col-sm-push-1{left:8.333333333333332%}.col-sm-push-0{left:0}.col-sm-offset-12{margin-left:100%}.col-sm-offset-11{margin-left:91.66666666666666%}.col-sm-offset-10{margin-left:83.33333333333334%}.col-sm-offset-9{margin-left:75%}.col-sm-offset-8{margin-left:66.66666666666666%}.col-sm-offset-7{margin-left:58.333333333333336%}.col-sm-offset-6{margin-left:50%}.col-sm-offset-5{margin-left:41.66666666666667%}.col-sm-offset-4{margin-left:33.33333333333333%}.col-sm-offset-3{margin-left:25%}.col-sm-offset-2{margin-left:16.666666666666664%}.col-sm-offset-1{margin-left:8.333333333333332%}.col-sm-offset-0{margin-left:0}}@media (min-width:992px){.col-md-1,.col-md-10,.col-md-11,.col-md-12,.col-md-2,.col-md-3,.col-md-4,.col-md-5,.col-md-6,.col-md-7,.col-md-8,.col-md-9{float:left}.col-md-12{width:100%}.col-md-11{width:91.66666666666666%}.col-md-10{width:83.33333333333334%}.col-md-9{width:75%}.col-md-8{width:66.66666666666666%}.col-md-7{width:58.333333333333336%}.col-md-6{width:50%}.col-md-5{width:41.66666666666667%}.col-md-4{width:33.33333333333333%}.col-md-3{width:25%}.col-md-2{width:16.666666666666664%}.col-md-1{width:8.333333333333332%}.col-md-pull-12{right:100%}.col-md-pull-11{right:91.66666666666666%}.col-md-pull-10{right:83.33333333333334%}.col-md-pull-9{right:75%}.col-md-pull-8{right:66.66666666666666%}.col-md-pull-7{right:58.333333333333336%}.col-md-pull-6{right:50%}.col-md-pull-5{right:41.66666666666667%}.col-md-pull-4{right:33.33333333333333%}.col-md-pull-3{right:25%}.col-md-pull-2{right:16.666666666666664%}.col-md-pull-1{right:8.333333333333332%}.col-md-pull-0{right:0}.col-md-push-12{left:100%}.col-md-push-11{left:91.66666666666666%}.col-md-push-10{left:83.33333333333334%}.col-md-push-9{left:75%}.col-md-push-8{left:66.66666666666666%}.col-md-push-7{left:58.333333333333336%}.col-md-push-6{left:50%}.col-md-push-5{left:41.66666666666667%}.col-md-push-4{left:33.33333333333333%}.col-md-push-3{left:25%}.col-md-push-2{left:16.666666666666664%}.col-md-push-1{left:8.333333333333332%}.col-md-push-0{left:0}.col-md-offset-12{margin-left:100%}.col-md-offset-11{margin-left:91.66666666666666%}.col-md-offset-10{margin-left:83.33333333333334%}.col-md-offset-9{margin-left:75%}.col-md-offset-8{margin-left:66.66666666666666%}.col-md-offset-7{margin-left:58.333333333333336%}.col-md-offset-6{margin-left:50%}.col-md-offset-5{margin-left:41.66666666666667%}.col-md-offset-4{margin-left:33.33333333333333%}.col-md-offset-3{margin-left:25%}.col-md-offset-2{margin-left:16.666666666666664%}.col-md-offset-1{margin-left:8.333333333333332%}.col-md-offset-0{margin-left:0}}@media (min-width:1200px){.col-lg-1,.col-lg-10,.col-lg-11,.col-lg-12,.col-lg-2,.col-lg-3,.col-lg-4,.col-lg-5,.col-lg-6,.col-lg-7,.col-lg-8,.col-lg-9{float:left}.col-lg-12{width:100%}.col-lg-11{width:91.66666666666666%}.col-lg-10{width:83.33333333333334%}.col-lg-9{width:75%}.col-lg-8{width:66.66666666666666%}.col-lg-7{width:58.333333333333336%}.col-lg-6{width:50%}.col-lg-5{width:41.66666666666667%}.col-lg-4{width:33.33333333333333%}.col-lg-3{width:25%}.col-lg-2{width:16.666666666666664%}.col-lg-1{width:8.333333333333332%}.col-lg-pull-12{right:100%}.col-lg-pull-11{right:91.66666666666666%}.col-lg-pull-10{right:83.33333333333334%}.col-lg-pull-9{right:75%}.col-lg-pull-8{right:66.66666666666666%}.col-lg-pull-7{right:58.333333333333336%}.col-lg-pull-6{right:50%}.col-lg-pull-5{right:41.66666666666667%}.col-lg-pull-4{right:33.33333333333333%}.col-lg-pull-3{right:25%}.col-lg-pull-2{right:16.666666666666664%}.col-lg-pull-1{right:8.333333333333332%}.col-lg-pull-0{right:0}.col-lg-push-12{left:100%}.col-lg-push-11{left:91.66666666666666%}.col-lg-push-10{left:83.33333333333334%}.col-lg-push-9{left:75%}.col-lg-push-8{left:66.66666666666666%}.col-lg-push-7{left:58.333333333333336%}.col-lg-push-6{left:50%}.col-lg-push-5{left:41.66666666666667%}.col-lg-push-4{left:33.33333333333333%}.col-lg-push-3{left:25%}.col-lg-push-2{left:16.666666666666664%}.col-lg-push-1{left:8.333333333333332%}.col-lg-push-0{left:0}.col-lg-offset-12{margin-left:100%}.col-lg-offset-11{margin-left:91.66666666666666%}.col-lg-offset-10{margin-left:83.33333333333334%}.col-lg-offset-9{margin-left:75%}.col-lg-offset-8{margin-left:66.66666666666666%}.col-lg-offset-7{margin-left:58.333333333333336%}.col-lg-offset-6{margin-left:50%}.col-lg-offset-5{margin-left:41.66666666666667%}.col-lg-offset-4{margin-left:33.33333333333333%}.col-lg-offset-3{margin-left:25%}.col-lg-offset-2{margin-left:16.666666666666664%}.col-lg-offset-1{margin-left:8.333333333333332%}.col-lg-offset-0{margin-left:0}}.factory-bootstrap-433 table{max-width:100%;background-color:transparent}.factory-bootstrap-433 th{text-align:left}.factory-bootstrap-433 .table{width:100%;margin-bottom:20px}.factory-bootstrap-433 .table>tbody>tr>td,.factory-bootstrap-433 .table>tbody>tr>th,.factory-bootstrap-433 .table>tfoot>tr>td,.factory-bootstrap-433 .table>tfoot>tr>th,.factory-bootstrap-433 .table>thead>tr>td,.factory-bootstrap-433 .table>thead>tr>th{padding:8px;line-height:1.428571429;vertical-align:top;border-top:1px solid #ddd}.factory-bootstrap-433 .table>thead>tr>th{vertical-align:bottom;border-bottom:2px solid #ddd}.factory-bootstrap-433 .table>caption+thead>tr:first-child>td,.factory-bootstrap-433 .table>caption+thead>tr:first-child>th,.factory-bootstrap-433 .table>colgroup+thead>tr:first-child>td,.factory-bootstrap-433 .table>colgroup+thead>tr:first-child>th,.factory-bootstrap-433 .table>thead:first-child>tr:first-child>td,.factory-bootstrap-433 .table>thead:first-child>tr:first-child>th{border-top:0}.factory-bootstrap-433 .table>tbody+tbody{border-top:2px solid #ddd}.factory-bootstrap-433 .table .table{background-color:#fff}.factory-bootstrap-433 .table-condensed>tbody>tr>td,.factory-bootstrap-433 .table-condensed>tbody>tr>th,.factory-bootstrap-433 .table-condensed>tfoot>tr>td,.factory-bootstrap-433 .table-condensed>tfoot>tr>th,.factory-bootstrap-433 .table-condensed>thead>tr>td,.factory-bootstrap-433 .table-condensed>thead>tr>th{padding:5px}.factory-bootstrap-433 .table-bordered,.factory-bootstrap-433 .table-bordered>tbody>tr>td,.factory-bootstrap-433 .table-bordered>tbody>tr>th,.factory-bootstrap-433 .table-bordered>tfoot>tr>td,.factory-bootstrap-433 .table-bordered>tfoot>tr>th,.factory-bootstrap-433 .table-bordered>thead>tr>td,.factory-bootstrap-433 .table-bordered>thead>tr>th{border:1px solid #ddd}.factory-bootstrap-433 .table-bordered>thead>tr>td,.factory-bootstrap-433 .table-bordered>thead>tr>th{border-bottom-width:2px}.factory-bootstrap-433 .table-striped>tbody>tr:nth-child(odd)>td,.factory-bootstrap-433 .table-striped>tbody>tr:nth-child(odd)>th{background-color:#f9f9f9}.factory-bootstrap-433 .table-hover>tbody>tr:hover>td,.factory-bootstrap-433 .table-hover>tbody>tr:hover>th{background-color:#f5f5f5}.factory-bootstrap-433 table col[class*=col-]{position:static;display:table-column;float:none}.factory-bootstrap-433 table td[class*=col-],.factory-bootstrap-433 table th[class*=col-]{display:table-cell;float:none}.factory-bootstrap-433 .table>tbody>.active>td,.factory-bootstrap-433 .table>tbody>.active>th,.factory-bootstrap-433 .table>tbody>tr>.active,.factory-bootstrap-433 .table>tfoot>.active>td,.factory-bootstrap-433 .table>tfoot>.active>th,.factory-bootstrap-433 .table>tfoot>tr>.active,.factory-bootstrap-433 .table>thead>.active>td,.factory-bootstrap-433 .table>thead>.active>th,.factory-bootstrap-433 .table>thead>tr>.active{background-color:#f5f5f5}.factory-bootstrap-433 .table-hover>tbody>.active:hover>td,.factory-bootstrap-433 .table-hover>tbody>.active:hover>th,.factory-bootstrap-433 .table-hover>tbody>tr>.active:hover{background-color:#e8e8e8}.factory-bootstrap-433 .table>tbody>.success>td,.factory-bootstrap-433 .table>tbody>.success>th,.factory-bootstrap-433 .table>tbody>tr>.success,.factory-bootstrap-433 .table>tfoot>.success>td,.factory-bootstrap-433 .table>tfoot>.success>th,.factory-bootstrap-433 .table>tfoot>tr>.success,.factory-bootstrap-433 .table>thead>.success>td,.factory-bootstrap-433 .table>thead>.success>th,.factory-bootstrap-433 .table>thead>tr>.success{background-color:#dff0d8}.factory-bootstrap-433 .table-hover>tbody>.success:hover>td,.factory-bootstrap-433 .table-hover>tbody>.success:hover>th,.factory-bootstrap-433 .table-hover>tbody>tr>.success:hover{background-color:#d0e9c6}.factory-bootstrap-433 .table>tbody>.danger>td,.factory-bootstrap-433 .table>tbody>.danger>th,.factory-bootstrap-433 .table>tbody>tr>.danger,.factory-bootstrap-433 .table>tfoot>.danger>td,.factory-bootstrap-433 .table>tfoot>.danger>th,.factory-bootstrap-433 .table>tfoot>tr>.danger,.factory-bootstrap-433 .table>thead>.danger>td,.factory-bootstrap-433 .table>thead>.danger>th,.factory-bootstrap-433 .table>thead>tr>.danger{background-color:#f2dede}.factory-bootstrap-433 .table-hover>tbody>.danger:hover>td,.factory-bootstrap-433 .table-hover>tbody>.danger:hover>th,.factory-bootstrap-433 .table-hover>tbody>tr>.danger:hover{background-color:#ebcccc}.factory-bootstrap-433 .table>tbody>.warning>td,.factory-bootstrap-433 .table>tbody>.warning>th,.factory-bootstrap-433 .table>tbody>tr>.warning,.factory-bootstrap-433 .table>tfoot>.warning>td,.factory-bootstrap-433 .table>tfoot>.warning>th,.factory-bootstrap-433 .table>tfoot>tr>.warning,.factory-bootstrap-433 .table>thead>.warning>td,.factory-bootstrap-433 .table>thead>.warning>th,.factory-bootstrap-433 .table>thead>tr>.warning{background-color:#fcf8e3}.factory-bootstrap-433 .table-hover>tbody>.warning:hover>td,.factory-bootstrap-433 .table-hover>tbody>.warning:hover>th,.factory-bootstrap-433 .table-hover>tbody>tr>.warning:hover{background-color:#faf2cc}@media (max-width:767px){.table-responsive{width:100%;margin-bottom:15px;overflow-x:scroll;overflow-y:hidden;border:1px solid #ddd;-ms-overflow-style:-ms-autohiding-scrollbar;-webkit-overflow-scrolling:touch}.table-responsive>.table{margin-bottom:0}.table-responsive>.table>tbody>tr>td,.table-responsive>.table>tbody>tr>th,.table-responsive>.table>tfoot>tr>td,.table-responsive>.table>tfoot>tr>th,.table-responsive>.table>thead>tr>td,.table-responsive>.table>thead>tr>th{white-space:nowrap}.table-responsive>.table-bordered{border:0}.table-responsive>.table-bordered>tbody>tr>td:first-child,.table-responsive>.table-bordered>tbody>tr>th:first-child,.table-responsive>.table-bordered>tfoot>tr>td:first-child,.table-responsive>.table-bordered>tfoot>tr>th:first-child,.table-responsive>.table-bordered>thead>tr>td:first-child,.table-responsive>.table-bordered>thead>tr>th:first-child{border-left:0}.table-responsive>.table-bordered>tbody>tr>td:last-child,.table-responsive>.table-bordered>tbody>tr>th:last-child,.table-responsive>.table-bordered>tfoot>tr>td:last-child,.table-responsive>.table-bordered>tfoot>tr>th:last-child,.table-responsive>.table-bordered>thead>tr>td:last-child,.table-responsive>.table-bordered>thead>tr>th:last-child{border-right:0}.table-responsive>.table-bordered>tbody>tr:last-child>td,.table-responsive>.table-bordered>tbody>tr:last-child>th,.table-responsive>.table-bordered>tfoot>tr:last-child>td,.table-responsive>.table-bordered>tfoot>tr:last-child>th{border-bottom:0}}.factory-bootstrap-433 fieldset{padding:0;margin:0;border:0}.factory-bootstrap-433 legend{display:block;width:100%;padding:0;margin-bottom:20px;font-size:21px;line-height:inherit;color:#333;border:0;border-bottom:1px solid #e5e5e5;-moz-box-sizing:content-box;box-sizing:content-box}.factory-bootstrap-433 label{display:inline-block;margin-bottom:5px;font-weight:700}.factory-bootstrap-433 input[type=search]{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.factory-bootstrap-433 input[type=checkbox],.factory-bootstrap-433 input[type=radio]{margin:4px 0 0;margin-top:1px \9;line-height:normal}.factory-bootstrap-433 input[type=file]{display:block}.factory-bootstrap-433 select[multiple],.factory-bootstrap-433 select[size]{height:auto}.factory-bootstrap-433 select optgroup{font-family:inherit;font-size:inherit;font-style:inherit}.factory-bootstrap-433 input[type=checkbox]:focus,.factory-bootstrap-433 input[type=file]:focus,.factory-bootstrap-433 input[type=radio]:focus{outline:thin dotted;outline:5px auto -webkit-focus-ring-color;outline-offset:-2px}.factory-bootstrap-433 input[type=number]::-webkit-inner-spin-button,.factory-bootstrap-433 input[type=number]::-webkit-outer-spin-button{height:auto}.factory-bootstrap-433 output{display:block;padding-top:7px;font-size:14px;line-height:1.428571429;color:#555;vertical-align:middle}.factory-bootstrap-433 .form-control{display:block;width:100%;height:34px;padding:6px 12px;font-size:14px;line-height:1.428571429;color:#555;vertical-align:middle;background-color:#fff;background-image:none;border:1px solid #ccc;border-radius:3px;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,.075);box-shadow:inset 0 1px 1px rgba(0,0,0,.075);-webkit-transition:border-color ease-in-out .15s,box-shadow ease-in-out .15s;transition:border-color ease-in-out .15s,box-shadow ease-in-out .15s}.factory-bootstrap-433 .form-control:focus{border-color:#66afe9;outline:0;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,.075);box-shadow:inset 0 1px 1px rgba(0,0,0,.075)}.factory-bootstrap-433 .form-control:-moz-placeholder{color:#999}.factory-bootstrap-433 .form-control::-moz-placeholder{color:#999;opacity:1}.factory-bootstrap-433 .form-control:-ms-input-placeholder{color:#999}.factory-bootstrap-433 .form-control::-webkit-input-placeholder{color:#999}.factory-bootstrap-433 .form-control[disabled],.factory-bootstrap-433 .form-control[readonly],.factory-bootstrap-433 fieldset[disabled] .form-control{cursor:not-allowed;background-color:#eee}.factory-bootstrap-433 textarea.form-control{height:auto}.factory-bootstrap-433 .form-group{margin-bottom:15px}.factory-bootstrap-433 .checkbox,.factory-bootstrap-433 .radio{display:block;min-height:20px;padding-left:20px;margin-top:10px;margin-bottom:10px;vertical-align:middle}.factory-bootstrap-433 .checkbox label,.factory-bootstrap-433 .radio label{display:inline;margin-bottom:0;font-weight:400;cursor:pointer}.factory-bootstrap-433 .checkbox input[type=checkbox],.factory-bootstrap-433 .checkbox-inline input[type=checkbox],.factory-bootstrap-433 .radio input[type=radio],.factory-bootstrap-433 .radio-inline input[type=radio]{float:left;margin-left:-20px}.factory-bootstrap-433 .checkbox+.checkbox,.factory-bootstrap-433 .radio+.radio{margin-top:-5px}.factory-bootstrap-433 .checkbox-inline,.factory-bootstrap-433 .radio-inline{display:inline-block;padding-left:20px;margin-bottom:0;font-weight:400;vertical-align:middle;cursor:pointer}.factory-bootstrap-433 .checkbox-inline+.checkbox-inline,.factory-bootstrap-433 .radio-inline+.radio-inline{margin-top:0;margin-left:10px}.factory-bootstrap-433 .checkbox-inline[disabled],.factory-bootstrap-433 .checkbox[disabled],.factory-bootstrap-433 .radio-inline[disabled],.factory-bootstrap-433 .radio[disabled],.factory-bootstrap-433 fieldset[disabled] .checkbox,.factory-bootstrap-433 fieldset[disabled] .checkbox-inline,.factory-bootstrap-433 fieldset[disabled] .radio,.factory-bootstrap-433 fieldset[disabled] .radio-inline,.factory-bootstrap-433 fieldset[disabled] input[type=checkbox],.factory-bootstrap-433 fieldset[disabled] input[type=radio],.factory-bootstrap-433 input[type=checkbox][disabled],.factory-bootstrap-433 input[type=radio][disabled]{cursor:not-allowed}.factory-bootstrap-433 .input-sm{height:30px;padding:5px 10px;font-size:12px;line-height:1.5;border-radius:3px}.factory-bootstrap-433 select.input-sm{height:30px;line-height:30px}.factory-bootstrap-433 textarea.input-sm{height:auto}.factory-bootstrap-433 .input-lg{height:46px;padding:10px 16px;font-size:18px;line-height:1.33;border-radius:6px}.factory-bootstrap-433 select.input-lg{height:46px;line-height:46px}.factory-bootstrap-433 textarea.input-lg{height:auto}.factory-bootstrap-433 .has-warning .checkbox,.factory-bootstrap-433 .has-warning .checkbox-inline,.factory-bootstrap-433 .has-warning .control-label,.factory-bootstrap-433 .has-warning .help-block,.factory-bootstrap-433 .has-warning .radio,.factory-bootstrap-433 .has-warning .radio-inline{color:#8a6d3b}.factory-bootstrap-433 .has-warning .form-control{border-color:#8a6d3b;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,.075);box-shadow:inset 0 1px 1px rgba(0,0,0,.075)}.factory-bootstrap-433 .has-warning .form-control:focus{border-color:#66512c;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,.075),0 0 6px #c0a16b;box-shadow:inset 0 1px 1px rgba(0,0,0,.075),0 0 6px #c0a16b}.factory-bootstrap-433 .has-warning .input-group-addon{color:#8a6d3b;background-color:#fcf8e3;border-color:#8a6d3b}.factory-bootstrap-433 .has-error .checkbox,.factory-bootstrap-433 .has-error .checkbox-inline,.factory-bootstrap-433 .has-error .control-label,.factory-bootstrap-433 .has-error .help-block,.factory-bootstrap-433 .has-error .radio,.factory-bootstrap-433 .has-error .radio-inline{color:#a94442}.factory-bootstrap-433 .controls{display:block}.factory-bootstrap-433 .has-error .form-control{border-color:#a94442;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,.075);box-shadow:inset 0 1px 1px rgba(0,0,0,.075)}.factory-bootstrap-433 .has-error .form-control:focus{border-color:#843534;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,.075),0 0 6px #ce8483;box-shadow:inset 0 1px 1px rgba(0,0,0,.075),0 0 6px #ce8483}.factory-bootstrap-433 .has-error .input-group-addon{color:#a94442;background-color:#f2dede;border-color:#a94442}.factory-bootstrap-433 .has-success .checkbox,.factory-bootstrap-433 .has-success .checkbox-inline,.factory-bootstrap-433 .has-success .control-label,.factory-bootstrap-433 .has-success .help-block,.factory-bootstrap-433 .has-success .radio,.factory-bootstrap-433 .has-success .radio-inline{color:#3c763d}.factory-bootstrap-433 .has-success .form-control{border-color:#3c763d;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,.075);box-shadow:inset 0 1px 1px rgba(0,0,0,.075)}.factory-bootstrap-433 .has-success .form-control:focus{border-color:#2b542c;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,.075),0 0 6px #67b168;box-shadow:inset 0 1px 1px rgba(0,0,0,.075),0 0 6px #67b168}.factory-bootstrap-433 .has-success .input-group-addon{color:#3c763d;background-color:#dff0d8;border-color:#3c763d}.factory-bootstrap-433 .form-control-static{margin-bottom:0}.factory-bootstrap-433 .help-block{display:block;margin-top:5px;margin-bottom:10px;color:#737373;font-weight:400}@media (min-width:768px){.form-inline .form-group{display:inline-block;margin-bottom:0;vertical-align:middle}.form-inline .form-control{display:inline-block}.form-inline select.form-control{width:auto}.form-inline .checkbox,.form-inline .radio{display:inline-block;padding-left:0;margin-top:0;margin-bottom:0}.form-inline .checkbox input[type=checkbox],.form-inline .radio input[type=radio]{float:none;margin-left:0}}.factory-bootstrap-433 .form-horizontal .checkbox,.factory-bootstrap-433 .form-horizontal .checkbox-inline,.factory-bootstrap-433 .form-horizontal .control-label,.factory-bootstrap-433 .form-horizontal .radio,.factory-bootstrap-433 .form-horizontal .radio-inline{position:relative;padding-top:7px;margin-top:0;margin-bottom:0}.factory-bootstrap-433 .form-horizontal .control-label{max-width:200px}.factory-bootstrap-433 .form-horizontal .checkbox,.factory-bootstrap-433 .form-horizontal .radio{min-height:27px}.factory-bootstrap-433 .form-horizontal .form-group{margin-right:-15px;margin-left:-15px}.factory-bootstrap-433 .form-horizontal .form-group:after,.factory-bootstrap-433 .form-horizontal .form-group:before{display:table;content:" "}.factory-bootstrap-433 .form-horizontal .form-group:after{clear:both}.factory-bootstrap-433 .form-horizontal .form-control-static{padding-top:7px}@media (min-width:768px){.form-horizontal .control-label{text-align:right}}.factory-bootstrap-433 .btn{display:inline-block;padding:5px 12px;margin-bottom:0;font-size:13px;font-weight:400;line-height:1.428571429;text-align:center;white-space:nowrap;vertical-align:middle;cursor:pointer;background-image:none;border:1px solid transparent;border-radius:3px;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;-o-user-select:none;user-select:none}.factory-bootstrap-433 .btn:focus{outline:thin dotted;outline:5px auto -webkit-focus-ring-color;outline-offset:-2px}.factory-bootstrap-433 .btn{text-decoration:none}.factory-bootstrap-433 .btn:focus,.factory-bootstrap-433 .btn:hover{color:#333;text-decoration:none}.factory-bootstrap-433 .btn.disabled,.factory-bootstrap-433 .btn[disabled],.factory-bootstrap-433 fieldset[disabled] .btn{pointer-events:none;cursor:not-allowed;opacity:.65;filter:alpha(opacity=65);-webkit-box-shadow:none;box-shadow:none}.factory-bootstrap-433 .btn-default.active,.factory-bootstrap-433 .btn-default:active,.factory-bootstrap-433 .btn-default:focus,.factory-bootstrap-433 .btn-default:hover,.factory-bootstrap-433 .open .dropdown-toggle.btn-default{background:#fafafa;border-color:#999;color:#222}.factory-bootstrap-433 .btn-default.active,.factory-bootstrap-433 .btn-default:active,.factory-bootstrap-433 .open .dropdown-toggle.btn-default{background-image:none}.factory-bootstrap-433 .btn-default.disabled,.factory-bootstrap-433 .btn-default.disabled.active,.factory-bootstrap-433 .btn-default.disabled:active,.factory-bootstrap-433 .btn-default.disabled:focus,.factory-bootstrap-433 .btn-default.disabled:hover,.factory-bootstrap-433 .btn-default[disabled],.factory-bootstrap-433 .btn-default[disabled].active,.factory-bootstrap-433 .btn-default[disabled]:active,.factory-bootstrap-433 .btn-default[disabled]:focus,.factory-bootstrap-433 .btn-default[disabled]:hover,.factory-bootstrap-433 fieldset[disabled] .btn-default,.factory-bootstrap-433 fieldset[disabled] .btn-default.active,.factory-bootstrap-433 fieldset[disabled] .btn-default:active,.factory-bootstrap-433 fieldset[disabled] .btn-default:focus,.factory-bootstrap-433 fieldset[disabled] .btn-default:hover{background-color:#fff;border-color:#ccc}.factory-bootstrap-433 .btn-default .badge{color:#fff;background-color:#fff}.factory-bootstrap-433 .btn-primary.active,.factory-bootstrap-433 .btn-primary:active,.factory-bootstrap-433 .btn-primary:focus,.factory-bootstrap-433 .btn-primary:hover,.factory-bootstrap-433 .open .dropdown-toggle.btn-primary{color:#fff;background-color:#3276b1;border-color:#285e8e}.factory-bootstrap-433 .btn-primary.active,.factory-bootstrap-433 .btn-primary:active,.factory-bootstrap-433 .open .dropdown-toggle.btn-primary{background-image:none}.factory-bootstrap-433 .btn-primary.disabled,.factory-bootstrap-433 .btn-primary.disabled.active,.factory-bootstrap-433 .btn-primary.disabled:active,.factory-bootstrap-433 .btn-primary.disabled:focus,.factory-bootstrap-433 .btn-primary.disabled:hover,.factory-bootstrap-433 .btn-primary[disabled],.factory-bootstrap-433 .btn-primary[disabled].active,.factory-bootstrap-433 .btn-primary[disabled]:active,.factory-bootstrap-433 .btn-primary[disabled]:focus,.factory-bootstrap-433 .btn-primary[disabled]:hover,.factory-bootstrap-433 fieldset[disabled] .btn-primary,.factory-bootstrap-433 fieldset[disabled] .btn-primary.active,.factory-bootstrap-433 fieldset[disabled] .btn-primary:active,.factory-bootstrap-433 fieldset[disabled] .btn-primary:focus,.factory-bootstrap-433 fieldset[disabled] .btn-primary:hover{background-color:#428bca;border-color:#357ebd}.factory-bootstrap-433 .btn-primary .badge{color:#428bca;background-color:#fff}.factory-bootstrap-433 .btn-warning{color:#fff;background-color:#f0ad4e}.factory-bootstrap-433 .btn-warning.active,.factory-bootstrap-433 .btn-warning:active,.factory-bootstrap-433 .btn-warning:focus,.factory-bootstrap-433 .btn-warning:hover,.factory-bootstrap-433 .open .dropdown-toggle.btn-warning{color:#fff;background-color:#ed9c28;border-color:#d58512}.factory-bootstrap-433 .btn-warning.active,.factory-bootstrap-433 .btn-warning:active,.factory-bootstrap-433 .open .dropdown-toggle.btn-warning{background-image:none}.factory-bootstrap-433 .btn-warning.disabled,.factory-bootstrap-433 .btn-warning.disabled.active,.factory-bootstrap-433 .btn-warning.disabled:active,.factory-bootstrap-433 .btn-warning.disabled:focus,.factory-bootstrap-433 .btn-warning.disabled:hover,.factory-bootstrap-433 .btn-warning[disabled],.factory-bootstrap-433 .btn-warning[disabled].active,.factory-bootstrap-433 .btn-warning[disabled]:active,.factory-bootstrap-433 .btn-warning[disabled]:focus,.factory-bootstrap-433 .btn-warning[disabled]:hover,.factory-bootstrap-433 fieldset[disabled] .btn-warning,.factory-bootstrap-433 fieldset[disabled] .btn-warning.active,.factory-bootstrap-433 fieldset[disabled] .btn-warning:active,.factory-bootstrap-433 fieldset[disabled] .btn-warning:focus,.factory-bootstrap-433 fieldset[disabled] .btn-warning:hover{background-color:#f0ad4e;border-color:#eea236}.factory-bootstrap-433 .btn-warning .badge{color:#f0ad4e;background-color:#fff}.factory-bootstrap-433 .btn-success{color:#fff;background-color:#5cb85c}.factory-bootstrap-433 .btn-success.active,.factory-bootstrap-433 .btn-success:active,.factory-bootstrap-433 .btn-success:focus,.factory-bootstrap-433 .btn-success:hover,.factory-bootstrap-433 .open .dropdown-toggle.btn-success{color:#fff;background-color:#47a447;border-color:#398439}.factory-bootstrap-433 .btn-success.active,.factory-bootstrap-433 .btn-success:active,.factory-bootstrap-433 .open .dropdown-toggle.btn-success{background-image:none}.factory-bootstrap-433 .btn-success.disabled,.factory-bootstrap-433 .btn-success.disabled.active,.factory-bootstrap-433 .btn-success.disabled:active,.factory-bootstrap-433 .btn-success.disabled:focus,.factory-bootstrap-433 .btn-success.disabled:hover,.factory-bootstrap-433 .btn-success[disabled],.factory-bootstrap-433 .btn-success[disabled].active,.factory-bootstrap-433 .btn-success[disabled]:active,.factory-bootstrap-433 .btn-success[disabled]:focus,.factory-bootstrap-433 .btn-success[disabled]:hover,.factory-bootstrap-433 fieldset[disabled] .btn-success,.factory-bootstrap-433 fieldset[disabled] .btn-success.active,.factory-bootstrap-433 fieldset[disabled] .btn-success:active,.factory-bootstrap-433 fieldset[disabled] .btn-success:focus,.factory-bootstrap-433 fieldset[disabled] .btn-success:hover{background-color:#5cb85c;border-color:#4cae4c}.factory-bootstrap-433 .btn-success .badge{color:#5cb85c;background-color:#fff}.factory-bootstrap-433 .btn-info{color:#fff;background-color:#5bc0de}.factory-bootstrap-433 .btn-info.active,.factory-bootstrap-433 .btn-info:active,.factory-bootstrap-433 .btn-info:focus,.factory-bootstrap-433 .btn-info:hover,.factory-bootstrap-433 .open .dropdown-toggle.btn-info{color:#fff;background-color:#39b3d7;border-color:#269abc}.factory-bootstrap-433 .btn-info.active,.factory-bootstrap-433 .btn-info:active,.factory-bootstrap-433 .open .dropdown-toggle.btn-info{background-image:none}.factory-bootstrap-433 .btn-info.disabled,.factory-bootstrap-433 .btn-info.disabled.active,.factory-bootstrap-433 .btn-info.disabled:active,.factory-bootstrap-433 .btn-info.disabled:focus,.factory-bootstrap-433 .btn-info.disabled:hover,.factory-bootstrap-433 .btn-info[disabled],.factory-bootstrap-433 .btn-info[disabled].active,.factory-bootstrap-433 .btn-info[disabled]:active,.factory-bootstrap-433 .btn-info[disabled]:focus,.factory-bootstrap-433 .btn-info[disabled]:hover,.factory-bootstrap-433 fieldset[disabled] .btn-info,.factory-bootstrap-433 fieldset[disabled] .btn-info.active,.factory-bootstrap-433 fieldset[disabled] .btn-info:active,.factory-bootstrap-433 fieldset[disabled] .btn-info:focus,.factory-bootstrap-433 fieldset[disabled] .btn-info:hover{background-color:#5bc0de;border-color:#46b8da}.factory-bootstrap-433 .btn-info .badge{color:#5bc0de;background-color:#fff}.factory-bootstrap-433 .btn-link{font-weight:400;color:#428bca;cursor:pointer;border-radius:0}.factory-bootstrap-433 .btn-link,.factory-bootstrap-433 .btn-link:active,.factory-bootstrap-433 .btn-link[disabled],.factory-bootstrap-433 fieldset[disabled] .btn-link{background-color:transparent;-webkit-box-shadow:none;box-shadow:none}.factory-bootstrap-433 .btn-link,.factory-bootstrap-433 .btn-link:active,.factory-bootstrap-433 .btn-link:focus,.factory-bootstrap-433 .btn-link:hover{border-color:transparent}.factory-bootstrap-433 .btn-link:focus,.factory-bootstrap-433 .btn-link:hover{color:#2a6496;text-decoration:underline;background-color:transparent}.factory-bootstrap-433 .btn-link[disabled]:focus,.factory-bootstrap-433 .btn-link[disabled]:hover,.factory-bootstrap-433 fieldset[disabled] .btn-link:focus,.factory-bootstrap-433 fieldset[disabled] .btn-link:hover{color:#999;text-decoration:none}.factory-bootstrap-433 .btn-lg{padding:10px 16px;font-size:18px;line-height:1.33;border-radius:6px}.factory-bootstrap-433 .btn-sm{padding:5px 10px;font-size:12px;line-height:1.5;border-radius:3px}.factory-bootstrap-433 .btn-xs{padding:1px 5px;font-size:12px;line-height:1.5;border-radius:3px}.factory-bootstrap-433 .btn-block{display:block;width:100%;padding-right:0;padding-left:0}.factory-bootstrap-433 .btn-block+.btn-block{margin-top:5px}.factory-bootstrap-433 input[type=button].btn-block,.factory-bootstrap-433 input[type=reset].btn-block,.factory-bootstrap-433 input[type=submit].btn-block{width:100%}.factory-bootstrap-433 .fade{opacity:0;-webkit-transition:opacity .15s linear;transition:opacity .15s linear}.factory-bootstrap-433 .fade.in{opacity:1}.factory-bootstrap-433 .collapse{display:none}.factory-bootstrap-433 .collapse.in{display:block}.factory-bootstrap-433 .collapsing{position:relative;height:0;overflow:hidden;-webkit-transition:height .35s ease;transition:height .35s ease}@font-face{font-family:'Glyphicons Halflings';src:url(../fonts/glyphicons-halflings-regular.eot);src:url(../fonts/glyphicons-halflings-regular.eot?#iefix) format('embedded-opentype'),url(../fonts/glyphicons-halflings-regular.woff) format('woff'),url(../fonts/glyphicons-halflings-regular.ttf) format('truetype'),url(../fonts/glyphicons-halflings-regular.svg#glyphicons-halflingsregular) format('svg')}.factory-bootstrap-433 .glyphicon{position:relative;top:1px;display:inline-block;font-family:'Glyphicons Halflings';-webkit-font-smoothing:antialiased;font-style:normal;font-weight:400;line-height:1;-moz-osx-font-smoothing:grayscale}.factory-bootstrap-433 .glyphicon:empty{width:1em}.factory-bootstrap-433 .glyphicon-asterisk:before{content:"\2a"}.factory-bootstrap-433 .glyphicon-plus:before{content:"\2b"}.factory-bootstrap-433 .glyphicon-euro:before{content:"\20ac"}.factory-bootstrap-433 .glyphicon-minus:before{content:"\2212"}.factory-bootstrap-433 .glyphicon-cloud:before{content:"\2601"}.factory-bootstrap-433 .glyphicon-envelope:before{content:"\2709"}.factory-bootstrap-433 .glyphicon-pencil:before{content:"\270f"}.factory-bootstrap-433 .glyphicon-glass:before{content:"\e001"}.factory-bootstrap-433 .glyphicon-music:before{content:"\e002"}.factory-bootstrap-433 .glyphicon-search:before{content:"\e003"}.factory-bootstrap-433 .glyphicon-heart:before{content:"\e005"}.factory-bootstrap-433 .glyphicon-star:before{content:"\e006"}.factory-bootstrap-433 .glyphicon-star-empty:before{content:"\e007"}.factory-bootstrap-433 .glyphicon-user:before{content:"\e008"}.factory-bootstrap-433 .glyphicon-film:before{content:"\e009"}.factory-bootstrap-433 .glyphicon-th-large:before{content:"\e010"}.factory-bootstrap-433 .glyphicon-th:before{content:"\e011"}.factory-bootstrap-433 .glyphicon-th-list:before{content:"\e012"}.factory-bootstrap-433 .glyphicon-ok:before{content:"\e013"}.factory-bootstrap-433 .glyphicon-remove:before{content:"\e014"}.factory-bootstrap-433 .glyphicon-zoom-in:before{content:"\e015"}.factory-bootstrap-433 .glyphicon-zoom-out:before{content:"\e016"}.factory-bootstrap-433 .glyphicon-off:before{content:"\e017"}.factory-bootstrap-433 .glyphicon-signal:before{content:"\e018"}.factory-bootstrap-433 .glyphicon-cog:before{content:"\e019"}.factory-bootstrap-433 .glyphicon-trash:before{content:"\e020"}.factory-bootstrap-433 .glyphicon-home:before{content:"\e021"}.factory-bootstrap-433 .glyphicon-file:before{content:"\e022"}.factory-bootstrap-433 .glyphicon-time:before{content:"\e023"}.factory-bootstrap-433 .glyphicon-road:before{content:"\e024"}.factory-bootstrap-433 .glyphicon-download-alt:before{content:"\e025"}.factory-bootstrap-433 .glyphicon-download:before{content:"\e026"}.factory-bootstrap-433 .glyphicon-upload:before{content:"\e027"}.factory-bootstrap-433 .glyphicon-inbox:before{content:"\e028"}.factory-bootstrap-433 .glyphicon-play-circle:before{content:"\e029"}.factory-bootstrap-433 .glyphicon-repeat:before{content:"\e030"}.factory-bootstrap-433 .glyphicon-refresh:before{content:"\e031"}.factory-bootstrap-433 .glyphicon-list-alt:before{content:"\e032"}.factory-bootstrap-433 .glyphicon-lock:before{content:"\e033"}.factory-bootstrap-433 .glyphicon-flag:before{content:"\e034"}.factory-bootstrap-433 .glyphicon-headphones:before{content:"\e035"}.factory-bootstrap-433 .glyphicon-volume-off:before{content:"\e036"}.factory-bootstrap-433 .glyphicon-volume-down:before{content:"\e037"}.factory-bootstrap-433 .glyphicon-volume-up:before{content:"\e038"}.factory-bootstrap-433 .glyphicon-qrcode:before{content:"\e039"}.factory-bootstrap-433 .glyphicon-barcode:before{content:"\e040"}.factory-bootstrap-433 .glyphicon-tag:before{content:"\e041"}.factory-bootstrap-433 .glyphicon-tags:before{content:"\e042"}.factory-bootstrap-433 .glyphicon-book:before{content:"\e043"}.factory-bootstrap-433 .glyphicon-bookmark:before{content:"\e044"}.factory-bootstrap-433 .glyphicon-print:before{content:"\e045"}.factory-bootstrap-433 .glyphicon-camera:before{content:"\e046"}.factory-bootstrap-433 .glyphicon-font:before{content:"\e047"}.factory-bootstrap-433 .glyphicon-bold:before{content:"\e048"}.factory-bootstrap-433 .glyphicon-italic:before{content:"\e049"}.factory-bootstrap-433 .glyphicon-text-height:before{content:"\e050"}.factory-bootstrap-433 .glyphicon-text-width:before{content:"\e051"}.factory-bootstrap-433 .glyphicon-align-left:before{content:"\e052"}.factory-bootstrap-433 .glyphicon-align-center:before{content:"\e053"}.factory-bootstrap-433 .glyphicon-align-right:before{content:"\e054"}.factory-bootstrap-433 .glyphicon-align-justify:before{content:"\e055"}.factory-bootstrap-433 .glyphicon-list:before{content:"\e056"}.factory-bootstrap-433 .glyphicon-indent-left:before{content:"\e057"}.factory-bootstrap-433 .glyphicon-indent-right:before{content:"\e058"}.factory-bootstrap-433 .glyphicon-facetime-video:before{content:"\e059"}.factory-bootstrap-433 .glyphicon-picture:before{content:"\e060"}.factory-bootstrap-433 .glyphicon-map-marker:before{content:"\e062"}.factory-bootstrap-433 .glyphicon-adjust:before{content:"\e063"}.factory-bootstrap-433 .glyphicon-tint:before{content:"\e064"}.factory-bootstrap-433 .glyphicon-edit:before{content:"\e065"}.factory-bootstrap-433 .glyphicon-share:before{content:"\e066"}.factory-bootstrap-433 .glyphicon-check:before{content:"\e067"}.factory-bootstrap-433 .glyphicon-move:before{content:"\e068"}.factory-bootstrap-433 .glyphicon-step-backward:before{content:"\e069"}.factory-bootstrap-433 .glyphicon-fast-backward:before{content:"\e070"}.factory-bootstrap-433 .glyphicon-backward:before{content:"\e071"}.factory-bootstrap-433 .glyphicon-play:before{content:"\e072"}.factory-bootstrap-433 .glyphicon-pause:before{content:"\e073"}.factory-bootstrap-433 .glyphicon-stop:before{content:"\e074"}.factory-bootstrap-433 .glyphicon-forward:before{content:"\e075"}.factory-bootstrap-433 .glyphicon-fast-forward:before{content:"\e076"}.factory-bootstrap-433 .glyphicon-step-forward:before{content:"\e077"}.factory-bootstrap-433 .glyphicon-eject:before{content:"\e078"}.factory-bootstrap-433 .glyphicon-chevron-left:before{content:"\e079"}.factory-bootstrap-433 .glyphicon-chevron-right:before{content:"\e080"}.factory-bootstrap-433 .glyphicon-plus-sign:before{content:"\e081"}.factory-bootstrap-433 .glyphicon-minus-sign:before{content:"\e082"}.factory-bootstrap-433 .glyphicon-remove-sign:before{content:"\e083"}.factory-bootstrap-433 .glyphicon-ok-sign:before{content:"\e084"}.factory-bootstrap-433 .glyphicon-question-sign:before{content:"\e085"}.factory-bootstrap-433 .glyphicon-info-sign:before{content:"\e086"}.factory-bootstrap-433 .glyphicon-screenshot:before{content:"\e087"}.factory-bootstrap-433 .glyphicon-remove-circle:before{content:"\e088"}.factory-bootstrap-433 .glyphicon-ok-circle:before{content:"\e089"}.factory-bootstrap-433 .glyphicon-ban-circle:before{content:"\e090"}.factory-bootstrap-433 .glyphicon-arrow-left:before{content:"\e091"}.factory-bootstrap-433 .glyphicon-arrow-right:before{content:"\e092"}.factory-bootstrap-433 .glyphicon-arrow-up:before{content:"\e093"}.factory-bootstrap-433 .glyphicon-arrow-down:before{content:"\e094"}.factory-bootstrap-433 .glyphicon-share-alt:before{content:"\e095"}.factory-bootstrap-433 .glyphicon-resize-full:before{content:"\e096"}.factory-bootstrap-433 .glyphicon-resize-small:before{content:"\e097"}.factory-bootstrap-433 .glyphicon-exclamation-sign:before{content:"\e101"}.factory-bootstrap-433 .glyphicon-gift:before{content:"\e102"}.factory-bootstrap-433 .glyphicon-leaf:before{content:"\e103"}.factory-bootstrap-433 .glyphicon-fire:before{content:"\e104"}.factory-bootstrap-433 .glyphicon-eye-open:before{content:"\e105"}.factory-bootstrap-433 .glyphicon-eye-close:before{content:"\e106"}.factory-bootstrap-433 .glyphicon-warning-sign:before{content:"\e107"}.factory-bootstrap-433 .glyphicon-plane:before{content:"\e108"}.factory-bootstrap-433 .glyphicon-calendar:before{content:"\e109"}.factory-bootstrap-433 .glyphicon-random:before{content:"\e110"}.factory-bootstrap-433 .glyphicon-comment:before{content:"\e111"}.factory-bootstrap-433 .glyphicon-magnet:before{content:"\e112"}.factory-bootstrap-433 .glyphicon-chevron-up:before{content:"\e113"}.factory-bootstrap-433 .glyphicon-chevron-down:before{content:"\e114"}.factory-bootstrap-433 .glyphicon-retweet:before{content:"\e115"}.factory-bootstrap-433 .glyphicon-shopping-cart:before{content:"\e116"}.factory-bootstrap-433 .glyphicon-folder-close:before{content:"\e117"}.factory-bootstrap-433 .glyphicon-folder-open:before{content:"\e118"}.factory-bootstrap-433 .glyphicon-resize-vertical:before{content:"\e119"}.factory-bootstrap-433 .glyphicon-resize-horizontal:before{content:"\e120"}.factory-bootstrap-433 .glyphicon-hdd:before{content:"\e121"}.factory-bootstrap-433 .glyphicon-bullhorn:before{content:"\e122"}.factory-bootstrap-433 .glyphicon-bell:before{content:"\e123"}.factory-bootstrap-433 .glyphicon-certificate:before{content:"\e124"}.factory-bootstrap-433 .glyphicon-thumbs-up:before{content:"\e125"}.factory-bootstrap-433 .glyphicon-thumbs-down:before{content:"\e126"}.factory-bootstrap-433 .glyphicon-hand-right:before{content:"\e127"}.factory-bootstrap-433 .glyphicon-hand-left:before{content:"\e128"}.factory-bootstrap-433 .glyphicon-hand-up:before{content:"\e129"}.factory-bootstrap-433 .glyphicon-hand-down:before{content:"\e130"}.factory-bootstrap-433 .glyphicon-circle-arrow-right:before{content:"\e131"}.factory-bootstrap-433 .glyphicon-circle-arrow-left:before{content:"\e132"}.factory-bootstrap-433 .glyphicon-circle-arrow-up:before{content:"\e133"}.factory-bootstrap-433 .glyphicon-circle-arrow-down:before{content:"\e134"}.factory-bootstrap-433 .glyphicon-globe:before{content:"\e135"}.factory-bootstrap-433 .glyphicon-wrench:before{content:"\e136"}.factory-bootstrap-433 .glyphicon-tasks:before{content:"\e137"}.factory-bootstrap-433 .glyphicon-filter:before{content:"\e138"}.factory-bootstrap-433 .glyphicon-briefcase:before{content:"\e139"}.factory-bootstrap-433 .glyphicon-fullscreen:before{content:"\e140"}.factory-bootstrap-433 .glyphicon-dashboard:before{content:"\e141"}.factory-bootstrap-433 .glyphicon-paperclip:before{content:"\e142"}.factory-bootstrap-433 .glyphicon-heart-empty:before{content:"\e143"}.factory-bootstrap-433 .glyphicon-link:before{content:"\e144"}.factory-bootstrap-433 .glyphicon-phone:before{content:"\e145"}.factory-bootstrap-433 .glyphicon-pushpin:before{content:"\e146"}.factory-bootstrap-433 .glyphicon-usd:before{content:"\e148"}.factory-bootstrap-433 .glyphicon-gbp:before{content:"\e149"}.factory-bootstrap-433 .glyphicon-sort:before{content:"\e150"}.factory-bootstrap-433 .glyphicon-sort-by-alphabet:before{content:"\e151"}.factory-bootstrap-433 .glyphicon-sort-by-alphabet-alt:before{content:"\e152"}.factory-bootstrap-433 .glyphicon-sort-by-order:before{content:"\e153"}.factory-bootstrap-433 .glyphicon-sort-by-order-alt:before{content:"\e154"}.factory-bootstrap-433 .glyphicon-sort-by-attributes:before{content:"\e155"}.factory-bootstrap-433 .glyphicon-sort-by-attributes-alt:before{content:"\e156"}.factory-bootstrap-433 .glyphicon-unchecked:before{content:"\e157"}.factory-bootstrap-433 .glyphicon-expand:before{content:"\e158"}.factory-bootstrap-433 .glyphicon-collapse-down:before{content:"\e159"}.factory-bootstrap-433 .glyphicon-collapse-up:before{content:"\e160"}.factory-bootstrap-433 .glyphicon-log-in:before{content:"\e161"}.factory-bootstrap-433 .glyphicon-flash:before{content:"\e162"}.factory-bootstrap-433 .glyphicon-log-out:before{content:"\e163"}.factory-bootstrap-433 .glyphicon-new-window:before{content:"\e164"}.factory-bootstrap-433 .glyphicon-record:before{content:"\e165"}.factory-bootstrap-433 .glyphicon-save:before{content:"\e166"}.factory-bootstrap-433 .glyphicon-open:before{content:"\e167"}.factory-bootstrap-433 .glyphicon-saved:before{content:"\e168"}.factory-bootstrap-433 .glyphicon-import:before{content:"\e169"}.factory-bootstrap-433 .glyphicon-export:before{content:"\e170"}.factory-bootstrap-433 .glyphicon-send:before{content:"\e171"}.factory-bootstrap-433 .glyphicon-floppy-disk:before{content:"\e172"}.factory-bootstrap-433 .glyphicon-floppy-saved:before{content:"\e173"}.factory-bootstrap-433 .glyphicon-floppy-remove:before{content:"\e174"}.factory-bootstrap-433 .glyphicon-floppy-save:before{content:"\e175"}.factory-bootstrap-433 .glyphicon-floppy-open:before{content:"\e176"}.factory-bootstrap-433 .glyphicon-credit-card:before{content:"\e177"}.factory-bootstrap-433 .glyphicon-transfer:before{content:"\e178"}.factory-bootstrap-433 .glyphicon-cutlery:before{content:"\e179"}.factory-bootstrap-433 .glyphicon-header:before{content:"\e180"}.factory-bootstrap-433 .glyphicon-compressed:before{content:"\e181"}.factory-bootstrap-433 .glyphicon-earphone:before{content:"\e182"}.factory-bootstrap-433 .glyphicon-phone-alt:before{content:"\e183"}.factory-bootstrap-433 .glyphicon-tower:before{content:"\e184"}.factory-bootstrap-433 .glyphicon-stats:before{content:"\e185"}.factory-bootstrap-433 .glyphicon-sd-video:before{content:"\e186"}.factory-bootstrap-433 .glyphicon-hd-video:before{content:"\e187"}.factory-bootstrap-433 .glyphicon-subtitles:before{content:"\e188"}.factory-bootstrap-433 .glyphicon-sound-stereo:before{content:"\e189"}.factory-bootstrap-433 .glyphicon-sound-dolby:before{content:"\e190"}.factory-bootstrap-433 .glyphicon-sound-5-1:before{content:"\e191"}.factory-bootstrap-433 .glyphicon-sound-6-1:before{content:"\e192"}.factory-bootstrap-433 .glyphicon-sound-7-1:before{content:"\e193"}.factory-bootstrap-433 .glyphicon-copyright-mark:before{content:"\e194"}.factory-bootstrap-433 .glyphicon-registration-mark:before{content:"\e195"}.factory-bootstrap-433 .glyphicon-cloud-download:before{content:"\e197"}.factory-bootstrap-433 .glyphicon-cloud-upload:before{content:"\e198"}.factory-bootstrap-433 .glyphicon-tree-conifer:before{content:"\e199"}.factory-bootstrap-433 .glyphicon-tree-deciduous:before{content:"\e200"}.factory-bootstrap-433 .caret{display:inline-block;width:0;height:0;margin-left:2px;vertical-align:middle;border-top:4px solid;border-right:4px solid transparent;border-left:4px solid transparent}.factory-bootstrap-433 .dropdown{position:relative}.factory-bootstrap-433 .dropdown-toggle:focus{outline:0}.factory-bootstrap-433 .dropdown-menu{position:absolute;top:100%;left:0;z-index:1000;display:none;float:left;min-width:160px;padding:5px 0;margin:2px 0 0;font-size:14px;list-style:none;background-color:#fff;border:1px solid #ccc;border:1px solid rgba(0,0,0,.15);border-radius:4px;-webkit-box-shadow:0 6px 12px rgba(0,0,0,.175);box-shadow:0 6px 12px rgba(0,0,0,.175);background-clip:padding-box}.factory-bootstrap-433 .dropdown-menu.pull-right{right:0;left:auto}.factory-bootstrap-433 .dropdown-menu .divider{height:1px;margin:9px 0;overflow:hidden;background-color:#e5e5e5}.factory-bootstrap-433 .dropdown-menu>li>a{display:block;padding:3px 20px;clear:both;font-weight:400;line-height:1.428571429;color:#333;white-space:nowrap}.factory-bootstrap-433 .dropdown-menu>li>a:focus,.factory-bootstrap-433 .dropdown-menu>li>a:hover{color:#262626;text-decoration:none}.factory-bootstrap-433 .dropdown-menu>.active>a,.factory-bootstrap-433 .dropdown-menu>.active>a:focus,.factory-bootstrap-433 .dropdown-menu>.active>a:hover{color:#fff;text-decoration:none;outline:0}.factory-bootstrap-433 .dropdown-menu>.disabled>a,.factory-bootstrap-433 .dropdown-menu>.disabled>a:focus,.factory-bootstrap-433 .dropdown-menu>.disabled>a:hover{color:#999}.factory-bootstrap-433 .dropdown-menu>.disabled>a:focus,.factory-bootstrap-433 .dropdown-menu>.disabled>a:hover{text-decoration:none;cursor:not-allowed;background-color:transparent;background-image:none;filter:progid:DXImageTransform.Microsoft.gradient(enabled=false)}.factory-bootstrap-433 .open>.dropdown-menu{display:block}.factory-bootstrap-433 .open>a{outline:0}.factory-bootstrap-433 .dropdown-header{display:block;padding:3px 20px;font-size:12px;line-height:1.428571429;color:#999}.factory-bootstrap-433 .dropdown-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:990}.factory-bootstrap-433 .pull-right>.dropdown-menu{right:0;left:auto}.factory-bootstrap-433 .dropup .caret,.factory-bootstrap-433 .navbar-fixed-bottom .dropdown .caret{border-top:0;border-bottom:4px solid;content:""}.factory-bootstrap-433 .dropup .dropdown-menu,.factory-bootstrap-433 .navbar-fixed-bottom .dropdown .dropdown-menu{top:auto;bottom:100%;margin-bottom:1px}@media (min-width:768px){.navbar-right .dropdown-menu{right:0;left:auto}}.factory-bootstrap-433 .btn-group,.factory-bootstrap-433 .btn-group-vertical{position:relative;display:inline-block;vertical-align:middle}.factory-bootstrap-433 .btn-group-vertical>.btn,.factory-bootstrap-433 .btn-group>.btn{position:relative;float:left}.factory-bootstrap-433 .btn-group-vertical>.btn.active,.factory-bootstrap-433 .btn-group-vertical>.btn:active,.factory-bootstrap-433 .btn-group-vertical>.btn:focus,.factory-bootstrap-433 .btn-group-vertical>.btn:hover,.factory-bootstrap-433 .btn-group>.btn.active,.factory-bootstrap-433 .btn-group>.btn:active,.factory-bootstrap-433 .btn-group>.btn:focus,.factory-bootstrap-433 .btn-group>.btn:hover{z-index:2}.factory-bootstrap-433 .btn-group-vertical>.btn:focus,.factory-bootstrap-433 .btn-group>.btn:focus{outline:0}.factory-bootstrap-433 .btn-group .btn+.btn,.factory-bootstrap-433 .btn-group .btn+.btn-group,.factory-bootstrap-433 .btn-group .btn-group+.btn,.factory-bootstrap-433 .btn-group .btn-group+.btn-group{margin-left:-1px}.factory-bootstrap-433 .btn-toolbar:after,.factory-bootstrap-433 .btn-toolbar:before{display:table;content:" "}.factory-bootstrap-433 .btn-toolbar:after{clear:both}.factory-bootstrap-433 .btn-toolbar .btn-group{float:left}.factory-bootstrap-433 .btn-toolbar>.btn+.btn,.factory-bootstrap-433 .btn-toolbar>.btn+.btn-group,.factory-bootstrap-433 .btn-toolbar>.btn-group+.btn,.factory-bootstrap-433 .btn-toolbar>.btn-group+.btn-group{margin-left:5px}.factory-bootstrap-433 .btn-group>.btn:not(:first-child):not(:last-child):not(.dropdown-toggle){border-radius:0}.factory-bootstrap-433 .btn-group>.btn:first-child{margin-left:0}.factory-bootstrap-433 .btn-group>.btn:first-child:not(:last-child):not(.dropdown-toggle){border-top-right-radius:0;border-bottom-right-radius:0}.factory-bootstrap-433 .btn-group>.btn:last-child:not(:first-child),.factory-bootstrap-433 .btn-group>.dropdown-toggle:not(:first-child){border-bottom-left-radius:0;border-top-left-radius:0}.factory-bootstrap-433 .btn-group>.btn-group{float:left}.factory-bootstrap-433 .btn-group>.btn-group:not(:first-child):not(:last-child)>.btn{border-radius:0}.factory-bootstrap-433 .btn-group>.btn-group:first-child>.btn:last-child,.factory-bootstrap-433 .btn-group>.btn-group:first-child>.dropdown-toggle{border-top-right-radius:0;border-bottom-right-radius:0}.factory-bootstrap-433 .btn-group>.btn-group:last-child>.btn:first-child{border-bottom-left-radius:0;border-top-left-radius:0}.factory-bootstrap-433 .btn-group .dropdown-toggle:active,.factory-bootstrap-433 .btn-group.open .dropdown-toggle{outline:0}.factory-bootstrap-433 .btn-group-xs>.btn{padding:1px 5px;font-size:12px;line-height:1.5;border-radius:3px}.factory-bootstrap-433 .btn-group-sm>.btn{padding:5px 10px;font-size:12px;line-height:1.5;border-radius:3px}.factory-bootstrap-433 .btn-group-lg>.btn{padding:10px 16px;font-size:18px;line-height:1.33;border-radius:6px}.factory-bootstrap-433 .btn-group>.btn+.dropdown-toggle{padding-right:8px;padding-left:8px}.factory-bootstrap-433 .btn-group>.btn-lg+.dropdown-toggle{padding-right:12px;padding-left:12px}.factory-bootstrap-433 .btn-group.open .dropdown-toggle{-webkit-box-shadow:inset 0 3px 5px rgba(0,0,0,.125);box-shadow:inset 0 3px 5px rgba(0,0,0,.125)}.factory-bootstrap-433 .btn-group.open .dropdown-toggle.btn-link{-webkit-box-shadow:none;box-shadow:none}.factory-bootstrap-433 .btn-group{border:4px solid #f9f9f9;border-radius:4px}.factory-bootstrap-433 .btn-group .btn.active.value{text-shadow:none;color:#fff;background-color:#33aad5;-webkit-box-shadow:inset 0 1px 1px #0074a2;box-shadow:inset 0 1px 3px #0074a2;border-top:1px solid #0074a2;border-bottom:1px solid #0074a2;border-left:1px solid #0074a2}.factory-bootstrap-433 .btn .caret{margin-left:0}.factory-bootstrap-433 .btn-lg .caret{border-width:5px 5px 0;border-bottom-width:0}.factory-bootstrap-433 .dropup .btn-lg .caret{border-width:0 5px 5px}.factory-bootstrap-433 .btn-group-vertical>.btn,.factory-bootstrap-433 .btn-group-vertical>.btn-group,.factory-bootstrap-433 .btn-group-vertical>.btn-group>.btn{display:block;float:none;width:100%;max-width:100%}.factory-bootstrap-433 .btn-group-vertical>.btn-group:after,.factory-bootstrap-433 .btn-group-vertical>.btn-group:before{display:table;content:" "}.factory-bootstrap-433 .btn-group-vertical>.btn-group:after{clear:both}.factory-bootstrap-433 .btn-group-vertical>.btn-group>.btn{float:none}.factory-bootstrap-433 .btn-group-vertical>.btn+.btn,.factory-bootstrap-433 .btn-group-vertical>.btn+.btn-group,.factory-bootstrap-433 .btn-group-vertical>.btn-group+.btn,.factory-bootstrap-433 .btn-group-vertical>.btn-group+.btn-group{margin-top:-1px;margin-left:0}.factory-bootstrap-433 .btn-group-vertical>.btn:not(:first-child):not(:last-child){border-radius:0}.factory-bootstrap-433 .btn-group-vertical>.btn:first-child:not(:last-child){border-top-right-radius:4px;border-bottom-right-radius:0;border-bottom-left-radius:0}.factory-bootstrap-433 .btn-group-vertical>.btn:last-child:not(:first-child){border-top-right-radius:0;border-bottom-left-radius:4px;border-top-left-radius:0}.factory-bootstrap-433 .btn-group-vertical>.btn-group:not(:first-child):not(:last-child)>.btn{border-radius:0}.factory-bootstrap-433 .btn-group-vertical>.btn-group:first-child>.btn:last-child,.factory-bootstrap-433 .btn-group-vertical>.btn-group:first-child>.dropdown-toggle{border-bottom-right-radius:0;border-bottom-left-radius:0}.factory-bootstrap-433 .btn-group-vertical>.btn-group:last-child>.btn:first-child{border-top-right-radius:0;border-top-left-radius:0}.factory-bootstrap-433 .btn-group-justified{display:table;width:100%;border-collapse:separate;table-layout:fixed}.factory-bootstrap-433 .btn-group-justified>.btn,.factory-bootstrap-433 .btn-group-justified>.btn-group{display:table-cell;float:none;width:1%}.factory-bootstrap-433 .btn-group-justified>.btn-group .btn{width:100%}[data-toggle=buttons]>.btn>input[type=checkbox],[data-toggle=buttons]>.btn>input[type=radio]{display:none}.factory-bootstrap-433 .input-group{position:relative;display:table;border-collapse:separate}.factory-bootstrap-433 .input-group[class*=col-]{float:none;padding-right:0;padding-left:0}.factory-bootstrap-433 .input-group .form-control{width:100%;margin-bottom:0}.factory-bootstrap-433 .input-group-lg>.form-control,.factory-bootstrap-433 .input-group-lg>.input-group-addon,.factory-bootstrap-433 .input-group-lg>.input-group-btn>.btn{height:46px;padding:10px 16px;font-size:18px;line-height:1.33;border-radius:6px}.factory-bootstrap-433 select.input-group-lg>.form-control,.factory-bootstrap-433 select.input-group-lg>.input-group-addon,.factory-bootstrap-433 select.input-group-lg>.input-group-btn>.btn{height:46px;line-height:46px}.factory-bootstrap-433 textarea.input-group-lg>.form-control,.factory-bootstrap-433 textarea.input-group-lg>.input-group-addon,.factory-bootstrap-433 textarea.input-group-lg>.input-group-btn>.btn{height:auto}.factory-bootstrap-433 .input-group-sm>.form-control,.factory-bootstrap-433 .input-group-sm>.input-group-addon,.factory-bootstrap-433 .input-group-sm>.input-group-btn>.btn{height:30px;padding:5px 10px;font-size:12px;line-height:1.5;border-radius:3px}.factory-bootstrap-433 select.input-group-sm>.form-control,.factory-bootstrap-433 select.input-group-sm>.input-group-addon,.factory-bootstrap-433 select.input-group-sm>.input-group-btn>.btn{height:30px;line-height:30px}.factory-bootstrap-433 textarea.input-group-sm>.form-control,.factory-bootstrap-433 textarea.input-group-sm>.input-group-addon,.factory-bootstrap-433 textarea.input-group-sm>.input-group-btn>.btn{height:auto}.factory-bootstrap-433 .input-group .form-control,.factory-bootstrap-433 .input-group-addon,.factory-bootstrap-433 .input-group-btn{display:table-cell}.factory-bootstrap-433 .input-group .form-control:not(:first-child):not(:last-child),.factory-bootstrap-433 .input-group-addon:not(:first-child):not(:last-child),.factory-bootstrap-433 .input-group-btn:not(:first-child):not(:last-child){border-radius:0}.factory-bootstrap-433 .input-group-addon,.factory-bootstrap-433 .input-group-btn{width:1%;white-space:nowrap;vertical-align:middle}.factory-bootstrap-433 .input-group-addon{padding:6px 12px;font-size:14px;font-weight:400;line-height:1;color:#555;text-align:center;background-color:#eee;border:1px solid #ccc;border-radius:4px}.factory-bootstrap-433 .input-group-addon.input-sm{padding:5px 10px;font-size:12px;border-radius:3px}.factory-bootstrap-433 .input-group-addon.input-lg{padding:10px 16px;font-size:18px;border-radius:6px}.factory-bootstrap-433 .input-group-addon input[type=checkbox],.factory-bootstrap-433 .input-group-addon input[type=radio]{margin-top:0}.factory-bootstrap-433 .input-group .form-control:first-child,.factory-bootstrap-433 .input-group-addon:first-child,.factory-bootstrap-433 .input-group-btn:first-child>.btn,.factory-bootstrap-433 .input-group-btn:first-child>.dropdown-toggle,.factory-bootstrap-433 .input-group-btn:last-child>.btn:not(:last-child):not(.dropdown-toggle){border-top-right-radius:0;border-bottom-right-radius:0}.factory-bootstrap-433 .input-group-addon:first-child{border-right:0}.factory-bootstrap-433 .input-group .form-control:last-child,.factory-bootstrap-433 .input-group-addon:last-child,.factory-bootstrap-433 .input-group-btn:first-child>.btn:not(:first-child),.factory-bootstrap-433 .input-group-btn:last-child>.btn,.factory-bootstrap-433 .input-group-btn:last-child>.dropdown-toggle{border-bottom-left-radius:0;border-top-left-radius:0}.factory-bootstrap-433 .input-group-addon:last-child{border-left:0}.factory-bootstrap-433 .input-group-btn{position:relative;white-space:nowrap}.factory-bootstrap-433 .input-group-btn:first-child>.btn{margin-right:-1px}.factory-bootstrap-433 .input-group-btn:last-child>.btn{margin-left:-1px}.factory-bootstrap-433 .input-group-btn>.btn{position:relative}.factory-bootstrap-433 .input-group-btn>.btn+.btn{margin-left:-4px}.factory-bootstrap-433 .input-group-btn>.btn:active,.factory-bootstrap-433 .input-group-btn>.btn:hover{z-index:2}.factory-bootstrap-433 .nav{padding-left:0;margin-bottom:0;list-style:none}.factory-bootstrap-433 .nav:after,.factory-bootstrap-433 .nav:before{display:table;content:" "}.factory-bootstrap-433 .nav:after{clear:both}.factory-bootstrap-433 .nav>li{position:relative;display:block}.factory-bootstrap-433 .nav>li>a{position:relative;display:block;padding:10px 15px}.factory-bootstrap-433 .nav>li>a:focus,.factory-bootstrap-433 .nav>li>a:hover{text-decoration:none;background-color:#eee}.factory-bootstrap-433 .nav>li.disabled>a{color:#999}.factory-bootstrap-433 .nav>li.disabled>a:focus,.factory-bootstrap-433 .nav>li.disabled>a:hover{color:#999;text-decoration:none;cursor:not-allowed;background-color:transparent}.factory-bootstrap-433 .nav .open>a,.factory-bootstrap-433 .nav .open>a:focus,.factory-bootstrap-433 .nav .open>a:hover{background-color:#eee;border-color:#428bca}.factory-bootstrap-433 .nav .nav-divider{height:1px;margin:9px 0;overflow:hidden;background-color:#e5e5e5}.factory-bootstrap-433 .nav>li>a>img{max-width:none}.factory-bootstrap-433 .nav-tabs{border-bottom:1px solid #ddd}.factory-bootstrap-433 .nav-tabs>li{float:left;margin-bottom:-1px}.factory-bootstrap-433 .nav-tabs>li>a{margin-right:2px;line-height:1.428571429;border:1px solid transparent;border-radius:4px 4px 0 0}.factory-bootstrap-433 .nav-tabs>li>a:hover{border-color:#eee #eee #ddd}.factory-bootstrap-433 .nav-tabs>li.active>a,.factory-bootstrap-433 .nav-tabs>li.active>a:focus,.factory-bootstrap-433 .nav-tabs>li.active>a:hover{color:#555;cursor:default;background-color:#fff;border:1px solid #ddd;border-bottom-color:transparent}.factory-bootstrap-433 .nav-tabs.nav-justified{width:100%;border-bottom:0}.factory-bootstrap-433 .nav-tabs.nav-justified>li{float:none}.factory-bootstrap-433 .nav-tabs.nav-justified>li>a{margin-bottom:5px;text-align:center}.factory-bootstrap-433 .nav-tabs.nav-justified>.dropdown .dropdown-menu{top:auto;left:auto}@media (min-width:768px){.nav-tabs.nav-justified>li{display:table-cell;width:1%}.nav-tabs.nav-justified>li>a{margin-bottom:0}}.factory-bootstrap-433 .nav-tabs.nav-justified>li>a{margin-right:0;border-radius:4px}.factory-bootstrap-433 .nav-tabs.nav-justified>.active>a,.factory-bootstrap-433 .nav-tabs.nav-justified>.active>a:focus,.factory-bootstrap-433 .nav-tabs.nav-justified>.active>a:hover{border:1px solid #ddd}@media (min-width:768px){.nav-tabs.nav-justified>li>a{border-bottom:1px solid #ddd;border-radius:4px 4px 0 0}.nav-tabs.nav-justified>.active>a,.nav-tabs.nav-justified>.active>a:focus,.nav-tabs.nav-justified>.active>a:hover{border-bottom-color:#fff}}.factory-bootstrap-433 .nav-pills>li{float:left}.factory-bootstrap-433 .nav-pills>li>a{border-radius:4px}.factory-bootstrap-433 .nav-pills>li+li{margin-left:2px}.factory-bootstrap-433 .nav-pills>li.active>a,.factory-bootstrap-433 .nav-pills>li.active>a:focus,.factory-bootstrap-433 .nav-pills>li.active>a:hover{color:#fff;background-color:#428bca}.factory-bootstrap-433 .nav-stacked>li{float:none}.factory-bootstrap-433 .nav-stacked>li+li{margin-top:2px;margin-left:0}.factory-bootstrap-433 .nav-justified{width:100%}.factory-bootstrap-433 .nav-justified>li{float:none}.factory-bootstrap-433 .nav-justified>li>a{margin-bottom:5px;text-align:center}.factory-bootstrap-433 .nav-justified>.dropdown .dropdown-menu{top:auto;left:auto}@media (min-width:768px){.nav-justified>li{display:table-cell;width:1%}.nav-justified>li>a{margin-bottom:0}}.factory-bootstrap-433 .nav-tabs-justified{border-bottom:0}.factory-bootstrap-433 .nav-tabs-justified>li>a{margin-right:0;border-radius:4px}.factory-bootstrap-433 .nav-tabs-justified>.active>a,.factory-bootstrap-433 .nav-tabs-justified>.active>a:focus,.factory-bootstrap-433 .nav-tabs-justified>.active>a:hover{border:1px solid #ddd}@media (min-width:768px){.nav-tabs-justified>li>a{border-bottom:1px solid #ddd;border-radius:4px 4px 0 0}.nav-tabs-justified>.active>a,.nav-tabs-justified>.active>a:focus,.nav-tabs-justified>.active>a:hover{border-bottom-color:#fff}}.factory-bootstrap-433 .tab-content>.tab-pane{display:none}.factory-bootstrap-433 .tab-content>.active{display:block}.factory-bootstrap-433 .nav-tabs .dropdown-menu{margin-top:-1px;border-top-right-radius:0;border-top-left-radius:0}.factory-bootstrap-433 .navbar{position:relative;min-height:50px;margin-bottom:20px;border:1px solid transparent}.factory-bootstrap-433 .navbar:after,.factory-bootstrap-433 .navbar:before{display:table;content:" "}.factory-bootstrap-433 .navbar:after{clear:both}@media (min-width:768px){.navbar{border-radius:4px}}.factory-bootstrap-433 .navbar-header:after,.factory-bootstrap-433 .navbar-header:before{display:table;content:" "}.factory-bootstrap-433 .navbar-header:after{clear:both}@media (min-width:768px){.navbar-header{float:left}}.factory-bootstrap-433 .navbar-collapse{max-height:340px;padding-right:15px;padding-left:15px;overflow-x:visible;border-top:1px solid transparent;box-shadow:inset 0 1px 0 rgba(255,255,255,.1);-webkit-overflow-scrolling:touch}.factory-bootstrap-433 .navbar-collapse:after,.factory-bootstrap-433 .navbar-collapse:before{display:table;content:" "}.factory-bootstrap-433 .navbar-collapse:after{clear:both}.factory-bootstrap-433 .navbar-collapse.in{overflow-y:auto}@media (min-width:768px){.navbar-collapse{width:auto;border-top:0;box-shadow:none}.navbar-collapse.collapse{display:block!important;height:auto!important;padding-bottom:0;overflow:visible!important}.navbar-collapse.in{overflow-y:visible}.navbar-fixed-bottom .navbar-collapse,.navbar-fixed-top .navbar-collapse,.navbar-static-top .navbar-collapse{padding-right:0;padding-left:0}}.factory-bootstrap-433 .container>.navbar-collapse,.factory-bootstrap-433 .container>.navbar-header{margin-right:-15px;margin-left:-15px}@media (min-width:768px){.container>.navbar-collapse,.container>.navbar-header{margin-right:0;margin-left:0}}.factory-bootstrap-433 .navbar-static-top{z-index:1000;border-width:0 0 1px}@media (min-width:768px){.navbar-static-top{border-radius:0}}.factory-bootstrap-433 .navbar-fixed-bottom,.factory-bootstrap-433 .navbar-fixed-top{position:fixed;right:0;left:0;z-index:1030}@media (min-width:768px){.navbar-fixed-bottom,.navbar-fixed-top{border-radius:0}}.factory-bootstrap-433 .navbar-fixed-top{top:0;border-width:0 0 1px}.factory-bootstrap-433 .navbar-fixed-bottom{bottom:0;margin-bottom:0;border-width:1px 0 0}.factory-bootstrap-433 .navbar-brand{float:left;padding:15px;font-size:18px;line-height:20px}.factory-bootstrap-433 .navbar-brand:focus,.factory-bootstrap-433 .navbar-brand:hover{text-decoration:none}@media (min-width:768px){.navbar>.container .navbar-brand{margin-left:-15px}}.factory-bootstrap-433 .navbar-toggle{position:relative;float:right;padding:9px 10px;margin-top:8px;margin-right:15px;margin-bottom:8px;background-color:transparent;background-image:none;border:1px solid transparent;border-radius:4px}.factory-bootstrap-433 .navbar-toggle .icon-bar{display:block;width:22px;height:2px;border-radius:1px}.factory-bootstrap-433 .navbar-toggle .icon-bar+.icon-bar{margin-top:4px}@media (min-width:768px){.navbar-toggle{display:none}}.factory-bootstrap-433 .navbar-nav{margin:7.5px -15px}.factory-bootstrap-433 .navbar-nav>li>a{padding-top:10px;padding-bottom:10px;line-height:20px}@media (max-width:767px){.navbar-nav .open .dropdown-menu{position:static;float:none;width:auto;margin-top:0;background-color:transparent;border:0;box-shadow:none}.navbar-nav .open .dropdown-menu .dropdown-header,.navbar-nav .open .dropdown-menu>li>a{padding:5px 15px 5px 25px}.navbar-nav .open .dropdown-menu>li>a{line-height:20px}.navbar-nav .open .dropdown-menu>li>a:focus,.navbar-nav .open .dropdown-menu>li>a:hover{background-image:none}}@media (min-width:768px){.navbar-nav{float:left;margin:0}.navbar-nav>li{float:left}.navbar-nav>li>a{padding-top:15px;padding-bottom:15px}.navbar-nav.navbar-right:last-child{margin-right:-15px}}@media (min-width:768px){.navbar-left{float:left!important}.navbar-right{float:right!important}}.factory-bootstrap-433 .navbar-form{padding:10px 15px;margin-top:8px;margin-right:-15px;margin-bottom:8px;margin-left:-15px;border-top:1px solid transparent;border-bottom:1px solid transparent;-webkit-box-shadow:inset 0 1px 0 rgba(255,255,255,.1),0 1px 0 rgba(255,255,255,.1);box-shadow:inset 0 1px 0 rgba(255,255,255,.1),0 1px 0 rgba(255,255,255,.1)}@media (min-width:768px){.navbar-form .form-group{display:inline-block;margin-bottom:0;vertical-align:middle}.navbar-form .form-control{display:inline-block}.navbar-form select.form-control{width:auto}.navbar-form .checkbox,.navbar-form .radio{display:inline-block;padding-left:0;margin-top:0;margin-bottom:0}.navbar-form .checkbox input[type=checkbox],.navbar-form .radio input[type=radio]{float:none;margin-left:0}}@media (max-width:767px){.navbar-form .form-group{margin-bottom:5px}}@media (min-width:768px){.navbar-form{width:auto;padding-top:0;padding-bottom:0;margin-right:0;margin-left:0;border:0;-webkit-box-shadow:none;box-shadow:none}.navbar-form.navbar-right:last-child{margin-right:-15px}}.factory-bootstrap-433 .navbar-nav>li>.dropdown-menu{margin-top:0;border-top-right-radius:0;border-top-left-radius:0}.factory-bootstrap-433 .navbar-fixed-bottom .navbar-nav>li>.dropdown-menu{border-bottom-right-radius:0;border-bottom-left-radius:0}.factory-bootstrap-433 .navbar-nav.pull-right>li>.dropdown-menu,.factory-bootstrap-433 .navbar-nav>li>.dropdown-menu.pull-right{right:0;left:auto}.factory-bootstrap-433 .navbar-btn{margin-top:8px;margin-bottom:8px}.factory-bootstrap-433 .navbar-btn.btn-sm{margin-top:10px;margin-bottom:10px}.factory-bootstrap-433 .navbar-btn.btn-xs{margin-top:14px;margin-bottom:14px}.factory-bootstrap-433 .navbar-text{margin-top:15px;margin-bottom:15px}@media (min-width:768px){.navbar-text{float:left;margin-right:15px;margin-left:15px}.navbar-text.navbar-right:last-child{margin-right:0}}.factory-bootstrap-433 .navbar-default{background-color:#f8f8f8;border-color:#e7e7e7}.factory-bootstrap-433 .navbar-default .navbar-brand{color:#777}.factory-bootstrap-433 .navbar-default .navbar-brand:focus,.factory-bootstrap-433 .navbar-default .navbar-brand:hover{color:#5e5e5e;background-color:transparent}.factory-bootstrap-433 .navbar-default .navbar-nav>li>a,.factory-bootstrap-433 .navbar-default .navbar-text{color:#777}.factory-bootstrap-433 .navbar-default .navbar-nav>li>a:focus,.factory-bootstrap-433 .navbar-default .navbar-nav>li>a:hover{color:#333;background-color:transparent}.factory-bootstrap-433 .navbar-default .navbar-nav>.active>a,.factory-bootstrap-433 .navbar-default .navbar-nav>.active>a:focus,.factory-bootstrap-433 .navbar-default .navbar-nav>.active>a:hover{color:#555;background-color:#e7e7e7}.factory-bootstrap-433 .navbar-default .navbar-nav>.disabled>a,.factory-bootstrap-433 .navbar-default .navbar-nav>.disabled>a:focus,.factory-bootstrap-433 .navbar-default .navbar-nav>.disabled>a:hover{color:#ccc;background-color:transparent}.factory-bootstrap-433 .navbar-default .navbar-toggle{border-color:#ddd}.factory-bootstrap-433 .navbar-default .navbar-toggle:focus,.factory-bootstrap-433 .navbar-default .navbar-toggle:hover{background-color:#ddd}.factory-bootstrap-433 .navbar-default .navbar-toggle .icon-bar{background-color:#ccc}.factory-bootstrap-433 .navbar-default .navbar-collapse,.factory-bootstrap-433 .navbar-default .navbar-form{border-color:#e7e7e7}.factory-bootstrap-433 .navbar-default .navbar-nav>.open>a,.factory-bootstrap-433 .navbar-default .navbar-nav>.open>a:focus,.factory-bootstrap-433 .navbar-default .navbar-nav>.open>a:hover{color:#555;background-color:#e7e7e7}@media (max-width:767px){.navbar-default .navbar-nav .open .dropdown-menu>li>a{color:#777}.navbar-default .navbar-nav .open .dropdown-menu>li>a:focus,.navbar-default .navbar-nav .open .dropdown-menu>li>a:hover{color:#333;background-color:transparent}.navbar-default .navbar-nav .open .dropdown-menu>.active>a,.navbar-default .navbar-nav .open .dropdown-menu>.active>a:focus,.navbar-default .navbar-nav .open .dropdown-menu>.active>a:hover{color:#555;background-color:#e7e7e7}.navbar-default .navbar-nav .open .dropdown-menu>.disabled>a,.navbar-default .navbar-nav .open .dropdown-menu>.disabled>a:focus,.navbar-default .navbar-nav .open .dropdown-menu>.disabled>a:hover{color:#ccc;background-color:transparent}}.factory-bootstrap-433 .navbar-default .navbar-link{color:#777}.factory-bootstrap-433 .navbar-default .navbar-link:hover{color:#333}.factory-bootstrap-433 .navbar-inverse{background-color:#222;border-color:#080808}.factory-bootstrap-433 .navbar-inverse .navbar-brand{color:#999}.factory-bootstrap-433 .navbar-inverse .navbar-brand:focus,.factory-bootstrap-433 .navbar-inverse .navbar-brand:hover{color:#fff;background-color:transparent}.factory-bootstrap-433 .navbar-inverse .navbar-nav>li>a,.factory-bootstrap-433 .navbar-inverse .navbar-text{color:#999}.factory-bootstrap-433 .navbar-inverse .navbar-nav>li>a:focus,.factory-bootstrap-433 .navbar-inverse .navbar-nav>li>a:hover{color:#fff;background-color:transparent}.factory-bootstrap-433 .navbar-inverse .navbar-nav>.active>a,.factory-bootstrap-433 .navbar-inverse .navbar-nav>.active>a:focus,.factory-bootstrap-433 .navbar-inverse .navbar-nav>.active>a:hover{color:#fff;background-color:#080808}.factory-bootstrap-433 .navbar-inverse .navbar-nav>.disabled>a,.factory-bootstrap-433 .navbar-inverse .navbar-nav>.disabled>a:focus,.factory-bootstrap-433 .navbar-inverse .navbar-nav>.disabled>a:hover{color:#444;background-color:transparent}.factory-bootstrap-433 .navbar-inverse .navbar-toggle{border-color:#333}.factory-bootstrap-433 .navbar-inverse .navbar-toggle:focus,.factory-bootstrap-433 .navbar-inverse .navbar-toggle:hover{background-color:#333}.factory-bootstrap-433 .navbar-inverse .navbar-toggle .icon-bar{background-color:#fff}.factory-bootstrap-433 .navbar-inverse .navbar-collapse,.factory-bootstrap-433 .navbar-inverse .navbar-form{border-color:#101010}.factory-bootstrap-433 .navbar-inverse .navbar-nav>.open>a,.factory-bootstrap-433 .navbar-inverse .navbar-nav>.open>a:focus,.factory-bootstrap-433 .navbar-inverse .navbar-nav>.open>a:hover{color:#fff;background-color:#080808}@media (max-width:767px){.navbar-inverse .navbar-nav .open .dropdown-menu>.dropdown-header{border-color:#080808}.navbar-inverse .navbar-nav .open .dropdown-menu .divider{background-color:#080808}.navbar-inverse .navbar-nav .open .dropdown-menu>li>a{color:#999}.navbar-inverse .navbar-nav .open .dropdown-menu>li>a:focus,.navbar-inverse .navbar-nav .open .dropdown-menu>li>a:hover{color:#fff;background-color:transparent}.navbar-inverse .navbar-nav .open .dropdown-menu>.active>a,.navbar-inverse .navbar-nav .open .dropdown-menu>.active>a:focus,.navbar-inverse .navbar-nav .open .dropdown-menu>.active>a:hover{color:#fff;background-color:#080808}.navbar-inverse .navbar-nav .open .dropdown-menu>.disabled>a,.navbar-inverse .navbar-nav .open .dropdown-menu>.disabled>a:focus,.navbar-inverse .navbar-nav .open .dropdown-menu>.disabled>a:hover{color:#444;background-color:transparent}}.factory-bootstrap-433 .navbar-inverse .navbar-link{color:#999}.factory-bootstrap-433 .navbar-inverse .navbar-link:hover{color:#fff}.factory-bootstrap-433 .breadcrumb{padding:8px 15px;margin-bottom:20px;list-style:none;background-color:#f5f5f5;border-radius:4px}.factory-bootstrap-433 .breadcrumb>li{display:inline-block}.factory-bootstrap-433 .breadcrumb>li+li:before{padding:0 5px;color:#ccc;content:"/\00a0"}.factory-bootstrap-433 .breadcrumb>.active{color:#999}.factory-bootstrap-433 .pagination{display:inline-block;padding-left:0;margin:20px 0;border-radius:4px}.factory-bootstrap-433 .pagination>li{display:inline}.factory-bootstrap-433 .pagination>li>a,.factory-bootstrap-433 .pagination>li>span{position:relative;float:left;padding:6px 12px;margin-left:-1px;line-height:1.428571429;text-decoration:none;background-color:#fff;border:1px solid #ddd}.factory-bootstrap-433 .pagination>li:first-child>a,.factory-bootstrap-433 .pagination>li:first-child>span{margin-left:0;border-bottom-left-radius:4px;border-top-left-radius:4px}.factory-bootstrap-433 .pagination>li:last-child>a,.factory-bootstrap-433 .pagination>li:last-child>span{border-top-right-radius:4px;border-bottom-right-radius:4px}.factory-bootstrap-433 .pagination>li>a:focus,.factory-bootstrap-433 .pagination>li>a:hover,.factory-bootstrap-433 .pagination>li>span:focus,.factory-bootstrap-433 .pagination>li>span:hover{background-color:#eee}.factory-bootstrap-433 .pagination>.active>a,.factory-bootstrap-433 .pagination>.active>a:focus,.factory-bootstrap-433 .pagination>.active>a:hover,.factory-bootstrap-433 .pagination>.active>span,.factory-bootstrap-433 .pagination>.active>span:focus,.factory-bootstrap-433 .pagination>.active>span:hover{z-index:2;color:#fff;cursor:default;background-color:#1e8cbe;border-color:#0074a2}.factory-bootstrap-433 .pagination>.disabled>a,.factory-bootstrap-433 .pagination>.disabled>a:focus,.factory-bootstrap-433 .pagination>.disabled>a:hover,.factory-bootstrap-433 .pagination>.disabled>span,.factory-bootstrap-433 .pagination>.disabled>span:focus,.factory-bootstrap-433 .pagination>.disabled>span:hover{color:#999;cursor:not-allowed;background-color:#fff;border-color:#ddd}.factory-bootstrap-433 .pagination-lg>li>a,.factory-bootstrap-433 .pagination-lg>li>span{padding:10px 16px;font-size:18px}.factory-bootstrap-433 .pagination-lg>li:first-child>a,.factory-bootstrap-433 .pagination-lg>li:first-child>span{border-bottom-left-radius:6px;border-top-left-radius:6px}.factory-bootstrap-433 .pagination-lg>li:last-child>a,.factory-bootstrap-433 .pagination-lg>li:last-child>span{border-top-right-radius:6px;border-bottom-right-radius:6px}.factory-bootstrap-433 .pagination-sm>li>a,.factory-bootstrap-433 .pagination-sm>li>span{padding:5px 10px;font-size:12px}.factory-bootstrap-433 .pagination-sm>li:first-child>a,.factory-bootstrap-433 .pagination-sm>li:first-child>span{border-bottom-left-radius:3px;border-top-left-radius:3px}.factory-bootstrap-433 .pagination-sm>li:last-child>a,.factory-bootstrap-433 .pagination-sm>li:last-child>span{border-top-right-radius:3px;border-bottom-right-radius:3px}.factory-bootstrap-433 .pager{padding-left:0;margin:20px 0;text-align:center;list-style:none}.factory-bootstrap-433 .pager:after,.factory-bootstrap-433 .pager:before{display:table;content:" "}.factory-bootstrap-433 .pager:after{clear:both}.factory-bootstrap-433 .pager li{display:inline}.factory-bootstrap-433 .pager li>a,.factory-bootstrap-433 .pager li>span{display:inline-block;padding:5px 14px;background-color:#fff;border:1px solid #ddd;border-radius:15px}.factory-bootstrap-433 .pager li>a:focus,.factory-bootstrap-433 .pager li>a:hover{text-decoration:none;background-color:#eee}.factory-bootstrap-433 .pager .next>a,.factory-bootstrap-433 .pager .next>span{float:right}.factory-bootstrap-433 .pager .previous>a,.factory-bootstrap-433 .pager .previous>span{float:left}.factory-bootstrap-433 .pager .disabled>a,.factory-bootstrap-433 .pager .disabled>a:focus,.factory-bootstrap-433 .pager .disabled>a:hover,.factory-bootstrap-433 .pager .disabled>span{color:#999;cursor:not-allowed;background-color:#fff}.factory-bootstrap-433 .label{display:inline;padding:.2em .6em .3em;font-size:75%;font-weight:700;line-height:1;color:#fff;text-align:center;white-space:nowrap;vertical-align:baseline;border-radius:.25em}.factory-bootstrap-433 .label[href]:focus,.factory-bootstrap-433 .label[href]:hover{color:#fff;text-decoration:none;cursor:pointer}.factory-bootstrap-433 .label:empty{display:none}.factory-bootstrap-433 .btn .label{position:relative;top:-1px}.factory-bootstrap-433 .label-default{background-color:#999}.factory-bootstrap-433 .label-default[href]:focus,.factory-bootstrap-433 .label-default[href]:hover{background-color:gray}.factory-bootstrap-433 .label-primary{background-color:#428bca}.factory-bootstrap-433 .label-primary[href]:focus,.factory-bootstrap-433 .label-primary[href]:hover{background-color:#3071a9}.factory-bootstrap-433 .label-success{background-color:#5cb85c}.factory-bootstrap-433 .label-success[href]:focus,.factory-bootstrap-433 .label-success[href]:hover{background-color:#449d44}.factory-bootstrap-433 .label-info{background-color:#5bc0de}.factory-bootstrap-433 .label-info[href]:focus,.factory-bootstrap-433 .label-info[href]:hover{background-color:#31b0d5}.factory-bootstrap-433 .label-warning{background-color:#f0ad4e}.factory-bootstrap-433 .label-warning[href]:focus,.factory-bootstrap-433 .label-warning[href]:hover{background-color:#ec971f}.factory-bootstrap-433 .label-danger{background-color:#d9534f}.factory-bootstrap-433 .label-danger[href]:focus,.factory-bootstrap-433 .label-danger[href]:hover{background-color:#c9302c}.factory-bootstrap-433 .badge{display:inline-block;min-width:10px;padding:3px 7px;font-size:12px;font-weight:700;line-height:1;color:#fff;text-align:center;white-space:nowrap;vertical-align:baseline;background-color:#999;border-radius:10px}.factory-bootstrap-433 .badge:empty{display:none}.factory-bootstrap-433 .btn .badge{position:relative;top:-1px}.factory-bootstrap-433 a.badge:focus,.factory-bootstrap-433 a.badge:hover{color:#fff;text-decoration:none;cursor:pointer}.factory-bootstrap-433 .nav-pills>.active>a>.badge,.factory-bootstrap-433 a.list-group-item.active>.badge{color:#428bca;background-color:#fff}.factory-bootstrap-433 .nav-pills>li>a>.badge{margin-left:3px}.factory-bootstrap-433 .jumbotron{padding:30px;margin-bottom:30px;font-size:21px;font-weight:200;line-height:2.1428571435;color:inherit;background-color:#eee}.factory-bootstrap-433 .jumbotron .h1,.factory-bootstrap-433 .jumbotron h1{line-height:1;color:inherit}.factory-bootstrap-433 .jumbotron p{line-height:1.4}.factory-bootstrap-433 .container .jumbotron{border-radius:6px}.factory-bootstrap-433 .jumbotron .container{max-width:100%}@media screen and (min-width:768px){.jumbotron{padding-top:48px;padding-bottom:48px}.container .jumbotron{padding-right:60px;padding-left:60px}.jumbotron .h1,.jumbotron h1{font-size:63px}}.factory-bootstrap-433 .thumbnail{display:block;padding:4px;margin-bottom:20px;line-height:1.428571429;background-color:#fff;border:1px solid #ddd;border-radius:4px;-webkit-transition:all .2s ease-in-out;transition:all .2s ease-in-out}.factory-bootstrap-433 .thumbnail a>img,.factory-bootstrap-433 .thumbnail>img{display:block;height:auto;max-width:100%;margin-right:auto;margin-left:auto}.factory-bootstrap-433 a.thumbnail.active,.factory-bootstrap-433 a.thumbnail:focus,.factory-bootstrap-433 a.thumbnail:hover{border-color:#428bca}.factory-bootstrap-433 .thumbnail .caption{padding:9px;color:#333}.factory-bootstrap-433 .alert{border:1px solid transparent;border-radius:4px}.factory-bootstrap-433 .alert h4{margin-top:0;color:inherit}.factory-bootstrap-433 .alert .alert-link{font-weight:700}.factory-bootstrap-433 .alert>p,.factory-bootstrap-433 .alert>ul{margin-bottom:0}.factory-bootstrap-433 .alert>p+p{margin-top:5px}.factory-bootstrap-433 .alert-dismissable{padding-right:35px}.factory-bootstrap-433 .alert-dismissable .close{position:relative;top:-2px;right:-21px;color:inherit}.factory-bootstrap-433 .alert-info{color:#31708f;background-color:#d9edf7}.factory-bootstrap-433 .alert-info hr{border-top-color:#a6e1ec}.factory-bootstrap-433 .alert-info .alert-link{color:#245269}@-webkit-keyframes progress-bar-stripes{from{background-position:40px 0}to{background-position:0 0}}@keyframes progress-bar-stripes{from{background-position:40px 0}to{background-position:0 0}}.factory-bootstrap-433 .progress{height:20px;margin-bottom:20px;overflow:hidden;background-color:#f5f5f5;border-radius:4px;-webkit-box-shadow:inset 0 1px 2px rgba(0,0,0,.1);box-shadow:inset 0 1px 2px rgba(0,0,0,.1)}.factory-bootstrap-433 .progress-bar{float:left;width:0;height:100%;font-size:12px;line-height:20px;color:#fff;text-align:center;background-color:#2ea2cc;-webkit-box-shadow:inset 0 -1px 0 rgba(0,0,0,.15);box-shadow:inset 0 -1px 0 rgba(0,0,0,.15);-webkit-transition:width .6s ease;transition:width .6s ease}.factory-bootstrap-433 .progress-striped .progress-bar{background-image:-webkit-linear-gradient(45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent);background-image:linear-gradient(45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent);background-size:40px 40px}.factory-bootstrap-433 .progress.active .progress-bar{-webkit-animation:progress-bar-stripes 2s linear infinite;animation:progress-bar-stripes 2s linear infinite}.factory-bootstrap-433 .progress-bar-success{background-color:#5cb85c}.factory-bootstrap-433 .progress-striped .progress-bar-success{background-image:-webkit-linear-gradient(45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent);background-image:linear-gradient(45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent)}.factory-bootstrap-433 .progress-bar-info{background-color:#5bc0de}.factory-bootstrap-433 .progress-striped .progress-bar-info{background-image:-webkit-linear-gradient(45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent);background-image:linear-gradient(45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent)}.factory-bootstrap-433 .progress-bar-warning{background-color:#f0ad4e}.factory-bootstrap-433 .progress-striped .progress-bar-warning{background-image:-webkit-linear-gradient(45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent);background-image:linear-gradient(45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent)}.factory-bootstrap-433 .progress-bar-danger{background-color:#d9534f}.factory-bootstrap-433 .progress-striped .progress-bar-danger{background-image:-webkit-linear-gradient(45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent);background-image:linear-gradient(45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent)}.factory-bootstrap-433 .media,.factory-bootstrap-433 .media-body{overflow:hidden;zoom:1}.factory-bootstrap-433 .media,.factory-bootstrap-433 .media .media{margin-top:15px}.factory-bootstrap-433 .media:first-child{margin-top:0}.factory-bootstrap-433 .media-object{display:block}.factory-bootstrap-433 .media-heading{margin:0 0 5px}.factory-bootstrap-433 .media>.pull-left{margin-right:10px}.factory-bootstrap-433 .media>.pull-right{margin-left:10px}.factory-bootstrap-433 .media-list{padding-left:0;list-style:none}.factory-bootstrap-433 .list-group{padding-left:0;margin-bottom:20px}.factory-bootstrap-433 .list-group-item{position:relative;display:block;padding:10px 15px;margin-bottom:-1px;background-color:#fff;border:1px solid #ddd}.factory-bootstrap-433 .list-group-item:first-child{border-top-right-radius:4px;border-top-left-radius:4px}.factory-bootstrap-433 .list-group-item:last-child{margin-bottom:0;border-bottom-right-radius:4px;border-bottom-left-radius:4px}.factory-bootstrap-433 .list-group-item>.badge{float:right}.factory-bootstrap-433 .list-group-item>.badge+.badge{margin-right:5px}.factory-bootstrap-433 a.list-group-item{color:#555}.factory-bootstrap-433 a.list-group-item .list-group-item-heading{color:#333}.factory-bootstrap-433 a.list-group-item:focus,.factory-bootstrap-433 a.list-group-item:hover{text-decoration:none;background-color:#f5f5f5}.factory-bootstrap-433 a.list-group-item.active,.factory-bootstrap-433 a.list-group-item.active:focus,.factory-bootstrap-433 a.list-group-item.active:hover{z-index:2;color:#fff;background-color:#428bca;border-color:#428bca}.factory-bootstrap-433 a.list-group-item.active .list-group-item-heading,.factory-bootstrap-433 a.list-group-item.active:focus .list-group-item-heading,.factory-bootstrap-433 a.list-group-item.active:hover .list-group-item-heading{color:inherit}.factory-bootstrap-433 a.list-group-item.active .list-group-item-text,.factory-bootstrap-433 a.list-group-item.active:focus .list-group-item-text,.factory-bootstrap-433 a.list-group-item.active:hover .list-group-item-text{color:#e1edf7}.factory-bootstrap-433 .list-group-item-heading{margin-top:0;margin-bottom:5px}.factory-bootstrap-433 .list-group-item-text{margin-bottom:0;line-height:1.3}.factory-bootstrap-433 .panel{margin-bottom:20px;background-color:#fff;border:1px solid transparent;border-radius:4px}.factory-bootstrap-433 .panel-body{padding:15px}.factory-bootstrap-433 .panel-body:after,.factory-bootstrap-433 .panel-body:before{display:table;content:" "}.factory-bootstrap-433 .panel-body:after{clear:both}.factory-bootstrap-433 .panel>.list-group{margin-bottom:0}.factory-bootstrap-433 .panel>.list-group .list-group-item{border-width:1px 0}.factory-bootstrap-433 .panel>.list-group .list-group-item:first-child{border-top-right-radius:0;border-top-left-radius:0}.factory-bootstrap-433 .panel>.list-group .list-group-item:last-child{border-bottom:0}.factory-bootstrap-433 .panel-heading+.list-group .list-group-item:first-child{border-top-width:0}.factory-bootstrap-433 .panel>.table,.factory-bootstrap-433 .panel>.table-responsive>.table{margin-bottom:0}.factory-bootstrap-433 .panel>.panel-body+.table,.factory-bootstrap-433 .panel>.panel-body+.table-responsive{border-top:1px solid #ddd}.factory-bootstrap-433 .panel>.table>tbody:first-child td,.factory-bootstrap-433 .panel>.table>tbody:first-child th{border-top:0}.factory-bootstrap-433 .panel>.table-bordered,.factory-bootstrap-433 .panel>.table-responsive>.table-bordered{border:0}.factory-bootstrap-433 .panel>.table-bordered>tbody>tr>td:first-child,.factory-bootstrap-433 .panel>.table-bordered>tbody>tr>th:first-child,.factory-bootstrap-433 .panel>.table-bordered>tfoot>tr>td:first-child,.factory-bootstrap-433 .panel>.table-bordered>tfoot>tr>th:first-child,.factory-bootstrap-433 .panel>.table-bordered>thead>tr>td:first-child,.factory-bootstrap-433 .panel>.table-bordered>thead>tr>th:first-child,.factory-bootstrap-433 .panel>.table-responsive>.table-bordered>tbody>tr>td:first-child,.factory-bootstrap-433 .panel>.table-responsive>.table-bordered>tbody>tr>th:first-child,.factory-bootstrap-433 .panel>.table-responsive>.table-bordered>tfoot>tr>td:first-child,.factory-bootstrap-433 .panel>.table-responsive>.table-bordered>tfoot>tr>th:first-child,.factory-bootstrap-433 .panel>.table-responsive>.table-bordered>thead>tr>td:first-child,.factory-bootstrap-433 .panel>.table-responsive>.table-bordered>thead>tr>th:first-child{border-left:0}.factory-bootstrap-433 .panel>.table-bordered>tbody>tr>td:last-child,.factory-bootstrap-433 .panel>.table-bordered>tbody>tr>th:last-child,.factory-bootstrap-433 .panel>.table-bordered>tfoot>tr>td:last-child,.factory-bootstrap-433 .panel>.table-bordered>tfoot>tr>th:last-child,.factory-bootstrap-433 .panel>.table-bordered>thead>tr>td:last-child,.factory-bootstrap-433 .panel>.table-bordered>thead>tr>th:last-child,.factory-bootstrap-433 .panel>.table-responsive>.table-bordered>tbody>tr>td:last-child,.factory-bootstrap-433 .panel>.table-responsive>.table-bordered>tbody>tr>th:last-child,.factory-bootstrap-433 .panel>.table-responsive>.table-bordered>tfoot>tr>td:last-child,.factory-bootstrap-433 .panel>.table-responsive>.table-bordered>tfoot>tr>th:last-child,.factory-bootstrap-433 .panel>.table-responsive>.table-bordered>thead>tr>td:last-child,.factory-bootstrap-433 .panel>.table-responsive>.table-bordered>thead>tr>th:last-child{border-right:0}.factory-bootstrap-433 .panel>.table-bordered>tbody>tr:last-child>td,.factory-bootstrap-433 .panel>.table-bordered>tbody>tr:last-child>th,.factory-bootstrap-433 .panel>.table-bordered>tfoot>tr:last-child>td,.factory-bootstrap-433 .panel>.table-bordered>tfoot>tr:last-child>th,.factory-bootstrap-433 .panel>.table-bordered>thead>tr:last-child>td,.factory-bootstrap-433 .panel>.table-bordered>thead>tr:last-child>th,.factory-bootstrap-433 .panel>.table-responsive>.table-bordered>tbody>tr:last-child>td,.factory-bootstrap-433 .panel>.table-responsive>.table-bordered>tbody>tr:last-child>th,.factory-bootstrap-433 .panel>.table-responsive>.table-bordered>tfoot>tr:last-child>td,.factory-bootstrap-433 .panel>.table-responsive>.table-bordered>tfoot>tr:last-child>th,.factory-bootstrap-433 .panel>.table-responsive>.table-bordered>thead>tr:last-child>td,.factory-bootstrap-433 .panel>.table-responsive>.table-bordered>thead>tr:last-child>th{border-bottom:0}.factory-bootstrap-433 .panel>.table-responsive{margin-bottom:0;border:0}.factory-bootstrap-433 .panel-heading{padding:10px 15px;border-bottom:1px solid transparent;border-top-right-radius:3px;border-top-left-radius:3px}.factory-bootstrap-433 .panel-heading>.dropdown .dropdown-toggle{color:inherit}.factory-bootstrap-433 .panel-title{margin-top:0;margin-bottom:0;font-size:16px;color:inherit}.factory-bootstrap-433 .panel-title>a{color:inherit}.factory-bootstrap-433 .panel-footer{padding:10px 15px;background-color:#f5f5f5;border-top:1px solid #ddd;border-bottom-right-radius:3px;border-bottom-left-radius:3px}.factory-bootstrap-433 .panel-group .panel{margin-bottom:0;overflow:hidden;border-radius:4px}.factory-bootstrap-433 .panel-group .panel+.panel{margin-top:5px}.factory-bootstrap-433 .panel-group .panel-heading{border-bottom:0}.factory-bootstrap-433 .panel-group .panel-heading+.panel-collapse .panel-body{border-top:1px solid #ddd}.factory-bootstrap-433 .panel-group .panel-footer{border-top:0}.factory-bootstrap-433 .panel-group .panel-footer+.panel-collapse .panel-body{border-bottom:1px solid #ddd}.factory-bootstrap-433 .panel-default{border-color:#ddd}.factory-bootstrap-433 .panel-default>.panel-heading{color:#333;background-color:#f5f5f5;border-color:#ddd}.factory-bootstrap-433 .panel-default>.panel-heading+.panel-collapse .panel-body{border-top-color:#ddd}.factory-bootstrap-433 .panel-default>.panel-footer+.panel-collapse .panel-body{border-bottom-color:#ddd}.factory-bootstrap-433 .panel-primary{border-color:#428bca}.factory-bootstrap-433 .panel-primary>.panel-heading{color:#fff;background-color:#428bca;border-color:#428bca}.factory-bootstrap-433 .panel-primary>.panel-heading+.panel-collapse .panel-body{border-top-color:#428bca}.factory-bootstrap-433 .panel-primary>.panel-footer+.panel-collapse .panel-body{border-bottom-color:#428bca}.factory-bootstrap-433 .panel-success{border-color:#d6e9c6}.factory-bootstrap-433 .panel-success>.panel-heading{color:#3c763d;background-color:#dff0d8;border-color:#d6e9c6}.factory-bootstrap-433 .panel-success>.panel-heading+.panel-collapse .panel-body{border-top-color:#d6e9c6}.factory-bootstrap-433 .panel-success>.panel-footer+.panel-collapse .panel-body{border-bottom-color:#d6e9c6}.factory-bootstrap-433 .panel-warning{border-color:#faebcc}.factory-bootstrap-433 .panel-warning>.panel-heading{color:#8a6d3b;background-color:#fcf8e3;border-color:#faebcc}.factory-bootstrap-433 .panel-warning>.panel-heading+.panel-collapse .panel-body{border-top-color:#faebcc}.factory-bootstrap-433 .panel-warning>.panel-footer+.panel-collapse .panel-body{border-bottom-color:#faebcc}.factory-bootstrap-433 .panel-danger{border-color:#ebccd1}.factory-bootstrap-433 .panel-danger>.panel-heading{color:#a94442;background-color:#f2dede;border-color:#ebccd1}.factory-bootstrap-433 .panel-danger>.panel-heading+.panel-collapse .panel-body{border-top-color:#ebccd1}.factory-bootstrap-433 .panel-danger>.panel-footer+.panel-collapse .panel-body{border-bottom-color:#ebccd1}.factory-bootstrap-433 .panel-info{border-color:#bce8f1}.factory-bootstrap-433 .panel-info>.panel-heading{color:#31708f;background-color:#d9edf7;border-color:#bce8f1}.factory-bootstrap-433 .panel-info>.panel-heading+.panel-collapse .panel-body{border-top-color:#bce8f1}.factory-bootstrap-433 .panel-info>.panel-footer+.panel-collapse .panel-body{border-bottom-color:#bce8f1}.factory-bootstrap-433 .well{min-height:20px;padding:19px;margin-bottom:20px;background-color:#f5f5f5;border:1px solid #e3e3e3;border-radius:4px}.factory-bootstrap-433 .well blockquote{border-color:#ddd;border-color:rgba(0,0,0,.15)}.factory-bootstrap-433 .well-lg{padding:24px;border-radius:6px}.factory-bootstrap-433 .well-sm{padding:9px;border-radius:3px}.factory-bootstrap-433 .close{float:right;font-size:14px;font-weight:700;line-height:1;color:#000;text-shadow:0 1px 0 #fff;opacity:.3;filter:alpha(opacity=30)}.factory-bootstrap-433 .alert .close{position:relative;top:-8px;right:-7px}.factory-bootstrap-433 .close:focus,.factory-bootstrap-433 .close:hover{color:#000;text-decoration:none;cursor:pointer;opacity:.5;filter:alpha(opacity=50)}.factory-bootstrap-433 button.close{padding:0;cursor:pointer;background:0 0;border:0;-webkit-appearance:none}.factory-bootstrap-433 .modal-open{overflow:hidden}.factory-bootstrap-433 .modal{position:fixed;top:0;right:0;bottom:0;left:0;z-index:1040;display:none;overflow:auto;overflow-y:scroll;width:auto;margin-left:0;background-color:transparent;border:0}.factory-bootstrap-433 .modal.fade .modal-dialog{-webkit-transform:translate(0,-25%);-ms-transform:translate(0,-25%);transform:translate(0,-25%);-webkit-transition:-webkit-transform .3s ease-out;-moz-transition:-moz-transform .3s ease-out;-o-transition:-o-transform .3s ease-out;transition:transform .3s ease-out}.factory-bootstrap-433 .modal.in .modal-dialog{-webkit-transform:translate(0,0);-ms-transform:translate(0,0);transform:translate(0,0)}.factory-bootstrap-433 .modal-dialog{position:relative;z-index:1050;width:auto;margin:10px}.factory-bootstrap-433 .modal-content{position:relative;background-color:#fff;border:1px solid #999;border:1px solid rgba(0,0,0,.2);border-radius:6px;outline:0;-webkit-box-shadow:0 3px 9px rgba(0,0,0,.5);box-shadow:0 3px 9px rgba(0,0,0,.5);background-clip:padding-box}.factory-bootstrap-433 .modal-backdrop,.factory-bootstrap-433-modal-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:1030;background-color:#000}.factory-bootstrap-433 .modal-backdrop.fade,.factory-bootstrap-433-modal-backdrop.fade{opacity:0;filter:alpha(opacity=0)}.factory-bootstrap-433 .modal-backdrop.in,.factory-bootstrap-433-modal-backdrop.in{opacity:.5;filter:alpha(opacity=50)}.factory-bootstrap-433 .modal-header{min-height:16.428571429px;padding:15px;border-bottom:1px solid #e5e5e5}.factory-bootstrap-433 .modal-header .close{margin-top:-2px}.factory-bootstrap-433 .modal-title{margin:0;line-height:1.428571429}.factory-bootstrap-433 .modal-body{position:relative;padding:20px;max-height:none}.factory-bootstrap-433 .modal-footer{padding:19px 20px 20px;margin-top:15px;text-align:right;border-top:1px solid #e5e5e5}.factory-bootstrap-433 .modal-footer:after,.factory-bootstrap-433 .modal-footer:before{display:table;content:" "}.factory-bootstrap-433 .modal-footer:after{clear:both}.factory-bootstrap-433 .modal-footer .btn+.btn{margin-bottom:0;margin-left:5px}.factory-bootstrap-433 .modal-footer .btn-group .btn+.btn{margin-left:-1px}.factory-bootstrap-433 .modal-footer .btn-block+.btn-block{margin-left:0}@media screen and (min-width:768px){.factory-bootstrap-433 .modal-dialog{width:600px;margin:30px auto}.factory-bootstrap-433 .modal-content{-webkit-box-shadow:0 5px 15px rgba(0,0,0,.5);box-shadow:0 5px 15px rgba(0,0,0,.5)}}.factory-bootstrap-433 .tooltip{position:absolute;z-index:1030;display:block;font-size:12px;line-height:1.4;opacity:0;filter:alpha(opacity=0);visibility:visible}.factory-bootstrap-433 .tooltip.in{opacity:.9;filter:alpha(opacity=90)}.factory-bootstrap-433 .tooltip.top{padding:5px 0;margin-top:-3px}.factory-bootstrap-433 .tooltip.right{padding:0 5px;margin-left:3px}.factory-bootstrap-433 .tooltip.bottom{padding:5px 0;margin-top:3px}.factory-bootstrap-433 .tooltip.left{padding:0 5px;margin-left:-3px}.factory-bootstrap-433 .tooltip-inner{width:400px;padding:15px 20px;color:#fff;text-align:left;text-decoration:none;background-color:#673ab7;border-radius:3px}.factory-bootstrap-433 .tooltip-arrow{position:absolute;width:0;height:0;border-color:transparent;border-style:solid}.factory-bootstrap-433 .tooltip.top .tooltip-arrow{bottom:0;left:50%;margin-left:-5px;border-top-color:#673ab7;border-width:5px 5px 0}.factory-bootstrap-433 .tooltip.top-left .tooltip-arrow{bottom:0;left:5px;border-top-color:#673ab7;border-width:5px 5px 0}.factory-bootstrap-433 .tooltip.top-right .tooltip-arrow{right:5px;bottom:0;border-top-color:#673ab7;border-width:5px 5px 0}.factory-bootstrap-433 .tooltip.right .tooltip-arrow{top:50%;left:0;margin-top:-5px;border-right-color:#673ab7;border-width:5px 5px 5px 0}.factory-bootstrap-433 .tooltip.left .tooltip-arrow{top:50%;right:0;margin-top:-5px;border-left-color:#673ab7;border-width:5px 0 5px 5px}.factory-bootstrap-433 .tooltip.bottom .tooltip-arrow{top:0;left:50%;margin-left:-5px;border-bottom-color:#673ab7;border-width:0 5px 5px}.factory-bootstrap-433 .tooltip.bottom-left .tooltip-arrow{top:0;left:5px;border-bottom-color:#673ab7;border-width:0 5px 5px}.factory-bootstrap-433 .tooltip.bottom-right .tooltip-arrow{top:0;right:5px;border-bottom-color:#673ab7;border-width:0 5px 5px}.factory-bootstrap-433 .popover{position:absolute;top:0;left:0;z-index:1010;display:none;max-width:276px;padding:1px;text-align:left;white-space:normal;background-color:#fff;border:1px solid #ccc;border:1px solid rgba(0,0,0,.2);border-radius:6px;-webkit-box-shadow:0 5px 10px rgba(0,0,0,.2);box-shadow:0 5px 10px rgba(0,0,0,.2);background-clip:padding-box}.factory-bootstrap-433 .popover.top{margin-top:-10px}.factory-bootstrap-433 .popover.right{margin-left:10px}.factory-bootstrap-433 .popover.bottom{margin-top:10px}.factory-bootstrap-433 .popover.left{margin-left:-10px}.factory-bootstrap-433 .popover-title{padding:8px 14px;margin:0;font-size:14px;font-weight:400;line-height:18px;background-color:#f7f7f7;border-bottom:1px solid #ebebeb;border-radius:5px 5px 0 0}.factory-bootstrap-433 .popover-content{padding:9px 14px}.factory-bootstrap-433 .popover .arrow,.factory-bootstrap-433 .popover .arrow:after{position:absolute;display:block;width:0;height:0;border-color:transparent;border-style:solid}.factory-bootstrap-433 .popover .arrow{border-width:11px}.factory-bootstrap-433 .popover .arrow:after{border-width:10px;content:""}.factory-bootstrap-433 .popover.top .arrow{bottom:-11px;left:50%;margin-left:-11px;border-top-color:#999;border-top-color:rgba(0,0,0,.25);border-bottom-width:0}.factory-bootstrap-433 .popover.top .arrow:after{bottom:1px;margin-left:-10px;border-top-color:#fff;border-bottom-width:0;content:" "}.factory-bootstrap-433 .popover.right .arrow{top:50%;left:-11px;margin-top:-11px;border-right-color:#999;border-right-color:rgba(0,0,0,.25);border-left-width:0}.factory-bootstrap-433 .popover.right .arrow:after{bottom:-10px;left:1px;border-right-color:#fff;border-left-width:0;content:" "}.factory-bootstrap-433 .popover.bottom .arrow{top:-11px;left:50%;margin-left:-11px;border-bottom-color:#999;border-bottom-color:rgba(0,0,0,.25);border-top-width:0}.factory-bootstrap-433 .popover.bottom .arrow:after{top:1px;margin-left:-10px;border-bottom-color:#fff;border-top-width:0;content:" "}.factory-bootstrap-433 .popover.left .arrow{top:50%;right:-11px;margin-top:-11px;border-left-color:#999;border-left-color:rgba(0,0,0,.25);border-right-width:0}.factory-bootstrap-433 .popover.left .arrow:after{right:1px;bottom:-10px;border-left-color:#fff;border-right-width:0;content:" "}.factory-bootstrap-433 .carousel{position:relative}.factory-bootstrap-433 .carousel-inner{position:relative;width:100%;overflow:hidden}.factory-bootstrap-433 .carousel-inner>.item{position:relative;display:none;-webkit-transition:.6s ease-in-out left;transition:.6s ease-in-out left}.factory-bootstrap-433 .carousel-inner>.item>a>img,.factory-bootstrap-433 .carousel-inner>.item>img{display:block;height:auto;max-width:100%;line-height:1}.factory-bootstrap-433 .carousel-inner>.active,.factory-bootstrap-433 .carousel-inner>.next,.factory-bootstrap-433 .carousel-inner>.prev{display:block}.factory-bootstrap-433 .carousel-inner>.active{left:0}.factory-bootstrap-433 .carousel-inner>.next,.factory-bootstrap-433 .carousel-inner>.prev{position:absolute;top:0;width:100%}.factory-bootstrap-433 .carousel-inner>.next{left:100%}.factory-bootstrap-433 .carousel-inner>.prev{left:-100%}.factory-bootstrap-433 .carousel-inner>.next.left,.factory-bootstrap-433 .carousel-inner>.prev.right{left:0}.factory-bootstrap-433 .carousel-inner>.active.left{left:-100%}.factory-bootstrap-433 .carousel-inner>.active.right{left:100%}.factory-bootstrap-433 .carousel-control{position:absolute;top:0;bottom:0;left:0;width:15%;font-size:20px;color:#fff;text-align:center;text-shadow:0 1px 2px rgba(0,0,0,.6);opacity:.5;filter:alpha(opacity=50)}.factory-bootstrap-433 .carousel-control.left{background-image:-webkit-linear-gradient(left,color-stop(rgba(0,0,0,.5) 0),color-stop(rgba(0,0,0,.0001) 100%));background-image:linear-gradient(to right,rgba(0,0,0,.5) 0,rgba(0,0,0,.0001) 100%);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#80000000', endColorstr='#00000000', GradientType=1)}.factory-bootstrap-433 .carousel-control.right{right:0;left:auto;background-image:-webkit-linear-gradient(left,color-stop(rgba(0,0,0,.0001) 0),color-stop(rgba(0,0,0,.5) 100%));background-image:linear-gradient(to right,rgba(0,0,0,.0001) 0,rgba(0,0,0,.5) 100%);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#00000000', endColorstr='#80000000', GradientType=1)}.factory-bootstrap-433 .carousel-control:focus,.factory-bootstrap-433 .carousel-control:hover{color:#fff;text-decoration:none;outline:0;opacity:.9;filter:alpha(opacity=90)}.factory-bootstrap-433 .carousel-control .glyphicon-chevron-left,.factory-bootstrap-433 .carousel-control .glyphicon-chevron-right,.factory-bootstrap-433 .carousel-control .icon-next,.factory-bootstrap-433 .carousel-control .icon-prev{position:absolute;top:50%;z-index:5;display:inline-block}.factory-bootstrap-433 .carousel-control .glyphicon-chevron-left,.factory-bootstrap-433 .carousel-control .icon-prev{left:50%}.factory-bootstrap-433 .carousel-control .glyphicon-chevron-right,.factory-bootstrap-433 .carousel-control .icon-next{right:50%}.factory-bootstrap-433 .carousel-control .icon-next,.factory-bootstrap-433 .carousel-control .icon-prev{width:20px;height:20px;margin-top:-10px;margin-left:-10px;font-family:serif}.factory-bootstrap-433 .carousel-control .icon-prev:before{content:'\2039'}.factory-bootstrap-433 .carousel-control .icon-next:before{content:'\203a'}.factory-bootstrap-433 .carousel-indicators{position:absolute;bottom:10px;left:50%;z-index:15;width:60%;padding-left:0;margin-left:-30%;text-align:center;list-style:none}.factory-bootstrap-433 .carousel-indicators li{display:inline-block;width:10px;height:10px;margin:1px;text-indent:-999px;cursor:pointer;background-color:#000 \9;background-color:rgba(0,0,0,0);border:1px solid #fff;border-radius:10px}.factory-bootstrap-433 .carousel-indicators .active{width:12px;height:12px;margin:0;background-color:#fff}.factory-bootstrap-433 .carousel-caption{position:absolute;right:15%;bottom:20px;left:15%;z-index:10;padding-top:20px;padding-bottom:20px;color:#fff;text-align:center;text-shadow:0 1px 2px rgba(0,0,0,.6)}.factory-bootstrap-433 .carousel-caption .btn{text-shadow:none}@media screen and (min-width:768px){.carousel-control .glyphicons-chevron-left,.carousel-control .glyphicons-chevron-right,.carousel-control .icon-next,.carousel-control .icon-prev{width:30px;height:30px;margin-top:-15px;margin-left:-15px;font-size:30px}.carousel-caption{right:20%;left:20%;padding-bottom:30px}.carousel-indicators{bottom:20px}}.factory-bootstrap-433 .clearfix:after,.factory-bootstrap-433 .clearfix:before{display:table;content:" "}.factory-bootstrap-433 .clearfix:after{clear:both}.factory-bootstrap-433 .center-block{display:block;margin-right:auto;margin-left:auto}.factory-bootstrap-433 .pull-right{float:right!important}.factory-bootstrap-433 .pull-left{float:left!important}.factory-bootstrap-433 .hide{display:none!important}.factory-bootstrap-433 .show{display:block!important}.factory-bootstrap-433 .invisible{visibility:hidden}.factory-bootstrap-433 .text-hide{font:0/0 a;color:transparent;text-shadow:none;background-color:transparent;border:0}.factory-bootstrap-433 .hidden{display:none!important;visibility:hidden!important}.factory-bootstrap-433 .affix{position:fixed}@-ms-viewport{width:device-width}.factory-bootstrap-433 .visible-lg,.factory-bootstrap-433 .visible-md,.factory-bootstrap-433 .visible-sm,.factory-bootstrap-433 .visible-xs,.factory-bootstrap-433 td.visible-lg,.factory-bootstrap-433 td.visible-md,.factory-bootstrap-433 td.visible-sm,.factory-bootstrap-433 td.visible-xs,.factory-bootstrap-433 th.visible-lg,.factory-bootstrap-433 th.visible-md,.factory-bootstrap-433 th.visible-sm,.factory-bootstrap-433 th.visible-xs,.factory-bootstrap-433 tr.visible-lg,.factory-bootstrap-433 tr.visible-md,.factory-bootstrap-433 tr.visible-sm,.factory-bootstrap-433 tr.visible-xs{display:none!important}@media (max-width:767px){.visible-xs{display:block!important}table.visible-xs{display:table}tr.visible-xs{display:table-row!important}td.visible-xs,th.visible-xs{display:table-cell!important}}@media (min-width:768px) and (max-width:991px){.visible-xs.visible-sm{display:block!important}table.visible-xs.visible-sm{display:table}tr.visible-xs.visible-sm{display:table-row!important}td.visible-xs.visible-sm,th.visible-xs.visible-sm{display:table-cell!important}}@media (min-width:992px) and (max-width:1199px){.visible-xs.visible-md{display:block!important}table.visible-xs.visible-md{display:table}tr.visible-xs.visible-md{display:table-row!important}td.visible-xs.visible-md,th.visible-xs.visible-md{display:table-cell!important}}@media (min-width:1200px){.visible-xs.visible-lg{display:block!important}table.visible-xs.visible-lg{display:table}tr.visible-xs.visible-lg{display:table-row!important}td.visible-xs.visible-lg,th.visible-xs.visible-lg{display:table-cell!important}}@media (max-width:767px){.visible-sm.visible-xs{display:block!important}table.visible-sm.visible-xs{display:table}tr.visible-sm.visible-xs{display:table-row!important}td.visible-sm.visible-xs,th.visible-sm.visible-xs{display:table-cell!important}}@media (min-width:768px) and (max-width:991px){.visible-sm{display:block!important}table.visible-sm{display:table}tr.visible-sm{display:table-row!important}td.visible-sm,th.visible-sm{display:table-cell!important}}@media (min-width:992px) and (max-width:1199px){.visible-sm.visible-md{display:block!important}table.visible-sm.visible-md{display:table}tr.visible-sm.visible-md{display:table-row!important}td.visible-sm.visible-md,th.visible-sm.visible-md{display:table-cell!important}}@media (min-width:1200px){.visible-sm.visible-lg{display:block!important}table.visible-sm.visible-lg{display:table}tr.visible-sm.visible-lg{display:table-row!important}td.visible-sm.visible-lg,th.visible-sm.visible-lg{display:table-cell!important}}@media (max-width:767px){.visible-md.visible-xs{display:block!important}table.visible-md.visible-xs{display:table}tr.visible-md.visible-xs{display:table-row!important}td.visible-md.visible-xs,th.visible-md.visible-xs{display:table-cell!important}}@media (min-width:768px) and (max-width:991px){.visible-md.visible-sm{display:block!important}table.visible-md.visible-sm{display:table}tr.visible-md.visible-sm{display:table-row!important}td.visible-md.visible-sm,th.visible-md.visible-sm{display:table-cell!important}}@media (min-width:992px) and (max-width:1199px){.visible-md{display:block!important}table.visible-md{display:table}tr.visible-md{display:table-row!important}td.visible-md,th.visible-md{display:table-cell!important}}@media (min-width:1200px){.visible-md.visible-lg{display:block!important}table.visible-md.visible-lg{display:table}tr.visible-md.visible-lg{display:table-row!important}td.visible-md.visible-lg,th.visible-md.visible-lg{display:table-cell!important}}@media (max-width:767px){.visible-lg.visible-xs{display:block!important}table.visible-lg.visible-xs{display:table}tr.visible-lg.visible-xs{display:table-row!important}td.visible-lg.visible-xs,th.visible-lg.visible-xs{display:table-cell!important}}@media (min-width:768px) and (max-width:991px){.visible-lg.visible-sm{display:block!important}table.visible-lg.visible-sm{display:table}tr.visible-lg.visible-sm{display:table-row!important}td.visible-lg.visible-sm,th.visible-lg.visible-sm{display:table-cell!important}}@media (min-width:992px) and (max-width:1199px){.visible-lg.visible-md{display:block!important}table.visible-lg.visible-md{display:table}tr.visible-lg.visible-md{display:table-row!important}td.visible-lg.visible-md,th.visible-lg.visible-md{display:table-cell!important}}@media (min-width:1200px){.visible-lg{display:block!important}table.visible-lg{display:table}tr.visible-lg{display:table-row!important}td.visible-lg,th.visible-lg{display:table-cell!important}}.factory-bootstrap-433 .hidden-xs{display:block!important}.factory-bootstrap-433 table.hidden-xs{display:table}.factory-bootstrap-433 tr.hidden-xs{display:table-row!important}.factory-bootstrap-433 td.hidden-xs,.factory-bootstrap-433 th.hidden-xs{display:table-cell!important}@media (max-width:767px){.hidden-xs,td.hidden-xs,th.hidden-xs,tr.hidden-xs{display:none!important}}@media (min-width:768px) and (max-width:991px){.hidden-xs.hidden-sm,td.hidden-xs.hidden-sm,th.hidden-xs.hidden-sm,tr.hidden-xs.hidden-sm{display:none!important}}@media (min-width:992px) and (max-width:1199px){.hidden-xs.hidden-md,td.hidden-xs.hidden-md,th.hidden-xs.hidden-md,tr.hidden-xs.hidden-md{display:none!important}}@media (min-width:1200px){.hidden-xs.hidden-lg,td.hidden-xs.hidden-lg,th.hidden-xs.hidden-lg,tr.hidden-xs.hidden-lg{display:none!important}}.factory-bootstrap-433 .hidden-sm{display:block!important}.factory-bootstrap-433 table.hidden-sm{display:table}.factory-bootstrap-433 tr.hidden-sm{display:table-row!important}.factory-bootstrap-433 td.hidden-sm,.factory-bootstrap-433 th.hidden-sm{display:table-cell!important}@media (max-width:767px){.hidden-sm.hidden-xs,td.hidden-sm.hidden-xs,th.hidden-sm.hidden-xs,tr.hidden-sm.hidden-xs{display:none!important}}@media (min-width:768px) and (max-width:991px){.hidden-sm,td.hidden-sm,th.hidden-sm,tr.hidden-sm{display:none!important}}@media (min-width:992px) and (max-width:1199px){.hidden-sm.hidden-md,td.hidden-sm.hidden-md,th.hidden-sm.hidden-md,tr.hidden-sm.hidden-md{display:none!important}}@media (min-width:1200px){.hidden-sm.hidden-lg,td.hidden-sm.hidden-lg,th.hidden-sm.hidden-lg,tr.hidden-sm.hidden-lg{display:none!important}}.factory-bootstrap-433 .hidden-md{display:block!important}.factory-bootstrap-433 table.hidden-md{display:table}.factory-bootstrap-433 tr.hidden-md{display:table-row!important}.factory-bootstrap-433 td.hidden-md,.factory-bootstrap-433 th.hidden-md{display:table-cell!important}@media (max-width:767px){.hidden-md.hidden-xs,td.hidden-md.hidden-xs,th.hidden-md.hidden-xs,tr.hidden-md.hidden-xs{display:none!important}}@media (min-width:768px) and (max-width:991px){.hidden-md.hidden-sm,td.hidden-md.hidden-sm,th.hidden-md.hidden-sm,tr.hidden-md.hidden-sm{display:none!important}}@media (min-width:992px) and (max-width:1199px){.hidden-md,td.hidden-md,th.hidden-md,tr.hidden-md{display:none!important}}@media (min-width:1200px){.hidden-md.hidden-lg,td.hidden-md.hidden-lg,th.hidden-md.hidden-lg,tr.hidden-md.hidden-lg{display:none!important}}.factory-bootstrap-433 .hidden-lg{display:block!important}.factory-bootstrap-433 table.hidden-lg{display:table}.factory-bootstrap-433 tr.hidden-lg{display:table-row!important}.factory-bootstrap-433 td.hidden-lg,.factory-bootstrap-433 th.hidden-lg{display:table-cell!important}@media (max-width:767px){.factory-bootstrap-433 .hidden-lg.hidden-xs,.factory-bootstrap-433 td.hidden-lg.hidden-xs,.factory-bootstrap-433 th.hidden-lg.hidden-xs,.factory-bootstrap-433 tr.hidden-lg.hidden-xs{display:none!important}}@media (min-width:768px) and (max-width:991px){.factory-bootstrap-433 .hidden-lg.hidden-sm,.factory-bootstrap-433 td.hidden-lg.hidden-sm,.factory-bootstrap-433 th.hidden-lg.hidden-sm,.factory-bootstrap-433 tr.hidden-lg.hidden-sm{display:none!important}}@media (min-width:992px) and (max-width:1199px){.factory-bootstrap-433 .hidden-lg.hidden-md,.factory-bootstrap-433 td.hidden-lg.hidden-md,.factory-bootstrap-433 th.hidden-lg.hidden-md,.factory-bootstrap-433 tr.hidden-lg.hidden-md{display:none!important}}@media (min-width:1200px){.factory-bootstrap-433 .hidden-lg,.factory-bootstrap-433 td.hidden-lg,.factory-bootstrap-433 th.hidden-lg,.factory-bootstrap-433 tr.hidden-lg{display:none!important}}.factory-bootstrap-433 .visible-print,.factory-bootstrap-433 td.visible-print,.factory-bootstrap-433 th.visible-print,.factory-bootstrap-433 tr.visible-print{display:none!important}@media print{.factory-bootstrap-433 .visible-print{display:block!important}.factory-bootstrap-433 table.visible-print{display:table}.factory-bootstrap-433 tr.visible-print{display:table-row!important}.factory-bootstrap-433 td.visible-print,.factory-bootstrap-433 th.visible-print{display:table-cell!important}.factory-bootstrap-433 .hidden-print,.factory-bootstrap-433 td.hidden-print,.factory-bootstrap-433 th.hidden-print,.factory-bootstrap-433 tr.hidden-print{display:none!important}}/*!
|
12 |
* Factory Default Bootstrap Theme
|
13 |
*
|
14 |
* The code is based on Bootstrap v2.1.1
|
@@ -22,4 +22,4 @@
|
|
22 |
*
|
23 |
* @package factory-bootstrap
|
24 |
* @since 1.0.0
|
25 |
-
*/.factory-bootstrap-433 .btn-danger,.factory-bootstrap-433 .btn-default,.factory-bootstrap-433 .btn-info,.factory-bootstrap-433 .btn-primary,.factory-bootstrap-433 .btn-success,.factory-bootstrap-433 .btn-warning{-webkit-box-shadow:inset 0 1px 0 rgba(255,255,255,.15),0 1px 1px rgba(0,0,0,.075);box-shadow:inset 0 1px 0 rgba(255,255,255,.15),0 1px 1px rgba(0,0,0,.075)}.factory-bootstrap-433 .btn-danger.active,.factory-bootstrap-433 .btn-danger:active,.factory-bootstrap-433 .btn-default.active,.factory-bootstrap-433 .btn-default:active,.factory-bootstrap-433 .btn-info.active,.factory-bootstrap-433 .btn-info:active,.factory-bootstrap-433 .btn-primary.active,.factory-bootstrap-433 .btn-primary:active,.factory-bootstrap-433 .btn-success.active,.factory-bootstrap-433 .btn-success:active,.factory-bootstrap-433 .btn-warning.active,.factory-bootstrap-433 .btn-warning:active{-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,.1);box-shadow:inset 0 1px 1px rgba(0,0,0,.1)}.factory-bootstrap-433 .btn.active,.factory-bootstrap-433 .btn:active{background-image:none}.factory-bootstrap-433 .btn-default{color:#555;border-color:#ccc;background:#f7f7f7;-webkit-box-shadow:inset 0 1px 0 #fff,0 1px 0 rgba(0,0,0,.08);box-shadow:inset 0 1px 0 #fff,0 1px 0 rgba(0,0,0,.08);vertical-align:top}.factory-bootstrap-433 .btn-default.active,.factory-bootstrap-433 .btn-default:active{background-color:#fff;border-color:#dbdbdb}.factory-bootstrap-433 .btn-gold{font-weight:700;padding:7px 12px;cursor:pointer;line-height:16px;display:inline-block;border-radius:2px;-moz-border-radius:2px;-webkit-border-radius:2px;box-shadow:#e3e3e3 0 1px 1px;-moz-box-shadow:0 1px 1px rgba(000,000,000,.1),inset 0 1px 1px rgba(255,255,255,.7);-webkit-box-shadow:0 1px 1px rgba(000,000,000,.1),inset 0 1px 1px rgba(255,255,255,.7);text-shadow:1px 1px 0 #ffe8b2;color:#7c5d1b;border:1px solid #d6a437;background:#feeb80}.factory-bootstrap-433 .btn-gold:focus,.factory-bootstrap-433 .btn-gold:hover{background:#fef0a1}.factory-bootstrap-433 .btn-gold.active,.factory-bootstrap-433 .btn-gold:active{background:#fef0a1;-webkit-box-shadow:inset 0 3px 8px 0 #f8ba36;box-shadow:inset 0 3px 8px 0 #f8ba36}.factory-bootstrap-433 .btn-primary{background:#2ea2cc;border-color:#0074a2;-webkit-box-shadow:inset 0 1px 0 rgba(120,200,230,.5),0 1px 0 rgba(0,0,0,.15);box-shadow:inset 0 1px 0 rgba(120,200,230,.5),0 1px 0 rgba(0,0,0,.15);color:#fff;text-decoration:none}.factory-bootstrap-433 .btn-primary:focus,.factory-bootstrap-433 .btn-primary:hover{background:#1e8cbe;border-color:#0074a2;-webkit-box-shadow:inset 0 1px 0 rgba(120,200,230,.6);box-shadow:inset 0 1px 0 rgba(120,200,230,.6);color:#fff}.factory-bootstrap-433 .btn-primary.active,.factory-bootstrap-433 .btn-primary:active{background-color:#2d6ca2;border-color:#2b669a}.factory-bootstrap-433 .btn-success{background-image:-webkit-linear-gradient(top,#5cb85c 0,#419641 100%);background-image:linear-gradient(to bottom,#5cb85c 0,#419641 100%);background-repeat:repeat-x;border-color:#3e8f3e;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff5cb85c', endColorstr='#ff419641', GradientType=0);filter:progid:DXImageTransform.Microsoft.gradient(enabled=false)}.factory-bootstrap-433 .btn-success:focus,.factory-bootstrap-433 .btn-success:hover{background-color:#419641;background-position:0 -15px}.factory-bootstrap-433 .btn-success.active,.factory-bootstrap-433 .btn-success:active{background-color:#419641;border-color:#3e8f3e}.factory-bootstrap-433 .btn-warning{background-image:-webkit-linear-gradient(top,#f0ad4e 0,#eb9316 100%);background-image:linear-gradient(to bottom,#f0ad4e 0,#eb9316 100%);background-repeat:repeat-x;border-color:#e38d13;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#fff0ad4e', endColorstr='#ffeb9316', GradientType=0);filter:progid:DXImageTransform.Microsoft.gradient(enabled=false)}.factory-bootstrap-433 .btn-warning:focus,.factory-bootstrap-433 .btn-warning:hover{background-color:#eb9316;background-position:0 -15px}.factory-bootstrap-433 .btn-warning.active,.factory-bootstrap-433 .btn-warning:active{background-color:#eb9316;border-color:#e38d13}.factory-bootstrap-433 .btn-danger{color:#fff;background:#d9534f;border-color:#d43f3a}.factory-bootstrap-433 .btn-danger.active,.factory-bootstrap-433 .btn-danger:active,.factory-bootstrap-433 .btn-danger:focus,.factory-bootstrap-433 .btn-danger:hover,.factory-bootstrap-433 .open .dropdown-toggle.btn-danger{color:#fff;background-color:#d2322d;border-color:#ac2925}.factory-bootstrap-433 .btn-info{background-image:-webkit-linear-gradient(top,#5bc0de 0,#2aabd2 100%);background-image:linear-gradient(to bottom,#5bc0de 0,#2aabd2 100%);background-repeat:repeat-x;border-color:#28a4c9;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff5bc0de', endColorstr='#ff2aabd2', GradientType=0);filter:progid:DXImageTransform.Microsoft.gradient(enabled=false)}.factory-bootstrap-433 .btn-info:focus,.factory-bootstrap-433 .btn-info:hover{background-color:#2aabd2;background-position:0 -15px}.factory-bootstrap-433 .btn-info.active,.factory-bootstrap-433 .btn-info:active{background-color:#2aabd2;border-color:#28a4c9}.factory-bootstrap-433 .img-thumbnail,.factory-bootstrap-433 .thumbnail{-webkit-box-shadow:0 1px 2px rgba(0,0,0,.075);box-shadow:0 1px 2px rgba(0,0,0,.075)}.factory-bootstrap-433 .dropdown-menu>li>a:focus,.factory-bootstrap-433 .dropdown-menu>li>a:hover{background-color:#e8e8e8;background-image:-webkit-linear-gradient(top,#f5f5f5 0,#e8e8e8 100%);background-image:linear-gradient(to bottom,#f5f5f5 0,#e8e8e8 100%);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#fff5f5f5', endColorstr='#ffe8e8e8', GradientType=0)}.factory-bootstrap-433 .dropdown-menu>.active>a,.factory-bootstrap-433 .dropdown-menu>.active>a:focus,.factory-bootstrap-433 .dropdown-menu>.active>a:hover{background-color:#357ebd;background-image:-webkit-linear-gradient(top,#428bca 0,#357ebd 100%);background-image:linear-gradient(to bottom,#428bca 0,#357ebd 100%);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff428bca', endColorstr='#ff357ebd', GradientType=0)}.factory-bootstrap-433 .navbar-default{background-image:-webkit-linear-gradient(top,#fff 0,#f8f8f8 100%);background-image:linear-gradient(to bottom,#fff 0,#f8f8f8 100%);background-repeat:repeat-x;border-radius:4px;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffffff', endColorstr='#fff8f8f8', GradientType=0);filter:progid:DXImageTransform.Microsoft.gradient(enabled=false);-webkit-box-shadow:inset 0 1px 0 rgba(255,255,255,.15),0 1px 5px rgba(0,0,0,.075);box-shadow:inset 0 1px 0 rgba(255,255,255,.15),0 1px 5px rgba(0,0,0,.075)}.factory-bootstrap-433 .navbar-default .navbar-nav>.active>a{background-image:-webkit-linear-gradient(top,#ebebeb 0,#f3f3f3 100%);background-image:linear-gradient(to bottom,#ebebeb 0,#f3f3f3 100%);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffebebeb', endColorstr='#fff3f3f3', GradientType=0);-webkit-box-shadow:inset 0 3px 9px rgba(0,0,0,.075);box-shadow:inset 0 3px 9px rgba(0,0,0,.075)}.factory-bootstrap-433 .navbar-brand,.factory-bootstrap-433 .navbar-nav>li>a{text-shadow:0 1px 0 rgba(255,255,255,.25)}.factory-bootstrap-433 .navbar-inverse{background-image:-webkit-linear-gradient(top,#3c3c3c 0,#222 100%);background-image:linear-gradient(to bottom,#3c3c3c 0,#222 100%);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff3c3c3c', endColorstr='#ff222222', GradientType=0);filter:progid:DXImageTransform.Microsoft.gradient(enabled=false)}.factory-bootstrap-433 .navbar-inverse .navbar-nav>.active>a{background-image:-webkit-linear-gradient(top,#222 0,#282828 100%);background-image:linear-gradient(to bottom,#222 0,#282828 100%);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff222222', endColorstr='#ff282828', GradientType=0);-webkit-box-shadow:inset 0 3px 9px rgba(0,0,0,.25);box-shadow:inset 0 3px 9px rgba(0,0,0,.25)}.factory-bootstrap-433 .navbar-inverse .navbar-brand,.factory-bootstrap-433 .navbar-inverse .navbar-nav>li>a{text-shadow:0 -1px 0 rgba(0,0,0,.25)}.factory-bootstrap-433 .navbar-fixed-bottom,.factory-bootstrap-433 .navbar-fixed-top,.factory-bootstrap-433 .navbar-static-top{border-radius:0}.factory-bootstrap-433 .alert{-webkit-box-shadow:inset 0 1px 0 rgba(255,255,255,.25),0 1px 2px rgba(0,0,0,.05)}.factory-bootstrap-433 .alert .actions{padding-top:10px}.factory-bootstrap-433 .alert-success{color:#3c763d;background-color:#dff0d8;border-bottom:2px solid #c8e5bc}.factory-bootstrap-433 .alert-info{background-image:-webkit-linear-gradient(top,#d9edf7 0,#b9def0 100%);background-image:linear-gradient(to bottom,#d9edf7 0,#b9def0 100%);background-repeat:repeat-x;border-color:#9acfea;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffd9edf7', endColorstr='#ffb9def0', GradientType=0)}.factory-bootstrap-433 .alert{text-shadow:none;box-shadow:none;margin:0;margin-top:10px;margin-bottom:10px;padding:10px}.factory-bootstrap-433 .alert-normal,.factory-bootstrap-433 .alert-warning{background:#fcf8e3;color:#8a6d3b;border:1px solid #b8823b}.factory-bootstrap-433 .alert-danger{background:#cf4944;color:#fff;border-bottom:2px solid #b23e3a}.factory-bootstrap-433 .alert-danger a:not(.btn),.factory-bootstrap-433 .alert-error a:not(.btn){color:#fff}.factory-bootstrap-433 .progress{background-image:-webkit-linear-gradient(top,#ebebeb 0,#f5f5f5 100%);background-image:linear-gradient(to bottom,#ebebeb 0,#f5f5f5 100%);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffebebeb', endColorstr='#fff5f5f5', GradientType=0)}.factory-bootstrap-433 .progress-bar{background-image:-webkit-linear-gradient(top,#428bca 0,#3071a9 100%);background-image:linear-gradient(to bottom,#428bca 0,#3071a9 100%);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff428bca', endColorstr='#ff3071a9', GradientType=0)}.factory-bootstrap-433 .progress-bar-success{background-image:-webkit-linear-gradient(top,#5cb85c 0,#449d44 100%);background-image:linear-gradient(to bottom,#5cb85c 0,#449d44 100%);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff5cb85c', endColorstr='#ff449d44', GradientType=0)}.factory-bootstrap-433 .progress-bar-info{background-image:-webkit-linear-gradient(top,#5bc0de 0,#31b0d5 100%);background-image:linear-gradient(to bottom,#5bc0de 0,#31b0d5 100%);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff5bc0de', endColorstr='#ff31b0d5', GradientType=0)}.factory-bootstrap-433 .progress-bar-warning{background-image:-webkit-linear-gradient(top,#f0ad4e 0,#ec971f 100%);background-image:linear-gradient(to bottom,#f0ad4e 0,#ec971f 100%);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#fff0ad4e', endColorstr='#ffec971f', GradientType=0)}.factory-bootstrap-433 .progress-bar-danger{background-image:-webkit-linear-gradient(top,#d9534f 0,#c9302c 100%);background-image:linear-gradient(to bottom,#d9534f 0,#c9302c 100%);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffd9534f', endColorstr='#ffc9302c', GradientType=0)}.factory-bootstrap-433 .list-group{border-radius:4px;-webkit-box-shadow:0 1px 2px rgba(0,0,0,.075);box-shadow:0 1px 2px rgba(0,0,0,.075)}.factory-bootstrap-433 .list-group-item.active,.factory-bootstrap-433 .list-group-item.active:focus,.factory-bootstrap-433 .list-group-item.active:hover{text-shadow:0 -1px 0 #3071a9;background-image:-webkit-linear-gradient(top,#428bca 0,#3278b3 100%);background-image:linear-gradient(to bottom,#428bca 0,#3278b3 100%);background-repeat:repeat-x;border-color:#3278b3;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff428bca', endColorstr='#ff3278b3', GradientType=0)}.factory-bootstrap-433 .panel{-webkit-box-shadow:0 1px 2px rgba(0,0,0,.05);box-shadow:0 1px 2px rgba(0,0,0,.05)}.factory-bootstrap-433 .panel-default>.panel-heading{background-image:-webkit-linear-gradient(top,#f5f5f5 0,#e8e8e8 100%);background-image:linear-gradient(to bottom,#f5f5f5 0,#e8e8e8 100%);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#fff5f5f5', endColorstr='#ffe8e8e8', GradientType=0)}.factory-bootstrap-433 .panel-primary>.panel-heading{background-image:-webkit-linear-gradient(top,#428bca 0,#357ebd 100%);background-image:linear-gradient(to bottom,#428bca 0,#357ebd 100%);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff428bca', endColorstr='#ff357ebd', GradientType=0)}.factory-bootstrap-433 .panel-success>.panel-heading{background-image:-webkit-linear-gradient(top,#dff0d8 0,#d0e9c6 100%);background-image:linear-gradient(to bottom,#dff0d8 0,#d0e9c6 100%);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffdff0d8', endColorstr='#ffd0e9c6', GradientType=0)}.factory-bootstrap-433 .panel-info>.panel-heading{background-image:-webkit-linear-gradient(top,#d9edf7 0,#c4e3f3 100%);background-image:linear-gradient(to bottom,#d9edf7 0,#c4e3f3 100%);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffd9edf7', endColorstr='#ffc4e3f3', GradientType=0)}.factory-bootstrap-433 .panel-warning>.panel-heading{background-image:-webkit-linear-gradient(top,#fcf8e3 0,#faf2cc 100%);background-image:linear-gradient(to bottom,#fcf8e3 0,#faf2cc 100%);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#fffcf8e3', endColorstr='#fffaf2cc', GradientType=0)}.factory-bootstrap-433 .panel-danger>.panel-heading{background-image:-webkit-linear-gradient(top,#f2dede 0,#ebcccc 100%);background-image:linear-gradient(to bottom,#f2dede 0,#ebcccc 100%);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#fff2dede', endColorstr='#ffebcccc', GradientType=0)}.factory-bootstrap-433 .well{background-image:-webkit-linear-gradient(top,#e8e8e8 0,#f5f5f5 100%);background-image:linear-gradient(to bottom,#e8e8e8 0,#f5f5f5 100%);background-repeat:repeat-x;border-color:#dcdcdc;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffe8e8e8', endColorstr='#fff5f5f5', GradientType=0);-webkit-box-shadow:inset 0 1px 3px rgba(0,0,0,.05),0 1px 0 rgba(255,255,255,.1);box-shadow:inset 0 1px 3px rgba(0,0,0,.05),0 1px 0 rgba(255,255,255,.1)}.factory-bootstrap-433 .factory-after{margin-left:7px;display:inline-block}.factory-bootstrap-433 .factory-hidden{display:none}.factory-bootstrap-433 .factory-ajax-loader{width:25px;height:25px;background:url(../assets/images/loader-sm-tr.gif)}.factory-control-error{background-color:rgba(0,0,0,.8);white-space:normal;z-index:10;font-weight:400;line-height:150%;border-radius:4px;color:#fff;font-size:13px;margin-top:5px;padding:4px 10px 3px;max-width:500px;display:inline-block}.factory-control-error i{margin:0 7px 0 1px}
|
1 |
/*!
|
2 |
+
* Bootstrap generator - v1.0.1, 2021-02-04
|
3 |
* Webcraftic factory build
|
4 |
*
|
5 |
* Copyright 2018, Alex Kovalev <alex.kovalevv@gmail.com>, Webcraftic <wordpress.webraftic@gmail.com>
|
8 |
*/
|
9 |
|
10 |
|
11 |
+
.factory-bootstrap-450 article,.factory-bootstrap-450 aside,.factory-bootstrap-450 details,.factory-bootstrap-450 figcaption,.factory-bootstrap-450 figure,.factory-bootstrap-450 footer,.factory-bootstrap-450 header,.factory-bootstrap-450 hgroup,.factory-bootstrap-450 main,.factory-bootstrap-450 nav,.factory-bootstrap-450 section,.factory-bootstrap-450 summary{display:block}.factory-bootstrap-450 audio,.factory-bootstrap-450 canvas,.factory-bootstrap-450 video{display:inline-block}.factory-bootstrap-450 audio:not([controls]){display:none;height:0}.factory-bootstrap-450 [hidden],.factory-bootstrap-450 template{display:none}.factory-bootstrap-450 body{margin:0}.factory-bootstrap-450 a{background:0 0}.factory-bootstrap-450 a:focus{outline:thin dotted}.factory-bootstrap-450 a:active,.factory-bootstrap-450 a:hover{outline:0}.factory-bootstrap-450 h1{margin:.67em 0}.factory-bootstrap-450 b,.factory-bootstrap-450 strong{font-weight:700}.factory-bootstrap-450 dfn{font-style:italic}.factory-bootstrap-450 hr{height:0;-moz-box-sizing:content-box;box-sizing:content-box}.factory-bootstrap-450 mark{color:#000;background:#ff0}.factory-bootstrap-450 code,.factory-bootstrap-450 kbd,.factory-bootstrap-450 pre,.factory-bootstrap-450 samp{font-size:1em}.factory-bootstrap-450 pre{white-space:pre-wrap}.factory-bootstrap-450 q{quotes:"\201C" "\201D" "\2018" "\2019"}.factory-bootstrap-450 sub,.factory-bootstrap-450 sup{position:relative;font-size:75%;line-height:0;vertical-align:baseline}.factory-bootstrap-450 sup{top:-.5em}.factory-bootstrap-450 sub{bottom:-.25em}.factory-bootstrap-450 img{border:0}.factory-bootstrap-450 svg:not(:root){overflow:hidden}.factory-bootstrap-450 figure{margin:0}.factory-bootstrap-450 button,.factory-bootstrap-450 input,.factory-bootstrap-450 select,.factory-bootstrap-450 textarea{margin:0}.factory-bootstrap-450 button,.factory-bootstrap-450 select{text-transform:none}.factory-bootstrap-450 select{padding-right:4px!important}.factory-bootstrap-450 button,.factory-bootstrap-450 input[type=reset],.factory-bootstrap-450 input[type=submit],html .factory-bootstrap-450 input[type=button]{cursor:pointer;-webkit-appearance:button}.factory-bootstrap-450 button[disabled],html .factory-bootstrap-450 input[disabled]{cursor:default}.factory-bootstrap-450 input[type=checkbox],.factory-bootstrap-450 input[type=radio]{padding:0;box-sizing:border-box}.factory-bootstrap-450 input[type=search]{-webkit-appearance:textfield}.factory-bootstrap-450 input[type=search]::-webkit-search-cancel-button,.factory-bootstrap-450 input[type=search]::-webkit-search-decoration{-webkit-appearance:none}.factory-bootstrap-450 button::-moz-focus-inner,.factory-bootstrap-450 input::-moz-focus-inner{padding:0;border:0}.factory-bootstrap-450 textarea{overflow:auto;vertical-align:top}.factory-bootstrap-450 table{border-collapse:collapse;border-spacing:0}@media print{.factory-bootstrap-450 *{color:#000!important;text-shadow:none!important;background:transparent!important;box-shadow:none!important}.factory-bootstrap-450 a,.factory-bootstrap-450 a:visited{text-decoration:underline}.factory-bootstrap-450 a[href]:after{content:" (" attr(href) ")"}.factory-bootstrap-450 abbr[title]:after{content:" (" attr(title) ")"}.factory-bootstrap-450 a[href^="javascript:"]:after,.factory-bootstrap-450 a[href^="#"]:after{content:""}.factory-bootstrap-450 blockquote,.factory-bootstrap-450 pre{border:1px solid #999;page-break-inside:avoid}.factory-bootstrap-450 thead{display:table-header-group}.factory-bootstrap-450 img,.factory-bootstrap-450 tr{page-break-inside:avoid}.factory-bootstrap-450 img{max-width:100%!important}@page{margin:2cm .5cm}.factory-bootstrap-450 h2,.factory-bootstrap-450 h3,.factory-bootstrap-450 p{orphans:3;widows:3}.factory-bootstrap-450 h2,.factory-bootstrap-450 h3{page-break-after:avoid}.factory-bootstrap-450 select{background:#fff!important}.factory-bootstrap-450 .navbar{display:none}.factory-bootstrap-450 .table td,.factory-bootstrap-450 .table th{background-color:#fff!important}.factory-bootstrap-450 .btn>.caret,.factory-bootstrap-450 .dropup>.btn>.caret{border-top-color:#000!important}.factory-bootstrap-450 .label{border:1px solid #000}.factory-bootstrap-450 .table{border-collapse:collapse!important}.factory-bootstrap-450 .table-bordered td,.factory-bootstrap-450 .table-bordered th{border:1px solid #ddd!important}}.factory-bootstrap-450 *,.factory-bootstrap-450 :after,.factory-bootstrap-450 :before{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}html .factory-bootstrap-450{-webkit-tap-highlight-color:rgba(0,0,0,0)}.factory-bootstrap-450 body{font-family:"Helvetica Neue",Helvetica,Arial,sans-serif;font-size:14px;line-height:1.428571429;color:#333;background-color:#fff}.factory-bootstrap-450 button,.factory-bootstrap-450 input,.factory-bootstrap-450 select,.factory-bootstrap-450 textarea{font-family:inherit;font-size:inherit;line-height:inherit}.factory-bootstrap-450 img{vertical-align:middle}.factory-bootstrap-450 .img-responsive{display:block;height:auto;max-width:100%}.factory-bootstrap-450 .img-rounded{border-radius:6px}.factory-bootstrap-450 .img-thumbnail{display:inline-block;height:auto;max-width:100%;padding:4px;line-height:1.428571429;background-color:#fff;border:1px solid #ddd;border-radius:4px;-webkit-transition:all .2s ease-in-out;transition:all .2s ease-in-out}.factory-bootstrap-450 .img-circle{border-radius:50%}.factory-bootstrap-450 hr{margin-top:20px;margin-bottom:20px;border:0;border-top:1px solid #eee}.factory-bootstrap-450 .sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);border:0}.factory-bootstrap-450 .h1,.factory-bootstrap-450 .h2,.factory-bootstrap-450 .h3,.factory-bootstrap-450 .h4,.factory-bootstrap-450 .h5,.factory-bootstrap-450 .h6,.factory-bootstrap-450 h1,.factory-bootstrap-450 h2,.factory-bootstrap-450 h3,.factory-bootstrap-450 h4,.factory-bootstrap-450 h5,.factory-bootstrap-450 h6{font-family:"Helvetica Neue",Helvetica,Arial,sans-serif;font-weight:500;line-height:1.1;color:inherit}.factory-bootstrap-450 .h1 .small,.factory-bootstrap-450 .h1 small,.factory-bootstrap-450 .h2 .small,.factory-bootstrap-450 .h2 small,.factory-bootstrap-450 .h3 .small,.factory-bootstrap-450 .h3 small,.factory-bootstrap-450 .h4 .small,.factory-bootstrap-450 .h4 small,.factory-bootstrap-450 .h5 .small,.factory-bootstrap-450 .h5 small,.factory-bootstrap-450 .h6 .small,.factory-bootstrap-450 .h6 small,.factory-bootstrap-450 h1 .small,.factory-bootstrap-450 h1 small,.factory-bootstrap-450 h2 .small,.factory-bootstrap-450 h2 small,.factory-bootstrap-450 h3 .small,.factory-bootstrap-450 h3 small,.factory-bootstrap-450 h4 .small,.factory-bootstrap-450 h4 small,.factory-bootstrap-450 h5 .small,.factory-bootstrap-450 h5 small,.factory-bootstrap-450 h6 .small,.factory-bootstrap-450 h6 small{font-weight:400;line-height:1;color:#999}.factory-bootstrap-450 h1,.factory-bootstrap-450 h2,.factory-bootstrap-450 h3{margin-top:20px;margin-bottom:10px}.factory-bootstrap-450 h1 .small,.factory-bootstrap-450 h1 small,.factory-bootstrap-450 h2 .small,.factory-bootstrap-450 h2 small,.factory-bootstrap-450 h3 .small,.factory-bootstrap-450 h3 small{font-size:65%}.factory-bootstrap-450 h4,.factory-bootstrap-450 h5,.factory-bootstrap-450 h6{margin-top:10px;margin-bottom:10px}.factory-bootstrap-450 h4 .small,.factory-bootstrap-450 h4 small,.factory-bootstrap-450 h5 .small,.factory-bootstrap-450 h5 small,.factory-bootstrap-450 h6 .small,.factory-bootstrap-450 h6 small{font-size:75%}.factory-bootstrap-450 .h1,.factory-bootstrap-450 h1{font-size:36px}.factory-bootstrap-450 .h2,.factory-bootstrap-450 h2{font-size:30px}.factory-bootstrap-450 .h3,.factory-bootstrap-450 h3{font-size:24px}.factory-bootstrap-450 .h4,.factory-bootstrap-450 h4{font-size:18px}.factory-bootstrap-450 .h5,.factory-bootstrap-450 h5{font-size:14px}.factory-bootstrap-450 .h6,.factory-bootstrap-450 h6{font-size:12px}.factory-bootstrap-450 p{margin:0 0 10px}.factory-bootstrap-450 .lead{margin-bottom:20px;font-size:16px;font-weight:200;line-height:1.4}@media (min-width:768px){.lead{font-size:21px}}.factory-bootstrap-450 .small,.factory-bootstrap-450 small{font-size:85%}.factory-bootstrap-450 cite{font-style:normal}.factory-bootstrap-450 .text-muted{color:#999}.factory-bootstrap-450 .text-primary{color:#428bca}.factory-bootstrap-450 .text-primary:hover{color:#3071a9}.factory-bootstrap-450 .text-warning{color:#8a6d3b}.factory-bootstrap-450 .text-warning:hover{color:#66512c}.factory-bootstrap-450 .text-danger{color:#a94442}.factory-bootstrap-450 .text-danger:hover{color:#843534}.factory-bootstrap-450 .text-success{color:#3c763d}.factory-bootstrap-450 .text-success:hover{color:#2b542c}.factory-bootstrap-450 .text-info{color:#31708f}.factory-bootstrap-450 .text-info:hover{color:#245269}.factory-bootstrap-450 .text-left{text-align:left}.factory-bootstrap-450 .text-right{text-align:right}.factory-bootstrap-450 .text-center{text-align:center}.factory-bootstrap-450 .page-header{padding-bottom:9px;margin:40px 0 20px;border-bottom:1px solid #eee}.factory-bootstrap-450 ol,.factory-bootstrap-450 ul{margin-top:0;margin-bottom:10px}.factory-bootstrap-450 ol ol,.factory-bootstrap-450 ol ul,.factory-bootstrap-450 ul ol,.factory-bootstrap-450 ul ul{margin-bottom:0}.factory-bootstrap-450 .list-inline,.factory-bootstrap-450 .list-unstyled{padding-left:0;list-style:none}.factory-bootstrap-450 .list-inline>li{display:inline-block;padding-right:5px;padding-left:5px}.factory-bootstrap-450 .list-inline>li:first-child{padding-left:0}.factory-bootstrap-450 dl{margin-top:0;margin-bottom:20px}.factory-bootstrap-450 dd,.factory-bootstrap-450 dt{line-height:1.428571429}.factory-bootstrap-450 dt{font-weight:700}.factory-bootstrap-450 dd{margin-left:0}@media (min-width:768px){.dl-horizontal dt{float:left;width:160px;overflow:hidden;clear:left;text-align:right;text-overflow:ellipsis;white-space:nowrap}.dl-horizontal dd{margin-left:180px}.dl-horizontal dd:after,.dl-horizontal dd:before{display:table;content:" "}.dl-horizontal dd:after{clear:both}}.factory-bootstrap-450 abbr[data-original-title],.factory-bootstrap-450 abbr[title]{cursor:help;border-bottom:1px dotted #999}.factory-bootstrap-450 .initialism{font-size:90%;text-transform:uppercase}.factory-bootstrap-450 blockquote{padding:10px 20px;margin:0 0 20px;border-left:5px solid #eee}.factory-bootstrap-450 blockquote p{font-size:17.5px;font-weight:300;line-height:1.25}.factory-bootstrap-450 blockquote p:last-child{margin-bottom:0}.factory-bootstrap-450 blockquote .small,.factory-bootstrap-450 blockquote small{display:block;line-height:1.428571429;color:#999}.factory-bootstrap-450 blockquote .small:before,.factory-bootstrap-450 blockquote small:before{content:'\2014 \00A0'}.factory-bootstrap-450 blockquote.pull-right{padding-right:15px;padding-left:0;border-right:5px solid #eee;border-left:0}.factory-bootstrap-450 blockquote.pull-right .small,.factory-bootstrap-450 blockquote.pull-right p,.factory-bootstrap-450 blockquote.pull-right small{text-align:right}.factory-bootstrap-450 blockquote.pull-right .small:before,.factory-bootstrap-450 blockquote.pull-right small:before{content:''}.factory-bootstrap-450 blockquote.pull-right .small:after,.factory-bootstrap-450 blockquote.pull-right small:after{content:'\00A0 \2014'}.factory-bootstrap-450 blockquote:after,.factory-bootstrap-450 blockquote:before{content:""}.factory-bootstrap-450 address{margin-bottom:20px;font-style:normal;line-height:1.428571429}.factory-bootstrap-450 code,.factory-bootstrap-450 kbd,.factory-bootstrap-450 pre,.factory-bootstrap-450 samp{font-family:Menlo,Monaco,Consolas,"Courier New",monospace}.factory-bootstrap-450 code{padding:2px 4px;font-size:90%;color:#c7254e;white-space:nowrap;background-color:#f9f2f4;border-radius:4px}.factory-bootstrap-450 pre{display:block;padding:9.5px;margin:0 0 10px;font-size:13px;line-height:1.428571429;color:#333;word-break:break-all;word-wrap:break-word;background-color:#f5f5f5;border:1px solid #ccc;border-radius:4px}.factory-bootstrap-450 pre code{padding:0;font-size:inherit;color:inherit;white-space:pre-wrap;background-color:transparent;border-radius:0}.factory-bootstrap-450 .pre-scrollable{max-height:340px;overflow-y:scroll}.factory-bootstrap-450 .container{padding-right:15px;padding-left:15px;margin-right:auto;margin-left:auto}.factory-bootstrap-450 .container:after,.factory-bootstrap-450 .container:before{display:table;content:" "}.factory-bootstrap-450 .container:after{clear:both}@media (min-width:768px){.container{width:750px}}@media (min-width:992px){.container{width:970px}}@media (min-width:1200px){.container{width:1170px}}.factory-bootstrap-450 .row{margin-right:-15px;margin-left:-15px}.factory-bootstrap-450 .row:after,.factory-bootstrap-450 .row:before{display:table;content:" "}.factory-bootstrap-450 .row:after{clear:both}.factory-bootstrap-450 .col-lg-1,.factory-bootstrap-450 .col-lg-10,.factory-bootstrap-450 .col-lg-11,.factory-bootstrap-450 .col-lg-12,.factory-bootstrap-450 .col-lg-2,.factory-bootstrap-450 .col-lg-3,.factory-bootstrap-450 .col-lg-4,.factory-bootstrap-450 .col-lg-5,.factory-bootstrap-450 .col-lg-6,.factory-bootstrap-450 .col-lg-7,.factory-bootstrap-450 .col-lg-8,.factory-bootstrap-450 .col-lg-9,.factory-bootstrap-450 .col-md-1,.factory-bootstrap-450 .col-md-10,.factory-bootstrap-450 .col-md-11,.factory-bootstrap-450 .col-md-12,.factory-bootstrap-450 .col-md-2,.factory-bootstrap-450 .col-md-3,.factory-bootstrap-450 .col-md-4,.factory-bootstrap-450 .col-md-5,.factory-bootstrap-450 .col-md-6,.factory-bootstrap-450 .col-md-7,.factory-bootstrap-450 .col-md-8,.factory-bootstrap-450 .col-md-9,.factory-bootstrap-450 .col-sm-1,.factory-bootstrap-450 .col-sm-10,.factory-bootstrap-450 .col-sm-11,.factory-bootstrap-450 .col-sm-12,.factory-bootstrap-450 .col-sm-2,.factory-bootstrap-450 .col-sm-3,.factory-bootstrap-450 .col-sm-4,.factory-bootstrap-450 .col-sm-5,.factory-bootstrap-450 .col-sm-6,.factory-bootstrap-450 .col-sm-7,.factory-bootstrap-450 .col-sm-8,.factory-bootstrap-450 .col-sm-9,.factory-bootstrap-450 .col-xs-1,.factory-bootstrap-450 .col-xs-10,.factory-bootstrap-450 .col-xs-11,.factory-bootstrap-450 .col-xs-12,.factory-bootstrap-450 .col-xs-2,.factory-bootstrap-450 .col-xs-3,.factory-bootstrap-450 .col-xs-4,.factory-bootstrap-450 .col-xs-5,.factory-bootstrap-450 .col-xs-6,.factory-bootstrap-450 .col-xs-7,.factory-bootstrap-450 .col-xs-8,.factory-bootstrap-450 .col-xs-9{position:relative;min-height:1px;padding-right:15px;padding-left:15px}.factory-bootstrap-450 .col-xs-1,.factory-bootstrap-450 .col-xs-10,.factory-bootstrap-450 .col-xs-11,.factory-bootstrap-450 .col-xs-12,.factory-bootstrap-450 .col-xs-2,.factory-bootstrap-450 .col-xs-3,.factory-bootstrap-450 .col-xs-4,.factory-bootstrap-450 .col-xs-5,.factory-bootstrap-450 .col-xs-6,.factory-bootstrap-450 .col-xs-7,.factory-bootstrap-450 .col-xs-8,.factory-bootstrap-450 .col-xs-9{float:left}.factory-bootstrap-450 .col-xs-12{width:100%}.factory-bootstrap-450 .col-xs-11{width:91.66666666666666%}.factory-bootstrap-450 .col-xs-10{width:83.33333333333334%}.factory-bootstrap-450 .col-xs-9{width:75%}.factory-bootstrap-450 .col-xs-8{width:66.66666666666666%}.factory-bootstrap-450 .col-xs-7{width:58.333333333333336%}.factory-bootstrap-450 .col-xs-6{width:50%}.factory-bootstrap-450 .col-xs-5{width:41.66666666666667%}.factory-bootstrap-450 .col-xs-4{width:33.33333333333333%}.factory-bootstrap-450 .col-xs-3{width:25%}.factory-bootstrap-450 .col-xs-2{width:16.666666666666664%}.factory-bootstrap-450 .col-xs-1{width:8.333333333333332%}.factory-bootstrap-450 .col-xs-pull-12{right:100%}.factory-bootstrap-450 .col-xs-pull-11{right:91.66666666666666%}.factory-bootstrap-450 .col-xs-pull-10{right:83.33333333333334%}.factory-bootstrap-450 .col-xs-pull-9{right:75%}.factory-bootstrap-450 .col-xs-pull-8{right:66.66666666666666%}.factory-bootstrap-450 .col-xs-pull-7{right:58.333333333333336%}.factory-bootstrap-450 .col-xs-pull-6{right:50%}.factory-bootstrap-450 .col-xs-pull-5{right:41.66666666666667%}.factory-bootstrap-450 .col-xs-pull-4{right:33.33333333333333%}.factory-bootstrap-450 .col-xs-pull-3{right:25%}.factory-bootstrap-450 .col-xs-pull-2{right:16.666666666666664%}.factory-bootstrap-450 .col-xs-pull-1{right:8.333333333333332%}.factory-bootstrap-450 .col-xs-pull-0{right:0}.factory-bootstrap-450 .col-xs-push-12{left:100%}.factory-bootstrap-450 .col-xs-push-11{left:91.66666666666666%}.factory-bootstrap-450 .col-xs-push-10{left:83.33333333333334%}.factory-bootstrap-450 .col-xs-push-9{left:75%}.factory-bootstrap-450 .col-xs-push-8{left:66.66666666666666%}.factory-bootstrap-450 .col-xs-push-7{left:58.333333333333336%}.factory-bootstrap-450 .col-xs-push-6{left:50%}.factory-bootstrap-450 .col-xs-push-5{left:41.66666666666667%}.factory-bootstrap-450 .col-xs-push-4{left:33.33333333333333%}.factory-bootstrap-450 .col-xs-push-3{left:25%}.factory-bootstrap-450 .col-xs-push-2{left:16.666666666666664%}.factory-bootstrap-450 .col-xs-push-1{left:8.333333333333332%}.factory-bootstrap-450 .col-xs-push-0{left:0}.factory-bootstrap-450 .col-xs-offset-12{margin-left:100%}.factory-bootstrap-450 .col-xs-offset-11{margin-left:91.66666666666666%}.factory-bootstrap-450 .col-xs-offset-10{margin-left:83.33333333333334%}.factory-bootstrap-450 .col-xs-offset-9{margin-left:75%}.factory-bootstrap-450 .col-xs-offset-8{margin-left:66.66666666666666%}.factory-bootstrap-450 .col-xs-offset-7{margin-left:58.333333333333336%}.factory-bootstrap-450 .col-xs-offset-6{margin-left:50%}.factory-bootstrap-450 .col-xs-offset-5{margin-left:41.66666666666667%}.factory-bootstrap-450 .col-xs-offset-4{margin-left:33.33333333333333%}.factory-bootstrap-450 .col-xs-offset-3{margin-left:25%}.factory-bootstrap-450 .col-xs-offset-2{margin-left:16.666666666666664%}.factory-bootstrap-450 .col-xs-offset-1{margin-left:8.333333333333332%}.factory-bootstrap-450 .col-xs-offset-0{margin-left:0}@media (min-width:768px){.col-sm-1,.col-sm-10,.col-sm-11,.col-sm-12,.col-sm-2,.col-sm-3,.col-sm-4,.col-sm-5,.col-sm-6,.col-sm-7,.col-sm-8,.col-sm-9{float:left}.col-sm-12{width:100%}.col-sm-11{width:91.66666666666666%}.col-sm-10{width:83.33333333333334%}.col-sm-9{width:75%}.col-sm-8{width:66.66666666666666%}.col-sm-7{width:58.333333333333336%}.col-sm-6{width:50%}.col-sm-5{width:41.66666666666667%}.col-sm-4{width:33.33333333333333%}.col-sm-3{width:25%}.col-sm-2{width:16.666666666666664%}.col-sm-1{width:8.333333333333332%}.col-sm-pull-12{right:100%}.col-sm-pull-11{right:91.66666666666666%}.col-sm-pull-10{right:83.33333333333334%}.col-sm-pull-9{right:75%}.col-sm-pull-8{right:66.66666666666666%}.col-sm-pull-7{right:58.333333333333336%}.col-sm-pull-6{right:50%}.col-sm-pull-5{right:41.66666666666667%}.col-sm-pull-4{right:33.33333333333333%}.col-sm-pull-3{right:25%}.col-sm-pull-2{right:16.666666666666664%}.col-sm-pull-1{right:8.333333333333332%}.col-sm-pull-0{right:0}.col-sm-push-12{left:100%}.col-sm-push-11{left:91.66666666666666%}.col-sm-push-10{left:83.33333333333334%}.col-sm-push-9{left:75%}.col-sm-push-8{left:66.66666666666666%}.col-sm-push-7{left:58.333333333333336%}.col-sm-push-6{left:50%}.col-sm-push-5{left:41.66666666666667%}.col-sm-push-4{left:33.33333333333333%}.col-sm-push-3{left:25%}.col-sm-push-2{left:16.666666666666664%}.col-sm-push-1{left:8.333333333333332%}.col-sm-push-0{left:0}.col-sm-offset-12{margin-left:100%}.col-sm-offset-11{margin-left:91.66666666666666%}.col-sm-offset-10{margin-left:83.33333333333334%}.col-sm-offset-9{margin-left:75%}.col-sm-offset-8{margin-left:66.66666666666666%}.col-sm-offset-7{margin-left:58.333333333333336%}.col-sm-offset-6{margin-left:50%}.col-sm-offset-5{margin-left:41.66666666666667%}.col-sm-offset-4{margin-left:33.33333333333333%}.col-sm-offset-3{margin-left:25%}.col-sm-offset-2{margin-left:16.666666666666664%}.col-sm-offset-1{margin-left:8.333333333333332%}.col-sm-offset-0{margin-left:0}}@media (min-width:992px){.col-md-1,.col-md-10,.col-md-11,.col-md-12,.col-md-2,.col-md-3,.col-md-4,.col-md-5,.col-md-6,.col-md-7,.col-md-8,.col-md-9{float:left}.col-md-12{width:100%}.col-md-11{width:91.66666666666666%}.col-md-10{width:83.33333333333334%}.col-md-9{width:75%}.col-md-8{width:66.66666666666666%}.col-md-7{width:58.333333333333336%}.col-md-6{width:50%}.col-md-5{width:41.66666666666667%}.col-md-4{width:33.33333333333333%}.col-md-3{width:25%}.col-md-2{width:16.666666666666664%}.col-md-1{width:8.333333333333332%}.col-md-pull-12{right:100%}.col-md-pull-11{right:91.66666666666666%}.col-md-pull-10{right:83.33333333333334%}.col-md-pull-9{right:75%}.col-md-pull-8{right:66.66666666666666%}.col-md-pull-7{right:58.333333333333336%}.col-md-pull-6{right:50%}.col-md-pull-5{right:41.66666666666667%}.col-md-pull-4{right:33.33333333333333%}.col-md-pull-3{right:25%}.col-md-pull-2{right:16.666666666666664%}.col-md-pull-1{right:8.333333333333332%}.col-md-pull-0{right:0}.col-md-push-12{left:100%}.col-md-push-11{left:91.66666666666666%}.col-md-push-10{left:83.33333333333334%}.col-md-push-9{left:75%}.col-md-push-8{left:66.66666666666666%}.col-md-push-7{left:58.333333333333336%}.col-md-push-6{left:50%}.col-md-push-5{left:41.66666666666667%}.col-md-push-4{left:33.33333333333333%}.col-md-push-3{left:25%}.col-md-push-2{left:16.666666666666664%}.col-md-push-1{left:8.333333333333332%}.col-md-push-0{left:0}.col-md-offset-12{margin-left:100%}.col-md-offset-11{margin-left:91.66666666666666%}.col-md-offset-10{margin-left:83.33333333333334%}.col-md-offset-9{margin-left:75%}.col-md-offset-8{margin-left:66.66666666666666%}.col-md-offset-7{margin-left:58.333333333333336%}.col-md-offset-6{margin-left:50%}.col-md-offset-5{margin-left:41.66666666666667%}.col-md-offset-4{margin-left:33.33333333333333%}.col-md-offset-3{margin-left:25%}.col-md-offset-2{margin-left:16.666666666666664%}.col-md-offset-1{margin-left:8.333333333333332%}.col-md-offset-0{margin-left:0}}@media (min-width:1200px){.col-lg-1,.col-lg-10,.col-lg-11,.col-lg-12,.col-lg-2,.col-lg-3,.col-lg-4,.col-lg-5,.col-lg-6,.col-lg-7,.col-lg-8,.col-lg-9{float:left}.col-lg-12{width:100%}.col-lg-11{width:91.66666666666666%}.col-lg-10{width:83.33333333333334%}.col-lg-9{width:75%}.col-lg-8{width:66.66666666666666%}.col-lg-7{width:58.333333333333336%}.col-lg-6{width:50%}.col-lg-5{width:41.66666666666667%}.col-lg-4{width:33.33333333333333%}.col-lg-3{width:25%}.col-lg-2{width:16.666666666666664%}.col-lg-1{width:8.333333333333332%}.col-lg-pull-12{right:100%}.col-lg-pull-11{right:91.66666666666666%}.col-lg-pull-10{right:83.33333333333334%}.col-lg-pull-9{right:75%}.col-lg-pull-8{right:66.66666666666666%}.col-lg-pull-7{right:58.333333333333336%}.col-lg-pull-6{right:50%}.col-lg-pull-5{right:41.66666666666667%}.col-lg-pull-4{right:33.33333333333333%}.col-lg-pull-3{right:25%}.col-lg-pull-2{right:16.666666666666664%}.col-lg-pull-1{right:8.333333333333332%}.col-lg-pull-0{right:0}.col-lg-push-12{left:100%}.col-lg-push-11{left:91.66666666666666%}.col-lg-push-10{left:83.33333333333334%}.col-lg-push-9{left:75%}.col-lg-push-8{left:66.66666666666666%}.col-lg-push-7{left:58.333333333333336%}.col-lg-push-6{left:50%}.col-lg-push-5{left:41.66666666666667%}.col-lg-push-4{left:33.33333333333333%}.col-lg-push-3{left:25%}.col-lg-push-2{left:16.666666666666664%}.col-lg-push-1{left:8.333333333333332%}.col-lg-push-0{left:0}.col-lg-offset-12{margin-left:100%}.col-lg-offset-11{margin-left:91.66666666666666%}.col-lg-offset-10{margin-left:83.33333333333334%}.col-lg-offset-9{margin-left:75%}.col-lg-offset-8{margin-left:66.66666666666666%}.col-lg-offset-7{margin-left:58.333333333333336%}.col-lg-offset-6{margin-left:50%}.col-lg-offset-5{margin-left:41.66666666666667%}.col-lg-offset-4{margin-left:33.33333333333333%}.col-lg-offset-3{margin-left:25%}.col-lg-offset-2{margin-left:16.666666666666664%}.col-lg-offset-1{margin-left:8.333333333333332%}.col-lg-offset-0{margin-left:0}}.factory-bootstrap-450 table{max-width:100%;background-color:transparent}.factory-bootstrap-450 th{text-align:left}.factory-bootstrap-450 .table{width:100%;margin-bottom:20px}.factory-bootstrap-450 .table>tbody>tr>td,.factory-bootstrap-450 .table>tbody>tr>th,.factory-bootstrap-450 .table>tfoot>tr>td,.factory-bootstrap-450 .table>tfoot>tr>th,.factory-bootstrap-450 .table>thead>tr>td,.factory-bootstrap-450 .table>thead>tr>th{padding:8px;line-height:1.428571429;vertical-align:top;border-top:1px solid #ddd}.factory-bootstrap-450 .table>thead>tr>th{vertical-align:bottom;border-bottom:2px solid #ddd}.factory-bootstrap-450 .table>caption+thead>tr:first-child>td,.factory-bootstrap-450 .table>caption+thead>tr:first-child>th,.factory-bootstrap-450 .table>colgroup+thead>tr:first-child>td,.factory-bootstrap-450 .table>colgroup+thead>tr:first-child>th,.factory-bootstrap-450 .table>thead:first-child>tr:first-child>td,.factory-bootstrap-450 .table>thead:first-child>tr:first-child>th{border-top:0}.factory-bootstrap-450 .table>tbody+tbody{border-top:2px solid #ddd}.factory-bootstrap-450 .table .table{background-color:#fff}.factory-bootstrap-450 .table-condensed>tbody>tr>td,.factory-bootstrap-450 .table-condensed>tbody>tr>th,.factory-bootstrap-450 .table-condensed>tfoot>tr>td,.factory-bootstrap-450 .table-condensed>tfoot>tr>th,.factory-bootstrap-450 .table-condensed>thead>tr>td,.factory-bootstrap-450 .table-condensed>thead>tr>th{padding:5px}.factory-bootstrap-450 .table-bordered,.factory-bootstrap-450 .table-bordered>tbody>tr>td,.factory-bootstrap-450 .table-bordered>tbody>tr>th,.factory-bootstrap-450 .table-bordered>tfoot>tr>td,.factory-bootstrap-450 .table-bordered>tfoot>tr>th,.factory-bootstrap-450 .table-bordered>thead>tr>td,.factory-bootstrap-450 .table-bordered>thead>tr>th{border:1px solid #ddd}.factory-bootstrap-450 .table-bordered>thead>tr>td,.factory-bootstrap-450 .table-bordered>thead>tr>th{border-bottom-width:2px}.factory-bootstrap-450 .table-striped>tbody>tr:nth-child(odd)>td,.factory-bootstrap-450 .table-striped>tbody>tr:nth-child(odd)>th{background-color:#f9f9f9}.factory-bootstrap-450 .table-hover>tbody>tr:hover>td,.factory-bootstrap-450 .table-hover>tbody>tr:hover>th{background-color:#f5f5f5}.factory-bootstrap-450 table col[class*=col-]{position:static;display:table-column;float:none}.factory-bootstrap-450 table td[class*=col-],.factory-bootstrap-450 table th[class*=col-]{display:table-cell;float:none}.factory-bootstrap-450 .table>tbody>.active>td,.factory-bootstrap-450 .table>tbody>.active>th,.factory-bootstrap-450 .table>tbody>tr>.active,.factory-bootstrap-450 .table>tfoot>.active>td,.factory-bootstrap-450 .table>tfoot>.active>th,.factory-bootstrap-450 .table>tfoot>tr>.active,.factory-bootstrap-450 .table>thead>.active>td,.factory-bootstrap-450 .table>thead>.active>th,.factory-bootstrap-450 .table>thead>tr>.active{background-color:#f5f5f5}.factory-bootstrap-450 .table-hover>tbody>.active:hover>td,.factory-bootstrap-450 .table-hover>tbody>.active:hover>th,.factory-bootstrap-450 .table-hover>tbody>tr>.active:hover{background-color:#e8e8e8}.factory-bootstrap-450 .table>tbody>.success>td,.factory-bootstrap-450 .table>tbody>.success>th,.factory-bootstrap-450 .table>tbody>tr>.success,.factory-bootstrap-450 .table>tfoot>.success>td,.factory-bootstrap-450 .table>tfoot>.success>th,.factory-bootstrap-450 .table>tfoot>tr>.success,.factory-bootstrap-450 .table>thead>.success>td,.factory-bootstrap-450 .table>thead>.success>th,.factory-bootstrap-450 .table>thead>tr>.success{background-color:#dff0d8}.factory-bootstrap-450 .table-hover>tbody>.success:hover>td,.factory-bootstrap-450 .table-hover>tbody>.success:hover>th,.factory-bootstrap-450 .table-hover>tbody>tr>.success:hover{background-color:#d0e9c6}.factory-bootstrap-450 .table>tbody>.danger>td,.factory-bootstrap-450 .table>tbody>.danger>th,.factory-bootstrap-450 .table>tbody>tr>.danger,.factory-bootstrap-450 .table>tfoot>.danger>td,.factory-bootstrap-450 .table>tfoot>.danger>th,.factory-bootstrap-450 .table>tfoot>tr>.danger,.factory-bootstrap-450 .table>thead>.danger>td,.factory-bootstrap-450 .table>thead>.danger>th,.factory-bootstrap-450 .table>thead>tr>.danger{background-color:#f2dede}.factory-bootstrap-450 .table-hover>tbody>.danger:hover>td,.factory-bootstrap-450 .table-hover>tbody>.danger:hover>th,.factory-bootstrap-450 .table-hover>tbody>tr>.danger:hover{background-color:#ebcccc}.factory-bootstrap-450 .table>tbody>.warning>td,.factory-bootstrap-450 .table>tbody>.warning>th,.factory-bootstrap-450 .table>tbody>tr>.warning,.factory-bootstrap-450 .table>tfoot>.warning>td,.factory-bootstrap-450 .table>tfoot>.warning>th,.factory-bootstrap-450 .table>tfoot>tr>.warning,.factory-bootstrap-450 .table>thead>.warning>td,.factory-bootstrap-450 .table>thead>.warning>th,.factory-bootstrap-450 .table>thead>tr>.warning{background-color:#fcf8e3}.factory-bootstrap-450 .table-hover>tbody>.warning:hover>td,.factory-bootstrap-450 .table-hover>tbody>.warning:hover>th,.factory-bootstrap-450 .table-hover>tbody>tr>.warning:hover{background-color:#faf2cc}@media (max-width:767px){.table-responsive{width:100%;margin-bottom:15px;overflow-x:scroll;overflow-y:hidden;border:1px solid #ddd;-ms-overflow-style:-ms-autohiding-scrollbar;-webkit-overflow-scrolling:touch}.table-responsive>.table{margin-bottom:0}.table-responsive>.table>tbody>tr>td,.table-responsive>.table>tbody>tr>th,.table-responsive>.table>tfoot>tr>td,.table-responsive>.table>tfoot>tr>th,.table-responsive>.table>thead>tr>td,.table-responsive>.table>thead>tr>th{white-space:nowrap}.table-responsive>.table-bordered{border:0}.table-responsive>.table-bordered>tbody>tr>td:first-child,.table-responsive>.table-bordered>tbody>tr>th:first-child,.table-responsive>.table-bordered>tfoot>tr>td:first-child,.table-responsive>.table-bordered>tfoot>tr>th:first-child,.table-responsive>.table-bordered>thead>tr>td:first-child,.table-responsive>.table-bordered>thead>tr>th:first-child{border-left:0}.table-responsive>.table-bordered>tbody>tr>td:last-child,.table-responsive>.table-bordered>tbody>tr>th:last-child,.table-responsive>.table-bordered>tfoot>tr>td:last-child,.table-responsive>.table-bordered>tfoot>tr>th:last-child,.table-responsive>.table-bordered>thead>tr>td:last-child,.table-responsive>.table-bordered>thead>tr>th:last-child{border-right:0}.table-responsive>.table-bordered>tbody>tr:last-child>td,.table-responsive>.table-bordered>tbody>tr:last-child>th,.table-responsive>.table-bordered>tfoot>tr:last-child>td,.table-responsive>.table-bordered>tfoot>tr:last-child>th{border-bottom:0}}.factory-bootstrap-450 fieldset{padding:0;margin:0;border:0}.factory-bootstrap-450 legend{display:block;width:100%;padding:0;margin-bottom:20px;font-size:21px;line-height:inherit;color:#333;border:0;border-bottom:1px solid #e5e5e5;-moz-box-sizing:content-box;box-sizing:content-box}.factory-bootstrap-450 label{display:inline-block;margin-bottom:5px;font-weight:700}.factory-bootstrap-450 input[type=search]{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.factory-bootstrap-450 input[type=checkbox],.factory-bootstrap-450 input[type=radio]{margin:4px 0 0;margin-top:1px \9;line-height:normal}.factory-bootstrap-450 input[type=file]{display:block}.factory-bootstrap-450 select[multiple],.factory-bootstrap-450 select[size]{height:auto}.factory-bootstrap-450 select optgroup{font-family:inherit;font-size:inherit;font-style:inherit}.factory-bootstrap-450 input[type=checkbox]:focus,.factory-bootstrap-450 input[type=file]:focus,.factory-bootstrap-450 input[type=radio]:focus{outline:thin dotted;outline:5px auto -webkit-focus-ring-color;outline-offset:-2px}.factory-bootstrap-450 input[type=number]::-webkit-inner-spin-button,.factory-bootstrap-450 input[type=number]::-webkit-outer-spin-button{height:auto}.factory-bootstrap-450 output{display:block;padding-top:7px;font-size:14px;line-height:1.428571429;color:#555;vertical-align:middle}.factory-bootstrap-450 .form-control{display:block;width:100%;height:34px;padding:6px 12px;font-size:14px;line-height:1.428571429;color:#555;vertical-align:middle;background-color:#fff;background-image:none;border:1px solid #ccc;border-radius:3px;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,.075);box-shadow:inset 0 1px 1px rgba(0,0,0,.075);-webkit-transition:border-color ease-in-out .15s,box-shadow ease-in-out .15s;transition:border-color ease-in-out .15s,box-shadow ease-in-out .15s}.factory-bootstrap-450 .form-control:focus{border-color:#66afe9;outline:0;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,.075);box-shadow:inset 0 1px 1px rgba(0,0,0,.075)}.factory-bootstrap-450 .form-control:-moz-placeholder{color:#999}.factory-bootstrap-450 .form-control::-moz-placeholder{color:#999;opacity:1}.factory-bootstrap-450 .form-control:-ms-input-placeholder{color:#999}.factory-bootstrap-450 .form-control::-webkit-input-placeholder{color:#999}.factory-bootstrap-450 .form-control[disabled],.factory-bootstrap-450 .form-control[readonly],.factory-bootstrap-450 fieldset[disabled] .form-control{cursor:not-allowed;background-color:#eee}.factory-bootstrap-450 textarea.form-control{height:auto}.factory-bootstrap-450 .form-group{margin-bottom:15px}.factory-bootstrap-450 .checkbox,.factory-bootstrap-450 .radio{display:block;min-height:20px;padding-left:20px;margin-top:10px;margin-bottom:10px;vertical-align:middle}.factory-bootstrap-450 .checkbox label,.factory-bootstrap-450 .radio label{display:inline;margin-bottom:0;font-weight:400;cursor:pointer}.factory-bootstrap-450 .checkbox input[type=checkbox],.factory-bootstrap-450 .checkbox-inline input[type=checkbox],.factory-bootstrap-450 .radio input[type=radio],.factory-bootstrap-450 .radio-inline input[type=radio]{float:left;margin-left:-20px}.factory-bootstrap-450 .checkbox+.checkbox,.factory-bootstrap-450 .radio+.radio{margin-top:-5px}.factory-bootstrap-450 .checkbox-inline,.factory-bootstrap-450 .radio-inline{display:inline-block;padding-left:20px;margin-bottom:0;font-weight:400;vertical-align:middle;cursor:pointer}.factory-bootstrap-450 .checkbox-inline+.checkbox-inline,.factory-bootstrap-450 .radio-inline+.radio-inline{margin-top:0;margin-left:10px}.factory-bootstrap-450 .checkbox-inline[disabled],.factory-bootstrap-450 .checkbox[disabled],.factory-bootstrap-450 .radio-inline[disabled],.factory-bootstrap-450 .radio[disabled],.factory-bootstrap-450 fieldset[disabled] .checkbox,.factory-bootstrap-450 fieldset[disabled] .checkbox-inline,.factory-bootstrap-450 fieldset[disabled] .radio,.factory-bootstrap-450 fieldset[disabled] .radio-inline,.factory-bootstrap-450 fieldset[disabled] input[type=checkbox],.factory-bootstrap-450 fieldset[disabled] input[type=radio],.factory-bootstrap-450 input[type=checkbox][disabled],.factory-bootstrap-450 input[type=radio][disabled]{cursor:not-allowed}.factory-bootstrap-450 .input-sm{height:30px;padding:5px 10px;font-size:12px;line-height:1.5;border-radius:3px}.factory-bootstrap-450 select.input-sm{height:30px;line-height:30px}.factory-bootstrap-450 textarea.input-sm{height:auto}.factory-bootstrap-450 .input-lg{height:46px;padding:10px 16px;font-size:18px;line-height:1.33;border-radius:6px}.factory-bootstrap-450 select.input-lg{height:46px;line-height:46px}.factory-bootstrap-450 textarea.input-lg{height:auto}.factory-bootstrap-450 .has-warning .checkbox,.factory-bootstrap-450 .has-warning .checkbox-inline,.factory-bootstrap-450 .has-warning .control-label,.factory-bootstrap-450 .has-warning .help-block,.factory-bootstrap-450 .has-warning .radio,.factory-bootstrap-450 .has-warning .radio-inline{color:#8a6d3b}.factory-bootstrap-450 .has-warning .form-control{border-color:#8a6d3b;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,.075);box-shadow:inset 0 1px 1px rgba(0,0,0,.075)}.factory-bootstrap-450 .has-warning .form-control:focus{border-color:#66512c;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,.075),0 0 6px #c0a16b;box-shadow:inset 0 1px 1px rgba(0,0,0,.075),0 0 6px #c0a16b}.factory-bootstrap-450 .has-warning .input-group-addon{color:#8a6d3b;background-color:#fcf8e3;border-color:#8a6d3b}.factory-bootstrap-450 .has-error .checkbox,.factory-bootstrap-450 .has-error .checkbox-inline,.factory-bootstrap-450 .has-error .control-label,.factory-bootstrap-450 .has-error .help-block,.factory-bootstrap-450 .has-error .radio,.factory-bootstrap-450 .has-error .radio-inline{color:#a94442}.factory-bootstrap-450 .controls{display:block}.factory-bootstrap-450 .has-error .form-control{border-color:#a94442;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,.075);box-shadow:inset 0 1px 1px rgba(0,0,0,.075)}.factory-bootstrap-450 .has-error .form-control:focus{border-color:#843534;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,.075),0 0 6px #ce8483;box-shadow:inset 0 1px 1px rgba(0,0,0,.075),0 0 6px #ce8483}.factory-bootstrap-450 .has-error .input-group-addon{color:#a94442;background-color:#f2dede;border-color:#a94442}.factory-bootstrap-450 .has-success .checkbox,.factory-bootstrap-450 .has-success .checkbox-inline,.factory-bootstrap-450 .has-success .control-label,.factory-bootstrap-450 .has-success .help-block,.factory-bootstrap-450 .has-success .radio,.factory-bootstrap-450 .has-success .radio-inline{color:#3c763d}.factory-bootstrap-450 .has-success .form-control{border-color:#3c763d;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,.075);box-shadow:inset 0 1px 1px rgba(0,0,0,.075)}.factory-bootstrap-450 .has-success .form-control:focus{border-color:#2b542c;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,.075),0 0 6px #67b168;box-shadow:inset 0 1px 1px rgba(0,0,0,.075),0 0 6px #67b168}.factory-bootstrap-450 .has-success .input-group-addon{color:#3c763d;background-color:#dff0d8;border-color:#3c763d}.factory-bootstrap-450 .form-control-static{margin-bottom:0}.factory-bootstrap-450 .help-block{display:block;margin-top:5px;margin-bottom:10px;color:#737373;font-weight:400}@media (min-width:768px){.form-inline .form-group{display:inline-block;margin-bottom:0;vertical-align:middle}.form-inline .form-control{display:inline-block}.form-inline select.form-control{width:auto}.form-inline .checkbox,.form-inline .radio{display:inline-block;padding-left:0;margin-top:0;margin-bottom:0}.form-inline .checkbox input[type=checkbox],.form-inline .radio input[type=radio]{float:none;margin-left:0}}.factory-bootstrap-450 .form-horizontal .checkbox,.factory-bootstrap-450 .form-horizontal .checkbox-inline,.factory-bootstrap-450 .form-horizontal .control-label,.factory-bootstrap-450 .form-horizontal .radio,.factory-bootstrap-450 .form-horizontal .radio-inline{position:relative;padding-top:7px;margin-top:0;margin-bottom:0}.factory-bootstrap-450 .form-horizontal .control-label{max-width:200px}.factory-bootstrap-450 .form-horizontal .checkbox,.factory-bootstrap-450 .form-horizontal .radio{min-height:27px}.factory-bootstrap-450 .form-horizontal .form-group{margin-right:-15px;margin-left:-15px}.factory-bootstrap-450 .form-horizontal .form-group:after,.factory-bootstrap-450 .form-horizontal .form-group:before{display:table;content:" "}.factory-bootstrap-450 .form-horizontal .form-group:after{clear:both}.factory-bootstrap-450 .form-horizontal .form-control-static{padding-top:7px}@media (min-width:768px){.form-horizontal .control-label{text-align:right}}.factory-bootstrap-450 .btn{display:inline-block;padding:5px 12px;margin-bottom:0;font-size:13px;font-weight:400;line-height:1.428571429;text-align:center;white-space:nowrap;vertical-align:middle;cursor:pointer;background-image:none;border:1px solid transparent;border-radius:3px;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;-o-user-select:none;user-select:none}.factory-bootstrap-450 .btn:focus{outline:thin dotted;outline:5px auto -webkit-focus-ring-color;outline-offset:-2px}.factory-bootstrap-450 .btn{text-decoration:none}.factory-bootstrap-450 .btn:focus,.factory-bootstrap-450 .btn:hover{color:#333;text-decoration:none}.factory-bootstrap-450 .btn.disabled,.factory-bootstrap-450 .btn[disabled],.factory-bootstrap-450 fieldset[disabled] .btn{pointer-events:none;cursor:not-allowed;opacity:.65;filter:alpha(opacity=65);-webkit-box-shadow:none;box-shadow:none}.factory-bootstrap-450 .btn-default.active,.factory-bootstrap-450 .btn-default:active,.factory-bootstrap-450 .btn-default:focus,.factory-bootstrap-450 .btn-default:hover,.factory-bootstrap-450 .open .dropdown-toggle.btn-default{background:#fafafa;border-color:#999;color:#222}.factory-bootstrap-450 .btn-default.active,.factory-bootstrap-450 .btn-default:active,.factory-bootstrap-450 .open .dropdown-toggle.btn-default{background-image:none}.factory-bootstrap-450 .btn-default.disabled,.factory-bootstrap-450 .btn-default.disabled.active,.factory-bootstrap-450 .btn-default.disabled:active,.factory-bootstrap-450 .btn-default.disabled:focus,.factory-bootstrap-450 .btn-default.disabled:hover,.factory-bootstrap-450 .btn-default[disabled],.factory-bootstrap-450 .btn-default[disabled].active,.factory-bootstrap-450 .btn-default[disabled]:active,.factory-bootstrap-450 .btn-default[disabled]:focus,.factory-bootstrap-450 .btn-default[disabled]:hover,.factory-bootstrap-450 fieldset[disabled] .btn-default,.factory-bootstrap-450 fieldset[disabled] .btn-default.active,.factory-bootstrap-450 fieldset[disabled] .btn-default:active,.factory-bootstrap-450 fieldset[disabled] .btn-default:focus,.factory-bootstrap-450 fieldset[disabled] .btn-default:hover{background-color:#fff;border-color:#ccc}.factory-bootstrap-450 .btn-default .badge{color:#fff;background-color:#fff}.factory-bootstrap-450 .btn-primary.active,.factory-bootstrap-450 .btn-primary:active,.factory-bootstrap-450 .btn-primary:focus,.factory-bootstrap-450 .btn-primary:hover,.factory-bootstrap-450 .open .dropdown-toggle.btn-primary{color:#fff;background-color:#3276b1;border-color:#285e8e}.factory-bootstrap-450 .btn-primary.active,.factory-bootstrap-450 .btn-primary:active,.factory-bootstrap-450 .open .dropdown-toggle.btn-primary{background-image:none}.factory-bootstrap-450 .btn-primary.disabled,.factory-bootstrap-450 .btn-primary.disabled.active,.factory-bootstrap-450 .btn-primary.disabled:active,.factory-bootstrap-450 .btn-primary.disabled:focus,.factory-bootstrap-450 .btn-primary.disabled:hover,.factory-bootstrap-450 .btn-primary[disabled],.factory-bootstrap-450 .btn-primary[disabled].active,.factory-bootstrap-450 .btn-primary[disabled]:active,.factory-bootstrap-450 .btn-primary[disabled]:focus,.factory-bootstrap-450 .btn-primary[disabled]:hover,.factory-bootstrap-450 fieldset[disabled] .btn-primary,.factory-bootstrap-450 fieldset[disabled] .btn-primary.active,.factory-bootstrap-450 fieldset[disabled] .btn-primary:active,.factory-bootstrap-450 fieldset[disabled] .btn-primary:focus,.factory-bootstrap-450 fieldset[disabled] .btn-primary:hover{background-color:#428bca;border-color:#357ebd}.factory-bootstrap-450 .btn-primary .badge{color:#428bca;background-color:#fff}.factory-bootstrap-450 .btn-warning{color:#fff;background-color:#f0ad4e}.factory-bootstrap-450 .btn-warning.active,.factory-bootstrap-450 .btn-warning:active,.factory-bootstrap-450 .btn-warning:focus,.factory-bootstrap-450 .btn-warning:hover,.factory-bootstrap-450 .open .dropdown-toggle.btn-warning{color:#fff;background-color:#ed9c28;border-color:#d58512}.factory-bootstrap-450 .btn-warning.active,.factory-bootstrap-450 .btn-warning:active,.factory-bootstrap-450 .open .dropdown-toggle.btn-warning{background-image:none}.factory-bootstrap-450 .btn-warning.disabled,.factory-bootstrap-450 .btn-warning.disabled.active,.factory-bootstrap-450 .btn-warning.disabled:active,.factory-bootstrap-450 .btn-warning.disabled:focus,.factory-bootstrap-450 .btn-warning.disabled:hover,.factory-bootstrap-450 .btn-warning[disabled],.factory-bootstrap-450 .btn-warning[disabled].active,.factory-bootstrap-450 .btn-warning[disabled]:active,.factory-bootstrap-450 .btn-warning[disabled]:focus,.factory-bootstrap-450 .btn-warning[disabled]:hover,.factory-bootstrap-450 fieldset[disabled] .btn-warning,.factory-bootstrap-450 fieldset[disabled] .btn-warning.active,.factory-bootstrap-450 fieldset[disabled] .btn-warning:active,.factory-bootstrap-450 fieldset[disabled] .btn-warning:focus,.factory-bootstrap-450 fieldset[disabled] .btn-warning:hover{background-color:#f0ad4e;border-color:#eea236}.factory-bootstrap-450 .btn-warning .badge{color:#f0ad4e;background-color:#fff}.factory-bootstrap-450 .btn-success{color:#fff;background-color:#5cb85c}.factory-bootstrap-450 .btn-success.active,.factory-bootstrap-450 .btn-success:active,.factory-bootstrap-450 .btn-success:focus,.factory-bootstrap-450 .btn-success:hover,.factory-bootstrap-450 .open .dropdown-toggle.btn-success{color:#fff;background-color:#47a447;border-color:#398439}.factory-bootstrap-450 .btn-success.active,.factory-bootstrap-450 .btn-success:active,.factory-bootstrap-450 .open .dropdown-toggle.btn-success{background-image:none}.factory-bootstrap-450 .btn-success.disabled,.factory-bootstrap-450 .btn-success.disabled.active,.factory-bootstrap-450 .btn-success.disabled:active,.factory-bootstrap-450 .btn-success.disabled:focus,.factory-bootstrap-450 .btn-success.disabled:hover,.factory-bootstrap-450 .btn-success[disabled],.factory-bootstrap-450 .btn-success[disabled].active,.factory-bootstrap-450 .btn-success[disabled]:active,.factory-bootstrap-450 .btn-success[disabled]:focus,.factory-bootstrap-450 .btn-success[disabled]:hover,.factory-bootstrap-450 fieldset[disabled] .btn-success,.factory-bootstrap-450 fieldset[disabled] .btn-success.active,.factory-bootstrap-450 fieldset[disabled] .btn-success:active,.factory-bootstrap-450 fieldset[disabled] .btn-success:focus,.factory-bootstrap-450 fieldset[disabled] .btn-success:hover{background-color:#5cb85c;border-color:#4cae4c}.factory-bootstrap-450 .btn-success .badge{color:#5cb85c;background-color:#fff}.factory-bootstrap-450 .btn-info{color:#fff;background-color:#5bc0de}.factory-bootstrap-450 .btn-info.active,.factory-bootstrap-450 .btn-info:active,.factory-bootstrap-450 .btn-info:focus,.factory-bootstrap-450 .btn-info:hover,.factory-bootstrap-450 .open .dropdown-toggle.btn-info{color:#fff;background-color:#39b3d7;border-color:#269abc}.factory-bootstrap-450 .btn-info.active,.factory-bootstrap-450 .btn-info:active,.factory-bootstrap-450 .open .dropdown-toggle.btn-info{background-image:none}.factory-bootstrap-450 .btn-info.disabled,.factory-bootstrap-450 .btn-info.disabled.active,.factory-bootstrap-450 .btn-info.disabled:active,.factory-bootstrap-450 .btn-info.disabled:focus,.factory-bootstrap-450 .btn-info.disabled:hover,.factory-bootstrap-450 .btn-info[disabled],.factory-bootstrap-450 .btn-info[disabled].active,.factory-bootstrap-450 .btn-info[disabled]:active,.factory-bootstrap-450 .btn-info[disabled]:focus,.factory-bootstrap-450 .btn-info[disabled]:hover,.factory-bootstrap-450 fieldset[disabled] .btn-info,.factory-bootstrap-450 fieldset[disabled] .btn-info.active,.factory-bootstrap-450 fieldset[disabled] .btn-info:active,.factory-bootstrap-450 fieldset[disabled] .btn-info:focus,.factory-bootstrap-450 fieldset[disabled] .btn-info:hover{background-color:#5bc0de;border-color:#46b8da}.factory-bootstrap-450 .btn-info .badge{color:#5bc0de;background-color:#fff}.factory-bootstrap-450 .btn-link{font-weight:400;color:#428bca;cursor:pointer;border-radius:0}.factory-bootstrap-450 .btn-link,.factory-bootstrap-450 .btn-link:active,.factory-bootstrap-450 .btn-link[disabled],.factory-bootstrap-450 fieldset[disabled] .btn-link{background-color:transparent;-webkit-box-shadow:none;box-shadow:none}.factory-bootstrap-450 .btn-link,.factory-bootstrap-450 .btn-link:active,.factory-bootstrap-450 .btn-link:focus,.factory-bootstrap-450 .btn-link:hover{border-color:transparent}.factory-bootstrap-450 .btn-link:focus,.factory-bootstrap-450 .btn-link:hover{color:#2a6496;text-decoration:underline;background-color:transparent}.factory-bootstrap-450 .btn-link[disabled]:focus,.factory-bootstrap-450 .btn-link[disabled]:hover,.factory-bootstrap-450 fieldset[disabled] .btn-link:focus,.factory-bootstrap-450 fieldset[disabled] .btn-link:hover{color:#999;text-decoration:none}.factory-bootstrap-450 .btn-lg{padding:10px 16px;font-size:18px;line-height:1.33;border-radius:6px}.factory-bootstrap-450 .btn-sm{padding:5px 10px;font-size:12px;line-height:1.5;border-radius:3px}.factory-bootstrap-450 .btn-xs{padding:1px 5px;font-size:12px;line-height:1.5;border-radius:3px}.factory-bootstrap-450 .btn-block{display:block;width:100%;padding-right:0;padding-left:0}.factory-bootstrap-450 .btn-block+.btn-block{margin-top:5px}.factory-bootstrap-450 input[type=button].btn-block,.factory-bootstrap-450 input[type=reset].btn-block,.factory-bootstrap-450 input[type=submit].btn-block{width:100%}.factory-bootstrap-450 .fade{opacity:0;-webkit-transition:opacity .15s linear;transition:opacity .15s linear}.factory-bootstrap-450 .fade.in{opacity:1}.factory-bootstrap-450 .collapse{display:none}.factory-bootstrap-450 .collapse.in{display:block}.factory-bootstrap-450 .collapsing{position:relative;height:0;overflow:hidden;-webkit-transition:height .35s ease;transition:height .35s ease}@font-face{font-family:'Glyphicons Halflings';src:url(../fonts/glyphicons-halflings-regular.eot);src:url(../fonts/glyphicons-halflings-regular.eot?#iefix) format('embedded-opentype'),url(../fonts/glyphicons-halflings-regular.woff) format('woff'),url(../fonts/glyphicons-halflings-regular.ttf) format('truetype'),url(../fonts/glyphicons-halflings-regular.svg#glyphicons-halflingsregular) format('svg')}.factory-bootstrap-450 .glyphicon{position:relative;top:1px;display:inline-block;font-family:'Glyphicons Halflings';-webkit-font-smoothing:antialiased;font-style:normal;font-weight:400;line-height:1;-moz-osx-font-smoothing:grayscale}.factory-bootstrap-450 .glyphicon:empty{width:1em}.factory-bootstrap-450 .glyphicon-asterisk:before{content:"\2a"}.factory-bootstrap-450 .glyphicon-plus:before{content:"\2b"}.factory-bootstrap-450 .glyphicon-euro:before{content:"\20ac"}.factory-bootstrap-450 .glyphicon-minus:before{content:"\2212"}.factory-bootstrap-450 .glyphicon-cloud:before{content:"\2601"}.factory-bootstrap-450 .glyphicon-envelope:before{content:"\2709"}.factory-bootstrap-450 .glyphicon-pencil:before{content:"\270f"}.factory-bootstrap-450 .glyphicon-glass:before{content:"\e001"}.factory-bootstrap-450 .glyphicon-music:before{content:"\e002"}.factory-bootstrap-450 .glyphicon-search:before{content:"\e003"}.factory-bootstrap-450 .glyphicon-heart:before{content:"\e005"}.factory-bootstrap-450 .glyphicon-star:before{content:"\e006"}.factory-bootstrap-450 .glyphicon-star-empty:before{content:"\e007"}.factory-bootstrap-450 .glyphicon-user:before{content:"\e008"}.factory-bootstrap-450 .glyphicon-film:before{content:"\e009"}.factory-bootstrap-450 .glyphicon-th-large:before{content:"\e010"}.factory-bootstrap-450 .glyphicon-th:before{content:"\e011"}.factory-bootstrap-450 .glyphicon-th-list:before{content:"\e012"}.factory-bootstrap-450 .glyphicon-ok:before{content:"\e013"}.factory-bootstrap-450 .glyphicon-remove:before{content:"\e014"}.factory-bootstrap-450 .glyphicon-zoom-in:before{content:"\e015"}.factory-bootstrap-450 .glyphicon-zoom-out:before{content:"\e016"}.factory-bootstrap-450 .glyphicon-off:before{content:"\e017"}.factory-bootstrap-450 .glyphicon-signal:before{content:"\e018"}.factory-bootstrap-450 .glyphicon-cog:before{content:"\e019"}.factory-bootstrap-450 .glyphicon-trash:before{content:"\e020"}.factory-bootstrap-450 .glyphicon-home:before{content:"\e021"}.factory-bootstrap-450 .glyphicon-file:before{content:"\e022"}.factory-bootstrap-450 .glyphicon-time:before{content:"\e023"}.factory-bootstrap-450 .glyphicon-road:before{content:"\e024"}.factory-bootstrap-450 .glyphicon-download-alt:before{content:"\e025"}.factory-bootstrap-450 .glyphicon-download:before{content:"\e026"}.factory-bootstrap-450 .glyphicon-upload:before{content:"\e027"}.factory-bootstrap-450 .glyphicon-inbox:before{content:"\e028"}.factory-bootstrap-450 .glyphicon-play-circle:before{content:"\e029"}.factory-bootstrap-450 .glyphicon-repeat:before{content:"\e030"}.factory-bootstrap-450 .glyphicon-refresh:before{content:"\e031"}.factory-bootstrap-450 .glyphicon-list-alt:before{content:"\e032"}.factory-bootstrap-450 .glyphicon-lock:before{content:"\e033"}.factory-bootstrap-450 .glyphicon-flag:before{content:"\e034"}.factory-bootstrap-450 .glyphicon-headphones:before{content:"\e035"}.factory-bootstrap-450 .glyphicon-volume-off:before{content:"\e036"}.factory-bootstrap-450 .glyphicon-volume-down:before{content:"\e037"}.factory-bootstrap-450 .glyphicon-volume-up:before{content:"\e038"}.factory-bootstrap-450 .glyphicon-qrcode:before{content:"\e039"}.factory-bootstrap-450 .glyphicon-barcode:before{content:"\e040"}.factory-bootstrap-450 .glyphicon-tag:before{content:"\e041"}.factory-bootstrap-450 .glyphicon-tags:before{content:"\e042"}.factory-bootstrap-450 .glyphicon-book:before{content:"\e043"}.factory-bootstrap-450 .glyphicon-bookmark:before{content:"\e044"}.factory-bootstrap-450 .glyphicon-print:before{content:"\e045"}.factory-bootstrap-450 .glyphicon-camera:before{content:"\e046"}.factory-bootstrap-450 .glyphicon-font:before{content:"\e047"}.factory-bootstrap-450 .glyphicon-bold:before{content:"\e048"}.factory-bootstrap-450 .glyphicon-italic:before{content:"\e049"}.factory-bootstrap-450 .glyphicon-text-height:before{content:"\e050"}.factory-bootstrap-450 .glyphicon-text-width:before{content:"\e051"}.factory-bootstrap-450 .glyphicon-align-left:before{content:"\e052"}.factory-bootstrap-450 .glyphicon-align-center:before{content:"\e053"}.factory-bootstrap-450 .glyphicon-align-right:before{content:"\e054"}.factory-bootstrap-450 .glyphicon-align-justify:before{content:"\e055"}.factory-bootstrap-450 .glyphicon-list:before{content:"\e056"}.factory-bootstrap-450 .glyphicon-indent-left:before{content:"\e057"}.factory-bootstrap-450 .glyphicon-indent-right:before{content:"\e058"}.factory-bootstrap-450 .glyphicon-facetime-video:before{content:"\e059"}.factory-bootstrap-450 .glyphicon-picture:before{content:"\e060"}.factory-bootstrap-450 .glyphicon-map-marker:before{content:"\e062"}.factory-bootstrap-450 .glyphicon-adjust:before{content:"\e063"}.factory-bootstrap-450 .glyphicon-tint:before{content:"\e064"}.factory-bootstrap-450 .glyphicon-edit:before{content:"\e065"}.factory-bootstrap-450 .glyphicon-share:before{content:"\e066"}.factory-bootstrap-450 .glyphicon-check:before{content:"\e067"}.factory-bootstrap-450 .glyphicon-move:before{content:"\e068"}.factory-bootstrap-450 .glyphicon-step-backward:before{content:"\e069"}.factory-bootstrap-450 .glyphicon-fast-backward:before{content:"\e070"}.factory-bootstrap-450 .glyphicon-backward:before{content:"\e071"}.factory-bootstrap-450 .glyphicon-play:before{content:"\e072"}.factory-bootstrap-450 .glyphicon-pause:before{content:"\e073"}.factory-bootstrap-450 .glyphicon-stop:before{content:"\e074"}.factory-bootstrap-450 .glyphicon-forward:before{content:"\e075"}.factory-bootstrap-450 .glyphicon-fast-forward:before{content:"\e076"}.factory-bootstrap-450 .glyphicon-step-forward:before{content:"\e077"}.factory-bootstrap-450 .glyphicon-eject:before{content:"\e078"}.factory-bootstrap-450 .glyphicon-chevron-left:before{content:"\e079"}.factory-bootstrap-450 .glyphicon-chevron-right:before{content:"\e080"}.factory-bootstrap-450 .glyphicon-plus-sign:before{content:"\e081"}.factory-bootstrap-450 .glyphicon-minus-sign:before{content:"\e082"}.factory-bootstrap-450 .glyphicon-remove-sign:before{content:"\e083"}.factory-bootstrap-450 .glyphicon-ok-sign:before{content:"\e084"}.factory-bootstrap-450 .glyphicon-question-sign:before{content:"\e085"}.factory-bootstrap-450 .glyphicon-info-sign:before{content:"\e086"}.factory-bootstrap-450 .glyphicon-screenshot:before{content:"\e087"}.factory-bootstrap-450 .glyphicon-remove-circle:before{content:"\e088"}.factory-bootstrap-450 .glyphicon-ok-circle:before{content:"\e089"}.factory-bootstrap-450 .glyphicon-ban-circle:before{content:"\e090"}.factory-bootstrap-450 .glyphicon-arrow-left:before{content:"\e091"}.factory-bootstrap-450 .glyphicon-arrow-right:before{content:"\e092"}.factory-bootstrap-450 .glyphicon-arrow-up:before{content:"\e093"}.factory-bootstrap-450 .glyphicon-arrow-down:before{content:"\e094"}.factory-bootstrap-450 .glyphicon-share-alt:before{content:"\e095"}.factory-bootstrap-450 .glyphicon-resize-full:before{content:"\e096"}.factory-bootstrap-450 .glyphicon-resize-small:before{content:"\e097"}.factory-bootstrap-450 .glyphicon-exclamation-sign:before{content:"\e101"}.factory-bootstrap-450 .glyphicon-gift:before{content:"\e102"}.factory-bootstrap-450 .glyphicon-leaf:before{content:"\e103"}.factory-bootstrap-450 .glyphicon-fire:before{content:"\e104"}.factory-bootstrap-450 .glyphicon-eye-open:before{content:"\e105"}.factory-bootstrap-450 .glyphicon-eye-close:before{content:"\e106"}.factory-bootstrap-450 .glyphicon-warning-sign:before{content:"\e107"}.factory-bootstrap-450 .glyphicon-plane:before{content:"\e108"}.factory-bootstrap-450 .glyphicon-calendar:before{content:"\e109"}.factory-bootstrap-450 .glyphicon-random:before{content:"\e110"}.factory-bootstrap-450 .glyphicon-comment:before{content:"\e111"}.factory-bootstrap-450 .glyphicon-magnet:before{content:"\e112"}.factory-bootstrap-450 .glyphicon-chevron-up:before{content:"\e113"}.factory-bootstrap-450 .glyphicon-chevron-down:before{content:"\e114"}.factory-bootstrap-450 .glyphicon-retweet:before{content:"\e115"}.factory-bootstrap-450 .glyphicon-shopping-cart:before{content:"\e116"}.factory-bootstrap-450 .glyphicon-folder-close:before{content:"\e117"}.factory-bootstrap-450 .glyphicon-folder-open:before{content:"\e118"}.factory-bootstrap-450 .glyphicon-resize-vertical:before{content:"\e119"}.factory-bootstrap-450 .glyphicon-resize-horizontal:before{content:"\e120"}.factory-bootstrap-450 .glyphicon-hdd:before{content:"\e121"}.factory-bootstrap-450 .glyphicon-bullhorn:before{content:"\e122"}.factory-bootstrap-450 .glyphicon-bell:before{content:"\e123"}.factory-bootstrap-450 .glyphicon-certificate:before{content:"\e124"}.factory-bootstrap-450 .glyphicon-thumbs-up:before{content:"\e125"}.factory-bootstrap-450 .glyphicon-thumbs-down:before{content:"\e126"}.factory-bootstrap-450 .glyphicon-hand-right:before{content:"\e127"}.factory-bootstrap-450 .glyphicon-hand-left:before{content:"\e128"}.factory-bootstrap-450 .glyphicon-hand-up:before{content:"\e129"}.factory-bootstrap-450 .glyphicon-hand-down:before{content:"\e130"}.factory-bootstrap-450 .glyphicon-circle-arrow-right:before{content:"\e131"}.factory-bootstrap-450 .glyphicon-circle-arrow-left:before{content:"\e132"}.factory-bootstrap-450 .glyphicon-circle-arrow-up:before{content:"\e133"}.factory-bootstrap-450 .glyphicon-circle-arrow-down:before{content:"\e134"}.factory-bootstrap-450 .glyphicon-globe:before{content:"\e135"}.factory-bootstrap-450 .glyphicon-wrench:before{content:"\e136"}.factory-bootstrap-450 .glyphicon-tasks:before{content:"\e137"}.factory-bootstrap-450 .glyphicon-filter:before{content:"\e138"}.factory-bootstrap-450 .glyphicon-briefcase:before{content:"\e139"}.factory-bootstrap-450 .glyphicon-fullscreen:before{content:"\e140"}.factory-bootstrap-450 .glyphicon-dashboard:before{content:"\e141"}.factory-bootstrap-450 .glyphicon-paperclip:before{content:"\e142"}.factory-bootstrap-450 .glyphicon-heart-empty:before{content:"\e143"}.factory-bootstrap-450 .glyphicon-link:before{content:"\e144"}.factory-bootstrap-450 .glyphicon-phone:before{content:"\e145"}.factory-bootstrap-450 .glyphicon-pushpin:before{content:"\e146"}.factory-bootstrap-450 .glyphicon-usd:before{content:"\e148"}.factory-bootstrap-450 .glyphicon-gbp:before{content:"\e149"}.factory-bootstrap-450 .glyphicon-sort:before{content:"\e150"}.factory-bootstrap-450 .glyphicon-sort-by-alphabet:before{content:"\e151"}.factory-bootstrap-450 .glyphicon-sort-by-alphabet-alt:before{content:"\e152"}.factory-bootstrap-450 .glyphicon-sort-by-order:before{content:"\e153"}.factory-bootstrap-450 .glyphicon-sort-by-order-alt:before{content:"\e154"}.factory-bootstrap-450 .glyphicon-sort-by-attributes:before{content:"\e155"}.factory-bootstrap-450 .glyphicon-sort-by-attributes-alt:before{content:"\e156"}.factory-bootstrap-450 .glyphicon-unchecked:before{content:"\e157"}.factory-bootstrap-450 .glyphicon-expand:before{content:"\e158"}.factory-bootstrap-450 .glyphicon-collapse-down:before{content:"\e159"}.factory-bootstrap-450 .glyphicon-collapse-up:before{content:"\e160"}.factory-bootstrap-450 .glyphicon-log-in:before{content:"\e161"}.factory-bootstrap-450 .glyphicon-flash:before{content:"\e162"}.factory-bootstrap-450 .glyphicon-log-out:before{content:"\e163"}.factory-bootstrap-450 .glyphicon-new-window:before{content:"\e164"}.factory-bootstrap-450 .glyphicon-record:before{content:"\e165"}.factory-bootstrap-450 .glyphicon-save:before{content:"\e166"}.factory-bootstrap-450 .glyphicon-open:before{content:"\e167"}.factory-bootstrap-450 .glyphicon-saved:before{content:"\e168"}.factory-bootstrap-450 .glyphicon-import:before{content:"\e169"}.factory-bootstrap-450 .glyphicon-export:before{content:"\e170"}.factory-bootstrap-450 .glyphicon-send:before{content:"\e171"}.factory-bootstrap-450 .glyphicon-floppy-disk:before{content:"\e172"}.factory-bootstrap-450 .glyphicon-floppy-saved:before{content:"\e173"}.factory-bootstrap-450 .glyphicon-floppy-remove:before{content:"\e174"}.factory-bootstrap-450 .glyphicon-floppy-save:before{content:"\e175"}.factory-bootstrap-450 .glyphicon-floppy-open:before{content:"\e176"}.factory-bootstrap-450 .glyphicon-credit-card:before{content:"\e177"}.factory-bootstrap-450 .glyphicon-transfer:before{content:"\e178"}.factory-bootstrap-450 .glyphicon-cutlery:before{content:"\e179"}.factory-bootstrap-450 .glyphicon-header:before{content:"\e180"}.factory-bootstrap-450 .glyphicon-compressed:before{content:"\e181"}.factory-bootstrap-450 .glyphicon-earphone:before{content:"\e182"}.factory-bootstrap-450 .glyphicon-phone-alt:before{content:"\e183"}.factory-bootstrap-450 .glyphicon-tower:before{content:"\e184"}.factory-bootstrap-450 .glyphicon-stats:before{content:"\e185"}.factory-bootstrap-450 .glyphicon-sd-video:before{content:"\e186"}.factory-bootstrap-450 .glyphicon-hd-video:before{content:"\e187"}.factory-bootstrap-450 .glyphicon-subtitles:before{content:"\e188"}.factory-bootstrap-450 .glyphicon-sound-stereo:before{content:"\e189"}.factory-bootstrap-450 .glyphicon-sound-dolby:before{content:"\e190"}.factory-bootstrap-450 .glyphicon-sound-5-1:before{content:"\e191"}.factory-bootstrap-450 .glyphicon-sound-6-1:before{content:"\e192"}.factory-bootstrap-450 .glyphicon-sound-7-1:before{content:"\e193"}.factory-bootstrap-450 .glyphicon-copyright-mark:before{content:"\e194"}.factory-bootstrap-450 .glyphicon-registration-mark:before{content:"\e195"}.factory-bootstrap-450 .glyphicon-cloud-download:before{content:"\e197"}.factory-bootstrap-450 .glyphicon-cloud-upload:before{content:"\e198"}.factory-bootstrap-450 .glyphicon-tree-conifer:before{content:"\e199"}.factory-bootstrap-450 .glyphicon-tree-deciduous:before{content:"\e200"}.factory-bootstrap-450 .caret{display:inline-block;width:0;height:0;margin-left:2px;vertical-align:middle;border-top:4px solid;border-right:4px solid transparent;border-left:4px solid transparent}.factory-bootstrap-450 .dropdown{position:relative}.factory-bootstrap-450 .dropdown-toggle:focus{outline:0}.factory-bootstrap-450 .dropdown-menu{position:absolute;top:100%;left:0;z-index:1000;display:none;float:left;min-width:160px;padding:5px 0;margin:2px 0 0;font-size:14px;list-style:none;background-color:#fff;border:1px solid #ccc;border:1px solid rgba(0,0,0,.15);border-radius:4px;-webkit-box-shadow:0 6px 12px rgba(0,0,0,.175);box-shadow:0 6px 12px rgba(0,0,0,.175);background-clip:padding-box}.factory-bootstrap-450 .dropdown-menu.pull-right{right:0;left:auto}.factory-bootstrap-450 .dropdown-menu .divider{height:1px;margin:9px 0;overflow:hidden;background-color:#e5e5e5}.factory-bootstrap-450 .dropdown-menu>li>a{display:block;padding:3px 20px;clear:both;font-weight:400;line-height:1.428571429;color:#333;white-space:nowrap}.factory-bootstrap-450 .dropdown-menu>li>a:focus,.factory-bootstrap-450 .dropdown-menu>li>a:hover{color:#262626;text-decoration:none}.factory-bootstrap-450 .dropdown-menu>.active>a,.factory-bootstrap-450 .dropdown-menu>.active>a:focus,.factory-bootstrap-450 .dropdown-menu>.active>a:hover{color:#fff;text-decoration:none;outline:0}.factory-bootstrap-450 .dropdown-menu>.disabled>a,.factory-bootstrap-450 .dropdown-menu>.disabled>a:focus,.factory-bootstrap-450 .dropdown-menu>.disabled>a:hover{color:#999}.factory-bootstrap-450 .dropdown-menu>.disabled>a:focus,.factory-bootstrap-450 .dropdown-menu>.disabled>a:hover{text-decoration:none;cursor:not-allowed;background-color:transparent;background-image:none;filter:progid:DXImageTransform.Microsoft.gradient(enabled=false)}.factory-bootstrap-450 .open>.dropdown-menu{display:block}.factory-bootstrap-450 .open>a{outline:0}.factory-bootstrap-450 .dropdown-header{display:block;padding:3px 20px;font-size:12px;line-height:1.428571429;color:#999}.factory-bootstrap-450 .dropdown-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:990}.factory-bootstrap-450 .pull-right>.dropdown-menu{right:0;left:auto}.factory-bootstrap-450 .dropup .caret,.factory-bootstrap-450 .navbar-fixed-bottom .dropdown .caret{border-top:0;border-bottom:4px solid;content:""}.factory-bootstrap-450 .dropup .dropdown-menu,.factory-bootstrap-450 .navbar-fixed-bottom .dropdown .dropdown-menu{top:auto;bottom:100%;margin-bottom:1px}@media (min-width:768px){.navbar-right .dropdown-menu{right:0;left:auto}}.factory-bootstrap-450 .btn-group,.factory-bootstrap-450 .btn-group-vertical{position:relative;display:inline-block;vertical-align:middle}.factory-bootstrap-450 .btn-group-vertical>.btn,.factory-bootstrap-450 .btn-group>.btn{position:relative;float:left}.factory-bootstrap-450 .btn-group-vertical>.btn.active,.factory-bootstrap-450 .btn-group-vertical>.btn:active,.factory-bootstrap-450 .btn-group-vertical>.btn:focus,.factory-bootstrap-450 .btn-group-vertical>.btn:hover,.factory-bootstrap-450 .btn-group>.btn.active,.factory-bootstrap-450 .btn-group>.btn:active,.factory-bootstrap-450 .btn-group>.btn:focus,.factory-bootstrap-450 .btn-group>.btn:hover{z-index:2}.factory-bootstrap-450 .btn-group-vertical>.btn:focus,.factory-bootstrap-450 .btn-group>.btn:focus{outline:0}.factory-bootstrap-450 .btn-group .btn+.btn,.factory-bootstrap-450 .btn-group .btn+.btn-group,.factory-bootstrap-450 .btn-group .btn-group+.btn,.factory-bootstrap-450 .btn-group .btn-group+.btn-group{margin-left:-1px}.factory-bootstrap-450 .btn-toolbar:after,.factory-bootstrap-450 .btn-toolbar:before{display:table;content:" "}.factory-bootstrap-450 .btn-toolbar:after{clear:both}.factory-bootstrap-450 .btn-toolbar .btn-group{float:left}.factory-bootstrap-450 .btn-toolbar>.btn+.btn,.factory-bootstrap-450 .btn-toolbar>.btn+.btn-group,.factory-bootstrap-450 .btn-toolbar>.btn-group+.btn,.factory-bootstrap-450 .btn-toolbar>.btn-group+.btn-group{margin-left:5px}.factory-bootstrap-450 .btn-group>.btn:not(:first-child):not(:last-child):not(.dropdown-toggle){border-radius:0}.factory-bootstrap-450 .btn-group>.btn:first-child{margin-left:0}.factory-bootstrap-450 .btn-group>.btn:first-child:not(:last-child):not(.dropdown-toggle){border-top-right-radius:0;border-bottom-right-radius:0}.factory-bootstrap-450 .btn-group>.btn:last-child:not(:first-child),.factory-bootstrap-450 .btn-group>.dropdown-toggle:not(:first-child){border-bottom-left-radius:0;border-top-left-radius:0}.factory-bootstrap-450 .btn-group>.btn-group{float:left}.factory-bootstrap-450 .btn-group>.btn-group:not(:first-child):not(:last-child)>.btn{border-radius:0}.factory-bootstrap-450 .btn-group>.btn-group:first-child>.btn:last-child,.factory-bootstrap-450 .btn-group>.btn-group:first-child>.dropdown-toggle{border-top-right-radius:0;border-bottom-right-radius:0}.factory-bootstrap-450 .btn-group>.btn-group:last-child>.btn:first-child{border-bottom-left-radius:0;border-top-left-radius:0}.factory-bootstrap-450 .btn-group .dropdown-toggle:active,.factory-bootstrap-450 .btn-group.open .dropdown-toggle{outline:0}.factory-bootstrap-450 .btn-group-xs>.btn{padding:1px 5px;font-size:12px;line-height:1.5;border-radius:3px}.factory-bootstrap-450 .btn-group-sm>.btn{padding:5px 10px;font-size:12px;line-height:1.5;border-radius:3px}.factory-bootstrap-450 .btn-group-lg>.btn{padding:10px 16px;font-size:18px;line-height:1.33;border-radius:6px}.factory-bootstrap-450 .btn-group>.btn+.dropdown-toggle{padding-right:8px;padding-left:8px}.factory-bootstrap-450 .btn-group>.btn-lg+.dropdown-toggle{padding-right:12px;padding-left:12px}.factory-bootstrap-450 .btn-group.open .dropdown-toggle{-webkit-box-shadow:inset 0 3px 5px rgba(0,0,0,.125);box-shadow:inset 0 3px 5px rgba(0,0,0,.125)}.factory-bootstrap-450 .btn-group.open .dropdown-toggle.btn-link{-webkit-box-shadow:none;box-shadow:none}.factory-bootstrap-450 .btn-group{border:4px solid #f9f9f9;border-radius:4px}.factory-bootstrap-450 .btn-group .btn.active.value{text-shadow:none;color:#fff;background-color:#33aad5;-webkit-box-shadow:inset 0 1px 1px #0074a2;box-shadow:inset 0 1px 3px #0074a2;border-top:1px solid #0074a2;border-bottom:1px solid #0074a2;border-left:1px solid #0074a2}.factory-bootstrap-450 .btn .caret{margin-left:0}.factory-bootstrap-450 .btn-lg .caret{border-width:5px 5px 0;border-bottom-width:0}.factory-bootstrap-450 .dropup .btn-lg .caret{border-width:0 5px 5px}.factory-bootstrap-450 .btn-group-vertical>.btn,.factory-bootstrap-450 .btn-group-vertical>.btn-group,.factory-bootstrap-450 .btn-group-vertical>.btn-group>.btn{display:block;float:none;width:100%;max-width:100%}.factory-bootstrap-450 .btn-group-vertical>.btn-group:after,.factory-bootstrap-450 .btn-group-vertical>.btn-group:before{display:table;content:" "}.factory-bootstrap-450 .btn-group-vertical>.btn-group:after{clear:both}.factory-bootstrap-450 .btn-group-vertical>.btn-group>.btn{float:none}.factory-bootstrap-450 .btn-group-vertical>.btn+.btn,.factory-bootstrap-450 .btn-group-vertical>.btn+.btn-group,.factory-bootstrap-450 .btn-group-vertical>.btn-group+.btn,.factory-bootstrap-450 .btn-group-vertical>.btn-group+.btn-group{margin-top:-1px;margin-left:0}.factory-bootstrap-450 .btn-group-vertical>.btn:not(:first-child):not(:last-child){border-radius:0}.factory-bootstrap-450 .btn-group-vertical>.btn:first-child:not(:last-child){border-top-right-radius:4px;border-bottom-right-radius:0;border-bottom-left-radius:0}.factory-bootstrap-450 .btn-group-vertical>.btn:last-child:not(:first-child){border-top-right-radius:0;border-bottom-left-radius:4px;border-top-left-radius:0}.factory-bootstrap-450 .btn-group-vertical>.btn-group:not(:first-child):not(:last-child)>.btn{border-radius:0}.factory-bootstrap-450 .btn-group-vertical>.btn-group:first-child>.btn:last-child,.factory-bootstrap-450 .btn-group-vertical>.btn-group:first-child>.dropdown-toggle{border-bottom-right-radius:0;border-bottom-left-radius:0}.factory-bootstrap-450 .btn-group-vertical>.btn-group:last-child>.btn:first-child{border-top-right-radius:0;border-top-left-radius:0}.factory-bootstrap-450 .btn-group-justified{display:table;width:100%;border-collapse:separate;table-layout:fixed}.factory-bootstrap-450 .btn-group-justified>.btn,.factory-bootstrap-450 .btn-group-justified>.btn-group{display:table-cell;float:none;width:1%}.factory-bootstrap-450 .btn-group-justified>.btn-group .btn{width:100%}[data-toggle=buttons]>.btn>input[type=checkbox],[data-toggle=buttons]>.btn>input[type=radio]{display:none}.factory-bootstrap-450 .input-group{position:relative;display:table;border-collapse:separate}.factory-bootstrap-450 .input-group[class*=col-]{float:none;padding-right:0;padding-left:0}.factory-bootstrap-450 .input-group .form-control{width:100%;margin-bottom:0}.factory-bootstrap-450 .input-group-lg>.form-control,.factory-bootstrap-450 .input-group-lg>.input-group-addon,.factory-bootstrap-450 .input-group-lg>.input-group-btn>.btn{height:46px;padding:10px 16px;font-size:18px;line-height:1.33;border-radius:6px}.factory-bootstrap-450 select.input-group-lg>.form-control,.factory-bootstrap-450 select.input-group-lg>.input-group-addon,.factory-bootstrap-450 select.input-group-lg>.input-group-btn>.btn{height:46px;line-height:46px}.factory-bootstrap-450 textarea.input-group-lg>.form-control,.factory-bootstrap-450 textarea.input-group-lg>.input-group-addon,.factory-bootstrap-450 textarea.input-group-lg>.input-group-btn>.btn{height:auto}.factory-bootstrap-450 .input-group-sm>.form-control,.factory-bootstrap-450 .input-group-sm>.input-group-addon,.factory-bootstrap-450 .input-group-sm>.input-group-btn>.btn{height:30px;padding:5px 10px;font-size:12px;line-height:1.5;border-radius:3px}.factory-bootstrap-450 select.input-group-sm>.form-control,.factory-bootstrap-450 select.input-group-sm>.input-group-addon,.factory-bootstrap-450 select.input-group-sm>.input-group-btn>.btn{height:30px;line-height:30px}.factory-bootstrap-450 textarea.input-group-sm>.form-control,.factory-bootstrap-450 textarea.input-group-sm>.input-group-addon,.factory-bootstrap-450 textarea.input-group-sm>.input-group-btn>.btn{height:auto}.factory-bootstrap-450 .input-group .form-control,.factory-bootstrap-450 .input-group-addon,.factory-bootstrap-450 .input-group-btn{display:table-cell}.factory-bootstrap-450 .input-group .form-control:not(:first-child):not(:last-child),.factory-bootstrap-450 .input-group-addon:not(:first-child):not(:last-child),.factory-bootstrap-450 .input-group-btn:not(:first-child):not(:last-child){border-radius:0}.factory-bootstrap-450 .input-group-addon,.factory-bootstrap-450 .input-group-btn{width:1%;white-space:nowrap;vertical-align:middle}.factory-bootstrap-450 .input-group-addon{padding:6px 12px;font-size:14px;font-weight:400;line-height:1;color:#555;text-align:center;background-color:#eee;border:1px solid #ccc;border-radius:4px}.factory-bootstrap-450 .input-group-addon.input-sm{padding:5px 10px;font-size:12px;border-radius:3px}.factory-bootstrap-450 .input-group-addon.input-lg{padding:10px 16px;font-size:18px;border-radius:6px}.factory-bootstrap-450 .input-group-addon input[type=checkbox],.factory-bootstrap-450 .input-group-addon input[type=radio]{margin-top:0}.factory-bootstrap-450 .input-group .form-control:first-child,.factory-bootstrap-450 .input-group-addon:first-child,.factory-bootstrap-450 .input-group-btn:first-child>.btn,.factory-bootstrap-450 .input-group-btn:first-child>.dropdown-toggle,.factory-bootstrap-450 .input-group-btn:last-child>.btn:not(:last-child):not(.dropdown-toggle){border-top-right-radius:0;border-bottom-right-radius:0}.factory-bootstrap-450 .input-group-addon:first-child{border-right:0}.factory-bootstrap-450 .input-group .form-control:last-child,.factory-bootstrap-450 .input-group-addon:last-child,.factory-bootstrap-450 .input-group-btn:first-child>.btn:not(:first-child),.factory-bootstrap-450 .input-group-btn:last-child>.btn,.factory-bootstrap-450 .input-group-btn:last-child>.dropdown-toggle{border-bottom-left-radius:0;border-top-left-radius:0}.factory-bootstrap-450 .input-group-addon:last-child{border-left:0}.factory-bootstrap-450 .input-group-btn{position:relative;white-space:nowrap}.factory-bootstrap-450 .input-group-btn:first-child>.btn{margin-right:-1px}.factory-bootstrap-450 .input-group-btn:last-child>.btn{margin-left:-1px}.factory-bootstrap-450 .input-group-btn>.btn{position:relative}.factory-bootstrap-450 .input-group-btn>.btn+.btn{margin-left:-4px}.factory-bootstrap-450 .input-group-btn>.btn:active,.factory-bootstrap-450 .input-group-btn>.btn:hover{z-index:2}.factory-bootstrap-450 .nav{padding-left:0;margin-bottom:0;list-style:none}.factory-bootstrap-450 .nav:after,.factory-bootstrap-450 .nav:before{display:table;content:" "}.factory-bootstrap-450 .nav:after{clear:both}.factory-bootstrap-450 .nav>li{position:relative;display:block}.factory-bootstrap-450 .nav>li>a{position:relative;display:block;padding:10px 15px}.factory-bootstrap-450 .nav>li>a:focus,.factory-bootstrap-450 .nav>li>a:hover{text-decoration:none;background-color:#eee}.factory-bootstrap-450 .nav>li.disabled>a{color:#999}.factory-bootstrap-450 .nav>li.disabled>a:focus,.factory-bootstrap-450 .nav>li.disabled>a:hover{color:#999;text-decoration:none;cursor:not-allowed;background-color:transparent}.factory-bootstrap-450 .nav .open>a,.factory-bootstrap-450 .nav .open>a:focus,.factory-bootstrap-450 .nav .open>a:hover{background-color:#eee;border-color:#428bca}.factory-bootstrap-450 .nav .nav-divider{height:1px;margin:9px 0;overflow:hidden;background-color:#e5e5e5}.factory-bootstrap-450 .nav>li>a>img{max-width:none}.factory-bootstrap-450 .nav-tabs{border-bottom:1px solid #ddd}.factory-bootstrap-450 .nav-tabs>li{float:left;margin-bottom:-1px}.factory-bootstrap-450 .nav-tabs>li>a{margin-right:2px;line-height:1.428571429;border:1px solid transparent;border-radius:4px 4px 0 0}.factory-bootstrap-450 .nav-tabs>li>a:hover{border-color:#eee #eee #ddd}.factory-bootstrap-450 .nav-tabs>li.active>a,.factory-bootstrap-450 .nav-tabs>li.active>a:focus,.factory-bootstrap-450 .nav-tabs>li.active>a:hover{color:#555;cursor:default;background-color:#fff;border:1px solid #ddd;border-bottom-color:transparent}.factory-bootstrap-450 .nav-tabs.nav-justified{width:100%;border-bottom:0}.factory-bootstrap-450 .nav-tabs.nav-justified>li{float:none}.factory-bootstrap-450 .nav-tabs.nav-justified>li>a{margin-bottom:5px;text-align:center}.factory-bootstrap-450 .nav-tabs.nav-justified>.dropdown .dropdown-menu{top:auto;left:auto}@media (min-width:768px){.nav-tabs.nav-justified>li{display:table-cell;width:1%}.nav-tabs.nav-justified>li>a{margin-bottom:0}}.factory-bootstrap-450 .nav-tabs.nav-justified>li>a{margin-right:0;border-radius:4px}.factory-bootstrap-450 .nav-tabs.nav-justified>.active>a,.factory-bootstrap-450 .nav-tabs.nav-justified>.active>a:focus,.factory-bootstrap-450 .nav-tabs.nav-justified>.active>a:hover{border:1px solid #ddd}@media (min-width:768px){.nav-tabs.nav-justified>li>a{border-bottom:1px solid #ddd;border-radius:4px 4px 0 0}.nav-tabs.nav-justified>.active>a,.nav-tabs.nav-justified>.active>a:focus,.nav-tabs.nav-justified>.active>a:hover{border-bottom-color:#fff}}.factory-bootstrap-450 .nav-pills>li{float:left}.factory-bootstrap-450 .nav-pills>li>a{border-radius:4px}.factory-bootstrap-450 .nav-pills>li+li{margin-left:2px}.factory-bootstrap-450 .nav-pills>li.active>a,.factory-bootstrap-450 .nav-pills>li.active>a:focus,.factory-bootstrap-450 .nav-pills>li.active>a:hover{color:#fff;background-color:#428bca}.factory-bootstrap-450 .nav-stacked>li{float:none}.factory-bootstrap-450 .nav-stacked>li+li{margin-top:2px;margin-left:0}.factory-bootstrap-450 .nav-justified{width:100%}.factory-bootstrap-450 .nav-justified>li{float:none}.factory-bootstrap-450 .nav-justified>li>a{margin-bottom:5px;text-align:center}.factory-bootstrap-450 .nav-justified>.dropdown .dropdown-menu{top:auto;left:auto}@media (min-width:768px){.nav-justified>li{display:table-cell;width:1%}.nav-justified>li>a{margin-bottom:0}}.factory-bootstrap-450 .nav-tabs-justified{border-bottom:0}.factory-bootstrap-450 .nav-tabs-justified>li>a{margin-right:0;border-radius:4px}.factory-bootstrap-450 .nav-tabs-justified>.active>a,.factory-bootstrap-450 .nav-tabs-justified>.active>a:focus,.factory-bootstrap-450 .nav-tabs-justified>.active>a:hover{border:1px solid #ddd}@media (min-width:768px){.nav-tabs-justified>li>a{border-bottom:1px solid #ddd;border-radius:4px 4px 0 0}.nav-tabs-justified>.active>a,.nav-tabs-justified>.active>a:focus,.nav-tabs-justified>.active>a:hover{border-bottom-color:#fff}}.factory-bootstrap-450 .tab-content>.tab-pane{display:none}.factory-bootstrap-450 .tab-content>.active{display:block}.factory-bootstrap-450 .nav-tabs .dropdown-menu{margin-top:-1px;border-top-right-radius:0;border-top-left-radius:0}.factory-bootstrap-450 .navbar{position:relative;min-height:50px;margin-bottom:20px;border:1px solid transparent}.factory-bootstrap-450 .navbar:after,.factory-bootstrap-450 .navbar:before{display:table;content:" "}.factory-bootstrap-450 .navbar:after{clear:both}@media (min-width:768px){.navbar{border-radius:4px}}.factory-bootstrap-450 .navbar-header:after,.factory-bootstrap-450 .navbar-header:before{display:table;content:" "}.factory-bootstrap-450 .navbar-header:after{clear:both}@media (min-width:768px){.navbar-header{float:left}}.factory-bootstrap-450 .navbar-collapse{max-height:340px;padding-right:15px;padding-left:15px;overflow-x:visible;border-top:1px solid transparent;box-shadow:inset 0 1px 0 rgba(255,255,255,.1);-webkit-overflow-scrolling:touch}.factory-bootstrap-450 .navbar-collapse:after,.factory-bootstrap-450 .navbar-collapse:before{display:table;content:" "}.factory-bootstrap-450 .navbar-collapse:after{clear:both}.factory-bootstrap-450 .navbar-collapse.in{overflow-y:auto}@media (min-width:768px){.navbar-collapse{width:auto;border-top:0;box-shadow:none}.navbar-collapse.collapse{display:block!important;height:auto!important;padding-bottom:0;overflow:visible!important}.navbar-collapse.in{overflow-y:visible}.navbar-fixed-bottom .navbar-collapse,.navbar-fixed-top .navbar-collapse,.navbar-static-top .navbar-collapse{padding-right:0;padding-left:0}}.factory-bootstrap-450 .container>.navbar-collapse,.factory-bootstrap-450 .container>.navbar-header{margin-right:-15px;margin-left:-15px}@media (min-width:768px){.container>.navbar-collapse,.container>.navbar-header{margin-right:0;margin-left:0}}.factory-bootstrap-450 .navbar-static-top{z-index:1000;border-width:0 0 1px}@media (min-width:768px){.navbar-static-top{border-radius:0}}.factory-bootstrap-450 .navbar-fixed-bottom,.factory-bootstrap-450 .navbar-fixed-top{position:fixed;right:0;left:0;z-index:1030}@media (min-width:768px){.navbar-fixed-bottom,.navbar-fixed-top{border-radius:0}}.factory-bootstrap-450 .navbar-fixed-top{top:0;border-width:0 0 1px}.factory-bootstrap-450 .navbar-fixed-bottom{bottom:0;margin-bottom:0;border-width:1px 0 0}.factory-bootstrap-450 .navbar-brand{float:left;padding:15px;font-size:18px;line-height:20px}.factory-bootstrap-450 .navbar-brand:focus,.factory-bootstrap-450 .navbar-brand:hover{text-decoration:none}@media (min-width:768px){.navbar>.container .navbar-brand{margin-left:-15px}}.factory-bootstrap-450 .navbar-toggle{position:relative;float:right;padding:9px 10px;margin-top:8px;margin-right:15px;margin-bottom:8px;background-color:transparent;background-image:none;border:1px solid transparent;border-radius:4px}.factory-bootstrap-450 .navbar-toggle .icon-bar{display:block;width:22px;height:2px;border-radius:1px}.factory-bootstrap-450 .navbar-toggle .icon-bar+.icon-bar{margin-top:4px}@media (min-width:768px){.navbar-toggle{display:none}}.factory-bootstrap-450 .navbar-nav{margin:7.5px -15px}.factory-bootstrap-450 .navbar-nav>li>a{padding-top:10px;padding-bottom:10px;line-height:20px}@media (max-width:767px){.navbar-nav .open .dropdown-menu{position:static;float:none;width:auto;margin-top:0;background-color:transparent;border:0;box-shadow:none}.navbar-nav .open .dropdown-menu .dropdown-header,.navbar-nav .open .dropdown-menu>li>a{padding:5px 15px 5px 25px}.navbar-nav .open .dropdown-menu>li>a{line-height:20px}.navbar-nav .open .dropdown-menu>li>a:focus,.navbar-nav .open .dropdown-menu>li>a:hover{background-image:none}}@media (min-width:768px){.navbar-nav{float:left;margin:0}.navbar-nav>li{float:left}.navbar-nav>li>a{padding-top:15px;padding-bottom:15px}.navbar-nav.navbar-right:last-child{margin-right:-15px}}@media (min-width:768px){.navbar-left{float:left!important}.navbar-right{float:right!important}}.factory-bootstrap-450 .navbar-form{padding:10px 15px;margin-top:8px;margin-right:-15px;margin-bottom:8px;margin-left:-15px;border-top:1px solid transparent;border-bottom:1px solid transparent;-webkit-box-shadow:inset 0 1px 0 rgba(255,255,255,.1),0 1px 0 rgba(255,255,255,.1);box-shadow:inset 0 1px 0 rgba(255,255,255,.1),0 1px 0 rgba(255,255,255,.1)}@media (min-width:768px){.navbar-form .form-group{display:inline-block;margin-bottom:0;vertical-align:middle}.navbar-form .form-control{display:inline-block}.navbar-form select.form-control{width:auto}.navbar-form .checkbox,.navbar-form .radio{display:inline-block;padding-left:0;margin-top:0;margin-bottom:0}.navbar-form .checkbox input[type=checkbox],.navbar-form .radio input[type=radio]{float:none;margin-left:0}}@media (max-width:767px){.navbar-form .form-group{margin-bottom:5px}}@media (min-width:768px){.navbar-form{width:auto;padding-top:0;padding-bottom:0;margin-right:0;margin-left:0;border:0;-webkit-box-shadow:none;box-shadow:none}.navbar-form.navbar-right:last-child{margin-right:-15px}}.factory-bootstrap-450 .navbar-nav>li>.dropdown-menu{margin-top:0;border-top-right-radius:0;border-top-left-radius:0}.factory-bootstrap-450 .navbar-fixed-bottom .navbar-nav>li>.dropdown-menu{border-bottom-right-radius:0;border-bottom-left-radius:0}.factory-bootstrap-450 .navbar-nav.pull-right>li>.dropdown-menu,.factory-bootstrap-450 .navbar-nav>li>.dropdown-menu.pull-right{right:0;left:auto}.factory-bootstrap-450 .navbar-btn{margin-top:8px;margin-bottom:8px}.factory-bootstrap-450 .navbar-btn.btn-sm{margin-top:10px;margin-bottom:10px}.factory-bootstrap-450 .navbar-btn.btn-xs{margin-top:14px;margin-bottom:14px}.factory-bootstrap-450 .navbar-text{margin-top:15px;margin-bottom:15px}@media (min-width:768px){.navbar-text{float:left;margin-right:15px;margin-left:15px}.navbar-text.navbar-right:last-child{margin-right:0}}.factory-bootstrap-450 .navbar-default{background-color:#f8f8f8;border-color:#e7e7e7}.factory-bootstrap-450 .navbar-default .navbar-brand{color:#777}.factory-bootstrap-450 .navbar-default .navbar-brand:focus,.factory-bootstrap-450 .navbar-default .navbar-brand:hover{color:#5e5e5e;background-color:transparent}.factory-bootstrap-450 .navbar-default .navbar-nav>li>a,.factory-bootstrap-450 .navbar-default .navbar-text{color:#777}.factory-bootstrap-450 .navbar-default .navbar-nav>li>a:focus,.factory-bootstrap-450 .navbar-default .navbar-nav>li>a:hover{color:#333;background-color:transparent}.factory-bootstrap-450 .navbar-default .navbar-nav>.active>a,.factory-bootstrap-450 .navbar-default .navbar-nav>.active>a:focus,.factory-bootstrap-450 .navbar-default .navbar-nav>.active>a:hover{color:#555;background-color:#e7e7e7}.factory-bootstrap-450 .navbar-default .navbar-nav>.disabled>a,.factory-bootstrap-450 .navbar-default .navbar-nav>.disabled>a:focus,.factory-bootstrap-450 .navbar-default .navbar-nav>.disabled>a:hover{color:#ccc;background-color:transparent}.factory-bootstrap-450 .navbar-default .navbar-toggle{border-color:#ddd}.factory-bootstrap-450 .navbar-default .navbar-toggle:focus,.factory-bootstrap-450 .navbar-default .navbar-toggle:hover{background-color:#ddd}.factory-bootstrap-450 .navbar-default .navbar-toggle .icon-bar{background-color:#ccc}.factory-bootstrap-450 .navbar-default .navbar-collapse,.factory-bootstrap-450 .navbar-default .navbar-form{border-color:#e7e7e7}.factory-bootstrap-450 .navbar-default .navbar-nav>.open>a,.factory-bootstrap-450 .navbar-default .navbar-nav>.open>a:focus,.factory-bootstrap-450 .navbar-default .navbar-nav>.open>a:hover{color:#555;background-color:#e7e7e7}@media (max-width:767px){.navbar-default .navbar-nav .open .dropdown-menu>li>a{color:#777}.navbar-default .navbar-nav .open .dropdown-menu>li>a:focus,.navbar-default .navbar-nav .open .dropdown-menu>li>a:hover{color:#333;background-color:transparent}.navbar-default .navbar-nav .open .dropdown-menu>.active>a,.navbar-default .navbar-nav .open .dropdown-menu>.active>a:focus,.navbar-default .navbar-nav .open .dropdown-menu>.active>a:hover{color:#555;background-color:#e7e7e7}.navbar-default .navbar-nav .open .dropdown-menu>.disabled>a,.navbar-default .navbar-nav .open .dropdown-menu>.disabled>a:focus,.navbar-default .navbar-nav .open .dropdown-menu>.disabled>a:hover{color:#ccc;background-color:transparent}}.factory-bootstrap-450 .navbar-default .navbar-link{color:#777}.factory-bootstrap-450 .navbar-default .navbar-link:hover{color:#333}.factory-bootstrap-450 .navbar-inverse{background-color:#222;border-color:#080808}.factory-bootstrap-450 .navbar-inverse .navbar-brand{color:#999}.factory-bootstrap-450 .navbar-inverse .navbar-brand:focus,.factory-bootstrap-450 .navbar-inverse .navbar-brand:hover{color:#fff;background-color:transparent}.factory-bootstrap-450 .navbar-inverse .navbar-nav>li>a,.factory-bootstrap-450 .navbar-inverse .navbar-text{color:#999}.factory-bootstrap-450 .navbar-inverse .navbar-nav>li>a:focus,.factory-bootstrap-450 .navbar-inverse .navbar-nav>li>a:hover{color:#fff;background-color:transparent}.factory-bootstrap-450 .navbar-inverse .navbar-nav>.active>a,.factory-bootstrap-450 .navbar-inverse .navbar-nav>.active>a:focus,.factory-bootstrap-450 .navbar-inverse .navbar-nav>.active>a:hover{color:#fff;background-color:#080808}.factory-bootstrap-450 .navbar-inverse .navbar-nav>.disabled>a,.factory-bootstrap-450 .navbar-inverse .navbar-nav>.disabled>a:focus,.factory-bootstrap-450 .navbar-inverse .navbar-nav>.disabled>a:hover{color:#444;background-color:transparent}.factory-bootstrap-450 .navbar-inverse .navbar-toggle{border-color:#333}.factory-bootstrap-450 .navbar-inverse .navbar-toggle:focus,.factory-bootstrap-450 .navbar-inverse .navbar-toggle:hover{background-color:#333}.factory-bootstrap-450 .navbar-inverse .navbar-toggle .icon-bar{background-color:#fff}.factory-bootstrap-450 .navbar-inverse .navbar-collapse,.factory-bootstrap-450 .navbar-inverse .navbar-form{border-color:#101010}.factory-bootstrap-450 .navbar-inverse .navbar-nav>.open>a,.factory-bootstrap-450 .navbar-inverse .navbar-nav>.open>a:focus,.factory-bootstrap-450 .navbar-inverse .navbar-nav>.open>a:hover{color:#fff;background-color:#080808}@media (max-width:767px){.navbar-inverse .navbar-nav .open .dropdown-menu>.dropdown-header{border-color:#080808}.navbar-inverse .navbar-nav .open .dropdown-menu .divider{background-color:#080808}.navbar-inverse .navbar-nav .open .dropdown-menu>li>a{color:#999}.navbar-inverse .navbar-nav .open .dropdown-menu>li>a:focus,.navbar-inverse .navbar-nav .open .dropdown-menu>li>a:hover{color:#fff;background-color:transparent}.navbar-inverse .navbar-nav .open .dropdown-menu>.active>a,.navbar-inverse .navbar-nav .open .dropdown-menu>.active>a:focus,.navbar-inverse .navbar-nav .open .dropdown-menu>.active>a:hover{color:#fff;background-color:#080808}.navbar-inverse .navbar-nav .open .dropdown-menu>.disabled>a,.navbar-inverse .navbar-nav .open .dropdown-menu>.disabled>a:focus,.navbar-inverse .navbar-nav .open .dropdown-menu>.disabled>a:hover{color:#444;background-color:transparent}}.factory-bootstrap-450 .navbar-inverse .navbar-link{color:#999}.factory-bootstrap-450 .navbar-inverse .navbar-link:hover{color:#fff}.factory-bootstrap-450 .breadcrumb{padding:8px 15px;margin-bottom:20px;list-style:none;background-color:#f5f5f5;border-radius:4px}.factory-bootstrap-450 .breadcrumb>li{display:inline-block}.factory-bootstrap-450 .breadcrumb>li+li:before{padding:0 5px;color:#ccc;content:"/\00a0"}.factory-bootstrap-450 .breadcrumb>.active{color:#999}.factory-bootstrap-450 .pagination{display:inline-block;padding-left:0;margin:20px 0;border-radius:4px}.factory-bootstrap-450 .pagination>li{display:inline}.factory-bootstrap-450 .pagination>li>a,.factory-bootstrap-450 .pagination>li>span{position:relative;float:left;padding:6px 12px;margin-left:-1px;line-height:1.428571429;text-decoration:none;background-color:#fff;border:1px solid #ddd}.factory-bootstrap-450 .pagination>li:first-child>a,.factory-bootstrap-450 .pagination>li:first-child>span{margin-left:0;border-bottom-left-radius:4px;border-top-left-radius:4px}.factory-bootstrap-450 .pagination>li:last-child>a,.factory-bootstrap-450 .pagination>li:last-child>span{border-top-right-radius:4px;border-bottom-right-radius:4px}.factory-bootstrap-450 .pagination>li>a:focus,.factory-bootstrap-450 .pagination>li>a:hover,.factory-bootstrap-450 .pagination>li>span:focus,.factory-bootstrap-450 .pagination>li>span:hover{background-color:#eee}.factory-bootstrap-450 .pagination>.active>a,.factory-bootstrap-450 .pagination>.active>a:focus,.factory-bootstrap-450 .pagination>.active>a:hover,.factory-bootstrap-450 .pagination>.active>span,.factory-bootstrap-450 .pagination>.active>span:focus,.factory-bootstrap-450 .pagination>.active>span:hover{z-index:2;color:#fff;cursor:default;background-color:#1e8cbe;border-color:#0074a2}.factory-bootstrap-450 .pagination>.disabled>a,.factory-bootstrap-450 .pagination>.disabled>a:focus,.factory-bootstrap-450 .pagination>.disabled>a:hover,.factory-bootstrap-450 .pagination>.disabled>span,.factory-bootstrap-450 .pagination>.disabled>span:focus,.factory-bootstrap-450 .pagination>.disabled>span:hover{color:#999;cursor:not-allowed;background-color:#fff;border-color:#ddd}.factory-bootstrap-450 .pagination-lg>li>a,.factory-bootstrap-450 .pagination-lg>li>span{padding:10px 16px;font-size:18px}.factory-bootstrap-450 .pagination-lg>li:first-child>a,.factory-bootstrap-450 .pagination-lg>li:first-child>span{border-bottom-left-radius:6px;border-top-left-radius:6px}.factory-bootstrap-450 .pagination-lg>li:last-child>a,.factory-bootstrap-450 .pagination-lg>li:last-child>span{border-top-right-radius:6px;border-bottom-right-radius:6px}.factory-bootstrap-450 .pagination-sm>li>a,.factory-bootstrap-450 .pagination-sm>li>span{padding:5px 10px;font-size:12px}.factory-bootstrap-450 .pagination-sm>li:first-child>a,.factory-bootstrap-450 .pagination-sm>li:first-child>span{border-bottom-left-radius:3px;border-top-left-radius:3px}.factory-bootstrap-450 .pagination-sm>li:last-child>a,.factory-bootstrap-450 .pagination-sm>li:last-child>span{border-top-right-radius:3px;border-bottom-right-radius:3px}.factory-bootstrap-450 .pager{padding-left:0;margin:20px 0;text-align:center;list-style:none}.factory-bootstrap-450 .pager:after,.factory-bootstrap-450 .pager:before{display:table;content:" "}.factory-bootstrap-450 .pager:after{clear:both}.factory-bootstrap-450 .pager li{display:inline}.factory-bootstrap-450 .pager li>a,.factory-bootstrap-450 .pager li>span{display:inline-block;padding:5px 14px;background-color:#fff;border:1px solid #ddd;border-radius:15px}.factory-bootstrap-450 .pager li>a:focus,.factory-bootstrap-450 .pager li>a:hover{text-decoration:none;background-color:#eee}.factory-bootstrap-450 .pager .next>a,.factory-bootstrap-450 .pager .next>span{float:right}.factory-bootstrap-450 .pager .previous>a,.factory-bootstrap-450 .pager .previous>span{float:left}.factory-bootstrap-450 .pager .disabled>a,.factory-bootstrap-450 .pager .disabled>a:focus,.factory-bootstrap-450 .pager .disabled>a:hover,.factory-bootstrap-450 .pager .disabled>span{color:#999;cursor:not-allowed;background-color:#fff}.factory-bootstrap-450 .label{display:inline;padding:.2em .6em .3em;font-size:75%;font-weight:700;line-height:1;color:#fff;text-align:center;white-space:nowrap;vertical-align:baseline;border-radius:.25em}.factory-bootstrap-450 .label[href]:focus,.factory-bootstrap-450 .label[href]:hover{color:#fff;text-decoration:none;cursor:pointer}.factory-bootstrap-450 .label:empty{display:none}.factory-bootstrap-450 .btn .label{position:relative;top:-1px}.factory-bootstrap-450 .label-default{background-color:#999}.factory-bootstrap-450 .label-default[href]:focus,.factory-bootstrap-450 .label-default[href]:hover{background-color:gray}.factory-bootstrap-450 .label-primary{background-color:#428bca}.factory-bootstrap-450 .label-primary[href]:focus,.factory-bootstrap-450 .label-primary[href]:hover{background-color:#3071a9}.factory-bootstrap-450 .label-success{background-color:#5cb85c}.factory-bootstrap-450 .label-success[href]:focus,.factory-bootstrap-450 .label-success[href]:hover{background-color:#449d44}.factory-bootstrap-450 .label-info{background-color:#5bc0de}.factory-bootstrap-450 .label-info[href]:focus,.factory-bootstrap-450 .label-info[href]:hover{background-color:#31b0d5}.factory-bootstrap-450 .label-warning{background-color:#f0ad4e}.factory-bootstrap-450 .label-warning[href]:focus,.factory-bootstrap-450 .label-warning[href]:hover{background-color:#ec971f}.factory-bootstrap-450 .label-danger{background-color:#d9534f}.factory-bootstrap-450 .label-danger[href]:focus,.factory-bootstrap-450 .label-danger[href]:hover{background-color:#c9302c}.factory-bootstrap-450 .badge{display:inline-block;min-width:10px;padding:3px 7px;font-size:12px;font-weight:700;line-height:1;color:#fff;text-align:center;white-space:nowrap;vertical-align:baseline;background-color:#999;border-radius:10px}.factory-bootstrap-450 .badge:empty{display:none}.factory-bootstrap-450 .btn .badge{position:relative;top:-1px}.factory-bootstrap-450 a.badge:focus,.factory-bootstrap-450 a.badge:hover{color:#fff;text-decoration:none;cursor:pointer}.factory-bootstrap-450 .nav-pills>.active>a>.badge,.factory-bootstrap-450 a.list-group-item.active>.badge{color:#428bca;background-color:#fff}.factory-bootstrap-450 .nav-pills>li>a>.badge{margin-left:3px}.factory-bootstrap-450 .jumbotron{padding:30px;margin-bottom:30px;font-size:21px;font-weight:200;line-height:2.1428571435;color:inherit;background-color:#eee}.factory-bootstrap-450 .jumbotron .h1,.factory-bootstrap-450 .jumbotron h1{line-height:1;color:inherit}.factory-bootstrap-450 .jumbotron p{line-height:1.4}.factory-bootstrap-450 .container .jumbotron{border-radius:6px}.factory-bootstrap-450 .jumbotron .container{max-width:100%}@media screen and (min-width:768px){.jumbotron{padding-top:48px;padding-bottom:48px}.container .jumbotron{padding-right:60px;padding-left:60px}.jumbotron .h1,.jumbotron h1{font-size:63px}}.factory-bootstrap-450 .thumbnail{display:block;padding:4px;margin-bottom:20px;line-height:1.428571429;background-color:#fff;border:1px solid #ddd;border-radius:4px;-webkit-transition:all .2s ease-in-out;transition:all .2s ease-in-out}.factory-bootstrap-450 .thumbnail a>img,.factory-bootstrap-450 .thumbnail>img{display:block;height:auto;max-width:100%;margin-right:auto;margin-left:auto}.factory-bootstrap-450 a.thumbnail.active,.factory-bootstrap-450 a.thumbnail:focus,.factory-bootstrap-450 a.thumbnail:hover{border-color:#428bca}.factory-bootstrap-450 .thumbnail .caption{padding:9px;color:#333}.factory-bootstrap-450 .alert{border:1px solid transparent;border-radius:4px}.factory-bootstrap-450 .alert h4{margin-top:0;color:inherit}.factory-bootstrap-450 .alert .alert-link{font-weight:700}.factory-bootstrap-450 .alert>p,.factory-bootstrap-450 .alert>ul{margin-bottom:0}.factory-bootstrap-450 .alert>p+p{margin-top:5px}.factory-bootstrap-450 .alert-dismissable{padding-right:35px}.factory-bootstrap-450 .alert-dismissable .close{position:relative;top:-2px;right:-21px;color:inherit}.factory-bootstrap-450 .alert-info{color:#31708f;background-color:#d9edf7}.factory-bootstrap-450 .alert-info hr{border-top-color:#a6e1ec}.factory-bootstrap-450 .alert-info .alert-link{color:#245269}@-webkit-keyframes progress-bar-stripes{from{background-position:40px 0}to{background-position:0 0}}@keyframes progress-bar-stripes{from{background-position:40px 0}to{background-position:0 0}}.factory-bootstrap-450 .progress{height:20px;margin-bottom:20px;overflow:hidden;background-color:#f5f5f5;border-radius:4px;-webkit-box-shadow:inset 0 1px 2px rgba(0,0,0,.1);box-shadow:inset 0 1px 2px rgba(0,0,0,.1)}.factory-bootstrap-450 .progress-bar{float:left;width:0;height:100%;font-size:12px;line-height:20px;color:#fff;text-align:center;background-color:#2ea2cc;-webkit-box-shadow:inset 0 -1px 0 rgba(0,0,0,.15);box-shadow:inset 0 -1px 0 rgba(0,0,0,.15);-webkit-transition:width .6s ease;transition:width .6s ease}.factory-bootstrap-450 .progress-striped .progress-bar{background-image:-webkit-linear-gradient(45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent);background-image:linear-gradient(45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent);background-size:40px 40px}.factory-bootstrap-450 .progress.active .progress-bar{-webkit-animation:progress-bar-stripes 2s linear infinite;animation:progress-bar-stripes 2s linear infinite}.factory-bootstrap-450 .progress-bar-success{background-color:#5cb85c}.factory-bootstrap-450 .progress-striped .progress-bar-success{background-image:-webkit-linear-gradient(45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent);background-image:linear-gradient(45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent)}.factory-bootstrap-450 .progress-bar-info{background-color:#5bc0de}.factory-bootstrap-450 .progress-striped .progress-bar-info{background-image:-webkit-linear-gradient(45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent);background-image:linear-gradient(45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent)}.factory-bootstrap-450 .progress-bar-warning{background-color:#f0ad4e}.factory-bootstrap-450 .progress-striped .progress-bar-warning{background-image:-webkit-linear-gradient(45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent);background-image:linear-gradient(45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent)}.factory-bootstrap-450 .progress-bar-danger{background-color:#d9534f}.factory-bootstrap-450 .progress-striped .progress-bar-danger{background-image:-webkit-linear-gradient(45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent);background-image:linear-gradient(45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent)}.factory-bootstrap-450 .media,.factory-bootstrap-450 .media-body{overflow:hidden;zoom:1}.factory-bootstrap-450 .media,.factory-bootstrap-450 .media .media{margin-top:15px}.factory-bootstrap-450 .media:first-child{margin-top:0}.factory-bootstrap-450 .media-object{display:block}.factory-bootstrap-450 .media-heading{margin:0 0 5px}.factory-bootstrap-450 .media>.pull-left{margin-right:10px}.factory-bootstrap-450 .media>.pull-right{margin-left:10px}.factory-bootstrap-450 .media-list{padding-left:0;list-style:none}.factory-bootstrap-450 .list-group{padding-left:0;margin-bottom:20px}.factory-bootstrap-450 .list-group-item{position:relative;display:block;padding:10px 15px;margin-bottom:-1px;background-color:#fff;border:1px solid #ddd}.factory-bootstrap-450 .list-group-item:first-child{border-top-right-radius:4px;border-top-left-radius:4px}.factory-bootstrap-450 .list-group-item:last-child{margin-bottom:0;border-bottom-right-radius:4px;border-bottom-left-radius:4px}.factory-bootstrap-450 .list-group-item>.badge{float:right}.factory-bootstrap-450 .list-group-item>.badge+.badge{margin-right:5px}.factory-bootstrap-450 a.list-group-item{color:#555}.factory-bootstrap-450 a.list-group-item .list-group-item-heading{color:#333}.factory-bootstrap-450 a.list-group-item:focus,.factory-bootstrap-450 a.list-group-item:hover{text-decoration:none;background-color:#f5f5f5}.factory-bootstrap-450 a.list-group-item.active,.factory-bootstrap-450 a.list-group-item.active:focus,.factory-bootstrap-450 a.list-group-item.active:hover{z-index:2;color:#fff;background-color:#428bca;border-color:#428bca}.factory-bootstrap-450 a.list-group-item.active .list-group-item-heading,.factory-bootstrap-450 a.list-group-item.active:focus .list-group-item-heading,.factory-bootstrap-450 a.list-group-item.active:hover .list-group-item-heading{color:inherit}.factory-bootstrap-450 a.list-group-item.active .list-group-item-text,.factory-bootstrap-450 a.list-group-item.active:focus .list-group-item-text,.factory-bootstrap-450 a.list-group-item.active:hover .list-group-item-text{color:#e1edf7}.factory-bootstrap-450 .list-group-item-heading{margin-top:0;margin-bottom:5px}.factory-bootstrap-450 .list-group-item-text{margin-bottom:0;line-height:1.3}.factory-bootstrap-450 .panel{margin-bottom:20px;background-color:#fff;border:1px solid transparent;border-radius:4px}.factory-bootstrap-450 .panel-body{padding:15px}.factory-bootstrap-450 .panel-body:after,.factory-bootstrap-450 .panel-body:before{display:table;content:" "}.factory-bootstrap-450 .panel-body:after{clear:both}.factory-bootstrap-450 .panel>.list-group{margin-bottom:0}.factory-bootstrap-450 .panel>.list-group .list-group-item{border-width:1px 0}.factory-bootstrap-450 .panel>.list-group .list-group-item:first-child{border-top-right-radius:0;border-top-left-radius:0}.factory-bootstrap-450 .panel>.list-group .list-group-item:last-child{border-bottom:0}.factory-bootstrap-450 .panel-heading+.list-group .list-group-item:first-child{border-top-width:0}.factory-bootstrap-450 .panel>.table,.factory-bootstrap-450 .panel>.table-responsive>.table{margin-bottom:0}.factory-bootstrap-450 .panel>.panel-body+.table,.factory-bootstrap-450 .panel>.panel-body+.table-responsive{border-top:1px solid #ddd}.factory-bootstrap-450 .panel>.table>tbody:first-child td,.factory-bootstrap-450 .panel>.table>tbody:first-child th{border-top:0}.factory-bootstrap-450 .panel>.table-bordered,.factory-bootstrap-450 .panel>.table-responsive>.table-bordered{border:0}.factory-bootstrap-450 .panel>.table-bordered>tbody>tr>td:first-child,.factory-bootstrap-450 .panel>.table-bordered>tbody>tr>th:first-child,.factory-bootstrap-450 .panel>.table-bordered>tfoot>tr>td:first-child,.factory-bootstrap-450 .panel>.table-bordered>tfoot>tr>th:first-child,.factory-bootstrap-450 .panel>.table-bordered>thead>tr>td:first-child,.factory-bootstrap-450 .panel>.table-bordered>thead>tr>th:first-child,.factory-bootstrap-450 .panel>.table-responsive>.table-bordered>tbody>tr>td:first-child,.factory-bootstrap-450 .panel>.table-responsive>.table-bordered>tbody>tr>th:first-child,.factory-bootstrap-450 .panel>.table-responsive>.table-bordered>tfoot>tr>td:first-child,.factory-bootstrap-450 .panel>.table-responsive>.table-bordered>tfoot>tr>th:first-child,.factory-bootstrap-450 .panel>.table-responsive>.table-bordered>thead>tr>td:first-child,.factory-bootstrap-450 .panel>.table-responsive>.table-bordered>thead>tr>th:first-child{border-left:0}.factory-bootstrap-450 .panel>.table-bordered>tbody>tr>td:last-child,.factory-bootstrap-450 .panel>.table-bordered>tbody>tr>th:last-child,.factory-bootstrap-450 .panel>.table-bordered>tfoot>tr>td:last-child,.factory-bootstrap-450 .panel>.table-bordered>tfoot>tr>th:last-child,.factory-bootstrap-450 .panel>.table-bordered>thead>tr>td:last-child,.factory-bootstrap-450 .panel>.table-bordered>thead>tr>th:last-child,.factory-bootstrap-450 .panel>.table-responsive>.table-bordered>tbody>tr>td:last-child,.factory-bootstrap-450 .panel>.table-responsive>.table-bordered>tbody>tr>th:last-child,.factory-bootstrap-450 .panel>.table-responsive>.table-bordered>tfoot>tr>td:last-child,.factory-bootstrap-450 .panel>.table-responsive>.table-bordered>tfoot>tr>th:last-child,.factory-bootstrap-450 .panel>.table-responsive>.table-bordered>thead>tr>td:last-child,.factory-bootstrap-450 .panel>.table-responsive>.table-bordered>thead>tr>th:last-child{border-right:0}.factory-bootstrap-450 .panel>.table-bordered>tbody>tr:last-child>td,.factory-bootstrap-450 .panel>.table-bordered>tbody>tr:last-child>th,.factory-bootstrap-450 .panel>.table-bordered>tfoot>tr:last-child>td,.factory-bootstrap-450 .panel>.table-bordered>tfoot>tr:last-child>th,.factory-bootstrap-450 .panel>.table-bordered>thead>tr:last-child>td,.factory-bootstrap-450 .panel>.table-bordered>thead>tr:last-child>th,.factory-bootstrap-450 .panel>.table-responsive>.table-bordered>tbody>tr:last-child>td,.factory-bootstrap-450 .panel>.table-responsive>.table-bordered>tbody>tr:last-child>th,.factory-bootstrap-450 .panel>.table-responsive>.table-bordered>tfoot>tr:last-child>td,.factory-bootstrap-450 .panel>.table-responsive>.table-bordered>tfoot>tr:last-child>th,.factory-bootstrap-450 .panel>.table-responsive>.table-bordered>thead>tr:last-child>td,.factory-bootstrap-450 .panel>.table-responsive>.table-bordered>thead>tr:last-child>th{border-bottom:0}.factory-bootstrap-450 .panel>.table-responsive{margin-bottom:0;border:0}.factory-bootstrap-450 .panel-heading{padding:10px 15px;border-bottom:1px solid transparent;border-top-right-radius:3px;border-top-left-radius:3px}.factory-bootstrap-450 .panel-heading>.dropdown .dropdown-toggle{color:inherit}.factory-bootstrap-450 .panel-title{margin-top:0;margin-bottom:0;font-size:16px;color:inherit}.factory-bootstrap-450 .panel-title>a{color:inherit}.factory-bootstrap-450 .panel-footer{padding:10px 15px;background-color:#f5f5f5;border-top:1px solid #ddd;border-bottom-right-radius:3px;border-bottom-left-radius:3px}.factory-bootstrap-450 .panel-group .panel{margin-bottom:0;overflow:hidden;border-radius:4px}.factory-bootstrap-450 .panel-group .panel+.panel{margin-top:5px}.factory-bootstrap-450 .panel-group .panel-heading{border-bottom:0}.factory-bootstrap-450 .panel-group .panel-heading+.panel-collapse .panel-body{border-top:1px solid #ddd}.factory-bootstrap-450 .panel-group .panel-footer{border-top:0}.factory-bootstrap-450 .panel-group .panel-footer+.panel-collapse .panel-body{border-bottom:1px solid #ddd}.factory-bootstrap-450 .panel-default{border-color:#ddd}.factory-bootstrap-450 .panel-default>.panel-heading{color:#333;background-color:#f5f5f5;border-color:#ddd}.factory-bootstrap-450 .panel-default>.panel-heading+.panel-collapse .panel-body{border-top-color:#ddd}.factory-bootstrap-450 .panel-default>.panel-footer+.panel-collapse .panel-body{border-bottom-color:#ddd}.factory-bootstrap-450 .panel-primary{border-color:#428bca}.factory-bootstrap-450 .panel-primary>.panel-heading{color:#fff;background-color:#428bca;border-color:#428bca}.factory-bootstrap-450 .panel-primary>.panel-heading+.panel-collapse .panel-body{border-top-color:#428bca}.factory-bootstrap-450 .panel-primary>.panel-footer+.panel-collapse .panel-body{border-bottom-color:#428bca}.factory-bootstrap-450 .panel-success{border-color:#d6e9c6}.factory-bootstrap-450 .panel-success>.panel-heading{color:#3c763d;background-color:#dff0d8;border-color:#d6e9c6}.factory-bootstrap-450 .panel-success>.panel-heading+.panel-collapse .panel-body{border-top-color:#d6e9c6}.factory-bootstrap-450 .panel-success>.panel-footer+.panel-collapse .panel-body{border-bottom-color:#d6e9c6}.factory-bootstrap-450 .panel-warning{border-color:#faebcc}.factory-bootstrap-450 .panel-warning>.panel-heading{color:#8a6d3b;background-color:#fcf8e3;border-color:#faebcc}.factory-bootstrap-450 .panel-warning>.panel-heading+.panel-collapse .panel-body{border-top-color:#faebcc}.factory-bootstrap-450 .panel-warning>.panel-footer+.panel-collapse .panel-body{border-bottom-color:#faebcc}.factory-bootstrap-450 .panel-danger{border-color:#ebccd1}.factory-bootstrap-450 .panel-danger>.panel-heading{color:#a94442;background-color:#f2dede;border-color:#ebccd1}.factory-bootstrap-450 .panel-danger>.panel-heading+.panel-collapse .panel-body{border-top-color:#ebccd1}.factory-bootstrap-450 .panel-danger>.panel-footer+.panel-collapse .panel-body{border-bottom-color:#ebccd1}.factory-bootstrap-450 .panel-info{border-color:#bce8f1}.factory-bootstrap-450 .panel-info>.panel-heading{color:#31708f;background-color:#d9edf7;border-color:#bce8f1}.factory-bootstrap-450 .panel-info>.panel-heading+.panel-collapse .panel-body{border-top-color:#bce8f1}.factory-bootstrap-450 .panel-info>.panel-footer+.panel-collapse .panel-body{border-bottom-color:#bce8f1}.factory-bootstrap-450 .well{min-height:20px;padding:19px;margin-bottom:20px;background-color:#f5f5f5;border:1px solid #e3e3e3;border-radius:4px}.factory-bootstrap-450 .well blockquote{border-color:#ddd;border-color:rgba(0,0,0,.15)}.factory-bootstrap-450 .well-lg{padding:24px;border-radius:6px}.factory-bootstrap-450 .well-sm{padding:9px;border-radius:3px}.factory-bootstrap-450 .close{float:right;font-size:14px;font-weight:700;line-height:1;color:#000;text-shadow:0 1px 0 #fff;opacity:.3;filter:alpha(opacity=30)}.factory-bootstrap-450 .alert .close{position:relative;top:-8px;right:-7px}.factory-bootstrap-450 .close:focus,.factory-bootstrap-450 .close:hover{color:#000;text-decoration:none;cursor:pointer;opacity:.5;filter:alpha(opacity=50)}.factory-bootstrap-450 button.close{padding:0;cursor:pointer;background:0 0;border:0;-webkit-appearance:none}.factory-bootstrap-450 .modal-open{overflow:hidden}.factory-bootstrap-450 .modal{position:fixed;top:0;right:0;bottom:0;left:0;z-index:1040;display:none;overflow:auto;overflow-y:scroll;width:auto;margin-left:0;background-color:transparent;border:0}.factory-bootstrap-450 .modal.fade .modal-dialog{-webkit-transform:translate(0,-25%);-ms-transform:translate(0,-25%);transform:translate(0,-25%);-webkit-transition:-webkit-transform .3s ease-out;-moz-transition:-moz-transform .3s ease-out;-o-transition:-o-transform .3s ease-out;transition:transform .3s ease-out}.factory-bootstrap-450 .modal.in .modal-dialog{-webkit-transform:translate(0,0);-ms-transform:translate(0,0);transform:translate(0,0)}.factory-bootstrap-450 .modal-dialog{position:relative;z-index:1050;width:auto;margin:10px}.factory-bootstrap-450 .modal-content{position:relative;background-color:#fff;border:1px solid #999;border:1px solid rgba(0,0,0,.2);border-radius:6px;outline:0;-webkit-box-shadow:0 3px 9px rgba(0,0,0,.5);box-shadow:0 3px 9px rgba(0,0,0,.5);background-clip:padding-box}.factory-bootstrap-450 .modal-backdrop,.factory-bootstrap-450-modal-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:1030;background-color:#000}.factory-bootstrap-450 .modal-backdrop.fade,.factory-bootstrap-450-modal-backdrop.fade{opacity:0;filter:alpha(opacity=0)}.factory-bootstrap-450 .modal-backdrop.in,.factory-bootstrap-450-modal-backdrop.in{opacity:.5;filter:alpha(opacity=50)}.factory-bootstrap-450 .modal-header{min-height:16.428571429px;padding:15px;border-bottom:1px solid #e5e5e5}.factory-bootstrap-450 .modal-header .close{margin-top:-2px}.factory-bootstrap-450 .modal-title{margin:0;line-height:1.428571429}.factory-bootstrap-450 .modal-body{position:relative;padding:20px;max-height:none}.factory-bootstrap-450 .modal-footer{padding:19px 20px 20px;margin-top:15px;text-align:right;border-top:1px solid #e5e5e5}.factory-bootstrap-450 .modal-footer:after,.factory-bootstrap-450 .modal-footer:before{display:table;content:" "}.factory-bootstrap-450 .modal-footer:after{clear:both}.factory-bootstrap-450 .modal-footer .btn+.btn{margin-bottom:0;margin-left:5px}.factory-bootstrap-450 .modal-footer .btn-group .btn+.btn{margin-left:-1px}.factory-bootstrap-450 .modal-footer .btn-block+.btn-block{margin-left:0}@media screen and (min-width:768px){.factory-bootstrap-450 .modal-dialog{width:600px;margin:30px auto}.factory-bootstrap-450 .modal-content{-webkit-box-shadow:0 5px 15px rgba(0,0,0,.5);box-shadow:0 5px 15px rgba(0,0,0,.5)}}.factory-bootstrap-450 .tooltip{position:absolute;z-index:1030;display:block;font-size:12px;line-height:1.4;opacity:0;filter:alpha(opacity=0);visibility:visible}.factory-bootstrap-450 .tooltip.in{opacity:.9;filter:alpha(opacity=90)}.factory-bootstrap-450 .tooltip.top{padding:5px 0;margin-top:-3px}.factory-bootstrap-450 .tooltip.right{padding:0 5px;margin-left:3px}.factory-bootstrap-450 .tooltip.bottom{padding:5px 0;margin-top:3px}.factory-bootstrap-450 .tooltip.left{padding:0 5px;margin-left:-3px}.factory-bootstrap-450 .tooltip-inner{width:400px;padding:15px 20px;color:#fff;text-align:left;text-decoration:none;background-color:#673ab7;border-radius:3px}.factory-bootstrap-450 .tooltip-arrow{position:absolute;width:0;height:0;border-color:transparent;border-style:solid}.factory-bootstrap-450 .tooltip.top .tooltip-arrow{bottom:0;left:50%;margin-left:-5px;border-top-color:#673ab7;border-width:5px 5px 0}.factory-bootstrap-450 .tooltip.top-left .tooltip-arrow{bottom:0;left:5px;border-top-color:#673ab7;border-width:5px 5px 0}.factory-bootstrap-450 .tooltip.top-right .tooltip-arrow{right:5px;bottom:0;border-top-color:#673ab7;border-width:5px 5px 0}.factory-bootstrap-450 .tooltip.right .tooltip-arrow{top:50%;left:0;margin-top:-5px;border-right-color:#673ab7;border-width:5px 5px 5px 0}.factory-bootstrap-450 .tooltip.left .tooltip-arrow{top:50%;right:0;margin-top:-5px;border-left-color:#673ab7;border-width:5px 0 5px 5px}.factory-bootstrap-450 .tooltip.bottom .tooltip-arrow{top:0;left:50%;margin-left:-5px;border-bottom-color:#673ab7;border-width:0 5px 5px}.factory-bootstrap-450 .tooltip.bottom-left .tooltip-arrow{top:0;left:5px;border-bottom-color:#673ab7;border-width:0 5px 5px}.factory-bootstrap-450 .tooltip.bottom-right .tooltip-arrow{top:0;right:5px;border-bottom-color:#673ab7;border-width:0 5px 5px}.factory-bootstrap-450 .popover{position:absolute;top:0;left:0;z-index:1010;display:none;max-width:276px;padding:1px;text-align:left;white-space:normal;background-color:#fff;border:1px solid #ccc;border:1px solid rgba(0,0,0,.2);border-radius:6px;-webkit-box-shadow:0 5px 10px rgba(0,0,0,.2);box-shadow:0 5px 10px rgba(0,0,0,.2);background-clip:padding-box}.factory-bootstrap-450 .popover.top{margin-top:-10px}.factory-bootstrap-450 .popover.right{margin-left:10px}.factory-bootstrap-450 .popover.bottom{margin-top:10px}.factory-bootstrap-450 .popover.left{margin-left:-10px}.factory-bootstrap-450 .popover-title{padding:8px 14px;margin:0;font-size:14px;font-weight:400;line-height:18px;background-color:#f7f7f7;border-bottom:1px solid #ebebeb;border-radius:5px 5px 0 0}.factory-bootstrap-450 .popover-content{padding:9px 14px}.factory-bootstrap-450 .popover .arrow,.factory-bootstrap-450 .popover .arrow:after{position:absolute;display:block;width:0;height:0;border-color:transparent;border-style:solid}.factory-bootstrap-450 .popover .arrow{border-width:11px}.factory-bootstrap-450 .popover .arrow:after{border-width:10px;content:""}.factory-bootstrap-450 .popover.top .arrow{bottom:-11px;left:50%;margin-left:-11px;border-top-color:#999;border-top-color:rgba(0,0,0,.25);border-bottom-width:0}.factory-bootstrap-450 .popover.top .arrow:after{bottom:1px;margin-left:-10px;border-top-color:#fff;border-bottom-width:0;content:" "}.factory-bootstrap-450 .popover.right .arrow{top:50%;left:-11px;margin-top:-11px;border-right-color:#999;border-right-color:rgba(0,0,0,.25);border-left-width:0}.factory-bootstrap-450 .popover.right .arrow:after{bottom:-10px;left:1px;border-right-color:#fff;border-left-width:0;content:" "}.factory-bootstrap-450 .popover.bottom .arrow{top:-11px;left:50%;margin-left:-11px;border-bottom-color:#999;border-bottom-color:rgba(0,0,0,.25);border-top-width:0}.factory-bootstrap-450 .popover.bottom .arrow:after{top:1px;margin-left:-10px;border-bottom-color:#fff;border-top-width:0;content:" "}.factory-bootstrap-450 .popover.left .arrow{top:50%;right:-11px;margin-top:-11px;border-left-color:#999;border-left-color:rgba(0,0,0,.25);border-right-width:0}.factory-bootstrap-450 .popover.left .arrow:after{right:1px;bottom:-10px;border-left-color:#fff;border-right-width:0;content:" "}.factory-bootstrap-450 .carousel{position:relative}.factory-bootstrap-450 .carousel-inner{position:relative;width:100%;overflow:hidden}.factory-bootstrap-450 .carousel-inner>.item{position:relative;display:none;-webkit-transition:.6s ease-in-out left;transition:.6s ease-in-out left}.factory-bootstrap-450 .carousel-inner>.item>a>img,.factory-bootstrap-450 .carousel-inner>.item>img{display:block;height:auto;max-width:100%;line-height:1}.factory-bootstrap-450 .carousel-inner>.active,.factory-bootstrap-450 .carousel-inner>.next,.factory-bootstrap-450 .carousel-inner>.prev{display:block}.factory-bootstrap-450 .carousel-inner>.active{left:0}.factory-bootstrap-450 .carousel-inner>.next,.factory-bootstrap-450 .carousel-inner>.prev{position:absolute;top:0;width:100%}.factory-bootstrap-450 .carousel-inner>.next{left:100%}.factory-bootstrap-450 .carousel-inner>.prev{left:-100%}.factory-bootstrap-450 .carousel-inner>.next.left,.factory-bootstrap-450 .carousel-inner>.prev.right{left:0}.factory-bootstrap-450 .carousel-inner>.active.left{left:-100%}.factory-bootstrap-450 .carousel-inner>.active.right{left:100%}.factory-bootstrap-450 .carousel-control{position:absolute;top:0;bottom:0;left:0;width:15%;font-size:20px;color:#fff;text-align:center;text-shadow:0 1px 2px rgba(0,0,0,.6);opacity:.5;filter:alpha(opacity=50)}.factory-bootstrap-450 .carousel-control.left{background-image:-webkit-linear-gradient(left,color-stop(rgba(0,0,0,.5) 0),color-stop(rgba(0,0,0,.0001) 100%));background-image:linear-gradient(to right,rgba(0,0,0,.5) 0,rgba(0,0,0,.0001) 100%);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#80000000', endColorstr='#00000000', GradientType=1)}.factory-bootstrap-450 .carousel-control.right{right:0;left:auto;background-image:-webkit-linear-gradient(left,color-stop(rgba(0,0,0,.0001) 0),color-stop(rgba(0,0,0,.5) 100%));background-image:linear-gradient(to right,rgba(0,0,0,.0001) 0,rgba(0,0,0,.5) 100%);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#00000000', endColorstr='#80000000', GradientType=1)}.factory-bootstrap-450 .carousel-control:focus,.factory-bootstrap-450 .carousel-control:hover{color:#fff;text-decoration:none;outline:0;opacity:.9;filter:alpha(opacity=90)}.factory-bootstrap-450 .carousel-control .glyphicon-chevron-left,.factory-bootstrap-450 .carousel-control .glyphicon-chevron-right,.factory-bootstrap-450 .carousel-control .icon-next,.factory-bootstrap-450 .carousel-control .icon-prev{position:absolute;top:50%;z-index:5;display:inline-block}.factory-bootstrap-450 .carousel-control .glyphicon-chevron-left,.factory-bootstrap-450 .carousel-control .icon-prev{left:50%}.factory-bootstrap-450 .carousel-control .glyphicon-chevron-right,.factory-bootstrap-450 .carousel-control .icon-next{right:50%}.factory-bootstrap-450 .carousel-control .icon-next,.factory-bootstrap-450 .carousel-control .icon-prev{width:20px;height:20px;margin-top:-10px;margin-left:-10px;font-family:serif}.factory-bootstrap-450 .carousel-control .icon-prev:before{content:'\2039'}.factory-bootstrap-450 .carousel-control .icon-next:before{content:'\203a'}.factory-bootstrap-450 .carousel-indicators{position:absolute;bottom:10px;left:50%;z-index:15;width:60%;padding-left:0;margin-left:-30%;text-align:center;list-style:none}.factory-bootstrap-450 .carousel-indicators li{display:inline-block;width:10px;height:10px;margin:1px;text-indent:-999px;cursor:pointer;background-color:#000 \9;background-color:rgba(0,0,0,0);border:1px solid #fff;border-radius:10px}.factory-bootstrap-450 .carousel-indicators .active{width:12px;height:12px;margin:0;background-color:#fff}.factory-bootstrap-450 .carousel-caption{position:absolute;right:15%;bottom:20px;left:15%;z-index:10;padding-top:20px;padding-bottom:20px;color:#fff;text-align:center;text-shadow:0 1px 2px rgba(0,0,0,.6)}.factory-bootstrap-450 .carousel-caption .btn{text-shadow:none}@media screen and (min-width:768px){.carousel-control .glyphicons-chevron-left,.carousel-control .glyphicons-chevron-right,.carousel-control .icon-next,.carousel-control .icon-prev{width:30px;height:30px;margin-top:-15px;margin-left:-15px;font-size:30px}.carousel-caption{right:20%;left:20%;padding-bottom:30px}.carousel-indicators{bottom:20px}}.factory-bootstrap-450 .clearfix:after,.factory-bootstrap-450 .clearfix:before{display:table;content:" "}.factory-bootstrap-450 .clearfix:after{clear:both}.factory-bootstrap-450 .center-block{display:block;margin-right:auto;margin-left:auto}.factory-bootstrap-450 .pull-right{float:right!important}.factory-bootstrap-450 .pull-left{float:left!important}.factory-bootstrap-450 .hide{display:none!important}.factory-bootstrap-450 .show{display:block!important}.factory-bootstrap-450 .invisible{visibility:hidden}.factory-bootstrap-450 .text-hide{font:0/0 a;color:transparent;text-shadow:none;background-color:transparent;border:0}.factory-bootstrap-450 .hidden{display:none!important;visibility:hidden!important}.factory-bootstrap-450 .affix{position:fixed}@-ms-viewport{width:device-width}.factory-bootstrap-450 .visible-lg,.factory-bootstrap-450 .visible-md,.factory-bootstrap-450 .visible-sm,.factory-bootstrap-450 .visible-xs,.factory-bootstrap-450 td.visible-lg,.factory-bootstrap-450 td.visible-md,.factory-bootstrap-450 td.visible-sm,.factory-bootstrap-450 td.visible-xs,.factory-bootstrap-450 th.visible-lg,.factory-bootstrap-450 th.visible-md,.factory-bootstrap-450 th.visible-sm,.factory-bootstrap-450 th.visible-xs,.factory-bootstrap-450 tr.visible-lg,.factory-bootstrap-450 tr.visible-md,.factory-bootstrap-450 tr.visible-sm,.factory-bootstrap-450 tr.visible-xs{display:none!important}@media (max-width:767px){.visible-xs{display:block!important}table.visible-xs{display:table}tr.visible-xs{display:table-row!important}td.visible-xs,th.visible-xs{display:table-cell!important}}@media (min-width:768px) and (max-width:991px){.visible-xs.visible-sm{display:block!important}table.visible-xs.visible-sm{display:table}tr.visible-xs.visible-sm{display:table-row!important}td.visible-xs.visible-sm,th.visible-xs.visible-sm{display:table-cell!important}}@media (min-width:992px) and (max-width:1199px){.visible-xs.visible-md{display:block!important}table.visible-xs.visible-md{display:table}tr.visible-xs.visible-md{display:table-row!important}td.visible-xs.visible-md,th.visible-xs.visible-md{display:table-cell!important}}@media (min-width:1200px){.visible-xs.visible-lg{display:block!important}table.visible-xs.visible-lg{display:table}tr.visible-xs.visible-lg{display:table-row!important}td.visible-xs.visible-lg,th.visible-xs.visible-lg{display:table-cell!important}}@media (max-width:767px){.visible-sm.visible-xs{display:block!important}table.visible-sm.visible-xs{display:table}tr.visible-sm.visible-xs{display:table-row!important}td.visible-sm.visible-xs,th.visible-sm.visible-xs{display:table-cell!important}}@media (min-width:768px) and (max-width:991px){.visible-sm{display:block!important}table.visible-sm{display:table}tr.visible-sm{display:table-row!important}td.visible-sm,th.visible-sm{display:table-cell!important}}@media (min-width:992px) and (max-width:1199px){.visible-sm.visible-md{display:block!important}table.visible-sm.visible-md{display:table}tr.visible-sm.visible-md{display:table-row!important}td.visible-sm.visible-md,th.visible-sm.visible-md{display:table-cell!important}}@media (min-width:1200px){.visible-sm.visible-lg{display:block!important}table.visible-sm.visible-lg{display:table}tr.visible-sm.visible-lg{display:table-row!important}td.visible-sm.visible-lg,th.visible-sm.visible-lg{display:table-cell!important}}@media (max-width:767px){.visible-md.visible-xs{display:block!important}table.visible-md.visible-xs{display:table}tr.visible-md.visible-xs{display:table-row!important}td.visible-md.visible-xs,th.visible-md.visible-xs{display:table-cell!important}}@media (min-width:768px) and (max-width:991px){.visible-md.visible-sm{display:block!important}table.visible-md.visible-sm{display:table}tr.visible-md.visible-sm{display:table-row!important}td.visible-md.visible-sm,th.visible-md.visible-sm{display:table-cell!important}}@media (min-width:992px) and (max-width:1199px){.visible-md{display:block!important}table.visible-md{display:table}tr.visible-md{display:table-row!important}td.visible-md,th.visible-md{display:table-cell!important}}@media (min-width:1200px){.visible-md.visible-lg{display:block!important}table.visible-md.visible-lg{display:table}tr.visible-md.visible-lg{display:table-row!important}td.visible-md.visible-lg,th.visible-md.visible-lg{display:table-cell!important}}@media (max-width:767px){.visible-lg.visible-xs{display:block!important}table.visible-lg.visible-xs{display:table}tr.visible-lg.visible-xs{display:table-row!important}td.visible-lg.visible-xs,th.visible-lg.visible-xs{display:table-cell!important}}@media (min-width:768px) and (max-width:991px){.visible-lg.visible-sm{display:block!important}table.visible-lg.visible-sm{display:table}tr.visible-lg.visible-sm{display:table-row!important}td.visible-lg.visible-sm,th.visible-lg.visible-sm{display:table-cell!important}}@media (min-width:992px) and (max-width:1199px){.visible-lg.visible-md{display:block!important}table.visible-lg.visible-md{display:table}tr.visible-lg.visible-md{display:table-row!important}td.visible-lg.visible-md,th.visible-lg.visible-md{display:table-cell!important}}@media (min-width:1200px){.visible-lg{display:block!important}table.visible-lg{display:table}tr.visible-lg{display:table-row!important}td.visible-lg,th.visible-lg{display:table-cell!important}}.factory-bootstrap-450 .hidden-xs{display:block!important}.factory-bootstrap-450 table.hidden-xs{display:table}.factory-bootstrap-450 tr.hidden-xs{display:table-row!important}.factory-bootstrap-450 td.hidden-xs,.factory-bootstrap-450 th.hidden-xs{display:table-cell!important}@media (max-width:767px){.hidden-xs,td.hidden-xs,th.hidden-xs,tr.hidden-xs{display:none!important}}@media (min-width:768px) and (max-width:991px){.hidden-xs.hidden-sm,td.hidden-xs.hidden-sm,th.hidden-xs.hidden-sm,tr.hidden-xs.hidden-sm{display:none!important}}@media (min-width:992px) and (max-width:1199px){.hidden-xs.hidden-md,td.hidden-xs.hidden-md,th.hidden-xs.hidden-md,tr.hidden-xs.hidden-md{display:none!important}}@media (min-width:1200px){.hidden-xs.hidden-lg,td.hidden-xs.hidden-lg,th.hidden-xs.hidden-lg,tr.hidden-xs.hidden-lg{display:none!important}}.factory-bootstrap-450 .hidden-sm{display:block!important}.factory-bootstrap-450 table.hidden-sm{display:table}.factory-bootstrap-450 tr.hidden-sm{display:table-row!important}.factory-bootstrap-450 td.hidden-sm,.factory-bootstrap-450 th.hidden-sm{display:table-cell!important}@media (max-width:767px){.hidden-sm.hidden-xs,td.hidden-sm.hidden-xs,th.hidden-sm.hidden-xs,tr.hidden-sm.hidden-xs{display:none!important}}@media (min-width:768px) and (max-width:991px){.hidden-sm,td.hidden-sm,th.hidden-sm,tr.hidden-sm{display:none!important}}@media (min-width:992px) and (max-width:1199px){.hidden-sm.hidden-md,td.hidden-sm.hidden-md,th.hidden-sm.hidden-md,tr.hidden-sm.hidden-md{display:none!important}}@media (min-width:1200px){.hidden-sm.hidden-lg,td.hidden-sm.hidden-lg,th.hidden-sm.hidden-lg,tr.hidden-sm.hidden-lg{display:none!important}}.factory-bootstrap-450 .hidden-md{display:block!important}.factory-bootstrap-450 table.hidden-md{display:table}.factory-bootstrap-450 tr.hidden-md{display:table-row!important}.factory-bootstrap-450 td.hidden-md,.factory-bootstrap-450 th.hidden-md{display:table-cell!important}@media (max-width:767px){.hidden-md.hidden-xs,td.hidden-md.hidden-xs,th.hidden-md.hidden-xs,tr.hidden-md.hidden-xs{display:none!important}}@media (min-width:768px) and (max-width:991px){.hidden-md.hidden-sm,td.hidden-md.hidden-sm,th.hidden-md.hidden-sm,tr.hidden-md.hidden-sm{display:none!important}}@media (min-width:992px) and (max-width:1199px){.hidden-md,td.hidden-md,th.hidden-md,tr.hidden-md{display:none!important}}@media (min-width:1200px){.hidden-md.hidden-lg,td.hidden-md.hidden-lg,th.hidden-md.hidden-lg,tr.hidden-md.hidden-lg{display:none!important}}.factory-bootstrap-450 .hidden-lg{display:block!important}.factory-bootstrap-450 table.hidden-lg{display:table}.factory-bootstrap-450 tr.hidden-lg{display:table-row!important}.factory-bootstrap-450 td.hidden-lg,.factory-bootstrap-450 th.hidden-lg{display:table-cell!important}@media (max-width:767px){.factory-bootstrap-450 .hidden-lg.hidden-xs,.factory-bootstrap-450 td.hidden-lg.hidden-xs,.factory-bootstrap-450 th.hidden-lg.hidden-xs,.factory-bootstrap-450 tr.hidden-lg.hidden-xs{display:none!important}}@media (min-width:768px) and (max-width:991px){.factory-bootstrap-450 .hidden-lg.hidden-sm,.factory-bootstrap-450 td.hidden-lg.hidden-sm,.factory-bootstrap-450 th.hidden-lg.hidden-sm,.factory-bootstrap-450 tr.hidden-lg.hidden-sm{display:none!important}}@media (min-width:992px) and (max-width:1199px){.factory-bootstrap-450 .hidden-lg.hidden-md,.factory-bootstrap-450 td.hidden-lg.hidden-md,.factory-bootstrap-450 th.hidden-lg.hidden-md,.factory-bootstrap-450 tr.hidden-lg.hidden-md{display:none!important}}@media (min-width:1200px){.factory-bootstrap-450 .hidden-lg,.factory-bootstrap-450 td.hidden-lg,.factory-bootstrap-450 th.hidden-lg,.factory-bootstrap-450 tr.hidden-lg{display:none!important}}.factory-bootstrap-450 .visible-print,.factory-bootstrap-450 td.visible-print,.factory-bootstrap-450 th.visible-print,.factory-bootstrap-450 tr.visible-print{display:none!important}@media print{.factory-bootstrap-450 .visible-print{display:block!important}.factory-bootstrap-450 table.visible-print{display:table}.factory-bootstrap-450 tr.visible-print{display:table-row!important}.factory-bootstrap-450 td.visible-print,.factory-bootstrap-450 th.visible-print{display:table-cell!important}.factory-bootstrap-450 .hidden-print,.factory-bootstrap-450 td.hidden-print,.factory-bootstrap-450 th.hidden-print,.factory-bootstrap-450 tr.hidden-print{display:none!important}}/*!
|
12 |
* Factory Default Bootstrap Theme
|
13 |
*
|
14 |
* The code is based on Bootstrap v2.1.1
|
22 |
*
|
23 |
* @package factory-bootstrap
|
24 |
* @since 1.0.0
|
25 |
+
*/.factory-bootstrap-450 .btn-danger,.factory-bootstrap-450 .btn-default,.factory-bootstrap-450 .btn-info,.factory-bootstrap-450 .btn-primary,.factory-bootstrap-450 .btn-success,.factory-bootstrap-450 .btn-warning{-webkit-box-shadow:inset 0 1px 0 rgba(255,255,255,.15),0 1px 1px rgba(0,0,0,.075);box-shadow:inset 0 1px 0 rgba(255,255,255,.15),0 1px 1px rgba(0,0,0,.075)}.factory-bootstrap-450 .btn-danger.active,.factory-bootstrap-450 .btn-danger:active,.factory-bootstrap-450 .btn-default.active,.factory-bootstrap-450 .btn-default:active,.factory-bootstrap-450 .btn-info.active,.factory-bootstrap-450 .btn-info:active,.factory-bootstrap-450 .btn-primary.active,.factory-bootstrap-450 .btn-primary:active,.factory-bootstrap-450 .btn-success.active,.factory-bootstrap-450 .btn-success:active,.factory-bootstrap-450 .btn-warning.active,.factory-bootstrap-450 .btn-warning:active{-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,.1);box-shadow:inset 0 1px 1px rgba(0,0,0,.1)}.factory-bootstrap-450 .btn.active,.factory-bootstrap-450 .btn:active{background-image:none}.factory-bootstrap-450 .btn-default{color:#555;border-color:#ccc;background:#f7f7f7;-webkit-box-shadow:inset 0 1px 0 #fff,0 1px 0 rgba(0,0,0,.08);box-shadow:inset 0 1px 0 #fff,0 1px 0 rgba(0,0,0,.08);vertical-align:top}.factory-bootstrap-450 .btn-default.active,.factory-bootstrap-450 .btn-default:active{background-color:#fff;border-color:#dbdbdb}.factory-bootstrap-450 .btn-gold{font-weight:700;padding:7px 12px;cursor:pointer;line-height:16px;display:inline-block;border-radius:2px;-moz-border-radius:2px;-webkit-border-radius:2px;box-shadow:#e3e3e3 0 1px 1px;-moz-box-shadow:0 1px 1px rgba(000,000,000,.1),inset 0 1px 1px rgba(255,255,255,.7);-webkit-box-shadow:0 1px 1px rgba(000,000,000,.1),inset 0 1px 1px rgba(255,255,255,.7);text-shadow:1px 1px 0 #ffe8b2;color:#7c5d1b;border:1px solid #d6a437;background:#feeb80}.factory-bootstrap-450 .btn-gold:focus,.factory-bootstrap-450 .btn-gold:hover{background:#fef0a1}.factory-bootstrap-450 .btn-gold.active,.factory-bootstrap-450 .btn-gold:active{background:#fef0a1;-webkit-box-shadow:inset 0 3px 8px 0 #f8ba36;box-shadow:inset 0 3px 8px 0 #f8ba36}.factory-bootstrap-450 .btn-primary{background:#2ea2cc;border-color:#0074a2;-webkit-box-shadow:inset 0 1px 0 rgba(120,200,230,.5),0 1px 0 rgba(0,0,0,.15);box-shadow:inset 0 1px 0 rgba(120,200,230,.5),0 1px 0 rgba(0,0,0,.15);color:#fff;text-decoration:none}.factory-bootstrap-450 .btn-primary:focus,.factory-bootstrap-450 .btn-primary:hover{background:#1e8cbe;border-color:#0074a2;-webkit-box-shadow:inset 0 1px 0 rgba(120,200,230,.6);box-shadow:inset 0 1px 0 rgba(120,200,230,.6);color:#fff}.factory-bootstrap-450 .btn-primary.active,.factory-bootstrap-450 .btn-primary:active{background-color:#2d6ca2;border-color:#2b669a}.factory-bootstrap-450 .btn-success{background-image:-webkit-linear-gradient(top,#5cb85c 0,#419641 100%);background-image:linear-gradient(to bottom,#5cb85c 0,#419641 100%);background-repeat:repeat-x;border-color:#3e8f3e;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff5cb85c', endColorstr='#ff419641', GradientType=0);filter:progid:DXImageTransform.Microsoft.gradient(enabled=false)}.factory-bootstrap-450 .btn-success:focus,.factory-bootstrap-450 .btn-success:hover{background-color:#419641;background-position:0 -15px}.factory-bootstrap-450 .btn-success.active,.factory-bootstrap-450 .btn-success:active{background-color:#419641;border-color:#3e8f3e}.factory-bootstrap-450 .btn-warning{background-image:-webkit-linear-gradient(top,#f0ad4e 0,#eb9316 100%);background-image:linear-gradient(to bottom,#f0ad4e 0,#eb9316 100%);background-repeat:repeat-x;border-color:#e38d13;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#fff0ad4e', endColorstr='#ffeb9316', GradientType=0);filter:progid:DXImageTransform.Microsoft.gradient(enabled=false)}.factory-bootstrap-450 .btn-warning:focus,.factory-bootstrap-450 .btn-warning:hover{background-color:#eb9316;background-position:0 -15px}.factory-bootstrap-450 .btn-warning.active,.factory-bootstrap-450 .btn-warning:active{background-color:#eb9316;border-color:#e38d13}.factory-bootstrap-450 .btn-danger{color:#fff;background:#d9534f;border-color:#d43f3a}.factory-bootstrap-450 .btn-danger.active,.factory-bootstrap-450 .btn-danger:active,.factory-bootstrap-450 .btn-danger:focus,.factory-bootstrap-450 .btn-danger:hover,.factory-bootstrap-450 .open .dropdown-toggle.btn-danger{color:#fff;background-color:#d2322d;border-color:#ac2925}.factory-bootstrap-450 .btn-info{background-image:-webkit-linear-gradient(top,#5bc0de 0,#2aabd2 100%);background-image:linear-gradient(to bottom,#5bc0de 0,#2aabd2 100%);background-repeat:repeat-x;border-color:#28a4c9;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff5bc0de', endColorstr='#ff2aabd2', GradientType=0);filter:progid:DXImageTransform.Microsoft.gradient(enabled=false)}.factory-bootstrap-450 .btn-info:focus,.factory-bootstrap-450 .btn-info:hover{background-color:#2aabd2;background-position:0 -15px}.factory-bootstrap-450 .btn-info.active,.factory-bootstrap-450 .btn-info:active{background-color:#2aabd2;border-color:#28a4c9}.factory-bootstrap-450 .img-thumbnail,.factory-bootstrap-450 .thumbnail{-webkit-box-shadow:0 1px 2px rgba(0,0,0,.075);box-shadow:0 1px 2px rgba(0,0,0,.075)}.factory-bootstrap-450 .dropdown-menu>li>a:focus,.factory-bootstrap-450 .dropdown-menu>li>a:hover{background-color:#e8e8e8;background-image:-webkit-linear-gradient(top,#f5f5f5 0,#e8e8e8 100%);background-image:linear-gradient(to bottom,#f5f5f5 0,#e8e8e8 100%);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#fff5f5f5', endColorstr='#ffe8e8e8', GradientType=0)}.factory-bootstrap-450 .dropdown-menu>.active>a,.factory-bootstrap-450 .dropdown-menu>.active>a:focus,.factory-bootstrap-450 .dropdown-menu>.active>a:hover{background-color:#357ebd;background-image:-webkit-linear-gradient(top,#428bca 0,#357ebd 100%);background-image:linear-gradient(to bottom,#428bca 0,#357ebd 100%);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff428bca', endColorstr='#ff357ebd', GradientType=0)}.factory-bootstrap-450 .navbar-default{background-image:-webkit-linear-gradient(top,#fff 0,#f8f8f8 100%);background-image:linear-gradient(to bottom,#fff 0,#f8f8f8 100%);background-repeat:repeat-x;border-radius:4px;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffffff', endColorstr='#fff8f8f8', GradientType=0);filter:progid:DXImageTransform.Microsoft.gradient(enabled=false);-webkit-box-shadow:inset 0 1px 0 rgba(255,255,255,.15),0 1px 5px rgba(0,0,0,.075);box-shadow:inset 0 1px 0 rgba(255,255,255,.15),0 1px 5px rgba(0,0,0,.075)}.factory-bootstrap-450 .navbar-default .navbar-nav>.active>a{background-image:-webkit-linear-gradient(top,#ebebeb 0,#f3f3f3 100%);background-image:linear-gradient(to bottom,#ebebeb 0,#f3f3f3 100%);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffebebeb', endColorstr='#fff3f3f3', GradientType=0);-webkit-box-shadow:inset 0 3px 9px rgba(0,0,0,.075);box-shadow:inset 0 3px 9px rgba(0,0,0,.075)}.factory-bootstrap-450 .navbar-brand,.factory-bootstrap-450 .navbar-nav>li>a{text-shadow:0 1px 0 rgba(255,255,255,.25)}.factory-bootstrap-450 .navbar-inverse{background-image:-webkit-linear-gradient(top,#3c3c3c 0,#222 100%);background-image:linear-gradient(to bottom,#3c3c3c 0,#222 100%);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff3c3c3c', endColorstr='#ff222222', GradientType=0);filter:progid:DXImageTransform.Microsoft.gradient(enabled=false)}.factory-bootstrap-450 .navbar-inverse .navbar-nav>.active>a{background-image:-webkit-linear-gradient(top,#222 0,#282828 100%);background-image:linear-gradient(to bottom,#222 0,#282828 100%);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff222222', endColorstr='#ff282828', GradientType=0);-webkit-box-shadow:inset 0 3px 9px rgba(0,0,0,.25);box-shadow:inset 0 3px 9px rgba(0,0,0,.25)}.factory-bootstrap-450 .navbar-inverse .navbar-brand,.factory-bootstrap-450 .navbar-inverse .navbar-nav>li>a{text-shadow:0 -1px 0 rgba(0,0,0,.25)}.factory-bootstrap-450 .navbar-fixed-bottom,.factory-bootstrap-450 .navbar-fixed-top,.factory-bootstrap-450 .navbar-static-top{border-radius:0}.factory-bootstrap-450 .alert{-webkit-box-shadow:inset 0 1px 0 rgba(255,255,255,.25),0 1px 2px rgba(0,0,0,.05)}.factory-bootstrap-450 .alert .actions{padding-top:10px}.factory-bootstrap-450 .alert-success{color:#3c763d;background-color:#dff0d8;border-bottom:2px solid #c8e5bc}.factory-bootstrap-450 .alert-info{background-image:-webkit-linear-gradient(top,#d9edf7 0,#b9def0 100%);background-image:linear-gradient(to bottom,#d9edf7 0,#b9def0 100%);background-repeat:repeat-x;border-color:#9acfea;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffd9edf7', endColorstr='#ffb9def0', GradientType=0)}.factory-bootstrap-450 .alert{text-shadow:none;box-shadow:none;margin:0;margin-top:10px;margin-bottom:10px;padding:10px}.factory-bootstrap-450 .alert-normal,.factory-bootstrap-450 .alert-warning{background:#fcf8e3;color:#8a6d3b;border:1px solid #b8823b}.factory-bootstrap-450 .alert-danger{background:#cf4944;color:#fff;border-bottom:2px solid #b23e3a}.factory-bootstrap-450 .alert-danger a:not(.btn),.factory-bootstrap-450 .alert-error a:not(.btn){color:#fff}.factory-bootstrap-450 .progress{background-image:-webkit-linear-gradient(top,#ebebeb 0,#f5f5f5 100%);background-image:linear-gradient(to bottom,#ebebeb 0,#f5f5f5 100%);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffebebeb', endColorstr='#fff5f5f5', GradientType=0)}.factory-bootstrap-450 .progress-bar{background-image:-webkit-linear-gradient(top,#428bca 0,#3071a9 100%);background-image:linear-gradient(to bottom,#428bca 0,#3071a9 100%);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff428bca', endColorstr='#ff3071a9', GradientType=0)}.factory-bootstrap-450 .progress-bar-success{background-image:-webkit-linear-gradient(top,#5cb85c 0,#449d44 100%);background-image:linear-gradient(to bottom,#5cb85c 0,#449d44 100%);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff5cb85c', endColorstr='#ff449d44', GradientType=0)}.factory-bootstrap-450 .progress-bar-info{background-image:-webkit-linear-gradient(top,#5bc0de 0,#31b0d5 100%);background-image:linear-gradient(to bottom,#5bc0de 0,#31b0d5 100%);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff5bc0de', endColorstr='#ff31b0d5', GradientType=0)}.factory-bootstrap-450 .progress-bar-warning{background-image:-webkit-linear-gradient(top,#f0ad4e 0,#ec971f 100%);background-image:linear-gradient(to bottom,#f0ad4e 0,#ec971f 100%);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#fff0ad4e', endColorstr='#ffec971f', GradientType=0)}.factory-bootstrap-450 .progress-bar-danger{background-image:-webkit-linear-gradient(top,#d9534f 0,#c9302c 100%);background-image:linear-gradient(to bottom,#d9534f 0,#c9302c 100%);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffd9534f', endColorstr='#ffc9302c', GradientType=0)}.factory-bootstrap-450 .list-group{border-radius:4px;-webkit-box-shadow:0 1px 2px rgba(0,0,0,.075);box-shadow:0 1px 2px rgba(0,0,0,.075)}.factory-bootstrap-450 .list-group-item.active,.factory-bootstrap-450 .list-group-item.active:focus,.factory-bootstrap-450 .list-group-item.active:hover{text-shadow:0 -1px 0 #3071a9;background-image:-webkit-linear-gradient(top,#428bca 0,#3278b3 100%);background-image:linear-gradient(to bottom,#428bca 0,#3278b3 100%);background-repeat:repeat-x;border-color:#3278b3;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff428bca', endColorstr='#ff3278b3', GradientType=0)}.factory-bootstrap-450 .panel{-webkit-box-shadow:0 1px 2px rgba(0,0,0,.05);box-shadow:0 1px 2px rgba(0,0,0,.05)}.factory-bootstrap-450 .panel-default>.panel-heading{background-image:-webkit-linear-gradient(top,#f5f5f5 0,#e8e8e8 100%);background-image:linear-gradient(to bottom,#f5f5f5 0,#e8e8e8 100%);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#fff5f5f5', endColorstr='#ffe8e8e8', GradientType=0)}.factory-bootstrap-450 .panel-primary>.panel-heading{background-image:-webkit-linear-gradient(top,#428bca 0,#357ebd 100%);background-image:linear-gradient(to bottom,#428bca 0,#357ebd 100%);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff428bca', endColorstr='#ff357ebd', GradientType=0)}.factory-bootstrap-450 .panel-success>.panel-heading{background-image:-webkit-linear-gradient(top,#dff0d8 0,#d0e9c6 100%);background-image:linear-gradient(to bottom,#dff0d8 0,#d0e9c6 100%);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffdff0d8', endColorstr='#ffd0e9c6', GradientType=0)}.factory-bootstrap-450 .panel-info>.panel-heading{background-image:-webkit-linear-gradient(top,#d9edf7 0,#c4e3f3 100%);background-image:linear-gradient(to bottom,#d9edf7 0,#c4e3f3 100%);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffd9edf7', endColorstr='#ffc4e3f3', GradientType=0)}.factory-bootstrap-450 .panel-warning>.panel-heading{background-image:-webkit-linear-gradient(top,#fcf8e3 0,#faf2cc 100%);background-image:linear-gradient(to bottom,#fcf8e3 0,#faf2cc 100%);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#fffcf8e3', endColorstr='#fffaf2cc', GradientType=0)}.factory-bootstrap-450 .panel-danger>.panel-heading{background-image:-webkit-linear-gradient(to
|