Accordion - Version 2.1.0

Version Description

  • 08/10/2018 - update - font-awesome 5 added.
    • 08/10/2018 - update - admin settings updated.
    • 08/10/2018 - add - accordion preview with responsive added on admin.
    • 08/10/2018 - add - custom JS field added.
    • 08/10/2018 - add - Expand all/Collapse all button added on settings.
    • 08/10/2018 - add - Icon hover color input field added.
    • 08/10/2018 - add - Header padding, margin input field added.
    • 08/10/2018 - add - Content padding, margin input field added.
    • 08/10/2018 - add - Tabs activate event.
    • 08/10/2018 - add - WooCommerce Product FAQ tab.
    • 08/10/2018 - add - Duplicate accordion.
Download this release

Release Info

Developer pickplugins
Plugin Icon 128x128 Accordion
Version 2.1.0
Comparing to
See all releases

Code changes from version 2.0.23 to 2.1.0

Files changed (40) hide show
  1. accordions.php +67 -65
  2. assets/admin/ParaAdmin/css/ParaAdmin.css +0 -176
  3. assets/admin/ParaAdmin/js/ParaAdmin.js +0 -45
  4. assets/admin/css/codemirror.css +334 -0
  5. assets/admin/css/five-star.png +0 -0
  6. assets/admin/css/move.png +0 -0
  7. assets/admin/css/settings-tabs.css +117 -0
  8. assets/admin/css/settings-tabs.min.css +1 -0
  9. assets/admin/css/style.css +48 -41
  10. assets/admin/css/style.min.css +1 -0
  11. assets/admin/css/tooltipster.bundle.min.css +0 -1
  12. assets/admin/images/flat.png +0 -0
  13. assets/admin/images/semi-rounded.png +0 -0
  14. assets/admin/js/codemirror.js +8871 -0
  15. assets/admin/js/codemirror.min.js +1 -0
  16. assets/admin/js/color-picker.js +0 -10
  17. assets/admin/js/scripts.js +87 -36
  18. assets/admin/js/scripts.min.js +1 -0
  19. assets/admin/js/settings-tabs.js +26 -0
  20. assets/admin/js/settings-tabs.min.js +1 -0
  21. assets/admin/js/tooltipster.bundle.min.js +0 -2
  22. assets/frontend/css/images/ui-icons_444444_256x240.png +0 -0
  23. assets/frontend/css/images/ui-icons_555555_256x240.png +0 -0
  24. assets/frontend/css/images/ui-icons_777620_256x240.png +0 -0
  25. assets/frontend/css/images/ui-icons_777777_256x240.png +0 -0
  26. assets/frontend/css/images/ui-icons_cc0000_256x240.png +0 -0
  27. assets/frontend/css/images/ui-icons_ffffff_256x240.png +0 -0
  28. assets/frontend/css/jquery-ui.css +1312 -0
  29. assets/frontend/css/jquery-ui.min.css +0 -7
  30. assets/frontend/css/style.css +0 -15
  31. assets/frontend/images/loading.gif +0 -0
  32. assets/frontend/js/scripts.js +0 -12
  33. assets/global/css/font-awesome.min.css +0 -4
  34. assets/global/css/fontawesome.min.css +5 -0
  35. assets/global/css/themes.style.css +91 -5
  36. assets/global/css/themes.style.min.css +1 -0
  37. assets/global/css/themesTabs.style.css +1 -1
  38. assets/global/fonts/FontAwesome.otf +0 -0
  39. assets/global/fonts/fontawesome-webfont.eot +0 -0
  40. assets/global/fonts/fontawesome-webfont.svg +0 -549
accordions.php CHANGED
@@ -1,12 +1,15 @@
1
  <?php
2
  /*
3
  Plugin Name: Accordions
4
- Plugin URI: http://www.pickplugins.com/item/accordions-html-css3-responsive-accordion-grid-for-wordpress/?ref=dashboard
5
- Description: Fully responsive and mobile ready accordion grid for WordPress.
6
- Version: 2.0.23
 
 
7
  Author: PickPlugins
8
  Author URI: http://pickplugins.com
9
  Text Domain: accordions
 
10
  License: GPLv2 or later
11
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
12
  */
@@ -20,47 +23,46 @@ class Accordions{
20
 
21
  define('accordions_plugin_url', plugins_url('/', __FILE__) );
22
  define('accordions_plugin_dir', plugin_dir_path( __FILE__ ) );
23
- define('accordions_wp_url', 'https://wordpress.org/plugins/accordions/' );
24
- define('accordions_wp_reviews', 'http://wordpress.org/support/view/plugin-reviews/accordions' );
25
- define('accordions_pro_url','https://www.pickplugins.com/item/accordions-html-css3-responsive-accordion-grid-for-wordpress/?ref=dashboard' );
26
- define('accordions_demo_url', 'http://pickplugins.com' );
27
- define('accordions_conatct_url', 'https://www.pickplugins.com/contact/' );
28
- define('accordions_qa_url', 'https://www.pickplugins.com/support/' );
29
- define('accordions_plugin_name', 'Accordions' );
30
- define('accordions_plugin_version', '2.0.23' );
31
- define('accordions_customer_type', 'free' );
32
- define('accordions_share_url', 'https://wordpress.org/plugins/accordions/' );
33
- define('accordions_tutorial_video_url', '//www.youtube.com/embed/h2wNFJaaY8s?rel=0' );
34
-
35
- require_once( plugin_dir_path( __FILE__ ) . 'includes/meta.php');
36
  require_once( plugin_dir_path( __FILE__ ) . 'includes/functions.php');
37
-
 
38
  require_once( plugin_dir_path( __FILE__ ) . 'includes/class-functions.php');
39
  require_once( plugin_dir_path( __FILE__ ) . 'includes/class-shortcodes.php');
40
- require_once( plugin_dir_path( __FILE__ ) . 'includes/class-settings.php');
41
-
42
-
43
 
44
  add_action( 'wp_enqueue_scripts', array( $this, 'accordions_front_scripts' ) );
45
  add_action( 'admin_enqueue_scripts', array( $this, 'accordions_admin_scripts' ) );
46
 
47
- //add_action( 'plugins_loaded', array( $this, 'accordions_load_textdomain' ));
48
-
49
- // DIsplay shortcode in widgets
50
- add_filter('widget_text', 'do_shortcode');
51
 
52
- add_filter( 'plugin_action_links_'.plugin_basename( __FILE__ ), array( $this, 'plugin_list_pro_link' ));
53
- add_action( 'init', array( $this, 'textdomain' ));
54
- }
 
 
 
 
 
 
55
 
 
 
 
56
 
57
- public function textdomain() {
58
 
59
- $locale = apply_filters( 'plugin_locale', get_locale(), 'accordions' );
60
- load_textdomain('accordions', WP_LANG_DIR .'/accordions/accordions-'. $locale .'.mo' );
61
 
62
- load_plugin_textdomain( 'accordions', false, plugin_basename( dirname( __FILE__ ) ) . '/languages/' );
63
- }
 
64
 
65
 
66
  public function accordions_install(){
@@ -86,20 +88,24 @@ class Accordions{
86
  wp_enqueue_script( 'jquery' );
87
  wp_enqueue_script( 'jquery-ui-core' );
88
  wp_enqueue_script('jquery-ui-accordion');
89
- wp_enqueue_script('jquery-ui-tabs');
90
- wp_enqueue_style('jquery-ui', plugins_url( 'assets/frontend/css/jquery-ui.min.css', __FILE__ ));
91
- wp_enqueue_style('accordions_style', plugins_url( 'assets/frontend/css/style.css', __FILE__ ));
92
- wp_enqueue_style('accordions_themes.style', plugins_url( 'assets/global/css/themes.style.css', __FILE__ ));
93
- wp_enqueue_style('accordions_themes.Tabs.style', plugins_url( 'assets/global/css/themesTabs.style.css', __FILE__ ));
94
- wp_enqueue_style('font-awesome', plugins_url( 'assets/global/css/font-awesome.min.css', __FILE__ ));
 
 
 
95
 
96
  }
97
 
98
  public function accordions_admin_scripts(){
99
 
100
  wp_enqueue_script('jquery');
101
- //wp_enqueue_script('jquery-ui-core');
102
  wp_enqueue_script('jquery-ui-sortable');
 
 
103
  wp_enqueue_script('accordions_admin_js', plugins_url( 'assets/admin/js/scripts.js' , __FILE__ ) , array( 'jquery' ));
104
  wp_localize_script( 'accordions_admin_js', 'L10n_accordions', array(
105
  'confirm_text' => __( 'Confirm', 'accordions' )
@@ -107,35 +113,31 @@ class Accordions{
107
 
108
  wp_localize_script( 'accordions_admin_js', 'accordions_ajax', array( 'accordions_ajaxurl' => admin_url( 'admin-ajax.php')));
109
 
 
 
110
  wp_enqueue_style('accordions_admin_style', plugins_url( 'assets/admin/css/style.css', __FILE__ ));
111
- wp_enqueue_style('font-awesome', plugins_url( 'assets/global/css/font-awesome.min.css', __FILE__ ));
112
-
113
- //ParaAdmin
114
- wp_enqueue_style('ParaAdmin', plugins_url( 'assets/admin/ParaAdmin/css/ParaAdmin.css', __FILE__ ));
115
- wp_enqueue_script('ParaAdmin', plugins_url( 'assets/admin/ParaAdmin/js/ParaAdmin.js' , __FILE__ ) , array( 'jquery' ));
116
-
117
- wp_enqueue_script('tooltipster.bundle.min', plugins_url( 'assets/admin/js/tooltipster.bundle.min.js' , __FILE__ ) , array( 'jquery' ));
118
- wp_enqueue_style('tooltipster.bundle.min', plugins_url( 'assets/admin/css/tooltipster.bundle.min.css', __FILE__ ));
119
-
120
- wp_enqueue_style( 'wp-color-picker' );
121
- wp_enqueue_script( 'accordions_color_picker', plugins_url('assets/admin/js/color-picker.js', __FILE__ ), array( 'wp-color-picker' ), false, true );
122
-
123
 
124
  }
125
-
126
-
127
- public function plugin_list_pro_link( $links ) {
128
-
129
- return array_merge(
130
- array(
131
- 'get_premium' => '<a target="_blank" class="" style=" font-weight:bold;color:#f00;" href="https://www.pickplugins.com/product/accordions/?ref=dashboard">'.__('Buy Premium!', 'accordions').'</a>'
132
- ),
133
- $links
134
- );
135
-
136
- }
137
-
138
-
139
  }
140
 
141
  new Accordions();
1
  <?php
2
  /*
3
  Plugin Name: Accordions
4
+ Plugin URI: https://www.pickplugins.com/item/accordions-html-css3-responsive-accordion-grid-for-wordpress/?ref=dashboard
5
+ Description: Fully responsive and mobile ready accordion grid for wordpress.
6
+ Version: 2.1.0
7
+ WC requires at least: 3.0.0
8
+ WC tested up to: 3.4
9
  Author: PickPlugins
10
  Author URI: http://pickplugins.com
11
  Text Domain: accordions
12
+ Domain Path: /languages
13
  License: GPLv2 or later
14
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
15
  */
23
 
24
  define('accordions_plugin_url', plugins_url('/', __FILE__) );
25
  define('accordions_plugin_dir', plugin_dir_path( __FILE__ ) );
26
+
27
+
28
+ require_once( plugin_dir_path( __FILE__ ) . 'includes/settings-tabs.php');
29
+ require_once( plugin_dir_path( __FILE__ ) . 'includes/meta-new.php');
 
 
 
 
 
 
 
 
 
30
  require_once( plugin_dir_path( __FILE__ ) . 'includes/functions.php');
31
+ require_once( plugin_dir_path( __FILE__ ) . 'includes/functions-wc.php');
32
+ require_once( plugin_dir_path( __FILE__ ) . 'includes/functions-meta.php');
33
  require_once( plugin_dir_path( __FILE__ ) . 'includes/class-functions.php');
34
  require_once( plugin_dir_path( __FILE__ ) . 'includes/class-shortcodes.php');
35
+ require_once( plugin_dir_path( __FILE__ ) . 'includes/duplicate-post.php');
36
+ require_once( plugin_dir_path( __FILE__ ) . 'includes/class-WPAdminSettings.php');
37
+ require_once( plugin_dir_path( __FILE__ ) . 'includes/class-settings.php');
38
 
39
  add_action( 'wp_enqueue_scripts', array( $this, 'accordions_front_scripts' ) );
40
  add_action( 'admin_enqueue_scripts', array( $this, 'accordions_admin_scripts' ) );
41
 
42
+ add_action( 'plugins_loaded', array( $this, 'accordions_load_textdomain' ));
 
 
 
43
 
44
+
45
+ require_once( plugin_dir_path( __FILE__ ) . 'includes/class-widget-accordions.php');
46
+
47
+ add_action( 'widgets_init', array( $this, 'widget_register' ) );
48
+
49
+ // Display shortcode in widgets
50
+ add_filter('widget_text', 'do_shortcode');
51
+ add_filter( 'plugin_action_links_'.plugin_basename( __FILE__ ), array( $this, 'plugin_list_pro_link' ));
52
+ }
53
 
54
+ public function widget_register() {
55
+ register_widget( 'WidgetAccordions' );
56
+ }
57
 
58
+ public function accordions_load_textdomain() {
59
 
60
+ $locale = apply_filters( 'plugin_locale', get_locale(), 'accordions' );
61
+ load_textdomain('accordions', WP_LANG_DIR .'/accordions/accordions-'. $locale .'.mo' );
62
 
63
+ load_plugin_textdomain( 'accordions', false, plugin_basename( dirname( __FILE__ ) ) . '/languages/' );
64
+
65
+ }
66
 
67
 
68
  public function accordions_install(){
88
  wp_enqueue_script( 'jquery' );
89
  wp_enqueue_script( 'jquery-ui-core' );
90
  wp_enqueue_script('jquery-ui-accordion');
91
+ wp_enqueue_script('jquery-ui-tabs');
92
+ wp_enqueue_script('jquery-effects-core');
93
+ //wp_enqueue_script('accordions_js', plugins_url( 'assets/frontend/js/scripts.js' , __FILE__ ) , array( 'jquery' ));
94
+ //wp_localize_script( 'accordions_js', 'accordions_ajax', array( 'accordions_ajaxurl' => admin_url( 'admin-ajax.php')));
95
+
96
+
97
+ wp_enqueue_style('accordions_themes.Tabs.style', plugins_url( 'assets/global/css/themesTabs.style.css', __FILE__ ));
98
+ wp_enqueue_style('fontawesome.min', plugins_url( 'assets/global/css/fontawesome.min.css', __FILE__ ));
99
+
100
 
101
  }
102
 
103
  public function accordions_admin_scripts(){
104
 
105
  wp_enqueue_script('jquery');
 
106
  wp_enqueue_script('jquery-ui-sortable');
107
+ wp_enqueue_script( 'jquery-ui-core' );
108
+ wp_enqueue_script('jquery-ui-accordion');
109
  wp_enqueue_script('accordions_admin_js', plugins_url( 'assets/admin/js/scripts.js' , __FILE__ ) , array( 'jquery' ));
110
  wp_localize_script( 'accordions_admin_js', 'L10n_accordions', array(
111
  'confirm_text' => __( 'Confirm', 'accordions' )
113
 
114
  wp_localize_script( 'accordions_admin_js', 'accordions_ajax', array( 'accordions_ajaxurl' => admin_url( 'admin-ajax.php')));
115
 
116
+
117
+
118
  wp_enqueue_style('accordions_admin_style', plugins_url( 'assets/admin/css/style.css', __FILE__ ));
119
+ wp_enqueue_style('fontawesome', plugins_url( 'assets/global/css/fontawesome.min.css', __FILE__ ));
120
+
121
+ wp_enqueue_script('codemirror', plugins_url( 'assets/admin/js/codemirror.js' , __FILE__ ) , array( 'jquery' ));
122
+ wp_enqueue_style('codemirror', plugins_url( 'assets/admin/css/codemirror.css', __FILE__ ));
123
+
124
+ wp_enqueue_script('settings-tabs', plugins_url( 'assets/admin/js/settings-tabs.js' , __FILE__ ) , array( 'jquery' ));
125
+ wp_enqueue_style('settings-tabs', plugins_url( 'assets/admin/css/settings-tabs.css', __FILE__ ));
126
+
 
 
 
 
127
 
128
  }
129
+
130
+ public function plugin_list_pro_link( $links ) {
131
+
132
+ return array_merge(
133
+ array(
134
+ 'get_premium' => '<a target="_blank" class="" style=" font-weight:bold;" href="https://www.pickplugins.com/product/accordions/?ref=dashboard">'.__('Buy Premium!', 'accordions').'</a>'
135
+ ),
136
+ $links
137
+ );
138
+
139
+ }
140
+
 
 
141
  }
142
 
143
  new Accordions();
assets/admin/ParaAdmin/css/ParaAdmin.css DELETED
@@ -1,176 +0,0 @@
1
- @charset "utf-8";
2
- /* CSS Document */
3
-
4
-
5
- /*Admin CSS*/
6
-
7
- .para-settings {
8
- margin: 20px 0;
9
- }
10
-
11
- .para-settings .option-box {
12
- margin: 10px 0;
13
- padding: 10px;
14
- }
15
-
16
-
17
- .para-settings .option-box:hover {
18
-
19
- }
20
-
21
-
22
- .para-settings .option-box .option-title {
23
- font-size: 16px;
24
- font-weight: bold;
25
- }
26
-
27
- .para-settings .option-box .option-info {
28
- color: rgb(153, 153, 153);
29
- font-size: 13px;
30
- font-weight: normal;
31
- margin: 10px 0;
32
- }
33
-
34
- .para-settings ul.tab-nav {
35
- clear: both;
36
- margin: 0;
37
- padding: 0;
38
- }
39
-
40
- .para-settings ul.tab-nav li {
41
- background: none repeat scroll 0 0 rgb(230, 230, 230);
42
- cursor: pointer;
43
- display: inline-block;
44
- float: left;
45
- margin: 0;
46
- padding: 15px 20px;
47
- }
48
-
49
- .para-settings ul.tab-nav li.active{
50
- background:#ffffff;
51
- font-weight: bold;
52
- }
53
-
54
- .para-settings ul.box {
55
- clear: both;
56
- margin: 0;
57
- padding: 0;
58
- display: block;
59
- }
60
-
61
- .para-settings ul.box li.tab-box {
62
- background: rgb(255, 255, 255) none repeat scroll 0 0;
63
- display: none;
64
- margin: 0;
65
- width: 100%;
66
- }
67
-
68
-
69
-
70
- .para-settings .new_user_profile_social {
71
- margin: 15px 5px;
72
- }
73
-
74
-
75
-
76
- .para-settings ul.voting-bg-img-list{}
77
-
78
- .para-settings ul.voting-bg-img-list li {
79
- display: inline-block;
80
- margin: 5px;
81
- }
82
- .para-settings ul.voting-bg-img-list li.bg-selected {}
83
-
84
- .para-settings ul.voting-bg-img-list li img{border: 2px solid #ffffff;}
85
-
86
- .para-settings ul.voting-bg-img-list li.bg-selected img{
87
- border: 2px solid #ff5a11;
88
- }
89
-
90
-
91
- .para-settings h2 {
92
- font-size: 20px;
93
- font-weight: bold;
94
- margin: 25px 0;
95
- }
96
-
97
-
98
- .para-settings .expandable {
99
-
100
- }
101
-
102
- .para-settings .expandable .items {
103
- background: none repeat scroll 0 0 rgb(255, 255, 255);
104
- border-bottom: 1px solid rgb(153, 153, 153);
105
- margin: 2px 0;
106
- }
107
-
108
- .para-settings .expandable .items.ui-sortable-helper {
109
- border: 1px dashed rgb(153, 153, 153);
110
- }
111
-
112
-
113
-
114
- .para-settings .expandable .header {
115
- background: none repeat scroll 0 0 rgb(255, 255, 255);
116
- padding: 5px;
117
- }
118
-
119
- .para-settings .expandable .active .options {
120
-
121
- display: block;
122
-
123
- }
124
- .para-settings .expandable .options {
125
- background: none repeat scroll 0 0 rgb(240, 240, 240);
126
- display: none;
127
- padding: 10px;
128
- }
129
-
130
-
131
- @media all and (max-width: 799px) {
132
-
133
-
134
- .para-settings ul.tab-nav li {
135
- display: block;
136
- float: none;
137
-
138
- }
139
-
140
- .para-settings ul.tab-nav li.active{
141
- font-weight: bold;
142
- }
143
-
144
-
145
-
146
-
147
-
148
- .para-settings .pricing-table .column {
149
- display:block;
150
- float:none;
151
- width:100%;
152
- border-right: 1px solid #ff9601;
153
- margin: 50px 0;
154
-
155
- }
156
-
157
-
158
-
159
-
160
-
161
-
162
- }
163
-
164
-
165
-
166
-
167
-
168
-
169
-
170
-
171
-
172
-
173
-
174
-
175
-
176
-
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
assets/admin/ParaAdmin/js/ParaAdmin.js DELETED
@@ -1,45 +0,0 @@
1
-
2
- jQuery(document).ready(function($)
3
- {
4
-
5
-
6
- $(document).on('click', '.expandable .header', function()
7
- {
8
- if($(this).parent().hasClass('active'))
9
- {
10
- $(this).parent().removeClass('active');
11
- }
12
- else
13
- {
14
- $(this).parent().addClass('active');
15
- }
16
-
17
-
18
- })
19
-
20
-
21
-
22
-
23
-
24
- $(document).on('click', '.tab-nav li', function()
25
- {
26
- $(".active").removeClass("active");
27
- $(this).addClass("active");
28
-
29
- var nav = $(this).attr("nav");
30
-
31
- $(".box li.tab-box").css("display","none");
32
- $(".box"+nav).css("display","block");
33
-
34
- })
35
-
36
-
37
-
38
- });
39
-
40
-
41
-
42
-
43
-
44
-
45
-
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
assets/admin/css/codemirror.css ADDED
@@ -0,0 +1,334 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /* BASICS */
2
+
3
+ .CodeMirror {
4
+ /* Set height, width, borders, and global font properties here */
5
+ font-family: monospace;
6
+ height: 300px;
7
+ color: black;
8
+ }
9
+
10
+ /* PADDING */
11
+
12
+ .CodeMirror-lines {
13
+ padding: 4px 0; /* Vertical padding around content */
14
+ }
15
+ .CodeMirror pre {
16
+ padding: 0 4px; /* Horizontal padding of content */
17
+ }
18
+
19
+ .CodeMirror-scrollbar-filler, .CodeMirror-gutter-filler {
20
+ background-color: white; /* The little square between H and V scrollbars */
21
+ }
22
+
23
+ /* GUTTER */
24
+
25
+ .CodeMirror-gutters {
26
+ border-right: 1px solid #ddd;
27
+ background-color: #f7f7f7;
28
+ white-space: nowrap;
29
+ }
30
+ .CodeMirror-linenumbers {}
31
+ .CodeMirror-linenumber {
32
+ padding: 0 3px 0 5px;
33
+ min-width: 20px;
34
+ text-align: right;
35
+ color: #999;
36
+ white-space: nowrap;
37
+ }
38
+
39
+ .CodeMirror-guttermarker { color: black; }
40
+ .CodeMirror-guttermarker-subtle { color: #999; }
41
+
42
+ /* CURSOR */
43
+
44
+ .CodeMirror-cursor {
45
+ border-left: 1px solid black;
46
+ border-right: none;
47
+ width: 0;
48
+ }
49
+ /* Shown when moving in bi-directional text */
50
+ .CodeMirror div.CodeMirror-secondarycursor {
51
+ border-left: 1px solid silver;
52
+ }
53
+ .cm-fat-cursor .CodeMirror-cursor {
54
+ width: auto;
55
+ border: 0;
56
+ background: #7e7;
57
+ }
58
+ .cm-fat-cursor div.CodeMirror-cursors {
59
+ z-index: 1;
60
+ }
61
+
62
+ .cm-animate-fat-cursor {
63
+ width: auto;
64
+ border: 0;
65
+ -webkit-animation: blink 1.06s steps(1) infinite;
66
+ -moz-animation: blink 1.06s steps(1) infinite;
67
+ animation: blink 1.06s steps(1) infinite;
68
+ background-color: #7e7;
69
+ }
70
+ @-moz-keyframes blink {
71
+ 0% {}
72
+ 50% { background-color: transparent; }
73
+ 100% {}
74
+ }
75
+ @-webkit-keyframes blink {
76
+ 0% {}
77
+ 50% { background-color: transparent; }
78
+ 100% {}
79
+ }
80
+ @keyframes blink {
81
+ 0% {}
82
+ 50% { background-color: transparent; }
83
+ 100% {}
84
+ }
85
+
86
+ /* Can style cursor different in overwrite (non-insert) mode */
87
+ .CodeMirror-overwrite .CodeMirror-cursor {}
88
+
89
+ .cm-tab { display: inline-block; text-decoration: inherit; }
90
+
91
+ .CodeMirror-ruler {
92
+ border-left: 1px solid #ccc;
93
+ position: absolute;
94
+ }
95
+
96
+ /* DEFAULT THEME */
97
+
98
+ .cm-s-default .cm-header {color: blue;}
99
+ .cm-s-default .cm-quote {color: #090;}
100
+ .cm-negative {color: #d44;}
101
+ .cm-positive {color: #292;}
102
+ .cm-header, .cm-strong {font-weight: bold;}
103
+ .cm-em {font-style: italic;}
104
+ .cm-link {text-decoration: underline;}
105
+ .cm-strikethrough {text-decoration: line-through;}
106
+
107
+ .cm-s-default .cm-keyword {color: #708;}
108
+ .cm-s-default .cm-atom {color: #219;}
109
+ .cm-s-default .cm-number {color: #164;}
110
+ .cm-s-default .cm-def {color: #00f;}
111
+ .cm-s-default .cm-variable,
112
+ .cm-s-default .cm-punctuation,
113
+ .cm-s-default .cm-property,
114
+ .cm-s-default .cm-operator {}
115
+ .cm-s-default .cm-variable-2 {color: #05a;}
116
+ .cm-s-default .cm-variable-3 {color: #085;}
117
+ .cm-s-default .cm-comment {color: #a50;}
118
+ .cm-s-default .cm-string {color: #a11;}
119
+ .cm-s-default .cm-string-2 {color: #f50;}
120
+ .cm-s-default .cm-meta {color: #555;}
121
+ .cm-s-default .cm-qualifier {color: #555;}
122
+ .cm-s-default .cm-builtin {color: #30a;}
123
+ .cm-s-default .cm-bracket {color: #997;}
124
+ .cm-s-default .cm-tag {color: #170;}
125
+ .cm-s-default .cm-attribute {color: #00c;}
126
+ .cm-s-default .cm-hr {color: #999;}
127
+ .cm-s-default .cm-link {color: #00c;}
128
+
129
+ .cm-s-default .cm-error {color: #f00;}
130
+ .cm-invalidchar {color: #f00;}
131
+
132
+ .CodeMirror-composing { border-bottom: 2px solid; }
133
+
134
+ /* Default styles for common addons */
135
+
136
+ div.CodeMirror span.CodeMirror-matchingbracket {color: #0f0;}
137
+ div.CodeMirror span.CodeMirror-nonmatchingbracket {color: #f22;}
138
+ .CodeMirror-matchingtag { background: rgba(255, 150, 0, .3); }
139
+ .CodeMirror-activeline-background {background: #e8f2ff;}
140
+
141
+ /* STOP */
142
+
143
+ /* The rest of this file contains styles related to the mechanics of
144
+ the editor. You probably shouldn't touch them. */
145
+
146
+ .CodeMirror {
147
+ position: relative;
148
+ overflow: hidden;
149
+ background: white;
150
+ }
151
+
152
+ .CodeMirror-scroll {
153
+ overflow: scroll !important; /* Things will break if this is overridden */
154
+ /* 30px is the magic margin used to hide the element's real scrollbars */
155
+ /* See overflow: hidden in .CodeMirror */
156
+ margin-bottom: -30px; margin-right: -30px;
157
+ padding-bottom: 30px;
158
+ height: 100%;
159
+ outline: none; /* Prevent dragging from highlighting the element */
160
+ position: relative;
161
+ }
162
+ .CodeMirror-sizer {
163
+ position: relative;
164
+ border-right: 30px solid transparent;
165
+ }
166
+
167
+ /* The fake, visible scrollbars. Used to force redraw during scrolling
168
+ before actuall scrolling happens, thus preventing shaking and
169
+ flickering artifacts. */
170
+ .CodeMirror-vscrollbar, .CodeMirror-hscrollbar, .CodeMirror-scrollbar-filler, .CodeMirror-gutter-filler {
171
+ position: absolute;
172
+ z-index: 6;
173
+ display: none;
174
+ }
175
+ .CodeMirror-vscrollbar {
176
+ right: 0; top: 0;
177
+ overflow-x: hidden;
178
+ overflow-y: scroll;
179
+ }
180
+ .CodeMirror-hscrollbar {
181
+ bottom: 0; left: 0;
182
+ overflow-y: hidden;
183
+ overflow-x: scroll;
184
+ }
185
+ .CodeMirror-scrollbar-filler {
186
+ right: 0; bottom: 0;
187
+ }
188
+ .CodeMirror-gutter-filler {
189
+ left: 0; bottom: 0;
190
+ }
191
+
192
+ .CodeMirror-gutters {
193
+ position: absolute; left: 0; top: 0;
194
+ z-index: 3;
195
+ }
196
+ .CodeMirror-gutter {
197
+ white-space: normal;
198
+ height: 100%;
199
+ display: inline-block;
200
+ margin-bottom: -30px;
201
+ /* Hack to make IE7 behave */
202
+ *zoom:1;
203
+ *display:inline;
204
+ }
205
+ .CodeMirror-gutter-wrapper {
206
+ position: absolute;
207
+ z-index: 4;
208
+ background: none !important;
209
+ border: none !important;
210
+ }
211
+ .CodeMirror-gutter-background {
212
+ position: absolute;
213
+ top: 0; bottom: 0;
214
+ z-index: 4;
215
+ }
216
+ .CodeMirror-gutter-elt {
217
+ position: absolute;
218
+ cursor: default;
219
+ z-index: 4;
220
+ }
221
+ .CodeMirror-gutter-wrapper {
222
+ -webkit-user-select: none;
223
+ -moz-user-select: none;
224
+ user-select: none;
225
+ }
226
+
227
+ .CodeMirror-lines {
228
+ cursor: text;
229
+ min-height: 1px; /* prevents collapsing before first draw */
230
+ }
231
+ .CodeMirror pre {
232
+ /* Reset some styles that the rest of the page might have set */
233
+ -moz-border-radius: 0; -webkit-border-radius: 0; border-radius: 0;
234
+ border-width: 0;
235
+ background: transparent;
236
+ font-family: inherit;
237
+ font-size: inherit;
238
+ margin: 0;
239
+ white-space: pre;
240
+ word-wrap: normal;
241
+ line-height: inherit;
242
+ color: inherit;
243
+ z-index: 2;
244
+ position: relative;
245
+ overflow: visible;
246
+ -webkit-tap-highlight-color: transparent;
247
+ }
248
+ .CodeMirror-wrap pre {
249
+ word-wrap: break-word;
250
+ white-space: pre-wrap;
251
+ word-break: normal;
252
+ }
253
+
254
+ .CodeMirror-linebackground {
255
+ position: absolute;
256
+ left: 0; right: 0; top: 0; bottom: 0;
257
+ z-index: 0;
258
+ }
259
+
260
+ .CodeMirror-linewidget {
261
+ position: relative;
262
+ z-index: 2;
263
+ overflow: auto;
264
+ }
265
+
266
+ .CodeMirror-widget {}
267
+
268
+ .CodeMirror-code {
269
+ outline: none;
270
+ }
271
+
272
+ /* Force content-box sizing for the elements where we expect it */
273
+ .CodeMirror-scroll,
274
+ .CodeMirror-sizer,
275
+ .CodeMirror-gutter,
276
+ .CodeMirror-gutters,
277
+ .CodeMirror-linenumber {
278
+ -moz-box-sizing: content-box;
279
+ box-sizing: content-box;
280
+ }
281
+
282
+ .CodeMirror-measure {
283
+ position: absolute;
284
+ width: 100%;
285
+ height: 0;
286
+ overflow: hidden;
287
+ visibility: hidden;
288
+ }
289
+
290
+ .CodeMirror-cursor { position: absolute; }
291
+ .CodeMirror-measure pre { position: static; }
292
+
293
+ div.CodeMirror-cursors {
294
+ visibility: hidden;
295
+ position: relative;
296
+ z-index: 3;
297
+ }
298
+ div.CodeMirror-dragcursors {
299
+ visibility: visible;
300
+ }
301
+
302
+ .CodeMirror-focused div.CodeMirror-cursors {
303
+ visibility: visible;
304
+ }
305
+
306
+ .CodeMirror-selected { background: #d9d9d9; }
307
+ .CodeMirror-focused .CodeMirror-selected { background: #d7d4f0; }
308
+ .CodeMirror-crosshair { cursor: crosshair; }
309
+ .CodeMirror-line::selection, .CodeMirror-line > span::selection, .CodeMirror-line > span > span::selection { background: #d7d4f0; }
310
+ .CodeMirror-line::-moz-selection, .CodeMirror-line > span::-moz-selection, .CodeMirror-line > span > span::-moz-selection { background: #d7d4f0; }
311
+
312
+ .cm-searching {
313
+ background: #ffa;
314
+ background: rgba(255, 255, 0, .4);
315
+ }
316
+
317
+ /* IE7 hack to prevent it from returning funny offsetTops on the spans */
318
+ .CodeMirror span { *vertical-align: text-bottom; }
319
+
320
+ /* Used to force a border model for a node */
321
+ .cm-force-border { padding-right: .1px; }
322
+
323
+ @media print {
324
+ /* Hide the cursor when printing */
325
+ .CodeMirror div.CodeMirror-cursors {
326
+ visibility: hidden;
327
+ }
328
+ }
329
+
330
+ /* See issue #2901 */
331
+ .cm-tab-wrap-hack:after { content: ''; }
332
+
333
+ /* Help users use markselection to safely style text background */
334
+ span.CodeMirror-selectedtext { background: none; }
assets/admin/css/five-star.png DELETED
Binary file
assets/admin/css/move.png DELETED
Binary file
assets/admin/css/settings-tabs.css ADDED
@@ -0,0 +1,117 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ @charset "utf-8";
2
+ /* CSS Document */
3
+
4
+
5
+ #accordions_metabox {
6
+ background: #f1f1f1 none repeat scroll 0 0;
7
+
8
+ }
9
+
10
+ #accordions_metabox .inside {
11
+ margin: 0;
12
+ padding: 0;
13
+ }
14
+
15
+ #accordions_metabox .hndle {
16
+ background: #fff;
17
+ /* color: rgb(255, 255, 255); */
18
+ padding: 15px 15px;
19
+ }
20
+
21
+
22
+ .settings-tabs{}
23
+
24
+ .settings-tabs.vertical{}
25
+ .settings-tabs .tab-navs{
26
+ float: left;
27
+ margin: 0;
28
+ padding: 0;
29
+ }
30
+ .settings-tabs .tab-nav{
31
+ width: 200px;
32
+ padding: 12px 10px;
33
+ background: #fff;
34
+ margin: 0;
35
+ border-bottom: 1px solid #eee;
36
+ cursor: pointer;
37
+ font-size: 13px;
38
+ }
39
+
40
+ .settings-tabs .tab-nav.active{
41
+ background:#f1f1f1;
42
+ }
43
+
44
+ .settings-tabs .tab-content{
45
+ margin-left: 221px;
46
+ padding: 0;
47
+ background: #fff;
48
+ display: none;
49
+ }
50
+
51
+ .settings-tabs .tab-content.active{
52
+ display: block;
53
+ }
54
+
55
+
56
+
57
+ .settings-tabs .section{
58
+ margin: 0;
59
+ padding: 15px 0;
60
+ }
61
+ .settings-tabs .section-title{
62
+ padding: 0 15px;
63
+ font-size: 16px;
64
+ font-weight: 600;
65
+ }
66
+
67
+ .settings-tabs .section-description{
68
+ padding: 0 15px;
69
+ margin-bottom: 25px;
70
+ }
71
+
72
+
73
+
74
+ .settings-tabs .setting-field{
75
+ margin-bottom: 15px;
76
+ border-bottom: 1px solid #eee;
77
+ padding: 0 15px 15px 15px;
78
+ }
79
+ .settings-tabs .setting-field:last-child{
80
+ border-bottom: 1px solid #eee0;
81
+ }
82
+
83
+
84
+
85
+ .settings-tabs .setting-field .field-lable{
86
+ width: 270px;
87
+ float: left;
88
+ font-size: 14px;
89
+ }
90
+ .settings-tabs .setting-field .field-input{
91
+ margin-left: 270px;
92
+ }
93
+ .settings-tabs .setting-field .description{}
94
+
95
+
96
+
97
+
98
+
99
+
100
+ /*input*/
101
+
102
+ .settings-tabs input[type="text"], .settings-tabs textarea, .settings-tabs select, .settings-tabs input[type="range"]{
103
+ width: 260px;
104
+ }
105
+
106
+
107
+
108
+
109
+
110
+
111
+
112
+
113
+
114
+
115
+
116
+
117
+
assets/admin/css/settings-tabs.min.css ADDED
@@ -0,0 +1 @@
 
1
+ @charset "utf-8";#accordions_metabox{background:#f1f1f1 none repeat scroll 0 0}#accordions_metabox .inside{margin:0;padding:0}#accordions_metabox .hndle{background:#fff;padding:15px 15px}.settings-tabs .tab-navs{float:left;margin:0;padding:0}.settings-tabs .tab-nav{width:200px;padding:12px 10px;background:#fff;margin:0;border-bottom:1px solid #eee;cursor:pointer;font-size:13px}.settings-tabs .tab-nav.active{background:#f1f1f1}.settings-tabs .tab-content{margin-left:221px;padding:0;background:#fff;display:none}.settings-tabs .tab-content.active{display:block}.settings-tabs .section{margin:0;padding:15px 0}.settings-tabs .section-title{padding:0 15px;font-size:16px;font-weight:600}.settings-tabs .section-description{padding:0 15px;margin-bottom:25px}.settings-tabs .setting-field{margin-bottom:15px;border-bottom:1px solid #eee;padding:0 15px 15px 15px}.settings-tabs .setting-field:last-child{border-bottom:1px solid #eee0}.settings-tabs .setting-field .field-lable{width:270px;float:left;font-size:14px}.settings-tabs .setting-field .field-input{margin-left:270px}.settings-tabs input[type="text"],.settings-tabs textarea,.settings-tabs select,.settings-tabs input[type="range"]{width:260px}
assets/admin/css/style.css CHANGED
@@ -4,20 +4,10 @@
4
 
5
  /*Admin CSS*/
6
 
7
- #accordions_metabox {
8
- background: #f1f1f1 none repeat scroll 0 0;
9
- border: medium none;
10
- box-shadow: none;
11
- }
12
 
13
- #accordions_metabox .hndle {
14
- background: rgb(96, 173, 252) none repeat scroll 0 0;
15
- color: rgb(255, 255, 255);
16
- }
17
 
18
- #accordions_metabox .handlediv{
19
- color: rgb(255, 255, 255);
20
- }
21
 
22
 
23
 
@@ -113,15 +103,12 @@
113
  #accordions_metabox .accordions-content .section-header {
114
  background: #a7e1ff none repeat scroll 0 0;
115
  padding: 10px;
 
116
  }
117
 
118
- #accordions_metabox .accordions-content .section-header:hover {
119
-
120
- padding: 10px;
121
- }
122
  #accordions_metabox .accordions-content .section-header .move {
123
- cursor: move;
124
- padding: 10px;
125
  }
126
 
127
 
@@ -129,6 +116,8 @@
129
  cursor: pointer;
130
  padding: 10px;
131
  }
 
 
132
  #accordions_metabox .items .expand-compress .fa-expand{ display:inline-block;}
133
  #accordions_metabox .items .expand-compress .fa-compress{ display:none;}
134
 
@@ -136,23 +125,29 @@
136
  #accordions_metabox .items.active .expand-compress .fa-compress{ display:inline-block;}
137
 
138
 
 
 
 
 
 
 
139
 
140
  #accordions_metabox .accordions-content .accordions-title-preview {
141
  display: inline-block;
142
  }
143
-
144
  #accordions_metabox .accordions-content .section-header .removeaccordions {
145
- background: rgb(255, 91, 64) none repeat scroll 0 0;
146
- color: #fff;
147
- cursor: pointer;
148
- display: inline-block;
149
- float: right;
150
- padding: 2px 5px;
151
- text-align: center;
 
 
 
152
  }
153
 
154
-
155
-
156
  #accordions_metabox .accordions-content .section-header label {
157
  float: right;
158
  margin-right: 10px;
@@ -192,7 +187,13 @@
192
  width: 50px;
193
  }
194
 
195
-
 
 
 
 
 
 
196
 
197
 
198
  .accordions-license{}
@@ -214,6 +215,9 @@
214
 
215
 
216
 
 
 
 
217
  .our-plugins {
218
  padding-top: 20px;
219
  }
@@ -235,17 +239,20 @@
235
  }
236
 
237
 
 
 
 
 
 
 
238
 
239
 
240
-
241
-
242
-
243
-
244
-
245
-
246
-
247
-
248
-
249
-
250
-
251
-
4
 
5
  /*Admin CSS*/
6
 
 
 
 
 
 
7
 
 
 
 
 
8
 
9
+
10
+
 
11
 
12
 
13
 
103
  #accordions_metabox .accordions-content .section-header {
104
  background: #a7e1ff none repeat scroll 0 0;
105
  padding: 10px;
106
+ margin-bottom: 2px;
107
  }
108
 
 
 
 
 
109
  #accordions_metabox .accordions-content .section-header .move {
110
+ cursor: move;
111
+ padding: 10px;
112
  }
113
 
114
 
116
  cursor: pointer;
117
  padding: 10px;
118
  }
119
+
120
+
121
  #accordions_metabox .items .expand-compress .fa-expand{ display:inline-block;}
122
  #accordions_metabox .items .expand-compress .fa-compress{ display:none;}
123
 
125
  #accordions_metabox .items.active .expand-compress .fa-compress{ display:inline-block;}
126
 
127
 
128
+ #accordions_metabox .accordions-content .section-header:hover {
129
+
130
+
131
+ }
132
+
133
+
134
 
135
  #accordions_metabox .accordions-content .accordions-title-preview {
136
  display: inline-block;
137
  }
 
138
  #accordions_metabox .accordions-content .section-header .removeaccordions {
139
+ background: rgb(255, 91, 64) none repeat scroll 0 0;
140
+ color: #fff;
141
+ cursor: pointer;
142
+ display: inline-block;
143
+ float: right;
144
+ padding: 4px 5px;
145
+ text-align: center;
146
+ vertical-align: top;
147
+ line-height: normal;
148
+ border-radius: 3px;
149
  }
150
 
 
 
151
  #accordions_metabox .accordions-content .section-header label {
152
  float: right;
153
  margin-right: 10px;
187
  width: 50px;
188
  }
189
 
190
+ #accordions_metabox .lazy_load_image {
191
+ border: 1px solid rgb(221, 221, 221);
192
+ cursor: pointer;
193
+ margin: 5px;
194
+ padding: 10px;
195
+ vertical-align: top;
196
+ }
197
 
198
 
199
  .accordions-license{}
215
 
216
 
217
 
218
+
219
+
220
+
221
  .our-plugins {
222
  padding-top: 20px;
223
  }
239
  }
240
 
241
 
242
+ .accordions-admin .faq{}
243
+ .accordions-admin .faq .group-title {
244
+ display: block;
245
+ font-weight: bold;
246
+ padding: 10px 0;
247
+ }
248
 
249
 
250
+ .accordions-admin .faq .item {
251
+ padding-left: 20px;
252
+ }
253
+ .accordions-admin .faq .item a {
254
+ display: block;
255
+ font-size: 14px;
256
+ padding: 4px 0;
257
+ text-decoration: none;
258
+ }
 
 
 
assets/admin/css/style.min.css ADDED
@@ -0,0 +1 @@
 
1
+ @charset "utf-8";#accordions_metabox .accordions_icons_custom{margin-top:15px}#accordions_metabox .accordions_icons_custom_plus{background:none repeat scroll 0 0 / 100% auto #ddd;display:inline-block;height:30px;margin-right:5px;width:30px;cursor:pointer;border:1px solid #ff5910;font-size:30px;vertical-align:top;text-align:center}#accordions_metabox .accordions_icons_custom_minus{background:none repeat scroll 0 0 / 100% auto #ddd;display:inline-block;height:30px;margin-right:5px;width:30px;cursor:pointer;border:1px solid #ff5910;font-size:30px;vertical-align:top;text-align:center}#accordions_metabox .section-icon-plus i{border:1px solid #fff;font-size:14px;padding:5px}#accordions_metabox .section-icon-minus i{border:1px solid #fff;font-size:14px;padding:5px}#accordions_metabox .accordions-content textarea{width:95%}#accordions_metabox .accordions-content .removeaccordions:hover{background:none repeat scroll 0 0 #ff8657}#accordions_metabox .accordions-content tr{background:none repeat scroll 0 0 #fff;border-bottom:1px solid #999;margin-bottom:10px;padding:0}#accordions_metabox .accordions-content .section-dragHandle{cursor:move;text-align:center;vertical-align:middle;width:20px}#accordions_metabox .accordions-content .section-header{background:#a7e1ff none repeat scroll 0 0;padding:10px;margin-bottom:2px}#accordions_metabox .accordions-content .section-header .move{cursor:move;padding:10px}#accordions_metabox .expand-compress{cursor:pointer;padding:10px}#accordions_metabox .items .expand-compress .fa-expand{display:inline-block}#accordions_metabox .items .expand-compress .fa-compress{display:none}#accordions_metabox .items.active .expand-compress .fa-expand{display:none}#accordions_metabox .items.active .expand-compress .fa-compress{display:inline-block}#accordions_metabox .accordions-content .accordions-title-preview{display:inline-block}#accordions_metabox .accordions-content .section-header .removeaccordions{background:#ff5b40 none repeat scroll 0 0;color:#fff;cursor:pointer;display:inline-block;float:right;padding:4px 5px;text-align:center;vertical-align:top;line-height:normal;border-radius:3px}#accordions_metabox .accordions-content .section-header label{float:right;margin-right:10px}#accordions_metabox .accordions-content .section-panel{display:none}#accordions_metabox .accordions-content .active .section-panel{display:block;padding:25px 10px;text-align:left;background:#bde6fc}#accordions_metabox .accordions-content .active .section-header{background:#a7e1ff}#accordions_metabox .bg_image_src{border:1px solid #ddd;cursor:pointer;height:50px;margin:5px;vertical-align:top;width:50px}#accordions_metabox .lazy_load_image{border:1px solid #ddd;cursor:pointer;margin:5px;padding:10px;vertical-align:top}.accordions-license .license-status.Active{color:#07c802}.accordions-license .license-status.Inactive{color:#ff5240}.accordions-license .license-message{color:#3ab5cf !important;text-decoration:underline}.our-plugins{padding-top:20px}.our-plugins .single{display:inline-block;margin:15px;vertical-align:top;width:300px}.our-plugins .single .title{font-size:15px;font-weight:bold;margin:7px 0}.our-plugins .single .content{margin:10px 0}.accordions-admin .faq .group-title{display:block;font-weight:bold;padding:10px 0}.accordions-admin .faq .item{padding-left:20px}.accordions-admin .faq .item a{display:block;font-size:14px;padding:4px 0;text-decoration:none}
assets/admin/css/tooltipster.bundle.min.css DELETED
@@ -1 +0,0 @@
1
- .tooltipster-fall,.tooltipster-grow.tooltipster-show{-webkit-transition-timing-function:cubic-bezier(.175,.885,.32,1);-moz-transition-timing-function:cubic-bezier(.175,.885,.32,1.15);-ms-transition-timing-function:cubic-bezier(.175,.885,.32,1.15);-o-transition-timing-function:cubic-bezier(.175,.885,.32,1.15)}.tooltipster-base{display:flex;pointer-events:none;position:absolute}.tooltipster-box{flex:1 1 auto}.tooltipster-content{box-sizing:border-box;max-height:100%;max-width:100%;overflow:auto}.tooltipster-ruler{bottom:0;left:0;overflow:hidden;position:fixed;right:0;top:0;visibility:hidden}.tooltipster-fade{opacity:0;-webkit-transition-property:opacity;-moz-transition-property:opacity;-o-transition-property:opacity;-ms-transition-property:opacity;transition-property:opacity}.tooltipster-fade.tooltipster-show{opacity:1}.tooltipster-grow{-webkit-transform:scale(0,0);-moz-transform:scale(0,0);-o-transform:scale(0,0);-ms-transform:scale(0,0);transform:scale(0,0);-webkit-transition-property:-webkit-transform;-moz-transition-property:-moz-transform;-o-transition-property:-o-transform;-ms-transition-property:-ms-transform;transition-property:transform;-webkit-backface-visibility:hidden}.tooltipster-grow.tooltipster-show{-webkit-transform:scale(1,1);-moz-transform:scale(1,1);-o-transform:scale(1,1);-ms-transform:scale(1,1);transform:scale(1,1);-webkit-transition-timing-function:cubic-bezier(.175,.885,.32,1.15);transition-timing-function:cubic-bezier(.175,.885,.32,1.15)}.tooltipster-swing{opacity:0;-webkit-transform:rotateZ(4deg);-moz-transform:rotateZ(4deg);-o-transform:rotateZ(4deg);-ms-transform:rotateZ(4deg);transform:rotateZ(4deg);-webkit-transition-property:-webkit-transform,opacity;-moz-transition-property:-moz-transform;-o-transition-property:-o-transform;-ms-transition-property:-ms-transform;transition-property:transform}.tooltipster-swing.tooltipster-show{opacity:1;-webkit-transform:rotateZ(0);-moz-transform:rotateZ(0);-o-transform:rotateZ(0);-ms-transform:rotateZ(0);transform:rotateZ(0);-webkit-transition-timing-function:cubic-bezier(.23,.635,.495,1);-webkit-transition-timing-function:cubic-bezier(.23,.635,.495,2.4);-moz-transition-timing-function:cubic-bezier(.23,.635,.495,2.4);-ms-transition-timing-function:cubic-bezier(.23,.635,.495,2.4);-o-transition-timing-function:cubic-bezier(.23,.635,.495,2.4);transition-timing-function:cubic-bezier(.23,.635,.495,2.4)}.tooltipster-fall{-webkit-transition-property:top;-moz-transition-property:top;-o-transition-property:top;-ms-transition-property:top;transition-property:top;-webkit-transition-timing-function:cubic-bezier(.175,.885,.32,1.15);transition-timing-function:cubic-bezier(.175,.885,.32,1.15)}.tooltipster-fall.tooltipster-initial{top:0!important}.tooltipster-fall.tooltipster-dying{-webkit-transition-property:all;-moz-transition-property:all;-o-transition-property:all;-ms-transition-property:all;transition-property:all;top:0!important;opacity:0}.tooltipster-slide{-webkit-transition-property:left;-moz-transition-property:left;-o-transition-property:left;-ms-transition-property:left;transition-property:left;-webkit-transition-timing-function:cubic-bezier(.175,.885,.32,1);-webkit-transition-timing-function:cubic-bezier(.175,.885,.32,1.15);-moz-transition-timing-function:cubic-bezier(.175,.885,.32,1.15);-ms-transition-timing-function:cubic-bezier(.175,.885,.32,1.15);-o-transition-timing-function:cubic-bezier(.175,.885,.32,1.15);transition-timing-function:cubic-bezier(.175,.885,.32,1.15)}.tooltipster-slide.tooltipster-initial{left:-40px!important}.tooltipster-slide.tooltipster-dying{-webkit-transition-property:all;-moz-transition-property:all;-o-transition-property:all;-ms-transition-property:all;transition-property:all;left:0!important;opacity:0}@keyframes tooltipster-fading{0%{opacity:0}100%{opacity:1}}.tooltipster-update-fade{animation:tooltipster-fading .4s}@keyframes tooltipster-rotating{25%{transform:rotate(-2deg)}75%{transform:rotate(2deg)}100%{transform:rotate(0)}}.tooltipster-update-rotate{animation:tooltipster-rotating .6s}@keyframes tooltipster-scaling{50%{transform:scale(1.1)}100%{transform:scale(1)}}.tooltipster-update-scale{animation:tooltipster-scaling .6s}.tooltipster-sidetip .tooltipster-box{background:#565656;border:2px solid #000;border-radius:4px}.tooltipster-sidetip.tooltipster-bottom .tooltipster-box{margin-top:8px}.tooltipster-sidetip.tooltipster-left .tooltipster-box{margin-right:8px}.tooltipster-sidetip.tooltipster-right .tooltipster-box{margin-left:8px}.tooltipster-sidetip.tooltipster-top .tooltipster-box{margin-bottom:8px}.tooltipster-sidetip .tooltipster-content{color:#fff;line-height:18px;padding:6px 14px}.tooltipster-sidetip .tooltipster-arrow{overflow:hidden;position:absolute}.tooltipster-sidetip.tooltipster-bottom .tooltipster-arrow{height:10px;margin-left:-10px;top:0;width:20px}.tooltipster-sidetip.tooltipster-left .tooltipster-arrow{height:20px;margin-top:-10px;right:0;top:0;width:10px}.tooltipster-sidetip.tooltipster-right .tooltipster-arrow{height:20px;margin-top:-10px;left:0;top:0;width:10px}.tooltipster-sidetip.tooltipster-top .tooltipster-arrow{bottom:0;height:10px;margin-left:-10px;width:20px}.tooltipster-sidetip .tooltipster-arrow-background,.tooltipster-sidetip .tooltipster-arrow-border{height:0;position:absolute;width:0}.tooltipster-sidetip .tooltipster-arrow-background{border:10px solid transparent}.tooltipster-sidetip.tooltipster-bottom .tooltipster-arrow-background{border-bottom-color:#565656;left:0;top:3px}.tooltipster-sidetip.tooltipster-left .tooltipster-arrow-background{border-left-color:#565656;left:-3px;top:0}.tooltipster-sidetip.tooltipster-right .tooltipster-arrow-background{border-right-color:#565656;left:3px;top:0}.tooltipster-sidetip.tooltipster-top .tooltipster-arrow-background{border-top-color:#565656;left:0;top:-3px}.tooltipster-sidetip .tooltipster-arrow-border{border:10px solid transparent;left:0;top:0}.tooltipster-sidetip.tooltipster-bottom .tooltipster-arrow-border{border-bottom-color:#000}.tooltipster-sidetip.tooltipster-left .tooltipster-arrow-border{border-left-color:#000}.tooltipster-sidetip.tooltipster-right .tooltipster-arrow-border{border-right-color:#000}.tooltipster-sidetip.tooltipster-top .tooltipster-arrow-border{border-top-color:#000}.tooltipster-sidetip .tooltipster-arrow-uncropped{position:relative}.tooltipster-sidetip.tooltipster-bottom .tooltipster-arrow-uncropped{top:-10px}.tooltipster-sidetip.tooltipster-right .tooltipster-arrow-uncropped{left:-10px}
 
assets/admin/images/flat.png ADDED
Binary file
assets/admin/images/semi-rounded.png ADDED
Binary file
assets/admin/js/codemirror.js ADDED
@@ -0,0 +1,8871 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ // CodeMirror, copyright (c) by Marijn Haverbeke and others
2
+ // Distributed under an MIT license: http://codemirror.net/LICENSE
3
+
4
+ // This is CodeMirror (http://codemirror.net), a code editor
5
+ // implemented in JavaScript on top of the browser's DOM.
6
+ //
7
+ // You can find some technical background for some of the code below
8
+ // at http://marijnhaverbeke.nl/blog/#cm-internals .
9
+
10
+ (function(mod) {
11
+ if (typeof exports == "object" && typeof module == "object") // CommonJS
12
+ module.exports = mod();
13
+ else if (typeof define == "function" && define.amd) // AMD
14
+ return define([], mod);
15
+ else // Plain browser env
16
+ this.CodeMirror = mod();
17
+ })(function() {
18
+ "use strict";
19
+
20
+ // BROWSER SNIFFING
21
+
22
+ // Kludges for bugs and behavior differences that can't be feature
23
+ // detected are enabled based on userAgent etc sniffing.
24
+ var userAgent = navigator.userAgent;
25
+ var platform = navigator.platform;
26
+
27
+ var gecko = /gecko\/\d/i.test(userAgent);
28
+ var ie_upto10 = /MSIE \d/.test(userAgent);
29
+ var ie_11up = /Trident\/(?:[7-9]|\d{2,})\..*rv:(\d+)/.exec(userAgent);
30
+ var ie = ie_upto10 || ie_11up;
31
+ var ie_version = ie && (ie_upto10 ? document.documentMode || 6 : ie_11up[1]);
32
+ var webkit = /WebKit\//.test(userAgent);
33
+ var qtwebkit = webkit && /Qt\/\d+\.\d+/.test(userAgent);
34
+ var chrome = /Chrome\//.test(userAgent);
35
+ var presto = /Opera\//.test(userAgent);
36
+ var safari = /Apple Computer/.test(navigator.vendor);
37
+ var mac_geMountainLion = /Mac OS X 1\d\D([8-9]|\d\d)\D/.test(userAgent);
38
+ var phantom = /PhantomJS/.test(userAgent);
39
+
40
+ var ios = /AppleWebKit/.test(userAgent) && /Mobile\/\w+/.test(userAgent);
41
+ // This is woefully incomplete. Suggestions for alternative methods welcome.
42
+ var mobile = ios || /Android|webOS|BlackBerry|Opera Mini|Opera Mobi|IEMobile/i.test(userAgent);
43
+ var mac = ios || /Mac/.test(platform);
44
+ var windows = /win/i.test(platform);
45
+
46
+ var presto_version = presto && userAgent.match(/Version\/(\d*\.\d*)/);
47
+ if (presto_version) presto_version = Number(presto_version[1]);
48
+ if (presto_version && presto_version >= 15) { presto = false; webkit = true; }
49
+ // Some browsers use the wrong event properties to signal cmd/ctrl on OS X
50
+ var flipCtrlCmd = mac && (qtwebkit || presto && (presto_version == null || presto_version < 12.11));
51
+ var captureRightClick = gecko || (ie && ie_version >= 9);
52
+
53
+ // Optimize some code when these features are not used.
54
+ var sawReadOnlySpans = false, sawCollapsedSpans = false;
55
+
56
+ // EDITOR CONSTRUCTOR
57
+
58
+ // A CodeMirror instance represents an editor. This is the object
59
+ // that user code is usually dealing with.
60
+
61
+ function CodeMirror(place, options) {
62
+ if (!(this instanceof CodeMirror)) return new CodeMirror(place, options);
63
+
64
+ this.options = options = options ? copyObj(options) : {};
65
+ // Determine effective options based on given values and defaults.
66
+ copyObj(defaults, options, false);
67
+ setGuttersForLineNumbers(options);
68
+
69
+ var doc = options.value;
70
+ if (typeof doc == "string") doc = new Doc(doc, options.mode, null, options.lineSeparator);
71
+ this.doc = doc;
72
+
73
+ var input = new CodeMirror.inputStyles[options.inputStyle](this);
74
+ var display = this.display = new Display(place, doc, input);
75
+ display.wrapper.CodeMirror = this;
76
+ updateGutters(this);
77
+ themeChanged(this);
78
+ if (options.lineWrapping)
79
+ this.display.wrapper.className += " CodeMirror-wrap";
80
+ if (options.autofocus && !mobile) display.input.focus();
81
+ initScrollbars(this);
82
+
83
+ this.state = {
84
+ keyMaps: [], // stores maps added by addKeyMap
85
+ overlays: [], // highlighting overlays, as added by addOverlay
86
+ modeGen: 0, // bumped when mode/overlay changes, used to invalidate highlighting info
87
+ overwrite: false,
88
+ delayingBlurEvent: false,
89
+ focused: false,
90
+ suppressEdits: false, // used to disable editing during key handlers when in readOnly mode
91
+ pasteIncoming: false, cutIncoming: false, // help recognize paste/cut edits in input.poll
92
+ selectingText: false,
93
+ draggingText: false,
94
+ highlight: new Delayed(), // stores highlight worker timeout
95
+ keySeq: null, // Unfinished key sequence
96
+ specialChars: null
97
+ };
98
+
99
+ var cm = this;
100
+
101
+ // Override magic textarea content restore that IE sometimes does
102
+ // on our hidden textarea on reload
103
+ if (ie && ie_version < 11) setTimeout(function() { cm.display.input.reset(true); }, 20);
104
+
105
+ registerEventHandlers(this);
106
+ ensureGlobalHandlers();
107
+
108
+ startOperation(this);
109
+ this.curOp.forceUpdate = true;
110
+ attachDoc(this, doc);
111
+
112
+ if ((options.autofocus && !mobile) || cm.hasFocus())
113
+ setTimeout(bind(onFocus, this), 20);
114
+ else
115
+ onBlur(this);
116
+
117
+ for (var opt in optionHandlers) if (optionHandlers.hasOwnProperty(opt))
118
+ optionHandlers[opt](this, options[opt], Init);
119
+ maybeUpdateLineNumberWidth(this);
120
+ if (options.finishInit) options.finishInit(this);
121
+ for (var i = 0; i < initHooks.length; ++i) initHooks[i](this);
122
+ endOperation(this);
123
+ // Suppress optimizelegibility in Webkit, since it breaks text
124
+ // measuring on line wrapping boundaries.
125
+ if (webkit && options.lineWrapping &&
126
+ getComputedStyle(display.lineDiv).textRendering == "optimizelegibility")
127
+ display.lineDiv.style.textRendering = "auto";
128
+ }
129
+
130
+ // DISPLAY CONSTRUCTOR
131
+
132
+ // The display handles the DOM integration, both for input reading
133
+ // and content drawing. It holds references to DOM nodes and
134
+ // display-related state.
135
+
136
+ function Display(place, doc, input) {
137
+ var d = this;
138
+ this.input = input;
139
+
140
+ // Covers bottom-right square when both scrollbars are present.
141
+ d.scrollbarFiller = elt("div", null, "CodeMirror-scrollbar-filler");
142
+ d.scrollbarFiller.setAttribute("cm-not-content", "true");
143
+ // Covers bottom of gutter when coverGutterNextToScrollbar is on
144
+ // and h scrollbar is present.
145
+ d.gutterFiller = elt("div", null, "CodeMirror-gutter-filler");
146
+ d.gutterFiller.setAttribute("cm-not-content", "true");
147
+ // Will contain the actual code, positioned to cover the viewport.
148
+ d.lineDiv = elt("div", null, "CodeMirror-code");
149
+ // Elements are added to these to represent selection and cursors.
150
+ d.selectionDiv = elt("div", null, null, "position: relative; z-index: 1");
151
+ d.cursorDiv = elt("div", null, "CodeMirror-cursors");
152
+ // A visibility: hidden element used to find the size of things.
153
+ d.measure = elt("div", null, "CodeMirror-measure");
154
+ // When lines outside of the viewport are measured, they are drawn in this.
155
+ d.lineMeasure = elt("div", null, "CodeMirror-measure");
156
+ // Wraps everything that needs to exist inside the vertically-padded coordinate system
157
+ d.lineSpace = elt("div", [d.measure, d.lineMeasure, d.selectionDiv, d.cursorDiv, d.lineDiv],
158
+ null, "position: relative; outline: none");
159
+ // Moved around its parent to cover visible view.
160
+ d.mover = elt("div", [elt("div", [d.lineSpace], "CodeMirror-lines")], null, "position: relative");
161
+ // Set to the height of the document, allowing scrolling.
162
+ d.sizer = elt("div", [d.mover], "CodeMirror-sizer");
163
+ d.sizerWidth = null;
164
+ // Behavior of elts with overflow: auto and padding is
165
+ // inconsistent across browsers. This is used to ensure the
166
+ // scrollable area is big enough.
167
+ d.heightForcer = elt("div", null, null, "position: absolute; height: " + scrollerGap + "px; width: 1px;");
168
+ // Will contain the gutters, if any.
169
+ d.gutters = elt("div", null, "CodeMirror-gutters");
170
+ d.lineGutter = null;
171
+ // Actual scrollable element.
172
+ d.scroller = elt("div", [d.sizer, d.heightForcer, d.gutters], "CodeMirror-scroll");
173
+ d.scroller.setAttribute("tabIndex", "-1");
174
+ // The element in which the editor lives.
175
+ d.wrapper = elt("div", [d.scrollbarFiller, d.gutterFiller, d.scroller], "CodeMirror");
176
+
177
+ // Work around IE7 z-index bug (not perfect, hence IE7 not really being supported)
178
+ if (ie && ie_version < 8) { d.gutters.style.zIndex = -1; d.scroller.style.paddingRight = 0; }
179
+ if (!webkit && !(gecko && mobile)) d.scroller.draggable = true;
180
+
181
+ if (place) {
182
+ if (place.appendChild) place.appendChild(d.wrapper);
183
+ else place(d.wrapper);
184
+ }
185
+
186
+ // Current rendered range (may be bigger than the view window).
187
+ d.viewFrom = d.viewTo = doc.first;
188
+ d.reportedViewFrom = d.reportedViewTo = doc.first;
189
+ // Information about the rendered lines.
190
+ d.view = [];
191
+ d.renderedView = null;
192
+ // Holds info about a single rendered line when it was rendered
193
+ // for measurement, while not in view.
194
+ d.externalMeasured = null;
195
+ // Empty space (in pixels) above the view
196
+ d.viewOffset = 0;
197
+ d.lastWrapHeight = d.lastWrapWidth = 0;
198
+ d.updateLineNumbers = null;
199
+
200
+ d.nativeBarWidth = d.barHeight = d.barWidth = 0;
201
+ d.scrollbarsClipped = false;
202
+
203
+ // Used to only resize the line number gutter when necessary (when
204
+ // the amount of lines crosses a boundary that makes its width change)
205
+ d.lineNumWidth = d.lineNumInnerWidth = d.lineNumChars = null;
206
+ // Set to true when a non-horizontal-scrolling line widget is
207
+ // added. As an optimization, line widget aligning is skipped when
208
+ // this is false.
209
+ d.alignWidgets = false;
210
+
211
+ d.cachedCharWidth = d.cachedTextHeight = d.cachedPaddingH = null;
212
+
213
+ // Tracks the maximum line length so that the horizontal scrollbar
214
+ // can be kept static when scrolling.
215
+ d.maxLine = null;
216
+ d.maxLineLength = 0;
217
+ d.maxLineChanged = false;
218
+
219
+ // Used for measuring wheel scrolling granularity
220
+ d.wheelDX = d.wheelDY = d.wheelStartX = d.wheelStartY = null;
221
+
222
+ // True when shift is held down.
223
+ d.shift = false;
224
+
225
+ // Used to track whether anything happened since the context menu
226
+ // was opened.
227
+ d.selForContextMenu = null;
228
+
229
+ d.activeTouch = null;
230
+
231
+ input.init(d);
232
+ }
233
+
234
+ // STATE UPDATES
235
+
236
+ // Used to get the editor into a consistent state again when options change.
237
+
238
+ function loadMode(cm) {
239
+ cm.doc.mode = CodeMirror.getMode(cm.options, cm.doc.modeOption);
240
+ resetModeState(cm);
241
+ }
242
+
243
+ function resetModeState(cm) {
244
+ cm.doc.iter(function(line) {
245
+ if (line.stateAfter) line.stateAfter = null;
246
+ if (line.styles) line.styles = null;
247
+ });
248
+ cm.doc.frontier = cm.doc.first;
249
+ startWorker(cm, 100);
250
+ cm.state.modeGen++;
251
+ if (cm.curOp) regChange(cm);
252
+ }
253
+
254
+ function wrappingChanged(cm) {
255
+ if (cm.options.lineWrapping) {
256
+ addClass(cm.display.wrapper, "CodeMirror-wrap");
257
+ cm.display.sizer.style.minWidth = "";
258
+ cm.display.sizerWidth = null;
259
+ } else {
260
+ rmClass(cm.display.wrapper, "CodeMirror-wrap");
261
+ findMaxLine(cm);
262
+ }
263
+ estimateLineHeights(cm);
264
+ regChange(cm);
265
+ clearCaches(cm);
266
+ setTimeout(function(){updateScrollbars(cm);}, 100);
267
+ }
268
+
269
+ // Returns a function that estimates the height of a line, to use as
270
+ // first approximation until the line becomes visible (and is thus
271
+ // properly measurable).
272
+ function estimateHeight(cm) {
273
+ var th = textHeight(cm.display), wrapping = cm.options.lineWrapping;
274
+ var perLine = wrapping && Math.max(5, cm.display.scroller.clientWidth / charWidth(cm.display) - 3);
275
+ return function(line) {
276
+ if (lineIsHidden(cm.doc, line)) return 0;
277
+
278
+ var widgetsHeight = 0;
279
+ if (line.widgets) for (var i = 0; i < line.widgets.length; i++) {
280
+ if (line.widgets[i].height) widgetsHeight += line.widgets[i].height;
281
+ }
282
+
283
+ if (wrapping)
284
+ return widgetsHeight + (Math.ceil(line.text.length / perLine) || 1) * th;
285
+ else
286
+ return widgetsHeight + th;
287
+ };
288
+ }
289
+
290
+ function estimateLineHeights(cm) {
291
+ var doc = cm.doc, est = estimateHeight(cm);
292
+ doc.iter(function(line) {
293
+ var estHeight = est(line);
294
+ if (estHeight != line.height) updateLineHeight(line, estHeight);
295
+ });
296
+ }
297
+
298
+ function themeChanged(cm) {
299
+ cm.display.wrapper.className = cm.display.wrapper.className.replace(/\s*cm-s-\S+/g, "") +
300
+ cm.options.theme.replace(/(^|\s)\s*/g, " cm-s-");
301
+ clearCaches(cm);
302
+ }
303
+
304
+ function guttersChanged(cm) {
305
+ updateGutters(cm);
306
+ regChange(cm);
307
+ setTimeout(function(){alignHorizontally(cm);}, 20);
308
+ }
309
+
310
+ // Rebuild the gutter elements, ensure the margin to the left of the
311
+ // code matches their width.
312
+ function updateGutters(cm) {
313
+ var gutters = cm.display.gutters, specs = cm.options.gutters;
314
+ removeChildren(gutters);
315
+ for (var i = 0; i < specs.length; ++i) {
316
+ var gutterClass = specs[i];
317
+ var gElt = gutters.appendChild(elt("div", null, "CodeMirror-gutter " + gutterClass));
318
+ if (gutterClass == "CodeMirror-linenumbers") {
319
+ cm.display.lineGutter = gElt;
320
+ gElt.style.width = (cm.display.lineNumWidth || 1) + "px";
321
+ }
322
+ }
323
+ gutters.style.display = i ? "" : "none";
324
+ updateGutterSpace(cm);
325
+ }
326
+
327
+ function updateGutterSpace(cm) {
328
+ var width = cm.display.gutters.offsetWidth;
329
+ cm.display.sizer.style.marginLeft = width + "px";
330
+ }
331
+
332
+ // Compute the character length of a line, taking into account
333
+ // collapsed ranges (see markText) that might hide parts, and join
334
+ // other lines onto it.
335
+ function lineLength(line) {
336
+ if (line.height == 0) return 0;
337
+ var len = line.text.length, merged, cur = line;
338
+ while (merged = collapsedSpanAtStart(cur)) {
339
+ var found = merged.find(0, true);
340
+ cur = found.from.line;
341
+ len += found.from.ch - found.to.ch;
342
+ }
343
+ cur = line;
344
+ while (merged = collapsedSpanAtEnd(cur)) {
345
+ var found = merged.find(0, true);
346
+ len -= cur.text.length - found.from.ch;
347
+ cur = found.to.line;
348
+ len += cur.text.length - found.to.ch;
349
+ }
350
+ return len;
351
+ }
352
+
353
+ // Find the longest line in the document.
354
+ function findMaxLine(cm) {
355
+ var d = cm.display, doc = cm.doc;
356
+ d.maxLine = getLine(doc, doc.first);
357
+ d.maxLineLength = lineLength(d.maxLine);
358
+ d.maxLineChanged = true;
359
+ doc.iter(function(line) {
360
+ var len = lineLength(line);
361
+ if (len > d.maxLineLength) {
362
+ d.maxLineLength = len;
363
+ d.maxLine = line;
364
+ }
365
+ });
366
+ }
367
+
368
+ // Make sure the gutters options contains the element
369
+ // "CodeMirror-linenumbers" when the lineNumbers option is true.
370
+ function setGuttersForLineNumbers(options) {
371
+ var found = indexOf(options.gutters, "CodeMirror-linenumbers");
372
+ if (found == -1 && options.lineNumbers) {
373
+ options.gutters = options.gutters.concat(["CodeMirror-linenumbers"]);
374
+ } else if (found > -1 && !options.lineNumbers) {
375
+ options.gutters = options.gutters.slice(0);
376
+ options.gutters.splice(found, 1);
377
+ }
378
+ }
379
+
380
+ // SCROLLBARS
381
+
382
+ // Prepare DOM reads needed to update the scrollbars. Done in one
383
+ // shot to minimize update/measure roundtrips.
384
+ function measureForScrollbars(cm) {
385
+ var d = cm.display, gutterW = d.gutters.offsetWidth;
386
+ var docH = Math.round(cm.doc.height + paddingVert(cm.display));
387
+ return {
388
+ clientHeight: d.scroller.clientHeight,
389
+ viewHeight: d.wrapper.clientHeight,
390
+ scrollWidth: d.scroller.scrollWidth, clientWidth: d.scroller.clientWidth,
391
+ viewWidth: d.wrapper.clientWidth,
392
+ barLeft: cm.options.fixedGutter ? gutterW : 0,
393
+ docHeight: docH,
394
+ scrollHeight: docH + scrollGap(cm) + d.barHeight,
395
+ nativeBarWidth: d.nativeBarWidth,
396
+ gutterWidth: gutterW
397
+ };
398
+ }
399
+
400
+ function NativeScrollbars(place, scroll, cm) {
401
+ this.cm = cm;
402
+ var vert = this.vert = elt("div", [elt("div", null, null, "min-width: 1px")], "CodeMirror-vscrollbar");
403
+ var horiz = this.horiz = elt("div", [elt("div", null, null, "height: 100%; min-height: 1px")], "CodeMirror-hscrollbar");
404
+ place(vert); place(horiz);
405
+
406
+ on(vert, "scroll", function() {
407
+ if (vert.clientHeight) scroll(vert.scrollTop, "vertical");
408
+ });
409
+ on(horiz, "scroll", function() {
410
+ if (horiz.clientWidth) scroll(horiz.scrollLeft, "horizontal");
411
+ });
412
+
413
+ this.checkedZeroWidth = false;
414
+ // Need to set a minimum width to see the scrollbar on IE7 (but must not set it on IE8).
415
+ if (ie && ie_version < 8) this.horiz.style.minHeight = this.vert.style.minWidth = "18px";
416
+ }
417
+
418
+ NativeScrollbars.prototype = copyObj({
419
+ update: function(measure) {
420
+ var needsH = measure.scrollWidth > measure.clientWidth + 1;
421
+ var needsV = measure.scrollHeight > measure.clientHeight + 1;
422
+ var sWidth = measure.nativeBarWidth;
423
+
424
+ if (needsV) {
425
+ this.vert.style.display = "block";
426
+ this.vert.style.bottom = needsH ? sWidth + "px" : "0";
427
+ var totalHeight = measure.viewHeight - (needsH ? sWidth : 0);
428
+ // A bug in IE8 can cause this value to be negative, so guard it.
429
+ this.vert.firstChild.style.height =
430
+ Math.max(0, measure.scrollHeight - measure.clientHeight + totalHeight) + "px";
431
+ } else {
432
+ this.vert.style.display = "";
433
+ this.vert.firstChild.style.height = "0";
434
+ }
435
+
436
+ if (needsH) {
437
+ this.horiz.style.display = "block";
438
+ this.horiz.style.right = needsV ? sWidth + "px" : "0";
439
+ this.horiz.style.left = measure.barLeft + "px";
440
+ var totalWidth = measure.viewWidth - measure.barLeft - (needsV ? sWidth : 0);
441
+ this.horiz.firstChild.style.width =
442
+ (measure.scrollWidth - measure.clientWidth + totalWidth) + "px";
443
+ } else {
444
+ this.horiz.style.display = "";
445
+ this.horiz.firstChild.style.width = "0";
446
+ }
447
+
448
+ if (!this.checkedZeroWidth && measure.clientHeight > 0) {
449
+ if (sWidth == 0) this.zeroWidthHack();
450
+ this.checkedZeroWidth = true;
451
+ }
452
+
453
+ return {right: needsV ? sWidth : 0, bottom: needsH ? sWidth : 0};
454
+ },
455
+ setScrollLeft: function(pos) {
456
+ if (this.horiz.scrollLeft != pos) this.horiz.scrollLeft = pos;
457
+ if (this.disableHoriz) this.enableZeroWidthBar(this.horiz, this.disableHoriz);
458
+ },
459
+ setScrollTop: function(pos) {
460
+ if (this.vert.scrollTop != pos) this.vert.scrollTop = pos;
461
+ if (this.disableVert) this.enableZeroWidthBar(this.vert, this.disableVert);
462
+ },
463
+ zeroWidthHack: function() {
464
+ var w = mac && !mac_geMountainLion ? "12px" : "18px";
465
+ this.horiz.style.height = this.vert.style.width = w;
466
+ this.horiz.style.pointerEvents = this.vert.style.pointerEvents = "none";
467
+ this.disableHoriz = new Delayed;
468
+ this.disableVert = new Delayed;
469
+ },
470
+ enableZeroWidthBar: function(bar, delay) {
471
+ bar.style.pointerEvents = "auto";
472
+ function maybeDisable() {
473
+ // To find out whether the scrollbar is still visible, we
474
+ // check whether the element under the pixel in the bottom
475
+ // left corner of the scrollbar box is the scrollbar box
476
+ // itself (when the bar is still visible) or its filler child
477
+ // (when the bar is hidden). If it is still visible, we keep
478
+ // it enabled, if it's hidden, we disable pointer events.
479
+ var box = bar.getBoundingClientRect();
480
+ var elt = document.elementFromPoint(box.left + 1, box.bottom - 1);
481
+ if (elt != bar) bar.style.pointerEvents = "none";
482
+ else delay.set(1000, maybeDisable);
483
+ }
484
+ delay.set(1000, maybeDisable);
485
+ },
486
+ clear: function() {
487
+ var parent = this.horiz.parentNode;
488
+ parent.removeChild(this.horiz);
489
+ parent.removeChild(this.vert);
490
+ }
491
+ }, NativeScrollbars.prototype);
492
+
493
+ function NullScrollbars() {}
494
+
495
+ NullScrollbars.prototype = copyObj({
496
+ update: function() { return {bottom: 0, right: 0}; },
497
+ setScrollLeft: function() {},
498
+ setScrollTop: function() {},
499
+ clear: function() {}
500
+ }, NullScrollbars.prototype);
501
+
502
+ CodeMirror.scrollbarModel = {"native": NativeScrollbars, "null": NullScrollbars};
503
+
504
+ function initScrollbars(cm) {
505
+ if (cm.display.scrollbars) {
506
+ cm.display.scrollbars.clear();
507
+ if (cm.display.scrollbars.addClass)
508
+ rmClass(cm.display.wrapper, cm.display.scrollbars.addClass);
509
+ }
510
+
511
+ cm.display.scrollbars = new CodeMirror.scrollbarModel[cm.options.scrollbarStyle](function(node) {
512
+ cm.display.wrapper.insertBefore(node, cm.display.scrollbarFiller);
513
+ // Prevent clicks in the scrollbars from killing focus
514
+ on(node, "mousedown", function() {
515
+ if (cm.state.focused) setTimeout(function() { cm.display.input.focus(); }, 0);
516
+ });
517
+ node.setAttribute("cm-not-content", "true");
518
+ }, function(pos, axis) {
519
+ if (axis == "horizontal") setScrollLeft(cm, pos);
520
+ else setScrollTop(cm, pos);
521
+ }, cm);
522
+ if (cm.display.scrollbars.addClass)
523
+ addClass(cm.display.wrapper, cm.display.scrollbars.addClass);
524
+ }
525
+
526
+ function updateScrollbars(cm, measure) {
527
+ if (!measure) measure = measureForScrollbars(cm);
528
+ var startWidth = cm.display.barWidth, startHeight = cm.display.barHeight;
529
+ updateScrollbarsInner(cm, measure);
530
+ for (var i = 0; i < 4 && startWidth != cm.display.barWidth || startHeight != cm.display.barHeight; i++) {
531
+ if (startWidth != cm.display.barWidth && cm.options.lineWrapping)
532
+ updateHeightsInViewport(cm);
533
+ updateScrollbarsInner(cm, measureForScrollbars(cm));
534
+ startWidth = cm.display.barWidth; startHeight = cm.display.barHeight;
535
+ }
536
+ }
537
+
538
+ // Re-synchronize the fake scrollbars with the actual size of the
539
+ // content.
540
+ function updateScrollbarsInner(cm, measure) {
541
+ var d = cm.display;
542
+ var sizes = d.scrollbars.update(measure);
543
+
544
+ d.sizer.style.paddingRight = (d.barWidth = sizes.right) + "px";
545
+ d.sizer.style.paddingBottom = (d.barHeight = sizes.bottom) + "px";
546
+
547
+ if (sizes.right && sizes.bottom) {
548
+ d.scrollbarFiller.style.display = "block";
549
+ d.scrollbarFiller.style.height = sizes.bottom + "px";
550
+ d.scrollbarFiller.style.width = sizes.right + "px";
551
+ } else d.scrollbarFiller.style.display = "";
552
+ if (sizes.bottom && cm.options.coverGutterNextToScrollbar && cm.options.fixedGutter) {
553
+ d.gutterFiller.style.display = "block";
554
+ d.gutterFiller.style.height = sizes.bottom + "px";
555
+ d.gutterFiller.style.width = measure.gutterWidth + "px";
556
+ } else d.gutterFiller.style.display = "";
557
+ }
558
+
559
+ // Compute the lines that are visible in a given viewport (defaults
560
+ // the the current scroll position). viewport may contain top,
561
+ // height, and ensure (see op.scrollToPos) properties.
562
+ function visibleLines(display, doc, viewport) {
563
+ var top = viewport && viewport.top != null ? Math.max(0, viewport.top) : display.scroller.scrollTop;
564
+ top = Math.floor(top - paddingTop(display));
565
+ var bottom = viewport && viewport.bottom != null ? viewport.bottom : top + display.wrapper.clientHeight;
566
+
567
+ var from = lineAtHeight(doc, top), to = lineAtHeight(doc, bottom);
568
+ // Ensure is a {from: {line, ch}, to: {line, ch}} object, and
569
+ // forces those lines into the viewport (if possible).
570
+ if (viewport && viewport.ensure) {
571
+ var ensureFrom = viewport.ensure.from.line, ensureTo = viewport.ensure.to.line;
572
+ if (ensureFrom < from) {
573
+ from = ensureFrom;
574
+ to = lineAtHeight(doc, heightAtLine(getLine(doc, ensureFrom)) + display.wrapper.clientHeight);
575
+ } else if (Math.min(ensureTo, doc.lastLine()) >= to) {
576
+ from = lineAtHeight(doc, heightAtLine(getLine(doc, ensureTo)) - display.wrapper.clientHeight);
577
+ to = ensureTo;
578
+ }
579
+ }
580
+ return {from: from, to: Math.max(to, from + 1)};
581
+ }
582
+
583
+ // LINE NUMBERS
584
+
585
+ // Re-align line numbers and gutter marks to compensate for
586
+ // horizontal scrolling.
587
+ function alignHorizontally(cm) {
588
+ var display = cm.display, view = display.view;
589
+ if (!display.alignWidgets && (!display.gutters.firstChild || !cm.options.fixedGutter)) return;
590
+ var comp = compensateForHScroll(display) - display.scroller.scrollLeft + cm.doc.scrollLeft;
591
+ var gutterW = display.gutters.offsetWidth, left = comp + "px";
592
+ for (var i = 0; i < view.length; i++) if (!view[i].hidden) {
593
+ if (cm.options.fixedGutter && view[i].gutter)
594
+ view[i].gutter.style.left = left;
595
+ var align = view[i].alignable;
596
+ if (align) for (var j = 0; j < align.length; j++)
597
+ align[j].style.left = left;
598
+ }
599
+ if (cm.options.fixedGutter)
600
+ display.gutters.style.left = (comp + gutterW) + "px";
601
+ }
602
+
603
+ // Used to ensure that the line number gutter is still the right
604
+ // size for the current document size. Returns true when an update
605
+ // is needed.
606
+ function maybeUpdateLineNumberWidth(cm) {
607
+ if (!cm.options.lineNumbers) return false;
608
+ var doc = cm.doc, last = lineNumberFor(cm.options, doc.first + doc.size - 1), display = cm.display;
609
+ if (last.length != display.lineNumChars) {
610
+ var test = display.measure.appendChild(elt("div", [elt("div", last)],
611
+ "CodeMirror-linenumber CodeMirror-gutter-elt"));
612
+ var innerW = test.firstChild.offsetWidth, padding = test.offsetWidth - innerW;
613
+ display.lineGutter.style.width = "";
614
+ display.lineNumInnerWidth = Math.max(innerW, display.lineGutter.offsetWidth - padding) + 1;
615
+ display.lineNumWidth = display.lineNumInnerWidth + padding;
616
+ display.lineNumChars = display.lineNumInnerWidth ? last.length : -1;
617
+ display.lineGutter.style.width = display.lineNumWidth + "px";
618
+ updateGutterSpace(cm);
619
+ return true;
620
+ }
621
+ return false;
622
+ }
623
+
624
+ function lineNumberFor(options, i) {
625
+ return String(options.lineNumberFormatter(i + options.firstLineNumber));
626
+ }
627
+
628
+ // Computes display.scroller.scrollLeft + display.gutters.offsetWidth,
629
+ // but using getBoundingClientRect to get a sub-pixel-accurate
630
+ // result.
631
+ function compensateForHScroll(display) {
632
+ return display.scroller.getBoundingClientRect().left - display.sizer.getBoundingClientRect().left;
633
+ }
634
+
635
+ // DISPLAY DRAWING
636
+
637
+ function DisplayUpdate(cm, viewport, force) {
638
+ var display = cm.display;
639
+
640
+ this.viewport = viewport;
641
+ // Store some values that we'll need later (but don't want to force a relayout for)
642
+ this.visible = visibleLines(display, cm.doc, viewport);
643
+ this.editorIsHidden = !display.wrapper.offsetWidth;
644
+ this.wrapperHeight = display.wrapper.clientHeight;
645
+ this.wrapperWidth = display.wrapper.clientWidth;
646
+ this.oldDisplayWidth = displayWidth(cm);
647
+ this.force = force;
648
+ this.dims = getDimensions(cm);
649
+ this.events = [];
650
+ }
651
+
652
+ DisplayUpdate.prototype.signal = function(emitter, type) {
653
+ if (hasHandler(emitter, type))
654
+ this.events.push(arguments);
655
+ };
656
+ DisplayUpdate.prototype.finish = function() {
657
+ for (var i = 0; i < this.events.length; i++)
658
+ signal.apply(null, this.events[i]);
659
+ };
660
+
661
+ function maybeClipScrollbars(cm) {
662
+ var display = cm.display;
663
+ if (!display.scrollbarsClipped && display.scroller.offsetWidth) {
664
+ display.nativeBarWidth = display.scroller.offsetWidth - display.scroller.clientWidth;
665
+ display.heightForcer.style.height = scrollGap(cm) + "px";
666
+ display.sizer.style.marginBottom = -display.nativeBarWidth + "px";
667
+ display.sizer.style.borderRightWidth = scrollGap(cm) + "px";
668
+ display.scrollbarsClipped = true;
669
+ }
670
+ }
671
+
672
+ // Does the actual updating of the line display. Bails out
673
+ // (returning false) when there is nothing to be done and forced is
674
+ // false.
675
+ function updateDisplayIfNeeded(cm, update) {
676
+ var display = cm.display, doc = cm.doc;
677
+
678
+ if (update.editorIsHidden) {
679
+ resetView(cm);
680
+ return false;
681
+ }
682
+
683
+ // Bail out if the visible area is already rendered and nothing changed.
684
+ if (!update.force &&
685
+ update.visible.from >= display.viewFrom && update.visible.to <= display.viewTo &&
686
+ (display.updateLineNumbers == null || display.updateLineNumbers >= display.viewTo) &&
687
+ display.renderedView == display.view && countDirtyView(cm) == 0)
688
+ return false;
689
+
690
+ if (maybeUpdateLineNumberWidth(cm)) {
691
+ resetView(cm);
692
+ update.dims = getDimensions(cm);
693
+ }
694
+
695
+ // Compute a suitable new viewport (from & to)
696
+ var end = doc.first + doc.size;
697
+ var from = Math.max(update.visible.from - cm.options.viewportMargin, doc.first);
698
+ var to = Math.min(end, update.visible.to + cm.options.viewportMargin);
699
+ if (display.viewFrom < from && from - display.viewFrom < 20) from = Math.max(doc.first, display.viewFrom);
700
+ if (display.viewTo > to && display.viewTo - to < 20) to = Math.min(end, display.viewTo);
701
+ if (sawCollapsedSpans) {
702
+ from = visualLineNo(cm.doc, from);
703
+ to = visualLineEndNo(cm.doc, to);
704
+ }
705
+
706
+ var different = from != display.viewFrom || to != display.viewTo ||
707
+ display.lastWrapHeight != update.wrapperHeight || display.lastWrapWidth != update.wrapperWidth;
708
+ adjustView(cm, from, to);
709
+
710
+ display.viewOffset = heightAtLine(getLine(cm.doc, display.viewFrom));
711
+ // Position the mover div to align with the current scroll position
712
+ cm.display.mover.style.top = display.viewOffset + "px";
713
+
714
+ var toUpdate = countDirtyView(cm);
715
+ if (!different && toUpdate == 0 && !update.force && display.renderedView == display.view &&
716
+ (display.updateLineNumbers == null || display.updateLineNumbers >= display.viewTo))
717
+ return false;
718
+
719
+ // For big changes, we hide the enclosing element during the
720
+ // update, since that speeds up the operations on most browsers.
721
+ var focused = activeElt();
722
+ if (toUpdate > 4) display.lineDiv.style.display = "none";
723
+ patchDisplay(cm, display.updateLineNumbers, update.dims);
724
+ if (toUpdate > 4) display.lineDiv.style.display = "";
725
+ display.renderedView = display.view;
726
+ // There might have been a widget with a focused element that got
727
+ // hidden or updated, if so re-focus it.
728
+ if (focused && activeElt() != focused && focused.offsetHeight) focused.focus();
729
+
730
+ // Prevent selection and cursors from interfering with the scroll
731
+ // width and height.
732
+ removeChildren(display.cursorDiv);
733
+ removeChildren(display.selectionDiv);
734
+ display.gutters.style.height = display.sizer.style.minHeight = 0;
735
+
736
+ if (different) {
737
+ display.lastWrapHeight = update.wrapperHeight;
738
+ display.lastWrapWidth = update.wrapperWidth;
739
+ startWorker(cm, 400);
740
+ }
741
+
742
+ display.updateLineNumbers = null;
743
+
744
+ return true;
745
+ }
746
+
747
+ function postUpdateDisplay(cm, update) {
748
+ var viewport = update.viewport;
749
+ for (var first = true;; first = false) {
750
+ if (!first || !cm.options.lineWrapping || update.oldDisplayWidth == displayWidth(cm)) {
751
+ // Clip forced viewport to actual scrollable area.
752
+ if (viewport && viewport.top != null)
753
+ viewport = {top: Math.min(cm.doc.height + paddingVert(cm.display) - displayHeight(cm), viewport.top)};
754
+ // Updated line heights might result in the drawn area not
755
+ // actually covering the viewport. Keep looping until it does.
756
+ update.visible = visibleLines(cm.display, cm.doc, viewport);
757
+ if (update.visible.from >= cm.display.viewFrom && update.visible.to <= cm.display.viewTo)
758
+ break;
759
+ }
760
+ if (!updateDisplayIfNeeded(cm, update)) break;
761
+ updateHeightsInViewport(cm);
762
+ var barMeasure = measureForScrollbars(cm);
763
+ updateSelection(cm);
764
+ setDocumentHeight(cm, barMeasure);
765
+ updateScrollbars(cm, barMeasure);
766
+ }
767
+
768
+ update.signal(cm, "update", cm);
769
+ if (cm.display.viewFrom != cm.display.reportedViewFrom || cm.display.viewTo != cm.display.reportedViewTo) {
770
+ update.signal(cm, "viewportChange", cm, cm.display.viewFrom, cm.display.viewTo);
771
+ cm.display.reportedViewFrom = cm.display.viewFrom; cm.display.reportedViewTo = cm.display.viewTo;
772
+ }
773
+ }
774
+
775
+ function updateDisplaySimple(cm, viewport) {
776
+ var update = new DisplayUpdate(cm, viewport);
777
+ if (updateDisplayIfNeeded(cm, update)) {
778
+ updateHeightsInViewport(cm);
779
+ postUpdateDisplay(cm, update);
780
+ var barMeasure = measureForScrollbars(cm);
781
+ updateSelection(cm);
782
+ setDocumentHeight(cm, barMeasure);
783
+ updateScrollbars(cm, barMeasure);
784
+ update.finish();
785
+ }
786
+ }
787
+
788
+ function setDocumentHeight(cm, measure) {
789
+ cm.display.sizer.style.minHeight = measure.docHeight + "px";
790
+ var total = measure.docHeight + cm.display.barHeight;
791
+ cm.display.heightForcer.style.top = total + "px";
792
+ cm.display.gutters.style.height = Math.max(total + scrollGap(cm), measure.clientHeight) + "px";
793
+ }
794
+
795
+ // Read the actual heights of the rendered lines, and update their
796
+ // stored heights to match.
797
+ function updateHeightsInViewport(cm) {
798
+ var display = cm.display;
799
+ var prevBottom = display.lineDiv.offsetTop;
800
+ for (var i = 0; i < display.view.length; i++) {
801
+ var cur = display.view[i], height;
802
+ if (cur.hidden) continue;
803
+ if (ie && ie_version < 8) {
804
+ var bot = cur.node.offsetTop + cur.node.offsetHeight;
805
+ height = bot - prevBottom;
806
+ prevBottom = bot;
807
+ } else {
808
+ var box = cur.node.getBoundingClientRect();
809
+ height = box.bottom - box.top;
810
+ }
811
+ var diff = cur.line.height - height;
812
+ if (height < 2) height = textHeight(display);
813
+ if (diff > .001 || diff < -.001) {
814
+ updateLineHeight(cur.line, height);
815
+ updateWidgetHeight(cur.line);
816
+ if (cur.rest) for (var j = 0; j < cur.rest.length; j++)
817
+ updateWidgetHeight(cur.rest[j]);
818
+ }
819
+ }
820
+ }
821
+
822
+ // Read and store the height of line widgets associated with the
823
+ // given line.
824
+ function updateWidgetHeight(line) {
825
+ if (line.widgets) for (var i = 0; i < line.widgets.length; ++i)
826
+ line.widgets[i].height = line.widgets[i].node.offsetHeight;
827
+ }
828
+
829
+ // Do a bulk-read of the DOM positions and sizes needed to draw the
830
+ // view, so that we don't interleave reading and writing to the DOM.
831
+ function getDimensions(cm) {
832
+ var d = cm.display, left = {}, width = {};
833
+ var gutterLeft = d.gutters.clientLeft;
834
+ for (var n = d.gutters.firstChild, i = 0; n; n = n.nextSibling, ++i) {
835
+ left[cm.options.gutters[i]] = n.offsetLeft + n.clientLeft + gutterLeft;
836
+ width[cm.options.gutters[i]] = n.clientWidth;
837
+ }
838
+ return {fixedPos: compensateForHScroll(d),
839
+ gutterTotalWidth: d.gutters.offsetWidth,
840
+ gutterLeft: left,
841
+ gutterWidth: width,
842
+ wrapperWidth: d.wrapper.clientWidth};
843
+ }
844
+
845
+ // Sync the actual display DOM structure with display.view, removing
846
+ // nodes for lines that are no longer in view, and creating the ones
847
+ // that are not there yet, and updating the ones that are out of
848
+ // date.
849
+ function patchDisplay(cm, updateNumbersFrom, dims) {
850
+ var display = cm.display, lineNumbers = cm.options.lineNumbers;
851
+ var container = display.lineDiv, cur = container.firstChild;
852
+
853
+ function rm(node) {
854
+ var next = node.nextSibling;
855
+ // Works around a throw-scroll bug in OS X Webkit
856
+ if (webkit && mac && cm.display.currentWheelTarget == node)
857
+ node.style.display = "none";
858
+ else
859
+ node.parentNode.removeChild(node);
860
+ return next;
861
+ }
862
+
863
+ var view = display.view, lineN = display.viewFrom;
864
+ // Loop over the elements in the view, syncing cur (the DOM nodes
865
+ // in display.lineDiv) with the view as we go.
866
+ for (var i = 0; i < view.length; i++) {
867
+ var lineView = view[i];
868
+ if (lineView.hidden) {
869
+ } else if (!lineView.node || lineView.node.parentNode != container) { // Not drawn yet
870
+ var node = buildLineElement(cm, lineView, lineN, dims);
871
+ container.insertBefore(node, cur);
872
+ } else { // Already drawn
873
+ while (cur != lineView.node) cur = rm(cur);
874
+ var updateNumber = lineNumbers && updateNumbersFrom != null &&
875
+ updateNumbersFrom <= lineN && lineView.lineNumber;
876
+ if (lineView.changes) {
877
+ if (indexOf(lineView.changes, "gutter") > -1) updateNumber = false;
878
+ updateLineForChanges(cm, lineView, lineN, dims);
879
+ }
880
+ if (updateNumber) {
881
+ removeChildren(lineView.lineNumber);
882
+ lineView.lineNumber.appendChild(document.createTextNode(lineNumberFor(cm.options, lineN)));
883
+ }
884
+ cur = lineView.node.nextSibling;
885
+ }
886
+ lineN += lineView.size;
887
+ }
888
+ while (cur) cur = rm(cur);
889
+ }
890
+
891
+ // When an aspect of a line changes, a string is added to
892
+ // lineView.changes. This updates the relevant part of the line's
893
+ // DOM structure.
894
+ function updateLineForChanges(cm, lineView, lineN, dims) {
895
+ for (var j = 0; j < lineView.changes.length; j++) {
896
+ var type = lineView.changes[j];
897
+ if (type == "text") updateLineText(cm, lineView);
898
+ else if (type == "gutter") updateLineGutter(cm, lineView, lineN, dims);
899
+ else if (type == "class") updateLineClasses(lineView);
900
+ else if (type == "widget") updateLineWidgets(cm, lineView, dims);
901
+ }
902
+ lineView.changes = null;
903
+ }
904
+
905
+ // Lines with gutter elements, widgets or a background class need to
906
+ // be wrapped, and have the extra elements added to the wrapper div
907
+ function ensureLineWrapped(lineView) {
908
+ if (lineView.node == lineView.text) {
909
+ lineView.node = elt("div", null, null, "position: relative");
910
+ if (lineView.text.parentNode)
911
+ lineView.text.parentNode.replaceChild(lineView.node, lineView.text);
912
+ lineView.node.appendChild(lineView.text);
913
+ if (ie && ie_version < 8) lineView.node.style.zIndex = 2;
914
+ }
915
+ return lineView.node;
916
+ }
917
+
918
+ function updateLineBackground(lineView) {
919
+ var cls = lineView.bgClass ? lineView.bgClass + " " + (lineView.line.bgClass || "") : lineView.line.bgClass;
920
+ if (cls) cls += " CodeMirror-linebackground";
921
+ if (lineView.background) {
922
+ if (cls) lineView.background.className = cls;
923
+ else { lineView.background.parentNode.removeChild(lineView.background); lineView.background = null; }
924
+ } else if (cls) {
925
+ var wrap = ensureLineWrapped(lineView);
926
+ lineView.background = wrap.insertBefore(elt("div", null, cls), wrap.firstChild);
927
+ }
928
+ }
929
+
930
+ // Wrapper around buildLineContent which will reuse the structure
931
+ // in display.externalMeasured when possible.
932
+ function getLineContent(cm, lineView) {
933
+ var ext = cm.display.externalMeasured;
934
+ if (ext && ext.line == lineView.line) {
935
+ cm.display.externalMeasured = null;
936
+ lineView.measure = ext.measure;
937
+ return ext.built;
938
+ }
939
+ return buildLineContent(cm, lineView);
940
+ }
941
+
942
+ // Redraw the line's text. Interacts with the background and text
943
+ // classes because the mode may output tokens that influence these
944
+ // classes.
945
+ function updateLineText(cm, lineView) {
946
+ var cls = lineView.text.className;
947
+ var built = getLineContent(cm, lineView);
948
+ if (lineView.text == lineView.node) lineView.node = built.pre;
949
+ lineView.text.parentNode.replaceChild(built.pre, lineView.text);
950
+ lineView.text = built.pre;
951
+ if (built.bgClass != lineView.bgClass || built.textClass != lineView.textClass) {
952
+ lineView.bgClass = built.bgClass;
953
+ lineView.textClass = built.textClass;
954
+ updateLineClasses(lineView);
955
+ } else if (cls) {
956
+ lineView.text.className = cls;
957
+ }
958
+ }
959
+
960
+ function updateLineClasses(lineView) {
961
+ updateLineBackground(lineView);
962
+ if (lineView.line.wrapClass)
963
+ ensureLineWrapped(lineView).className = lineView.line.wrapClass;
964
+ else if (lineView.node != lineView.text)
965
+ lineView.node.className = "";
966
+ var textClass = lineView.textClass ? lineView.textClass + " " + (lineView.line.textClass || "") : lineView.line.textClass;
967
+ lineView.text.className = textClass || "";
968
+ }
969
+
970
+ function updateLineGutter(cm, lineView, lineN, dims) {
971
+ if (lineView.gutter) {
972
+ lineView.node.removeChild(lineView.gutter);
973
+ lineView.gutter = null;
974
+ }
975
+ if (lineView.gutterBackground) {
976
+ lineView.node.removeChild(lineView.gutterBackground);
977
+ lineView.gutterBackground = null;
978
+ }
979
+ if (lineView.line.gutterClass) {
980
+ var wrap = ensureLineWrapped(lineView);
981
+ lineView.gutterBackground = elt("div", null, "CodeMirror-gutter-background " + lineView.line.gutterClass,
982
+ "left: " + (cm.options.fixedGutter ? dims.fixedPos : -dims.gutterTotalWidth) +
983
+ "px; width: " + dims.gutterTotalWidth + "px");
984
+ wrap.insertBefore(lineView.gutterBackground, lineView.text);
985
+ }
986
+ var markers = lineView.line.gutterMarkers;
987
+ if (cm.options.lineNumbers || markers) {
988
+ var wrap = ensureLineWrapped(lineView);
989
+ var gutterWrap = lineView.gutter = elt("div", null, "CodeMirror-gutter-wrapper", "left: " +
990
+ (cm.options.fixedGutter ? dims.fixedPos : -dims.gutterTotalWidth) + "px");
991
+ cm.display.input.setUneditable(gutterWrap);
992
+ wrap.insertBefore(gutterWrap, lineView.text);
993
+ if (lineView.line.gutterClass)
994
+ gutterWrap.className += " " + lineView.line.gutterClass;
995
+ if (cm.options.lineNumbers && (!markers || !markers["CodeMirror-linenumbers"]))
996
+ lineView.lineNumber = gutterWrap.appendChild(
997
+ elt("div", lineNumberFor(cm.options, lineN),
998
+ "CodeMirror-linenumber CodeMirror-gutter-elt",
999
+ "left: " + dims.gutterLeft["CodeMirror-linenumbers"] + "px; width: "
1000
+ + cm.display.lineNumInnerWidth + "px"));
1001
+ if (markers) for (var k = 0; k < cm.options.gutters.length; ++k) {
1002
+ var id = cm.options.gutters[k], found = markers.hasOwnProperty(id) && markers[id];
1003
+ if (found)
1004
+ gutterWrap.appendChild(elt("div", [found], "CodeMirror-gutter-elt", "left: " +
1005
+ dims.gutterLeft[id] + "px; width: " + dims.gutterWidth[id] + "px"));
1006
+ }
1007
+ }
1008
+ }
1009
+
1010
+ function updateLineWidgets(cm, lineView, dims) {
1011
+ if (lineView.alignable) lineView.alignable = null;
1012
+ for (var node = lineView.node.firstChild, next; node; node = next) {
1013
+ var next = node.nextSibling;
1014
+ if (node.className == "CodeMirror-linewidget")
1015
+ lineView.node.removeChild(node);
1016
+ }
1017
+ insertLineWidgets(cm, lineView, dims);
1018
+ }
1019
+
1020
+ // Build a line's DOM representation from scratch
1021
+ function buildLineElement(cm, lineView, lineN, dims) {
1022
+ var built = getLineContent(cm, lineView);
1023
+ lineView.text = lineView.node = built.pre;
1024
+ if (built.bgClass) lineView.bgClass = built.bgClass;
1025
+ if (built.textClass) lineView.textClass = built.textClass;
1026
+
1027
+ updateLineClasses(lineView);
1028
+ updateLineGutter(cm, lineView, lineN, dims);
1029
+ insertLineWidgets(cm, lineView, dims);
1030
+ return lineView.node;
1031
+ }
1032
+
1033
+ // A lineView may contain multiple logical lines (when merged by
1034
+ // collapsed spans). The widgets for all of them need to be drawn.
1035
+ function insertLineWidgets(cm, lineView, dims) {
1036
+ insertLineWidgetsFor(cm, lineView.line, lineView, dims, true);
1037
+ if (lineView.rest) for (var i = 0; i < lineView.rest.length; i++)
1038
+ insertLineWidgetsFor(cm, lineView.rest[i], lineView, dims, false);
1039
+ }
1040
+
1041
+ function insertLineWidgetsFor(cm, line, lineView, dims, allowAbove) {
1042
+ if (!line.widgets) return;
1043
+ var wrap = ensureLineWrapped(lineView);
1044
+ for (var i = 0, ws = line.widgets; i < ws.length; ++i) {
1045
+ var widget = ws[i], node = elt("div", [widget.node], "CodeMirror-linewidget");
1046
+ if (!widget.handleMouseEvents) node.setAttribute("cm-ignore-events", "true");
1047
+ positionLineWidget(widget, node, lineView, dims);
1048
+ cm.display.input.setUneditable(node);
1049
+ if (allowAbove && widget.above)
1050
+ wrap.insertBefore(node, lineView.gutter || lineView.text);
1051
+ else
1052
+ wrap.appendChild(node);
1053
+ signalLater(widget, "redraw");
1054
+ }
1055
+ }
1056
+
1057
+ function positionLineWidget(widget, node, lineView, dims) {
1058
+ if (widget.noHScroll) {
1059
+ (lineView.alignable || (lineView.alignable = [])).push(node);
1060
+ var width = dims.wrapperWidth;
1061
+ node.style.left = dims.fixedPos + "px";
1062
+ if (!widget.coverGutter) {
1063
+ width -= dims.gutterTotalWidth;
1064
+ node.style.paddingLeft = dims.gutterTotalWidth + "px";
1065
+ }
1066
+ node.style.width = width + "px";
1067
+ }
1068
+ if (widget.coverGutter) {
1069
+ node.style.zIndex = 5;
1070
+ node.style.position = "relative";
1071
+ if (!widget.noHScroll) node.style.marginLeft = -dims.gutterTotalWidth + "px";
1072
+ }
1073
+ }
1074
+
1075
+ // POSITION OBJECT
1076
+
1077
+ // A Pos instance represents a position within the text.
1078
+ var Pos = CodeMirror.Pos = function(line, ch) {
1079
+ if (!(this instanceof Pos)) return new Pos(line, ch);
1080
+ this.line = line; this.ch = ch;
1081
+ };
1082
+
1083
+ // Compare two positions, return 0 if they are the same, a negative
1084
+ // number when a is less, and a positive number otherwise.
1085
+ var cmp = CodeMirror.cmpPos = function(a, b) { return a.line - b.line || a.ch - b.ch; };
1086
+
1087
+ function copyPos(x) {return Pos(x.line, x.ch);}
1088
+ function maxPos(a, b) { return cmp(a, b) < 0 ? b : a; }
1089
+ function minPos(a, b) { return cmp(a, b) < 0 ? a : b; }
1090
+
1091
+ // INPUT HANDLING
1092
+
1093
+ function ensureFocus(cm) {
1094
+ if (!cm.state.focused) { cm.display.input.focus(); onFocus(cm); }
1095
+ }
1096
+
1097
+ function isReadOnly(cm) {
1098
+ return cm.options.readOnly || cm.doc.cantEdit;
1099
+ }
1100
+
1101
+ // This will be set to an array of strings when copying, so that,
1102
+ // when pasting, we know what kind of selections the copied text
1103
+ // was made out of.
1104
+ var lastCopied = null;
1105
+
1106
+ function applyTextInput(cm, inserted, deleted, sel, origin) {
1107
+ var doc = cm.doc;
1108
+ cm.display.shift = false;
1109
+ if (!sel) sel = doc.sel;
1110
+
1111
+ var paste = cm.state.pasteIncoming || origin == "paste";
1112
+ var textLines = doc.splitLines(inserted), multiPaste = null;
1113
+ // When pasing N lines into N selections, insert one line per selection
1114
+ if (paste && sel.ranges.length > 1) {
1115
+ if (lastCopied && lastCopied.join("\n") == inserted) {
1116
+ if (sel.ranges.length % lastCopied.length == 0) {
1117
+ multiPaste = [];
1118
+ for (var i = 0; i < lastCopied.length; i++)
1119
+ multiPaste.push(doc.splitLines(lastCopied[i]));
1120
+ }
1121
+ } else if (textLines.length == sel.ranges.length) {
1122
+ multiPaste = map(textLines, function(l) { return [l]; });
1123
+ }
1124
+ }
1125
+
1126
+ // Normal behavior is to insert the new text into every selection
1127
+ for (var i = sel.ranges.length - 1; i >= 0; i--) {
1128
+ var range = sel.ranges[i];
1129
+ var from = range.from(), to = range.to();
1130
+ if (range.empty()) {
1131
+ if (deleted && deleted > 0) // Handle deletion
1132
+ from = Pos(from.line, from.ch - deleted);
1133
+ else if (cm.state.overwrite && !paste) // Handle overwrite
1134
+ to = Pos(to.line, Math.min(getLine(doc, to.line).text.length, to.ch + lst(textLines).length));
1135
+ }
1136
+ var updateInput = cm.curOp.updateInput;
1137
+ var changeEvent = {from: from, to: to, text: multiPaste ? multiPaste[i % multiPaste.length] : textLines,
1138
+ origin: origin || (paste ? "paste" : cm.state.cutIncoming ? "cut" : "+input")};
1139
+ makeChange(cm.doc, changeEvent);
1140
+ signalLater(cm, "inputRead", cm, changeEvent);
1141
+ }
1142
+ if (inserted && !paste)
1143
+ triggerElectric(cm, inserted);
1144
+
1145
+ ensureCursorVisible(cm);
1146
+ cm.curOp.updateInput = updateInput;
1147
+ cm.curOp.typing = true;
1148
+ cm.state.pasteIncoming = cm.state.cutIncoming = false;
1149
+ }
1150
+
1151
+ function handlePaste(e, cm) {
1152
+ var pasted = e.clipboardData && e.clipboardData.getData("text/plain");
1153
+ if (pasted) {
1154
+ e.preventDefault();
1155
+ if (!isReadOnly(cm) && !cm.options.disableInput)
1156
+ runInOp(cm, function() { applyTextInput(cm, pasted, 0, null, "paste"); });
1157
+ return true;
1158
+ }
1159
+ }
1160
+
1161
+ function triggerElectric(cm, inserted) {
1162
+ // When an 'electric' character is inserted, immediately trigger a reindent
1163
+ if (!cm.options.electricChars || !cm.options.smartIndent) return;
1164
+ var sel = cm.doc.sel;
1165
+
1166
+ for (var i = sel.ranges.length - 1; i >= 0; i--) {
1167
+ var range = sel.ranges[i];
1168
+ if (range.head.ch > 100 || (i && sel.ranges[i - 1].head.line == range.head.line)) continue;
1169
+ var mode = cm.getModeAt(range.head);
1170
+ var indented = false;
1171
+ if (mode.electricChars) {
1172
+ for (var j = 0; j < mode.electricChars.length; j++)
1173
+ if (inserted.indexOf(mode.electricChars.charAt(j)) > -1) {
1174
+ indented = indentLine(cm, range.head.line, "smart");
1175
+ break;
1176
+ }
1177
+ } else if (mode.electricInput) {
1178
+ if (mode.electricInput.test(getLine(cm.doc, range.head.line).text.slice(0, range.head.ch)))
1179
+ indented = indentLine(cm, range.head.line, "smart");
1180
+ }
1181
+ if (indented) signalLater(cm, "electricInput", cm, range.head.line);
1182
+ }
1183
+ }
1184
+
1185
+ function copyableRanges(cm) {
1186
+ var text = [], ranges = [];
1187
+ for (var i = 0; i < cm.doc.sel.ranges.length; i++) {
1188
+ var line = cm.doc.sel.ranges[i].head.line;
1189
+ var lineRange = {anchor: Pos(line, 0), head: Pos(line + 1, 0)};
1190
+ ranges.push(lineRange);
1191
+ text.push(cm.getRange(lineRange.anchor, lineRange.head));
1192
+ }
1193
+ return {text: text, ranges: ranges};
1194
+ }
1195
+
1196
+ function disableBrowserMagic(field) {
1197
+ field.setAttribute("autocorrect", "off");
1198
+ field.setAttribute("autocapitalize", "off");
1199
+ field.setAttribute("spellcheck", "false");
1200
+ }
1201
+
1202
+ // TEXTAREA INPUT STYLE
1203
+
1204
+ function TextareaInput(cm) {
1205
+ this.cm = cm;
1206
+ // See input.poll and input.reset
1207
+ this.prevInput = "";
1208
+
1209
+ // Flag that indicates whether we expect input to appear real soon
1210
+ // now (after some event like 'keypress' or 'input') and are
1211
+ // polling intensively.
1212
+ this.pollingFast = false;
1213
+ // Self-resetting timeout for the poller
1214
+ this.polling = new Delayed();
1215
+ // Tracks when input.reset has punted to just putting a short
1216
+ // string into the textarea instead of the full selection.
1217
+ this.inaccurateSelection = false;
1218
+ // Used to work around IE issue with selection being forgotten when focus moves away from textarea
1219
+ this.hasSelection = false;
1220
+ this.composing = null;
1221
+ };
1222
+
1223
+ function hiddenTextarea() {
1224
+ var te = elt("textarea", null, null, "position: absolute; padding: 0; width: 1px; height: 1em; outline: none");
1225
+ var div = elt("div", [te], null, "overflow: hidden; position: relative; width: 3px; height: 0px;");
1226
+ // The textarea is kept positioned near the cursor to prevent the
1227
+ // fact that it'll be scrolled into view on input from scrolling
1228
+ // our fake cursor out of view. On webkit, when wrap=off, paste is
1229
+ // very slow. So make the area wide instead.
1230
+ if (webkit) te.style.width = "1000px";
1231
+ else te.setAttribute("wrap", "off");
1232
+ // If border: 0; -- iOS fails to open keyboard (issue #1287)
1233
+ if (ios) te.style.border = "1px solid black";
1234
+ disableBrowserMagic(te);
1235
+ return div;
1236
+ }
1237
+
1238
+ TextareaInput.prototype = copyObj({
1239
+ init: function(display) {
1240
+ var input = this, cm = this.cm;
1241
+
1242
+ // Wraps and hides input textarea
1243
+ var div = this.wrapper = hiddenTextarea();
1244
+ // The semihidden textarea that is focused when the editor is
1245
+ // focused, and receives input.
1246
+ var te = this.textarea = div.firstChild;
1247
+ display.wrapper.insertBefore(div, display.wrapper.firstChild);
1248
+
1249
+ // Needed to hide big blue blinking cursor on Mobile Safari (doesn't seem to work in iOS 8 anymore)
1250
+ if (ios) te.style.width = "0px";
1251
+
1252
+ on(te, "input", function() {
1253
+ if (ie && ie_version >= 9 && input.hasSelection) input.hasSelection = null;
1254
+ input.poll();
1255
+ });
1256
+
1257
+ on(te, "paste", function(e) {
1258
+ if (handlePaste(e, cm)) return true;
1259
+
1260
+ cm.state.pasteIncoming = true;
1261
+ input.fastPoll();
1262
+ });
1263
+
1264
+ function prepareCopyCut(e) {
1265
+ if (cm.somethingSelected()) {
1266
+ lastCopied = cm.getSelections();
1267
+ if (input.inaccurateSelection) {
1268
+ input.prevInput = "";
1269
+ input.inaccurateSelection = false;
1270
+ te.value = lastCopied.join("\n");
1271
+ selectInput(te);
1272
+ }
1273
+ } else if (!cm.options.lineWiseCopyCut) {
1274
+ return;
1275
+ } else {
1276
+ var ranges = copyableRanges(cm);
1277
+ lastCopied = ranges.text;
1278
+ if (e.type == "cut") {
1279
+ cm.setSelections(ranges.ranges, null, sel_dontScroll);
1280
+ } else {
1281
+ input.prevInput = "";
1282
+ te.value = ranges.text.join("\n");
1283
+ selectInput(te);
1284
+ }
1285
+ }
1286
+ if (e.type == "cut") cm.state.cutIncoming = true;
1287
+ }
1288
+ on(te, "cut", prepareCopyCut);
1289
+ on(te, "copy", prepareCopyCut);
1290
+
1291
+ on(display.scroller, "paste", function(e) {
1292
+ if (eventInWidget(display, e)) return;
1293
+ cm.state.pasteIncoming = true;
1294
+ input.focus();
1295
+ });
1296
+
1297
+ // Prevent normal selection in the editor (we handle our own)
1298
+ on(display.lineSpace, "selectstart", function(e) {
1299
+ if (!eventInWidget(display, e)) e_preventDefault(e);
1300
+ });
1301
+
1302
+ on(te, "compositionstart", function() {
1303
+ var start = cm.getCursor("from");
1304
+ if (input.composing) input.composing.range.clear()
1305
+ input.composing = {
1306
+ start: start,
1307
+ range: cm.markText(start, cm.getCursor("to"), {className: "CodeMirror-composing"})
1308
+ };
1309
+ });
1310
+ on(te, "compositionend", function() {
1311
+ if (input.composing) {
1312
+ input.poll();
1313
+ input.composing.range.clear();
1314
+ input.composing = null;
1315
+ }
1316
+ });
1317
+ },
1318
+
1319
+ prepareSelection: function() {
1320
+ // Redraw the selection and/or cursor
1321
+ var cm = this.cm, display = cm.display, doc = cm.doc;
1322
+ var result = prepareSelection(cm);
1323
+
1324
+ // Move the hidden textarea near the cursor to prevent scrolling artifacts
1325
+ if (cm.options.moveInputWithCursor) {
1326
+ var headPos = cursorCoords(cm, doc.sel.primary().head, "div");
1327
+ var wrapOff = display.wrapper.getBoundingClientRect(), lineOff = display.lineDiv.getBoundingClientRect();
1328
+ result.teTop = Math.max(0, Math.min(display.wrapper.clientHeight - 10,
1329
+ headPos.top + lineOff.top - wrapOff.top));
1330
+ result.teLeft = Math.max(0, Math.min(display.wrapper.clientWidth - 10,
1331
+ headPos.left + lineOff.left - wrapOff.left));
1332
+ }
1333
+
1334
+ return result;
1335
+ },
1336
+
1337
+ showSelection: function(drawn) {
1338
+ var cm = this.cm, display = cm.display;
1339
+ removeChildrenAndAdd(display.cursorDiv, drawn.cursors);
1340
+ removeChildrenAndAdd(display.selectionDiv, drawn.selection);
1341
+ if (drawn.teTop != null) {
1342
+ this.wrapper.style.top = drawn.teTop + "px";
1343
+ this.wrapper.style.left = drawn.teLeft + "px";
1344
+ }
1345
+ },
1346
+
1347
+ // Reset the input to correspond to the selection (or to be empty,
1348
+ // when not typing and nothing is selected)
1349
+ reset: function(typing) {
1350
+ if (this.contextMenuPending) return;
1351
+ var minimal, selected, cm = this.cm, doc = cm.doc;
1352
+ if (cm.somethingSelected()) {
1353
+ this.prevInput = "";
1354
+ var range = doc.sel.primary();
1355
+ minimal = hasCopyEvent &&
1356
+ (range.to().line - range.from().line > 100 || (selected = cm.getSelection()).length > 1000);
1357
+ var content = minimal ? "-" : selected || cm.getSelection();
1358
+ this.textarea.value = content;
1359
+ if (cm.state.focused) selectInput(this.textarea);
1360
+ if (ie && ie_version >= 9) this.hasSelection = content;
1361
+ } else if (!typing) {
1362
+ this.prevInput = this.textarea.value = "";
1363
+ if (ie && ie_version >= 9) this.hasSelection = null;
1364
+ }
1365
+ this.inaccurateSelection = minimal;
1366
+ },
1367
+
1368
+ getField: function() { return this.textarea; },
1369
+
1370
+ supportsTouch: function() { return false; },
1371
+
1372
+ focus: function() {
1373
+ if (this.cm.options.readOnly != "nocursor" && (!mobile || activeElt() != this.textarea)) {
1374
+ try { this.textarea.focus(); }
1375
+ catch (e) {} // IE8 will throw if the textarea is display: none or not in DOM
1376
+ }
1377
+ },
1378
+
1379
+ blur: function() { this.textarea.blur(); },
1380
+
1381
+ resetPosition: function() {
1382
+ this.wrapper.style.top = this.wrapper.style.left = 0;
1383
+ },
1384
+
1385
+ receivedFocus: function() { this.slowPoll(); },
1386
+
1387
+ // Poll for input changes, using the normal rate of polling. This
1388
+ // runs as long as the editor is focused.
1389
+ slowPoll: function() {
1390
+ var input = this;
1391
+ if (input.pollingFast) return;
1392
+ input.polling.set(this.cm.options.pollInterval, function() {
1393
+ input.poll();
1394
+ if (input.cm.state.focused) input.slowPoll();
1395
+ });
1396
+ },
1397
+
1398
+ // When an event has just come in that is likely to add or change
1399
+ // something in the input textarea, we poll faster, to ensure that
1400
+ // the change appears on the screen quickly.
1401
+ fastPoll: function() {
1402
+ var missed = false, input = this;
1403
+ input.pollingFast = true;
1404
+ function p() {
1405
+ var changed = input.poll();
1406
+ if (!changed && !missed) {missed = true; input.polling.set(60, p);}
1407
+ else {input.pollingFast = false; input.slowPoll();}
1408
+ }
1409
+ input.polling.set(20, p);
1410
+ },
1411
+
1412
+ // Read input from the textarea, and update the document to match.
1413
+ // When something is selected, it is present in the textarea, and
1414
+ // selected (unless it is huge, in which case a placeholder is
1415
+ // used). When nothing is selected, the cursor sits after previously
1416
+ // seen text (can be empty), which is stored in prevInput (we must
1417
+ // not reset the textarea when typing, because that breaks IME).
1418
+ poll: function() {
1419
+ var cm = this.cm, input = this.textarea, prevInput = this.prevInput;
1420
+ // Since this is called a *lot*, try to bail out as cheaply as
1421
+ // possible when it is clear that nothing happened. hasSelection
1422
+ // will be the case when there is a lot of text in the textarea,
1423
+ // in which case reading its value would be expensive.
1424
+ if (this.contextMenuPending || !cm.state.focused ||
1425
+ (hasSelection(input) && !prevInput && !this.composing) ||
1426
+ isReadOnly(cm) || cm.options.disableInput || cm.state.keySeq)
1427
+ return false;
1428
+
1429
+ var text = input.value;
1430
+ // If nothing changed, bail.
1431
+ if (text == prevInput && !cm.somethingSelected()) return false;
1432
+ // Work around nonsensical selection resetting in IE9/10, and
1433
+ // inexplicable appearance of private area unicode characters on
1434
+ // some key combos in Mac (#2689).
1435
+ if (ie && ie_version >= 9 && this.hasSelection === text ||
1436
+ mac && /[\uf700-\uf7ff]/.test(text)) {
1437
+ cm.display.input.reset();
1438
+ return false;
1439
+ }
1440
+
1441
+ if (cm.doc.sel == cm.display.selForContextMenu) {
1442
+ var first = text.charCodeAt(0);
1443
+ if (first == 0x200b && !prevInput) prevInput = "\u200b";
1444
+ if (first == 0x21da) { this.reset(); return this.cm.execCommand("undo"); }
1445
+ }
1446
+ // Find the part of the input that is actually new
1447
+ var same = 0, l = Math.min(prevInput.length, text.length);
1448
+ while (same < l && prevInput.charCodeAt(same) == text.charCodeAt(same)) ++same;
1449
+
1450
+ var self = this;
1451
+ runInOp(cm, function() {
1452
+ applyTextInput(cm, text.slice(same), prevInput.length - same,
1453
+ null, self.composing ? "*compose" : null);
1454
+
1455
+ // Don't leave long text in the textarea, since it makes further polling slow
1456
+ if (text.length > 1000 || text.indexOf("\n") > -1) input.value = self.prevInput = "";
1457
+ else self.prevInput = text;
1458
+
1459
+ if (self.composing) {
1460
+ self.composing.range.clear();
1461
+ self.composing.range = cm.markText(self.composing.start, cm.getCursor("to"),
1462
+ {className: "CodeMirror-composing"});
1463
+ }
1464
+ });
1465
+ return true;
1466
+ },
1467
+
1468
+ ensurePolled: function() {
1469
+ if (this.pollingFast && this.poll()) this.pollingFast = false;
1470
+ },
1471
+
1472
+ onKeyPress: function() {
1473
+ if (ie && ie_version >= 9) this.hasSelection = null;
1474
+ this.fastPoll();
1475
+ },
1476
+
1477
+ onContextMenu: function(e) {
1478
+ var input = this, cm = input.cm, display = cm.display, te = input.textarea;
1479
+ var pos = posFromMouse(cm, e), scrollPos = display.scroller.scrollTop;
1480
+ if (!pos || presto) return; // Opera is difficult.
1481
+
1482
+ // Reset the current text selection only if the click is done outside of the selection
1483
+ // and 'resetSelectionOnContextMenu' option is true.
1484
+ var reset = cm.options.resetSelectionOnContextMenu;
1485
+ if (reset && cm.doc.sel.contains(pos) == -1)
1486
+ operation(cm, setSelection)(cm.doc, simpleSelection(pos), sel_dontScroll);
1487
+
1488
+ var oldCSS = te.style.cssText;
1489
+ input.wrapper.style.position = "absolute";
1490
+ te.style.cssText = "position: fixed; width: 30px; height: 30px; top: " + (e.clientY - 5) +
1491
+ "px; left: " + (e.clientX - 5) + "px; z-index: 1000; background: " +
1492
+ (ie ? "rgba(255, 255, 255, .05)" : "transparent") +
1493
+ "; outline: none; border-width: 0; outline: none; overflow: hidden; opacity: .05; filter: alpha(opacity=5);";
1494
+ if (webkit) var oldScrollY = window.scrollY; // Work around Chrome issue (#2712)
1495
+ display.input.focus();
1496
+ if (webkit) window.scrollTo(null, oldScrollY);
1497
+ display.input.reset();
1498
+ // Adds "Select all" to context menu in FF
1499
+ if (!cm.somethingSelected()) te.value = input.prevInput = " ";
1500
+ input.contextMenuPending = true;
1501
+ display.selForContextMenu = cm.doc.sel;
1502
+ clearTimeout(display.detectingSelectAll);
1503
+
1504
+ // Select-all will be greyed out if there's nothing to select, so
1505
+ // this adds a zero-width space so that we can later check whether
1506
+ // it got selected.
1507
+ function prepareSelectAllHack() {
1508
+ if (te.selectionStart != null) {
1509
+ var selected = cm.somethingSelected();
1510
+ var extval = "\u200b" + (selected ? te.value : "");
1511
+ te.value = "\u21da"; // Used to catch context-menu undo
1512
+ te.value = extval;
1513
+ input.prevInput = selected ? "" : "\u200b";
1514
+ te.selectionStart = 1; te.selectionEnd = extval.length;
1515
+ // Re-set this, in case some other handler touched the
1516
+ // selection in the meantime.
1517
+ display.selForContextMenu = cm.doc.sel;
1518
+ }
1519
+ }
1520
+ function rehide() {
1521
+ input.contextMenuPending = false;
1522
+ input.wrapper.style.position = "relative";
1523
+ te.style.cssText = oldCSS;
1524
+ if (ie && ie_version < 9) display.scrollbars.setScrollTop(display.scroller.scrollTop = scrollPos);
1525
+
1526
+ // Try to detect the user choosing select-all
1527
+ if (te.selectionStart != null) {
1528
+ if (!ie || (ie && ie_version < 9)) prepareSelectAllHack();
1529
+ var i = 0, poll = function() {
1530
+ if (display.selForContextMenu == cm.doc.sel && te.selectionStart == 0 &&
1531
+ te.selectionEnd > 0 && input.prevInput == "\u200b")
1532
+ operation(cm, commands.selectAll)(cm);
1533
+ else if (i++ < 10) display.detectingSelectAll = setTimeout(poll, 500);
1534
+ else display.input.reset();
1535
+ };
1536
+ display.detectingSelectAll = setTimeout(poll, 200);
1537
+ }
1538
+ }
1539
+
1540
+ if (ie && ie_version >= 9) prepareSelectAllHack();
1541
+ if (captureRightClick) {
1542
+ e_stop(e);
1543
+ var mouseup = function() {
1544
+ off(window, "mouseup", mouseup);
1545
+ setTimeout(rehide, 20);
1546
+ };
1547
+ on(window, "mouseup", mouseup);
1548
+ } else {
1549
+ setTimeout(rehide, 50);
1550
+ }
1551
+ },
1552
+
1553
+ readOnlyChanged: function(val) {
1554
+ if (!val) this.reset();
1555
+ },
1556
+
1557
+ setUneditable: nothing,
1558
+
1559
+ needsContentAttribute: false
1560
+ }, TextareaInput.prototype);
1561
+
1562
+ // CONTENTEDITABLE INPUT STYLE
1563
+
1564
+ function ContentEditableInput(cm) {
1565
+ this.cm = cm;
1566
+ this.lastAnchorNode = this.lastAnchorOffset = this.lastFocusNode = this.lastFocusOffset = null;
1567
+ this.polling = new Delayed();
1568
+ this.gracePeriod = false;
1569
+ }
1570
+
1571
+ ContentEditableInput.prototype = copyObj({
1572
+ init: function(display) {
1573
+ var input = this, cm = input.cm;
1574
+ var div = input.div = display.lineDiv;
1575
+ disableBrowserMagic(div);
1576
+
1577
+ on(div, "paste", function(e) { handlePaste(e, cm); })
1578
+
1579
+ on(div, "compositionstart", function(e) {
1580
+ var data = e.data;
1581
+ input.composing = {sel: cm.doc.sel, data: data, startData: data};
1582
+ if (!data) return;
1583
+ var prim = cm.doc.sel.primary();
1584
+ var line = cm.getLine(prim.head.line);
1585
+ var found = line.indexOf(data, Math.max(0, prim.head.ch - data.length));
1586
+ if (found > -1 && found <= prim.head.ch)
1587
+ input.composing.sel = simpleSelection(Pos(prim.head.line, found),
1588
+ Pos(prim.head.line, found + data.length));
1589
+ });
1590
+ on(div, "compositionupdate", function(e) {
1591
+ input.composing.data = e.data;
1592
+ });
1593
+ on(div, "compositionend", function(e) {
1594
+ var ours = input.composing;
1595
+ if (!ours) return;
1596
+ if (e.data != ours.startData && !/\u200b/.test(e.data))
1597
+ ours.data = e.data;
1598
+ // Need a small delay to prevent other code (input event,
1599
+ // selection polling) from doing damage when fired right after
1600
+ // compositionend.
1601
+ setTimeout(function() {
1602
+ if (!ours.handled)
1603
+ input.applyComposition(ours);
1604
+ if (input.composing == ours)
1605
+ input.composing = null;
1606
+ }, 50);
1607
+ });
1608
+
1609
+ on(div, "touchstart", function() {
1610
+ input.forceCompositionEnd();
1611
+ });
1612
+
1613
+ on(div, "input", function() {
1614
+ if (input.composing) return;
1615
+ if (isReadOnly(cm) || !input.pollContent())
1616
+ runInOp(input.cm, function() {regChange(cm);});
1617
+ });
1618
+
1619
+ function onCopyCut(e) {
1620
+ if (cm.somethingSelected()) {
1621
+ lastCopied = cm.getSelections();
1622
+ if (e.type == "cut") cm.replaceSelection("", null, "cut");
1623
+ } else if (!cm.options.lineWiseCopyCut) {
1624
+ return;
1625
+ } else {
1626
+ var ranges = copyableRanges(cm);
1627
+ lastCopied = ranges.text;
1628
+ if (e.type == "cut") {
1629
+ cm.operation(function() {
1630
+ cm.setSelections(ranges.ranges, 0, sel_dontScroll);
1631
+ cm.replaceSelection("", null, "cut");
1632
+ });
1633
+ }
1634
+ }
1635
+ // iOS exposes the clipboard API, but seems to discard content inserted into it
1636
+ if (e.clipboardData && !ios) {
1637
+ e.preventDefault();
1638
+ e.clipboardData.clearData();
1639
+ e.clipboardData.setData("text/plain", lastCopied.join("\n"));
1640
+ } else {
1641
+ // Old-fashioned briefly-focus-a-textarea hack
1642
+ var kludge = hiddenTextarea(), te = kludge.firstChild;
1643
+ cm.display.lineSpace.insertBefore(kludge, cm.display.lineSpace.firstChild);
1644
+ te.value = lastCopied.join("\n");
1645
+ var hadFocus = document.activeElement;
1646
+ selectInput(te);
1647
+ setTimeout(function() {
1648
+ cm.display.lineSpace.removeChild(kludge);
1649
+ hadFocus.focus();
1650
+ }, 50);
1651
+ }
1652
+ }
1653
+ on(div, "copy", onCopyCut);
1654
+ on(div, "cut", onCopyCut);
1655
+ },
1656
+
1657
+ prepareSelection: function() {
1658
+ var result = prepareSelection(this.cm, false);
1659
+ result.focus = this.cm.state.focused;
1660
+ return result;
1661
+ },
1662
+
1663
+ showSelection: function(info) {
1664
+ if (!info || !this.cm.display.view.length) return;
1665
+ if (info.focus) this.showPrimarySelection();
1666
+ this.showMultipleSelections(info);
1667
+ },
1668
+
1669
+ showPrimarySelection: function() {
1670
+ var sel = window.getSelection(), prim = this.cm.doc.sel.primary();
1671
+ var curAnchor = domToPos(this.cm, sel.anchorNode, sel.anchorOffset);
1672
+ var curFocus = domToPos(this.cm, sel.focusNode, sel.focusOffset);
1673
+ if (curAnchor && !curAnchor.bad && curFocus && !curFocus.bad &&
1674
+ cmp(minPos(curAnchor, curFocus), prim.from()) == 0 &&
1675
+ cmp(maxPos(curAnchor, curFocus), prim.to()) == 0)
1676
+ return;
1677
+
1678
+ var start = posToDOM(this.cm, prim.from());
1679
+ var end = posToDOM(this.cm, prim.to());
1680
+ if (!start && !end) return;
1681
+
1682
+ var view = this.cm.display.view;
1683
+ var old = sel.rangeCount && sel.getRangeAt(0);
1684
+ if (!start) {
1685
+ start = {node: view[0].measure.map[2], offset: 0};
1686
+ } else if (!end) { // FIXME dangerously hacky
1687
+ var measure = view[view.length - 1].measure;
1688
+ var map = measure.maps ? measure.maps[measure.maps.length - 1] : measure.map;
1689
+ end = {node: map[map.length - 1], offset: map[map.length - 2] - map[map.length - 3]};
1690
+ }
1691
+
1692
+ try { var rng = range(start.node, start.offset, end.offset, end.node); }
1693
+ catch(e) {} // Our model of the DOM might be outdated, in which case the range we try to set can be impossible
1694
+ if (rng) {
1695
+ sel.removeAllRanges();
1696
+ sel.addRange(rng);
1697
+ if (old && sel.anchorNode == null) sel.addRange(old);
1698
+ else if (gecko) this.startGracePeriod();
1699
+ }
1700
+ this.rememberSelection();
1701
+ },
1702
+
1703
+ startGracePeriod: function() {
1704
+ var input = this;
1705
+ clearTimeout(this.gracePeriod);
1706
+ this.gracePeriod = setTimeout(function() {
1707
+ input.gracePeriod = false;
1708
+ if (input.selectionChanged())
1709
+ input.cm.operation(function() { input.cm.curOp.selectionChanged = true; });
1710
+ }, 20);
1711
+ },
1712
+
1713
+ showMultipleSelections: function(info) {
1714
+ removeChildrenAndAdd(this.cm.display.cursorDiv, info.cursors);
1715
+ removeChildrenAndAdd(this.cm.display.selectionDiv, info.selection);
1716
+ },
1717
+
1718
+ rememberSelection: function() {
1719
+ var sel = window.getSelection();
1720
+ this.lastAnchorNode = sel.anchorNode; this.lastAnchorOffset = sel.anchorOffset;
1721
+ this.lastFocusNode = sel.focusNode; this.lastFocusOffset = sel.focusOffset;
1722
+ },
1723
+
1724
+ selectionInEditor: function() {
1725
+ var sel = window.getSelection();
1726
+ if (!sel.rangeCount) return false;
1727
+ var node = sel.getRangeAt(0).commonAncestorContainer;
1728
+ return contains(this.div, node);
1729
+ },
1730
+
1731
+ focus: function() {
1732
+ if (this.cm.options.readOnly != "nocursor") this.div.focus();
1733
+ },
1734
+ blur: function() { this.div.blur(); },
1735
+ getField: function() { return this.div; },
1736
+
1737
+ supportsTouch: function() { return true; },
1738
+
1739
+ receivedFocus: function() {
1740
+ var input = this;
1741
+ if (this.selectionInEditor())
1742
+ this.pollSelection();
1743
+ else
1744
+ runInOp(this.cm, function() { input.cm.curOp.selectionChanged = true; });
1745
+
1746
+ function poll() {
1747
+ if (input.cm.state.focused) {
1748
+ input.pollSelection();
1749
+ input.polling.set(input.cm.options.pollInterval, poll);
1750
+ }
1751
+ }
1752
+ this.polling.set(this.cm.options.pollInterval, poll);
1753
+ },
1754
+
1755
+ selectionChanged: function() {
1756
+ var sel = window.getSelection();
1757
+ return sel.anchorNode != this.lastAnchorNode || sel.anchorOffset != this.lastAnchorOffset ||
1758
+ sel.focusNode != this.lastFocusNode || sel.focusOffset != this.lastFocusOffset;
1759
+ },
1760
+
1761
+ pollSelection: function() {
1762
+ if (!this.composing && !this.gracePeriod && this.selectionChanged()) {
1763
+ var sel = window.getSelection(), cm = this.cm;
1764
+ this.rememberSelection();
1765
+ var anchor = domToPos(cm, sel.anchorNode, sel.anchorOffset);
1766
+ var head = domToPos(cm, sel.focusNode, sel.focusOffset);
1767
+ if (anchor && head) runInOp(cm, function() {
1768
+ setSelection(cm.doc, simpleSelection(anchor, head), sel_dontScroll);
1769
+ if (anchor.bad || head.bad) cm.curOp.selectionChanged = true;
1770
+ });
1771
+ }
1772
+ },
1773
+
1774
+ pollContent: function() {
1775
+ var cm = this.cm, display = cm.display, sel = cm.doc.sel.primary();
1776
+ var from = sel.from(), to = sel.to();
1777
+ if (from.line < display.viewFrom || to.line > display.viewTo - 1) return false;
1778
+
1779
+ var fromIndex;
1780
+ if (from.line == display.viewFrom || (fromIndex = findViewIndex(cm, from.line)) == 0) {
1781
+ var fromLine = lineNo(display.view[0].line);
1782
+ var fromNode = display.view[0].node;
1783
+ } else {
1784
+ var fromLine = lineNo(display.view[fromIndex].line);
1785
+ var fromNode = display.view[fromIndex - 1].node.nextSibling;
1786
+ }
1787
+ var toIndex = findViewIndex(cm, to.line);
1788
+ if (toIndex == display.view.length - 1) {
1789
+ var toLine = display.viewTo - 1;
1790
+ var toNode = display.lineDiv.lastChild;
1791
+ } else {
1792
+ var toLine = lineNo(display.view[toIndex + 1].line) - 1;
1793
+ var toNode = display.view[toIndex + 1].node.previousSibling;
1794
+ }
1795
+
1796
+ var newText = cm.doc.splitLines(domTextBetween(cm, fromNode, toNode, fromLine, toLine));
1797
+ var oldText = getBetween(cm.doc, Pos(fromLine, 0), Pos(toLine, getLine(cm.doc, toLine).text.length));
1798
+ while (newText.length > 1 && oldText.length > 1) {
1799
+ if (lst(newText) == lst(oldText)) { newText.pop(); oldText.pop(); toLine--; }
1800
+ else if (newText[0] == oldText[0]) { newText.shift(); oldText.shift(); fromLine++; }
1801
+ else break;
1802
+ }
1803
+
1804
+ var cutFront = 0, cutEnd = 0;
1805
+ var newTop = newText[0], oldTop = oldText[0], maxCutFront = Math.min(newTop.length, oldTop.length);
1806
+ while (cutFront < maxCutFront && newTop.charCodeAt(cutFront) == oldTop.charCodeAt(cutFront))
1807
+ ++cutFront;
1808
+ var newBot = lst(newText), oldBot = lst(oldText);
1809
+ var maxCutEnd = Math.min(newBot.length - (newText.length == 1 ? cutFront : 0),
1810
+ oldBot.length - (oldText.length == 1 ? cutFront : 0));
1811
+ while (cutEnd < maxCutEnd &&
1812
+ newBot.charCodeAt(newBot.length - cutEnd - 1) == oldBot.charCodeAt(oldBot.length - cutEnd - 1))
1813
+ ++cutEnd;
1814
+
1815
+ newText[newText.length - 1] = newBot.slice(0, newBot.length - cutEnd);
1816
+ newText[0] = newText[0].slice(cutFront);
1817
+
1818
+ var chFrom = Pos(fromLine, cutFront);
1819
+ var chTo = Pos(toLine, oldText.length ? lst(oldText).length - cutEnd : 0);
1820
+ if (newText.length > 1 || newText[0] || cmp(chFrom, chTo)) {
1821
+ replaceRange(cm.doc, newText, chFrom, chTo, "+input");
1822
+ return true;
1823
+ }
1824
+ },
1825
+
1826
+ ensurePolled: function() {
1827
+ this.forceCompositionEnd();
1828
+ },
1829
+ reset: function() {
1830
+ this.forceCompositionEnd();
1831
+ },
1832
+ forceCompositionEnd: function() {
1833
+ if (!this.composing || this.composing.handled) return;
1834
+ this.applyComposition(this.composing);
1835
+ this.composing.handled = true;
1836
+ this.div.blur();
1837
+ this.div.focus();
1838
+ },
1839
+ applyComposition: function(composing) {
1840
+ if (isReadOnly(this.cm))
1841
+ operation(this.cm, regChange)(this.cm)
1842
+ else if (composing.data && composing.data != composing.startData)
1843
+ operation(this.cm, applyTextInput)(this.cm, composing.data, 0, composing.sel);
1844
+ },
1845
+
1846
+ setUneditable: function(node) {
1847
+ node.contentEditable = "false"
1848
+ },
1849
+
1850
+ onKeyPress: function(e) {
1851
+ e.preventDefault();
1852
+ if (!isReadOnly(this.cm))
1853
+ operation(this.cm, applyTextInput)(this.cm, String.fromCharCode(e.charCode == null ? e.keyCode : e.charCode), 0);
1854
+ },
1855
+
1856
+ readOnlyChanged: function(val) {
1857
+ this.div.contentEditable = String(val != "nocursor")
1858
+ },
1859
+
1860
+ onContextMenu: nothing,
1861
+ resetPosition: nothing,
1862
+
1863
+ needsContentAttribute: true
1864
+ }, ContentEditableInput.prototype);
1865
+
1866
+ function posToDOM(cm, pos) {
1867
+ var view = findViewForLine(cm, pos.line);
1868
+ if (!view || view.hidden) return null;
1869
+ var line = getLine(cm.doc, pos.line);
1870
+ var info = mapFromLineView(view, line, pos.line);
1871
+
1872
+ var order = getOrder(line), side = "left";
1873
+ if (order) {
1874
+ var partPos = getBidiPartAt(order, pos.ch);
1875
+ side = partPos % 2 ? "right" : "left";
1876
+ }
1877
+ var result = nodeAndOffsetInLineMap(info.map, pos.ch, side);
1878
+ result.offset = result.collapse == "right" ? result.end : result.start;
1879
+ return result;
1880
+ }
1881
+
1882
+ function badPos(pos, bad) { if (bad) pos.bad = true; return pos; }
1883
+
1884
+ function domToPos(cm, node, offset) {
1885
+ var lineNode;
1886
+ if (node == cm.display.lineDiv) {
1887
+ lineNode = cm.display.lineDiv.childNodes[offset];
1888
+ if (!lineNode) return badPos(cm.clipPos(Pos(cm.display.viewTo - 1)), true);
1889
+ node = null; offset = 0;
1890
+ } else {
1891
+ for (lineNode = node;; lineNode = lineNode.parentNode) {
1892
+ if (!lineNode || lineNode == cm.display.lineDiv) return null;
1893
+ if (lineNode.parentNode && lineNode.parentNode == cm.display.lineDiv) break;
1894
+ }
1895
+ }
1896
+ for (var i = 0; i < cm.display.view.length; i++) {
1897
+ var lineView = cm.display.view[i];
1898
+ if (lineView.node == lineNode)
1899
+ return locateNodeInLineView(lineView, node, offset);
1900
+ }
1901
+ }
1902
+
1903
+ function locateNodeInLineView(lineView, node, offset) {
1904
+ var wrapper = lineView.text.firstChild, bad = false;
1905
+ if (!node || !contains(wrapper, node)) return badPos(Pos(lineNo(lineView.line), 0), true);
1906
+ if (node == wrapper) {
1907
+ bad = true;
1908
+ node = wrapper.childNodes[offset];
1909
+ offset = 0;
1910
+ if (!node) {
1911
+ var line = lineView.rest ? lst(lineView.rest) : lineView.line;
1912
+ return badPos(Pos(lineNo(line), line.text.length), bad);
1913
+ }
1914
+ }
1915
+
1916
+ var textNode = node.nodeType == 3 ? node : null, topNode = node;
1917
+ if (!textNode && node.childNodes.length == 1 && node.firstChild.nodeType == 3) {
1918
+ textNode = node.firstChild;
1919
+ if (offset) offset = textNode.nodeValue.length;
1920
+ }
1921
+ while (topNode.parentNode != wrapper) topNode = topNode.parentNode;
1922
+ var measure = lineView.measure, maps = measure.maps;
1923
+
1924
+ function find(textNode, topNode, offset) {
1925
+ for (var i = -1; i < (maps ? maps.length : 0); i++) {
1926
+ var map = i < 0 ? measure.map : maps[i];
1927
+ for (var j = 0; j < map.length; j += 3) {
1928
+ var curNode = map[j + 2];
1929
+ if (curNode == textNode || curNode == topNode) {
1930
+ var line = lineNo(i < 0 ? lineView.line : lineView.rest[i]);
1931
+ var ch = map[j] + offset;
1932
+ if (offset < 0 || curNode != textNode) ch = map[j + (offset ? 1 : 0)];
1933
+ return Pos(line, ch);
1934
+ }
1935
+ }
1936
+ }
1937
+ }
1938
+ var found = find(textNode, topNode, offset);
1939
+ if (found) return badPos(found, bad);
1940
+
1941
+ // FIXME this is all really shaky. might handle the few cases it needs to handle, but likely to cause problems
1942
+ for (var after = topNode.nextSibling, dist = textNode ? textNode.nodeValue.length - offset : 0; after; after = after.nextSibling) {
1943
+ found = find(after, after.firstChild, 0);
1944
+ if (found)
1945
+ return badPos(Pos(found.line, found.ch - dist), bad);
1946
+ else
1947
+ dist += after.textContent.length;
1948
+ }
1949
+ for (var before = topNode.previousSibling, dist = offset; before; before = before.previousSibling) {
1950
+ found = find(before, before.firstChild, -1);
1951
+ if (found)
1952
+ return badPos(Pos(found.line, found.ch + dist), bad);
1953
+ else
1954
+ dist += after.textContent.length;
1955
+ }
1956
+ }
1957
+
1958
+ function domTextBetween(cm, from, to, fromLine, toLine) {
1959
+ var text = "", closing = false, lineSep = cm.doc.lineSeparator();
1960
+ function recognizeMarker(id) { return function(marker) { return marker.id == id; }; }
1961
+ function walk(node) {
1962
+ if (node.nodeType == 1) {
1963
+ var cmText = node.getAttribute("cm-text");
1964
+ if (cmText != null) {
1965
+ if (cmText == "") cmText = node.textContent.replace(/\u200b/g, "");
1966
+ text += cmText;
1967
+ return;
1968
+ }
1969
+ var markerID = node.getAttribute("cm-marker"), range;
1970
+ if (markerID) {
1971
+ var found = cm.findMarks(Pos(fromLine, 0), Pos(toLine + 1, 0), recognizeMarker(+markerID));
1972
+ if (found.length && (range = found[0].find()))
1973
+ text += getBetween(cm.doc, range.from, range.to).join(lineSep);
1974
+ return;
1975
+ }
1976
+ if (node.getAttribute("contenteditable") == "false") return;
1977
+ for (var i = 0; i < node.childNodes.length; i++)
1978
+ walk(node.childNodes[i]);
1979
+ if (/^(pre|div|p)$/i.test(node.nodeName))
1980
+ closing = true;
1981
+ } else if (node.nodeType == 3) {
1982
+ var val = node.nodeValue;
1983
+ if (!val) return;
1984
+ if (closing) {
1985
+ text += lineSep;
1986
+ closing = false;
1987
+ }
1988
+ text += val;
1989
+ }
1990
+ }
1991
+ for (;;) {
1992
+ walk(from);
1993
+ if (from == to) break;
1994
+ from = from.nextSibling;
1995
+ }
1996
+ return text;
1997
+ }
1998
+
1999
+ CodeMirror.inputStyles = {"textarea": TextareaInput, "contenteditable": ContentEditableInput};
2000
+
2001
+ // SELECTION / CURSOR
2002
+
2003
+ // Selection objects are immutable. A new one is created every time
2004
+ // the selection changes. A selection is one or more non-overlapping
2005
+ // (and non-touching) ranges, sorted, and an integer that indicates
2006
+ // which one is the primary selection (the one that's scrolled into
2007
+ // view, that getCursor returns, etc).
2008
+ function Selection(ranges, primIndex) {
2009
+ this.ranges = ranges;
2010
+ this.primIndex = primIndex;
2011
+ }
2012
+
2013
+ Selection.prototype = {
2014
+ primary: function() { return this.ranges[this.primIndex]; },
2015
+ equals: function(other) {
2016
+ if (other == this) return true;
2017
+ if (other.primIndex != this.primIndex || other.ranges.length != this.ranges.length) return false;
2018
+ for (var i = 0; i < this.ranges.length; i++) {
2019
+ var here = this.ranges[i], there = other.ranges[i];
2020
+ if (cmp(here.anchor, there.anchor) != 0 || cmp(here.head, there.head) != 0) return false;
2021
+ }
2022
+ return true;
2023
+ },
2024
+ deepCopy: function() {
2025
+ for (var out = [], i = 0; i < this.ranges.length; i++)
2026
+ out[i] = new Range(copyPos(this.ranges[i].anchor), copyPos(this.ranges[i].head));
2027
+ return new Selection(out, this.primIndex);
2028
+ },
2029
+ somethingSelected: function() {
2030
+ for (var i = 0; i < this.ranges.length; i++)
2031
+ if (!this.ranges[i].empty()) return true;
2032
+ return false;
2033
+ },
2034
+ contains: function(pos, end) {
2035
+ if (!end) end = pos;
2036
+ for (var i = 0; i < this.ranges.length; i++) {
2037
+ var range = this.ranges[i];
2038
+ if (cmp(end, range.from()) >= 0 && cmp(pos, range.to()) <= 0)
2039
+ return i;
2040
+ }
2041
+ return -1;
2042
+ }
2043
+ };
2044
+
2045
+ function Range(anchor, head) {
2046
+ this.anchor = anchor; this.head = head;
2047
+ }
2048
+
2049
+ Range.prototype = {
2050
+ from: function() { return minPos(this.anchor, this.head); },
2051
+ to: function() { return maxPos(this.anchor, this.head); },
2052
+ empty: function() {
2053
+ return this.head.line == this.anchor.line && this.head.ch == this.anchor.ch;
2054
+ }
2055
+ };
2056
+
2057
+ // Take an unsorted, potentially overlapping set of ranges, and
2058
+ // build a selection out of it. 'Consumes' ranges array (modifying
2059
+ // it).
2060
+ function normalizeSelection(ranges, primIndex) {
2061
+ var prim = ranges[primIndex];
2062
+ ranges.sort(function(a, b) { return cmp(a.from(), b.from()); });
2063
+ primIndex = indexOf(ranges, prim);
2064
+ for (var i = 1; i < ranges.length; i++) {
2065
+ var cur = ranges[i], prev = ranges[i - 1];
2066
+ if (cmp(prev.to(), cur.from()) >= 0) {
2067
+ var from = minPos(prev.from(), cur.from()), to = maxPos(prev.to(), cur.to());
2068
+ var inv = prev.empty() ? cur.from() == cur.head : prev.from() == prev.head;
2069
+ if (i <= primIndex) --primIndex;
2070
+ ranges.splice(--i, 2, new Range(inv ? to : from, inv ? from : to));
2071
+ }
2072
+ }
2073
+ return new Selection(ranges, primIndex);
2074
+ }
2075
+
2076
+ function simpleSelection(anchor, head) {
2077
+ return new Selection([new Range(anchor, head || anchor)], 0);
2078
+ }
2079
+
2080
+ // Most of the external API clips given positions to make sure they
2081
+ // actually exist within the document.
2082
+ function clipLine(doc, n) {return Math.max(doc.first, Math.min(n, doc.first + doc.size - 1));}
2083
+ function clipPos(doc, pos) {
2084
+ if (pos.line < doc.first) return Pos(doc.first, 0);
2085
+ var last = doc.first + doc.size - 1;
2086
+ if (pos.line > last) return Pos(last, getLine(doc, last).text.length);
2087
+ return clipToLen(pos, getLine(doc, pos.line).text.length);
2088
+ }
2089
+ function clipToLen(pos, linelen) {
2090
+ var ch = pos.ch;
2091
+ if (ch == null || ch > linelen) return Pos(pos.line, linelen);
2092
+ else if (ch < 0) return Pos(pos.line, 0);
2093
+ else return pos;
2094
+ }
2095
+ function isLine(doc, l) {return l >= doc.first && l < doc.first + doc.size;}
2096
+ function clipPosArray(doc, array) {
2097
+ for (var out = [], i = 0; i < array.length; i++) out[i] = clipPos(doc, array[i]);
2098
+ return out;
2099
+ }
2100
+
2101
+ // SELECTION UPDATES
2102
+
2103
+ // The 'scroll' parameter given to many of these indicated whether
2104
+ // the new cursor position should be scrolled into view after
2105
+ // modifying the selection.
2106
+
2107
+ // If shift is held or the extend flag is set, extends a range to
2108
+ // include a given position (and optionally a second position).
2109
+ // Otherwise, simply returns the range between the given positions.
2110
+ // Used for cursor motion and such.
2111
+ function extendRange(doc, range, head, other) {
2112
+ if (doc.cm && doc.cm.display.shift || doc.extend) {
2113
+ var anchor = range.anchor;
2114
+ if (other) {
2115
+ var posBefore = cmp(head, anchor) < 0;
2116
+ if (posBefore != (cmp(other, anchor) < 0)) {
2117
+ anchor = head;
2118
+ head = other;
2119
+ } else if (posBefore != (cmp(head, other) < 0)) {
2120
+ head = other;
2121
+ }
2122
+ }
2123
+ return new Range(anchor, head);
2124
+ } else {
2125
+ return new Range(other || head, head);
2126
+ }
2127
+ }
2128
+
2129
+ // Extend the primary selection range, discard the rest.
2130
+ function extendSelection(doc, head, other, options) {
2131
+ setSelection(doc, new Selection([extendRange(doc, doc.sel.primary(), head, other)], 0), options);
2132
+ }
2133
+
2134
+ // Extend all selections (pos is an array of selections with length
2135
+ // equal the number of selections)
2136
+ function extendSelections(doc, heads, options) {
2137
+ for (var out = [], i = 0; i < doc.sel.ranges.length; i++)
2138
+ out[i] = extendRange(doc, doc.sel.ranges[i], heads[i], null);
2139
+ var newSel = normalizeSelection(out, doc.sel.primIndex);
2140
+ setSelection(doc, newSel, options);
2141
+ }
2142
+
2143
+ // Updates a single range in the selection.
2144
+ function replaceOneSelection(doc, i, range, options) {
2145
+ var ranges = doc.sel.ranges.slice(0);
2146
+ ranges[i] = range;
2147
+ setSelection(doc, normalizeSelection(ranges, doc.sel.primIndex), options);
2148
+ }
2149
+
2150
+ // Reset the selection to a single range.
2151
+ function setSimpleSelection(doc, anchor, head, options) {
2152
+ setSelection(doc, simpleSelection(anchor, head), options);
2153
+ }
2154
+
2155
+ // Give beforeSelectionChange handlers a change to influence a
2156
+ // selection update.
2157
+ function filterSelectionChange(doc, sel) {
2158
+ var obj = {
2159
+ ranges: sel.ranges,
2160
+ update: function(ranges) {
2161
+ this.ranges = [];
2162
+ for (var i = 0; i < ranges.length; i++)
2163
+ this.ranges[i] = new Range(clipPos(doc, ranges[i].anchor),
2164
+ clipPos(doc, ranges[i].head));
2165
+ }
2166
+ };
2167
+ signal(doc, "beforeSelectionChange", doc, obj);
2168
+ if (doc.cm) signal(doc.cm, "beforeSelectionChange", doc.cm, obj);
2169
+ if (obj.ranges != sel.ranges) return normalizeSelection(obj.ranges, obj.ranges.length - 1);
2170
+ else return sel;
2171
+ }
2172
+
2173
+ function setSelectionReplaceHistory(doc, sel, options) {
2174
+ var done = doc.history.done, last = lst(done);
2175
+ if (last && last.ranges) {
2176
+ done[done.length - 1] = sel;
2177
+ setSelectionNoUndo(doc, sel, options);
2178
+ } else {
2179
+ setSelection(doc, sel, options);
2180
+ }
2181
+ }
2182
+
2183
+ // Set a new selection.
2184
+ function setSelection(doc, sel, options) {
2185
+ setSelectionNoUndo(doc, sel, options);
2186
+ addSelectionToHistory(doc, doc.sel, doc.cm ? doc.cm.curOp.id : NaN, options);
2187
+ }
2188
+
2189
+ function setSelectionNoUndo(doc, sel, options) {
2190
+ if (hasHandler(doc, "beforeSelectionChange") || doc.cm && hasHandler(doc.cm, "beforeSelectionChange"))
2191
+ sel = filterSelectionChange(doc, sel);
2192
+
2193
+ var bias = options && options.bias ||
2194
+ (cmp(sel.primary().head, doc.sel.primary().head) < 0 ? -1 : 1);
2195
+ setSelectionInner(doc, skipAtomicInSelection(doc, sel, bias, true));
2196
+
2197
+ if (!(options && options.scroll === false) && doc.cm)
2198
+ ensureCursorVisible(doc.cm);
2199
+ }
2200
+
2201
+ function setSelectionInner(doc, sel) {
2202
+ if (sel.equals(doc.sel)) return;
2203
+
2204
+ doc.sel = sel;
2205
+
2206
+ if (doc.cm) {
2207
+ doc.cm.curOp.updateInput = doc.cm.curOp.selectionChanged = true;
2208
+ signalCursorActivity(doc.cm);
2209
+ }
2210
+ signalLater(doc, "cursorActivity", doc);
2211
+ }
2212
+
2213
+ // Verify that the selection does not partially select any atomic
2214
+ // marked ranges.
2215
+ function reCheckSelection(doc) {
2216
+ setSelectionInner(doc, skipAtomicInSelection(doc, doc.sel, null, false), sel_dontScroll);
2217
+ }
2218
+
2219
+ // Return a selection that does not partially select any atomic
2220
+ // ranges.
2221
+ function skipAtomicInSelection(doc, sel, bias, mayClear) {
2222
+ var out;
2223
+ for (var i = 0; i < sel.ranges.length; i++) {
2224
+ var range = sel.ranges[i];
2225
+ var newAnchor = skipAtomic(doc, range.anchor, bias, mayClear);
2226
+ var newHead = skipAtomic(doc, range.head, bias, mayClear);
2227
+ if (out || newAnchor != range.anchor || newHead != range.head) {
2228
+ if (!out) out = sel.ranges.slice(0, i);
2229
+ out[i] = new Range(newAnchor, newHead);
2230
+ }
2231
+ }
2232
+ return out ? normalizeSelection(out, sel.primIndex) : sel;
2233
+ }
2234
+
2235
+ // Ensure a given position is not inside an atomic range.
2236
+ function skipAtomic(doc, pos, bias, mayClear) {
2237
+ var flipped = false, curPos = pos;
2238
+ var dir = bias || 1;
2239
+ doc.cantEdit = false;
2240
+ search: for (;;) {
2241
+ var line = getLine(doc, curPos.line);
2242
+ if (line.markedSpans) {
2243
+ for (var i = 0; i < line.markedSpans.length; ++i) {
2244
+ var sp = line.markedSpans[i], m = sp.marker;
2245
+ if ((sp.from == null || (m.inclusiveLeft ? sp.from <= curPos.ch : sp.from < curPos.ch)) &&
2246
+ (sp.to == null || (m.inclusiveRight ? sp.to >= curPos.ch : sp.to > curPos.ch))) {
2247
+ if (mayClear) {
2248
+ signal(m, "beforeCursorEnter");
2249
+ if (m.explicitlyCleared) {
2250
+ if (!line.markedSpans) break;
2251
+ else {--i; continue;}
2252
+ }
2253
+ }
2254
+ if (!m.atomic) continue;
2255
+ var newPos = m.find(dir < 0 ? -1 : 1);
2256
+ if (cmp(newPos, curPos) == 0) {
2257
+ newPos.ch += dir;
2258
+ if (newPos.ch < 0) {
2259
+ if (newPos.line > doc.first) newPos = clipPos(doc, Pos(newPos.line - 1));
2260
+ else newPos = null;
2261
+ } else if (newPos.ch > line.text.length) {
2262
+ if (newPos.line < doc.first + doc.size - 1) newPos = Pos(newPos.line + 1, 0);
2263
+ else newPos = null;
2264
+ }
2265
+ if (!newPos) {
2266
+ if (flipped) {
2267
+ // Driven in a corner -- no valid cursor position found at all
2268
+ // -- try again *with* clearing, if we didn't already
2269
+ if (!mayClear) return skipAtomic(doc, pos, bias, true);
2270
+ // Otherwise, turn off editing until further notice, and return the start of the doc
2271
+ doc.cantEdit = true;
2272
+ return Pos(doc.first, 0);
2273
+ }
2274
+ flipped = true; newPos = pos; dir = -dir;
2275
+ }
2276
+ }
2277
+ curPos = newPos;
2278
+ continue search;
2279
+ }
2280
+ }
2281
+ }
2282
+ return curPos;
2283
+ }
2284
+ }
2285
+
2286
+ // SELECTION DRAWING
2287
+
2288
+ function updateSelection(cm) {
2289
+ cm.display.input.showSelection(cm.display.input.prepareSelection());
2290
+ }
2291
+
2292
+ function prepareSelection(cm, primary) {
2293
+ var doc = cm.doc, result = {};
2294
+ var curFragment = result.cursors = document.createDocumentFragment();
2295
+ var selFragment = result.selection = document.createDocumentFragment();
2296
+
2297
+ for (var i = 0; i < doc.sel.ranges.length; i++) {
2298
+ if (primary === false && i == doc.sel.primIndex) continue;
2299
+ var range = doc.sel.ranges[i];
2300
+ var collapsed = range.empty();
2301
+ if (collapsed || cm.options.showCursorWhenSelecting)
2302
+ drawSelectionCursor(cm, range.head, curFragment);
2303
+ if (!collapsed)
2304
+ drawSelectionRange(cm, range, selFragment);
2305
+ }
2306
+ return result;
2307
+ }
2308
+
2309
+ // Draws a cursor for the given range
2310
+ function drawSelectionCursor(cm, head, output) {
2311
+ var pos = cursorCoords(cm, head, "div", null, null, !cm.options.singleCursorHeightPerLine);
2312
+
2313
+ var cursor = output.appendChild(elt("div", "\u00a0", "CodeMirror-cursor"));
2314
+ cursor.style.left = pos.left + "px";
2315
+ cursor.style.top = pos.top + "px";
2316
+ cursor.style.height = Math.max(0, pos.bottom - pos.top) * cm.options.cursorHeight + "px";
2317
+
2318
+ if (pos.other) {
2319
+ // Secondary cursor, shown when on a 'jump' in bi-directional text
2320
+ var otherCursor = output.appendChild(elt("div", "\u00a0", "CodeMirror-cursor CodeMirror-secondarycursor"));
2321
+ otherCursor.style.display = "";
2322
+ otherCursor.style.left = pos.other.left + "px";
2323
+ otherCursor.style.top = pos.other.top + "px";
2324
+ otherCursor.style.height = (pos.other.bottom - pos.other.top) * .85 + "px";
2325
+ }
2326
+ }
2327
+
2328
+ // Draws the given range as a highlighted selection
2329
+ function drawSelectionRange(cm, range, output) {
2330
+ var display = cm.display, doc = cm.doc;
2331
+ var fragment = document.createDocumentFragment();
2332
+ var padding = paddingH(cm.display), leftSide = padding.left;
2333
+ var rightSide = Math.max(display.sizerWidth, displayWidth(cm) - display.sizer.offsetLeft) - padding.right;
2334
+
2335
+ function add(left, top, width, bottom) {
2336
+ if (top < 0) top = 0;
2337
+ top = Math.round(top);
2338
+ bottom = Math.round(bottom);
2339
+ fragment.appendChild(elt("div", null, "CodeMirror-selected", "position: absolute; left: " + left +
2340
+ "px; top: " + top + "px; width: " + (width == null ? rightSide - left : width) +
2341
+ "px; height: " + (bottom - top) + "px"));
2342
+ }
2343
+
2344
+ function drawForLine(line, fromArg, toArg) {
2345
+ var lineObj = getLine(doc, line);
2346
+ var lineLen = lineObj.text.length;
2347
+ var start, end;
2348
+ function coords(ch, bias) {
2349
+ return charCoords(cm, Pos(line, ch), "div", lineObj, bias);
2350
+ }
2351
+
2352
+ iterateBidiSections(getOrder(lineObj), fromArg || 0, toArg == null ? lineLen : toArg, function(from, to, dir) {
2353
+ var leftPos = coords(from, "left"), rightPos, left, right;
2354
+ if (from == to) {
2355
+ rightPos = leftPos;
2356
+ left = right = leftPos.left;
2357
+ } else {
2358
+ rightPos = coords(to - 1, "right");
2359
+ if (dir == "rtl") { var tmp = leftPos; leftPos = rightPos; rightPos = tmp; }
2360
+ left = leftPos.left;
2361
+ right = rightPos.right;
2362
+ }
2363
+ if (fromArg == null && from == 0) left = leftSide;
2364
+ if (rightPos.top - leftPos.top > 3) { // Different lines, draw top part
2365
+ add(left, leftPos.top, null, leftPos.bottom);
2366
+ left = leftSide;
2367
+ if (leftPos.bottom < rightPos.top) add(left, leftPos.bottom, null, rightPos.top);
2368
+ }
2369
+ if (toArg == null && to == lineLen) right = rightSide;
2370
+ if (!start || leftPos.top < start.top || leftPos.top == start.top && leftPos.left < start.left)
2371
+ start = leftPos;
2372
+ if (!end || rightPos.bottom > end.bottom || rightPos.bottom == end.bottom && rightPos.right > end.right)
2373
+ end = rightPos;
2374
+ if (left < leftSide + 1) left = leftSide;
2375
+ add(left, rightPos.top, right - left, rightPos.bottom);
2376
+ });
2377
+ return {start: start, end: end};
2378
+ }
2379
+
2380
+ var sFrom = range.from(), sTo = range.to();
2381
+ if (sFrom.line == sTo.line) {
2382
+ drawForLine(sFrom.line, sFrom.ch, sTo.ch);
2383
+ } else {
2384
+ var fromLine = getLine(doc, sFrom.line), toLine = getLine(doc, sTo.line);
2385
+ var singleVLine = visualLine(fromLine) == visualLine(toLine);
2386
+ var leftEnd = drawForLine(sFrom.line, sFrom.ch, singleVLine ? fromLine.text.length + 1 : null).end;
2387
+ var rightStart = drawForLine(sTo.line, singleVLine ? 0 : null, sTo.ch).start;
2388
+ if (singleVLine) {
2389
+ if (leftEnd.top < rightStart.top - 2) {
2390
+ add(leftEnd.right, leftEnd.top, null, leftEnd.bottom);
2391
+ add(leftSide, rightStart.top, rightStart.left, rightStart.bottom);
2392
+ } else {
2393
+ add(leftEnd.right, leftEnd.top, rightStart.left - leftEnd.right, leftEnd.bottom);
2394
+ }
2395
+ }
2396
+ if (leftEnd.bottom < rightStart.top)
2397
+ add(leftSide, leftEnd.bottom, null, rightStart.top);
2398
+ }
2399
+
2400
+ output.appendChild(fragment);
2401
+ }
2402
+
2403
+ // Cursor-blinking
2404
+ function restartBlink(cm) {
2405
+ if (!cm.state.focused) return;
2406
+ var display = cm.display;
2407
+ clearInterval(display.blinker);
2408
+ var on = true;
2409
+ display.cursorDiv.style.visibility = "";
2410
+ if (cm.options.cursorBlinkRate > 0)
2411
+ display.blinker = setInterval(function() {
2412
+ display.cursorDiv.style.visibility = (on = !on) ? "" : "hidden";
2413
+ }, cm.options.cursorBlinkRate);
2414
+ else if (cm.options.cursorBlinkRate < 0)
2415
+ display.cursorDiv.style.visibility = "hidden";
2416
+ }
2417
+
2418
+ // HIGHLIGHT WORKER
2419
+
2420
+ function startWorker(cm, time) {
2421
+ if (cm.doc.mode.startState && cm.doc.frontier < cm.display.viewTo)
2422
+ cm.state.highlight.set(time, bind(highlightWorker, cm));
2423
+ }
2424
+
2425
+ function highlightWorker(cm) {
2426
+ var doc = cm.doc;
2427
+ if (doc.frontier < doc.first) doc.frontier = doc.first;
2428
+ if (doc.frontier >= cm.display.viewTo) return;
2429
+ var end = +new Date + cm.options.workTime;
2430
+ var state = copyState(doc.mode, getStateBefore(cm, doc.frontier));
2431
+ var changedLines = [];
2432
+
2433
+ doc.iter(doc.frontier, Math.min(doc.first + doc.size, cm.display.viewTo + 500), function(line) {
2434
+ if (doc.frontier >= cm.display.viewFrom) { // Visible
2435
+ var oldStyles = line.styles, tooLong = line.text.length > cm.options.maxHighlightLength;
2436
+ var highlighted = highlightLine(cm, line, tooLong ? copyState(doc.mode, state) : state, true);
2437
+ line.styles = highlighted.styles;
2438
+ var oldCls = line.styleClasses, newCls = highlighted.classes;
2439
+ if (newCls) line.styleClasses = newCls;
2440
+ else if (oldCls) line.styleClasses = null;
2441
+ var ischange = !oldStyles || oldStyles.length != line.styles.length ||
2442
+ oldCls != newCls && (!oldCls || !newCls || oldCls.bgClass != newCls.bgClass || oldCls.textClass != newCls.textClass);
2443
+ for (var i = 0; !ischange && i < oldStyles.length; ++i) ischange = oldStyles[i] != line.styles[i];
2444
+ if (ischange) changedLines.push(doc.frontier);
2445
+ line.stateAfter = tooLong ? state : copyState(doc.mode, state);
2446
+ } else {
2447
+ if (line.text.length <= cm.options.maxHighlightLength)
2448
+ processLine(cm, line.text, state);
2449
+ line.stateAfter = doc.frontier % 5 == 0 ? copyState(doc.mode, state) : null;
2450
+ }
2451
+ ++doc.frontier;
2452
+ if (+new Date > end) {
2453
+ startWorker(cm, cm.options.workDelay);
2454
+ return true;
2455
+ }
2456
+ });
2457
+ if (changedLines.length) runInOp(cm, function() {
2458
+ for (var i = 0; i < changedLines.length; i++)
2459
+ regLineChange(cm, changedLines[i], "text");
2460
+ });
2461
+ }
2462
+
2463
+ // Finds the line to start with when starting a parse. Tries to
2464
+ // find a line with a stateAfter, so that it can start with a
2465
+ // valid state. If that fails, it returns the line with the
2466
+ // smallest indentation, which tends to need the least context to
2467
+ // parse correctly.
2468
+ function findStartLine(cm, n, precise) {
2469
+ var minindent, minline, doc = cm.doc;
2470
+ var lim = precise ? -1 : n - (cm.doc.mode.innerMode ? 1000 : 100);
2471
+ for (var search = n; search > lim; --search) {
2472
+ if (search <= doc.first) return doc.first;
2473
+ var line = getLine(doc, search - 1);
2474
+ if (line.stateAfter && (!precise || search <= doc.frontier)) return search;
2475
+ var indented = countColumn(line.text, null, cm.options.tabSize);
2476
+ if (minline == null || minindent > indented) {
2477
+ minline = search - 1;
2478
+ minindent = indented;
2479
+ }
2480
+ }
2481
+ return minline;
2482
+ }
2483
+
2484
+ function getStateBefore(cm, n, precise) {
2485
+ var doc = cm.doc, display = cm.display;
2486
+ if (!doc.mode.startState) return true;
2487
+ var pos = findStartLine(cm, n, precise), state = pos > doc.first && getLine(doc, pos-1).stateAfter;
2488
+ if (!state) state = startState(doc.mode);
2489
+ else state = copyState(doc.mode, state);
2490
+ doc.iter(pos, n, function(line) {
2491
+ processLine(cm, line.text, state);
2492
+ var save = pos == n - 1 || pos % 5 == 0 || pos >= display.viewFrom && pos < display.viewTo;
2493
+ line.stateAfter = save ? copyState(doc.mode, state) : null;
2494
+ ++pos;
2495
+ });
2496
+ if (precise) doc.frontier = pos;
2497
+ return state;
2498
+ }
2499
+
2500
+ // POSITION MEASUREMENT
2501
+
2502
+ function paddingTop(display) {return display.lineSpace.offsetTop;}
2503
+ function paddingVert(display) {return display.mover.offsetHeight - display.lineSpace.offsetHeight;}
2504
+ function paddingH(display) {
2505
+ if (display.cachedPaddingH) return display.cachedPaddingH;
2506
+ var e = removeChildrenAndAdd(display.measure, elt("pre", "x"));
2507
+ var style = window.getComputedStyle ? window.getComputedStyle(e) : e.currentStyle;
2508
+ var data = {left: parseInt(style.paddingLeft), right: parseInt(style.paddingRight)};
2509
+ if (!isNaN(data.left) && !isNaN(data.right)) display.cachedPaddingH = data;
2510
+ return data;
2511
+ }
2512
+
2513
+ function scrollGap(cm) { return scrollerGap - cm.display.nativeBarWidth; }
2514
+ function displayWidth(cm) {
2515
+ return cm.display.scroller.clientWidth - scrollGap(cm) - cm.display.barWidth;
2516
+ }
2517
+ function displayHeight(cm) {
2518
+ return cm.display.scroller.clientHeight - scrollGap(cm) - cm.display.barHeight;
2519
+ }
2520
+
2521
+ // Ensure the lineView.wrapping.heights array is populated. This is
2522
+ // an array of bottom offsets for the lines that make up a drawn
2523
+ // line. When lineWrapping is on, there might be more than one
2524
+ // height.
2525
+ function ensureLineHeights(cm, lineView, rect) {
2526
+ var wrapping = cm.options.lineWrapping;
2527
+ var curWidth = wrapping && displayWidth(cm);
2528
+ if (!lineView.measure.heights || wrapping && lineView.measure.width != curWidth) {
2529
+ var heights = lineView.measure.heights = [];
2530
+ if (wrapping) {
2531
+ lineView.measure.width = curWidth;
2532
+ var rects = lineView.text.firstChild.getClientRects();
2533
+ for (var i = 0; i < rects.length - 1; i++) {
2534
+ var cur = rects[i], next = rects[i + 1];
2535
+ if (Math.abs(cur.bottom - next.bottom) > 2)
2536
+ heights.push((cur.bottom + next.top) / 2 - rect.top);
2537
+ }
2538
+ }
2539
+ heights.push(rect.bottom - rect.top);
2540
+ }
2541
+ }
2542
+
2543
+ // Find a line map (mapping character offsets to text nodes) and a
2544
+ // measurement cache for the given line number. (A line view might
2545
+ // contain multiple lines when collapsed ranges are present.)
2546
+ function mapFromLineView(lineView, line, lineN) {
2547
+ if (lineView.line == line)
2548
+ return {map: lineView.measure.map, cache: lineView.measure.cache};
2549
+ for (var i = 0; i < lineView.rest.length; i++)
2550
+ if (lineView.rest[i] == line)
2551
+ return {map: lineView.measure.maps[i], cache: lineView.measure.caches[i]};
2552
+ for (var i = 0; i < lineView.rest.length; i++)
2553
+ if (lineNo(lineView.rest[i]) > lineN)
2554
+ return {map: lineView.measure.maps[i], cache: lineView.measure.caches[i], before: true};
2555
+ }
2556
+
2557
+ // Render a line into the hidden node display.externalMeasured. Used
2558
+ // when measurement is needed for a line that's not in the viewport.
2559
+ function updateExternalMeasurement(cm, line) {
2560
+ line = visualLine(line);
2561
+ var lineN = lineNo(line);
2562
+ var view = cm.display.externalMeasured = new LineView(cm.doc, line, lineN);
2563
+ view.lineN = lineN;
2564
+ var built = view.built = buildLineContent(cm, view);
2565
+ view.text = built.pre;
2566
+ removeChildrenAndAdd(cm.display.lineMeasure, built.pre);
2567
+ return view;
2568
+ }
2569
+
2570
+ // Get a {top, bottom, left, right} box (in line-local coordinates)
2571
+ // for a given character.
2572
+ function measureChar(cm, line, ch, bias) {
2573
+ return measureCharPrepared(cm, prepareMeasureForLine(cm, line), ch, bias);
2574
+ }
2575
+
2576
+ // Find a line view that corresponds to the given line number.
2577
+ function findViewForLine(cm, lineN) {
2578
+ if (lineN >= cm.display.viewFrom && lineN < cm.display.viewTo)
2579
+ return cm.display.view[findViewIndex(cm, lineN)];
2580
+ var ext = cm.display.externalMeasured;
2581
+ if (ext && lineN >= ext.lineN && lineN < ext.lineN + ext.size)
2582
+ return ext;
2583
+ }
2584
+
2585
+ // Measurement can be split in two steps, the set-up work that
2586
+ // applies to the whole line, and the measurement of the actual
2587
+ // character. Functions like coordsChar, that need to do a lot of
2588
+ // measurements in a row, can thus ensure that the set-up work is
2589
+ // only done once.
2590
+ function prepareMeasureForLine(cm, line) {
2591
+ var lineN = lineNo(line);
2592
+ var view = findViewForLine(cm, lineN);
2593
+ if (view && !view.text) {
2594
+ view = null;
2595
+ } else if (view && view.changes) {
2596
+ updateLineForChanges(cm, view, lineN, getDimensions(cm));
2597
+ cm.curOp.forceUpdate = true;
2598
+ }
2599
+ if (!view)
2600
+ view = updateExternalMeasurement(cm, line);
2601
+
2602
+ var info = mapFromLineView(view, line, lineN);
2603
+ return {
2604
+ line: line, view: view, rect: null,
2605
+ map: info.map, cache: info.cache, before: info.before,
2606
+ hasHeights: false
2607
+ };
2608
+ }
2609
+
2610
+ // Given a prepared measurement object, measures the position of an
2611
+ // actual character (or fetches it from the cache).
2612
+ function measureCharPrepared(cm, prepared, ch, bias, varHeight) {
2613
+ if (prepared.before) ch = -1;
2614
+ var key = ch + (bias || ""), found;
2615
+ if (prepared.cache.hasOwnProperty(key)) {
2616
+ found = prepared.cache[key];
2617
+ } else {
2618
+ if (!prepared.rect)
2619
+ prepared.rect = prepared.view.text.getBoundingClientRect();
2620
+ if (!prepared.hasHeights) {
2621
+ ensureLineHeights(cm, prepared.view, prepared.rect);
2622
+ prepared.hasHeights = true;
2623
+ }
2624
+ found = measureCharInner(cm, prepared, ch, bias);
2625
+ if (!found.bogus) prepared.cache[key] = found;
2626
+ }
2627
+ return {left: found.left, right: found.right,
2628
+ top: varHeight ? found.rtop : found.top,
2629
+ bottom: varHeight ? found.rbottom : found.bottom};
2630
+ }
2631
+
2632
+ var nullRect = {left: 0, right: 0, top: 0, bottom: 0};
2633
+
2634
+ function nodeAndOffsetInLineMap(map, ch, bias) {
2635
+ var node, start, end, collapse;
2636
+ // First, search the line map for the text node corresponding to,
2637
+ // or closest to, the target character.
2638
+ for (var i = 0; i < map.length; i += 3) {
2639
+ var mStart = map[i], mEnd = map[i + 1];
2640
+ if (ch < mStart) {
2641
+ start = 0; end = 1;
2642
+ collapse = "left";
2643
+ } else if (ch < mEnd) {
2644
+ start = ch - mStart;
2645
+ end = start + 1;
2646
+ } else if (i == map.length - 3 || ch == mEnd && map[i + 3] > ch) {
2647
+ end = mEnd - mStart;
2648
+ start = end - 1;
2649
+ if (ch >= mEnd) collapse = "right";
2650
+ }
2651
+ if (start != null) {
2652
+ node = map[i + 2];
2653
+ if (mStart == mEnd && bias == (node.insertLeft ? "left" : "right"))
2654
+ collapse = bias;
2655
+ if (bias == "left" && start == 0)
2656
+ while (i && map[i - 2] == map[i - 3] && map[i - 1].insertLeft) {
2657
+ node = map[(i -= 3) + 2];
2658
+ collapse = "left";
2659
+ }
2660
+ if (bias == "right" && start == mEnd - mStart)
2661
+ while (i < map.length - 3 && map[i + 3] == map[i + 4] && !map[i + 5].insertLeft) {
2662
+ node = map[(i += 3) + 2];
2663
+ collapse = "right";
2664
+ }
2665
+ break;
2666
+ }
2667
+ }
2668
+ return {node: node, start: start, end: end, collapse: collapse, coverStart: mStart, coverEnd: mEnd};
2669
+ }
2670
+
2671
+ function measureCharInner(cm, prepared, ch, bias) {
2672
+ var place = nodeAndOffsetInLineMap(prepared.map, ch, bias);
2673
+ var node = place.node, start = place.start, end = place.end, collapse = place.collapse;
2674
+
2675
+ var rect;
2676
+ if (node.nodeType == 3) { // If it is a text node, use a range to retrieve the coordinates.
2677
+ for (var i = 0; i < 4; i++) { // Retry a maximum of 4 times when nonsense rectangles are returned
2678
+ while (start && isExtendingChar(prepared.line.text.charAt(place.coverStart + start))) --start;
2679
+ while (place.coverStart + end < place.coverEnd && isExtendingChar(prepared.line.text.charAt(place.coverStart + end))) ++end;
2680
+ if (ie && ie_version < 9 && start == 0 && end == place.coverEnd - place.coverStart) {
2681
+ rect = node.parentNode.getBoundingClientRect();
2682
+ } else if (ie && cm.options.lineWrapping) {
2683
+ var rects = range(node, start, end).getClientRects();
2684
+ if (rects.length)
2685
+ rect = rects[bias == "right" ? rects.length - 1 : 0];
2686
+ else
2687
+ rect = nullRect;
2688
+ } else {
2689
+ rect = range(node, start, end).getBoundingClientRect() || nullRect;
2690
+ }
2691
+ if (rect.left || rect.right || start == 0) break;
2692
+ end = start;
2693
+ start = start - 1;
2694
+ collapse = "right";
2695
+ }
2696
+ if (ie && ie_version < 11) rect = maybeUpdateRectForZooming(cm.display.measure, rect);
2697
+ } else { // If it is a widget, simply get the box for the whole widget.
2698
+ if (start > 0) collapse = bias = "right";
2699
+ var rects;
2700
+ if (cm.options.lineWrapping && (rects = node.getClientRects()).length > 1)
2701
+ rect = rects[bias == "right" ? rects.length - 1 : 0];
2702
+ else
2703
+ rect = node.getBoundingClientRect();
2704
+ }
2705
+ if (ie && ie_version < 9 && !start && (!rect || !rect.left && !rect.right)) {
2706
+ var rSpan = node.parentNode.getClientRects()[0];
2707
+ if (rSpan)
2708
+ rect = {left: rSpan.left, right: rSpan.left + charWidth(cm.display), top: rSpan.top, bottom: rSpan.bottom};
2709
+ else
2710
+ rect = nullRect;
2711
+ }
2712
+
2713
+ var rtop = rect.top - prepared.rect.top, rbot = rect.bottom - prepared.rect.top;
2714
+ var mid = (rtop + rbot) / 2;
2715
+ var heights = prepared.view.measure.heights;
2716
+ for (var i = 0; i < heights.length - 1; i++)
2717
+ if (mid < heights[i]) break;
2718
+ var top = i ? heights[i - 1] : 0, bot = heights[i];
2719
+ var result = {left: (collapse == "right" ? rect.right : rect.left) - prepared.rect.left,
2720
+ right: (collapse == "left" ? rect.left : rect.right) - prepared.rect.left,
2721
+ top: top, bottom: bot};
2722
+ if (!rect.left && !rect.right) result.bogus = true;
2723
+ if (!cm.options.singleCursorHeightPerLine) { result.rtop = rtop; result.rbottom = rbot; }
2724
+
2725
+ return result;
2726
+ }
2727
+
2728
+ // Work around problem with bounding client rects on ranges being
2729
+ // returned incorrectly when zoomed on IE10 and below.
2730
+ function maybeUpdateRectForZooming(measure, rect) {
2731
+ if (!window.screen || screen.logicalXDPI == null ||
2732
+ screen.logicalXDPI == screen.deviceXDPI || !hasBadZoomedRects(measure))
2733
+ return rect;
2734
+ var scaleX = screen.logicalXDPI / screen.deviceXDPI;
2735
+ var scaleY = screen.logicalYDPI / screen.deviceYDPI;
2736
+ return {left: rect.left * scaleX, right: rect.right * scaleX,
2737
+ top: rect.top * scaleY, bottom: rect.bottom * scaleY};
2738
+ }
2739
+
2740
+ function clearLineMeasurementCacheFor(lineView) {
2741
+ if (lineView.measure) {
2742
+ lineView.measure.cache = {};
2743
+ lineView.measure.heights = null;
2744
+ if (lineView.rest) for (var i = 0; i < lineView.rest.length; i++)
2745
+ lineView.measure.caches[i] = {};
2746
+ }
2747
+ }
2748
+
2749
+ function clearLineMeasurementCache(cm) {
2750
+ cm.display.externalMeasure = null;
2751
+ removeChildren(cm.display.lineMeasure);
2752
+ for (var i = 0; i < cm.display.view.length; i++)
2753
+ clearLineMeasurementCacheFor(cm.display.view[i]);
2754
+ }
2755
+
2756
+ function clearCaches(cm) {
2757
+ clearLineMeasurementCache(cm);
2758
+ cm.display.cachedCharWidth = cm.display.cachedTextHeight = cm.display.cachedPaddingH = null;
2759
+ if (!cm.options.lineWrapping) cm.display.maxLineChanged = true;
2760
+ cm.display.lineNumChars = null;
2761
+ }
2762
+
2763
+ function pageScrollX() { return window.pageXOffset || (document.documentElement || document.body).scrollLeft; }
2764
+ function pageScrollY() { return window.pageYOffset || (document.documentElement || document.body).scrollTop; }
2765
+
2766
+ // Converts a {top, bottom, left, right} box from line-local
2767
+ // coordinates into another coordinate system. Context may be one of
2768
+ // "line", "div" (display.lineDiv), "local"/null (editor), "window",
2769
+ // or "page".
2770
+ function intoCoordSystem(cm, lineObj, rect, context) {
2771
+ if (lineObj.widgets) for (var i = 0; i < lineObj.widgets.length; ++i) if (lineObj.widgets[i].above) {
2772
+ var size = widgetHeight(lineObj.widgets[i]);
2773
+ rect.top += size; rect.bottom += size;
2774
+ }
2775
+ if (context == "line") return rect;
2776
+ if (!context) context = "local";
2777
+ var yOff = heightAtLine(lineObj);
2778
+ if (context == "local") yOff += paddingTop(cm.display);
2779
+ else yOff -= cm.display.viewOffset;
2780
+ if (context == "page" || context == "window") {
2781
+ var lOff = cm.display.lineSpace.getBoundingClientRect();
2782
+ yOff += lOff.top + (context == "window" ? 0 : pageScrollY());
2783
+ var xOff = lOff.left + (context == "window" ? 0 : pageScrollX());
2784
+ rect.left += xOff; rect.right += xOff;
2785
+ }
2786
+ rect.top += yOff; rect.bottom += yOff;
2787
+ return rect;
2788
+ }
2789
+
2790
+ // Coverts a box from "div" coords to another coordinate system.
2791
+ // Context may be "window", "page", "div", or "local"/null.
2792
+ function fromCoordSystem(cm, coords, context) {
2793
+ if (context == "div") return coords;
2794
+ var left = coords.left, top = coords.top;
2795
+ // First move into "page" coordinate system
2796
+ if (context == "page") {
2797
+ left -= pageScrollX();
2798
+ top -= pageScrollY();
2799
+ } else if (context == "local" || !context) {
2800
+ var localBox = cm.display.sizer.getBoundingClientRect();
2801
+ left += localBox.left;
2802
+ top += localBox.top;
2803
+ }
2804
+
2805
+ var lineSpaceBox = cm.display.lineSpace.getBoundingClientRect();
2806
+ return {left: left - lineSpaceBox.left, top: top - lineSpaceBox.top};
2807
+ }
2808
+
2809
+ function charCoords(cm, pos, context, lineObj, bias) {
2810
+ if (!lineObj) lineObj = getLine(cm.doc, pos.line);
2811
+ return intoCoordSystem(cm, lineObj, measureChar(cm, lineObj, pos.ch, bias), context);
2812
+ }
2813
+
2814
+ // Returns a box for a given cursor position, which may have an
2815
+ // 'other' property containing the position of the secondary cursor
2816
+ // on a bidi boundary.
2817
+ function cursorCoords(cm, pos, context, lineObj, preparedMeasure, varHeight) {
2818
+ lineObj = lineObj || getLine(cm.doc, pos.line);
2819
+ if (!preparedMeasure) preparedMeasure = prepareMeasureForLine(cm, lineObj);
2820
+ function get(ch, right) {
2821
+ var m = measureCharPrepared(cm, preparedMeasure, ch, right ? "right" : "left", varHeight);
2822
+ if (right) m.left = m.right; else m.right = m.left;
2823
+ return intoCoordSystem(cm, lineObj, m, context);
2824
+ }
2825
+ function getBidi(ch, partPos) {
2826
+ var part = order[partPos], right = part.level % 2;
2827
+ if (ch == bidiLeft(part) && partPos && part.level < order[partPos - 1].level) {
2828
+ part = order[--partPos];
2829
+ ch = bidiRight(part) - (part.level % 2 ? 0 : 1);
2830
+ right = true;
2831
+ } else if (ch == bidiRight(part) && partPos < order.length - 1 && part.level < order[partPos + 1].level) {
2832
+ part = order[++partPos];
2833
+ ch = bidiLeft(part) - part.level % 2;
2834
+ right = false;
2835
+ }
2836
+ if (right && ch == part.to && ch > part.from) return get(ch - 1);
2837
+ return get(ch, right);
2838
+ }
2839
+ var order = getOrder(lineObj), ch = pos.ch;
2840
+ if (!order) return get(ch);
2841
+ var partPos = getBidiPartAt(order, ch);
2842
+ var val = getBidi(ch, partPos);
2843
+ if (bidiOther != null) val.other = getBidi(ch, bidiOther);
2844
+ return val;
2845
+ }
2846
+
2847
+ // Used to cheaply estimate the coordinates for a position. Used for
2848
+ // intermediate scroll updates.
2849
+ function estimateCoords(cm, pos) {
2850
+ var left = 0, pos = clipPos(cm.doc, pos);
2851
+ if (!cm.options.lineWrapping) left = charWidth(cm.display) * pos.ch;
2852
+ var lineObj = getLine(cm.doc, pos.line);
2853
+ var top = heightAtLine(lineObj) + paddingTop(cm.display);
2854
+ return {left: left, right: left, top: top, bottom: top + lineObj.height};
2855
+ }
2856
+
2857
+ // Positions returned by coordsChar contain some extra information.
2858
+ // xRel is the relative x position of the input coordinates compared
2859
+ // to the found position (so xRel > 0 means the coordinates are to
2860
+ // the right of the character position, for example). When outside
2861
+ // is true, that means the coordinates lie outside the line's
2862
+ // vertical range.
2863
+ function PosWithInfo(line, ch, outside, xRel) {
2864
+ var pos = Pos(line, ch);
2865
+ pos.xRel = xRel;
2866
+ if (outside) pos.outside = true;
2867
+ return pos;
2868
+ }
2869
+
2870
+ // Compute the character position closest to the given coordinates.
2871
+ // Input must be lineSpace-local ("div" coordinate system).
2872
+ function coordsChar(cm, x, y) {
2873
+ var doc = cm.doc;
2874
+ y += cm.display.viewOffset;
2875
+ if (y < 0) return PosWithInfo(doc.first, 0, true, -1);
2876
+ var lineN = lineAtHeight(doc, y), last = doc.first + doc.size - 1;
2877
+ if (lineN > last)
2878
+ return PosWithInfo(doc.first + doc.size - 1, getLine(doc, last).text.length, true, 1);
2879
+ if (x < 0) x = 0;
2880
+
2881
+ var lineObj = getLine(doc, lineN);
2882
+ for (;;) {
2883
+ var found = coordsCharInner(cm, lineObj, lineN, x, y);
2884
+ var merged = collapsedSpanAtEnd(lineObj);
2885
+ var mergedPos = merged && merged.find(0, true);
2886
+ if (merged && (found.ch > mergedPos.from.ch || found.ch == mergedPos.from.ch && found.xRel > 0))
2887
+ lineN = lineNo(lineObj = mergedPos.to.line);
2888
+ else
2889
+ return found;
2890
+ }
2891
+ }
2892
+
2893
+ function coordsCharInner(cm, lineObj, lineNo, x, y) {
2894
+ var innerOff = y - heightAtLine(lineObj);
2895
+ var wrongLine = false, adjust = 2 * cm.display.wrapper.clientWidth;
2896
+ var preparedMeasure = prepareMeasureForLine(cm, lineObj);
2897
+
2898
+ function getX(ch) {
2899
+ var sp = cursorCoords(cm, Pos(lineNo, ch), "line", lineObj, preparedMeasure);
2900
+ wrongLine = true;
2901
+ if (innerOff > sp.bottom) return sp.left - adjust;
2902
+ else if (innerOff < sp.top) return sp.left + adjust;
2903
+ else wrongLine = false;
2904
+ return sp.left;
2905
+ }
2906
+
2907
+ var bidi = getOrder(lineObj), dist = lineObj.text.length;
2908
+ var from = lineLeft(lineObj), to = lineRight(lineObj);
2909
+ var fromX = getX(from), fromOutside = wrongLine, toX = getX(to), toOutside = wrongLine;
2910
+
2911
+ if (x > toX) return PosWithInfo(lineNo, to, toOutside, 1);
2912
+ // Do a binary search between these bounds.
2913
+ for (;;) {
2914
+ if (bidi ? to == from || to == moveVisually(lineObj, from, 1) : to - from <= 1) {
2915
+ var ch = x < fromX || x - fromX <= toX - x ? from : to;
2916
+ var xDiff = x - (ch == from ? fromX : toX);
2917
+ while (isExtendingChar(lineObj.text.charAt(ch))) ++ch;
2918
+ var pos = PosWithInfo(lineNo, ch, ch == from ? fromOutside : toOutside,
2919
+ xDiff < -1 ? -1 : xDiff > 1 ? 1 : 0);
2920
+ return pos;
2921
+ }
2922
+ var step = Math.ceil(dist / 2), middle = from + step;
2923
+ if (bidi) {
2924
+ middle = from;
2925
+ for (var i = 0; i < step; ++i) middle = moveVisually(lineObj, middle, 1);
2926
+ }
2927
+ var middleX = getX(middle);
2928
+ if (middleX > x) {to = middle; toX = middleX; if (toOutside = wrongLine) toX += 1000; dist = step;}
2929
+ else {from = middle; fromX = middleX; fromOutside = wrongLine; dist -= step;}
2930
+ }
2931
+ }
2932
+
2933
+ var measureText;
2934
+ // Compute the default text height.
2935
+ function textHeight(display) {
2936
+ if (display.cachedTextHeight != null) return display.cachedTextHeight;
2937
+ if (measureText == null) {
2938
+ measureText = elt("pre");
2939
+ // Measure a bunch of lines, for browsers that compute
2940
+ // fractional heights.
2941
+ for (var i = 0; i < 49; ++i) {
2942
+ measureText.appendChild(document.createTextNode("x"));
2943
+ measureText.appendChild(elt("br"));
2944
+ }
2945
+ measureText.appendChild(document.createTextNode("x"));
2946
+ }
2947
+ removeChildrenAndAdd(display.measure, measureText);
2948
+ var height = measureText.offsetHeight / 50;
2949
+ if (height > 3) display.cachedTextHeight = height;
2950
+ removeChildren(display.measure);
2951
+ return height || 1;
2952
+ }
2953
+
2954
+ // Compute the default character width.
2955
+ function charWidth(display) {
2956
+ if (display.cachedCharWidth != null) return display.cachedCharWidth;
2957
+ var anchor = elt("span", "xxxxxxxxxx");
2958
+ var pre = elt("pre", [anchor]);
2959
+ removeChildrenAndAdd(display.measure, pre);
2960
+ var rect = anchor.getBoundingClientRect(), width = (rect.right - rect.left) / 10;
2961
+ if (width > 2) display.cachedCharWidth = width;
2962
+ return width || 10;
2963
+ }
2964
+
2965
+ // OPERATIONS
2966
+
2967
+ // Operations are used to wrap a series of changes to the editor
2968
+ // state in such a way that each change won't have to update the
2969
+ // cursor and display (which would be awkward, slow, and
2970
+ // error-prone). Instead, display updates are batched and then all
2971
+ // combined and executed at once.
2972
+
2973
+ var operationGroup = null;
2974
+
2975
+ var nextOpId = 0;
2976
+ // Start a new operation.
2977
+ function startOperation(cm) {
2978
+ cm.curOp = {
2979
+ cm: cm,
2980
+ viewChanged: false, // Flag that indicates that lines might need to be redrawn
2981
+ startHeight: cm.doc.height, // Used to detect need to update scrollbar
2982
+ forceUpdate: false, // Used to force a redraw
2983
+ updateInput: null, // Whether to reset the input textarea
2984
+ typing: false, // Whether this reset should be careful to leave existing text (for compositing)
2985
+ changeObjs: null, // Accumulated changes, for firing change events
2986
+ cursorActivityHandlers: null, // Set of handlers to fire cursorActivity on
2987
+ cursorActivityCalled: 0, // Tracks which cursorActivity handlers have been called already
2988
+ selectionChanged: false, // Whether the selection needs to be redrawn
2989
+ updateMaxLine: false, // Set when the widest line needs to be determined anew
2990
+ scrollLeft: null, scrollTop: null, // Intermediate scroll position, not pushed to DOM yet
2991
+ scrollToPos: null, // Used to scroll to a specific position
2992
+ focus: false,
2993
+ id: ++nextOpId // Unique ID
2994
+ };
2995
+ if (operationGroup) {
2996
+ operationGroup.ops.push(cm.curOp);
2997
+ } else {
2998
+ cm.curOp.ownsGroup = operationGroup = {
2999
+ ops: [cm.curOp],
3000
+ delayedCallbacks: []
3001
+ };
3002
+ }
3003
+ }
3004
+
3005
+ function fireCallbacksForOps(group) {
3006
+ // Calls delayed callbacks and cursorActivity handlers until no
3007
+ // new ones appear
3008
+ var callbacks = group.delayedCallbacks, i = 0;
3009
+ do {
3010
+ for (; i < callbacks.length; i++)
3011
+ callbacks[i].call(null);
3012
+ for (var j = 0; j < group.ops.length; j++) {
3013
+ var op = group.ops[j];
3014
+ if (op.cursorActivityHandlers)
3015
+ while (op.cursorActivityCalled < op.cursorActivityHandlers.length)
3016
+ op.cursorActivityHandlers[op.cursorActivityCalled++].call(null, op.cm);
3017
+ }
3018
+ } while (i < callbacks.length);
3019
+ }
3020
+
3021
+ // Finish an operation, updating the display and signalling delayed events
3022
+ function endOperation(cm) {
3023
+ var op = cm.curOp, group = op.ownsGroup;
3024
+ if (!group) return;
3025
+
3026
+ try { fireCallbacksForOps(group); }
3027
+ finally {
3028
+ operationGroup = null;
3029
+ for (var i = 0; i < group.ops.length; i++)
3030
+ group.ops[i].cm.curOp = null;
3031
+ endOperations(group);
3032
+ }
3033
+ }
3034
+
3035
+ // The DOM updates done when an operation finishes are batched so
3036
+ // that the minimum number of relayouts are required.
3037
+ function endOperations(group) {
3038
+ var ops = group.ops;
3039
+ for (var i = 0; i < ops.length; i++) // Read DOM
3040
+ endOperation_R1(ops[i]);
3041
+ for (var i = 0; i < ops.length; i++) // Write DOM (maybe)
3042
+ endOperation_W1(ops[i]);
3043
+ for (var i = 0; i < ops.length; i++) // Read DOM
3044
+ endOperation_R2(ops[i]);
3045
+ for (var i = 0; i < ops.length; i++) // Write DOM (maybe)
3046
+ endOperation_W2(ops[i]);
3047
+ for (var i = 0; i < ops.length; i++) // Read DOM
3048
+ endOperation_finish(ops[i]);
3049
+ }
3050
+
3051
+ function endOperation_R1(op) {
3052
+ var cm = op.cm, display = cm.display;
3053
+ maybeClipScrollbars(cm);
3054
+ if (op.updateMaxLine) findMaxLine(cm);
3055
+
3056
+ op.mustUpdate = op.viewChanged || op.forceUpdate || op.scrollTop != null ||
3057
+ op.scrollToPos && (op.scrollToPos.from.line < display.viewFrom ||
3058
+ op.scrollToPos.to.line >= display.viewTo) ||
3059
+ display.maxLineChanged && cm.options.lineWrapping;
3060
+ op.update = op.mustUpdate &&
3061
+ new DisplayUpdate(cm, op.mustUpdate && {top: op.scrollTop, ensure: op.scrollToPos}, op.forceUpdate);
3062
+ }
3063
+
3064
+ function endOperation_W1(op) {
3065
+ op.updatedDisplay = op.mustUpdate && updateDisplayIfNeeded(op.cm, op.update);
3066
+ }
3067
+
3068
+ function endOperation_R2(op) {
3069
+ var cm = op.cm, display = cm.display;
3070
+ if (op.updatedDisplay) updateHeightsInViewport(cm);
3071
+
3072
+ op.barMeasure = measureForScrollbars(cm);
3073
+
3074
+ // If the max line changed since it was last measured, measure it,
3075
+ // and ensure the document's width matches it.
3076
+ // updateDisplay_W2 will use these properties to do the actual resizing
3077
+ if (display.maxLineChanged && !cm.options.lineWrapping) {
3078
+ op.adjustWidthTo = measureChar(cm, display.maxLine, display.maxLine.text.length).left + 3;
3079
+ cm.display.sizerWidth = op.adjustWidthTo;
3080
+ op.barMeasure.scrollWidth =
3081
+ Math.max(display.scroller.clientWidth, display.sizer.offsetLeft + op.adjustWidthTo + scrollGap(cm) + cm.display.barWidth);
3082
+ op.maxScrollLeft = Math.max(0, display.sizer.offsetLeft + op.adjustWidthTo - displayWidth(cm));
3083
+ }
3084
+
3085
+ if (op.updatedDisplay || op.selectionChanged)
3086
+ op.preparedSelection = display.input.prepareSelection();
3087
+ }
3088
+
3089
+ function endOperation_W2(op) {
3090
+ var cm = op.cm;
3091
+
3092
+ if (op.adjustWidthTo != null) {
3093
+ cm.display.sizer.style.minWidth = op.adjustWidthTo + "px";
3094
+ if (op.maxScrollLeft < cm.doc.scrollLeft)
3095
+ setScrollLeft(cm, Math.min(cm.display.scroller.scrollLeft, op.maxScrollLeft), true);
3096
+ cm.display.maxLineChanged = false;
3097
+ }
3098
+
3099
+ if (op.preparedSelection)
3100
+ cm.display.input.showSelection(op.preparedSelection);
3101
+ if (op.updatedDisplay)
3102
+ setDocumentHeight(cm, op.barMeasure);
3103
+ if (op.updatedDisplay || op.startHeight != cm.doc.height)
3104
+ updateScrollbars(cm, op.barMeasure);
3105
+
3106
+ if (op.selectionChanged) restartBlink(cm);
3107
+
3108
+ if (cm.state.focused && op.updateInput)
3109
+ cm.display.input.reset(op.typing);
3110
+ if (op.focus && op.focus == activeElt() && (!document.hasFocus || document.hasFocus()))
3111
+ ensureFocus(op.cm);
3112
+ }
3113
+
3114
+ function endOperation_finish(op) {
3115
+ var cm = op.cm, display = cm.display, doc = cm.doc;
3116
+
3117
+ if (op.updatedDisplay) postUpdateDisplay(cm, op.update);
3118
+
3119
+ // Abort mouse wheel delta measurement, when scrolling explicitly
3120
+ if (display.wheelStartX != null && (op.scrollTop != null || op.scrollLeft != null || op.scrollToPos))
3121
+ display.wheelStartX = display.wheelStartY = null;
3122
+
3123
+ // Propagate the scroll position to the actual DOM scroller
3124
+ if (op.scrollTop != null && (display.scroller.scrollTop != op.scrollTop || op.forceScroll)) {
3125
+ doc.scrollTop = Math.max(0, Math.min(display.scroller.scrollHeight - display.scroller.clientHeight, op.scrollTop));
3126
+ display.scrollbars.setScrollTop(doc.scrollTop);
3127
+ display.scroller.scrollTop = doc.scrollTop;
3128
+ }
3129
+ if (op.scrollLeft != null && (display.scroller.scrollLeft != op.scrollLeft || op.forceScroll)) {
3130
+ doc.scrollLeft = Math.max(0, Math.min(display.scroller.scrollWidth - displayWidth(cm), op.scrollLeft));
3131
+ display.scrollbars.setScrollLeft(doc.scrollLeft);
3132
+ display.scroller.scrollLeft = doc.scrollLeft;
3133
+ alignHorizontally(cm);
3134
+ }
3135
+ // If we need to scroll a specific position into view, do so.
3136
+ if (op.scrollToPos) {
3137
+ var coords = scrollPosIntoView(cm, clipPos(doc, op.scrollToPos.from),
3138
+ clipPos(doc, op.scrollToPos.to), op.scrollToPos.margin);
3139
+ if (op.scrollToPos.isCursor && cm.state.focused) maybeScrollWindow(cm, coords);
3140
+ }
3141
+
3142
+ // Fire events for markers that are hidden/unidden by editing or
3143
+ // undoing
3144
+ var hidden = op.maybeHiddenMarkers, unhidden = op.maybeUnhiddenMarkers;
3145
+ if (hidden) for (var i = 0; i < hidden.length; ++i)
3146
+ if (!hidden[i].lines.length) signal(hidden[i], "hide");
3147
+ if (unhidden) for (var i = 0; i < unhidden.length; ++i)
3148
+ if (unhidden[i].lines.length) signal(unhidden[i], "unhide");
3149
+
3150
+ if (display.wrapper.offsetHeight)
3151
+ doc.scrollTop = cm.display.scroller.scrollTop;
3152
+
3153
+ // Fire change events, and delayed event handlers
3154
+ if (op.changeObjs)
3155
+ signal(cm, "changes", cm, op.changeObjs);
3156
+ if (op.update)
3157
+ op.update.finish();
3158
+ }
3159
+
3160
+ // Run the given function in an operation
3161
+ function runInOp(cm, f) {
3162
+ if (cm.curOp) return f();
3163
+ startOperation(cm);
3164
+ try { return f(); }
3165
+ finally { endOperation(cm); }
3166
+ }
3167
+ // Wraps a function in an operation. Returns the wrapped function.
3168
+ function operation(cm, f) {
3169
+ return function() {
3170
+ if (cm.curOp) return f.apply(cm, arguments);
3171
+ startOperation(cm);
3172
+ try { return f.apply(cm, arguments); }
3173
+ finally { endOperation(cm); }
3174
+ };
3175
+ }
3176
+ // Used to add methods to editor and doc instances, wrapping them in
3177
+ // operations.
3178
+ function methodOp(f) {
3179
+ return function() {
3180
+ if (this.curOp) return f.apply(this, arguments);
3181
+ startOperation(this);
3182
+ try { return f.apply(this, arguments); }
3183
+ finally { endOperation(this); }
3184
+ };
3185
+ }
3186
+ function docMethodOp(f) {
3187
+ return function() {
3188
+ var cm = this.cm;
3189
+ if (!cm || cm.curOp) return f.apply(this, arguments);
3190
+ startOperation(cm);
3191
+ try { return f.apply(this, arguments); }
3192
+ finally { endOperation(cm); }
3193
+ };
3194
+ }
3195
+
3196
+ // VIEW TRACKING
3197
+
3198
+ // These objects are used to represent the visible (currently drawn)
3199
+ // part of the document. A LineView may correspond to multiple
3200
+ // logical lines, if those are connected by collapsed ranges.
3201
+ function LineView(doc, line, lineN) {
3202
+ // The starting line
3203
+ this.line = line;
3204
+ // Continuing lines, if any
3205
+ this.rest = visualLineContinued(line);
3206
+ // Number of logical lines in this visual line
3207
+ this.size = this.rest ? lineNo(lst(this.rest)) - lineN + 1 : 1;
3208
+ this.node = this.text = null;
3209
+ this.hidden = lineIsHidden(doc, line);
3210
+ }
3211
+
3212
+ // Create a range of LineView objects for the given lines.
3213
+ function buildViewArray(cm, from, to) {
3214
+ var array = [], nextPos;
3215
+ for (var pos = from; pos < to; pos = nextPos) {
3216
+ var view = new LineView(cm.doc, getLine(cm.doc, pos), pos);
3217
+ nextPos = pos + view.size;
3218
+ array.push(view);
3219
+ }
3220
+ return array;
3221
+ }
3222
+
3223
+ // Updates the display.view data structure for a given change to the
3224
+ // document. From and to are in pre-change coordinates. Lendiff is
3225
+ // the amount of lines added or subtracted by the change. This is
3226
+ // used for changes that span multiple lines, or change the way
3227
+ // lines are divided into visual lines. regLineChange (below)
3228
+ // registers single-line changes.
3229
+ function regChange(cm, from, to, lendiff) {
3230
+ if (from == null) from = cm.doc.first;
3231
+ if (to == null) to = cm.doc.first + cm.doc.size;
3232
+ if (!lendiff) lendiff = 0;
3233
+
3234
+ var display = cm.display;
3235
+ if (lendiff && to < display.viewTo &&
3236
+ (display.updateLineNumbers == null || display.updateLineNumbers > from))
3237
+ display.updateLineNumbers = from;
3238
+
3239
+ cm.curOp.viewChanged = true;
3240
+
3241
+ if (from >= display.viewTo) { // Change after
3242
+ if (sawCollapsedSpans && visualLineNo(cm.doc, from) < display.viewTo)
3243
+ resetView(cm);
3244
+ } else if (to <= display.viewFrom) { // Change before
3245
+ if (sawCollapsedSpans && visualLineEndNo(cm.doc, to + lendiff) > display.viewFrom) {
3246
+ resetView(cm);
3247
+ } else {
3248
+ display.viewFrom += lendiff;
3249
+ display.viewTo += lendiff;
3250
+ }
3251
+ } else if (from <= display.viewFrom && to >= display.viewTo) { // Full overlap
3252
+ resetView(cm);
3253
+ } else if (from <= display.viewFrom) { // Top overlap
3254
+ var cut = viewCuttingPoint(cm, to, to + lendiff, 1);
3255
+ if (cut) {
3256
+ display.view = display.view.slice(cut.index);
3257
+ display.viewFrom = cut.lineN;
3258
+ display.viewTo += lendiff;
3259
+ } else {
3260
+ resetView(cm);
3261
+ }
3262
+ } else if (to >= display.viewTo) { // Bottom overlap
3263
+ var cut = viewCuttingPoint(cm, from, from, -1);
3264
+ if (cut) {
3265
+ display.view = display.view.slice(0, cut.index);
3266
+ display.viewTo = cut.lineN;
3267
+ } else {
3268
+ resetView(cm);
3269
+ }
3270
+ } else { // Gap in the middle
3271
+ var cutTop = viewCuttingPoint(cm, from, from, -1);
3272
+ var cutBot = viewCuttingPoint(cm, to, to + lendiff, 1);
3273
+ if (cutTop && cutBot) {
3274
+ display.view = display.view.slice(0, cutTop.index)
3275
+ .concat(buildViewArray(cm, cutTop.lineN, cutBot.lineN))
3276
+ .concat(display.view.slice(cutBot.index));
3277
+ display.viewTo += lendiff;
3278
+ } else {
3279
+ resetView(cm);
3280
+ }
3281
+ }
3282
+
3283
+ var ext = display.externalMeasured;
3284
+ if (ext) {
3285
+ if (to < ext.lineN)
3286
+ ext.lineN += lendiff;
3287
+ else if (from < ext.lineN + ext.size)
3288
+ display.externalMeasured = null;
3289
+ }
3290
+ }
3291
+
3292
+ // Register a change to a single line. Type must be one of "text",
3293
+ // "gutter", "class", "widget"
3294
+ function regLineChange(cm, line, type) {
3295
+ cm.curOp.viewChanged = true;
3296
+ var display = cm.display, ext = cm.display.externalMeasured;
3297
+ if (ext && line >= ext.lineN && line < ext.lineN + ext.size)
3298
+ display.externalMeasured = null;
3299
+
3300
+ if (line < display.viewFrom || line >= display.viewTo) return;
3301
+ var lineView = display.view[findViewIndex(cm, line)];
3302
+ if (lineView.node == null) return;
3303
+ var arr = lineView.changes || (lineView.changes = []);
3304
+ if (indexOf(arr, type) == -1) arr.push(type);
3305
+ }
3306
+
3307
+ // Clear the view.
3308
+ function resetView(cm) {
3309
+ cm.display.viewFrom = cm.display.viewTo = cm.doc.first;
3310
+ cm.display.view = [];
3311
+ cm.display.viewOffset = 0;
3312
+ }
3313
+
3314
+ // Find the view element corresponding to a given line. Return null
3315
+ // when the line isn't visible.
3316
+ function findViewIndex(cm, n) {
3317
+ if (n >= cm.display.viewTo) return null;
3318
+ n -= cm.display.viewFrom;
3319
+ if (n < 0) return null;
3320
+ var view = cm.display.view;
3321
+ for (var i = 0; i < view.length; i++) {
3322
+ n -= view[i].size;
3323
+ if (n < 0) return i;
3324
+ }
3325
+ }
3326
+
3327
+ function viewCuttingPoint(cm, oldN, newN, dir) {
3328
+ var index = findViewIndex(cm, oldN), diff, view = cm.display.view;
3329
+ if (!sawCollapsedSpans || newN == cm.doc.first + cm.doc.size)
3330
+ return {index: index, lineN: newN};
3331
+ for (var i = 0, n = cm.display.viewFrom; i < index; i++)
3332
+ n += view[i].size;
3333
+ if (n != oldN) {
3334
+ if (dir > 0) {
3335
+ if (index == view.length - 1) return null;
3336
+ diff = (n + view[index].size) - oldN;
3337
+ index++;
3338
+ } else {
3339
+ diff = n - oldN;
3340
+ }
3341
+ oldN += diff; newN += diff;
3342
+ }
3343
+ while (visualLineNo(cm.doc, newN) != newN) {
3344
+ if (index == (dir < 0 ? 0 : view.length - 1)) return null;
3345
+ newN += dir * view[index - (dir < 0 ? 1 : 0)].size;
3346
+ index += dir;
3347
+ }
3348
+ return {index: index, lineN: newN};
3349
+ }
3350
+
3351
+ // Force the view to cover a given range, adding empty view element
3352
+ // or clipping off existing ones as needed.
3353
+ function adjustView(cm, from, to) {
3354
+ var display = cm.display, view = display.view;
3355
+ if (view.length == 0 || from >= display.viewTo || to <= display.viewFrom) {
3356
+ display.view = buildViewArray(cm, from, to);
3357
+ display.viewFrom = from;
3358
+ } else {
3359
+ if (display.viewFrom > from)
3360
+ display.view = buildViewArray(cm, from, display.viewFrom).concat(display.view);
3361
+ else if (display.viewFrom < from)
3362
+ display.view = display.view.slice(findViewIndex(cm, from));
3363
+ display.viewFrom = from;
3364
+ if (display.viewTo < to)
3365
+ display.view = display.view.concat(buildViewArray(cm, display.viewTo, to));
3366
+ else if (display.viewTo > to)
3367
+ display.view = display.view.slice(0, findViewIndex(cm, to));
3368
+ }
3369
+ display.viewTo = to;
3370
+ }
3371
+
3372
+ // Count the number of lines in the view whose DOM representation is
3373
+ // out of date (or nonexistent).
3374
+ function countDirtyView(cm) {
3375
+ var view = cm.display.view, dirty = 0;
3376
+ for (var i = 0; i < view.length; i++) {
3377
+ var lineView = view[i];
3378
+ if (!lineView.hidden && (!lineView.node || lineView.changes)) ++dirty;
3379
+ }
3380
+ return dirty;
3381
+ }
3382
+
3383
+ // EVENT HANDLERS
3384
+
3385
+ // Attach the necessary event handlers when initializing the editor
3386
+ function registerEventHandlers(cm) {
3387
+ var d = cm.display;
3388
+ on(d.scroller, "mousedown", operation(cm, onMouseDown));
3389
+ // Older IE's will not fire a second mousedown for a double click
3390
+ if (ie && ie_version < 11)
3391
+ on(d.scroller, "dblclick", operation(cm, function(e) {
3392
+ if (signalDOMEvent(cm, e)) return;
3393
+ var pos = posFromMouse(cm, e);
3394
+ if (!pos || clickInGutter(cm, e) || eventInWidget(cm.display, e)) return;
3395
+ e_preventDefault(e);
3396
+ var word = cm.findWordAt(pos);
3397
+ extendSelection(cm.doc, word.anchor, word.head);
3398
+ }));
3399
+ else
3400
+ on(d.scroller, "dblclick", function(e) { signalDOMEvent(cm, e) || e_preventDefault(e); });
3401
+ // Some browsers fire contextmenu *after* opening the menu, at
3402
+ // which point we can't mess with it anymore. Context menu is
3403
+ // handled in onMouseDown for these browsers.
3404
+ if (!captureRightClick) on(d.scroller, "contextmenu", function(e) {onContextMenu(cm, e);});
3405
+
3406
+ // Used to suppress mouse event handling when a touch happens
3407
+ var touchFinished, prevTouch = {end: 0};
3408
+ function finishTouch() {
3409
+ if (d.activeTouch) {
3410
+ touchFinished = setTimeout(function() {d.activeTouch = null;}, 1000);
3411
+ prevTouch = d.activeTouch;
3412
+ prevTouch.end = +new Date;
3413
+ }
3414
+ };
3415
+ function isMouseLikeTouchEvent(e) {
3416
+ if (e.touches.length != 1) return false;
3417
+ var touch = e.touches[0];
3418
+ return touch.radiusX <= 1 && touch.radiusY <= 1;
3419
+ }
3420
+ function farAway(touch, other) {
3421
+ if (other.left == null) return true;
3422
+ var dx = other.left - touch.left, dy = other.top - touch.top;
3423
+ return dx * dx + dy * dy > 20 * 20;
3424
+ }
3425
+ on(d.scroller, "touchstart", function(e) {
3426
+ if (!isMouseLikeTouchEvent(e)) {
3427
+ clearTimeout(touchFinished);
3428
+ var now = +new Date;
3429
+ d.activeTouch = {start: now, moved: false,
3430
+ prev: now - prevTouch.end <= 300 ? prevTouch : null};
3431
+ if (e.touches.length == 1) {
3432
+ d.activeTouch.left = e.touches[0].pageX;
3433
+ d.activeTouch.top = e.touches[0].pageY;
3434
+ }
3435
+ }
3436
+ });
3437
+ on(d.scroller, "touchmove", function() {
3438
+ if (d.activeTouch) d.activeTouch.moved = true;
3439
+ });
3440
+ on(d.scroller, "touchend", function(e) {
3441
+ var touch = d.activeTouch;
3442
+ if (touch && !eventInWidget(d, e) && touch.left != null &&
3443
+ !touch.moved && new Date - touch.start < 300) {
3444
+ var pos = cm.coordsChar(d.activeTouch, "page"), range;
3445
+ if (!touch.prev || farAway(touch, touch.prev)) // Single tap
3446
+ range = new Range(pos, pos);
3447
+ else if (!touch.prev.prev || farAway(touch, touch.prev.prev)) // Double tap
3448
+ range = cm.findWordAt(pos);
3449
+ else // Triple tap
3450
+ range = new Range(Pos(pos.line, 0), clipPos(cm.doc, Pos(pos.line + 1, 0)));
3451
+ cm.setSelection(range.anchor, range.head);
3452
+ cm.focus();
3453
+ e_preventDefault(e);
3454
+ }
3455
+ finishTouch();
3456
+ });
3457
+ on(d.scroller, "touchcancel", finishTouch);
3458
+
3459
+ // Sync scrolling between fake scrollbars and real scrollable
3460
+ // area, ensure viewport is updated when scrolling.
3461
+ on(d.scroller, "scroll", function() {
3462
+ if (d.scroller.clientHeight) {
3463
+ setScrollTop(cm, d.scroller.scrollTop);
3464
+ setScrollLeft(cm, d.scroller.scrollLeft, true);
3465
+ signal(cm, "scroll", cm);
3466
+ }
3467
+ });
3468
+
3469
+ // Listen to wheel events in order to try and update the viewport on time.
3470
+ on(d.scroller, "mousewheel", function(e){onScrollWheel(cm, e);});
3471
+ on(d.scroller, "DOMMouseScroll", function(e){onScrollWheel(cm, e);});
3472
+
3473
+ // Prevent wrapper from ever scrolling
3474
+ on(d.wrapper, "scroll", function() { d.wrapper.scrollTop = d.wrapper.scrollLeft = 0; });
3475
+
3476
+ d.dragFunctions = {
3477
+ enter: function(e) {if (!signalDOMEvent(cm, e)) e_stop(e);},
3478
+ over: function(e) {if (!signalDOMEvent(cm, e)) { onDragOver(cm, e); e_stop(e); }},
3479
+ start: function(e){onDragStart(cm, e);},
3480
+ drop: operation(cm, onDrop),
3481
+ leave: function() {clearDragCursor(cm);}
3482
+ };
3483
+
3484
+ var inp = d.input.getField();
3485
+ on(inp, "keyup", function(e) { onKeyUp.call(cm, e); });
3486
+ on(inp, "keydown", operation(cm, onKeyDown));
3487
+ on(inp, "keypress", operation(cm, onKeyPress));
3488
+ on(inp, "focus", bind(onFocus, cm));
3489
+ on(inp, "blur", bind(onBlur, cm));
3490
+ }
3491
+
3492
+ function dragDropChanged(cm, value, old) {
3493
+ var wasOn = old && old != CodeMirror.Init;
3494
+ if (!value != !wasOn) {
3495
+ var funcs = cm.display.dragFunctions;
3496
+ var toggle = value ? on : off;
3497
+ toggle(cm.display.scroller, "dragstart", funcs.start);
3498
+ toggle(cm.display.scroller, "dragenter", funcs.enter);
3499
+ toggle(cm.display.scroller, "dragover", funcs.over);
3500
+ toggle(cm.display.scroller, "dragleave", funcs.leave);
3501
+ toggle(cm.display.scroller, "drop", funcs.drop);
3502
+ }
3503
+ }
3504
+
3505
+ // Called when the window resizes
3506
+ function onResize(cm) {
3507
+ var d = cm.display;
3508
+ if (d.lastWrapHeight == d.wrapper.clientHeight && d.lastWrapWidth == d.wrapper.clientWidth)
3509
+ return;
3510
+ // Might be a text scaling operation, clear size caches.
3511
+ d.cachedCharWidth = d.cachedTextHeight = d.cachedPaddingH = null;
3512
+ d.scrollbarsClipped = false;
3513
+ cm.setSize();
3514
+ }
3515
+
3516
+ // MOUSE EVENTS
3517
+
3518
+ // Return true when the given mouse event happened in a widget
3519
+ function eventInWidget(display, e) {
3520
+ for (var n = e_target(e); n != display.wrapper; n = n.parentNode) {
3521
+ if (!n || (n.nodeType == 1 && n.getAttribute("cm-ignore-events") == "true") ||
3522
+ (n.parentNode == display.sizer && n != display.mover))
3523
+ return true;
3524
+ }
3525
+ }
3526
+
3527
+ // Given a mouse event, find the corresponding position. If liberal
3528
+ // is false, it checks whether a gutter or scrollbar was clicked,
3529
+ // and returns null if it was. forRect is used by rectangular
3530
+ // selections, and tries to estimate a character position even for
3531
+ // coordinates beyond the right of the text.
3532
+ function posFromMouse(cm, e, liberal, forRect) {
3533
+ var display = cm.display;
3534
+ if (!liberal && e_target(e).getAttribute("cm-not-content") == "true") return null;
3535
+
3536
+ var x, y, space = display.lineSpace.getBoundingClientRect();
3537
+ // Fails unpredictably on IE[67] when mouse is dragged around quickly.
3538
+ try { x = e.clientX - space.left; y = e.clientY - space.top; }
3539
+ catch (e) { return null; }
3540
+ var coords = coordsChar(cm, x, y), line;
3541
+ if (forRect && coords.xRel == 1 && (line = getLine(cm.doc, coords.line).text).length == coords.ch) {
3542
+ var colDiff = countColumn(line, line.length, cm.options.tabSize) - line.length;
3543
+ coords = Pos(coords.line, Math.max(0, Math.round((x - paddingH(cm.display).left) / charWidth(cm.display)) - colDiff));
3544
+ }
3545
+ return coords;
3546
+ }
3547
+
3548
+ // A mouse down can be a single click, double click, triple click,
3549
+ // start of selection drag, start of text drag, new cursor
3550
+ // (ctrl-click), rectangle drag (alt-drag), or xwin
3551
+ // middle-click-paste. Or it might be a click on something we should
3552
+ // not interfere with, such as a scrollbar or widget.
3553
+ function onMouseDown(e) {
3554
+ var cm = this, display = cm.display;
3555
+ if (display.activeTouch && display.input.supportsTouch() || signalDOMEvent(cm, e)) return;
3556
+ display.shift = e.shiftKey;
3557
+
3558
+ if (eventInWidget(display, e)) {
3559
+ if (!webkit) {
3560
+ // Briefly turn off draggability, to allow widgets to do
3561
+ // normal dragging things.
3562
+ display.scroller.draggable = false;
3563
+ setTimeout(function(){display.scroller.draggable = true;}, 100);
3564
+ }
3565
+ return;
3566
+ }
3567
+ if (clickInGutter(cm, e)) return;
3568
+ var start = posFromMouse(cm, e);
3569
+ window.focus();
3570
+
3571
+ switch (e_button(e)) {
3572
+ case 1:
3573
+ // #3261: make sure, that we're not starting a second selection
3574
+ if (cm.state.selectingText)
3575
+ cm.state.selectingText(e);
3576
+ else if (start)
3577
+ leftButtonDown(cm, e, start);
3578
+ else if (e_target(e) == display.scroller)
3579
+ e_preventDefault(e);
3580
+ break;
3581
+ case 2:
3582
+ if (webkit) cm.state.lastMiddleDown = +new Date;
3583
+ if (start) extendSelection(cm.doc, start);
3584
+ setTimeout(function() {display.input.focus();}, 20);
3585
+ e_preventDefault(e);
3586
+ break;
3587
+ case 3:
3588
+ if (captureRightClick) onContextMenu(cm, e);
3589
+ else delayBlurEvent(cm);
3590
+ break;
3591
+ }
3592
+ }
3593
+
3594
+ var lastClick, lastDoubleClick;
3595
+ function leftButtonDown(cm, e, start) {
3596
+ if (ie) setTimeout(bind(ensureFocus, cm), 0);
3597
+ else cm.curOp.focus = activeElt();
3598
+
3599
+ var now = +new Date, type;
3600
+ if (lastDoubleClick && lastDoubleClick.time > now - 400 && cmp(lastDoubleClick.pos, start) == 0) {
3601
+ type = "triple";
3602
+ } else if (lastClick && lastClick.time > now - 400 && cmp(lastClick.pos, start) == 0) {
3603
+ type = "double";
3604
+ lastDoubleClick = {time: now, pos: start};
3605
+ } else {
3606
+ type = "single";
3607
+ lastClick = {time: now, pos: start};
3608
+ }
3609
+
3610
+ var sel = cm.doc.sel, modifier = mac ? e.metaKey : e.ctrlKey, contained;
3611
+ if (cm.options.dragDrop && dragAndDrop && !isReadOnly(cm) &&
3612
+ type == "single" && (contained = sel.contains(start)) > -1 &&
3613
+ (cmp((contained = sel.ranges[contained]).from(), start) < 0 || start.xRel > 0) &&
3614
+ (cmp(contained.to(), start) > 0 || start.xRel < 0))
3615
+ leftButtonStartDrag(cm, e, start, modifier);
3616
+ else
3617
+ leftButtonSelect(cm, e, start, type, modifier);
3618
+ }
3619
+
3620
+ // Start a text drag. When it ends, see if any dragging actually
3621
+ // happen, and treat as a click if it didn't.
3622
+ function leftButtonStartDrag(cm, e, start, modifier) {
3623
+ var display = cm.display, startTime = +new Date;
3624
+ var dragEnd = operation(cm, function(e2) {
3625
+ if (webkit) display.scroller.draggable = false;
3626
+ cm.state.draggingText = false;
3627
+ off(document, "mouseup", dragEnd);
3628
+ off(display.scroller, "drop", dragEnd);
3629
+ if (Math.abs(e.clientX - e2.clientX) + Math.abs(e.clientY - e2.clientY) < 10) {
3630
+ e_preventDefault(e2);
3631
+ if (!modifier && +new Date - 200 < startTime)
3632
+ extendSelection(cm.doc, start);
3633
+ // Work around unexplainable focus problem in IE9 (#2127) and Chrome (#3081)
3634
+ if (webkit || ie && ie_version == 9)
3635
+ setTimeout(function() {document.body.focus(); display.input.focus();}, 20);
3636
+ else
3637
+ display.input.focus();
3638
+ }
3639
+ });
3640
+ // Let the drag handler handle this.
3641
+ if (webkit) display.scroller.draggable = true;
3642
+ cm.state.draggingText = dragEnd;
3643
+ // IE's approach to draggable
3644
+ if (display.scroller.dragDrop) display.scroller.dragDrop();
3645
+ on(document, "mouseup", dragEnd);
3646
+ on(display.scroller, "drop", dragEnd);
3647
+ }
3648
+
3649
+ // Normal selection, as opposed to text dragging.
3650
+ function leftButtonSelect(cm, e, start, type, addNew) {
3651
+ var display = cm.display, doc = cm.doc;
3652
+ e_preventDefault(e);
3653
+
3654
+ var ourRange, ourIndex, startSel = doc.sel, ranges = startSel.ranges;
3655
+ if (addNew && !e.shiftKey) {
3656
+ ourIndex = doc.sel.contains(start);
3657
+ if (ourIndex > -1)
3658
+ ourRange = ranges[ourIndex];
3659
+ else
3660
+ ourRange = new Range(start, start);
3661
+ } else {
3662
+ ourRange = doc.sel.primary();
3663
+ ourIndex = doc.sel.primIndex;
3664
+ }
3665
+
3666
+ if (e.altKey) {
3667
+ type = "rect";
3668
+ if (!addNew) ourRange = new Range(start, start);
3669
+ start = posFromMouse(cm, e, true, true);
3670
+ ourIndex = -1;
3671
+ } else if (type == "double") {
3672
+ var word = cm.findWordAt(start);
3673
+ if (cm.display.shift || doc.extend)
3674
+ ourRange = extendRange(doc, ourRange, word.anchor, word.head);
3675
+ else
3676
+ ourRange = word;
3677
+ } else if (type == "triple") {
3678
+ var line = new Range(Pos(start.line, 0), clipPos(doc, Pos(start.line + 1, 0)));
3679
+ if (cm.display.shift || doc.extend)
3680
+ ourRange = extendRange(doc, ourRange, line.anchor, line.head);
3681
+ else
3682
+ ourRange = line;
3683
+ } else {
3684
+ ourRange = extendRange(doc, ourRange, start);
3685
+ }
3686
+
3687
+ if (!addNew) {
3688
+ ourIndex = 0;
3689
+ setSelection(doc, new Selection([ourRange], 0), sel_mouse);
3690
+ startSel = doc.sel;
3691
+ } else if (ourIndex == -1) {
3692
+ ourIndex = ranges.length;
3693
+ setSelection(doc, normalizeSelection(ranges.concat([ourRange]), ourIndex),
3694
+ {scroll: false, origin: "*mouse"});
3695
+ } else if (ranges.length > 1 && ranges[ourIndex].empty() && type == "single" && !e.shiftKey) {
3696
+ setSelection(doc, normalizeSelection(ranges.slice(0, ourIndex).concat(ranges.slice(ourIndex + 1)), 0),
3697
+ {scroll: false, origin: "*mouse"});
3698
+ startSel = doc.sel;
3699
+ } else {
3700
+ replaceOneSelection(doc, ourIndex, ourRange, sel_mouse);
3701
+ }
3702
+
3703
+ var lastPos = start;
3704
+ function extendTo(pos) {
3705
+ if (cmp(lastPos, pos) == 0) return;
3706
+ lastPos = pos;
3707
+
3708
+ if (type == "rect") {
3709
+ var ranges = [], tabSize = cm.options.tabSize;
3710
+ var startCol = countColumn(getLine(doc, start.line).text, start.ch, tabSize);
3711
+ var posCol = countColumn(getLine(doc, pos.line).text, pos.ch, tabSize);
3712
+ var left = Math.min(startCol, posCol), right = Math.max(startCol, posCol);
3713
+ for (var line = Math.min(start.line, pos.line), end = Math.min(cm.lastLine(), Math.max(start.line, pos.line));
3714
+ line <= end; line++) {
3715
+ var text = getLine(doc, line).text, leftPos = findColumn(text, left, tabSize);
3716
+ if (left == right)
3717
+ ranges.push(new Range(Pos(line, leftPos), Pos(line, leftPos)));
3718
+ else if (text.length > leftPos)
3719
+ ranges.push(new Range(Pos(line, leftPos), Pos(line, findColumn(text, right, tabSize))));
3720
+ }
3721
+ if (!ranges.length) ranges.push(new Range(start, start));
3722
+ setSelection(doc, normalizeSelection(startSel.ranges.slice(0, ourIndex).concat(ranges), ourIndex),
3723
+ {origin: "*mouse", scroll: false});
3724
+ cm.scrollIntoView(pos);
3725
+ } else {
3726
+ var oldRange = ourRange;
3727
+ var anchor = oldRange.anchor, head = pos;
3728
+ if (type != "single") {
3729
+ if (type == "double")
3730
+ var range = cm.findWordAt(pos);
3731
+ else
3732
+ var range = new Range(Pos(pos.line, 0), clipPos(doc, Pos(pos.line + 1, 0)));
3733
+ if (cmp(range.anchor, anchor) > 0) {
3734
+ head = range.head;
3735
+ anchor = minPos(oldRange.from(), range.anchor);
3736
+ } else {
3737
+ head = range.anchor;
3738
+ anchor = maxPos(oldRange.to(), range.head);
3739
+ }
3740
+ }
3741
+ var ranges = startSel.ranges.slice(0);
3742
+ ranges[ourIndex] = new Range(clipPos(doc, anchor), head);
3743
+ setSelection(doc, normalizeSelection(ranges, ourIndex), sel_mouse);
3744
+ }
3745
+ }
3746
+
3747
+ var editorSize = display.wrapper.getBoundingClientRect();
3748
+ // Used to ensure timeout re-tries don't fire when another extend
3749
+ // happened in the meantime (clearTimeout isn't reliable -- at
3750
+ // least on Chrome, the timeouts still happen even when cleared,
3751
+ // if the clear happens after their scheduled firing time).
3752
+ var counter = 0;
3753
+
3754
+ function extend(e) {
3755
+ var curCount = ++counter;
3756
+ var cur = posFromMouse(cm, e, true, type == "rect");
3757
+ if (!cur) return;
3758
+ if (cmp(cur, lastPos) != 0) {
3759
+ cm.curOp.focus = activeElt();
3760
+ extendTo(cur);
3761
+ var visible = visibleLines(display, doc);
3762
+ if (cur.line >= visible.to || cur.line < visible.from)
3763
+ setTimeout(operation(cm, function(){if (counter == curCount) extend(e);}), 150);
3764
+ } else {
3765
+ var outside = e.clientY < editorSize.top ? -20 : e.clientY > editorSize.bottom ? 20 : 0;
3766
+ if (outside) setTimeout(operation(cm, function() {
3767
+ if (counter != curCount) return;
3768
+ display.scroller.scrollTop += outside;
3769
+ extend(e);
3770
+ }), 50);
3771
+ }
3772
+ }
3773
+
3774
+ function done(e) {
3775
+ cm.state.selectingText = false;
3776
+ counter = Infinity;
3777
+ e_preventDefault(e);
3778
+ display.input.focus();
3779
+ off(document, "mousemove", move);
3780
+ off(document, "mouseup", up);
3781
+ doc.history.lastSelOrigin = null;
3782
+ }
3783
+
3784
+ var move = operation(cm, function(e) {
3785
+ if (!e_button(e)) done(e);
3786
+ else extend(e);
3787
+ });
3788
+ var up = operation(cm, done);
3789
+ cm.state.selectingText = up;
3790
+ on(document, "mousemove", move);
3791
+ on(document, "mouseup", up);
3792
+ }
3793
+
3794
+ // Determines whether an event happened in the gutter, and fires the
3795
+ // handlers for the corresponding event.
3796
+ function gutterEvent(cm, e, type, prevent) {
3797
+ try { var mX = e.clientX, mY = e.clientY; }
3798
+ catch(e) { return false; }
3799
+ if (mX >= Math.floor(cm.display.gutters.getBoundingClientRect().right)) return false;
3800
+ if (prevent) e_preventDefault(e);
3801
+
3802
+ var display = cm.display;
3803
+ var lineBox = display.lineDiv.getBoundingClientRect();
3804
+
3805
+ if (mY > lineBox.bottom || !hasHandler(cm, type)) return e_defaultPrevented(e);
3806
+ mY -= lineBox.top - display.viewOffset;
3807
+
3808
+ for (var i = 0; i < cm.options.gutters.length; ++i) {
3809
+ var g = display.gutters.childNodes[i];
3810
+ if (g && g.getBoundingClientRect().right >= mX) {
3811
+ var line = lineAtHeight(cm.doc, mY);
3812
+ var gutter = cm.options.gutters[i];
3813
+ signal(cm, type, cm, line, gutter, e);
3814
+ return e_defaultPrevented(e);
3815
+ }
3816
+ }
3817
+ }
3818
+
3819
+ function clickInGutter(cm, e) {
3820
+ return gutterEvent(cm, e, "gutterClick", true);
3821
+ }
3822
+
3823
+ // Kludge to work around strange IE behavior where it'll sometimes
3824
+ // re-fire a series of drag-related events right after the drop (#1551)
3825
+ var lastDrop = 0;
3826
+
3827
+ function onDrop(e) {
3828
+ var cm = this;
3829
+ clearDragCursor(cm);
3830
+ if (signalDOMEvent(cm, e) || eventInWidget(cm.display, e))
3831
+ return;
3832
+ e_preventDefault(e);
3833
+ if (ie) lastDrop = +new Date;
3834
+ var pos = posFromMouse(cm, e, true), files = e.dataTransfer.files;
3835
+ if (!pos || isReadOnly(cm)) return;
3836
+ // Might be a file drop, in which case we simply extract the text
3837
+ // and insert it.
3838
+ if (files && files.length && window.FileReader && window.File) {
3839
+ var n = files.length, text = Array(n), read = 0;
3840
+ var loadFile = function(file, i) {
3841
+ if (cm.options.allowDropFileTypes &&
3842
+ indexOf(cm.options.allowDropFileTypes, file.type) == -1)
3843
+ return;
3844
+
3845
+ var reader = new FileReader;
3846
+ reader.onload = operation(cm, function() {
3847
+ var content = reader.result;
3848
+ if (/[\x00-\x08\x0e-\x1f]{2}/.test(content)) content = "";
3849
+ text[i] = content;
3850
+ if (++read == n) {
3851
+ pos = clipPos(cm.doc, pos);
3852
+ var change = {from: pos, to: pos,
3853
+ text: cm.doc.splitLines(text.join(cm.doc.lineSeparator())),
3854
+ origin: "paste"};
3855
+ makeChange(cm.doc, change);
3856
+ setSelectionReplaceHistory(cm.doc, simpleSelection(pos, changeEnd(change)));
3857
+ }
3858
+ });
3859
+ reader.readAsText(file);
3860
+ };
3861
+ for (var i = 0; i < n; ++i) loadFile(files[i], i);
3862
+ } else { // Normal drop
3863
+ // Don't do a replace if the drop happened inside of the selected text.
3864
+ if (cm.state.draggingText && cm.doc.sel.contains(pos) > -1) {
3865
+ cm.state.draggingText(e);
3866
+ // Ensure the editor is re-focused
3867
+ setTimeout(function() {cm.display.input.focus();}, 20);
3868
+ return;
3869
+ }
3870
+ try {
3871
+ var text = e.dataTransfer.getData("Text");
3872
+ if (text) {
3873
+ if (cm.state.draggingText && !(mac ? e.altKey : e.ctrlKey))
3874
+ var selected = cm.listSelections();
3875
+ setSelectionNoUndo(cm.doc, simpleSelection(pos, pos));
3876
+ if (selected) for (var i = 0; i < selected.length; ++i)
3877
+ replaceRange(cm.doc, "", selected[i].anchor, selected[i].head, "drag");
3878
+ cm.replaceSelection(text, "around", "paste");
3879
+ cm.display.input.focus();
3880
+ }
3881
+ }
3882
+ catch(e){}
3883
+ }
3884
+ }
3885
+
3886
+ function onDragStart(cm, e) {
3887
+ if (ie && (!cm.state.draggingText || +new Date - lastDrop < 100)) { e_stop(e); return; }
3888
+ if (signalDOMEvent(cm, e) || eventInWidget(cm.display, e)) return;
3889
+
3890
+ e.dataTransfer.setData("Text", cm.getSelection());
3891
+
3892
+ // Use dummy image instead of default browsers image.
3893
+ // Recent Safari (~6.0.2) have a tendency to segfault when this happens, so we don't do it there.
3894
+ if (e.dataTransfer.setDragImage && !safari) {
3895
+ var img = elt("img", null, null, "position: fixed; left: 0; top: 0;");
3896
+ img.src = "data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==";
3897
+ if (presto) {
3898
+ img.width = img.height = 1;
3899
+ cm.display.wrapper.appendChild(img);
3900
+ // Force a relayout, or Opera won't use our image for some obscure reason
3901
+ img._top = img.offsetTop;
3902
+ }
3903
+ e.dataTransfer.setDragImage(img, 0, 0);
3904
+ if (presto) img.parentNode.removeChild(img);
3905
+ }
3906
+ }
3907
+
3908
+ function onDragOver(cm, e) {
3909
+ var pos = posFromMouse(cm, e);
3910
+ if (!pos) return;
3911
+ var frag = document.createDocumentFragment();
3912
+ drawSelectionCursor(cm, pos, frag);
3913
+ if (!cm.display.dragCursor) {
3914
+ cm.display.dragCursor = elt("div", null, "CodeMirror-cursors CodeMirror-dragcursors");
3915
+ cm.display.lineSpace.insertBefore(cm.display.dragCursor, cm.display.cursorDiv);
3916
+ }
3917
+ removeChildrenAndAdd(cm.display.dragCursor, frag);
3918
+ }
3919
+
3920
+ function clearDragCursor(cm) {
3921
+ if (cm.display.dragCursor) {
3922
+ cm.display.lineSpace.removeChild(cm.display.dragCursor);
3923
+ cm.display.dragCursor = null;
3924
+ }
3925
+ }
3926
+
3927
+ // SCROLL EVENTS
3928
+
3929
+ // Sync the scrollable area and scrollbars, ensure the viewport
3930
+ // covers the visible area.
3931
+ function setScrollTop(cm, val) {
3932
+ if (Math.abs(cm.doc.scrollTop - val) < 2) return;
3933
+ cm.doc.scrollTop = val;
3934
+ if (!gecko) updateDisplaySimple(cm, {top: val});
3935
+ if (cm.display.scroller.scrollTop != val) cm.display.scroller.scrollTop = val;
3936
+ cm.display.scrollbars.setScrollTop(val);
3937
+ if (gecko) updateDisplaySimple(cm);
3938
+ startWorker(cm, 100);
3939
+ }
3940
+ // Sync scroller and scrollbar, ensure the gutter elements are
3941
+ // aligned.
3942
+ function setScrollLeft(cm, val, isScroller) {
3943
+ if (isScroller ? val == cm.doc.scrollLeft : Math.abs(cm.doc.scrollLeft - val) < 2) return;
3944
+ val = Math.min(val, cm.display.scroller.scrollWidth - cm.display.scroller.clientWidth);
3945
+ cm.doc.scrollLeft = val;
3946
+ alignHorizontally(cm);
3947
+ if (cm.display.scroller.scrollLeft != val) cm.display.scroller.scrollLeft = val;
3948
+ cm.display.scrollbars.setScrollLeft(val);
3949
+ }
3950
+
3951
+ // Since the delta values reported on mouse wheel events are
3952
+ // unstandardized between browsers and even browser versions, and
3953
+ // generally horribly unpredictable, this code starts by measuring
3954
+ // the scroll effect that the first few mouse wheel events have,
3955
+ // and, from that, detects the way it can convert deltas to pixel
3956
+ // offsets afterwards.
3957
+ //
3958
+ // The reason we want to know the amount a wheel event will scroll
3959
+ // is that it gives us a chance to update the display before the
3960
+ // actual scrolling happens, reducing flickering.
3961
+
3962
+ var wheelSamples = 0, wheelPixelsPerUnit = null;
3963
+ // Fill in a browser-detected starting value on browsers where we
3964
+ // know one. These don't have to be accurate -- the result of them
3965
+ // being wrong would just be a slight flicker on the first wheel
3966
+ // scroll (if it is large enough).
3967
+ if (ie) wheelPixelsPerUnit = -.53;
3968
+ else if (gecko) wheelPixelsPerUnit = 15;
3969
+ else if (chrome) wheelPixelsPerUnit = -.7;
3970
+ else if (safari) wheelPixelsPerUnit = -1/3;
3971
+
3972
+ var wheelEventDelta = function(e) {
3973
+ var dx = e.wheelDeltaX, dy = e.wheelDeltaY;
3974
+ if (dx == null && e.detail && e.axis == e.HORIZONTAL_AXIS) dx = e.detail;
3975
+ if (dy == null && e.detail && e.axis == e.VERTICAL_AXIS) dy = e.detail;
3976
+ else if (dy == null) dy = e.wheelDelta;
3977
+ return {x: dx, y: dy};
3978
+ };
3979
+ CodeMirror.wheelEventPixels = function(e) {
3980
+ var delta = wheelEventDelta(e);
3981
+ delta.x *= wheelPixelsPerUnit;
3982
+ delta.y *= wheelPixelsPerUnit;
3983
+ return delta;
3984
+ };
3985
+
3986
+ function onScrollWheel(cm, e) {
3987
+ var delta = wheelEventDelta(e), dx = delta.x, dy = delta.y;
3988
+
3989
+ var display = cm.display, scroll = display.scroller;
3990
+ // Quit if there's nothing to scroll here
3991
+ var canScrollX = scroll.scrollWidth > scroll.clientWidth;
3992
+ var canScrollY = scroll.scrollHeight > scroll.clientHeight;
3993
+ if (!(dx && canScrollX || dy && canScrollY)) return;
3994
+
3995
+ // Webkit browsers on OS X abort momentum scrolls when the target
3996
+ // of the scroll event is removed from the scrollable element.
3997
+ // This hack (see related code in patchDisplay) makes sure the
3998
+ // element is kept around.
3999
+ if (dy && mac && webkit) {
4000
+ outer: for (var cur = e.target, view = display.view; cur != scroll; cur = cur.parentNode) {
4001
+ for (var i = 0; i < view.length; i++) {
4002
+ if (view[i].node == cur) {
4003
+ cm.display.currentWheelTarget = cur;
4004
+ break outer;
4005
+ }
4006
+ }
4007
+ }
4008
+ }
4009
+
4010
+ // On some browsers, horizontal scrolling will cause redraws to
4011
+ // happen before the gutter has been realigned, causing it to
4012
+ // wriggle around in a most unseemly way. When we have an
4013
+ // estimated pixels/delta value, we just handle horizontal
4014
+ // scrolling entirely here. It'll be slightly off from native, but
4015
+ // better than glitching out.
4016
+ if (dx && !gecko && !presto && wheelPixelsPerUnit != null) {
4017
+ if (dy && canScrollY)
4018
+ setScrollTop(cm, Math.max(0, Math.min(scroll.scrollTop + dy * wheelPixelsPerUnit, scroll.scrollHeight - scroll.clientHeight)));
4019
+ setScrollLeft(cm, Math.max(0, Math.min(scroll.scrollLeft + dx * wheelPixelsPerUnit, scroll.scrollWidth - scroll.clientWidth)));
4020
+ // Only prevent default scrolling if vertical scrolling is
4021
+ // actually possible. Otherwise, it causes vertical scroll
4022
+ // jitter on OSX trackpads when deltaX is small and deltaY
4023
+ // is large (issue #3579)
4024
+ if (!dy || (dy && canScrollY))
4025
+ e_preventDefault(e);
4026
+ display.wheelStartX = null; // Abort measurement, if in progress
4027
+ return;
4028
+ }
4029
+
4030
+ // 'Project' the visible viewport to cover the area that is being
4031
+ // scrolled into view (if we know enough to estimate it).
4032
+ if (dy && wheelPixelsPerUnit != null) {
4033
+ var pixels = dy * wheelPixelsPerUnit;
4034
+ var top = cm.doc.scrollTop, bot = top + display.wrapper.clientHeight;
4035
+ if (pixels < 0) top = Math.max(0, top + pixels - 50);
4036
+ else bot = Math.min(cm.doc.height, bot + pixels + 50);
4037
+ updateDisplaySimple(cm, {top: top, bottom: bot});
4038
+ }
4039
+
4040
+ if (wheelSamples < 20) {
4041
+ if (display.wheelStartX == null) {
4042
+ display.wheelStartX = scroll.scrollLeft; display.wheelStartY = scroll.scrollTop;
4043
+ display.wheelDX = dx; display.wheelDY = dy;
4044
+ setTimeout(function() {
4045
+ if (display.wheelStartX == null) return;
4046
+ var movedX = scroll.scrollLeft - display.wheelStartX;
4047
+ var movedY = scroll.scrollTop - display.wheelStartY;
4048
+ var sample = (movedY && display.wheelDY && movedY / display.wheelDY) ||
4049
+ (movedX && display.wheelDX && movedX / display.wheelDX);
4050
+ display.wheelStartX = display.wheelStartY = null;
4051
+ if (!sample) return;
4052
+ wheelPixelsPerUnit = (wheelPixelsPerUnit * wheelSamples + sample) / (wheelSamples + 1);
4053
+ ++wheelSamples;
4054
+ }, 200);
4055
+ } else {
4056
+ display.wheelDX += dx; display.wheelDY += dy;
4057
+ }
4058
+ }
4059
+ }
4060
+
4061
+ // KEY EVENTS
4062
+
4063
+ // Run a handler that was bound to a key.
4064
+ function doHandleBinding(cm, bound, dropShift) {
4065
+ if (typeof bound == "string") {
4066
+ bound = commands[bound];
4067
+ if (!bound) return false;
4068
+ }
4069
+ // Ensure previous input has been read, so that the handler sees a
4070
+ // consistent view of the document
4071
+ cm.display.input.ensurePolled();
4072
+ var prevShift = cm.display.shift, done = false;
4073
+ try {
4074
+ if (isReadOnly(cm)) cm.state.suppressEdits = true;
4075
+ if (dropShift) cm.display.shift = false;
4076
+ done = bound(cm) != Pass;
4077
+ } finally {
4078
+ cm.display.shift = prevShift;
4079
+ cm.state.suppressEdits = false;
4080
+ }
4081
+ return done;
4082
+ }
4083
+
4084
+ function lookupKeyForEditor(cm, name, handle) {
4085
+ for (var i = 0; i < cm.state.keyMaps.length; i++) {
4086
+ var result = lookupKey(name, cm.state.keyMaps[i], handle, cm);
4087
+ if (result) return result;
4088
+ }
4089
+ return (cm.options.extraKeys && lookupKey(name, cm.options.extraKeys, handle, cm))
4090
+ || lookupKey(name, cm.options.keyMap, handle, cm);
4091
+ }
4092
+
4093
+ var stopSeq = new Delayed;
4094
+ function dispatchKey(cm, name, e, handle) {
4095
+ var seq = cm.state.keySeq;
4096
+ if (seq) {
4097
+ if (isModifierKey(name)) return "handled";
4098
+ stopSeq.set(50, function() {
4099
+ if (cm.state.keySeq == seq) {
4100
+ cm.state.keySeq = null;
4101
+ cm.display.input.reset();
4102
+ }
4103
+ });
4104
+ name = seq + " " + name;
4105
+ }
4106
+ var result = lookupKeyForEditor(cm, name, handle);
4107
+
4108
+ if (result == "multi")
4109
+ cm.state.keySeq = name;
4110
+ if (result == "handled")
4111
+ signalLater(cm, "keyHandled", cm, name, e);
4112
+
4113
+ if (result == "handled" || result == "multi") {
4114
+ e_preventDefault(e);
4115
+ restartBlink(cm);
4116
+ }
4117
+
4118
+ if (seq && !result && /\'$/.test(name)) {
4119
+ e_preventDefault(e);
4120
+ return true;
4121
+ }
4122
+ return !!result;
4123
+ }
4124
+
4125
+ // Handle a key from the keydown event.
4126
+ function handleKeyBinding(cm, e) {
4127
+ var name = keyName(e, true);
4128
+ if (!name) return false;
4129
+
4130
+ if (e.shiftKey && !cm.state.keySeq) {
4131
+ // First try to resolve full name (including 'Shift-'). Failing
4132
+ // that, see if there is a cursor-motion command (starting with
4133
+ // 'go') bound to the keyname without 'Shift-'.
4134
+ return dispatchKey(cm, "Shift-" + name, e, function(b) {return doHandleBinding(cm, b, true);})
4135
+ || dispatchKey(cm, name, e, function(b) {
4136
+ if (typeof b == "string" ? /^go[A-Z]/.test(b) : b.motion)
4137
+ return doHandleBinding(cm, b);
4138
+ });
4139
+ } else {
4140
+ return dispatchKey(cm, name, e, function(b) { return doHandleBinding(cm, b); });
4141
+ }
4142
+ }
4143
+
4144
+ // Handle a key from the keypress event
4145
+ function handleCharBinding(cm, e, ch) {
4146
+ return dispatchKey(cm, "'" + ch + "'", e,
4147
+ function(b) { return doHandleBinding(cm, b, true); });
4148
+ }
4149
+
4150
+ var lastStoppedKey = null;
4151
+ function onKeyDown(e) {
4152
+ var cm = this;
4153
+ cm.curOp.focus = activeElt();
4154
+ if (signalDOMEvent(cm, e)) return;
4155
+ // IE does strange things with escape.
4156
+ if (ie && ie_version < 11 && e.keyCode == 27) e.returnValue = false;
4157
+ var code = e.keyCode;
4158
+ cm.display.shift = code == 16 || e.shiftKey;
4159
+ var handled = handleKeyBinding(cm, e);
4160
+ if (presto) {
4161
+ lastStoppedKey = handled ? code : null;
4162
+ // Opera has no cut event... we try to at least catch the key combo
4163
+ if (!handled && code == 88 && !hasCopyEvent && (mac ? e.metaKey : e.ctrlKey))
4164
+ cm.replaceSelection("", null, "cut");
4165
+ }
4166
+
4167
+ // Turn mouse into crosshair when Alt is held on Mac.
4168
+ if (code == 18 && !/\bCodeMirror-crosshair\b/.test(cm.display.lineDiv.className))
4169
+ showCrossHair(cm);
4170
+ }
4171
+
4172
+ function showCrossHair(cm) {
4173
+ var lineDiv = cm.display.lineDiv;
4174
+ addClass(lineDiv, "CodeMirror-crosshair");
4175
+
4176
+ function up(e) {
4177
+ if (e.keyCode == 18 || !e.altKey) {
4178
+ rmClass(lineDiv, "CodeMirror-crosshair");
4179
+ off(document, "keyup", up);
4180
+ off(document, "mouseover", up);
4181
+ }
4182
+ }
4183
+ on(document, "keyup", up);
4184
+ on(document, "mouseover", up);
4185
+ }
4186
+
4187
+ function onKeyUp(e) {
4188
+ if (e.keyCode == 16) this.doc.sel.shift = false;
4189
+ signalDOMEvent(this, e);
4190
+ }
4191
+
4192
+ function onKeyPress(e) {
4193
+ var cm = this;
4194
+ if (eventInWidget(cm.display, e) || signalDOMEvent(cm, e) || e.ctrlKey && !e.altKey || mac && e.metaKey) return;
4195
+ var keyCode = e.keyCode, charCode = e.charCode;
4196
+ if (presto && keyCode == lastStoppedKey) {lastStoppedKey = null; e_preventDefault(e); return;}
4197
+ if ((presto && (!e.which || e.which < 10)) && handleKeyBinding(cm, e)) return;
4198
+ var ch = String.fromCharCode(charCode == null ? keyCode : charCode);
4199
+ if (handleCharBinding(cm, e, ch)) return;
4200
+ cm.display.input.onKeyPress(e);
4201
+ }
4202
+
4203
+ // FOCUS/BLUR EVENTS
4204
+
4205
+ function delayBlurEvent(cm) {
4206
+ cm.state.delayingBlurEvent = true;
4207
+ setTimeout(function() {
4208
+ if (cm.state.delayingBlurEvent) {
4209
+ cm.state.delayingBlurEvent = false;
4210
+ onBlur(cm);
4211
+ }
4212
+ }, 100);
4213
+ }
4214
+
4215
+ function onFocus(cm) {
4216
+ if (cm.state.delayingBlurEvent) cm.state.delayingBlurEvent = false;
4217
+
4218
+ if (cm.options.readOnly == "nocursor") return;
4219
+ if (!cm.state.focused) {
4220
+ signal(cm, "focus", cm);
4221
+ cm.state.focused = true;
4222
+ addClass(cm.display.wrapper, "CodeMirror-focused");
4223
+ // This test prevents this from firing when a context
4224
+ // menu is closed (since the input reset would kill the
4225
+ // select-all detection hack)
4226
+ if (!cm.curOp && cm.display.selForContextMenu != cm.doc.sel) {
4227
+ cm.display.input.reset();
4228
+ if (webkit) setTimeout(function() { cm.display.input.reset(true); }, 20); // Issue #1730
4229
+ }
4230
+ cm.display.input.receivedFocus();
4231
+ }
4232
+ restartBlink(cm);
4233
+ }
4234
+ function onBlur(cm) {
4235
+ if (cm.state.delayingBlurEvent) return;
4236
+
4237
+ if (cm.state.focused) {
4238
+ signal(cm, "blur", cm);
4239
+ cm.state.focused = false;
4240
+ rmClass(cm.display.wrapper, "CodeMirror-focused");
4241
+ }
4242
+ clearInterval(cm.display.blinker);
4243
+ setTimeout(function() {if (!cm.state.focused) cm.display.shift = false;}, 150);
4244
+ }
4245
+
4246
+ // CONTEXT MENU HANDLING
4247
+
4248
+ // To make the context menu work, we need to briefly unhide the
4249
+ // textarea (making it as unobtrusive as possible) to let the
4250
+ // right-click take effect on it.
4251
+ function onContextMenu(cm, e) {
4252
+ if (eventInWidget(cm.display, e) || contextMenuInGutter(cm, e)) return;
4253
+ if (signalDOMEvent(cm, e, "contextmenu")) return;
4254
+ cm.display.input.onContextMenu(e);
4255
+ }
4256
+
4257
+ function contextMenuInGutter(cm, e) {
4258
+ if (!hasHandler(cm, "gutterContextMenu")) return false;
4259
+ return gutterEvent(cm, e, "gutterContextMenu", false);
4260
+ }
4261
+
4262
+ // UPDATING
4263
+
4264
+ // Compute the position of the end of a change (its 'to' property
4265
+ // refers to the pre-change end).
4266
+ var changeEnd = CodeMirror.changeEnd = function(change) {
4267
+ if (!change.text) return change.to;
4268
+ return Pos(change.from.line + change.text.length - 1,
4269
+ lst(change.text).length + (change.text.length == 1 ? change.from.ch : 0));
4270
+ };
4271
+
4272
+ // Adjust a position to refer to the post-change position of the
4273
+ // same text, or the end of the change if the change covers it.
4274
+ function adjustForChange(pos, change) {
4275
+ if (cmp(pos, change.from) < 0) return pos;
4276
+ if (cmp(pos, change.to) <= 0) return changeEnd(change);
4277
+
4278
+ var line = pos.line + change.text.length - (change.to.line - change.from.line) - 1, ch = pos.ch;
4279
+ if (pos.line == change.to.line) ch += changeEnd(change).ch - change.to.ch;
4280
+ return Pos(line, ch);
4281
+ }
4282
+
4283
+ function computeSelAfterChange(doc, change) {
4284
+ var out = [];
4285
+ for (var i = 0; i < doc.sel.ranges.length; i++) {
4286
+ var range = doc.sel.ranges[i];
4287
+ out.push(new Range(adjustForChange(range.anchor, change),
4288
+ adjustForChange(range.head, change)));
4289
+ }
4290
+ return normalizeSelection(out, doc.sel.primIndex);
4291
+ }
4292
+
4293
+ function offsetPos(pos, old, nw) {
4294
+ if (pos.line == old.line)
4295
+ return Pos(nw.line, pos.ch - old.ch + nw.ch);
4296
+ else
4297
+ return Pos(nw.line + (pos.line - old.line), pos.ch);
4298
+ }
4299
+
4300
+ // Used by replaceSelections to allow moving the selection to the
4301
+ // start or around the replaced test. Hint may be "start" or "around".
4302
+ function computeReplacedSel(doc, changes, hint) {
4303
+ var out = [];
4304
+ var oldPrev = Pos(doc.first, 0), newPrev = oldPrev;
4305
+ for (var i = 0; i < changes.length; i++) {
4306
+ var change = changes[i];
4307
+ var from = offsetPos(change.from, oldPrev, newPrev);
4308
+ var to = offsetPos(changeEnd(change), oldPrev, newPrev);
4309
+ oldPrev = change.to;
4310
+ newPrev = to;
4311
+ if (hint == "around") {
4312
+ var range = doc.sel.ranges[i], inv = cmp(range.head, range.anchor) < 0;
4313
+ out[i] = new Range(inv ? to : from, inv ? from : to);
4314
+ } else {
4315
+ out[i] = new Range(from, from);
4316
+ }
4317
+ }
4318
+ return new Selection(out, doc.sel.primIndex);
4319
+ }
4320
+
4321
+ // Allow "beforeChange" event handlers to influence a change
4322
+ function filterChange(doc, change, update) {
4323
+ var obj = {
4324
+ canceled: false,
4325
+ from: change.from,
4326
+ to: change.to,
4327
+ text: change.text,
4328
+ origin: change.origin,
4329
+ cancel: function() { this.canceled = true; }
4330
+ };
4331
+ if (update) obj.update = function(from, to, text, origin) {
4332
+ if (from) this.from = clipPos(doc, from);
4333
+ if (to) this.to = clipPos(doc, to);
4334
+ if (text) this.text = text;
4335
+ if (origin !== undefined) this.origin = origin;
4336
+ };
4337
+ signal(doc, "beforeChange", doc, obj);
4338
+ if (doc.cm) signal(doc.cm, "beforeChange", doc.cm, obj);
4339
+
4340
+ if (obj.canceled) return null;
4341
+ return {from: obj.from, to: obj.to, text: obj.text, origin: obj.origin};
4342
+ }
4343
+
4344
+ // Apply a change to a document, and add it to the document's
4345
+ // history, and propagating it to all linked documents.
4346
+ function makeChange(doc, change, ignoreReadOnly) {
4347
+ if (doc.cm) {
4348
+ if (!doc.cm.curOp) return operation(doc.cm, makeChange)(doc, change, ignoreReadOnly);
4349
+ if (doc.cm.state.suppressEdits) return;
4350
+ }
4351
+
4352
+ if (hasHandler(doc, "beforeChange") || doc.cm && hasHandler(doc.cm, "beforeChange")) {
4353
+ change = filterChange(doc, change, true);
4354
+ if (!change) return;
4355
+ }
4356
+
4357
+ // Possibly split or suppress the update based on the presence
4358
+ // of read-only spans in its range.
4359
+ var split = sawReadOnlySpans && !ignoreReadOnly && removeReadOnlyRanges(doc, change.from, change.to);
4360
+ if (split) {
4361
+ for (var i = split.length - 1; i >= 0; --i)
4362
+ makeChangeInner(doc, {from: split[i].from, to: split[i].to, text: i ? [""] : change.text});
4363
+ } else {
4364
+ makeChangeInner(doc, change);
4365
+ }
4366
+ }
4367
+
4368
+ function makeChangeInner(doc, change) {
4369
+ if (change.text.length == 1 && change.text[0] == "" && cmp(change.from, change.to) == 0) return;
4370
+ var selAfter = computeSelAfterChange(doc, change);
4371
+ addChangeToHistory(doc, change, selAfter, doc.cm ? doc.cm.curOp.id : NaN);
4372
+
4373
+ makeChangeSingleDoc(doc, change, selAfter, stretchSpansOverChange(doc, change));
4374
+ var rebased = [];
4375
+
4376
+ linkedDocs(doc, function(doc, sharedHist) {
4377
+ if (!sharedHist && indexOf(rebased, doc.history) == -1) {
4378
+ rebaseHist(doc.history, change);
4379
+ rebased.push(doc.history);
4380
+ }
4381
+ makeChangeSingleDoc(doc, change, null, stretchSpansOverChange(doc, change));
4382
+ });
4383
+ }
4384
+
4385
+ // Revert a change stored in a document's history.
4386
+ function makeChangeFromHistory(doc, type, allowSelectionOnly) {
4387
+ if (doc.cm && doc.cm.state.suppressEdits) return;
4388
+
4389
+ var hist = doc.history, event, selAfter = doc.sel;
4390
+ var source = type == "undo" ? hist.done : hist.undone, dest = type == "undo" ? hist.undone : hist.done;
4391
+
4392
+ // Verify that there is a useable event (so that ctrl-z won't
4393
+ // needlessly clear selection events)
4394
+ for (var i = 0; i < source.length; i++) {
4395
+ event = source[i];
4396
+ if (allowSelectionOnly ? event.ranges && !event.equals(doc.sel) : !event.ranges)
4397
+ break;
4398
+ }
4399
+ if (i == source.length) return;
4400
+ hist.lastOrigin = hist.lastSelOrigin = null;
4401
+
4402
+ for (;;) {
4403
+ event = source.pop();
4404
+ if (event.ranges) {
4405
+ pushSelectionToHistory(event, dest);
4406
+ if (allowSelectionOnly && !event.equals(doc.sel)) {
4407
+ setSelection(doc, event, {clearRedo: false});
4408
+ return;
4409
+ }
4410
+ selAfter = event;
4411
+ }
4412
+ else break;
4413
+ }
4414
+
4415
+ // Build up a reverse change object to add to the opposite history
4416
+ // stack (redo when undoing, and vice versa).
4417
+ var antiChanges = [];
4418
+ pushSelectionToHistory(selAfter, dest);
4419
+ dest.push({changes: antiChanges, generation: hist.generation});
4420
+ hist.generation = event.generation || ++hist.maxGeneration;
4421
+
4422
+ var filter = hasHandler(doc, "beforeChange") || doc.cm && hasHandler(doc.cm, "beforeChange");
4423
+
4424
+ for (var i = event.changes.length - 1; i >= 0; --i) {
4425
+ var change = event.changes[i];
4426
+ change.origin = type;
4427
+ if (filter && !filterChange(doc, change, false)) {
4428
+ source.length = 0;
4429
+ return;
4430
+ }
4431
+
4432
+ antiChanges.push(historyChangeFromChange(doc, change));
4433
+
4434
+ var after = i ? computeSelAfterChange(doc, change) : lst(source);
4435
+ makeChangeSingleDoc(doc, change, after, mergeOldSpans(doc, change));
4436
+ if (!i && doc.cm) doc.cm.scrollIntoView({from: change.from, to: changeEnd(change)});
4437
+ var rebased = [];
4438
+
4439
+ // Propagate to the linked documents
4440
+ linkedDocs(doc, function(doc, sharedHist) {
4441
+ if (!sharedHist && indexOf(rebased, doc.history) == -1) {
4442
+ rebaseHist(doc.history, change);
4443
+ rebased.push(doc.history);
4444
+ }
4445
+ makeChangeSingleDoc(doc, change, null, mergeOldSpans(doc, change));
4446
+ });
4447
+ }
4448
+ }
4449
+
4450
+ // Sub-views need their line numbers shifted when text is added
4451
+ // above or below them in the parent document.
4452
+ function shiftDoc(doc, distance) {
4453
+ if (distance == 0) return;
4454
+ doc.first += distance;
4455
+ doc.sel = new Selection(map(doc.sel.ranges, function(range) {
4456
+ return new Range(Pos(range.anchor.line + distance, range.anchor.ch),
4457
+ Pos(range.head.line + distance, range.head.ch));
4458
+ }), doc.sel.primIndex);
4459
+ if (doc.cm) {
4460
+ regChange(doc.cm, doc.first, doc.first - distance, distance);
4461
+ for (var d = doc.cm.display, l = d.viewFrom; l < d.viewTo; l++)
4462
+ regLineChange(doc.cm, l, "gutter");
4463
+ }
4464
+ }
4465
+
4466
+ // More lower-level change function, handling only a single document
4467
+ // (not linked ones).
4468
+ function makeChangeSingleDoc(doc, change, selAfter, spans) {
4469
+ if (doc.cm && !doc.cm.curOp)
4470
+ return operation(doc.cm, makeChangeSingleDoc)(doc, change, selAfter, spans);
4471
+
4472
+ if (change.to.line < doc.first) {
4473
+ shiftDoc(doc, change.text.length - 1 - (change.to.line - change.from.line));
4474
+ return;
4475
+ }
4476
+ if (change.from.line > doc.lastLine()) return;
4477
+
4478
+ // Clip the change to the size of this doc
4479
+ if (change.from.line < doc.first) {
4480
+ var shift = change.text.length - 1 - (doc.first - change.from.line);
4481
+ shiftDoc(doc, shift);
4482
+ change = {from: Pos(doc.first, 0), to: Pos(change.to.line + shift, change.to.ch),
4483
+ text: [lst(change.text)], origin: change.origin};
4484
+ }
4485
+ var last = doc.lastLine();
4486
+ if (change.to.line > last) {
4487
+ change = {from: change.from, to: Pos(last, getLine(doc, last).text.length),
4488
+ text: [change.text[0]], origin: change.origin};
4489
+ }
4490
+
4491
+ change.removed = getBetween(doc, change.from, change.to);
4492
+
4493
+ if (!selAfter) selAfter = computeSelAfterChange(doc, change);
4494
+ if (doc.cm) makeChangeSingleDocInEditor(doc.cm, change, spans);
4495
+ else updateDoc(doc, change, spans);
4496
+ setSelectionNoUndo(doc, selAfter, sel_dontScroll);
4497
+ }
4498
+
4499
+ // Handle the interaction of a change to a document with the editor
4500
+ // that this document is part of.
4501
+ function makeChangeSingleDocInEditor(cm, change, spans) {
4502
+ var doc = cm.doc, display = cm.display, from = change.from, to = change.to;
4503
+
4504
+ var recomputeMaxLength = false, checkWidthStart = from.line;
4505
+ if (!cm.options.lineWrapping) {
4506
+ checkWidthStart = lineNo(visualLine(getLine(doc, from.line)));
4507
+ doc.iter(checkWidthStart, to.line + 1, function(line) {
4508
+ if (line == display.maxLine) {
4509
+ recomputeMaxLength = true;
4510
+ return true;
4511
+ }
4512
+ });
4513
+ }
4514
+
4515
+ if (doc.sel.contains(change.from, change.to) > -1)
4516
+ signalCursorActivity(cm);
4517
+
4518
+ updateDoc(doc, change, spans, estimateHeight(cm));
4519
+
4520
+ if (!cm.options.lineWrapping) {
4521
+ doc.iter(checkWidthStart, from.line + change.text.length, function(line) {
4522
+ var len = lineLength(line);
4523
+ if (len > display.maxLineLength) {
4524
+ display.maxLine = line;
4525
+ display.maxLineLength = len;
4526
+ display.maxLineChanged = true;
4527
+ recomputeMaxLength = false;
4528
+ }
4529
+ });
4530
+ if (recomputeMaxLength) cm.curOp.updateMaxLine = true;
4531
+ }
4532
+
4533
+ // Adjust frontier, schedule worker
4534
+ doc.frontier = Math.min(doc.frontier, from.line);
4535
+ startWorker(cm, 400);
4536
+
4537
+ var lendiff = change.text.length - (to.line - from.line) - 1;
4538
+ // Remember that these lines changed, for updating the display
4539
+ if (change.full)
4540
+ regChange(cm);
4541
+ else if (from.line == to.line && change.text.length == 1 && !isWholeLineUpdate(cm.doc, change))
4542
+ regLineChange(cm, from.line, "text");
4543
+ else
4544
+ regChange(cm, from.line, to.line + 1, lendiff);
4545
+
4546
+ var changesHandler = hasHandler(cm, "changes"), changeHandler = hasHandler(cm, "change");
4547
+ if (changeHandler || changesHandler) {
4548
+ var obj = {
4549
+ from: from, to: to,
4550
+ text: change.text,
4551
+ removed: change.removed,
4552
+ origin: change.origin
4553
+ };
4554
+ if (changeHandler) signalLater(cm, "change", cm, obj);
4555
+ if (changesHandler) (cm.curOp.changeObjs || (cm.curOp.changeObjs = [])).push(obj);
4556
+ }
4557
+ cm.display.selForContextMenu = null;
4558
+ }
4559
+
4560
+ function replaceRange(doc, code, from, to, origin) {
4561
+ if (!to) to = from;
4562
+ if (cmp(to, from) < 0) { var tmp = to; to = from; from = tmp; }
4563
+ if (typeof code == "string") code = doc.splitLines(code);
4564
+ makeChange(doc, {from: from, to: to, text: code, origin: origin});
4565
+ }
4566
+
4567
+ // SCROLLING THINGS INTO VIEW
4568
+
4569
+ // If an editor sits on the top or bottom of the window, partially
4570
+ // scrolled out of view, this ensures that the cursor is visible.
4571
+ function maybeScrollWindow(cm, coords) {
4572
+ if (signalDOMEvent(cm, "scrollCursorIntoView")) return;
4573
+
4574
+ var display = cm.display, box = display.sizer.getBoundingClientRect(), doScroll = null;
4575
+ if (coords.top + box.top < 0) doScroll = true;
4576
+ else if (coords.bottom + box.top > (window.innerHeight || document.documentElement.clientHeight)) doScroll = false;
4577
+ if (doScroll != null && !phantom) {
4578
+ var scrollNode = elt("div", "\u200b", null, "position: absolute; top: " +
4579
+ (coords.top - display.viewOffset - paddingTop(cm.display)) + "px; height: " +
4580
+ (coords.bottom - coords.top + scrollGap(cm) + display.barHeight) + "px; left: " +
4581
+ coords.left + "px; width: 2px;");
4582
+ cm.display.lineSpace.appendChild(scrollNode);
4583
+ scrollNode.scrollIntoView(doScroll);
4584
+ cm.display.lineSpace.removeChild(scrollNode);
4585
+ }
4586
+ }
4587
+
4588
+ // Scroll a given position into view (immediately), verifying that
4589
+ // it actually became visible (as line heights are accurately
4590
+ // measured, the position of something may 'drift' during drawing).
4591
+ function scrollPosIntoView(cm, pos, end, margin) {
4592
+ if (margin == null) margin = 0;
4593
+ for (var limit = 0; limit < 5; limit++) {
4594
+ var changed = false, coords = cursorCoords(cm, pos);
4595
+ var endCoords = !end || end == pos ? coords : cursorCoords(cm, end);
4596
+ var scrollPos = calculateScrollPos(cm, Math.min(coords.left, endCoords.left),
4597
+ Math.min(coords.top, endCoords.top) - margin,
4598
+ Math.max(coords.left, endCoords.left),
4599
+ Math.max(coords.bottom, endCoords.bottom) + margin);
4600
+ var startTop = cm.doc.scrollTop, startLeft = cm.doc.scrollLeft;
4601
+ if (scrollPos.scrollTop != null) {
4602
+ setScrollTop(cm, scrollPos.scrollTop);
4603
+ if (Math.abs(cm.doc.scrollTop - startTop) > 1) changed = true;
4604
+ }
4605
+ if (scrollPos.scrollLeft != null) {
4606
+ setScrollLeft(cm, scrollPos.scrollLeft);
4607
+ if (Math.abs(cm.doc.scrollLeft - startLeft) > 1) changed = true;
4608
+ }
4609
+ if (!changed) break;
4610
+ }
4611
+ return coords;
4612
+ }
4613
+
4614
+ // Scroll a given set of coordinates into view (immediately).
4615
+ function scrollIntoView(cm, x1, y1, x2, y2) {
4616
+ var scrollPos = calculateScrollPos(cm, x1, y1, x2, y2);
4617
+ if (scrollPos.scrollTop != null) setScrollTop(cm, scrollPos.scrollTop);
4618
+ if (scrollPos.scrollLeft != null) setScrollLeft(cm, scrollPos.scrollLeft);
4619
+ }
4620
+
4621
+ // Calculate a new scroll position needed to scroll the given
4622
+ // rectangle into view. Returns an object with scrollTop and
4623
+ // scrollLeft properties. When these are undefined, the
4624
+ // vertical/horizontal position does not need to be adjusted.
4625
+ function calculateScrollPos(cm, x1, y1, x2, y2) {
4626
+ var display = cm.display, snapMargin = textHeight(cm.display);
4627
+ if (y1 < 0) y1 = 0;
4628
+ var screentop = cm.curOp && cm.curOp.scrollTop != null ? cm.curOp.scrollTop : display.scroller.scrollTop;
4629
+ var screen = displayHeight(cm), result = {};
4630
+ if (y2 - y1 > screen) y2 = y1 + screen;
4631
+ var docBottom = cm.doc.height + paddingVert(display);
4632
+ var atTop = y1 < snapMargin, atBottom = y2 > docBottom - snapMargin;
4633
+ if (y1 < screentop) {
4634
+ result.scrollTop = atTop ? 0 : y1;
4635
+ } else if (y2 > screentop + screen) {
4636
+ var newTop = Math.min(y1, (atBottom ? docBottom : y2) - screen);
4637
+ if (newTop != screentop) result.scrollTop = newTop;
4638
+ }
4639
+
4640
+ var screenleft = cm.curOp && cm.curOp.scrollLeft != null ? cm.curOp.scrollLeft : display.scroller.scrollLeft;
4641
+ var screenw = displayWidth(cm) - (cm.options.fixedGutter ? display.gutters.offsetWidth : 0);
4642
+ var tooWide = x2 - x1 > screenw;
4643
+ if (tooWide) x2 = x1 + screenw;
4644
+ if (x1 < 10)
4645
+ result.scrollLeft = 0;
4646
+ else if (x1 < screenleft)
4647
+ result.scrollLeft = Math.max(0, x1 - (tooWide ? 0 : 10));
4648
+ else if (x2 > screenw + screenleft - 3)
4649
+ result.scrollLeft = x2 + (tooWide ? 0 : 10) - screenw;
4650
+ return result;
4651
+ }
4652
+
4653
+ // Store a relative adjustment to the scroll position in the current
4654
+ // operation (to be applied when the operation finishes).
4655
+ function addToScrollPos(cm, left, top) {
4656
+ if (left != null || top != null) resolveScrollToPos(cm);
4657
+ if (left != null)
4658
+ cm.curOp.scrollLeft = (cm.curOp.scrollLeft == null ? cm.doc.scrollLeft : cm.curOp.scrollLeft) + left;
4659
+ if (top != null)
4660
+ cm.curOp.scrollTop = (cm.curOp.scrollTop == null ? cm.doc.scrollTop : cm.curOp.scrollTop) + top;
4661
+ }
4662
+
4663
+ // Make sure that at the end of the operation the current cursor is
4664
+ // shown.
4665
+ function ensureCursorVisible(cm) {
4666
+ resolveScrollToPos(cm);
4667
+ var cur = cm.getCursor(), from = cur, to = cur;
4668
+ if (!cm.options.lineWrapping) {
4669
+ from = cur.ch ? Pos(cur.line, cur.ch - 1) : cur;
4670
+ to = Pos(cur.line, cur.ch + 1);
4671
+ }
4672
+ cm.curOp.scrollToPos = {from: from, to: to, margin: cm.options.cursorScrollMargin, isCursor: true};
4673
+ }
4674
+
4675
+ // When an operation has its scrollToPos property set, and another
4676
+ // scroll action is applied before the end of the operation, this
4677
+ // 'simulates' scrolling that position into view in a cheap way, so
4678
+ // that the effect of intermediate scroll commands is not ignored.
4679
+ function resolveScrollToPos(cm) {
4680
+ var range = cm.curOp.scrollToPos;
4681
+ if (range) {
4682
+ cm.curOp.scrollToPos = null;
4683
+ var from = estimateCoords(cm, range.from), to = estimateCoords(cm, range.to);
4684
+ var sPos = calculateScrollPos(cm, Math.min(from.left, to.left),
4685
+ Math.min(from.top, to.top) - range.margin,
4686
+ Math.max(from.right, to.right),
4687
+ Math.max(from.bottom, to.bottom) + range.margin);
4688
+ cm.scrollTo(sPos.scrollLeft, sPos.scrollTop);
4689
+ }
4690
+ }
4691
+
4692
+ // API UTILITIES
4693
+
4694
+ // Indent the given line. The how parameter can be "smart",
4695
+ // "add"/null, "subtract", or "prev". When aggressive is false
4696
+ // (typically set to true for forced single-line indents), empty
4697
+ // lines are not indented, and places where the mode returns Pass
4698
+ // are left alone.
4699
+ function indentLine(cm, n, how, aggressive) {
4700
+ var doc = cm.doc, state;
4701
+ if (how == null) how = "add";
4702
+ if (how == "smart") {
4703
+ // Fall back to "prev" when the mode doesn't have an indentation
4704
+ // method.
4705
+ if (!doc.mode.indent) how = "prev";
4706
+ else state = getStateBefore(cm, n);
4707
+ }
4708
+
4709
+ var tabSize = cm.options.tabSize;
4710
+ var line = getLine(doc, n), curSpace = countColumn(line.text, null, tabSize);
4711
+ if (line.stateAfter) line.stateAfter = null;
4712
+ var curSpaceString = line.text.match(/^\s*/)[0], indentation;
4713
+ if (!aggressive && !/\S/.test(line.text)) {
4714
+ indentation = 0;
4715
+ how = "not";
4716
+ } else if (how == "smart") {
4717
+ indentation = doc.mode.indent(state, line.text.slice(curSpaceString.length), line.text);
4718
+ if (indentation == Pass || indentation > 150) {
4719
+ if (!aggressive) return;
4720
+ how = "prev";
4721
+ }
4722
+ }
4723
+ if (how == "prev") {
4724
+ if (n > doc.first) indentation = countColumn(getLine(doc, n-1).text, null, tabSize);
4725
+ else indentation = 0;
4726
+ } else if (how == "add") {
4727
+ indentation = curSpace + cm.options.indentUnit;
4728
+ } else if (how == "subtract") {
4729
+ indentation = curSpace - cm.options.indentUnit;
4730
+ } else if (typeof how == "number") {
4731
+ indentation = curSpace + how;
4732
+ }
4733
+ indentation = Math.max(0, indentation);
4734
+
4735
+ var indentString = "", pos = 0;
4736
+ if (cm.options.indentWithTabs)
4737
+ for (var i = Math.floor(indentation / tabSize); i; --i) {pos += tabSize; indentString += "\t";}
4738
+ if (pos < indentation) indentString += spaceStr(indentation - pos);
4739
+
4740
+ if (indentString != curSpaceString) {
4741
+ replaceRange(doc, indentString, Pos(n, 0), Pos(n, curSpaceString.length), "+input");
4742
+ line.stateAfter = null;
4743
+ return true;
4744
+ } else {
4745
+ // Ensure that, if the cursor was in the whitespace at the start
4746
+ // of the line, it is moved to the end of that space.
4747
+ for (var i = 0; i < doc.sel.ranges.length; i++) {
4748
+ var range = doc.sel.ranges[i];
4749
+ if (range.head.line == n && range.head.ch < curSpaceString.length) {
4750
+ var pos = Pos(n, curSpaceString.length);
4751
+ replaceOneSelection(doc, i, new Range(pos, pos));
4752
+ break;
4753
+ }
4754
+ }
4755
+ }
4756
+ }
4757
+
4758
+ // Utility for applying a change to a line by handle or number,
4759
+ // returning the number and optionally registering the line as
4760
+ // changed.
4761
+ function changeLine(doc, handle, changeType, op) {
4762
+ var no = handle, line = handle;
4763
+ if (typeof handle == "number") line = getLine(doc, clipLine(doc, handle));
4764
+ else no = lineNo(handle);
4765
+ if (no == null) return null;
4766
+ if (op(line, no) && doc.cm) regLineChange(doc.cm, no, changeType);
4767
+ return line;
4768
+ }
4769
+
4770
+ // Helper for deleting text near the selection(s), used to implement
4771
+ // backspace, delete, and similar functionality.
4772
+ function deleteNearSelection(cm, compute) {
4773
+ var ranges = cm.doc.sel.ranges, kill = [];
4774
+ // Build up a set of ranges to kill first, merging overlapping
4775
+ // ranges.
4776
+ for (var i = 0; i < ranges.length; i++) {
4777
+ var toKill = compute(ranges[i]);
4778
+ while (kill.length && cmp(toKill.from, lst(kill).to) <= 0) {
4779
+ var replaced = kill.pop();
4780
+ if (cmp(replaced.from, toKill.from) < 0) {
4781
+ toKill.from = replaced.from;
4782
+ break;
4783
+ }
4784
+ }
4785
+ kill.push(toKill);
4786
+ }
4787
+ // Next, remove those actual ranges.
4788
+ runInOp(cm, function() {
4789
+ for (var i = kill.length - 1; i >= 0; i--)
4790
+ replaceRange(cm.doc, "", kill[i].from, kill[i].to, "+delete");
4791
+ ensureCursorVisible(cm);
4792
+ });
4793
+ }
4794
+
4795
+ // Used for horizontal relative motion. Dir is -1 or 1 (left or
4796
+ // right), unit can be "char", "column" (like char, but doesn't
4797
+ // cross line boundaries), "word" (across next word), or "group" (to
4798
+ // the start of next group of word or non-word-non-whitespace
4799
+ // chars). The visually param controls whether, in right-to-left
4800
+ // text, direction 1 means to move towards the next index in the
4801
+ // string, or towards the character to the right of the current
4802
+ // position. The resulting position will have a hitSide=true
4803
+ // property if it reached the end of the document.
4804
+ function findPosH(doc, pos, dir, unit, visually) {
4805
+ var line = pos.line, ch = pos.ch, origDir = dir;
4806
+ var lineObj = getLine(doc, line);
4807
+ var possible = true;
4808
+ function findNextLine() {
4809
+ var l = line + dir;
4810
+ if (l < doc.first || l >= doc.first + doc.size) return (possible = false);
4811
+ line = l;
4812
+ return lineObj = getLine(doc, l);
4813
+ }
4814
+ function moveOnce(boundToLine) {
4815
+ var next = (visually ? moveVisually : moveLogically)(lineObj, ch, dir, true);
4816
+ if (next == null) {
4817
+ if (!boundToLine && findNextLine()) {
4818
+ if (visually) ch = (dir < 0 ? lineRight : lineLeft)(lineObj);
4819
+ else ch = dir < 0 ? lineObj.text.length : 0;
4820
+ } else return (possible = false);
4821
+ } else ch = next;
4822
+ return true;
4823
+ }
4824
+
4825
+ if (unit == "char") moveOnce();
4826
+ else if (unit == "column") moveOnce(true);
4827
+ else if (unit == "word" || unit == "group") {
4828
+ var sawType = null, group = unit == "group";
4829
+ var helper = doc.cm && doc.cm.getHelper(pos, "wordChars");
4830
+ for (var first = true;; first = false) {
4831
+ if (dir < 0 && !moveOnce(!first)) break;
4832
+ var cur = lineObj.text.charAt(ch) || "\n";
4833
+ var type = isWordChar(cur, helper) ? "w"
4834
+ : group && cur == "\n" ? "n"
4835
+ : !group || /\s/.test(cur) ? null
4836
+ : "p";
4837
+ if (group && !first && !type) type = "s";
4838
+ if (sawType && sawType != type) {
4839
+ if (dir < 0) {dir = 1; moveOnce();}
4840
+ break;
4841
+ }
4842
+
4843
+ if (type) sawType = type;
4844
+ if (dir > 0 && !moveOnce(!first)) break;
4845
+ }
4846
+ }
4847
+ var result = skipAtomic(doc, Pos(line, ch), origDir, true);
4848
+ if (!possible) result.hitSide = true;
4849
+ return result;
4850
+ }
4851
+
4852
+ // For relative vertical movement. Dir may be -1 or 1. Unit can be
4853
+ // "page" or "line". The resulting position will have a hitSide=true
4854
+ // property if it reached the end of the document.
4855
+ function findPosV(cm, pos, dir, unit) {
4856
+ var doc = cm.doc, x = pos.left, y;
4857
+ if (unit == "page") {
4858
+ var pageSize = Math.min(cm.display.wrapper.clientHeight, window.innerHeight || document.documentElement.clientHeight);
4859
+ y = pos.top + dir * (pageSize - (dir < 0 ? 1.5 : .5) * textHeight(cm.display));
4860
+ } else if (unit == "line") {
4861
+ y = dir > 0 ? pos.bottom + 3 : pos.top - 3;
4862
+ }
4863
+ for (;;) {
4864
+ var target = coordsChar(cm, x, y);
4865
+ if (!target.outside) break;
4866
+ if (dir < 0 ? y <= 0 : y >= doc.height) { target.hitSide = true; break; }
4867
+ y += dir * 5;
4868
+ }
4869
+ return target;
4870
+ }
4871
+
4872
+ // EDITOR METHODS
4873
+
4874
+ // The publicly visible API. Note that methodOp(f) means
4875
+ // 'wrap f in an operation, performed on its `this` parameter'.
4876
+
4877
+ // This is not the complete set of editor methods. Most of the
4878
+ // methods defined on the Doc type are also injected into
4879
+ // CodeMirror.prototype, for backwards compatibility and
4880
+ // convenience.
4881
+
4882
+ CodeMirror.prototype = {
4883
+ constructor: CodeMirror,
4884
+ focus: function(){window.focus(); this.display.input.focus();},
4885
+
4886
+ setOption: function(option, value) {
4887
+ var options = this.options, old = options[option];
4888
+ if (options[option] == value && option != "mode") return;
4889
+ options[option] = value;
4890
+ if (optionHandlers.hasOwnProperty(option))
4891
+ operation(this, optionHandlers[option])(this, value, old);
4892
+ },
4893
+
4894
+ getOption: function(option) {return this.options[option];},
4895
+ getDoc: function() {return this.doc;},
4896
+
4897
+ addKeyMap: function(map, bottom) {
4898
+ this.state.keyMaps[bottom ? "push" : "unshift"](getKeyMap(map));
4899
+ },
4900
+ removeKeyMap: function(map) {
4901
+ var maps = this.state.keyMaps;
4902
+ for (var i = 0; i < maps.length; ++i)
4903
+ if (maps[i] == map || maps[i].name == map) {
4904
+ maps.splice(i, 1);
4905
+ return true;
4906
+ }
4907
+ },
4908
+
4909
+ addOverlay: methodOp(function(spec, options) {
4910
+ var mode = spec.token ? spec : CodeMirror.getMode(this.options, spec);
4911
+ if (mode.startState) throw new Error("Overlays may not be stateful.");
4912
+ this.state.overlays.push({mode: mode, modeSpec: spec, opaque: options && options.opaque});
4913
+ this.state.modeGen++;
4914
+ regChange(this);
4915
+ }),
4916
+ removeOverlay: methodOp(function(spec) {
4917
+ var overlays = this.state.overlays;
4918
+ for (var i = 0; i < overlays.length; ++i) {
4919
+ var cur = overlays[i].modeSpec;
4920
+ if (cur == spec || typeof spec == "string" && cur.name == spec) {
4921
+ overlays.splice(i, 1);
4922
+ this.state.modeGen++;
4923
+ regChange(this);
4924
+ return;
4925
+ }
4926
+ }
4927
+ }),
4928
+
4929
+ indentLine: methodOp(function(n, dir, aggressive) {
4930
+ if (typeof dir != "string" && typeof dir != "number") {
4931
+ if (dir == null) dir = this.options.smartIndent ? "smart" : "prev";
4932
+ else dir = dir ? "add" : "subtract";
4933
+ }
4934
+ if (isLine(this.doc, n)) indentLine(this, n, dir, aggressive);
4935
+ }),
4936
+ indentSelection: methodOp(function(how) {
4937
+ var ranges = this.doc.sel.ranges, end = -1;
4938
+ for (var i = 0; i < ranges.length; i++) {
4939
+ var range = ranges[i];
4940
+ if (!range.empty()) {
4941
+ var from = range.from(), to = range.to();
4942
+ var start = Math.max(end, from.line);
4943
+ end = Math.min(this.lastLine(), to.line - (to.ch ? 0 : 1)) + 1;
4944
+ for (var j = start; j < end; ++j)
4945
+ indentLine(this, j, how);
4946
+ var newRanges = this.doc.sel.ranges;
4947
+ if (from.ch == 0 && ranges.length == newRanges.length && newRanges[i].from().ch > 0)
4948
+ replaceOneSelection(this.doc, i, new Range(from, newRanges[i].to()), sel_dontScroll);
4949
+ } else if (range.head.line > end) {
4950
+ indentLine(this, range.head.line, how, true);
4951
+ end = range.head.line;
4952
+ if (i == this.doc.sel.primIndex) ensureCursorVisible(this);
4953
+ }
4954
+ }
4955
+ }),
4956
+
4957
+ // Fetch the parser token for a given character. Useful for hacks
4958
+ // that want to inspect the mode state (say, for completion).
4959
+ getTokenAt: function(pos, precise) {
4960
+ return takeToken(this, pos, precise);
4961
+ },
4962
+
4963
+ getLineTokens: function(line, precise) {
4964
+ return takeToken(this, Pos(line), precise, true);
4965
+ },
4966
+
4967
+ getTokenTypeAt: function(pos) {
4968
+ pos = clipPos(this.doc, pos);
4969
+ var styles = getLineStyles(this, getLine(this.doc, pos.line));
4970
+ var before = 0, after = (styles.length - 1) / 2, ch = pos.ch;
4971
+ var type;
4972
+ if (ch == 0) type = styles[2];
4973
+ else for (;;) {
4974
+ var mid = (before + after) >> 1;
4975
+ if ((mid ? styles[mid * 2 - 1] : 0) >= ch) after = mid;
4976
+ else if (styles[mid * 2 + 1] < ch) before = mid + 1;
4977
+ else { type = styles[mid * 2 + 2]; break; }
4978
+ }
4979
+ var cut = type ? type.indexOf("cm-overlay ") : -1;
4980
+ return cut < 0 ? type : cut == 0 ? null : type.slice(0, cut - 1);
4981
+ },
4982
+
4983
+ getModeAt: function(pos) {
4984
+ var mode = this.doc.mode;
4985
+ if (!mode.innerMode) return mode;
4986
+ return CodeMirror.innerMode(mode, this.getTokenAt(pos).state).mode;
4987
+ },
4988
+
4989
+ getHelper: function(pos, type) {
4990
+ return this.getHelpers(pos, type)[0];
4991
+ },
4992
+
4993
+ getHelpers: function(pos, type) {
4994
+ var found = [];
4995
+ if (!helpers.hasOwnProperty(type)) return found;
4996
+ var help = helpers[type], mode = this.getModeAt(pos);
4997
+ if (typeof mode[type] == "string") {
4998
+ if (help[mode[type]]) found.push(help[mode[type]]);
4999
+ } else if (mode[type]) {
5000
+ for (var i = 0; i < mode[type].length; i++) {
5001
+ var val = help[mode[type][i]];
5002
+ if (val) found.push(val);
5003
+ }
5004
+ } else if (mode.helperType && help[mode.helperType]) {
5005
+ found.push(help[mode.helperType]);
5006
+ } else if (help[mode.name]) {
5007
+ found.push(help[mode.name]);
5008
+ }
5009
+ for (var i = 0; i < help._global.length; i++) {
5010
+ var cur = help._global[i];
5011
+ if (cur.pred(mode, this) && indexOf(found, cur.val) == -1)
5012
+ found.push(cur.val);
5013
+ }
5014
+ return found;
5015
+ },
5016
+
5017
+ getStateAfter: function(line, precise) {
5018
+ var doc = this.doc;
5019
+ line = clipLine(doc, line == null ? doc.first + doc.size - 1: line);
5020
+ return getStateBefore(this, line + 1, precise);
5021
+ },
5022
+
5023
+ cursorCoords: function(start, mode) {
5024
+ var pos, range = this.doc.sel.primary();
5025
+ if (start == null) pos = range.head;
5026
+ else if (typeof start == "object") pos = clipPos(this.doc, start);
5027
+ else pos = start ? range.from() : range.to();
5028
+ return cursorCoords(this, pos, mode || "page");
5029
+ },
5030
+
5031
+ charCoords: function(pos, mode) {
5032
+ return charCoords(this, clipPos(this.doc, pos), mode || "page");
5033
+ },
5034
+
5035
+ coordsChar: function(coords, mode) {
5036
+ coords = fromCoordSystem(this, coords, mode || "page");
5037
+ return coordsChar(this, coords.left, coords.top);
5038
+ },
5039
+
5040
+ lineAtHeight: function(height, mode) {
5041
+ height = fromCoordSystem(this, {top: height, left: 0}, mode || "page").top;
5042
+ return lineAtHeight(this.doc, height + this.display.viewOffset);
5043
+ },
5044
+ heightAtLine: function(line, mode) {
5045
+ var end = false, lineObj;
5046
+ if (typeof line == "number") {
5047
+ var last = this.doc.first + this.doc.size - 1;
5048
+ if (line < this.doc.first) line = this.doc.first;
5049
+ else if (line > last) { line = last; end = true; }
5050
+ lineObj = getLine(this.doc, line);
5051
+ } else {
5052
+ lineObj = line;
5053
+ }
5054
+ return intoCoordSystem(this, lineObj, {top: 0, left: 0}, mode || "page").top +
5055
+ (end ? this.doc.height - heightAtLine(lineObj) : 0);
5056
+ },
5057
+
5058
+ defaultTextHeight: function() { return textHeight(this.display); },
5059
+ defaultCharWidth: function() { return charWidth(this.display); },
5060
+
5061
+ setGutterMarker: methodOp(function(line, gutterID, value) {
5062
+ return changeLine(this.doc, line, "gutter", function(line) {
5063
+ var markers = line.gutterMarkers || (line.gutterMarkers = {});
5064
+ markers[gutterID] = value;
5065
+ if (!value && isEmpty(markers)) line.gutterMarkers = null;
5066
+ return true;
5067
+ });
5068
+ }),
5069
+
5070
+ clearGutter: methodOp(function(gutterID) {
5071
+ var cm = this, doc = cm.doc, i = doc.first;
5072
+ doc.iter(function(line) {
5073
+ if (line.gutterMarkers && line.gutterMarkers[gutterID]) {
5074
+ line.gutterMarkers[gutterID] = null;
5075
+ regLineChange(cm, i, "gutter");
5076
+ if (isEmpty(line.gutterMarkers)) line.gutterMarkers = null;
5077
+ }
5078
+ ++i;
5079
+ });
5080
+ }),
5081
+
5082
+ lineInfo: function(line) {
5083
+ if (typeof line == "number") {
5084
+ if (!isLine(this.doc, line)) return null;
5085
+ var n = line;
5086
+ line = getLine(this.doc, line);
5087
+ if (!line) return null;
5088
+ } else {
5089
+ var n = lineNo(line);
5090
+ if (n == null) return null;
5091
+ }
5092
+ return {line: n, handle: line, text: line.text, gutterMarkers: line.gutterMarkers,
5093
+ textClass: line.textClass, bgClass: line.bgClass, wrapClass: line.wrapClass,
5094
+ widgets: line.widgets};
5095
+ },
5096
+
5097
+ getViewport: function() { return {from: this.display.viewFrom, to: this.display.viewTo};},
5098
+
5099
+ addWidget: function(pos, node, scroll, vert, horiz) {
5100
+ var display = this.display;
5101
+ pos = cursorCoords(this, clipPos(this.doc, pos));
5102
+ var top = pos.bottom, left = pos.left;
5103
+ node.style.position = "absolute";
5104
+ node.setAttribute("cm-ignore-events", "true");
5105
+ this.display.input.setUneditable(node);
5106
+ display.sizer.appendChild(node);
5107
+ if (vert == "over") {
5108
+ top = pos.top;
5109
+ } else if (vert == "above" || vert == "near") {
5110
+ var vspace = Math.max(display.wrapper.clientHeight, this.doc.height),
5111
+ hspace = Math.max(display.sizer.clientWidth, display.lineSpace.clientWidth);
5112
+ // Default to positioning above (if specified and possible); otherwise default to positioning below
5113
+ if ((vert == 'above' || pos.bottom + node.offsetHeight > vspace) && pos.top > node.offsetHeight)
5114
+ top = pos.top - node.offsetHeight;
5115
+ else if (pos.bottom + node.offsetHeight <= vspace)
5116
+ top = pos.bottom;
5117
+ if (left + node.offsetWidth > hspace)
5118
+ left = hspace - node.offsetWidth;
5119
+ }
5120
+ node.style.top = top + "px";
5121
+ node.style.left = node.style.right = "";
5122
+ if (horiz == "right") {
5123
+ left = display.sizer.clientWidth - node.offsetWidth;
5124
+ node.style.right = "0px";
5125
+ } else {
5126
+ if (horiz == "left") left = 0;
5127
+ else if (horiz == "middle") left = (display.sizer.clientWidth - node.offsetWidth) / 2;
5128
+ node.style.left = left + "px";
5129
+ }
5130
+ if (scroll)
5131
+ scrollIntoView(this, left, top, left + node.offsetWidth, top + node.offsetHeight);
5132
+ },
5133
+
5134
+ triggerOnKeyDown: methodOp(onKeyDown),
5135
+ triggerOnKeyPress: methodOp(onKeyPress),
5136
+ triggerOnKeyUp: onKeyUp,
5137
+
5138
+ execCommand: function(cmd) {
5139
+ if (commands.hasOwnProperty(cmd))
5140
+ return commands[cmd].call(null, this);
5141
+ },
5142
+
5143
+ triggerElectric: methodOp(function(text) { triggerElectric(this, text); }),
5144
+
5145
+ findPosH: function(from, amount, unit, visually) {
5146
+ var dir = 1;
5147
+ if (amount < 0) { dir = -1; amount = -amount; }
5148
+ for (var i = 0, cur = clipPos(this.doc, from); i < amount; ++i) {
5149
+ cur = findPosH(this.doc, cur, dir, unit, visually);
5150
+ if (cur.hitSide) break;
5151
+ }
5152
+ return cur;
5153
+ },
5154
+
5155
+ moveH: methodOp(function(dir, unit) {
5156
+ var cm = this;
5157
+ cm.extendSelectionsBy(function(range) {
5158
+ if (cm.display.shift || cm.doc.extend || range.empty())
5159
+ return findPosH(cm.doc, range.head, dir, unit, cm.options.rtlMoveVisually);
5160
+ else
5161
+ return dir < 0 ? range.from() : range.to();
5162
+ }, sel_move);
5163
+ }),
5164
+
5165
+ deleteH: methodOp(function(dir, unit) {
5166
+ var sel = this.doc.sel, doc = this.doc;
5167
+ if (sel.somethingSelected())
5168
+ doc.replaceSelection("", null, "+delete");
5169
+ else
5170
+ deleteNearSelection(this, function(range) {
5171
+ var other = findPosH(doc, range.head, dir, unit, false);
5172
+ return dir < 0 ? {from: other, to: range.head} : {from: range.head, to: other};
5173
+ });
5174
+ }),
5175
+
5176
+ findPosV: function(from, amount, unit, goalColumn) {
5177
+ var dir = 1, x = goalColumn;
5178
+ if (amount < 0) { dir = -1; amount = -amount; }
5179
+ for (var i = 0, cur = clipPos(this.doc, from); i < amount; ++i) {
5180
+ var coords = cursorCoords(this, cur, "div");
5181
+ if (x == null) x = coords.left;
5182
+ else coords.left = x;
5183
+ cur = findPosV(this, coords, dir, unit);
5184
+ if (cur.hitSide) break;
5185
+ }
5186
+ return cur;
5187
+ },
5188
+
5189
+ moveV: methodOp(function(dir, unit) {
5190
+ var cm = this, doc = this.doc, goals = [];
5191
+ var collapse = !cm.display.shift && !doc.extend && doc.sel.somethingSelected();
5192
+ doc.extendSelectionsBy(function(range) {
5193
+ if (collapse)
5194
+ return dir < 0 ? range.from() : range.to();
5195
+ var headPos = cursorCoords(cm, range.head, "div");
5196
+ if (range.goalColumn != null) headPos.left = range.goalColumn;
5197
+ goals.push(headPos.left);
5198
+ var pos = findPosV(cm, headPos, dir, unit);
5199
+ if (unit == "page" && range == doc.sel.primary())
5200
+ addToScrollPos(cm, null, charCoords(cm, pos, "div").top - headPos.top);
5201
+ return pos;
5202
+ }, sel_move);
5203
+ if (goals.length) for (var i = 0; i < doc.sel.ranges.length; i++)
5204
+ doc.sel.ranges[i].goalColumn = goals[i];
5205
+ }),
5206
+
5207
+ // Find the word at the given position (as returned by coordsChar).
5208
+ findWordAt: function(pos) {
5209
+ var doc = this.doc, line = getLine(doc, pos.line).text;
5210
+ var start = pos.ch, end = pos.ch;
5211
+ if (line) {
5212
+ var helper = this.getHelper(pos, "wordChars");
5213
+ if ((pos.xRel < 0 || end == line.length) && start) --start; else ++end;
5214
+ var startChar = line.charAt(start);
5215
+ var check = isWordChar(startChar, helper)
5216
+ ? function(ch) { return isWordChar(ch, helper); }
5217
+ : /\s/.test(startChar) ? function(ch) {return /\s/.test(ch);}
5218
+ : function(ch) {return !/\s/.test(ch) && !isWordChar(ch);};
5219
+ while (start > 0 && check(line.charAt(start - 1))) --start;
5220
+ while (end < line.length && check(line.charAt(end))) ++end;
5221
+ }
5222
+ return new Range(Pos(pos.line, start), Pos(pos.line, end));
5223
+ },
5224
+
5225
+ toggleOverwrite: function(value) {
5226
+ if (value != null && value == this.state.overwrite) return;
5227
+ if (this.state.overwrite = !this.state.overwrite)
5228
+ addClass(this.display.cursorDiv, "CodeMirror-overwrite");
5229
+ else
5230
+ rmClass(this.display.cursorDiv, "CodeMirror-overwrite");
5231
+
5232
+ signal(this, "overwriteToggle", this, this.state.overwrite);
5233
+ },
5234
+ hasFocus: function() { return this.display.input.getField() == activeElt(); },
5235
+
5236
+ scrollTo: methodOp(function(x, y) {
5237
+ if (x != null || y != null) resolveScrollToPos(this);
5238
+ if (x != null) this.curOp.scrollLeft = x;
5239
+ if (y != null) this.curOp.scrollTop = y;
5240
+ }),
5241
+ getScrollInfo: function() {
5242
+ var scroller = this.display.scroller;
5243
+ return {left: scroller.scrollLeft, top: scroller.scrollTop,
5244
+ height: scroller.scrollHeight - scrollGap(this) - this.display.barHeight,
5245
+ width: scroller.scrollWidth - scrollGap(this) - this.display.barWidth,
5246
+ clientHeight: displayHeight(this), clientWidth: displayWidth(this)};
5247
+ },
5248
+
5249
+ scrollIntoView: methodOp(function(range, margin) {
5250
+ if (range == null) {
5251
+ range = {from: this.doc.sel.primary().head, to: null};
5252
+ if (margin == null) margin = this.options.cursorScrollMargin;
5253
+ } else if (typeof range == "number") {
5254
+ range = {from: Pos(range, 0), to: null};
5255
+ } else if (range.from == null) {
5256
+ range = {from: range, to: null};
5257
+ }
5258
+ if (!range.to) range.to = range.from;
5259
+ range.margin = margin || 0;
5260
+
5261
+ if (range.from.line != null) {
5262
+ resolveScrollToPos(this);
5263
+ this.curOp.scrollToPos = range;
5264
+ } else {
5265
+ var sPos = calculateScrollPos(this, Math.min(range.from.left, range.to.left),
5266
+ Math.min(range.from.top, range.to.top) - range.margin,
5267
+ Math.max(range.from.right, range.to.right),
5268
+ Math.max(range.from.bottom, range.to.bottom) + range.margin);
5269
+ this.scrollTo(sPos.scrollLeft, sPos.scrollTop);
5270
+ }
5271
+ }),
5272
+
5273
+ setSize: methodOp(function(width, height) {
5274
+ var cm = this;
5275
+ function interpret(val) {
5276
+ return typeof val == "number" || /^\d+$/.test(String(val)) ? val + "px" : val;
5277
+ }
5278
+ if (width != null) cm.display.wrapper.style.width = interpret(width);
5279
+ if (height != null) cm.display.wrapper.style.height = interpret(height);
5280
+ if (cm.options.lineWrapping) clearLineMeasurementCache(this);
5281
+ var lineNo = cm.display.viewFrom;
5282
+ cm.doc.iter(lineNo, cm.display.viewTo, function(line) {
5283
+ if (line.widgets) for (var i = 0; i < line.widgets.length; i++)
5284
+ if (line.widgets[i].noHScroll) { regLineChange(cm, lineNo, "widget"); break; }
5285
+ ++lineNo;
5286
+ });
5287
+ cm.curOp.forceUpdate = true;
5288
+ signal(cm, "refresh", this);
5289
+ }),
5290
+
5291
+ operation: function(f){return runInOp(this, f);},
5292
+
5293
+ refresh: methodOp(function() {
5294
+ var oldHeight = this.display.cachedTextHeight;
5295
+ regChange(this);
5296
+ this.curOp.forceUpdate = true;
5297
+ clearCaches(this);
5298
+ this.scrollTo(this.doc.scrollLeft, this.doc.scrollTop);
5299
+ updateGutterSpace(this);
5300
+ if (oldHeight == null || Math.abs(oldHeight - textHeight(this.display)) > .5)
5301
+ estimateLineHeights(this);
5302
+ signal(this, "refresh", this);
5303
+ }),
5304
+
5305
+ swapDoc: methodOp(function(doc) {
5306
+ var old = this.doc;
5307
+ old.cm = null;
5308
+ attachDoc(this, doc);
5309
+ clearCaches(this);
5310
+ this.display.input.reset();
5311
+ this.scrollTo(doc.scrollLeft, doc.scrollTop);
5312
+ this.curOp.forceScroll = true;
5313
+ signalLater(this, "swapDoc", this, old);
5314
+ return old;
5315
+ }),
5316
+
5317
+ getInputField: function(){return this.display.input.getField();},
5318
+ getWrapperElement: function(){return this.display.wrapper;},
5319
+ getScrollerElement: function(){return this.display.scroller;},
5320
+ getGutterElement: function(){return this.display.gutters;}
5321
+ };
5322
+ eventMixin(CodeMirror);
5323
+
5324
+ // OPTION DEFAULTS
5325
+
5326
+ // The default configuration options.
5327
+ var defaults = CodeMirror.defaults = {};
5328
+ // Functions to run when options are changed.
5329
+ var optionHandlers = CodeMirror.optionHandlers = {};
5330
+
5331
+ function option(name, deflt, handle, notOnInit) {
5332
+ CodeMirror.defaults[name] = deflt;
5333
+ if (handle) optionHandlers[name] =
5334
+ notOnInit ? function(cm, val, old) {if (old != Init) handle(cm, val, old);} : handle;
5335
+ }
5336
+
5337
+ // Passed to option handlers when there is no old value.
5338
+ var Init = CodeMirror.Init = {toString: function(){return "CodeMirror.Init";}};
5339
+
5340
+ // These two are, on init, called from the constructor because they
5341
+ // have to be initialized before the editor can start at all.
5342
+ option("value", "", function(cm, val) {
5343
+ cm.setValue(val);
5344
+ }, true);
5345
+ option("mode", null, function(cm, val) {
5346
+ cm.doc.modeOption = val;
5347
+ loadMode(cm);
5348
+ }, true);
5349
+
5350
+ option("indentUnit", 2, loadMode, true);
5351
+ option("indentWithTabs", false);
5352
+ option("smartIndent", true);
5353
+ option("tabSize", 4, function(cm) {
5354
+ resetModeState(cm);
5355
+ clearCaches(cm);
5356
+ regChange(cm);
5357
+ }, true);
5358
+ option("lineSeparator", null, function(cm, val) {
5359
+ cm.doc.lineSep = val;
5360
+ if (!val) return;
5361
+ var newBreaks = [], lineNo = cm.doc.first;
5362
+ cm.doc.iter(function(line) {
5363
+ for (var pos = 0;;) {
5364
+ var found = line.text.indexOf(val, pos);
5365
+ if (found == -1) break;
5366
+ pos = found + val.length;
5367
+ newBreaks.push(Pos(lineNo, found));
5368
+ }
5369
+ lineNo++;
5370
+ });
5371
+ for (var i = newBreaks.length - 1; i >= 0; i--)
5372
+ replaceRange(cm.doc, val, newBreaks[i], Pos(newBreaks[i].line, newBreaks[i].ch + val.length))
5373
+ });
5374
+ option("specialChars", /[\t\u0000-\u0019\u00ad\u200b-\u200f\u2028\u2029\ufeff]/g, function(cm, val, old) {
5375
+ cm.state.specialChars = new RegExp(val.source + (val.test("\t") ? "" : "|\t"), "g");
5376
+ if (old != CodeMirror.Init) cm.refresh();
5377
+ });
5378
+ option("specialCharPlaceholder", defaultSpecialCharPlaceholder, function(cm) {cm.refresh();}, true);
5379
+ option("electricChars", true);
5380
+ option("inputStyle", mobile ? "contenteditable" : "textarea", function() {
5381
+ throw new Error("inputStyle can not (yet) be changed in a running editor"); // FIXME
5382
+ }, true);
5383
+ option("rtlMoveVisually", !windows);
5384
+ option("wholeLineUpdateBefore", true);
5385
+
5386
+ option("theme", "default", function(cm) {
5387
+ themeChanged(cm);
5388
+ guttersChanged(cm);
5389
+ }, true);
5390
+ option("keyMap", "default", function(cm, val, old) {
5391
+ var next = getKeyMap(val);
5392
+ var prev = old != CodeMirror.Init && getKeyMap(old);
5393
+ if (prev && prev.detach) prev.detach(cm, next);
5394
+ if (next.attach) next.attach(cm, prev || null);
5395
+ });
5396
+ option("extraKeys", null);
5397
+
5398
+ option("lineWrapping", false, wrappingChanged, true);
5399
+ option("gutters", [], function(cm) {
5400
+ setGuttersForLineNumbers(cm.options);
5401
+ guttersChanged(cm);
5402
+ }, true);
5403
+ option("fixedGutter", true, function(cm, val) {
5404
+ cm.display.gutters.style.left = val ? compensateForHScroll(cm.display) + "px" : "0";
5405
+ cm.refresh();
5406
+ }, true);
5407
+ option("coverGutterNextToScrollbar", false, function(cm) {updateScrollbars(cm);}, true);
5408
+ option("scrollbarStyle", "native", function(cm) {
5409
+ initScrollbars(cm);
5410
+ updateScrollbars(cm);
5411
+ cm.display.scrollbars.setScrollTop(cm.doc.scrollTop);
5412
+ cm.display.scrollbars.setScrollLeft(cm.doc.scrollLeft);
5413
+ }, true);
5414
+ option("lineNumbers", false, function(cm) {
5415
+ setGuttersForLineNumbers(cm.options);
5416
+ guttersChanged(cm);
5417
+ }, true);
5418
+ option("firstLineNumber", 1, guttersChanged, true);
5419
+ option("lineNumberFormatter", function(integer) {return integer;}, guttersChanged, true);
5420
+ option("showCursorWhenSelecting", false, updateSelection, true);
5421
+
5422
+ option("resetSelectionOnContextMenu", true);
5423
+ option("lineWiseCopyCut", true);
5424
+
5425
+ option("readOnly", false, function(cm, val) {
5426
+ if (val == "nocursor") {
5427
+ onBlur(cm);
5428
+ cm.display.input.blur();
5429
+ cm.display.disabled = true;
5430
+ } else {
5431
+ cm.display.disabled = false;
5432
+ }
5433
+ cm.display.input.readOnlyChanged(val)
5434
+ });
5435
+ option("disableInput", false, function(cm, val) {if (!val) cm.display.input.reset();}, true);
5436
+ option("dragDrop", true, dragDropChanged);
5437
+ option("allowDropFileTypes", null);
5438
+
5439
+ option("cursorBlinkRate", 530);
5440
+ option("cursorScrollMargin", 0);
5441
+ option("cursorHeight", 1, updateSelection, true);
5442
+ option("singleCursorHeightPerLine", true, updateSelection, true);
5443
+ option("workTime", 100);
5444
+ option("workDelay", 100);
5445
+ option("flattenSpans", true, resetModeState, true);
5446
+ option("addModeClass", false, resetModeState, true);
5447
+ option("pollInterval", 100);
5448
+ option("undoDepth", 200, function(cm, val){cm.doc.history.undoDepth = val;});
5449
+ option("historyEventDelay", 1250);
5450
+ option("viewportMargin", 10, function(cm){cm.refresh();}, true);
5451
+ option("maxHighlightLength", 10000, resetModeState, true);
5452
+ option("moveInputWithCursor", true, function(cm, val) {
5453
+ if (!val) cm.display.input.resetPosition();
5454
+ });
5455
+
5456
+ option("tabindex", null, function(cm, val) {
5457
+ cm.display.input.getField().tabIndex = val || "";
5458
+ });
5459
+ option("autofocus", null);
5460
+
5461
+ // MODE DEFINITION AND QUERYING
5462
+
5463
+ // Known modes, by name and by MIME
5464
+ var modes = CodeMirror.modes = {}, mimeModes = CodeMirror.mimeModes = {};
5465
+
5466
+ // Extra arguments are stored as the mode's dependencies, which is
5467
+ // used by (legacy) mechanisms like loadmode.js to automatically
5468
+ // load a mode. (Preferred mechanism is the require/define calls.)
5469
+ CodeMirror.defineMode = function(name, mode) {
5470
+ if (!CodeMirror.defaults.mode && name != "null") CodeMirror.defaults.mode = name;
5471
+ if (arguments.length > 2)
5472
+ mode.dependencies = Array.prototype.slice.call(arguments, 2);
5473
+ modes[name] = mode;
5474
+ };
5475
+
5476
+ CodeMirror.defineMIME = function(mime, spec) {
5477
+ mimeModes[mime] = spec;
5478
+ };
5479
+
5480
+ // Given a MIME type, a {name, ...options} config object, or a name
5481
+ // string, return a mode config object.
5482
+ CodeMirror.resolveMode = function(spec) {
5483
+ if (typeof spec == "string" && mimeModes.hasOwnProperty(spec)) {
5484
+ spec = mimeModes[spec];
5485
+ } else if (spec && typeof spec.name == "string" && mimeModes.hasOwnProperty(spec.name)) {
5486
+ var found = mimeModes[spec.name];
5487
+ if (typeof found == "string") found = {name: found};
5488
+ spec = createObj(found, spec);
5489
+ spec.name = found.name;
5490
+ } else if (typeof spec == "string" && /^[\w\-]+\/[\w\-]+\+xml$/.test(spec)) {
5491
+ return CodeMirror.resolveMode("application/xml");
5492
+ }
5493
+ if (typeof spec == "string") return {name: spec};
5494
+ else return spec || {name: "null"};
5495
+ };
5496
+
5497
+ // Given a mode spec (anything that resolveMode accepts), find and
5498
+ // initialize an actual mode object.
5499
+ CodeMirror.getMode = function(options, spec) {
5500
+ var spec = CodeMirror.resolveMode(spec);
5501
+ var mfactory = modes[spec.name];
5502
+ if (!mfactory) return CodeMirror.getMode(options, "text/plain");
5503
+ var modeObj = mfactory(options, spec);
5504
+ if (modeExtensions.hasOwnProperty(spec.name)) {
5505
+ var exts = modeExtensions[spec.name];
5506
+ for (var prop in exts) {
5507
+ if (!exts.hasOwnProperty(prop)) continue;
5508
+ if (modeObj.hasOwnProperty(prop)) modeObj["_" + prop] = modeObj[prop];
5509
+ modeObj[prop] = exts[prop];
5510
+ }
5511
+ }
5512
+ modeObj.name = spec.name;
5513
+ if (spec.helperType) modeObj.helperType = spec.helperType;
5514
+ if (spec.modeProps) for (var prop in spec.modeProps)
5515
+ modeObj[prop] = spec.modeProps[prop];
5516
+
5517
+ return modeObj;
5518
+ };
5519
+
5520
+ // Minimal default mode.
5521
+ CodeMirror.defineMode("null", function() {
5522
+ return {token: function(stream) {stream.skipToEnd();}};
5523
+ });
5524
+ CodeMirror.defineMIME("text/plain", "null");
5525
+
5526
+ // This can be used to attach properties to mode objects from
5527
+ // outside the actual mode definition.
5528
+ var modeExtensions = CodeMirror.modeExtensions = {};
5529
+ CodeMirror.extendMode = function(mode, properties) {
5530
+ var exts = modeExtensions.hasOwnProperty(mode) ? modeExtensions[mode] : (modeExtensions[mode] = {});
5531
+ copyObj(properties, exts);
5532
+ };
5533
+
5534
+ // EXTENSIONS
5535
+
5536
+ CodeMirror.defineExtension = function(name, func) {
5537
+ CodeMirror.prototype[name] = func;
5538
+ };
5539
+ CodeMirror.defineDocExtension = function(name, func) {
5540
+ Doc.prototype[name] = func;
5541
+ };
5542
+ CodeMirror.defineOption = option;
5543
+
5544
+ var initHooks = [];
5545
+ CodeMirror.defineInitHook = function(f) {initHooks.push(f);};
5546
+
5547
+ var helpers = CodeMirror.helpers = {};
5548
+ CodeMirror.registerHelper = function(type, name, value) {
5549
+ if (!helpers.hasOwnProperty(type)) helpers[type] = CodeMirror[type] = {_global: []};
5550
+ helpers[type][name] = value;
5551
+ };
5552
+ CodeMirror.registerGlobalHelper = function(type, name, predicate, value) {
5553
+ CodeMirror.registerHelper(type, name, value);
5554
+ helpers[type]._global.push({pred: predicate, val: value});
5555
+ };
5556
+
5557
+ // MODE STATE HANDLING
5558
+
5559
+ // Utility functions for working with state. Exported because nested
5560
+ // modes need to do this for their inner modes.
5561
+
5562
+ var copyState = CodeMirror.copyState = function(mode, state) {
5563
+ if (state === true) return state;
5564
+ if (mode.copyState) return mode.copyState(state);
5565
+ var nstate = {};
5566
+ for (var n in state) {
5567
+ var val = state[n];
5568
+ if (val instanceof Array) val = val.concat([]);
5569
+ nstate[n] = val;
5570
+ }
5571
+ return nstate;
5572
+ };
5573
+
5574
+ var startState = CodeMirror.startState = function(mode, a1, a2) {
5575
+ return mode.startState ? mode.startState(a1, a2) : true;
5576
+ };
5577
+
5578
+ // Given a mode and a state (for that mode), find the inner mode and
5579
+ // state at the position that the state refers to.
5580
+ CodeMirror.innerMode = function(mode, state) {
5581
+ while (mode.innerMode) {
5582
+ var info = mode.innerMode(state);
5583
+ if (!info || info.mode == mode) break;
5584
+ state = info.state;
5585
+ mode = info.mode;
5586
+ }
5587
+ return info || {mode: mode, state: state};
5588
+ };
5589
+
5590
+ // STANDARD COMMANDS
5591
+
5592
+ // Commands are parameter-less actions that can be performed on an
5593
+ // editor, mostly used for keybindings.
5594
+ var commands = CodeMirror.commands = {
5595
+ selectAll: function(cm) {cm.setSelection(Pos(cm.firstLine(), 0), Pos(cm.lastLine()), sel_dontScroll);},
5596
+ singleSelection: function(cm) {
5597
+ cm.setSelection(cm.getCursor("anchor"), cm.getCursor("head"), sel_dontScroll);
5598
+ },
5599
+ killLine: function(cm) {
5600
+ deleteNearSelection(cm, function(range) {
5601
+ if (range.empty()) {
5602
+ var len = getLine(cm.doc, range.head.line).text.length;
5603
+ if (range.head.ch == len && range.head.line < cm.lastLine())
5604
+ return {from: range.head, to: Pos(range.head.line + 1, 0)};
5605
+ else
5606
+ return {from: range.head, to: Pos(range.head.line, len)};
5607
+ } else {
5608
+ return {from: range.from(), to: range.to()};
5609
+ }
5610
+ });
5611
+ },
5612
+ deleteLine: function(cm) {
5613
+ deleteNearSelection(cm, function(range) {
5614
+ return {from: Pos(range.from().line, 0),
5615
+ to: clipPos(cm.doc, Pos(range.to().line + 1, 0))};
5616
+ });
5617
+ },
5618
+ delLineLeft: function(cm) {
5619
+ deleteNearSelection(cm, function(range) {
5620
+ return {from: Pos(range.from().line, 0), to: range.from()};
5621
+ });
5622
+ },
5623
+ delWrappedLineLeft: function(cm) {
5624
+ deleteNearSelection(cm, function(range) {
5625
+ var top = cm.charCoords(range.head, "div").top + 5;
5626
+ var leftPos = cm.coordsChar({left: 0, top: top}, "div");
5627
+ return {from: leftPos, to: range.from()};
5628
+ });
5629
+ },
5630
+ delWrappedLineRight: function(cm) {
5631
+ deleteNearSelection(cm, function(range) {
5632
+ var top = cm.charCoords(range.head, "div").top + 5;
5633
+ var rightPos = cm.coordsChar({left: cm.display.lineDiv.offsetWidth + 100, top: top}, "div");
5634
+ return {from: range.from(), to: rightPos };
5635
+ });
5636
+ },
5637
+ undo: function(cm) {cm.undo();},
5638
+ redo: function(cm) {cm.redo();},
5639
+ undoSelection: function(cm) {cm.undoSelection();},
5640
+ redoSelection: function(cm) {cm.redoSelection();},
5641
+ goDocStart: function(cm) {cm.extendSelection(Pos(cm.firstLine(), 0));},
5642
+ goDocEnd: function(cm) {cm.extendSelection(Pos(cm.lastLine()));},
5643
+ goLineStart: function(cm) {
5644
+ cm.extendSelectionsBy(function(range) { return lineStart(cm, range.head.line); },
5645
+ {origin: "+move", bias: 1});
5646
+ },
5647
+ goLineStartSmart: function(cm) {
5648
+ cm.extendSelectionsBy(function(range) {
5649
+ return lineStartSmart(cm, range.head);
5650
+ }, {origin: "+move", bias: 1});
5651
+ },
5652
+ goLineEnd: function(cm) {
5653
+ cm.extendSelectionsBy(function(range) { return lineEnd(cm, range.head.line); },
5654
+ {origin: "+move", bias: -1});
5655
+ },
5656
+ goLineRight: function(cm) {
5657
+ cm.extendSelectionsBy(function(range) {
5658
+ var top = cm.charCoords(range.head, "div").top + 5;
5659
+ return cm.coordsChar({left: cm.display.lineDiv.offsetWidth + 100, top: top}, "div");
5660
+ }, sel_move);
5661
+ },
5662
+ goLineLeft: function(cm) {
5663
+ cm.extendSelectionsBy(function(range) {
5664
+ var top = cm.charCoords(range.head, "div").top + 5;
5665
+ return cm.coordsChar({left: 0, top: top}, "div");
5666
+ }, sel_move);
5667
+ },
5668
+ goLineLeftSmart: function(cm) {
5669
+ cm.extendSelectionsBy(function(range) {
5670
+ var top = cm.charCoords(range.head, "div").top + 5;
5671
+ var pos = cm.coordsChar({left: 0, top: top}, "div");
5672
+ if (pos.ch < cm.getLine(pos.line).search(/\S/)) return lineStartSmart(cm, range.head);
5673
+ return pos;
5674
+ }, sel_move);
5675
+ },
5676
+ goLineUp: function(cm) {cm.moveV(-1, "line");},
5677
+ goLineDown: function(cm) {cm.moveV(1, "line");},
5678
+ goPageUp: function(cm) {cm.moveV(-1, "page");},
5679
+ goPageDown: function(cm) {cm.moveV(1, "page");},
5680
+ goCharLeft: function(cm) {cm.moveH(-1, "char");},
5681
+ goCharRight: function(cm) {cm.moveH(1, "char");},
5682
+ goColumnLeft: function(cm) {cm.moveH(-1, "column");},
5683
+ goColumnRight: function(cm) {cm.moveH(1, "column");},
5684
+ goWordLeft: function(cm) {cm.moveH(-1, "word");},
5685
+ goGroupRight: function(cm) {cm.moveH(1, "group");},
5686
+ goGroupLeft: function(cm) {cm.moveH(-1, "group");},
5687
+ goWordRight: function(cm) {cm.moveH(1, "word");},
5688
+ delCharBefore: function(cm) {cm.deleteH(-1, "char");},
5689
+ delCharAfter: function(cm) {cm.deleteH(1, "char");},
5690
+ delWordBefore: function(cm) {cm.deleteH(-1, "word");},
5691
+ delWordAfter: function(cm) {cm.deleteH(1, "word");},
5692
+ delGroupBefore: function(cm) {cm.deleteH(-1, "group");},
5693
+ delGroupAfter: function(cm) {cm.deleteH(1, "group");},
5694
+ indentAuto: function(cm) {cm.indentSelection("smart");},
5695
+ indentMore: function(cm) {cm.indentSelection("add");},
5696
+ indentLess: function(cm) {cm.indentSelection("subtract");},
5697
+ insertTab: function(cm) {cm.replaceSelection("\t");},
5698
+ insertSoftTab: function(cm) {
5699
+ var spaces = [], ranges = cm.listSelections(), tabSize = cm.options.tabSize;
5700
+ for (var i = 0; i < ranges.length; i++) {
5701
+ var pos = ranges[i].from();
5702
+ var col = countColumn(cm.getLine(pos.line), pos.ch, tabSize);
5703
+ spaces.push(new Array(tabSize - col % tabSize + 1).join(" "));
5704
+ }
5705
+ cm.replaceSelections(spaces);
5706
+ },
5707
+ defaultTab: function(cm) {
5708
+ if (cm.somethingSelected()) cm.indentSelection("add");
5709
+ else cm.execCommand("insertTab");
5710
+ },
5711
+ transposeChars: function(cm) {
5712
+ runInOp(cm, function() {
5713
+ var ranges = cm.listSelections(), newSel = [];
5714
+ for (var i = 0; i < ranges.length; i++) {
5715
+ var cur = ranges[i].head, line = getLine(cm.doc, cur.line).text;
5716
+ if (line) {
5717
+ if (cur.ch == line.length) cur = new Pos(cur.line, cur.ch - 1);
5718
+ if (cur.ch > 0) {
5719
+ cur = new Pos(cur.line, cur.ch + 1);
5720
+ cm.replaceRange(line.charAt(cur.ch - 1) + line.charAt(cur.ch - 2),
5721
+ Pos(cur.line, cur.ch - 2), cur, "+transpose");
5722
+ } else if (cur.line > cm.doc.first) {
5723
+ var prev = getLine(cm.doc, cur.line - 1).text;
5724
+ if (prev)
5725
+ cm.replaceRange(line.charAt(0) + cm.doc.lineSeparator() +
5726
+ prev.charAt(prev.length - 1),
5727
+ Pos(cur.line - 1, prev.length - 1), Pos(cur.line, 1), "+transpose");
5728
+ }
5729
+ }
5730
+ newSel.push(new Range(cur, cur));
5731
+ }
5732
+ cm.setSelections(newSel);
5733
+ });
5734
+ },
5735
+ newlineAndIndent: function(cm) {
5736
+ runInOp(cm, function() {
5737
+ var len = cm.listSelections().length;
5738
+ for (var i = 0; i < len; i++) {
5739
+ var range = cm.listSelections()[i];
5740
+ cm.replaceRange(cm.doc.lineSeparator(), range.anchor, range.head, "+input");
5741
+ cm.indentLine(range.from().line + 1, null, true);
5742
+ }
5743
+ ensureCursorVisible(cm);
5744
+ });
5745
+ },
5746
+ toggleOverwrite: function(cm) {cm.toggleOverwrite();}
5747
+ };
5748
+
5749
+
5750
+ // STANDARD KEYMAPS
5751
+
5752
+ var keyMap = CodeMirror.keyMap = {};
5753
+
5754
+ keyMap.basic = {
5755
+ "Left": "goCharLeft", "Right": "goCharRight", "Up": "goLineUp", "Down": "goLineDown",
5756
+ "End": "goLineEnd", "Home": "goLineStartSmart", "PageUp": "goPageUp", "PageDown": "goPageDown",
5757
+ "Delete": "delCharAfter", "Backspace": "delCharBefore", "Shift-Backspace": "delCharBefore",
5758
+ "Tab": "defaultTab", "Shift-Tab": "indentAuto",
5759
+ "Enter": "newlineAndIndent", "Insert": "toggleOverwrite",
5760
+ "Esc": "singleSelection"
5761
+ };
5762
+ // Note that the save and find-related commands aren't defined by
5763
+ // default. User code or addons can define them. Unknown commands
5764
+ // are simply ignored.
5765
+ keyMap.pcDefault = {
5766
+ "Ctrl-A": "selectAll", "Ctrl-D": "deleteLine", "Ctrl-Z": "undo", "Shift-Ctrl-Z": "redo", "Ctrl-Y": "redo",
5767
+ "Ctrl-Home": "goDocStart", "Ctrl-End": "goDocEnd", "Ctrl-Up": "goLineUp", "Ctrl-Down": "goLineDown",
5768
+ "Ctrl-Left": "goGroupLeft", "Ctrl-Right": "goGroupRight", "Alt-Left": "goLineStart", "Alt-Right": "goLineEnd",
5769
+ "Ctrl-Backspace": "delGroupBefore", "Ctrl-Delete": "delGroupAfter", "Ctrl-S": "save", "Ctrl-F": "find",
5770
+ "Ctrl-G": "findNext", "Shift-Ctrl-G": "findPrev", "Shift-Ctrl-F": "replace", "Shift-Ctrl-R": "replaceAll",
5771
+ "Ctrl-[": "indentLess", "Ctrl-]": "indentMore",
5772
+ "Ctrl-U": "undoSelection", "Shift-Ctrl-U": "redoSelection", "Alt-U": "redoSelection",
5773
+ fallthrough: "basic"
5774
+ };
5775
+ // Very basic readline/emacs-style bindings, which are standard on Mac.
5776
+ keyMap.emacsy = {
5777
+ "Ctrl-F": "goCharRight", "Ctrl-B": "goCharLeft", "Ctrl-P": "goLineUp", "Ctrl-N": "goLineDown",
5778
+ "Alt-F": "goWordRight", "Alt-B": "goWordLeft", "Ctrl-A": "goLineStart", "Ctrl-E": "goLineEnd",
5779
+ "Ctrl-V": "goPageDown", "Shift-Ctrl-V": "goPageUp", "Ctrl-D": "delCharAfter", "Ctrl-H": "delCharBefore",
5780
+ "Alt-D": "delWordAfter", "Alt-Backspace": "delWordBefore", "Ctrl-K": "killLine", "Ctrl-T": "transposeChars"
5781
+ };
5782
+ keyMap.macDefault = {
5783
+ "Cmd-A": "selectAll", "Cmd-D": "deleteLine", "Cmd-Z": "undo", "Shift-Cmd-Z": "redo", "Cmd-Y": "redo",
5784
+ "Cmd-Home": "goDocStart", "Cmd-Up": "goDocStart", "Cmd-End": "goDocEnd", "Cmd-Down": "goDocEnd", "Alt-Left": "goGroupLeft",
5785
+ "Alt-Right": "goGroupRight", "Cmd-Left": "goLineLeft", "Cmd-Right": "goLineRight", "Alt-Backspace": "delGroupBefore",
5786
+ "Ctrl-Alt-Backspace": "delGroupAfter", "Alt-Delete": "delGroupAfter", "Cmd-S": "save", "Cmd-F": "find",
5787
+ "Cmd-G": "findNext", "Shift-Cmd-G": "findPrev", "Cmd-Alt-F": "replace", "Shift-Cmd-Alt-F": "replaceAll",
5788
+ "Cmd-[": "indentLess", "Cmd-]": "indentMore", "Cmd-Backspace": "delWrappedLineLeft", "Cmd-Delete": "delWrappedLineRight",
5789
+ "Cmd-U": "undoSelection", "Shift-Cmd-U": "redoSelection", "Ctrl-Up": "goDocStart", "Ctrl-Down": "goDocEnd",
5790
+ fallthrough: ["basic", "emacsy"]
5791
+ };
5792
+ keyMap["default"] = mac ? keyMap.macDefault : keyMap.pcDefault;
5793
+
5794
+ // KEYMAP DISPATCH
5795
+
5796
+ function normalizeKeyName(name) {
5797
+ var parts = name.split(/-(?!$)/), name = parts[parts.length - 1];
5798
+ var alt, ctrl, shift, cmd;
5799
+ for (var i = 0; i < parts.length - 1; i++) {
5800
+ var mod = parts[i];
5801
+ if (/^(cmd|meta|m)$/i.test(mod)) cmd = true;
5802
+ else if (/^a(lt)?$/i.test(mod)) alt = true;
5803
+ else if (/^(c|ctrl|control)$/i.test(mod)) ctrl = true;
5804
+ else if (/^s(hift)$/i.test(mod)) shift = true;
5805
+ else throw new Error("Unrecognized modifier name: " + mod);
5806
+ }
5807
+ if (alt) name = "Alt-" + name;
5808
+ if (ctrl) name = "Ctrl-" + name;
5809
+ if (cmd) name = "Cmd-" + name;
5810
+ if (shift) name = "Shift-" + name;
5811
+ return name;
5812
+ }
5813
+
5814
+ // This is a kludge to keep keymaps mostly working as raw objects
5815
+ // (backwards compatibility) while at the same time support features
5816
+ // like normalization and multi-stroke key bindings. It compiles a
5817
+ // new normalized keymap, and then updates the old object to reflect
5818
+ // this.
5819
+ CodeMirror.normalizeKeyMap = function(keymap) {
5820
+ var copy = {};
5821
+ for (var keyname in keymap) if (keymap.hasOwnProperty(keyname)) {
5822
+ var value = keymap[keyname];
5823
+ if (/^(name|fallthrough|(de|at)tach)$/.test(keyname)) continue;
5824
+ if (value == "...") { delete keymap[keyname]; continue; }
5825
+
5826
+ var keys = map(keyname.split(" "), normalizeKeyName);
5827
+ for (var i = 0; i < keys.length; i++) {
5828
+ var val, name;
5829
+ if (i == keys.length - 1) {
5830
+ name = keys.join(" ");
5831
+ val = value;
5832
+ } else {
5833
+ name = keys.slice(0, i + 1).join(" ");
5834
+ val = "...";
5835
+ }
5836
+ var prev = copy[name];
5837
+ if (!prev) copy[name] = val;
5838
+ else if (prev != val) throw new Error("Inconsistent bindings for " + name);
5839
+ }
5840
+ delete keymap[keyname];
5841
+ }
5842
+ for (var prop in copy) keymap[prop] = copy[prop];
5843
+ return keymap;
5844
+ };
5845
+
5846
+ var lookupKey = CodeMirror.lookupKey = function(key, map, handle, context) {
5847
+ map = getKeyMap(map);
5848
+ var found = map.call ? map.call(key, context) : map[key];
5849
+ if (found === false) return "nothing";
5850
+ if (found === "...") return "multi";
5851
+ if (found != null && handle(found)) return "handled";
5852
+
5853
+ if (map.fallthrough) {
5854
+ if (Object.prototype.toString.call(map.fallthrough) != "[object Array]")
5855
+ return lookupKey(key, map.fallthrough, handle, context);
5856
+ for (var i = 0; i < map.fallthrough.length; i++) {
5857
+ var result = lookupKey(key, map.fallthrough[i], handle, context);
5858
+ if (result) return result;
5859
+ }
5860
+ }
5861
+ };
5862
+
5863
+ // Modifier key presses don't count as 'real' key presses for the
5864
+ // purpose of keymap fallthrough.
5865
+ var isModifierKey = CodeMirror.isModifierKey = function(value) {
5866
+ var name = typeof value == "string" ? value : keyNames[value.keyCode];
5867
+ return name == "Ctrl" || name == "Alt" || name == "Shift" || name == "Mod";
5868
+ };
5869
+
5870
+ // Look up the name of a key as indicated by an event object.
5871
+ var keyName = CodeMirror.keyName = function(event, noShift) {
5872
+ if (presto && event.keyCode == 34 && event["char"]) return false;
5873
+ var base = keyNames[event.keyCode], name = base;
5874
+ if (name == null || event.altGraphKey) return false;
5875
+ if (event.altKey && base != "Alt") name = "Alt-" + name;
5876
+ if ((flipCtrlCmd ? event.metaKey : event.ctrlKey) && base != "Ctrl") name = "Ctrl-" + name;
5877
+ if ((flipCtrlCmd ? event.ctrlKey : event.metaKey) && base != "Cmd") name = "Cmd-" + name;
5878
+ if (!noShift && event.shiftKey && base != "Shift") name = "Shift-" + name;
5879
+ return name;
5880
+ };
5881
+
5882
+ function getKeyMap(val) {
5883
+ return typeof val == "string" ? keyMap[val] : val;
5884
+ }
5885
+
5886
+ // FROMTEXTAREA
5887
+
5888
+ CodeMirror.fromTextArea = function(textarea, options) {
5889
+ options = options ? copyObj(options) : {};
5890
+ options.value = textarea.value;
5891
+ if (!options.tabindex && textarea.tabIndex)
5892
+ options.tabindex = textarea.tabIndex;
5893
+ if (!options.placeholder && textarea.placeholder)
5894
+ options.placeholder = textarea.placeholder;
5895
+ // Set autofocus to true if this textarea is focused, or if it has
5896
+ // autofocus and no other element is focused.
5897
+ if (options.autofocus == null) {
5898
+ var hasFocus = activeElt();
5899
+ options.autofocus = hasFocus == textarea ||
5900
+ textarea.getAttribute("autofocus") != null && hasFocus == document.body;
5901
+ }
5902
+
5903
+ function save() {textarea.value = cm.getValue();}
5904
+ if (textarea.form) {
5905
+ on(textarea.form, "submit", save);
5906
+ // Deplorable hack to make the submit method do the right thing.
5907
+ if (!options.leaveSubmitMethodAlone) {
5908
+ var form = textarea.form, realSubmit = form.submit;
5909
+ try {
5910
+ var wrappedSubmit = form.submit = function() {
5911
+ save();
5912
+ form.submit = realSubmit;
5913
+ form.submit();
5914
+ form.submit = wrappedSubmit;
5915
+ };
5916
+ } catch(e) {}
5917
+ }
5918
+ }
5919
+
5920
+ options.finishInit = function(cm) {
5921
+ cm.save = save;
5922
+ cm.getTextArea = function() { return textarea; };
5923
+ cm.toTextArea = function() {
5924
+ cm.toTextArea = isNaN; // Prevent this from being ran twice
5925
+ save();
5926
+ textarea.parentNode.removeChild(cm.getWrapperElement());
5927
+ textarea.style.display = "";
5928
+ if (textarea.form) {
5929
+ off(textarea.form, "submit", save);
5930
+ if (typeof textarea.form.submit == "function")
5931
+ textarea.form.submit = realSubmit;
5932
+ }
5933
+ };
5934
+ };
5935
+
5936
+ textarea.style.display = "none";
5937
+ var cm = CodeMirror(function(node) {
5938
+ textarea.parentNode.insertBefore(node, textarea.nextSibling);
5939
+ }, options);
5940
+ return cm;
5941
+ };
5942
+
5943
+ // STRING STREAM
5944
+
5945
+ // Fed to the mode parsers, provides helper functions to make
5946
+ // parsers more succinct.
5947
+
5948
+ var StringStream = CodeMirror.StringStream = function(string, tabSize) {
5949
+ this.pos = this.start = 0;
5950
+ this.string = string;
5951
+ this.tabSize = tabSize || 8;
5952
+ this.lastColumnPos = this.lastColumnValue = 0;
5953
+ this.lineStart = 0;
5954
+ };
5955
+
5956
+ StringStream.prototype = {
5957
+ eol: function() {return this.pos >= this.string.length;},
5958
+ sol: function() {return this.pos == this.lineStart;},
5959
+ peek: function() {return this.string.charAt(this.pos) || undefined;},
5960
+ next: function() {
5961
+ if (this.pos < this.string.length)
5962
+ return this.string.charAt(this.pos++);
5963
+ },
5964
+ eat: function(match) {
5965
+ var ch = this.string.charAt(this.pos);
5966
+ if (typeof match == "string") var ok = ch == match;
5967
+ else var ok = ch && (match.test ? match.test(ch) : match(ch));
5968
+ if (ok) {++this.pos; return ch;}
5969
+ },
5970
+ eatWhile: function(match) {
5971
+ var start = this.pos;
5972
+ while (this.eat(match)){}
5973
+ return this.pos > start;
5974
+ },
5975
+ eatSpace: function() {
5976
+ var start = this.pos;
5977
+ while (/[\s\u00a0]/.test(this.string.charAt(this.pos))) ++this.pos;
5978
+ return this.pos > start;
5979
+ },
5980
+ skipToEnd: function() {this.pos = this.string.length;},
5981
+ skipTo: function(ch) {
5982
+ var found = this.string.indexOf(ch, this.pos);
5983
+ if (found > -1) {this.pos = found; return true;}
5984
+ },
5985
+ backUp: function(n) {this.pos -= n;},
5986
+ column: function() {
5987
+ if (this.lastColumnPos < this.start) {
5988
+ this.lastColumnValue = countColumn(this.string, this.start, this.tabSize, this.lastColumnPos, this.lastColumnValue);
5989
+ this.lastColumnPos = this.start;
5990
+ }
5991
+ return this.lastColumnValue - (this.lineStart ? countColumn(this.string, this.lineStart, this.tabSize) : 0);
5992
+ },
5993
+ indentation: function() {
5994
+ return countColumn(this.string, null, this.tabSize) -
5995
+ (this.lineStart ? countColumn(this.string, this.lineStart, this.tabSize) : 0);
5996
+ },
5997
+ match: function(pattern, consume, caseInsensitive) {
5998
+ if (typeof pattern == "string") {
5999
+ var cased = function(str) {return caseInsensitive ? str.toLowerCase() : str;};
6000
+ var substr = this.string.substr(this.pos, pattern.length);
6001
+ if (cased(substr) == cased(pattern)) {
6002
+ if (consume !== false) this.pos += pattern.length;
6003
+ return true;
6004
+ }
6005
+ } else {
6006
+ var match = this.string.slice(this.pos).match(pattern);
6007
+ if (match && match.index > 0) return null;
6008
+ if (match && consume !== false) this.pos += match[0].length;
6009
+ return match;
6010
+ }
6011
+ },
6012
+ current: function(){return this.string.slice(this.start, this.pos);},
6013
+ hideFirstChars: function(n, inner) {
6014
+ this.lineStart += n;
6015
+ try { return inner(); }
6016
+ finally { this.lineStart -= n; }
6017
+ }
6018
+ };
6019
+
6020
+ // TEXTMARKERS
6021
+
6022
+ // Created with markText and setBookmark methods. A TextMarker is a
6023
+ // handle that can be used to clear or find a marked position in the
6024
+ // document. Line objects hold arrays (markedSpans) containing
6025
+ // {from, to, marker} object pointing to such marker objects, and
6026
+ // indicating that such a marker is present on that line. Multiple
6027
+ // lines may point to the same marker when it spans across lines.
6028
+ // The spans will have null for their from/to properties when the
6029
+ // marker continues beyond the start/end of the line. Markers have
6030
+ // links back to the lines they currently touch.
6031
+
6032
+ var nextMarkerId = 0;
6033
+
6034
+ var TextMarker = CodeMirror.TextMarker = function(doc, type) {
6035
+ this.lines = [];
6036
+ this.type = type;
6037
+ this.doc = doc;
6038
+ this.id = ++nextMarkerId;
6039
+ };
6040
+ eventMixin(TextMarker);
6041
+
6042
+ // Clear the marker.
6043
+ TextMarker.prototype.clear = function() {
6044
+ if (this.explicitlyCleared) return;
6045
+ var cm = this.doc.cm, withOp = cm && !cm.curOp;
6046
+ if (withOp) startOperation(cm);
6047
+ if (hasHandler(this, "clear")) {
6048
+ var found = this.find();
6049
+ if (found) signalLater(this, "clear", found.from, found.to);
6050
+ }
6051
+ var min = null, max = null;
6052
+ for (var i = 0; i < this.lines.length; ++i) {
6053
+ var line = this.lines[i];
6054
+ var span = getMarkedSpanFor(line.markedSpans, this);
6055
+ if (cm && !this.collapsed) regLineChange(cm, lineNo(line), "text");
6056
+ else if (cm) {
6057
+ if (span.to != null) max = lineNo(line);
6058
+ if (span.from != null) min = lineNo(line);
6059
+ }
6060
+ line.markedSpans = removeMarkedSpan(line.markedSpans, span);
6061
+ if (span.from == null && this.collapsed && !lineIsHidden(this.doc, line) && cm)
6062
+ updateLineHeight(line, textHeight(cm.display));
6063
+ }
6064
+ if (cm && this.collapsed && !cm.options.lineWrapping) for (var i = 0; i < this.lines.length; ++i) {
6065
+ var visual = visualLine(this.lines[i]), len = lineLength(visual);
6066
+ if (len > cm.display.maxLineLength) {
6067
+ cm.display.maxLine = visual;
6068
+ cm.display.maxLineLength = len;
6069
+ cm.display.maxLineChanged = true;
6070
+ }
6071
+ }
6072
+
6073
+ if (min != null && cm && this.collapsed) regChange(cm, min, max + 1);
6074
+ this.lines.length = 0;
6075
+ this.explicitlyCleared = true;
6076
+ if (this.atomic && this.doc.cantEdit) {
6077
+ this.doc.cantEdit = false;
6078
+ if (cm) reCheckSelection(cm.doc);
6079
+ }
6080
+ if (cm) signalLater(cm, "markerCleared", cm, this);
6081
+ if (withOp) endOperation(cm);
6082
+ if (this.parent) this.parent.clear();
6083
+ };
6084
+
6085
+ // Find the position of the marker in the document. Returns a {from,
6086
+ // to} object by default. Side can be passed to get a specific side
6087
+ // -- 0 (both), -1 (left), or 1 (right). When lineObj is true, the
6088
+ // Pos objects returned contain a line object, rather than a line
6089
+ // number (used to prevent looking up the same line twice).
6090
+ TextMarker.prototype.find = function(side, lineObj) {
6091
+ if (side == null && this.type == "bookmark") side = 1;
6092
+ var from, to;
6093
+ for (var i = 0; i < this.lines.length; ++i) {
6094
+ var line = this.lines[i];
6095
+ var span = getMarkedSpanFor(line.markedSpans, this);
6096
+ if (span.from != null) {
6097
+ from = Pos(lineObj ? line : lineNo(line), span.from);
6098
+ if (side == -1) return from;
6099
+ }
6100
+ if (span.to != null) {
6101
+ to = Pos(lineObj ? line : lineNo(line), span.to);
6102
+ if (side == 1) return to;
6103
+ }
6104
+ }
6105
+ return from && {from: from, to: to};
6106
+ };
6107
+
6108
+ // Signals that the marker's widget changed, and surrounding layout
6109
+ // should be recomputed.
6110
+ TextMarker.prototype.changed = function() {
6111
+ var pos = this.find(-1, true), widget = this, cm = this.doc.cm;
6112
+ if (!pos || !cm) return;
6113
+ runInOp(cm, function() {
6114
+ var line = pos.line, lineN = lineNo(pos.line);
6115
+ var view = findViewForLine(cm, lineN);
6116
+ if (view) {
6117
+ clearLineMeasurementCacheFor(view);
6118
+ cm.curOp.selectionChanged = cm.curOp.forceUpdate = true;
6119
+ }
6120
+ cm.curOp.updateMaxLine = true;
6121
+ if (!lineIsHidden(widget.doc, line) && widget.height != null) {
6122
+ var oldHeight = widget.height;
6123
+ widget.height = null;
6124
+ var dHeight = widgetHeight(widget) - oldHeight;
6125
+ if (dHeight)
6126
+ updateLineHeight(line, line.height + dHeight);
6127
+ }
6128
+ });
6129
+ };
6130
+
6131
+ TextMarker.prototype.attachLine = function(line) {
6132
+ if (!this.lines.length && this.doc.cm) {
6133
+ var op = this.doc.cm.curOp;
6134
+ if (!op.maybeHiddenMarkers || indexOf(op.maybeHiddenMarkers, this) == -1)
6135
+ (op.maybeUnhiddenMarkers || (op.maybeUnhiddenMarkers = [])).push(this);
6136
+ }
6137
+ this.lines.push(line);
6138
+ };
6139
+ TextMarker.prototype.detachLine = function(line) {
6140
+ this.lines.splice(indexOf(this.lines, line), 1);
6141
+ if (!this.lines.length && this.doc.cm) {
6142
+ var op = this.doc.cm.curOp;
6143
+ (op.maybeHiddenMarkers || (op.maybeHiddenMarkers = [])).push(this);
6144
+ }
6145
+ };
6146
+
6147
+ // Collapsed markers have unique ids, in order to be able to order
6148
+ // them, which is needed for uniquely determining an outer marker
6149
+ // when they overlap (they may nest, but not partially overlap).
6150
+ var nextMarkerId = 0;
6151
+
6152
+ // Create a marker, wire it up to the right lines, and
6153
+ function markText(doc, from, to, options, type) {
6154
+ // Shared markers (across linked documents) are handled separately
6155
+ // (markTextShared will call out to this again, once per
6156
+ // document).
6157
+ if (options && options.shared) return markTextShared(doc, from, to, options, type);
6158
+ // Ensure we are in an operation.
6159
+ if (doc.cm && !doc.cm.curOp) return operation(doc.cm, markText)(doc, from, to, options, type);
6160
+
6161
+ var marker = new TextMarker(doc, type), diff = cmp(from, to);
6162
+ if (options) copyObj(options, marker, false);
6163
+ // Don't connect empty markers unless clearWhenEmpty is false
6164
+ if (diff > 0 || diff == 0 && marker.clearWhenEmpty !== false)
6165
+ return marker;
6166
+ if (marker.replacedWith) {
6167
+ // Showing up as a widget implies collapsed (widget replaces text)
6168
+ marker.collapsed = true;
6169
+ marker.widgetNode = elt("span", [marker.replacedWith], "CodeMirror-widget");
6170
+ if (!options.handleMouseEvents) marker.widgetNode.setAttribute("cm-ignore-events", "true");
6171
+ if (options.insertLeft) marker.widgetNode.insertLeft = true;
6172
+ }
6173
+ if (marker.collapsed) {
6174
+ if (conflictingCollapsedRange(doc, from.line, from, to, marker) ||
6175
+ from.line != to.line && conflictingCollapsedRange(doc, to.line, from, to, marker))
6176
+ throw new Error("Inserting collapsed marker partially overlapping an existing one");
6177
+ sawCollapsedSpans = true;
6178
+ }
6179
+
6180
+ if (marker.addToHistory)
6181
+ addChangeToHistory(doc, {from: from, to: to, origin: "markText"}, doc.sel, NaN);
6182
+
6183
+ var curLine = from.line, cm = doc.cm, updateMaxLine;
6184
+ doc.iter(curLine, to.line + 1, function(line) {
6185
+ if (cm && marker.collapsed && !cm.options.lineWrapping && visualLine(line) == cm.display.maxLine)
6186
+ updateMaxLine = true;
6187
+ if (marker.collapsed && curLine != from.line) updateLineHeight(line, 0);
6188
+ addMarkedSpan(line, new MarkedSpan(marker,
6189
+ curLine == from.line ? from.ch : null,
6190
+ curLine == to.line ? to.ch : null));
6191
+ ++curLine;
6192
+ });
6193
+ // lineIsHidden depends on the presence of the spans, so needs a second pass
6194
+ if (marker.collapsed) doc.iter(from.line, to.line + 1, function(line) {
6195
+ if (lineIsHidden(doc, line)) updateLineHeight(line, 0);
6196
+ });
6197
+
6198
+ if (marker.clearOnEnter) on(marker, "beforeCursorEnter", function() { marker.clear(); });
6199
+
6200
+ if (marker.readOnly) {
6201
+ sawReadOnlySpans = true;
6202
+ if (doc.history.done.length || doc.history.undone.length)
6203
+ doc.clearHistory();
6204
+ }
6205
+ if (marker.collapsed) {
6206
+ marker.id = ++nextMarkerId;
6207
+ marker.atomic = true;
6208
+ }
6209
+ if (cm) {
6210
+ // Sync editor state
6211
+ if (updateMaxLine) cm.curOp.updateMaxLine = true;
6212
+ if (marker.collapsed)
6213
+ regChange(cm, from.line, to.line + 1);
6214
+ else if (marker.className || marker.title || marker.startStyle || marker.endStyle || marker.css)
6215
+ for (var i = from.line; i <= to.line; i++) regLineChange(cm, i, "text");
6216
+ if (marker.atomic) reCheckSelection(cm.doc);
6217
+ signalLater(cm, "markerAdded", cm, marker);
6218
+ }
6219
+ return marker;
6220
+ }
6221
+
6222
+ // SHARED TEXTMARKERS
6223
+
6224
+ // A shared marker spans multiple linked documents. It is
6225
+ // implemented as a meta-marker-object controlling multiple normal
6226
+ // markers.
6227
+ var SharedTextMarker = CodeMirror.SharedTextMarker = function(markers, primary) {
6228
+ this.markers = markers;
6229
+ this.primary = primary;
6230
+ for (var i = 0; i < markers.length; ++i)
6231
+ markers[i].parent = this;
6232
+ };
6233
+ eventMixin(SharedTextMarker);
6234
+
6235
+ SharedTextMarker.prototype.clear = function() {
6236
+ if (this.explicitlyCleared) return;
6237
+ this.explicitlyCleared = true;
6238
+ for (var i = 0; i < this.markers.length; ++i)
6239
+ this.markers[i].clear();
6240
+ signalLater(this, "clear");
6241
+ };
6242
+ SharedTextMarker.prototype.find = function(side, lineObj) {
6243
+ return this.primary.find(side, lineObj);
6244
+ };
6245
+
6246
+ function markTextShared(doc, from, to, options, type) {
6247
+ options = copyObj(options);
6248
+ options.shared = false;
6249
+ var markers = [markText(doc, from, to, options, type)], primary = markers[0];
6250
+ var widget = options.widgetNode;
6251
+ linkedDocs(doc, function(doc) {
6252
+ if (widget) options.widgetNode = widget.cloneNode(true);
6253
+ markers.push(markText(doc, clipPos(doc, from), clipPos(doc, to), options, type));
6254
+ for (var i = 0; i < doc.linked.length; ++i)
6255
+ if (doc.linked[i].isParent) return;
6256
+ primary = lst(markers);
6257
+ });
6258
+ return new SharedTextMarker(markers, primary);
6259
+ }
6260
+
6261
+ function findSharedMarkers(doc) {
6262
+ return doc.findMarks(Pos(doc.first, 0), doc.clipPos(Pos(doc.lastLine())),
6263
+ function(m) { return m.parent; });
6264
+ }
6265
+
6266
+ function copySharedMarkers(doc, markers) {
6267
+ for (var i = 0; i < markers.length; i++) {
6268
+ var marker = markers[i], pos = marker.find();
6269
+ var mFrom = doc.clipPos(pos.from), mTo = doc.clipPos(pos.to);
6270
+ if (cmp(mFrom, mTo)) {
6271
+ var subMark = markText(doc, mFrom, mTo, marker.primary, marker.primary.type);
6272
+ marker.markers.push(subMark);
6273
+ subMark.parent = marker;
6274
+ }
6275
+ }
6276
+ }
6277
+
6278
+ function detachSharedMarkers(markers) {
6279
+ for (var i = 0; i < markers.length; i++) {
6280
+ var marker = markers[i], linked = [marker.primary.doc];;
6281
+ linkedDocs(marker.primary.doc, function(d) { linked.push(d); });
6282
+ for (var j = 0; j < marker.markers.length; j++) {
6283
+ var subMarker = marker.markers[j];
6284
+ if (indexOf(linked, subMarker.doc) == -1) {
6285
+ subMarker.parent = null;
6286
+ marker.markers.splice(j--, 1);
6287
+ }
6288
+ }
6289
+ }
6290
+ }
6291
+
6292
+ // TEXTMARKER SPANS
6293
+
6294
+ function MarkedSpan(marker, from, to) {
6295
+ this.marker = marker;
6296
+ this.from = from; this.to = to;
6297
+ }
6298
+
6299
+ // Search an array of spans for a span matching the given marker.
6300
+ function getMarkedSpanFor(spans, marker) {
6301
+ if (spans) for (var i = 0; i < spans.length; ++i) {
6302
+ var span = spans[i];
6303
+ if (span.marker == marker) return span;
6304
+ }
6305
+ }
6306
+ // Remove a span from an array, returning undefined if no spans are
6307
+ // left (we don't store arrays for lines without spans).
6308
+ function removeMarkedSpan(spans, span) {
6309
+ for (var r, i = 0; i < spans.length; ++i)
6310
+ if (spans[i] != span) (r || (r = [])).push(spans[i]);
6311
+ return r;
6312
+ }
6313
+ // Add a span to a line.
6314
+ function addMarkedSpan(line, span) {
6315
+ line.markedSpans = line.markedSpans ? line.markedSpans.concat([span]) : [span];
6316
+ span.marker.attachLine(line);
6317
+ }
6318
+
6319
+ // Used for the algorithm that adjusts markers for a change in the
6320
+ // document. These functions cut an array of spans at a given
6321
+ // character position, returning an array of remaining chunks (or
6322
+ // undefined if nothing remains).
6323
+ function markedSpansBefore(old, startCh, isInsert) {
6324
+ if (old) for (var i = 0, nw; i < old.length; ++i) {
6325
+ var span = old[i], marker = span.marker;
6326
+ var startsBefore = span.from == null || (marker.inclusiveLeft ? span.from <= startCh : span.from < startCh);
6327
+ if (startsBefore || span.from == startCh && marker.type == "bookmark" && (!isInsert || !span.marker.insertLeft)) {
6328
+ var endsAfter = span.to == null || (marker.inclusiveRight ? span.to >= startCh : span.to > startCh);
6329
+ (nw || (nw = [])).push(new MarkedSpan(marker, span.from, endsAfter ? null : span.to));
6330
+ }
6331
+ }
6332
+ return nw;
6333
+ }
6334
+ function markedSpansAfter(old, endCh, isInsert) {
6335
+ if (old) for (var i = 0, nw; i < old.length; ++i) {
6336
+ var span = old[i], marker = span.marker;
6337
+ var endsAfter = span.to == null || (marker.inclusiveRight ? span.to >= endCh : span.to > endCh);
6338
+ if (endsAfter || span.from == endCh && marker.type == "bookmark" && (!isInsert || span.marker.insertLeft)) {
6339
+ var startsBefore = span.from == null || (marker.inclusiveLeft ? span.from <= endCh : span.from < endCh);
6340
+ (nw || (nw = [])).push(new MarkedSpan(marker, startsBefore ? null : span.from - endCh,
6341
+ span.to == null ? null : span.to - endCh));
6342
+ }
6343
+ }
6344
+ return nw;
6345
+ }
6346
+
6347
+ // Given a change object, compute the new set of marker spans that
6348
+ // cover the line in which the change took place. Removes spans
6349
+ // entirely within the change, reconnects spans belonging to the
6350
+ // same marker that appear on both sides of the change, and cuts off
6351
+ // spans partially within the change. Returns an array of span
6352
+ // arrays with one element for each line in (after) the change.
6353
+ function stretchSpansOverChange(doc, change) {
6354
+ if (change.full) return null;
6355
+ var oldFirst = isLine(doc, change.from.line) && getLine(doc, change.from.line).markedSpans;
6356
+ var oldLast = isLine(doc, change.to.line) && getLine(doc, change.to.line).markedSpans;
6357
+ if (!oldFirst && !oldLast) return null;
6358
+
6359
+ var startCh = change.from.ch, endCh = change.to.ch, isInsert = cmp(change.from, change.to) == 0;
6360
+ // Get the spans that 'stick out' on both sides
6361
+ var first = markedSpansBefore(oldFirst, startCh, isInsert);
6362
+ var last = markedSpansAfter(oldLast, endCh, isInsert);
6363
+
6364
+ // Next, merge those two ends
6365
+ var sameLine = change.text.length == 1, offset = lst(change.text).length + (sameLine ? startCh : 0);
6366
+ if (first) {
6367
+ // Fix up .to properties of first
6368
+ for (var i = 0; i < first.length; ++i) {
6369
+ var span = first[i];
6370
+ if (span.to == null) {
6371
+ var found = getMarkedSpanFor(last, span.marker);
6372
+ if (!found) span.to = startCh;
6373
+ else if (sameLine) span.to = found.to == null ? null : found.to + offset;
6374
+ }
6375
+ }
6376
+ }
6377
+ if (last) {
6378
+ // Fix up .from in last (or move them into first in case of sameLine)
6379
+ for (var i = 0; i < last.length; ++i) {
6380
+ var span = last[i];
6381
+ if (span.to != null) span.to += offset;
6382
+ if (span.from == null) {
6383
+ var found = getMarkedSpanFor(first, span.marker);
6384
+ if (!found) {
6385
+ span.from = offset;
6386
+ if (sameLine) (first || (first = [])).push(span);
6387
+ }
6388
+ } else {
6389
+ span.from += offset;
6390
+ if (sameLine) (first || (first = [])).push(span);
6391
+ }
6392
+ }
6393
+ }
6394
+ // Make sure we didn't create any zero-length spans
6395
+ if (first) first = clearEmptySpans(first);
6396
+ if (last && last != first) last = clearEmptySpans(last);
6397
+
6398
+ var newMarkers = [first];
6399
+ if (!sameLine) {
6400
+ // Fill gap with whole-line-spans
6401
+ var gap = change.text.length - 2, gapMarkers;
6402
+ if (gap > 0 && first)
6403
+ for (var i = 0; i < first.length; ++i)
6404
+ if (first[i].to == null)
6405
+ (gapMarkers || (gapMarkers = [])).push(new MarkedSpan(first[i].marker, null, null));
6406
+ for (var i = 0; i < gap; ++i)
6407
+ newMarkers.push(gapMarkers);
6408
+ newMarkers.push(last);
6409
+ }
6410
+ return newMarkers;
6411
+ }
6412
+
6413
+ // Remove spans that are empty and don't have a clearWhenEmpty
6414
+ // option of false.
6415
+ function clearEmptySpans(spans) {
6416
+ for (var i = 0; i < spans.length; ++i) {
6417
+ var span = spans[i];
6418
+ if (span.from != null && span.from == span.to && span.marker.clearWhenEmpty !== false)
6419
+ spans.splice(i--, 1);
6420
+ }
6421
+ if (!spans.length) return null;
6422
+ return spans;
6423
+ }
6424
+
6425
+ // Used for un/re-doing changes from the history. Combines the
6426
+ // result of computing the existing spans with the set of spans that
6427
+ // existed in the history (so that deleting around a span and then
6428
+ // undoing brings back the span).
6429
+ function mergeOldSpans(doc, change) {
6430
+ var old = getOldSpans(doc, change);
6431
+ var stretched = stretchSpansOverChange(doc, change);
6432
+ if (!old) return stretched;
6433
+ if (!stretched) return old;
6434
+
6435
+ for (var i = 0; i < old.length; ++i) {
6436
+ var oldCur = old[i], stretchCur = stretched[i];
6437
+ if (oldCur && stretchCur) {
6438
+ spans: for (var j = 0; j < stretchCur.length; ++j) {
6439
+ var span = stretchCur[j];
6440
+ for (var k = 0; k < oldCur.length; ++k)
6441
+ if (oldCur[k].marker == span.marker) continue spans;
6442
+ oldCur.push(span);
6443
+ }
6444
+ } else if (stretchCur) {
6445
+ old[i] = stretchCur;
6446
+ }
6447
+ }
6448
+ return old;
6449
+ }
6450
+
6451
+ // Used to 'clip' out readOnly ranges when making a change.
6452
+ function removeReadOnlyRanges(doc, from, to) {
6453
+ var markers = null;
6454
+ doc.iter(from.line, to.line + 1, function(line) {
6455
+ if (line.markedSpans) for (var i = 0; i < line.markedSpans.length; ++i) {
6456
+ var mark = line.markedSpans[i].marker;
6457
+ if (mark.readOnly && (!markers || indexOf(markers, mark) == -1))
6458
+ (markers || (markers = [])).push(mark);
6459
+ }
6460
+ });
6461
+ if (!markers) return null;
6462
+ var parts = [{from: from, to: to}];
6463
+ for (var i = 0; i < markers.length; ++i) {
6464
+ var mk = markers[i], m = mk.find(0);
6465
+ for (var j = 0; j < parts.length; ++j) {
6466
+ var p = parts[j];
6467
+ if (cmp(p.to, m.from) < 0 || cmp(p.from, m.to) > 0) continue;
6468
+ var newParts = [j, 1], dfrom = cmp(p.from, m.from), dto = cmp(p.to, m.to);
6469
+ if (dfrom < 0 || !mk.inclusiveLeft && !dfrom)
6470
+ newParts.push({from: p.from, to: m.from});
6471
+ if (dto > 0 || !mk.inclusiveRight && !dto)
6472
+ newParts.push({from: m.to, to: p.to});
6473
+ parts.splice.apply(parts, newParts);
6474
+ j += newParts.length - 1;
6475
+ }
6476
+ }
6477
+ return parts;
6478
+ }
6479
+
6480
+ // Connect or disconnect spans from a line.
6481
+ function detachMarkedSpans(line) {
6482
+ var spans = line.markedSpans;
6483
+ if (!spans) return;
6484
+ for (var i = 0; i < spans.length; ++i)
6485
+ spans[i].marker.detachLine(line);
6486
+ line.markedSpans = null;
6487
+ }
6488
+ function attachMarkedSpans(line, spans) {
6489
+ if (!spans) return;
6490
+ for (var i = 0; i < spans.length; ++i)
6491
+ spans[i].marker.attachLine(line);
6492
+ line.markedSpans = spans;
6493
+ }
6494
+
6495
+ // Helpers used when computing which overlapping collapsed span
6496
+ // counts as the larger one.
6497
+ function extraLeft(marker) { return marker.inclusiveLeft ? -1 : 0; }
6498
+ function extraRight(marker) { return marker.inclusiveRight ? 1 : 0; }
6499
+
6500
+ // Returns a number indicating which of two overlapping collapsed
6501
+ // spans is larger (and thus includes the other). Falls back to
6502
+ // comparing ids when the spans cover exactly the same range.
6503
+ function compareCollapsedMarkers(a, b) {
6504
+ var lenDiff = a.lines.length - b.lines.length;
6505
+ if (lenDiff != 0) return lenDiff;
6506
+ var aPos = a.find(), bPos = b.find();
6507
+ var fromCmp = cmp(aPos.from, bPos.from) || extraLeft(a) - extraLeft(b);
6508
+ if (fromCmp) return -fromCmp;
6509
+ var toCmp = cmp(aPos.to, bPos.to) || extraRight(a) - extraRight(b);
6510
+ if (toCmp) return toCmp;
6511
+ return b.id - a.id;
6512
+ }
6513
+
6514
+ // Find out whether a line ends or starts in a collapsed span. If
6515
+ // so, return the marker for that span.
6516
+ function collapsedSpanAtSide(line, start) {
6517
+ var sps = sawCollapsedSpans && line.markedSpans, found;
6518
+ if (sps) for (var sp, i = 0; i < sps.length; ++i) {
6519
+ sp = sps[i];
6520
+ if (sp.marker.collapsed && (start ? sp.from : sp.to) == null &&
6521
+ (!found || compareCollapsedMarkers(found, sp.marker) < 0))
6522
+ found = sp.marker;
6523
+ }
6524
+ return found;
6525
+ }
6526
+ function collapsedSpanAtStart(line) { return collapsedSpanAtSide(line, true); }
6527
+ function collapsedSpanAtEnd(line) { return collapsedSpanAtSide(line, false); }
6528
+
6529
+ // Test whether there exists a collapsed span that partially
6530
+ // overlaps (covers the start or end, but not both) of a new span.
6531
+ // Such overlap is not allowed.
6532
+ function conflictingCollapsedRange(doc, lineNo, from, to, marker) {
6533
+ var line = getLine(doc, lineNo);
6534
+ var sps = sawCollapsedSpans && line.markedSpans;
6535
+ if (sps) for (var i = 0; i < sps.length; ++i) {
6536
+ var sp = sps[i];
6537
+ if (!sp.marker.collapsed) continue;
6538
+ var found = sp.marker.find(0);
6539
+ var fromCmp = cmp(found.from, from) || extraLeft(sp.marker) - extraLeft(marker);
6540
+ var toCmp = cmp(found.to, to) || extraRight(sp.marker) - extraRight(marker);
6541
+ if (fromCmp >= 0 && toCmp <= 0 || fromCmp <= 0 && toCmp >= 0) continue;
6542
+ if (fromCmp <= 0 && (cmp(found.to, from) > 0 || (sp.marker.inclusiveRight && marker.inclusiveLeft)) ||
6543
+ fromCmp >= 0 && (cmp(found.from, to) < 0 || (sp.marker.inclusiveLeft && marker.inclusiveRight)))
6544
+ return true;
6545
+ }
6546
+ }
6547
+
6548
+ // A visual line is a line as drawn on the screen. Folding, for
6549
+ // example, can cause multiple logical lines to appear on the same
6550
+ // visual line. This finds the start of the visual line that the
6551
+ // given line is part of (usually that is the line itself).
6552
+ function visualLine(line) {
6553
+ var merged;
6554
+ while (merged = collapsedSpanAtStart(line))
6555
+ line = merged.find(-1, true).line;
6556
+ return line;
6557
+ }
6558
+
6559
+ // Returns an array of logical lines that continue the visual line
6560
+ // started by the argument, or undefined if there are no such lines.
6561
+ function visualLineContinued(line) {
6562
+ var merged, lines;
6563
+ while (merged = collapsedSpanAtEnd(line)) {
6564
+ line = merged.find(1, true).line;
6565
+ (lines || (lines = [])).push(line);
6566
+ }
6567
+ return lines;
6568
+ }
6569
+
6570
+ // Get the line number of the start of the visual line that the
6571
+ // given line number is part of.
6572
+ function visualLineNo(doc, lineN) {
6573
+ var line = getLine(doc, lineN), vis = visualLine(line);
6574
+ if (line == vis) return lineN;
6575
+ return lineNo(vis);
6576
+ }
6577
+ // Get the line number of the start of the next visual line after
6578
+ // the given line.
6579
+ function visualLineEndNo(doc, lineN) {
6580
+ if (lineN > doc.lastLine()) return lineN;
6581
+ var line = getLine(doc, lineN), merged;
6582
+ if (!lineIsHidden(doc, line)) return lineN;
6583
+ while (merged = collapsedSpanAtEnd(line))
6584
+ line = merged.find(1, true).line;
6585
+ return lineNo(line) + 1;
6586
+ }
6587
+
6588
+ // Compute whether a line is hidden. Lines count as hidden when they
6589
+ // are part of a visual line that starts with another line, or when
6590
+ // they are entirely covered by collapsed, non-widget span.
6591
+ function lineIsHidden(doc, line) {
6592
+ var sps = sawCollapsedSpans && line.markedSpans;
6593
+ if (sps) for (var sp, i = 0; i < sps.length; ++i) {
6594
+ sp = sps[i];
6595
+ if (!sp.marker.collapsed) continue;
6596
+ if (sp.from == null) return true;
6597
+ if (sp.marker.widgetNode) continue;
6598
+ if (sp.from == 0 && sp.marker.inclusiveLeft && lineIsHiddenInner(doc, line, sp))
6599
+ return true;
6600
+ }
6601
+ }
6602
+ function lineIsHiddenInner(doc, line, span) {
6603
+ if (span.to == null) {
6604
+ var end = span.marker.find(1, true);
6605
+ return lineIsHiddenInner(doc, end.line, getMarkedSpanFor(end.line.markedSpans, span.marker));
6606
+ }
6607
+ if (span.marker.inclusiveRight && span.to == line.text.length)
6608
+ return true;
6609
+ for (var sp, i = 0; i < line.markedSpans.length; ++i) {
6610
+ sp = line.markedSpans[i];
6611
+ if (sp.marker.collapsed && !sp.marker.widgetNode && sp.from == span.to &&
6612
+ (sp.to == null || sp.to != span.from) &&
6613
+ (sp.marker.inclusiveLeft || span.marker.inclusiveRight) &&
6614
+ lineIsHiddenInner(doc, line, sp)) return true;
6615
+ }
6616
+ }
6617
+
6618
+ // LINE WIDGETS
6619
+
6620
+ // Line widgets are block elements displayed above or below a line.
6621
+
6622
+ var LineWidget = CodeMirror.LineWidget = function(doc, node, options) {
6623
+ if (options) for (var opt in options) if (options.hasOwnProperty(opt))
6624
+ this[opt] = options[opt];
6625
+ this.doc = doc;
6626
+ this.node = node;
6627
+ };
6628
+ eventMixin(LineWidget);
6629
+
6630
+ function adjustScrollWhenAboveVisible(cm, line, diff) {
6631
+ if (heightAtLine(line) < ((cm.curOp && cm.curOp.scrollTop) || cm.doc.scrollTop))
6632
+ addToScrollPos(cm, null, diff);
6633
+ }
6634
+
6635
+ LineWidget.prototype.clear = function() {
6636
+ var cm = this.doc.cm, ws = this.line.widgets, line = this.line, no = lineNo(line);
6637
+ if (no == null || !ws) return;
6638
+ for (var i = 0; i < ws.length; ++i) if (ws[i] == this) ws.splice(i--, 1);
6639
+ if (!ws.length) line.widgets = null;
6640
+ var height = widgetHeight(this);
6641
+ updateLineHeight(line, Math.max(0, line.height - height));
6642
+ if (cm) runInOp(cm, function() {
6643
+ adjustScrollWhenAboveVisible(cm, line, -height);
6644
+ regLineChange(cm, no, "widget");
6645
+ });
6646
+ };
6647
+ LineWidget.prototype.changed = function() {
6648
+ var oldH = this.height, cm = this.doc.cm, line = this.line;
6649
+ this.height = null;
6650
+ var diff = widgetHeight(this) - oldH;
6651
+ if (!diff) return;
6652
+ updateLineHeight(line, line.height + diff);
6653
+ if (cm) runInOp(cm, function() {
6654
+ cm.curOp.forceUpdate = true;
6655
+ adjustScrollWhenAboveVisible(cm, line, diff);
6656
+ });
6657
+ };
6658
+
6659
+ function widgetHeight(widget) {
6660
+ if (widget.height != null) return widget.height;
6661
+ var cm = widget.doc.cm;
6662
+ if (!cm) return 0;
6663
+ if (!contains(document.body, widget.node)) {
6664
+ var parentStyle = "position: relative;";
6665
+ if (widget.coverGutter)
6666
+ parentStyle += "margin-left: -" + cm.display.gutters.offsetWidth + "px;";
6667
+ if (widget.noHScroll)
6668
+ parentStyle += "width: " + cm.display.wrapper.clientWidth + "px;";
6669
+ removeChildrenAndAdd(cm.display.measure, elt("div", [widget.node], null, parentStyle));
6670
+ }
6671
+ return widget.height = widget.node.offsetHeight;
6672
+ }
6673
+
6674
+ function addLineWidget(doc, handle, node, options) {
6675
+ var widget = new LineWidget(doc, node, options);
6676
+ var cm = doc.cm;
6677
+ if (cm && widget.noHScroll) cm.display.alignWidgets = true;
6678
+ changeLine(doc, handle, "widget", function(line) {
6679
+ var widgets = line.widgets || (line.widgets = []);
6680
+ if (widget.insertAt == null) widgets.push(widget);
6681
+ else widgets.splice(Math.min(widgets.length - 1, Math.max(0, widget.insertAt)), 0, widget);
6682
+ widget.line = line;
6683
+ if (cm && !lineIsHidden(doc, line)) {
6684
+ var aboveVisible = heightAtLine(line) < doc.scrollTop;
6685
+ updateLineHeight(line, line.height + widgetHeight(widget));
6686
+ if (aboveVisible) addToScrollPos(cm, null, widget.height);
6687
+ cm.curOp.forceUpdate = true;
6688
+ }
6689
+ return true;
6690
+ });
6691
+ return widget;
6692
+ }
6693
+
6694
+ // LINE DATA STRUCTURE
6695
+
6696
+ // Line objects. These hold state related to a line, including
6697
+ // highlighting info (the styles array).
6698
+ var Line = CodeMirror.Line = function(text, markedSpans, estimateHeight) {
6699
+ this.text = text;
6700
+ attachMarkedSpans(this, markedSpans);
6701
+ this.height = estimateHeight ? estimateHeight(this) : 1;
6702
+ };
6703
+ eventMixin(Line);
6704
+ Line.prototype.lineNo = function() { return lineNo(this); };
6705
+
6706
+ // Change the content (text, markers) of a line. Automatically
6707
+ // invalidates cached information and tries to re-estimate the
6708
+ // line's height.
6709
+ function updateLine(line, text, markedSpans, estimateHeight) {
6710
+ line.text = text;
6711
+ if (line.stateAfter) line.stateAfter = null;
6712
+ if (line.styles) line.styles = null;
6713
+ if (line.order != null) line.order = null;
6714
+ detachMarkedSpans(line);
6715
+ attachMarkedSpans(line, markedSpans);
6716
+ var estHeight = estimateHeight ? estimateHeight(line) : 1;
6717
+ if (estHeight != line.height) updateLineHeight(line, estHeight);
6718
+ }
6719
+
6720
+ // Detach a line from the document tree and its markers.
6721
+ function cleanUpLine(line) {
6722
+ line.parent = null;
6723
+ detachMarkedSpans(line);
6724
+ }
6725
+
6726
+ function extractLineClasses(type, output) {
6727
+ if (type) for (;;) {
6728
+ var lineClass = type.match(/(?:^|\s+)line-(background-)?(\S+)/);
6729
+ if (!lineClass) break;
6730
+ type = type.slice(0, lineClass.index) + type.slice(lineClass.index + lineClass[0].length);
6731
+ var prop = lineClass[1] ? "bgClass" : "textClass";
6732
+ if (output[prop] == null)
6733
+ output[prop] = lineClass[2];
6734
+ else if (!(new RegExp("(?:^|\s)" + lineClass[2] + "(?:$|\s)")).test(output[prop]))
6735
+ output[prop] += " " + lineClass[2];
6736
+ }
6737
+ return type;
6738
+ }
6739
+
6740
+ function callBlankLine(mode, state) {
6741
+ if (mode.blankLine) return mode.blankLine(state);
6742
+ if (!mode.innerMode) return;
6743
+ var inner = CodeMirror.innerMode(mode, state);
6744
+ if (inner.mode.blankLine) return inner.mode.blankLine(inner.state);
6745
+ }
6746
+
6747
+ function readToken(mode, stream, state, inner) {
6748
+ for (var i = 0; i < 10; i++) {
6749
+ if (inner) inner[0] = CodeMirror.innerMode(mode, state).mode;
6750
+ var style = mode.token(stream, state);
6751
+ if (stream.pos > stream.start) return style;
6752
+ }
6753
+ throw new Error("Mode " + mode.name + " failed to advance stream.");
6754
+ }
6755
+
6756
+ // Utility for getTokenAt and getLineTokens
6757
+ function takeToken(cm, pos, precise, asArray) {
6758
+ function getObj(copy) {
6759
+ return {start: stream.start, end: stream.pos,
6760
+ string: stream.current(),
6761
+ type: style || null,
6762
+ state: copy ? copyState(doc.mode, state) : state};
6763
+ }
6764
+
6765
+ var doc = cm.doc, mode = doc.mode, style;
6766
+ pos = clipPos(doc, pos);
6767
+ var line = getLine(doc, pos.line), state = getStateBefore(cm, pos.line, precise);
6768
+ var stream = new StringStream(line.text, cm.options.tabSize), tokens;
6769
+ if (asArray) tokens = [];
6770
+ while ((asArray || stream.pos < pos.ch) && !stream.eol()) {
6771
+ stream.start = stream.pos;
6772
+ style = readToken(mode, stream, state);
6773
+ if (asArray) tokens.push(getObj(true));
6774
+ }
6775
+ return asArray ? tokens : getObj();
6776
+ }
6777
+
6778
+ // Run the given mode's parser over a line, calling f for each token.
6779
+ function runMode(cm, text, mode, state, f, lineClasses, forceToEnd) {
6780
+ var flattenSpans = mode.flattenSpans;
6781
+ if (flattenSpans == null) flattenSpans = cm.options.flattenSpans;
6782
+ var curStart = 0, curStyle = null;
6783
+ var stream = new StringStream(text, cm.options.tabSize), style;
6784
+ var inner = cm.options.addModeClass && [null];
6785
+ if (text == "") extractLineClasses(callBlankLine(mode, state), lineClasses);
6786
+ while (!stream.eol()) {
6787
+ if (stream.pos > cm.options.maxHighlightLength) {
6788
+ flattenSpans = false;
6789
+ if (forceToEnd) processLine(cm, text, state, stream.pos);
6790
+ stream.pos = text.length;
6791
+ style = null;
6792
+ } else {
6793
+ style = extractLineClasses(readToken(mode, stream, state, inner), lineClasses);
6794
+ }
6795
+ if (inner) {
6796
+ var mName = inner[0].name;
6797
+ if (mName) style = "m-" + (style ? mName + " " + style : mName);
6798
+ }
6799
+ if (!flattenSpans || curStyle != style) {
6800
+ while (curStart < stream.start) {
6801
+ curStart = Math.min(stream.start, curStart + 50000);
6802
+ f(curStart, curStyle);
6803
+ }
6804
+ curStyle = style;
6805
+ }
6806
+ stream.start = stream.pos;
6807
+ }
6808
+ while (curStart < stream.pos) {
6809
+ // Webkit seems to refuse to render text nodes longer than 57444 characters
6810
+ var pos = Math.min(stream.pos, curStart + 50000);
6811
+ f(pos, curStyle);
6812
+ curStart = pos;
6813
+ }
6814
+ }
6815
+
6816
+ // Compute a style array (an array starting with a mode generation
6817
+ // -- for invalidation -- followed by pairs of end positions and
6818
+ // style strings), which is used to highlight the tokens on the
6819
+ // line.
6820
+ function highlightLine(cm, line, state, forceToEnd) {
6821
+ // A styles array always starts with a number identifying the
6822
+ // mode/overlays that it is based on (for easy invalidation).
6823
+ var st = [cm.state.modeGen], lineClasses = {};
6824
+ // Compute the base array of styles
6825
+ runMode(cm, line.text, cm.doc.mode, state, function(end, style) {
6826
+ st.push(end, style);
6827
+ }, lineClasses, forceToEnd);
6828
+
6829
+ // Run overlays, adjust style array.
6830
+ for (var o = 0; o < cm.state.overlays.length; ++o) {
6831
+ var overlay = cm.state.overlays[o], i = 1, at = 0;
6832
+ runMode(cm, line.text, overlay.mode, true, function(end, style) {
6833
+ var start = i;
6834
+ // Ensure there's a token end at the current position, and that i points at it
6835
+ while (at < end) {
6836
+ var i_end = st[i];
6837
+ if (i_end > end)
6838
+ st.splice(i, 1, end, st[i+1], i_end);
6839
+ i += 2;
6840
+ at = Math.min(end, i_end);
6841
+ }
6842
+ if (!style) return;
6843
+ if (overlay.opaque) {
6844
+ st.splice(start, i - start, end, "cm-overlay " + style);
6845
+ i = start + 2;
6846
+ } else {
6847
+ for (; start < i; start += 2) {
6848
+ var cur = st[start+1];
6849
+ st[start+1] = (cur ? cur + " " : "") + "cm-overlay " + style;
6850
+ }
6851
+ }
6852
+ }, lineClasses);
6853
+ }
6854
+
6855
+ return {styles: st, classes: lineClasses.bgClass || lineClasses.textClass ? lineClasses : null};
6856
+ }
6857
+
6858
+ function getLineStyles(cm, line, updateFrontier) {
6859
+ if (!line.styles || line.styles[0] != cm.state.modeGen) {
6860
+ var state = getStateBefore(cm, lineNo(line));
6861
+ var result = highlightLine(cm, line, line.text.length > cm.options.maxHighlightLength ? copyState(cm.doc.mode, state) : state);
6862
+ line.stateAfter = state;
6863
+ line.styles = result.styles;
6864
+ if (result.classes) line.styleClasses = result.classes;
6865
+ else if (line.styleClasses) line.styleClasses = null;
6866
+ if (updateFrontier === cm.doc.frontier) cm.doc.frontier++;
6867
+ }
6868
+ return line.styles;
6869
+ }
6870
+
6871
+ // Lightweight form of highlight -- proceed over this line and
6872
+ // update state, but don't save a style array. Used for lines that
6873
+ // aren't currently visible.
6874
+ function processLine(cm, text, state, startAt) {
6875
+ var mode = cm.doc.mode;
6876
+ var stream = new StringStream(text, cm.options.tabSize);
6877
+ stream.start = stream.pos = startAt || 0;
6878
+ if (text == "") callBlankLine(mode, state);
6879
+ while (!stream.eol()) {
6880
+ readToken(mode, stream, state);
6881
+ stream.start = stream.pos;
6882
+ }
6883
+ }
6884
+
6885
+ // Convert a style as returned by a mode (either null, or a string
6886
+ // containing one or more styles) to a CSS style. This is cached,
6887
+ // and also looks for line-wide styles.
6888
+ var styleToClassCache = {}, styleToClassCacheWithMode = {};
6889
+ function interpretTokenStyle(style, options) {
6890
+ if (!style || /^\s*$/.test(style)) return null;
6891
+ var cache = options.addModeClass ? styleToClassCacheWithMode : styleToClassCache;
6892
+ return cache[style] ||
6893
+ (cache[style] = style.replace(/\S+/g, "cm-$&"));
6894
+ }
6895
+
6896
+ // Render the DOM representation of the text of a line. Also builds
6897
+ // up a 'line map', which points at the DOM nodes that represent
6898
+ // specific stretches of text, and is used by the measuring code.
6899
+ // The returned object contains the DOM node, this map, and
6900
+ // information about line-wide styles that were set by the mode.
6901
+ function buildLineContent(cm, lineView) {
6902
+ // The padding-right forces the element to have a 'border', which
6903
+ // is needed on Webkit to be able to get line-level bounding
6904
+ // rectangles for it (in measureChar).
6905
+ var content = elt("span", null, null, webkit ? "padding-right: .1px" : null);
6906
+ var builder = {pre: elt("pre", [content], "CodeMirror-line"), content: content,
6907
+ col: 0, pos: 0, cm: cm,
6908
+ splitSpaces: (ie || webkit) && cm.getOption("lineWrapping")};
6909
+ lineView.measure = {};
6910
+
6911
+ // Iterate over the logical lines that make up this visual line.
6912
+ for (var i = 0; i <= (lineView.rest ? lineView.rest.length : 0); i++) {
6913
+ var line = i ? lineView.rest[i - 1] : lineView.line, order;
6914
+ builder.pos = 0;
6915
+ builder.addToken = buildToken;
6916
+ // Optionally wire in some hacks into the token-rendering
6917
+ // algorithm, to deal with browser quirks.
6918
+ if (hasBadBidiRects(cm.display.measure) && (order = getOrder(line)))
6919
+ builder.addToken = buildTokenBadBidi(builder.addToken, order);
6920
+ builder.map = [];
6921
+ var allowFrontierUpdate = lineView != cm.display.externalMeasured && lineNo(line);
6922
+ insertLineContent(line, builder, getLineStyles(cm, line, allowFrontierUpdate));
6923
+ if (line.styleClasses) {
6924
+ if (line.styleClasses.bgClass)
6925
+ builder.bgClass = joinClasses(line.styleClasses.bgClass, builder.bgClass || "");
6926
+ if (line.styleClasses.textClass)
6927
+ builder.textClass = joinClasses(line.styleClasses.textClass, builder.textClass || "");
6928
+ }
6929
+
6930
+ // Ensure at least a single node is present, for measuring.
6931
+ if (builder.map.length == 0)
6932
+ builder.map.push(0, 0, builder.content.appendChild(zeroWidthElement(cm.display.measure)));
6933
+
6934
+ // Store the map and a cache object for the current logical line
6935
+ if (i == 0) {
6936
+ lineView.measure.map = builder.map;
6937
+ lineView.measure.cache = {};
6938
+ } else {
6939
+ (lineView.measure.maps || (lineView.measure.maps = [])).push(builder.map);
6940
+ (lineView.measure.caches || (lineView.measure.caches = [])).push({});
6941
+ }
6942
+ }
6943
+
6944
+ // See issue #2901
6945
+ if (webkit && /\bcm-tab\b/.test(builder.content.lastChild.className))
6946
+ builder.content.className = "cm-tab-wrap-hack";
6947
+
6948
+ signal(cm, "renderLine", cm, lineView.line, builder.pre);
6949
+ if (builder.pre.className)
6950
+ builder.textClass = joinClasses(builder.pre.className, builder.textClass || "");
6951
+
6952
+ return builder;
6953
+ }
6954
+
6955
+ function defaultSpecialCharPlaceholder(ch) {
6956
+ var token = elt("span", "\u2022", "cm-invalidchar");
6957
+ token.title = "\\u" + ch.charCodeAt(0).toString(16);
6958
+ token.setAttribute("aria-label", token.title);
6959
+ return token;
6960
+ }
6961
+
6962
+ // Build up the DOM representation for a single token, and add it to
6963
+ // the line map. Takes care to render special characters separately.
6964
+ function buildToken(builder, text, style, startStyle, endStyle, title, css) {
6965
+ if (!text) return;
6966
+ var displayText = builder.splitSpaces ? text.replace(/ {3,}/g, splitSpaces) : text;
6967
+ var special = builder.cm.state.specialChars, mustWrap = false;
6968
+ if (!special.test(text)) {
6969
+ builder.col += text.length;
6970
+ var content = document.createTextNode(displayText);
6971
+ builder.map.push(builder.pos, builder.pos + text.length, content);
6972
+ if (ie && ie_version < 9) mustWrap = true;
6973
+ builder.pos += text.length;
6974
+ } else {
6975
+ var content = document.createDocumentFragment(), pos = 0;
6976
+ while (true) {
6977
+ special.lastIndex = pos;
6978
+ var m = special.exec(text);
6979
+ var skipped = m ? m.index - pos : text.length - pos;
6980
+ if (skipped) {
6981
+ var txt = document.createTextNode(displayText.slice(pos, pos + skipped));
6982
+ if (ie && ie_version < 9) content.appendChild(elt("span", [txt]));
6983
+ else content.appendChild(txt);
6984
+ builder.map.push(builder.pos, builder.pos + skipped, txt);
6985
+ builder.col += skipped;
6986
+ builder.pos += skipped;
6987
+ }
6988
+ if (!m) break;
6989
+ pos += skipped + 1;
6990
+ if (m[0] == "\t") {
6991
+ var tabSize = builder.cm.options.tabSize, tabWidth = tabSize - builder.col % tabSize;
6992
+ var txt = content.appendChild(elt("span", spaceStr(tabWidth), "cm-tab"));
6993
+ txt.setAttribute("role", "presentation");
6994
+ txt.setAttribute("cm-text", "\t");
6995
+ builder.col += tabWidth;
6996
+ } else if (m[0] == "\r" || m[0] == "\n") {
6997
+ var txt = content.appendChild(elt("span", m[0] == "\r" ? "\u240d" : "\u2424", "cm-invalidchar"));
6998
+ txt.setAttribute("cm-text", m[0]);
6999
+ builder.col += 1;
7000
+ } else {
7001
+ var txt = builder.cm.options.specialCharPlaceholder(m[0]);
7002
+ txt.setAttribute("cm-text", m[0]);
7003
+ if (ie && ie_version < 9) content.appendChild(elt("span", [txt]));
7004
+ else content.appendChild(txt);
7005
+ builder.col += 1;
7006
+ }
7007
+ builder.map.push(builder.pos, builder.pos + 1, txt);
7008
+ builder.pos++;
7009
+ }
7010
+ }
7011
+ if (style || startStyle || endStyle || mustWrap || css) {
7012
+ var fullStyle = style || "";
7013
+ if (startStyle) fullStyle += startStyle;
7014
+ if (endStyle) fullStyle += endStyle;
7015
+ var token = elt("span", [content], fullStyle, css);
7016
+ if (title) token.title = title;
7017
+ return builder.content.appendChild(token);
7018
+ }
7019
+ builder.content.appendChild(content);
7020
+ }
7021
+
7022
+ function splitSpaces(old) {
7023
+ var out = " ";
7024
+ for (var i = 0; i < old.length - 2; ++i) out += i % 2 ? " " : "\u00a0";
7025
+ out += " ";
7026
+ return out;
7027
+ }
7028
+
7029
+ // Work around nonsense dimensions being reported for stretches of
7030
+ // right-to-left text.
7031
+ function buildTokenBadBidi(inner, order) {
7032
+ return function(builder, text, style, startStyle, endStyle, title, css) {
7033
+ style = style ? style + " cm-force-border" : "cm-force-border";
7034
+ var start = builder.pos, end = start + text.length;
7035
+ for (;;) {
7036
+ // Find the part that overlaps with the start of this text
7037
+ for (var i = 0; i < order.length; i++) {
7038
+ var part = order[i];
7039
+ if (part.to > start && part.from <= start) break;
7040
+ }
7041
+ if (part.to >= end) return inner(builder, text, style, startStyle, endStyle, title, css);
7042
+ inner(builder, text.slice(0, part.to - start), style, startStyle, null, title, css);
7043
+ startStyle = null;
7044
+ text = text.slice(part.to - start);
7045
+ start = part.to;
7046
+ }
7047
+ };
7048
+ }
7049
+
7050
+ function buildCollapsedSpan(builder, size, marker, ignoreWidget) {
7051
+ var widget = !ignoreWidget && marker.widgetNode;
7052
+ if (widget) builder.map.push(builder.pos, builder.pos + size, widget);
7053
+ if (!ignoreWidget && builder.cm.display.input.needsContentAttribute) {
7054
+ if (!widget)
7055
+ widget = builder.content.appendChild(document.createElement("span"));
7056
+ widget.setAttribute("cm-marker", marker.id);
7057
+ }
7058
+ if (widget) {
7059
+ builder.cm.display.input.setUneditable(widget);
7060
+ builder.content.appendChild(widget);
7061
+ }
7062
+ builder.pos += size;
7063
+ }
7064
+
7065
+ // Outputs a number of spans to make up a line, taking highlighting
7066
+ // and marked text into account.
7067
+ function insertLineContent(line, builder, styles) {
7068
+ var spans = line.markedSpans, allText = line.text, at = 0;
7069
+ if (!spans) {
7070
+ for (var i = 1; i < styles.length; i+=2)
7071
+ builder.addToken(builder, allText.slice(at, at = styles[i]), interpretTokenStyle(styles[i+1], builder.cm.options));
7072
+ return;
7073
+ }
7074
+
7075
+ var len = allText.length, pos = 0, i = 1, text = "", style, css;
7076
+ var nextChange = 0, spanStyle, spanEndStyle, spanStartStyle, title, collapsed;
7077
+ for (;;) {
7078
+ if (nextChange == pos) { // Update current marker set
7079
+ spanStyle = spanEndStyle = spanStartStyle = title = css = "";
7080
+ collapsed = null; nextChange = Infinity;
7081
+ var foundBookmarks = [];
7082
+ for (var j = 0; j < spans.length; ++j) {
7083
+ var sp = spans[j], m = sp.marker;
7084
+ if (m.type == "bookmark" && sp.from == pos && m.widgetNode) {
7085
+ foundBookmarks.push(m);
7086
+ } else if (sp.from <= pos && (sp.to == null || sp.to > pos || m.collapsed && sp.to == pos && sp.from == pos)) {
7087
+ if (sp.to != null && sp.to != pos && nextChange > sp.to) {
7088
+ nextChange = sp.to;
7089
+ spanEndStyle = "";
7090
+ }
7091
+ if (m.className) spanStyle += " " + m.className;
7092
+ if (m.css) css = m.css;
7093
+ if (m.startStyle && sp.from == pos) spanStartStyle += " " + m.startStyle;
7094
+ if (m.endStyle && sp.to == nextChange) spanEndStyle += " " + m.endStyle;
7095
+ if (m.title && !title) title = m.title;
7096
+ if (m.collapsed && (!collapsed || compareCollapsedMarkers(collapsed.marker, m) < 0))
7097
+ collapsed = sp;
7098
+ } else if (sp.from > pos && nextChange > sp.from) {
7099
+ nextChange = sp.from;
7100
+ }
7101
+ }
7102
+ if (collapsed && (collapsed.from || 0) == pos) {
7103
+ buildCollapsedSpan(builder, (collapsed.to == null ? len + 1 : collapsed.to) - pos,
7104
+ collapsed.marker, collapsed.from == null);
7105
+ if (collapsed.to == null) return;
7106
+ if (collapsed.to == pos) collapsed = false;
7107
+ }
7108
+ if (!collapsed && foundBookmarks.length) for (var j = 0; j < foundBookmarks.length; ++j)
7109
+ buildCollapsedSpan(builder, 0, foundBookmarks[j]);
7110
+ }
7111
+ if (pos >= len) break;
7112
+
7113
+ var upto = Math.min(len, nextChange);
7114
+ while (true) {
7115
+ if (text) {
7116
+ var end = pos + text.length;
7117
+ if (!collapsed) {
7118
+ var tokenText = end > upto ? text.slice(0, upto - pos) : text;
7119
+ builder.addToken(builder, tokenText, style ? style + spanStyle : spanStyle,
7120
+ spanStartStyle, pos + tokenText.length == nextChange ? spanEndStyle : "", title, css);
7121
+ }
7122
+ if (end >= upto) {text = text.slice(upto - pos); pos = upto; break;}
7123
+ pos = end;
7124
+ spanStartStyle = "";
7125
+ }
7126
+ text = allText.slice(at, at = styles[i++]);
7127
+ style = interpretTokenStyle(styles[i++], builder.cm.options);
7128
+ }
7129
+ }
7130
+ }
7131
+
7132
+ // DOCUMENT DATA STRUCTURE
7133
+
7134
+ // By default, updates that start and end at the beginning of a line
7135
+ // are treated specially, in order to make the association of line
7136
+ // widgets and marker elements with the text behave more intuitive.
7137
+ function isWholeLineUpdate(doc, change) {
7138
+ return change.from.ch == 0 && change.to.ch == 0 && lst(change.text) == "" &&
7139
+ (!doc.cm || doc.cm.options.wholeLineUpdateBefore);
7140
+ }
7141
+
7142
+ // Perform a change on the document data structure.
7143
+ function updateDoc(doc, change, markedSpans, estimateHeight) {
7144
+ function spansFor(n) {return markedSpans ? markedSpans[n] : null;}
7145
+ function update(line, text, spans) {
7146
+ updateLine(line, text, spans, estimateHeight);
7147
+ signalLater(line, "change", line, change);
7148
+ }
7149
+ function linesFor(start, end) {
7150
+ for (var i = start, result = []; i < end; ++i)
7151
+ result.push(new Line(text[i], spansFor(i), estimateHeight));
7152
+ return result;
7153
+ }
7154
+
7155
+ var from = change.from, to = change.to, text = change.text;
7156
+ var firstLine = getLine(doc, from.line), lastLine = getLine(doc, to.line);
7157
+ var lastText = lst(text), lastSpans = spansFor(text.length - 1), nlines = to.line - from.line;
7158
+
7159
+ // Adjust the line structure
7160
+ if (change.full) {
7161
+ doc.insert(0, linesFor(0, text.length));
7162
+ doc.remove(text.length, doc.size - text.length);
7163
+ } else if (isWholeLineUpdate(doc, change)) {
7164
+ // This is a whole-line replace. Treated specially to make
7165
+ // sure line objects move the way they are supposed to.
7166
+ var added = linesFor(0, text.length - 1);
7167
+ update(lastLine, lastLine.text, lastSpans);
7168
+ if (nlines) doc.remove(from.line, nlines);
7169
+ if (added.length) doc.insert(from.line, added);
7170
+ } else if (firstLine == lastLine) {
7171
+ if (text.length == 1) {
7172
+ update(firstLine, firstLine.text.slice(0, from.ch) + lastText + firstLine.text.slice(to.ch), lastSpans);
7173
+ } else {
7174
+ var added = linesFor(1, text.length - 1);
7175
+ added.push(new Line(lastText + firstLine.text.slice(to.ch), lastSpans, estimateHeight));
7176
+ update(firstLine, firstLine.text.slice(0, from.ch) + text[0], spansFor(0));
7177
+ doc.insert(from.line + 1, added);
7178
+ }
7179
+ } else if (text.length == 1) {
7180
+ update(firstLine, firstLine.text.slice(0, from.ch) + text[0] + lastLine.text.slice(to.ch), spansFor(0));
7181
+ doc.remove(from.line + 1, nlines);
7182
+ } else {
7183
+ update(firstLine, firstLine.text.slice(0, from.ch) + text[0], spansFor(0));
7184
+ update(lastLine, lastText + lastLine.text.slice(to.ch), lastSpans);
7185
+ var added = linesFor(1, text.length - 1);
7186
+ if (nlines > 1) doc.remove(from.line + 1, nlines - 1);
7187
+ doc.insert(from.line + 1, added);
7188
+ }
7189
+
7190
+ signalLater(doc, "change", doc, change);
7191
+ }
7192
+
7193
+ // The document is represented as a BTree consisting of leaves, with
7194
+ // chunk of lines in them, and branches, with up to ten leaves or
7195
+ // other branch nodes below them. The top node is always a branch
7196
+ // node, and is the document object itself (meaning it has
7197
+ // additional methods and properties).
7198
+ //
7199
+ // All nodes have parent links. The tree is used both to go from
7200
+ // line numbers to line objects, and to go from objects to numbers.
7201
+ // It also indexes by height, and is used to convert between height
7202
+ // and line object, and to find the total height of the document.
7203
+ //
7204
+ // See also http://marijnhaverbeke.nl/blog/codemirror-line-tree.html
7205
+
7206
+ function LeafChunk(lines) {
7207
+ this.lines = lines;
7208
+ this.parent = null;
7209
+ for (var i = 0, height = 0; i < lines.length; ++i) {
7210
+ lines[i].parent = this;
7211
+ height += lines[i].height;
7212
+ }
7213
+ this.height = height;
7214
+ }
7215
+
7216
+ LeafChunk.prototype = {
7217
+ chunkSize: function() { return this.lines.length; },
7218
+ // Remove the n lines at offset 'at'.
7219
+ removeInner: function(at, n) {
7220
+ for (var i = at, e = at + n; i < e; ++i) {
7221
+ var line = this.lines[i];
7222
+ this.height -= line.height;
7223
+ cleanUpLine(line);
7224
+ signalLater(line, "delete");
7225
+ }
7226
+ this.lines.splice(at, n);
7227
+ },
7228
+ // Helper used to collapse a small branch into a single leaf.
7229
+ collapse: function(lines) {
7230
+ lines.push.apply(lines, this.lines);
7231
+ },
7232
+ // Insert the given array of lines at offset 'at', count them as
7233
+ // having the given height.
7234
+ insertInner: function(at, lines, height) {
7235
+ this.height += height;
7236
+ this.lines = this.lines.slice(0, at).concat(lines).concat(this.lines.slice(at));
7237
+ for (var i = 0; i < lines.length; ++i) lines[i].parent = this;
7238
+ },
7239
+ // Used to iterate over a part of the tree.
7240
+ iterN: function(at, n, op) {
7241
+ for (var e = at + n; at < e; ++at)
7242
+ if (op(this.lines[at])) return true;
7243
+ }
7244
+ };
7245
+
7246
+ function BranchChunk(children) {
7247
+ this.children = children;
7248
+ var size = 0, height = 0;
7249
+ for (var i = 0; i < children.length; ++i) {
7250
+ var ch = children[i];
7251
+ size += ch.chunkSize(); height += ch.height;
7252
+ ch.parent = this;
7253
+ }
7254
+ this.size = size;
7255
+ this.height = height;
7256
+ this.parent = null;
7257
+ }
7258
+
7259
+ BranchChunk.prototype = {
7260
+ chunkSize: function() { return this.size; },
7261
+ removeInner: function(at, n) {
7262
+ this.size -= n;
7263
+ for (var i = 0; i < this.children.length; ++i) {
7264
+ var child = this.children[i], sz = child.chunkSize();
7265
+ if (at < sz) {
7266
+ var rm = Math.min(n, sz - at), oldHeight = child.height;
7267
+ child.removeInner(at, rm);
7268
+ this.height -= oldHeight - child.height;
7269
+ if (sz == rm) { this.children.splice(i--, 1); child.parent = null; }
7270
+ if ((n -= rm) == 0) break;
7271
+ at = 0;
7272
+ } else at -= sz;
7273
+ }
7274
+ // If the result is smaller than 25 lines, ensure that it is a
7275
+ // single leaf node.
7276
+ if (this.size - n < 25 &&
7277
+ (this.children.length > 1 || !(this.children[0] instanceof LeafChunk))) {
7278
+ var lines = [];
7279
+ this.collapse(lines);
7280
+ this.children = [new LeafChunk(lines)];
7281
+ this.children[0].parent = this;
7282
+ }
7283
+ },
7284
+ collapse: function(lines) {
7285
+ for (var i = 0; i < this.children.length; ++i) this.children[i].collapse(lines);
7286
+ },
7287
+ insertInner: function(at, lines, height) {
7288
+ this.size += lines.length;
7289
+ this.height += height;
7290
+ for (var i = 0; i < this.children.length; ++i) {
7291
+ var child = this.children[i], sz = child.chunkSize();
7292
+ if (at <= sz) {
7293
+ child.insertInner(at, lines, height);
7294
+ if (child.lines && child.lines.length > 50) {
7295
+ while (child.lines.length > 50) {
7296
+ var spilled = child.lines.splice(child.lines.length - 25, 25);
7297
+ var newleaf = new LeafChunk(spilled);
7298
+ child.height -= newleaf.height;
7299
+ this.children.splice(i + 1, 0, newleaf);
7300
+ newleaf.parent = this;
7301
+ }
7302
+ this.maybeSpill();
7303
+ }
7304
+ break;
7305
+ }
7306
+ at -= sz;
7307
+ }
7308
+ },
7309
+ // When a node has grown, check whether it should be split.
7310
+ maybeSpill: function() {
7311
+ if (this.children.length <= 10) return;
7312
+ var me = this;
7313
+ do {
7314
+ var spilled = me.children.splice(me.children.length - 5, 5);
7315
+ var sibling = new BranchChunk(spilled);
7316
+ if (!me.parent) { // Become the parent node
7317
+ var copy = new BranchChunk(me.children);
7318
+ copy.parent = me;
7319
+ me.children = [copy, sibling];
7320
+ me = copy;
7321
+ } else {
7322
+ me.size -= sibling.size;
7323
+ me.height -= sibling.height;
7324
+ var myIndex = indexOf(me.parent.children, me);
7325
+ me.parent.children.splice(myIndex + 1, 0, sibling);
7326
+ }
7327
+ sibling.parent = me.parent;
7328
+ } while (me.children.length > 10);
7329
+ me.parent.maybeSpill();
7330
+ },
7331
+ iterN: function(at, n, op) {
7332
+ for (var i = 0; i < this.children.length; ++i) {
7333
+ var child = this.children[i], sz = child.chunkSize();
7334
+ if (at < sz) {
7335
+ var used = Math.min(n, sz - at);
7336
+ if (child.iterN(at, used, op)) return true;
7337
+ if ((n -= used) == 0) break;
7338
+ at = 0;
7339
+ } else at -= sz;
7340
+ }
7341
+ }
7342
+ };
7343
+
7344
+ var nextDocId = 0;
7345
+ var Doc = CodeMirror.Doc = function(text, mode, firstLine, lineSep) {
7346
+ if (!(this instanceof Doc)) return new Doc(text, mode, firstLine, lineSep);
7347
+ if (firstLine == null) firstLine = 0;
7348
+
7349
+ BranchChunk.call(this, [new LeafChunk([new Line("", null)])]);
7350
+ this.first = firstLine;
7351
+ this.scrollTop = this.scrollLeft = 0;
7352
+ this.cantEdit = false;
7353
+ this.cleanGeneration = 1;
7354
+ this.frontier = firstLine;
7355
+ var start = Pos(firstLine, 0);
7356
+ this.sel = simpleSelection(start);
7357
+ this.history = new History(null);
7358
+ this.id = ++nextDocId;
7359
+ this.modeOption = mode;
7360
+ this.lineSep = lineSep;
7361
+
7362
+ if (typeof text == "string") text = this.splitLines(text);
7363
+ updateDoc(this, {from: start, to: start, text: text});
7364
+ setSelection(this, simpleSelection(start), sel_dontScroll);
7365
+ };
7366
+
7367
+ Doc.prototype = createObj(BranchChunk.prototype, {
7368
+ constructor: Doc,
7369
+ // Iterate over the document. Supports two forms -- with only one
7370
+ // argument, it calls that for each line in the document. With
7371
+ // three, it iterates over the range given by the first two (with
7372
+ // the second being non-inclusive).
7373
+ iter: function(from, to, op) {
7374
+ if (op) this.iterN(from - this.first, to - from, op);
7375
+ else this.iterN(this.first, this.first + this.size, from);
7376
+ },
7377
+
7378
+ // Non-public interface for adding and removing lines.
7379
+ insert: function(at, lines) {
7380
+ var height = 0;
7381
+ for (var i = 0; i < lines.length; ++i) height += lines[i].height;
7382
+ this.insertInner(at - this.first, lines, height);
7383
+ },
7384
+ remove: function(at, n) { this.removeInner(at - this.first, n); },
7385
+
7386
+ // From here, the methods are part of the public interface. Most
7387
+ // are also available from CodeMirror (editor) instances.
7388
+
7389
+ getValue: function(lineSep) {
7390
+ var lines = getLines(this, this.first, this.first + this.size);
7391
+ if (lineSep === false) return lines;
7392
+ return lines.join(lineSep || this.lineSeparator());
7393
+ },
7394
+ setValue: docMethodOp(function(code) {
7395
+ var top = Pos(this.first, 0), last = this.first + this.size - 1;
7396
+ makeChange(this, {from: top, to: Pos(last, getLine(this, last).text.length),
7397
+ text: this.splitLines(code), origin: "setValue", full: true}, true);
7398
+ setSelection(this, simpleSelection(top));
7399
+ }),
7400
+ replaceRange: function(code, from, to, origin) {
7401
+ from = clipPos(this, from);
7402
+ to = to ? clipPos(this, to) : from;
7403
+ replaceRange(this, code, from, to, origin);
7404
+ },
7405
+ getRange: function(from, to, lineSep) {
7406
+ var lines = getBetween(this, clipPos(this, from), clipPos(this, to));
7407
+ if (lineSep === false) return lines;
7408
+ return lines.join(lineSep || this.lineSeparator());
7409
+ },
7410
+
7411
+ getLine: function(line) {var l = this.getLineHandle(line); return l && l.text;},
7412
+
7413
+ getLineHandle: function(line) {if (isLine(this, line)) return getLine(this, line);},
7414
+ getLineNumber: function(line) {return lineNo(line);},
7415
+
7416
+ getLineHandleVisualStart: function(line) {
7417
+ if (typeof line == "number") line = getLine(this, line);
7418
+ return visualLine(line);
7419
+ },
7420
+
7421
+ lineCount: function() {return this.size;},
7422
+ firstLine: function() {return this.first;},
7423
+ lastLine: function() {return this.first + this.size - 1;},
7424
+
7425
+ clipPos: function(pos) {return clipPos(this, pos);},
7426
+
7427
+ getCursor: function(start) {
7428
+ var range = this.sel.primary(), pos;
7429
+ if (start == null || start == "head") pos = range.head;
7430
+ else if (start == "anchor") pos = range.anchor;
7431
+ else if (start == "end" || start == "to" || start === false) pos = range.to();
7432
+ else pos = range.from();
7433
+ return pos;
7434
+ },
7435
+ listSelections: function() { return this.sel.ranges; },
7436
+ somethingSelected: function() {return this.sel.somethingSelected();},
7437
+
7438
+ setCursor: docMethodOp(function(line, ch, options) {
7439
+ setSimpleSelection(this, clipPos(this, typeof line == "number" ? Pos(line, ch || 0) : line), null, options);
7440
+ }),
7441
+ setSelection: docMethodOp(function(anchor, head, options) {
7442
+ setSimpleSelection(this, clipPos(this, anchor), clipPos(this, head || anchor), options);
7443
+ }),
7444
+ extendSelection: docMethodOp(function(head, other, options) {
7445
+ extendSelection(this, clipPos(this, head), other && clipPos(this, other), options);
7446
+ }),
7447
+ extendSelections: docMethodOp(function(heads, options) {
7448
+ extendSelections(this, clipPosArray(this, heads, options));
7449
+ }),
7450
+ extendSelectionsBy: docMethodOp(function(f, options) {
7451
+ extendSelections(this, map(this.sel.ranges, f), options);
7452
+ }),
7453
+ setSelections: docMethodOp(function(ranges, primary, options) {
7454
+ if (!ranges.length) return;
7455
+ for (var i = 0, out = []; i < ranges.length; i++)
7456
+ out[i] = new Range(clipPos(this, ranges[i].anchor),
7457
+ clipPos(this, ranges[i].head));
7458
+ if (primary == null) primary = Math.min(ranges.length - 1, this.sel.primIndex);
7459
+ setSelection(this, normalizeSelection(out, primary), options);
7460
+ }),
7461
+ addSelection: docMethodOp(function(anchor, head, options) {
7462
+ var ranges = this.sel.ranges.slice(0);
7463
+ ranges.push(new Range(clipPos(this, anchor), clipPos(this, head || anchor)));
7464
+ setSelection(this, normalizeSelection(ranges, ranges.length - 1), options);
7465
+ }),
7466
+
7467
+ getSelection: function(lineSep) {
7468
+ var ranges = this.sel.ranges, lines;
7469
+ for (var i = 0; i < ranges.length; i++) {
7470
+ var sel = getBetween(this, ranges[i].from(), ranges[i].to());
7471
+ lines = lines ? lines.concat(sel) : sel;
7472
+ }
7473
+ if (lineSep === false) return lines;
7474
+ else return lines.join(lineSep || this.lineSeparator());
7475
+ },
7476
+ getSelections: function(lineSep) {
7477
+ var parts = [], ranges = this.sel.ranges;
7478
+ for (var i = 0; i < ranges.length; i++) {
7479
+ var sel = getBetween(this, ranges[i].from(), ranges[i].to());
7480
+ if (lineSep !== false) sel = sel.join(lineSep || this.lineSeparator());
7481
+ parts[i] = sel;
7482
+ }
7483
+ return parts;
7484
+ },
7485
+ replaceSelection: function(code, collapse, origin) {
7486
+ var dup = [];
7487
+ for (var i = 0; i < this.sel.ranges.length; i++)
7488
+ dup[i] = code;
7489
+ this.replaceSelections(dup, collapse, origin || "+input");
7490
+ },
7491
+ replaceSelections: docMethodOp(function(code, collapse, origin) {
7492
+ var changes = [], sel = this.sel;
7493
+ for (var i = 0; i < sel.ranges.length; i++) {
7494
+ var range = sel.ranges[i];
7495
+ changes[i] = {from: range.from(), to: range.to(), text: this.splitLines(code[i]), origin: origin};
7496
+ }
7497
+ var newSel = collapse && collapse != "end" && computeReplacedSel(this, changes, collapse);
7498
+ for (var i = changes.length - 1; i >= 0; i--)
7499
+ makeChange(this, changes[i]);
7500
+ if (newSel) setSelectionReplaceHistory(this, newSel);
7501
+ else if (this.cm) ensureCursorVisible(this.cm);
7502
+ }),
7503
+ undo: docMethodOp(function() {makeChangeFromHistory(this, "undo");}),
7504
+ redo: docMethodOp(function() {makeChangeFromHistory(this, "redo");}),
7505
+ undoSelection: docMethodOp(function() {makeChangeFromHistory(this, "undo", true);}),
7506
+ redoSelection: docMethodOp(function() {makeChangeFromHistory(this, "redo", true);}),
7507
+
7508
+ setExtending: function(val) {this.extend = val;},
7509
+ getExtending: function() {return this.extend;},
7510
+
7511
+ historySize: function() {
7512
+ var hist = this.history, done = 0, undone = 0;
7513
+ for (var i = 0; i < hist.done.length; i++) if (!hist.done[i].ranges) ++done;
7514
+ for (var i = 0; i < hist.undone.length; i++) if (!hist.undone[i].ranges) ++undone;
7515
+ return {undo: done, redo: undone};
7516
+ },
7517
+ clearHistory: function() {this.history = new History(this.history.maxGeneration);},
7518
+
7519
+ markClean: function() {
7520
+ this.cleanGeneration = this.changeGeneration(true);
7521
+ },
7522
+ changeGeneration: function(forceSplit) {
7523
+ if (forceSplit)
7524
+ this.history.lastOp = this.history.lastSelOp = this.history.lastOrigin = null;
7525
+ return this.history.generation;
7526
+ },
7527
+ isClean: function (gen) {
7528
+ return this.history.generation == (gen || this.cleanGeneration);
7529
+ },
7530
+
7531
+ getHistory: function() {
7532
+ return {done: copyHistoryArray(this.history.done),
7533
+ undone: copyHistoryArray(this.history.undone)};
7534
+ },
7535
+ setHistory: function(histData) {
7536
+ var hist = this.history = new History(this.history.maxGeneration);
7537
+ hist.done = copyHistoryArray(histData.done.slice(0), null, true);
7538
+ hist.undone = copyHistoryArray(histData.undone.slice(0), null, true);
7539
+ },
7540
+
7541
+ addLineClass: docMethodOp(function(handle, where, cls) {
7542
+ return changeLine(this, handle, where == "gutter" ? "gutter" : "class", function(line) {
7543
+ var prop = where == "text" ? "textClass"
7544
+ : where == "background" ? "bgClass"
7545
+ : where == "gutter" ? "gutterClass" : "wrapClass";
7546
+ if (!line[prop]) line[prop] = cls;
7547
+ else if (classTest(cls).test(line[prop])) return false;
7548
+ else line[prop] += " " + cls;
7549
+ return true;
7550
+ });
7551
+ }),
7552
+ removeLineClass: docMethodOp(function(handle, where, cls) {
7553
+ return changeLine(this, handle, where == "gutter" ? "gutter" : "class", function(line) {
7554
+ var prop = where == "text" ? "textClass"
7555
+ : where == "background" ? "bgClass"
7556
+ : where == "gutter" ? "gutterClass" : "wrapClass";
7557
+ var cur = line[prop];
7558
+ if (!cur) return false;
7559
+ else if (cls == null) line[prop] = null;
7560
+ else {
7561
+ var found = cur.match(classTest(cls));
7562
+ if (!found) return false;
7563
+ var end = found.index + found[0].length;
7564
+ line[prop] = cur.slice(0, found.index) + (!found.index || end == cur.length ? "" : " ") + cur.slice(end) || null;
7565
+ }
7566
+ return true;
7567
+ });
7568
+ }),
7569
+
7570
+ addLineWidget: docMethodOp(function(handle, node, options) {
7571
+ return addLineWidget(this, handle, node, options);
7572
+ }),
7573
+ removeLineWidget: function(widget) { widget.clear(); },
7574
+
7575
+ markText: function(from, to, options) {
7576
+ return markText(this, clipPos(this, from), clipPos(this, to), options, options && options.type || "range");
7577
+ },
7578
+ setBookmark: function(pos, options) {
7579
+ var realOpts = {replacedWith: options && (options.nodeType == null ? options.widget : options),
7580
+ insertLeft: options && options.insertLeft,
7581
+ clearWhenEmpty: false, shared: options && options.shared,
7582
+ handleMouseEvents: options && options.handleMouseEvents};
7583
+ pos = clipPos(this, pos);
7584
+ return markText(this, pos, pos, realOpts, "bookmark");
7585
+ },
7586
+ findMarksAt: function(pos) {
7587
+ pos = clipPos(this, pos);
7588
+ var markers = [], spans = getLine(this, pos.line).markedSpans;
7589
+ if (spans) for (var i = 0; i < spans.length; ++i) {
7590
+ var span = spans[i];
7591
+ if ((span.from == null || span.from <= pos.ch) &&
7592
+ (span.to == null || span.to >= pos.ch))
7593
+ markers.push(span.marker.parent || span.marker);
7594
+ }
7595
+ return markers;
7596
+ },
7597
+ findMarks: function(from, to, filter) {
7598
+ from = clipPos(this, from); to = clipPos(this, to);
7599
+ var found = [], lineNo = from.line;
7600
+ this.iter(from.line, to.line + 1, function(line) {
7601
+ var spans = line.markedSpans;
7602
+ if (spans) for (var i = 0; i < spans.length; i++) {
7603
+ var span = spans[i];
7604
+ if (!(lineNo == from.line && from.ch > span.to ||
7605
+ span.from == null && lineNo != from.line||
7606
+ lineNo == to.line && span.from > to.ch) &&
7607
+ (!filter || filter(span.marker)))
7608
+ found.push(span.marker.parent || span.marker);
7609
+ }
7610
+ ++lineNo;
7611
+ });
7612
+ return found;
7613
+ },
7614
+ getAllMarks: function() {
7615
+ var markers = [];
7616
+ this.iter(function(line) {
7617
+ var sps = line.markedSpans;
7618
+ if (sps) for (var i = 0; i < sps.length; ++i)
7619
+ if (sps[i].from != null) markers.push(sps[i].marker);
7620
+ });
7621
+ return markers;
7622
+ },
7623
+
7624
+ posFromIndex: function(off) {
7625
+ var ch, lineNo = this.first;
7626
+ this.iter(function(line) {
7627
+ var sz = line.text.length + 1;
7628
+ if (sz > off) { ch = off; return true; }
7629
+ off -= sz;
7630
+ ++lineNo;
7631
+ });
7632
+ return clipPos(this, Pos(lineNo, ch));
7633
+ },
7634
+ indexFromPos: function (coords) {
7635
+ coords = clipPos(this, coords);
7636
+ var index = coords.ch;
7637
+ if (coords.line < this.first || coords.ch < 0) return 0;
7638
+ this.iter(this.first, coords.line, function (line) {
7639
+ index += line.text.length + 1;
7640
+ });
7641
+ return index;
7642
+ },
7643
+
7644
+ copy: function(copyHistory) {
7645
+ var doc = new Doc(getLines(this, this.first, this.first + this.size),
7646
+ this.modeOption, this.first, this.lineSep);
7647
+ doc.scrollTop = this.scrollTop; doc.scrollLeft = this.scrollLeft;
7648
+ doc.sel = this.sel;
7649
+ doc.extend = false;
7650
+ if (copyHistory) {
7651
+ doc.history.undoDepth = this.history.undoDepth;
7652
+ doc.setHistory(this.getHistory());
7653
+ }
7654
+ return doc;
7655
+ },
7656
+
7657
+ linkedDoc: function(options) {
7658
+ if (!options) options = {};
7659
+ var from = this.first, to = this.first + this.size;
7660
+ if (options.from != null && options.from > from) from = options.from;
7661
+ if (options.to != null && options.to < to) to = options.to;
7662
+ var copy = new Doc(getLines(this, from, to), options.mode || this.modeOption, from, this.lineSep);
7663
+ if (options.sharedHist) copy.history = this.history;
7664
+ (this.linked || (this.linked = [])).push({doc: copy, sharedHist: options.sharedHist});
7665
+ copy.linked = [{doc: this, isParent: true, sharedHist: options.sharedHist}];
7666
+ copySharedMarkers(copy, findSharedMarkers(this));
7667
+ return copy;
7668
+ },
7669
+ unlinkDoc: function(other) {
7670
+ if (other instanceof CodeMirror) other = other.doc;
7671
+ if (this.linked) for (var i = 0; i < this.linked.length; ++i) {
7672
+ var link = this.linked[i];
7673
+ if (link.doc != other) continue;
7674
+ this.linked.splice(i, 1);
7675
+ other.unlinkDoc(this);
7676
+ detachSharedMarkers(findSharedMarkers(this));
7677
+ break;
7678
+ }
7679
+ // If the histories were shared, split them again
7680
+ if (other.history == this.history) {
7681
+ var splitIds = [other.id];
7682
+ linkedDocs(other, function(doc) {splitIds.push(doc.id);}, true);
7683
+ other.history = new History(null);
7684
+ other.history.done = copyHistoryArray(this.history.done, splitIds);
7685
+ other.history.undone = copyHistoryArray(this.history.undone, splitIds);
7686
+ }
7687
+ },
7688
+ iterLinkedDocs: function(f) {linkedDocs(this, f);},
7689
+
7690
+ getMode: function() {return this.mode;},
7691
+ getEditor: function() {return this.cm;},
7692
+
7693
+ splitLines: function(str) {
7694
+ if (this.lineSep) return str.split(this.lineSep);
7695
+ return splitLinesAuto(str);
7696
+ },
7697
+ lineSeparator: function() { return this.lineSep || "\n"; }
7698
+ });
7699
+
7700
+ // Public alias.
7701
+ Doc.prototype.eachLine = Doc.prototype.iter;
7702
+
7703
+ // Set up methods on CodeMirror's prototype to redirect to the editor's document.
7704
+ var dontDelegate = "iter insert remove copy getEditor constructor".split(" ");
7705
+ for (var prop in Doc.prototype) if (Doc.prototype.hasOwnProperty(prop) && indexOf(dontDelegate, prop) < 0)
7706
+ CodeMirror.prototype[prop] = (function(method) {
7707
+ return function() {return method.apply(this.doc, arguments);};
7708
+ })(Doc.prototype[prop]);
7709
+
7710
+ eventMixin(Doc);
7711
+
7712
+ // Call f for all linked documents.
7713
+ function linkedDocs(doc, f, sharedHistOnly) {
7714
+ function propagate(doc, skip, sharedHist) {
7715
+ if (doc.linked) for (var i = 0; i < doc.linked.length; ++i) {
7716
+ var rel = doc.linked[i];
7717
+ if (rel.doc == skip) continue;
7718
+ var shared = sharedHist && rel.sharedHist;
7719
+ if (sharedHistOnly && !shared) continue;
7720
+ f(rel.doc, shared);
7721
+ propagate(rel.doc, doc, shared);
7722
+ }
7723
+ }
7724
+ propagate(doc, null, true);
7725
+ }
7726
+
7727
+ // Attach a document to an editor.
7728
+ function attachDoc(cm, doc) {
7729
+ if (doc.cm) throw new Error("This document is already in use.");
7730
+ cm.doc = doc;
7731
+ doc.cm = cm;
7732
+ estimateLineHeights(cm);
7733
+ loadMode(cm);
7734
+ if (!cm.options.lineWrapping) findMaxLine(cm);
7735
+ cm.options.mode = doc.modeOption;
7736
+ regChange(cm);
7737
+ }
7738
+
7739
+ // LINE UTILITIES
7740
+
7741
+ // Find the line object corresponding to the given line number.
7742
+ function getLine(doc, n) {
7743
+ n -= doc.first;
7744
+ if (n < 0 || n >= doc.size) throw new Error("There is no line " + (n + doc.first) + " in the document.");
7745
+ for (var chunk = doc; !chunk.lines;) {
7746
+ for (var i = 0;; ++i) {
7747
+ var child = chunk.children[i], sz = child.chunkSize();
7748
+ if (n < sz) { chunk = child; break; }
7749
+ n -= sz;
7750
+ }
7751
+ }
7752
+ return chunk.lines[n];
7753
+ }
7754
+
7755
+ // Get the part of a document between two positions, as an array of
7756
+ // strings.
7757
+ function getBetween(doc, start, end) {
7758
+ var out = [], n = start.line;
7759
+ doc.iter(start.line, end.line + 1, function(line) {
7760
+ var text = line.text;
7761
+ if (n == end.line) text = text.slice(0, end.ch);
7762
+ if (n == start.line) text = text.slice(start.ch);
7763
+ out.push(text);
7764
+ ++n;
7765
+ });
7766
+ return out;
7767
+ }
7768
+ // Get the lines between from and to, as array of strings.
7769
+ function getLines(doc, from, to) {
7770
+ var out = [];
7771
+ doc.iter(from, to, function(line) { out.push(line.text); });
7772
+ return out;
7773
+ }
7774
+
7775
+ // Update the height of a line, propagating the height change
7776
+ // upwards to parent nodes.
7777
+ function updateLineHeight(line, height) {
7778
+ var diff = height - line.height;
7779
+ if (diff) for (var n = line; n; n = n.parent) n.height += diff;
7780
+ }
7781
+
7782
+ // Given a line object, find its line number by walking up through
7783
+ // its parent links.
7784
+ function lineNo(line) {
7785
+ if (line.parent == null) return null;
7786
+ var cur = line.parent, no = indexOf(cur.lines, line);
7787
+ for (var chunk = cur.parent; chunk; cur = chunk, chunk = chunk.parent) {
7788
+ for (var i = 0;; ++i) {
7789
+ if (chunk.children[i] == cur) break;
7790
+ no += chunk.children[i].chunkSize();
7791
+ }
7792
+ }
7793
+ return no + cur.first;
7794
+ }
7795
+
7796
+ // Find the line at the given vertical position, using the height
7797
+ // information in the document tree.
7798
+ function lineAtHeight(chunk, h) {
7799
+ var n = chunk.first;
7800
+ outer: do {
7801
+ for (var i = 0; i < chunk.children.length; ++i) {
7802
+ var child = chunk.children[i], ch = child.height;
7803
+ if (h < ch) { chunk = child; continue outer; }
7804
+ h -= ch;
7805
+ n += child.chunkSize();
7806
+ }
7807
+ return n;
7808
+ } while (!chunk.lines);
7809
+ for (var i = 0; i < chunk.lines.length; ++i) {
7810
+ var line = chunk.lines[i], lh = line.height;
7811
+ if (h < lh) break;
7812
+ h -= lh;
7813
+ }
7814
+ return n + i;
7815
+ }
7816
+
7817
+
7818
+ // Find the height above the given line.
7819
+ function heightAtLine(lineObj) {
7820
+ lineObj = visualLine(lineObj);
7821
+
7822
+ var h = 0, chunk = lineObj.parent;
7823
+ for (var i = 0; i < chunk.lines.length; ++i) {
7824
+ var line = chunk.lines[i];
7825
+ if (line == lineObj) break;
7826
+ else h += line.height;
7827
+ }
7828
+ for (var p = chunk.parent; p; chunk = p, p = chunk.parent) {
7829
+ for (var i = 0; i < p.children.length; ++i) {
7830
+ var cur = p.children[i];
7831
+ if (cur == chunk) break;
7832
+ else h += cur.height;
7833
+ }
7834
+ }
7835
+ return h;
7836
+ }
7837
+
7838
+ // Get the bidi ordering for the given line (and cache it). Returns
7839
+ // false for lines that are fully left-to-right, and an array of
7840
+ // BidiSpan objects otherwise.
7841
+ function getOrder(line) {
7842
+ var order = line.order;
7843
+ if (order == null) order = line.order = bidiOrdering(line.text);
7844
+ return order;
7845
+ }
7846
+
7847
+ // HISTORY
7848
+
7849
+ function History(startGen) {
7850
+ // Arrays of change events and selections. Doing something adds an
7851
+ // event to done and clears undo. Undoing moves events from done
7852
+ // to undone, redoing moves them in the other direction.
7853
+ this.done = []; this.undone = [];
7854
+ this.undoDepth = Infinity;
7855
+ // Used to track when changes can be merged into a single undo
7856
+ // event
7857
+ this.lastModTime = this.lastSelTime = 0;
7858
+ this.lastOp = this.lastSelOp = null;
7859
+ this.lastOrigin = this.lastSelOrigin = null;
7860
+ // Used by the isClean() method
7861
+ this.generation = this.maxGeneration = startGen || 1;
7862
+ }
7863
+
7864
+ // Create a history change event from an updateDoc-style change
7865
+ // object.
7866
+ function historyChangeFromChange(doc, change) {
7867
+ var histChange = {from: copyPos(change.from), to: changeEnd(change), text: getBetween(doc, change.from, change.to)};
7868
+ attachLocalSpans(doc, histChange, change.from.line, change.to.line + 1);
7869
+ linkedDocs(doc, function(doc) {attachLocalSpans(doc, histChange, change.from.line, change.to.line + 1);}, true);
7870
+ return histChange;
7871
+ }
7872
+
7873
+ // Pop all selection events off the end of a history array. Stop at
7874
+ // a change event.
7875
+ function clearSelectionEvents(array) {
7876
+ while (array.length) {
7877
+ var last = lst(array);
7878
+ if (last.ranges) array.pop();
7879
+ else break;
7880
+ }
7881
+ }
7882
+
7883
+ // Find the top change event in the history. Pop off selection
7884
+ // events that are in the way.
7885
+ function lastChangeEvent(hist, force) {
7886
+ if (force) {
7887
+ clearSelectionEvents(hist.done);
7888
+ return lst(hist.done);
7889
+ } else if (hist.done.length && !lst(hist.done).ranges) {
7890
+ return lst(hist.done);
7891
+ } else if (hist.done.length > 1 && !hist.done[hist.done.length - 2].ranges) {
7892
+ hist.done.pop();
7893
+ return lst(hist.done);
7894
+ }
7895
+ }
7896
+
7897
+ // Register a change in the history. Merges changes that are within
7898
+ // a single operation, ore are close together with an origin that
7899
+ // allows merging (starting with "+") into a single event.
7900
+ function addChangeToHistory(doc, change, selAfter, opId) {
7901
+ var hist = doc.history;
7902
+ hist.undone.length = 0;
7903
+ var time = +new Date, cur;
7904
+
7905
+ if ((hist.lastOp == opId ||
7906
+ hist.lastOrigin == change.origin && change.origin &&
7907
+ ((change.origin.charAt(0) == "+" && doc.cm && hist.lastModTime > time - doc.cm.options.historyEventDelay) ||
7908
+ change.origin.charAt(0) == "*")) &&
7909
+ (cur = lastChangeEvent(hist, hist.lastOp == opId))) {
7910
+ // Merge this change into the last event
7911
+ var last = lst(cur.changes);
7912
+ if (cmp(change.from, change.to) == 0 && cmp(change.from, last.to) == 0) {
7913
+ // Optimized case for simple insertion -- don't want to add
7914
+ // new changesets for every character typed
7915
+ last.to = changeEnd(change);
7916
+ } else {
7917
+ // Add new sub-event
7918
+ cur.changes.push(historyChangeFromChange(doc, change));
7919
+ }
7920
+ } else {
7921
+ // Can not be merged, start a new event.
7922
+ var before = lst(hist.done);
7923
+ if (!before || !before.ranges)
7924
+ pushSelectionToHistory(doc.sel, hist.done);
7925
+ cur = {changes: [historyChangeFromChange(doc, change)],
7926
+ generation: hist.generation};
7927
+ hist.done.push(cur);
7928
+ while (hist.done.length > hist.undoDepth) {
7929
+ hist.done.shift();
7930
+ if (!hist.done[0].ranges) hist.done.shift();
7931
+ }
7932
+ }
7933
+ hist.done.push(selAfter);
7934
+ hist.generation = ++hist.maxGeneration;
7935
+ hist.lastModTime = hist.lastSelTime = time;
7936
+ hist.lastOp = hist.lastSelOp = opId;
7937
+ hist.lastOrigin = hist.lastSelOrigin = change.origin;
7938
+
7939
+ if (!last) signal(doc, "historyAdded");
7940
+ }
7941
+
7942
+ function selectionEventCanBeMerged(doc, origin, prev, sel) {
7943
+ var ch = origin.charAt(0);
7944
+ return ch == "*" ||
7945
+ ch == "+" &&
7946
+ prev.ranges.length == sel.ranges.length &&
7947
+ prev.somethingSelected() == sel.somethingSelected() &&
7948
+ new Date - doc.history.lastSelTime <= (doc.cm ? doc.cm.options.historyEventDelay : 500);
7949
+ }
7950
+
7951
+ // Called whenever the selection changes, sets the new selection as
7952
+ // the pending selection in the history, and pushes the old pending
7953
+ // selection into the 'done' array when it was significantly
7954
+ // different (in number of selected ranges, emptiness, or time).
7955
+ function addSelectionToHistory(doc, sel, opId, options) {
7956
+ var hist = doc.history, origin = options && options.origin;
7957
+
7958
+ // A new event is started when the previous origin does not match
7959
+ // the current, or the origins don't allow matching. Origins
7960
+ // starting with * are always merged, those starting with + are
7961
+ // merged when similar and close together in time.
7962
+ if (opId == hist.lastSelOp ||
7963
+ (origin && hist.lastSelOrigin == origin &&
7964
+ (hist.lastModTime == hist.lastSelTime && hist.lastOrigin == origin ||
7965
+ selectionEventCanBeMerged(doc, origin, lst(hist.done), sel))))
7966
+ hist.done[hist.done.length - 1] = sel;
7967
+ else
7968
+ pushSelectionToHistory(sel, hist.done);
7969
+
7970
+ hist.lastSelTime = +new Date;
7971
+ hist.lastSelOrigin = origin;
7972
+ hist.lastSelOp = opId;
7973
+ if (options && options.clearRedo !== false)
7974
+ clearSelectionEvents(hist.undone);
7975
+ }
7976
+
7977
+ function pushSelectionToHistory(sel, dest) {
7978
+ var top = lst(dest);
7979
+ if (!(top && top.ranges && top.equals(sel)))
7980
+ dest.push(sel);
7981
+ }
7982
+
7983
+ // Used to store marked span information in the history.
7984
+ function attachLocalSpans(doc, change, from, to) {
7985
+ var existing = change["spans_" + doc.id], n = 0;
7986
+ doc.iter(Math.max(doc.first, from), Math.min(doc.first + doc.size, to), function(line) {
7987
+ if (line.markedSpans)
7988
+ (existing || (existing = change["spans_" + doc.id] = {}))[n] = line.markedSpans;
7989
+ ++n;
7990
+ });
7991
+ }
7992
+
7993
+ // When un/re-doing restores text containing marked spans, those
7994
+ // that have been explicitly cleared should not be restored.
7995
+ function removeClearedSpans(spans) {
7996
+ if (!spans) return null;
7997
+ for (var i = 0, out; i < spans.length; ++i) {
7998
+ if (spans[i].marker.explicitlyCleared) { if (!out) out = spans.slice(0, i); }
7999
+ else if (out) out.push(spans[i]);
8000
+ }
8001
+ return !out ? spans : out.length ? out : null;
8002
+ }
8003
+
8004
+ // Retrieve and filter the old marked spans stored in a change event.
8005
+ function getOldSpans(doc, change) {
8006
+ var found = change["spans_" + doc.id];
8007
+ if (!found) return null;
8008
+ for (var i = 0, nw = []; i < change.text.length; ++i)
8009
+ nw.push(removeClearedSpans(found[i]));
8010
+ return nw;
8011
+ }
8012
+
8013
+ // Used both to provide a JSON-safe object in .getHistory, and, when
8014
+ // detaching a document, to split the history in two
8015
+ function copyHistoryArray(events, newGroup, instantiateSel) {
8016
+ for (var i = 0, copy = []; i < events.length; ++i) {
8017
+ var event = events[i];
8018
+ if (event.ranges) {
8019
+ copy.push(instantiateSel ? Selection.prototype.deepCopy.call(event) : event);
8020
+ continue;
8021
+ }
8022
+ var changes = event.changes, newChanges = [];
8023
+ copy.push({changes: newChanges});
8024
+ for (var j = 0; j < changes.length; ++j) {
8025
+ var change = changes[j], m;
8026
+ newChanges.push({from: change.from, to: change.to, text: change.text});
8027
+ if (newGroup) for (var prop in change) if (m = prop.match(/^spans_(\d+)$/)) {
8028
+ if (indexOf(newGroup, Number(m[1])) > -1) {
8029
+ lst(newChanges)[prop] = change[prop];
8030
+ delete change[prop];
8031
+ }
8032
+ }
8033
+ }
8034
+ }
8035
+ return copy;
8036
+ }
8037
+
8038
+ // Rebasing/resetting history to deal with externally-sourced changes
8039
+
8040
+ function rebaseHistSelSingle(pos, from, to, diff) {
8041
+ if (to < pos.line) {
8042
+ pos.line += diff;
8043
+ } else if (from < pos.line) {
8044
+ pos.line = from;
8045
+ pos.ch = 0;
8046
+ }
8047
+ }
8048
+
8049
+ // Tries to rebase an array of history events given a change in the
8050
+ // document. If the change touches the same lines as the event, the
8051
+ // event, and everything 'behind' it, is discarded. If the change is
8052
+ // before the event, the event's positions are updated. Uses a
8053
+ // copy-on-write scheme for the positions, to avoid having to
8054
+ // reallocate them all on every rebase, but also avoid problems with
8055
+ // shared position objects being unsafely updated.
8056
+ function rebaseHistArray(array, from, to, diff) {
8057
+ for (var i = 0; i < array.length; ++i) {
8058
+ var sub = array[i], ok = true;
8059
+ if (sub.ranges) {
8060
+ if (!sub.copied) { sub = array[i] = sub.deepCopy(); sub.copied = true; }
8061
+ for (var j = 0; j < sub.ranges.length; j++) {
8062
+ rebaseHistSelSingle(sub.ranges[j].anchor, from, to, diff);
8063
+ rebaseHistSelSingle(sub.ranges[j].head, from, to, diff);
8064
+ }
8065
+ continue;
8066
+ }
8067
+ for (var j = 0; j < sub.changes.length; ++j) {
8068
+ var cur = sub.changes[j];
8069
+ if (to < cur.from.line) {
8070
+ cur.from = Pos(cur.from.line + diff, cur.from.ch);
8071
+ cur.to = Pos(cur.to.line + diff, cur.to.ch);
8072
+ } else if (from <= cur.to.line) {
8073
+ ok = false;
8074
+ break;
8075
+ }
8076
+ }
8077
+ if (!ok) {
8078
+ array.splice(0, i + 1);
8079
+ i = 0;
8080
+ }
8081
+ }
8082
+ }
8083
+
8084
+ function rebaseHist(hist, change) {
8085
+ var from = change.from.line, to = change.to.line, diff = change.text.length - (to - from) - 1;
8086
+ rebaseHistArray(hist.done, from, to, diff);
8087
+ rebaseHistArray(hist.undone, from, to, diff);
8088
+ }
8089
+
8090
+ // EVENT UTILITIES
8091
+
8092
+ // Due to the fact that we still support jurassic IE versions, some
8093
+ // compatibility wrappers are needed.
8094
+
8095
+ var e_preventDefault = CodeMirror.e_preventDefault = function(e) {
8096
+ if (e.preventDefault) e.preventDefault();
8097
+ else e.returnValue = false;
8098
+ };
8099
+ var e_stopPropagation = CodeMirror.e_stopPropagation = function(e) {
8100
+ if (e.stopPropagation) e.stopPropagation();
8101
+ else e.cancelBubble = true;
8102
+ };
8103
+ function e_defaultPrevented(e) {
8104
+ return e.defaultPrevented != null ? e.defaultPrevented : e.returnValue == false;
8105
+ }
8106
+ var e_stop = CodeMirror.e_stop = function(e) {e_preventDefault(e); e_stopPropagation(e);};
8107
+
8108
+ function e_target(e) {return e.target || e.srcElement;}
8109
+ function e_button(e) {
8110
+ var b = e.which;
8111
+ if (b == null) {
8112
+ if (e.button & 1) b = 1;
8113
+ else if (e.button & 2) b = 3;
8114
+ else if (e.button & 4) b = 2;
8115
+ }
8116
+ if (mac && e.ctrlKey && b == 1) b = 3;
8117
+ return b;
8118
+ }
8119
+
8120
+ // EVENT HANDLING
8121
+
8122
+ // Lightweight event framework. on/off also work on DOM nodes,
8123
+ // registering native DOM handlers.
8124
+
8125
+ var on = CodeMirror.on = function(emitter, type, f) {
8126
+ if (emitter.addEventListener)
8127
+ emitter.addEventListener(type, f, false);
8128
+ else if (emitter.attachEvent)
8129
+ emitter.attachEvent("on" + type, f);
8130
+ else {
8131
+ var map = emitter._handlers || (emitter._handlers = {});
8132
+ var arr = map[type] || (map[type] = []);
8133
+ arr.push(f);
8134
+ }
8135
+ };
8136
+
8137
+ var noHandlers = []
8138
+ function getHandlers(emitter, type, copy) {
8139
+ var arr = emitter._handlers && emitter._handlers[type]
8140
+ if (copy) return arr && arr.length > 0 ? arr.slice() : noHandlers
8141
+ else return arr || noHandlers
8142
+ }
8143
+
8144
+ var off = CodeMirror.off = function(emitter, type, f) {
8145
+ if (emitter.removeEventListener)
8146
+ emitter.removeEventListener(type, f, false);
8147
+ else if (emitter.detachEvent)
8148
+ emitter.detachEvent("on" + type, f);
8149
+ else {
8150
+ var handlers = getHandlers(emitter, type, false)
8151
+ for (var i = 0; i < handlers.length; ++i)
8152
+ if (handlers[i] == f) { handlers.splice(i, 1); break; }
8153
+ }
8154
+ };
8155
+
8156
+ var signal = CodeMirror.signal = function(emitter, type /*, values...*/) {
8157
+ var handlers = getHandlers(emitter, type, true)
8158
+ if (!handlers.length) return;
8159
+ var args = Array.prototype.slice.call(arguments, 2);
8160
+ for (var i = 0; i < handlers.length; ++i) handlers[i].apply(null, args);
8161
+ };
8162
+
8163
+ var orphanDelayedCallbacks = null;
8164
+
8165
+ // Often, we want to signal events at a point where we are in the
8166
+ // middle of some work, but don't want the handler to start calling
8167
+ // other methods on the editor, which might be in an inconsistent
8168
+ // state or simply not expect any other events to happen.
8169
+ // signalLater looks whether there are any handlers, and schedules
8170
+ // them to be executed when the last operation ends, or, if no
8171
+ // operation is active, when a timeout fires.
8172
+ function signalLater(emitter, type /*, values...*/) {
8173
+ var arr = getHandlers(emitter, type, false)
8174
+ if (!arr.length) return;
8175
+ var args = Array.prototype.slice.call(arguments, 2), list;
8176
+ if (operationGroup) {
8177
+ list = operationGroup.delayedCallbacks;
8178
+ } else if (orphanDelayedCallbacks) {
8179
+ list = orphanDelayedCallbacks;
8180
+ } else {
8181
+ list = orphanDelayedCallbacks = [];
8182
+ setTimeout(fireOrphanDelayed, 0);
8183
+ }
8184
+ function bnd(f) {return function(){f.apply(null, args);};};
8185
+ for (var i = 0; i < arr.length; ++i)
8186
+ list.push(bnd(arr[i]));
8187
+ }
8188
+
8189
+ function fireOrphanDelayed() {
8190
+ var delayed = orphanDelayedCallbacks;
8191
+ orphanDelayedCallbacks = null;
8192
+ for (var i = 0; i < delayed.length; ++i) delayed[i]();
8193
+ }
8194
+
8195
+ // The DOM events that CodeMirror handles can be overridden by
8196
+ // registering a (non-DOM) handler on the editor for the event name,
8197
+ // and preventDefault-ing the event in that handler.
8198
+ function signalDOMEvent(cm, e, override) {
8199
+ if (typeof e == "string")
8200
+ e = {type: e, preventDefault: function() { this.defaultPrevented = true; }};
8201
+ signal(cm, override || e.type, cm, e);
8202
+ return e_defaultPrevented(e) || e.codemirrorIgnore;
8203
+ }
8204
+
8205
+ function signalCursorActivity(cm) {
8206
+ var arr = cm._handlers && cm._handlers.cursorActivity;
8207
+ if (!arr) return;
8208
+ var set = cm.curOp.cursorActivityHandlers || (cm.curOp.cursorActivityHandlers = []);
8209
+ for (var i = 0; i < arr.length; ++i) if (indexOf(set, arr[i]) == -1)
8210
+ set.push(arr[i]);
8211
+ }
8212
+
8213
+ function hasHandler(emitter, type) {
8214
+ return getHandlers(emitter, type).length > 0
8215
+ }
8216
+
8217
+ // Add on and off methods to a constructor's prototype, to make
8218
+ // registering events on such objects more convenient.
8219
+ function eventMixin(ctor) {
8220
+ ctor.prototype.on = function(type, f) {on(this, type, f);};
8221
+ ctor.prototype.off = function(type, f) {off(this, type, f);};
8222
+ }
8223
+
8224
+ // MISC UTILITIES
8225
+
8226
+ // Number of pixels added to scroller and sizer to hide scrollbar
8227
+ var scrollerGap = 30;
8228
+
8229
+ // Returned or thrown by various protocols to signal 'I'm not
8230
+ // handling this'.
8231
+ var Pass = CodeMirror.Pass = {toString: function(){return "CodeMirror.Pass";}};
8232
+
8233
+ // Reused option objects for setSelection & friends
8234
+ var sel_dontScroll = {scroll: false}, sel_mouse = {origin: "*mouse"}, sel_move = {origin: "+move"};
8235
+
8236
+ function Delayed() {this.id = null;}
8237
+ Delayed.prototype.set = function(ms, f) {
8238
+ clearTimeout(this.id);
8239
+ this.id = setTimeout(f, ms);
8240
+ };
8241
+
8242
+ // Counts the column offset in a string, taking tabs into account.
8243
+ // Used mostly to find indentation.
8244
+ var countColumn = CodeMirror.countColumn = function(string, end, tabSize, startIndex, startValue) {
8245
+ if (end == null) {
8246
+ end = string.search(/[^\s\u00a0]/);
8247
+ if (end == -1) end = string.length;
8248
+ }
8249
+ for (var i = startIndex || 0, n = startValue || 0;;) {
8250
+ var nextTab = string.indexOf("\t", i);
8251
+ if (nextTab < 0 || nextTab >= end)
8252
+ return n + (end - i);
8253
+ n += nextTab - i;
8254
+ n += tabSize - (n % tabSize);
8255
+ i = nextTab + 1;
8256
+ }
8257
+ };
8258
+
8259
+ // The inverse of countColumn -- find the offset that corresponds to
8260
+ // a particular column.
8261
+ var findColumn = CodeMirror.findColumn = function(string, goal, tabSize) {
8262
+ for (var pos = 0, col = 0;;) {
8263
+ var nextTab = string.indexOf("\t", pos);
8264
+ if (nextTab == -1) nextTab = string.length;
8265
+ var skipped = nextTab - pos;
8266
+ if (nextTab == string.length || col + skipped >= goal)
8267
+ return pos + Math.min(skipped, goal - col);
8268
+ col += nextTab - pos;
8269
+ col += tabSize - (col % tabSize);
8270
+ pos = nextTab + 1;
8271
+ if (col >= goal) return pos;
8272
+ }
8273
+ }
8274
+
8275
+ var spaceStrs = [""];
8276
+ function spaceStr(n) {
8277
+ while (spaceStrs.length <= n)
8278
+ spaceStrs.push(lst(spaceStrs) + " ");
8279
+ return spaceStrs[n];
8280
+ }
8281
+
8282
+ function lst(arr) { return arr[arr.length-1]; }
8283
+
8284
+ var selectInput = function(node) { node.select(); };
8285
+ if (ios) // Mobile Safari apparently has a bug where select() is broken.
8286
+ selectInput = function(node) { node.selectionStart = 0; node.selectionEnd = node.value.length; };
8287
+ else if (ie) // Suppress mysterious IE10 errors
8288
+ selectInput = function(node) { try { node.select(); } catch(_e) {} };
8289
+
8290
+ function indexOf(array, elt) {
8291
+ for (var i = 0; i < array.length; ++i)
8292
+ if (array[i] == elt) return i;
8293
+ return -1;
8294
+ }
8295
+ function map(array, f) {
8296
+ var out = [];
8297
+ for (var i = 0; i < array.length; i++) out[i] = f(array[i], i);
8298
+ return out;
8299
+ }
8300
+
8301
+ function nothing() {}
8302
+
8303
+ function createObj(base, props) {
8304
+ var inst;
8305
+ if (Object.create) {
8306
+ inst = Object.create(base);
8307
+ } else {
8308
+ nothing.prototype = base;
8309
+ inst = new nothing();
8310
+ }
8311
+ if (props) copyObj(props, inst);
8312
+ return inst;
8313
+ };
8314
+
8315
+ function copyObj(obj, target, overwrite) {
8316
+ if (!target) target = {};
8317
+ for (var prop in obj)
8318
+ if (obj.hasOwnProperty(prop) && (overwrite !== false || !target.hasOwnProperty(prop)))
8319
+ target[prop] = obj[prop];
8320
+ return target;
8321
+ }
8322
+
8323
+ function bind(f) {
8324
+ var args = Array.prototype.slice.call(arguments, 1);
8325
+ return function(){return f.apply(null, args);};
8326
+ }
8327
+
8328
+ var nonASCIISingleCaseWordChar = /[\u00df\u0587\u0590-\u05f4\u0600-\u06ff\u3040-\u309f\u30a0-\u30ff\u3400-\u4db5\u4e00-\u9fcc\uac00-\ud7af]/;
8329
+ var isWordCharBasic = CodeMirror.isWordChar = function(ch) {
8330
+ return /\w/.test(ch) || ch > "\x80" &&
8331
+ (ch.toUpperCase() != ch.toLowerCase() || nonASCIISingleCaseWordChar.test(ch));
8332
+ };
8333
+ function isWordChar(ch, helper) {
8334
+ if (!helper) return isWordCharBasic(ch);
8335
+ if (helper.source.indexOf("\\w") > -1 && isWordCharBasic(ch)) return true;
8336
+ return helper.test(ch);
8337
+ }
8338
+
8339
+ function isEmpty(obj) {
8340
+ for (var n in obj) if (obj.hasOwnProperty(n) && obj[n]) return false;
8341
+ return true;
8342
+ }
8343
+
8344
+ // Extending unicode characters. A series of a non-extending char +
8345
+ // any number of extending chars is treated as a single unit as far
8346
+ // as editing and measuring is concerned. This is not fully correct,
8347
+ // since some scripts/fonts/browsers also treat other configurations
8348
+ // of code points as a group.
8349
+ var extendingChars = /[\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]/;
8350
+ function isExtendingChar(ch) { return ch.charCodeAt(0) >= 768 && extendingChars.test(ch); }
8351
+
8352
+ // DOM UTILITIES
8353
+
8354
+ function elt(tag, content, className, style) {
8355
+ var e = document.createElement(tag);
8356
+ if (className) e.className = className;
8357
+ if (style) e.style.cssText = style;
8358
+ if (typeof content == "string") e.appendChild(document.createTextNode(content));
8359
+ else if (content) for (var i = 0; i < content.length; ++i) e.appendChild(content[i]);
8360
+ return e;
8361
+ }
8362
+
8363
+ var range;
8364
+ if (document.createRange) range = function(node, start, end, endNode) {
8365
+ var r = document.createRange();
8366
+ r.setEnd(endNode || node, end);
8367
+ r.setStart(node, start);
8368
+ return r;
8369
+ };
8370
+ else range = function(node, start, end) {
8371
+ var r = document.body.createTextRange();
8372
+ try { r.moveToElementText(node.parentNode); }
8373
+ catch(e) { return r; }
8374
+ r.collapse(true);
8375
+ r.moveEnd("character", end);
8376
+ r.moveStart("character", start);
8377
+ return r;
8378
+ };
8379
+
8380
+ function removeChildren(e) {
8381
+ for (var count = e.childNodes.length; count > 0; --count)
8382
+ e.removeChild(e.firstChild);
8383
+ return e;
8384
+ }
8385
+
8386
+ function removeChildrenAndAdd(parent, e) {
8387
+ return removeChildren(parent).appendChild(e);
8388
+ }
8389
+
8390
+ var contains = CodeMirror.contains = function(parent, child) {
8391
+ if (child.nodeType == 3) // Android browser always returns false when child is a textnode
8392
+ child = child.parentNode;
8393
+ if (parent.contains)
8394
+ return parent.contains(child);
8395
+ do {
8396
+ if (child.nodeType == 11) child = child.host;
8397
+ if (child == parent) return true;
8398
+ } while (child = child.parentNode);
8399
+ };
8400
+
8401
+ function activeElt() {
8402
+ var activeElement = document.activeElement;
8403
+ while (activeElement && activeElement.root && activeElement.root.activeElement)
8404
+ activeElement = activeElement.root.activeElement;
8405
+ return activeElement;
8406
+ }
8407
+ // Older versions of IE throws unspecified error when touching
8408
+ // document.activeElement in some cases (during loading, in iframe)
8409
+ if (ie && ie_version < 11) activeElt = function() {
8410
+ try { return document.activeElement; }
8411
+ catch(e) { return document.body; }
8412
+ };
8413
+
8414
+ function classTest(cls) { return new RegExp("(^|\\s)" + cls + "(?:$|\\s)\\s*"); }
8415
+ var rmClass = CodeMirror.rmClass = function(node, cls) {
8416
+ var current = node.className;
8417
+ var match = classTest(cls).exec(current);
8418
+ if (match) {
8419
+ var after = current.slice(match.index + match[0].length);
8420
+ node.className = current.slice(0, match.index) + (after ? match[1] + after : "");
8421
+ }
8422
+ };
8423
+ var addClass = CodeMirror.addClass = function(node, cls) {
8424
+ var current = node.className;
8425
+ if (!classTest(cls).test(current)) node.className += (current ? " " : "") + cls;
8426
+ };
8427
+ function joinClasses(a, b) {
8428
+ var as = a.split(" ");
8429
+ for (var i = 0; i < as.length; i++)
8430
+ if (as[i] && !classTest(as[i]).test(b)) b += " " + as[i];
8431
+ return b;
8432
+ }
8433
+
8434
+ // WINDOW-WIDE EVENTS
8435
+
8436
+ // These must be handled carefully, because naively registering a
8437
+ // handler for each editor will cause the editors to never be
8438
+ // garbage collected.
8439
+
8440
+ function forEachCodeMirror(f) {
8441
+ if (!document.body.getElementsByClassName) return;
8442
+ var byClass = document.body.getElementsByClassName("CodeMirror");
8443
+ for (var i = 0; i < byClass.length; i++) {
8444
+ var cm = byClass[i].CodeMirror;
8445
+ if (cm) f(cm);
8446
+ }
8447
+ }
8448
+
8449
+ var globalsRegistered = false;
8450
+ function ensureGlobalHandlers() {
8451
+ if (globalsRegistered) return;
8452
+ registerGlobalHandlers();
8453
+ globalsRegistered = true;
8454
+ }
8455
+ function registerGlobalHandlers() {
8456
+ // When the window resizes, we need to refresh active editors.
8457
+ var resizeTimer;
8458
+ on(window, "resize", function() {
8459
+ if (resizeTimer == null) resizeTimer = setTimeout(function() {
8460
+ resizeTimer = null;
8461
+ forEachCodeMirror(onResize);
8462
+ }, 100);
8463
+ });
8464
+ // When the window loses focus, we want to show the editor as blurred
8465
+ on(window, "blur", function() {
8466
+ forEachCodeMirror(onBlur);
8467
+ });
8468
+ }
8469
+
8470
+ // FEATURE DETECTION
8471
+
8472
+ // Detect drag-and-drop
8473
+ var dragAndDrop = function() {
8474
+ // There is *some* kind of drag-and-drop support in IE6-8, but I
8475
+ // couldn't get it to work yet.
8476
+ if (ie && ie_version < 9) return false;
8477
+ var div = elt('div');
8478
+ return "draggable" in div || "dragDrop" in div;
8479
+ }();
8480
+
8481
+ var zwspSupported;
8482
+ function zeroWidthElement(measure) {
8483
+ if (zwspSupported == null) {
8484
+ var test = elt("span", "\u200b");
8485
+ removeChildrenAndAdd(measure, elt("span", [test, document.createTextNode("x")]));
8486
+ if (measure.firstChild.offsetHeight != 0)
8487
+ zwspSupported = test.offsetWidth <= 1 && test.offsetHeight > 2 && !(ie && ie_version < 8);
8488
+ }
8489
+ var node = zwspSupported ? elt("span", "\u200b") :
8490
+ elt("span", "\u00a0", null, "display: inline-block; width: 1px; margin-right: -1px");
8491
+ node.setAttribute("cm-text", "");
8492
+ return node;
8493
+ }
8494
+
8495
+ // Feature-detect IE's crummy client rect reporting for bidi text
8496
+ var badBidiRects;
8497
+ function hasBadBidiRects(measure) {
8498
+ if (badBidiRects != null) return badBidiRects;
8499
+ var txt = removeChildrenAndAdd(measure, document.createTextNode("A\u062eA"));
8500
+ var r0 = range(txt, 0, 1).getBoundingClientRect();
8501
+ if (!r0 || r0.left == r0.right) return false; // Safari returns null in some cases (#2780)
8502
+ var r1 = range(txt, 1, 2).getBoundingClientRect();
8503
+ return badBidiRects = (r1.right - r0.right < 3);
8504
+ }
8505
+
8506
+ // See if "".split is the broken IE version, if so, provide an
8507
+ // alternative way to split lines.
8508
+ var splitLinesAuto = CodeMirror.splitLines = "\n\nb".split(/\n/).length != 3 ? function(string) {
8509
+ var pos = 0, result = [], l = string.length;
8510
+ while (pos <= l) {
8511
+ var nl = string.indexOf("\n", pos);
8512
+ if (nl == -1) nl = string.length;
8513
+ var line = string.slice(pos, string.charAt(nl - 1) == "\r" ? nl - 1 : nl);
8514
+ var rt = line.indexOf("\r");
8515
+ if (rt != -1) {
8516
+ result.push(line.slice(0, rt));
8517
+ pos += rt + 1;
8518
+ } else {
8519
+ result.push(line);
8520
+ pos = nl + 1;
8521
+ }
8522
+ }
8523
+ return result;
8524
+ } : function(string){return string.split(/\r\n?|\n/);};
8525
+
8526
+ var hasSelection = window.getSelection ? function(te) {
8527
+ try { return te.selectionStart != te.selectionEnd; }
8528
+ catch(e) { return false; }
8529
+ } : function(te) {
8530
+ try {var range = te.ownerDocument.selection.createRange();}
8531
+ catch(e) {}
8532
+ if (!range || range.parentElement() != te) return false;
8533
+ return range.compareEndPoints("StartToEnd", range) != 0;
8534
+ };
8535
+
8536
+ var hasCopyEvent = (function() {
8537
+ var e = elt("div");
8538
+ if ("oncopy" in e) return true;
8539
+ e.setAttribute("oncopy", "return;");
8540
+ return typeof e.oncopy == "function";
8541
+ })();
8542
+
8543
+ var badZoomedRects = null;
8544
+ function hasBadZoomedRects(measure) {
8545
+ if (badZoomedRects != null) return badZoomedRects;
8546
+ var node = removeChildrenAndAdd(measure, elt("span", "x"));
8547
+ var normal = node.getBoundingClientRect();
8548
+ var fromRange = range(node, 0, 1).getBoundingClientRect();
8549
+ return badZoomedRects = Math.abs(normal.left - fromRange.left) > 1;
8550
+ }
8551
+
8552
+ // KEY NAMES
8553
+
8554
+ var keyNames = CodeMirror.keyNames = {
8555
+ 3: "Enter", 8: "Backspace", 9: "Tab", 13: "Enter", 16: "Shift", 17: "Ctrl", 18: "Alt",
8556
+ 19: "Pause", 20: "CapsLock", 27: "Esc", 32: "Space", 33: "PageUp", 34: "PageDown", 35: "End",
8557
+ 36: "Home", 37: "Left", 38: "Up", 39: "Right", 40: "Down", 44: "PrintScrn", 45: "Insert",
8558
+ 46: "Delete", 59: ";", 61: "=", 91: "Mod", 92: "Mod", 93: "Mod",
8559
+ 106: "*", 107: "=", 109: "-", 110: ".", 111: "/", 127: "Delete",
8560
+ 173: "-", 186: ";", 187: "=", 188: ",", 189: "-", 190: ".", 191: "/", 192: "`", 219: "[", 220: "\\",
8561
+ 221: "]", 222: "'", 63232: "Up", 63233: "Down", 63234: "Left", 63235: "Right", 63272: "Delete",
8562
+ 63273: "Home", 63275: "End", 63276: "PageUp", 63277: "PageDown", 63302: "Insert"
8563
+ };
8564
+ (function() {
8565
+ // Number keys
8566
+ for (var i = 0; i < 10; i++) keyNames[i + 48] = keyNames[i + 96] = String(i);
8567
+ // Alphabetic keys
8568
+ for (var i = 65; i <= 90; i++) keyNames[i] = String.fromCharCode(i);
8569
+ // Function keys
8570
+ for (var i = 1; i <= 12; i++) keyNames[i + 111] = keyNames[i + 63235] = "F" + i;
8571
+ })();
8572
+
8573
+ // BIDI HELPERS
8574
+
8575
+ function iterateBidiSections(order, from, to, f) {
8576
+ if (!order) return f(from, to, "ltr");
8577
+ var found = false;
8578
+ for (var i = 0; i < order.length; ++i) {
8579
+ var part = order[i];
8580
+ if (part.from < to && part.to > from || from == to && part.to == from) {
8581
+ f(Math.max(part.from, from), Math.min(part.to, to), part.level == 1 ? "rtl" : "ltr");
8582
+ found = true;
8583
+ }
8584
+ }
8585
+ if (!found) f(from, to, "ltr");
8586
+ }
8587
+
8588
+ function bidiLeft(part) { return part.level % 2 ? part.to : part.from; }
8589
+ function bidiRight(part) { return part.level % 2 ? part.from : part.to; }
8590
+
8591
+ function lineLeft(line) { var order = getOrder(line); return order ? bidiLeft(order[0]) : 0; }
8592
+ function lineRight(line) {
8593
+ var order = getOrder(line);
8594
+ if (!order) return line.text.length;
8595
+ return bidiRight(lst(order));
8596
+ }
8597
+
8598
+ function lineStart(cm, lineN) {
8599
+ var line = getLine(cm.doc, lineN);
8600
+ var visual = visualLine(line);
8601
+ if (visual != line) lineN = lineNo(visual);
8602
+ var order = getOrder(visual);
8603
+ var ch = !order ? 0 : order[0].level % 2 ? lineRight(visual) : lineLeft(visual);
8604
+ return Pos(lineN, ch);
8605
+ }
8606
+ function lineEnd(cm, lineN) {
8607
+ var merged, line = getLine(cm.doc, lineN);
8608
+ while (merged = collapsedSpanAtEnd(line)) {
8609
+ line = merged.find(1, true).line;
8610
+ lineN = null;
8611
+ }
8612
+ var order = getOrder(line);
8613
+ var ch = !order ? line.text.length : order[0].level % 2 ? lineLeft(line) : lineRight(line);
8614
+ return Pos(lineN == null ? lineNo(line) : lineN, ch);
8615
+ }
8616
+ function lineStartSmart(cm, pos) {
8617
+ var start = lineStart(cm, pos.line);
8618
+ var line = getLine(cm.doc, start.line);
8619
+ var order = getOrder(line);
8620
+ if (!order || order[0].level == 0) {
8621
+ var firstNonWS = Math.max(0, line.text.search(/\S/));
8622
+ var inWS = pos.line == start.line && pos.ch <= firstNonWS && pos.ch;
8623
+ return Pos(start.line, inWS ? 0 : firstNonWS);
8624
+ }
8625
+ return start;
8626
+ }
8627
+
8628
+ function compareBidiLevel(order, a, b) {
8629
+ var linedir = order[0].level;
8630
+ if (a == linedir) return true;
8631
+ if (b == linedir) return false;
8632
+ return a < b;
8633
+ }
8634
+ var bidiOther;
8635
+ function getBidiPartAt(order, pos) {
8636
+ bidiOther = null;
8637
+ for (var i = 0, found; i < order.length; ++i) {
8638
+ var cur = order[i];
8639
+ if (cur.from < pos && cur.to > pos) return i;
8640
+ if ((cur.from == pos || cur.to == pos)) {
8641
+ if (found == null) {
8642
+ found = i;
8643
+ } else if (compareBidiLevel(order, cur.level, order[found].level)) {
8644
+ if (cur.from != cur.to) bidiOther = found;
8645
+ return i;
8646
+ } else {
8647
+ if (cur.from != cur.to) bidiOther = i;
8648
+ return found;
8649
+ }
8650
+ }
8651
+ }
8652
+ return found;
8653
+ }
8654
+
8655
+ function moveInLine(line, pos, dir, byUnit) {
8656
+ if (!byUnit) return pos + dir;
8657
+ do pos += dir;
8658
+ while (pos > 0 && isExtendingChar(line.text.charAt(pos)));
8659
+ return pos;
8660
+ }
8661
+
8662
+ // This is needed in order to move 'visually' through bi-directional
8663
+ // text -- i.e., pressing left should make the cursor go left, even
8664
+ // when in RTL text. The tricky part is the 'jumps', where RTL and
8665
+ // LTR text touch each other. This often requires the cursor offset
8666
+ // to move more than one unit, in order to visually move one unit.
8667
+ function moveVisually(line, start, dir, byUnit) {
8668
+ var bidi = getOrder(line);
8669
+ if (!bidi) return moveLogically(line, start, dir, byUnit);
8670
+ var pos = getBidiPartAt(bidi, start), part = bidi[pos];
8671
+ var target = moveInLine(line, start, part.level % 2 ? -dir : dir, byUnit);
8672
+
8673
+ for (;;) {
8674
+ if (target > part.from && target < part.to) return target;
8675
+ if (target == part.from || target == part.to) {
8676
+ if (getBidiPartAt(bidi, target) == pos) return target;
8677
+ part = bidi[pos += dir];
8678
+ return (dir > 0) == part.level % 2 ? part.to : part.from;
8679
+ } else {
8680
+ part = bidi[pos += dir];
8681
+ if (!part) return null;
8682
+ if ((dir > 0) == part.level % 2)
8683
+ target = moveInLine(line, part.to, -1, byUnit);
8684
+ else
8685
+ target = moveInLine(line, part.from, 1, byUnit);
8686
+ }
8687
+ }
8688
+ }
8689
+
8690
+ function moveLogically(line, start, dir, byUnit) {
8691
+ var target = start + dir;
8692
+ if (byUnit) while (target > 0 && isExtendingChar(line.text.charAt(target))) target += dir;
8693
+ return target < 0 || target > line.text.length ? null : target;
8694
+ }
8695
+
8696
+ // Bidirectional ordering algorithm
8697
+ // See http://unicode.org/reports/tr9/tr9-13.html for the algorithm
8698
+ // that this (partially) implements.
8699
+
8700
+ // One-char codes used for character types:
8701
+ // L (L): Left-to-Right
8702
+ // R (R): Right-to-Left
8703
+ // r (AL): Right-to-Left Arabic
8704
+ // 1 (EN): European Number
8705
+ // + (ES): European Number Separator
8706
+ // % (ET): European Number Terminator
8707
+ // n (AN): Arabic Number
8708
+ // , (CS): Common Number Separator
8709
+ // m (NSM): Non-Spacing Mark
8710
+ // b (BN): Boundary Neutral
8711
+ // s (B): Paragraph Separator
8712
+ // t (S): Segment Separator
8713
+ // w (WS): Whitespace
8714
+ // N (ON): Other Neutrals
8715
+
8716
+ // Returns null if characters are ordered as they appear
8717
+ // (left-to-right), or an array of sections ({from, to, level}
8718
+ // objects) in the order in which they occur visually.
8719
+ var bidiOrdering = (function() {
8720
+ // Character types for codepoints 0 to 0xff
8721
+ var lowTypes = "bbbbbbbbbtstwsbbbbbbbbbbbbbbssstwNN%%%NNNNNN,N,N1111111111NNNNNNNLLLLLLLLLLLLLLLLLLLLLLLLLLNNNNNNLLLLLLLLLLLLLLLLLLLLLLLLLLNNNNbbbbbbsbbbbbbbbbbbbbbbbbbbbbbbbbb,N%%%%NNNNLNNNNN%%11NLNNN1LNNNNNLLLLLLLLLLLLLLLLLLLLLLLNLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLN";
8722
+ // Character types for codepoints 0x600 to 0x6ff
8723
+ var arabicTypes = "rrrrrrrrrrrr,rNNmmmmmmrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrmmmmmmmmmmmmmmrrrrrrrnnnnnnnnnn%nnrrrmrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrmmmmmmmmmmmmmmmmmmmNmmmm";
8724
+ function charType(code) {
8725
+ if (code <= 0xf7) return lowTypes.charAt(code);
8726
+ else if (0x590 <= code && code <= 0x5f4) return "R";
8727
+ else if (0x600 <= code && code <= 0x6ed) return arabicTypes.charAt(code - 0x600);
8728
+ else if (0x6ee <= code && code <= 0x8ac) return "r";
8729
+ else if (0x2000 <= code && code <= 0x200b) return "w";
8730
+ else if (code == 0x200c) return "b";
8731
+ else return "L";
8732
+ }
8733
+
8734
+ var bidiRE = /[\u0590-\u05f4\u0600-\u06ff\u0700-\u08ac]/;
8735
+ var isNeutral = /[stwN]/, isStrong = /[LRr]/, countsAsLeft = /[Lb1n]/, countsAsNum = /[1n]/;
8736
+ // Browsers seem to always treat the boundaries of block elements as being L.
8737
+ var outerType = "L";
8738
+
8739
+ function BidiSpan(level, from, to) {
8740
+ this.level = level;
8741
+ this.from = from; this.to = to;
8742
+ }
8743
+
8744
+ return function(str) {
8745
+ if (!bidiRE.test(str)) return false;
8746
+ var len = str.length, types = [];
8747
+ for (var i = 0, type; i < len; ++i)
8748
+ types.push(type = charType(str.charCodeAt(i)));
8749
+
8750
+ // W1. Examine each non-spacing mark (NSM) in the level run, and
8751
+ // change the type of the NSM to the type of the previous
8752
+ // character. If the NSM is at the start of the level run, it will
8753
+ // get the type of sor.
8754
+ for (var i = 0, prev = outerType; i < len; ++i) {
8755
+ var type = types[i];
8756
+ if (type == "m") types[i] = prev;
8757
+ else prev = type;
8758
+ }
8759
+
8760
+ // W2. Search backwards from each instance of a European number
8761
+ // until the first strong type (R, L, AL, or sor) is found. If an
8762
+ // AL is found, change the type of the European number to Arabic
8763
+ // number.
8764
+ // W3. Change all ALs to R.
8765
+ for (var i = 0, cur = outerType; i < len; ++i) {
8766
+ var type = types[i];
8767
+ if (type == "1" && cur == "r") types[i] = "n";
8768
+ else if (isStrong.test(type)) { cur = type; if (type == "r") types[i] = "R"; }
8769
+ }
8770
+
8771
+ // W4. A single European separator between two European numbers
8772
+ // changes to a European number. A single common separator between
8773
+ // two numbers of the same type changes to that type.
8774
+ for (var i = 1, prev = types[0]; i < len - 1; ++i) {
8775
+ var type = types[i];
8776
+ if (type == "+" && prev == "1" && types[i+1] == "1") types[i] = "1";
8777
+ else if (type == "," && prev == types[i+1] &&
8778
+ (prev == "1" || prev == "n")) types[i] = prev;
8779
+ prev = type;
8780
+ }
8781
+
8782
+ // W5. A sequence of European terminators adjacent to European
8783
+ // numbers changes to all European numbers.
8784
+ // W6. Otherwise, separators and terminators change to Other
8785
+ // Neutral.
8786
+ for (var i = 0; i < len; ++i) {
8787
+ var type = types[i];
8788
+ if (type == ",") types[i] = "N";
8789
+ else if (type == "%") {
8790
+ for (var end = i + 1; end < len && types[end] == "%"; ++end) {}
8791
+ var replace = (i && types[i-1] == "!") || (end < len && types[end] == "1") ? "1" : "N";
8792
+ for (var j = i; j < end; ++j) types[j] = replace;
8793
+ i = end - 1;
8794
+ }
8795
+ }
8796
+
8797
+ // W7. Search backwards from each instance of a European number
8798
+ // until the first strong type (R, L, or sor) is found. If an L is
8799
+ // found, then change the type of the European number to L.
8800
+ for (var i = 0, cur = outerType; i < len; ++i) {
8801
+ var type = types[i];
8802
+ if (cur == "L" && type == "1") types[i] = "L";
8803
+ else if (isStrong.test(type)) cur = type;
8804
+ }
8805
+
8806
+ // N1. A sequence of neutrals takes the direction of the
8807
+ // surrounding strong text if the text on both sides has the same
8808
+ // direction. European and Arabic numbers act as if they were R in
8809
+ // terms of their influence on neutrals. Start-of-level-run (sor)
8810
+ // and end-of-level-run (eor) are used at level run boundaries.
8811
+ // N2. Any remaining neutrals take the embedding direction.
8812
+ for (var i = 0; i < len; ++i) {
8813
+ if (isNeutral.test(types[i])) {
8814
+ for (var end = i + 1; end < len && isNeutral.test(types[end]); ++end) {}
8815
+ var before = (i ? types[i-1] : outerType) == "L";
8816
+ var after = (end < len ? types[end] : outerType) == "L";
8817
+ var replace = before || after ? "L" : "R";
8818
+ for (var j = i; j < end; ++j) types[j] = replace;
8819
+ i = end - 1;
8820
+ }
8821
+ }
8822
+
8823
+ // Here we depart from the documented algorithm, in order to avoid
8824
+ // building up an actual levels array. Since there are only three
8825
+ // levels (0, 1, 2) in an implementation that doesn't take
8826
+ // explicit embedding into account, we can build up the order on
8827
+ // the fly, without following the level-based algorithm.
8828
+ var order = [], m;
8829
+ for (var i = 0; i < len;) {
8830
+ if (countsAsLeft.test(types[i])) {
8831
+ var start = i;
8832
+ for (++i; i < len && countsAsLeft.test(types[i]); ++i) {}
8833
+ order.push(new BidiSpan(0, start, i));
8834
+ } else {
8835
+ var pos = i, at = order.length;
8836
+ for (++i; i < len && types[i] != "L"; ++i) {}
8837
+ for (var j = pos; j < i;) {
8838
+ if (countsAsNum.test(types[j])) {
8839
+ if (pos < j) order.splice(at, 0, new BidiSpan(1, pos, j));
8840
+ var nstart = j;
8841
+ for (++j; j < i && countsAsNum.test(types[j]); ++j) {}
8842
+ order.splice(at, 0, new BidiSpan(2, nstart, j));
8843
+ pos = j;
8844
+ } else ++j;
8845
+ }
8846
+ if (pos < i) order.splice(at, 0, new BidiSpan(1, pos, i));
8847
+ }
8848
+ }
8849
+ if (order[0].level == 1 && (m = str.match(/^\s+/))) {
8850
+ order[0].from = m[0].length;
8851
+ order.unshift(new BidiSpan(0, 0, m[0].length));
8852
+ }
8853
+ if (lst(order).level == 1 && (m = str.match(/\s+$/))) {
8854
+ lst(order).to -= m[0].length;
8855
+ order.push(new BidiSpan(0, len - m[0].length, len));
8856
+ }
8857
+ if (order[0].level == 2)
8858
+ order.unshift(new BidiSpan(1, order[0].to, order[0].to));
8859
+ if (order[0].level != lst(order).level)
8860
+ order.push(new BidiSpan(order[0].level, len, len));
8861
+
8862
+ return order;
8863
+ };
8864
+ })();
8865
+
8866
+ // THE END
8867
+
8868
+ CodeMirror.version = "5.8.1";
8869
+
8870
+ return CodeMirror;
8871
+ });
assets/admin/js/codemirror.min.js ADDED
@@ -0,0 +1 @@
 
1
+ (function(a){if(typeof exports=="object"&&typeof module=="object"){module.exports=a()}else{if(typeof define=="function"&&define.amd){return define([],a)}else{this.CodeMirror=a()}}})(function(){var d2=navigator.userAgent;var ed=navigator.platform;var co=/gecko\/\d/i.test(d2);var eO=/MSIE \d/.test(d2);var bJ=/Trident\/(?:[7-9]|\d{2,})\..*rv:(\d+)/.exec(d2);var dL=eO||bJ;var k=dL&&(eO?document.documentMode||6:bJ[1]);var c0=/WebKit\//.test(d2);var dO=c0&&/Qt\/\d+\.\d+/.test(d2);var dd=/Chrome\//.test(d2);var d5=/Opera\//.test(d2);var aC=/Apple Computer/.test(navigator.vendor);var c7=/Mac OS X 1\d\D([8-9]|\d\d)\D/.test(d2);var fz=/PhantomJS/.test(d2);var e5=/AppleWebKit/.test(d2)&&/Mobile\/\w+/.test(d2);var ej=e5||/Android|webOS|BlackBerry|Opera Mini|Opera Mobi|IEMobile/i.test(d2);var b7=e5||/Mac/.test(ed);var aP=/win/i.test(ed);var aZ=d5&&d2.match(/Version\/(\d*\.\d*)/);if(aZ){aZ=Number(aZ[1])}if(aZ&&aZ>=15){d5=false;c0=true}var bQ=b7&&(dO||d5&&(aZ==null||aZ<12.11));var gf=co||(dL&&k>=9);var gi=false,a7=false;function H(gp,gr){if(!(this instanceof H)){return new H(gp,gr)}this.options=gr=gr?aN(gr):{};aN(e7,gr,false);ce(gr);var gv=gr.value;if(typeof gv=="string"){gv=new at(gv,gr.mode,null,gr.lineSeparator)}this.doc=gv;var gq=new H.inputStyles[gr.inputStyle](this);var gu=this.display=new eM(gp,gv,gq);gu.wrapper.CodeMirror=this;ef(this);cO(this);if(gr.lineWrapping){this.display.wrapper.className+=" CodeMirror-wrap"}if(gr.autofocus&&!ej){gu.input.focus()}aD(this);this.state={keyMaps:[],overlays:[],modeGen:0,overwrite:false,delayingBlurEvent:false,focused:false,suppressEdits:false,pasteIncoming:false,cutIncoming:false,selectingText:false,draggingText:false,highlight:new gn(),keySeq:null,specialChars:null};var go=this;if(dL&&k<11){setTimeout(function(){go.display.input.reset(true)},20)}fV(this);bj();cI(this);this.curOp.forceUpdate=true;ee(this,gv);if((gr.autofocus&&!ej)||go.hasFocus()){setTimeout(cv(cB,this),20)}else{aV(this)}for(var gt in bf){if(bf.hasOwnProperty(gt)){bf[gt](this,gr[gt],cc)}}d7(this);if(gr.finishInit){gr.finishInit(this)}for(var gs=0;gs<a8.length;++gs){a8[gs](this)}am(this);if(c0&&gr.lineWrapping&&getComputedStyle(gu.lineDiv).textRendering=="optimizelegibility"){gu.lineDiv.style.textRendering="auto"}}function eM(go,gq,gp){var gr=this;this.input=gp;gr.scrollbarFiller=f8("div",null,"CodeMirror-scrollbar-filler");gr.scrollbarFiller.setAttribute("cm-not-content","true");gr.gutterFiller=f8("div",null,"CodeMirror-gutter-filler");gr.gutterFiller.setAttribute("cm-not-content","true");gr.lineDiv=f8("div",null,"CodeMirror-code");gr.selectionDiv=f8("div",null,null,"position: relative; z-index: 1");gr.cursorDiv=f8("div",null,"CodeMirror-cursors");gr.measure=f8("div",null,"CodeMirror-measure");gr.lineMeasure=f8("div",null,"CodeMirror-measure");gr.lineSpace=f8("div",[gr.measure,gr.lineMeasure,gr.selectionDiv,gr.cursorDiv,gr.lineDiv],null,"position: relative; outline: none");gr.mover=f8("div",[f8("div",[gr.lineSpace],"CodeMirror-lines")],null,"position: relative");gr.sizer=f8("div",[gr.mover],"CodeMirror-sizer");gr.sizerWidth=null;gr.heightForcer=f8("div",null,null,"position: absolute; height: "+dK+"px; width: 1px;");gr.gutters=f8("div",null,"CodeMirror-gutters");gr.lineGutter=null;gr.scroller=f8("div",[gr.sizer,gr.heightForcer,gr.gutters],"CodeMirror-scroll");gr.scroller.setAttribute("tabIndex","-1");gr.wrapper=f8("div",[gr.scrollbarFiller,gr.gutterFiller,gr.scroller],"CodeMirror");if(dL&&k<8){gr.gutters.style.zIndex=-1;gr.scroller.style.paddingRight=0}if(!c0&&!(co&&ej)){gr.scroller.draggable=true}if(go){if(go.appendChild){go.appendChild(gr.wrapper)}else{go(gr.wrapper)}}gr.viewFrom=gr.viewTo=gq.first;gr.reportedViewFrom=gr.reportedViewTo=gq.first;gr.view=[];gr.renderedView=null;gr.externalMeasured=null;gr.viewOffset=0;gr.lastWrapHeight=gr.lastWrapWidth=0;gr.updateLineNumbers=null;gr.nativeBarWidth=gr.barHeight=gr.barWidth=0;gr.scrollbarsClipped=false;gr.lineNumWidth=gr.lineNumInnerWidth=gr.lineNumChars=null;gr.alignWidgets=false;gr.cachedCharWidth=gr.cachedTextHeight=gr.cachedPaddingH=null;gr.maxLine=null;gr.maxLineLength=0;gr.maxLineChanged=false;gr.wheelDX=gr.wheelDY=gr.wheelStartX=gr.wheelStartY=null;gr.shift=false;gr.selForContextMenu=null;gr.activeTouch=null;gp.init(gr)}function br(go){go.doc.mode=H.getMode(go.options,go.doc.modeOption);ep(go)}function ep(go){go.doc.iter(function(gp){if(gp.stateAfter){gp.stateAfter=null}if(gp.styles){gp.styles=null}});go.doc.frontier=go.doc.first;ei(go,100);go.state.modeGen++;if(go.curOp){ah(go)}}function eK(go){if(go.options.lineWrapping){fF(go.display.wrapper,"CodeMirror-wrap");go.display.sizer.style.minWidth="";go.display.sizerWidth=null}else{f(go.display.wrapper,"CodeMirror-wrap");h(go)}X(go);ah(go);ak(go);setTimeout(function(){e2(go)},100)}function be(go){var gq=aY(go.display),gp=go.options.lineWrapping;var gr=gp&&Math.max(5,go.display.scroller.clientWidth/dE(go.display)-3);return function(gt){if(fB(go.doc,gt)){return 0}var gs=0;if(gt.widgets){for(var gu=0;gu<gt.widgets.length;gu++){if(gt.widgets[gu].height){gs+=gt.widgets[gu].height}}}if(gp){return gs+(Math.ceil(gt.text.length/gr)||1)*gq}else{return gs+gq}}}function X(go){var gq=go.doc,gp=be(go);gq.iter(function(gr){var gs=gp(gr);if(gs!=gr.height){gb(gr,gs)}})}function cO(go){go.display.wrapper.className=go.display.wrapper.className.replace(/\s*cm-s-\S+/g,"")+go.options.theme.replace(/(^|\s)\s*/g," cm-s-");ak(go)}function dx(go){ef(go);ah(go);setTimeout(function(){eI(go)},20)}function ef(go){var gp=go.display.gutters,gt=go.options.gutters;d3(gp);for(var gq=0;gq<gt.length;++gq){var gr=gt[gq];var gs=gp.appendChild(f8("div",null,"CodeMirror-gutter "+gr));if(gr=="CodeMirror-linenumbers"){go.display.lineGutter=gs;gs.style.width=(go.display.lineNumWidth||1)+"px"}}gp.style.display=gq?"":"none";c4(go)}function c4(go){var gp=go.display.gutters.offsetWidth;go.display.sizer.style.marginLeft=gp+"px"}function er(gq){if(gq.height==0){return 0}var gp=gq.text.length,go,gs=gq;while(go=eS(gs)){var gr=go.find(0,true);gs=gr.from.line;gp+=gr.from.ch-gr.to.ch}gs=gq;while(go=ey(gs)){var gr=go.find(0,true);gp-=gs.text.length-gr.from.ch;gs=gr.to.line;gp+=gs.text.length-gr.to.ch}return gp}function h(go){var gq=go.display,gp=go.doc;gq.maxLine=fk(gp,gp.first);gq.maxLineLength=er(gq.maxLine);gq.maxLineChanged=true;gp.iter(function(gs){var gr=er(gs);if(gr>gq.maxLineLength){gq.maxLineLength=gr;gq.maxLine=gs}})}function ce(go){var gp=di(go.gutters,"CodeMirror-linenumbers");if(gp==-1&&go.lineNumbers){go.gutters=go.gutters.concat(["CodeMirror-linenumbers"])}else{if(gp>-1&&!go.lineNumbers){go.gutters=go.gutters.slice(0);go.gutters.splice(gp,1)}}}function dB(go){var gr=go.display,gq=gr.gutters.offsetWidth;var gp=Math.round(go.doc.height+bI(go.display));return{clientHeight:gr.scroller.clientHeight,viewHeight:gr.wrapper.clientHeight,scrollWidth:gr.scroller.scrollWidth,clientWidth:gr.scroller.clientWidth,viewWidth:gr.wrapper.clientWidth,barLeft:go.options.fixedGutter?gq:0,docHeight:gp,scrollHeight:gp+cT(go)+gr.barHeight,nativeBarWidth:gr.nativeBarWidth,gutterWidth:gq}}function dl(gq,gp,go){this.cm=go;var gr=this.vert=f8("div",[f8("div",null,null,"min-width: 1px")],"CodeMirror-vscrollbar");var gs=this.horiz=f8("div",[f8("div",null,null,"height: 100%; min-height: 1px")],"CodeMirror-hscrollbar");gq(gr);gq(gs);bX(gr,"scroll",function(){if(gr.clientHeight){gp(gr.scrollTop,"vertical")}});bX(gs,"scroll",function(){if(gs.clientWidth){gp(gs.scrollLeft,"horizontal")}});this.checkedZeroWidth=false;if(dL&&k<8){this.horiz.style.minHeight=this.vert.style.minWidth="18px"}}dl.prototype=aN({update:function(gr){var gs=gr.scrollWidth>gr.clientWidth+1;var gq=gr.scrollHeight>gr.clientHeight+1;var gt=gr.nativeBarWidth;if(gq){this.vert.style.display="block";this.vert.style.bottom=gs?gt+"px":"0";var gp=gr.viewHeight-(gs?gt:0);this.vert.firstChild.style.height=Math.max(0,gr.scrollHeight-gr.clientHeight+gp)+"px"}else{this.vert.style.display="";this.vert.firstChild.style.height="0"}if(gs){this.horiz.style.display="block";this.horiz.style.right=gq?gt+"px":"0";this.horiz.style.left=gr.barLeft+"px";var go=gr.viewWidth-gr.barLeft-(gq?gt:0);this.horiz.firstChild.style.width=(gr.scrollWidth-gr.clientWidth+go)+"px"}else{this.horiz.style.display="";this.horiz.firstChild.style.width="0"}if(!this.checkedZeroWidth&&gr.clientHeight>0){if(gt==0){this.zeroWidthHack()}this.checkedZeroWidth=true}return{right:gq?gt:0,bottom:gs?gt:0}},setScrollLeft:function(go){if(this.horiz.scrollLeft!=go){this.horiz.scrollLeft=go}if(this.disableHoriz){this.enableZeroWidthBar(this.horiz,this.disableHoriz)}},setScrollTop:function(go){if(this.vert.scrollTop!=go){this.vert.scrollTop=go}if(this.disableVert){this.enableZeroWidthBar(this.vert,this.disableVert)}},zeroWidthHack:function(){var go=b7&&!c7?"12px":"18px";this.horiz.style.height=this.vert.style.width=go;this.horiz.style.pointerEvents=this.vert.style.pointerEvents="none";this.disableHoriz=new gn;this.disableVert=new gn},enableZeroWidthBar:function(gp,go){gp.style.pointerEvents="auto";function gq(){var gs=gp.getBoundingClientRect();var gr=document.elementFromPoint(gs.left+1,gs.bottom-1);if(gr!=gp){gp.style.pointerEvents="none"}else{go.set(1000,gq)}}go.set(1000,gq)},clear:function(){var go=this.horiz.parentNode;go.removeChild(this.horiz);go.removeChild(this.vert)}},dl.prototype);function e8(){}e8.prototype=aN({update:function(){return{bottom:0,right:0}},setScrollLeft:function(){},setScrollTop:function(){},clear:function(){}},e8.prototype);H.scrollbarModel={"native":dl,"null":e8};function aD(go){if(go.display.scrollbars){go.display.scrollbars.clear();if(go.display.scrollbars.addClass){f(go.display.wrapper,go.display.scrollbars.addClass)}}go.display.scrollbars=new H.scrollbarModel[go.options.scrollbarStyle](function(gp){go.display.wrapper.insertBefore(gp,go.display.scrollbarFiller);bX(gp,"mousedown",function(){if(go.state.focused){setTimeout(function(){go.display.input.focus()},0)}});gp.setAttribute("cm-not-content","true")},function(gq,gp){if(gp=="horizontal"){bE(go,gq)}else{N(go,gq)}},go);if(go.display.scrollbars.addClass){fF(go.display.wrapper,go.display.scrollbars.addClass)}}function e2(gq,gs){if(!gs){gs=dB(gq)}var gp=gq.display.barWidth,go=gq.display.barHeight;aU(gq,gs);for(var gr=0;gr<4&&gp!=gq.display.barWidth||go!=gq.display.barHeight;gr++){if(gp!=gq.display.barWidth&&gq.options.lineWrapping){a9(gq)}aU(gq,dB(gq));gp=gq.display.barWidth;go=gq.display.barHeight}}function aU(go,gp){var gr=go.display;var gq=gr.scrollbars.update(gp);gr.sizer.style.paddingRight=(gr.barWidth=gq.right)+"px";gr.sizer.style.paddingBottom=(gr.barHeight=gq.bottom)+"px";if(gq.right&&gq.bottom){gr.scrollbarFiller.style.display="block";gr.scrollbarFiller.style.height=gq.bottom+"px";gr.scrollbarFiller.style.width=gq.right+"px"}else{gr.scrollbarFiller.style.display=""}if(gq.bottom&&go.options.coverGutterNextToScrollbar&&go.options.fixedGutter){gr.gutterFiller.style.display="block";gr.gutterFiller.style.height=gq.bottom+"px";gr.gutterFiller.style.width=gp.gutterWidth+"px"}else{gr.gutterFiller.style.display=""}}function b6(gr,gv,gq){var gs=gq&&gq.top!=null?Math.max(0,gq.top):gr.scroller.scrollTop;gs=Math.floor(gs-fd(gr));var go=gq&&gq.bottom!=null?gq.bottom:gs+gr.wrapper.clientHeight;var gt=bG(gv,gs),gu=bG(gv,go);if(gq&&gq.ensure){var gp=gq.ensure.from.line,gw=gq.ensure.to.line;if(gp<gt){gt=gp;gu=bG(gv,bM(fk(gv,gp))+gr.wrapper.clientHeight)}else{if(Math.min(gw,gv.lastLine())>=gu){gt=bG(gv,bM(fk(gv,gw))-gr.wrapper.clientHeight);gu=gw}}}return{from:gt,to:Math.max(gu,gt+1)}}function eI(gw){var gu=gw.display,gv=gu.view;if(!gu.alignWidgets&&(!gu.gutters.firstChild||!gw.options.fixedGutter)){return}var gs=dY(gu)-gu.scroller.scrollLeft+gw.doc.scrollLeft;var go=gu.gutters.offsetWidth,gp=gs+"px";for(var gr=0;gr<gv.length;gr++){if(!gv[gr].hidden){if(gw.options.fixedGutter&&gv[gr].gutter){gv[gr].gutter.style.left=gp}var gt=gv[gr].alignable;if(gt){for(var gq=0;gq<gt.length;gq++){gt[gq].style.left=gp}}}}if(gw.options.fixedGutter){gu.gutters.style.left=(gs+go)+"px"}}function d7(go){if(!go.options.lineNumbers){return false}var gt=go.doc,gp=ew(go.options,gt.first+gt.size-1),gs=go.display;if(gp.length!=gs.lineNumChars){var gu=gs.measure.appendChild(f8("div",[f8("div",gp)],"CodeMirror-linenumber CodeMirror-gutter-elt"));var gq=gu.firstChild.offsetWidth,gr=gu.offsetWidth-gq;gs.lineGutter.style.width="";gs.lineNumInnerWidth=Math.max(gq,gs.lineGutter.offsetWidth-gr)+1;gs.lineNumWidth=gs.lineNumInnerWidth+gr;gs.lineNumChars=gs.lineNumInnerWidth?gp.length:-1;gs.lineGutter.style.width=gs.lineNumWidth+"px";c4(go);return true}return false}function ew(go,gp){return String(go.lineNumberFormatter(gp+go.firstLineNumber))}function dY(go){return go.scroller.getBoundingClientRect().left-go.sizer.getBoundingClientRect().left}function aI(gp,go,gq){var gr=gp.display;this.viewport=go;this.visible=b6(gr,gp.doc,go);this.editorIsHidden=!gr.wrapper.offsetWidth;this.wrapperHeight=gr.wrapper.clientHeight;this.wrapperWidth=gr.wrapper.clientWidth;this.oldDisplayWidth=dm(gp);this.force=gq;this.dims=fi(gp);this.events=[]}aI.prototype.signal=function(gp,go){if(fn(gp,go)){this.events.push(arguments)}};aI.prototype.finish=function(){for(var go=0;go<this.events.length;go++){aE.apply(null,this.events[go])}};function J(go){var gp=go.display;if(!gp.scrollbarsClipped&&gp.scroller.offsetWidth){gp.nativeBarWidth=gp.scroller.offsetWidth-gp.scroller.clientWidth;gp.heightForcer.style.height=cT(go)+"px";gp.sizer.style.marginBottom=-gp.nativeBarWidth+"px";gp.sizer.style.borderRightWidth=cT(go)+"px";gp.scrollbarsClipped=true}}function B(gx,gr){var gs=gx.display,gw=gx.doc;if(gr.editorIsHidden){eB(gx);return false}if(!gr.force&&gr.visible.from>=gs.viewFrom&&gr.visible.to<=gs.viewTo&&(gs.updateLineNumbers==null||gs.updateLineNumbers>=gs.viewTo)&&gs.renderedView==gs.view&&dc(gx)==0){return false}if(d7(gx)){eB(gx);gr.dims=fi(gx)}var gq=gw.first+gw.size;var gu=Math.max(gr.visible.from-gx.options.viewportMargin,gw.first);var gv=Math.min(gq,gr.visible.to+gx.options.viewportMargin);if(gs.viewFrom<gu&&gu-gs.viewFrom<20){gu=Math.max(gw.first,gs.viewFrom)}if(gs.viewTo>gv&&gs.viewTo-gv<20){gv=Math.min(gq,gs.viewTo)}if(a7){gu=aW(gx.doc,gu);gv=d4(gx.doc,gv)}var gp=gu!=gs.viewFrom||gv!=gs.viewTo||gs.lastWrapHeight!=gr.wrapperHeight||gs.lastWrapWidth!=gr.wrapperWidth;cR(gx,gu,gv);gs.viewOffset=bM(fk(gx.doc,gs.viewFrom));gx.display.mover.style.top=gs.viewOffset+"px";var go=dc(gx);if(!gp&&go==0&&!gr.force&&gs.renderedView==gs.view&&(gs.updateLineNumbers==null||gs.updateLineNumbers>=gs.viewTo)){return false}var gt=dP();if(go>4){gs.lineDiv.style.display="none"}cm(gx,gs.updateLineNumbers,gr.dims);if(go>4){gs.lineDiv.style.display=""}gs.renderedView=gs.view;if(gt&&dP()!=gt&&gt.offsetHeight){gt.focus()}d3(gs.cursorDiv);d3(gs.selectionDiv);gs.gutters.style.height=gs.sizer.style.minHeight=0;if(gp){gs.lastWrapHeight=gr.wrapperHeight;gs.lastWrapWidth=gr.wrapperWidth;ei(gx,400)}gs.updateLineNumbers=null;return true}function cj(gp,gs){var go=gs.viewport;for(var gr=true;;gr=false){if(!gr||!gp.options.lineWrapping||gs.oldDisplayWidth==dm(gp)){if(go&&go.top!=null){go={top:Math.min(gp.doc.height+bI(gp.display)-cV(gp),go.top)}}gs.visible=b6(gp.display,gp.doc,go);if(gs.visible.from>=gp.display.viewFrom&&gs.visible.to<=gp.display.viewTo){break}}if(!B(gp,gs)){break}a9(gp);var gq=dB(gp);bC(gp);dA(gp,gq);e2(gp,gq)}gs.signal(gp,"update",gp);if(gp.display.viewFrom!=gp.display.reportedViewFrom||gp.display.viewTo!=gp.display.reportedViewTo){gs.signal(gp,"viewportChange",gp,gp.display.viewFrom,gp.display.viewTo);gp.display.reportedViewFrom=gp.display.viewFrom;gp.display.reportedViewTo=gp.display.viewTo}}function dU(gp,go){var gr=new aI(gp,go);if(B(gp,gr)){a9(gp);cj(gp,gr);var gq=dB(gp);bC(gp);dA(gp,gq);e2(gp,gq);gr.finish()}}function dA(go,gp){go.display.sizer.style.minHeight=gp.docHeight+"px";var gq=gp.docHeight+go.display.barHeight;go.display.heightForcer.style.top=gq+"px";go.display.gutters.style.height=Math.max(gq+cT(go),gp.clientHeight)+"px"}function a9(gv){var gt=gv.display;var gp=gt.lineDiv.offsetTop;for(var gq=0;gq<gt.view.length;gq++){var gw=gt.view[gq],gx;if(gw.hidden){continue}if(dL&&k<8){var gs=gw.node.offsetTop+gw.node.offsetHeight;gx=gs-gp;gp=gs}else{var gr=gw.node.getBoundingClientRect();gx=gr.bottom-gr.top}var gu=gw.line.height-gx;if(gx<2){gx=aY(gt)}if(gu>0.001||gu<-0.001){gb(gw.line,gx);cb(gw.line);if(gw.rest){for(var go=0;go<gw.rest.length;go++){cb(gw.rest[go])}}}}}function cb(go){if(go.widgets){for(var gp=0;gp<go.widgets.length;++gp){go.widgets[gp].height=go.widgets[gp].node.offsetHeight}}}function fi(go){var gt=go.display,gr={},gq={};var gs=gt.gutters.clientLeft;for(var gu=gt.gutters.firstChild,gp=0;gu;gu=gu.nextSibling,++gp){gr[go.options.gutters[gp]]=gu.offsetLeft+gu.clientLeft+gs;gq[go.options.gutters[gp]]=gu.clientWidth}return{fixedPos:dY(gt),gutterTotalWidth:gt.gutters.offsetWidth,gutterLeft:gr,gutterWidth:gq,wrapperWidth:gt.wrapper.clientWidth}}function cm(gz,gq,gy){var gv=gz.display,gB=gz.options.lineNumbers;var go=gv.lineDiv,gA=go.firstChild;function gu(gD){var gC=gD.nextSibling;if(c0&&b7&&gz.display.currentWheelTarget==gD){gD.style.display="none"}else{gD.parentNode.removeChild(gD)}return gC}var gw=gv.view,gt=gv.viewFrom;for(var gr=0;gr<gw.length;gr++){var gs=gw[gr];if(gs.hidden){}else{if(!gs.node||gs.node.parentNode!=go){var gp=aF(gz,gs,gt,gy);go.insertBefore(gp,gA)}else{while(gA!=gs.node){gA=gu(gA)}var gx=gB&&gq!=null&&gq<=gt&&gs.lineNumber;if(gs.changes){if(di(gs.changes,"gutter")>-1){gx=false}ab(gz,gs,gt,gy)}if(gx){d3(gs.lineNumber);gs.lineNumber.appendChild(document.createTextNode(ew(gz.options,gt)))}gA=gs.node.nextSibling}}gt+=gs.size}while(gA){gA=gu(gA)}}function ab(go,gq,gs,gt){for(var gp=0;gp<gq.changes.length;gp++){var gr=gq.changes[gp];if(gr=="text"){fq(go,gq)}else{if(gr=="gutter"){dg(go,gq,gs,gt)}else{if(gr=="class"){dH(gq)}else{if(gr=="widget"){ao(go,gq,gt)}}}}}gq.changes=null}function fM(go){if(go.node==go.text){go.node=f8("div",null,null,"position: relative");if(go.text.parentNode){go.text.parentNode.replaceChild(go.node,go.text)}go.node.appendChild(go.text);if(dL&&k<8){go.node.style.zIndex=2}}return go.node}function eA(gp){var go=gp.bgClass?gp.bgClass+" "+(gp.line.bgClass||""):gp.line.bgClass;if(go){go+=" CodeMirror-linebackground"}if(gp.background){if(go){gp.background.className=go}else{gp.background.parentNode.removeChild(gp.background);gp.background=null}}else{if(go){var gq=fM(gp);gp.background=gq.insertBefore(f8("div",null,go),gq.firstChild)}}}function dW(go,gp){var gq=go.display.externalMeasured;if(gq&&gq.line==gp.line){go.display.externalMeasured=null;gp.measure=gq.measure;return gq.built}return eV(go,gp)}function fq(go,gr){var gp=gr.text.className;var gq=dW(go,gr);if(gr.text==gr.node){gr.node=gq.pre}gr.text.parentNode.replaceChild(gq.pre,gr.text);gr.text=gq.pre;if(gq.bgClass!=gr.bgClass||gq.textClass!=gr.textClass){gr.bgClass=gq.bgClass;gr.textClass=gq.textClass;dH(gr)}else{if(gp){gr.text.className=gp}}}function dH(gp){eA(gp);if(gp.line.wrapClass){fM(gp).className=gp.line.wrapClass}else{if(gp.node!=gp.text){gp.node.className=""}}var go=gp.textClass?gp.textClass+" "+(gp.line.textClass||""):gp.line.textClass;gp.text.className=go||""}function dg(gw,gu,gt,gv){if(gu.gutter){gu.node.removeChild(gu.gutter);gu.gutter=null}if(gu.gutterBackground){gu.node.removeChild(gu.gutterBackground);gu.gutterBackground=null}if(gu.line.gutterClass){var gp=fM(gu);gu.gutterBackground=f8("div",null,"CodeMirror-gutter-background "+gu.line.gutterClass,"left: "+(gw.options.fixedGutter?gv.fixedPos:-gv.gutterTotalWidth)+"px; width: "+gv.gutterTotalWidth+"px");gp.insertBefore(gu.gutterBackground,gu.text)}var gr=gu.line.gutterMarkers;if(gw.options.lineNumbers||gr){var gp=fM(gu);var gs=gu.gutter=f8("div",null,"CodeMirror-gutter-wrapper","left: "+(gw.options.fixedGutter?gv.fixedPos:-gv.gutterTotalWidth)+"px");gw.display.input.setUneditable(gs);gp.insertBefore(gs,gu.text);if(gu.line.gutterClass){gs.className+=" "+gu.line.gutterClass}if(gw.options.lineNumbers&&(!gr||!gr["CodeMirror-linenumbers"])){gu.lineNumber=gs.appendChild(f8("div",ew(gw.options,gt),"CodeMirror-linenumber CodeMirror-gutter-elt","left: "+gv.gutterLeft["CodeMirror-linenumbers"]+"px; width: "+gw.display.lineNumInnerWidth+"px"))}if(gr){for(var gq=0;gq<gw.options.gutters.length;++gq){var go=gw.options.gutters[gq],gx=gr.hasOwnProperty(go)&&gr[go];if(gx){gs.appendChild(f8("div",[gx],"CodeMirror-gutter-elt","left: "+gv.gutterLeft[go]+"px; width: "+gv.gutterWidth[go]+"px"))}}}}}function ao(go,gp,gs){if(gp.alignable){gp.alignable=null}for(var gr=gp.node.firstChild,gq;gr;gr=gq){var gq=gr.nextSibling;if(gr.className=="CodeMirror-linewidget"){gp.node.removeChild(gr)}}fy(go,gp,gs)}function aF(go,gq,gr,gs){var gp=dW(go,gq);gq.text=gq.node=gp.pre;if(gp.bgClass){gq.bgClass=gp.bgClass}if(gp.textClass){gq.textClass=gp.textClass}dH(gq);dg(go,gq,gr,gs);fy(go,gq,gs);return gq.node}function fy(go,gq,gr){gd(go,gq.line,gq,gr,true);if(gq.rest){for(var gp=0;gp<gq.rest.length;gp++){gd(go,gq.rest[gp],gq,gr,false)}}}function gd(gw,gx,gt,gv,gr){if(!gx.widgets){return}var go=fM(gt);for(var gq=0,gu=gx.widgets;gq<gu.length;++gq){var gs=gu[gq],gp=f8("div",[gs.node],"CodeMirror-linewidget");if(!gs.handleMouseEvents){gp.setAttribute("cm-ignore-events","true")}bF(gs,gp,gt,gv);gw.display.input.setUneditable(gp);if(gr&&gs.above){go.insertBefore(gp,gt.gutter||gt.text)}else{go.appendChild(gp)}ae(gs,"redraw")}}function bF(gr,gq,go,gs){if(gr.noHScroll){(go.alignable||(go.alignable=[])).push(gq);var gp=gs.wrapperWidth;gq.style.left=gs.fixedPos+"px";if(!gr.coverGutter){gp-=gs.gutterTotalWidth;gq.style.paddingLeft=gs.gutterTotalWidth+"px"}gq.style.width=gp+"px"}if(gr.coverGutter){gq.style.zIndex=5;gq.style.position="relative";if(!gr.noHScroll){gq.style.marginLeft=-gs.gutterTotalWidth+"px"}}}var W=H.Pos=function(go,gp){if(!(this instanceof W)){return new W(go,gp)}this.line=go;this.ch=gp};var cf=H.cmpPos=function(gp,go){return gp.line-go.line||gp.ch-go.ch};function ci(go){return W(go.line,go.ch)}function bx(gp,go){return cf(gp,go)<0?go:gp}function ar(gp,go){return cf(gp,go)<0?gp:go}function r(go){if(!go.state.focused){go.display.input.focus();cB(go)}}function aj(go){return go.options.readOnly||go.doc.cantEdit}var bm=null;function f4(gC,gs,gq,gp,gB){var gA=gC.doc;gC.display.shift=false;if(!gp){gp=gA.sel}var gr=gC.state.pasteIncoming||gB=="paste";var gv=gA.splitLines(gs),go=null;if(gr&&gp.ranges.length>1){if(bm&&bm.join("\n")==gs){if(gp.ranges.length%bm.length==0){go=[];for(var gt=0;gt<bm.length;gt++){go.push(gA.splitLines(bm[gt]))}}}else{if(gv.length==gp.ranges.length){go=bS(gv,function(gD){return[gD]})}}}for(var gt=gp.ranges.length-1;gt>=0;gt--){var gu=gp.ranges[gt];var gz=gu.from(),gy=gu.to();if(gu.empty()){if(gq&&gq>0){gz=W(gz.line,gz.ch-gq)}else{if(gC.state.overwrite&&!gr){gy=W(gy.line,Math.min(fk(gA,gy.line).text.length,gy.ch+fL(gv).length))}}}var gw=gC.curOp.updateInput;var gx={from:gz,to:gy,text:go?go[gt%go.length]:gv,origin:gB||(gr?"paste":gC.state.cutIncoming?"cut":"+input")};bg(gC.doc,gx);ae(gC,"inputRead",gC,gx)}if(gs&&!gr){f1(gC,gs)}fK(gC);gC.curOp.updateInput=gw;gC.curOp.typing=true;gC.state.pasteIncoming=gC.state.cutIncoming=false}function ba(gq,go){var gp=gq.clipboardData&&gq.clipboardData.getData("text/plain");if(gp){gq.preventDefault();if(!aj(go)&&!go.options.disableInput){cM(go,function(){f4(go,gp,0,null,"paste")})}return true}}function f1(go,gs){if(!go.options.electricChars||!go.options.smartIndent){return}var gt=go.doc.sel;for(var gr=gt.ranges.length-1;gr>=0;gr--){var gp=gt.ranges[gr];if(gp.head.ch>100||(gr&&gt.ranges[gr-1].head.line==gp.head.line)){continue}var gu=go.getModeAt(gp.head);var gv=false;if(gu.electricChars){for(var gq=0;gq<gu.electricChars.length;gq++){if(gs.indexOf(gu.electricChars.charAt(gq))>-1){gv=ad(go,gp.head.line,"smart");break}}}else{if(gu.electricInput){if(gu.electricInput.test(fk(go.doc,gp.head.line).text.slice(0,gp.head.ch))){gv=ad(go,gp.head.line,"smart")}}}if(gv){ae(go,"electricInput",go,gp.head.line)}}}function dk(go){var gt=[],gq=[];for(var gr=0;gr<go.doc.sel.ranges.length;gr++){var gp=go.doc.sel.ranges[gr].head.line;var gs={anchor:W(gp,0),head:W(gp+1,0)};gq.push(gs);gt.push(go.getRange(gs.anchor,gs.head))}return{text:gt,ranges:gq}}function fU(go){go.setAttribute("autocorrect","off");go.setAttribute("autocapitalize","off");go.setAttribute("spellcheck","false")}function Y(go){this.cm=go;this.prevInput="";this.pollingFast=false;this.polling=new gn();this.inaccurateSelection=false;this.hasSelection=false;this.composing=null}function aX(){var go=f8("textarea",null,null,"position: absolute; padding: 0; width: 1px; height: 1em; outline: none");var gp=f8("div",[go],null,"overflow: hidden; position: relative; width: 3px; height: 0px;");if(c0){go.style.width="1000px"}else{go.setAttribute("wrap","off")}if(e5){go.style.border="1px solid black"}fU(go);return gp}Y.prototype=aN({init:function(gq){var gp=this,go=this.cm;var gt=this.wrapper=aX();var gr=this.textarea=gt.firstChild;gq.wrapper.insertBefore(gt,gq.wrapper.firstChild);if(e5){gr.style.width="0px"}bX(gr,"input",function(){if(dL&&k>=9&&gp.hasSelection){gp.hasSelection=null}gp.poll()});bX(gr,"paste",function(gu){if(ba(gu,go)){return true}go.state.pasteIncoming=true;gp.fastPoll()});function gs(gv){if(go.somethingSelected()){bm=go.getSelections();if(gp.inaccurateSelection){gp.prevInput="";gp.inaccurateSelection=false;gr.value=bm.join("\n");dM(gr)}}else{if(!go.options.lineWiseCopyCut){return}else{var gu=dk(go);bm=gu.text;if(gv.type=="cut"){go.setSelections(gu.ranges,null,Z)}else{gp.prevInput="";gr.value=gu.text.join("\n");dM(gr)}}}if(gv.type=="cut"){go.state.cutIncoming=true}}bX(gr,"cut",gs);bX(gr,"copy",gs);bX(gq.scroller,"paste",function(gu){if(bb(gq,gu)){return}go.state.pasteIncoming=true;gp.focus()});bX(gq.lineSpace,"selectstart",function(gu){if(!bb(gq,gu)){cG(gu)}});bX(gr,"compositionstart",function(){var gu=go.getCursor("from");if(gp.composing){gp.composing.range.clear()}gp.composing={start:gu,range:go.markText(gu,go.getCursor("to"),{className:"CodeMirror-composing"})}});bX(gr,"compositionend",function(){if(gp.composing){gp.poll();gp.composing.range.clear();gp.composing=null}})},prepareSelection:function(){var gp=this.cm,gt=gp.display,gs=gp.doc;var go=fN(gp);if(gp.options.moveInputWithCursor){var gu=dV(gp,gs.sel.primary().head,"div");var gq=gt.wrapper.getBoundingClientRect(),gr=gt.lineDiv.getBoundingClientRect();go.teTop=Math.max(0,Math.min(gt.wrapper.clientHeight-10,gu.top+gr.top-gq.top));go.teLeft=Math.max(0,Math.min(gt.wrapper.clientWidth-10,gu.left+gr.left-gq.left))}return go},showSelection:function(gq){var go=this.cm,gp=go.display;bR(gp.cursorDiv,gq.cursors);bR(gp.selectionDiv,gq.selection);if(gq.teTop!=null){this.wrapper.style.top=gq.teTop+"px";this.wrapper.style.left=gq.teLeft+"px"}},reset:function(gs){if(this.contextMenuPending){return}var gp,gr,go=this.cm,gu=go.doc;if(go.somethingSelected()){this.prevInput="";var gq=gu.sel.primary();gp=da&&(gq.to().line-gq.from().line>100||(gr=go.getSelection()).length>1000);var gt=gp?"-":gr||go.getSelection();this.textarea.value=gt;if(go.state.focused){dM(this.textarea)}if(dL&&k>=9){this.hasSelection=gt}}else{if(!gs){this.prevInput=this.textarea.value="";if(dL&&k>=9){this.hasSelection=null}}}this.inaccurateSelection=gp},getField:function(){return this.textarea},supportsTouch:function(){return false},focus:function(){if(this.cm.options.readOnly!="nocursor"&&(!ej||dP()!=this.textarea)){try{this.textarea.focus()}catch(go){}}},blur:function(){this.textarea.blur()},resetPosition:function(){this.wrapper.style.top=this.wrapper.style.left=0},receivedFocus:function(){this.slowPoll()},slowPoll:function(){var go=this;if(go.pollingFast){return}go.polling.set(this.cm.options.pollInterval,function(){go.poll();if(go.cm.state.focused){go.slowPoll()}})},fastPoll:function(){var gp=false,go=this;go.pollingFast=true;function gq(){var gr=go.poll();if(!gr&&!gp){gp=true;go.polling.set(60,gq)}else{go.pollingFast=false;go.slowPoll()}}go.polling.set(20,gq)},poll:function(){var go=this.cm,gr=this.textarea,gs=this.prevInput;if(this.contextMenuPending||!go.state.focused||(bs(gr)&&!gs&&!this.composing)||aj(go)||go.options.disableInput||go.state.keySeq){return false}var gu=gr.value;if(gu==gs&&!go.somethingSelected()){return false}if(dL&&k>=9&&this.hasSelection===gu||b7&&/[\uf700-\uf7ff]/.test(gu)){go.display.input.reset();return false}if(go.doc.sel==go.display.selForContextMenu){var gt=gu.charCodeAt(0);if(gt==8203&&!gs){gs="\u200b"}if(gt==8666){this.reset();return this.cm.execCommand("undo")}}var gv=0,gp=Math.min(gs.length,gu.length);while(gv<gp&&gs.charCodeAt(gv)==gu.charCodeAt(gv)){++gv}var gq=this;cM(go,function(){f4(go,gu.slice(gv),gs.length-gv,null,gq.composing?"*compose":null);if(gu.length>1000||gu.indexOf("\n")>-1){gr.value=gq.prevInput=""}else{gq.prevInput=gu}if(gq.composing){gq.composing.range.clear();gq.composing.range=go.markText(gq.composing.start,go.getCursor("to"),{className:"CodeMirror-composing"})}});return true},ensurePolled:function(){if(this.pollingFast&&this.poll()){this.pollingFast=false}},onKeyPress:function(){if(dL&&k>=9){this.hasSelection=null}this.fastPoll()},onContextMenu:function(gt){var gy=this,gz=gy.cm,gv=gz.display,gp=gy.textarea;var gx=cn(gz,gt),go=gv.scroller.scrollTop;if(!gx||d5){return}var gs=gz.options.resetSelectionOnContextMenu;if(gs&&gz.doc.sel.contains(gx)==-1){c2(gz,bU)(gz.doc,eW(gx),Z)}var gu=gp.style.cssText;gy.wrapper.style.position="absolute";gp.style.cssText="position: fixed; width: 30px; height: 30px; top: "+(gt.clientY-5)+"px; left: "+(gt.clientX-5)+"px; z-index: 1000; background: "+(dL?"rgba(255, 255, 255, .05)":"transparent")+"; outline: none; border-width: 0; outline: none; overflow: hidden; opacity: .05; filter: alpha(opacity=5);";if(c0){var gA=window.scrollY}gv.input.focus();if(c0){window.scrollTo(null,gA)}gv.input.reset();if(!gz.somethingSelected()){gp.value=gy.prevInput=" "}gy.contextMenuPending=true;gv.selForContextMenu=gz.doc.sel;clearTimeout(gv.detectingSelectAll);function gr(){if(gp.selectionStart!=null){var gB=gz.somethingSelected();var gC="\u200b"+(gB?gp.value:"");gp.value="\u21da";gp.value=gC;gy.prevInput=gB?"":"\u200b";gp.selectionStart=1;gp.selectionEnd=gC.length;gv.selForContextMenu=gz.doc.sel}}function gw(){gy.contextMenuPending=false;gy.wrapper.style.position="relative";gp.style.cssText=gu;if(dL&&k<9){gv.scrollbars.setScrollTop(gv.scroller.scrollTop=go)}if(gp.selectionStart!=null){if(!dL||(dL&&k<9)){gr()}var gB=0,gC=function(){if(gv.selForContextMenu==gz.doc.sel&&gp.selectionStart==0&&gp.selectionEnd>0&&gy.prevInput=="\u200b"){c2(gz,eH.selectAll)(gz)}else{if(gB++<10){gv.detectingSelectAll=setTimeout(gC,500)}else{gv.input.reset()}}};gv.detectingSelectAll=setTimeout(gC,200)}}if(dL&&k>=9){gr()}if(gf){ev(gt);var gq=function(){eg(window,"mouseup",gq);setTimeout(gw,20)};bX(window,"mouseup",gq)}else{setTimeout(gw,50)}},readOnlyChanged:function(go){if(!go){this.reset()}},setUneditable:f0,needsContentAttribute:false},Y.prototype);function dw(go){this.cm=go;this.lastAnchorNode=this.lastAnchorOffset=this.lastFocusNode=this.lastFocusOffset=null;this.polling=new gn();this.gracePeriod=false}dw.prototype=aN({init:function(gr){var gq=this,go=gq.cm;var gs=gq.div=gr.lineDiv;fU(gs);bX(gs,"paste",function(gt){ba(gt,go)});bX(gs,"compositionstart",function(gx){var gw=gx.data;gq.composing={sel:go.doc.sel,data:gw,startData:gw};if(!gw){return}var gu=go.doc.sel.primary();var gt=go.getLine(gu.head.line);var gv=gt.indexOf(gw,Math.max(0,gu.head.ch-gw.length));if(gv>-1&&gv<=gu.head.ch){gq.composing.sel=eW(W(gu.head.line,gv),W(gu.head.line,gv+gw.length))}});bX(gs,"compositionupdate",function(gt){gq.composing.data=gt.data});bX(gs,"compositionend",function(gu){var gt=gq.composing;if(!gt){return}if(gu.data!=gt.startData&&!/\u200b/.test(gu.data)){gt.data=gu.data}setTimeout(function(){if(!gt.handled){gq.applyComposition(gt)}if(gq.composing==gt){gq.composing=null}},50)});bX(gs,"touchstart",function(){gq.forceCompositionEnd()});bX(gs,"input",function(){if(gq.composing){return}if(aj(go)||!gq.pollContent()){cM(gq.cm,function(){ah(go)})}});function gp(gw){if(go.somethingSelected()){bm=go.getSelections();if(gw.type=="cut"){go.replaceSelection("",null,"cut")}}else{if(!go.options.lineWiseCopyCut){return}else{var gu=dk(go);bm=gu.text;if(gw.type=="cut"){go.operation(function(){go.setSelections(gu.ranges,0,Z);go.replaceSelection("",null,"cut")})}}}if(gw.clipboardData&&!e5){gw.preventDefault();gw.clipboardData.clearData();gw.clipboardData.setData("text/plain",bm.join("\n"))}else{var gv=aX(),gx=gv.firstChild;go.display.lineSpace.insertBefore(gv,go.display.lineSpace.firstChild);gx.value=bm.join("\n");var gt=document.activeElement;dM(gx);setTimeout(function(){go.display.lineSpace.removeChild(gv);gt.focus()},50)}}bX(gs,"copy",gp);bX(gs,"cut",gp)},prepareSelection:function(){var go=fN(this.cm,false);go.focus=this.cm.state.focused;return go},showSelection:function(go){if(!go||!this.cm.display.view.length){return}if(go.focus){this.showPrimarySelection()}this.showMultipleSelections(go)},showPrimarySelection:function(){var gs=window.getSelection(),gv=this.cm.doc.sel.primary();var gt=az(this.cm,gs.anchorNode,gs.anchorOffset);var gx=az(this.cm,gs.focusNode,gs.focusOffset);if(gt&&!gt.bad&&gx&&!gx.bad&&cf(ar(gt,gx),gv.from())==0&&cf(bx(gt,gx),gv.to())==0){return}var gr=cz(this.cm,gv.from());var gw=cz(this.cm,gv.to());if(!gr&&!gw){return}var gz=this.cm.display.view;var gu=gs.rangeCount&&gs.getRangeAt(0);if(!gr){gr={node:gz[0].measure.map[2],offset:0}}else{if(!gw){var gq=gz[gz.length-1].measure;var gp=gq.maps?gq.maps[gq.maps.length-1]:gq.map;gw={node:gp[gp.length-1],offset:gp[gp.length-2]-gp[gp.length-3]}}}try{var go=cl(gr.node,gr.offset,gw.offset,gw.node)}catch(gy){}if(go){gs.removeAllRanges();gs.addRange(go);if(gu&&gs.anchorNode==null){gs.addRange(gu)}else{if(co){this.startGracePeriod()}}}this.rememberSelection()},startGracePeriod:function(){var go=this;clearTimeout(this.gracePeriod);this.gracePeriod=setTimeout(function(){go.gracePeriod=false;if(go.selectionChanged()){go.cm.operation(function(){go.cm.curOp.selectionChanged=true})}},20)},showMultipleSelections:function(go){bR(this.cm.display.cursorDiv,go.cursors);bR(this.cm.display.selectionDiv,go.selection)},rememberSelection:function(){var go=window.getSelection();this.lastAnchorNode=go.anchorNode;this.lastAnchorOffset=go.anchorOffset;this.lastFocusNode=go.focusNode;this.lastFocusOffset=go.focusOffset},selectionInEditor:function(){var gp=window.getSelection();if(!gp.rangeCount){return false}var go=gp.getRangeAt(0).commonAncestorContainer;return gg(this.div,go)},focus:function(){if(this.cm.options.readOnly!="nocursor"){this.div.focus()}},blur:function(){this.div.blur()},getField:function(){return this.div},supportsTouch:function(){return true},receivedFocus:function(){var go=this;if(this.selectionInEditor()){this.pollSelection()}else{cM(this.cm,function(){go.cm.curOp.selectionChanged=true})}function gp(){if(go.cm.state.focused){go.pollSelection();go.polling.set(go.cm.options.pollInterval,gp)}}this.polling.set(this.cm.options.pollInterval,gp)},selectionChanged:function(){var go=window.getSelection();return go.anchorNode!=this.lastAnchorNode||go.anchorOffset!=this.lastAnchorOffset||go.focusNode!=this.lastFocusNode||go.focusOffset!=this.lastFocusOffset},pollSelection:function(){if(!this.composing&&!this.gracePeriod&&this.selectionChanged()){var gr=window.getSelection(),go=this.cm;this.rememberSelection();var gp=az(go,gr.anchorNode,gr.anchorOffset);var gq=az(go,gr.focusNode,gr.focusOffset);if(gp&&gq){cM(go,function(){bU(go.doc,eW(gp,gq),Z);if(gp.bad||gq.bad){go.curOp.selectionChanged=true}})}}},pollContent:function(){var gy=this.cm,gI=gy.display,gG=gy.doc.sel.primary();var gH=gG.from(),gs=gG.to();if(gH.line<gI.viewFrom||gs.line>gI.viewTo-1){return false}var gv;if(gH.line==gI.viewFrom||(gv=ds(gy,gH.line))==0){var gt=bN(gI.view[0].line);var gx=gI.view[0].node}else{var gt=bN(gI.view[gv].line);var gx=gI.view[gv-1].node.nextSibling}var gF=ds(gy,gs.line);if(gF==gI.view.length-1){var gA=gI.viewTo-1;var gD=gI.lineDiv.lastChild}else{var gA=bN(gI.view[gF+1].line)-1;var gD=gI.view[gF+1].node.previousSibling}var gJ=gy.doc.splitLines(f5(gy,gx,gD,gt,gA));var gC=ga(gy.doc,W(gt,0),W(gA,fk(gy.doc,gA).text.length));while(gJ.length>1&&gC.length>1){if(fL(gJ)==fL(gC)){gJ.pop();gC.pop();gA--}else{if(gJ[0]==gC[0]){gJ.shift();gC.shift();gt++}else{break}}}var gE=0,gq=0;var gz=gJ[0],gp=gC[0],go=Math.min(gz.length,gp.length);while(gE<go&&gz.charCodeAt(gE)==gp.charCodeAt(gE)){++gE}var gw=fL(gJ),gK=fL(gC);var gr=Math.min(gw.length-(gJ.length==1?gE:0),gK.length-(gC.length==1?gE:0));while(gq<gr&&gw.charCodeAt(gw.length-gq-1)==gK.charCodeAt(gK.length-gq-1)){++gq}gJ[gJ.length-1]=gw.slice(0,gw.length-gq);gJ[0]=gJ[0].slice(gE);var gu=W(gt,gE);var gB=W(gA,gC.length?fL(gC).length-gq:0);if(gJ.length>1||gJ[0]||cf(gu,gB)){a1(gy.doc,gJ,gu,gB,"+input");return true}},ensurePolled:function(){this.forceCompositionEnd()},reset:function(){this.forceCompositionEnd()},forceCompositionEnd:function(){if(!this.composing||this.composing.handled){return}this.applyComposition(this.composing);this.composing.handled=true;this.div.blur();this.div.focus()},applyComposition:function(go){if(aj(this.cm)){c2(this.cm,ah)(this.cm)}else{if(go.data&&go.data!=go.startData){c2(this.cm,f4)(this.cm,go.data,0,go.sel)}}},setUneditable:function(go){go.contentEditable="false"},onKeyPress:function(go){go.preventDefault();if(!aj(this.cm)){c2(this.cm,f4)(this.cm,String.fromCharCode(go.charCode==null?go.keyCode:go.charCode),0)}},readOnlyChanged:function(go){this.div.contentEditable=String(go!="nocursor")},onContextMenu:f0,resetPosition:f0,needsContentAttribute:true},dw.prototype);function cz(gu,gs){var gt=fg(gu,gs.line);if(!gt||gt.hidden){return null}var gw=fk(gu.doc,gs.line);var gp=ct(gt,gw,gs.line);var gq=a(gw),gr="left";if(gq){var go=aG(gq,gs.ch);gr=go%2?"right":"left"}var gv=aL(gp.map,gs.ch,gr);gv.offset=gv.collapse=="right"?gv.end:gv.start;return gv}function ex(gp,go){if(go){gp.bad=true}return gp}function az(go,gr,gt){var gs;if(gr==go.display.lineDiv){gs=go.display.lineDiv.childNodes[gt];if(!gs){return ex(go.clipPos(W(go.display.viewTo-1)),true)}gr=null;gt=0}else{for(gs=gr;;gs=gs.parentNode){if(!gs||gs==go.display.lineDiv){return null}if(gs.parentNode&&gs.parentNode==go.display.lineDiv){break}}}for(var gq=0;gq<go.display.view.length;gq++){var gp=go.display.view[gq];if(gp.node==gs){return aa(gp,gr,gt)}}}function aa(gw,gs,gu){var gq=gw.text.firstChild,gr=false;if(!gs||!gg(gq,gs)){return ex(W(bN(gw.line),0),true)}if(gs==gq){gr=true;gs=gq.childNodes[gu];gu=0;if(!gs){var gC=gw.rest?fL(gw.rest):gw.line;return ex(W(bN(gC),gC.text.length),gr)}}var gt=gs.nodeType==3?gs:null,gA=gs;if(!gt&&gs.childNodes.length==1&&gs.firstChild.nodeType==3){gt=gs.firstChild;if(gu){gu=gt.nodeValue.length}}while(gA.parentNode!=gq){gA=gA.parentNode}var gp=gw.measure,gy=gp.maps;function gv(gF,gK,gH){for(var gJ=-1;gJ<(gy?gy.length:0);gJ++){var gE=gJ<0?gp.map:gy[gJ];for(var gI=0;gI<gE.length;gI+=3){var gG=gE[gI+2];if(gG==gF||gG==gK){var gL=bN(gJ<0?gw.line:gw.rest[gJ]);var gD=gE[gI]+gH;if(gH<0||gG!=gF){gD=gE[gI+(gH?1:0)]}return W(gL,gD)}}}}var gB=gv(gt,gA,gu);if(gB){return ex(gB,gr)}for(var go=gA.nextSibling,gx=gt?gt.nodeValue.length-gu:0;go;go=go.nextSibling){gB=gv(go,go.firstChild,0);if(gB){return ex(W(gB.line,gB.ch-gx),gr)}else{gx+=go.textContent.length}}for(var gz=gA.previousSibling,gx=gu;gz;gz=gz.previousSibling){gB=gv(gz,gz.firstChild,-1);if(gB){return ex(W(gB.line,gB.ch+gx),gr)}else{gx+=go.textContent.length}}}function f5(gw,gu,gv,gr,gp){var gx="",gq=false,go=gw.doc.lineSeparator();function gs(gy){return function(gz){return gz.id==gy}}function gt(gC){if(gC.nodeType==1){var gz=gC.getAttribute("cm-text");if(gz!=null){if(gz==""){gz=gC.textContent.replace(/\u200b/g,"")}gx+=gz;return}var gB=gC.getAttribute("cm-marker"),gy;if(gB){var gD=gw.findMarks(W(gr,0),W(gp+1,0),gs(+gB));if(gD.length&&(gy=gD[0].find())){gx+=ga(gw.doc,gy.from,gy.to).join(go)}return}if(gC.getAttribute("contenteditable")=="false"){return}for(var gA=0;gA<gC.childNodes.length;gA++){gt(gC.childNodes[gA])}if(/^(pre|div|p)$/i.test(gC.nodeName)){gq=true}}else{if(gC.nodeType==3){var gE=gC.nodeValue;if(!gE){return}if(gq){gx+=go;gq=false}gx+=gE}}}for(;;){gt(gu);if(gu==gv){break}gu=gu.nextSibling}return gx}H.inputStyles={textarea:Y,contenteditable:dw};function f9(go,gp){this.ranges=go;this.primIndex=gp}f9.prototype={primary:function(){return this.ranges[this.primIndex]},equals:function(go){if(go==this){return true}if(go.primIndex!=this.primIndex||go.ranges.length!=this.ranges.length){return false}for(var gq=0;gq<this.ranges.length;gq++){var gp=this.ranges[gq],gr=go.ranges[gq];if(cf(gp.anchor,gr.anchor)!=0||cf(gp.head,gr.head)!=0){return false}}return true},deepCopy:function(){for(var go=[],gp=0;gp<this.ranges.length;gp++){go[gp]=new dZ(ci(this.ranges[gp].anchor),ci(this.ranges[gp].head))}return new f9(go,this.primIndex)},somethingSelected:function(){for(var go=0;go<this.ranges.length;go++){if(!this.ranges[go].empty()){return true}}return false},contains:function(gr,go){if(!go){go=gr}for(var gq=0;gq<this.ranges.length;gq++){var gp=this.ranges[gq];if(cf(go,gp.from())>=0&&cf(gr,gp.to())<=0){return gq}}return -1}};function dZ(go,gp){this.anchor=go;this.head=gp}dZ.prototype={from:function(){return ar(this.anchor,this.head)},to:function(){return bx(this.anchor,this.head)},empty:function(){return this.head.line==this.anchor.line&&this.head.ch==this.anchor.ch}};function cw(go,gv){var gq=go[gv];go.sort(function(gy,gx){return cf(gy.from(),gx.from())});gv=di(go,gq);for(var gs=1;gs<go.length;gs++){var gw=go[gs],gp=go[gs-1];if(cf(gp.to(),gw.from())>=0){var gt=ar(gp.from(),gw.from()),gu=bx(gp.to(),gw.to());var gr=gp.empty()?gw.from()==gw.head:gp.from()==gp.head;if(gs<=gv){--gv}go.splice(--gs,2,new dZ(gr?gu:gt,gr?gt:gu))}}return new f9(go,gv)}function eW(go,gp){return new f9([new dZ(go,gp||go)],0)}function c5(go,gp){return Math.max(go.first,Math.min(gp,go.first+go.size-1))}function fO(gp,gq){if(gq.line<gp.first){return W(gp.first,0)}var go=gp.first+gp.size-1;if(gq.line>go){return W(go,fk(gp,go).text.length)}return fx(gq,fk(gp,gq.line).text.length)}function fx(gq,gp){var go=gq.ch;if(go==null||go>gp){return W(gq.line,gp)}else{if(go<0){return W(gq.line,0)}else{return gq}}}function b9(gp,go){return go>=gp.first&&go<gp.first+gp.size}function d1(gq,gr){for(var go=[],gp=0;gp<gr.length;gp++){go[gp]=fO(gq,gr[gp])}return go}function fA(gt,gp,gs,go){if(gt.cm&&gt.cm.display.shift||gt.extend){var gr=gp.anchor;if(go){var gq=cf(gs,gr)<0;if(gq!=(cf(go,gr)<0)){gr=gs;gs=go}else{if(gq!=(cf(gs,go)<0)){gs=go}}}return new dZ(gr,gs)}else{return new dZ(go||gs,gs)}}function f2(gr,gq,go,gp){bU(gr,new f9([fA(gr,gr.sel.primary(),gq,go)],0),gp)}function aw(gt,gs,gq){for(var gp=[],gr=0;gr<gt.sel.ranges.length;gr++){gp[gr]=fA(gt,gt.sel.ranges[gr],gs[gr],null)}var go=cw(gp,gt.sel.primIndex);bU(gt,go,gq)}function e(gs,gr,gp,gq){var go=gs.sel.ranges.slice(0);go[gr]=gp;bU(gs,cw(go,gs.sel.primIndex),gq)}function F(gr,gp,gq,go){bU(gr,eW(gp,gq),go)}function c(gq,go){var gp={ranges:go.ranges,update:function(gr){this.ranges=[];for(var gs=0;gs<gr.length;gs++){this.ranges[gs]=new dZ(fO(gq,gr[gs].anchor),fO(gq,gr[gs].head))}}};aE(gq,"beforeSelectionChange",gq,gp);if(gq.cm){aE(gq.cm,"beforeSelectionChange",gq.cm,gp)}if(gp.ranges!=go.ranges){return cw(gp.ranges,gp.ranges.length-1)}else{return go}}function fc(gs,gr,gp){var go=gs.history.done,gq=fL(go);if(gq&&gq.ranges){go[go.length-1]=gr;et(gs,gr,gp)}else{bU(gs,gr,gp)}}function bU(gq,gp,go){et(gq,gp,go);gh(gq,gq.sel,gq.cm?gq.cm.curOp.id:NaN,go)}function et(gr,gq,gp){if(fn(gr,"beforeSelectionChange")||gr.cm&&fn(gr.cm,"beforeSelectionChange")){gq=c(gr,gq)}var go=gp&&gp.bias||(cf(gq.primary().head,gr.sel.primary().head)<0?-1:1);c9(gr,n(gr,gq,go,true));if(!(gp&&gp.scroll===false)&&gr.cm){fK(gr.cm)}}function c9(gp,go){if(go.equals(gp.sel)){return}gp.sel=go;if(gp.cm){gp.cm.curOp.updateInput=gp.cm.curOp.selectionChanged=true;V(gp.cm)}ae(gp,"cursorActivity",gp)}function eC(go){c9(go,n(go,go.sel,null,false),Z)}function n(gw,go,gt,gu){var gq;for(var gr=0;gr<go.ranges.length;gr++){var gs=go.ranges[gr];var gv=bV(gw,gs.anchor,gt,gu);var gp=bV(gw,gs.head,gt,gu);if(gq||gv!=gs.anchor||gp!=gs.head){if(!gq){gq=go.ranges.slice(0,gr)}gq[gr]=new dZ(gv,gp)}}return gq?cw(gq,go.primIndex):go}function bV(gx,gw,gt,gu){var gy=false,gq=gw;var gr=gt||1;gx.cantEdit=false;search:for(;;){var gz=fk(gx,gq.line);if(gz.markedSpans){for(var gs=0;gs<gz.markedSpans.length;++gs){var go=gz.markedSpans[gs],gp=go.marker;if((go.from==null||(gp.inclusiveLeft?go.from<=gq.ch:go.from<gq.ch))&&(go.to==null||(gp.inclusiveRight?go.to>=gq.ch:go.to>gq.ch))){if(gu){aE(gp,"beforeCursorEnter");if(gp.explicitlyCleared){if(!gz.markedSpans){break}else{--gs;continue}}}if(!gp.atomic){continue}var gv=gp.find(gr<0?-1:1);if(cf(gv,gq)==0){gv.ch+=gr;if(gv.ch<0){if(gv.line>gx.first){gv=fO(gx,W(gv.line-1))}else{gv=null}}else{if(gv.ch>gz.text.length){if(gv.line<gx.first+gx.size-1){gv=W(gv.line+1,0)}else{gv=null}}}if(!gv){if(gy){if(!gu){return bV(gx,gw,gt,true)}gx.cantEdit=true;return W(gx.first,0)}gy=true;gv=gw;gr=-gr}}gq=gv;continue search}}}return gq}}function bC(go){go.display.input.showSelection(go.display.input.prepareSelection())}function fN(gv,go){var gu=gv.doc,gw={};var gt=gw.cursors=document.createDocumentFragment();var gp=gw.selection=document.createDocumentFragment();for(var gr=0;gr<gu.sel.ranges.length;gr++){if(go===false&&gr==gu.sel.primIndex){continue}var gs=gu.sel.ranges[gr];var gq=gs.empty();if(gq||gv.options.showCursorWhenSelecting){A(gv,gs.head,gt)}if(!gq){bD(gv,gs,gp)}}return gw}function A(go,gr,gq){var gt=dV(go,gr,"div",null,null,!go.options.singleCursorHeightPerLine);var gs=gq.appendChild(f8("div","\u00a0","CodeMirror-cursor"));gs.style.left=gt.left+"px";gs.style.top=gt.top+"px";gs.style.height=Math.max(0,gt.bottom-gt.top)*go.options.cursorHeight+"px";if(gt.other){var gp=gq.appendChild(f8("div","\u00a0","CodeMirror-cursor CodeMirror-secondarycursor"));gp.style.display="";gp.style.left=gt.other.left+"px";gp.style.top=gt.other.top+"px";gp.style.height=(gt.other.bottom-gt.other.top)*0.85+"px"}}function bD(gs,gy,gt){var gB=gs.display,gF=gs.doc;var go=document.createDocumentFragment();var gx=e9(gs.display),gr=gx.left;var gC=Math.max(gB.sizerWidth,dm(gs)-gB.sizer.offsetLeft)-gx.right;function gz(gJ,gI,gH,gG){if(gI<0){gI=0}gI=Math.round(gI);gG=Math.round(gG);go.appendChild(f8("div",null,"CodeMirror-selected","position: absolute; left: "+gJ+"px; top: "+gI+"px; width: "+(gH==null?gC-gJ:gH)+"px; height: "+(gG-gI)+"px"))}function gp(gH,gJ,gM){var gI=fk(gF,gH);var gK=gI.text.length;var gN,gG;function gL(gP,gO){return cJ(gs,W(gH,gP),"div",gI,gO)}d6(a(gI),gJ||0,gM==null?gK:gM,function(gV,gU,gO){var gR=gL(gV,"left"),gS,gT,gQ;if(gV==gU){gS=gR;gT=gQ=gR.left}else{gS=gL(gU-1,"right");if(gO=="rtl"){var gP=gR;gR=gS;gS=gP}gT=gR.left;gQ=gS.right}if(gJ==null&&gV==0){gT=gr}if(gS.top-gR.top>3){gz(gT,gR.top,null,gR.bottom);gT=gr;if(gR.bottom<gS.top){gz(gT,gR.bottom,null,gS.top)}}if(gM==null&&gU==gK){gQ=gC}if(!gN||gR.top<gN.top||gR.top==gN.top&&gR.left<gN.left){gN=gR}if(!gG||gS.bottom>gG.bottom||gS.bottom==gG.bottom&&gS.right>gG.right){gG=gS}if(gT<gr+1){gT=gr}gz(gT,gS.top,gQ-gT,gS.bottom)});return{start:gN,end:gG}}var gE=gy.from(),gD=gy.to();if(gE.line==gD.line){gp(gE.line,gE.ch,gD.ch)}else{var gq=fk(gF,gE.line),gv=fk(gF,gD.line);var gu=x(gq)==x(gv);var gw=gp(gE.line,gE.ch,gu?gq.text.length+1:null).end;var gA=gp(gD.line,gu?0:null,gD.ch).start;if(gu){if(gw.top<gA.top-2){gz(gw.right,gw.top,null,gw.bottom);gz(gr,gA.top,gA.left,gA.bottom)}else{gz(gw.right,gw.top,gA.left-gw.right,gw.bottom)}}if(gw.bottom<gA.top){gz(gr,gw.bottom,null,gA.top)}}gt.appendChild(go)}function o(go){if(!go.state.focused){return}var gq=go.display;clearInterval(gq.blinker);var gp=true;gq.cursorDiv.style.visibility="";if(go.options.cursorBlinkRate>0){gq.blinker=setInterval(function(){gq.cursorDiv.style.visibility=(gp=!gp)?"":"hidden"},go.options.cursorBlinkRate)}else{if(go.options.cursorBlinkRate<0){gq.cursorDiv.style.visibility="hidden"}}}function ei(go,gp){if(go.doc.mode.startState&&go.doc.frontier<go.display.viewTo){go.state.highlight.set(gp,cv(cP,go))}}function cP(go){var gs=go.doc;if(gs.frontier<gs.first){gs.frontier=gs.first}if(gs.frontier>=go.display.viewTo){return}var gq=+new Date+go.options.workTime;var gr=b3(gs.mode,dD(go,gs.frontier));var gp=[];gs.iter(gs.frontier,Math.min(gs.first+gs.size,go.display.viewTo+500),function(gt){if(gs.frontier>=go.display.viewFrom){var gw=gt.styles,gA=gt.text.length>go.options.maxHighlightLength;var gy=fE(go,gt,gA?b3(gs.mode,gr):gr,true);gt.styles=gy.styles;var gv=gt.styleClasses,gx=gy.classes;if(gx){gt.styleClasses=gx}else{if(gv){gt.styleClasses=null}}var gz=!gw||gw.length!=gt.styles.length||gv!=gx&&(!gv||!gx||gv.bgClass!=gx.bgClass||gv.textClass!=gx.textClass);for(var gu=0;!gz&&gu<gw.length;++gu){gz=gw[gu]!=gt.styles[gu]}if(gz){gp.push(gs.frontier)}gt.stateAfter=gA?gr:b3(gs.mode,gr)}else{if(gt.text.length<=go.options.maxHighlightLength){dy(go,gt.text,gr)}gt.stateAfter=gs.frontier%5==0?b3(gs.mode,gr):null}++gs.frontier;if(+new Date>gq){ei(go,go.options.workDelay);return true}});if(gp.length){cM(go,function(){for(var gt=0;gt<gp.length;gt++){R(go,gp[gt],"text")}})}}function cy(gu,go,gr){var gp,gs,gt=gu.doc;var gq=gr?-1:go-(gu.doc.mode.innerMode?1000:100);for(var gx=go;gx>gq;--gx){if(gx<=gt.first){return gt.first}var gw=fk(gt,gx-1);if(gw.stateAfter&&(!gr||gx<=gt.frontier)){return gx}var gv=bT(gw.text,null,gu.options.tabSize);if(gs==null||gp>gv){gs=gx-1;gp=gv}}return gs}function dD(go,gu,gp){var gs=go.doc,gr=go.display;if(!gs.mode.startState){return true}var gt=cy(go,gu,gp),gq=gt>gs.first&&fk(gs,gt-1).stateAfter;if(!gq){gq=b0(gs.mode)}else{gq=b3(gs.mode,gq)}gs.iter(gt,gu,function(gv){dy(go,gv.text,gq);var gw=gt==gu-1||gt%5==0||gt>=gr.viewFrom&&gt<gr.viewTo;gv.stateAfter=gw?b3(gs.mode,gq):null;++gt});if(gp){gs.frontier=gt}return gq}function fd(go){return go.lineSpace.offsetTop}function bI(go){return go.mover.offsetHeight-go.lineSpace.offsetHeight}function e9(gr){if(gr.cachedPaddingH){return gr.cachedPaddingH}var gq=bR(gr.measure,f8("pre","x"));var go=window.getComputedStyle?window.getComputedStyle(gq):gq.currentStyle;var gp={left:parseInt(go.paddingLeft),right:parseInt(go.paddingRight)};if(!isNaN(gp.left)&&!isNaN(gp.right)){gr.cachedPaddingH=gp}return gp}function cT(go){return dK-go.display.nativeBarWidth}function dm(go){return go.display.scroller.clientWidth-cT(go)-go.display.barWidth}function cV(go){return go.display.scroller.clientHeight-cT(go)-go.display.barHeight}function ch(gv,gr,gu){var gq=gv.options.lineWrapping;var gs=gq&&dm(gv);if(!gr.measure.heights||gq&&gr.measure.width!=gs){var gt=gr.measure.heights=[];if(gq){gr.measure.width=gs;var gx=gr.text.firstChild.getClientRects();for(var go=0;go<gx.length-1;go++){var gw=gx[go],gp=gx[go+1];if(Math.abs(gw.bottom-gp.bottom)>2){gt.push((gw.bottom+gp.top)/2-gu.top)}}}gt.push(gu.bottom-gu.top)}}function ct(gq,go,gr){if(gq.line==go){return{map:gq.measure.map,cache:gq.measure.cache}}for(var gp=0;gp<gq.rest.length;gp++){if(gq.rest[gp]==go){return{map:gq.measure.maps[gp],cache:gq.measure.caches[gp]}}}for(var gp=0;gp<gq.rest.length;gp++){if(bN(gq.rest[gp])>gr){return{map:gq.measure.maps[gp],cache:gq.measure.caches[gp],before:true}}}}function c1(go,gq){gq=x(gq);var gs=bN(gq);var gp=go.display.externalMeasured=new bv(go.doc,gq,gs);gp.lineN=gs;var gr=gp.built=eV(go,gp);gp.text=gr.pre;bR(go.display.lineMeasure,gr.pre);return gp}function ek(go,gp,gr,gq){return C(go,a4(go,gp),gr,gq)}function fg(go,gq){if(gq>=go.display.viewFrom&&gq<go.display.viewTo){return go.display.view[ds(go,gq)]}var gp=go.display.externalMeasured;if(gp&&gq>=gp.lineN&&gq<gp.lineN+gp.size){return gp}}function a4(go,gq){var gr=bN(gq);var gp=fg(go,gr);if(gp&&!gp.text){gp=null}else{if(gp&&gp.changes){ab(go,gp,gr,fi(go));go.curOp.forceUpdate=true}}if(!gp){gp=c1(go,gq)}var gs=ct(gp,gq,gr);return{line:gq,view:gp,rect:null,map:gs.map,cache:gs.cache,before:gs.before,hasHeights:false}}function C(go,gu,gs,gp,gr){if(gu.before){gs=-1}var gq=gs+(gp||""),gt;if(gu.cache.hasOwnProperty(gq)){gt=gu.cache[gq]}else{if(!gu.rect){gu.rect=gu.view.text.getBoundingClientRect()}if(!gu.hasHeights){ch(go,gu.view,gu.rect);gu.hasHeights=true}gt=j(go,gu,gs,gp);if(!gt.bogus){gu.cache[gq]=gt}}return{left:gt.left,right:gt.right,top:gr?gt.rtop:gt.top,bottom:gr?gt.rbottom:gt.bottom}}var eF={left:0,right:0,top:0,bottom:0};function aL(gp,go,gv){var gr,gq,gt,gw;for(var gu=0;gu<gp.length;gu+=3){var gs=gp[gu],gx=gp[gu+1];if(go<gs){gq=0;gt=1;gw="left"}else{if(go<gx){gq=go-gs;gt=gq+1}else{if(gu==gp.length-3||go==gx&&gp[gu+3]>go){gt=gx-gs;gq=gt-1;if(go>=gx){gw="right"}}}}if(gq!=null){gr=gp[gu+2];if(gs==gx&&gv==(gr.insertLeft?"left":"right")){gw=gv}if(gv=="left"&&gq==0){while(gu&&gp[gu-2]==gp[gu-3]&&gp[gu-1].insertLeft){gr=gp[(gu-=3)+2];gw="left"}}if(gv=="right"&&gq==gx-gs){while(gu<gp.length-3&&gp[gu+3]==gp[gu+4]&&!gp[gu+5].insertLeft){gr=gp[(gu+=3)+2];gw="right"}}break}}return{node:gr,start:gq,end:gt,collapse:gw,coverStart:gs,coverEnd:gx}}function j(gv,gF,gy,gt){var gw=aL(gF.map,gy,gt);var gD=gw.node,gs=gw.start,gr=gw.end,go=gw.collapse;var gp;if(gD.nodeType==3){for(var gE=0;gE<4;gE++){while(gs&&fu(gF.line.text.charAt(gw.coverStart+gs))){--gs}while(gw.coverStart+gr<gw.coverEnd&&fu(gF.line.text.charAt(gw.coverStart+gr))){++gr}if(dL&&k<9&&gs==0&&gr==gw.coverEnd-gw.coverStart){gp=gD.parentNode.getBoundingClientRect()}else{if(dL&&gv.options.lineWrapping){var gq=cl(gD,gs,gr).getClientRects();if(gq.length){gp=gq[gt=="right"?gq.length-1:0]}else{gp=eF}}else{gp=cl(gD,gs,gr).getBoundingClientRect()||eF}}if(gp.left||gp.right||gs==0){break}gr=gs;gs=gs-1;go="right"}if(dL&&k<11){gp=eR(gv.display.measure,gp)}}else{if(gs>0){go=gt="right"}var gq;if(gv.options.lineWrapping&&(gq=gD.getClientRects()).length>1){gp=gq[gt=="right"?gq.length-1:0]}else{gp=gD.getBoundingClientRect()}}if(dL&&k<9&&!gs&&(!gp||!gp.left&&!gp.right)){var gu=gD.parentNode.getClientRects()[0];if(gu){gp={left:gu.left,right:gu.left+dE(gv.display),top:gu.top,bottom:gu.bottom}}else{gp=eF}}var gB=gp.top-gF.rect.top,gz=gp.bottom-gF.rect.top;var gH=(gB+gz)/2;var gG=gF.view.measure.heights;for(var gE=0;gE<gG.length-1;gE++){if(gH<gG[gE]){break}}var gC=gE?gG[gE-1]:0,gA=gG[gE];var gx={left:(go=="right"?gp.right:gp.left)-gF.rect.left,right:(go=="left"?gp.left:gp.right)-gF.rect.left,top:gC,bottom:gA};if(!gp.left&&!gp.right){gx.bogus=true}if(!gv.options.singleCursorHeightPerLine){gx.rtop=gB;gx.rbottom=gz}return gx}function eR(gq,gr){if(!window.screen||screen.logicalXDPI==null||screen.logicalXDPI==screen.deviceXDPI||!aK(gq)){return gr}var gp=screen.logicalXDPI/screen.deviceXDPI;var go=screen.logicalYDPI/screen.deviceYDPI;return{left:gr.left*gp,right:gr.right*gp,top:gr.top*go,bottom:gr.bottom*go}}function au(gp){if(gp.measure){gp.measure.cache={};gp.measure.heights=null;if(gp.rest){for(var go=0;go<gp.rest.length;go++){gp.measure.caches[go]={}}}}}function aO(go){go.display.externalMeasure=null;d3(go.display.lineMeasure);for(var gp=0;gp<go.display.view.length;gp++){au(go.display.view[gp])}}function ak(go){aO(go);go.display.cachedCharWidth=go.display.cachedTextHeight=go.display.cachedPaddingH=null;if(!go.options.lineWrapping){go.display.maxLineChanged=true}go.display.lineNumChars=null}function cu(){return window.pageXOffset||(document.documentElement||document.body).scrollLeft}function cs(){return window.pageYOffset||(document.documentElement||document.body).scrollTop}function eU(gu,gr,gt,gp){if(gr.widgets){for(var gq=0;gq<gr.widgets.length;++gq){if(gr.widgets[gq].above){var gw=cY(gr.widgets[gq]);gt.top+=gw;gt.bottom+=gw}}}if(gp=="line"){return gt}if(!gp){gp="local"}var gs=bM(gr);if(gp=="local"){gs+=fd(gu.display)}else{gs-=gu.display.viewOffset}if(gp=="page"||gp=="window"){var go=gu.display.lineSpace.getBoundingClientRect();gs+=go.top+(gp=="window"?0:cs());var gv=go.left+(gp=="window"?0:cu());gt.left+=gv;gt.right+=gv}gt.top+=gs;gt.bottom+=gs;return gt}function gk(gp,gs,gq){if(gq=="div"){return gs}var gu=gs.left,gt=gs.top;if(gq=="page"){gu-=cu();gt-=cs()}else{if(gq=="local"||!gq){var gr=gp.display.sizer.getBoundingClientRect();gu+=gr.left;gt+=gr.top}}var go=gp.display.lineSpace.getBoundingClientRect();return{left:gu-go.left,top:gt-go.top}}function cJ(go,gs,gr,gq,gp){if(!gq){gq=fk(go.doc,gs.line)}return eU(go,gq,ek(go,gq,gs.ch,gp),gr)}function dV(gx,gw,gq,gu,gz,gv){gu=gu||fk(gx.doc,gw.line);if(!gz){gz=a4(gx,gu)}function gs(gC,gB){var gA=C(gx,gz,gC,gB?"right":"left",gv);if(gB){gA.left=gA.right}else{gA.right=gA.left}return eU(gx,gu,gA,gq)}function gy(gD,gA){var gB=gt[gA],gC=gB.level%2;if(gD==dz(gB)&&gA&&gB.level<gt[gA-1].level){gB=gt[--gA];gD=gj(gB)-(gB.level%2?0:1);gC=true}else{if(gD==gj(gB)&&gA<gt.length-1&&gB.level<gt[gA+1].level){gB=gt[++gA];gD=dz(gB)-gB.level%2;gC=false}}if(gC&&gD==gB.to&&gD>gB.from){return gs(gD-1)}return gs(gD,gC)}var gt=a(gu),go=gw.ch;if(!gt){return gs(go)}var gp=aG(gt,go);var gr=gy(go,gp);if(e6!=null){gr.other=gy(go,e6)}return gr}function dI(go,gs){var gr=0,gs=fO(go.doc,gs);if(!go.options.lineWrapping){gr=dE(go.display)*gs.ch}var gp=fk(go.doc,gs.line);var gq=bM(gp)+fd(go.display);return{left:gr,right:gr,top:gq,bottom:gq+gp.height}}function f7(go,gp,gq,gs){var gr=W(go,gp);gr.xRel=gs;if(gq){gr.outside=true}return gr}function fT(gv,gs,gr){var gu=gv.doc;gr+=gv.display.viewOffset;if(gr<0){return f7(gu.first,0,true,-1)}var gq=bG(gu,gr),gw=gu.first+gu.size-1;if(gq>gw){return f7(gu.first+gu.size-1,fk(gu,gw).text.length,true,1)}if(gs<0){gs=0}var gp=fk(gu,gq);for(;;){var gx=cZ(gv,gp,gq,gs,gr);var gt=ey(gp);var go=gt&&gt.find(0,true);if(gt&&(gx.ch>go.from.ch||gx.ch==go.from.ch&&gx.xRel>0)){gq=bN(gp=go.to.line)}else{return gx}}}function cZ(gy,gq,gB,gA,gz){var gx=gz-bM(gq);var gu=false,gH=2*gy.display.wrapper.clientWidth;var gE=a4(gy,gq);function gL(gN){var gO=dV(gy,W(gB,gN),"line",gq,gE);gu=true;if(gx>gO.bottom){return gO.left-gH}else{if(gx<gO.top){return gO.left+gH}else{gu=false}}return gO.left}var gD=a(gq),gG=gq.text.length;var gI=cE(gq),gr=cS(gq);var gF=gL(gI),go=gu,gp=gL(gr),gt=gu;if(gA>gp){return f7(gB,gr,gt,1)}for(;;){if(gD?gr==gI||gr==u(gq,gI,1):gr-gI<=1){var gC=gA<gF||gA-gF<=gp-gA?gI:gr;var gK=gA-(gC==gI?gF:gp);while(fu(gq.text.charAt(gC))){++gC}var gw=f7(gB,gC,gC==gI?go:gt,gK<-1?-1:gK>1?1:0);return gw}var gv=Math.ceil(gG/2),gM=gI+gv;if(gD){gM=gI;for(var gJ=0;gJ<gv;++gJ){gM=u(gq,gM,1)}}var gs=gL(gM);if(gs>gA){gr=gM;gp=gs;if(gt=gu){gp+=1000}gG=gv}else{gI=gM;gF=gs;go=gu;gG-=gv}}}var aH;function aY(gq){if(gq.cachedTextHeight!=null){return gq.cachedTextHeight}if(aH==null){aH=f8("pre");for(var gp=0;gp<49;++gp){aH.appendChild(document.createTextNode("x"));aH.appendChild(f8("br"))}aH.appendChild(document.createTextNode("x"))}bR(gq.measure,aH);var go=aH.offsetHeight/50;if(go>3){gq.cachedTextHeight=go}d3(gq.measure);return go||1}function dE(gs){if(gs.cachedCharWidth!=null){return gs.cachedCharWidth}var go=f8("span","xxxxxxxxxx");var gr=f8("pre",[go]);bR(gs.measure,gr);var gq=go.getBoundingClientRect(),gp=(gq.right-gq.left)/10;if(gp>2){gs.cachedCharWidth=gp}return gp||10}var bp=null;var ea=0;function cI(go){go.curOp={cm:go,viewChanged:false,startHeight:go.doc.height,forceUpdate:false,updateInput:null,typing:false,changeObjs:null,cursorActivityHandlers:null,cursorActivityCalled:0,selectionChanged:false,updateMaxLine:false,scrollLeft:null,scrollTop:null,scrollToPos:null,focus:false,id:++ea};if(bp){bp.ops.push(go.curOp)}else{go.curOp.ownsGroup=bp={ops:[go.curOp],delayedCallbacks:[]}}}function cU(gr){var gq=gr.delayedCallbacks,gp=0;do{for(;gp<gq.length;gp++){gq[gp].call(null)}for(var go=0;go<gr.ops.length;go++){var gs=gr.ops[go];if(gs.cursorActivityHandlers){while(gs.cursorActivityCalled<gs.cursorActivityHandlers.length){gs.cursorActivityHandlers[gs.cursorActivityCalled++].call(null,gs.cm)}}}}while(gp<gq.length)}function am(go){var gr=go.curOp,gq=gr.ownsGroup;if(!gq){return}try{cU(gq)}finally{bp=null;for(var gp=0;gp<gq.ops.length;gp++){gq.ops[gp].cm.curOp=null}cK(gq)}}function cK(gq){var gp=gq.ops;for(var go=0;go<gp.length;go++){b5(gp[go])}for(var go=0;go<gp.length;go++){aq(gp[go])}for(var go=0;go<gp.length;go++){b2(gp[go])}for(var go=0;go<gp.length;go++){ap(gp[go])}for(var go=0;go<gp.length;go++){e4(gp[go])}}function b5(gq){var go=gq.cm,gp=go.display;J(go);if(gq.updateMaxLine){h(go)}gq.mustUpdate=gq.viewChanged||gq.forceUpdate||gq.scrollTop!=null||gq.scrollToPos&&(gq.scrollToPos.from.line<gp.viewFrom||gq.scrollToPos.to.line>=gp.viewTo)||gp.maxLineChanged&&go.options.lineWrapping;gq.update=gq.mustUpdate&&new aI(go,gq.mustUpdate&&{top:gq.scrollTop,ensure:gq.scrollToPos},gq.forceUpdate)}function aq(go){go.updatedDisplay=go.mustUpdate&&B(go.cm,go.update)}function b2(gq){var go=gq.cm,gp=go.display;if(gq.updatedDisplay){a9(go)}gq.barMeasure=dB(go);if(gp.maxLineChanged&&!go.options.lineWrapping){gq.adjustWidthTo=ek(go,gp.maxLine,gp.maxLine.text.length).left+3;go.display.sizerWidth=gq.adjustWidthTo;gq.barMeasure.scrollWidth=Math.max(gp.scroller.clientWidth,gp.sizer.offsetLeft+gq.adjustWidthTo+cT(go)+go.display.barWidth);gq.maxScrollLeft=Math.max(0,gp.sizer.offsetLeft+gq.adjustWidthTo-dm(go))}if(gq.updatedDisplay||gq.selectionChanged){gq.preparedSelection=gp.input.prepareSelection()}}function ap(gp){var go=gp.cm;if(gp.adjustWidthTo!=null){go.display.sizer.style.minWidth=gp.adjustWidthTo+"px";if(gp.maxScrollLeft<go.doc.scrollLeft){bE(go,Math.min(go.display.scroller.scrollLeft,gp.maxScrollLeft),true)}go.display.maxLineChanged=false}if(gp.preparedSelection){go.display.input.showSelection(gp.preparedSelection)}if(gp.updatedDisplay){dA(go,gp.barMeasure)}if(gp.updatedDisplay||gp.startHeight!=go.doc.height){e2(go,gp.barMeasure)}if(gp.selectionChanged){o(go)}if(go.state.focused&&gp.updateInput){go.display.input.reset(gp.typing)}if(gp.focus&&gp.focus==dP()&&(!document.hasFocus||document.hasFocus())){r(gp.cm)}}function e4(gv){var go=gv.cm,gt=go.display,gs=go.doc;if(gv.updatedDisplay){cj(go,gv.update)}if(gt.wheelStartX!=null&&(gv.scrollTop!=null||gv.scrollLeft!=null||gv.scrollToPos)){gt.wheelStartX=gt.wheelStartY=null}if(gv.scrollTop!=null&&(gt.scroller.scrollTop!=gv.scrollTop||gv.forceScroll)){gs.scrollTop=Math.max(0,Math.min(gt.scroller.scrollHeight-gt.scroller.clientHeight,gv.scrollTop));gt.scrollbars.setScrollTop(gs.scrollTop);gt.scroller.scrollTop=gs.scrollTop}if(gv.scrollLeft!=null&&(gt.scroller.scrollLeft!=gv.scrollLeft||gv.forceScroll)){gs.scrollLeft=Math.max(0,Math.min(gt.scroller.scrollWidth-dm(go),gv.scrollLeft));gt.scrollbars.setScrollLeft(gs.scrollLeft);gt.scroller.scrollLeft=gs.scrollLeft;eI(go)}if(gv.scrollToPos){var gr=D(go,fO(gs,gv.scrollToPos.from),fO(gs,gv.scrollToPos.to),gv.scrollToPos.margin);if(gv.scrollToPos.isCursor&&go.state.focused){d8(go,gr)}}var gq=gv.maybeHiddenMarkers,gu=gv.maybeUnhiddenMarkers;if(gq){for(var gp=0;gp<gq.length;++gp){if(!gq[gp].lines.length){aE(gq[gp],"hide")}}}if(gu){for(var gp=0;gp<gu.length;++gp){if(gu[gp].lines.length){aE(gu[gp],"unhide")}}}if(gt.wrapper.offsetHeight){gs.scrollTop=go.display.scroller.scrollTop}if(gv.changeObjs){aE(go,"changes",go,gv.changeObjs)}if(gv.update){gv.update.finish()}}function cM(go,gp){if(go.curOp){return gp()}cI(go);try{return gp()}finally{am(go)}}function c2(go,gp){return function(){if(go.curOp){return gp.apply(go,arguments)}cI(go);try{return gp.apply(go,arguments)}finally{am(go)}}}function c8(go){return function(){if(this.curOp){return go.apply(this,arguments)}cI(this);try{return go.apply(this,arguments)}finally{am(this)}}}function cD(go){return function(){var gp=this.cm;if(!gp||gp.curOp){return go.apply(this,arguments)}cI(gp);try{return go.apply(this,arguments)}finally{am(gp)}}}function bv(gq,go,gp){this.line=go;this.rest=g(go);this.size=this.rest?bN(fL(this.rest))-gp+1:1;this.node=this.text=null;this.hidden=fB(gq,go)}function eZ(go,gu,gt){var gs=[],gq;for(var gr=gu;gr<gt;gr=gq){var gp=new bv(go.doc,fk(go.doc,gr),gr);gq=gr+gp.size;gs.push(gp)}return gs}function ah(gv,gt,gu,gw){if(gt==null){gt=gv.doc.first}if(gu==null){gu=gv.doc.first+gv.doc.size}if(!gw){gw=0}var gq=gv.display;if(gw&&gu<gq.viewTo&&(gq.updateLineNumbers==null||gq.updateLineNumbers>gt)){gq.updateLineNumbers=gt}gv.curOp.viewChanged=true;if(gt>=gq.viewTo){if(a7&&aW(gv.doc,gt)<gq.viewTo){eB(gv)}}else{if(gu<=gq.viewFrom){if(a7&&d4(gv.doc,gu+gw)>gq.viewFrom){eB(gv)}else{gq.viewFrom+=gw;gq.viewTo+=gw}}else{if(gt<=gq.viewFrom&&gu>=gq.viewTo){eB(gv)}else{if(gt<=gq.viewFrom){var gs=df(gv,gu,gu+gw,1);if(gs){gq.view=gq.view.slice(gs.index);gq.viewFrom=gs.lineN;gq.viewTo+=gw}else{eB(gv)}}else{if(gu>=gq.viewTo){var gs=df(gv,gt,gt,-1);if(gs){gq.view=gq.view.slice(0,gs.index);gq.viewTo=gs.lineN}else{eB(gv)}}else{var gr=df(gv,gt,gt,-1);var gp=df(gv,gu,gu+gw,1);if(gr&&gp){gq.view=gq.view.slice(0,gr.index).concat(eZ(gv,gr.lineN,gp.lineN)).concat(gq.view.slice(gp.index));gq.viewTo+=gw}else{eB(gv)}}}}}}var go=gq.externalMeasured;if(go){if(gu<go.lineN){go.lineN+=gw}else{if(gt<go.lineN+go.size){gq.externalMeasured=null}}}}function R(gp,gq,gt){gp.curOp.viewChanged=true;var gu=gp.display,gs=gp.display.externalMeasured;if(gs&&gq>=gs.lineN&&gq<gs.lineN+gs.size){gu.externalMeasured=null}if(gq<gu.viewFrom||gq>=gu.viewTo){return}var gr=gu.view[ds(gp,gq)];if(gr.node==null){return}var go=gr.changes||(gr.changes=[]);if(di(go,gt)==-1){go.push(gt)}}function eB(go){go.display.viewFrom=go.display.viewTo=go.doc.first;go.display.view=[];go.display.viewOffset=0}function ds(go,gr){if(gr>=go.display.viewTo){return null}gr-=go.display.viewFrom;if(gr<0){return null}var gp=go.display.view;for(var gq=0;gq<gp.length;gq++){gr-=gp[gq].size;if(gr<0){return gq}}}function df(gw,gq,gs,gp){var gt=ds(gw,gq),gv,gu=gw.display.view;if(!a7||gs==gw.doc.first+gw.doc.size){return{index:gt,lineN:gs}}for(var gr=0,go=gw.display.viewFrom;gr<gt;gr++){go+=gu[gr].size}if(go!=gq){if(gp>0){if(gt==gu.length-1){return null}gv=(go+gu[gt].size)-gq;gt++}else{gv=go-gq}gq+=gv;gs+=gv}while(aW(gw.doc,gs)!=gs){if(gt==(gp<0?0:gu.length-1)){return null}gs+=gp*gu[gt-(gp<0?1:0)].size;gt+=gp}return{index:gt,lineN:gs}}function cR(go,gs,gr){var gq=go.display,gp=gq.view;if(gp.length==0||gs>=gq.viewTo||gr<=gq.viewFrom){gq.view=eZ(go,gs,gr);gq.viewFrom=gs}else{if(gq.viewFrom>gs){gq.view=eZ(go,gs,gq.viewFrom).concat(gq.view)}else{if(gq.viewFrom<gs){gq.view=gq.view.slice(ds(go,gs))}}gq.viewFrom=gs;if(gq.viewTo<gr){gq.view=gq.view.concat(eZ(go,gq.viewTo,gr))}else{if(gq.viewTo>gr){gq.view=gq.view.slice(0,ds(go,gr))}}}gq.viewTo=gr}function dc(go){var gp=go.display.view,gs=0;for(var gr=0;gr<gp.length;gr++){var gq=gp[gr];if(!gq.hidden&&(!gq.node||gq.changes)){++gs}}return gs}function fV(gp){var gt=gp.display;bX(gt.scroller,"mousedown",c2(gp,ez));if(dL&&k<11){bX(gt.scroller,"dblclick",c2(gp,function(gx){if(aR(gp,gx)){return}var gy=cn(gp,gx);if(!gy||l(gp,gx)||bb(gp.display,gx)){return}cG(gx);var gw=gp.findWordAt(gy);f2(gp.doc,gw.anchor,gw.head)}))}else{bX(gt.scroller,"dblclick",function(gw){aR(gp,gw)||cG(gw)})}if(!gf){bX(gt.scroller,"contextmenu",function(gw){ay(gp,gw)})}var gv,go={end:0};function gu(){if(gt.activeTouch){gv=setTimeout(function(){gt.activeTouch=null},1000);go=gt.activeTouch;go.end=+new Date}}function gr(gw){if(gw.touches.length!=1){return false}var gx=gw.touches[0];return gx.radiusX<=1&&gx.radiusY<=1}function gq(gz,gw){if(gw.left==null){return true}var gy=gw.left-gz.left,gx=gw.top-gz.top;return gy*gy+gx*gx>20*20}bX(gt.scroller,"touchstart",function(gx){if(!gr(gx)){clearTimeout(gv);var gw=+new Date;gt.activeTouch={start:gw,moved:false,prev:gw-go.end<=300?go:null};if(gx.touches.length==1){gt.activeTouch.left=gx.touches[0].pageX;gt.activeTouch.top=gx.touches[0].pageY}}});bX(gt.scroller,"touchmove",function(){if(gt.activeTouch){gt.activeTouch.moved=true}});bX(gt.scroller,"touchend",function(gx){var gz=gt.activeTouch;if(gz&&!bb(gt,gx)&&gz.left!=null&&!gz.moved&&new Date-gz.start<300){var gy=gp.coordsChar(gt.activeTouch,"page"),gw;if(!gz.prev||gq(gz,gz.prev)){gw=new dZ(gy,gy)}else{if(!gz.prev.prev||gq(gz,gz.prev.prev)){gw=gp.findWordAt(gy)}else{gw=new dZ(W(gy.line,0),fO(gp.doc,W(gy.line+1,0)))}}gp.setSelection(gw.anchor,gw.head);gp.focus();cG(gx)}gu()});bX(gt.scroller,"touchcancel",gu);bX(gt.scroller,"scroll",function(){if(gt.scroller.clientHeight){N(gp,gt.scroller.scrollTop);bE(gp,gt.scroller.scrollLeft,true);aE(gp,"scroll",gp)}});bX(gt.scroller,"mousewheel",function(gw){b(gp,gw)});bX(gt.scroller,"DOMMouseScroll",function(gw){b(gp,gw)});bX(gt.wrapper,"scroll",function(){gt.wrapper.scrollTop=gt.wrapper.scrollLeft=0});gt.dragFunctions={enter:function(gw){if(!aR(gp,gw)){ev(gw)}},over:function(gw){if(!aR(gp,gw)){gl(gp,gw);ev(gw)}},start:function(gw){Q(gp,gw)},drop:c2(gp,bk),leave:function(){db(gp)}};var gs=gt.input.getField();bX(gs,"keyup",function(gw){bi.call(gp,gw)});bX(gs,"keydown",c2(gp,p));bX(gs,"keypress",c2(gp,cx));bX(gs,"focus",cv(cB,gp));bX(gs,"blur",cv(aV,gp))}function f6(gp,gs,gq){var gt=gq&&gq!=H.Init;if(!gs!=!gt){var gr=gp.display.dragFunctions;var go=gs?bX:eg;go(gp.display.scroller,"dragstart",gr.start);go(gp.display.scroller,"dragenter",gr.enter);go(gp.display.scroller,"dragover",gr.over);go(gp.display.scroller,"dragleave",gr.leave);go(gp.display.scroller,"drop",gr.drop)}}function aT(go){var gp=go.display;if(gp.lastWrapHeight==gp.wrapper.clientHeight&&gp.lastWrapWidth==gp.wrapper.clientWidth){return}gp.cachedCharWidth=gp.cachedTextHeight=gp.cachedPaddingH=null;gp.scrollbarsClipped=false;go.setSize()}function bb(gp,go){for(var gq=L(go);gq!=gp.wrapper;gq=gq.parentNode){if(!gq||(gq.nodeType==1&&gq.getAttribute("cm-ignore-events")=="true")||(gq.parentNode==gp.sizer&&gq!=gp.mover)){return true}}}function cn(gx,gs,gp,gq){var gt=gx.display;if(!gp&&L(gs).getAttribute("cm-not-content")=="true"){return null}var gw,gu,go=gt.lineSpace.getBoundingClientRect();try{gw=gs.clientX-go.left;gu=gs.clientY-go.top}catch(gs){return null}var gv=fT(gx,gw,gu),gy;if(gq&&gv.xRel==1&&(gy=fk(gx.doc,gv.line).text).length==gv.ch){var gr=bT(gy,gy.length,gx.options.tabSize)-gy.length;gv=W(gv.line,Math.max(0,Math.round((gw-e9(gx.display).left)/dE(gx.display))-gr))}return gv}function ez(gq){var go=this,gp=go.display;if(gp.activeTouch&&gp.input.supportsTouch()||aR(go,gq)){return}gp.shift=gq.shiftKey;if(bb(gp,gq)){if(!c0){gp.scroller.draggable=false;setTimeout(function(){gp.scroller.draggable=true},100)}return}if(l(go,gq)){return}var gr=cn(go,gq);window.focus();switch(fS(gq)){case 1:if(go.state.selectingText){go.state.selectingText(gq)}else{if(gr){ax(go,gq,gr)}else{if(L(gq)==gp.scroller){cG(gq)}}}break;case 2:if(c0){go.state.lastMiddleDown=+new Date}if(gr){f2(go.doc,gr)}setTimeout(function(){gp.input.focus()},20);cG(gq);break;case 3:if(gf){ay(go,gq)}else{al(go)}break}}var dp,de;function ax(gp,gu,gv){if(dL){setTimeout(cv(r,gp),0)}else{gp.curOp.focus=dP()}var gq=+new Date,gs;if(de&&de.time>gq-400&&cf(de.pos,gv)==0){gs="triple"}else{if(dp&&dp.time>gq-400&&cf(dp.pos,gv)==0){gs="double";de={time:gq,pos:gv}}else{gs="single";dp={time:gq,pos:gv}}}var gt=gp.doc.sel,go=b7?gu.metaKey:gu.ctrlKey,gr;if(gp.options.dragDrop&&eP&&!aj(gp)&&gs=="single"&&(gr=gt.contains(gv))>-1&&(cf((gr=gt.ranges[gr]).from(),gv)<0||gv.xRel>0)&&(cf(gr.to(),gv)>0||gv.xRel<0)){a3(gp,gu,gv,go)}else{m(gp,gu,gv,gs,go)}}function a3(gq,gt,gu,gp){var gs=gq.display,gr=+new Date;var go=c2(gq,function(gv){if(c0){gs.scroller.draggable=false}gq.state.draggingText=false;eg(document,"mouseup",go);eg(gs.scroller,"drop",go);if(Math.abs(gt.clientX-gv.clientX)+Math.abs(gt.clientY-gv.clientY)<10){cG(gv);if(!gp&&+new Date-200<gr){f2(gq.doc,gu)}if(c0||dL&&k==9){setTimeout(function(){document.body.focus();gs.input.focus()},20)}else{gs.input.focus()}}});if(c0){gs.scroller.draggable=true}gq.state.draggingText=go;if(gs.scroller.dragDrop){gs.scroller.dragDrop()}bX(document,"mouseup",go);bX(gs.scroller,"drop",go)}function m(gs,gG,gr,gp,gu){var gD=gs.display,gI=gs.doc;cG(gG);var gq,gH,gt=gI.sel,go=gt.ranges;if(gu&&!gG.shiftKey){gH=gI.sel.contains(gr);if(gH>-1){gq=go[gH]}else{gq=new dZ(gr,gr)}}else{gq=gI.sel.primary();gH=gI.sel.primIndex}if(gG.altKey){gp="rect";if(!gu){gq=new dZ(gr,gr)}gr=cn(gs,gG,true,true);gH=-1}else{if(gp=="double"){var gE=gs.findWordAt(gr);if(gs.display.shift||gI.extend){gq=fA(gI,gq,gE.anchor,gE.head)}else{gq=gE}}else{if(gp=="triple"){var gx=new dZ(W(gr.line,0),fO(gI,W(gr.line+1,0)));if(gs.display.shift||gI.extend){gq=fA(gI,gq,gx.anchor,gx.head)}else{gq=gx}}else{gq=fA(gI,gq,gr)}}}if(!gu){gH=0;bU(gI,new f9([gq],0),M);gt=gI.sel}else{if(gH==-1){gH=go.length;bU(gI,cw(go.concat([gq]),gH),{scroll:false,origin:"*mouse"})}else{if(go.length>1&&go[gH].empty()&&gp=="single"&&!gG.shiftKey){bU(gI,cw(go.slice(0,gH).concat(go.slice(gH+1)),0),{scroll:false,origin:"*mouse"});gt=gI.sel}else{e(gI,gH,gq,M)}}}var gC=gr;function gB(gT){if(cf(gC,gT)==0){return}gC=gT;if(gp=="rect"){var gK=[],gQ=gs.options.tabSize;var gJ=bT(fk(gI,gr.line).text,gr.ch,gQ);var gW=bT(fk(gI,gT.line).text,gT.ch,gQ);var gL=Math.min(gJ,gW),gU=Math.max(gJ,gW);for(var gX=Math.min(gr.line,gT.line),gN=Math.min(gs.lastLine(),Math.max(gr.line,gT.line));gX<=gN;gX++){var gV=fk(gI,gX).text,gM=eu(gV,gL,gQ);if(gL==gU){gK.push(new dZ(W(gX,gM),W(gX,gM)))}else{if(gV.length>gM){gK.push(new dZ(W(gX,gM),W(gX,eu(gV,gU,gQ))))}}}if(!gK.length){gK.push(new dZ(gr,gr))}bU(gI,cw(gt.ranges.slice(0,gH).concat(gK),gH),{origin:"*mouse",scroll:false});gs.scrollIntoView(gT)}else{var gR=gq;var gO=gR.anchor,gS=gT;if(gp!="single"){if(gp=="double"){var gP=gs.findWordAt(gT)}else{var gP=new dZ(W(gT.line,0),fO(gI,W(gT.line+1,0)))}if(cf(gP.anchor,gO)>0){gS=gP.head;gO=ar(gR.from(),gP.anchor)}else{gS=gP.anchor;gO=bx(gR.to(),gP.head)}}var gK=gt.ranges.slice(0);gK[gH]=new dZ(fO(gI,gO),gS);bU(gI,cw(gK,gH),M)}}var gz=gD.wrapper.getBoundingClientRect();var gv=0;function gF(gL){var gJ=++gv;var gN=cn(gs,gL,true,gp=="rect");if(!gN){return}if(cf(gN,gC)!=0){gs.curOp.focus=dP();gB(gN);var gM=b6(gD,gI);if(gN.line>=gM.to||gN.line<gM.from){setTimeout(c2(gs,function(){if(gv==gJ){gF(gL)}}),150)}}else{var gK=gL.clientY<gz.top?-20:gL.clientY>gz.bottom?20:0;if(gK){setTimeout(c2(gs,function(){if(gv!=gJ){return}gD.scroller.scrollTop+=gK;gF(gL)}),50)}}}function gy(gJ){gs.state.selectingText=false;gv=Infinity;cG(gJ);gD.input.focus();eg(document,"mousemove",gA);eg(document,"mouseup",gw);gI.history.lastSelOrigin=null}var gA=c2(gs,function(gJ){if(!fS(gJ)){gy(gJ)}else{gF(gJ)}});var gw=c2(gs,gy);gs.state.selectingText=gw;bX(document,"mousemove",gA);bX(document,"mouseup",gw)}function gm(gy,gu,gw,gx){try{var gp=gu.clientX,go=gu.clientY}catch(gu){return false}if(gp>=Math.floor(gy.display.gutters.getBoundingClientRect().right)){return false}if(gx){cG(gu)}var gv=gy.display;var gt=gv.lineDiv.getBoundingClientRect();if(go>gt.bottom||!fn(gy,gw)){return bL(gu)}go-=gt.top-gv.viewOffset;for(var gr=0;gr<gy.options.gutters.length;++gr){var gs=gv.gutters.childNodes[gr];if(gs&&gs.getBoundingClientRect().right>=gp){var gz=bG(gy.doc,go);var gq=gy.options.gutters[gr];aE(gy,gw,gy,gz,gq,gu);return bL(gu)}}}function l(go,gp){return gm(go,gp,"gutterClick",true)}var ag=0;function bk(gu){var gw=this;db(gw);if(aR(gw,gu)||bb(gw.display,gu)){return}cG(gu);if(dL){ag=+new Date}var gv=cn(gw,gu,true),go=gu.dataTransfer.files;if(!gv||aj(gw)){return}if(go&&go.length&&window.FileReader&&window.File){var gq=go.length,gx=Array(gq),gp=0;var gs=function(gA,gz){if(gw.options.allowDropFileTypes&&di(gw.options.allowDropFileTypes,gA.type)==-1){return}var gy=new FileReader;gy.onload=c2(gw,function(){var gB=gy.result;if(/[\x00-\x08\x0e-\x1f]{2}/.test(gB)){gB=""}gx[gz]=gB;if(++gp==gq){gv=fO(gw.doc,gv);var gC={from:gv,to:gv,text:gw.doc.splitLines(gx.join(gw.doc.lineSeparator())),origin:"paste"};bg(gw.doc,gC);fc(gw.doc,eW(gv,cX(gC)))}});gy.readAsText(gA)};for(var gt=0;gt<gq;++gt){gs(go[gt],gt)}}else{if(gw.state.draggingText&&gw.doc.sel.contains(gv)>-1){gw.state.draggingText(gu);setTimeout(function(){gw.display.input.focus()},20);return}try{var gx=gu.dataTransfer.getData("Text");if(gx){if(gw.state.draggingText&&!(b7?gu.altKey:gu.ctrlKey)){var gr=gw.listSelections()}et(gw.doc,eW(gv,gv));if(gr){for(var gt=0;gt<gr.length;++gt){a1(gw.doc,"",gr[gt].anchor,gr[gt].head,"drag")}}gw.replaceSelection(gx,"around","paste");gw.display.input.focus()}}catch(gu){}}}function Q(go,gq){if(dL&&(!go.state.draggingText||+new Date-ag<100)){ev(gq);return}if(aR(go,gq)||bb(go.display,gq)){return}gq.dataTransfer.setData("Text",go.getSelection());if(gq.dataTransfer.setDragImage&&!aC){var gp=f8("img",null,null,"position: fixed; left: 0; top: 0;");gp.src="data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==";if(d5){gp.width=gp.height=1;go.display.wrapper.appendChild(gp);gp._top=gp.offsetTop}gq.dataTransfer.setDragImage(gp,0,0);if(d5){gp.parentNode.removeChild(gp)}}}function gl(go,gp){var gr=cn(go,gp);if(!gr){return}var gq=document.createDocumentFragment();A(go,gr,gq);if(!go.display.dragCursor){go.display.dragCursor=f8("div",null,"CodeMirror-cursors CodeMirror-dragcursors");go.display.lineSpace.insertBefore(go.display.dragCursor,go.display.cursorDiv)}bR(go.display.dragCursor,gq)}function db(go){if(go.display.dragCursor){go.display.lineSpace.removeChild(go.display.dragCursor);go.display.dragCursor=null}}function N(go,gp){if(Math.abs(go.doc.scrollTop-gp)<2){return}go.doc.scrollTop=gp;if(!co){dU(go,{top:gp})}if(go.display.scroller.scrollTop!=gp){go.display.scroller.scrollTop=gp}go.display.scrollbars.setScrollTop(gp);if(co){dU(go)}ei(go,100)}function bE(go,gq,gp){if(gp?gq==go.doc.scrollLeft:Math.abs(go.doc.scrollLeft-gq)<2){return}gq=Math.min(gq,go.display.scroller.scrollWidth-go.display.scroller.clientWidth);go.doc.scrollLeft=gq;eI(go);if(go.display.scroller.scrollLeft!=gq){go.display.scroller.scrollLeft=gq}go.display.scrollbars.setScrollLeft(gq)}var fr=0,cg=null;if(dL){cg=-0.53}else{if(co){cg=15}else{if(dd){cg=-0.7}else{if(aC){cg=-1/3}}}}var cQ=function(gq){var gp=gq.wheelDeltaX,go=gq.wheelDeltaY;if(gp==null&&gq.detail&&gq.axis==gq.HORIZONTAL_AXIS){gp=gq.detail}if(go==null&&gq.detail&&gq.axis==gq.VERTICAL_AXIS){go=gq.detail}else{if(go==null){go=gq.wheelDelta}}return{x:gp,y:go}};H.wheelEventPixels=function(go){var gp=cQ(go);gp.x*=cg;gp.y*=cg;return gp};function b(gy,gs){var gA=cQ(gs),gC=gA.x,gB=gA.y;var gu=gy.display,gx=gu.scroller;var gr=gx.scrollWidth>gx.clientWidth;var gq=gx.scrollHeight>gx.clientHeight;if(!(gC&&gr||gB&&gq)){return}if(gB&&b7&&c0){outer:for(var gz=gs.target,gw=gu.view;gz!=gx;gz=gz.parentNode){for(var gp=0;gp<gw.length;gp++){if(gw[gp].node==gz){gy.display.currentWheelTarget=gz;break outer}}}}if(gC&&!co&&!d5&&cg!=null){if(gB&&gq){N(gy,Math.max(0,Math.min(gx.scrollTop+gB*cg,gx.scrollHeight-gx.clientHeight)))}bE(gy,Math.max(0,Math.min(gx.scrollLeft+gC*cg,gx.scrollWidth-gx.clientWidth)));if(!gB||(gB&&gq)){cG(gs)}gu.wheelStartX=null;return}if(gB&&cg!=null){var go=gB*cg;var gv=gy.doc.scrollTop,gt=gv+gu.wrapper.clientHeight;if(go<0){gv=Math.max(0,gv+go-50)}else{gt=Math.min(gy.doc.height,gt+go+50)}dU(gy,{top:gv,bottom:gt})}if(fr<20){if(gu.wheelStartX==null){gu.wheelStartX=gx.scrollLeft;gu.wheelStartY=gx.scrollTop;gu.wheelDX=gC;gu.wheelDY=gB;setTimeout(function(){if(gu.wheelStartX==null){return}var gD=gx.scrollLeft-gu.wheelStartX;var gF=gx.scrollTop-gu.wheelStartY;var gE=(gF&&gu.wheelDY&&gF/gu.wheelDY)||(gD&&gu.wheelDX&&gD/gu.wheelDX);gu.wheelStartX=gu.wheelStartY=null;if(!gE){return}cg=(cg*fr+gE)/(fr+1);++fr},200)}else{gu.wheelDX+=gC;gu.wheelDY+=gB}}}function fW(gp,gs,go){if(typeof gs=="string"){gs=eH[gs];if(!gs){return false}}gp.display.input.ensurePolled();var gr=gp.display.shift,gq=false;try{if(aj(gp)){gp.state.suppressEdits=true}if(go){gp.display.shift=false}gq=gs(gp)!=ca}finally{gp.display.shift=gr;gp.state.suppressEdits=false}return gq}function ec(gp,gq,gs){for(var gr=0;gr<gp.state.keyMaps.length;gr++){var go=i(gq,gp.state.keyMaps[gr],gs,gp);if(go){return go}}return(gp.options.extraKeys&&i(gq,gp.options.extraKeys,gs,gp))||i(gq,gp.options.keyMap,gs,gp)}var dN=new gn;function bd(gp,gr,gt,gs){var gq=gp.state.keySeq;if(gq){if(eG(gr)){return"handled"}dN.set(50,function(){if(gp.state.keySeq==gq){gp.state.keySeq=null;gp.display.input.reset()}});gr=gq+" "+gr}var go=ec(gp,gr,gs);if(go=="multi"){gp.state.keySeq=gr}if(go=="handled"){ae(gp,"keyHandled",gp,gr,gt)}if(go=="handled"||go=="multi"){cG(gt);o(gp)}if(gq&&!go&&/\'$/.test(gr)){cG(gt);return true}return !!go}function fo(go,gq){var gp=fw(gq,true);if(!gp){return false}if(gq.shiftKey&&!go.state.keySeq){return bd(go,"Shift-"+gp,gq,function(gr){return fW(go,gr,true)})||bd(go,gp,gq,function(gr){if(typeof gr=="string"?/^go[A-Z]/.test(gr):gr.motion){return fW(go,gr)}})}else{return bd(go,gp,gq,function(gr){return fW(go,gr)})}}function em(go,gq,gp){return bd(go,"'"+gp+"'",gq,function(gr){return fW(go,gr,true)})}var dn=null;function p(gr){var go=this;go.curOp.focus=dP();if(aR(go,gr)){return}if(dL&&k<11&&gr.keyCode==27){gr.returnValue=false}var gp=gr.keyCode;go.display.shift=gp==16||gr.shiftKey;var gq=fo(go,gr);if(d5){dn=gq?gp:null;if(!gq&&gp==88&&!da&&(b7?gr.metaKey:gr.ctrlKey)){go.replaceSelection("",null,"cut")}}if(gp==18&&!/\bCodeMirror-crosshair\b/.test(go.display.lineDiv.className)){av(go)}}function av(gp){var gq=gp.display.lineDiv;fF(gq,"CodeMirror-crosshair");function go(gr){if(gr.keyCode==18||!gr.altKey){f(gq,"CodeMirror-crosshair");eg(document,"keyup",go);eg(document,"mouseover",go)}}bX(document,"keyup",go);bX(document,"mouseover",go)}function bi(go){if(go.keyCode==16){this.doc.sel.shift=false}aR(this,go)}function cx(gs){var go=this;if(bb(go.display,gs)||aR(go,gs)||gs.ctrlKey&&!gs.altKey||b7&&gs.metaKey){return}var gr=gs.keyCode,gp=gs.charCode;if(d5&&gr==dn){dn=null;cG(gs);return}if((d5&&(!gs.which||gs.which<10))&&fo(go,gs)){return}var gq=String.fromCharCode(gp==null?gr:gp);if(em(go,gs,gq)){return}go.display.input.onKeyPress(gs)}function al(go){go.state.delayingBlurEvent=true;setTimeout(function(){if(go.state.delayingBlurEvent){go.state.delayingBlurEvent=false;aV(go)}},100)}function cB(go){if(go.state.delayingBlurEvent){go.state.delayingBlurEvent=false}if(go.options.readOnly=="nocursor"){return}if(!go.state.focused){aE(go,"focus",go);go.state.focused=true;fF(go.display.wrapper,"CodeMirror-focused");if(!go.curOp&&go.display.selForContextMenu!=go.doc.sel){go.display.input.reset();if(c0){setTimeout(function(){go.display.input.reset(true)},20)}}go.display.input.receivedFocus()}o(go)}function aV(go){if(go.state.delayingBlurEvent){return}if(go.state.focused){aE(go,"blur",go);go.state.focused=false;f(go.display.wrapper,"CodeMirror-focused")}clearInterval(go.display.blinker);setTimeout(function(){if(!go.state.focused){go.display.shift=false}},150)}function ay(go,gp){if(bb(go.display,gp)||dh(go,gp)){return}if(aR(go,gp,"contextmenu")){return}go.display.input.onContextMenu(gp)}function dh(go,gp){if(!fn(go,"gutterContextMenu")){return false}return gm(go,gp,"gutterContextMenu",false)}var cX=H.changeEnd=function(go){if(!go.text){return go.to}return W(go.from.line+go.text.length-1,fL(go.text).length+(go.text.length==1?go.from.ch:0))};function bZ(gr,gq){if(cf(gr,gq.from)<0){return gr}if(cf(gr,gq.to)<=0){return cX(gq)}var go=gr.line+gq.text.length-(gq.to.line-gq.from.line)-1,gp=gr.ch;if(gr.line==gq.to.line){gp+=cX(gq).ch-gq.to.ch}return W(go,gp)}function fp(gr,gs){var gp=[];for(var gq=0;gq<gr.sel.ranges.length;gq++){var go=gr.sel.ranges[gq];gp.push(new dZ(bZ(go.anchor,gs),bZ(go.head,gs)))}return cw(gp,gr.sel.primIndex)}function bu(gq,gp,go){if(gq.line==gp.line){return W(go.line,gq.ch-gp.ch+go.ch)}else{return W(go.line+(gq.line-gp.line),gq.ch)}}function af(gy,gv,gp){var gq=[];var go=W(gy.first,0),gz=go;for(var gs=0;gs<gv.length;gs++){var gu=gv[gs];var gx=bu(gu.from,go,gz);var gw=bu(cX(gu),go,gz);go=gu.to;gz=gw;if(gp=="around"){var gt=gy.sel.ranges[gs],gr=cf(gt.head,gt.anchor)<0;gq[gs]=new dZ(gr?gw:gx,gr?gx:gw)}else{gq[gs]=new dZ(gx,gx)}}return new f9(gq,gy.sel.primIndex)}function dS(gp,gr,gq){var go={canceled:false,from:gr.from,to:gr.to,text:gr.text,origin:gr.origin,cancel:function(){this.canceled=true}};if(gq){go.update=function(gv,gu,gt,gs){if(gv){this.from=fO(gp,gv)}if(gu){this.to=fO(gp,gu)}if(gt){this.text=gt}if(gs!==undefined){this.origin=gs}}}aE(gp,"beforeChange",gp,go);if(gp.cm){aE(gp.cm,"beforeChange",gp.cm,go)}if(go.canceled){return null}return{from:go.from,to:go.to,text:go.text,origin:go.origin}}function bg(gr,gs,gq){if(gr.cm){if(!gr.cm.curOp){return c2(gr.cm,bg)(gr,gs,gq)}if(gr.cm.state.suppressEdits){return}}if(fn(gr,"beforeChange")||gr.cm&&fn(gr.cm,"beforeChange")){gs=dS(gr,gs,true);if(!gs){return}}var gp=gi&&!gq&&cH(gr,gs.from,gs.to);if(gp){for(var go=gp.length-1;go>=0;--go){K(gr,{from:gp[go].from,to:gp[go].to,text:go?[""]:gs.text})}}else{K(gr,gs)}}function K(gq,gr){if(gr.text.length==1&&gr.text[0]==""&&cf(gr.from,gr.to)==0){return}var gp=fp(gq,gr);fR(gq,gr,gp,gq.cm?gq.cm.curOp.id:NaN);eh(gq,gr,gp,en(gq,gr));var go=[];d9(gq,function(gt,gs){if(!gs&&di(go,gt.history)==-1){dF(gt.history,gr);go.push(gt.history)}eh(gt,gr,null,en(gt,gr))})}function b8(gz,gx,gB){if(gz.cm&&gz.cm.state.suppressEdits){return}var gw=gz.history,gq,gs=gz.sel;var go=gx=="undo"?gw.done:gw.undone,gA=gx=="undo"?gw.undone:gw.done;for(var gt=0;gt<go.length;gt++){gq=go[gt];if(gB?gq.ranges&&!gq.equals(gz.sel):!gq.ranges){break}}if(gt==go.length){return}gw.lastOrigin=gw.lastSelOrigin=null;for(;;){gq=go.pop();if(gq.ranges){cN(gq,gA);if(gB&&!gq.equals(gz.sel)){bU(gz,gq,{clearRedo:false});return}gs=gq}else{break}}var gv=[];cN(gs,gA);gA.push({changes:gv,generation:gw.generation});gw.generation=gq.generation||++gw.maxGeneration;var gr=fn(gz,"beforeChange")||gz.cm&&fn(gz.cm,"beforeChange");for(var gt=gq.changes.length-1;gt>=0;--gt){var gy=gq.changes[gt];gy.origin=gx;if(gr&&!dS(gz,gy,false)){go.length=0;return}gv.push(dv(gz,gy));var gp=gt?fp(gz,gy):fL(go);eh(gz,gy,gp,eb(gz,gy));if(!gt&&gz.cm){gz.cm.scrollIntoView({from:gy.from,to:cX(gy)})}var gu=[];d9(gz,function(gD,gC){if(!gC&&di(gu,gD.history)==-1){dF(gD.history,gy);gu.push(gD.history)}eh(gD,gy,null,eb(gD,gy))})}}function fs(gp,gr){if(gr==0){return}gp.first+=gr;gp.sel=new f9(bS(gp.sel.ranges,function(gs){return new dZ(W(gs.anchor.line+gr,gs.anchor.ch),W(gs.head.line+gr,gs.head.ch))}),gp.sel.primIndex);if(gp.cm){ah(gp.cm,gp.first,gp.first-gr,gr);for(var gq=gp.cm.display,go=gq.viewFrom;go<gq.viewTo;go++){R(gp.cm,go,"gutter")}}}function eh(gs,gt,gr,gp){if(gs.cm&&!gs.cm.curOp){return c2(gs.cm,eh)(gs,gt,gr,gp)}if(gt.to.line<gs.first){fs(gs,gt.text.length-1-(gt.to.line-gt.from.line));return}if(gt.from.line>gs.lastLine()){return}if(gt.from.line<gs.first){var go=gt.text.length-1-(gs.first-gt.from.line);fs(gs,go);gt={from:W(gs.first,0),to:W(gt.to.line+go,gt.to.ch),text:[fL(gt.text)],origin:gt.origin}}var gq=gs.lastLine();if(gt.to.line>gq){gt={from:gt.from,to:W(gq,fk(gs,gq).text.length),text:[gt.text[0]],origin:gt.origin}}gt.removed=ga(gs,gt.from,gt.to);if(!gr){gr=fp(gs,gt)}if(gs.cm){aJ(gs.cm,gt,gp)}else{fD(gs,gt,gp)}et(gs,gr,Z)}function aJ(gz,gv,gt){var gy=gz.doc,gu=gz.display,gw=gv.from,gx=gv.to;var go=false,gs=gw.line;if(!gz.options.lineWrapping){gs=bN(x(fk(gy,gw.line)));gy.iter(gs,gx.line+1,function(gB){if(gB==gu.maxLine){go=true;return true}})}if(gy.sel.contains(gv.from,gv.to)>-1){V(gz)}fD(gy,gv,gt,be(gz));if(!gz.options.lineWrapping){gy.iter(gs,gw.line+gv.text.length,function(gC){var gB=er(gC);if(gB>gu.maxLineLength){gu.maxLine=gC;gu.maxLineLength=gB;gu.maxLineChanged=true;go=false}});if(go){gz.curOp.updateMaxLine=true}}gy.frontier=Math.min(gy.frontier,gw.line);ei(gz,400);var gA=gv.text.length-(gx.line-gw.line)-1;if(gv.full){ah(gz)}else{if(gw.line==gx.line&&gv.text.length==1&&!dT(gz.doc,gv)){R(gz,gw.line,"text")}else{ah(gz,gw.line,gx.line+1,gA)}}var gq=fn(gz,"changes"),gr=fn(gz,"change");if(gr||gq){var gp={from:gw,to:gx,text:gv.text,removed:gv.removed,origin:gv.origin};if(gr){ae(gz,"change",gz,gp)}if(gq){(gz.curOp.changeObjs||(gz.curOp.changeObjs=[])).push(gp)}}gz.display.selForContextMenu=null}function a1(gr,gq,gt,gs,go){if(!gs){gs=gt}if(cf(gs,gt)<0){var gp=gs;gs=gt;gt=gp}if(typeof gq=="string"){gq=gr.splitLines(gq)}bg(gr,{from:gt,to:gs,text:gq,origin:go})}function d8(gp,gs){if(aR(gp,"scrollCursorIntoView")){return}var gt=gp.display,gq=gt.sizer.getBoundingClientRect(),go=null;if(gs.top+gq.top<0){go=true}else{if(gs.bottom+gq.top>(window.innerHeight||document.documentElement.clientHeight)){go=false}}if(go!=null&&!fz){var gr=f8("div","\u200b",null,"position: absolute; top: "+(gs.top-gt.viewOffset-fd(gp.display))+"px; height: "+(gs.bottom-gs.top+cT(gp)+gt.barHeight)+"px; left: "+gs.left+"px; width: 2px;");gp.display.lineSpace.appendChild(gr);gr.scrollIntoView(go);gp.display.lineSpace.removeChild(gr)}}function D(gy,gw,gs,gr){if(gr==null){gr=0}for(var gt=0;gt<5;gt++){var gu=false,gx=dV(gy,gw);var go=!gs||gs==gw?gx:dV(gy,gs);var gq=G(gy,Math.min(gx.left,go.left),Math.min(gx.top,go.top)-gr,Math.max(gx.left,go.left),Math.max(gx.bottom,go.bottom)+gr);var gv=gy.doc.scrollTop,gp=gy.doc.scrollLeft;if(gq.scrollTop!=null){N(gy,gq.scrollTop);if(Math.abs(gy.doc.scrollTop-gv)>1){gu=true}}if(gq.scrollLeft!=null){bE(gy,gq.scrollLeft);if(Math.abs(gy.doc.scrollLeft-gp)>1){gu=true}}if(!gu){break}}return gx}function E(go,gq,gs,gp,gr){var gt=G(go,gq,gs,gp,gr);if(gt.scrollTop!=null){N(go,gt.scrollTop)}if(gt.scrollLeft!=null){bE(go,gt.scrollLeft)}}function G(gA,gr,gz,gp,gy){var gw=gA.display,gu=aY(gA.display);if(gz<0){gz=0}var gs=gA.curOp&&gA.curOp.scrollTop!=null?gA.curOp.scrollTop:gw.scroller.scrollTop;var gC=cV(gA),gE={};if(gy-gz>gC){gy=gz+gC}var gq=gA.doc.height+bI(gw);var go=gz<gu,gv=gy>gq-gu;if(gz<gs){gE.scrollTop=go?0:gz}else{if(gy>gs+gC){var gx=Math.min(gz,(gv?gq:gy)-gC);if(gx!=gs){gE.scrollTop=gx}}}var gD=gA.curOp&&gA.curOp.scrollLeft!=null?gA.curOp.scrollLeft:gw.scroller.scrollLeft;var gB=dm(gA)-(gA.options.fixedGutter?gw.gutters.offsetWidth:0);var gt=gp-gr>gB;if(gt){gp=gr+gB}if(gr<10){gE.scrollLeft=0}else{if(gr<gD){gE.scrollLeft=Math.max(0,gr-(gt?0:10))}else{if(gp>gB+gD-3){gE.scrollLeft=gp+(gt?0:10)-gB}}}return gE}function cL(go,gq,gp){if(gq!=null||gp!=null){fH(go)}if(gq!=null){go.curOp.scrollLeft=(go.curOp.scrollLeft==null?go.doc.scrollLeft:go.curOp.scrollLeft)+gq}if(gp!=null){go.curOp.scrollTop=(go.curOp.scrollTop==null?go.doc.scrollTop:go.curOp.scrollTop)+gp}}function fK(go){fH(go);var gp=go.getCursor(),gr=gp,gq=gp;if(!go.options.lineWrapping){gr=gp.ch?W(gp.line,gp.ch-1):gp;gq=W(gp.line,gp.ch+1)}go.curOp.scrollToPos={from:gr,to:gq,margin:go.options.cursorScrollMargin,isCursor:true}}function fH(go){var gq=go.curOp.scrollToPos;if(gq){go.curOp.scrollToPos=null;var gs=dI(go,gq.from),gr=dI(go,gq.to);var gp=G(go,Math.min(gs.left,gr.left),Math.min(gs.top,gr.top)-gq.margin,Math.max(gs.right,gr.right),Math.max(gs.bottom,gr.bottom)+gq.margin);go.scrollTo(gp.scrollLeft,gp.scrollTop)}}function ad(gB,gr,gA,gq){var gz=gB.doc,gp;if(gA==null){gA="add"}if(gA=="smart"){if(!gz.mode.indent){gA="prev"}else{gp=dD(gB,gr)}}var gv=gB.options.tabSize;var gC=fk(gz,gr),gu=bT(gC.text,null,gv);if(gC.stateAfter){gC.stateAfter=null}var go=gC.text.match(/^\s*/)[0],gx;if(!gq&&!/\S/.test(gC.text)){gx=0;gA="not"}else{if(gA=="smart"){gx=gz.mode.indent(gp,gC.text.slice(go.length),gC.text);if(gx==ca||gx>150){if(!gq){return}gA="prev"}}}if(gA=="prev"){if(gr>gz.first){gx=bT(fk(gz,gr-1).text,null,gv)}else{gx=0}}else{if(gA=="add"){gx=gu+gB.options.indentUnit}else{if(gA=="subtract"){gx=gu-gB.options.indentUnit}else{if(typeof gA=="number"){gx=gu+gA}}}}gx=Math.max(0,gx);var gy="",gw=0;if(gB.options.indentWithTabs){for(var gs=Math.floor(gx/gv);gs;--gs){gw+=gv;gy+="\t"}}if(gw<gx){gy+=cp(gx-gw)}if(gy!=go){a1(gz,gy,W(gr,0),W(gr,go.length),"+input");gC.stateAfter=null;return true}else{for(var gs=0;gs<gz.sel.ranges.length;gs++){var gt=gz.sel.ranges[gs];if(gt.head.line==gr&&gt.head.ch<go.length){var gw=W(gr,go.length);e(gz,gs,new dZ(gw,gw));break}}}}function eD(gr,gq,go,gt){var gs=gq,gp=gq;if(typeof gq=="number"){gp=fk(gr,c5(gr,gq))}else{gs=bN(gq)}if(gs==null){return null}if(gt(gp,gs)&&gr.cm){R(gr.cm,gs,go)}return gp}function e1(go,gu){var gp=go.doc.sel.ranges,gs=[];for(var gr=0;gr<gp.length;gr++){var gq=gu(gp[gr]);while(gs.length&&cf(gq.from,fL(gs).to)<=0){var gt=gs.pop();if(cf(gt.from,gq.from)<0){gq.from=gt.from;break}}gs.push(gq)}cM(go,function(){for(var gv=gs.length-1;gv>=0;gv--){a1(go.doc,"",gs[gv].from,gs[gv].to,"+delete")}fK(go)})}function bw(gG,gs,gA,gz,gu){var gx=gs.line,gy=gs.ch,gF=gA;var gp=fk(gG,gx);var gD=true;function gE(){var gH=gx+gA;if(gH<gG.first||gH>=gG.first+gG.size){return(gD=false)}gx=gH;return gp=fk(gG,gH)}function gC(gI){var gH=(gu?u:ai)(gp,gy,gA,true);if(gH==null){if(!gI&&gE()){if(gu){gy=(gA<0?cS:cE)(gp)}else{gy=gA<0?gp.text.length:0}}else{return(gD=false)}}else{gy=gH}return true}if(gz=="char"){gC()}else{if(gz=="column"){gC(true)}else{if(gz=="word"||gz=="group"){var gB=null,gv=gz=="group";var go=gG.cm&&gG.cm.getHelper(gs,"wordChars");for(var gt=true;;gt=false){if(gA<0&&!gC(!gt)){break}var gq=gp.text.charAt(gy)||"\n";var gr=cA(gq,go)?"w":gv&&gq=="\n"?"n":!gv||/\s/.test(gq)?null:"p";if(gv&&!gt&&!gr){gr="s"}if(gB&&gB!=gr){if(gA<0){gA=1;gC()}break}if(gr){gB=gr}if(gA>0&&!gC(!gt)){break}}}}}var gw=bV(gG,W(gx,gy),gF,true);if(!gD){gw.hitSide=true}return gw}function bq(gw,gr,go,gv){var gu=gw.doc,gt=gr.left,gs;if(gv=="page"){var gq=Math.min(gw.display.wrapper.clientHeight,window.innerHeight||document.documentElement.clientHeight);gs=gr.top+go*(gq-(go<0?1.5:0.5)*aY(gw.display))}else{if(gv=="line"){gs=go>0?gr.bottom+3:gr.top-3}}for(;;){var gp=fT(gw,gt,gs);if(!gp.outside){break}if(go<0?gs<=0:gs>=gu.height){gp.hitSide=true;break}gs+=go*5}return gp}H.prototype={constructor:H,focus:function(){window.focus();this.display.input.focus()},setOption:function(gq,gr){var gp=this.options,go=gp[gq];if(gp[gq]==gr&&gq!="mode"){return}gp[gq]=gr;if(bf.hasOwnProperty(gq)){c2(this,bf[gq])(this,gr,go)}},getOption:function(go){return this.options[go]},getDoc:function(){return this.doc},addKeyMap:function(gp,go){this.state.keyMaps[go?"push":"unshift"](f3(gp))},removeKeyMap:function(gp){var gq=this.state.keyMaps;for(var go=0;go<gq.length;++go){if(gq[go]==gp||gq[go].name==gp){gq.splice(go,1);return true}}},addOverlay:c8(function(go,gp){var gq=go.token?go:H.getMode(this.options,go);if(gq.startState){throw new Error("Overlays may not be stateful.")}this.state.overlays.push({mode:gq,modeSpec:go,opaque:gp&&gp.opaque});this.state.modeGen++;ah(this)}),removeOverlay:c8(function(go){var gq=this.state.overlays;for(var gp=0;gp<gq.length;++gp){var gr=gq[gp].modeSpec;if(gr==go||typeof go=="string"&&gr.name==go){gq.splice(gp,1);this.state.modeGen++;ah(this);return}}}),indentLine:c8(function(gq,go,gp){if(typeof go!="string"&&typeof go!="number"){if(go==null){go=this.options.smartIndent?"smart":"prev"}else{go=go?"add":"subtract"}}if(b9(this.doc,gq)){ad(this,gq,go,gp)}}),indentSelection:c8(function(gx){var go=this.doc.sel.ranges,gr=-1;for(var gt=0;gt<go.length;gt++){var gu=go[gt];if(!gu.empty()){var gv=gu.from(),gw=gu.to();var gp=Math.max(gr,gv.line);gr=Math.min(this.lastLine(),gw.line-(gw.ch?0:1))+1;for(var gs=gp;gs<gr;++gs){ad(this,gs,gx)}var gq=this.doc.sel.ranges;if(gv.ch==0&&go.length==gq.length&&gq[gt].from().ch>0){e(this.doc,gt,new dZ(gv,gq[gt].to()),Z)}}else{if(gu.head.line>gr){ad(this,gu.head.line,gx,true);gr=gu.head.line;if(gt==this.doc.sel.primIndex){fK(this)}}}}}),getTokenAt:function(gp,go){return cq(this,gp,go)},getLineTokens:function(gp,go){return cq(this,W(gp),go,true)},getTokenTypeAt:function(gv){gv=fO(this.doc,gv);var gr=c6(this,fk(this.doc,gv.line));var gt=0,gu=(gr.length-1)/2,gq=gv.ch;var gp;if(gq==0){gp=gr[2]}else{for(;;){var go=(gt+gu)>>1;if((go?gr[go*2-1]:0)>=gq){gu=go}else{if(gr[go*2+1]<gq){gt=go+1}else{gp=gr[go*2+2];break}}}}var gs=gp?gp.indexOf("cm-overlay "):-1;return gs<0?gp:gs==0?null:gp.slice(0,gs-1)},getModeAt:function(gp){var go=this.doc.mode;if(!go.innerMode){return go}return H.innerMode(go,this.getTokenAt(gp).state).mode},getHelper:function(gp,go){return this.getHelpers(gp,go)[0]},getHelpers:function(gv,gq){var gr=[];if(!ft.hasOwnProperty(gq)){return gr}var go=ft[gq],gu=this.getModeAt(gv);if(typeof gu[gq]=="string"){if(go[gu[gq]]){gr.push(go[gu[gq]])}}else{if(gu[gq]){for(var gp=0;gp<gu[gq].length;gp++){var gt=go[gu[gq][gp]];if(gt){gr.push(gt)}}}else{if(gu.helperType&&go[gu.helperType]){gr.push(go[gu.helperType])}else{if(go[gu.name]){gr.push(go[gu.name])}}}}for(var gp=0;gp<go._global.length;gp++){var gs=go._global[gp];if(gs.pred(gu,this)&&di(gr,gs.val)==-1){gr.push(gs.val)}}return gr},getStateAfter:function(gp,go){var gq=this.doc;gp=c5(gq,gp==null?gq.first+gq.size-1:gp);return dD(this,gp+1,go)},cursorCoords:function(gr,gp){var gq,go=this.doc.sel.primary();if(gr==null){gq=go.head}else{if(typeof gr=="object"){gq=fO(this.doc,gr)}else{gq=gr?go.from():go.to()}}return dV(this,gq,gp||"page")},charCoords:function(gp,go){return cJ(this,fO(this.doc,gp),go||"page")},coordsChar:function(go,gp){go=gk(this,go,gp||"page");return fT(this,go.left,go.top)},lineAtHeight:function(go,gp){go=gk(this,{top:go,left:0},gp||"page").top;return bG(this.doc,go+this.display.viewOffset)},heightAtLine:function(gp,gs){var go=false,gq;if(typeof gp=="number"){var gr=this.doc.first+this.doc.size-1;if(gp<this.doc.first){gp=this.doc.first}else{if(gp>gr){gp=gr;go=true}}gq=fk(this.doc,gp)}else{gq=gp}return eU(this,gq,{top:0,left:0},gs||"page").top+(go?this.doc.height-bM(gq):0)},defaultTextHeight:function(){return aY(this.display)},defaultCharWidth:function(){return dE(this.display)},setGutterMarker:c8(function(go,gp,gq){return eD(this.doc,go,"gutter",function(gr){var gs=gr.gutterMarkers||(gr.gutterMarkers={});gs[gp]=gq;if(!gq&&eY(gs)){gr.gutterMarkers=null}return true})}),clearGutter:c8(function(gq){var go=this,gr=go.doc,gp=gr.first;gr.iter(function(gs){if(gs.gutterMarkers&&gs.gutterMarkers[gq]){gs.gutterMarkers[gq]=null;R(go,gp,"gutter");if(eY(gs.gutterMarkers)){gs.gutterMarkers=null}}++gp})}),lineInfo:function(go){if(typeof go=="number"){if(!b9(this.doc,go)){return null}var gp=go;go=fk(this.doc,go);if(!go){return null}}else{var gp=bN(go);if(gp==null){return null}}return{line:gp,handle:go,text:go.text,gutterMarkers:go.gutterMarkers,textClass:go.textClass,bgClass:go.bgClass,wrapClass:go.wrapClass,widgets:go.widgets}},getViewport:function(){return{from:this.display.viewFrom,to:this.display.viewTo}},addWidget:function(gt,gq,gv,gr,gx){var gs=this.display;gt=dV(this,fO(this.doc,gt));var gu=gt.bottom,gp=gt.left;gq.style.position="absolute";gq.setAttribute("cm-ignore-events","true");this.display.input.setUneditable(gq);gs.sizer.appendChild(gq);if(gr=="over"){gu=gt.top}else{if(gr=="above"||gr=="near"){var go=Math.max(gs.wrapper.clientHeight,this.doc.height),gw=Math.max(gs.sizer.clientWidth,gs.lineSpace.clientWidth);if((gr=="above"||gt.bottom+gq.offsetHeight>go)&&gt.top>gq.offsetHeight){gu=gt.top-gq.offsetHeight}else{if(gt.bottom+gq.offsetHeight<=go){gu=gt.bottom}}if(gp+gq.offsetWidth>gw){gp=gw-gq.offsetWidth}}}gq.style.top=gu+"px";gq.style.left=gq.style.right="";if(gx=="right"){gp=gs.sizer.clientWidth-gq.offsetWidth;gq.style.right="0px"}else{if(gx=="left"){gp=0}else{if(gx=="middle"){gp=(gs.sizer.clientWidth-gq.offsetWidth)/2}}gq.style.left=gp+"px"}if(gv){E(this,gp,gu,gp+gq.offsetWidth,gu+gq.offsetHeight)}},triggerOnKeyDown:c8(p),triggerOnKeyPress:c8(cx),triggerOnKeyUp:bi,execCommand:function(go){if(eH.hasOwnProperty(go)){return eH[go].call(null,this)}},triggerElectric:c8(function(go){f1(this,go)}),findPosH:function(gu,gr,gs,gp){var go=1;if(gr<0){go=-1;gr=-gr}for(var gq=0,gt=fO(this.doc,gu);gq<gr;++gq){gt=bw(this.doc,gt,go,gs,gp);if(gt.hitSide){break}}return gt},moveH:c8(function(gp,gq){var go=this;go.extendSelectionsBy(function(gr){if(go.display.shift||go.doc.extend||gr.empty()){return bw(go.doc,gr.head,gp,gq,go.options.rtlMoveVisually)}else{return gp<0?gr.from():gr.to()}},cW)}),deleteH:c8(function(go,gp){var gq=this.doc.sel,gr=this.doc;if(gq.somethingSelected()){gr.replaceSelection("",null,"+delete")}else{e1(this,function(gt){var gs=bw(gr,gt.head,go,gp,false);return go<0?{from:gs,to:gt.head}:{from:gt.head,to:gs}})}}),findPosV:function(gt,gq,gu,gw){var go=1,gs=gw;if(gq<0){go=-1;gq=-gq}for(var gp=0,gv=fO(this.doc,gt);gp<gq;++gp){var gr=dV(this,gv,"div");if(gs==null){gs=gr.left}else{gr.left=gs}gv=bq(this,gr,go,gu);if(gv.hitSide){break}}return gv},moveV:c8(function(gp,gr){var go=this,gt=this.doc,gs=[];var gu=!go.display.shift&&!gt.extend&&gt.sel.somethingSelected();gt.extendSelectionsBy(function(gv){if(gu){return gp<0?gv.from():gv.to()}var gx=dV(go,gv.head,"div");if(gv.goalColumn!=null){gx.left=gv.goalColumn}gs.push(gx.left);var gw=bq(go,gx,gp,gr);if(gr=="page"&&gv==gt.sel.primary()){cL(go,null,cJ(go,gw,"div").top-gx.top)}return gw},cW);if(gs.length){for(var gq=0;gq<gt.sel.ranges.length;gq++){gt.sel.ranges[gq].goalColumn=gs[gq]}}}),findWordAt:function(gv){var gt=this.doc,gr=fk(gt,gv.line).text;var gu=gv.ch,gq=gv.ch;if(gr){var gs=this.getHelper(gv,"wordChars");if((gv.xRel<0||gq==gr.length)&&gu){--gu}else{++gq}var gp=gr.charAt(gu);var go=cA(gp,gs)?function(gw){return cA(gw,gs)}:/\s/.test(gp)?function(gw){return/\s/.test(gw)}:function(gw){return !/\s/.test(gw)&&!cA(gw)};while(gu>0&&go(gr.charAt(gu-1))){--gu}while(gq<gr.length&&go(gr.charAt(gq))){++gq}}return new dZ(W(gv.line,gu),W(gv.line,gq))},toggleOverwrite:function(go){if(go!=null&&go==this.state.overwrite){return}if(this.state.overwrite=!this.state.overwrite){fF(this.display.cursorDiv,"CodeMirror-overwrite")}else{f(this.display.cursorDiv,"CodeMirror-overwrite")}aE(this,"overwriteToggle",this,this.state.overwrite)},hasFocus:function(){return this.display.input.getField()==dP()},scrollTo:c8(function(go,gp){if(go!=null||gp!=null){fH(this)}if(go!=null){this.curOp.scrollLeft=go}if(gp!=null){this.curOp.scrollTop=gp}}),getScrollInfo:function(){var go=this.display.scroller;return{left:go.scrollLeft,top:go.scrollTop,height:go.scrollHeight-cT(this)-this.display.barHeight,width:go.scrollWidth-cT(this)-this.display.barWidth,clientHeight:cV(this),clientWidth:dm(this)}},scrollIntoView:c8(function(gp,gq){if(gp==null){gp={from:this.doc.sel.primary().head,to:null};if(gq==null){gq=this.options.cursorScrollMargin}}else{if(typeof gp=="number"){gp={from:W(gp,0),to:null}}else{if(gp.from==null){gp={from:gp,to:null}}}}if(!gp.to){gp.to=gp.from}gp.margin=gq||0;if(gp.from.line!=null){fH(this);this.curOp.scrollToPos=gp}else{var go=G(this,Math.min(gp.from.left,gp.to.left),Math.min(gp.from.top,gp.to.top)-gp.margin,Math.max(gp.from.right,gp.to.right),Math.max(gp.from.bottom,gp.to.bottom)+gp.margin);this.scrollTo(go.scrollLeft,go.scrollTop)}}),setSize:c8(function(gr,gp){var go=this;function gq(gt){return typeof gt=="number"||/^\d+$/.test(String(gt))?gt+"px":gt}if(gr!=null){go.display.wrapper.style.width=gq(gr)}if(gp!=null){go.display.wrapper.style.height=gq(gp)}if(go.options.lineWrapping){aO(this)}var gs=go.display.viewFrom;go.doc.iter(gs,go.display.viewTo,function(gt){if(gt.widgets){for(var gu=0;gu<gt.widgets.length;gu++){if(gt.widgets[gu].noHScroll){R(go,gs,"widget");break}}}++gs});go.curOp.forceUpdate=true;aE(go,"refresh",this)}),operation:function(go){return cM(this,go)},refresh:c8(function(){var go=this.display.cachedTextHeight;ah(this);this.curOp.forceUpdate=true;ak(this);this.scrollTo(this.doc.scrollLeft,this.doc.scrollTop);c4(this);if(go==null||Math.abs(go-aY(this.display))>0.5){X(this)}aE(this,"refresh",this)}),swapDoc:c8(function(gp){var go=this.doc;go.cm=null;ee(this,gp);ak(this);this.display.input.reset();this.scrollTo(gp.scrollLeft,gp.scrollTop);this.curOp.forceScroll=true;ae(this,"swapDoc",this,go);return go}),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}};by(H);var e7=H.defaults={};var bf=H.optionHandlers={};function s(go,gr,gq,gp){H.defaults[go]=gr;if(gq){bf[go]=gp?function(gs,gu,gt){if(gt!=cc){gq(gs,gu,gt)}}:gq}}var cc=H.Init={toString:function(){return"CodeMirror.Init"}};s("value","",function(go,gp){go.setValue(gp)},true);s("mode",null,function(go,gp){go.doc.modeOption=gp;br(go)},true);s("indentUnit",2,br,true);s("indentWithTabs",false);s("smartIndent",true);s("tabSize",4,function(go){ep(go);ak(go);ah(go)},true);s("lineSeparator",null,function(go,gr){go.doc.lineSep=gr;if(!gr){return}var gq=[],gs=go.doc.first;go.doc.iter(function(gt){for(var gv=0;;){var gu=gt.text.indexOf(gr,gv);if(gu==-1){break}gv=gu+gr.length;gq.push(W(gs,gu))}gs++});for(var gp=gq.length-1;gp>=0;gp--){a1(go.doc,gr,gq[gp],W(gq[gp].line,gq[gp].ch+gr.length))}});s("specialChars",/[\t\u0000-\u0019\u00ad\u200b-\u200f\u2028\u2029\ufeff]/g,function(go,gq,gp){go.state.specialChars=new RegExp(gq.source+(gq.test("\t")?"":"|\t"),"g");if(gp!=H.Init){go.refresh()}});s("specialCharPlaceholder",fh,function(go){go.refresh()},true);s("electricChars",true);s("inputStyle",ej?"contenteditable":"textarea",function(){throw new Error("inputStyle can not (yet) be changed in a running editor")},true);s("rtlMoveVisually",!aP);s("wholeLineUpdateBefore",true);s("theme","default",function(go){cO(go);dx(go)},true);s("keyMap","default",function(go,gs,gp){var gq=f3(gs);var gr=gp!=H.Init&&f3(gp);if(gr&&gr.detach){gr.detach(go,gq)}if(gq.attach){gq.attach(go,gr||null)}});s("extraKeys",null);s("lineWrapping",false,eK,true);s("gutters",[],function(go){ce(go.options);dx(go)},true);s("fixedGutter",true,function(go,gp){go.display.gutters.style.left=gp?dY(go.display)+"px":"0";go.refresh()},true);s("coverGutterNextToScrollbar",false,function(go){e2(go)},true);s("scrollbarStyle","native",function(go){aD(go);e2(go);go.display.scrollbars.setScrollTop(go.doc.scrollTop);go.display.scrollbars.setScrollLeft(go.doc.scrollLeft)},true);s("lineNumbers",false,function(go){ce(go.options);dx(go)},true);s("firstLineNumber",1,dx,true);s("lineNumberFormatter",function(go){return go},dx,true);s("showCursorWhenSelecting",false,bC,true);s("resetSelectionOnContextMenu",true);s("lineWiseCopyCut",true);s("readOnly",false,function(go,gp){if(gp=="nocursor"){aV(go);go.display.input.blur();go.display.disabled=true}else{go.display.disabled=false}go.display.input.readOnlyChanged(gp)});s("disableInput",false,function(go,gp){if(!gp){go.display.input.reset()}},true);s("dragDrop",true,f6);s("allowDropFileTypes",null);s("cursorBlinkRate",530);s("cursorScrollMargin",0);s("cursorHeight",1,bC,true);s("singleCursorHeightPerLine",true,bC,true);s("workTime",100);s("workDelay",100);s("flattenSpans",true,ep,true);s("addModeClass",false,ep,true);s("pollInterval",100);s("undoDepth",200,function(go,gp){go.doc.history.undoDepth=gp});s("historyEventDelay",1250);s("viewportMargin",10,function(go){go.refresh()},true);s("maxHighlightLength",10000,ep,true);s("moveInputWithCursor",true,function(go,gp){if(!gp){go.display.input.resetPosition()}});s("tabindex",null,function(go,gp){go.display.input.getField().tabIndex=gp||""});s("autofocus",null);var dt=H.modes={},aS=H.mimeModes={};H.defineMode=function(go,gp){if(!H.defaults.mode&&go!="null"){H.defaults.mode=go}if(arguments.length>2){gp.dependencies=Array.prototype.slice.call(arguments,2)}dt[go]=gp};H.defineMIME=function(gp,go){aS[gp]=go};H.resolveMode=function(go){if(typeof go=="string"&&aS.hasOwnProperty(go)){go=aS[go]}else{if(go&&typeof go.name=="string"&&aS.hasOwnProperty(go.name)){var gp=aS[go.name];if(typeof gp=="string"){gp={name:gp}}go=ck(gp,go);go.name=gp.name}else{if(typeof go=="string"&&/^[\w\-]+\/[\w\-]+\+xml$/.test(go)){return H.resolveMode("application/xml")}}}if(typeof go=="string"){return{name:go}}else{return go||{name:"null"}}};H.getMode=function(gp,go){var go=H.resolveMode(go);var gr=dt[go.name];if(!gr){return H.getMode(gp,"text/plain")}var gs=gr(gp,go);if(dq.hasOwnProperty(go.name)){var gq=dq[go.name];for(var gt in gq){if(!gq.hasOwnProperty(gt)){continue}if(gs.hasOwnProperty(gt)){gs["_"+gt]=gs[gt]}gs[gt]=gq[gt]}}gs.name=go.name;if(go.helperType){gs.helperType=go.helperType}if(go.modeProps){for(var gt in go.modeProps){gs[gt]=go.modeProps[gt]}}return gs};H.defineMode("null",function(){return{token:function(go){go.skipToEnd()}}});H.defineMIME("text/plain","null");var dq=H.modeExtensions={};H.extendMode=function(gq,gp){var go=dq.hasOwnProperty(gq)?dq[gq]:(dq[gq]={});aN(gp,go)};H.defineExtension=function(go,gp){H.prototype[go]=gp};H.defineDocExtension=function(go,gp){at.prototype[go]=gp};H.defineOption=s;var a8=[];H.defineInitHook=function(go){a8.push(go)};var ft=H.helpers={};H.registerHelper=function(gp,go,gq){if(!ft.hasOwnProperty(gp)){ft[gp]=H[gp]={_global:[]}}ft[gp][go]=gq};H.registerGlobalHelper=function(gq,gp,go,gr){H.registerHelper(gq,gp,gr);ft[gq]._global.push({pred:go,val:gr})};var b3=H.copyState=function(gr,go){if(go===true){return go}if(gr.copyState){return gr.copyState(go)}var gq={};for(var gs in go){var gp=go[gs];if(gp instanceof Array){gp=gp.concat([])}gq[gs]=gp}return gq};var b0=H.startState=function(gq,gp,go){return gq.startState?gq.startState(gp,go):true};H.innerMode=function(gq,go){while(gq.innerMode){var gp=gq.innerMode(go);if(!gp||gp.mode==gq){break}go=gp.state;gq=gp.mode}return gp||{mode:gq,state:go}};var eH=H.commands={selectAll:function(go){go.setSelection(W(go.firstLine(),0),W(go.lastLine()),Z)},singleSelection:function(go){go.setSelection(go.getCursor("anchor"),go.getCursor("head"),Z)},killLine:function(go){e1(go,function(gq){if(gq.empty()){var gp=fk(go.doc,gq.head.line).text.length;if(gq.head.ch==gp&&gq.head.line<go.lastLine()){return{from:gq.head,to:W(gq.head.line+1,0)}}else{return{from:gq.head,to:W(gq.head.line,gp)}}}else{return{from:gq.from(),to:gq.to()}}})},deleteLine:function(go){e1(go,function(gp){return{from:W(gp.from().line,0),to:fO(go.doc,W(gp.to().line+1,0))}})},delLineLeft:function(go){e1(go,function(gp){return{from:W(gp.from().line,0),to:gp.from()}})},delWrappedLineLeft:function(go){e1(go,function(gp){var gr=go.charCoords(gp.head,"div").top+5;var gq=go.coordsChar({left:0,top:gr},"div");return{from:gq,to:gp.from()}})},delWrappedLineRight:function(go){e1(go,function(gp){var gr=go.charCoords(gp.head,"div").top+5;var gq=go.coordsChar({left:go.display.lineDiv.offsetWidth+100,top:gr},"div");return{from:gp.from(),to:gq}})},undo:function(go){go.undo()},redo:function(go){go.redo()},undoSelection:function(go){go.undoSelection()},redoSelection:function(go){go.redoSelection()},goDocStart:function(go){go.extendSelection(W(go.firstLine(),0))},goDocEnd:function(go){go.extendSelection(W(go.lastLine()))},goLineStart:function(go){go.extendSelectionsBy(function(gp){return bt(go,gp.head.line)},{origin:"+move",bias:1})},goLineStartSmart:function(go){go.extendSelectionsBy(function(gp){return dJ(go,gp.head)},{origin:"+move",bias:1})},goLineEnd:function(go){go.extendSelectionsBy(function(gp){return dQ(go,gp.head.line)},{origin:"+move",bias:-1})},goLineRight:function(go){go.extendSelectionsBy(function(gp){var gq=go.charCoords(gp.head,"div").top+5;return go.coordsChar({left:go.display.lineDiv.offsetWidth+100,top:gq},"div")},cW)},goLineLeft:function(go){go.extendSelectionsBy(function(gp){var gq=go.charCoords(gp.head,"div").top+5;return go.coordsChar({left:0,top:gq},"div")},cW)},goLineLeftSmart:function(go){go.extendSelectionsBy(function(gp){var gq=go.charCoords(gp.head,"div").top+5;var gr=go.coordsChar({left:0,top:gq},"div");if(gr.ch<go.getLine(gr.line).search(/\S/)){return dJ(go,gp.head)}return gr},cW)},goLineUp:function(go){go.moveV(-1,"line")},goLineDown:function(go){go.moveV(1,"line")},goPageUp:function(go){go.moveV(-1,"page")},goPageDown:function(go){go.moveV(1,"page")},goCharLeft:function(go){go.moveH(-1,"char")},goCharRight:function(go){go.moveH(1,"char")},goColumnLeft:function(go){go.moveH(-1,"column")},goColumnRight:function(go){go.moveH(1,"column")},goWordLeft:function(go){go.moveH(-1,"word")},goGroupRight:function(go){go.moveH(1,"group")},goGroupLeft:function(go){go.moveH(-1,"group")},goWordRight:function(go){go.moveH(1,"word")},delCharBefore:function(go){go.deleteH(-1,"char")},delCharAfter:function(go){go.deleteH(1,"char")},delWordBefore:function(go){go.deleteH(-1,"word")},delWordAfter:function(go){go.deleteH(1,"word")},delGroupBefore:function(go){go.deleteH(-1,"group")},delGroupAfter:function(go){go.deleteH(1,"group")},indentAuto:function(go){go.indentSelection("smart")},indentMore:function(go){go.indentSelection("add")},indentLess:function(go){go.indentSelection("subtract")},insertTab:function(go){go.replaceSelection("\t")},insertSoftTab:function(go){var gq=[],gp=go.listSelections(),gt=go.options.tabSize;for(var gs=0;gs<gp.length;gs++){var gu=gp[gs].from();var gr=bT(go.getLine(gu.line),gu.ch,gt);gq.push(new Array(gt-gr%gt+1).join(" "))}go.replaceSelections(gq)},defaultTab:function(go){if(go.somethingSelected()){go.indentSelection("add")}else{go.execCommand("insertTab")}},transposeChars:function(go){cM(go,function(){var gr=go.listSelections(),gq=[];for(var gs=0;gs<gr.length;gs++){var gu=gr[gs].head,gp=fk(go.doc,gu.line).text;if(gp){if(gu.ch==gp.length){gu=new W(gu.line,gu.ch-1)}if(gu.ch>0){gu=new W(gu.line,gu.ch+1);go.replaceRange(gp.charAt(gu.ch-1)+gp.charAt(gu.ch-2),W(gu.line,gu.ch-2),gu,"+transpose")}else{if(gu.line>go.doc.first){var gt=fk(go.doc,gu.line-1).text;if(gt){go.replaceRange(gp.charAt(0)+go.doc.lineSeparator()+gt.charAt(gt.length-1),W(gu.line-1,gt.length-1),W(gu.line,1),"+transpose")}}}}gq.push(new dZ(gu,gu))}go.setSelections(gq)})},newlineAndIndent:function(go){cM(go,function(){var gp=go.listSelections().length;for(var gr=0;gr<gp;gr++){var gq=go.listSelections()[gr];go.replaceRange(go.doc.lineSeparator(),gq.anchor,gq.head,"+input");go.indentLine(gq.from().line+1,null,true)}fK(go)})},toggleOverwrite:function(go){go.toggleOverwrite()}};var ff=H.keyMap={};ff.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"};ff.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"};ff.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"};ff.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"]};ff["default"]=b7?ff.macDefault:ff.pcDefault;function du(gp){var gv=gp.split(/-(?!$)/),gp=gv[gv.length-1];var gu,gt,go,gs;for(var gr=0;gr<gv.length-1;gr++){var gq=gv[gr];if(/^(cmd|meta|m)$/i.test(gq)){gs=true}else{if(/^a(lt)?$/i.test(gq)){gu=true}else{if(/^(c|ctrl|control)$/i.test(gq)){gt=true}else{if(/^s(hift)$/i.test(gq)){go=true}else{throw new Error("Unrecognized modifier name: "+gq)}}}}}if(gu){gp="Alt-"+gp}if(gt){gp="Ctrl-"+gp}if(gs){gp="Cmd-"+gp}if(go){gp="Shift-"+gp}return gp}H.normalizeKeyMap=function(gv){var gp={};for(var gu in gv){if(gv.hasOwnProperty(gu)){var gw=gv[gu];if(/^(name|fallthrough|(de|at)tach)$/.test(gu)){continue}if(gw=="..."){delete gv[gu];continue}var gx=bS(gu.split(" "),du);for(var gt=0;gt<gx.length;gt++){var gr,gq;if(gt==gx.length-1){gq=gx.join(" ");gr=gw}else{gq=gx.slice(0,gt+1).join(" ");gr="..."}var gs=gp[gq];if(!gs){gp[gq]=gr}else{if(gs!=gr){throw new Error("Inconsistent bindings for "+gq)}}}delete gv[gu]}}for(var go in gp){gv[go]=gp[go]}return gv};var i=H.lookupKey=function(gr,gu,gt,gq){gu=f3(gu);var gs=gu.call?gu.call(gr,gq):gu[gr];if(gs===false){return"nothing"}if(gs==="..."){return"multi"}if(gs!=null&&gt(gs)){return"handled"}if(gu.fallthrough){if(Object.prototype.toString.call(gu.fallthrough)!="[object Array]"){return i(gr,gu.fallthrough,gt,gq)}for(var gp=0;gp<gu.fallthrough.length;gp++){var go=i(gr,gu.fallthrough[gp],gt,gq);if(go){return go}}}};var eG=H.isModifierKey=function(gp){var go=typeof gp=="string"?gp:fl[gp.keyCode];return go=="Ctrl"||go=="Alt"||go=="Shift"||go=="Mod"};var fw=H.keyName=function(gp,gr){if(d5&&gp.keyCode==34&&gp["char"]){return false}var gq=fl[gp.keyCode],go=gq;if(go==null||gp.altGraphKey){return false}if(gp.altKey&&gq!="Alt"){go="Alt-"+go}if((bQ?gp.metaKey:gp.ctrlKey)&&gq!="Ctrl"){go="Ctrl-"+go}if((bQ?gp.ctrlKey:gp.metaKey)&&gq!="Cmd"){go="Cmd-"+go}if(!gr&&gp.shiftKey&&gq!="Shift"){go="Shift-"+go}return go};function f3(go){return typeof go=="string"?ff[go]:go}H.fromTextArea=function(gv,gw){gw=gw?aN(gw):{};gw.value=gv.value;if(!gw.tabindex&&gv.tabIndex){gw.tabindex=gv.tabIndex}if(!gw.placeholder&&gv.placeholder){gw.placeholder=gv.placeholder}if(gw.autofocus==null){var go=dP();gw.autofocus=go==gv||gv.getAttribute("autofocus")!=null&&go==document.body}function gs(){gv.value=gu.getValue()}if(gv.form){bX(gv.form,"submit",gs);if(!gw.leaveSubmitMethodAlone){var gp=gv.form,gt=gp.submit;try{var gr=gp.submit=function(){gs();gp.submit=gt;gp.submit();gp.submit=gr}}catch(gq){}}}gw.finishInit=function(gx){gx.save=gs;gx.getTextArea=function(){return gv};gx.toTextArea=function(){gx.toTextArea=isNaN;gs();gv.parentNode.removeChild(gx.getWrapperElement());gv.style.display="";if(gv.form){eg(gv.form,"submit",gs);if(typeof gv.form.submit=="function"){gv.form.submit=gt}}}};gv.style.display="none";var gu=H(function(gx){gv.parentNode.insertBefore(gx,gv.nextSibling)},gw);return gu};var eX=H.StringStream=function(go,gp){this.pos=this.start=0;this.string=go;this.tabSize=gp||8;this.lastColumnPos=this.lastColumnValue=0;this.lineStart=0};eX.prototype={eol:function(){return this.pos>=this.string.length},sol:function(){return this.pos==this.lineStart},peek:function(){return this.string.charAt(this.pos)||undefined},next:function(){if(this.pos<this.string.length){return this.string.charAt(this.pos++)}},eat:function(go){var gq=this.string.charAt(this.pos);if(typeof go=="string"){var gp=gq==go}else{var gp=gq&&(go.test?go.test(gq):go(gq))}if(gp){++this.pos;return gq}},eatWhile:function(go){var gp=this.pos;while(this.eat(go)){}return this.pos>gp},eatSpace:function(){var go=this.pos;while(/[\s\u00a0]/.test(this.string.charAt(this.pos))){++this.pos}return this.pos>go},skipToEnd:function(){this.pos=this.string.length},skipTo:function(go){var gp=this.string.indexOf(go,this.pos);if(gp>-1){this.pos=gp;return true}},backUp:function(go){this.pos-=go},column:function(){if(this.lastColumnPos<this.start){this.lastColumnValue=bT(this.string,this.start,this.tabSize,this.lastColumnPos,this.lastColumnValue);this.lastColumnPos=this.start}return this.lastColumnValue-(this.lineStart?bT(this.string,this.lineStart,this.tabSize):0)},indentation:function(){return bT(this.string,null,this.tabSize)-(this.lineStart?bT(this.string,this.lineStart,this.tabSize):0)},match:function(gs,gp,go){if(typeof gs=="string"){var gt=function(gu){return go?gu.toLowerCase():gu};var gr=this.string.substr(this.pos,gs.length);if(gt(gr)==gt(gs)){if(gp!==false){this.pos+=gs.length}return true}}else{var gq=this.string.slice(this.pos).match(gs);if(gq&&gq.index>0){return null}if(gq&&gp!==false){this.pos+=gq[0].length}return gq}},current:function(){return this.string.slice(this.start,this.pos)},hideFirstChars:function(gp,go){this.lineStart+=gp;try{return go()}finally{this.lineStart-=gp}}};var a5=0;var P=H.TextMarker=function(gp,go){this.lines=[];this.type=go;this.doc=gp;this.id=++a5};by(P);P.prototype.clear=function(){if(this.explicitlyCleared){return}var gv=this.doc.cm,gp=gv&&!gv.curOp;if(gp){cI(gv)}if(fn(this,"clear")){var gw=this.find();if(gw){ae(this,"clear",gw.from,gw.to)}}var gq=null,gt=null;for(var gr=0;gr<this.lines.length;++gr){var gx=this.lines[gr];var gu=fe(gx.markedSpans,this);if(gv&&!this.collapsed){R(gv,bN(gx),"text")}else{if(gv){if(gu.to!=null){gt=bN(gx)}if(gu.from!=null){gq=bN(gx)}}}gx.markedSpans=eL(gx.markedSpans,gu);if(gu.from==null&&this.collapsed&&!fB(this.doc,gx)&&gv){gb(gx,aY(gv.display))}}if(gv&&this.collapsed&&!gv.options.lineWrapping){for(var gr=0;gr<this.lines.length;++gr){var go=x(this.lines[gr]),gs=er(go);if(gs>gv.display.maxLineLength){gv.display.maxLine=go;gv.display.maxLineLength=gs;gv.display.maxLineChanged=true}}}if(gq!=null&&gv&&this.collapsed){ah(gv,gq,gt+1)}this.lines.length=0;this.explicitlyCleared=true;if(this.atomic&&this.doc.cantEdit){this.doc.cantEdit=false;if(gv){eC(gv.doc)}}if(gv){ae(gv,"markerCleared",gv,this)}if(gp){am(gv)}if(this.parent){this.parent.clear()}};P.prototype.find=function(gr,gp){if(gr==null&&this.type=="bookmark"){gr=1}var gu,gt;for(var gq=0;gq<this.lines.length;++gq){var go=this.lines[gq];var gs=fe(go.markedSpans,this);if(gs.from!=null){gu=W(gp?go:bN(go),gs.from);if(gr==-1){return gu}}if(gs.to!=null){gt=W(gp?go:bN(go),gs.to);if(gr==1){return gt}}}return gu&&{from:gu,to:gt}};P.prototype.changed=function(){var gq=this.find(-1,true),gp=this,go=this.doc.cm;if(!gq||!go){return}cM(go,function(){var gs=gq.line,gt=bN(gq.line);var gr=fg(go,gt);if(gr){au(gr);go.curOp.selectionChanged=go.curOp.forceUpdate=true}go.curOp.updateMaxLine=true;if(!fB(gp.doc,gs)&&gp.height!=null){var gv=gp.height;gp.height=null;var gu=cY(gp)-gv;if(gu){gb(gs,gs.height+gu)}}})};P.prototype.attachLine=function(go){if(!this.lines.length&&this.doc.cm){var gp=this.doc.cm.curOp;if(!gp.maybeHiddenMarkers||di(gp.maybeHiddenMarkers,this)==-1){(gp.maybeUnhiddenMarkers||(gp.maybeUnhiddenMarkers=[])).push(this)}}this.lines.push(go)};P.prototype.detachLine=function(go){this.lines.splice(di(this.lines,go),1);if(!this.lines.length&&this.doc.cm){var gp=this.doc.cm.curOp;(gp.maybeHiddenMarkers||(gp.maybeHiddenMarkers=[])).push(this)}};var a5=0;function eJ(gw,gu,gv,gy,gs){if(gy&&gy.shared){return O(gw,gu,gv,gy,gs)}if(gw.cm&&!gw.cm.curOp){return c2(gw.cm,eJ)(gw,gu,gv,gy,gs)}var gr=new P(gw,gs),gx=cf(gu,gv);if(gy){aN(gy,gr,false)}if(gx>0||gx==0&&gr.clearWhenEmpty!==false){return gr}if(gr.replacedWith){gr.collapsed=true;gr.widgetNode=f8("span",[gr.replacedWith],"CodeMirror-widget");if(!gy.handleMouseEvents){gr.widgetNode.setAttribute("cm-ignore-events","true")}if(gy.insertLeft){gr.widgetNode.insertLeft=true}}if(gr.collapsed){if(z(gw,gu.line,gu,gv,gr)||gu.line!=gv.line&&z(gw,gv.line,gu,gv,gr)){throw new Error("Inserting collapsed marker partially overlapping an existing one")}a7=true}if(gr.addToHistory){fR(gw,{from:gu,to:gv,origin:"markText"},gw.sel,NaN)}var gp=gu.line,gt=gw.cm,go;gw.iter(gp,gv.line+1,function(gz){if(gt&&gr.collapsed&&!gt.options.lineWrapping&&x(gz)==gt.display.maxLine){go=true}if(gr.collapsed&&gp!=gu.line){gb(gz,0)}cd(gz,new el(gr,gp==gu.line?gu.ch:null,gp==gv.line?gv.ch:null));++gp});if(gr.collapsed){gw.iter(gu.line,gv.line+1,function(gz){if(fB(gw,gz)){gb(gz,0)}})}if(gr.clearOnEnter){bX(gr,"beforeCursorEnter",function(){gr.clear()})}if(gr.readOnly){gi=true;if(gw.history.done.length||gw.history.undone.length){gw.clearHistory()}}if(gr.collapsed){gr.id=++a5;gr.atomic=true}if(gt){if(go){gt.curOp.updateMaxLine=true}if(gr.collapsed){ah(gt,gu.line,gv.line+1)}else{if(gr.className||gr.title||gr.startStyle||gr.endStyle||gr.css){for(var gq=gu.line;gq<=gv.line;gq++){R(gt,gq,"text")}}}if(gr.atomic){eC(gt.doc)}ae(gt,"markerAdded",gt,gr)}return gr}var y=H.SharedTextMarker=function(gq,gp){this.markers=gq;this.primary=gp;for(var go=0;go<gq.length;++go){gq[go].parent=this}};by(y);y.prototype.clear=function(){if(this.explicitlyCleared){return}this.explicitlyCleared=true;for(var go=0;go<this.markers.length;++go){this.markers[go].clear()}ae(this,"clear")};y.prototype.find=function(gp,go){return this.primary.find(gp,go)};function O(gs,gv,gu,go,gq){go=aN(go);go.shared=false;var gt=[eJ(gs,gv,gu,go,gq)],gp=gt[0];var gr=go.widgetNode;d9(gs,function(gx){if(gr){go.widgetNode=gr.cloneNode(true)}gt.push(eJ(gx,fO(gx,gv),fO(gx,gu),go,gq));for(var gw=0;gw<gx.linked.length;++gw){if(gx.linked[gw].isParent){return}}gp=fL(gt)});return new y(gt,gp)}function eT(go){return go.findMarks(W(go.first,0),go.clipPos(W(go.lastLine())),function(gp){return gp.parent})}function dG(gt,gu){for(var gr=0;gr<gu.length;gr++){var gp=gu[gr],gv=gp.find();var go=gt.clipPos(gv.from),gs=gt.clipPos(gv.to);if(cf(go,gs)){var gq=eJ(gt,go,gs,gp.primary,gp.primary.type);gp.markers.push(gq);gq.parent=gp}}}function es(gr){for(var gq=0;gq<gr.length;gq++){var go=gr[gq],gt=[go.primary.doc];d9(go.primary.doc,function(gu){gt.push(gu)});for(var gp=0;gp<go.markers.length;gp++){var gs=go.markers[gp];if(di(gt,gs.doc)==-1){gs.parent=null;go.markers.splice(gp--,1)}}}}function el(go,gq,gp){this.marker=go;this.from=gq;this.to=gp}function fe(gq,go){if(gq){for(var gp=0;gp<gq.length;++gp){var gr=gq[gp];if(gr.marker==go){return gr}}}}function eL(gp,gq){for(var gr,go=0;go<gp.length;++go){if(gp[go]!=gq){(gr||(gr=[])).push(gp[go])}}return gr}function cd(go,gp){go.markedSpans=go.markedSpans?go.markedSpans.concat([gp]):[gp];gp.marker.attachLine(go)}function aQ(gp,gq,gu){if(gp){for(var gs=0,gv;gs<gp.length;++gs){var gw=gp[gs],gt=gw.marker;var go=gw.from==null||(gt.inclusiveLeft?gw.from<=gq:gw.from<gq);if(go||gw.from==gq&&gt.type=="bookmark"&&(!gu||!gw.marker.insertLeft)){var gr=gw.to==null||(gt.inclusiveRight?gw.to>=gq:gw.to>gq);(gv||(gv=[])).push(new el(gt,gw.from,gr?null:gw.to))}}}return gv}function aB(gp,gr,gu){if(gp){for(var gs=0,gv;gs<gp.length;++gs){var gw=gp[gs],gt=gw.marker;var gq=gw.to==null||(gt.inclusiveRight?gw.to>=gr:gw.to>gr);if(gq||gw.from==gr&&gt.type=="bookmark"&&(!gu||gw.marker.insertLeft)){var go=gw.from==null||(gt.inclusiveLeft?gw.from<=gr:gw.from<gr);(gv||(gv=[])).push(new el(gt,go?null:gw.from-gr,gw.to==null?null:gw.to-gr))}}}return gv}function en(gA,gx){if(gx.full){return null}var gw=b9(gA,gx.from.line)&&fk(gA,gx.from.line).markedSpans;var gD=b9(gA,gx.to.line)&&fk(gA,gx.to.line).markedSpans;if(!gw&&!gD){return null}var gp=gx.from.ch,gs=gx.to.ch,gv=cf(gx.from,gx.to)==0;var gu=aQ(gw,gp,gv);var gC=aB(gD,gs,gv);var gB=gx.text.length==1,gq=fL(gx.text).length+(gB?gp:0);if(gu){for(var gr=0;gr<gu.length;++gr){var gz=gu[gr];if(gz.to==null){var gE=fe(gC,gz.marker);if(!gE){gz.to=gp}else{if(gB){gz.to=gE.to==null?null:gE.to+gq}}}}}if(gC){for(var gr=0;gr<gC.length;++gr){var gz=gC[gr];if(gz.to!=null){gz.to+=gq}if(gz.from==null){var gE=fe(gu,gz.marker);if(!gE){gz.from=gq;if(gB){(gu||(gu=[])).push(gz)}}}else{gz.from+=gq;if(gB){(gu||(gu=[])).push(gz)}}}}if(gu){gu=q(gu)}if(gC&&gC!=gu){gC=q(gC)}var gt=[gu];if(!gB){var gy=gx.text.length-2,go;if(gy>0&&gu){for(var gr=0;gr<gu.length;++gr){if(gu[gr].to==null){(go||(go=[])).push(new el(gu[gr].marker,null,null))}}}for(var gr=0;gr<gy;++gr){gt.push(go)}gt.push(gC)}return gt}function q(gp){for(var go=0;go<gp.length;++go){var gq=gp[go];if(gq.from!=null&&gq.from==gq.to&&gq.marker.clearWhenEmpty!==false){gp.splice(go--,1)}}if(!gp.length){return null}return gp}function eb(gw,gu){var go=b4(gw,gu);var gx=en(gw,gu);if(!go){return gx}if(!gx){return go}for(var gr=0;gr<go.length;++gr){var gs=go[gr],gt=gx[gr];if(gs&&gt){spans:for(var gq=0;gq<gt.length;++gq){var gv=gt[gq];for(var gp=0;gp<gs.length;++gp){if(gs[gp].marker==gv.marker){continue spans}}gs.push(gv)}}else{if(gt){go[gr]=gt}}}return go}function cH(gA,gy,gz){var gs=null;gA.iter(gy.line,gz.line+1,function(gB){if(gB.markedSpans){for(var gC=0;gC<gB.markedSpans.length;++gC){var gD=gB.markedSpans[gC].marker;if(gD.readOnly&&(!gs||di(gs,gD)==-1)){(gs||(gs=[])).push(gD)}}}});if(!gs){return null}var gt=[{from:gy,to:gz}];for(var gu=0;gu<gs.length;++gu){var gv=gs[gu],gq=gv.find(0);for(var gr=0;gr<gt.length;++gr){var gp=gt[gr];if(cf(gp.to,gq.from)<0||cf(gp.from,gq.to)>0){continue}var gx=[gr,1],go=cf(gp.from,gq.from),gw=cf(gp.to,gq.to);if(go<0||!gv.inclusiveLeft&&!go){gx.push({from:gp.from,to:gq.from})}if(gw>0||!gv.inclusiveRight&&!gw){gx.push({from:gq.to,to:gp.to})}gt.splice.apply(gt,gx);gr+=gx.length-1}}return gt}function ge(go){var gq=go.markedSpans;if(!gq){return}for(var gp=0;gp<gq.length;++gp){gq[gp].marker.detachLine(go)}go.markedSpans=null}function c3(go,gq){if(!gq){return}for(var gp=0;gp<gq.length;++gp){gq[gp].marker.attachLine(go)}go.markedSpans=gq}function v(go){return go.inclusiveLeft?-1:0}function bW(go){return go.inclusiveRight?1:0}function dR(gr,gp){var gt=gr.lines.length-gp.lines.length;if(gt!=0){return gt}var gq=gr.find(),gu=gp.find();var go=cf(gq.from,gu.from)||v(gr)-v(gp);if(go){return -go}var gs=cf(gq.to,gu.to)||bW(gr)-bW(gp);if(gs){return gs}return gp.id-gr.id}function a6(gp,gt){var go=a7&&gp.markedSpans,gs;if(go){for(var gr,gq=0;gq<go.length;++gq){gr=go[gq];if(gr.marker.collapsed&&(gt?gr.from:gr.to)==null&&(!gs||dR(gs,gr.marker)<0)){gs=gr.marker}}}return gs}function eS(go){return a6(go,true)}function ey(go){return a6(go,false)}function z(gw,gq,gu,gv,gs){var gz=fk(gw,gq);var go=a7&&gz.markedSpans;if(go){for(var gr=0;gr<go.length;++gr){var gp=go[gr];if(!gp.marker.collapsed){continue}var gy=gp.marker.find(0);var gx=cf(gy.from,gu)||v(gp.marker)-v(gs);var gt=cf(gy.to,gv)||bW(gp.marker)-bW(gs);if(gx>=0&&gt<=0||gx<=0&&gt>=0){continue}if(gx<=0&&(cf(gy.to,gu)>0||(gp.marker.inclusiveRight&&gs.inclusiveLeft))||gx>=0&&(cf(gy.from,gv)<0||(gp.marker.inclusiveLeft&&gs.inclusiveRight))){return true}}}}function x(gp){var go;while(go=eS(gp)){gp=go.find(-1,true).line}return gp}function g(gq){var go,gp;while(go=ey(gq)){gq=go.find(1,true).line;(gp||(gp=[])).push(gq)}return gp}function aW(gr,gp){var go=fk(gr,gp),gq=x(go);if(go==gq){return gp}return bN(gq)}function d4(gr,gq){if(gq>gr.lastLine()){return gq}var gp=fk(gr,gq),go;if(!fB(gr,gp)){return gq}while(go=ey(gp)){gp=go.find(1,true).line}return bN(gp)+1}function fB(gs,gp){var go=a7&&gp.markedSpans;if(go){for(var gr,gq=0;gq<go.length;++gq){gr=go[gq];if(!gr.marker.collapsed){continue}if(gr.from==null){return true}if(gr.marker.widgetNode){continue}if(gr.from==0&&gr.marker.inclusiveLeft&&T(gs,gp,gr)){return true}}}}function T(gt,gp,gr){if(gr.to==null){var go=gr.marker.find(1,true);return T(gt,go.line,fe(go.line.markedSpans,gr.marker))}if(gr.marker.inclusiveRight&&gr.to==gp.text.length){return true}for(var gs,gq=0;gq<gp.markedSpans.length;++gq){gs=gp.markedSpans[gq];if(gs.marker.collapsed&&!gs.marker.widgetNode&&gs.from==gr.to&&(gs.to==null||gs.to!=gr.from)&&(gs.marker.inclusiveLeft||gr.marker.inclusiveRight)&&T(gt,gp,gs)){return true}}}var dC=H.LineWidget=function(gr,gq,go){if(go){for(var gp in go){if(go.hasOwnProperty(gp)){this[gp]=go[gp]}}}this.doc=gr;this.node=gq};by(dC);function d0(go,gp,gq){if(bM(gp)<((go.curOp&&go.curOp.scrollTop)||go.doc.scrollTop)){cL(go,null,gq)}}dC.prototype.clear=function(){var gp=this.doc.cm,gr=this.line.widgets,gq=this.line,gt=bN(gq);if(gt==null||!gr){return}for(var gs=0;gs<gr.length;++gs){if(gr[gs]==this){gr.splice(gs--,1)}}if(!gr.length){gq.widgets=null}var go=cY(this);gb(gq,Math.max(0,gq.height-go));if(gp){cM(gp,function(){d0(gp,gq,-go);R(gp,gt,"widget")})}};dC.prototype.changed=function(){var gp=this.height,go=this.doc.cm,gq=this.line;this.height=null;var gr=cY(this)-gp;if(!gr){return}gb(gq,gq.height+gr);if(go){cM(go,function(){go.curOp.forceUpdate=true;d0(go,gq,gr)})}};function cY(gq){if(gq.height!=null){return gq.height}var go=gq.doc.cm;if(!go){return 0}if(!gg(document.body,gq.node)){var gp="position: relative;";if(gq.coverGutter){gp+="margin-left: -"+go.display.gutters.offsetWidth+"px;"}if(gq.noHScroll){gp+="width: "+go.display.wrapper.clientWidth+"px;"}bR(go.display.measure,f8("div",[gq.node],null,gp))}return gq.height=gq.node.offsetHeight}function bH(gt,gs,gq,gp){var gr=new dC(gt,gq,gp);var go=gt.cm;if(go&&gr.noHScroll){go.display.alignWidgets=true}eD(gt,gs,"widget",function(gv){var gw=gv.widgets||(gv.widgets=[]);if(gr.insertAt==null){gw.push(gr)}else{gw.splice(Math.min(gw.length-1,Math.max(0,gr.insertAt)),0,gr)}gr.line=gv;if(go&&!fB(gt,gv)){var gu=bM(gv)<gt.scrollTop;gb(gv,gv.height+cY(gr));if(gu){cL(go,null,gr.height)}go.curOp.forceUpdate=true}return true});return gr}var gc=H.Line=function(gq,gp,go){this.text=gq;c3(this,gp);this.height=go?go(this):1};by(gc);gc.prototype.lineNo=function(){return bN(this)};function eq(gp,gs,gq,go){gp.text=gs;if(gp.stateAfter){gp.stateAfter=null}if(gp.styles){gp.styles=null}if(gp.order!=null){gp.order=null}ge(gp);c3(gp,gq);var gr=go?go(gp):1;if(gr!=gp.height){gb(gp,gr)}}function bB(go){go.parent=null;ge(go)}function dj(gq,gp){if(gq){for(;;){var go=gq.match(/(?:^|\s+)line-(background-)?(\S+)/);if(!go){break}gq=gq.slice(0,go.index)+gq.slice(go.index+go[0].length);var gr=go[1]?"bgClass":"textClass";if(gp[gr]==null){gp[gr]=go[2]}else{if(!(new RegExp("(?:^|s)"+go[2]+"(?:$|s)")).test(gp[gr])){gp[gr]+=" "+go[2]}}}}return gq}function fv(gq,gp){if(gq.blankLine){return gq.blankLine(gp)}if(!gq.innerMode){return}var go=H.innerMode(gq,gp);if(go.mode.blankLine){return go.mode.blankLine(go.state)}}function eE(gt,gs,gr,go){for(var gp=0;gp<10;gp++){if(go){go[0]=H.innerMode(gt,gr).mode}var gq=gt.token(gs,gr);if(gs.pos>gs.start){return gq}}throw new Error("Mode "+gt.name+" failed to advance stream.")}function cq(gx,gv,gs,gr){function go(gA){return{start:gy.start,end:gy.pos,string:gy.current(),type:gq||null,state:gA?b3(gw.mode,gp):gp}}var gw=gx.doc,gt=gw.mode,gq;gv=fO(gw,gv);var gz=fk(gw,gv.line),gp=dD(gx,gv.line,gs);var gy=new eX(gz.text,gx.options.tabSize),gu;if(gr){gu=[]}while((gr||gy.pos<gv.ch)&&!gy.eol()){gy.start=gy.pos;gq=eE(gt,gy,gp);if(gr){gu.push(go(true))}}return gr?gu:go()}function w(gy,gA,gt,gp,gu,gr,gs){var gq=gt.flattenSpans;if(gq==null){gq=gy.options.flattenSpans}var gw=0,gv=null;var gz=new eX(gA,gy.options.tabSize),go;var gC=gy.options.addModeClass&&[null];if(gA==""){dj(fv(gt,gp),gr)}while(!gz.eol()){if(gz.pos>gy.options.maxHighlightLength){gq=false;if(gs){dy(gy,gA,gp,gz.pos)}gz.pos=gA.length;go=null}else{go=dj(eE(gt,gz,gp,gC),gr)}if(gC){var gB=gC[0].name;if(gB){go="m-"+(go?gB+" "+go:gB)}}if(!gq||gv!=go){while(gw<gz.start){gw=Math.min(gz.start,gw+50000);gu(gw,gv)}gv=go}gz.start=gz.pos}while(gw<gz.pos){var gx=Math.min(gz.pos,gw+50000);gu(gx,gv);gw=gx}}function fE(gv,gx,go,gs){var gw=[gv.state.modeGen],gr={};w(gv,gx.text,gv.doc.mode,go,function(gy,gz){gw.push(gy,gz)},gr,gs);for(var gp=0;gp<gv.state.overlays.length;++gp){var gt=gv.state.overlays[gp],gu=1,gq=0;w(gv,gx.text,gt.mode,true,function(gy,gA){var gC=gu;while(gq<gy){var gz=gw[gu];if(gz>gy){gw.splice(gu,1,gy,gw[gu+1],gz)}gu+=2;gq=Math.min(gy,gz)}if(!gA){return}if(gt.opaque){gw.splice(gC,gu-gC,gy,"cm-overlay "+gA);gu=gC+2}else{for(;gC<gu;gC+=2){var gB=gw[gC+1];gw[gC+1]=(gB?gB+" ":"")+"cm-overlay "+gA}}},gr)}return{styles:gw,classes:gr.bgClass||gr.textClass?gr:null}}function c6(gp,gq,gs){if(!gq.styles||gq.styles[0]!=gp.state.modeGen){var gr=dD(gp,bN(gq));var go=fE(gp,gq,gq.text.length>gp.options.maxHighlightLength?b3(gp.doc.mode,gr):gr);gq.stateAfter=gr;gq.styles=go.styles;if(go.classes){gq.styleClasses=go.classes}else{if(gq.styleClasses){gq.styleClasses=null}}if(gs===gp.doc.frontier){gp.doc.frontier++}}return gq.styles}function dy(go,gt,gq,gp){var gs=go.doc.mode;var gr=new eX(gt,go.options.tabSize);gr.start=gr.pos=gp||0;if(gt==""){fv(gs,gq)}while(!gr.eol()){eE(gs,gr,gq);gr.start=gr.pos}}var dX={},b1={};function e0(gq,gp){if(!gq||/^\s*$/.test(gq)){return null}var go=gp.addModeClass?b1:dX;return go[gq]||(go[gq]=gq.replace(/\S+/g,"cm-$&"))}function eV(gp,gt){var gu=f8("span",null,null,c0?"padding-right: .1px":null);var gr={pre:f8("pre",[gu],"CodeMirror-line"),content:gu,col:0,pos:0,cm:gp,splitSpaces:(dL||c0)&&gp.getOption("lineWrapping")};gt.measure={};for(var gs=0;gs<=(gt.rest?gt.rest.length:0);gs++){var gq=gs?gt.rest[gs-1]:gt.line,go;gr.pos=0;gr.addToken=t;if(bO(gp.display.measure)&&(go=a(gq))){gr.addToken=U(gr.addToken,go)}gr.map=[];var gv=gt!=gp.display.externalMeasured&&bN(gq);bo(gq,gr,c6(gp,gq,gv));if(gq.styleClasses){if(gq.styleClasses.bgClass){gr.bgClass=fY(gq.styleClasses.bgClass,gr.bgClass||"")}if(gq.styleClasses.textClass){gr.textClass=fY(gq.styleClasses.textClass,gr.textClass||"")}}if(gr.map.length==0){gr.map.push(0,0,gr.content.appendChild(bn(gp.display.measure)))}if(gs==0){gt.measure.map=gr.map;gt.measure.cache={}}else{(gt.measure.maps||(gt.measure.maps=[])).push(gr.map);(gt.measure.caches||(gt.measure.caches=[])).push({})}}if(c0&&/\bcm-tab\b/.test(gr.content.lastChild.className)){gr.content.className="cm-tab-wrap-hack"}aE(gp,"renderLine",gp,gt.line,gr.pre);if(gr.pre.className){gr.textClass=fY(gr.pre.className,gr.textClass||"")}return gr}function fh(gp){var go=f8("span","\u2022","cm-invalidchar");go.title="\\u"+gp.charCodeAt(0).toString(16);go.setAttribute("aria-label",go.title);return go}function t(gz,gu,gE,gB,gx,gG,gt){if(!gu){return}var gD=gz.splitSpaces?gu.replace(/ {3,}/g,cF):gu;var go=gz.cm.state.specialChars,gp=false;if(!go.test(gu)){gz.col+=gu.length;var gC=document.createTextNode(gD);gz.map.push(gz.pos,gz.pos+gu.length,gC);if(dL&&k<9){gp=true}gz.pos+=gu.length}else{var gC=document.createDocumentFragment(),gr=0;while(true){go.lastIndex=gr;var gA=go.exec(gu);var gF=gA?gA.index-gr:gu.length-gr;if(gF){var gw=document.createTextNode(gD.slice(gr,gr+gF));if(dL&&k<9){gC.appendChild(f8("span",[gw]))}else{gC.appendChild(gw)}gz.map.push(gz.pos,gz.pos+gF,gw);gz.col+=gF;gz.pos+=gF}if(!gA){break}gr+=gF+1;if(gA[0]=="\t"){var gy=gz.cm.options.tabSize,gv=gy-gz.col%gy;var gw=gC.appendChild(f8("span",cp(gv),"cm-tab"));gw.setAttribute("role","presentation");gw.setAttribute("cm-text","\t");gz.col+=gv}else{if(gA[0]=="\r"||gA[0]=="\n"){var gw=gC.appendChild(f8("span",gA[0]=="\r"?"\u240d":"\u2424","cm-invalidchar"));gw.setAttribute("cm-text",gA[0]);gz.col+=1}else{var gw=gz.cm.options.specialCharPlaceholder(gA[0]);gw.setAttribute("cm-text",gA[0]);if(dL&&k<9){gC.appendChild(f8("span",[gw]))}else{gC.appendChild(gw)}gz.col+=1}}gz.map.push(gz.pos,gz.pos+1,gw);gz.pos++}}if(gE||gB||gx||gp||gt){var gq=gE||"";if(gB){gq+=gB}if(gx){gq+=gx}var gs=f8("span",[gC],gq,gt);if(gG){gs.title=gG}return gz.content.appendChild(gs)}gz.content.appendChild(gC)}function cF(go){var gp=" ";for(var gq=0;gq<go.length-2;++gq){gp+=gq%2?" ":"\u00a0"}gp+=" ";return gp}function U(gp,go){return function(gx,gz,gq,gu,gA,gy,gw){gq=gq?gq+" cm-force-border":"cm-force-border";var gr=gx.pos,gt=gr+gz.length;for(;;){for(var gv=0;gv<go.length;gv++){var gs=go[gv];if(gs.to>gr&&gs.from<=gr){break}}if(gs.to>=gt){return gp(gx,gz,gq,gu,gA,gy,gw)}gp(gx,gz.slice(0,gs.to-gr),gq,gu,null,gy,gw);gu=null;gz=gz.slice(gs.to-gr);gr=gs.to}}}function ac(gp,gr,go,gq){var gs=!gq&&go.widgetNode;if(gs){gp.map.push(gp.pos,gp.pos+gr,gs)}if(!gq&&gp.cm.display.input.needsContentAttribute){if(!gs){gs=gp.content.appendChild(document.createElement("span"))}gs.setAttribute("cm-marker",go.id)}if(gs){gp.cm.display.input.setUneditable(gs);gp.content.appendChild(gs)}gp.pos+=gr}function bo(gx,gE,gw){var gt=gx.markedSpans,gv=gx.text,gC=0;if(!gt){for(var gH=1;gH<gw.length;gH+=2){gE.addToken(gE,gv.slice(gC,gC=gw[gH]),e0(gw[gH+1],gE.cm.options))}return}var gI=gv.length,gs=0,gH=1,gA="",gJ,gy;var gL=0,go,gK,gB,gM,gq;for(;;){if(gL==gs){go=gK=gB=gM=gy="";gq=null;gL=Infinity;var gu=[];for(var gF=0;gF<gt.length;++gF){var gG=gt[gF],gD=gG.marker;if(gD.type=="bookmark"&&gG.from==gs&&gD.widgetNode){gu.push(gD)}else{if(gG.from<=gs&&(gG.to==null||gG.to>gs||gD.collapsed&&gG.to==gs&&gG.from==gs)){if(gG.to!=null&&gG.to!=gs&&gL>gG.to){gL=gG.to;gK=""}if(gD.className){go+=" "+gD.className}if(gD.css){gy=gD.css}if(gD.startStyle&&gG.from==gs){gB+=" "+gD.startStyle}if(gD.endStyle&&gG.to==gL){gK+=" "+gD.endStyle}if(gD.title&&!gM){gM=gD.title}if(gD.collapsed&&(!gq||dR(gq.marker,gD)<0)){gq=gG}}else{if(gG.from>gs&&gL>gG.from){gL=gG.from}}}}if(gq&&(gq.from||0)==gs){ac(gE,(gq.to==null?gI+1:gq.to)-gs,gq.marker,gq.from==null);if(gq.to==null){return}if(gq.to==gs){gq=false}}if(!gq&&gu.length){for(var gF=0;gF<gu.length;++gF){ac(gE,0,gu[gF])}}}if(gs>=gI){break}var gz=Math.min(gI,gL);while(true){if(gA){var gp=gs+gA.length;if(!gq){var gr=gp>gz?gA.slice(0,gz-gs):gA;gE.addToken(gE,gr,gJ?gJ+go:go,gB,gs+gr.length==gL?gK:"",gM,gy)}if(gp>=gz){gA=gA.slice(gz-gs);gs=gz;break}gs=gp;gB=""}gA=gv.slice(gC,gC=gw[gH++]);gJ=e0(gw[gH++],gE.cm.options)}}}function dT(go,gp){return gp.from.ch==0&&gp.to.ch==0&&fL(gp.text)==""&&(!go.cm||go.cm.options.wholeLineUpdateBefore)}function fD(gB,gw,gp,gs){function gC(gE){return gp?gp[gE]:null}function gq(gE,gG,gF){eq(gE,gG,gF,gs);ae(gE,"change",gE,gw)}function go(gH,gF){for(var gG=gH,gE=[];gG<gF;++gG){gE.push(new gc(gD[gG],gC(gG),gs))}return gE}var gA=gw.from,gz=gw.to,gD=gw.text;var gx=fk(gB,gA.line),gy=fk(gB,gz.line);var gv=fL(gD),gr=gC(gD.length-1),gu=gz.line-gA.line;if(gw.full){gB.insert(0,go(0,gD.length));gB.remove(gD.length,gB.size-gD.length)}else{if(dT(gB,gw)){var gt=go(0,gD.length-1);gq(gy,gy.text,gr);if(gu){gB.remove(gA.line,gu)}if(gt.length){gB.insert(gA.line,gt)}}else{if(gx==gy){if(gD.length==1){gq(gx,gx.text.slice(0,gA.ch)+gv+gx.text.slice(gz.ch),gr)}else{var gt=go(1,gD.length-1);gt.push(new gc(gv+gx.text.slice(gz.ch),gr,gs));gq(gx,gx.text.slice(0,gA.ch)+gD[0],gC(0));gB.insert(gA.line+1,gt)}}else{if(gD.length==1){gq(gx,gx.text.slice(0,gA.ch)+gD[0]+gy.text.slice(gz.ch),gC(0));gB.remove(gA.line+1,gu)}else{gq(gx,gx.text.slice(0,gA.ch)+gD[0],gC(0));gq(gy,gv+gy.text.slice(gz.ch),gr);var gt=go(1,gD.length-1);if(gu>1){gB.remove(gA.line+1,gu-1)}gB.insert(gA.line+1,gt)}}}}ae(gB,"change",gB,gw)}function e3(gp){this.lines=gp;this.parent=null;for(var gq=0,go=0;gq<gp.length;++gq){gp[gq].parent=this;go+=gp[gq].height}this.height=go}e3.prototype={chunkSize:function(){return this.lines.length},removeInner:function(go,gs){for(var gq=go,gr=go+gs;gq<gr;++gq){var gp=this.lines[gq];this.height-=gp.height;bB(gp);ae(gp,"delete")}this.lines.splice(go,gs)},collapse:function(go){go.push.apply(go,this.lines)},insertInner:function(gp,gq,go){this.height+=go;this.lines=this.lines.slice(0,gp).concat(gq).concat(this.lines.slice(gp));for(var gr=0;gr<gq.length;++gr){gq[gr].parent=this}},iterN:function(go,gr,gq){for(var gp=go+gr;go<gp;++go){if(gq(this.lines[go])){return true}}}};function fC(gr){this.children=gr;var gq=0,go=0;for(var gp=0;gp<gr.length;++gp){var gs=gr[gp];gq+=gs.chunkSize();go+=gs.height;gs.parent=this}this.size=gq;this.height=go;this.parent=null}fC.prototype={chunkSize:function(){return this.size},removeInner:function(go,gv){this.size-=gv;for(var gq=0;gq<this.children.length;++gq){var gu=this.children[gq],gs=gu.chunkSize();if(go<gs){var gr=Math.min(gv,gs-go),gt=gu.height;gu.removeInner(go,gr);this.height-=gt-gu.height;if(gs==gr){this.children.splice(gq--,1);gu.parent=null}if((gv-=gr)==0){break}go=0}else{go-=gs}}if(this.size-gv<25&&(this.children.length>1||!(this.children[0] instanceof e3))){var gp=[];this.collapse(gp);this.children=[new e3(gp)];this.children[0].parent=this}},collapse:function(go){for(var gp=0;gp<this.children.length;++gp){this.children[gp].collapse(go)}},insertInner:function(gp,gq,go){this.size+=gq.length;this.height+=go;for(var gt=0;gt<this.children.length;++gt){var gv=this.children[gt],gu=gv.chunkSize();if(gp<=gu){gv.insertInner(gp,gq,go);if(gv.lines&&gv.lines.length>50){while(gv.lines.length>50){var gs=gv.lines.splice(gv.lines.length-25,25);var gr=new e3(gs);gv.height-=gr.height;this.children.splice(gt+1,0,gr);gr.parent=this}this.maybeSpill()}break}gp-=gu}},maybeSpill:function(){if(this.children.length<=10){return}var gr=this;do{var gp=gr.children.splice(gr.children.length-5,5);var gq=new fC(gp);if(!gr.parent){var gs=new fC(gr.children);gs.parent=gr;gr.children=[gs,gq];gr=gs}else{gr.size-=gq.size;gr.height-=gq.height;var go=di(gr.parent.children,gr);gr.parent.children.splice(go+1,0,gq)}gq.parent=gr.parent}while(gr.children.length>10);gr.parent.maybeSpill()},iterN:function(go,gu,gt){for(var gp=0;gp<this.children.length;++gp){var gs=this.children[gp],gr=gs.chunkSize();if(go<gr){var gq=Math.min(gu,gr-go);if(gs.iterN(go,gq,gt)){return true}if((gu-=gq)==0){break}go=0}else{go-=gr}}}};var cr=0;var at=H.Doc=function(gr,gq,go,gp){if(!(this instanceof at)){return new at(gr,gq,go,gp)}if(go==null){go=0}fC.call(this,[new e3([new gc("",null)])]);this.first=go;this.scrollTop=this.scrollLeft=0;this.cantEdit=false;this.cleanGeneration=1;this.frontier=go;var gs=W(go,0);this.sel=eW(gs);this.history=new fZ(null);this.id=++cr;this.modeOption=gq;this.lineSep=gp;if(typeof gr=="string"){gr=this.splitLines(gr)}fD(this,{from:gs,to:gs,text:gr});bU(this,eW(gs),Z)};at.prototype=ck(fC.prototype,{constructor:at,iter:function(gq,gp,go){if(go){this.iterN(gq-this.first,gp-gq,go)}else{this.iterN(this.first,this.first+this.size,gq)}},insert:function(gp,gq){var go=0;for(var gr=0;gr<gq.length;++gr){go+=gq[gr].height}this.insertInner(gp-this.first,gq,go)},remove:function(go,gp){this.removeInner(go-this.first,gp)},getValue:function(gp){var go=a2(this,this.first,this.first+this.size);if(gp===false){return go}return go.join(gp||this.lineSeparator())},setValue:cD(function(gp){var gq=W(this.first,0),go=this.first+this.size-1;bg(this,{from:gq,to:W(go,fk(this,go).text.length),text:this.splitLines(gp),origin:"setValue",full:true},true);bU(this,eW(gq))}),replaceRange:function(gp,gr,gq,go){gr=fO(this,gr);gq=gq?fO(this,gq):gr;a1(this,gp,gr,gq,go)},getRange:function(gr,gq,gp){var go=ga(this,fO(this,gr),fO(this,gq));if(gp===false){return go}return go.join(gp||this.lineSeparator())},getLine:function(gp){var go=this.getLineHandle(gp);return go&&go.text},getLineHandle:function(go){if(b9(this,go)){return fk(this,go)}},getLineNumber:function(go){return bN(go)},getLineHandleVisualStart:function(go){if(typeof go=="number"){go=fk(this,go)}return x(go)},lineCount:function(){return this.size},firstLine:function(){return this.first},lastLine:function(){return this.first+this.size-1},clipPos:function(go){return fO(this,go)},getCursor:function(gq){var go=this.sel.primary(),gp;if(gq==null||gq=="head"){gp=go.head}else{if(gq=="anchor"){gp=go.anchor}else{if(gq=="end"||gq=="to"||gq===false){gp=go.to()}else{gp=go.from()}}}return gp},listSelections:function(){return this.sel.ranges},somethingSelected:function(){return this.sel.somethingSelected()},setCursor:cD(function(go,gq,gp){F(this,fO(this,typeof go=="number"?W(go,gq||0):go),null,gp)}),setSelection:cD(function(gp,gq,go){F(this,fO(this,gp),fO(this,gq||gp),go)}),extendSelection:cD(function(gq,go,gp){f2(this,fO(this,gq),go&&fO(this,go),gp)}),extendSelections:cD(function(gp,go){aw(this,d1(this,gp,go))}),extendSelectionsBy:cD(function(gp,go){aw(this,bS(this.sel.ranges,gp),go)}),setSelections:cD(function(go,gs,gq){if(!go.length){return}for(var gr=0,gp=[];gr<go.length;gr++){gp[gr]=new dZ(fO(this,go[gr].anchor),fO(this,go[gr].head))}if(gs==null){gs=Math.min(go.length-1,this.sel.primIndex)}bU(this,cw(gp,gs),gq)}),addSelection:cD(function(gq,gr,gp){var go=this.sel.ranges.slice(0);go.push(new dZ(fO(this,gq),fO(this,gr||gq)));bU(this,cw(go,go.length-1),gp)}),getSelection:function(gs){var gp=this.sel.ranges,go;for(var gq=0;gq<gp.length;gq++){var gr=ga(this,gp[gq].from(),gp[gq].to());go=go?go.concat(gr):gr}if(gs===false){return go}else{return go.join(gs||this.lineSeparator())}},getSelections:function(gs){var gr=[],go=this.sel.ranges;for(var gp=0;gp<go.length;gp++){var gq=ga(this,go[gp].from(),go[gp].to());if(gs!==false){gq=gq.join(gs||this.lineSeparator())}gr[gp]=gq}return gr},replaceSelection:function(gq,gs,go){var gr=[];for(var gp=0;gp<this.sel.ranges.length;gp++){gr[gp]=gq}this.replaceSelections(gr,gs,go||"+input")},replaceSelections:cD(function(gt,gv,gq){var gs=[],gu=this.sel;for(var gr=0;gr<gu.ranges.length;gr++){var gp=gu.ranges[gr];gs[gr]={from:gp.from(),to:gp.to(),text:this.splitLines(gt[gr]),origin:gq}}var go=gv&&gv!="end"&&af(this,gs,gv);for(var gr=gs.length-1;gr>=0;gr--){bg(this,gs[gr])}if(go){fc(this,go)}else{if(this.cm){fK(this.cm)}}}),undo:cD(function(){b8(this,"undo")}),redo:cD(function(){b8(this,"redo")}),undoSelection:cD(function(){b8(this,"undo",true)}),redoSelection:cD(function(){b8(this,"redo",true)}),setExtending:function(go){this.extend=go},getExtending:function(){return this.extend},historySize:function(){var gr=this.history,go=0,gq=0;for(var gp=0;gp<gr.done.length;gp++){if(!gr.done[gp].ranges){++go}}for(var gp=0;gp<gr.undone.length;gp++){if(!gr.undone[gp].ranges){++gq}}return{undo:go,redo:gq}},clearHistory:function(){this.history=new fZ(this.history.maxGeneration)},markClean:function(){this.cleanGeneration=this.changeGeneration(true)},changeGeneration:function(go){if(go){this.history.lastOp=this.history.lastSelOp=this.history.lastOrigin=null}return this.history.generation},isClean:function(go){return this.history.generation==(go||this.cleanGeneration)},getHistory:function(){return{done:bP(this.history.done),undone:bP(this.history.undone)}},setHistory:function(gp){var go=this.history=new fZ(this.history.maxGeneration);go.done=bP(gp.done.slice(0),null,true);go.undone=bP(gp.undone.slice(0),null,true)},addLineClass:cD(function(gq,gp,go){return eD(this,gq,gp=="gutter"?"gutter":"class",function(gr){var gs=gp=="text"?"textClass":gp=="background"?"bgClass":gp=="gutter"?"gutterClass":"wrapClass";if(!gr[gs]){gr[gs]=go}else{if(S(go).test(gr[gs])){return false}else{gr[gs]+=" "+go}}return true})}),removeLineClass:cD(function(gq,gp,go){return eD(this,gq,gp=="gutter"?"gutter":"class",function(gs){var gv=gp=="text"?"textClass":gp=="background"?"bgClass":gp=="gutter"?"gutterClass":"wrapClass";var gu=gs[gv];if(!gu){return false}else{if(go==null){gs[gv]=null}else{var gt=gu.match(S(go));if(!gt){return false}var gr=gt.index+gt[0].length;gs[gv]=gu.slice(0,gt.index)+(!gt.index||gr==gu.length?"":" ")+gu.slice(gr)||null}}return true})}),addLineWidget:cD(function(gq,gp,go){return bH(this,gq,gp,go)}),removeLineWidget:function(go){go.clear()},markText:function(gq,gp,go){return eJ(this,fO(this,gq),fO(this,gp),go,go&&go.type||"range")},setBookmark:function(gq,go){var gp={replacedWith:go&&(go.nodeType==null?go.widget:go),insertLeft:go&&go.insertLeft,clearWhenEmpty:false,shared:go&&go.shared,handleMouseEvents:go&&go.handleMouseEvents};gq=fO(this,gq);return eJ(this,gq,gq,gp,"bookmark")},findMarksAt:function(gs){gs=fO(this,gs);var gr=[],gp=fk(this,gs.line).markedSpans;if(gp){for(var go=0;go<gp.length;++go){var gq=gp[go];if((gq.from==null||gq.from<=gs.ch)&&(gq.to==null||gq.to>=gs.ch)){gr.push(gq.marker.parent||gq.marker)}}}return gr},findMarks:function(gs,gr,go){gs=fO(this,gs);gr=fO(this,gr);var gp=[],gq=gs.line;this.iter(gs.line,gr.line+1,function(gt){var gv=gt.markedSpans;if(gv){for(var gu=0;gu<gv.length;gu++){var gw=gv[gu];if(!(gq==gs.line&&gs.ch>gw.to||gw.from==null&&gq!=gs.line||gq==gr.line&&gw.from>gr.ch)&&(!go||go(gw.marker))){gp.push(gw.marker.parent||gw.marker)}}}++gq});return gp},getAllMarks:function(){var go=[];this.iter(function(gq){var gp=gq.markedSpans;if(gp){for(var gr=0;gr<gp.length;++gr){if(gp[gr].from!=null){go.push(gp[gr].marker)}}}});return go},posFromIndex:function(gp){var go,gq=this.first;this.iter(function(gr){var gs=gr.text.length+1;if(gs>gp){go=gp;return true}gp-=gs;++gq});return fO(this,W(gq,go))},indexFromPos:function(gp){gp=fO(this,gp);var go=gp.ch;if(gp.line<this.first||gp.ch<0){return 0}this.iter(this.first,gp.line,function(gq){go+=gq.text.length+1});return go},copy:function(go){var gp=new at(a2(this,this.first,this.first+this.size),this.modeOption,this.first,this.lineSep);gp.scrollTop=this.scrollTop;gp.scrollLeft=this.scrollLeft;gp.sel=this.sel;gp.extend=false;if(go){gp.history.undoDepth=this.history.undoDepth;gp.setHistory(this.getHistory())}return gp},linkedDoc:function(go){if(!go){go={}}var gr=this.first,gq=this.first+this.size;if(go.from!=null&&go.from>gr){gr=go.from}if(go.to!=null&&go.to<gq){gq=go.to}var gp=new at(a2(this,gr,gq),go.mode||this.modeOption,gr,this.lineSep);if(go.sharedHist){gp.history=this.history}(this.linked||(this.linked=[])).push({doc:gp,sharedHist:go.sharedHist});gp.linked=[{doc:this,isParent:true,sharedHist:go.sharedHist}];dG(gp,eT(this));return gp},unlinkDoc:function(gp){if(gp instanceof H){gp=gp.doc}if(this.linked){for(var gq=0;gq<this.linked.length;++gq){var gr=this.linked[gq];if(gr.doc!=gp){continue}this.linked.splice(gq,1);gp.unlinkDoc(this);es(eT(this));break}}if(gp.history==this.history){var go=[gp.id];d9(gp,function(gs){go.push(gs.id)},true);gp.history=new fZ(null);gp.history.done=bP(this.history.done,go);gp.history.undone=bP(this.history.undone,go)}},iterLinkedDocs:function(go){d9(this,go)},getMode:function(){return this.mode},getEditor:function(){return this.cm},splitLines:function(go){if(this.lineSep){return go.split(this.lineSep)}return fX(go)},lineSeparator:function(){return this.lineSep||"\n"}});at.prototype.eachLine=at.prototype.iter;var d="iter insert remove copy getEditor constructor".split(" ");for(var bK in at.prototype){if(at.prototype.hasOwnProperty(bK)&&di(d,bK)<0){H.prototype[bK]=(function(go){return function(){return go.apply(this.doc,arguments)}})(at.prototype[bK])}}by(at);function d9(gr,gq,gp){function go(gx,gv,gt){if(gx.linked){for(var gu=0;gu<gx.linked.length;++gu){var gs=gx.linked[gu];if(gs.doc==gv){continue}var gw=gt&&gs.sharedHist;if(gp&&!gw){continue}gq(gs.doc,gw);go(gs.doc,gx,gw)}}}go(gr,null,true)}function ee(go,gp){if(gp.cm){throw new Error("This document is already in use.")}go.doc=gp;gp.cm=go;X(go);br(go);if(!go.options.lineWrapping){h(go)}go.options.mode=gp.modeOption;ah(go)}function fk(gr,gt){gt-=gr.first;if(gt<0||gt>=gr.size){throw new Error("There is no line "+(gt+gr.first)+" in the document.")}for(var go=gr;!go.lines;){for(var gp=0;;++gp){var gs=go.children[gp],gq=gs.chunkSize();if(gt<gq){go=gs;break}gt-=gq}}return go.lines[gt]}function ga(gq,gs,go){var gp=[],gr=gs.line;gq.iter(gs.line,go.line+1,function(gt){var gu=gt.text;if(gr==go.line){gu=gu.slice(0,go.ch)}if(gr==gs.line){gu=gu.slice(gs.ch)}gp.push(gu);++gr});return gp}function a2(gp,gr,gq){var go=[];gp.iter(gr,gq,function(gs){go.push(gs.text)});return go}function gb(gp,go){var gq=go-gp.height;if(gq){for(var gr=gp;gr;gr=gr.parent){gr.height+=gq}}}function bN(go){if(go.parent==null){return null}var gs=go.parent,gr=di(gs.lines,go);for(var gp=gs.parent;gp;gs=gp,gp=gp.parent){for(var gq=0;;++gq){if(gp.children[gq]==gs){break}gr+=gp.children[gq].chunkSize()}}return gr+gs.first}function bG(gq,gt){var gv=gq.first;outer:do{for(var gr=0;gr<gq.children.length;++gr){var gu=gq.children[gr],gs=gu.height;if(gt<gs){gq=gu;continue outer}gt-=gs;gv+=gu.chunkSize()}return gv}while(!gq.lines);for(var gr=0;gr<gq.lines.length;++gr){var gp=gq.lines[gr],go=gp.height;if(gt<go){break}gt-=go}return gv+gr}function bM(gq){gq=x(gq);var gs=0,gp=gq.parent;for(var gr=0;gr<gp.lines.length;++gr){var go=gp.lines[gr];if(go==gq){break}else{gs+=go.height}}for(var gt=gp.parent;gt;gp=gt,gt=gp.parent){for(var gr=0;gr<gt.children.length;++gr){var gu=gt.children[gr];if(gu==gp){break}else{gs+=gu.height}}}return gs}function a(gp){var go=gp.order;if(go==null){go=gp.order=bh(gp.text)}return go}function fZ(go){this.done=[];this.undone=[];this.undoDepth=Infinity;this.lastModTime=this.lastSelTime=0;this.lastOp=this.lastSelOp=null;this.lastOrigin=this.lastSelOrigin=null;this.generation=this.maxGeneration=go||1}function dv(go,gq){var gp={from:ci(gq.from),to:cX(gq),text:ga(go,gq.from,gq.to)};bY(go,gp,gq.from.line,gq.to.line+1);d9(go,function(gr){bY(gr,gp,gq.from.line,gq.to.line+1)},true);return gp}function fG(gp){while(gp.length){var go=fL(gp);if(go.ranges){gp.pop()}else{break}}}function eQ(gp,go){if(go){fG(gp.done);return fL(gp.done)}else{if(gp.done.length&&!fL(gp.done).ranges){return fL(gp.done)}else{if(gp.done.length>1&&!gp.done[gp.done.length-2].ranges){gp.done.pop();return fL(gp.done)}}}}function fR(gu,gs,go,gr){var gq=gu.history;gq.undone.length=0;var gp=+new Date,gv;if((gq.lastOp==gr||gq.lastOrigin==gs.origin&&gs.origin&&((gs.origin.charAt(0)=="+"&&gu.cm&&gq.lastModTime>gp-gu.cm.options.historyEventDelay)||gs.origin.charAt(0)=="*"))&&(gv=eQ(gq,gq.lastOp==gr))){var gw=fL(gv.changes);if(cf(gs.from,gs.to)==0&&cf(gs.from,gw.to)==0){gw.to=cX(gs)}else{gv.changes.push(dv(gu,gs))}}else{var gt=fL(gq.done);if(!gt||!gt.ranges){cN(gu.sel,gq.done)}gv={changes:[dv(gu,gs)],generation:gq.generation};gq.done.push(gv);while(gq.done.length>gq.undoDepth){gq.done.shift();if(!gq.done[0].ranges){gq.done.shift()}}}gq.done.push(go);gq.generation=++gq.maxGeneration;gq.lastModTime=gq.lastSelTime=gp;gq.lastOp=gq.lastSelOp=gr;gq.lastOrigin=gq.lastSelOrigin=gs.origin;if(!gw){aE(gu,"historyAdded")}}function bA(gs,go,gq,gr){var gp=go.charAt(0);return gp=="*"||gp=="+"&&gq.ranges.length==gr.ranges.length&&gq.somethingSelected()==gr.somethingSelected()&&new Date-gs.history.lastSelTime<=(gs.cm?gs.cm.options.historyEventDelay:500)}function gh(gt,gr,go,gq){var gs=gt.history,gp=gq&&gq.origin;if(go==gs.lastSelOp||(gp&&gs.lastSelOrigin==gp&&(gs.lastModTime==gs.lastSelTime&&gs.lastOrigin==gp||bA(gt,gp,fL(gs.done),gr)))){gs.done[gs.done.length-1]=gr}else{cN(gr,gs.done)}gs.lastSelTime=+new Date;gs.lastSelOrigin=gp;gs.lastSelOp=go;if(gq&&gq.clearRedo!==false){fG(gs.undone)}}function cN(gp,go){var gq=fL(go);if(!(gq&&gq.ranges&&gq.equals(gp))){go.push(gp)}}function bY(gp,gt,gs,gr){var go=gt["spans_"+gp.id],gq=0;gp.iter(Math.max(gp.first,gs),Math.min(gp.first+gp.size,gr),function(gu){if(gu.markedSpans){(go||(go=gt["spans_"+gp.id]={}))[gq]=gu.markedSpans}++gq})}function bl(gq){if(!gq){return null}for(var gp=0,go;gp<gq.length;++gp){if(gq[gp].marker.explicitlyCleared){if(!go){go=gq.slice(0,gp)}}else{if(go){go.push(gq[gp])}}}return !go?gq:go.length?go:null}function b4(gr,gs){var gq=gs["spans_"+gr.id];if(!gq){return null}for(var gp=0,go=[];gp<gs.text.length;++gp){go.push(bl(gq[gp]))}return go}function bP(gz,gr,gy){for(var gu=0,gp=[];gu<gz.length;++gu){var gq=gz[gu];if(gq.ranges){gp.push(gy?f9.prototype.deepCopy.call(gq):gq);continue}var gw=gq.changes,gx=[];gp.push({changes:gx});for(var gt=0;gt<gw.length;++gt){var gv=gw[gt],gs;gx.push({from:gv.from,to:gv.to,text:gv.text});if(gr){for(var go in gv){if(gs=go.match(/^spans_(\d+)$/)){if(di(gr,Number(gs[1]))>-1){fL(gx)[go]=gv[go];delete gv[go]}}}}}}return gp}function I(gr,gq,gp,go){if(gp<gr.line){gr.line+=go}else{if(gq<gr.line){gr.line=gq;gr.ch=0}}}function fm(gr,gt,gu,gv){for(var gq=0;gq<gr.length;++gq){var go=gr[gq],gs=true;if(go.ranges){if(!go.copied){go=gr[gq]=go.deepCopy();go.copied=true}for(var gp=0;gp<go.ranges.length;gp++){I(go.ranges[gp].anchor,gt,gu,gv);I(go.ranges[gp].head,gt,gu,gv)}continue}for(var gp=0;gp<go.changes.length;++gp){var gw=go.changes[gp];if(gu<gw.from.line){gw.from=W(gw.from.line+gv,gw.from.ch);gw.to=W(gw.to.line+gv,gw.to.ch)}else{if(gt<=gw.to.line){gs=false;break}}}if(!gs){gr.splice(0,gq+1);gq=0}}}function dF(gp,gs){var gr=gs.from.line,gq=gs.to.line,go=gs.text.length-(gq-gr)-1;fm(gp.done,gr,gq,go);fm(gp.undone,gr,gq,go)}var cG=H.e_preventDefault=function(go){if(go.preventDefault){go.preventDefault()}else{go.returnValue=false}};var dr=H.e_stopPropagation=function(go){if(go.stopPropagation){go.stopPropagation()}else{go.cancelBubble=true}};function bL(go){return go.defaultPrevented!=null?go.defaultPrevented:go.returnValue==false}var ev=H.e_stop=function(go){cG(go);dr(go)};function L(go){return go.target||go.srcElement}function fS(gp){var go=gp.which;if(go==null){if(gp.button&1){go=1}else{if(gp.button&2){go=3}else{if(gp.button&4){go=2}}}}if(b7&&gp.ctrlKey&&go==1){go=3}return go}var bX=H.on=function(gr,gp,gq){if(gr.addEventListener){gr.addEventListener(gp,gq,false)}else{if(gr.attachEvent){gr.attachEvent("on"+gp,gq)}else{var gs=gr._handlers||(gr._handlers={});var go=gs[gp]||(gs[gp]=[]);go.push(gq)}}};var fa=[];function eo(gq,gp,gr){var go=gq._handlers&&gq._handlers[gp];if(gr){return go&&go.length>0?go.slice():fa}else{return go||fa}}var eg=H.off=function(gs,gq,gr){if(gs.removeEventListener){gs.removeEventListener(gq,gr,false)}else{if(gs.detachEvent){gs.detachEvent("on"+gq,gr)}else{var go=eo(gs,gq,false);for(var gp=0;gp<go.length;++gp){if(go[gp]==gr){go.splice(gp,1);break}}}}};var aE=H.signal=function(gs,gr){var go=eo(gs,gr,true);if(!go.length){return}var gp=Array.prototype.slice.call(arguments,2);for(var gq=0;gq<go.length;++gq){go[gq].apply(null,gp)}};var bz=null;function ae(gu,gs){var go=eo(gu,gs,false);if(!go.length){return}var gq=Array.prototype.slice.call(arguments,2),gt;if(bp){gt=bp.delayedCallbacks}else{if(bz){gt=bz}else{gt=bz=[];setTimeout(aM,0)}}function gp(gv){return function(){gv.apply(null,gq)}}for(var gr=0;gr<go.length;++gr){gt.push(gp(go[gr]))}}function aM(){var go=bz;bz=null;for(var gp=0;gp<go.length;++gp){go[gp]()}}function aR(go,gq,gp){if(typeof gq=="string"){gq={type:gq,preventDefault:function(){this.defaultPrevented=true}}}aE(go,gp||gq.type,go,gq);return bL(gq)||gq.codemirrorIgnore}function V(gp){var go=gp._handlers&&gp._handlers.cursorActivity;if(!go){return}var gr=gp.curOp.cursorActivityHandlers||(gp.curOp.cursorActivityHandlers=[]);for(var gq=0;gq<go.length;++gq){if(di(gr,go[gq])==-1){gr.push(go[gq])}}}function fn(gp,go){return eo(gp,go).length>0}function by(go){go.prototype.on=function(gp,gq){bX(this,gp,gq)};go.prototype.off=function(gp,gq){eg(this,gp,gq)}}var dK=30;var ca=H.Pass={toString:function(){return"CodeMirror.Pass"}};var Z={scroll:false},M={origin:"*mouse"},cW={origin:"+move"};function gn(){this.id=null}gn.prototype.set=function(go,gp){clearTimeout(this.id);this.id=setTimeout(gp,go)};var bT=H.countColumn=function(gr,gp,gt,gu,gq){if(gp==null){gp=gr.search(/[^\s\u00a0]/);if(gp==-1){gp=gr.length}}for(var gs=gu||0,gv=gq||0;;){var go=gr.indexOf("\t",gs);if(go<0||go>=gp){return gv+(gp-gs)}gv+=go-gs;gv+=gt-(gv%gt);gs=go+1}};var eu=H.findColumn=function(gs,gr,gt){for(var gu=0,gq=0;;){var gp=gs.indexOf("\t",gu);if(gp==-1){gp=gs.length}var go=gp-gu;if(gp==gs.length||gq+go>=gr){return gu+Math.min(go,gr-gq)}gq+=gp-gu;gq+=gt-(gq%gt);gu=gp+1;if(gq>=gr){return gu}}};var a0=[""];function cp(go){while(a0.length<=go){a0.push(fL(a0)+" ")}return a0[go]}function fL(go){return go[go.length-1]}var dM=function(go){go.select()};if(e5){dM=function(go){go.selectionStart=0;go.selectionEnd=go.value.length}}else{if(dL){dM=function(gp){try{gp.select()}catch(go){}}}}function di(gq,go){for(var gp=0;gp<gq.length;++gp){if(gq[gp]==go){return gp}}return -1}function bS(gr,gq){var go=[];for(var gp=0;gp<gr.length;gp++){go[gp]=gq(gr[gp],gp)}return go}function f0(){}function ck(gq,go){var gp;if(Object.create){gp=Object.create(gq)}else{f0.prototype=gq;gp=new f0()}if(go){aN(go,gp)}return gp}function aN(gq,gp,go){if(!gp){gp={}}for(var gr in gq){if(gq.hasOwnProperty(gr)&&(go!==false||!gp.hasOwnProperty(gr))){gp[gr]=gq[gr]}}return gp}function cv(gp){var go=Array.prototype.slice.call(arguments,1);return function(){return gp.apply(null,go)}}var bc=/[\u00df\u0587\u0590-\u05f4\u0600-\u06ff\u3040-\u309f\u30a0-\u30ff\u3400-\u4db5\u4e00-\u9fcc\uac00-\ud7af]/;var fI=H.isWordChar=function(go){return/\w/.test(go)||go>"\x80"&&(go.toUpperCase()!=go.toLowerCase()||bc.test(go))};function cA(go,gp){if(!gp){return fI(go)}if(gp.source.indexOf("\\w")>-1&&fI(go)){return true}return gp.test(go)}function eY(go){for(var gp in go){if(go.hasOwnProperty(gp)&&go[gp]){return false}}return true}var eN=/[\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 fu(go){return go.charCodeAt(0)>=768&&eN.test(go)}function f8(go,gs,gr,gq){var gt=document.createElement(go);if(gr){gt.className=gr}if(gq){gt.style.cssText=gq}if(typeof gs=="string"){gt.appendChild(document.createTextNode(gs))}else{if(gs){for(var gp=0;gp<gs.length;++gp){gt.appendChild(gs[gp])}}}return gt}var cl;if(document.createRange){cl=function(gr,gs,gp,go){var gq=document.createRange();gq.setEnd(go||gr,gp);gq.setStart(gr,gs);return gq}}else{cl=function(gq,gs,go){var gp=document.body.createTextRange();try{gp.moveToElementText(gq.parentNode)}catch(gr){return gp}gp.collapse(true);gp.moveEnd("character",go);gp.moveStart("character",gs);return gp}}function d3(gp){for(var go=gp.childNodes.length;go>0;--go){gp.removeChild(gp.firstChild)}return gp}function bR(go,gp){return d3(go).appendChild(gp)}var gg=H.contains=function(go,gp){if(gp.nodeType==3){gp=gp.parentNode}if(go.contains){return go.contains(gp)}do{if(gp.nodeType==11){gp=gp.host}if(gp==go){return true}}while(gp=gp.parentNode)};function dP(){var go=document.activeElement;while(go&&go.root&&go.root.activeElement){go=go.root.activeElement}return go}if(dL&&k<11){dP=function(){try{return document.activeElement}catch(go){return document.body}}}function S(go){return new RegExp("(^|\\s)"+go+"(?:$|\\s)\\s*")}var f=H.rmClass=function(gq,go){var gr=gq.className;var gp=S(go).exec(gr);if(gp){var gs=gr.slice(gp.index+gp[0].length);gq.className=gr.slice(0,gp.index)+(gs?gp[1]+gs:"")}};var fF=H.addClass=function(gp,go){var gq=gp.className;if(!S(go).test(gq)){gp.className+=(gq?" ":"")+go}};function fY(gq,go){var gp=gq.split(" ");for(var gr=0;gr<gp.length;gr++){if(gp[gr]&&!S(gp[gr]).test(go)){go+=" "+gp[gr]}}return go}function aA(gr){if(!document.body.getElementsByClassName){return}var gq=document.body.getElementsByClassName("CodeMirror");for(var gp=0;gp<gq.length;gp++){var go=gq[gp].CodeMirror;if(go){gr(go)}}}var cC=false;function bj(){if(cC){return}fJ();cC=true}function fJ(){var go;bX(window,"resize",function(){if(go==null){go=setTimeout(function(){go=null;aA(aT)},100)}});bX(window,"blur",function(){aA(aV)})}var eP=function(){if(dL&&k<9){return false}var go=f8("div");return"draggable" in go||"dragDrop" in go}();var fQ;function bn(go){if(fQ==null){var gq=f8("span","\u200b");bR(go,f8("span",[gq,document.createTextNode("x")]));if(go.firstChild.offsetHeight!=0){fQ=gq.offsetWidth<=1&&gq.offsetHeight>2&&!(dL&&k<8)}}var gp=fQ?f8("span","\u200b"):f8("span","\u00a0",null,"display: inline-block; width: 1px; margin-right: -1px");gp.setAttribute("cm-text","");return gp}var fP;function bO(gr){if(fP!=null){return fP}var go=bR(gr,document.createTextNode("A\u062eA"));var gq=cl(go,0,1).getBoundingClientRect();if(!gq||gq.left==gq.right){return false}var gp=cl(go,1,2).getBoundingClientRect();return fP=(gp.right-gq.right<3)}var fX=H.splitLines="\n\nb".split(/\n/).length!=3?function(gt){var gu=0,go=[],gs=gt.length;while(gu<=gs){var gr=gt.indexOf("\n",gu);if(gr==-1){gr=gt.length}var gq=gt.slice(gu,gt.charAt(gr-1)=="\r"?gr-1:gr);var gp=gq.indexOf("\r");if(gp!=-1){go.push(gq.slice(0,gp));gu+=gp+1}else{go.push(gq);gu=gr+1}}return go}:function(go){return go.split(/\r\n?|\n/)};var bs=window.getSelection?function(gp){try{return gp.selectionStart!=gp.selectionEnd}catch(go){return false}}:function(gq){try{var go=gq.ownerDocument.selection.createRange()}catch(gp){}if(!go||go.parentElement()!=gq){return false}return go.compareEndPoints("StartToEnd",go)!=0};var da=(function(){var go=f8("div");if("oncopy" in go){return true}go.setAttribute("oncopy","return;");return typeof go.oncopy=="function"})();var fb=null;function aK(gp){if(fb!=null){return fb}var gq=bR(gp,f8("span","x"));var gr=gq.getBoundingClientRect();var go=cl(gq,0,1).getBoundingClientRect();return fb=Math.abs(gr.left-go.left)>1}var fl=H.keyNames={3:"Enter",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",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"};(function(){for(var go=0;go<10;go++){fl[go+48]=fl[go+96]=String(go)}for(var go=65;go<=90;go++){fl[go]=String.fromCharCode(go)}for(var go=1;go<=12;go++){fl[go+111]=fl[go+63235]="F"+go}})();function d6(go,gu,gt,gs){if(!go){return gs(gu,gt,"ltr")}var gr=false;for(var gq=0;gq<go.length;++gq){var gp=go[gq];if(gp.from<gt&&gp.to>gu||gu==gt&&gp.to==gu){gs(Math.max(gp.from,gu),Math.min(gp.to,gt),gp.level==1?"rtl":"ltr");gr=true}}if(!gr){gs(gu,gt,"ltr")}}function dz(go){return go.level%2?go.to:go.from}function gj(go){return go.level%2?go.from:go.to}function cE(gp){var go=a(gp);return go?dz(go[0]):0}function cS(gp){var go=a(gp);if(!go){return gp.text.length}return gj(fL(go))}function bt(gp,gs){var gq=fk(gp.doc,gs);var gt=x(gq);if(gt!=gq){gs=bN(gt)}var go=a(gt);var gr=!go?0:go[0].level%2?cS(gt):cE(gt);return W(gs,gr)}function dQ(gq,gt){var gp,gr=fk(gq.doc,gt);while(gp=ey(gr)){gr=gp.find(1,true).line;gt=null}var go=a(gr);var gs=!go?gr.text.length:go[0].level%2?cE(gr):cS(gr);return W(gt==null?bN(gr):gt,gs)}function dJ(gp,gu){var gt=bt(gp,gu.line);var gq=fk(gp.doc,gt.line);var go=a(gq);if(!go||go[0].level==0){var gs=Math.max(0,gq.text.search(/\S/));var gr=gu.line==gt.line&&gu.ch<=gs&&gu.ch;return W(gt.line,gr?0:gs)}return gt}function an(gp,gq,go){var gr=gp[0].level;if(gq==gr){return true}if(go==gr){return false}return gq<go}var e6;function aG(go,gs){e6=null;for(var gp=0,gq;gp<go.length;++gp){var gr=go[gp];if(gr.from<gs&&gr.to>gs){return gp}if((gr.from==gs||gr.to==gs)){if(gq==null){gq=gp}else{if(an(go,gr.level,go[gq].level)){if(gr.from!=gr.to){e6=gq}return gp}else{if(gr.from!=gr.to){e6=gp}return gq}}}}return gq}function fj(go,gr,gp,gq){if(!gq){return gr+gp}do{gr+=gp}while(gr>0&&fu(go.text.charAt(gr)));return gr}function u(go,gv,gq,gr){var gs=a(go);if(!gs){return ai(go,gv,gq,gr)}var gu=aG(gs,gv),gp=gs[gu];var gt=fj(go,gv,gp.level%2?-gq:gq,gr);for(;;){if(gt>gp.from&&gt<gp.to){return gt}if(gt==gp.from||gt==gp.to){if(aG(gs,gt)==gu){return gt}gp=gs[gu+=gq];return(gq>0)==gp.level%2?gp.to:gp.from}else{gp=gs[gu+=gq];if(!gp){return null}if((gq>0)==gp.level%2){gt=fj(go,gp.to,-1,gr)}else{gt=fj(go,gp.from,1,gr)}}}}function ai(go,gs,gp,gq){var gr=gs+gp;if(gq){while(gr>0&&fu(go.text.charAt(gr))){gr+=gp}}return gr<0||gr>go.text.length?null:gr}var bh=(function(){var gu="bbbbbbbbbtstwsbbbbbbbbbbbbbbssstwNN%%%NNNNNN,N,N1111111111NNNNNNNLLLLLLLLLLLLLLLLLLLLLLLLLLNNNNNNLLLLLLLLLLLLLLLLLLLLLLLLLLNNNNbbbbbbsbbbbbbbbbbbbbbbbbbbbbbbbbb,N%%%%NNNNLNNNNN%%11NLNNN1LNNNNNLLLLLLLLLLLLLLLLLLLLLLLNLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLN";var gs="rrrrrrrrrrrr,rNNmmmmmmrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrmmmmmmmmmmmmmmrrrrrrrnnnnnnnnnn%nnrrrmrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrmmmmmmmmmmmmmmmmmmmNmmmm";function gr(gy){if(gy<=247){return gu.charAt(gy)}else{if(1424<=gy&&gy<=1524){return"R"}else{if(1536<=gy&&gy<=1773){return gs.charAt(gy-1536)}else{if(1774<=gy&&gy<=2220){return"r"}else{if(8192<=gy&&gy<=8203){return"w"}else{if(gy==8204){return"b"}else{return"L"}}}}}}}var go=/[\u0590-\u05f4\u0600-\u06ff\u0700-\u08ac]/;var gx=/[stwN]/,gq=/[LRr]/,gp=/[Lb1n]/,gt=/[1n]/;var gw="L";function gv(gA,gz,gy){this.level=gA;this.from=gz;this.to=gy}return function(gI){if(!go.test(gI)){return false}var gO=gI.length,gE=[];for(var gN=0,gA;gN<gO;++gN){gE.push(gA=gr(gI.charCodeAt(gN)))}for(var gN=0,gH=gw;gN<gO;++gN){var gA=gE[gN];if(gA=="m"){gE[gN]=gH}else{gH=gA}}for(var gN=0,gy=gw;gN<gO;++gN){var gA=gE[gN];if(gA=="1"&&gy=="r"){gE[gN]="n"}else{if(gq.test(gA)){gy=gA;if(gA=="r"){gE[gN]="R"}}}}for(var gN=1,gH=gE[0];gN<gO-1;++gN){var gA=gE[gN];if(gA=="+"&&gH=="1"&&gE[gN+1]=="1"){gE[gN]="1"}else{if(gA==","&&gH==gE[gN+1]&&(gH=="1"||gH=="n")){gE[gN]=gH}}gH=gA}for(var gN=0;gN<gO;++gN){var gA=gE[gN];if(gA==","){gE[gN]="N"}else{if(gA=="%"){for(var gB=gN+1;gB<gO&&gE[gB]=="%";++gB){}var gP=(gN&&gE[gN-1]=="!")||(gB<gO&&gE[gB]=="1")?"1":"N";for(var gL=gN;gL<gB;++gL){gE[gL]=gP}gN=gB-1}}}for(var gN=0,gy=gw;gN<gO;++gN){var gA=gE[gN];if(gy=="L"&&gA=="1"){gE[gN]="L"}else{if(gq.test(gA)){gy=gA}}}for(var gN=0;gN<gO;++gN){if(gx.test(gE[gN])){for(var gB=gN+1;gB<gO&&gx.test(gE[gB]);++gB){}var gF=(gN?gE[gN-1]:gw)=="L";var gz=(gB<gO?gE[gB]:gw)=="L";var gP=gF||gz?"L":"R";for(var gL=gN;gL<gB;++gL){gE[gL]=gP}gN=gB-1}}var gM=[],gJ;for(var gN=0;gN<gO;){if(gp.test(gE[gN])){var gC=gN;for(++gN;gN<gO&&gp.test(gE[gN]);++gN){}gM.push(new gv(0,gC,gN))}else{var gD=gN,gG=gM.length;for(++gN;gN<gO&&gE[gN]!="L";++gN){}for(var gL=gD;gL<gN;){if(gt.test(gE[gL])){if(gD<gL){gM.splice(gG,0,new gv(1,gD,gL))}var gK=gL;for(++gL;gL<gN&&gt.test(gE[gL]);++gL){}gM.splice(gG,0,new gv(2,gK,gL));gD=gL}else{++gL}}if(gD<gN){gM.splice(gG,0,new gv(1,gD,gN))}}}if(gM[0].level==1&&(gJ=gI.match(/^\s+/))){gM[0].from=gJ[0].length;gM.unshift(new gv(0,0,gJ[0].length))}if(fL(gM).level==1&&(gJ=gI.match(/\s+$/))){fL(gM).to-=gJ[0].length;gM.push(new gv(0,gO-gJ[0].length,gO))}if(gM[0].level==2){gM.unshift(new gv(1,gM[0].to,gM[0].to))}if(gM[0].level!=fL(gM).level){gM.push(new gv(gM[0].level,gO,gO))}return gM}})();H.version="5.8.1";return H});
assets/admin/js/color-picker.js DELETED
@@ -1,10 +0,0 @@
1
- jQuery(document).ready(function(jQuery)
2
- {
3
-
4
-
5
- jQuery(' .accordions_color').wpColorPicker();
6
-
7
-
8
-
9
-
10
- });
 
 
 
 
 
 
 
 
 
 
assets/admin/js/scripts.js CHANGED
@@ -1,41 +1,92 @@
1
  jQuery(document).ready(function($)
2
  {
3
 
4
- $('.accordions-tooltip').tooltipster();
5
 
6
 
7
-
8
- $(document).on('click','.import-json',function(){
9
 
10
  json_file = $('.json_file').val();
11
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
12
 
 
 
13
 
14
- $.ajax(
15
- {
16
- type: 'POST',
17
- context: this,
18
- url:accordions_ajax.accordions_ajaxurl,
19
- data: {
20
- "action" : "accordions_ajax_import_json",
21
- "json_file" : json_file,
22
 
23
- },
24
- success: function( response ) {
25
 
26
- var data = JSON.parse( response );
27
- json_file = data['json_file'];
28
- console.log(data);
29
 
30
 
31
- } });
32
 
33
  })
34
 
35
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
36
 
 
37
 
38
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
39
 
40
 
41
  $(document).on('click', '#accordions_metabox .reset-active', function()
@@ -50,7 +101,7 @@ jQuery(document).ready(function($)
50
 
51
 
52
 
53
- $(document).on('keyup', '#accordions_metabox .section-panel input', function()
54
  {
55
  var text = $(this).val();
56
 
@@ -69,6 +120,9 @@ jQuery(document).ready(function($)
69
 
70
 
71
 
 
 
 
72
  $(document).on('click', '#accordions_metabox .section-header .expand-compress', function()
73
  {
74
  if($(this).parent().parent().hasClass('active'))
@@ -85,36 +139,34 @@ jQuery(document).ready(function($)
85
 
86
 
87
 
 
 
88
 
 
89
 
90
- $(document).on('keyup', '.accordions_icons_custom_plus_input', function()
91
- {
 
92
 
93
- icon_id = $(this).val();
94
 
95
- $('.accordions_icons_custom_plus i').removeAttr('class');
96
- $('.accordions_icons_custom_plus i').addClass('fa '+icon_id);
97
- console.log(icon_id);
98
 
99
 
100
- })
101
 
102
 
103
 
 
 
104
 
105
-
106
- $(document).on('keyup', '.accordions_icons_custom_minus_input', function()
107
- {
108
 
109
- icon_id = $(this).val();
 
 
110
 
111
- $('.accordions_icons_custom_minus i').removeAttr('class');
112
- $('.accordions_icons_custom_minus i').addClass('fa '+icon_id);
113
- console.log(icon_id);
114
 
 
115
 
116
- })
117
-
118
 
119
 
120
  $(document).on('click', '#accordions_metabox .removeaccordions', function()
@@ -131,8 +183,7 @@ jQuery(document).ready(function($)
131
 
132
  }
133
  })
134
-
135
-
136
 
137
 
138
  });
1
  jQuery(document).ready(function($)
2
  {
3
 
 
4
 
5
 
6
+ $(document).on('click','.accordions-import-json',function(){
 
7
 
8
  json_file = $('.json_file').val();
9
 
10
+ if(json_file){
11
+ $.ajax(
12
+ {
13
+ type: 'POST',
14
+ context: this,
15
+ url:accordions_ajax.accordions_ajaxurl,
16
+ data: {
17
+ "action" : "accordions_ajax_import_json",
18
+ "json_file" : json_file,
19
+
20
+ },
21
+ success: function( response ) {
22
+
23
+ var data = JSON.parse( response );
24
+ json_file = data['json_file'];
25
+ //console.log(data);
26
 
27
+ $(this).html('Import done');
28
+ $('.json_file').val('');
29
 
30
+ } });
31
+
32
+ }
33
+ else{
34
+ alert('Please put file url');
35
+ }
 
 
36
 
 
 
37
 
 
 
 
38
 
39
 
 
40
 
41
  })
42
 
43
 
44
+ $(document).on('change', '#accordions_metabox #accordions_header_bg_opacity_hndl', function()
45
+ {
46
+
47
+ var val = $(this).val();
48
+
49
+ $('#accordions_header_bg_opacity').val(val);
50
+
51
+
52
+
53
+ })
54
+
55
+
56
+
57
+ $(document).on('change', '#accordions_metabox #accordions_items_content_bg_opacity_hndl', function()
58
+ {
59
+
60
+ var val = $(this).val();
61
+
62
+ $('#accordions_items_content_bg_opacity').val(val);
63
+
64
+
65
+
66
+ })
67
 
68
+ $(document).on('click', '#accordions_metabox .expand-collapse', function() {
69
 
70
 
71
+ if($(this).attr('expand')){
72
+ $(this).removeAttr('expand');
73
+ $(this).text('Expand all');
74
+
75
+ $('#accordions-content .items').removeClass('active');
76
+ $(this).attr('collapse','yes');
77
+
78
+
79
+ }else{
80
+ $(this).removeAttr('collapse');
81
+ $(this).text('Collapse all');
82
+
83
+ $(this).attr('expand','yes');
84
+ $('#accordions-content .items').addClass('active');
85
+ }
86
+
87
+
88
+
89
+ })
90
 
91
 
92
  $(document).on('click', '#accordions_metabox .reset-active', function()
101
 
102
 
103
 
104
+ $(document).on('keyup', '#accordions_metabox .section-panel .accordions_content_title', function()
105
  {
106
  var text = $(this).val();
107
 
120
 
121
 
122
 
123
+
124
+
125
+
126
  $(document).on('click', '#accordions_metabox .section-header .expand-compress', function()
127
  {
128
  if($(this).parent().parent().hasClass('active'))
139
 
140
 
141
 
142
+ $(document).on('keyup', '.accordions_icons_custom_plus_input', function()
143
+ {
144
 
145
+ icon_id = $(this).val();
146
 
147
+ $('.accordions_icons_custom_plus i').removeAttr('class');
148
+ $('.accordions_icons_custom_plus i').addClass('fa '+icon_id);
149
+ console.log(icon_id);
150
 
 
151
 
152
+ })
 
 
153
 
154
 
 
155
 
156
 
157
 
158
+ $(document).on('keyup', '.accordions_icons_custom_minus_input', function()
159
+ {
160
 
161
+ icon_id = $(this).val();
 
 
162
 
163
+ $('.accordions_icons_custom_minus i').removeAttr('class');
164
+ $('.accordions_icons_custom_minus i').addClass('fa '+icon_id);
165
+ console.log(icon_id);
166
 
 
 
 
167
 
168
+ })
169
 
 
 
170
 
171
 
172
  $(document).on('click', '#accordions_metabox .removeaccordions', function()
183
 
184
  }
185
  })
186
+
 
187
 
188
 
189
  });
assets/admin/js/scripts.min.js ADDED
@@ -0,0 +1 @@
 
1
+ jQuery(document).ready(function(a){a(document).on("click",".accordions-import-json",function(){json_file=a(".json_file").val();if(json_file){a.ajax({type:"POST",context:this,url:accordions_ajax.accordions_ajaxurl,data:{action:"accordions_ajax_import_json",json_file:json_file},success:function(b){var c=JSON.parse(b);json_file=c.json_file;a(this).html("Import done");a(".json_file").val("")}})}else{alert("Please put file url")}});a(document).on("change","#accordions_metabox #accordions_header_bg_opacity_hndl",function(){var b=a(this).val();a("#accordions_header_bg_opacity").val(b)});a(document).on("change","#accordions_metabox #accordions_items_content_bg_opacity_hndl",function(){var b=a(this).val();a("#accordions_items_content_bg_opacity").val(b)});a(document).on("click","#accordions_metabox .expand-collapse",function(){if(a(this).attr("expand")){a(this).removeAttr("expand");a(this).text("Expand all");a("#accordions-content .items").removeClass("active");a(this).attr("collapse","yes")}else{a(this).removeAttr("collapse");a(this).text("Collapse all");a(this).attr("expand","yes");a("#accordions-content .items").addClass("active")}});a(document).on("click","#accordions_metabox .reset-active",function(){a('input[name="accordions_active_accordion"]').prop("checked",false)});a(document).on("keyup","#accordions_metabox .section-panel .accordions_content_title",function(){var b=a(this).val();if(b==""){a(this).parent().parent().children(".section-header").children(".accordions-title-preview").html("start typing")}else{a(this).parent().parent().children(".section-header").children(".accordions-title-preview").html(b)}});a(document).on("click","#accordions_metabox .section-header .expand-compress",function(){if(a(this).parent().parent().hasClass("active")){a(this).parent().parent().removeClass("active")}else{a(this).parent().parent().addClass("active")}});a(document).on("keyup",".accordions_icons_custom_plus_input",function(){icon_id=a(this).val();a(".accordions_icons_custom_plus i").removeAttr("class");a(".accordions_icons_custom_plus i").addClass("fa "+icon_id);console.log(icon_id)});a(document).on("keyup",".accordions_icons_custom_minus_input",function(){icon_id=a(this).val();a(".accordions_icons_custom_minus i").removeAttr("class");a(".accordions_icons_custom_minus i").addClass("fa "+icon_id);console.log(icon_id)});a(document).on("click","#accordions_metabox .removeaccordions",function(){var b=a(this).attr("confirm");if(b=="yes"){a(this).parent().parent().remove()}else{a(this).html(L10n_accordions.confirm_text);a(this).attr("confirm","yes")}})});
assets/admin/js/settings-tabs.js ADDED
@@ -0,0 +1,26 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ jQuery(document).ready(function($){
2
+
3
+
4
+
5
+ $(document).on('click','.settings-tabs .tab-nav',function(){
6
+
7
+ $(this).parent().parent().children('.tab-navs').children('.tab-nav').removeClass('active');
8
+
9
+ $(this).addClass('active');
10
+
11
+ id = $(this).attr('data-id');
12
+
13
+ //console.log('Hello click');
14
+ console.log(id);
15
+
16
+ $(this).parent().parent().children('.tab-content').removeClass('active');
17
+
18
+ $(this).parent().parent().children('.tab-content#'+id).addClass('active');
19
+
20
+
21
+ })
22
+
23
+
24
+
25
+
26
+ });
assets/admin/js/settings-tabs.min.js ADDED
@@ -0,0 +1 @@
 
1
+ jQuery(document).ready(function(a){a(document).on("click",".settings-tabs .tab-nav",function(){a(this).parent().parent().children(".tab-navs").children(".tab-nav").removeClass("active");a(this).addClass("active");id=a(this).attr("data-id");console.log(id);a(this).parent().parent().children(".tab-content").removeClass("active");a(this).parent().parent().children(".tab-content#"+id).addClass("active")})});
assets/admin/js/tooltipster.bundle.min.js DELETED
@@ -1,2 +0,0 @@
1
- /*! tooltipster v4.1.6 */!function(a,b){"function"==typeof define&&define.amd?define(["jquery"],function(a){return b(a)}):"object"==typeof exports?module.exports=b(require("jquery")):b(jQuery)}(this,function(a){function b(a){this.$container,this.constraints=null,this.__$tooltip,this.__init(a)}function c(b,c){var d=!0;return a.each(b,function(a,e){return void 0===c[a]||b[a]!==c[a]?(d=!1,!1):void 0}),d}function d(b){var c=b.attr("id"),d=c?h.window.document.getElementById(c):null;return d?d===b[0]:a.contains(h.window.document.body,b[0])}function e(){if(!g)return!1;var a=g.document.body||g.document.documentElement,b=a.style,c="transition",d=["Moz","Webkit","Khtml","O","ms"];if("string"==typeof b[c])return!0;c=c.charAt(0).toUpperCase()+c.substr(1);for(var e=0;e<d.length;e++)if("string"==typeof b[d[e]+c])return!0;return!1}var f={animation:"fade",animationDuration:350,content:null,contentAsHTML:!1,contentCloning:!1,debug:!0,delay:300,delayTouch:[300,500],functionInit:null,functionBefore:null,functionReady:null,functionAfter:null,functionFormat:null,IEmin:6,interactive:!1,multiple:!1,parent:"body",plugins:["sideTip"],repositionOnScroll:!1,restoration:"none",selfDestruction:!0,theme:[],timer:0,trackerInterval:500,trackOrigin:!1,trackTooltip:!1,trigger:"hover",triggerClose:{click:!1,mouseleave:!1,originClick:!1,scroll:!1,tap:!1,touchleave:!1},triggerOpen:{click:!1,mouseenter:!1,tap:!1,touchstart:!1},updateAnimation:"rotate",zIndex:9999999},g="undefined"!=typeof window?window:null,h={hasTouchCapability:!(!g||!("ontouchstart"in g||g.DocumentTouch&&g.document instanceof g.DocumentTouch||g.navigator.maxTouchPoints)),hasTransitions:e(),IE:!1,semVer:"4.1.6",window:g},i=function(){this.__$emitterPrivate=a({}),this.__$emitterPublic=a({}),this.__instancesLatestArr=[],this.__plugins={},this._env=h};i.prototype={__bridge:function(b,c,d){if(!c[d]){var e=function(){};e.prototype=b;var g=new e;g.__init&&g.__init(c),a.each(b,function(a,b){0!=a.indexOf("__")&&(c[a]?f.debug&&console.log("The "+a+" method of the "+d+" plugin conflicts with another plugin or native methods"):(c[a]=function(){return g[a].apply(g,Array.prototype.slice.apply(arguments))},c[a].bridged=g))}),c[d]=g}return this},__setWindow:function(a){return h.window=a,this},_getRuler:function(a){return new b(a)},_off:function(){return this.__$emitterPrivate.off.apply(this.__$emitterPrivate,Array.prototype.slice.apply(arguments)),this},_on:function(){return this.__$emitterPrivate.on.apply(this.__$emitterPrivate,Array.prototype.slice.apply(arguments)),this},_one:function(){return this.__$emitterPrivate.one.apply(this.__$emitterPrivate,Array.prototype.slice.apply(arguments)),this},_plugin:function(b){var c=this;if("string"==typeof b){var d=b,e=null;return d.indexOf(".")>0?e=c.__plugins[d]:a.each(c.__plugins,function(a,b){return b.name.substring(b.name.length-d.length-1)=="."+d?(e=b,!1):void 0}),e}if(b.name.indexOf(".")<0)throw new Error("Plugins must be namespaced");return c.__plugins[b.name]=b,b.core&&c.__bridge(b.core,c,b.name),this},_trigger:function(){var a=Array.prototype.slice.apply(arguments);return"string"==typeof a[0]&&(a[0]={type:a[0]}),this.__$emitterPrivate.trigger.apply(this.__$emitterPrivate,a),this.__$emitterPublic.trigger.apply(this.__$emitterPublic,a),this},instances:function(b){var c=[],d=b||".tooltipstered";return a(d).each(function(){var b=a(this),d=b.data("tooltipster-ns");d&&a.each(d,function(a,d){c.push(b.data(d))})}),c},instancesLatest:function(){return this.__instancesLatestArr},off:function(){return this.__$emitterPublic.off.apply(this.__$emitterPublic,Array.prototype.slice.apply(arguments)),this},on:function(){return this.__$emitterPublic.on.apply(this.__$emitterPublic,Array.prototype.slice.apply(arguments)),this},one:function(){return this.__$emitterPublic.one.apply(this.__$emitterPublic,Array.prototype.slice.apply(arguments)),this},origins:function(b){var c=b?b+" ":"";return a(c+".tooltipstered").toArray()},setDefaults:function(b){return a.extend(f,b),this},triggerHandler:function(){return this.__$emitterPublic.triggerHandler.apply(this.__$emitterPublic,Array.prototype.slice.apply(arguments)),this}},a.tooltipster=new i,a.Tooltipster=function(b,c){this.__callbacks={close:[],open:[]},this.__closingTime,this.__Content,this.__contentBcr,this.__destroyed=!1,this.__destroying=!1,this.__$emitterPrivate=a({}),this.__$emitterPublic=a({}),this.__enabled=!0,this.__garbageCollector,this.__Geometry,this.__lastPosition,this.__namespace="tooltipster-"+Math.round(1e6*Math.random()),this.__options,this.__$originParents,this.__pointerIsOverOrigin=!1,this.__previousThemes=[],this.__state="closed",this.__timeouts={close:[],open:null},this.__touchEvents=[],this.__tracker=null,this._$origin,this._$tooltip,this.__init(b,c)},a.Tooltipster.prototype={__init:function(b,c){var d=this;if(d._$origin=a(b),d.__options=a.extend(!0,{},f,c),d.__optionsFormat(),!h.IE||h.IE>=d.__options.IEmin){var e=null;if(void 0===d._$origin.data("tooltipster-initialTitle")&&(e=d._$origin.attr("title"),void 0===e&&(e=null),d._$origin.data("tooltipster-initialTitle",e)),null!==d.__options.content)d.__contentSet(d.__options.content);else{var g,i=d._$origin.attr("data-tooltip-content");i&&(g=a(i)),g&&g[0]?d.__contentSet(g.first()):d.__contentSet(e)}d._$origin.removeAttr("title").addClass("tooltipstered"),d.__prepareOrigin(),d.__prepareGC(),a.each(d.__options.plugins,function(a,b){d._plug(b)}),h.hasTouchCapability&&a("body").on("touchmove."+d.__namespace+"-triggerOpen",function(a){d._touchRecordEvent(a)}),d._on("created",function(){d.__prepareTooltip()})._on("repositioned",function(a){d.__lastPosition=a.position})}else d.__options.disabled=!0},__contentInsert:function(){var a=this,b=a._$tooltip.find(".tooltipster-content"),c=a.__Content,d=function(a){c=a};return a._trigger({type:"format",content:a.__Content,format:d}),a.__options.functionFormat&&(c=a.__options.functionFormat.call(a,a,{origin:a._$origin[0]},a.__Content)),"string"!=typeof c||a.__options.contentAsHTML?b.empty().append(c):b.text(c),a},__contentSet:function(b){return b instanceof a&&this.__options.contentCloning&&(b=b.clone(!0)),this.__Content=b,this._trigger({type:"updated",content:b}),this},__destroyError:function(){throw new Error("This tooltip has been destroyed and cannot execute your method call.")},__geometry:function(){var b=this,c=b._$origin,d=b._$origin.is("area");if(d){var e=b._$origin.parent().attr("name");c=a('img[usemap="#'+e+'"]')}var f=c[0].getBoundingClientRect(),g=a(h.window.document),i=a(h.window),j=c,k={available:{document:null,window:null},document:{size:{height:g.height(),width:g.width()}},window:{scroll:{left:h.window.scrollX||h.window.document.documentElement.scrollLeft,top:h.window.scrollY||h.window.document.documentElement.scrollTop},size:{height:i.height(),width:i.width()}},origin:{fixedLineage:!1,offset:{},size:{height:f.bottom-f.top,width:f.right-f.left},usemapImage:d?c[0]:null,windowOffset:{bottom:f.bottom,left:f.left,right:f.right,top:f.top}}};if(d){var l=b._$origin.attr("shape"),m=b._$origin.attr("coords");if(m&&(m=m.split(","),a.map(m,function(a,b){m[b]=parseInt(a)})),"default"!=l)switch(l){case"circle":var n=m[0],o=m[1],p=m[2],q=o-p,r=n-p;k.origin.size.height=2*p,k.origin.size.width=k.origin.size.height,k.origin.windowOffset.left+=r,k.origin.windowOffset.top+=q;break;case"rect":var s=m[0],t=m[1],u=m[2],v=m[3];k.origin.size.height=v-t,k.origin.size.width=u-s,k.origin.windowOffset.left+=s,k.origin.windowOffset.top+=t;break;case"poly":for(var w=0,x=0,y=0,z=0,A="even",B=0;B<m.length;B++){var C=m[B];"even"==A?(C>y&&(y=C,0===B&&(w=y)),w>C&&(w=C),A="odd"):(C>z&&(z=C,1==B&&(x=z)),x>C&&(x=C),A="even")}k.origin.size.height=z-x,k.origin.size.width=y-w,k.origin.windowOffset.left+=w,k.origin.windowOffset.top+=x}}var D=function(a){k.origin.size.height=a.height,k.origin.windowOffset.left=a.left,k.origin.windowOffset.top=a.top,k.origin.size.width=a.width};for(b._trigger({type:"geometry",edit:D,geometry:{height:k.origin.size.height,left:k.origin.windowOffset.left,top:k.origin.windowOffset.top,width:k.origin.size.width}}),k.origin.windowOffset.right=k.origin.windowOffset.left+k.origin.size.width,k.origin.windowOffset.bottom=k.origin.windowOffset.top+k.origin.size.height,k.origin.offset.left=k.origin.windowOffset.left+k.window.scroll.left,k.origin.offset.top=k.origin.windowOffset.top+k.window.scroll.top,k.origin.offset.bottom=k.origin.offset.top+k.origin.size.height,k.origin.offset.right=k.origin.offset.left+k.origin.size.width,k.available.document={bottom:{height:k.document.size.height-k.origin.offset.bottom,width:k.document.size.width},left:{height:k.document.size.height,width:k.origin.offset.left},right:{height:k.document.size.height,width:k.document.size.width-k.origin.offset.right},top:{height:k.origin.offset.top,width:k.document.size.width}},k.available.window={bottom:{height:Math.max(k.window.size.height-Math.max(k.origin.windowOffset.bottom,0),0),width:k.window.size.width},left:{height:k.window.size.height,width:Math.max(k.origin.windowOffset.left,0)},right:{height:k.window.size.height,width:Math.max(k.window.size.width-Math.max(k.origin.windowOffset.right,0),0)},top:{height:Math.max(k.origin.windowOffset.top,0),width:k.window.size.width}};"html"!=j[0].tagName.toLowerCase();){if("fixed"==j.css("position")){k.origin.fixedLineage=!0;break}j=j.parent()}return k},__optionsFormat:function(){return"number"==typeof this.__options.animationDuration&&(this.__options.animationDuration=[this.__options.animationDuration,this.__options.animationDuration]),"number"==typeof this.__options.delay&&(this.__options.delay=[this.__options.delay,this.__options.delay]),"number"==typeof this.__options.delayTouch&&(this.__options.delayTouch=[this.__options.delayTouch,this.__options.delayTouch]),"string"==typeof this.__options.theme&&(this.__options.theme=[this.__options.theme]),"string"==typeof this.__options.parent&&(this.__options.parent=a(this.__options.parent)),"hover"==this.__options.trigger?(this.__options.triggerOpen={mouseenter:!0,touchstart:!0},this.__options.triggerClose={mouseleave:!0,originClick:!0,touchleave:!0}):"click"==this.__options.trigger&&(this.__options.triggerOpen={click:!0,tap:!0},this.__options.triggerClose={click:!0,tap:!0}),this._trigger("options"),this},__prepareGC:function(){var b=this;return b.__options.selfDestruction?b.__garbageCollector=setInterval(function(){var c=(new Date).getTime();b.__touchEvents=a.grep(b.__touchEvents,function(a,b){return c-a.time>6e4}),d(b._$origin)||b.destroy()},2e4):clearInterval(b.__garbageCollector),b},__prepareOrigin:function(){var a=this;if(a._$origin.off("."+a.__namespace+"-triggerOpen"),h.hasTouchCapability&&a._$origin.on("touchstart."+a.__namespace+"-triggerOpen touchend."+a.__namespace+"-triggerOpen touchcancel."+a.__namespace+"-triggerOpen",function(b){a._touchRecordEvent(b)}),a.__options.triggerOpen.click||a.__options.triggerOpen.tap&&h.hasTouchCapability){var b="";a.__options.triggerOpen.click&&(b+="click."+a.__namespace+"-triggerOpen "),a.__options.triggerOpen.tap&&h.hasTouchCapability&&(b+="touchend."+a.__namespace+"-triggerOpen"),a._$origin.on(b,function(b){a._touchIsMeaningfulEvent(b)&&a._open(b)})}if(a.__options.triggerOpen.mouseenter||a.__options.triggerOpen.touchstart&&h.hasTouchCapability){var b="";a.__options.triggerOpen.mouseenter&&(b+="mouseenter."+a.__namespace+"-triggerOpen "),a.__options.triggerOpen.touchstart&&h.hasTouchCapability&&(b+="touchstart."+a.__namespace+"-triggerOpen"),a._$origin.on(b,function(b){!a._touchIsTouchEvent(b)&&a._touchIsEmulatedEvent(b)||(a.__pointerIsOverOrigin=!0,a._openShortly(b))})}if(a.__options.triggerClose.mouseleave||a.__options.triggerClose.touchleave&&h.hasTouchCapability){var b="";a.__options.triggerClose.mouseleave&&(b+="mouseleave."+a.__namespace+"-triggerOpen "),a.__options.triggerClose.touchleave&&h.hasTouchCapability&&(b+="touchend."+a.__namespace+"-triggerOpen touchcancel."+a.__namespace+"-triggerOpen"),a._$origin.on(b,function(b){a._touchIsMeaningfulEvent(b)&&(a.__pointerIsOverOrigin=!1)})}return a},__prepareTooltip:function(){var b=this,c=b.__options.interactive?"auto":"";return b._$tooltip.attr("id",b.__namespace).css({"pointer-events":c,zIndex:b.__options.zIndex}),a.each(b.__previousThemes,function(a,c){b._$tooltip.removeClass(c)}),a.each(b.__options.theme,function(a,c){b._$tooltip.addClass(c)}),b.__previousThemes=a.merge([],b.__options.theme),b},__scrollHandler:function(b){var c=this;if(c.__options.triggerClose.scroll)c._close(b);else{if(b.target===h.window.document)c.__Geometry.origin.fixedLineage||c.__options.repositionOnScroll&&c.reposition(b);else{var d=c.__geometry(),e=!1;if("fixed"!=c._$origin.css("position")&&c.__$originParents.each(function(b,c){var f=a(c),g=f.css("overflow-x"),h=f.css("overflow-y");if("visible"!=g||"visible"!=h){var i=c.getBoundingClientRect();if("visible"!=g&&(d.origin.windowOffset.left<i.left||d.origin.windowOffset.right>i.right))return e=!0,!1;if("visible"!=h&&(d.origin.windowOffset.top<i.top||d.origin.windowOffset.bottom>i.bottom))return e=!0,!1}return"fixed"==f.css("position")?!1:void 0}),e)c._$tooltip.css("visibility","hidden");else if(c._$tooltip.css("visibility","visible"),c.__options.repositionOnScroll)c.reposition(b);else{var f=d.origin.offset.left-c.__Geometry.origin.offset.left,g=d.origin.offset.top-c.__Geometry.origin.offset.top;c._$tooltip.css({left:c.__lastPosition.coord.left+f,top:c.__lastPosition.coord.top+g})}}c._trigger({type:"scroll",event:b})}return c},__stateSet:function(a){return this.__state=a,this._trigger({type:"state",state:a}),this},__timeoutsClear:function(){return clearTimeout(this.__timeouts.open),this.__timeouts.open=null,a.each(this.__timeouts.close,function(a,b){clearTimeout(b)}),this.__timeouts.close=[],this},__trackerStart:function(){var a=this,b=a._$tooltip.find(".tooltipster-content");return a.__options.trackTooltip&&(a.__contentBcr=b[0].getBoundingClientRect()),a.__tracker=setInterval(function(){if(d(a._$origin)&&d(a._$tooltip)){if(a.__options.trackOrigin){var e=a.__geometry(),f=!1;c(e.origin.size,a.__Geometry.origin.size)&&(a.__Geometry.origin.fixedLineage?c(e.origin.windowOffset,a.__Geometry.origin.windowOffset)&&(f=!0):c(e.origin.offset,a.__Geometry.origin.offset)&&(f=!0)),f||(a.__options.triggerClose.mouseleave?a._close():a.reposition())}if(a.__options.trackTooltip){var g=b[0].getBoundingClientRect();g.height===a.__contentBcr.height&&g.width===a.__contentBcr.width||(a.reposition(),a.__contentBcr=g)}}else a._close()},a.__options.trackerInterval),a},_close:function(b,c){var d=this,e=!0;if(d._trigger({type:"close",event:b,stop:function(){e=!1}}),e||d.__destroying){c&&d.__callbacks.close.push(c),d.__callbacks.open=[],d.__timeoutsClear();var f=function(){a.each(d.__callbacks.close,function(a,c){c.call(d,d,{event:b,origin:d._$origin[0]})}),d.__callbacks.close=[]};if("closed"!=d.__state){var g=!0,i=new Date,j=i.getTime(),k=j+d.__options.animationDuration[1];if("disappearing"==d.__state&&k>d.__closingTime&&(g=!1),g){d.__closingTime=k,"disappearing"!=d.__state&&d.__stateSet("disappearing");var l=function(){clearInterval(d.__tracker),d._trigger({type:"closing",event:b}),d._$tooltip.off("."+d.__namespace+"-triggerClose").removeClass("tooltipster-dying"),a(h.window).off("."+d.__namespace+"-triggerClose"),d.__$originParents.each(function(b,c){a(c).off("scroll."+d.__namespace+"-triggerClose")}),d.__$originParents=null,a("body").off("."+d.__namespace+"-triggerClose"),d._$origin.off("."+d.__namespace+"-triggerClose"),d._off("dismissable"),d.__stateSet("closed"),d._trigger({type:"after",event:b}),d.__options.functionAfter&&d.__options.functionAfter.call(d,d,{event:b,origin:d._$origin[0]}),f()};h.hasTransitions?(d._$tooltip.css({"-moz-animation-duration":d.__options.animationDuration[1]+"ms","-ms-animation-duration":d.__options.animationDuration[1]+"ms","-o-animation-duration":d.__options.animationDuration[1]+"ms","-webkit-animation-duration":d.__options.animationDuration[1]+"ms","animation-duration":d.__options.animationDuration[1]+"ms","transition-duration":d.__options.animationDuration[1]+"ms"}),d._$tooltip.clearQueue().removeClass("tooltipster-show").addClass("tooltipster-dying"),d.__options.animationDuration[1]>0&&d._$tooltip.delay(d.__options.animationDuration[1]),d._$tooltip.queue(l)):d._$tooltip.stop().fadeOut(d.__options.animationDuration[1],l)}}else f()}return d},_off:function(){return this.__$emitterPrivate.off.apply(this.__$emitterPrivate,Array.prototype.slice.apply(arguments)),this},_on:function(){return this.__$emitterPrivate.on.apply(this.__$emitterPrivate,Array.prototype.slice.apply(arguments)),this},_one:function(){return this.__$emitterPrivate.one.apply(this.__$emitterPrivate,Array.prototype.slice.apply(arguments)),this},_open:function(b,c){var e=this;if(!e.__destroying&&d(e._$origin)&&e.__enabled){var f=!0;if("closed"==e.__state&&(e._trigger({type:"before",event:b,stop:function(){f=!1}}),f&&e.__options.functionBefore&&(f=e.__options.functionBefore.call(e,e,{event:b,origin:e._$origin[0]}))),f!==!1&&null!==e.__Content){c&&e.__callbacks.open.push(c),e.__callbacks.close=[],e.__timeoutsClear();var g,i=function(){"stable"!=e.__state&&e.__stateSet("stable"),a.each(e.__callbacks.open,function(a,b){b.call(e,e,{origin:e._$origin[0],tooltip:e._$tooltip[0]})}),e.__callbacks.open=[]};if("closed"!==e.__state)g=0,"disappearing"===e.__state?(e.__stateSet("appearing"),h.hasTransitions?(e._$tooltip.clearQueue().removeClass("tooltipster-dying").addClass("tooltipster-show"),e.__options.animationDuration[0]>0&&e._$tooltip.delay(e.__options.animationDuration[0]),e._$tooltip.queue(i)):e._$tooltip.stop().fadeIn(i)):"stable"==e.__state&&i();else{if(e.__stateSet("appearing"),g=e.__options.animationDuration[0],e.__contentInsert(),e.reposition(b,!0),h.hasTransitions?(e._$tooltip.addClass("tooltipster-"+e.__options.animation).addClass("tooltipster-initial").css({"-moz-animation-duration":e.__options.animationDuration[0]+"ms","-ms-animation-duration":e.__options.animationDuration[0]+"ms","-o-animation-duration":e.__options.animationDuration[0]+"ms","-webkit-animation-duration":e.__options.animationDuration[0]+"ms","animation-duration":e.__options.animationDuration[0]+"ms","transition-duration":e.__options.animationDuration[0]+"ms"}),setTimeout(function(){"closed"!=e.__state&&(e._$tooltip.addClass("tooltipster-show").removeClass("tooltipster-initial"),e.__options.animationDuration[0]>0&&e._$tooltip.delay(e.__options.animationDuration[0]),e._$tooltip.queue(i))},0)):e._$tooltip.css("display","none").fadeIn(e.__options.animationDuration[0],i),e.__trackerStart(),a(h.window).on("resize."+e.__namespace+"-triggerClose",function(b){var c=a(document.activeElement);(c.is("input")||c.is("textarea"))&&a.contains(e._$tooltip[0],c[0])||e.reposition(b)}).on("scroll."+e.__namespace+"-triggerClose",function(a){e.__scrollHandler(a)}),e.__$originParents=e._$origin.parents(),e.__$originParents.each(function(b,c){a(c).on("scroll."+e.__namespace+"-triggerClose",function(a){e.__scrollHandler(a)})}),e.__options.triggerClose.mouseleave||e.__options.triggerClose.touchleave&&h.hasTouchCapability){e._on("dismissable",function(a){a.dismissable?a.delay?(m=setTimeout(function(){e._close(a.event)},a.delay),e.__timeouts.close.push(m)):e._close(a):clearTimeout(m)});var j=e._$origin,k="",l="",m=null;e.__options.interactive&&(j=j.add(e._$tooltip)),e.__options.triggerClose.mouseleave&&(k+="mouseenter."+e.__namespace+"-triggerClose ",l+="mouseleave."+e.__namespace+"-triggerClose "),e.__options.triggerClose.touchleave&&h.hasTouchCapability&&(k+="touchstart."+e.__namespace+"-triggerClose",l+="touchend."+e.__namespace+"-triggerClose touchcancel."+e.__namespace+"-triggerClose"),j.on(l,function(a){if(e._touchIsTouchEvent(a)||!e._touchIsEmulatedEvent(a)){var b="mouseleave"==a.type?e.__options.delay:e.__options.delayTouch;e._trigger({delay:b[1],dismissable:!0,event:a,type:"dismissable"})}}).on(k,function(a){!e._touchIsTouchEvent(a)&&e._touchIsEmulatedEvent(a)||e._trigger({dismissable:!1,event:a,type:"dismissable"})})}e.__options.triggerClose.originClick&&e._$origin.on("click."+e.__namespace+"-triggerClose",function(a){e._touchIsTouchEvent(a)||e._touchIsEmulatedEvent(a)||e._close(a)}),(e.__options.triggerClose.click||e.__options.triggerClose.tap&&h.hasTouchCapability)&&setTimeout(function(){if("closed"!=e.__state){var b="";e.__options.triggerClose.click&&(b+="click."+e.__namespace+"-triggerClose "),e.__options.triggerClose.tap&&h.hasTouchCapability&&(b+="touchend."+e.__namespace+"-triggerClose"),a("body").on(b,function(b){e._touchIsMeaningfulEvent(b)&&(e._touchRecordEvent(b),e.__options.interactive&&a.contains(e._$tooltip[0],b.target)||e._close(b))}),e.__options.triggerClose.tap&&h.hasTouchCapability&&a("body").on("touchstart."+e.__namespace+"-triggerClose",function(a){e._touchRecordEvent(a)})}},0),e._trigger("ready"),e.__options.functionReady&&e.__options.functionReady.call(e,e,{origin:e._$origin[0],tooltip:e._$tooltip[0]})}if(e.__options.timer>0){var m=setTimeout(function(){e._close()},e.__options.timer+g);e.__timeouts.close.push(m)}}}return e},_openShortly:function(a){var b=this,c=!0;if("stable"!=b.__state&&"appearing"!=b.__state&&!b.__timeouts.open&&(b._trigger({type:"start",event:a,stop:function(){c=!1}}),c)){var d=0==a.type.indexOf("touch")?b.__options.delayTouch:b.__options.delay;d[0]?b.__timeouts.open=setTimeout(function(){b.__timeouts.open=null,b.__pointerIsOverOrigin&&b._touchIsMeaningfulEvent(a)?(b._trigger("startend"),b._open(a)):b._trigger("startcancel")},d[0]):(b._trigger("startend"),b._open(a))}return b},_optionsExtract:function(b,c){var d=this,e=a.extend(!0,{},c),f=d.__options[b];return f||(f={},a.each(c,function(a,b){var c=d.__options[a];void 0!==c&&(f[a]=c)})),a.each(e,function(b,c){void 0!==f[b]&&("object"!=typeof c||c instanceof Array||null==c||"object"!=typeof f[b]||f[b]instanceof Array||null==f[b]?e[b]=f[b]:a.extend(e[b],f[b]))}),e},_plug:function(b){var c=a.tooltipster._plugin(b);if(!c)throw new Error('The "'+b+'" plugin is not defined');return c.instance&&a.tooltipster.__bridge(c.instance,this,c.name),this},_touchIsEmulatedEvent:function(a){for(var b=!1,c=(new Date).getTime(),d=this.__touchEvents.length-1;d>=0;d--){var e=this.__touchEvents[d];if(!(c-e.time<500))break;e.target===a.target&&(b=!0)}return b},_touchIsMeaningfulEvent:function(a){return this._touchIsTouchEvent(a)&&!this._touchSwiped(a.target)||!this._touchIsTouchEvent(a)&&!this._touchIsEmulatedEvent(a)},_touchIsTouchEvent:function(a){return 0==a.type.indexOf("touch")},_touchRecordEvent:function(a){return this._touchIsTouchEvent(a)&&(a.time=(new Date).getTime(),this.__touchEvents.push(a)),this},_touchSwiped:function(a){for(var b=!1,c=this.__touchEvents.length-1;c>=0;c--){var d=this.__touchEvents[c];if("touchmove"==d.type){b=!0;break}if("touchstart"==d.type&&a===d.target)break}return b},_trigger:function(){var b=Array.prototype.slice.apply(arguments);return"string"==typeof b[0]&&(b[0]={type:b[0]}),b[0].instance=this,b[0].origin=this._$origin?this._$origin[0]:null,b[0].tooltip=this._$tooltip?this._$tooltip[0]:null,this.__$emitterPrivate.trigger.apply(this.__$emitterPrivate,b),a.tooltipster._trigger.apply(a.tooltipster,b),this.__$emitterPublic.trigger.apply(this.__$emitterPublic,b),this},_unplug:function(b){var c=this;if(c[b]){var d=a.tooltipster._plugin(b);d.instance&&a.each(d.instance,function(a,d){c[a]&&c[a].bridged===c[b]&&delete c[a]}),c[b].__destroy&&c[b].__destroy(),delete c[b]}return c},close:function(a){return this.__destroyed?this.__destroyError():this._close(null,a),this},content:function(a){var b=this;if(void 0===a)return b.__Content;if(b.__destroyed)b.__destroyError();else if(b.__contentSet(a),null!==b.__Content){if("closed"!==b.__state&&(b.__contentInsert(),b.reposition(),b.__options.updateAnimation))if(h.hasTransitions){var c=b.__options.updateAnimation;b._$tooltip.addClass("tooltipster-update-"+c),setTimeout(function(){"closed"!=b.__state&&b._$tooltip.removeClass("tooltipster-update-"+c)},1e3)}else b._$tooltip.fadeTo(200,.5,function(){"closed"!=b.__state&&b._$tooltip.fadeTo(200,1)})}else b._close();return b},destroy:function(){var b=this;return b.__destroyed?b.__destroyError():b.__destroying||(b.__destroying=!0,b._close(null,function(){b._trigger("destroy"),b.__destroying=!1,b.__destroyed=!0,b._$origin.removeData(b.__namespace).off("."+b.__namespace+"-triggerOpen"),a("body").off("."+b.__namespace+"-triggerOpen");var c=b._$origin.data("tooltipster-ns");if(c)if(1===c.length){var d=null;"previous"==b.__options.restoration?d=b._$origin.data("tooltipster-initialTitle"):"current"==b.__options.restoration&&(d="string"==typeof b.__Content?b.__Content:a("<div></div>").append(b.__Content).html()),d&&b._$origin.attr("title",d),b._$origin.removeClass("tooltipstered"),b._$origin.removeData("tooltipster-ns").removeData("tooltipster-initialTitle")}else c=a.grep(c,function(a,c){return a!==b.__namespace}),b._$origin.data("tooltipster-ns",c);b._trigger("destroyed"),b._off(),b.off(),b.__Content=null,b.__$emitterPrivate=null,b.__$emitterPublic=null,b.__options.parent=null,b._$origin=null,b._$tooltip=null,a.tooltipster.__instancesLatestArr=a.grep(a.tooltipster.__instancesLatestArr,function(a,c){return b!==a}),clearInterval(b.__garbageCollector)})),b},disable:function(){return this.__destroyed?(this.__destroyError(),this):(this._close(),this.__enabled=!1,this)},elementOrigin:function(){return this.__destroyed?void this.__destroyError():this._$origin[0]},elementTooltip:function(){return this._$tooltip?this._$tooltip[0]:null},enable:function(){return this.__enabled=!0,this},hide:function(a){return this.close(a)},instance:function(){return this},off:function(){return this.__destroyed||this.__$emitterPublic.off.apply(this.__$emitterPublic,Array.prototype.slice.apply(arguments)),this},on:function(){return this.__destroyed?this.__destroyError():this.__$emitterPublic.on.apply(this.__$emitterPublic,Array.prototype.slice.apply(arguments)),this},one:function(){return this.__destroyed?this.__destroyError():this.__$emitterPublic.one.apply(this.__$emitterPublic,Array.prototype.slice.apply(arguments)),this},open:function(a){return this.__destroyed||this.__destroying?this.__destroyError():this._open(null,a),this},option:function(b,c){return void 0===c?this.__options[b]:(this.__destroyed?this.__destroyError():(this.__options[b]=c,this.__optionsFormat(),a.inArray(b,["trigger","triggerClose","triggerOpen"])>=0&&this.__prepareOrigin(),"selfDestruction"===b&&this.__prepareGC()),this)},reposition:function(a,b){var c=this;return c.__destroyed?c.__destroyError():"closed"!=c.__state&&d(c._$origin)&&(b||d(c._$tooltip))&&(b||c._$tooltip.detach(),c.__Geometry=c.__geometry(),c._trigger({type:"reposition",event:a,helper:{geo:c.__Geometry}})),c},show:function(a){return this.open(a)},status:function(){return{destroyed:this.__destroyed,destroying:this.__destroying,enabled:this.__enabled,open:"closed"!==this.__state,state:this.__state}},triggerHandler:function(){return this.__destroyed?this.__destroyError():this.__$emitterPublic.triggerHandler.apply(this.__$emitterPublic,Array.prototype.slice.apply(arguments)),this}},a.fn.tooltipster=function(){var b=Array.prototype.slice.apply(arguments),c="You are using a single HTML element as content for several tooltips. You probably want to set the contentCloning option to TRUE.";if(0===this.length)return this;if("string"==typeof b[0]){var d="#*$~&";return this.each(function(){var e=a(this).data("tooltipster-ns"),f=e?a(this).data(e[0]):null;if(!f)throw new Error("You called Tooltipster's \""+b[0]+'" method on an uninitialized element');if("function"!=typeof f[b[0]])throw new Error('Unknown method "'+b[0]+'"');this.length>1&&"content"==b[0]&&(b[1]instanceof a||"object"==typeof b[1]&&null!=b[1]&&b[1].tagName)&&!f.__options.contentCloning&&f.__options.debug&&console.log(c);var g=f[b[0]](b[1],b[2]);return g!==f||"instance"===b[0]?(d=g,!1):void 0}),"#*$~&"!==d?d:this}a.tooltipster.__instancesLatestArr=[];var e=b[0]&&void 0!==b[0].multiple,g=e&&b[0].multiple||!e&&f.multiple,h=b[0]&&void 0!==b[0].content,i=h&&b[0].content||!h&&f.content,j=b[0]&&void 0!==b[0].contentCloning,k=j&&b[0].contentCloning||!j&&f.contentCloning,l=b[0]&&void 0!==b[0].debug,m=l&&b[0].debug||!l&&f.debug;return this.length>1&&(i instanceof a||"object"==typeof i&&null!=i&&i.tagName)&&!k&&m&&console.log(c),this.each(function(){var c=!1,d=a(this),e=d.data("tooltipster-ns"),f=null;e?g?c=!0:m&&(console.log("Tooltipster: one or more tooltips are already attached to the element below. Ignoring."),console.log(this)):c=!0,c&&(f=new a.Tooltipster(this,b[0]),e||(e=[]),e.push(f.__namespace),d.data("tooltipster-ns",e),d.data(f.__namespace,f),f.__options.functionInit&&f.__options.functionInit.call(f,f,{origin:this}),f._trigger("init")),a.tooltipster.__instancesLatestArr.push(f)}),this},b.prototype={__init:function(b){this.__$tooltip=b,this.__$tooltip.css({left:0,overflow:"hidden",position:"absolute",top:0}).find(".tooltipster-content").css("overflow","auto"),this.$container=a('<div class="tooltipster-ruler"></div>').append(this.__$tooltip).appendTo("body")},__forceRedraw:function(){var a=this.__$tooltip.parent();this.__$tooltip.detach(),this.__$tooltip.appendTo(a)},constrain:function(a,b){return this.constraints={width:a,height:b},this.__$tooltip.css({display:"block",height:"",overflow:"auto",width:a}),this},destroy:function(){this.__$tooltip.detach().find(".tooltipster-content").css({display:"",overflow:""}),this.$container.remove()},free:function(){return this.constraints=null,this.__$tooltip.css({display:"",height:"",overflow:"visible",width:""}),this},measure:function(){this.__forceRedraw();var a=this.__$tooltip[0].getBoundingClientRect(),b={size:{height:a.height||a.bottom,width:a.width||a.right}};if(this.constraints){var c=this.__$tooltip.find(".tooltipster-content"),d=this.__$tooltip.outerHeight(),e=c[0].getBoundingClientRect(),f={height:d<=this.constraints.height,width:a.width<=this.constraints.width&&e.width>=c[0].scrollWidth-1};b.fits=f.height&&f.width}return h.IE&&h.IE<=11&&b.size.width!==h.window.document.documentElement.clientWidth&&(b.size.width=Math.ceil(b.size.width)+1),b}};var j=navigator.userAgent.toLowerCase();-1!=j.indexOf("msie")?h.IE=parseInt(j.split("msie")[1]):-1!==j.toLowerCase().indexOf("trident")&&-1!==j.indexOf(" rv:11")?h.IE=11:-1!=j.toLowerCase().indexOf("edge/")&&(h.IE=parseInt(j.toLowerCase().split("edge/")[1]));var k="tooltipster.sideTip";return a.tooltipster._plugin({name:k,instance:{__defaults:function(){return{arrow:!0,distance:6,functionPosition:null,maxWidth:null,minIntersection:16,minWidth:0,position:null,side:"top",viewportAware:!0}},__init:function(a){var b=this;b.__instance=a,b.__namespace="tooltipster-sideTip-"+Math.round(1e6*Math.random()),b.__previousState="closed",b.__options,b.__optionsFormat(),b.__instance._on("state."+b.__namespace,function(a){"closed"==a.state?b.__close():"appearing"==a.state&&"closed"==b.__previousState&&b.__create(),b.__previousState=a.state}),b.__instance._on("options."+b.__namespace,function(){b.__optionsFormat()}),b.__instance._on("reposition."+b.__namespace,function(a){b.__reposition(a.event,a.helper)})},__close:function(){this.__instance.content()instanceof a&&this.__instance.content().detach(),this.__instance._$tooltip.remove(),this.__instance._$tooltip=null},__create:function(){var b=a('<div class="tooltipster-base tooltipster-sidetip"><div class="tooltipster-box"><div class="tooltipster-content"></div></div><div class="tooltipster-arrow"><div class="tooltipster-arrow-uncropped"><div class="tooltipster-arrow-border"></div><div class="tooltipster-arrow-background"></div></div></div></div>');this.__options.arrow||b.find(".tooltipster-box").css("margin",0).end().find(".tooltipster-arrow").hide(),this.__options.minWidth&&b.css("min-width",this.__options.minWidth+"px"),this.__options.maxWidth&&b.css("max-width",this.__options.maxWidth+"px"),this.__instance._$tooltip=b,this.__instance._trigger("created")},__destroy:function(){this.__instance._off("."+self.__namespace)},__optionsFormat:function(){var b=this;if(b.__options=b.__instance._optionsExtract(k,b.__defaults()),
2
- b.__options.position&&(b.__options.side=b.__options.position),"object"!=typeof b.__options.distance&&(b.__options.distance=[b.__options.distance]),b.__options.distance.length<4&&(void 0===b.__options.distance[1]&&(b.__options.distance[1]=b.__options.distance[0]),void 0===b.__options.distance[2]&&(b.__options.distance[2]=b.__options.distance[0]),void 0===b.__options.distance[3]&&(b.__options.distance[3]=b.__options.distance[1]),b.__options.distance={top:b.__options.distance[0],right:b.__options.distance[1],bottom:b.__options.distance[2],left:b.__options.distance[3]}),"string"==typeof b.__options.side){var c={top:"bottom",right:"left",bottom:"top",left:"right"};b.__options.side=[b.__options.side,c[b.__options.side]],"left"==b.__options.side[0]||"right"==b.__options.side[0]?b.__options.side.push("top","bottom"):b.__options.side.push("right","left")}6===a.tooltipster._env.IE&&b.__options.arrow!==!0&&(b.__options.arrow=!1)},__reposition:function(b,c){var d,e=this,f=e.__targetFind(c),g=[];e.__instance._$tooltip.detach();var h=e.__instance._$tooltip.clone(),i=a.tooltipster._getRuler(h),j=!1,k=e.__instance.option("animation");switch(k&&h.removeClass("tooltipster-"+k),a.each(["window","document"],function(d,k){var l=null;if(e.__instance._trigger({container:k,helper:c,satisfied:j,takeTest:function(a){l=a},results:g,type:"positionTest"}),1==l||0!=l&&0==j&&("window"!=k||e.__options.viewportAware))for(var d=0;d<e.__options.side.length;d++){var m={horizontal:0,vertical:0},n=e.__options.side[d];"top"==n||"bottom"==n?m.vertical=e.__options.distance[n]:m.horizontal=e.__options.distance[n],e.__sideChange(h,n),a.each(["natural","constrained"],function(a,d){if(l=null,e.__instance._trigger({container:k,event:b,helper:c,mode:d,results:g,satisfied:j,side:n,takeTest:function(a){l=a},type:"positionTest"}),1==l||0!=l&&0==j){var h={container:k,distance:m,fits:null,mode:d,outerSize:null,side:n,size:null,target:f[n],whole:null},o="natural"==d?i.free():i.constrain(c.geo.available[k][n].width-m.horizontal,c.geo.available[k][n].height-m.vertical),p=o.measure();if(h.size=p.size,h.outerSize={height:p.size.height+m.vertical,width:p.size.width+m.horizontal},"natural"==d?c.geo.available[k][n].width>=h.outerSize.width&&c.geo.available[k][n].height>=h.outerSize.height?h.fits=!0:h.fits=!1:h.fits=p.fits,"window"==k&&(h.fits?"top"==n||"bottom"==n?h.whole=c.geo.origin.windowOffset.right>=e.__options.minIntersection&&c.geo.window.size.width-c.geo.origin.windowOffset.left>=e.__options.minIntersection:h.whole=c.geo.origin.windowOffset.bottom>=e.__options.minIntersection&&c.geo.window.size.height-c.geo.origin.windowOffset.top>=e.__options.minIntersection:h.whole=!1),g.push(h),h.whole)j=!0;else if("natural"==h.mode&&(h.fits||h.size.width<=c.geo.available[k][n].width))return!1}})}}),e.__instance._trigger({edit:function(a){g=a},event:b,helper:c,results:g,type:"positionTested"}),g.sort(function(a,b){if(a.whole&&!b.whole)return-1;if(!a.whole&&b.whole)return 1;if(a.whole&&b.whole){var c=e.__options.side.indexOf(a.side),d=e.__options.side.indexOf(b.side);return d>c?-1:c>d?1:"natural"==a.mode?-1:1}if(a.fits&&!b.fits)return-1;if(!a.fits&&b.fits)return 1;if(a.fits&&b.fits){var c=e.__options.side.indexOf(a.side),d=e.__options.side.indexOf(b.side);return d>c?-1:c>d?1:"natural"==a.mode?-1:1}return"document"==a.container&&"bottom"==a.side&&"natural"==a.mode?-1:1}),d=g[0],d.coord={},d.side){case"left":case"right":d.coord.top=Math.floor(d.target-d.size.height/2);break;case"bottom":case"top":d.coord.left=Math.floor(d.target-d.size.width/2)}switch(d.side){case"left":d.coord.left=c.geo.origin.windowOffset.left-d.outerSize.width;break;case"right":d.coord.left=c.geo.origin.windowOffset.right+d.distance.horizontal;break;case"top":d.coord.top=c.geo.origin.windowOffset.top-d.outerSize.height;break;case"bottom":d.coord.top=c.geo.origin.windowOffset.bottom+d.distance.vertical}"window"==d.container?"top"==d.side||"bottom"==d.side?d.coord.left<0?c.geo.origin.windowOffset.right-this.__options.minIntersection>=0?d.coord.left=0:d.coord.left=c.geo.origin.windowOffset.right-this.__options.minIntersection-1:d.coord.left>c.geo.window.size.width-d.size.width&&(c.geo.origin.windowOffset.left+this.__options.minIntersection<=c.geo.window.size.width?d.coord.left=c.geo.window.size.width-d.size.width:d.coord.left=c.geo.origin.windowOffset.left+this.__options.minIntersection+1-d.size.width):d.coord.top<0?c.geo.origin.windowOffset.bottom-this.__options.minIntersection>=0?d.coord.top=0:d.coord.top=c.geo.origin.windowOffset.bottom-this.__options.minIntersection-1:d.coord.top>c.geo.window.size.height-d.size.height&&(c.geo.origin.windowOffset.top+this.__options.minIntersection<=c.geo.window.size.height?d.coord.top=c.geo.window.size.height-d.size.height:d.coord.top=c.geo.origin.windowOffset.top+this.__options.minIntersection+1-d.size.height):(d.coord.left>c.geo.window.size.width-d.size.width&&(d.coord.left=c.geo.window.size.width-d.size.width),d.coord.left<0&&(d.coord.left=0)),e.__sideChange(h,d.side),c.tooltipClone=h[0],c.tooltipParent=e.__instance.option("parent").parent[0],c.mode=d.mode,c.whole=d.whole,c.origin=e.__instance._$origin[0],c.tooltip=e.__instance._$tooltip[0],delete d.container,delete d.fits,delete d.mode,delete d.outerSize,delete d.whole,d.distance=d.distance.horizontal||d.distance.vertical;var l=a.extend(!0,{},d);if(e.__instance._trigger({edit:function(a){d=a},event:b,helper:c,position:l,type:"position"}),e.__options.functionPosition){var m=e.__options.functionPosition.call(e,e.__instance,c,l);m&&(d=m)}i.destroy();var n,o;"top"==d.side||"bottom"==d.side?(n={prop:"left",val:d.target-d.coord.left},o=d.size.width-this.__options.minIntersection):(n={prop:"top",val:d.target-d.coord.top},o=d.size.height-this.__options.minIntersection),n.val<this.__options.minIntersection?n.val=this.__options.minIntersection:n.val>o&&(n.val=o);var p;p=c.geo.origin.fixedLineage?c.geo.origin.windowOffset:{left:c.geo.origin.windowOffset.left+c.geo.window.scroll.left,top:c.geo.origin.windowOffset.top+c.geo.window.scroll.top},d.coord={left:p.left+(d.coord.left-c.geo.origin.windowOffset.left),top:p.top+(d.coord.top-c.geo.origin.windowOffset.top)},e.__sideChange(e.__instance._$tooltip,d.side),c.geo.origin.fixedLineage?e.__instance._$tooltip.css("position","fixed"):e.__instance._$tooltip.css("position",""),e.__instance._$tooltip.css({left:d.coord.left,top:d.coord.top,height:d.size.height,width:d.size.width}).find(".tooltipster-arrow").css({left:"",top:""}).css(n.prop,n.val),e.__instance._$tooltip.appendTo(e.__instance.option("parent")),e.__instance._trigger({type:"repositioned",event:b,position:d})},__sideChange:function(a,b){a.removeClass("tooltipster-bottom").removeClass("tooltipster-left").removeClass("tooltipster-right").removeClass("tooltipster-top").addClass("tooltipster-"+b)},__targetFind:function(a){var b={},c=this.__instance._$origin[0].getClientRects();if(c.length>1){var d=this.__instance._$origin.css("opacity");1==d&&(this.__instance._$origin.css("opacity",.99),c=this.__instance._$origin[0].getClientRects(),this.__instance._$origin.css("opacity",1))}if(c.length<2)b.top=Math.floor(a.geo.origin.windowOffset.left+a.geo.origin.size.width/2),b.bottom=b.top,b.left=Math.floor(a.geo.origin.windowOffset.top+a.geo.origin.size.height/2),b.right=b.left;else{var e=c[0];b.top=Math.floor(e.left+(e.right-e.left)/2),e=c.length>2?c[Math.ceil(c.length/2)-1]:c[0],b.right=Math.floor(e.top+(e.bottom-e.top)/2),e=c[c.length-1],b.bottom=Math.floor(e.left+(e.right-e.left)/2),e=c.length>2?c[Math.ceil((c.length+1)/2)-1]:c[c.length-1],b.left=Math.floor(e.top+(e.bottom-e.top)/2)}return b}}}),a});
 
 
assets/frontend/css/images/ui-icons_444444_256x240.png CHANGED
Binary file
assets/frontend/css/images/ui-icons_555555_256x240.png CHANGED
Binary file
assets/frontend/css/images/ui-icons_777620_256x240.png CHANGED
Binary file
assets/frontend/css/images/ui-icons_777777_256x240.png CHANGED
Binary file
assets/frontend/css/images/ui-icons_cc0000_256x240.png CHANGED
Binary file
assets/frontend/css/images/ui-icons_ffffff_256x240.png CHANGED
Binary file
assets/frontend/css/jquery-ui.css ADDED
@@ -0,0 +1,1312 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /*! jQuery UI - v1.12.1 - 2016-09-14
2
+ * http://jqueryui.com
3
+ * Includes: core.css, accordion.css, autocomplete.css, menu.css, button.css, controlgroup.css, checkboxradio.css, datepicker.css, dialog.css, draggable.css, resizable.css, progressbar.css, selectable.css, selectmenu.css, slider.css, sortable.css, spinner.css, tabs.css, tooltip.css, theme.css
4
+ * To view and modify this theme, visit http://jqueryui.com/themeroller/?bgShadowXPos=&bgOverlayXPos=&bgErrorXPos=&bgHighlightXPos=&bgContentXPos=&bgHeaderXPos=&bgActiveXPos=&bgHoverXPos=&bgDefaultXPos=&bgShadowYPos=&bgOverlayYPos=&bgErrorYPos=&bgHighlightYPos=&bgContentYPos=&bgHeaderYPos=&bgActiveYPos=&bgHoverYPos=&bgDefaultYPos=&bgShadowRepeat=&bgOverlayRepeat=&bgErrorRepeat=&bgHighlightRepeat=&bgContentRepeat=&bgHeaderRepeat=&bgActiveRepeat=&bgHoverRepeat=&bgDefaultRepeat=&iconsHover=url(%22images%2Fui-icons_555555_256x240.png%22)&iconsHighlight=url(%22images%2Fui-icons_777620_256x240.png%22)&iconsHeader=url(%22images%2Fui-icons_444444_256x240.png%22)&iconsError=url(%22images%2Fui-icons_cc0000_256x240.png%22)&iconsDefault=url(%22images%2Fui-icons_777777_256x240.png%22)&iconsContent=url(%22images%2Fui-icons_444444_256x240.png%22)&iconsActive=url(%22images%2Fui-icons_ffffff_256x240.png%22)&bgImgUrlShadow=&bgImgUrlOverlay=&bgImgUrlHover=&bgImgUrlHighlight=&bgImgUrlHeader=&bgImgUrlError=&bgImgUrlDefault=&bgImgUrlContent=&bgImgUrlActive=&opacityFilterShadow=Alpha(Opacity%3D30)&opacityFilterOverlay=Alpha(Opacity%3D30)&opacityShadowPerc=30&opacityOverlayPerc=30&iconColorHover=%23555555&iconColorHighlight=%23777620&iconColorHeader=%23444444&iconColorError=%23cc0000&iconColorDefault=%23777777&iconColorContent=%23444444&iconColorActive=%23ffffff&bgImgOpacityShadow=0&bgImgOpacityOverlay=0&bgImgOpacityError=95&bgImgOpacityHighlight=55&bgImgOpacityContent=75&bgImgOpacityHeader=75&bgImgOpacityActive=65&bgImgOpacityHover=75&bgImgOpacityDefault=75&bgTextureShadow=flat&bgTextureOverlay=flat&bgTextureError=flat&bgTextureHighlight=flat&bgTextureContent=flat&bgTextureHeader=flat&bgTextureActive=flat&bgTextureHover=flat&bgTextureDefault=flat&cornerRadius=3px&fwDefault=normal&ffDefault=Arial%2CHelvetica%2Csans-serif&fsDefault=1em&cornerRadiusShadow=8px&thicknessShadow=5px&offsetLeftShadow=0px&offsetTopShadow=0px&opacityShadow=.3&bgColorShadow=%23666666&opacityOverlay=.3&bgColorOverlay=%23aaaaaa&fcError=%235f3f3f&borderColorError=%23f1a899&bgColorError=%23fddfdf&fcHighlight=%23777620&borderColorHighlight=%23dad55e&bgColorHighlight=%23fffa90&fcContent=%23333333&borderColorContent=%23dddddd&bgColorContent=%23ffffff&fcHeader=%23333333&borderColorHeader=%23dddddd&bgColorHeader=%23e9e9e9&fcActive=%23ffffff&borderColorActive=%23003eff&bgColorActive=%23007fff&fcHover=%232b2b2b&borderColorHover=%23cccccc&bgColorHover=%23ededed&fcDefault=%23454545&borderColorDefault=%23c5c5c5&bgColorDefault=%23f6f6f6
5
+ * Copyright jQuery Foundation and other contributors; Licensed MIT */
6
+
7
+ /* Layout helpers
8
+ ----------------------------------*/
9
+ .ui-helper-hidden {
10
+ display: none;
11
+ }
12
+ .ui-helper-hidden-accessible {
13
+ border: 0;
14
+ clip: rect(0 0 0 0);
15
+ height: 1px;
16
+ margin: -1px;
17
+ overflow: hidden;
18
+ padding: 0;
19
+ position: absolute;
20
+ width: 1px;
21
+ }
22
+ .ui-helper-reset {
23
+ margin: 0;
24
+ padding: 0;
25
+ border: 0;
26
+ outline: 0;
27
+ line-height: 1.3;
28
+ text-decoration: none;
29
+ font-size: 100%;
30
+ list-style: none;
31
+ }
32
+ .ui-helper-clearfix:before,
33
+ .ui-helper-clearfix:after {
34
+ content: "";
35
+ display: table;
36
+ border-collapse: collapse;
37
+ }
38
+ .ui-helper-clearfix:after {
39
+ clear: both;
40
+ }
41
+ .ui-helper-zfix {
42
+ width: 100%;
43
+ height: 100%;
44
+ top: 0;
45
+ left: 0;
46
+ position: absolute;
47
+ opacity: 0;
48
+ filter:Alpha(Opacity=0); /* support: IE8 */
49
+ }
50
+
51
+ .ui-front {
52
+ z-index: 100;
53
+ }
54
+
55
+
56
+ /* Interaction Cues
57
+ ----------------------------------*/
58
+ .ui-state-disabled {
59
+ cursor: default !important;
60
+ pointer-events: none;
61
+ }
62
+
63
+
64
+ /* Icons
65
+ ----------------------------------*/
66
+ .ui-icon {
67
+ display: inline-block;
68
+ vertical-align: middle;
69
+ margin-top: -.25em;
70
+ position: relative;
71
+ text-indent: -99999px;
72
+ overflow: hidden;
73
+ background-repeat: no-repeat;
74
+ }
75
+
76
+ .ui-widget-icon-block {
77
+ left: 50%;
78
+ margin-left: -8px;
79
+ display: block;
80
+ }
81
+
82
+ /* Misc visuals
83
+ ----------------------------------*/
84
+
85
+ /* Overlays */
86
+ .ui-widget-overlay {
87
+ position: fixed;
88
+ top: 0;
89
+ left: 0;
90
+ width: 100%;
91
+ height: 100%;
92
+ }
93
+ .ui-accordion .ui-accordion-header {
94
+ display: block;
95
+ cursor: pointer;
96
+ position: relative;
97
+ margin: 2px 0 0 0;
98
+ padding: .5em .5em .5em .7em;
99
+ font-size: 100%;
100
+ }
101
+ .ui-accordion .ui-accordion-content {
102
+ padding: 1em 2.2em;
103
+ border-top: 0;
104
+ overflow: auto;
105
+ }
106
+ .ui-autocomplete {
107
+ position: absolute;
108
+ top: 0;
109
+ left: 0;
110
+ cursor: default;
111
+ }
112
+ .ui-menu {
113
+ list-style: none;
114
+ padding: 0;
115
+ margin: 0;
116
+ display: block;
117
+ outline: 0;
118
+ }
119
+ .ui-menu .ui-menu {
120
+ position: absolute;
121
+ }
122
+ .ui-menu .ui-menu-item {
123
+ margin: 0;
124
+ cursor: pointer;
125
+ /* support: IE10, see #8844 */
126
+ list-style-image: url("data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7");
127
+ }
128
+ .ui-menu .ui-menu-item-wrapper {
129
+ position: relative;
130
+ padding: 3px 1em 3px .4em;
131
+ }
132
+ .ui-menu .ui-menu-divider {
133
+ margin: 5px 0;
134
+ height: 0;
135
+ font-size: 0;
136
+ line-height: 0;
137
+ border-width: 1px 0 0 0;
138
+ }
139
+ .ui-menu .ui-state-focus,
140
+ .ui-menu .ui-state-active {
141
+ margin: -1px;
142
+ }
143
+
144
+ /* icon support */
145
+ .ui-menu-icons {
146
+ position: relative;
147
+ }
148
+ .ui-menu-icons .ui-menu-item-wrapper {
149
+ padding-left: 2em;
150
+ }
151
+
152
+ /* left-aligned */
153
+ .ui-menu .ui-icon {
154
+ position: absolute;
155
+ top: 0;
156
+ bottom: 0;
157
+ left: .2em;
158
+ margin: auto 0;
159
+ }
160
+
161
+ /* right-aligned */
162
+ .ui-menu .ui-menu-icon {
163
+ left: auto;
164
+ right: 0;
165
+ }
166
+ .ui-button {
167
+ padding: .4em 1em;
168
+ display: inline-block;
169
+ position: relative;
170
+ line-height: normal;
171
+ margin-right: .1em;
172
+ cursor: pointer;
173
+ vertical-align: middle;
174
+ text-align: center;
175
+ -webkit-user-select: none;
176
+ -moz-user-select: none;
177
+ -ms-user-select: none;
178
+ user-select: none;
179
+
180
+ /* Support: IE <= 11 */
181
+ overflow: visible;
182
+ }
183
+
184
+ .ui-button,
185
+ .ui-button:link,
186
+ .ui-button:visited,
187
+ .ui-button:hover,
188
+ .ui-button:active {
189
+ text-decoration: none;
190
+ }
191
+
192
+ /* to make room for the icon, a width needs to be set here */
193
+ .ui-button-icon-only {
194
+ width: 2em;
195
+ box-sizing: border-box;
196
+ text-indent: -9999px;
197
+ white-space: nowrap;
198
+ }
199
+
200
+ /* no icon support for input elements */
201
+ input.ui-button.ui-button-icon-only {
202
+ text-indent: 0;
203
+ }
204
+
205
+ /* button icon element(s) */
206
+ .ui-button-icon-only .ui-icon {
207
+ position: absolute;
208
+ top: 50%;
209
+ left: 50%;
210
+ margin-top: -8px;
211
+ margin-left: -8px;
212
+ }
213
+
214
+ .ui-button.ui-icon-notext .ui-icon {
215
+ padding: 0;
216
+ width: 2.1em;
217
+ height: 2.1em;
218
+ text-indent: -9999px;
219
+ white-space: nowrap;
220
+
221
+ }
222
+
223
+ input.ui-button.ui-icon-notext .ui-icon {
224
+ width: auto;
225
+ height: auto;
226
+ text-indent: 0;
227
+ white-space: normal;
228
+ padding: .4em 1em;
229
+ }
230
+
231
+ /* workarounds */
232
+ /* Support: Firefox 5 - 40 */
233
+ input.ui-button::-moz-focus-inner,
234
+ button.ui-button::-moz-focus-inner {
235
+ border: 0;
236
+ padding: 0;
237
+ }
238
+ .ui-controlgroup {
239
+ vertical-align: middle;
240
+ display: inline-block;
241
+ }
242
+ .ui-controlgroup > .ui-controlgroup-item {
243
+ float: left;
244
+ margin-left: 0;
245
+ margin-right: 0;
246
+ }
247
+ .ui-controlgroup > .ui-controlgroup-item:focus,
248
+ .ui-controlgroup > .ui-controlgroup-item.ui-visual-focus {
249
+ z-index: 9999;
250
+ }
251
+ .ui-controlgroup-vertical > .ui-controlgroup-item {
252
+ display: block;
253
+ float: none;
254
+ width: 100%;
255
+ margin-top: 0;
256
+ margin-bottom: 0;
257
+ text-align: left;
258
+ }
259
+ .ui-controlgroup-vertical .ui-controlgroup-item {
260
+ box-sizing: border-box;
261
+ }
262
+ .ui-controlgroup .ui-controlgroup-label {
263
+ padding: .4em 1em;
264
+ }
265
+ .ui-controlgroup .ui-controlgroup-label span {
266
+ font-size: 80%;
267
+ }
268
+ .ui-controlgroup-horizontal .ui-controlgroup-label + .ui-controlgroup-item {
269
+ border-left: none;
270
+ }
271
+ .ui-controlgroup-vertical .ui-controlgroup-label + .ui-controlgroup-item {
272
+ border-top: none;
273
+ }
274
+ .ui-controlgroup-horizontal .ui-controlgroup-label.ui-widget-content {
275
+ border-right: none;
276
+ }
277
+ .ui-controlgroup-vertical .ui-controlgroup-label.ui-widget-content {
278
+ border-bottom: none;
279
+ }
280
+
281
+ /* Spinner specific style fixes */
282
+ .ui-controlgroup-vertical .ui-spinner-input {
283
+
284
+ /* Support: IE8 only, Android < 4.4 only */
285
+ width: 75%;
286
+ width: calc( 100% - 2.4em );
287
+ }
288
+ .ui-controlgroup-vertical .ui-spinner .ui-spinner-up {
289
+ border-top-style: solid;
290
+ }
291
+
292
+ .ui-checkboxradio-label .ui-icon-background {
293
+ box-shadow: inset 1px 1px 1px #ccc;
294
+ border-radius: .12em;
295
+ border: none;
296
+ }
297
+ .ui-checkboxradio-radio-label .ui-icon-background {
298
+ width: 16px;
299
+ height: 16px;
300
+ border-radius: 1em;
301
+ overflow: visible;
302
+ border: none;
303
+ }
304
+ .ui-checkboxradio-radio-label.ui-checkboxradio-checked .ui-icon,
305
+ .ui-checkboxradio-radio-label.ui-checkboxradio-checked:hover .ui-icon {
306
+ background-image: none;
307
+ width: 8px;
308
+ height: 8px;
309
+ border-width: 4px;
310
+ border-style: solid;
311
+ }
312
+ .ui-checkboxradio-disabled {
313
+ pointer-events: none;
314
+ }
315
+ .ui-datepicker {
316
+ width: 17em;
317
+ padding: .2em .2em 0;
318
+ display: none;
319
+ }
320
+ .ui-datepicker .ui-datepicker-header {
321
+ position: relative;
322
+ padding: .2em 0;
323
+ }
324
+ .ui-datepicker .ui-datepicker-prev,
325
+ .ui-datepicker .ui-datepicker-next {
326
+ position: absolute;
327
+ top: 2px;
328
+ width: 1.8em;
329
+ height: 1.8em;
330
+ }
331
+ .ui-datepicker .ui-datepicker-prev-hover,
332
+ .ui-datepicker .ui-datepicker-next-hover {
333
+ top: 1px;
334
+ }
335
+ .ui-datepicker .ui-datepicker-prev {
336
+ left: 2px;
337
+ }
338
+ .ui-datepicker .ui-datepicker-next {
339
+ right: 2px;
340
+ }
341
+ .ui-datepicker .ui-datepicker-prev-hover {
342
+ left: 1px;
343
+ }
344
+ .ui-datepicker .ui-datepicker-next-hover {
345
+ right: 1px;
346
+ }
347
+ .ui-datepicker .ui-datepicker-prev span,
348
+ .ui-datepicker .ui-datepicker-next span {
349
+ display: block;
350
+ position: absolute;
351
+ left: 50%;
352
+ margin-left: -8px;
353
+ top: 50%;
354
+ margin-top: -8px;
355
+ }
356
+ .ui-datepicker .ui-datepicker-title {
357
+ margin: 0 2.3em;
358
+ line-height: 1.8em;
359
+ text-align: center;
360
+ }
361
+ .ui-datepicker .ui-datepicker-title select {
362
+ font-size: 1em;
363
+ margin: 1px 0;
364
+ }
365
+ .ui-datepicker select.ui-datepicker-month,
366
+ .ui-datepicker select.ui-datepicker-year {
367
+ width: 45%;
368
+ }
369
+ .ui-datepicker table {
370
+ width: 100%;
371
+ font-size: .9em;
372
+ border-collapse: collapse;
373
+ margin: 0 0 .4em;
374
+ }
375
+ .ui-datepicker th {
376
+ padding: .7em .3em;
377
+ text-align: center;
378
+ font-weight: bold;
379
+ border: 0;
380
+ }
381
+ .ui-datepicker td {
382
+ border: 0;
383
+ padding: 1px;
384
+ }
385
+ .ui-datepicker td span,
386
+ .ui-datepicker td a {
387
+ display: block;
388
+ padding: .2em;
389
+ text-align: right;
390
+ text-decoration: none;
391
+ }
392
+ .ui-datepicker .ui-datepicker-buttonpane {
393
+ background-image: none;
394
+ margin: .7em 0 0 0;
395
+ padding: 0 .2em;
396
+ border-left: 0;
397
+ border-right: 0;
398
+ border-bottom: 0;
399
+ }
400
+ .ui-datepicker .ui-datepicker-buttonpane button {
401
+ float: right;
402
+ margin: .5em .2em .4em;
403
+ cursor: pointer;
404
+ padding: .2em .6em .3em .6em;
405
+ width: auto;
406
+ overflow: visible;
407
+ }
408
+ .ui-datepicker .ui-datepicker-buttonpane button.ui-datepicker-current {
409
+ float: left;
410
+ }
411
+
412
+ /* with multiple calendars */
413
+ .ui-datepicker.ui-datepicker-multi {
414
+ width: auto;
415
+ }
416
+ .ui-datepicker-multi .ui-datepicker-group {
417
+ float: left;
418
+ }
419
+ .ui-datepicker-multi .ui-datepicker-group table {
420
+ width: 95%;
421
+ margin: 0 auto .4em;
422
+ }
423
+ .ui-datepicker-multi-2 .ui-datepicker-group {
424
+ width: 50%;
425
+ }
426
+ .ui-datepicker-multi-3 .ui-datepicker-group {
427
+ width: 33.3%;
428
+ }
429
+ .ui-datepicker-multi-4 .ui-datepicker-group {
430
+ width: 25%;
431
+ }
432
+ .ui-datepicker-multi .ui-datepicker-group-last .ui-datepicker-header,
433
+ .ui-datepicker-multi .ui-datepicker-group-middle .ui-datepicker-header {
434
+ border-left-width: 0;
435
+ }
436
+ .ui-datepicker-multi .ui-datepicker-buttonpane {
437
+ clear: left;
438
+ }
439
+ .ui-datepicker-row-break {
440
+ clear: both;
441
+ width: 100%;
442
+ font-size: 0;
443
+ }
444
+
445
+ /* RTL support */
446
+ .ui-datepicker-rtl {
447
+ direction: rtl;
448
+ }
449
+ .ui-datepicker-rtl .ui-datepicker-prev {
450
+ right: 2px;
451
+ left: auto;
452
+ }
453
+ .ui-datepicker-rtl .ui-datepicker-next {
454
+ left: 2px;
455
+ right: auto;
456
+ }
457
+ .ui-datepicker-rtl .ui-datepicker-prev:hover {
458
+ right: 1px;
459
+ left: auto;
460
+ }
461
+ .ui-datepicker-rtl .ui-datepicker-next:hover {
462
+ left: 1px;
463
+ right: auto;
464
+ }
465
+ .ui-datepicker-rtl .ui-datepicker-buttonpane {
466
+ clear: right;
467
+ }
468
+ .ui-datepicker-rtl .ui-datepicker-buttonpane button {
469
+ float: left;
470
+ }
471
+ .ui-datepicker-rtl .ui-datepicker-buttonpane button.ui-datepicker-current,
472
+ .ui-datepicker-rtl .ui-datepicker-group {
473
+ float: right;
474
+ }
475
+ .ui-datepicker-rtl .ui-datepicker-group-last .ui-datepicker-header,
476
+ .ui-datepicker-rtl .ui-datepicker-group-middle .ui-datepicker-header {
477
+ border-right-width: 0;
478
+ border-left-width: 1px;
479
+ }
480
+
481
+ /* Icons */
482
+ .ui-datepicker .ui-icon {
483
+ display: block;
484
+ text-indent: -99999px;
485
+ overflow: hidden;
486
+ background-repeat: no-repeat;
487
+ left: .5em;
488
+ top: .3em;
489
+ }
490
+ .ui-dialog {
491
+ position: absolute;
492
+ top: 0;
493
+ left: 0;
494
+ padding: .2em;
495
+ outline: 0;
496
+ }
497
+ .ui-dialog .ui-dialog-titlebar {
498
+ padding: .4em 1em;
499
+ position: relative;
500
+ }
501
+ .ui-dialog .ui-dialog-title {
502
+ float: left;
503
+ margin: .1em 0;
504
+ white-space: nowrap;
505
+ width: 90%;
506
+ overflow: hidden;
507
+ text-overflow: ellipsis;
508
+ }
509
+ .ui-dialog .ui-dialog-titlebar-close {
510
+ position: absolute;
511
+ right: .3em;
512
+ top: 50%;
513
+ width: 20px;
514
+ margin: -10px 0 0 0;
515
+ padding: 1px;
516
+ height: 20px;
517
+ }
518
+ .ui-dialog .ui-dialog-content {
519
+ position: relative;
520
+ border: 0;
521
+ padding: .5em 1em;
522
+ background: none;
523
+ overflow: auto;
524
+ }
525
+ .ui-dialog .ui-dialog-buttonpane {
526
+ text-align: left;
527
+ border-width: 1px 0 0 0;
528
+ background-image: none;
529
+ margin-top: .5em;
530
+ padding: .3em 1em .5em .4em;
531
+ }
532
+ .ui-dialog .ui-dialog-buttonpane .ui-dialog-buttonset {
533
+ float: right;
534
+ }
535
+ .ui-dialog .ui-dialog-buttonpane button {
536
+ margin: .5em .4em .5em 0;
537
+ cursor: pointer;
538
+ }
539
+ .ui-dialog .ui-resizable-n {
540
+ height: 2px;
541
+ top: 0;
542
+ }
543
+ .ui-dialog .ui-resizable-e {
544
+ width: 2px;
545
+ right: 0;
546
+ }
547
+ .ui-dialog .ui-resizable-s {
548
+ height: 2px;
549
+ bottom: 0;
550
+ }
551
+ .ui-dialog .ui-resizable-w {
552
+ width: 2px;
553
+ left: 0;
554
+ }
555
+ .ui-dialog .ui-resizable-se,
556
+ .ui-dialog .ui-resizable-sw,
557
+ .ui-dialog .ui-resizable-ne,
558
+ .ui-dialog .ui-resizable-nw {
559
+ width: 7px;
560
+ height: 7px;
561
+ }
562
+ .ui-dialog .ui-resizable-se {
563
+ right: 0;
564
+ bottom: 0;
565
+ }
566
+ .ui-dialog .ui-resizable-sw {
567
+ left: 0;
568
+ bottom: 0;
569
+ }
570
+ .ui-dialog .ui-resizable-ne {
571
+ right: 0;
572
+ top: 0;
573
+ }
574
+ .ui-dialog .ui-resizable-nw {
575
+ left: 0;
576
+ top: 0;
577
+ }
578
+ .ui-draggable .ui-dialog-titlebar {
579
+ cursor: move;
580
+ }
581
+ .ui-draggable-handle {
582
+ -ms-touch-action: none;
583
+ touch-action: none;
584
+ }
585
+ .ui-resizable {
586
+ position: relative;
587
+ }
588
+ .ui-resizable-handle {
589
+ position: absolute;
590
+ font-size: 0.1px;
591
+ display: block;
592
+ -ms-touch-action: none;
593
+ touch-action: none;
594
+ }
595
+ .ui-resizable-disabled .ui-resizable-handle,
596
+ .ui-resizable-autohide .ui-resizable-handle {
597
+ display: none;
598
+ }
599
+ .ui-resizable-n {
600
+ cursor: n-resize;
601
+ height: 7px;
602
+ width: 100%;
603
+ top: -5px;
604
+ left: 0;
605
+ }
606
+ .ui-resizable-s {
607
+ cursor: s-resize;
608
+ height: 7px;
609
+ width: 100%;
610
+ bottom: -5px;
611
+ left: 0;
612
+ }
613
+ .ui-resizable-e {
614
+ cursor: e-resize;
615
+ width: 7px;
616
+ right: -5px;
617
+ top: 0;
618
+ height: 100%;
619
+ }
620
+ .ui-resizable-w {
621
+ cursor: w-resize;
622
+ width: 7px;
623
+ left: -5px;
624
+ top: 0;
625
+ height: 100%;
626
+ }
627
+ .ui-resizable-se {
628
+ cursor: se-resize;
629
+ width: 12px;
630
+ height: 12px;
631
+ right: 1px;
632
+ bottom: 1px;
633
+ }
634
+ .ui-resizable-sw {
635
+ cursor: sw-resize;
636
+ width: 9px;
637
+ height: 9px;
638
+ left: -5px;
639
+ bottom: -5px;
640
+ }
641
+ .ui-resizable-nw {
642
+ cursor: nw-resize;
643
+ width: 9px;
644
+ height: 9px;
645
+ left: -5px;
646
+ top: -5px;
647
+ }
648
+ .ui-resizable-ne {
649
+ cursor: ne-resize;
650
+ width: 9px;
651
+ height: 9px;
652
+ right: -5px;
653
+ top: -5px;
654
+ }
655
+ .ui-progressbar {
656
+ height: 2em;
657
+ text-align: left;
658
+ overflow: hidden;
659
+ }
660
+ .ui-progressbar .ui-progressbar-value {
661
+ margin: -1px;
662
+ height: 100%;
663
+ }
664
+ .ui-progressbar .ui-progressbar-overlay {
665
+ background: url("data:image/gif;base64,R0lGODlhKAAoAIABAAAAAP///yH/C05FVFNDQVBFMi4wAwEAAAAh+QQJAQABACwAAAAAKAAoAAACkYwNqXrdC52DS06a7MFZI+4FHBCKoDeWKXqymPqGqxvJrXZbMx7Ttc+w9XgU2FB3lOyQRWET2IFGiU9m1frDVpxZZc6bfHwv4c1YXP6k1Vdy292Fb6UkuvFtXpvWSzA+HycXJHUXiGYIiMg2R6W459gnWGfHNdjIqDWVqemH2ekpObkpOlppWUqZiqr6edqqWQAAIfkECQEAAQAsAAAAACgAKAAAApSMgZnGfaqcg1E2uuzDmmHUBR8Qil95hiPKqWn3aqtLsS18y7G1SzNeowWBENtQd+T1JktP05nzPTdJZlR6vUxNWWjV+vUWhWNkWFwxl9VpZRedYcflIOLafaa28XdsH/ynlcc1uPVDZxQIR0K25+cICCmoqCe5mGhZOfeYSUh5yJcJyrkZWWpaR8doJ2o4NYq62lAAACH5BAkBAAEALAAAAAAoACgAAAKVDI4Yy22ZnINRNqosw0Bv7i1gyHUkFj7oSaWlu3ovC8GxNso5fluz3qLVhBVeT/Lz7ZTHyxL5dDalQWPVOsQWtRnuwXaFTj9jVVh8pma9JjZ4zYSj5ZOyma7uuolffh+IR5aW97cHuBUXKGKXlKjn+DiHWMcYJah4N0lYCMlJOXipGRr5qdgoSTrqWSq6WFl2ypoaUAAAIfkECQEAAQAsAAAAACgAKAAAApaEb6HLgd/iO7FNWtcFWe+ufODGjRfoiJ2akShbueb0wtI50zm02pbvwfWEMWBQ1zKGlLIhskiEPm9R6vRXxV4ZzWT2yHOGpWMyorblKlNp8HmHEb/lCXjcW7bmtXP8Xt229OVWR1fod2eWqNfHuMjXCPkIGNileOiImVmCOEmoSfn3yXlJWmoHGhqp6ilYuWYpmTqKUgAAIfkECQEAAQAsAAAAACgAKAAAApiEH6kb58biQ3FNWtMFWW3eNVcojuFGfqnZqSebuS06w5V80/X02pKe8zFwP6EFWOT1lDFk8rGERh1TTNOocQ61Hm4Xm2VexUHpzjymViHrFbiELsefVrn6XKfnt2Q9G/+Xdie499XHd2g4h7ioOGhXGJboGAnXSBnoBwKYyfioubZJ2Hn0RuRZaflZOil56Zp6iioKSXpUAAAh+QQJAQABACwAAAAAKAAoAAACkoQRqRvnxuI7kU1a1UU5bd5tnSeOZXhmn5lWK3qNTWvRdQxP8qvaC+/yaYQzXO7BMvaUEmJRd3TsiMAgswmNYrSgZdYrTX6tSHGZO73ezuAw2uxuQ+BbeZfMxsexY35+/Qe4J1inV0g4x3WHuMhIl2jXOKT2Q+VU5fgoSUI52VfZyfkJGkha6jmY+aaYdirq+lQAACH5BAkBAAEALAAAAAAoACgAAAKWBIKpYe0L3YNKToqswUlvznigd4wiR4KhZrKt9Upqip61i9E3vMvxRdHlbEFiEXfk9YARYxOZZD6VQ2pUunBmtRXo1Lf8hMVVcNl8JafV38aM2/Fu5V16Bn63r6xt97j09+MXSFi4BniGFae3hzbH9+hYBzkpuUh5aZmHuanZOZgIuvbGiNeomCnaxxap2upaCZsq+1kAACH5BAkBAAEALAAAAAAoACgAAAKXjI8By5zf4kOxTVrXNVlv1X0d8IGZGKLnNpYtm8Lr9cqVeuOSvfOW79D9aDHizNhDJidFZhNydEahOaDH6nomtJjp1tutKoNWkvA6JqfRVLHU/QUfau9l2x7G54d1fl995xcIGAdXqMfBNadoYrhH+Mg2KBlpVpbluCiXmMnZ2Sh4GBqJ+ckIOqqJ6LmKSllZmsoq6wpQAAAh+QQJAQABACwAAAAAKAAoAAAClYx/oLvoxuJDkU1a1YUZbJ59nSd2ZXhWqbRa2/gF8Gu2DY3iqs7yrq+xBYEkYvFSM8aSSObE+ZgRl1BHFZNr7pRCavZ5BW2142hY3AN/zWtsmf12p9XxxFl2lpLn1rseztfXZjdIWIf2s5dItwjYKBgo9yg5pHgzJXTEeGlZuenpyPmpGQoKOWkYmSpaSnqKileI2FAAACH5BAkBAAEALAAAAAAoACgAAAKVjB+gu+jG4kORTVrVhRlsnn2dJ3ZleFaptFrb+CXmO9OozeL5VfP99HvAWhpiUdcwkpBH3825AwYdU8xTqlLGhtCosArKMpvfa1mMRae9VvWZfeB2XfPkeLmm18lUcBj+p5dnN8jXZ3YIGEhYuOUn45aoCDkp16hl5IjYJvjWKcnoGQpqyPlpOhr3aElaqrq56Bq7VAAAOw==");
666
+ height: 100%;
667
+ filter: alpha(opacity=25); /* support: IE8 */
668
+ opacity: 0.25;
669
+ }
670
+ .ui-progressbar-indeterminate .ui-progressbar-value {
671
+ background-image: none;
672
+ }
673
+ .ui-selectable {
674
+ -ms-touch-action: none;
675
+ touch-action: none;
676
+ }
677
+ .ui-selectable-helper {
678
+ position: absolute;
679
+ z-index: 100;
680
+ border: 1px dotted black;
681
+ }
682
+ .ui-selectmenu-menu {
683
+ padding: 0;
684
+ margin: 0;
685
+ position: absolute;
686
+ top: 0;
687
+ left: 0;
688
+ display: none;
689
+ }
690
+ .ui-selectmenu-menu .ui-menu {
691
+ overflow: auto;
692
+ overflow-x: hidden;
693
+ padding-bottom: 1px;
694
+ }
695
+ .ui-selectmenu-menu .ui-menu .ui-selectmenu-optgroup {
696
+ font-size: 1em;
697
+ font-weight: bold;
698
+ line-height: 1.5;
699
+ padding: 2px 0.4em;
700
+ margin: 0.5em 0 0 0;
701
+ height: auto;
702
+ border: 0;
703
+ }
704
+ .ui-selectmenu-open {
705
+ display: block;
706
+ }
707
+ .ui-selectmenu-text {
708
+ display: block;
709
+ margin-right: 20px;
710
+ overflow: hidden;
711
+ text-overflow: ellipsis;
712
+ }
713
+ .ui-selectmenu-button.ui-button {
714
+ text-align: left;
715
+ white-space: nowrap;
716
+ width: 14em;
717
+ }
718
+ .ui-selectmenu-icon.ui-icon {
719
+ float: right;
720
+ margin-top: 0;
721
+ }
722
+ .ui-slider {
723
+ position: relative;
724
+ text-align: left;
725
+ }
726
+ .ui-slider .ui-slider-handle {
727
+ position: absolute;
728
+ z-index: 2;
729
+ width: 1.2em;
730
+ height: 1.2em;
731
+ cursor: default;
732
+ -ms-touch-action: none;
733
+ touch-action: none;
734
+ }
735
+ .ui-slider .ui-slider-range {
736
+ position: absolute;
737
+ z-index: 1;
738
+ font-size: .7em;
739
+ display: block;
740
+ border: 0;
741
+ background-position: 0 0;
742
+ }
743
+
744
+ /* support: IE8 - See #6727 */
745
+ .ui-slider.ui-state-disabled .ui-slider-handle,
746
+ .ui-slider.ui-state-disabled .ui-slider-range {
747
+ filter: inherit;
748
+ }
749
+
750
+ .ui-slider-horizontal {
751
+ height: .8em;
752
+ }
753
+ .ui-slider-horizontal .ui-slider-handle {
754
+ top: -.3em;
755
+ margin-left: -.6em;
756
+ }
757
+ .ui-slider-horizontal .ui-slider-range {
758
+ top: 0;
759
+ height: 100%;
760
+ }
761
+ .ui-slider-horizontal .ui-slider-range-min {
762
+ left: 0;
763
+ }
764
+ .ui-slider-horizontal .ui-slider-range-max {
765
+ right: 0;
766
+ }
767
+
768
+ .ui-slider-vertical {
769
+ width: .8em;
770
+ height: 100px;
771
+ }
772
+ .ui-slider-vertical .ui-slider-handle {
773
+ left: -.3em;
774
+ margin-left: 0;
775
+ margin-bottom: -.6em;
776
+ }
777
+ .ui-slider-vertical .ui-slider-range {
778
+ left: 0;
779
+ width: 100%;
780
+ }
781
+ .ui-slider-vertical .ui-slider-range-min {
782
+ bottom: 0;
783
+ }
784
+ .ui-slider-vertical .ui-slider-range-max {
785
+ top: 0;
786
+ }
787
+ .ui-sortable-handle {
788
+ -ms-touch-action: none;
789
+ touch-action: none;
790
+ }
791
+ .ui-spinner {
792
+ position: relative;
793
+ display: inline-block;
794
+ overflow: hidden;
795
+ padding: 0;
796
+ vertical-align: middle;
797
+ }
798
+ .ui-spinner-input {
799
+ border: none;
800
+ background: none;
801
+ color: inherit;
802
+ padding: .222em 0;
803
+ margin: .2em 0;
804
+ vertical-align: middle;
805
+ margin-left: .4em;
806
+ margin-right: 2em;
807
+ }
808
+ .ui-spinner-button {
809
+ width: 1.6em;
810
+ height: 50%;
811
+ font-size: .5em;
812
+ padding: 0;
813
+ margin: 0;
814
+ text-align: center;
815
+ position: absolute;
816
+ cursor: default;
817
+ display: block;
818
+ overflow: hidden;
819
+ right: 0;
820
+ }
821
+ /* more specificity required here to override default borders */
822
+ .ui-spinner a.ui-spinner-button {
823
+ border-top-style: none;
824
+ border-bottom-style: none;
825
+ border-right-style: none;
826
+ }
827
+ .ui-spinner-up {
828
+ top: 0;
829
+ }
830
+ .ui-spinner-down {
831
+ bottom: 0;
832
+ }
833
+ .ui-tabs {
834
+ position: relative;/* position: relative prevents IE scroll bug (element with position: relative inside container with overflow: auto appear as "fixed") */
835
+ padding: .2em;
836
+ }
837
+ .ui-tabs .ui-tabs-nav {
838
+ margin: 0;
839
+ padding: .2em .2em 0;
840
+ }
841
+ .ui-tabs .ui-tabs-nav li {
842
+ list-style: none;
843
+ float: left;
844
+ position: relative;
845
+ top: 0;
846
+ margin: 1px .2em 0 0;
847
+ border-bottom-width: 0;
848
+ padding: 0;
849
+ white-space: nowrap;
850
+ }
851
+ .ui-tabs .ui-tabs-nav .ui-tabs-anchor {
852
+ float: left;
853
+ padding: .5em 1em;
854
+ text-decoration: none;
855
+ }
856
+ .ui-tabs .ui-tabs-nav li.ui-tabs-active {
857
+ margin-bottom: -1px;
858
+ padding-bottom: 1px;
859
+ }
860
+ .ui-tabs .ui-tabs-nav li.ui-tabs-active .ui-tabs-anchor,
861
+ .ui-tabs .ui-tabs-nav li.ui-state-disabled .ui-tabs-anchor,
862
+ .ui-tabs .ui-tabs-nav li.ui-tabs-loading .ui-tabs-anchor {
863
+ cursor: text;
864
+ }
865
+ .ui-tabs-collapsible .ui-tabs-nav li.ui-tabs-active .ui-tabs-anchor {
866
+ cursor: pointer;
867
+ }
868
+ .ui-tabs .ui-tabs-panel {
869
+ display: block;
870
+ border-width: 0;
871
+ padding: 1em 1.4em;
872
+ background: none;
873
+ }
874
+ .ui-tooltip {
875
+ padding: 8px;
876
+ position: absolute;
877
+ z-index: 9999;
878
+ max-width: 300px;
879
+ }
880
+ body .ui-tooltip {
881
+ border-width: 2px;
882
+ }
883
+
884
+ /* Component containers
885
+ ----------------------------------*/
886
+ .ui-widget {
887
+ font-family: Arial,Helvetica,sans-serif;
888
+ font-size: 1em;
889
+ }
890
+ .ui-widget .ui-widget {
891
+ font-size: 1em;
892
+ }
893
+ .ui-widget input,
894
+ .ui-widget select,
895
+ .ui-widget textarea,
896
+ .ui-widget button {
897
+ font-family: Arial,Helvetica,sans-serif;
898
+ font-size: 1em;
899
+ }
900
+ .ui-widget.ui-widget-content {
901
+ border: 1px solid #c5c5c5;
902
+ }
903
+ .ui-widget-content {
904
+ border: 1px solid #dddddd;
905
+ background: #ffffff;
906
+ color: #333333;
907
+ }
908
+ .ui-widget-content a {
909
+ color: #333333;
910
+ }
911
+ .ui-widget-header {
912
+ border: 1px solid #dddddd;
913
+ background: #e9e9e9;
914
+ color: #333333;
915
+ font-weight: bold;
916
+ }
917
+ .ui-widget-header a {
918
+ color: #333333;
919
+ }
920
+
921
+ /* Interaction states
922
+ ----------------------------------*/
923
+ .ui-state-default,
924
+ .ui-widget-content .ui-state-default,
925
+ .ui-widget-header .ui-state-default,
926
+ .ui-button,
927
+
928
+ /* We use html here because we need a greater specificity to make sure disabled
929
+ works properly when clicked or hovered */
930
+ html .ui-button.ui-state-disabled:hover,
931
+ html .ui-button.ui-state-disabled:active {
932
+ border: 1px solid #c5c5c5;
933
+ background: #f6f6f6;
934
+ font-weight: normal;
935
+ color: #454545;
936
+ }
937
+ .ui-state-default a,
938
+ .ui-state-default a:link,
939
+ .ui-state-default a:visited,
940
+ a.ui-button,
941
+ a:link.ui-button,
942
+ a:visited.ui-button,
943
+ .ui-button {
944
+ color: #454545;
945
+ text-decoration: none;
946
+ }
947
+ .ui-state-hover,
948
+ .ui-widget-content .ui-state-hover,
949
+ .ui-widget-header .ui-state-hover,
950
+ .ui-state-focus,
951
+ .ui-widget-content .ui-state-focus,
952
+ .ui-widget-header .ui-state-focus,
953
+ .ui-button:hover,
954
+ .ui-button:focus {
955
+ border: 1px solid #cccccc;
956
+ background: #ededed;
957
+ font-weight: normal;
958
+ color: #2b2b2b;
959
+ }
960
+ .ui-state-hover a,
961
+ .ui-state-hover a:hover,
962
+ .ui-state-hover a:link,
963
+ .ui-state-hover a:visited,
964
+ .ui-state-focus a,
965
+ .ui-state-focus a:hover,
966
+ .ui-state-focus a:link,
967
+ .ui-state-focus a:visited,
968
+ a.ui-button:hover,
969
+ a.ui-button:focus {
970
+ color: #2b2b2b;
971
+ text-decoration: none;
972
+ }
973
+
974
+ .ui-visual-focus {
975
+ box-shadow: 0 0 3px 1px rgb(94, 158, 214);
976
+ }
977
+ .ui-state-active,
978
+ .ui-widget-content .ui-state-active,
979
+ .ui-widget-header .ui-state-active,
980
+ a.ui-button:active,
981
+ .ui-button:active,
982
+ .ui-button.ui-state-active:hover {
983
+ border: 1px solid #003eff;
984
+ background: #007fff;
985
+ font-weight: normal;
986
+ color: #ffffff;
987
+ }
988
+ .ui-icon-background,
989
+ .ui-state-active .ui-icon-background {
990
+ border: #003eff;
991
+ background-color: #ffffff;
992
+ }
993
+ .ui-state-active a,
994
+ .ui-state-active a:link,
995
+ .ui-state-active a:visited {
996
+ color: #ffffff;
997
+ text-decoration: none;
998
+ }
999
+
1000
+ /* Interaction Cues
1001
+ ----------------------------------*/
1002
+ .ui-state-highlight,
1003
+ .ui-widget-content .ui-state-highlight,
1004
+ .ui-widget-header .ui-state-highlight {
1005
+ border: 1px solid #dad55e;
1006
+ background: #fffa90;
1007
+ color: #777620;
1008
+ }
1009
+ .ui-state-checked {
1010
+ border: 1px solid #dad55e;
1011
+ background: #fffa90;
1012
+ }
1013
+ .ui-state-highlight a,
1014
+ .ui-widget-content .ui-state-highlight a,
1015
+ .ui-widget-header .ui-state-highlight a {
1016
+ color: #777620;
1017
+ }
1018
+ .ui-state-error,
1019
+ .ui-widget-content .ui-state-error,
1020
+ .ui-widget-header .ui-state-error {
1021
+ border: 1px solid #f1a899;
1022
+ background: #fddfdf;
1023
+ color: #5f3f3f;
1024
+ }
1025
+ .ui-state-error a,
1026
+ .ui-widget-content .ui-state-error a,
1027
+ .ui-widget-header .ui-state-error a {
1028
+ color: #5f3f3f;
1029
+ }
1030
+ .ui-state-error-text,
1031
+ .ui-widget-content .ui-state-error-text,
1032
+ .ui-widget-header .ui-state-error-text {
1033
+ color: #5f3f3f;
1034
+ }
1035
+ .ui-priority-primary,
1036
+ .ui-widget-content .ui-priority-primary,
1037
+ .ui-widget-header .ui-priority-primary {
1038
+ font-weight: bold;
1039
+ }
1040
+ .ui-priority-secondary,
1041
+ .ui-widget-content .ui-priority-secondary,
1042
+ .ui-widget-header .ui-priority-secondary {
1043
+ opacity: .7;
1044
+ filter:Alpha(Opacity=70); /* support: IE8 */
1045
+ font-weight: normal;
1046
+ }
1047
+ .ui-state-disabled,
1048
+ .ui-widget-content .ui-state-disabled,
1049
+ .ui-widget-header .ui-state-disabled {
1050
+ opacity: .35;
1051
+ filter:Alpha(Opacity=35); /* support: IE8 */
1052
+ background-image: none;
1053
+ }
1054
+ .ui-state-disabled .ui-icon {
1055
+ filter:Alpha(Opacity=35); /* support: IE8 - See #6059 */
1056
+ }
1057
+
1058
+ /* Icons
1059
+ ----------------------------------*/
1060
+
1061
+ /* states and images */
1062
+ .ui-icon {
1063
+ width: 16px;
1064
+ height: 16px;
1065
+ }
1066
+ .ui-icon,
1067
+ .ui-widget-content .ui-icon {
1068
+ background-image: url("images/ui-icons_444444_256x240.png");
1069
+ }
1070
+ .ui-widget-header .ui-icon {
1071
+ background-image: url("images/ui-icons_444444_256x240.png");
1072
+ }
1073
+ .ui-state-hover .ui-icon,
1074
+ .ui-state-focus .ui-icon,
1075
+ .ui-button:hover .ui-icon,
1076
+ .ui-button:focus .ui-icon {
1077
+ background-image: url("images/ui-icons_555555_256x240.png");
1078
+ }
1079
+ .ui-state-active .ui-icon,
1080
+ .ui-button:active .ui-icon {
1081
+ background-image: url("images/ui-icons_ffffff_256x240.png");
1082
+ }
1083
+ .ui-state-highlight .ui-icon,
1084
+ .ui-button .ui-state-highlight.ui-icon {
1085
+ background-image: url("images/ui-icons_777620_256x240.png");
1086
+ }
1087
+ .ui-state-error .ui-icon,
1088
+ .ui-state-error-text .ui-icon {
1089
+ background-image: url("images/ui-icons_cc0000_256x240.png");
1090
+ }
1091
+ .ui-button .ui-icon {
1092
+ background-image: url("images/ui-icons_777777_256x240.png");
1093
+ }
1094
+
1095
+ /* positioning */
1096
+ .ui-icon-blank { background-position: 16px 16px; }
1097
+ .ui-icon-caret-1-n { background-position: 0 0; }
1098
+ .ui-icon-caret-1-ne { background-position: -16px 0; }
1099
+ .ui-icon-caret-1-e { background-position: -32px 0; }
1100
+ .ui-icon-caret-1-se { background-position: -48px 0; }
1101
+ .ui-icon-caret-1-s { background-position: -65px 0; }
1102
+ .ui-icon-caret-1-sw { background-position: -80px 0; }
1103
+ .ui-icon-caret-1-w { background-position: -96px 0; }
1104
+ .ui-icon-caret-1-nw { background-position: -112px 0; }
1105
+ .ui-icon-caret-2-n-s { background-position: -128px 0; }
1106
+ .ui-icon-caret-2-e-w { background-position: -144px 0; }
1107
+ .ui-icon-triangle-1-n { background-position: 0 -16px; }
1108
+ .ui-icon-triangle-1-ne { background-position: -16px -16px; }
1109
+ .ui-icon-triangle-1-e { background-position: -32px -16px; }
1110
+ .ui-icon-triangle-1-se { background-position: -48px -16px; }
1111
+ .ui-icon-triangle-1-s { background-position: -65px -16px; }
1112
+ .ui-icon-triangle-1-sw { background-position: -80px -16px; }
1113
+ .ui-icon-triangle-1-w { background-position: -96px -16px; }
1114
+ .ui-icon-triangle-1-nw { background-position: -112px -16px; }
1115
+ .ui-icon-triangle-2-n-s { background-position: -128px -16px; }
1116
+ .ui-icon-triangle-2-e-w { background-position: -144px -16px; }
1117
+ .ui-icon-arrow-1-n { background-position: 0 -32px; }
1118
+ .ui-icon-arrow-1-ne { background-position: -16px -32px; }
1119
+ .ui-icon-arrow-1-e { background-position: -32px -32px; }
1120
+ .ui-icon-arrow-1-se { background-position: -48px -32px; }
1121
+ .ui-icon-arrow-1-s { background-position: -65px -32px; }
1122
+ .ui-icon-arrow-1-sw { background-position: -80px -32px; }
1123
+ .ui-icon-arrow-1-w { background-position: -96px -32px; }
1124
+ .ui-icon-arrow-1-nw { background-position: -112px -32px; }
1125
+ .ui-icon-arrow-2-n-s { background-position: -128px -32px; }
1126
+ .ui-icon-arrow-2-ne-sw { background-position: -144px -32px; }
1127
+ .ui-icon-arrow-2-e-w { background-position: -160px -32px; }
1128
+ .ui-icon-arrow-2-se-nw { background-position: -176px -32px; }
1129
+ .ui-icon-arrowstop-1-n { background-position: -192px -32px; }
1130
+ .ui-icon-arrowstop-1-e { background-position: -208px -32px; }
1131
+ .ui-icon-arrowstop-1-s { background-position: -224px -32px; }
1132
+ .ui-icon-arrowstop-1-w { background-position: -240px -32px; }
1133
+ .ui-icon-arrowthick-1-n { background-position: 1px -48px; }
1134
+ .ui-icon-arrowthick-1-ne { background-position: -16px -48px; }
1135
+ .ui-icon-arrowthick-1-e { background-position: -32px -48px; }
1136
+ .ui-icon-arrowthick-1-se { background-position: -48px -48px; }
1137
+ .ui-icon-arrowthick-1-s { background-position: -64px -48px; }
1138
+ .ui-icon-arrowthick-1-sw { background-position: -80px -48px; }
1139
+ .ui-icon-arrowthick-1-w { background-position: -96px -48px; }
1140
+ .ui-icon-arrowthick-1-nw { background-position: -112px -48px; }
1141
+ .ui-icon-arrowthick-2-n-s { background-position: -128px -48px; }
1142
+ .ui-icon-arrowthick-2-ne-sw { background-position: -144px -48px; }
1143
+ .ui-icon-arrowthick-2-e-w { background-position: -160px -48px; }
1144
+ .ui-icon-arrowthick-2-se-nw { background-position: -176px -48px; }
1145
+ .ui-icon-arrowthickstop-1-n { background-position: -192px -48px; }
1146
+ .ui-icon-arrowthickstop-1-e { background-position: -208px -48px; }
1147
+ .ui-icon-arrowthickstop-1-s { background-position: -224px -48px; }
1148
+ .ui-icon-arrowthickstop-1-w { background-position: -240px -48px; }
1149
+ .ui-icon-arrowreturnthick-1-w { background-position: 0 -64px; }
1150
+ .ui-icon-arrowreturnthick-1-n { background-position: -16px -64px; }
1151
+ .ui-icon-arrowreturnthick-1-e { background-position: -32px -64px; }
1152
+ .ui-icon-arrowreturnthick-1-s { background-position: -48px -64px; }
1153
+ .ui-icon-arrowreturn-1-w { background-position: -64px -64px; }
1154
+ .ui-icon-arrowreturn-1-n { background-position: -80px -64px; }
1155
+ .ui-icon-arrowreturn-1-e { background-position: -96px -64px; }
1156
+ .ui-icon-arrowreturn-1-s { background-position: -112px -64px; }
1157
+ .ui-icon-arrowrefresh-1-w { background-position: -128px -64px; }
1158
+ .ui-icon-arrowrefresh-1-n { background-position: -144px -64px; }
1159
+ .ui-icon-arrowrefresh-1-e { background-position: -160px -64px; }
1160
+ .ui-icon-arrowrefresh-1-s { background-position: -176px -64px; }
1161
+ .ui-icon-arrow-4 { background-position: 0 -80px; }
1162
+ .ui-icon-arrow-4-diag { background-position: -16px -80px; }
1163
+ .ui-icon-extlink { background-position: -32px -80px; }
1164
+ .ui-icon-newwin { background-position: -48px -80px; }
1165
+ .ui-icon-refresh { background-position: -64px -80px; }
1166
+ .ui-icon-shuffle { background-position: -80px -80px; }
1167
+ .ui-icon-transfer-e-w { background-position: -96px -80px; }
1168
+ .ui-icon-transferthick-e-w { background-position: -112px -80px; }
1169
+ .ui-icon-folder-collapsed { background-position: 0 -96px; }
1170
+ .ui-icon-folder-open { background-position: -16px -96px; }
1171
+ .ui-icon-document { background-position: -32px -96px; }
1172
+ .ui-icon-document-b { background-position: -48px -96px; }
1173
+ .ui-icon-note { background-position: -64px -96px; }
1174
+ .ui-icon-mail-closed { background-position: -80px -96px; }
1175
+ .ui-icon-mail-open { background-position: -96px -96px; }
1176
+ .ui-icon-suitcase { background-position: -112px -96px; }
1177
+ .ui-icon-comment { background-position: -128px -96px; }
1178
+ .ui-icon-person { background-position: -144px -96px; }
1179
+ .ui-icon-print { background-position: -160px -96px; }
1180
+ .ui-icon-trash { background-position: -176px -96px; }
1181
+ .ui-icon-locked { background-position: -192px -96px; }
1182
+ .ui-icon-unlocked { background-position: -208px -96px; }
1183
+ .ui-icon-bookmark { background-position: -224px -96px; }
1184
+ .ui-icon-tag { background-position: -240px -96px; }
1185
+ .ui-icon-home { background-position: 0 -112px; }
1186
+ .ui-icon-flag { background-position: -16px -112px; }
1187
+ .ui-icon-calendar { background-position: -32px -112px; }
1188
+ .ui-icon-cart { background-position: -48px -112px; }
1189
+ .ui-icon-pencil { background-position: -64px -112px; }
1190
+ .ui-icon-clock { background-position: -80px -112px; }
1191
+ .ui-icon-disk { background-position: -96px -112px; }
1192
+ .ui-icon-calculator { background-position: -112px -112px; }
1193
+ .ui-icon-zoomin { background-position: -128px -112px; }
1194
+ .ui-icon-zoomout { background-position: -144px -112px; }
1195
+ .ui-icon-search { background-position: -160px -112px; }
1196
+ .ui-icon-wrench { background-position: -176px -112px; }
1197
+ .ui-icon-gear { background-position: -192px -112px; }
1198
+ .ui-icon-heart { background-position: -208px -112px; }
1199
+ .ui-icon-star { background-position: -224px -112px; }
1200
+ .ui-icon-link { background-position: -240px -112px; }
1201
+ .ui-icon-cancel { background-position: 0 -128px; }
1202
+ .ui-icon-plus { background-position: -16px -128px; }
1203
+ .ui-icon-plusthick { background-position: -32px -128px; }
1204
+ .ui-icon-minus { background-position: -48px -128px; }
1205
+ .ui-icon-minusthick { background-position: -64px -128px; }
1206
+ .ui-icon-close { background-position: -80px -128px; }
1207
+ .ui-icon-closethick { background-position: -96px -128px; }
1208
+ .ui-icon-key { background-position: -112px -128px; }
1209
+ .ui-icon-lightbulb { background-position: -128px -128px; }
1210
+ .ui-icon-scissors { background-position: -144px -128px; }
1211
+ .ui-icon-clipboard { background-position: -160px -128px; }
1212
+ .ui-icon-copy { background-position: -176px -128px; }
1213
+ .ui-icon-contact { background-position: -192px -128px; }
1214
+ .ui-icon-image { background-position: -208px -128px; }
1215
+ .ui-icon-video { background-position: -224px -128px; }
1216
+ .ui-icon-script { background-position: -240px -128px; }
1217
+ .ui-icon-alert { background-position: 0 -144px; }
1218
+ .ui-icon-info { background-position: -16px -144px; }
1219
+ .ui-icon-notice { background-position: -32px -144px; }
1220
+ .ui-icon-help { background-position: -48px -144px; }
1221
+ .ui-icon-check { background-position: -64px -144px; }
1222
+ .ui-icon-bullet { background-position: -80px -144px; }
1223
+ .ui-icon-radio-on { background-position: -96px -144px; }
1224
+ .ui-icon-radio-off { background-position: -112px -144px; }
1225
+ .ui-icon-pin-w { background-position: -128px -144px; }
1226
+ .ui-icon-pin-s { background-position: -144px -144px; }
1227
+ .ui-icon-play { background-position: 0 -160px; }
1228
+ .ui-icon-pause { background-position: -16px -160px; }
1229
+ .ui-icon-seek-next { background-position: -32px -160px; }
1230
+ .ui-icon-seek-prev { background-position: -48px -160px; }
1231
+ .ui-icon-seek-end { background-position: -64px -160px; }
1232
+ .ui-icon-seek-start { background-position: -80px -160px; }
1233
+ /* ui-icon-seek-first is deprecated, use ui-icon-seek-start instead */
1234
+ .ui-icon-seek-first { background-position: -80px -160px; }
1235
+ .ui-icon-stop { background-position: -96px -160px; }
1236
+ .ui-icon-eject { background-position: -112px -160px; }
1237
+ .ui-icon-volume-off { background-position: -128px -160px; }
1238
+ .ui-icon-volume-on { background-position: -144px -160px; }
1239
+ .ui-icon-power { background-position: 0 -176px; }
1240
+ .ui-icon-signal-diag { background-position: -16px -176px; }
1241
+ .ui-icon-signal { background-position: -32px -176px; }
1242
+ .ui-icon-battery-0 { background-position: -48px -176px; }
1243
+ .ui-icon-battery-1 { background-position: -64px -176px; }
1244
+ .ui-icon-battery-2 { background-position: -80px -176px; }
1245
+ .ui-icon-battery-3 { background-position: -96px -176px; }
1246
+ .ui-icon-circle-plus { background-position: 0 -192px; }
1247
+ .ui-icon-circle-minus { background-position: -16px -192px; }
1248
+ .ui-icon-circle-close { background-position: -32px -192px; }
1249
+ .ui-icon-circle-triangle-e { background-position: -48px -192px; }
1250
+ .ui-icon-circle-triangle-s { background-position: -64px -192px; }
1251
+ .ui-icon-circle-triangle-w { background-position: -80px -192px; }
1252
+ .ui-icon-circle-triangle-n { background-position: -96px -192px; }
1253
+ .ui-icon-circle-arrow-e { background-position: -112px -192px; }
1254
+ .ui-icon-circle-arrow-s { background-position: -128px -192px; }
1255
+ .ui-icon-circle-arrow-w { background-position: -144px -192px; }
1256
+ .ui-icon-circle-arrow-n { background-position: -160px -192px; }
1257
+ .ui-icon-circle-zoomin { background-position: -176px -192px; }
1258
+ .ui-icon-circle-zoomout { background-position: -192px -192px; }
1259
+ .ui-icon-circle-check { background-position: -208px -192px; }
1260
+ .ui-icon-circlesmall-plus { background-position: 0 -208px; }
1261
+ .ui-icon-circlesmall-minus { background-position: -16px -208px; }
1262
+ .ui-icon-circlesmall-close { background-position: -32px -208px; }
1263
+ .ui-icon-squaresmall-plus { background-position: -48px -208px; }
1264
+ .ui-icon-squaresmall-minus { background-position: -64px -208px; }
1265
+ .ui-icon-squaresmall-close { background-position: -80px -208px; }
1266
+ .ui-icon-grip-dotted-vertical { background-position: 0 -224px; }
1267
+ .ui-icon-grip-dotted-horizontal { background-position: -16px -224px; }
1268
+ .ui-icon-grip-solid-vertical { background-position: -32px -224px; }
1269
+ .ui-icon-grip-solid-horizontal { background-position: -48px -224px; }
1270
+ .ui-icon-gripsmall-diagonal-se { background-position: -64px -224px; }
1271
+ .ui-icon-grip-diagonal-se { background-position: -80px -224px; }
1272
+
1273
+
1274
+ /* Misc visuals
1275
+ ----------------------------------*/
1276
+
1277
+ /* Corner radius */
1278
+ .ui-corner-all,
1279
+ .ui-corner-top,
1280
+ .ui-corner-left,
1281
+ .ui-corner-tl {
1282
+ border-top-left-radius: 3px;
1283
+ }
1284
+ .ui-corner-all,
1285
+ .ui-corner-top,
1286
+ .ui-corner-right,
1287
+ .ui-corner-tr {
1288
+ border-top-right-radius: 3px;
1289
+ }
1290
+ .ui-corner-all,
1291
+ .ui-corner-bottom,
1292
+ .ui-corner-left,
1293
+ .ui-corner-bl {
1294
+ border-bottom-left-radius: 3px;
1295
+ }
1296
+ .ui-corner-all,
1297
+ .ui-corner-bottom,
1298
+ .ui-corner-right,
1299
+ .ui-corner-br {
1300
+ border-bottom-right-radius: 3px;
1301
+ }
1302
+
1303
+ /* Overlays */
1304
+ .ui-widget-overlay {
1305
+ background: #aaaaaa;
1306
+ opacity: .003;
1307
+ filter: Alpha(Opacity=.3); /* support: IE8 */
1308
+ }
1309
+ .ui-widget-shadow {
1310
+ -webkit-box-shadow: 0px 0px 5px #666666;
1311
+ box-shadow: 0px 0px 5px #666666;
1312
+ }
assets/frontend/css/jquery-ui.min.css DELETED
@@ -1,7 +0,0 @@
1
- /*! jQuery UI - v1.12.0-rc.2 - 2016-04-21
2
- * http://jqueryui.com
3
- * Includes: core.css, accordion.css, autocomplete.css, menu.css, button.css, controlgroup.css, checkboxradio.css, datepicker.css, dialog.css, draggable.css, resizable.css, progressbar.css, selectable.css, selectmenu.css, slider.css, sortable.css, spinner.css, tabs.css, tooltip.css, theme.css
4
- * To view and modify this theme, visit http://jqueryui.com/themeroller/?bgShadowXPos=&bgOverlayXPos=&bgErrorXPos=&bgHighlightXPos=&bgContentXPos=&bgHeaderXPos=&bgActiveXPos=&bgHoverXPos=&bgDefaultXPos=&bgShadowYPos=&bgOverlayYPos=&bgErrorYPos=&bgHighlightYPos=&bgContentYPos=&bgHeaderYPos=&bgActiveYPos=&bgHoverYPos=&bgDefaultYPos=&bgShadowRepeat=&bgOverlayRepeat=&bgErrorRepeat=&bgHighlightRepeat=&bgContentRepeat=&bgHeaderRepeat=&bgActiveRepeat=&bgHoverRepeat=&bgDefaultRepeat=&iconsHover=url(%22images%2Fui-icons_555555_256x240.png%22)&iconsHighlight=url(%22images%2Fui-icons_777620_256x240.png%22)&iconsHeader=url(%22images%2Fui-icons_444444_256x240.png%22)&iconsError=url(%22images%2Fui-icons_cc0000_256x240.png%22)&iconsDefault=url(%22images%2Fui-icons_777777_256x240.png%22)&iconsContent=url(%22images%2Fui-icons_444444_256x240.png%22)&iconsActive=url(%22images%2Fui-icons_ffffff_256x240.png%22)&bgImgUrlShadow=&bgImgUrlOverlay=&bgImgUrlHover=&bgImgUrlHighlight=&bgImgUrlHeader=&bgImgUrlError=&bgImgUrlDefault=&bgImgUrlContent=&bgImgUrlActive=&opacityFilterShadow=Alpha(Opacity%3D30)&opacityFilterOverlay=Alpha(Opacity%3D30)&opacityShadowPerc=30&opacityOverlayPerc=30&iconColorHover=%23555555&iconColorHighlight=%23777620&iconColorHeader=%23444444&iconColorError=%23cc0000&iconColorDefault=%23777777&iconColorContent=%23444444&iconColorActive=%23ffffff&bgImgOpacityShadow=0&bgImgOpacityOverlay=0&bgImgOpacityError=95&bgImgOpacityHighlight=55&bgImgOpacityContent=75&bgImgOpacityHeader=75&bgImgOpacityActive=65&bgImgOpacityHover=75&bgImgOpacityDefault=75&bgTextureShadow=flat&bgTextureOverlay=flat&bgTextureError=flat&bgTextureHighlight=flat&bgTextureContent=flat&bgTextureHeader=flat&bgTextureActive=flat&bgTextureHover=flat&bgTextureDefault=flat&cornerRadius=3px&fwDefault=normal&ffDefault=Arial%2CHelvetica%2Csans-serif&fsDefault=1em&cornerRadiusShadow=8px&thicknessShadow=5px&offsetLeftShadow=0px&offsetTopShadow=0px&opacityShadow=.3&bgColorShadow=%23666666&opacityOverlay=.3&bgColorOverlay=%23aaaaaa&fcError=%235f3f3f&borderColorError=%23f1a899&bgColorError=%23fddfdf&fcHighlight=%23777620&borderColorHighlight=%23dad55e&bgColorHighlight=%23fffa90&fcContent=%23333333&borderColorContent=%23dddddd&bgColorContent=%23ffffff&fcHeader=%23333333&borderColorHeader=%23dddddd&bgColorHeader=%23e9e9e9&fcActive=%23ffffff&borderColorActive=%23003eff&bgColorActive=%23007fff&fcHover=%232b2b2b&borderColorHover=%23cccccc&bgColorHover=%23ededed&fcDefault=%23454545&borderColorDefault=%23c5c5c5&bgColorDefault=%23f6f6f6
5
- * Copyright jQuery Foundation and other contributors; Licensed MIT */
6
-
7
- .ui-helper-hidden{display:none}.ui-helper-hidden-accessible{border:0;clip:rect(0 0 0 0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px}.ui-helper-reset{margin:0;padding:0;border:0;outline:0;line-height:1.3;text-decoration:none;font-size:100%;list-style:none}.ui-helper-clearfix:before,.ui-helper-clearfix:after{content:"";display:table;border-collapse:collapse}.ui-helper-clearfix:after{clear:both}.ui-helper-zfix{width:100%;height:100%;top:0;left:0;position:absolute;opacity:0;filter:Alpha(Opacity=0)}.ui-front{z-index:100}.ui-state-disabled{cursor:default!important;pointer-events:none}.ui-icon{display:inline-block;vertical-align:middle;margin-top:-.25em;position:relative;text-indent:-99999px;overflow:hidden;background-repeat:no-repeat}.ui-widget-icon-block{left:50%;margin-left:-8px;display:block}.ui-widget-overlay{position:fixed;top:0;left:0;width:100%;height:100%}.ui-accordion .ui-accordion-header{display:block;cursor:pointer;position:relative;margin:2px 0 0 0;padding:.5em .5em .5em .7em;font-size:100%}.ui-accordion .ui-accordion-content{padding:1em 2.2em;border-top:0;overflow:auto}.ui-autocomplete{position:absolute;top:0;left:0;cursor:default}.ui-menu{list-style:none;padding:0;margin:0;display:block;outline:0}.ui-menu .ui-menu{position:absolute}.ui-menu .ui-menu-item{margin:0;cursor:pointer;list-style-image:url("data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7")}.ui-menu .ui-menu-item-wrapper{position:relative;padding:3px 1em 3px .4em}.ui-menu .ui-menu-divider{margin:5px 0;height:0;font-size:0;line-height:0;border-width:1px 0 0 0}.ui-menu .ui-state-focus,.ui-menu .ui-state-active{margin:-1px}.ui-menu-icons{position:relative}.ui-menu-icons .ui-menu-item-wrapper{padding-left:2em}.ui-menu .ui-icon{position:absolute;top:0;bottom:0;left:.2em;margin:auto 0}.ui-menu .ui-menu-icon{left:auto;right:0}.ui-button{padding:.4em 1em;display:inline-block;position:relative;line-height:normal;margin-right:.1em;cursor:pointer;vertical-align:middle;text-align:center;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;overflow:visible}.ui-button,.ui-button:link,.ui-button:visited,.ui-button:hover,.ui-button:active{text-decoration:none}.ui-button-icon-only{width:2em;box-sizing:border-box;text-indent:-9999px;white-space:nowrap}input.ui-button.ui-button-icon-only{text-indent:0}.ui-button-icon-only .ui-icon{position:absolute;top:50%;left:50%;margin-top:-8px;margin-left:-8px}.ui-button.ui-icon-notext .ui-icon{padding:0;width:2.1em;height:2.1em;text-indent:-9999px;white-space:nowrap}input.ui-button.ui-icon-notext .ui-icon{width:auto;height:auto;text-indent:0;white-space:normal;padding:.4em 1em}input.ui-button::-moz-focus-inner,button.ui-button::-moz-focus-inner{border:0;padding:0}.ui-controlgroup{vertical-align:middle;display:inline-block}.ui-controlgroup > .ui-controlgroup-item{float:left;margin-left:0;margin-right:0}.ui-controlgroup > .ui-controlgroup-item:focus,.ui-controlgroup > .ui-controlgroup-item.ui-visual-focus{z-index:9999}.ui-controlgroup-vertical > .ui-controlgroup-item{display:block;float:none;width:100%;margin-top:0;margin-bottom:0;text-align:left}.ui-controlgroup-vertical .ui-controlgroup-item{box-sizing:border-box}.ui-controlgroup .ui-controlgroup-label{padding:.4em 1em}.ui-controlgroup .ui-controlgroup-label span{font-size:80%}.ui-controlgroup-horizontal .ui-controlgroup-label + .ui-controlgroup-item{border-left:none}.ui-controlgroup-vertical .ui-controlgroup-label + .ui-controlgroup-item{border-top:none}.ui-controlgroup-horizontal .ui-controlgroup-label.ui-widget-content{border-right:none}.ui-controlgroup-vertical .ui-controlgroup-label.ui-widget-content{border-bottom:none}.ui-controlgroup-vertical .ui-spinner-input{width:75%;width:calc( 100% - 2.4em )}.ui-controlgroup-vertical .ui-spinner .ui-spinner-up{border-top-style:solid}.ui-checkboxradio-label .ui-icon-background{box-shadow:inset 1px 1px 1px #ccc;border-radius:.12em;border:none}.ui-checkboxradio-radio-label .ui-icon-background{width:16px;height:16px;border-radius:1em;overflow:visible;border:none}.ui-checkboxradio-radio-label.ui-checkboxradio-checked .ui-icon,.ui-checkboxradio-radio-label.ui-checkboxradio-checked:hover .ui-icon{background-image:none;width:8px;height:8px;border-width:4px;border-style:solid}.ui-checkboxradio-disabled{pointer-events:none}.ui-datepicker{width:17em;padding:.2em .2em 0;display:none}.ui-datepicker .ui-datepicker-header{position:relative;padding:.2em 0}.ui-datepicker .ui-datepicker-prev,.ui-datepicker .ui-datepicker-next{position:absolute;top:2px;width:1.8em;height:1.8em}.ui-datepicker .ui-datepicker-prev-hover,.ui-datepicker .ui-datepicker-next-hover{top:1px}.ui-datepicker .ui-datepicker-prev{left:2px}.ui-datepicker .ui-datepicker-next{right:2px}.ui-datepicker .ui-datepicker-prev-hover{left:1px}.ui-datepicker .ui-datepicker-next-hover{right:1px}.ui-datepicker .ui-datepicker-prev span,.ui-datepicker .ui-datepicker-next span{display:block;position:absolute;left:50%;margin-left:-8px;top:50%;margin-top:-8px}.ui-datepicker .ui-datepicker-title{margin:0 2.3em;line-height:1.8em;text-align:center}.ui-datepicker .ui-datepicker-title select{font-size:1em;margin:1px 0}.ui-datepicker select.ui-datepicker-month,.ui-datepicker select.ui-datepicker-year{width:45%}.ui-datepicker table{width:100%;font-size:.9em;border-collapse:collapse;margin:0 0 .4em}.ui-datepicker th{padding:.7em .3em;text-align:center;font-weight:bold;border:0}.ui-datepicker td{border:0;padding:1px}.ui-datepicker td span,.ui-datepicker td a{display:block;padding:.2em;text-align:right;text-decoration:none}.ui-datepicker .ui-datepicker-buttonpane{background-image:none;margin:.7em 0 0 0;padding:0 .2em;border-left:0;border-right:0;border-bottom:0}.ui-datepicker .ui-datepicker-buttonpane button{float:right;margin:.5em .2em .4em;cursor:pointer;padding:.2em .6em .3em .6em;width:auto;overflow:visible}.ui-datepicker .ui-datepicker-buttonpane button.ui-datepicker-current{float:left}.ui-datepicker.ui-datepicker-multi{width:auto}.ui-datepicker-multi .ui-datepicker-group{float:left}.ui-datepicker-multi .ui-datepicker-group table{width:95%;margin:0 auto .4em}.ui-datepicker-multi-2 .ui-datepicker-group{width:50%}.ui-datepicker-multi-3 .ui-datepicker-group{width:33.3%}.ui-datepicker-multi-4 .ui-datepicker-group{width:25%}.ui-datepicker-multi .ui-datepicker-group-last .ui-datepicker-header,.ui-datepicker-multi .ui-datepicker-group-middle .ui-datepicker-header{border-left-width:0}.ui-datepicker-multi .ui-datepicker-buttonpane{clear:left}.ui-datepicker-row-break{clear:both;width:100%;font-size:0}.ui-datepicker-rtl{direction:rtl}.ui-datepicker-rtl .ui-datepicker-prev{right:2px;left:auto}.ui-datepicker-rtl .ui-datepicker-next{left:2px;right:auto}.ui-datepicker-rtl .ui-datepicker-prev:hover{right:1px;left:auto}.ui-datepicker-rtl .ui-datepicker-next:hover{left:1px;right:auto}.ui-datepicker-rtl .ui-datepicker-buttonpane{clear:right}.ui-datepicker-rtl .ui-datepicker-buttonpane button{float:left}.ui-datepicker-rtl .ui-datepicker-buttonpane button.ui-datepicker-current,.ui-datepicker-rtl .ui-datepicker-group{float:right}.ui-datepicker-rtl .ui-datepicker-group-last .ui-datepicker-header,.ui-datepicker-rtl .ui-datepicker-group-middle .ui-datepicker-header{border-right-width:0;border-left-width:1px}.ui-datepicker .ui-icon{display:block;text-indent:-99999px;overflow:hidden;background-repeat:no-repeat;left:.5em;top:.3em}.ui-dialog{position:absolute;top:0;left:0;padding:.2em;outline:0}.ui-dialog .ui-dialog-titlebar{padding:.4em 1em;position:relative}.ui-dialog .ui-dialog-title{float:left;margin:.1em 0;white-space:nowrap;width:90%;overflow:hidden;text-overflow:ellipsis}.ui-dialog .ui-dialog-titlebar-close{position:absolute;right:.3em;top:50%;width:20px;margin:-10px 0 0 0;padding:1px;height:20px}.ui-dialog .ui-dialog-content{position:relative;border:0;padding:.5em 1em;background:none;overflow:auto}.ui-dialog .ui-dialog-buttonpane{text-align:left;border-width:1px 0 0 0;background-image:none;margin-top:.5em;padding:.3em 1em .5em .4em}.ui-dialog .ui-dialog-buttonpane .ui-dialog-buttonset{float:right}.ui-dialog .ui-dialog-buttonpane button{margin:.5em .4em .5em 0;cursor:pointer}.ui-dialog .ui-resizable-n{height:2px;top:0}.ui-dialog .ui-resizable-e{width:2px;right:0}.ui-dialog .ui-resizable-s{height:2px;bottom:0}.ui-dialog .ui-resizable-w{width:2px;left:0}.ui-dialog .ui-resizable-se,.ui-dialog .ui-resizable-sw,.ui-dialog .ui-resizable-ne,.ui-dialog .ui-resizable-nw{width:7px;height:7px}.ui-dialog .ui-resizable-se{right:0;bottom:0}.ui-dialog .ui-resizable-sw{left:0;bottom:0}.ui-dialog .ui-resizable-ne{right:0;top:0}.ui-dialog .ui-resizable-nw{left:0;top:0}.ui-draggable .ui-dialog-titlebar{cursor:move}.ui-draggable-handle{-ms-touch-action:none;touch-action:none}.ui-resizable{position:relative}.ui-resizable-handle{position:absolute;font-size:0.1px;display:block;-ms-touch-action:none;touch-action:none}.ui-resizable-disabled .ui-resizable-handle,.ui-resizable-autohide .ui-resizable-handle{display:none}.ui-resizable-n{cursor:n-resize;height:7px;width:100%;top:-5px;left:0}.ui-resizable-s{cursor:s-resize;height:7px;width:100%;bottom:-5px;left:0}.ui-resizable-e{cursor:e-resize;width:7px;right:-5px;top:0;height:100%}.ui-resizable-w{cursor:w-resize;width:7px;left:-5px;top:0;height:100%}.ui-resizable-se{cursor:se-resize;width:12px;height:12px;right:1px;bottom:1px}.ui-resizable-sw{cursor:sw-resize;width:9px;height:9px;left:-5px;bottom:-5px}.ui-resizable-nw{cursor:nw-resize;width:9px;height:9px;left:-5px;top:-5px}.ui-resizable-ne{cursor:ne-resize;width:9px;height:9px;right:-5px;top:-5px}.ui-progressbar{height:2em;text-align:left;overflow:hidden}.ui-progressbar .ui-progressbar-value{margin:-1px;height:100%}.ui-progressbar .ui-progressbar-overlay{background:url("data:image/gif;base64,R0lGODlhKAAoAIABAAAAAP///yH/C05FVFNDQVBFMi4wAwEAAAAh+QQJAQABACwAAAAAKAAoAAACkYwNqXrdC52DS06a7MFZI+4FHBCKoDeWKXqymPqGqxvJrXZbMx7Ttc+w9XgU2FB3lOyQRWET2IFGiU9m1frDVpxZZc6bfHwv4c1YXP6k1Vdy292Fb6UkuvFtXpvWSzA+HycXJHUXiGYIiMg2R6W459gnWGfHNdjIqDWVqemH2ekpObkpOlppWUqZiqr6edqqWQAAIfkECQEAAQAsAAAAACgAKAAAApSMgZnGfaqcg1E2uuzDmmHUBR8Qil95hiPKqWn3aqtLsS18y7G1SzNeowWBENtQd+T1JktP05nzPTdJZlR6vUxNWWjV+vUWhWNkWFwxl9VpZRedYcflIOLafaa28XdsH/ynlcc1uPVDZxQIR0K25+cICCmoqCe5mGhZOfeYSUh5yJcJyrkZWWpaR8doJ2o4NYq62lAAACH5BAkBAAEALAAAAAAoACgAAAKVDI4Yy22ZnINRNqosw0Bv7i1gyHUkFj7oSaWlu3ovC8GxNso5fluz3qLVhBVeT/Lz7ZTHyxL5dDalQWPVOsQWtRnuwXaFTj9jVVh8pma9JjZ4zYSj5ZOyma7uuolffh+IR5aW97cHuBUXKGKXlKjn+DiHWMcYJah4N0lYCMlJOXipGRr5qdgoSTrqWSq6WFl2ypoaUAAAIfkECQEAAQAsAAAAACgAKAAAApaEb6HLgd/iO7FNWtcFWe+ufODGjRfoiJ2akShbueb0wtI50zm02pbvwfWEMWBQ1zKGlLIhskiEPm9R6vRXxV4ZzWT2yHOGpWMyorblKlNp8HmHEb/lCXjcW7bmtXP8Xt229OVWR1fod2eWqNfHuMjXCPkIGNileOiImVmCOEmoSfn3yXlJWmoHGhqp6ilYuWYpmTqKUgAAIfkECQEAAQAsAAAAACgAKAAAApiEH6kb58biQ3FNWtMFWW3eNVcojuFGfqnZqSebuS06w5V80/X02pKe8zFwP6EFWOT1lDFk8rGERh1TTNOocQ61Hm4Xm2VexUHpzjymViHrFbiELsefVrn6XKfnt2Q9G/+Xdie499XHd2g4h7ioOGhXGJboGAnXSBnoBwKYyfioubZJ2Hn0RuRZaflZOil56Zp6iioKSXpUAAAh+QQJAQABACwAAAAAKAAoAAACkoQRqRvnxuI7kU1a1UU5bd5tnSeOZXhmn5lWK3qNTWvRdQxP8qvaC+/yaYQzXO7BMvaUEmJRd3TsiMAgswmNYrSgZdYrTX6tSHGZO73ezuAw2uxuQ+BbeZfMxsexY35+/Qe4J1inV0g4x3WHuMhIl2jXOKT2Q+VU5fgoSUI52VfZyfkJGkha6jmY+aaYdirq+lQAACH5BAkBAAEALAAAAAAoACgAAAKWBIKpYe0L3YNKToqswUlvznigd4wiR4KhZrKt9Upqip61i9E3vMvxRdHlbEFiEXfk9YARYxOZZD6VQ2pUunBmtRXo1Lf8hMVVcNl8JafV38aM2/Fu5V16Bn63r6xt97j09+MXSFi4BniGFae3hzbH9+hYBzkpuUh5aZmHuanZOZgIuvbGiNeomCnaxxap2upaCZsq+1kAACH5BAkBAAEALAAAAAAoACgAAAKXjI8By5zf4kOxTVrXNVlv1X0d8IGZGKLnNpYtm8Lr9cqVeuOSvfOW79D9aDHizNhDJidFZhNydEahOaDH6nomtJjp1tutKoNWkvA6JqfRVLHU/QUfau9l2x7G54d1fl995xcIGAdXqMfBNadoYrhH+Mg2KBlpVpbluCiXmMnZ2Sh4GBqJ+ckIOqqJ6LmKSllZmsoq6wpQAAAh+QQJAQABACwAAAAAKAAoAAAClYx/oLvoxuJDkU1a1YUZbJ59nSd2ZXhWqbRa2/gF8Gu2DY3iqs7yrq+xBYEkYvFSM8aSSObE+ZgRl1BHFZNr7pRCavZ5BW2142hY3AN/zWtsmf12p9XxxFl2lpLn1rseztfXZjdIWIf2s5dItwjYKBgo9yg5pHgzJXTEeGlZuenpyPmpGQoKOWkYmSpaSnqKileI2FAAACH5BAkBAAEALAAAAAAoACgAAAKVjB+gu+jG4kORTVrVhRlsnn2dJ3ZleFaptFrb+CXmO9OozeL5VfP99HvAWhpiUdcwkpBH3825AwYdU8xTqlLGhtCosArKMpvfa1mMRae9VvWZfeB2XfPkeLmm18lUcBj+p5dnN8jXZ3YIGEhYuOUn45aoCDkp16hl5IjYJvjWKcnoGQpqyPlpOhr3aElaqrq56Bq7VAAAOw==");height:100%;filter:alpha(opacity=25);opacity:0.25}.ui-progressbar-indeterminate .ui-progressbar-value{background-image:none}.ui-selectable{-ms-touch-action:none;touch-action:none}.ui-selectable-helper{position:absolute;z-index:100;border:1px dotted black}.ui-selectmenu-menu{padding:0;margin:0;position:absolute;top:0;left:0;display:none}.ui-selectmenu-menu .ui-menu{overflow:auto;overflow-x:hidden;padding-bottom:1px}.ui-selectmenu-menu .ui-menu .ui-selectmenu-optgroup{font-size:1em;font-weight:bold;line-height:1.5;padding:2px 0.4em;margin:0.5em 0 0 0;height:auto;border:0}.ui-selectmenu-open{display:block}.ui-selectmenu-text{display:block;margin-right:20px;overflow:hidden;text-overflow:ellipsis}.ui-selectmenu-button.ui-button{text-align:left;white-space:nowrap;width:14em}.ui-selectmenu-icon.ui-icon{float:right;margin-top:0}.ui-slider{position:relative;text-align:left}.ui-slider .ui-slider-handle{position:absolute;z-index:2;width:1.2em;height:1.2em;cursor:default;-ms-touch-action:none;touch-action:none}.ui-slider .ui-slider-range{position:absolute;z-index:1;font-size:.7em;display:block;border:0;background-position:0 0}.ui-slider.ui-state-disabled .ui-slider-handle,.ui-slider.ui-state-disabled .ui-slider-range{filter:inherit}.ui-slider-horizontal{height:.8em}.ui-slider-horizontal .ui-slider-handle{top:-.3em;margin-left:-.6em}.ui-slider-horizontal .ui-slider-range{top:0;height:100%}.ui-slider-horizontal .ui-slider-range-min{left:0}.ui-slider-horizontal .ui-slider-range-max{right:0}.ui-slider-vertical{width:.8em;height:100px}.ui-slider-vertical .ui-slider-handle{left:-.3em;margin-left:0;margin-bottom:-.6em}.ui-slider-vertical .ui-slider-range{left:0;width:100%}.ui-slider-vertical .ui-slider-range-min{bottom:0}.ui-slider-vertical .ui-slider-range-max{top:0}.ui-sortable-handle{-ms-touch-action:none;touch-action:none}.ui-spinner{position:relative;display:inline-block;overflow:hidden;padding:0;vertical-align:middle}.ui-spinner-input{border:none;background:none;color:inherit;padding:.222em 0;margin:.2em 0;vertical-align:middle;margin-left:.4em;margin-right:2em}.ui-spinner-button{width:1.6em;height:50%;font-size:.5em;padding:0;margin:0;text-align:center;position:absolute;cursor:default;display:block;overflow:hidden;right:0}.ui-spinner a.ui-spinner-button{border-top-style:none;border-bottom-style:none;border-right-style:none}.ui-spinner-up{top:0}.ui-spinner-down{bottom:0}.ui-tabs{position:relative;padding:.2em}.ui-tabs .ui-tabs-nav{margin:0;padding:.2em .2em 0}.ui-tabs .ui-tabs-nav li{list-style:none;float:left;position:relative;top:0;margin:1px .2em 0 0;border-bottom-width:0;padding:0;white-space:nowrap}.ui-tabs .ui-tabs-nav .ui-tabs-anchor{float:left;padding:.5em 1em;text-decoration:none}.ui-tabs .ui-tabs-nav li.ui-tabs-active{margin-bottom:-1px;padding-bottom:1px}.ui-tabs .ui-tabs-nav li.ui-tabs-active .ui-tabs-anchor,.ui-tabs .ui-tabs-nav li.ui-state-disabled .ui-tabs-anchor,.ui-tabs .ui-tabs-nav li.ui-tabs-loading .ui-tabs-anchor{cursor:text}.ui-tabs-collapsible .ui-tabs-nav li.ui-tabs-active .ui-tabs-anchor{cursor:pointer}.ui-tabs .ui-tabs-panel{display:block;border-width:0;padding:1em 1.4em;background:none}.ui-tooltip{padding:8px;position:absolute;z-index:9999;max-width:300px}body .ui-tooltip{border-width:2px}.ui-widget{font-family:Arial,Helvetica,sans-serif;font-size:1em}.ui-widget .ui-widget{font-size:1em}.ui-widget input,.ui-widget select,.ui-widget textarea,.ui-widget button{font-family:Arial,Helvetica,sans-serif;font-size:1em}.ui-widget.ui-widget-content{border:1px solid #c5c5c5}.ui-widget-content{border:1px solid #ddd;background:#fff;color:#333}.ui-widget-content a{color:#333}.ui-widget-header{border:1px solid #ddd;background:#e9e9e9;color:#333;font-weight:bold}.ui-widget-header a{color:#333}.ui-state-default,.ui-widget-content .ui-state-default,.ui-widget-header .ui-state-default,.ui-button,html .ui-button.ui-state-disabled:hover,html .ui-button.ui-state-disabled:active{border:1px solid #c5c5c5;background:#f6f6f6;font-weight:normal;color:#454545}.ui-state-default a,.ui-state-default a:link,.ui-state-default a:visited,a.ui-button,a:link.ui-button,a:visited.ui-button,.ui-button{color:#454545;text-decoration:none}.ui-state-hover,.ui-widget-content .ui-state-hover,.ui-widget-header .ui-state-hover,.ui-state-focus,.ui-widget-content .ui-state-focus,.ui-widget-header .ui-state-focus,.ui-button:hover,.ui-button:focus{border:1px solid #ccc;background:#ededed;font-weight:normal;color:#2b2b2b}.ui-state-hover a,.ui-state-hover a:hover,.ui-state-hover a:link,.ui-state-hover a:visited,.ui-state-focus a,.ui-state-focus a:hover,.ui-state-focus a:link,.ui-state-focus a:visited,a.ui-button:hover,a.ui-button:focus{color:#2b2b2b;text-decoration:none}.ui-visual-focus{box-shadow:0 0 3px 1px rgb(94,158,214)}.ui-state-active,.ui-widget-content .ui-state-active,.ui-widget-header .ui-state-active,a.ui-button:active,.ui-button:active,.ui-button.ui-state-active:hover{border:1px solid #003eff;background:#007fff;font-weight:normal;color:#fff}.ui-icon-background,.ui-state-active .ui-icon-background{border:#003eff;background-color:#fff}.ui-state-active a,.ui-state-active a:link,.ui-state-active a:visited{color:#fff;text-decoration:none}.ui-state-highlight,.ui-widget-content .ui-state-highlight,.ui-widget-header .ui-state-highlight{border:1px solid #dad55e;background:#fffa90;color:#777620}.ui-state-highlight a,.ui-widget-content .ui-state-highlight a,.ui-widget-header .ui-state-highlight a{color:#777620}.ui-state-error,.ui-widget-content .ui-state-error,.ui-widget-header .ui-state-error{border:1px solid #f1a899;background:#fddfdf;color:#5f3f3f}.ui-state-error a,.ui-widget-content .ui-state-error a,.ui-widget-header .ui-state-error a{color:#5f3f3f}.ui-state-error-text,.ui-widget-content .ui-state-error-text,.ui-widget-header .ui-state-error-text{color:#5f3f3f}.ui-priority-primary,.ui-widget-content .ui-priority-primary,.ui-widget-header .ui-priority-primary{font-weight:bold}.ui-priority-secondary,.ui-widget-content .ui-priority-secondary,.ui-widget-header .ui-priority-secondary{opacity:.7;filter:Alpha(Opacity=70);font-weight:normal}.ui-state-disabled,.ui-widget-content .ui-state-disabled,.ui-widget-header .ui-state-disabled{opacity:.35;filter:Alpha(Opacity=35);background-image:none}.ui-state-disabled .ui-icon{filter:Alpha(Opacity=35)}.ui-icon{width:16px;height:16px}.ui-icon,.ui-widget-content .ui-icon{background-image:url("images/ui-icons_444444_256x240.png")}.ui-widget-header .ui-icon{background-image:url("images/ui-icons_444444_256x240.png")}.ui-button .ui-icon{background-image:url("images/ui-icons_777777_256x240.png")}.ui-state-hover .ui-icon,.ui-state-focus .ui-icon,.ui-button:hover .ui-icon,.ui-button:focus .ui-icon,.ui-state-default .ui-icon{background-image:url("images/ui-icons_555555_256x240.png")}.ui-state-active .ui-icon,.ui-button:active .ui-icon{background-image:url("images/ui-icons_ffffff_256x240.png")}.ui-state-highlight .ui-icon,.ui-button .ui-state-highlight.ui-icon{background-image:url("images/ui-icons_777620_256x240.png")}.ui-state-error .ui-icon,.ui-state-error-text .ui-icon{background-image:url("images/ui-icons_cc0000_256x240.png")}.ui-icon-blank{background-position:16px 16px}.ui-icon-caret-1-n{background-position:0 0}.ui-icon-caret-1-ne{background-position:-16px 0}.ui-icon-caret-1-e{background-position:-32px 0}.ui-icon-caret-1-se{background-position:-48px 0}.ui-icon-caret-1-s{background-position:-65px 0}.ui-icon-caret-1-sw{background-position:-80px 0}.ui-icon-caret-1-w{background-position:-96px 0}.ui-icon-caret-1-nw{background-position:-112px 0}.ui-icon-caret-2-n-s{background-position:-128px 0}.ui-icon-caret-2-e-w{background-position:-144px 0}.ui-icon-triangle-1-n{background-position:0 -16px}.ui-icon-triangle-1-ne{background-position:-16px -16px}.ui-icon-triangle-1-e{background-position:-32px -16px}.ui-icon-triangle-1-se{background-position:-48px -16px}.ui-icon-triangle-1-s{background-position:-65px -16px}.ui-icon-triangle-1-sw{background-position:-80px -16px}.ui-icon-triangle-1-w{background-position:-96px -16px}.ui-icon-triangle-1-nw{background-position:-112px -16px}.ui-icon-triangle-2-n-s{background-position:-128px -16px}.ui-icon-triangle-2-e-w{background-position:-144px -16px}.ui-icon-arrow-1-n{background-position:0 -32px}.ui-icon-arrow-1-ne{background-position:-16px -32px}.ui-icon-arrow-1-e{background-position:-32px -32px}.ui-icon-arrow-1-se{background-position:-48px -32px}.ui-icon-arrow-1-s{background-position:-65px -32px}.ui-icon-arrow-1-sw{background-position:-80px -32px}.ui-icon-arrow-1-w{background-position:-96px -32px}.ui-icon-arrow-1-nw{background-position:-112px -32px}.ui-icon-arrow-2-n-s{background-position:-128px -32px}.ui-icon-arrow-2-ne-sw{background-position:-144px -32px}.ui-icon-arrow-2-e-w{background-position:-160px -32px}.ui-icon-arrow-2-se-nw{background-position:-176px -32px}.ui-icon-arrowstop-1-n{background-position:-192px -32px}.ui-icon-arrowstop-1-e{background-position:-208px -32px}.ui-icon-arrowstop-1-s{background-position:-224px -32px}.ui-icon-arrowstop-1-w{background-position:-240px -32px}.ui-icon-arrowthick-1-n{background-position:1px -48px}.ui-icon-arrowthick-1-ne{background-position:-16px -48px}.ui-icon-arrowthick-1-e{background-position:-32px -48px}.ui-icon-arrowthick-1-se{background-position:-48px -48px}.ui-icon-arrowthick-1-s{background-position:-64px -48px}.ui-icon-arrowthick-1-sw{background-position:-80px -48px}.ui-icon-arrowthick-1-w{background-position:-96px -48px}.ui-icon-arrowthick-1-nw{background-position:-112px -48px}.ui-icon-arrowthick-2-n-s{background-position:-128px -48px}.ui-icon-arrowthick-2-ne-sw{background-position:-144px -48px}.ui-icon-arrowthick-2-e-w{background-position:-160px -48px}.ui-icon-arrowthick-2-se-nw{background-position:-176px -48px}.ui-icon-arrowthickstop-1-n{background-position:-192px -48px}.ui-icon-arrowthickstop-1-e{background-position:-208px -48px}.ui-icon-arrowthickstop-1-s{background-position:-224px -48px}.ui-icon-arrowthickstop-1-w{background-position:-240px -48px}.ui-icon-arrowreturnthick-1-w{background-position:0 -64px}.ui-icon-arrowreturnthick-1-n{background-position:-16px -64px}.ui-icon-arrowreturnthick-1-e{background-position:-32px -64px}.ui-icon-arrowreturnthick-1-s{background-position:-48px -64px}.ui-icon-arrowreturn-1-w{background-position:-64px -64px}.ui-icon-arrowreturn-1-n{background-position:-80px -64px}.ui-icon-arrowreturn-1-e{background-position:-96px -64px}.ui-icon-arrowreturn-1-s{background-position:-112px -64px}.ui-icon-arrowrefresh-1-w{background-position:-128px -64px}.ui-icon-arrowrefresh-1-n{background-position:-144px -64px}.ui-icon-arrowrefresh-1-e{background-position:-160px -64px}.ui-icon-arrowrefresh-1-s{background-position:-176px -64px}.ui-icon-arrow-4{background-position:0 -80px}.ui-icon-arrow-4-diag{background-position:-16px -80px}.ui-icon-extlink{background-position:-32px -80px}.ui-icon-newwin{background-position:-48px -80px}.ui-icon-refresh{background-position:-64px -80px}.ui-icon-shuffle{background-position:-80px -80px}.ui-icon-transfer-e-w{background-position:-96px -80px}.ui-icon-transferthick-e-w{background-position:-112px -80px}.ui-icon-folder-collapsed{background-position:0 -96px}.ui-icon-folder-open{background-position:-16px -96px}.ui-icon-document{background-position:-32px -96px}.ui-icon-document-b{background-position:-48px -96px}.ui-icon-note{background-position:-64px -96px}.ui-icon-mail-closed{background-position:-80px -96px}.ui-icon-mail-open{background-position:-96px -96px}.ui-icon-suitcase{background-position:-112px -96px}.ui-icon-comment{background-position:-128px -96px}.ui-icon-person{background-position:-144px -96px}.ui-icon-print{background-position:-160px -96px}.ui-icon-trash{background-position:-176px -96px}.ui-icon-locked{background-position:-192px -96px}.ui-icon-unlocked{background-position:-208px -96px}.ui-icon-bookmark{background-position:-224px -96px}.ui-icon-tag{background-position:-240px -96px}.ui-icon-home{background-position:0 -112px}.ui-icon-flag{background-position:-16px -112px}.ui-icon-calendar{background-position:-32px -112px}.ui-icon-cart{background-position:-48px -112px}.ui-icon-pencil{background-position:-64px -112px}.ui-icon-clock{background-position:-80px -112px}.ui-icon-disk{background-position:-96px -112px}.ui-icon-calculator{background-position:-112px -112px}.ui-icon-zoomin{background-position:-128px -112px}.ui-icon-zoomout{background-position:-144px -112px}.ui-icon-search{background-position:-160px -112px}.ui-icon-wrench{background-position:-176px -112px}.ui-icon-gear{background-position:-192px -112px}.ui-icon-heart{background-position:-208px -112px}.ui-icon-star{background-position:-224px -112px}.ui-icon-link{background-position:-240px -112px}.ui-icon-cancel{background-position:0 -128px}.ui-icon-plus{background-position:-16px -128px}.ui-icon-plusthick{background-position:-32px -128px}.ui-icon-minus{background-position:-48px -128px}.ui-icon-minusthick{background-position:-64px -128px}.ui-icon-close{background-position:-80px -128px}.ui-icon-closethick{background-position:-96px -128px}.ui-icon-key{background-position:-112px -128px}.ui-icon-lightbulb{background-position:-128px -128px}.ui-icon-scissors{background-position:-144px -128px}.ui-icon-clipboard{background-position:-160px -128px}.ui-icon-copy{background-position:-176px -128px}.ui-icon-contact{background-position:-192px -128px}.ui-icon-image{background-position:-208px -128px}.ui-icon-video{background-position:-224px -128px}.ui-icon-script{background-position:-240px -128px}.ui-icon-alert{background-position:0 -144px}.ui-icon-info{background-position:-16px -144px}.ui-icon-notice{background-position:-32px -144px}.ui-icon-help{background-position:-48px -144px}.ui-icon-check{background-position:-64px -144px}.ui-icon-bullet{background-position:-80px -144px}.ui-icon-radio-on{background-position:-96px -144px}.ui-icon-radio-off{background-position:-112px -144px}.ui-icon-pin-w{background-position:-128px -144px}.ui-icon-pin-s{background-position:-144px -144px}.ui-icon-play{background-position:0 -160px}.ui-icon-pause{background-position:-16px -160px}.ui-icon-seek-next{background-position:-32px -160px}.ui-icon-seek-prev{background-position:-48px -160px}.ui-icon-seek-end{background-position:-64px -160px}.ui-icon-seek-start{background-position:-80px -160px}.ui-icon-seek-first{background-position:-80px -160px}.ui-icon-stop{background-position:-96px -160px}.ui-icon-eject{background-position:-112px -160px}.ui-icon-volume-off{background-position:-128px -160px}.ui-icon-volume-on{background-position:-144px -160px}.ui-icon-power{background-position:0 -176px}.ui-icon-signal-diag{background-position:-16px -176px}.ui-icon-signal{background-position:-32px -176px}.ui-icon-battery-0{background-position:-48px -176px}.ui-icon-battery-1{background-position:-64px -176px}.ui-icon-battery-2{background-position:-80px -176px}.ui-icon-battery-3{background-position:-96px -176px}.ui-icon-circle-plus{background-position:0 -192px}.ui-icon-circle-minus{background-position:-16px -192px}.ui-icon-circle-close{background-position:-32px -192px}.ui-icon-circle-triangle-e{background-position:-48px -192px}.ui-icon-circle-triangle-s{background-position:-64px -192px}.ui-icon-circle-triangle-w{background-position:-80px -192px}.ui-icon-circle-triangle-n{background-position:-96px -192px}.ui-icon-circle-arrow-e{background-position:-112px -192px}.ui-icon-circle-arrow-s{background-position:-128px -192px}.ui-icon-circle-arrow-w{background-position:-144px -192px}.ui-icon-circle-arrow-n{background-position:-160px -192px}.ui-icon-circle-zoomin{background-position:-176px -192px}.ui-icon-circle-zoomout{background-position:-192px -192px}.ui-icon-circle-check{background-position:-208px -192px}.ui-icon-circlesmall-plus{background-position:0 -208px}.ui-icon-circlesmall-minus{background-position:-16px -208px}.ui-icon-circlesmall-close{background-position:-32px -208px}.ui-icon-squaresmall-plus{background-position:-48px -208px}.ui-icon-squaresmall-minus{background-position:-64px -208px}.ui-icon-squaresmall-close{background-position:-80px -208px}.ui-icon-grip-dotted-vertical{background-position:0 -224px}.ui-icon-grip-dotted-horizontal{background-position:-16px -224px}.ui-icon-grip-solid-vertical{background-position:-32px -224px}.ui-icon-grip-solid-horizontal{background-position:-48px -224px}.ui-icon-gripsmall-diagonal-se{background-position:-64px -224px}.ui-icon-grip-diagonal-se{background-position:-80px -224px}.ui-corner-all,.ui-corner-top,.ui-corner-left,.ui-corner-tl{border-top-left-radius:3px}.ui-corner-all,.ui-corner-top,.ui-corner-right,.ui-corner-tr{border-top-right-radius:3px}.ui-corner-all,.ui-corner-bottom,.ui-corner-left,.ui-corner-bl{border-bottom-left-radius:3px}.ui-corner-all,.ui-corner-bottom,.ui-corner-right,.ui-corner-br{border-bottom-right-radius:3px}.ui-widget-overlay{background:#aaa;opacity:.003;filter:Alpha(Opacity=.3)}.ui-widget-shadow{-webkit-box-shadow:0 0 5px #666;box-shadow:0 0 5px #666}
 
 
 
 
 
 
 
assets/frontend/css/style.css DELETED
@@ -1,15 +0,0 @@
1
- @charset "utf-8";
2
- /* CSS Document */
3
-
4
-
5
-
6
- /*CSS front page*/
7
-
8
-
9
- .accordions .accordions-head .ui-accordion-header-icon {
10
- display: none;
11
- }
12
-
13
- .accordions-lazy {
14
- text-align: center;
15
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
assets/frontend/images/loading.gif DELETED
Binary file
assets/frontend/js/scripts.js DELETED
@@ -1,12 +0,0 @@
1
- jQuery(document).ready(function($)
2
- {
3
- //Scripts goes here
4
-
5
-
6
- });
7
-
8
-
9
-
10
-
11
-
12
-
 
 
 
 
 
 
 
 
 
 
 
 
assets/global/css/font-awesome.min.css DELETED
@@ -1,4 +0,0 @@
1
- /*!
2
- * Font Awesome 4.6.2 by @davegandy - http://fontawesome.io - @fontawesome
3
- * License - http://fontawesome.io/license (Font: SIL OFL 1.1, CSS: MIT License)
4
- */@font-face{font-family:'FontAwesome';src:url('../fonts/fontawesome-webfont.eot?v=4.6.2');src:url('../fonts/fontawesome-webfont.eot?#iefix&v=4.6.2') format('embedded-opentype'),url('../fonts/fontawesome-webfont.woff2?v=4.6.2') format('woff2'),url('../fonts/fontawesome-webfont.woff?v=4.6.2') format('woff'),url('../fonts/fontawesome-webfont.ttf?v=4.6.2') format('truetype'),url('../fonts/fontawesome-webfont.svg?v=4.6.2#fontawesomeregular') format('svg');font-weight:normal;font-style:normal}.fa{display:inline-block;font:normal normal normal 14px/1 FontAwesome;font-size:inherit;text-rendering:auto;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.fa-lg{font-size:1.33333333em;line-height:.75em;vertical-align:-15%}.fa-2x{font-size:2em}.fa-3x{font-size:3em}.fa-4x{font-size:4em}.fa-5x{font-size:5em}.fa-fw{width:1.28571429em;text-align:center}.fa-ul{padding-left:0;margin-left:2.14285714em;list-style-type:none}.fa-ul>li{position:relative}.fa-li{position:absolute;left:-2.14285714em;width:2.14285714em;top:.14285714em;text-align:center}.fa-li.fa-lg{left:-1.85714286em}.fa-border{padding:.2em .25em .15em;border:solid .08em #eee;border-radius:.1em}.fa-pull-left{float:left}.fa-pull-right{float:right}.fa.fa-pull-left{margin-right:.3em}.fa.fa-pull-right{margin-left:.3em}.pull-right{float:right}.pull-left{float:left}.fa.pull-left{margin-right:.3em}.fa.pull-right{margin-left:.3em}.fa-spin{-webkit-animation:fa-spin 2s infinite linear;animation:fa-spin 2s infinite linear}.fa-pulse{-webkit-animation:fa-spin 1s infinite steps(8);animation:fa-spin 1s infinite steps(8)}@-webkit-keyframes fa-spin{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}100%{-webkit-transform:rotate(359deg);transform:rotate(359deg)}}@keyframes fa-spin{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}100%{-webkit-transform:rotate(359deg);transform:rotate(359deg)}}.fa-rotate-90{-ms-filter:"progid:DXImageTransform.Microsoft.BasicImage(rotation=1)";-webkit-transform:rotate(90deg);-ms-transform:rotate(90deg);transform:rotate(90deg)}.fa-rotate-180{-ms-filter:"progid:DXImageTransform.Microsoft.BasicImage(rotation=2)";-webkit-transform:rotate(180deg);-ms-transform:rotate(180deg);transform:rotate(180deg)}.fa-rotate-270{-ms-filter:"progid:DXImageTransform.Microsoft.BasicImage(rotation=3)";-webkit-transform:rotate(270deg);-ms-transform:rotate(270deg);transform:rotate(270deg)}.fa-flip-horizontal{-ms-filter:"progid:DXImageTransform.Microsoft.BasicImage(rotation=0, mirror=1)";-webkit-transform:scale(-1, 1);-ms-transform:scale(-1, 1);transform:scale(-1, 1)}.fa-flip-vertical{-ms-filter:"progid:DXImageTransform.Microsoft.BasicImage(rotation=2, mirror=1)";-webkit-transform:scale(1, -1);-ms-transform:scale(1, -1);transform:scale(1, -1)}:root .fa-rotate-90,:root .fa-rotate-180,:root .fa-rotate-270,:root .fa-flip-horizontal,:root .fa-flip-vertical{filter:none}.fa-stack{position:relative;display:inline-block;width:2em;height:2em;line-height:2em;vertical-align:middle}.fa-stack-1x,.fa-stack-2x{position:absolute;left:0;width:100%;text-align:center}.fa-stack-1x{line-height:inherit}.fa-stack-2x{font-size:2em}.fa-inverse{color:#fff}.fa-glass:before{content:"\f000"}.fa-music:before{content:"\f001"}.fa-search:before{content:"\f002"}.fa-envelope-o:before{content:"\f003"}.fa-heart:before{content:"\f004"}.fa-star:before{content:"\f005"}.fa-star-o:before{content:"\f006"}.fa-user:before{content:"\f007"}.fa-film:before{content:"\f008"}.fa-th-large:before{content:"\f009"}.fa-th:before{content:"\f00a"}.fa-th-list:before{content:"\f00b"}.fa-check:before{content:"\f00c"}.fa-remove:before,.fa-close:before,.fa-times:before{content:"\f00d"}.fa-search-plus:before{content:"\f00e"}.fa-search-minus:before{content:"\f010"}.fa-power-off:before{content:"\f011"}.fa-signal:before{content:"\f012"}.fa-gear:before,.fa-cog:before{content:"\f013"}.fa-trash-o:before{content:"\f014"}.fa-home:before{content:"\f015"}.fa-file-o:before{content:"\f016"}.fa-clock-o:before{content:"\f017"}.fa-road:before{content:"\f018"}.fa-download:before{content:"\f019"}.fa-arrow-circle-o-down:before{content:"\f01a"}.fa-arrow-circle-o-up:before{content:"\f01b"}.fa-inbox:before{content:"\f01c"}.fa-play-circle-o:before{content:"\f01d"}.fa-rotate-right:before,.fa-repeat:before{content:"\f01e"}.fa-refresh:before{content:"\f021"}.fa-list-alt:before{content:"\f022"}.fa-lock:before{content:"\f023"}.fa-flag:before{content:"\f024"}.fa-headphones:before{content:"\f025"}.fa-volume-off:before{content:"\f026"}.fa-volume-down:before{content:"\f027"}.fa-volume-up:before{content:"\f028"}.fa-qrcode:before{content:"\f029"}.fa-barcode:before{content:"\f02a"}.fa-tag:before{content:"\f02b"}.fa-tags:before{content:"\f02c"}.fa-book:before{content:"\f02d"}.fa-bookmark:before{content:"\f02e"}.fa-print:before{content:"\f02f"}.fa-camera:before{content:"\f030"}.fa-font:before{content:"\f031"}.fa-bold:before{content:"\f032"}.fa-italic:before{content:"\f033"}.fa-text-height:before{content:"\f034"}.fa-text-width:before{content:"\f035"}.fa-align-left:before{content:"\f036"}.fa-align-center:before{content:"\f037"}.fa-align-right:before{content:"\f038"}.fa-align-justify:before{content:"\f039"}.fa-list:before{content:"\f03a"}.fa-dedent:before,.fa-outdent:before{content:"\f03b"}.fa-indent:before{content:"\f03c"}.fa-video-camera:before{content:"\f03d"}.fa-photo:before,.fa-image:before,.fa-picture-o:before{content:"\f03e"}.fa-pencil:before{content:"\f040"}.fa-map-marker:before{content:"\f041"}.fa-adjust:before{content:"\f042"}.fa-tint:before{content:"\f043"}.fa-edit:before,.fa-pencil-square-o:before{content:"\f044"}.fa-share-square-o:before{content:"\f045"}.fa-check-square-o:before{content:"\f046"}.fa-arrows:before{content:"\f047"}.fa-step-backward:before{content:"\f048"}.fa-fast-backward:before{content:"\f049"}.fa-backward:before{content:"\f04a"}.fa-play:before{content:"\f04b"}.fa-pause:before{content:"\f04c"}.fa-stop:before{content:"\f04d"}.fa-forward:before{content:"\f04e"}.fa-fast-forward:before{content:"\f050"}.fa-step-forward:before{content:"\f051"}.fa-eject:before{content:"\f052"}.fa-chevron-left:before{content:"\f053"}.fa-chevron-right:before{content:"\f054"}.fa-plus-circle:before{content:"\f055"}.fa-minus-circle:before{content:"\f056"}.fa-times-circle:before{content:"\f057"}.fa-check-circle:before{content:"\f058"}.fa-question-circle:before{content:"\f059"}.fa-info-circle:before{content:"\f05a"}.fa-crosshairs:before{content:"\f05b"}.fa-times-circle-o:before{content:"\f05c"}.fa-check-circle-o:before{content:"\f05d"}.fa-ban:before{content:"\f05e"}.fa-arrow-left:before{content:"\f060"}.fa-arrow-right:before{content:"\f061"}.fa-arrow-up:before{content:"\f062"}.fa-arrow-down:before{content:"\f063"}.fa-mail-forward:before,.fa-share:before{content:"\f064"}.fa-expand:before{content:"\f065"}.fa-compress:before{content:"\f066"}.fa-plus:before{content:"\f067"}.fa-minus:before{content:"\f068"}.fa-asterisk:before{content:"\f069"}.fa-exclamation-circle:before{content:"\f06a"}.fa-gift:before{content:"\f06b"}.fa-leaf:before{content:"\f06c"}.fa-fire:before{content:"\f06d"}.fa-eye:before{content:"\f06e"}.fa-eye-slash:before{content:"\f070"}.fa-warning:before,.fa-exclamation-triangle:before{content:"\f071"}.fa-plane:before{content:"\f072"}.fa-calendar:before{content:"\f073"}.fa-random:before{content:"\f074"}.fa-comment:before{content:"\f075"}.fa-magnet:before{content:"\f076"}.fa-chevron-up:before{content:"\f077"}.fa-chevron-down:before{content:"\f078"}.fa-retweet:before{content:"\f079"}.fa-shopping-cart:before{content:"\f07a"}.fa-folder:before{content:"\f07b"}.fa-folder-open:before{content:"\f07c"}.fa-arrows-v:before{content:"\f07d"}.fa-arrows-h:before{content:"\f07e"}.fa-bar-chart-o:before,.fa-bar-chart:before{content:"\f080"}.fa-twitter-square:before{content:"\f081"}.fa-facebook-square:before{content:"\f082"}.fa-camera-retro:before{content:"\f083"}.fa-key:before{content:"\f084"}.fa-gears:before,.fa-cogs:before{content:"\f085"}.fa-comments:before{content:"\f086"}.fa-thumbs-o-up:before{content:"\f087"}.fa-thumbs-o-down:before{content:"\f088"}.fa-star-half:before{content:"\f089"}.fa-heart-o:before{content:"\f08a"}.fa-sign-out:before{content:"\f08b"}.fa-linkedin-square:before{content:"\f08c"}.fa-thumb-tack:before{content:"\f08d"}.fa-external-link:before{content:"\f08e"}.fa-sign-in:before{content:"\f090"}.fa-trophy:before{content:"\f091"}.fa-github-square:before{content:"\f092"}.fa-upload:before{content:"\f093"}.fa-lemon-o:before{content:"\f094"}.fa-phone:before{content:"\f095"}.fa-square-o:before{content:"\f096"}.fa-bookmark-o:before{content:"\f097"}.fa-phone-square:before{content:"\f098"}.fa-twitter:before{content:"\f099"}.fa-facebook-f:before,.fa-facebook:before{content:"\f09a"}.fa-github:before{content:"\f09b"}.fa-unlock:before{content:"\f09c"}.fa-credit-card:before{content:"\f09d"}.fa-feed:before,.fa-rss:before{content:"\f09e"}.fa-hdd-o:before{content:"\f0a0"}.fa-bullhorn:before{content:"\f0a1"}.fa-bell:before{content:"\f0f3"}.fa-certificate:before{content:"\f0a3"}.fa-hand-o-right:before{content:"\f0a4"}.fa-hand-o-left:before{content:"\f0a5"}.fa-hand-o-up:before{content:"\f0a6"}.fa-hand-o-down:before{content:"\f0a7"}.fa-arrow-circle-left:before{content:"\f0a8"}.fa-arrow-circle-right:before{content:"\f0a9"}.fa-arrow-circle-up:before{content:"\f0aa"}.fa-arrow-circle-down:before{content:"\f0ab"}.fa-globe:before{content:"\f0ac"}.fa-wrench:before{content:"\f0ad"}.fa-tasks:before{content:"\f0ae"}.fa-filter:before{content:"\f0b0"}.fa-briefcase:before{content:"\f0b1"}.fa-arrows-alt:before{content:"\f0b2"}.fa-group:before,.fa-users:before{content:"\f0c0"}.fa-chain:before,.fa-link:before{content:"\f0c1"}.fa-cloud:before{content:"\f0c2"}.fa-flask:before{content:"\f0c3"}.fa-cut:before,.fa-scissors:before{content:"\f0c4"}.fa-copy:before,.fa-files-o:before{content:"\f0c5"}.fa-paperclip:before{content:"\f0c6"}.fa-save:before,.fa-floppy-o:before{content:"\f0c7"}.fa-square:before{content:"\f0c8"}.fa-navicon:before,.fa-reorder:before,.fa-bars:before{content:"\f0c9"}.fa-list-ul:before{content:"\f0ca"}.fa-list-ol:before{content:"\f0cb"}.fa-strikethrough:before{content:"\f0cc"}.fa-underline:before{content:"\f0cd"}.fa-table:before{content:"\f0ce"}.fa-magic:before{content:"\f0d0"}.fa-truck:before{content:"\f0d1"}.fa-pinterest:before{content:"\f0d2"}.fa-pinterest-square:before{content:"\f0d3"}.fa-google-plus-square:before{content:"\f0d4"}.fa-google-plus:before{content:"\f0d5"}.fa-money:before{content:"\f0d6"}.fa-caret-down:before{content:"\f0d7"}.fa-caret-up:before{content:"\f0d8"}.fa-caret-left:before{content:"\f0d9"}.fa-caret-right:before{content:"\f0da"}.fa-columns:before{content:"\f0db"}.fa-unsorted:before,.fa-sort:before{content:"\f0dc"}.fa-sort-down:before,.fa-sort-desc:before{content:"\f0dd"}.fa-sort-up:before,.fa-sort-asc:before{content:"\f0de"}.fa-envelope:before{content:"\f0e0"}.fa-linkedin:before{content:"\f0e1"}.fa-rotate-left:before,.fa-undo:before{content:"\f0e2"}.fa-legal:before,.fa-gavel:before{content:"\f0e3"}.fa-dashboard:before,.fa-tachometer:before{content:"\f0e4"}.fa-comment-o:before{content:"\f0e5"}.fa-comments-o:before{content:"\f0e6"}.fa-flash:before,.fa-bolt:before{content:"\f0e7"}.fa-sitemap:before{content:"\f0e8"}.fa-umbrella:before{content:"\f0e9"}.fa-paste:before,.fa-clipboard:before{content:"\f0ea"}.fa-lightbulb-o:before{content:"\f0eb"}.fa-exchange:before{content:"\f0ec"}.fa-cloud-download:before{content:"\f0ed"}.fa-cloud-upload:before{content:"\f0ee"}.fa-user-md:before{content:"\f0f0"}.fa-stethoscope:before{content:"\f0f1"}.fa-suitcase:before{content:"\f0f2"}.fa-bell-o:before{content:"\f0a2"}.fa-coffee:before{content:"\f0f4"}.fa-cutlery:before{content:"\f0f5"}.fa-file-text-o:before{content:"\f0f6"}.fa-building-o:before{content:"\f0f7"}.fa-hospital-o:before{content:"\f0f8"}.fa-ambulance:before{content:"\f0f9"}.fa-medkit:before{content:"\f0fa"}.fa-fighter-jet:before{content:"\f0fb"}.fa-beer:before{content:"\f0fc"}.fa-h-square:before{content:"\f0fd"}.fa-plus-square:before{content:"\f0fe"}.fa-angle-double-left:before{content:"\f100"}.fa-angle-double-right:before{content:"\f101"}.fa-angle-double-up:before{content:"\f102"}.fa-angle-double-down:before{content:"\f103"}.fa-angle-left:before{content:"\f104"}.fa-angle-right:before{content:"\f105"}.fa-angle-up:before{content:"\f106"}.fa-angle-down:before{content:"\f107"}.fa-desktop:before{content:"\f108"}.fa-laptop:before{content:"\f109"}.fa-tablet:before{content:"\f10a"}.fa-mobile-phone:before,.fa-mobile:before{content:"\f10b"}.fa-circle-o:before{content:"\f10c"}.fa-quote-left:before{content:"\f10d"}.fa-quote-right:before{content:"\f10e"}.fa-spinner:before{content:"\f110"}.fa-circle:before{content:"\f111"}.fa-mail-reply:before,.fa-reply:before{content:"\f112"}.fa-github-alt:before{content:"\f113"}.fa-folder-o:before{content:"\f114"}.fa-folder-open-o:before{content:"\f115"}.fa-smile-o:before{content:"\f118"}.fa-frown-o:before{content:"\f119"}.fa-meh-o:before{content:"\f11a"}.fa-gamepad:before{content:"\f11b"}.fa-keyboard-o:before{content:"\f11c"}.fa-flag-o:before{content:"\f11d"}.fa-flag-checkered:before{content:"\f11e"}.fa-terminal:before{content:"\f120"}.fa-code:before{content:"\f121"}.fa-mail-reply-all:before,.fa-reply-all:before{content:"\f122"}.fa-star-half-empty:before,.fa-star-half-full:before,.fa-star-half-o:before{content:"\f123"}.fa-location-arrow:before{content:"\f124"}.fa-crop:before{content:"\f125"}.fa-code-fork:before{content:"\f126"}.fa-unlink:before,.fa-chain-broken:before{content:"\f127"}.fa-question:before{content:"\f128"}.fa-info:before{content:"\f129"}.fa-exclamation:before{content:"\f12a"}.fa-superscript:before{content:"\f12b"}.fa-subscript:before{content:"\f12c"}.fa-eraser:before{content:"\f12d"}.fa-puzzle-piece:before{content:"\f12e"}.fa-microphone:before{content:"\f130"}.fa-microphone-slash:before{content:"\f131"}.fa-shield:before{content:"\f132"}.fa-calendar-o:before{content:"\f133"}.fa-fire-extinguisher:before{content:"\f134"}.fa-rocket:before{content:"\f135"}.fa-maxcdn:before{content:"\f136"}.fa-chevron-circle-left:before{content:"\f137"}.fa-chevron-circle-right:before{content:"\f138"}.fa-chevron-circle-up:before{content:"\f139"}.fa-chevron-circle-down:before{content:"\f13a"}.fa-html5:before{content:"\f13b"}.fa-css3:before{content:"\f13c"}.fa-anchor:before{content:"\f13d"}.fa-unlock-alt:before{content:"\f13e"}.fa-bullseye:before{content:"\f140"}.fa-ellipsis-h:before{content:"\f141"}.fa-ellipsis-v:before{content:"\f142"}.fa-rss-square:before{content:"\f143"}.fa-play-circle:before{content:"\f144"}.fa-ticket:before{content:"\f145"}.fa-minus-square:before{content:"\f146"}.fa-minus-square-o:before{content:"\f147"}.fa-level-up:before{content:"\f148"}.fa-level-down:before{content:"\f149"}.fa-check-square:before{content:"\f14a"}.fa-pencil-square:before{content:"\f14b"}.fa-external-link-square:before{content:"\f14c"}.fa-share-square:before{content:"\f14d"}.fa-compass:before{content:"\f14e"}.fa-toggle-down:before,.fa-caret-square-o-down:before{content:"\f150"}.fa-toggle-up:before,.fa-caret-square-o-up:before{content:"\f151"}.fa-toggle-right:before,.fa-caret-square-o-right:before{content:"\f152"}.fa-euro:before,.fa-eur:before{content:"\f153"}.fa-gbp:before{content:"\f154"}.fa-dollar:before,.fa-usd:before{content:"\f155"}.fa-rupee:before,.fa-inr:before{content:"\f156"}.fa-cny:before,.fa-rmb:before,.fa-yen:before,.fa-jpy:before{content:"\f157"}.fa-ruble:before,.fa-rouble:before,.fa-rub:before{content:"\f158"}.fa-won:before,.fa-krw:before{content:"\f159"}.fa-bitcoin:before,.fa-btc:before{content:"\f15a"}.fa-file:before{content:"\f15b"}.fa-file-text:before{content:"\f15c"}.fa-sort-alpha-asc:before{content:"\f15d"}.fa-sort-alpha-desc:before{content:"\f15e"}.fa-sort-amount-asc:before{content:"\f160"}.fa-sort-amount-desc:before{content:"\f161"}.fa-sort-numeric-asc:before{content:"\f162"}.fa-sort-numeric-desc:before{content:"\f163"}.fa-thumbs-up:before{content:"\f164"}.fa-thumbs-down:before{content:"\f165"}.fa-youtube-square:before{content:"\f166"}.fa-youtube:before{content:"\f167"}.fa-xing:before{content:"\f168"}.fa-xing-square:before{content:"\f169"}.fa-youtube-play:before{content:"\f16a"}.fa-dropbox:before{content:"\f16b"}.fa-stack-overflow:before{content:"\f16c"}.fa-instagram:before{content:"\f16d"}.fa-flickr:before{content:"\f16e"}.fa-adn:before{content:"\f170"}.fa-bitbucket:before{content:"\f171"}.fa-bitbucket-square:before{content:"\f172"}.fa-tumblr:before{content:"\f173"}.fa-tumblr-square:before{content:"\f174"}.fa-long-arrow-down:before{content:"\f175"}.fa-long-arrow-up:before{content:"\f176"}.fa-long-arrow-left:before{content:"\f177"}.fa-long-arrow-right:before{content:"\f178"}.fa-apple:before{content:"\f179"}.fa-windows:before{content:"\f17a"}.fa-android:before{content:"\f17b"}.fa-linux:before{content:"\f17c"}.fa-dribbble:before{content:"\f17d"}.fa-skype:before{content:"\f17e"}.fa-foursquare:before{content:"\f180"}.fa-trello:before{content:"\f181"}.fa-female:before{content:"\f182"}.fa-male:before{content:"\f183"}.fa-gittip:before,.fa-gratipay:before{content:"\f184"}.fa-sun-o:before{content:"\f185"}.fa-moon-o:before{content:"\f186"}.fa-archive:before{content:"\f187"}.fa-bug:before{content:"\f188"}.fa-vk:before{content:"\f189"}.fa-weibo:before{content:"\f18a"}.fa-renren:before{content:"\f18b"}.fa-pagelines:before{content:"\f18c"}.fa-stack-exchange:before{content:"\f18d"}.fa-arrow-circle-o-right:before{content:"\f18e"}.fa-arrow-circle-o-left:before{content:"\f190"}.fa-toggle-left:before,.fa-caret-square-o-left:before{content:"\f191"}.fa-dot-circle-o:before{content:"\f192"}.fa-wheelchair:before{content:"\f193"}.fa-vimeo-square:before{content:"\f194"}.fa-turkish-lira:before,.fa-try:before{content:"\f195"}.fa-plus-square-o:before{content:"\f196"}.fa-space-shuttle:before{content:"\f197"}.fa-slack:before{content:"\f198"}.fa-envelope-square:before{content:"\f199"}.fa-wordpress:before{content:"\f19a"}.fa-openid:before{content:"\f19b"}.fa-institution:before,.fa-bank:before,.fa-university:before{content:"\f19c"}.fa-mortar-board:before,.fa-graduation-cap:before{content:"\f19d"}.fa-yahoo:before{content:"\f19e"}.fa-google:before{content:"\f1a0"}.fa-reddit:before{content:"\f1a1"}.fa-reddit-square:before{content:"\f1a2"}.fa-stumbleupon-circle:before{content:"\f1a3"}.fa-stumbleupon:before{content:"\f1a4"}.fa-delicious:before{content:"\f1a5"}.fa-digg:before{content:"\f1a6"}.fa-pied-piper-pp:before{content:"\f1a7"}.fa-pied-piper-alt:before{content:"\f1a8"}.fa-drupal:before{content:"\f1a9"}.fa-joomla:before{content:"\f1aa"}.fa-language:before{content:"\f1ab"}.fa-fax:before{content:"\f1ac"}.fa-building:before{content:"\f1ad"}.fa-child:before{content:"\f1ae"}.fa-paw:before{content:"\f1b0"}.fa-spoon:before{content:"\f1b1"}.fa-cube:before{content:"\f1b2"}.fa-cubes:before{content:"\f1b3"}.fa-behance:before{content:"\f1b4"}.fa-behance-square:before{content:"\f1b5"}.fa-steam:before{content:"\f1b6"}.fa-steam-square:before{content:"\f1b7"}.fa-recycle:before{content:"\f1b8"}.fa-automobile:before,.fa-car:before{content:"\f1b9"}.fa-cab:before,.fa-taxi:before{content:"\f1ba"}.fa-tree:before{content:"\f1bb"}.fa-spotify:before{content:"\f1bc"}.fa-deviantart:before{content:"\f1bd"}.fa-soundcloud:before{content:"\f1be"}.fa-database:before{content:"\f1c0"}.fa-file-pdf-o:before{content:"\f1c1"}.fa-file-word-o:before{content:"\f1c2"}.fa-file-excel-o:before{content:"\f1c3"}.fa-file-powerpoint-o:before{content:"\f1c4"}.fa-file-photo-o:before,.fa-file-picture-o:before,.fa-file-image-o:before{content:"\f1c5"}.fa-file-zip-o:before,.fa-file-archive-o:before{content:"\f1c6"}.fa-file-sound-o:before,.fa-file-audio-o:before{content:"\f1c7"}.fa-file-movie-o:before,.fa-file-video-o:before{content:"\f1c8"}.fa-file-code-o:before{content:"\f1c9"}.fa-vine:before{content:"\f1ca"}.fa-codepen:before{content:"\f1cb"}.fa-jsfiddle:before{content:"\f1cc"}.fa-life-bouy:before,.fa-life-buoy:before,.fa-life-saver:before,.fa-support:before,.fa-life-ring:before{content:"\f1cd"}.fa-circle-o-notch:before{content:"\f1ce"}.fa-ra:before,.fa-resistance:before,.fa-rebel:before{content:"\f1d0"}.fa-ge:before,.fa-empire:before{content:"\f1d1"}.fa-git-square:before{content:"\f1d2"}.fa-git:before{content:"\f1d3"}.fa-y-combinator-square:before,.fa-yc-square:before,.fa-hacker-news:before{content:"\f1d4"}.fa-tencent-weibo:before{content:"\f1d5"}.fa-qq:before{content:"\f1d6"}.fa-wechat:before,.fa-weixin:before{content:"\f1d7"}.fa-send:before,.fa-paper-plane:before{content:"\f1d8"}.fa-send-o:before,.fa-paper-plane-o:before{content:"\f1d9"}.fa-history:before{content:"\f1da"}.fa-circle-thin:before{content:"\f1db"}.fa-header:before{content:"\f1dc"}.fa-paragraph:before{content:"\f1dd"}.fa-sliders:before{content:"\f1de"}.fa-share-alt:before{content:"\f1e0"}.fa-share-alt-square:before{content:"\f1e1"}.fa-bomb:before{content:"\f1e2"}.fa-soccer-ball-o:before,.fa-futbol-o:before{content:"\f1e3"}.fa-tty:before{content:"\f1e4"}.fa-binoculars:before{content:"\f1e5"}.fa-plug:before{content:"\f1e6"}.fa-slideshare:before{content:"\f1e7"}.fa-twitch:before{content:"\f1e8"}.fa-yelp:before{content:"\f1e9"}.fa-newspaper-o:before{content:"\f1ea"}.fa-wifi:before{content:"\f1eb"}.fa-calculator:before{content:"\f1ec"}.fa-paypal:before{content:"\f1ed"}.fa-google-wallet:before{content:"\f1ee"}.fa-cc-visa:before{content:"\f1f0"}.fa-cc-mastercard:before{content:"\f1f1"}.fa-cc-discover:before{content:"\f1f2"}.fa-cc-amex:before{content:"\f1f3"}.fa-cc-paypal:before{content:"\f1f4"}.fa-cc-stripe:before{content:"\f1f5"}.fa-bell-slash:before{content:"\f1f6"}.fa-bell-slash-o:before{content:"\f1f7"}.fa-trash:before{content:"\f1f8"}.fa-copyright:before{content:"\f1f9"}.fa-at:before{content:"\f1fa"}.fa-eyedropper:before{content:"\f1fb"}.fa-paint-brush:before{content:"\f1fc"}.fa-birthday-cake:before{content:"\f1fd"}.fa-area-chart:before{content:"\f1fe"}.fa-pie-chart:before{content:"\f200"}.fa-line-chart:before{content:"\f201"}.fa-lastfm:before{content:"\f202"}.fa-lastfm-square:before{content:"\f203"}.fa-toggle-off:before{content:"\f204"}.fa-toggle-on:before{content:"\f205"}.fa-bicycle:before{content:"\f206"}.fa-bus:before{content:"\f207"}.fa-ioxhost:before{content:"\f208"}.fa-angellist:before{content:"\f209"}.fa-cc:before{content:"\f20a"}.fa-shekel:before,.fa-sheqel:before,.fa-ils:before{content:"\f20b"}.fa-meanpath:before{content:"\f20c"}.fa-buysellads:before{content:"\f20d"}.fa-connectdevelop:before{content:"\f20e"}.fa-dashcube:before{content:"\f210"}.fa-forumbee:before{content:"\f211"}.fa-leanpub:before{content:"\f212"}.fa-sellsy:before{content:"\f213"}.fa-shirtsinbulk:before{content:"\f214"}.fa-simplybuilt:before{content:"\f215"}.fa-skyatlas:before{content:"\f216"}.fa-cart-plus:before{content:"\f217"}.fa-cart-arrow-down:before{content:"\f218"}.fa-diamond:before{content:"\f219"}.fa-ship:before{content:"\f21a"}.fa-user-secret:before{content:"\f21b"}.fa-motorcycle:before{content:"\f21c"}.fa-street-view:before{content:"\f21d"}.fa-heartbeat:before{content:"\f21e"}.fa-venus:before{content:"\f221"}.fa-mars:before{content:"\f222"}.fa-mercury:before{content:"\f223"}.fa-intersex:before,.fa-transgender:before{content:"\f224"}.fa-transgender-alt:before{content:"\f225"}.fa-venus-double:before{content:"\f226"}.fa-mars-double:before{content:"\f227"}.fa-venus-mars:before{content:"\f228"}.fa-mars-stroke:before{content:"\f229"}.fa-mars-stroke-v:before{content:"\f22a"}.fa-mars-stroke-h:before{content:"\f22b"}.fa-neuter:before{content:"\f22c"}.fa-genderless:before{content:"\f22d"}.fa-facebook-official:before{content:"\f230"}.fa-pinterest-p:before{content:"\f231"}.fa-whatsapp:before{content:"\f232"}.fa-server:before{content:"\f233"}.fa-user-plus:before{content:"\f234"}.fa-user-times:before{content:"\f235"}.fa-hotel:before,.fa-bed:before{content:"\f236"}.fa-viacoin:before{content:"\f237"}.fa-train:before{content:"\f238"}.fa-subway:before{content:"\f239"}.fa-medium:before{content:"\f23a"}.fa-yc:before,.fa-y-combinator:before{content:"\f23b"}.fa-optin-monster:before{content:"\f23c"}.fa-opencart:before{content:"\f23d"}.fa-expeditedssl:before{content:"\f23e"}.fa-battery-4:before,.fa-battery-full:before{content:"\f240"}.fa-battery-3:before,.fa-battery-three-quarters:before{content:"\f241"}.fa-battery-2:before,.fa-battery-half:before{content:"\f242"}.fa-battery-1:before,.fa-battery-quarter:before{content:"\f243"}.fa-battery-0:before,.fa-battery-empty:before{content:"\f244"}.fa-mouse-pointer:before{content:"\f245"}.fa-i-cursor:before{content:"\f246"}.fa-object-group:before{content:"\f247"}.fa-object-ungroup:before{content:"\f248"}.fa-sticky-note:before{content:"\f249"}.fa-sticky-note-o:before{content:"\f24a"}.fa-cc-jcb:before{content:"\f24b"}.fa-cc-diners-club:before{content:"\f24c"}.fa-clone:before{content:"\f24d"}.fa-balance-scale:before{content:"\f24e"}.fa-hourglass-o:before{content:"\f250"}.fa-hourglass-1:before,.fa-hourglass-start:before{content:"\f251"}.fa-hourglass-2:before,.fa-hourglass-half:before{content:"\f252"}.fa-hourglass-3:before,.fa-hourglass-end:before{content:"\f253"}.fa-hourglass:before{content:"\f254"}.fa-hand-grab-o:before,.fa-hand-rock-o:before{content:"\f255"}.fa-hand-stop-o:before,.fa-hand-paper-o:before{content:"\f256"}.fa-hand-scissors-o:before{content:"\f257"}.fa-hand-lizard-o:before{content:"\f258"}.fa-hand-spock-o:before{content:"\f259"}.fa-hand-pointer-o:before{content:"\f25a"}.fa-hand-peace-o:before{content:"\f25b"}.fa-trademark:before{content:"\f25c"}.fa-registered:before{content:"\f25d"}.fa-creative-commons:before{content:"\f25e"}.fa-gg:before{content:"\f260"}.fa-gg-circle:before{content:"\f261"}.fa-tripadvisor:before{content:"\f262"}.fa-odnoklassniki:before{content:"\f263"}.fa-odnoklassniki-square:before{content:"\f264"}.fa-get-pocket:before{content:"\f265"}.fa-wikipedia-w:before{content:"\f266"}.fa-safari:before{content:"\f267"}.fa-chrome:before{content:"\f268"}.fa-firefox:before{content:"\f269"}.fa-opera:before{content:"\f26a"}.fa-internet-explorer:before{content:"\f26b"}.fa-tv:before,.fa-television:before{content:"\f26c"}.fa-contao:before{content:"\f26d"}.fa-500px:before{content:"\f26e"}.fa-amazon:before{content:"\f270"}.fa-calendar-plus-o:before{content:"\f271"}.fa-calendar-minus-o:before{content:"\f272"}.fa-calendar-times-o:before{content:"\f273"}.fa-calendar-check-o:before{content:"\f274"}.fa-industry:before{content:"\f275"}.fa-map-pin:before{content:"\f276"}.fa-map-signs:before{content:"\f277"}.fa-map-o:before{content:"\f278"}.fa-map:before{content:"\f279"}.fa-commenting:before{content:"\f27a"}.fa-commenting-o:before{content:"\f27b"}.fa-houzz:before{content:"\f27c"}.fa-vimeo:before{content:"\f27d"}.fa-black-tie:before{content:"\f27e"}.fa-fonticons:before{content:"\f280"}.fa-reddit-alien:before{content:"\f281"}.fa-edge:before{content:"\f282"}.fa-credit-card-alt:before{content:"\f283"}.fa-codiepie:before{content:"\f284"}.fa-modx:before{content:"\f285"}.fa-fort-awesome:before{content:"\f286"}.fa-usb:before{content:"\f287"}.fa-product-hunt:before{content:"\f288"}.fa-mixcloud:before{content:"\f289"}.fa-scribd:before{content:"\f28a"}.fa-pause-circle:before{content:"\f28b"}.fa-pause-circle-o:before{content:"\f28c"}.fa-stop-circle:before{content:"\f28d"}.fa-stop-circle-o:before{content:"\f28e"}.fa-shopping-bag:before{content:"\f290"}.fa-shopping-basket:before{content:"\f291"}.fa-hashtag:before{content:"\f292"}.fa-bluetooth:before{content:"\f293"}.fa-bluetooth-b:before{content:"\f294"}.fa-percent:before{content:"\f295"}.fa-gitlab:before{content:"\f296"}.fa-wpbeginner:before{content:"\f297"}.fa-wpforms:before{content:"\f298"}.fa-envira:before{content:"\f299"}.fa-universal-access:before{content:"\f29a"}.fa-wheelchair-alt:before{content:"\f29b"}.fa-question-circle-o:before{content:"\f29c"}.fa-blind:before{content:"\f29d"}.fa-audio-description:before{content:"\f29e"}.fa-volume-control-phone:before{content:"\f2a0"}.fa-braille:before{content:"\f2a1"}.fa-assistive-listening-systems:before{content:"\f2a2"}.fa-asl-interpreting:before,.fa-american-sign-language-interpreting:before{content:"\f2a3"}.fa-deafness:before,.fa-hard-of-hearing:before,.fa-deaf:before{content:"\f2a4"}.fa-glide:before{content:"\f2a5"}.fa-glide-g:before{content:"\f2a6"}.fa-signing:before,.fa-sign-language:before{content:"\f2a7"}.fa-low-vision:before{content:"\f2a8"}.fa-viadeo:before{content:"\f2a9"}.fa-viadeo-square:before{content:"\f2aa"}.fa-snapchat:before{content:"\f2ab"}.fa-snapchat-ghost:before{content:"\f2ac"}.fa-snapchat-square:before{content:"\f2ad"}.fa-pied-piper:before{content:"\f2ae"}.fa-first-order:before{content:"\f2b0"}.fa-yoast:before{content:"\f2b1"}.fa-themeisle:before{content:"\f2b2"}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0, 0, 0, 0);border:0}.sr-only-focusable:active,.sr-only-focusable:focus{position:static;width:auto;height:auto;margin:0;overflow:visible;clip:auto}
 
 
 
 
assets/global/css/fontawesome.min.css ADDED
@@ -0,0 +1,5 @@
 
 
 
 
 
1
+ /*!
2
+ * Font Awesome Free 5.0.8 by @fontawesome - https://fontawesome.com
3
+ * License - https://fontawesome.com/license (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License)
4
+ */
5
+ .fa,.fab,.fal,.far,.fas{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;display:inline-block;font-style:normal;font-variant:normal;text-rendering:auto;line-height:1}.fa-lg{font-size:1.33333em;line-height:.75em;vertical-align:-.0667em}.fa-xs{font-size:.75em}.fa-sm{font-size:.875em}.fa-1x{font-size:1em}.fa-2x{font-size:2em}.fa-3x{font-size:3em}.fa-4x{font-size:4em}.fa-5x{font-size:5em}.fa-6x{font-size:6em}.fa-7x{font-size:7em}.fa-8x{font-size:8em}.fa-9x{font-size:9em}.fa-10x{font-size:10em}.fa-fw{text-align:center;width:1.25em}.fa-ul{list-style-type:none;margin-left:2.5em;padding-left:0}.fa-ul>li{position:relative}.fa-li{left:-2em;position:absolute;text-align:center;width:2em;line-height:inherit}.fa-border{border:.08em solid #eee;border-radius:.1em;padding:.2em .25em .15em}.fa-pull-left{float:left}.fa-pull-right{float:right}.fa.fa-pull-left,.fab.fa-pull-left,.fal.fa-pull-left,.far.fa-pull-left,.fas.fa-pull-left{margin-right:.3em}.fa.fa-pull-right,.fab.fa-pull-right,.fal.fa-pull-right,.far.fa-pull-right,.fas.fa-pull-right{margin-left:.3em}.fa-spin{-webkit-animation:a 2s infinite linear;animation:a 2s infinite linear}.fa-pulse{-webkit-animation:a 1s infinite steps(8);animation:a 1s infinite steps(8)}@-webkit-keyframes a{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}to{-webkit-transform:rotate(1turn);transform:rotate(1turn)}}@keyframes a{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}to{-webkit-transform:rotate(1turn);transform:rotate(1turn)}}.fa-rotate-90{-ms-filter:"progid:DXImageTransform.Microsoft.BasicImage(rotation=1)";-webkit-transform:rotate(90deg);transform:rotate(90deg)}.fa-rotate-180{-ms-filter:"progid:DXImageTransform.Microsoft.BasicImage(rotation=2)";-webkit-transform:rotate(180deg);transform:rotate(180deg)}.fa-rotate-270{-ms-filter:"progid:DXImageTransform.Microsoft.BasicImage(rotation=3)";-webkit-transform:rotate(270deg);transform:rotate(270deg)}.fa-flip-horizontal{-ms-filter:"progid:DXImageTransform.Microsoft.BasicImage(rotation=0, mirror=1)";-webkit-transform:scaleX(-1);transform:scaleX(-1)}.fa-flip-vertical{-webkit-transform:scaleY(-1);transform:scaleY(-1)}.fa-flip-horizontal.fa-flip-vertical,.fa-flip-vertical{-ms-filter:"progid:DXImageTransform.Microsoft.BasicImage(rotation=2, mirror=1)"}.fa-flip-horizontal.fa-flip-vertical{-webkit-transform:scale(-1);transform:scale(-1)}:root .fa-flip-horizontal,:root .fa-flip-vertical,:root .fa-rotate-90,:root .fa-rotate-180,:root .fa-rotate-270{-webkit-filter:none;filter:none}.fa-stack{display:inline-block;height:2em;line-height:2em;position:relative;vertical-align:middle;width:2em}.fa-stack-1x,.fa-stack-2x{left:0;position:absolute;text-align:center;width:100%}.fa-stack-1x{line-height:inherit}.fa-stack-2x{font-size:2em}.fa-inverse{color:#fff}.fa-500px:before{content:"\f26e"}.fa-accessible-icon:before{content:"\f368"}.fa-accusoft:before{content:"\f369"}.fa-address-book:before{content:"\f2b9"}.fa-address-card:before{content:"\f2bb"}.fa-adjust:before{content:"\f042"}.fa-adn:before{content:"\f170"}.fa-adversal:before{content:"\f36a"}.fa-affiliatetheme:before{content:"\f36b"}.fa-algolia:before{content:"\f36c"}.fa-align-center:before{content:"\f037"}.fa-align-justify:before{content:"\f039"}.fa-align-left:before{content:"\f036"}.fa-align-right:before{content:"\f038"}.fa-amazon:before{content:"\f270"}.fa-amazon-pay:before{content:"\f42c"}.fa-ambulance:before{content:"\f0f9"}.fa-american-sign-language-interpreting:before{content:"\f2a3"}.fa-amilia:before{content:"\f36d"}.fa-anchor:before{content:"\f13d"}.fa-android:before{content:"\f17b"}.fa-angellist:before{content:"\f209"}.fa-angle-double-down:before{content:"\f103"}.fa-angle-double-left:before{content:"\f100"}.fa-angle-double-right:before{content:"\f101"}.fa-angle-double-up:before{content:"\f102"}.fa-angle-down:before{content:"\f107"}.fa-angle-left:before{content:"\f104"}.fa-angle-right:before{content:"\f105"}.fa-angle-up:before{content:"\f106"}.fa-angrycreative:before{content:"\f36e"}.fa-angular:before{content:"\f420"}.fa-app-store:before{content:"\f36f"}.fa-app-store-ios:before{content:"\f370"}.fa-apper:before{content:"\f371"}.fa-apple:before{content:"\f179"}.fa-apple-pay:before{content:"\f415"}.fa-archive:before{content:"\f187"}.fa-arrow-alt-circle-down:before{content:"\f358"}.fa-arrow-alt-circle-left:before{content:"\f359"}.fa-arrow-alt-circle-right:before{content:"\f35a"}.fa-arrow-alt-circle-up:before{content:"\f35b"}.fa-arrow-circle-down:before{content:"\f0ab"}.fa-arrow-circle-left:before{content:"\f0a8"}.fa-arrow-circle-right:before{content:"\f0a9"}.fa-arrow-circle-up:before{content:"\f0aa"}.fa-arrow-down:before{content:"\f063"}.fa-arrow-left:before{content:"\f060"}.fa-arrow-right:before{content:"\f061"}.fa-arrow-up:before{content:"\f062"}.fa-arrows-alt:before{content:"\f0b2"}.fa-arrows-alt-h:before{content:"\f337"}.fa-arrows-alt-v:before{content:"\f338"}.fa-assistive-listening-systems:before{content:"\f2a2"}.fa-asterisk:before{content:"\f069"}.fa-asymmetrik:before{content:"\f372"}.fa-at:before{content:"\f1fa"}.fa-audible:before{content:"\f373"}.fa-audio-description:before{content:"\f29e"}.fa-autoprefixer:before{content:"\f41c"}.fa-avianex:before{content:"\f374"}.fa-aviato:before{content:"\f421"}.fa-aws:before{content:"\f375"}.fa-backward:before{content:"\f04a"}.fa-balance-scale:before{content:"\f24e"}.fa-ban:before{content:"\f05e"}.fa-band-aid:before{content:"\f462"}.fa-bandcamp:before{content:"\f2d5"}.fa-barcode:before{content:"\f02a"}.fa-bars:before{content:"\f0c9"}.fa-baseball-ball:before{content:"\f433"}.fa-basketball-ball:before{content:"\f434"}.fa-bath:before{content:"\f2cd"}.fa-battery-empty:before{content:"\f244"}.fa-battery-full:before{content:"\f240"}.fa-battery-half:before{content:"\f242"}.fa-battery-quarter:before{content:"\f243"}.fa-battery-three-quarters:before{content:"\f241"}.fa-bed:before{content:"\f236"}.fa-beer:before{content:"\f0fc"}.fa-behance:before{content:"\f1b4"}.fa-behance-square:before{content:"\f1b5"}.fa-bell:before{content:"\f0f3"}.fa-bell-slash:before{content:"\f1f6"}.fa-bicycle:before{content:"\f206"}.fa-bimobject:before{content:"\f378"}.fa-binoculars:before{content:"\f1e5"}.fa-birthday-cake:before{content:"\f1fd"}.fa-bitbucket:before{content:"\f171"}.fa-bitcoin:before{content:"\f379"}.fa-bity:before{content:"\f37a"}.fa-black-tie:before{content:"\f27e"}.fa-blackberry:before{content:"\f37b"}.fa-blind:before{content:"\f29d"}.fa-blogger:before{content:"\f37c"}.fa-blogger-b:before{content:"\f37d"}.fa-bluetooth:before{content:"\f293"}.fa-bluetooth-b:before{content:"\f294"}.fa-bold:before{content:"\f032"}.fa-bolt:before{content:"\f0e7"}.fa-bomb:before{content:"\f1e2"}.fa-book:before{content:"\f02d"}.fa-bookmark:before{content:"\f02e"}.fa-bowling-ball:before{content:"\f436"}.fa-box:before{content:"\f466"}.fa-boxes:before{content:"\f468"}.fa-braille:before{content:"\f2a1"}.fa-briefcase:before{content:"\f0b1"}.fa-btc:before{content:"\f15a"}.fa-bug:before{content:"\f188"}.fa-building:before{content:"\f1ad"}.fa-bullhorn:before{content:"\f0a1"}.fa-bullseye:before{content:"\f140"}.fa-buromobelexperte:before{content:"\f37f"}.fa-bus:before{content:"\f207"}.fa-buysellads:before{content:"\f20d"}.fa-calculator:before{content:"\f1ec"}.fa-calendar:before{content:"\f133"}.fa-calendar-alt:before{content:"\f073"}.fa-calendar-check:before{content:"\f274"}.fa-calendar-minus:before{content:"\f272"}.fa-calendar-plus:before{content:"\f271"}.fa-calendar-times:before{content:"\f273"}.fa-camera:before{content:"\f030"}.fa-camera-retro:before{content:"\f083"}.fa-car:before{content:"\f1b9"}.fa-caret-down:before{content:"\f0d7"}.fa-caret-left:before{content:"\f0d9"}.fa-caret-right:before{content:"\f0da"}.fa-caret-square-down:before{content:"\f150"}.fa-caret-square-left:before{content:"\f191"}.fa-caret-square-right:before{content:"\f152"}.fa-caret-square-up:before{content:"\f151"}.fa-caret-up:before{content:"\f0d8"}.fa-cart-arrow-down:before{content:"\f218"}.fa-cart-plus:before{content:"\f217"}.fa-cc-amazon-pay:before{content:"\f42d"}.fa-cc-amex:before{content:"\f1f3"}.fa-cc-apple-pay:before{content:"\f416"}.fa-cc-diners-club:before{content:"\f24c"}.fa-cc-discover:before{content:"\f1f2"}.fa-cc-jcb:before{content:"\f24b"}.fa-cc-mastercard:before{content:"\f1f1"}.fa-cc-paypal:before{content:"\f1f4"}.fa-cc-stripe:before{content:"\f1f5"}.fa-cc-visa:before{content:"\f1f0"}.fa-centercode:before{content:"\f380"}.fa-certificate:before{content:"\f0a3"}.fa-chart-area:before{content:"\f1fe"}.fa-chart-bar:before{content:"\f080"}.fa-chart-line:before{content:"\f201"}.fa-chart-pie:before{content:"\f200"}.fa-check:before{content:"\f00c"}.fa-check-circle:before{content:"\f058"}.fa-check-square:before{content:"\f14a"}.fa-chess:before{content:"\f439"}.fa-chess-bishop:before{content:"\f43a"}.fa-chess-board:before{content:"\f43c"}.fa-chess-king:before{content:"\f43f"}.fa-chess-knight:before{content:"\f441"}.fa-chess-pawn:before{content:"\f443"}.fa-chess-queen:before{content:"\f445"}.fa-chess-rook:before{content:"\f447"}.fa-chevron-circle-down:before{content:"\f13a"}.fa-chevron-circle-left:before{content:"\f137"}.fa-chevron-circle-right:before{content:"\f138"}.fa-chevron-circle-up:before{content:"\f139"}.fa-chevron-down:before{content:"\f078"}.fa-chevron-left:before{content:"\f053"}.fa-chevron-right:before{content:"\f054"}.fa-chevron-up:before{content:"\f077"}.fa-child:before{content:"\f1ae"}.fa-chrome:before{content:"\f268"}.fa-circle:before{content:"\f111"}.fa-circle-notch:before{content:"\f1ce"}.fa-clipboard:before{content:"\f328"}.fa-clipboard-check:before{content:"\f46c"}.fa-clipboard-list:before{content:"\f46d"}.fa-clock:before{content:"\f017"}.fa-clone:before{content:"\f24d"}.fa-closed-captioning:before{content:"\f20a"}.fa-cloud:before{content:"\f0c2"}.fa-cloud-download-alt:before{content:"\f381"}.fa-cloud-upload-alt:before{content:"\f382"}.fa-cloudscale:before{content:"\f383"}.fa-cloudsmith:before{content:"\f384"}.fa-cloudversify:before{content:"\f385"}.fa-code:before{content:"\f121"}.fa-code-branch:before{content:"\f126"}.fa-codepen:before{content:"\f1cb"}.fa-codiepie:before{content:"\f284"}.fa-coffee:before{content:"\f0f4"}.fa-cog:before{content:"\f013"}.fa-cogs:before{content:"\f085"}.fa-columns:before{content:"\f0db"}.fa-comment:before{content:"\f075"}.fa-comment-alt:before{content:"\f27a"}.fa-comments:before{content:"\f086"}.fa-compass:before{content:"\f14e"}.fa-compress:before{content:"\f066"}.fa-connectdevelop:before{content:"\f20e"}.fa-contao:before{content:"\f26d"}.fa-copy:before{content:"\f0c5"}.fa-copyright:before{content:"\f1f9"}.fa-cpanel:before{content:"\f388"}.fa-creative-commons:before{content:"\f25e"}.fa-credit-card:before{content:"\f09d"}.fa-crop:before{content:"\f125"}.fa-crosshairs:before{content:"\f05b"}.fa-css3:before{content:"\f13c"}.fa-css3-alt:before{content:"\f38b"}.fa-cube:before{content:"\f1b2"}.fa-cubes:before{content:"\f1b3"}.fa-cut:before{content:"\f0c4"}.fa-cuttlefish:before{content:"\f38c"}.fa-d-and-d:before{content:"\f38d"}.fa-dashcube:before{content:"\f210"}.fa-database:before{content:"\f1c0"}.fa-deaf:before{content:"\f2a4"}.fa-delicious:before{content:"\f1a5"}.fa-deploydog:before{content:"\f38e"}.fa-deskpro:before{content:"\f38f"}.fa-desktop:before{content:"\f108"}.fa-deviantart:before{content:"\f1bd"}.fa-digg:before{content:"\f1a6"}.fa-digital-ocean:before{content:"\f391"}.fa-discord:before{content:"\f392"}.fa-discourse:before{content:"\f393"}.fa-dna:before{content:"\f471"}.fa-dochub:before{content:"\f394"}.fa-docker:before{content:"\f395"}.fa-dollar-sign:before{content:"\f155"}.fa-dolly:before{content:"\f472"}.fa-dolly-flatbed:before{content:"\f474"}.fa-dot-circle:before{content:"\f192"}.fa-download:before{content:"\f019"}.fa-draft2digital:before{content:"\f396"}.fa-dribbble:before{content:"\f17d"}.fa-dribbble-square:before{content:"\f397"}.fa-dropbox:before{content:"\f16b"}.fa-drupal:before{content:"\f1a9"}.fa-dyalog:before{content:"\f399"}.fa-earlybirds:before{content:"\f39a"}.fa-edge:before{content:"\f282"}.fa-edit:before{content:"\f044"}.fa-eject:before{content:"\f052"}.fa-elementor:before{content:"\f430"}.fa-ellipsis-h:before{content:"\f141"}.fa-ellipsis-v:before{content:"\f142"}.fa-ember:before{content:"\f423"}.fa-empire:before{content:"\f1d1"}.fa-envelope:before{content:"\f0e0"}.fa-envelope-open:before{content:"\f2b6"}.fa-envelope-square:before{content:"\f199"}.fa-envira:before{content:"\f299"}.fa-eraser:before{content:"\f12d"}.fa-erlang:before{content:"\f39d"}.fa-ethereum:before{content:"\f42e"}.fa-etsy:before{content:"\f2d7"}.fa-euro-sign:before{content:"\f153"}.fa-exchange-alt:before{content:"\f362"}.fa-exclamation:before{content:"\f12a"}.fa-exclamation-circle:before{content:"\f06a"}.fa-exclamation-triangle:before{content:"\f071"}.fa-expand:before{content:"\f065"}.fa-expand-arrows-alt:before{content:"\f31e"}.fa-expeditedssl:before{content:"\f23e"}.fa-external-link-alt:before{content:"\f35d"}.fa-external-link-square-alt:before{content:"\f360"}.fa-eye:before{content:"\f06e"}.fa-eye-dropper:before{content:"\f1fb"}.fa-eye-slash:before{content:"\f070"}.fa-facebook:before{content:"\f09a"}.fa-facebook-f:before{content:"\f39e"}.fa-facebook-messenger:before{content:"\f39f"}.fa-facebook-square:before{content:"\f082"}.fa-fast-backward:before{content:"\f049"}.fa-fast-forward:before{content:"\f050"}.fa-fax:before{content:"\f1ac"}.fa-female:before{content:"\f182"}.fa-fighter-jet:before{content:"\f0fb"}.fa-file:before{content:"\f15b"}.fa-file-alt:before{content:"\f15c"}.fa-file-archive:before{content:"\f1c6"}.fa-file-audio:before{content:"\f1c7"}.fa-file-code:before{content:"\f1c9"}.fa-file-excel:before{content:"\f1c3"}.fa-file-image:before{content:"\f1c5"}.fa-file-pdf:before{content:"\f1c1"}.fa-file-powerpoint:before{content:"\f1c4"}.fa-file-video:before{content:"\f1c8"}.fa-file-word:before{content:"\f1c2"}.fa-film:before{content:"\f008"}.fa-filter:before{content:"\f0b0"}.fa-fire:before{content:"\f06d"}.fa-fire-extinguisher:before{content:"\f134"}.fa-firefox:before{content:"\f269"}.fa-first-aid:before{content:"\f479"}.fa-first-order:before{content:"\f2b0"}.fa-firstdraft:before{content:"\f3a1"}.fa-flag:before{content:"\f024"}.fa-flag-checkered:before{content:"\f11e"}.fa-flask:before{content:"\f0c3"}.fa-flickr:before{content:"\f16e"}.fa-flipboard:before{content:"\f44d"}.fa-fly:before{content:"\f417"}.fa-folder:before{content:"\f07b"}.fa-folder-open:before{content:"\f07c"}.fa-font:before{content:"\f031"}.fa-font-awesome:before{content:"\f2b4"}.fa-font-awesome-alt:before{content:"\f35c"}.fa-font-awesome-flag:before{content:"\f425"}.fa-fonticons:before{content:"\f280"}.fa-fonticons-fi:before{content:"\f3a2"}.fa-football-ball:before{content:"\f44e"}.fa-fort-awesome:before{content:"\f286"}.fa-fort-awesome-alt:before{content:"\f3a3"}.fa-forumbee:before{content:"\f211"}.fa-forward:before{content:"\f04e"}.fa-foursquare:before{content:"\f180"}.fa-free-code-camp:before{content:"\f2c5"}.fa-freebsd:before{content:"\f3a4"}.fa-frown:before{content:"\f119"}.fa-futbol:before{content:"\f1e3"}.fa-gamepad:before{content:"\f11b"}.fa-gavel:before{content:"\f0e3"}.fa-gem:before{content:"\f3a5"}.fa-genderless:before{content:"\f22d"}.fa-get-pocket:before{content:"\f265"}.fa-gg:before{content:"\f260"}.fa-gg-circle:before{content:"\f261"}.fa-gift:before{content:"\f06b"}.fa-git:before{content:"\f1d3"}.fa-git-square:before{content:"\f1d2"}.fa-github:before{content:"\f09b"}.fa-github-alt:before{content:"\f113"}.fa-github-square:before{content:"\f092"}.fa-gitkraken:before{content:"\f3a6"}.fa-gitlab:before{content:"\f296"}.fa-gitter:before{content:"\f426"}.fa-glass-martini:before{content:"\f000"}.fa-glide:before{content:"\f2a5"}.fa-glide-g:before{content:"\f2a6"}.fa-globe:before{content:"\f0ac"}.fa-gofore:before{content:"\f3a7"}.fa-golf-ball:before{content:"\f450"}.fa-goodreads:before{content:"\f3a8"}.fa-goodreads-g:before{content:"\f3a9"}.fa-google:before{content:"\f1a0"}.fa-google-drive:before{content:"\f3aa"}.fa-google-play:before{content:"\f3ab"}.fa-google-plus:before{content:"\f2b3"}.fa-google-plus-g:before{content:"\f0d5"}.fa-google-plus-square:before{content:"\f0d4"}.fa-google-wallet:before{content:"\f1ee"}.fa-graduation-cap:before{content:"\f19d"}.fa-gratipay:before{content:"\f184"}.fa-grav:before{content:"\f2d6"}.fa-gripfire:before{content:"\f3ac"}.fa-grunt:before{content:"\f3ad"}.fa-gulp:before{content:"\f3ae"}.fa-h-square:before{content:"\f0fd"}.fa-hacker-news:before{content:"\f1d4"}.fa-hacker-news-square:before{content:"\f3af"}.fa-hand-lizard:before{content:"\f258"}.fa-hand-paper:before{content:"\f256"}.fa-hand-peace:before{content:"\f25b"}.fa-hand-point-down:before{content:"\f0a7"}.fa-hand-point-left:before{content:"\f0a5"}.fa-hand-point-right:before{content:"\f0a4"}.fa-hand-point-up:before{content:"\f0a6"}.fa-hand-pointer:before{content:"\f25a"}.fa-hand-rock:before{content:"\f255"}.fa-hand-scissors:before{content:"\f257"}.fa-hand-spock:before{content:"\f259"}.fa-handshake:before{content:"\f2b5"}.fa-hashtag:before{content:"\f292"}.fa-hdd:before{content:"\f0a0"}.fa-heading:before{content:"\f1dc"}.fa-headphones:before{content:"\f025"}.fa-heart:before{content:"\f004"}.fa-heartbeat:before{content:"\f21e"}.fa-hips:before{content:"\f452"}.fa-hire-a-helper:before{content:"\f3b0"}.fa-history:before{content:"\f1da"}.fa-hockey-puck:before{content:"\f453"}.fa-home:before{content:"\f015"}.fa-hooli:before{content:"\f427"}.fa-hospital:before{content:"\f0f8"}.fa-hospital-symbol:before{content:"\f47e"}.fa-hotjar:before{content:"\f3b1"}.fa-hourglass:before{content:"\f254"}.fa-hourglass-end:before{content:"\f253"}.fa-hourglass-half:before{content:"\f252"}.fa-hourglass-start:before{content:"\f251"}.fa-houzz:before{content:"\f27c"}.fa-html5:before{content:"\f13b"}.fa-hubspot:before{content:"\f3b2"}.fa-i-cursor:before{content:"\f246"}.fa-id-badge:before{content:"\f2c1"}.fa-id-card:before{content:"\f2c2"}.fa-image:before{content:"\f03e"}.fa-images:before{content:"\f302"}.fa-imdb:before{content:"\f2d8"}.fa-inbox:before{content:"\f01c"}.fa-indent:before{content:"\f03c"}.fa-industry:before{content:"\f275"}.fa-info:before{content:"\f129"}.fa-info-circle:before{content:"\f05a"}.fa-instagram:before{content:"\f16d"}.fa-internet-explorer:before{content:"\f26b"}.fa-ioxhost:before{content:"\f208"}.fa-italic:before{content:"\f033"}.fa-itunes:before{content:"\f3b4"}.fa-itunes-note:before{content:"\f3b5"}.fa-jenkins:before{content:"\f3b6"}.fa-joget:before{content:"\f3b7"}.fa-joomla:before{content:"\f1aa"}.fa-js:before{content:"\f3b8"}.fa-js-square:before{content:"\f3b9"}.fa-jsfiddle:before{content:"\f1cc"}.fa-key:before{content:"\f084"}.fa-keyboard:before{content:"\f11c"}.fa-keycdn:before{content:"\f3ba"}.fa-kickstarter:before{content:"\f3bb"}.fa-kickstarter-k:before{content:"\f3bc"}.fa-korvue:before{content:"\f42f"}.fa-language:before{content:"\f1ab"}.fa-laptop:before{content:"\f109"}.fa-laravel:before{content:"\f3bd"}.fa-lastfm:before{content:"\f202"}.fa-lastfm-square:before{content:"\f203"}.fa-leaf:before{content:"\f06c"}.fa-leanpub:before{content:"\f212"}.fa-lemon:before{content:"\f094"}.fa-less:before{content:"\f41d"}.fa-level-down-alt:before{content:"\f3be"}.fa-level-up-alt:before{content:"\f3bf"}.fa-life-ring:before{content:"\f1cd"}.fa-lightbulb:before{content:"\f0eb"}.fa-line:before{content:"\f3c0"}.fa-link:before{content:"\f0c1"}.fa-linkedin:before{content:"\f08c"}.fa-linkedin-in:before{content:"\f0e1"}.fa-linode:before{content:"\f2b8"}.fa-linux:before{content:"\f17c"}.fa-lira-sign:before{content:"\f195"}.fa-list:before{content:"\f03a"}.fa-list-alt:before{content:"\f022"}.fa-list-ol:before{content:"\f0cb"}.fa-list-ul:before{content:"\f0ca"}.fa-location-arrow:before{content:"\f124"}.fa-lock:before{content:"\f023"}.fa-lock-open:before{content:"\f3c1"}.fa-long-arrow-alt-down:before{content:"\f309"}.fa-long-arrow-alt-left:before{content:"\f30a"}.fa-long-arrow-alt-right:before{content:"\f30b"}.fa-long-arrow-alt-up:before{content:"\f30c"}.fa-low-vision:before{content:"\f2a8"}.fa-lyft:before{content:"\f3c3"}.fa-magento:before{content:"\f3c4"}.fa-magic:before{content:"\f0d0"}.fa-magnet:before{content:"\f076"}.fa-male:before{content:"\f183"}.fa-map:before{content:"\f279"}.fa-map-marker:before{content:"\f041"}.fa-map-marker-alt:before{content:"\f3c5"}.fa-map-pin:before{content:"\f276"}.fa-map-signs:before{content:"\f277"}.fa-mars:before{content:"\f222"}.fa-mars-double:before{content:"\f227"}.fa-mars-stroke:before{content:"\f229"}.fa-mars-stroke-h:before{content:"\f22b"}.fa-mars-stroke-v:before{content:"\f22a"}.fa-maxcdn:before{content:"\f136"}.fa-medapps:before{content:"\f3c6"}.fa-medium:before{content:"\f23a"}.fa-medium-m:before{content:"\f3c7"}.fa-medkit:before{content:"\f0fa"}.fa-medrt:before{content:"\f3c8"}.fa-meetup:before{content:"\f2e0"}.fa-meh:before{content:"\f11a"}.fa-mercury:before{content:"\f223"}.fa-microchip:before{content:"\f2db"}.fa-microphone:before{content:"\f130"}.fa-microphone-slash:before{content:"\f131"}.fa-microsoft:before{content:"\f3ca"}.fa-minus:before{content:"\f068"}.fa-minus-circle:before{content:"\f056"}.fa-minus-square:before{content:"\f146"}.fa-mix:before{content:"\f3cb"}.fa-mixcloud:before{content:"\f289"}.fa-mizuni:before{content:"\f3cc"}.fa-mobile:before{content:"\f10b"}.fa-mobile-alt:before{content:"\f3cd"}.fa-modx:before{content:"\f285"}.fa-monero:before{content:"\f3d0"}.fa-money-bill-alt:before{content:"\f3d1"}.fa-moon:before{content:"\f186"}.fa-motorcycle:before{content:"\f21c"}.fa-mouse-pointer:before{content:"\f245"}.fa-music:before{content:"\f001"}.fa-napster:before{content:"\f3d2"}.fa-neuter:before{content:"\f22c"}.fa-newspaper:before{content:"\f1ea"}.fa-nintendo-switch:before{content:"\f418"}.fa-node:before{content:"\f419"}.fa-node-js:before{content:"\f3d3"}.fa-npm:before{content:"\f3d4"}.fa-ns8:before{content:"\f3d5"}.fa-nutritionix:before{content:"\f3d6"}.fa-object-group:before{content:"\f247"}.fa-object-ungroup:before{content:"\f248"}.fa-odnoklassniki:before{content:"\f263"}.fa-odnoklassniki-square:before{content:"\f264"}.fa-opencart:before{content:"\f23d"}.fa-openid:before{content:"\f19b"}.fa-opera:before{content:"\f26a"}.fa-optin-monster:before{content:"\f23c"}.fa-osi:before{content:"\f41a"}.fa-outdent:before{content:"\f03b"}.fa-page4:before{content:"\f3d7"}.fa-pagelines:before{content:"\f18c"}.fa-paint-brush:before{content:"\f1fc"}.fa-palfed:before{content:"\f3d8"}.fa-pallet:before{content:"\f482"}.fa-paper-plane:before{content:"\f1d8"}.fa-paperclip:before{content:"\f0c6"}.fa-paragraph:before{content:"\f1dd"}.fa-paste:before{content:"\f0ea"}.fa-patreon:before{content:"\f3d9"}.fa-pause:before{content:"\f04c"}.fa-pause-circle:before{content:"\f28b"}.fa-paw:before{content:"\f1b0"}.fa-paypal:before{content:"\f1ed"}.fa-pen-square:before{content:"\f14b"}.fa-pencil-alt:before{content:"\f303"}.fa-percent:before{content:"\f295"}.fa-periscope:before{content:"\f3da"}.fa-phabricator:before{content:"\f3db"}.fa-phoenix-framework:before{content:"\f3dc"}.fa-phone:before{content:"\f095"}.fa-phone-square:before{content:"\f098"}.fa-phone-volume:before{content:"\f2a0"}.fa-php:before{content:"\f457"}.fa-pied-piper:before{content:"\f2ae"}.fa-pied-piper-alt:before{content:"\f1a8"}.fa-pied-piper-pp:before{content:"\f1a7"}.fa-pills:before{content:"\f484"}.fa-pinterest:before{content:"\f0d2"}.fa-pinterest-p:before{content:"\f231"}.fa-pinterest-square:before{content:"\f0d3"}.fa-plane:before{content:"\f072"}.fa-play:before{content:"\f04b"}.fa-play-circle:before{content:"\f144"}.fa-playstation:before{content:"\f3df"}.fa-plug:before{content:"\f1e6"}.fa-plus:before{content:"\f067"}.fa-plus-circle:before{content:"\f055"}.fa-plus-square:before{content:"\f0fe"}.fa-podcast:before{content:"\f2ce"}.fa-pound-sign:before{content:"\f154"}.fa-power-off:before{content:"\f011"}.fa-print:before{content:"\f02f"}.fa-product-hunt:before{content:"\f288"}.fa-pushed:before{content:"\f3e1"}.fa-puzzle-piece:before{content:"\f12e"}.fa-python:before{content:"\f3e2"}.fa-qq:before{content:"\f1d6"}.fa-qrcode:before{content:"\f029"}.fa-question:before{content:"\f128"}.fa-question-circle:before{content:"\f059"}.fa-quidditch:before{content:"\f458"}.fa-quinscape:before{content:"\f459"}.fa-quora:before{content:"\f2c4"}.fa-quote-left:before{content:"\f10d"}.fa-quote-right:before{content:"\f10e"}.fa-random:before{content:"\f074"}.fa-ravelry:before{content:"\f2d9"}.fa-react:before{content:"\f41b"}.fa-rebel:before{content:"\f1d0"}.fa-recycle:before{content:"\f1b8"}.fa-red-river:before{content:"\f3e3"}.fa-reddit:before{content:"\f1a1"}.fa-reddit-alien:before{content:"\f281"}.fa-reddit-square:before{content:"\f1a2"}.fa-redo:before{content:"\f01e"}.fa-redo-alt:before{content:"\f2f9"}.fa-registered:before{content:"\f25d"}.fa-rendact:before{content:"\f3e4"}.fa-renren:before{content:"\f18b"}.fa-reply:before{content:"\f3e5"}.fa-reply-all:before{content:"\f122"}.fa-replyd:before{content:"\f3e6"}.fa-resolving:before{content:"\f3e7"}.fa-retweet:before{content:"\f079"}.fa-road:before{content:"\f018"}.fa-rocket:before{content:"\f135"}.fa-rocketchat:before{content:"\f3e8"}.fa-rockrms:before{content:"\f3e9"}.fa-rss:before{content:"\f09e"}.fa-rss-square:before{content:"\f143"}.fa-ruble-sign:before{content:"\f158"}.fa-rupee-sign:before{content:"\f156"}.fa-safari:before{content:"\f267"}.fa-sass:before{content:"\f41e"}.fa-save:before{content:"\f0c7"}.fa-schlix:before{content:"\f3ea"}.fa-scribd:before{content:"\f28a"}.fa-search:before{content:"\f002"}.fa-search-minus:before{content:"\f010"}.fa-search-plus:before{content:"\f00e"}.fa-searchengin:before{content:"\f3eb"}.fa-sellcast:before{content:"\f2da"}.fa-sellsy:before{content:"\f213"}.fa-server:before{content:"\f233"}.fa-servicestack:before{content:"\f3ec"}.fa-share:before{content:"\f064"}.fa-share-alt:before{content:"\f1e0"}.fa-share-alt-square:before{content:"\f1e1"}.fa-share-square:before{content:"\f14d"}.fa-shekel-sign:before{content:"\f20b"}.fa-shield-alt:before{content:"\f3ed"}.fa-ship:before{content:"\f21a"}.fa-shipping-fast:before{content:"\f48b"}.fa-shirtsinbulk:before{content:"\f214"}.fa-shopping-bag:before{content:"\f290"}.fa-shopping-basket:before{content:"\f291"}.fa-shopping-cart:before{content:"\f07a"}.fa-shower:before{content:"\f2cc"}.fa-sign-in-alt:before{content:"\f2f6"}.fa-sign-language:before{content:"\f2a7"}.fa-sign-out-alt:before{content:"\f2f5"}.fa-signal:before{content:"\f012"}.fa-simplybuilt:before{content:"\f215"}.fa-sistrix:before{content:"\f3ee"}.fa-sitemap:before{content:"\f0e8"}.fa-skyatlas:before{content:"\f216"}.fa-skype:before{content:"\f17e"}.fa-slack:before{content:"\f198"}.fa-slack-hash:before{content:"\f3ef"}.fa-sliders-h:before{content:"\f1de"}.fa-slideshare:before{content:"\f1e7"}.fa-smile:before{content:"\f118"}.fa-snapchat:before{content:"\f2ab"}.fa-snapchat-ghost:before{content:"\f2ac"}.fa-snapchat-square:before{content:"\f2ad"}.fa-snowflake:before{content:"\f2dc"}.fa-sort:before{content:"\f0dc"}.fa-sort-alpha-down:before{content:"\f15d"}.fa-sort-alpha-up:before{content:"\f15e"}.fa-sort-amount-down:before{content:"\f160"}.fa-sort-amount-up:before{content:"\f161"}.fa-sort-down:before{content:"\f0dd"}.fa-sort-numeric-down:before{content:"\f162"}.fa-sort-numeric-up:before{content:"\f163"}.fa-sort-up:before{content:"\f0de"}.fa-soundcloud:before{content:"\f1be"}.fa-space-shuttle:before{content:"\f197"}.fa-speakap:before{content:"\f3f3"}.fa-spinner:before{content:"\f110"}.fa-spotify:before{content:"\f1bc"}.fa-square:before{content:"\f0c8"}.fa-square-full:before{content:"\f45c"}.fa-stack-exchange:before{content:"\f18d"}.fa-stack-overflow:before{content:"\f16c"}.fa-star:before{content:"\f005"}.fa-star-half:before{content:"\f089"}.fa-staylinked:before{content:"\f3f5"}.fa-steam:before{content:"\f1b6"}.fa-steam-square:before{content:"\f1b7"}.fa-steam-symbol:before{content:"\f3f6"}.fa-step-backward:before{content:"\f048"}.fa-step-forward:before{content:"\f051"}.fa-stethoscope:before{content:"\f0f1"}.fa-sticker-mule:before{content:"\f3f7"}.fa-sticky-note:before{content:"\f249"}.fa-stop:before{content:"\f04d"}.fa-stop-circle:before{content:"\f28d"}.fa-stopwatch:before{content:"\f2f2"}.fa-strava:before{content:"\f428"}.fa-street-view:before{content:"\f21d"}.fa-strikethrough:before{content:"\f0cc"}.fa-stripe:before{content:"\f429"}.fa-stripe-s:before{content:"\f42a"}.fa-studiovinari:before{content:"\f3f8"}.fa-stumbleupon:before{content:"\f1a4"}.fa-stumbleupon-circle:before{content:"\f1a3"}.fa-subscript:before{content:"\f12c"}.fa-subway:before{content:"\f239"}.fa-suitcase:before{content:"\f0f2"}.fa-sun:before{content:"\f185"}.fa-superpowers:before{content:"\f2dd"}.fa-superscript:before{content:"\f12b"}.fa-supple:before{content:"\f3f9"}.fa-sync:before{content:"\f021"}.fa-sync-alt:before{content:"\f2f1"}.fa-syringe:before{content:"\f48e"}.fa-table:before{content:"\f0ce"}.fa-table-tennis:before{content:"\f45d"}.fa-tablet:before{content:"\f10a"}.fa-tablet-alt:before{content:"\f3fa"}.fa-tachometer-alt:before{content:"\f3fd"}.fa-tag:before{content:"\f02b"}.fa-tags:before{content:"\f02c"}.fa-tasks:before{content:"\f0ae"}.fa-taxi:before{content:"\f1ba"}.fa-telegram:before{content:"\f2c6"}.fa-telegram-plane:before{content:"\f3fe"}.fa-tencent-weibo:before{content:"\f1d5"}.fa-terminal:before{content:"\f120"}.fa-text-height:before{content:"\f034"}.fa-text-width:before{content:"\f035"}.fa-th:before{content:"\f00a"}.fa-th-large:before{content:"\f009"}.fa-th-list:before{content:"\f00b"}.fa-themeisle:before{content:"\f2b2"}.fa-thermometer:before{content:"\f491"}.fa-thermometer-empty:before{content:"\f2cb"}.fa-thermometer-full:before{content:"\f2c7"}.fa-thermometer-half:before{content:"\f2c9"}.fa-thermometer-quarter:before{content:"\f2ca"}.fa-thermometer-three-quarters:before{content:"\f2c8"}.fa-thumbs-down:before{content:"\f165"}.fa-thumbs-up:before{content:"\f164"}.fa-thumbtack:before{content:"\f08d"}.fa-ticket-alt:before{content:"\f3ff"}.fa-times:before{content:"\f00d"}.fa-times-circle:before{content:"\f057"}.fa-tint:before{content:"\f043"}.fa-toggle-off:before{content:"\f204"}.fa-toggle-on:before{content:"\f205"}.fa-trademark:before{content:"\f25c"}.fa-train:before{content:"\f238"}.fa-transgender:before{content:"\f224"}.fa-transgender-alt:before{content:"\f225"}.fa-trash:before{content:"\f1f8"}.fa-trash-alt:before{content:"\f2ed"}.fa-tree:before{content:"\f1bb"}.fa-trello:before{content:"\f181"}.fa-tripadvisor:before{content:"\f262"}.fa-trophy:before{content:"\f091"}.fa-truck:before{content:"\f0d1"}.fa-tty:before{content:"\f1e4"}.fa-tumblr:before{content:"\f173"}.fa-tumblr-square:before{content:"\f174"}.fa-tv:before{content:"\f26c"}.fa-twitch:before{content:"\f1e8"}.fa-twitter:before{content:"\f099"}.fa-twitter-square:before{content:"\f081"}.fa-typo3:before{content:"\f42b"}.fa-uber:before{content:"\f402"}.fa-uikit:before{content:"\f403"}.fa-umbrella:before{content:"\f0e9"}.fa-underline:before{content:"\f0cd"}.fa-undo:before{content:"\f0e2"}.fa-undo-alt:before{content:"\f2ea"}.fa-uniregistry:before{content:"\f404"}.fa-universal-access:before{content:"\f29a"}.fa-university:before{content:"\f19c"}.fa-unlink:before{content:"\f127"}.fa-unlock:before{content:"\f09c"}.fa-unlock-alt:before{content:"\f13e"}.fa-untappd:before{content:"\f405"}.fa-upload:before{content:"\f093"}.fa-usb:before{content:"\f287"}.fa-user:before{content:"\f007"}.fa-user-circle:before{content:"\f2bd"}.fa-user-md:before{content:"\f0f0"}.fa-user-plus:before{content:"\f234"}.fa-user-secret:before{content:"\f21b"}.fa-user-times:before{content:"\f235"}.fa-users:before{content:"\f0c0"}.fa-ussunnah:before{content:"\f407"}.fa-utensil-spoon:before{content:"\f2e5"}.fa-utensils:before{content:"\f2e7"}.fa-vaadin:before{content:"\f408"}.fa-venus:before{content:"\f221"}.fa-venus-double:before{content:"\f226"}.fa-venus-mars:before{content:"\f228"}.fa-viacoin:before{content:"\f237"}.fa-viadeo:before{content:"\f2a9"}.fa-viadeo-square:before{content:"\f2aa"}.fa-viber:before{content:"\f409"}.fa-video:before{content:"\f03d"}.fa-vimeo:before{content:"\f40a"}.fa-vimeo-square:before{content:"\f194"}.fa-vimeo-v:before{content:"\f27d"}.fa-vine:before{content:"\f1ca"}.fa-vk:before{content:"\f189"}.fa-vnv:before{content:"\f40b"}.fa-volleyball-ball:before{content:"\f45f"}.fa-volume-down:before{content:"\f027"}.fa-volume-off:before{content:"\f026"}.fa-volume-up:before{content:"\f028"}.fa-vuejs:before{content:"\f41f"}.fa-warehouse:before{content:"\f494"}.fa-weibo:before{content:"\f18a"}.fa-weight:before{content:"\f496"}.fa-weixin:before{content:"\f1d7"}.fa-whatsapp:before{content:"\f232"}.fa-whatsapp-square:before{content:"\f40c"}.fa-wheelchair:before{content:"\f193"}.fa-whmcs:before{content:"\f40d"}.fa-wifi:before{content:"\f1eb"}.fa-wikipedia-w:before{content:"\f266"}.fa-window-close:before{content:"\f410"}.fa-window-maximize:before{content:"\f2d0"}.fa-window-minimize:before{content:"\f2d1"}.fa-window-restore:before{content:"\f2d2"}.fa-windows:before{content:"\f17a"}.fa-won-sign:before{content:"\f159"}.fa-wordpress:before{content:"\f19a"}.fa-wordpress-simple:before{content:"\f411"}.fa-wpbeginner:before{content:"\f297"}.fa-wpexplorer:before{content:"\f2de"}.fa-wpforms:before{content:"\f298"}.fa-wrench:before{content:"\f0ad"}.fa-xbox:before{content:"\f412"}.fa-xing:before{content:"\f168"}.fa-xing-square:before{content:"\f169"}.fa-y-combinator:before{content:"\f23b"}.fa-yahoo:before{content:"\f19e"}.fa-yandex:before{content:"\f413"}.fa-yandex-international:before{content:"\f414"}.fa-yelp:before{content:"\f1e9"}.fa-yen-sign:before{content:"\f157"}.fa-yoast:before{content:"\f2b1"}.fa-youtube:before{content:"\f167"}.fa-youtube-square:before{content:"\f431"}.sr-only{border:0;clip:rect(0,0,0,0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px}.sr-only-focusable:active,.sr-only-focusable:focus{clip:auto;height:auto;margin:0;overflow:visible;position:static;width:auto}@font-face{font-family:Font Awesome\ 5 Brands;font-style:normal;font-weight:400;src:url(../webfonts/fa-brands-400.eot);src:url(../webfonts/fa-brands-400.eot?#iefix) format("embedded-opentype"),url(../webfonts/fa-brands-400.woff2) format("woff2"),url(../webfonts/fa-brands-400.woff) format("woff"),url(../webfonts/fa-brands-400.ttf) format("truetype"),url(../webfonts/fa-brands-400.svg#fontawesome) format("svg")}.fab{font-family:Font Awesome\ 5 Brands}@font-face{font-family:Font Awesome\ 5 Free;font-style:normal;font-weight:400;src:url(../webfonts/fa-regular-400.eot);src:url(../webfonts/fa-regular-400.eot?#iefix) format("embedded-opentype"),url(../webfonts/fa-regular-400.woff2) format("woff2"),url(../webfonts/fa-regular-400.woff) format("woff"),url(../webfonts/fa-regular-400.ttf) format("truetype"),url(../webfonts/fa-regular-400.svg#fontawesome) format("svg")}.far{font-weight:400}@font-face{font-family:Font Awesome\ 5 Free;font-style:normal;font-weight:900;src:url(../webfonts/fa-solid-900.eot);src:url(../webfonts/fa-solid-900.eot?#iefix) format("embedded-opentype"),url(../webfonts/fa-solid-900.woff2) format("woff2"),url(../webfonts/fa-solid-900.woff) format("woff"),url(../webfonts/fa-solid-900.ttf) format("truetype"),url(../webfonts/fa-solid-900.svg#fontawesome) format("svg")}.fa,.far,.fas{font-family:Font Awesome\ 5 Free}.fa,.fas{font-weight:900}
assets/global/css/themes.style.css CHANGED
@@ -2,14 +2,75 @@
2
  /* CSS Document */
3
 
4
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
5
 
6
  .accordions .accordions-head {
7
- cursor: pointer;
8
- padding: 10px;
 
 
 
9
  }
10
 
11
  .accordions .accordions-head-title {
12
- padding: 0 10px;
 
13
  }
14
 
15
 
@@ -19,11 +80,11 @@
19
 
20
  .accordions .accordions-head.ui-state-active .accordion-plus{
21
  display:none;
22
- }
23
 
24
  .accordions .accordions-head.ui-state-active .accordion-minus{
25
  display:inline-block;
26
- }
27
 
28
 
29
  .accordions .accordion-content {
@@ -53,7 +114,14 @@ float: right;
53
  .accordions-themes.flat{}
54
 
55
  .accordions.flat .accordions-head {
 
 
 
 
56
 
 
 
 
57
  }
58
 
59
 
@@ -62,11 +130,14 @@ float: right;
62
  .accordions-themes.rounded{}
63
 
64
  .accordions.rounded .accordions-head {
 
65
  border-radius: 35px;
 
66
  }
67
 
68
  .accordions.rounded .accordion-content{
69
  border-radius: 35px;
 
70
  }
71
 
72
 
@@ -75,10 +146,13 @@ float: right;
75
 
76
  .accordions.semi-rounded .accordions-head {
77
  border-radius: 8px;
 
 
78
  }
79
 
80
  .accordions.semi-rounded .accordion-content{
81
  border-radius: 8px;
 
82
  }
83
 
84
 
@@ -88,9 +162,12 @@ float: right;
88
  .accordions.shadow .accordions-head {
89
  box-shadow: 1px 7px 4px -4px rgb(129, 129, 129);
90
  margin: 10px 0;
 
 
91
  }
92
 
93
  .accordions.shadow .accordion-content{
 
94
 
95
  }
96
 
@@ -101,11 +178,14 @@ float: right;
101
  .accordions.rounded-top .accordions-head {
102
  border-top-left-radius: 10px;
103
  border-top-right-radius: 10px;
 
 
104
  }
105
 
106
  .accordions.rounded-top .accordion-content {
107
  border-bottom-left-radius: 10px;
108
  border-bottom-right-radius: 10px;
 
109
  }
110
 
111
 
@@ -117,9 +197,12 @@ float: right;
117
 
118
  .accordions.border-bottom .accordions-head {
119
  border-bottom: 1px solid #666;
 
 
120
  }
121
 
122
  .accordions.border-bottom .accordion-content{
 
123
 
124
  }
125
 
@@ -130,9 +213,12 @@ float: right;
130
 
131
  .accordions.border-top .accordions-head {
132
  border-top: 1px solid #666;
 
 
133
  }
134
 
135
  .accordions.border-top .accordion-content{
 
136
 
137
  }
138
 
2
  /* CSS Document */
3
 
4
 
5
+
6
+
7
+ .accordions .accordions-head .ui-accordion-header-icon {
8
+ display: none;
9
+ }
10
+
11
+ .accordions-lazy {
12
+ text-align: center;
13
+ }
14
+
15
+ .accordion-edit {
16
+ margin: 10px 0;
17
+ text-align: left;
18
+ }
19
+
20
+ .accordions .accordions-head .accordions-head-title-toogle {
21
+ display: none;
22
+ padding: 0 10px;
23
+ }
24
+
25
+ .accordions .top-navs {
26
+ margin: 15px 0;
27
+ }
28
+
29
+
30
+ .accordions .top-navs .expand-collapse {
31
+ display: inline-block;
32
+ background: rgba(112,176,255,1) none repeat scroll 0 0;
33
+ padding: 4px 15px;
34
+ color: #fff;
35
+ border-radius: 3px;
36
+ cursor: pointer;
37
+ }
38
+ .accordions .top-navs .expand-collapse.active .collapse{ display: block;}
39
+ .accordions .top-navs .expand-collapse.active .expand {
40
+ display: none;
41
+ }
42
+
43
+
44
+ .accordions .top-navs .expand{}
45
+ .accordions .top-navs .collapse {
46
+ display: none;
47
+ }
48
+
49
+
50
+ .accordions .next-prev{}
51
+ .accordions .next-prev .next, .accordions .next-prev .previous {
52
+ padding: 6px 13px;
53
+ display: inline-block;
54
+ margin: 0 10px 0 0;
55
+
56
+ }
57
+ .accordions .next-prev .next{}
58
+ .accordions .next-prev .previous{}
59
+
60
+
61
+ /*Themes CSS*/
62
 
63
  .accordions .accordions-head {
64
+ cursor: pointer;
65
+ padding: 10px;
66
+ display: flex;
67
+ align-items: center;
68
+ outline: none;
69
  }
70
 
71
  .accordions .accordions-head-title {
72
+ margin: 0 10px;
73
+ width:100%;
74
  }
75
 
76
 
80
 
81
  .accordions .accordions-head.ui-state-active .accordion-plus{
82
  display:none;
83
+ }
84
 
85
  .accordions .accordions-head.ui-state-active .accordion-minus{
86
  display:inline-block;
87
+ }
88
 
89
 
90
  .accordions .accordion-content {
114
  .accordions-themes.flat{}
115
 
116
  .accordions.flat .accordions-head {
117
+ border: medium none;
118
+ border-radius: 0;
119
+ outline: none;
120
+ }
121
 
122
+ .accordions.flat .accordion-content {
123
+ border: medium none;
124
+ border-radius: 0;
125
  }
126
 
127
 
130
  .accordions-themes.rounded{}
131
 
132
  .accordions.rounded .accordions-head {
133
+ border: medium none;
134
  border-radius: 35px;
135
+ outline: none;
136
  }
137
 
138
  .accordions.rounded .accordion-content{
139
  border-radius: 35px;
140
+ border: medium none;
141
  }
142
 
143
 
146
 
147
  .accordions.semi-rounded .accordions-head {
148
  border-radius: 8px;
149
+ border: medium none;
150
+ outline: none;
151
  }
152
 
153
  .accordions.semi-rounded .accordion-content{
154
  border-radius: 8px;
155
+ border: medium none;
156
  }
157
 
158
 
162
  .accordions.shadow .accordions-head {
163
  box-shadow: 1px 7px 4px -4px rgb(129, 129, 129);
164
  margin: 10px 0;
165
+ border: medium none;
166
+ outline: none;
167
  }
168
 
169
  .accordions.shadow .accordion-content{
170
+ border: medium none;
171
 
172
  }
173
 
178
  .accordions.rounded-top .accordions-head {
179
  border-top-left-radius: 10px;
180
  border-top-right-radius: 10px;
181
+ border: medium none;
182
+ outline: none;
183
  }
184
 
185
  .accordions.rounded-top .accordion-content {
186
  border-bottom-left-radius: 10px;
187
  border-bottom-right-radius: 10px;
188
+ border: medium none;
189
  }
190
 
191
 
197
 
198
  .accordions.border-bottom .accordions-head {
199
  border-bottom: 1px solid #666;
200
+ border: medium none;
201
+ outline: none;
202
  }
203
 
204
  .accordions.border-bottom .accordion-content{
205
+ border: medium none;
206
 
207
  }
208
 
213
 
214
  .accordions.border-top .accordions-head {
215
  border-top: 1px solid #666;
216
+ border: medium none;
217
+ outline: none;
218
  }
219
 
220
  .accordions.border-top .accordion-content{
221
+ border: medium none;
222
 
223
  }
224
 
assets/global/css/themes.style.min.css ADDED
@@ -0,0 +1 @@
 
1
+ @charset "utf-8";.accordions .accordions-head .ui-accordion-header-icon{display:none}.accordions-lazy{text-align:center}.accordion-edit{margin:10px 0;text-align:left}.accordions .accordions-head .accordions-head-title-toogle{display:none;padding:0 10px}.accordions .top-navs{margin:15px 0}.accordions .top-navs .expand-collapse{display:inline-block;background:rgba(112,176,255,1) none repeat scroll 0 0;padding:4px 15px;color:#fff;border-radius:3px;cursor:pointer}.accordions .top-navs .expand-collapse.active .collapse{display:block}.accordions .top-navs .expand-collapse.active .expand{display:none}.accordions .top-navs .collapse{display:none}.accordions .next-prev .next,.accordions .next-prev .previous{padding:6px 13px;display:inline-block;margin:0 10px 0 0}.accordions .accordions-head{cursor:pointer;padding:10px;display:flex;align-items:center;outline:0}.accordions .accordions-head-title{margin:0 10px;width:100%}.accordions .accordions-head .accordion-minus{display:none}.accordions .accordions-head.ui-state-active .accordion-plus{display:none}.accordions .accordions-head.ui-state-active .accordion-minus{display:inline-block}.accordions .accordion-content{background:#fff none repeat scroll 0 0;padding:10px}.accordions .accordion-icons.left{float:left}.accordions .accordion-icons.right{float:right}.accordions.flat .accordions-head{border:medium none;border-radius:0;outline:0}.accordions.flat .accordion-content{border:medium none;border-radius:0}.accordions.rounded .accordions-head{border:medium none;border-radius:35px;outline:0}.accordions.rounded .accordion-content{border-radius:35px;border:medium none}.accordions.semi-rounded .accordions-head{border-radius:8px;border:medium none;outline:0}.accordions.semi-rounded .accordion-content{border-radius:8px;border:medium none}.accordions.shadow .accordions-head{box-shadow:1px 7px 4px -4px #818181;margin:10px 0;border:medium none;outline:0}.accordions.shadow .accordion-content{border:medium none}.accordions.rounded-top .accordions-head{border-top-left-radius:10px;border-top-right-radius:10px;border:medium none;outline:0}.accordions.rounded-top .accordion-content{border-bottom-left-radius:10px;border-bottom-right-radius:10px;border:medium none}.accordions.border-bottom .accordions-head{border-bottom:1px solid #666;border:medium none;outline:0}.accordions.border-bottom .accordion-content{border:medium none}.accordions.border-top .accordions-head{border-top:1px solid #666;border:medium none;outline:0}.accordions.border-top .accordion-content{border:medium none}
assets/global/css/themesTabs.style.css CHANGED
@@ -35,7 +35,7 @@ width: 100%;
35
 
36
  .accordions-tabs .tabs-content {
37
  border-radius: 0;
38
- padding: 10px;
39
  }
40
 
41
 
35
 
36
  .accordions-tabs .tabs-content {
37
  border-radius: 0;
38
+ padding: 0;
39
  }
40
 
41
 
assets/global/fonts/FontAwesome.otf DELETED
Binary file
assets/global/fonts/fontawesome-webfont.eot DELETED
Binary file
assets/global/fonts/fontawesome-webfont.svg DELETED
@@ -1,685 +0,0 @@
1
- <?xml version="1.0" standalone="no"?>
2
- <!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd" >
3
- <svg xmlns="http://www.w3.org/2000/svg">
4
- <metadata></metadata>
5
- <defs>
6
- <font id="fontawesomeregular" horiz-adv-x="1536" >
7
- <font-face units-per-em="1792" ascent="1536" descent="-256" />
8
- <missing-glyph horiz-adv-x="448" />
9
- <glyph unicode=" " horiz-adv-x="448" />
10
- <glyph unicode="&#x09;" horiz-adv-x="448" />
11
- <glyph unicode="&#xa0;" horiz-adv-x="448" />
12
- <glyph unicode="&#xa8;" horiz-adv-x="1792" />
13
- <glyph unicode="&#xa9;" horiz-adv-x="1792" />
14
- <glyph unicode="&#xae;" horiz-adv-x="1792" />
15
- <glyph unicode="&#xb4;" horiz-adv-x="1792" />
16
- <glyph unicode="&#xc6;" horiz-adv-x="1792" />
17
- <glyph unicode="&#xd8;" horiz-adv-x="1792" />
18
- <glyph unicode="&#x2000;" horiz-adv-x="768" />
19
- <glyph unicode="&#x2001;" horiz-adv-x="1537" />
20
- <glyph unicode="&#x2002;" horiz-adv-x="768" />
21
- <glyph unicode="&#x2003;" horiz-adv-x="1537" />
22
- <glyph unicode="&#x2004;" horiz-adv-x="512" />
23
- <glyph unicode="&#x2005;" horiz-adv-x="384" />
24
- <glyph unicode="&#x2006;" horiz-adv-x="256" />
25
- <glyph unicode="&#x2007;" horiz-adv-x="256" />
26
- <glyph unicode="&#x2008;" horiz-adv-x="192" />
27
- <glyph unicode="&#x2009;" horiz-adv-x="307" />
28
- <glyph unicode="&#x200a;" horiz-adv-x="85" />
29
- <glyph unicode="&#x202f;" horiz-adv-x="307" />
30
- <glyph unicode="&#x205f;" horiz-adv-x="384" />
31
- <glyph unicode="&#x2122;" horiz-adv-x="1792" />
32
- <glyph unicode="&#x221e;" horiz-adv-x="1792" />
33
- <glyph unicode="&#x2260;" horiz-adv-x="1792" />
34
- <glyph unicode="&#x25fc;" horiz-adv-x="500" d="M0 0z" />
35
- <glyph unicode="&#xf000;" horiz-adv-x="1792" d="M1699 1350q0 -35 -43 -78l-632 -632v-768h320q26 0 45 -19t19 -45t-19 -45t-45 -19h-896q-26 0 -45 19t-19 45t19 45t45 19h320v768l-632 632q-43 43 -43 78q0 23 18 36.5t38 17.5t43 4h1408q23 0 43 -4t38 -17.5t18 -36.5z" />
36
- <glyph unicode="&#xf001;" d="M1536 1312v-1120q0 -50 -34 -89t-86 -60.5t-103.5 -32t-96.5 -10.5t-96.5 10.5t-103.5 32t-86 60.5t-34 89t34 89t86 60.5t103.5 32t96.5 10.5q105 0 192 -39v537l-768 -237v-709q0 -50 -34 -89t-86 -60.5t-103.5 -32t-96.5 -10.5t-96.5 10.5t-103.5 32t-86 60.5t-34 89 t34 89t86 60.5t103.5 32t96.5 10.5q105 0 192 -39v967q0 31 19 56.5t49 35.5l832 256q12 4 28 4q40 0 68 -28t28 -68z" />
37
- <glyph unicode="&#xf002;" horiz-adv-x="1664" d="M1152 704q0 185 -131.5 316.5t-316.5 131.5t-316.5 -131.5t-131.5 -316.5t131.5 -316.5t316.5 -131.5t316.5 131.5t131.5 316.5zM1664 -128q0 -52 -38 -90t-90 -38q-54 0 -90 38l-343 342q-179 -124 -399 -124q-143 0 -273.5 55.5t-225 150t-150 225t-55.5 273.5 t55.5 273.5t150 225t225 150t273.5 55.5t273.5 -55.5t225 -150t150 -225t55.5 -273.5q0 -220 -124 -399l343 -343q37 -37 37 -90z" />
38
- <glyph unicode="&#xf003;" horiz-adv-x="1792" d="M1664 32v768q-32 -36 -69 -66q-268 -206 -426 -338q-51 -43 -83 -67t-86.5 -48.5t-102.5 -24.5h-1h-1q-48 0 -102.5 24.5t-86.5 48.5t-83 67q-158 132 -426 338q-37 30 -69 66v-768q0 -13 9.5 -22.5t22.5 -9.5h1472q13 0 22.5 9.5t9.5 22.5zM1664 1083v11v13.5t-0.5 13 t-3 12.5t-5.5 9t-9 7.5t-14 2.5h-1472q-13 0 -22.5 -9.5t-9.5 -22.5q0 -168 147 -284q193 -152 401 -317q6 -5 35 -29.5t46 -37.5t44.5 -31.5t50.5 -27.5t43 -9h1h1q20 0 43 9t50.5 27.5t44.5 31.5t46 37.5t35 29.5q208 165 401 317q54 43 100.5 115.5t46.5 131.5z M1792 1120v-1088q0 -66 -47 -113t-113 -47h-1472q-66 0 -113 47t-47 113v1088q0 66 47 113t113 47h1472q66 0 113 -47t47 -113z" />
39
- <glyph unicode="&#xf004;" horiz-adv-x="1792" d="M896 -128q-26 0 -44 18l-624 602q-10 8 -27.5 26t-55.5 65.5t-68 97.5t-53.5 121t-23.5 138q0 220 127 344t351 124q62 0 126.5 -21.5t120 -58t95.5 -68.5t76 -68q36 36 76 68t95.5 68.5t120 58t126.5 21.5q224 0 351 -124t127 -344q0 -221 -229 -450l-623 -600 q-18 -18 -44 -18z" />
40
- <glyph unicode="&#xf005;" horiz-adv-x="1664" d="M1664 889q0 -22 -26 -48l-363 -354l86 -500q1 -7 1 -20q0 -21 -10.5 -35.5t-30.5 -14.5q-19 0 -40 12l-449 236l-449 -236q-22 -12 -40 -12q-21 0 -31.5 14.5t-10.5 35.5q0 6 2 20l86 500l-364 354q-25 27 -25 48q0 37 56 46l502 73l225 455q19 41 49 41t49 -41l225 -455 l502 -73q56 -9 56 -46z" />
41
- <glyph unicode="&#xf006;" horiz-adv-x="1664" d="M1137 532l306 297l-422 62l-189 382l-189 -382l-422 -62l306 -297l-73 -421l378 199l377 -199zM1664 889q0 -22 -26 -48l-363 -354l86 -500q1 -7 1 -20q0 -50 -41 -50q-19 0 -40 12l-449 236l-449 -236q-22 -12 -40 -12q-21 0 -31.5 14.5t-10.5 35.5q0 6 2 20l86 500 l-364 354q-25 27 -25 48q0 37 56 46l502 73l225 455q19 41 49 41t49 -41l225 -455l502 -73q56 -9 56 -46z" />
42
- <glyph unicode="&#xf007;" horiz-adv-x="1408" d="M1408 131q0 -120 -73 -189.5t-194 -69.5h-874q-121 0 -194 69.5t-73 189.5q0 53 3.5 103.5t14 109t26.5 108.5t43 97.5t62 81t85.5 53.5t111.5 20q9 0 42 -21.5t74.5 -48t108 -48t133.5 -21.5t133.5 21.5t108 48t74.5 48t42 21.5q61 0 111.5 -20t85.5 -53.5t62 -81 t43 -97.5t26.5 -108.5t14 -109t3.5 -103.5zM1088 1024q0 -159 -112.5 -271.5t-271.5 -112.5t-271.5 112.5t-112.5 271.5t112.5 271.5t271.5 112.5t271.5 -112.5t112.5 -271.5z" />
43
- <glyph unicode="&#xf008;" horiz-adv-x="1920" d="M384 -64v128q0 26 -19 45t-45 19h-128q-26 0 -45 -19t-19 -45v-128q0 -26 19 -45t45 -19h128q26 0 45 19t19 45zM384 320v128q0 26 -19 45t-45 19h-128q-26 0 -45 -19t-19 -45v-128q0 -26 19 -45t45 -19h128q26 0 45 19t19 45zM384 704v128q0 26 -19 45t-45 19h-128 q-26 0 -45 -19t-19 -45v-128q0 -26 19 -45t45 -19h128q26 0 45 19t19 45zM1408 -64v512q0 26 -19 45t-45 19h-768q-26 0 -45 -19t-19 -45v-512q0 -26 19 -45t45 -19h768q26 0 45 19t19 45zM384 1088v128q0 26 -19 45t-45 19h-128q-26 0 -45 -19t-19 -45v-128q0 -26 19 -45 t45 -19h128q26 0 45 19t19 45zM1792 -64v128q0 26 -19 45t-45 19h-128q-26 0 -45 -19t-19 -45v-128q0 -26 19 -45t45 -19h128q26 0 45 19t19 45zM1408 704v512q0 26 -19 45t-45 19h-768q-26 0 -45 -19t-19 -45v-512q0 -26 19 -45t45 -19h768q26 0 45 19t19 45zM1792 320v128 q0 26 -19 45t-45 19h-128q-26 0 -45 -19t-19 -45v-128q0 -26 19 -45t45 -19h128q26 0 45 19t19 45zM1792 704v128q0 26 -19 45t-45 19h-128q-26 0 -45 -19t-19 -45v-128q0 -26 19 -45t45 -19h128q26 0 45 19t19 45zM1792 1088v128q0 26 -19 45t-45 19h-128q-26 0 -45 -19 t-19 -45v-128q0 -26 19 -45t45 -19h128q26 0 45 19t19 45zM1920 1248v-1344q0 -66 -47 -113t-113 -47h-1600q-66 0 -113 47t-47 113v1344q0 66 47 113t113 47h1600q66 0 113 -47t47 -113z" />
44
- <glyph unicode="&#xf009;" horiz-adv-x="1664" d="M768 512v-384q0 -52 -38 -90t-90 -38h-512q-52 0 -90 38t-38 90v384q0 52 38 90t90 38h512q52 0 90 -38t38 -90zM768 1280v-384q0 -52 -38 -90t-90 -38h-512q-52 0 -90 38t-38 90v384q0 52 38 90t90 38h512q52 0 90 -38t38 -90zM1664 512v-384q0 -52 -38 -90t-90 -38 h-512q-52 0 -90 38t-38 90v384q0 52 38 90t90 38h512q52 0 90 -38t38 -90zM1664 1280v-384q0 -52 -38 -90t-90 -38h-512q-52 0 -90 38t-38 90v384q0 52 38 90t90 38h512q52 0 90 -38t38 -90z" />
45
- <glyph unicode="&#xf00a;" horiz-adv-x="1792" d="M512 288v-192q0 -40 -28 -68t-68 -28h-320q-40 0 -68 28t-28 68v192q0 40 28 68t68 28h320q40 0 68 -28t28 -68zM512 800v-192q0 -40 -28 -68t-68 -28h-320q-40 0 -68 28t-28 68v192q0 40 28 68t68 28h320q40 0 68 -28t28 -68zM1152 288v-192q0 -40 -28 -68t-68 -28h-320 q-40 0 -68 28t-28 68v192q0 40 28 68t68 28h320q40 0 68 -28t28 -68zM512 1312v-192q0 -40 -28 -68t-68 -28h-320q-40 0 -68 28t-28 68v192q0 40 28 68t68 28h320q40 0 68 -28t28 -68zM1152 800v-192q0 -40 -28 -68t-68 -28h-320q-40 0 -68 28t-28 68v192q0 40 28 68t68 28 h320q40 0 68 -28t28 -68zM1792 288v-192q0 -40 -28 -68t-68 -28h-320q-40 0 -68 28t-28 68v192q0 40 28 68t68 28h320q40 0 68 -28t28 -68zM1152 1312v-192q0 -40 -28 -68t-68 -28h-320q-40 0 -68 28t-28 68v192q0 40 28 68t68 28h320q40 0 68 -28t28 -68zM1792 800v-192 q0 -40 -28 -68t-68 -28h-320q-40 0 -68 28t-28 68v192q0 40 28 68t68 28h320q40 0 68 -28t28 -68zM1792 1312v-192q0 -40 -28 -68t-68 -28h-320q-40 0 -68 28t-28 68v192q0 40 28 68t68 28h320q40 0 68 -28t28 -68z" />
46
- <glyph unicode="&#xf00b;" horiz-adv-x="1792" d="M512 288v-192q0 -40 -28 -68t-68 -28h-320q-40 0 -68 28t-28 68v192q0 40 28 68t68 28h320q40 0 68 -28t28 -68zM512 800v-192q0 -40 -28 -68t-68 -28h-320q-40 0 -68 28t-28 68v192q0 40 28 68t68 28h320q40 0 68 -28t28 -68zM1792 288v-192q0 -40 -28 -68t-68 -28h-960 q-40 0 -68 28t-28 68v192q0 40 28 68t68 28h960q40 0 68 -28t28 -68zM512 1312v-192q0 -40 -28 -68t-68 -28h-320q-40 0 -68 28t-28 68v192q0 40 28 68t68 28h320q40 0 68 -28t28 -68zM1792 800v-192q0 -40 -28 -68t-68 -28h-960q-40 0 -68 28t-28 68v192q0 40 28 68t68 28 h960q40 0 68 -28t28 -68zM1792 1312v-192q0 -40 -28 -68t-68 -28h-960q-40 0 -68 28t-28 68v192q0 40 28 68t68 28h960q40 0 68 -28t28 -68z" />
47
- <glyph unicode="&#xf00c;" horiz-adv-x="1792" d="M1671 970q0 -40 -28 -68l-724 -724l-136 -136q-28 -28 -68 -28t-68 28l-136 136l-362 362q-28 28 -28 68t28 68l136 136q28 28 68 28t68 -28l294 -295l656 657q28 28 68 28t68 -28l136 -136q28 -28 28 -68z" />
48
- <glyph unicode="&#xf00d;" horiz-adv-x="1408" d="M1298 214q0 -40 -28 -68l-136 -136q-28 -28 -68 -28t-68 28l-294 294l-294 -294q-28 -28 -68 -28t-68 28l-136 136q-28 28 -28 68t28 68l294 294l-294 294q-28 28 -28 68t28 68l136 136q28 28 68 28t68 -28l294 -294l294 294q28 28 68 28t68 -28l136 -136q28 -28 28 -68 t-28 -68l-294 -294l294 -294q28 -28 28 -68z" />
49
- <glyph unicode="&#xf00e;" horiz-adv-x="1664" d="M1024 736v-64q0 -13 -9.5 -22.5t-22.5 -9.5h-224v-224q0 -13 -9.5 -22.5t-22.5 -9.5h-64q-13 0 -22.5 9.5t-9.5 22.5v224h-224q-13 0 -22.5 9.5t-9.5 22.5v64q0 13 9.5 22.5t22.5 9.5h224v224q0 13 9.5 22.5t22.5 9.5h64q13 0 22.5 -9.5t9.5 -22.5v-224h224 q13 0 22.5 -9.5t9.5 -22.5zM1152 704q0 185 -131.5 316.5t-316.5 131.5t-316.5 -131.5t-131.5 -316.5t131.5 -316.5t316.5 -131.5t316.5 131.5t131.5 316.5zM1664 -128q0 -53 -37.5 -90.5t-90.5 -37.5q-54 0 -90 38l-343 342q-179 -124 -399 -124q-143 0 -273.5 55.5 t-225 150t-150 225t-55.5 273.5t55.5 273.5t150 225t225 150t273.5 55.5t273.5 -55.5t225 -150t150 -225t55.5 -273.5q0 -220 -124 -399l343 -343q37 -37 37 -90z" />
50
- <glyph unicode="&#xf010;" horiz-adv-x="1664" d="M1024 736v-64q0 -13 -9.5 -22.5t-22.5 -9.5h-576q-13 0 -22.5 9.5t-9.5 22.5v64q0 13 9.5 22.5t22.5 9.5h576q13 0 22.5 -9.5t9.5 -22.5zM1152 704q0 185 -131.5 316.5t-316.5 131.5t-316.5 -131.5t-131.5 -316.5t131.5 -316.5t316.5 -131.5t316.5 131.5t131.5 316.5z M1664 -128q0 -53 -37.5 -90.5t-90.5 -37.5q-54 0 -90 38l-343 342q-179 -124 -399 -124q-143 0 -273.5 55.5t-225 150t-150 225t-55.5 273.5t55.5 273.5t150 225t225 150t273.5 55.5t273.5 -55.5t225 -150t150 -225t55.5 -273.5q0 -220 -124 -399l343 -343q37 -37 37 -90z " />
51
- <glyph unicode="&#xf011;" d="M1536 640q0 -156 -61 -298t-164 -245t-245 -164t-298 -61t-298 61t-245 164t-164 245t-61 298q0 182 80.5 343t226.5 270q43 32 95.5 25t83.5 -50q32 -42 24.5 -94.5t-49.5 -84.5q-98 -74 -151.5 -181t-53.5 -228q0 -104 40.5 -198.5t109.5 -163.5t163.5 -109.5 t198.5 -40.5t198.5 40.5t163.5 109.5t109.5 163.5t40.5 198.5q0 121 -53.5 228t-151.5 181q-42 32 -49.5 84.5t24.5 94.5q31 43 84 50t95 -25q146 -109 226.5 -270t80.5 -343zM896 1408v-640q0 -52 -38 -90t-90 -38t-90 38t-38 90v640q0 52 38 90t90 38t90 -38t38 -90z" />
52
- <glyph unicode="&#xf012;" horiz-adv-x="1792" d="M256 96v-192q0 -14 -9 -23t-23 -9h-192q-14 0 -23 9t-9 23v192q0 14 9 23t23 9h192q14 0 23 -9t9 -23zM640 224v-320q0 -14 -9 -23t-23 -9h-192q-14 0 -23 9t-9 23v320q0 14 9 23t23 9h192q14 0 23 -9t9 -23zM1024 480v-576q0 -14 -9 -23t-23 -9h-192q-14 0 -23 9t-9 23 v576q0 14 9 23t23 9h192q14 0 23 -9t9 -23zM1408 864v-960q0 -14 -9 -23t-23 -9h-192q-14 0 -23 9t-9 23v960q0 14 9 23t23 9h192q14 0 23 -9t9 -23zM1792 1376v-1472q0 -14 -9 -23t-23 -9h-192q-14 0 -23 9t-9 23v1472q0 14 9 23t23 9h192q14 0 23 -9t9 -23z" />
53
- <glyph unicode="&#xf013;" d="M1024 640q0 106 -75 181t-181 75t-181 -75t-75 -181t75 -181t181 -75t181 75t75 181zM1536 749v-222q0 -12 -8 -23t-20 -13l-185 -28q-19 -54 -39 -91q35 -50 107 -138q10 -12 10 -25t-9 -23q-27 -37 -99 -108t-94 -71q-12 0 -26 9l-138 108q-44 -23 -91 -38 q-16 -136 -29 -186q-7 -28 -36 -28h-222q-14 0 -24.5 8.5t-11.5 21.5l-28 184q-49 16 -90 37l-141 -107q-10 -9 -25 -9q-14 0 -25 11q-126 114 -165 168q-7 10 -7 23q0 12 8 23q15 21 51 66.5t54 70.5q-27 50 -41 99l-183 27q-13 2 -21 12.5t-8 23.5v222q0 12 8 23t19 13 l186 28q14 46 39 92q-40 57 -107 138q-10 12 -10 24q0 10 9 23q26 36 98.5 107.5t94.5 71.5q13 0 26 -10l138 -107q44 23 91 38q16 136 29 186q7 28 36 28h222q14 0 24.5 -8.5t11.5 -21.5l28 -184q49 -16 90 -37l142 107q9 9 24 9q13 0 25 -10q129 -119 165 -170q7 -8 7 -22 q0 -12 -8 -23q-15 -21 -51 -66.5t-54 -70.5q26 -50 41 -98l183 -28q13 -2 21 -12.5t8 -23.5z" />
54
- <glyph unicode="&#xf014;" horiz-adv-x="1408" d="M512 800v-576q0 -14 -9 -23t-23 -9h-64q-14 0 -23 9t-9 23v576q0 14 9 23t23 9h64q14 0 23 -9t9 -23zM768 800v-576q0 -14 -9 -23t-23 -9h-64q-14 0 -23 9t-9 23v576q0 14 9 23t23 9h64q14 0 23 -9t9 -23zM1024 800v-576q0 -14 -9 -23t-23 -9h-64q-14 0 -23 9t-9 23v576 q0 14 9 23t23 9h64q14 0 23 -9t9 -23zM1152 76v948h-896v-948q0 -22 7 -40.5t14.5 -27t10.5 -8.5h832q3 0 10.5 8.5t14.5 27t7 40.5zM480 1152h448l-48 117q-7 9 -17 11h-317q-10 -2 -17 -11zM1408 1120v-64q0 -14 -9 -23t-23 -9h-96v-948q0 -83 -47 -143.5t-113 -60.5h-832 q-66 0 -113 58.5t-47 141.5v952h-96q-14 0 -23 9t-9 23v64q0 14 9 23t23 9h309l70 167q15 37 54 63t79 26h320q40 0 79 -26t54 -63l70 -167h309q14 0 23 -9t9 -23z" />
55
- <glyph unicode="&#xf015;" horiz-adv-x="1664" d="M1408 544v-480q0 -26 -19 -45t-45 -19h-384v384h-256v-384h-384q-26 0 -45 19t-19 45v480q0 1 0.5 3t0.5 3l575 474l575 -474q1 -2 1 -6zM1631 613l-62 -74q-8 -9 -21 -11h-3q-13 0 -21 7l-692 577l-692 -577q-12 -8 -24 -7q-13 2 -21 11l-62 74q-8 10 -7 23.5t11 21.5 l719 599q32 26 76 26t76 -26l244 -204v195q0 14 9 23t23 9h192q14 0 23 -9t9 -23v-408l219 -182q10 -8 11 -21.5t-7 -23.5z" />
56
- <glyph unicode="&#xf016;" d="M1468 1156q28 -28 48 -76t20 -88v-1152q0 -40 -28 -68t-68 -28h-1344q-40 0 -68 28t-28 68v1600q0 40 28 68t68 28h896q40 0 88 -20t76 -48zM1024 1400v-376h376q-10 29 -22 41l-313 313q-12 12 -41 22zM1408 -128v1024h-416q-40 0 -68 28t-28 68v416h-768v-1536h1280z " />
57
- <glyph unicode="&#xf017;" d="M896 992v-448q0 -14 -9 -23t-23 -9h-320q-14 0 -23 9t-9 23v64q0 14 9 23t23 9h224v352q0 14 9 23t23 9h64q14 0 23 -9t9 -23zM1312 640q0 148 -73 273t-198 198t-273 73t-273 -73t-198 -198t-73 -273t73 -273t198 -198t273 -73t273 73t198 198t73 273zM1536 640 q0 -209 -103 -385.5t-279.5 -279.5t-385.5 -103t-385.5 103t-279.5 279.5t-103 385.5t103 385.5t279.5 279.5t385.5 103t385.5 -103t279.5 -279.5t103 -385.5z" />
58
- <glyph unicode="&#xf018;" horiz-adv-x="1920" d="M1111 540v4l-24 320q-1 13 -11 22.5t-23 9.5h-186q-13 0 -23 -9.5t-11 -22.5l-24 -320v-4q-1 -12 8 -20t21 -8h244q12 0 21 8t8 20zM1870 73q0 -73 -46 -73h-704q13 0 22 9.5t8 22.5l-20 256q-1 13 -11 22.5t-23 9.5h-272q-13 0 -23 -9.5t-11 -22.5l-20 -256 q-1 -13 8 -22.5t22 -9.5h-704q-46 0 -46 73q0 54 26 116l417 1044q8 19 26 33t38 14h339q-13 0 -23 -9.5t-11 -22.5l-15 -192q-1 -14 8 -23t22 -9h166q13 0 22 9t8 23l-15 192q-1 13 -11 22.5t-23 9.5h339q20 0 38 -14t26 -33l417 -1044q26 -62 26 -116z" />
59
- <glyph unicode="&#xf019;" horiz-adv-x="1664" d="M1280 192q0 26 -19 45t-45 19t-45 -19t-19 -45t19 -45t45 -19t45 19t19 45zM1536 192q0 26 -19 45t-45 19t-45 -19t-19 -45t19 -45t45 -19t45 19t19 45zM1664 416v-320q0 -40 -28 -68t-68 -28h-1472q-40 0 -68 28t-28 68v320q0 40 28 68t68 28h465l135 -136 q58 -56 136 -56t136 56l136 136h464q40 0 68 -28t28 -68zM1339 985q17 -41 -14 -70l-448 -448q-18 -19 -45 -19t-45 19l-448 448q-31 29 -14 70q17 39 59 39h256v448q0 26 19 45t45 19h256q26 0 45 -19t19 -45v-448h256q42 0 59 -39z" />
60
- <glyph unicode="&#xf01a;" d="M1120 608q0 -12 -10 -24l-319 -319q-11 -9 -23 -9t-23 9l-320 320q-15 16 -7 35q8 20 30 20h192v352q0 14 9 23t23 9h192q14 0 23 -9t9 -23v-352h192q14 0 23 -9t9 -23zM768 1184q-148 0 -273 -73t-198 -198t-73 -273t73 -273t198 -198t273 -73t273 73t198 198t73 273 t-73 273t-198 198t-273 73zM1536 640q0 -209 -103 -385.5t-279.5 -279.5t-385.5 -103t-385.5 103t-279.5 279.5t-103 385.5t103 385.5t279.5 279.5t385.5 103t385.5 -103t279.5 -279.5t103 -385.5z" />
61
- <glyph unicode="&#xf01b;" d="M1118 660q-8 -20 -30 -20h-192v-352q0 -14 -9 -23t-23 -9h-192q-14 0 -23 9t-9 23v352h-192q-14 0 -23 9t-9 23q0 12 10 24l319 319q11 9 23 9t23 -9l320 -320q15 -16 7 -35zM768 1184q-148 0 -273 -73t-198 -198t-73 -273t73 -273t198 -198t273 -73t273 73t198 198 t73 273t-73 273t-198 198t-273 73zM1536 640q0 -209 -103 -385.5t-279.5 -279.5t-385.5 -103t-385.5 103t-279.5 279.5t-103 385.5t103 385.5t279.5 279.5t385.5 103t385.5 -103t279.5 -279.5t103 -385.5z" />
62
- <glyph unicode="&#xf01c;" d="M1023 576h316q-1 3 -2.5 8.5t-2.5 7.5l-212 496h-708l-212 -496q-1 -3 -2.5 -8.5t-2.5 -7.5h316l95 -192h320zM1536 546v-482q0 -26 -19 -45t-45 -19h-1408q-26 0 -45 19t-19 45v482q0 62 25 123l238 552q10 25 36.5 42t52.5 17h832q26 0 52.5 -17t36.5 -42l238 -552 q25 -61 25 -123z" />
63
- <glyph unicode="&#xf01d;" d="M1184 640q0 -37 -32 -55l-544 -320q-15 -9 -32 -9q-16 0 -32 8q-32 19 -32 56v640q0 37 32 56q33 18 64 -1l544 -320q32 -18 32 -55zM1312 640q0 148 -73 273t-198 198t-273 73t-273 -73t-198 -198t-73 -273t73 -273t198 -198t273 -73t273 73t198 198t73 273zM1536 640 q0 -209 -103 -385.5t-279.5 -279.5t-385.5 -103t-385.5 103t-279.5 279.5t-103 385.5t103 385.5t279.5 279.5t385.5 103t385.5 -103t279.5 -279.5t103 -385.5z" />
64
- <glyph unicode="&#xf01e;" d="M1536 1280v-448q0 -26 -19 -45t-45 -19h-448q-42 0 -59 40q-17 39 14 69l138 138q-148 137 -349 137q-104 0 -198.5 -40.5t-163.5 -109.5t-109.5 -163.5t-40.5 -198.5t40.5 -198.5t109.5 -163.5t163.5 -109.5t198.5 -40.5q119 0 225 52t179 147q7 10 23 12q15 0 25 -9 l137 -138q9 -8 9.5 -20.5t-7.5 -22.5q-109 -132 -264 -204.5t-327 -72.5q-156 0 -298 61t-245 164t-164 245t-61 298t61 298t164 245t245 164t298 61q147 0 284.5 -55.5t244.5 -156.5l130 129q29 31 70 14q39 -17 39 -59z" />
65
- <glyph unicode="&#xf021;" d="M1511 480q0 -5 -1 -7q-64 -268 -268 -434.5t-478 -166.5q-146 0 -282.5 55t-243.5 157l-129 -129q-19 -19 -45 -19t-45 19t-19 45v448q0 26 19 45t45 19h448q26 0 45 -19t19 -45t-19 -45l-137 -137q71 -66 161 -102t187 -36q134 0 250 65t186 179q11 17 53 117 q8 23 30 23h192q13 0 22.5 -9.5t9.5 -22.5zM1536 1280v-448q0 -26 -19 -45t-45 -19h-448q-26 0 -45 19t-19 45t19 45l138 138q-148 137 -349 137q-134 0 -250 -65t-186 -179q-11 -17 -53 -117q-8 -23 -30 -23h-199q-13 0 -22.5 9.5t-9.5 22.5v7q65 268 270 434.5t480 166.5 q146 0 284 -55.5t245 -156.5l130 129q19 19 45 19t45 -19t19 -45z" />
66
- <glyph unicode="&#xf022;" horiz-adv-x="1792" d="M384 352v-64q0 -13 -9.5 -22.5t-22.5 -9.5h-64q-13 0 -22.5 9.5t-9.5 22.5v64q0 13 9.5 22.5t22.5 9.5h64q13 0 22.5 -9.5t9.5 -22.5zM384 608v-64q0 -13 -9.5 -22.5t-22.5 -9.5h-64q-13 0 -22.5 9.5t-9.5 22.5v64q0 13 9.5 22.5t22.5 9.5h64q13 0 22.5 -9.5t9.5 -22.5z M384 864v-64q0 -13 -9.5 -22.5t-22.5 -9.5h-64q-13 0 -22.5 9.5t-9.5 22.5v64q0 13 9.5 22.5t22.5 9.5h64q13 0 22.5 -9.5t9.5 -22.5zM1536 352v-64q0 -13 -9.5 -22.5t-22.5 -9.5h-960q-13 0 -22.5 9.5t-9.5 22.5v64q0 13 9.5 22.5t22.5 9.5h960q13 0 22.5 -9.5t9.5 -22.5z M1536 608v-64q0 -13 -9.5 -22.5t-22.5 -9.5h-960q-13 0 -22.5 9.5t-9.5 22.5v64q0 13 9.5 22.5t22.5 9.5h960q13 0 22.5 -9.5t9.5 -22.5zM1536 864v-64q0 -13 -9.5 -22.5t-22.5 -9.5h-960q-13 0 -22.5 9.5t-9.5 22.5v64q0 13 9.5 22.5t22.5 9.5h960q13 0 22.5 -9.5 t9.5 -22.5zM1664 160v832q0 13 -9.5 22.5t-22.5 9.5h-1472q-13 0 -22.5 -9.5t-9.5 -22.5v-832q0 -13 9.5 -22.5t22.5 -9.5h1472q13 0 22.5 9.5t9.5 22.5zM1792 1248v-1088q0 -66 -47 -113t-113 -47h-1472q-66 0 -113 47t-47 113v1088q0 66 47 113t113 47h1472q66 0 113 -47 t47 -113z" />
67
- <glyph unicode="&#xf023;" horiz-adv-x="1152" d="M320 768h512v192q0 106 -75 181t-181 75t-181 -75t-75 -181v-192zM1152 672v-576q0 -40 -28 -68t-68 -28h-960q-40 0 -68 28t-28 68v576q0 40 28 68t68 28h32v192q0 184 132 316t316 132t316 -132t132 -316v-192h32q40 0 68 -28t28 -68z" />
68
- <glyph unicode="&#xf024;" horiz-adv-x="1792" d="M320 1280q0 -72 -64 -110v-1266q0 -13 -9.5 -22.5t-22.5 -9.5h-64q-13 0 -22.5 9.5t-9.5 22.5v1266q-64 38 -64 110q0 53 37.5 90.5t90.5 37.5t90.5 -37.5t37.5 -90.5zM1792 1216v-763q0 -25 -12.5 -38.5t-39.5 -27.5q-215 -116 -369 -116q-61 0 -123.5 22t-108.5 48 t-115.5 48t-142.5 22q-192 0 -464 -146q-17 -9 -33 -9q-26 0 -45 19t-19 45v742q0 32 31 55q21 14 79 43q236 120 421 120q107 0 200 -29t219 -88q38 -19 88 -19q54 0 117.5 21t110 47t88 47t54.5 21q26 0 45 -19t19 -45z" />
69
- <glyph unicode="&#xf025;" horiz-adv-x="1664" d="M1664 650q0 -166 -60 -314l-20 -49l-185 -33q-22 -83 -90.5 -136.5t-156.5 -53.5v-32q0 -14 -9 -23t-23 -9h-64q-14 0 -23 9t-9 23v576q0 14 9 23t23 9h64q14 0 23 -9t9 -23v-32q71 0 130 -35.5t93 -95.5l68 12q29 95 29 193q0 148 -88 279t-236.5 209t-315.5 78 t-315.5 -78t-236.5 -209t-88 -279q0 -98 29 -193l68 -12q34 60 93 95.5t130 35.5v32q0 14 9 23t23 9h64q14 0 23 -9t9 -23v-576q0 -14 -9 -23t-23 -9h-64q-14 0 -23 9t-9 23v32q-88 0 -156.5 53.5t-90.5 136.5l-185 33l-20 49q-60 148 -60 314q0 151 67 291t179 242.5 t266 163.5t320 61t320 -61t266 -163.5t179 -242.5t67 -291z" />
70
- <glyph unicode="&#xf026;" horiz-adv-x="768" d="M768 1184v-1088q0 -26 -19 -45t-45 -19t-45 19l-333 333h-262q-26 0 -45 19t-19 45v384q0 26 19 45t45 19h262l333 333q19 19 45 19t45 -19t19 -45z" />
71
- <glyph unicode="&#xf027;" horiz-adv-x="1152" d="M768 1184v-1088q0 -26 -19 -45t-45 -19t-45 19l-333 333h-262q-26 0 -45 19t-19 45v384q0 26 19 45t45 19h262l333 333q19 19 45 19t45 -19t19 -45zM1152 640q0 -76 -42.5 -141.5t-112.5 -93.5q-10 -5 -25 -5q-26 0 -45 18.5t-19 45.5q0 21 12 35.5t29 25t34 23t29 36 t12 56.5t-12 56.5t-29 36t-34 23t-29 25t-12 35.5q0 27 19 45.5t45 18.5q15 0 25 -5q70 -27 112.5 -93t42.5 -142z" />
72
- <glyph unicode="&#xf028;" horiz-adv-x="1664" d="M768 1184v-1088q0 -26 -19 -45t-45 -19t-45 19l-333 333h-262q-26 0 -45 19t-19 45v384q0 26 19 45t45 19h262l333 333q19 19 45 19t45 -19t19 -45zM1152 640q0 -76 -42.5 -141.5t-112.5 -93.5q-10 -5 -25 -5q-26 0 -45 18.5t-19 45.5q0 21 12 35.5t29 25t34 23t29 36 t12 56.5t-12 56.5t-29 36t-34 23t-29 25t-12 35.5q0 27 19 45.5t45 18.5q15 0 25 -5q70 -27 112.5 -93t42.5 -142zM1408 640q0 -153 -85 -282.5t-225 -188.5q-13 -5 -25 -5q-27 0 -46 19t-19 45q0 39 39 59q56 29 76 44q74 54 115.5 135.5t41.5 173.5t-41.5 173.5 t-115.5 135.5q-20 15 -76 44q-39 20 -39 59q0 26 19 45t45 19q13 0 26 -5q140 -59 225 -188.5t85 -282.5zM1664 640q0 -230 -127 -422.5t-338 -283.5q-13 -5 -26 -5q-26 0 -45 19t-19 45q0 36 39 59q7 4 22.5 10.5t22.5 10.5q46 25 82 51q123 91 192 227t69 289t-69 289 t-192 227q-36 26 -82 51q-7 4 -22.5 10.5t-22.5 10.5q-39 23 -39 59q0 26 19 45t45 19q13 0 26 -5q211 -91 338 -283.5t127 -422.5z" />
73
- <glyph unicode="&#xf029;" horiz-adv-x="1408" d="M384 384v-128h-128v128h128zM384 1152v-128h-128v128h128zM1152 1152v-128h-128v128h128zM128 129h384v383h-384v-383zM128 896h384v384h-384v-384zM896 896h384v384h-384v-384zM640 640v-640h-640v640h640zM1152 128v-128h-128v128h128zM1408 128v-128h-128v128h128z M1408 640v-384h-384v128h-128v-384h-128v640h384v-128h128v128h128zM640 1408v-640h-640v640h640zM1408 1408v-640h-640v640h640z" />
74
- <glyph unicode="&#xf02a;" horiz-adv-x="1792" d="M63 0h-63v1408h63v-1408zM126 1h-32v1407h32v-1407zM220 1h-31v1407h31v-1407zM377 1h-31v1407h31v-1407zM534 1h-62v1407h62v-1407zM660 1h-31v1407h31v-1407zM723 1h-31v1407h31v-1407zM786 1h-31v1407h31v-1407zM943 1h-63v1407h63v-1407zM1100 1h-63v1407h63v-1407z M1226 1h-63v1407h63v-1407zM1352 1h-63v1407h63v-1407zM1446 1h-63v1407h63v-1407zM1635 1h-94v1407h94v-1407zM1698 1h-32v1407h32v-1407zM1792 0h-63v1408h63v-1408z" />
75
- <glyph unicode="&#xf02b;" d="M448 1088q0 53 -37.5 90.5t-90.5 37.5t-90.5 -37.5t-37.5 -90.5t37.5 -90.5t90.5 -37.5t90.5 37.5t37.5 90.5zM1515 512q0 -53 -37 -90l-491 -492q-39 -37 -91 -37q-53 0 -90 37l-715 716q-38 37 -64.5 101t-26.5 117v416q0 52 38 90t90 38h416q53 0 117 -26.5t102 -64.5 l715 -714q37 -39 37 -91z" />
76
- <glyph unicode="&#xf02c;" horiz-adv-x="1920" d="M448 1088q0 53 -37.5 90.5t-90.5 37.5t-90.5 -37.5t-37.5 -90.5t37.5 -90.5t90.5 -37.5t90.5 37.5t37.5 90.5zM1515 512q0 -53 -37 -90l-491 -492q-39 -37 -91 -37q-53 0 -90 37l-715 716q-38 37 -64.5 101t-26.5 117v416q0 52 38 90t90 38h416q53 0 117 -26.5t102 -64.5 l715 -714q37 -39 37 -91zM1899 512q0 -53 -37 -90l-491 -492q-39 -37 -91 -37q-36 0 -59 14t-53 45l470 470q37 37 37 90q0 52 -37 91l-715 714q-38 38 -102 64.5t-117 26.5h224q53 0 117 -26.5t102 -64.5l715 -714q37 -39 37 -91z" />
77
- <glyph unicode="&#xf02d;" horiz-adv-x="1664" d="M1639 1058q40 -57 18 -129l-275 -906q-19 -64 -76.5 -107.5t-122.5 -43.5h-923q-77 0 -148.5 53.5t-99.5 131.5q-24 67 -2 127q0 4 3 27t4 37q1 8 -3 21.5t-3 19.5q2 11 8 21t16.5 23.5t16.5 23.5q23 38 45 91.5t30 91.5q3 10 0.5 30t-0.5 28q3 11 17 28t17 23 q21 36 42 92t25 90q1 9 -2.5 32t0.5 28q4 13 22 30.5t22 22.5q19 26 42.5 84.5t27.5 96.5q1 8 -3 25.5t-2 26.5q2 8 9 18t18 23t17 21q8 12 16.5 30.5t15 35t16 36t19.5 32t26.5 23.5t36 11.5t47.5 -5.5l-1 -3q38 9 51 9h761q74 0 114 -56t18 -130l-274 -906 q-36 -119 -71.5 -153.5t-128.5 -34.5h-869q-27 0 -38 -15q-11 -16 -1 -43q24 -70 144 -70h923q29 0 56 15.5t35 41.5l300 987q7 22 5 57q38 -15 59 -43zM575 1056q-4 -13 2 -22.5t20 -9.5h608q13 0 25.5 9.5t16.5 22.5l21 64q4 13 -2 22.5t-20 9.5h-608q-13 0 -25.5 -9.5 t-16.5 -22.5zM492 800q-4 -13 2 -22.5t20 -9.5h608q13 0 25.5 9.5t16.5 22.5l21 64q4 13 -2 22.5t-20 9.5h-608q-13 0 -25.5 -9.5t-16.5 -22.5z" />
78
- <glyph unicode="&#xf02e;" horiz-adv-x="1280" d="M1164 1408q23 0 44 -9q33 -13 52.5 -41t19.5 -62v-1289q0 -34 -19.5 -62t-52.5 -41q-19 -8 -44 -8q-48 0 -83 32l-441 424l-441 -424q-36 -33 -83 -33q-23 0 -44 9q-33 13 -52.5 41t-19.5 62v1289q0 34 19.5 62t52.5 41q21 9 44 9h1048z" />
79
- <glyph unicode="&#xf02f;" horiz-adv-x="1664" d="M384 0h896v256h-896v-256zM384 640h896v384h-160q-40 0 -68 28t-28 68v160h-640v-640zM1536 576q0 26 -19 45t-45 19t-45 -19t-19 -45t19 -45t45 -19t45 19t19 45zM1664 576v-416q0 -13 -9.5 -22.5t-22.5 -9.5h-224v-160q0 -40 -28 -68t-68 -28h-960q-40 0 -68 28t-28 68 v160h-224q-13 0 -22.5 9.5t-9.5 22.5v416q0 79 56.5 135.5t135.5 56.5h64v544q0 40 28 68t68 28h672q40 0 88 -20t76 -48l152 -152q28 -28 48 -76t20 -88v-256h64q79 0 135.5 -56.5t56.5 -135.5z" />
80
- <glyph unicode="&#xf030;" horiz-adv-x="1920" d="M960 864q119 0 203.5 -84.5t84.5 -203.5t-84.5 -203.5t-203.5 -84.5t-203.5 84.5t-84.5 203.5t84.5 203.5t203.5 84.5zM1664 1280q106 0 181 -75t75 -181v-896q0 -106 -75 -181t-181 -75h-1408q-106 0 -181 75t-75 181v896q0 106 75 181t181 75h224l51 136 q19 49 69.5 84.5t103.5 35.5h512q53 0 103.5 -35.5t69.5 -84.5l51 -136h224zM960 128q185 0 316.5 131.5t131.5 316.5t-131.5 316.5t-316.5 131.5t-316.5 -131.5t-131.5 -316.5t131.5 -316.5t316.5 -131.5z" />
81
- <glyph unicode="&#xf031;" horiz-adv-x="1664" d="M725 977l-170 -450q33 0 136.5 -2t160.5 -2q19 0 57 2q-87 253 -184 452zM0 -128l2 79q23 7 56 12.5t57 10.5t49.5 14.5t44.5 29t31 50.5l237 616l280 724h75h53q8 -14 11 -21l205 -480q33 -78 106 -257.5t114 -274.5q15 -34 58 -144.5t72 -168.5q20 -45 35 -57 q19 -15 88 -29.5t84 -20.5q6 -38 6 -57q0 -5 -0.5 -13.5t-0.5 -12.5q-63 0 -190 8t-191 8q-76 0 -215 -7t-178 -8q0 43 4 78l131 28q1 0 12.5 2.5t15.5 3.5t14.5 4.5t15 6.5t11 8t9 11t2.5 14q0 16 -31 96.5t-72 177.5t-42 100l-450 2q-26 -58 -76.5 -195.5t-50.5 -162.5 q0 -22 14 -37.5t43.5 -24.5t48.5 -13.5t57 -8.5t41 -4q1 -19 1 -58q0 -9 -2 -27q-58 0 -174.5 10t-174.5 10q-8 0 -26.5 -4t-21.5 -4q-80 -14 -188 -14z" />
82
- <glyph unicode="&#xf032;" horiz-adv-x="1408" d="M555 15q74 -32 140 -32q376 0 376 335q0 114 -41 180q-27 44 -61.5 74t-67.5 46.5t-80.5 25t-84 10.5t-94.5 2q-73 0 -101 -10q0 -53 -0.5 -159t-0.5 -158q0 -8 -1 -67.5t-0.5 -96.5t4.5 -83.5t12 -66.5zM541 761q42 -7 109 -7q82 0 143 13t110 44.5t74.5 89.5t25.5 142 q0 70 -29 122.5t-79 82t-108 43.5t-124 14q-50 0 -130 -13q0 -50 4 -151t4 -152q0 -27 -0.5 -80t-0.5 -79q0 -46 1 -69zM0 -128l2 94q15 4 85 16t106 27q7 12 12.5 27t8.5 33.5t5.5 32.5t3 37.5t0.5 34v35.5v30q0 982 -22 1025q-4 8 -22 14.5t-44.5 11t-49.5 7t-48.5 4.5 t-30.5 3l-4 83q98 2 340 11.5t373 9.5q23 0 68 -0.5t68 -0.5q70 0 136.5 -13t128.5 -42t108 -71t74 -104.5t28 -137.5q0 -52 -16.5 -95.5t-39 -72t-64.5 -57.5t-73 -45t-84 -40q154 -35 256.5 -134t102.5 -248q0 -100 -35 -179.5t-93.5 -130.5t-138 -85.5t-163.5 -48.5 t-176 -14q-44 0 -132 3t-132 3q-106 0 -307 -11t-231 -12z" />
83
- <glyph unicode="&#xf033;" horiz-adv-x="1024" d="M0 -126l17 85q22 7 61.5 16.5t72 19t59.5 23.5q28 35 41 101q1 7 62 289t114 543.5t52 296.5v25q-24 13 -54.5 18.5t-69.5 8t-58 5.5l19 103q33 -2 120 -6.5t149.5 -7t120.5 -2.5q48 0 98.5 2.5t121 7t98.5 6.5q-5 -39 -19 -89q-30 -10 -101.5 -28.5t-108.5 -33.5 q-8 -19 -14 -42.5t-9 -40t-7.5 -45.5t-6.5 -42q-27 -148 -87.5 -419.5t-77.5 -355.5q-2 -9 -13 -58t-20 -90t-16 -83.5t-6 -57.5l1 -18q17 -4 185 -31q-3 -44 -16 -99q-11 0 -32.5 -1.5t-32.5 -1.5q-29 0 -87 10t-86 10q-138 2 -206 2q-51 0 -143 -9t-121 -11z" />
84
- <glyph unicode="&#xf034;" horiz-adv-x="1792" d="M1744 128q33 0 42 -18.5t-11 -44.5l-126 -162q-20 -26 -49 -26t-49 26l-126 162q-20 26 -11 44.5t42 18.5h80v1024h-80q-33 0 -42 18.5t11 44.5l126 162q20 26 49 26t49 -26l126 -162q20 -26 11 -44.5t-42 -18.5h-80v-1024h80zM81 1407l54 -27q12 -5 211 -5q44 0 132 2 t132 2q36 0 107.5 -0.5t107.5 -0.5h293q6 0 21 -0.5t20.5 0t16 3t17.5 9t15 17.5l42 1q4 0 14 -0.5t14 -0.5q2 -112 2 -336q0 -80 -5 -109q-39 -14 -68 -18q-25 44 -54 128q-3 9 -11 48t-14.5 73.5t-7.5 35.5q-6 8 -12 12.5t-15.5 6t-13 2.5t-18 0.5t-16.5 -0.5 q-17 0 -66.5 0.5t-74.5 0.5t-64 -2t-71 -6q-9 -81 -8 -136q0 -94 2 -388t2 -455q0 -16 -2.5 -71.5t0 -91.5t12.5 -69q40 -21 124 -42.5t120 -37.5q5 -40 5 -50q0 -14 -3 -29l-34 -1q-76 -2 -218 8t-207 10q-50 0 -151 -9t-152 -9q-3 51 -3 52v9q17 27 61.5 43t98.5 29t78 27 q19 42 19 383q0 101 -3 303t-3 303v117q0 2 0.5 15.5t0.5 25t-1 25.5t-3 24t-5 14q-11 12 -162 12q-33 0 -93 -12t-80 -26q-19 -13 -34 -72.5t-31.5 -111t-42.5 -53.5q-42 26 -56 44v383z" />
85
- <glyph unicode="&#xf035;" d="M81 1407l54 -27q12 -5 211 -5q44 0 132 2t132 2q70 0 246.5 1t304.5 0.5t247 -4.5q33 -1 56 31l42 1q4 0 14 -0.5t14 -0.5q2 -112 2 -336q0 -80 -5 -109q-39 -14 -68 -18q-25 44 -54 128q-3 9 -11 47.5t-15 73.5t-7 36q-10 13 -27 19q-5 2 -66 2q-30 0 -93 1t-103 1 t-94 -2t-96 -7q-9 -81 -8 -136l1 -152v52q0 -55 1 -154t1.5 -180t0.5 -153q0 -16 -2.5 -71.5t0 -91.5t12.5 -69q40 -21 124 -42.5t120 -37.5q5 -40 5 -50q0 -14 -3 -29l-34 -1q-76 -2 -218 8t-207 10q-50 0 -151 -9t-152 -9q-3 51 -3 52v9q17 27 61.5 43t98.5 29t78 27 q7 16 11.5 74t6 145.5t1.5 155t-0.5 153.5t-0.5 89q0 7 -2.5 21.5t-2.5 22.5q0 7 0.5 44t1 73t0 76.5t-3 67.5t-6.5 32q-11 12 -162 12q-41 0 -163 -13.5t-138 -24.5q-19 -12 -34 -71.5t-31.5 -111.5t-42.5 -54q-42 26 -56 44v383zM1310 125q12 0 42 -19.5t57.5 -41.5 t59.5 -49t36 -30q26 -21 26 -49t-26 -49q-4 -3 -36 -30t-59.5 -49t-57.5 -41.5t-42 -19.5q-13 0 -20.5 10.5t-10 28.5t-2.5 33.5t1.5 33t1.5 19.5h-1024q0 -2 1.5 -19.5t1.5 -33t-2.5 -33.5t-10 -28.5t-20.5 -10.5q-12 0 -42 19.5t-57.5 41.5t-59.5 49t-36 30q-26 21 -26 49 t26 49q4 3 36 30t59.5 49t57.5 41.5t42 19.5q13 0 20.5 -10.5t10 -28.5t2.5 -33.5t-1.5 -33t-1.5 -19.5h1024q0 2 -1.5 19.5t-1.5 33t2.5 33.5t10 28.5t20.5 10.5z" />
86
- <glyph unicode="&#xf036;" horiz-adv-x="1792" d="M1792 192v-128q0 -26 -19 -45t-45 -19h-1664q-26 0 -45 19t-19 45v128q0 26 19 45t45 19h1664q26 0 45 -19t19 -45zM1408 576v-128q0 -26 -19 -45t-45 -19h-1280q-26 0 -45 19t-19 45v128q0 26 19 45t45 19h1280q26 0 45 -19t19 -45zM1664 960v-128q0 -26 -19 -45 t-45 -19h-1536q-26 0 -45 19t-19 45v128q0 26 19 45t45 19h1536q26 0 45 -19t19 -45zM1280 1344v-128q0 -26 -19 -45t-45 -19h-1152q-26 0 -45 19t-19 45v128q0 26 19 45t45 19h1152q26 0 45 -19t19 -45z" />
87
- <glyph unicode="&#xf037;" horiz-adv-x="1792" d="M1792 192v-128q0 -26 -19 -45t-45 -19h-1664q-26 0 -45 19t-19 45v128q0 26 19 45t45 19h1664q26 0 45 -19t19 -45zM1408 576v-128q0 -26 -19 -45t-45 -19h-896q-26 0 -45 19t-19 45v128q0 26 19 45t45 19h896q26 0 45 -19t19 -45zM1664 960v-128q0 -26 -19 -45t-45 -19 h-1408q-26 0 -45 19t-19 45v128q0 26 19 45t45 19h1408q26 0 45 -19t19 -45zM1280 1344v-128q0 -26 -19 -45t-45 -19h-640q-26 0 -45 19t-19 45v128q0 26 19 45t45 19h640q26 0 45 -19t19 -45z" />
88
- <glyph unicode="&#xf038;" horiz-adv-x="1792" d="M1792 192v-128q0 -26 -19 -45t-45 -19h-1664q-26 0 -45 19t-19 45v128q0 26 19 45t45 19h1664q26 0 45 -19t19 -45zM1792 576v-128q0 -26 -19 -45t-45 -19h-1280q-26 0 -45 19t-19 45v128q0 26 19 45t45 19h1280q26 0 45 -19t19 -45zM1792 960v-128q0 -26 -19 -45 t-45 -19h-1536q-26 0 -45 19t-19 45v128q0 26 19 45t45 19h1536q26 0 45 -19t19 -45zM1792 1344v-128q0 -26 -19 -45t-45 -19h-1152q-26 0 -45 19t-19 45v128q0 26 19 45t45 19h1152q26 0 45 -19t19 -45z" />
89
- <glyph unicode="&#xf039;" horiz-adv-x="1792" d="M1792 192v-128q0 -26 -19 -45t-45 -19h-1664q-26 0 -45 19t-19 45v128q0 26 19 45t45 19h1664q26 0 45 -19t19 -45zM1792 576v-128q0 -26 -19 -45t-45 -19h-1664q-26 0 -45 19t-19 45v128q0 26 19 45t45 19h1664q26 0 45 -19t19 -45zM1792 960v-128q0 -26 -19 -45 t-45 -19h-1664q-26 0 -45 19t-19 45v128q0 26 19 45t45 19h1664q26 0 45 -19t19 -45zM1792 1344v-128q0 -26 -19 -45t-45 -19h-1664q-26 0 -45 19t-19 45v128q0 26 19 45t45 19h1664q26 0 45 -19t19 -45z" />
90
- <glyph unicode="&#xf03a;" horiz-adv-x="1792" d="M256 224v-192q0 -13 -9.5 -22.5t-22.5 -9.5h-192q-13 0 -22.5 9.5t-9.5 22.5v192q0 13 9.5 22.5t22.5 9.5h192q13 0 22.5 -9.5t9.5 -22.5zM256 608v-192q0 -13 -9.5 -22.5t-22.5 -9.5h-192q-13 0 -22.5 9.5t-9.5 22.5v192q0 13 9.5 22.5t22.5 9.5h192q13 0 22.5 -9.5 t9.5 -22.5zM256 992v-192q0 -13 -9.5 -22.5t-22.5 -9.5h-192q-13 0 -22.5 9.5t-9.5 22.5v192q0 13 9.5 22.5t22.5 9.5h192q13 0 22.5 -9.5t9.5 -22.5zM1792 224v-192q0 -13 -9.5 -22.5t-22.5 -9.5h-1344q-13 0 -22.5 9.5t-9.5 22.5v192q0 13 9.5 22.5t22.5 9.5h1344 q13 0 22.5 -9.5t9.5 -22.5zM256 1376v-192q0 -13 -9.5 -22.5t-22.5 -9.5h-192q-13 0 -22.5 9.5t-9.5 22.5v192q0 13 9.5 22.5t22.5 9.5h192q13 0 22.5 -9.5t9.5 -22.5zM1792 608v-192q0 -13 -9.5 -22.5t-22.5 -9.5h-1344q-13 0 -22.5 9.5t-9.5 22.5v192q0 13 9.5 22.5 t22.5 9.5h1344q13 0 22.5 -9.5t9.5 -22.5zM1792 992v-192q0 -13 -9.5 -22.5t-22.5 -9.5h-1344q-13 0 -22.5 9.5t-9.5 22.5v192q0 13 9.5 22.5t22.5 9.5h1344q13 0 22.5 -9.5t9.5 -22.5zM1792 1376v-192q0 -13 -9.5 -22.5t-22.5 -9.5h-1344q-13 0 -22.5 9.5t-9.5 22.5v192 q0 13 9.5 22.5t22.5 9.5h1344q13 0 22.5 -9.5t9.5 -22.5z" />
91
- <glyph unicode="&#xf03b;" horiz-adv-x="1792" d="M384 992v-576q0 -13 -9.5 -22.5t-22.5 -9.5q-14 0 -23 9l-288 288q-9 9 -9 23t9 23l288 288q9 9 23 9q13 0 22.5 -9.5t9.5 -22.5zM1792 224v-192q0 -13 -9.5 -22.5t-22.5 -9.5h-1728q-13 0 -22.5 9.5t-9.5 22.5v192q0 13 9.5 22.5t22.5 9.5h1728q13 0 22.5 -9.5 t9.5 -22.5zM1792 608v-192q0 -13 -9.5 -22.5t-22.5 -9.5h-1088q-13 0 -22.5 9.5t-9.5 22.5v192q0 13 9.5 22.5t22.5 9.5h1088q13 0 22.5 -9.5t9.5 -22.5zM1792 992v-192q0 -13 -9.5 -22.5t-22.5 -9.5h-1088q-13 0 -22.5 9.5t-9.5 22.5v192q0 13 9.5 22.5t22.5 9.5h1088 q13 0 22.5 -9.5t9.5 -22.5zM1792 1376v-192q0 -13 -9.5 -22.5t-22.5 -9.5h-1728q-13 0 -22.5 9.5t-9.5 22.5v192q0 13 9.5 22.5t22.5 9.5h1728q13 0 22.5 -9.5t9.5 -22.5z" />
92
- <glyph unicode="&#xf03c;" horiz-adv-x="1792" d="M352 704q0 -14 -9 -23l-288 -288q-9 -9 -23 -9q-13 0 -22.5 9.5t-9.5 22.5v576q0 13 9.5 22.5t22.5 9.5q14 0 23 -9l288 -288q9 -9 9 -23zM1792 224v-192q0 -13 -9.5 -22.5t-22.5 -9.5h-1728q-13 0 -22.5 9.5t-9.5 22.5v192q0 13 9.5 22.5t22.5 9.5h1728q13 0 22.5 -9.5 t9.5 -22.5zM1792 608v-192q0 -13 -9.5 -22.5t-22.5 -9.5h-1088q-13 0 -22.5 9.5t-9.5 22.5v192q0 13 9.5 22.5t22.5 9.5h1088q13 0 22.5 -9.5t9.5 -22.5zM1792 992v-192q0 -13 -9.5 -22.5t-22.5 -9.5h-1088q-13 0 -22.5 9.5t-9.5 22.5v192q0 13 9.5 22.5t22.5 9.5h1088 q13 0 22.5 -9.5t9.5 -22.5zM1792 1376v-192q0 -13 -9.5 -22.5t-22.5 -9.5h-1728q-13 0 -22.5 9.5t-9.5 22.5v192q0 13 9.5 22.5t22.5 9.5h1728q13 0 22.5 -9.5t9.5 -22.5z" />
93
- <glyph unicode="&#xf03d;" horiz-adv-x="1792" d="M1792 1184v-1088q0 -42 -39 -59q-13 -5 -25 -5q-27 0 -45 19l-403 403v-166q0 -119 -84.5 -203.5t-203.5 -84.5h-704q-119 0 -203.5 84.5t-84.5 203.5v704q0 119 84.5 203.5t203.5 84.5h704q119 0 203.5 -84.5t84.5 -203.5v-165l403 402q18 19 45 19q12 0 25 -5 q39 -17 39 -59z" />
94
- <glyph unicode="&#xf03e;" horiz-adv-x="1920" d="M640 960q0 -80 -56 -136t-136 -56t-136 56t-56 136t56 136t136 56t136 -56t56 -136zM1664 576v-448h-1408v192l320 320l160 -160l512 512zM1760 1280h-1600q-13 0 -22.5 -9.5t-9.5 -22.5v-1216q0 -13 9.5 -22.5t22.5 -9.5h1600q13 0 22.5 9.5t9.5 22.5v1216 q0 13 -9.5 22.5t-22.5 9.5zM1920 1248v-1216q0 -66 -47 -113t-113 -47h-1600q-66 0 -113 47t-47 113v1216q0 66 47 113t113 47h1600q66 0 113 -47t47 -113z" />
95
- <glyph unicode="&#xf040;" d="M363 0l91 91l-235 235l-91 -91v-107h128v-128h107zM886 928q0 22 -22 22q-10 0 -17 -7l-542 -542q-7 -7 -7 -17q0 -22 22 -22q10 0 17 7l542 542q7 7 7 17zM832 1120l416 -416l-832 -832h-416v416zM1515 1024q0 -53 -37 -90l-166 -166l-416 416l166 165q36 38 90 38 q53 0 91 -38l235 -234q37 -39 37 -91z" />
96
- <glyph unicode="&#xf041;" horiz-adv-x="1024" d="M768 896q0 106 -75 181t-181 75t-181 -75t-75 -181t75 -181t181 -75t181 75t75 181zM1024 896q0 -109 -33 -179l-364 -774q-16 -33 -47.5 -52t-67.5 -19t-67.5 19t-46.5 52l-365 774q-33 70 -33 179q0 212 150 362t362 150t362 -150t150 -362z" />
97
- <glyph unicode="&#xf042;" d="M768 96v1088q-148 0 -273 -73t-198 -198t-73 -273t73 -273t198 -198t273 -73zM1536 640q0 -209 -103 -385.5t-279.5 -279.5t-385.5 -103t-385.5 103t-279.5 279.5t-103 385.5t103 385.5t279.5 279.5t385.5 103t385.5 -103t279.5 -279.5t103 -385.5z" />
98
- <glyph unicode="&#xf043;" horiz-adv-x="1024" d="M512 384q0 36 -20 69q-1 1 -15.5 22.5t-25.5 38t-25 44t-21 50.5q-4 16 -21 16t-21 -16q-7 -23 -21 -50.5t-25 -44t-25.5 -38t-15.5 -22.5q-20 -33 -20 -69q0 -53 37.5 -90.5t90.5 -37.5t90.5 37.5t37.5 90.5zM1024 512q0 -212 -150 -362t-362 -150t-362 150t-150 362 q0 145 81 275q6 9 62.5 90.5t101 151t99.5 178t83 201.5q9 30 34 47t51 17t51.5 -17t33.5 -47q28 -93 83 -201.5t99.5 -178t101 -151t62.5 -90.5q81 -127 81 -275z" />
99
- <glyph unicode="&#xf044;" horiz-adv-x="1792" d="M888 352l116 116l-152 152l-116 -116v-56h96v-96h56zM1328 1072q-16 16 -33 -1l-350 -350q-17 -17 -1 -33t33 1l350 350q17 17 1 33zM1408 478v-190q0 -119 -84.5 -203.5t-203.5 -84.5h-832q-119 0 -203.5 84.5t-84.5 203.5v832q0 119 84.5 203.5t203.5 84.5h832 q63 0 117 -25q15 -7 18 -23q3 -17 -9 -29l-49 -49q-14 -14 -32 -8q-23 6 -45 6h-832q-66 0 -113 -47t-47 -113v-832q0 -66 47 -113t113 -47h832q66 0 113 47t47 113v126q0 13 9 22l64 64q15 15 35 7t20 -29zM1312 1216l288 -288l-672 -672h-288v288zM1756 1084l-92 -92 l-288 288l92 92q28 28 68 28t68 -28l152 -152q28 -28 28 -68t-28 -68z" />
100
- <glyph unicode="&#xf045;" horiz-adv-x="1664" d="M1408 547v-259q0 -119 -84.5 -203.5t-203.5 -84.5h-832q-119 0 -203.5 84.5t-84.5 203.5v832q0 119 84.5 203.5t203.5 84.5h255v0q13 0 22.5 -9.5t9.5 -22.5q0 -27 -26 -32q-77 -26 -133 -60q-10 -4 -16 -4h-112q-66 0 -113 -47t-47 -113v-832q0 -66 47 -113t113 -47h832 q66 0 113 47t47 113v214q0 19 18 29q28 13 54 37q16 16 35 8q21 -9 21 -29zM1645 1043l-384 -384q-18 -19 -45 -19q-12 0 -25 5q-39 17 -39 59v192h-160q-323 0 -438 -131q-119 -137 -74 -473q3 -23 -20 -34q-8 -2 -12 -2q-16 0 -26 13q-10 14 -21 31t-39.5 68.5t-49.5 99.5 t-38.5 114t-17.5 122q0 49 3.5 91t14 90t28 88t47 81.5t68.5 74t94.5 61.5t124.5 48.5t159.5 30.5t196.5 11h160v192q0 42 39 59q13 5 25 5q26 0 45 -19l384 -384q19 -19 19 -45t-19 -45z" />
101
- <glyph unicode="&#xf046;" horiz-adv-x="1664" d="M1408 606v-318q0 -119 -84.5 -203.5t-203.5 -84.5h-832q-119 0 -203.5 84.5t-84.5 203.5v832q0 119 84.5 203.5t203.5 84.5h832q63 0 117 -25q15 -7 18 -23q3 -17 -9 -29l-49 -49q-10 -10 -23 -10q-3 0 -9 2q-23 6 -45 6h-832q-66 0 -113 -47t-47 -113v-832 q0 -66 47 -113t113 -47h832q66 0 113 47t47 113v254q0 13 9 22l64 64q10 10 23 10q6 0 12 -3q20 -8 20 -29zM1639 1095l-814 -814q-24 -24 -57 -24t-57 24l-430 430q-24 24 -24 57t24 57l110 110q24 24 57 24t57 -24l263 -263l647 647q24 24 57 24t57 -24l110 -110 q24 -24 24 -57t-24 -57z" />
102
- <glyph unicode="&#xf047;" horiz-adv-x="1792" d="M1792 640q0 -26 -19 -45l-256 -256q-19 -19 -45 -19t-45 19t-19 45v128h-384v-384h128q26 0 45 -19t19 -45t-19 -45l-256 -256q-19 -19 -45 -19t-45 19l-256 256q-19 19 -19 45t19 45t45 19h128v384h-384v-128q0 -26 -19 -45t-45 -19t-45 19l-256 256q-19 19 -19 45 t19 45l256 256q19 19 45 19t45 -19t19 -45v-128h384v384h-128q-26 0 -45 19t-19 45t19 45l256 256q19 19 45 19t45 -19l256 -256q19 -19 19 -45t-19 -45t-45 -19h-128v-384h384v128q0 26 19 45t45 19t45 -19l256 -256q19 -19 19 -45z" />
103
- <glyph unicode="&#xf048;" horiz-adv-x="1024" d="M979 1395q19 19 32 13t13 -32v-1472q0 -26 -13 -32t-32 13l-710 710q-9 9 -13 19v-678q0 -26 -19 -45t-45 -19h-128q-26 0 -45 19t-19 45v1408q0 26 19 45t45 19h128q26 0 45 -19t19 -45v-678q4 10 13 19z" />
104
- <glyph unicode="&#xf049;" horiz-adv-x="1792" d="M1747 1395q19 19 32 13t13 -32v-1472q0 -26 -13 -32t-32 13l-710 710q-9 9 -13 19v-710q0 -26 -13 -32t-32 13l-710 710q-9 9 -13 19v-678q0 -26 -19 -45t-45 -19h-128q-26 0 -45 19t-19 45v1408q0 26 19 45t45 19h128q26 0 45 -19t19 -45v-678q4 10 13 19l710 710 q19 19 32 13t13 -32v-710q4 10 13 19z" />
105
- <glyph unicode="&#xf04a;" horiz-adv-x="1664" d="M1619 1395q19 19 32 13t13 -32v-1472q0 -26 -13 -32t-32 13l-710 710q-9 9 -13 19v-710q0 -26 -13 -32t-32 13l-710 710q-19 19 -19 45t19 45l710 710q19 19 32 13t13 -32v-710q4 10 13 19z" />
106
- <glyph unicode="&#xf04b;" horiz-adv-x="1408" d="M1384 609l-1328 -738q-23 -13 -39.5 -3t-16.5 36v1472q0 26 16.5 36t39.5 -3l1328 -738q23 -13 23 -31t-23 -31z" />
107
- <glyph unicode="&#xf04c;" d="M1536 1344v-1408q0 -26 -19 -45t-45 -19h-512q-26 0 -45 19t-19 45v1408q0 26 19 45t45 19h512q26 0 45 -19t19 -45zM640 1344v-1408q0 -26 -19 -45t-45 -19h-512q-26 0 -45 19t-19 45v1408q0 26 19 45t45 19h512q26 0 45 -19t19 -45z" />
108
- <glyph unicode="&#xf04d;" d="M1536 1344v-1408q0 -26 -19 -45t-45 -19h-1408q-26 0 -45 19t-19 45v1408q0 26 19 45t45 19h1408q26 0 45 -19t19 -45z" />
109
- <glyph unicode="&#xf04e;" horiz-adv-x="1664" d="M45 -115q-19 -19 -32 -13t-13 32v1472q0 26 13 32t32 -13l710 -710q9 -9 13 -19v710q0 26 13 32t32 -13l710 -710q19 -19 19 -45t-19 -45l-710 -710q-19 -19 -32 -13t-13 32v710q-4 -10 -13 -19z" />
110
- <glyph unicode="&#xf050;" horiz-adv-x="1792" d="M45 -115q-19 -19 -32 -13t-13 32v1472q0 26 13 32t32 -13l710 -710q9 -9 13 -19v710q0 26 13 32t32 -13l710 -710q9 -9 13 -19v678q0 26 19 45t45 19h128q26 0 45 -19t19 -45v-1408q0 -26 -19 -45t-45 -19h-128q-26 0 -45 19t-19 45v678q-4 -10 -13 -19l-710 -710 q-19 -19 -32 -13t-13 32v710q-4 -10 -13 -19z" />
111
- <glyph unicode="&#xf051;" horiz-adv-x="1024" d="M45 -115q-19 -19 -32 -13t-13 32v1472q0 26 13 32t32 -13l710 -710q9 -9 13 -19v678q0 26 19 45t45 19h128q26 0 45 -19t19 -45v-1408q0 -26 -19 -45t-45 -19h-128q-26 0 -45 19t-19 45v678q-4 -10 -13 -19z" />
112
- <glyph unicode="&#xf052;" horiz-adv-x="1538" d="M14 557l710 710q19 19 45 19t45 -19l710 -710q19 -19 13 -32t-32 -13h-1472q-26 0 -32 13t13 32zM1473 0h-1408q-26 0 -45 19t-19 45v256q0 26 19 45t45 19h1408q26 0 45 -19t19 -45v-256q0 -26 -19 -45t-45 -19z" />
113
- <glyph unicode="&#xf053;" horiz-adv-x="1280" d="M1171 1235l-531 -531l531 -531q19 -19 19 -45t-19 -45l-166 -166q-19 -19 -45 -19t-45 19l-742 742q-19 19 -19 45t19 45l742 742q19 19 45 19t45 -19l166 -166q19 -19 19 -45t-19 -45z" />
114
- <glyph unicode="&#xf054;" horiz-adv-x="1280" d="M1107 659l-742 -742q-19 -19 -45 -19t-45 19l-166 166q-19 19 -19 45t19 45l531 531l-531 531q-19 19 -19 45t19 45l166 166q19 19 45 19t45 -19l742 -742q19 -19 19 -45t-19 -45z" />
115
- <glyph unicode="&#xf055;" d="M1216 576v128q0 26 -19 45t-45 19h-256v256q0 26 -19 45t-45 19h-128q-26 0 -45 -19t-19 -45v-256h-256q-26 0 -45 -19t-19 -45v-128q0 -26 19 -45t45 -19h256v-256q0 -26 19 -45t45 -19h128q26 0 45 19t19 45v256h256q26 0 45 19t19 45zM1536 640q0 -209 -103 -385.5 t-279.5 -279.5t-385.5 -103t-385.5 103t-279.5 279.5t-103 385.5t103 385.5t279.5 279.5t385.5 103t385.5 -103t279.5 -279.5t103 -385.5z" />
116
- <glyph unicode="&#xf056;" d="M1216 576v128q0 26 -19 45t-45 19h-768q-26 0 -45 -19t-19 -45v-128q0 -26 19 -45t45 -19h768q26 0 45 19t19 45zM1536 640q0 -209 -103 -385.5t-279.5 -279.5t-385.5 -103t-385.5 103t-279.5 279.5t-103 385.5t103 385.5t279.5 279.5t385.5 103t385.5 -103t279.5 -279.5 t103 -385.5z" />
117
- <glyph unicode="&#xf057;" d="M1149 414q0 26 -19 45l-181 181l181 181q19 19 19 45q0 27 -19 46l-90 90q-19 19 -46 19q-26 0 -45 -19l-181 -181l-181 181q-19 19 -45 19q-27 0 -46 -19l-90 -90q-19 -19 -19 -46q0 -26 19 -45l181 -181l-181 -181q-19 -19 -19 -45q0 -27 19 -46l90 -90q19 -19 46 -19 q26 0 45 19l181 181l181 -181q19 -19 45 -19q27 0 46 19l90 90q19 19 19 46zM1536 640q0 -209 -103 -385.5t-279.5 -279.5t-385.5 -103t-385.5 103t-279.5 279.5t-103 385.5t103 385.5t279.5 279.5t385.5 103t385.5 -103t279.5 -279.5t103 -385.5z" />
118
- <glyph unicode="&#xf058;" d="M1284 802q0 28 -18 46l-91 90q-19 19 -45 19t-45 -19l-408 -407l-226 226q-19 19 -45 19t-45 -19l-91 -90q-18 -18 -18 -46q0 -27 18 -45l362 -362q19 -19 45 -19q27 0 46 19l543 543q18 18 18 45zM1536 640q0 -209 -103 -385.5t-279.5 -279.5t-385.5 -103t-385.5 103 t-279.5 279.5t-103 385.5t103 385.5t279.5 279.5t385.5 103t385.5 -103t279.5 -279.5t103 -385.5z" />
119
- <glyph unicode="&#xf059;" d="M896 160v192q0 14 -9 23t-23 9h-192q-14 0 -23 -9t-9 -23v-192q0 -14 9 -23t23 -9h192q14 0 23 9t9 23zM1152 832q0 88 -55.5 163t-138.5 116t-170 41q-243 0 -371 -213q-15 -24 8 -42l132 -100q7 -6 19 -6q16 0 25 12q53 68 86 92q34 24 86 24q48 0 85.5 -26t37.5 -59 q0 -38 -20 -61t-68 -45q-63 -28 -115.5 -86.5t-52.5 -125.5v-36q0 -14 9 -23t23 -9h192q14 0 23 9t9 23q0 19 21.5 49.5t54.5 49.5q32 18 49 28.5t46 35t44.5 48t28 60.5t12.5 81zM1536 640q0 -209 -103 -385.5t-279.5 -279.5t-385.5 -103t-385.5 103t-279.5 279.5 t-103 385.5t103 385.5t279.5 279.5t385.5 103t385.5 -103t279.5 -279.5t103 -385.5z" />
120
- <glyph unicode="&#xf05a;" d="M1024 160v160q0 14 -9 23t-23 9h-96v512q0 14 -9 23t-23 9h-320q-14 0 -23 -9t-9 -23v-160q0 -14 9 -23t23 -9h96v-320h-96q-14 0 -23 -9t-9 -23v-160q0 -14 9 -23t23 -9h448q14 0 23 9t9 23zM896 1056v160q0 14 -9 23t-23 9h-192q-14 0 -23 -9t-9 -23v-160q0 -14 9 -23 t23 -9h192q14 0 23 9t9 23zM1536 640q0 -209 -103 -385.5t-279.5 -279.5t-385.5 -103t-385.5 103t-279.5 279.5t-103 385.5t103 385.5t279.5 279.5t385.5 103t385.5 -103t279.5 -279.5t103 -385.5z" />
121
- <glyph unicode="&#xf05b;" d="M1197 512h-109q-26 0 -45 19t-19 45v128q0 26 19 45t45 19h109q-32 108 -112.5 188.5t-188.5 112.5v-109q0 -26 -19 -45t-45 -19h-128q-26 0 -45 19t-19 45v109q-108 -32 -188.5 -112.5t-112.5 -188.5h109q26 0 45 -19t19 -45v-128q0 -26 -19 -45t-45 -19h-109 q32 -108 112.5 -188.5t188.5 -112.5v109q0 26 19 45t45 19h128q26 0 45 -19t19 -45v-109q108 32 188.5 112.5t112.5 188.5zM1536 704v-128q0 -26 -19 -45t-45 -19h-143q-37 -161 -154.5 -278.5t-278.5 -154.5v-143q0 -26 -19 -45t-45 -19h-128q-26 0 -45 19t-19 45v143 q-161 37 -278.5 154.5t-154.5 278.5h-143q-26 0 -45 19t-19 45v128q0 26 19 45t45 19h143q37 161 154.5 278.5t278.5 154.5v143q0 26 19 45t45 19h128q26 0 45 -19t19 -45v-143q161 -37 278.5 -154.5t154.5 -278.5h143q26 0 45 -19t19 -45z" />
122
- <glyph unicode="&#xf05c;" d="M1097 457l-146 -146q-10 -10 -23 -10t-23 10l-137 137l-137 -137q-10 -10 -23 -10t-23 10l-146 146q-10 10 -10 23t10 23l137 137l-137 137q-10 10 -10 23t10 23l146 146q10 10 23 10t23 -10l137 -137l137 137q10 10 23 10t23 -10l146 -146q10 -10 10 -23t-10 -23 l-137 -137l137 -137q10 -10 10 -23t-10 -23zM1312 640q0 148 -73 273t-198 198t-273 73t-273 -73t-198 -198t-73 -273t73 -273t198 -198t273 -73t273 73t198 198t73 273zM1536 640q0 -209 -103 -385.5t-279.5 -279.5t-385.5 -103t-385.5 103t-279.5 279.5t-103 385.5 t103 385.5t279.5 279.5t385.5 103t385.5 -103t279.5 -279.5t103 -385.5z" />
123
- <glyph unicode="&#xf05d;" d="M1171 723l-422 -422q-19 -19 -45 -19t-45 19l-294 294q-19 19 -19 45t19 45l102 102q19 19 45 19t45 -19l147 -147l275 275q19 19 45 19t45 -19l102 -102q19 -19 19 -45t-19 -45zM1312 640q0 148 -73 273t-198 198t-273 73t-273 -73t-198 -198t-73 -273t73 -273t198 -198 t273 -73t273 73t198 198t73 273zM1536 640q0 -209 -103 -385.5t-279.5 -279.5t-385.5 -103t-385.5 103t-279.5 279.5t-103 385.5t103 385.5t279.5 279.5t385.5 103t385.5 -103t279.5 -279.5t103 -385.5z" />
124
- <glyph unicode="&#xf05e;" d="M1312 643q0 161 -87 295l-754 -753q137 -89 297 -89q111 0 211.5 43.5t173.5 116.5t116 174.5t43 212.5zM313 344l755 754q-135 91 -300 91q-148 0 -273 -73t-198 -199t-73 -274q0 -162 89 -299zM1536 643q0 -157 -61 -300t-163.5 -246t-245 -164t-298.5 -61t-298.5 61 t-245 164t-163.5 246t-61 300t61 299.5t163.5 245.5t245 164t298.5 61t298.5 -61t245 -164t163.5 -245.5t61 -299.5z" />
125
- <glyph unicode="&#xf060;" d="M1536 640v-128q0 -53 -32.5 -90.5t-84.5 -37.5h-704l293 -294q38 -36 38 -90t-38 -90l-75 -76q-37 -37 -90 -37q-52 0 -91 37l-651 652q-37 37 -37 90q0 52 37 91l651 650q38 38 91 38q52 0 90 -38l75 -74q38 -38 38 -91t-38 -91l-293 -293h704q52 0 84.5 -37.5 t32.5 -90.5z" />
126
- <glyph unicode="&#xf061;" d="M1472 576q0 -54 -37 -91l-651 -651q-39 -37 -91 -37q-51 0 -90 37l-75 75q-38 38 -38 91t38 91l293 293h-704q-52 0 -84.5 37.5t-32.5 90.5v128q0 53 32.5 90.5t84.5 37.5h704l-293 294q-38 36 -38 90t38 90l75 75q38 38 90 38q53 0 91 -38l651 -651q37 -35 37 -90z" />
127
- <glyph unicode="&#xf062;" horiz-adv-x="1664" d="M1611 565q0 -51 -37 -90l-75 -75q-38 -38 -91 -38q-54 0 -90 38l-294 293v-704q0 -52 -37.5 -84.5t-90.5 -32.5h-128q-53 0 -90.5 32.5t-37.5 84.5v704l-294 -293q-36 -38 -90 -38t-90 38l-75 75q-38 38 -38 90q0 53 38 91l651 651q35 37 90 37q54 0 91 -37l651 -651 q37 -39 37 -91z" />
128
- <glyph unicode="&#xf063;" horiz-adv-x="1664" d="M1611 704q0 -53 -37 -90l-651 -652q-39 -37 -91 -37q-53 0 -90 37l-651 652q-38 36 -38 90q0 53 38 91l74 75q39 37 91 37q53 0 90 -37l294 -294v704q0 52 38 90t90 38h128q52 0 90 -38t38 -90v-704l294 294q37 37 90 37q52 0 91 -37l75 -75q37 -39 37 -91z" />
129
- <glyph unicode="&#xf064;" horiz-adv-x="1792" d="M1792 896q0 -26 -19 -45l-512 -512q-19 -19 -45 -19t-45 19t-19 45v256h-224q-98 0 -175.5 -6t-154 -21.5t-133 -42.5t-105.5 -69.5t-80 -101t-48.5 -138.5t-17.5 -181q0 -55 5 -123q0 -6 2.5 -23.5t2.5 -26.5q0 -15 -8.5 -25t-23.5 -10q-16 0 -28 17q-7 9 -13 22 t-13.5 30t-10.5 24q-127 285 -127 451q0 199 53 333q162 403 875 403h224v256q0 26 19 45t45 19t45 -19l512 -512q19 -19 19 -45z" />
130
- <glyph unicode="&#xf065;" d="M755 480q0 -13 -10 -23l-332 -332l144 -144q19 -19 19 -45t-19 -45t-45 -19h-448q-26 0 -45 19t-19 45v448q0 26 19 45t45 19t45 -19l144 -144l332 332q10 10 23 10t23 -10l114 -114q10 -10 10 -23zM1536 1344v-448q0 -26 -19 -45t-45 -19t-45 19l-144 144l-332 -332 q-10 -10 -23 -10t-23 10l-114 114q-10 10 -10 23t10 23l332 332l-144 144q-19 19 -19 45t19 45t45 19h448q26 0 45 -19t19 -45z" />
131
- <glyph unicode="&#xf066;" d="M768 576v-448q0 -26 -19 -45t-45 -19t-45 19l-144 144l-332 -332q-10 -10 -23 -10t-23 10l-114 114q-10 10 -10 23t10 23l332 332l-144 144q-19 19 -19 45t19 45t45 19h448q26 0 45 -19t19 -45zM1523 1248q0 -13 -10 -23l-332 -332l144 -144q19 -19 19 -45t-19 -45 t-45 -19h-448q-26 0 -45 19t-19 45v448q0 26 19 45t45 19t45 -19l144 -144l332 332q10 10 23 10t23 -10l114 -114q10 -10 10 -23z" />
132
- <glyph unicode="&#xf067;" horiz-adv-x="1408" d="M1408 800v-192q0 -40 -28 -68t-68 -28h-416v-416q0 -40 -28 -68t-68 -28h-192q-40 0 -68 28t-28 68v416h-416q-40 0 -68 28t-28 68v192q0 40 28 68t68 28h416v416q0 40 28 68t68 28h192q40 0 68 -28t28 -68v-416h416q40 0 68 -28t28 -68z" />
133
- <glyph unicode="&#xf068;" horiz-adv-x="1408" d="M1408 800v-192q0 -40 -28 -68t-68 -28h-1216q-40 0 -68 28t-28 68v192q0 40 28 68t68 28h1216q40 0 68 -28t28 -68z" />
134
- <glyph unicode="&#xf069;" horiz-adv-x="1664" d="M1482 486q46 -26 59.5 -77.5t-12.5 -97.5l-64 -110q-26 -46 -77.5 -59.5t-97.5 12.5l-266 153v-307q0 -52 -38 -90t-90 -38h-128q-52 0 -90 38t-38 90v307l-266 -153q-46 -26 -97.5 -12.5t-77.5 59.5l-64 110q-26 46 -12.5 97.5t59.5 77.5l266 154l-266 154 q-46 26 -59.5 77.5t12.5 97.5l64 110q26 46 77.5 59.5t97.5 -12.5l266 -153v307q0 52 38 90t90 38h128q52 0 90 -38t38 -90v-307l266 153q46 26 97.5 12.5t77.5 -59.5l64 -110q26 -46 12.5 -97.5t-59.5 -77.5l-266 -154z" />
135
- <glyph unicode="&#xf06a;" d="M768 1408q209 0 385.5 -103t279.5 -279.5t103 -385.5t-103 -385.5t-279.5 -279.5t-385.5 -103t-385.5 103t-279.5 279.5t-103 385.5t103 385.5t279.5 279.5t385.5 103zM896 161v190q0 14 -9 23.5t-22 9.5h-192q-13 0 -23 -10t-10 -23v-190q0 -13 10 -23t23 -10h192 q13 0 22 9.5t9 23.5zM894 505l18 621q0 12 -10 18q-10 8 -24 8h-220q-14 0 -24 -8q-10 -6 -10 -18l17 -621q0 -10 10 -17.5t24 -7.5h185q14 0 23.5 7.5t10.5 17.5z" />
136
- <glyph unicode="&#xf06b;" d="M928 180v56v468v192h-320v-192v-468v-56q0 -25 18 -38.5t46 -13.5h192q28 0 46 13.5t18 38.5zM472 1024h195l-126 161q-26 31 -69 31q-40 0 -68 -28t-28 -68t28 -68t68 -28zM1160 1120q0 40 -28 68t-68 28q-43 0 -69 -31l-125 -161h194q40 0 68 28t28 68zM1536 864v-320 q0 -14 -9 -23t-23 -9h-96v-416q0 -40 -28 -68t-68 -28h-1088q-40 0 -68 28t-28 68v416h-96q-14 0 -23 9t-9 23v320q0 14 9 23t23 9h440q-93 0 -158.5 65.5t-65.5 158.5t65.5 158.5t158.5 65.5q107 0 168 -77l128 -165l128 165q61 77 168 77q93 0 158.5 -65.5t65.5 -158.5 t-65.5 -158.5t-158.5 -65.5h440q14 0 23 -9t9 -23z" />
137
- <glyph unicode="&#xf06c;" horiz-adv-x="1792" d="M1280 832q0 26 -19 45t-45 19q-172 0 -318 -49.5t-259.5 -134t-235.5 -219.5q-19 -21 -19 -45q0 -26 19 -45t45 -19q24 0 45 19q27 24 74 71t67 66q137 124 268.5 176t313.5 52q26 0 45 19t19 45zM1792 1030q0 -95 -20 -193q-46 -224 -184.5 -383t-357.5 -268 q-214 -108 -438 -108q-148 0 -286 47q-15 5 -88 42t-96 37q-16 0 -39.5 -32t-45 -70t-52.5 -70t-60 -32q-43 0 -63.5 17.5t-45.5 59.5q-2 4 -6 11t-5.5 10t-3 9.5t-1.5 13.5q0 35 31 73.5t68 65.5t68 56t31 48q0 4 -14 38t-16 44q-9 51 -9 104q0 115 43.5 220t119 184.5 t170.5 139t204 95.5q55 18 145 25.5t179.5 9t178.5 6t163.5 24t113.5 56.5l29.5 29.5t29.5 28t27 20t36.5 16t43.5 4.5q39 0 70.5 -46t47.5 -112t24 -124t8 -96z" />
138
- <glyph unicode="&#xf06d;" horiz-adv-x="1408" d="M1408 -160v-64q0 -13 -9.5 -22.5t-22.5 -9.5h-1344q-13 0 -22.5 9.5t-9.5 22.5v64q0 13 9.5 22.5t22.5 9.5h1344q13 0 22.5 -9.5t9.5 -22.5zM1152 896q0 -78 -24.5 -144t-64 -112.5t-87.5 -88t-96 -77.5t-87.5 -72t-64 -81.5t-24.5 -96.5q0 -96 67 -224l-4 1l1 -1 q-90 41 -160 83t-138.5 100t-113.5 122.5t-72.5 150.5t-27.5 184q0 78 24.5 144t64 112.5t87.5 88t96 77.5t87.5 72t64 81.5t24.5 96.5q0 94 -66 224l3 -1l-1 1q90 -41 160 -83t138.5 -100t113.5 -122.5t72.5 -150.5t27.5 -184z" />
139
- <glyph unicode="&#xf06e;" horiz-adv-x="1792" d="M1664 576q-152 236 -381 353q61 -104 61 -225q0 -185 -131.5 -316.5t-316.5 -131.5t-316.5 131.5t-131.5 316.5q0 121 61 225q-229 -117 -381 -353q133 -205 333.5 -326.5t434.5 -121.5t434.5 121.5t333.5 326.5zM944 960q0 20 -14 34t-34 14q-125 0 -214.5 -89.5 t-89.5 -214.5q0 -20 14 -34t34 -14t34 14t14 34q0 86 61 147t147 61q20 0 34 14t14 34zM1792 576q0 -34 -20 -69q-140 -230 -376.5 -368.5t-499.5 -138.5t-499.5 139t-376.5 368q-20 35 -20 69t20 69q140 229 376.5 368t499.5 139t499.5 -139t376.5 -368q20 -35 20 -69z" />
140
- <glyph unicode="&#xf070;" horiz-adv-x="1792" d="M555 201l78 141q-87 63 -136 159t-49 203q0 121 61 225q-229 -117 -381 -353q167 -258 427 -375zM944 960q0 20 -14 34t-34 14q-125 0 -214.5 -89.5t-89.5 -214.5q0 -20 14 -34t34 -14t34 14t14 34q0 86 61 147t147 61q20 0 34 14t14 34zM1307 1151q0 -7 -1 -9 q-106 -189 -316 -567t-315 -566l-49 -89q-10 -16 -28 -16q-12 0 -134 70q-16 10 -16 28q0 12 44 87q-143 65 -263.5 173t-208.5 245q-20 31 -20 69t20 69q153 235 380 371t496 136q89 0 180 -17l54 97q10 16 28 16q5 0 18 -6t31 -15.5t33 -18.5t31.5 -18.5t19.5 -11.5 q16 -10 16 -27zM1344 704q0 -139 -79 -253.5t-209 -164.5l280 502q8 -45 8 -84zM1792 576q0 -35 -20 -69q-39 -64 -109 -145q-150 -172 -347.5 -267t-419.5 -95l74 132q212 18 392.5 137t301.5 307q-115 179 -282 294l63 112q95 -64 182.5 -153t144.5 -184q20 -34 20 -69z " />
141
- <glyph unicode="&#xf071;" horiz-adv-x="1792" d="M1024 161v190q0 14 -9.5 23.5t-22.5 9.5h-192q-13 0 -22.5 -9.5t-9.5 -23.5v-190q0 -14 9.5 -23.5t22.5 -9.5h192q13 0 22.5 9.5t9.5 23.5zM1022 535l18 459q0 12 -10 19q-13 11 -24 11h-220q-11 0 -24 -11q-10 -7 -10 -21l17 -457q0 -10 10 -16.5t24 -6.5h185 q14 0 23.5 6.5t10.5 16.5zM1008 1469l768 -1408q35 -63 -2 -126q-17 -29 -46.5 -46t-63.5 -17h-1536q-34 0 -63.5 17t-46.5 46q-37 63 -2 126l768 1408q17 31 47 49t65 18t65 -18t47 -49z" />
142
- <glyph unicode="&#xf072;" horiz-adv-x="1408" d="M1376 1376q44 -52 12 -148t-108 -172l-161 -161l160 -696q5 -19 -12 -33l-128 -96q-7 -6 -19 -6q-4 0 -7 1q-15 3 -21 16l-279 508l-259 -259l53 -194q5 -17 -8 -31l-96 -96q-9 -9 -23 -9h-2q-15 2 -24 13l-189 252l-252 189q-11 7 -13 23q-1 13 9 25l96 97q9 9 23 9 q6 0 8 -1l194 -53l259 259l-508 279q-14 8 -17 24q-2 16 9 27l128 128q14 13 30 8l665 -159l160 160q76 76 172 108t148 -12z" />
143
- <glyph unicode="&#xf073;" horiz-adv-x="1664" d="M128 -128h288v288h-288v-288zM480 -128h320v288h-320v-288zM128 224h288v320h-288v-320zM480 224h320v320h-320v-320zM128 608h288v288h-288v-288zM864 -128h320v288h-320v-288zM480 608h320v288h-320v-288zM1248 -128h288v288h-288v-288zM864 224h320v320h-320v-320z M512 1088v288q0 13 -9.5 22.5t-22.5 9.5h-64q-13 0 -22.5 -9.5t-9.5 -22.5v-288q0 -13 9.5 -22.5t22.5 -9.5h64q13 0 22.5 9.5t9.5 22.5zM1248 224h288v320h-288v-320zM864 608h320v288h-320v-288zM1248 608h288v288h-288v-288zM1280 1088v288q0 13 -9.5 22.5t-22.5 9.5h-64 q-13 0 -22.5 -9.5t-9.5 -22.5v-288q0 -13 9.5 -22.5t22.5 -9.5h64q13 0 22.5 9.5t9.5 22.5zM1664 1152v-1280q0 -52 -38 -90t-90 -38h-1408q-52 0 -90 38t-38 90v1280q0 52 38 90t90 38h128v96q0 66 47 113t113 47h64q66 0 113 -47t47 -113v-96h384v96q0 66 47 113t113 47 h64q66 0 113 -47t47 -113v-96h128q52 0 90 -38t38 -90z" />
144
- <glyph unicode="&#xf074;" horiz-adv-x="1792" d="M666 1055q-60 -92 -137 -273q-22 45 -37 72.5t-40.5 63.5t-51 56.5t-63 35t-81.5 14.5h-224q-14 0 -23 9t-9 23v192q0 14 9 23t23 9h224q250 0 410 -225zM1792 256q0 -14 -9 -23l-320 -320q-9 -9 -23 -9q-13 0 -22.5 9.5t-9.5 22.5v192q-32 0 -85 -0.5t-81 -1t-73 1 t-71 5t-64 10.5t-63 18.5t-58 28.5t-59 40t-55 53.5t-56 69.5q59 93 136 273q22 -45 37 -72.5t40.5 -63.5t51 -56.5t63 -35t81.5 -14.5h256v192q0 14 9 23t23 9q12 0 24 -10l319 -319q9 -9 9 -23zM1792 1152q0 -14 -9 -23l-320 -320q-9 -9 -23 -9q-13 0 -22.5 9.5t-9.5 22.5 v192h-256q-48 0 -87 -15t-69 -45t-51 -61.5t-45 -77.5q-32 -62 -78 -171q-29 -66 -49.5 -111t-54 -105t-64 -100t-74 -83t-90 -68.5t-106.5 -42t-128 -16.5h-224q-14 0 -23 9t-9 23v192q0 14 9 23t23 9h224q48 0 87 15t69 45t51 61.5t45 77.5q32 62 78 171q29 66 49.5 111 t54 105t64 100t74 83t90 68.5t106.5 42t128 16.5h256v192q0 14 9 23t23 9q12 0 24 -10l319 -319q9 -9 9 -23z" />
145
- <glyph unicode="&#xf075;" horiz-adv-x="1792" d="M1792 640q0 -174 -120 -321.5t-326 -233t-450 -85.5q-70 0 -145 8q-198 -175 -460 -242q-49 -14 -114 -22q-17 -2 -30.5 9t-17.5 29v1q-3 4 -0.5 12t2 10t4.5 9.5l6 9t7 8.5t8 9q7 8 31 34.5t34.5 38t31 39.5t32.5 51t27 59t26 76q-157 89 -247.5 220t-90.5 281 q0 130 71 248.5t191 204.5t286 136.5t348 50.5q244 0 450 -85.5t326 -233t120 -321.5z" />
146
- <glyph unicode="&#xf076;" d="M1536 704v-128q0 -201 -98.5 -362t-274 -251.5t-395.5 -90.5t-395.5 90.5t-274 251.5t-98.5 362v128q0 26 19 45t45 19h384q26 0 45 -19t19 -45v-128q0 -52 23.5 -90t53.5 -57t71 -30t64 -13t44 -2t44 2t64 13t71 30t53.5 57t23.5 90v128q0 26 19 45t45 19h384 q26 0 45 -19t19 -45zM512 1344v-384q0 -26 -19 -45t-45 -19h-384q-26 0 -45 19t-19 45v384q0 26 19 45t45 19h384q26 0 45 -19t19 -45zM1536 1344v-384q0 -26 -19 -45t-45 -19h-384q-26 0 -45 19t-19 45v384q0 26 19 45t45 19h384q26 0 45 -19t19 -45z" />
147
- <glyph unicode="&#xf077;" horiz-adv-x="1792" d="M1683 205l-166 -165q-19 -19 -45 -19t-45 19l-531 531l-531 -531q-19 -19 -45 -19t-45 19l-166 165q-19 19 -19 45.5t19 45.5l742 741q19 19 45 19t45 -19l742 -741q19 -19 19 -45.5t-19 -45.5z" />
148
- <glyph unicode="&#xf078;" horiz-adv-x="1792" d="M1683 728l-742 -741q-19 -19 -45 -19t-45 19l-742 741q-19 19 -19 45.5t19 45.5l166 165q19 19 45 19t45 -19l531 -531l531 531q19 19 45 19t45 -19l166 -165q19 -19 19 -45.5t-19 -45.5z" />
149
- <glyph unicode="&#xf079;" horiz-adv-x="1920" d="M1280 32q0 -13 -9.5 -22.5t-22.5 -9.5h-960q-8 0 -13.5 2t-9 7t-5.5 8t-3 11.5t-1 11.5v13v11v160v416h-192q-26 0 -45 19t-19 45q0 24 15 41l320 384q19 22 49 22t49 -22l320 -384q15 -17 15 -41q0 -26 -19 -45t-45 -19h-192v-384h576q16 0 25 -11l160 -192q7 -10 7 -21 zM1920 448q0 -24 -15 -41l-320 -384q-20 -23 -49 -23t-49 23l-320 384q-15 17 -15 41q0 26 19 45t45 19h192v384h-576q-16 0 -25 12l-160 192q-7 9 -7 20q0 13 9.5 22.5t22.5 9.5h960q8 0 13.5 -2t9 -7t5.5 -8t3 -11.5t1 -11.5v-13v-11v-160v-416h192q26 0 45 -19t19 -45z " />
150
- <glyph unicode="&#xf07a;" horiz-adv-x="1664" d="M640 0q0 -52 -38 -90t-90 -38t-90 38t-38 90t38 90t90 38t90 -38t38 -90zM1536 0q0 -52 -38 -90t-90 -38t-90 38t-38 90t38 90t90 38t90 -38t38 -90zM1664 1088v-512q0 -24 -16.5 -42.5t-40.5 -21.5l-1044 -122q13 -60 13 -70q0 -16 -24 -64h920q26 0 45 -19t19 -45 t-19 -45t-45 -19h-1024q-26 0 -45 19t-19 45q0 11 8 31.5t16 36t21.5 40t15.5 29.5l-177 823h-204q-26 0 -45 19t-19 45t19 45t45 19h256q16 0 28.5 -6.5t19.5 -15.5t13 -24.5t8 -26t5.5 -29.5t4.5 -26h1201q26 0 45 -19t19 -45z" />
151
- <glyph unicode="&#xf07b;" horiz-adv-x="1664" d="M1664 928v-704q0 -92 -66 -158t-158 -66h-1216q-92 0 -158 66t-66 158v960q0 92 66 158t158 66h320q92 0 158 -66t66 -158v-32h672q92 0 158 -66t66 -158z" />
152
- <glyph unicode="&#xf07c;" horiz-adv-x="1920" d="M1879 584q0 -31 -31 -66l-336 -396q-43 -51 -120.5 -86.5t-143.5 -35.5h-1088q-34 0 -60.5 13t-26.5 43q0 31 31 66l336 396q43 51 120.5 86.5t143.5 35.5h1088q34 0 60.5 -13t26.5 -43zM1536 928v-160h-832q-94 0 -197 -47.5t-164 -119.5l-337 -396l-5 -6q0 4 -0.5 12.5 t-0.5 12.5v960q0 92 66 158t158 66h320q92 0 158 -66t66 -158v-32h544q92 0 158 -66t66 -158z" />
153
- <glyph unicode="&#xf07d;" horiz-adv-x="768" d="M704 1216q0 -26 -19 -45t-45 -19h-128v-1024h128q26 0 45 -19t19 -45t-19 -45l-256 -256q-19 -19 -45 -19t-45 19l-256 256q-19 19 -19 45t19 45t45 19h128v1024h-128q-26 0 -45 19t-19 45t19 45l256 256q19 19 45 19t45 -19l256 -256q19 -19 19 -45z" />
154
- <glyph unicode="&#xf07e;" horiz-adv-x="1792" d="M1792 640q0 -26 -19 -45l-256 -256q-19 -19 -45 -19t-45 19t-19 45v128h-1024v-128q0 -26 -19 -45t-45 -19t-45 19l-256 256q-19 19 -19 45t19 45l256 256q19 19 45 19t45 -19t19 -45v-128h1024v128q0 26 19 45t45 19t45 -19l256 -256q19 -19 19 -45z" />
155
- <glyph unicode="&#xf080;" horiz-adv-x="2048" d="M640 640v-512h-256v512h256zM1024 1152v-1024h-256v1024h256zM2048 0v-128h-2048v1536h128v-1408h1920zM1408 896v-768h-256v768h256zM1792 1280v-1152h-256v1152h256z" />
156
- <glyph unicode="&#xf081;" d="M1280 926q-56 -25 -121 -34q68 40 93 117q-65 -38 -134 -51q-61 66 -153 66q-87 0 -148.5 -61.5t-61.5 -148.5q0 -29 5 -48q-129 7 -242 65t-192 155q-29 -50 -29 -106q0 -114 91 -175q-47 1 -100 26v-2q0 -75 50 -133.5t123 -72.5q-29 -8 -51 -8q-13 0 -39 4 q21 -63 74.5 -104t121.5 -42q-116 -90 -261 -90q-26 0 -50 3q148 -94 322 -94q112 0 210 35.5t168 95t120.5 137t75 162t24.5 168.5q0 18 -1 27q63 45 105 109zM1536 1120v-960q0 -119 -84.5 -203.5t-203.5 -84.5h-960q-119 0 -203.5 84.5t-84.5 203.5v960q0 119 84.5 203.5 t203.5 84.5h960q119 0 203.5 -84.5t84.5 -203.5z" />
157
- <glyph unicode="&#xf082;" d="M1248 1408q119 0 203.5 -84.5t84.5 -203.5v-960q0 -119 -84.5 -203.5t-203.5 -84.5h-188v595h199l30 232h-229v148q0 56 23.5 84t91.5 28l122 1v207q-63 9 -178 9q-136 0 -217.5 -80t-81.5 -226v-171h-200v-232h200v-595h-532q-119 0 -203.5 84.5t-84.5 203.5v960 q0 119 84.5 203.5t203.5 84.5h960z" />
158
- <glyph unicode="&#xf083;" horiz-adv-x="1792" d="M928 704q0 14 -9 23t-23 9q-66 0 -113 -47t-47 -113q0 -14 9 -23t23 -9t23 9t9 23q0 40 28 68t68 28q14 0 23 9t9 23zM1152 574q0 -106 -75 -181t-181 -75t-181 75t-75 181t75 181t181 75t181 -75t75 -181zM128 0h1536v128h-1536v-128zM1280 574q0 159 -112.5 271.5 t-271.5 112.5t-271.5 -112.5t-112.5 -271.5t112.5 -271.5t271.5 -112.5t271.5 112.5t112.5 271.5zM256 1216h384v128h-384v-128zM128 1024h1536v118v138h-828l-64 -128h-644v-128zM1792 1280v-1280q0 -53 -37.5 -90.5t-90.5 -37.5h-1536q-53 0 -90.5 37.5t-37.5 90.5v1280 q0 53 37.5 90.5t90.5 37.5h1536q53 0 90.5 -37.5t37.5 -90.5z" />
159
- <glyph unicode="&#xf084;" horiz-adv-x="1792" d="M832 1024q0 80 -56 136t-136 56t-136 -56t-56 -136q0 -42 19 -83q-41 19 -83 19q-80 0 -136 -56t-56 -136t56 -136t136 -56t136 56t56 136q0 42 -19 83q41 -19 83 -19q80 0 136 56t56 136zM1683 320q0 -17 -49 -66t-66 -49q-9 0 -28.5 16t-36.5 33t-38.5 40t-24.5 26 l-96 -96l220 -220q28 -28 28 -68q0 -42 -39 -81t-81 -39q-40 0 -68 28l-671 671q-176 -131 -365 -131q-163 0 -265.5 102.5t-102.5 265.5q0 160 95 313t248 248t313 95q163 0 265.5 -102.5t102.5 -265.5q0 -189 -131 -365l355 -355l96 96q-3 3 -26 24.5t-40 38.5t-33 36.5 t-16 28.5q0 17 49 66t66 49q13 0 23 -10q6 -6 46 -44.5t82 -79.5t86.5 -86t73 -78t28.5 -41z" />
160
- <glyph unicode="&#xf085;" horiz-adv-x="1920" d="M896 640q0 106 -75 181t-181 75t-181 -75t-75 -181t75 -181t181 -75t181 75t75 181zM1664 128q0 52 -38 90t-90 38t-90 -38t-38 -90q0 -53 37.5 -90.5t90.5 -37.5t90.5 37.5t37.5 90.5zM1664 1152q0 52 -38 90t-90 38t-90 -38t-38 -90q0 -53 37.5 -90.5t90.5 -37.5 t90.5 37.5t37.5 90.5zM1280 731v-185q0 -10 -7 -19.5t-16 -10.5l-155 -24q-11 -35 -32 -76q34 -48 90 -115q7 -11 7 -20q0 -12 -7 -19q-23 -30 -82.5 -89.5t-78.5 -59.5q-11 0 -21 7l-115 90q-37 -19 -77 -31q-11 -108 -23 -155q-7 -24 -30 -24h-186q-11 0 -20 7.5t-10 17.5 l-23 153q-34 10 -75 31l-118 -89q-7 -7 -20 -7q-11 0 -21 8q-144 133 -144 160q0 9 7 19q10 14 41 53t47 61q-23 44 -35 82l-152 24q-10 1 -17 9.5t-7 19.5v185q0 10 7 19.5t16 10.5l155 24q11 35 32 76q-34 48 -90 115q-7 11 -7 20q0 12 7 20q22 30 82 89t79 59q11 0 21 -7 l115 -90q34 18 77 32q11 108 23 154q7 24 30 24h186q11 0 20 -7.5t10 -17.5l23 -153q34 -10 75 -31l118 89q8 7 20 7q11 0 21 -8q144 -133 144 -160q0 -8 -7 -19q-12 -16 -42 -54t-45 -60q23 -48 34 -82l152 -23q10 -2 17 -10.5t7 -19.5zM1920 198v-140q0 -16 -149 -31 q-12 -27 -30 -52q51 -113 51 -138q0 -4 -4 -7q-122 -71 -124 -71q-8 0 -46 47t-52 68q-20 -2 -30 -2t-30 2q-14 -21 -52 -68t-46 -47q-2 0 -124 71q-4 3 -4 7q0 25 51 138q-18 25 -30 52q-149 15 -149 31v140q0 16 149 31q13 29 30 52q-51 113 -51 138q0 4 4 7q4 2 35 20 t59 34t30 16q8 0 46 -46.5t52 -67.5q20 2 30 2t30 -2q51 71 92 112l6 2q4 0 124 -70q4 -3 4 -7q0 -25 -51 -138q17 -23 30 -52q149 -15 149 -31zM1920 1222v-140q0 -16 -149 -31q-12 -27 -30 -52q51 -113 51 -138q0 -4 -4 -7q-122 -71 -124 -71q-8 0 -46 47t-52 68 q-20 -2 -30 -2t-30 2q-14 -21 -52 -68t-46 -47q-2 0 -124 71q-4 3 -4 7q0 25 51 138q-18 25 -30 52q-149 15 -149 31v140q0 16 149 31q13 29 30 52q-51 113 -51 138q0 4 4 7q4 2 35 20t59 34t30 16q8 0 46 -46.5t52 -67.5q20 2 30 2t30 -2q51 71 92 112l6 2q4 0 124 -70 q4 -3 4 -7q0 -25 -51 -138q17 -23 30 -52q149 -15 149 -31z" />
161
- <glyph unicode="&#xf086;" horiz-adv-x="1792" d="M1408 768q0 -139 -94 -257t-256.5 -186.5t-353.5 -68.5q-86 0 -176 16q-124 -88 -278 -128q-36 -9 -86 -16h-3q-11 0 -20.5 8t-11.5 21q-1 3 -1 6.5t0.5 6.5t2 6l2.5 5t3.5 5.5t4 5t4.5 5t4 4.5q5 6 23 25t26 29.5t22.5 29t25 38.5t20.5 44q-124 72 -195 177t-71 224 q0 139 94 257t256.5 186.5t353.5 68.5t353.5 -68.5t256.5 -186.5t94 -257zM1792 512q0 -120 -71 -224.5t-195 -176.5q10 -24 20.5 -44t25 -38.5t22.5 -29t26 -29.5t23 -25q1 -1 4 -4.5t4.5 -5t4 -5t3.5 -5.5l2.5 -5t2 -6t0.5 -6.5t-1 -6.5q-3 -14 -13 -22t-22 -7 q-50 7 -86 16q-154 40 -278 128q-90 -16 -176 -16q-271 0 -472 132q58 -4 88 -4q161 0 309 45t264 129q125 92 192 212t67 254q0 77 -23 152q129 -71 204 -178t75 -230z" />
162
- <glyph unicode="&#xf087;" d="M256 192q0 26 -19 45t-45 19t-45 -19t-19 -45t19 -45t45 -19t45 19t19 45zM1408 768q0 51 -39 89.5t-89 38.5h-352q0 58 48 159.5t48 160.5q0 98 -32 145t-128 47q-26 -26 -38 -85t-30.5 -125.5t-59.5 -109.5q-22 -23 -77 -91q-4 -5 -23 -30t-31.5 -41t-34.5 -42.5 t-40 -44t-38.5 -35.5t-40 -27t-35.5 -9h-32v-640h32q13 0 31.5 -3t33 -6.5t38 -11t35 -11.5t35.5 -12.5t29 -10.5q211 -73 342 -73h121q192 0 192 167q0 26 -5 56q30 16 47.5 52.5t17.5 73.5t-18 69q53 50 53 119q0 25 -10 55.5t-25 47.5q32 1 53.5 47t21.5 81zM1536 769 q0 -89 -49 -163q9 -33 9 -69q0 -77 -38 -144q3 -21 3 -43q0 -101 -60 -178q1 -139 -85 -219.5t-227 -80.5h-36h-93q-96 0 -189.5 22.5t-216.5 65.5q-116 40 -138 40h-288q-53 0 -90.5 37.5t-37.5 90.5v640q0 53 37.5 90.5t90.5 37.5h274q36 24 137 155q58 75 107 128 q24 25 35.5 85.5t30.5 126.5t62 108q39 37 90 37q84 0 151 -32.5t102 -101.5t35 -186q0 -93 -48 -192h176q104 0 180 -76t76 -179z" />
163
- <glyph unicode="&#xf088;" d="M256 1088q0 26 -19 45t-45 19t-45 -19t-19 -45t19 -45t45 -19t45 19t19 45zM1408 512q0 35 -21.5 81t-53.5 47q15 17 25 47.5t10 55.5q0 69 -53 119q18 31 18 69q0 37 -17.5 73.5t-47.5 52.5q5 30 5 56q0 85 -49 126t-136 41h-128q-131 0 -342 -73q-5 -2 -29 -10.5 t-35.5 -12.5t-35 -11.5t-38 -11t-33 -6.5t-31.5 -3h-32v-640h32q16 0 35.5 -9t40 -27t38.5 -35.5t40 -44t34.5 -42.5t31.5 -41t23 -30q55 -68 77 -91q41 -43 59.5 -109.5t30.5 -125.5t38 -85q96 0 128 47t32 145q0 59 -48 160.5t-48 159.5h352q50 0 89 38.5t39 89.5z M1536 511q0 -103 -76 -179t-180 -76h-176q48 -99 48 -192q0 -118 -35 -186q-35 -69 -102 -101.5t-151 -32.5q-51 0 -90 37q-34 33 -54 82t-25.5 90.5t-17.5 84.5t-31 64q-48 50 -107 127q-101 131 -137 155h-274q-53 0 -90.5 37.5t-37.5 90.5v640q0 53 37.5 90.5t90.5 37.5 h288q22 0 138 40q128 44 223 66t200 22h112q140 0 226.5 -79t85.5 -216v-5q60 -77 60 -178q0 -22 -3 -43q38 -67 38 -144q0 -36 -9 -69q49 -73 49 -163z" />
164
- <glyph unicode="&#xf089;" horiz-adv-x="896" d="M832 1504v-1339l-449 -236q-22 -12 -40 -12q-21 0 -31.5 14.5t-10.5 35.5q0 6 2 20l86 500l-364 354q-25 27 -25 48q0 37 56 46l502 73l225 455q19 41 49 41z" />
165
- <glyph unicode="&#xf08a;" horiz-adv-x="1792" d="M1664 940q0 81 -21.5 143t-55 98.5t-81.5 59.5t-94 31t-98 8t-112 -25.5t-110.5 -64t-86.5 -72t-60 -61.5q-18 -22 -49 -22t-49 22q-24 28 -60 61.5t-86.5 72t-110.5 64t-112 25.5t-98 -8t-94 -31t-81.5 -59.5t-55 -98.5t-21.5 -143q0 -168 187 -355l581 -560l580 559 q188 188 188 356zM1792 940q0 -221 -229 -450l-623 -600q-18 -18 -44 -18t-44 18l-624 602q-10 8 -27.5 26t-55.5 65.5t-68 97.5t-53.5 121t-23.5 138q0 220 127 344t351 124q62 0 126.5 -21.5t120 -58t95.5 -68.5t76 -68q36 36 76 68t95.5 68.5t120 58t126.5 21.5 q224 0 351 -124t127 -344z" />
166
- <glyph unicode="&#xf08b;" horiz-adv-x="1664" d="M640 96q0 -4 1 -20t0.5 -26.5t-3 -23.5t-10 -19.5t-20.5 -6.5h-320q-119 0 -203.5 84.5t-84.5 203.5v704q0 119 84.5 203.5t203.5 84.5h320q13 0 22.5 -9.5t9.5 -22.5q0 -4 1 -20t0.5 -26.5t-3 -23.5t-10 -19.5t-20.5 -6.5h-320q-66 0 -113 -47t-47 -113v-704 q0 -66 47 -113t113 -47h288h11h13t11.5 -1t11.5 -3t8 -5.5t7 -9t2 -13.5zM1568 640q0 -26 -19 -45l-544 -544q-19 -19 -45 -19t-45 19t-19 45v288h-448q-26 0 -45 19t-19 45v384q0 26 19 45t45 19h448v288q0 26 19 45t45 19t45 -19l544 -544q19 -19 19 -45z" />
167
- <glyph unicode="&#xf08c;" d="M237 122h231v694h-231v-694zM483 1030q-1 52 -36 86t-93 34t-94.5 -34t-36.5 -86q0 -51 35.5 -85.5t92.5 -34.5h1q59 0 95 34.5t36 85.5zM1068 122h231v398q0 154 -73 233t-193 79q-136 0 -209 -117h2v101h-231q3 -66 0 -694h231v388q0 38 7 56q15 35 45 59.5t74 24.5 q116 0 116 -157v-371zM1536 1120v-960q0 -119 -84.5 -203.5t-203.5 -84.5h-960q-119 0 -203.5 84.5t-84.5 203.5v960q0 119 84.5 203.5t203.5 84.5h960q119 0 203.5 -84.5t84.5 -203.5z" />
168
- <glyph unicode="&#xf08d;" horiz-adv-x="1152" d="M480 672v448q0 14 -9 23t-23 9t-23 -9t-9 -23v-448q0 -14 9 -23t23 -9t23 9t9 23zM1152 320q0 -26 -19 -45t-45 -19h-429l-51 -483q-2 -12 -10.5 -20.5t-20.5 -8.5h-1q-27 0 -32 27l-76 485h-404q-26 0 -45 19t-19 45q0 123 78.5 221.5t177.5 98.5v512q-52 0 -90 38 t-38 90t38 90t90 38h640q52 0 90 -38t38 -90t-38 -90t-90 -38v-512q99 0 177.5 -98.5t78.5 -221.5z" />
169
- <glyph unicode="&#xf08e;" horiz-adv-x="1792" d="M1408 608v-320q0 -119 -84.5 -203.5t-203.5 -84.5h-832q-119 0 -203.5 84.5t-84.5 203.5v832q0 119 84.5 203.5t203.5 84.5h704q14 0 23 -9t9 -23v-64q0 -14 -9 -23t-23 -9h-704q-66 0 -113 -47t-47 -113v-832q0 -66 47 -113t113 -47h832q66 0 113 47t47 113v320 q0 14 9 23t23 9h64q14 0 23 -9t9 -23zM1792 1472v-512q0 -26 -19 -45t-45 -19t-45 19l-176 176l-652 -652q-10 -10 -23 -10t-23 10l-114 114q-10 10 -10 23t10 23l652 652l-176 176q-19 19 -19 45t19 45t45 19h512q26 0 45 -19t19 -45z" />
170
- <glyph unicode="&#xf090;" d="M1184 640q0 -26 -19 -45l-544 -544q-19 -19 -45 -19t-45 19t-19 45v288h-448q-26 0 -45 19t-19 45v384q0 26 19 45t45 19h448v288q0 26 19 45t45 19t45 -19l544 -544q19 -19 19 -45zM1536 992v-704q0 -119 -84.5 -203.5t-203.5 -84.5h-320q-13 0 -22.5 9.5t-9.5 22.5 q0 4 -1 20t-0.5 26.5t3 23.5t10 19.5t20.5 6.5h320q66 0 113 47t47 113v704q0 66 -47 113t-113 47h-288h-11h-13t-11.5 1t-11.5 3t-8 5.5t-7 9t-2 13.5q0 4 -1 20t-0.5 26.5t3 23.5t10 19.5t20.5 6.5h320q119 0 203.5 -84.5t84.5 -203.5z" />
171
- <glyph unicode="&#xf091;" horiz-adv-x="1664" d="M458 653q-74 162 -74 371h-256v-96q0 -78 94.5 -162t235.5 -113zM1536 928v96h-256q0 -209 -74 -371q141 29 235.5 113t94.5 162zM1664 1056v-128q0 -71 -41.5 -143t-112 -130t-173 -97.5t-215.5 -44.5q-42 -54 -95 -95q-38 -34 -52.5 -72.5t-14.5 -89.5q0 -54 30.5 -91 t97.5 -37q75 0 133.5 -45.5t58.5 -114.5v-64q0 -14 -9 -23t-23 -9h-832q-14 0 -23 9t-9 23v64q0 69 58.5 114.5t133.5 45.5q67 0 97.5 37t30.5 91q0 51 -14.5 89.5t-52.5 72.5q-53 41 -95 95q-113 5 -215.5 44.5t-173 97.5t-112 130t-41.5 143v128q0 40 28 68t68 28h288v96 q0 66 47 113t113 47h576q66 0 113 -47t47 -113v-96h288q40 0 68 -28t28 -68z" />
172
- <glyph unicode="&#xf092;" d="M519 336q4 6 -3 13q-9 7 -14 2q-4 -6 3 -13q9 -7 14 -2zM491 377q-5 7 -12 4q-6 -4 0 -12q7 -8 12 -5q6 4 0 13zM450 417q2 4 -5 8q-7 2 -8 -2q-3 -5 4 -8q8 -2 9 2zM471 394q2 1 1.5 4.5t-3.5 5.5q-6 7 -10 3t1 -11q6 -6 11 -2zM557 319q2 7 -9 11q-9 3 -13 -4 q-2 -7 9 -11q9 -3 13 4zM599 316q0 8 -12 8q-10 0 -10 -8t11 -8t11 8zM638 323q-2 7 -13 5t-9 -9q2 -8 12 -6t10 10zM1280 640q0 212 -150 362t-362 150t-362 -150t-150 -362q0 -167 98 -300.5t252 -185.5q18 -3 26.5 5t8.5 20q0 52 -1 95q-6 -1 -15.5 -2.5t-35.5 -2t-48 4 t-43.5 20t-29.5 41.5q-23 59 -57 74q-2 1 -4.5 3.5l-8 8t-7 9.5t4 7.5t19.5 3.5q6 0 15 -2t30 -15.5t33 -35.5q16 -28 37.5 -42t43.5 -14t38 3.5t30 9.5q7 47 33 69q-49 6 -86 18.5t-73 39t-55.5 76t-19.5 119.5q0 79 53 137q-24 62 5 136q19 6 54.5 -7.5t60.5 -29.5l26 -16 q58 17 128 17t128 -17q11 7 28.5 18t55.5 26t57 9q29 -74 5 -136q53 -58 53 -137q0 -57 -14 -100.5t-35.5 -70t-53.5 -44.5t-62.5 -26t-68.5 -12q35 -31 35 -95q0 -40 -0.5 -89t-0.5 -51q0 -12 8.5 -20t26.5 -5q154 52 252 185.5t98 300.5zM1536 1120v-960 q0 -119 -84.5 -203.5t-203.5 -84.5h-960q-119 0 -203.5 84.5t-84.5 203.5v960q0 119 84.5 203.5t203.5 84.5h960q119 0 203.5 -84.5t84.5 -203.5z" />
173
- <glyph unicode="&#xf093;" horiz-adv-x="1664" d="M1280 64q0 26 -19 45t-45 19t-45 -19t-19 -45t19 -45t45 -19t45 19t19 45zM1536 64q0 26 -19 45t-45 19t-45 -19t-19 -45t19 -45t45 -19t45 19t19 45zM1664 288v-320q0 -40 -28 -68t-68 -28h-1472q-40 0 -68 28t-28 68v320q0 40 28 68t68 28h427q21 -56 70.5 -92 t110.5 -36h256q61 0 110.5 36t70.5 92h427q40 0 68 -28t28 -68zM1339 936q-17 -40 -59 -40h-256v-448q0 -26 -19 -45t-45 -19h-256q-26 0 -45 19t-19 45v448h-256q-42 0 -59 40q-17 39 14 69l448 448q18 19 45 19t45 -19l448 -448q31 -30 14 -69z" />
174
- <glyph unicode="&#xf094;" d="M1407 710q0 44 -7 113.5t-18 96.5q-12 30 -17 44t-9 36.5t-4 48.5q0 23 5 68.5t5 67.5q0 37 -10 55q-4 1 -13 1q-19 0 -58 -4.5t-59 -4.5q-60 0 -176 24t-175 24q-43 0 -94.5 -11.5t-85 -23.5t-89.5 -34q-137 -54 -202 -103q-96 -73 -159.5 -189.5t-88 -236t-24.5 -248.5 q0 -40 12.5 -120t12.5 -121q0 -23 -11 -66.5t-11 -65.5t12 -36.5t34 -14.5q24 0 72.5 11t73.5 11q57 0 169.5 -15.5t169.5 -15.5q181 0 284 36q129 45 235.5 152.5t166 245.5t59.5 275zM1535 712q0 -165 -70 -327.5t-196 -288t-281 -180.5q-124 -44 -326 -44 q-57 0 -170 14.5t-169 14.5q-24 0 -72.5 -14.5t-73.5 -14.5q-73 0 -123.5 55.5t-50.5 128.5q0 24 11 68t11 67q0 40 -12.5 120.5t-12.5 121.5q0 111 18 217.5t54.5 209.5t100.5 194t150 156q78 59 232 120q194 78 316 78q60 0 175.5 -24t173.5 -24q19 0 57 5t58 5 q81 0 118 -50.5t37 -134.5q0 -23 -5 -68t-5 -68q0 -13 2 -25t3.5 -16.5t7.5 -20.5t8 -20q16 -40 25 -118.5t9 -136.5z" />
175
- <glyph unicode="&#xf095;" horiz-adv-x="1408" d="M1408 296q0 -27 -10 -70.5t-21 -68.5q-21 -50 -122 -106q-94 -51 -186 -51q-27 0 -53 3.5t-57.5 12.5t-47 14.5t-55.5 20.5t-49 18q-98 35 -175 83q-127 79 -264 216t-216 264q-48 77 -83 175q-3 9 -18 49t-20.5 55.5t-14.5 47t-12.5 57.5t-3.5 53q0 92 51 186 q56 101 106 122q25 11 68.5 21t70.5 10q14 0 21 -3q18 -6 53 -76q11 -19 30 -54t35 -63.5t31 -53.5q3 -4 17.5 -25t21.5 -35.5t7 -28.5q0 -20 -28.5 -50t-62 -55t-62 -53t-28.5 -46q0 -9 5 -22.5t8.5 -20.5t14 -24t11.5 -19q76 -137 174 -235t235 -174q2 -1 19 -11.5t24 -14 t20.5 -8.5t22.5 -5q18 0 46 28.5t53 62t55 62t50 28.5q14 0 28.5 -7t35.5 -21.5t25 -17.5q25 -15 53.5 -31t63.5 -35t54 -30q70 -35 76 -53q3 -7 3 -21z" />
176
- <glyph unicode="&#xf096;" horiz-adv-x="1408" d="M1120 1280h-832q-66 0 -113 -47t-47 -113v-832q0 -66 47 -113t113 -47h832q66 0 113 47t47 113v832q0 66 -47 113t-113 47zM1408 1120v-832q0 -119 -84.5 -203.5t-203.5 -84.5h-832q-119 0 -203.5 84.5t-84.5 203.5v832q0 119 84.5 203.5t203.5 84.5h832 q119 0 203.5 -84.5t84.5 -203.5z" />
177
- <glyph unicode="&#xf097;" horiz-adv-x="1280" d="M1152 1280h-1024v-1242l423 406l89 85l89 -85l423 -406v1242zM1164 1408q23 0 44 -9q33 -13 52.5 -41t19.5 -62v-1289q0 -34 -19.5 -62t-52.5 -41q-19 -8 -44 -8q-48 0 -83 32l-441 424l-441 -424q-36 -33 -83 -33q-23 0 -44 9q-33 13 -52.5 41t-19.5 62v1289 q0 34 19.5 62t52.5 41q21 9 44 9h1048z" />
178
- <glyph unicode="&#xf098;" d="M1280 343q0 11 -2 16t-18 16.5t-40.5 25t-47.5 26.5t-45.5 25t-28.5 15q-5 3 -19 13t-25 15t-21 5q-15 0 -36.5 -20.5t-39.5 -45t-38.5 -45t-33.5 -20.5q-7 0 -16.5 3.5t-15.5 6.5t-17 9.5t-14 8.5q-99 55 -170 126.5t-127 170.5q-2 3 -8.5 14t-9.5 17t-6.5 15.5 t-3.5 16.5q0 13 20.5 33.5t45 38.5t45 39.5t20.5 36.5q0 10 -5 21t-15 25t-13 19q-3 6 -15 28.5t-25 45.5t-26.5 47.5t-25 40.5t-16.5 18t-16 2q-48 0 -101 -22q-46 -21 -80 -94.5t-34 -130.5q0 -16 2.5 -34t5 -30.5t9 -33t10 -29.5t12.5 -33t11 -30q60 -164 216.5 -320.5 t320.5 -216.5q6 -2 30 -11t33 -12.5t29.5 -10t33 -9t30.5 -5t34 -2.5q57 0 130.5 34t94.5 80q22 53 22 101zM1536 1120v-960q0 -119 -84.5 -203.5t-203.5 -84.5h-960q-119 0 -203.5 84.5t-84.5 203.5v960q0 119 84.5 203.5t203.5 84.5h960q119 0 203.5 -84.5t84.5 -203.5z " />
179
- <glyph unicode="&#xf099;" horiz-adv-x="1664" d="M1620 1128q-67 -98 -162 -167q1 -14 1 -42q0 -130 -38 -259.5t-115.5 -248.5t-184.5 -210.5t-258 -146t-323 -54.5q-271 0 -496 145q35 -4 78 -4q225 0 401 138q-105 2 -188 64.5t-114 159.5q33 -5 61 -5q43 0 85 11q-112 23 -185.5 111.5t-73.5 205.5v4q68 -38 146 -41 q-66 44 -105 115t-39 154q0 88 44 163q121 -149 294.5 -238.5t371.5 -99.5q-8 38 -8 74q0 134 94.5 228.5t228.5 94.5q140 0 236 -102q109 21 205 78q-37 -115 -142 -178q93 10 186 50z" />
180
- <glyph unicode="&#xf09a;" horiz-adv-x="1024" d="M959 1524v-264h-157q-86 0 -116 -36t-30 -108v-189h293l-39 -296h-254v-759h-306v759h-255v296h255v218q0 186 104 288.5t277 102.5q147 0 228 -12z" />
181
- <glyph unicode="&#xf09b;" d="M768 1408q209 0 385.5 -103t279.5 -279.5t103 -385.5q0 -251 -146.5 -451.5t-378.5 -277.5q-27 -5 -40 7t-13 30q0 3 0.5 76.5t0.5 134.5q0 97 -52 142q57 6 102.5 18t94 39t81 66.5t53 105t20.5 150.5q0 119 -79 206q37 91 -8 204q-28 9 -81 -11t-92 -44l-38 -24 q-93 26 -192 26t-192 -26q-16 11 -42.5 27t-83.5 38.5t-85 13.5q-45 -113 -8 -204q-79 -87 -79 -206q0 -85 20.5 -150t52.5 -105t80.5 -67t94 -39t102.5 -18q-39 -36 -49 -103q-21 -10 -45 -15t-57 -5t-65.5 21.5t-55.5 62.5q-19 32 -48.5 52t-49.5 24l-20 3q-21 0 -29 -4.5 t-5 -11.5t9 -14t13 -12l7 -5q22 -10 43.5 -38t31.5 -51l10 -23q13 -38 44 -61.5t67 -30t69.5 -7t55.5 3.5l23 4q0 -38 0.5 -88.5t0.5 -54.5q0 -18 -13 -30t-40 -7q-232 77 -378.5 277.5t-146.5 451.5q0 209 103 385.5t279.5 279.5t385.5 103zM291 305q3 7 -7 12 q-10 3 -13 -2q-3 -7 7 -12q9 -6 13 2zM322 271q7 5 -2 16q-10 9 -16 3q-7 -5 2 -16q10 -10 16 -3zM352 226q9 7 0 19q-8 13 -17 6q-9 -5 0 -18t17 -7zM394 184q8 8 -4 19q-12 12 -20 3q-9 -8 4 -19q12 -12 20 -3zM451 159q3 11 -13 16q-15 4 -19 -7t13 -15q15 -6 19 6z M514 154q0 13 -17 11q-16 0 -16 -11q0 -13 17 -11q16 0 16 11zM572 164q-2 11 -18 9q-16 -3 -14 -15t18 -8t14 14z" />
182
- <glyph unicode="&#xf09c;" horiz-adv-x="1664" d="M1664 960v-256q0 -26 -19 -45t-45 -19h-64q-26 0 -45 19t-19 45v256q0 106 -75 181t-181 75t-181 -75t-75 -181v-192h96q40 0 68 -28t28 -68v-576q0 -40 -28 -68t-68 -28h-960q-40 0 -68 28t-28 68v576q0 40 28 68t68 28h672v192q0 185 131.5 316.5t316.5 131.5 t316.5 -131.5t131.5 -316.5z" />
183
- <glyph unicode="&#xf09d;" horiz-adv-x="1920" d="M1760 1408q66 0 113 -47t47 -113v-1216q0 -66 -47 -113t-113 -47h-1600q-66 0 -113 47t-47 113v1216q0 66 47 113t113 47h1600zM160 1280q-13 0 -22.5 -9.5t-9.5 -22.5v-224h1664v224q0 13 -9.5 22.5t-22.5 9.5h-1600zM1760 0q13 0 22.5 9.5t9.5 22.5v608h-1664v-608 q0 -13 9.5 -22.5t22.5 -9.5h1600zM256 128v128h256v-128h-256zM640 128v128h384v-128h-384z" />
184
- <glyph unicode="&#xf09e;" horiz-adv-x="1408" d="M384 192q0 -80 -56 -136t-136 -56t-136 56t-56 136t56 136t136 56t136 -56t56 -136zM896 69q2 -28 -17 -48q-18 -21 -47 -21h-135q-25 0 -43 16.5t-20 41.5q-22 229 -184.5 391.5t-391.5 184.5q-25 2 -41.5 20t-16.5 43v135q0 29 21 47q17 17 43 17h5q160 -13 306 -80.5 t259 -181.5q114 -113 181.5 -259t80.5 -306zM1408 67q2 -27 -18 -47q-18 -20 -46 -20h-143q-26 0 -44.5 17.5t-19.5 42.5q-12 215 -101 408.5t-231.5 336t-336 231.5t-408.5 102q-25 1 -42.5 19.5t-17.5 43.5v143q0 28 20 46q18 18 44 18h3q262 -13 501.5 -120t425.5 -294 q187 -186 294 -425.5t120 -501.5z" />
185
- <glyph unicode="&#xf0a0;" d="M1040 320q0 -33 -23.5 -56.5t-56.5 -23.5t-56.5 23.5t-23.5 56.5t23.5 56.5t56.5 23.5t56.5 -23.5t23.5 -56.5zM1296 320q0 -33 -23.5 -56.5t-56.5 -23.5t-56.5 23.5t-23.5 56.5t23.5 56.5t56.5 23.5t56.5 -23.5t23.5 -56.5zM1408 160v320q0 13 -9.5 22.5t-22.5 9.5 h-1216q-13 0 -22.5 -9.5t-9.5 -22.5v-320q0 -13 9.5 -22.5t22.5 -9.5h1216q13 0 22.5 9.5t9.5 22.5zM178 640h1180l-157 482q-4 13 -16 21.5t-26 8.5h-782q-14 0 -26 -8.5t-16 -21.5zM1536 480v-320q0 -66 -47 -113t-113 -47h-1216q-66 0 -113 47t-47 113v320q0 25 16 75 l197 606q17 53 63 86t101 33h782q55 0 101 -33t63 -86l197 -606q16 -50 16 -75z" />
186
- <glyph unicode="&#xf0a1;" horiz-adv-x="1792" d="M1664 896q53 0 90.5 -37.5t37.5 -90.5t-37.5 -90.5t-90.5 -37.5v-384q0 -52 -38 -90t-90 -38q-417 347 -812 380q-58 -19 -91 -66t-31 -100.5t40 -92.5q-20 -33 -23 -65.5t6 -58t33.5 -55t48 -50t61.5 -50.5q-29 -58 -111.5 -83t-168.5 -11.5t-132 55.5q-7 23 -29.5 87.5 t-32 94.5t-23 89t-15 101t3.5 98.5t22 110.5h-122q-66 0 -113 47t-47 113v192q0 66 47 113t113 47h480q435 0 896 384q52 0 90 -38t38 -90v-384zM1536 292v954q-394 -302 -768 -343v-270q377 -42 768 -341z" />
187
- <glyph unicode="&#xf0a2;" horiz-adv-x="1792" d="M912 -160q0 16 -16 16q-59 0 -101.5 42.5t-42.5 101.5q0 16 -16 16t-16 -16q0 -73 51.5 -124.5t124.5 -51.5q16 0 16 16zM246 128h1300q-266 300 -266 832q0 51 -24 105t-69 103t-121.5 80.5t-169.5 31.5t-169.5 -31.5t-121.5 -80.5t-69 -103t-24 -105q0 -532 -266 -832z M1728 128q0 -52 -38 -90t-90 -38h-448q0 -106 -75 -181t-181 -75t-181 75t-75 181h-448q-52 0 -90 38t-38 90q50 42 91 88t85 119.5t74.5 158.5t50 206t19.5 260q0 152 117 282.5t307 158.5q-8 19 -8 39q0 40 28 68t68 28t68 -28t28 -68q0 -20 -8 -39q190 -28 307 -158.5 t117 -282.5q0 -139 19.5 -260t50 -206t74.5 -158.5t85 -119.5t91 -88z" />
188
- <glyph unicode="&#xf0a3;" d="M1376 640l138 -135q30 -28 20 -70q-12 -41 -52 -51l-188 -48l53 -186q12 -41 -19 -70q-29 -31 -70 -19l-186 53l-48 -188q-10 -40 -51 -52q-12 -2 -19 -2q-31 0 -51 22l-135 138l-135 -138q-28 -30 -70 -20q-41 11 -51 52l-48 188l-186 -53q-41 -12 -70 19q-31 29 -19 70 l53 186l-188 48q-40 10 -52 51q-10 42 20 70l138 135l-138 135q-30 28 -20 70q12 41 52 51l188 48l-53 186q-12 41 19 70q29 31 70 19l186 -53l48 188q10 41 51 51q41 12 70 -19l135 -139l135 139q29 30 70 19q41 -10 51 -51l48 -188l186 53q41 12 70 -19q31 -29 19 -70 l-53 -186l188 -48q40 -10 52 -51q10 -42 -20 -70z" />
189
- <glyph unicode="&#xf0a4;" horiz-adv-x="1792" d="M256 192q0 26 -19 45t-45 19t-45 -19t-19 -45t19 -45t45 -19t45 19t19 45zM1664 768q0 51 -39 89.5t-89 38.5h-576q0 20 15 48.5t33 55t33 68t15 84.5q0 67 -44.5 97.5t-115.5 30.5q-24 0 -90 -139q-24 -44 -37 -65q-40 -64 -112 -145q-71 -81 -101 -106 q-69 -57 -140 -57h-32v-640h32q72 0 167 -32t193.5 -64t179.5 -32q189 0 189 167q0 26 -5 56q30 16 47.5 52.5t17.5 73.5t-18 69q53 50 53 119q0 25 -10 55.5t-25 47.5h331q52 0 90 38t38 90zM1792 769q0 -105 -75.5 -181t-180.5 -76h-169q-4 -62 -37 -119q3 -21 3 -43 q0 -101 -60 -178q1 -139 -85 -219.5t-227 -80.5q-133 0 -322 69q-164 59 -223 59h-288q-53 0 -90.5 37.5t-37.5 90.5v640q0 53 37.5 90.5t90.5 37.5h288q10 0 21.5 4.5t23.5 14t22.5 18t24 22.5t20.5 21.5t19 21.5t14 17q65 74 100 129q13 21 33 62t37 72t40.5 63t55 49.5 t69.5 17.5q125 0 206.5 -67t81.5 -189q0 -68 -22 -128h374q104 0 180 -76t76 -179z" />
190
- <glyph unicode="&#xf0a5;" horiz-adv-x="1792" d="M1376 128h32v640h-32q-35 0 -67.5 12t-62.5 37t-50 46t-49 54q-8 9 -12 14q-72 81 -112 145q-14 22 -38 68q-1 3 -10.5 22.5t-18.5 36t-20 35.5t-21.5 30.5t-18.5 11.5q-71 0 -115.5 -30.5t-44.5 -97.5q0 -43 15 -84.5t33 -68t33 -55t15 -48.5h-576q-50 0 -89 -38.5 t-39 -89.5q0 -52 38 -90t90 -38h331q-15 -17 -25 -47.5t-10 -55.5q0 -69 53 -119q-18 -32 -18 -69t17.5 -73.5t47.5 -52.5q-4 -24 -4 -56q0 -85 48.5 -126t135.5 -41q84 0 183 32t194 64t167 32zM1664 192q0 26 -19 45t-45 19t-45 -19t-19 -45t19 -45t45 -19t45 19t19 45z M1792 768v-640q0 -53 -37.5 -90.5t-90.5 -37.5h-288q-59 0 -223 -59q-190 -69 -317 -69q-142 0 -230 77.5t-87 217.5l1 5q-61 76 -61 178q0 22 3 43q-33 57 -37 119h-169q-105 0 -180.5 76t-75.5 181q0 103 76 179t180 76h374q-22 60 -22 128q0 122 81.5 189t206.5 67 q38 0 69.5 -17.5t55 -49.5t40.5 -63t37 -72t33 -62q35 -55 100 -129q2 -3 14 -17t19 -21.5t20.5 -21.5t24 -22.5t22.5 -18t23.5 -14t21.5 -4.5h288q53 0 90.5 -37.5t37.5 -90.5z" />
191
- <glyph unicode="&#xf0a6;" d="M1280 -64q0 26 -19 45t-45 19t-45 -19t-19 -45t19 -45t45 -19t45 19t19 45zM1408 700q0 189 -167 189q-26 0 -56 -5q-16 30 -52.5 47.5t-73.5 17.5t-69 -18q-50 53 -119 53q-25 0 -55.5 -10t-47.5 -25v331q0 52 -38 90t-90 38q-51 0 -89.5 -39t-38.5 -89v-576 q-20 0 -48.5 15t-55 33t-68 33t-84.5 15q-67 0 -97.5 -44.5t-30.5 -115.5q0 -24 139 -90q44 -24 65 -37q64 -40 145 -112q81 -71 106 -101q57 -69 57 -140v-32h640v32q0 72 32 167t64 193.5t32 179.5zM1536 705q0 -133 -69 -322q-59 -164 -59 -223v-288q0 -53 -37.5 -90.5 t-90.5 -37.5h-640q-53 0 -90.5 37.5t-37.5 90.5v288q0 10 -4.5 21.5t-14 23.5t-18 22.5t-22.5 24t-21.5 20.5t-21.5 19t-17 14q-74 65 -129 100q-21 13 -62 33t-72 37t-63 40.5t-49.5 55t-17.5 69.5q0 125 67 206.5t189 81.5q68 0 128 -22v374q0 104 76 180t179 76 q105 0 181 -75.5t76 -180.5v-169q62 -4 119 -37q21 3 43 3q101 0 178 -60q139 1 219.5 -85t80.5 -227z" />
192
- <glyph unicode="&#xf0a7;" d="M1408 576q0 84 -32 183t-64 194t-32 167v32h-640v-32q0 -35 -12 -67.5t-37 -62.5t-46 -50t-54 -49q-9 -8 -14 -12q-81 -72 -145 -112q-22 -14 -68 -38q-3 -1 -22.5 -10.5t-36 -18.5t-35.5 -20t-30.5 -21.5t-11.5 -18.5q0 -71 30.5 -115.5t97.5 -44.5q43 0 84.5 15t68 33 t55 33t48.5 15v-576q0 -50 38.5 -89t89.5 -39q52 0 90 38t38 90v331q46 -35 103 -35q69 0 119 53q32 -18 69 -18t73.5 17.5t52.5 47.5q24 -4 56 -4q85 0 126 48.5t41 135.5zM1280 1344q0 26 -19 45t-45 19t-45 -19t-19 -45t19 -45t45 -19t45 19t19 45zM1536 580 q0 -142 -77.5 -230t-217.5 -87l-5 1q-76 -61 -178 -61q-22 0 -43 3q-54 -30 -119 -37v-169q0 -105 -76 -180.5t-181 -75.5q-103 0 -179 76t-76 180v374q-54 -22 -128 -22q-121 0 -188.5 81.5t-67.5 206.5q0 38 17.5 69.5t49.5 55t63 40.5t72 37t62 33q55 35 129 100 q3 2 17 14t21.5 19t21.5 20.5t22.5 24t18 22.5t14 23.5t4.5 21.5v288q0 53 37.5 90.5t90.5 37.5h640q53 0 90.5 -37.5t37.5 -90.5v-288q0 -59 59 -223q69 -190 69 -317z" />
193
- <glyph unicode="&#xf0a8;" d="M1280 576v128q0 26 -19 45t-45 19h-502l189 189q19 19 19 45t-19 45l-91 91q-18 18 -45 18t-45 -18l-362 -362l-91 -91q-18 -18 -18 -45t18 -45l91 -91l362 -362q18 -18 45 -18t45 18l91 91q18 18 18 45t-18 45l-189 189h502q26 0 45 19t19 45zM1536 640 q0 -209 -103 -385.5t-279.5 -279.5t-385.5 -103t-385.5 103t-279.5 279.5t-103 385.5t103 385.5t279.5 279.5t385.5 103t385.5 -103t279.5 -279.5t103 -385.5z" />
194
- <glyph unicode="&#xf0a9;" d="M1285 640q0 27 -18 45l-91 91l-362 362q-18 18 -45 18t-45 -18l-91 -91q-18 -18 -18 -45t18 -45l189 -189h-502q-26 0 -45 -19t-19 -45v-128q0 -26 19 -45t45 -19h502l-189 -189q-19 -19 -19 -45t19 -45l91 -91q18 -18 45 -18t45 18l362 362l91 91q18 18 18 45zM1536 640 q0 -209 -103 -385.5t-279.5 -279.5t-385.5 -103t-385.5 103t-279.5 279.5t-103 385.5t103 385.5t279.5 279.5t385.5 103t385.5 -103t279.5 -279.5t103 -385.5z" />
195
- <glyph unicode="&#xf0aa;" d="M1284 641q0 27 -18 45l-362 362l-91 91q-18 18 -45 18t-45 -18l-91 -91l-362 -362q-18 -18 -18 -45t18 -45l91 -91q18 -18 45 -18t45 18l189 189v-502q0 -26 19 -45t45 -19h128q26 0 45 19t19 45v502l189 -189q19 -19 45 -19t45 19l91 91q18 18 18 45zM1536 640 q0 -209 -103 -385.5t-279.5 -279.5t-385.5 -103t-385.5 103t-279.5 279.5t-103 385.5t103 385.5t279.5 279.5t385.5 103t385.5 -103t279.5 -279.5t103 -385.5z" />
196
- <glyph unicode="&#xf0ab;" d="M1284 639q0 27 -18 45l-91 91q-18 18 -45 18t-45 -18l-189 -189v502q0 26 -19 45t-45 19h-128q-26 0 -45 -19t-19 -45v-502l-189 189q-19 19 -45 19t-45 -19l-91 -91q-18 -18 -18 -45t18 -45l362 -362l91 -91q18 -18 45 -18t45 18l91 91l362 362q18 18 18 45zM1536 640 q0 -209 -103 -385.5t-279.5 -279.5t-385.5 -103t-385.5 103t-279.5 279.5t-103 385.5t103 385.5t279.5 279.5t385.5 103t385.5 -103t279.5 -279.5t103 -385.5z" />
197
- <glyph unicode="&#xf0ac;" d="M768 1408q209 0 385.5 -103t279.5 -279.5t103 -385.5t-103 -385.5t-279.5 -279.5t-385.5 -103t-385.5 103t-279.5 279.5t-103 385.5t103 385.5t279.5 279.5t385.5 103zM1042 887q-2 -1 -9.5 -9.5t-13.5 -9.5q2 0 4.5 5t5 11t3.5 7q6 7 22 15q14 6 52 12q34 8 51 -11 q-2 2 9.5 13t14.5 12q3 2 15 4.5t15 7.5l2 22q-12 -1 -17.5 7t-6.5 21q0 -2 -6 -8q0 7 -4.5 8t-11.5 -1t-9 -1q-10 3 -15 7.5t-8 16.5t-4 15q-2 5 -9.5 11t-9.5 10q-1 2 -2.5 5.5t-3 6.5t-4 5.5t-5.5 2.5t-7 -5t-7.5 -10t-4.5 -5q-3 2 -6 1.5t-4.5 -1t-4.5 -3t-5 -3.5 q-3 -2 -8.5 -3t-8.5 -2q15 5 -1 11q-10 4 -16 3q9 4 7.5 12t-8.5 14h5q-1 4 -8.5 8.5t-17.5 8.5t-13 6q-8 5 -34 9.5t-33 0.5q-5 -6 -4.5 -10.5t4 -14t3.5 -12.5q1 -6 -5.5 -13t-6.5 -12q0 -7 14 -15.5t10 -21.5q-3 -8 -16 -16t-16 -12q-5 -8 -1.5 -18.5t10.5 -16.5 q2 -2 1.5 -4t-3.5 -4.5t-5.5 -4t-6.5 -3.5l-3 -2q-11 -5 -20.5 6t-13.5 26q-7 25 -16 30q-23 8 -29 -1q-5 13 -41 26q-25 9 -58 4q6 1 0 15q-7 15 -19 12q3 6 4 17.5t1 13.5q3 13 12 23q1 1 7 8.5t9.5 13.5t0.5 6q35 -4 50 11q5 5 11.5 17t10.5 17q9 6 14 5.5t14.5 -5.5 t14.5 -5q14 -1 15.5 11t-7.5 20q12 -1 3 17q-4 7 -8 9q-12 4 -27 -5q-8 -4 2 -8q-1 1 -9.5 -10.5t-16.5 -17.5t-16 5q-1 1 -5.5 13.5t-9.5 13.5q-8 0 -16 -15q3 8 -11 15t-24 8q19 12 -8 27q-7 4 -20.5 5t-19.5 -4q-5 -7 -5.5 -11.5t5 -8t10.5 -5.5t11.5 -4t8.5 -3 q14 -10 8 -14q-2 -1 -8.5 -3.5t-11.5 -4.5t-6 -4q-3 -4 0 -14t-2 -14q-5 5 -9 17.5t-7 16.5q7 -9 -25 -6l-10 1q-4 0 -16 -2t-20.5 -1t-13.5 8q-4 8 0 20q1 4 4 2q-4 3 -11 9.5t-10 8.5q-46 -15 -94 -41q6 -1 12 1q5 2 13 6.5t10 5.5q34 14 42 7l5 5q14 -16 20 -25 q-7 4 -30 1q-20 -6 -22 -12q7 -12 5 -18q-4 3 -11.5 10t-14.5 11t-15 5q-16 0 -22 -1q-146 -80 -235 -222q7 -7 12 -8q4 -1 5 -9t2.5 -11t11.5 3q9 -8 3 -19q1 1 44 -27q19 -17 21 -21q3 -11 -10 -18q-1 2 -9 9t-9 4q-3 -5 0.5 -18.5t10.5 -12.5q-7 0 -9.5 -16t-2.5 -35.5 t-1 -23.5l2 -1q-3 -12 5.5 -34.5t21.5 -19.5q-13 -3 20 -43q6 -8 8 -9q3 -2 12 -7.5t15 -10t10 -10.5q4 -5 10 -22.5t14 -23.5q-2 -6 9.5 -20t10.5 -23q-1 0 -2.5 -1t-2.5 -1q3 -7 15.5 -14t15.5 -13q1 -3 2 -10t3 -11t8 -2q2 20 -24 62q-15 25 -17 29q-3 5 -5.5 15.5 t-4.5 14.5q2 0 6 -1.5t8.5 -3.5t7.5 -4t2 -3q-3 -7 2 -17.5t12 -18.5t17 -19t12 -13q6 -6 14 -19.5t0 -13.5q9 0 20 -10.5t17 -19.5q5 -8 8 -26t5 -24q2 -7 8.5 -13.5t12.5 -9.5l16 -8t13 -7q5 -2 18.5 -10.5t21.5 -11.5q10 -4 16 -4t14.5 2.5t13.5 3.5q15 2 29 -15t21 -21 q36 -19 55 -11q-2 -1 0.5 -7.5t8 -15.5t9 -14.5t5.5 -8.5q5 -6 18 -15t18 -15q6 4 7 9q-3 -8 7 -20t18 -10q14 3 14 32q-31 -15 -49 18q0 1 -2.5 5.5t-4 8.5t-2.5 8.5t0 7.5t5 3q9 0 10 3.5t-2 12.5t-4 13q-1 8 -11 20t-12 15q-5 -9 -16 -8t-16 9q0 -1 -1.5 -5.5t-1.5 -6.5 q-13 0 -15 1q1 3 2.5 17.5t3.5 22.5q1 4 5.5 12t7.5 14.5t4 12.5t-4.5 9.5t-17.5 2.5q-19 -1 -26 -20q-1 -3 -3 -10.5t-5 -11.5t-9 -7q-7 -3 -24 -2t-24 5q-13 8 -22.5 29t-9.5 37q0 10 2.5 26.5t3 25t-5.5 24.5q3 2 9 9.5t10 10.5q2 1 4.5 1.5t4.5 0t4 1.5t3 6q-1 1 -4 3 q-3 3 -4 3q7 -3 28.5 1.5t27.5 -1.5q15 -11 22 2q0 1 -2.5 9.5t-0.5 13.5q5 -27 29 -9q3 -3 15.5 -5t17.5 -5q3 -2 7 -5.5t5.5 -4.5t5 0.5t8.5 6.5q10 -14 12 -24q11 -40 19 -44q7 -3 11 -2t4.5 9.5t0 14t-1.5 12.5l-1 8v18l-1 8q-15 3 -18.5 12t1.5 18.5t15 18.5q1 1 8 3.5 t15.5 6.5t12.5 8q21 19 15 35q7 0 11 9q-1 0 -5 3t-7.5 5t-4.5 2q9 5 2 16q5 3 7.5 11t7.5 10q9 -12 21 -2q8 8 1 16q5 7 20.5 10.5t18.5 9.5q7 -2 8 2t1 12t3 12q4 5 15 9t13 5l17 11q3 4 0 4q18 -2 31 11q10 11 -6 20q3 6 -3 9.5t-15 5.5q3 1 11.5 0.5t10.5 1.5 q15 10 -7 16q-17 5 -43 -12zM879 10q206 36 351 189q-3 3 -12.5 4.5t-12.5 3.5q-18 7 -24 8q1 7 -2.5 13t-8 9t-12.5 8t-11 7q-2 2 -7 6t-7 5.5t-7.5 4.5t-8.5 2t-10 -1l-3 -1q-3 -1 -5.5 -2.5t-5.5 -3t-4 -3t0 -2.5q-21 17 -36 22q-5 1 -11 5.5t-10.5 7t-10 1.5t-11.5 -7 q-5 -5 -6 -15t-2 -13q-7 5 0 17.5t2 18.5q-3 6 -10.5 4.5t-12 -4.5t-11.5 -8.5t-9 -6.5t-8.5 -5.5t-8.5 -7.5q-3 -4 -6 -12t-5 -11q-2 4 -11.5 6.5t-9.5 5.5q2 -10 4 -35t5 -38q7 -31 -12 -48q-27 -25 -29 -40q-4 -22 12 -26q0 -7 -8 -20.5t-7 -21.5q0 -6 2 -16z" />
198
- <glyph unicode="&#xf0ad;" horiz-adv-x="1664" d="M384 64q0 26 -19 45t-45 19t-45 -19t-19 -45t19 -45t45 -19t45 19t19 45zM1028 484l-682 -682q-37 -37 -90 -37q-52 0 -91 37l-106 108q-38 36 -38 90q0 53 38 91l681 681q39 -98 114.5 -173.5t173.5 -114.5zM1662 919q0 -39 -23 -106q-47 -134 -164.5 -217.5 t-258.5 -83.5q-185 0 -316.5 131.5t-131.5 316.5t131.5 316.5t316.5 131.5q58 0 121.5 -16.5t107.5 -46.5q16 -11 16 -28t-16 -28l-293 -169v-224l193 -107q5 3 79 48.5t135.5 81t70.5 35.5q15 0 23.5 -10t8.5 -25z" />
199
- <glyph unicode="&#xf0ae;" horiz-adv-x="1792" d="M1024 128h640v128h-640v-128zM640 640h1024v128h-1024v-128zM1280 1152h384v128h-384v-128zM1792 320v-256q0 -26 -19 -45t-45 -19h-1664q-26 0 -45 19t-19 45v256q0 26 19 45t45 19h1664q26 0 45 -19t19 -45zM1792 832v-256q0 -26 -19 -45t-45 -19h-1664q-26 0 -45 19 t-19 45v256q0 26 19 45t45 19h1664q26 0 45 -19t19 -45zM1792 1344v-256q0 -26 -19 -45t-45 -19h-1664q-26 0 -45 19t-19 45v256q0 26 19 45t45 19h1664q26 0 45 -19t19 -45z" />
200
- <glyph unicode="&#xf0b0;" horiz-adv-x="1408" d="M1403 1241q17 -41 -14 -70l-493 -493v-742q0 -42 -39 -59q-13 -5 -25 -5q-27 0 -45 19l-256 256q-19 19 -19 45v486l-493 493q-31 29 -14 70q17 39 59 39h1280q42 0 59 -39z" />
201
- <glyph unicode="&#xf0b1;" horiz-adv-x="1792" d="M640 1280h512v128h-512v-128zM1792 640v-480q0 -66 -47 -113t-113 -47h-1472q-66 0 -113 47t-47 113v480h672v-160q0 -26 19 -45t45 -19h320q26 0 45 19t19 45v160h672zM1024 640v-128h-256v128h256zM1792 1120v-384h-1792v384q0 66 47 113t113 47h352v160q0 40 28 68 t68 28h576q40 0 68 -28t28 -68v-160h352q66 0 113 -47t47 -113z" />
202
- <glyph unicode="&#xf0b2;" d="M1283 995l-355 -355l355 -355l144 144q29 31 70 14q39 -17 39 -59v-448q0 -26 -19 -45t-45 -19h-448q-42 0 -59 40q-17 39 14 69l144 144l-355 355l-355 -355l144 -144q31 -30 14 -69q-17 -40 -59 -40h-448q-26 0 -45 19t-19 45v448q0 42 40 59q39 17 69 -14l144 -144 l355 355l-355 355l-144 -144q-19 -19 -45 -19q-12 0 -24 5q-40 17 -40 59v448q0 26 19 45t45 19h448q42 0 59 -40q17 -39 -14 -69l-144 -144l355 -355l355 355l-144 144q-31 30 -14 69q17 40 59 40h448q26 0 45 -19t19 -45v-448q0 -42 -39 -59q-13 -5 -25 -5q-26 0 -45 19z " />
203
- <glyph unicode="&#xf0c0;" horiz-adv-x="1920" d="M593 640q-162 -5 -265 -128h-134q-82 0 -138 40.5t-56 118.5q0 353 124 353q6 0 43.5 -21t97.5 -42.5t119 -21.5q67 0 133 23q-5 -37 -5 -66q0 -139 81 -256zM1664 3q0 -120 -73 -189.5t-194 -69.5h-874q-121 0 -194 69.5t-73 189.5q0 53 3.5 103.5t14 109t26.5 108.5 t43 97.5t62 81t85.5 53.5t111.5 20q10 0 43 -21.5t73 -48t107 -48t135 -21.5t135 21.5t107 48t73 48t43 21.5q61 0 111.5 -20t85.5 -53.5t62 -81t43 -97.5t26.5 -108.5t14 -109t3.5 -103.5zM640 1280q0 -106 -75 -181t-181 -75t-181 75t-75 181t75 181t181 75t181 -75 t75 -181zM1344 896q0 -159 -112.5 -271.5t-271.5 -112.5t-271.5 112.5t-112.5 271.5t112.5 271.5t271.5 112.5t271.5 -112.5t112.5 -271.5zM1920 671q0 -78 -56 -118.5t-138 -40.5h-134q-103 123 -265 128q81 117 81 256q0 29 -5 66q66 -23 133 -23q59 0 119 21.5t97.5 42.5 t43.5 21q124 0 124 -353zM1792 1280q0 -106 -75 -181t-181 -75t-181 75t-75 181t75 181t181 75t181 -75t75 -181z" />
204
- <glyph unicode="&#xf0c1;" horiz-adv-x="1664" d="M1456 320q0 40 -28 68l-208 208q-28 28 -68 28q-42 0 -72 -32q3 -3 19 -18.5t21.5 -21.5t15 -19t13 -25.5t3.5 -27.5q0 -40 -28 -68t-68 -28q-15 0 -27.5 3.5t-25.5 13t-19 15t-21.5 21.5t-18.5 19q-33 -31 -33 -73q0 -40 28 -68l206 -207q27 -27 68 -27q40 0 68 26 l147 146q28 28 28 67zM753 1025q0 40 -28 68l-206 207q-28 28 -68 28q-39 0 -68 -27l-147 -146q-28 -28 -28 -67q0 -40 28 -68l208 -208q27 -27 68 -27q42 0 72 31q-3 3 -19 18.5t-21.5 21.5t-15 19t-13 25.5t-3.5 27.5q0 40 28 68t68 28q15 0 27.5 -3.5t25.5 -13t19 -15 t21.5 -21.5t18.5 -19q33 31 33 73zM1648 320q0 -120 -85 -203l-147 -146q-83 -83 -203 -83q-121 0 -204 85l-206 207q-83 83 -83 203q0 123 88 209l-88 88q-86 -88 -208 -88q-120 0 -204 84l-208 208q-84 84 -84 204t85 203l147 146q83 83 203 83q121 0 204 -85l206 -207 q83 -83 83 -203q0 -123 -88 -209l88 -88q86 88 208 88q120 0 204 -84l208 -208q84 -84 84 -204z" />
205
- <glyph unicode="&#xf0c2;" horiz-adv-x="1920" d="M1920 384q0 -159 -112.5 -271.5t-271.5 -112.5h-1088q-185 0 -316.5 131.5t-131.5 316.5q0 132 71 241.5t187 163.5q-2 28 -2 43q0 212 150 362t362 150q158 0 286.5 -88t187.5 -230q70 62 166 62q106 0 181 -75t75 -181q0 -75 -41 -138q129 -30 213 -134.5t84 -239.5z " />
206
- <glyph unicode="&#xf0c3;" horiz-adv-x="1664" d="M1527 88q56 -89 21.5 -152.5t-140.5 -63.5h-1152q-106 0 -140.5 63.5t21.5 152.5l503 793v399h-64q-26 0 -45 19t-19 45t19 45t45 19h512q26 0 45 -19t19 -45t-19 -45t-45 -19h-64v-399zM748 813l-272 -429h712l-272 429l-20 31v37v399h-128v-399v-37z" />
207
- <glyph unicode="&#xf0c4;" horiz-adv-x="1792" d="M960 640q26 0 45 -19t19 -45t-19 -45t-45 -19t-45 19t-19 45t19 45t45 19zM1260 576l507 -398q28 -20 25 -56q-5 -35 -35 -51l-128 -64q-13 -7 -29 -7q-17 0 -31 8l-690 387l-110 -66q-8 -4 -12 -5q14 -49 10 -97q-7 -77 -56 -147.5t-132 -123.5q-132 -84 -277 -84 q-136 0 -222 78q-90 84 -79 207q7 76 56 147t131 124q132 84 278 84q83 0 151 -31q9 13 22 22l122 73l-122 73q-13 9 -22 22q-68 -31 -151 -31q-146 0 -278 84q-82 53 -131 124t-56 147q-5 59 15.5 113t63.5 93q85 79 222 79q145 0 277 -84q83 -52 132 -123t56 -148 q4 -48 -10 -97q4 -1 12 -5l110 -66l690 387q14 8 31 8q16 0 29 -7l128 -64q30 -16 35 -51q3 -36 -25 -56zM579 836q46 42 21 108t-106 117q-92 59 -192 59q-74 0 -113 -36q-46 -42 -21 -108t106 -117q92 -59 192 -59q74 0 113 36zM494 91q81 51 106 117t-21 108 q-39 36 -113 36q-100 0 -192 -59q-81 -51 -106 -117t21 -108q39 -36 113 -36q100 0 192 59zM672 704l96 -58v11q0 36 33 56l14 8l-79 47l-26 -26q-3 -3 -10 -11t-12 -12q-2 -2 -4 -3.5t-3 -2.5zM896 480l96 -32l736 576l-128 64l-768 -431v-113l-160 -96l9 -8q2 -2 7 -6 q4 -4 11 -12t11 -12l26 -26zM1600 64l128 64l-520 408l-177 -138q-2 -3 -13 -7z" />
208
- <glyph unicode="&#xf0c5;" horiz-adv-x="1792" d="M1696 1152q40 0 68 -28t28 -68v-1216q0 -40 -28 -68t-68 -28h-960q-40 0 -68 28t-28 68v288h-544q-40 0 -68 28t-28 68v672q0 40 20 88t48 76l408 408q28 28 76 48t88 20h416q40 0 68 -28t28 -68v-328q68 40 128 40h416zM1152 939l-299 -299h299v299zM512 1323l-299 -299 h299v299zM708 676l316 316v416h-384v-416q0 -40 -28 -68t-68 -28h-416v-640h512v256q0 40 20 88t48 76zM1664 -128v1152h-384v-416q0 -40 -28 -68t-68 -28h-416v-640h896z" />
209
- <glyph unicode="&#xf0c6;" horiz-adv-x="1408" d="M1404 151q0 -117 -79 -196t-196 -79q-135 0 -235 100l-777 776q-113 115 -113 271q0 159 110 270t269 111q158 0 273 -113l605 -606q10 -10 10 -22q0 -16 -30.5 -46.5t-46.5 -30.5q-13 0 -23 10l-606 607q-79 77 -181 77q-106 0 -179 -75t-73 -181q0 -105 76 -181 l776 -777q63 -63 145 -63q64 0 106 42t42 106q0 82 -63 145l-581 581q-26 24 -60 24q-29 0 -48 -19t-19 -48q0 -32 25 -59l410 -410q10 -10 10 -22q0 -16 -31 -47t-47 -31q-12 0 -22 10l-410 410q-63 61 -63 149q0 82 57 139t139 57q88 0 149 -63l581 -581q100 -98 100 -235 z" />
210
- <glyph unicode="&#xf0c7;" d="M384 0h768v384h-768v-384zM1280 0h128v896q0 14 -10 38.5t-20 34.5l-281 281q-10 10 -34 20t-39 10v-416q0 -40 -28 -68t-68 -28h-576q-40 0 -68 28t-28 68v416h-128v-1280h128v416q0 40 28 68t68 28h832q40 0 68 -28t28 -68v-416zM896 928v320q0 13 -9.5 22.5t-22.5 9.5 h-192q-13 0 -22.5 -9.5t-9.5 -22.5v-320q0 -13 9.5 -22.5t22.5 -9.5h192q13 0 22.5 9.5t9.5 22.5zM1536 896v-928q0 -40 -28 -68t-68 -28h-1344q-40 0 -68 28t-28 68v1344q0 40 28 68t68 28h928q40 0 88 -20t76 -48l280 -280q28 -28 48 -76t20 -88z" />
211
- <glyph unicode="&#xf0c8;" d="M1536 1120v-960q0 -119 -84.5 -203.5t-203.5 -84.5h-960q-119 0 -203.5 84.5t-84.5 203.5v960q0 119 84.5 203.5t203.5 84.5h960q119 0 203.5 -84.5t84.5 -203.5z" />
212
- <glyph unicode="&#xf0c9;" d="M1536 192v-128q0 -26 -19 -45t-45 -19h-1408q-26 0 -45 19t-19 45v128q0 26 19 45t45 19h1408q26 0 45 -19t19 -45zM1536 704v-128q0 -26 -19 -45t-45 -19h-1408q-26 0 -45 19t-19 45v128q0 26 19 45t45 19h1408q26 0 45 -19t19 -45zM1536 1216v-128q0 -26 -19 -45 t-45 -19h-1408q-26 0 -45 19t-19 45v128q0 26 19 45t45 19h1408q26 0 45 -19t19 -45z" />
213
- <glyph unicode="&#xf0ca;" horiz-adv-x="1792" d="M384 128q0 -80 -56 -136t-136 -56t-136 56t-56 136t56 136t136 56t136 -56t56 -136zM384 640q0 -80 -56 -136t-136 -56t-136 56t-56 136t56 136t136 56t136 -56t56 -136zM1792 224v-192q0 -13 -9.5 -22.5t-22.5 -9.5h-1216q-13 0 -22.5 9.5t-9.5 22.5v192q0 13 9.5 22.5 t22.5 9.5h1216q13 0 22.5 -9.5t9.5 -22.5zM384 1152q0 -80 -56 -136t-136 -56t-136 56t-56 136t56 136t136 56t136 -56t56 -136zM1792 736v-192q0 -13 -9.5 -22.5t-22.5 -9.5h-1216q-13 0 -22.5 9.5t-9.5 22.5v192q0 13 9.5 22.5t22.5 9.5h1216q13 0 22.5 -9.5t9.5 -22.5z M1792 1248v-192q0 -13 -9.5 -22.5t-22.5 -9.5h-1216q-13 0 -22.5 9.5t-9.5 22.5v192q0 13 9.5 22.5t22.5 9.5h1216q13 0 22.5 -9.5t9.5 -22.5z" />
214
- <glyph unicode="&#xf0cb;" horiz-adv-x="1792" d="M381 -84q0 -80 -54.5 -126t-135.5 -46q-106 0 -172 66l57 88q49 -45 106 -45q29 0 50.5 14.5t21.5 42.5q0 64 -105 56l-26 56q8 10 32.5 43.5t42.5 54t37 38.5v1q-16 0 -48.5 -1t-48.5 -1v-53h-106v152h333v-88l-95 -115q51 -12 81 -49t30 -88zM383 543v-159h-362 q-6 36 -6 54q0 51 23.5 93t56.5 68t66 47.5t56.5 43.5t23.5 45q0 25 -14.5 38.5t-39.5 13.5q-46 0 -81 -58l-85 59q24 51 71.5 79.5t105.5 28.5q73 0 123 -41.5t50 -112.5q0 -50 -34 -91.5t-75 -64.5t-75.5 -50.5t-35.5 -52.5h127v60h105zM1792 224v-192q0 -13 -9.5 -22.5 t-22.5 -9.5h-1216q-13 0 -22.5 9.5t-9.5 22.5v192q0 14 9 23t23 9h1216q13 0 22.5 -9.5t9.5 -22.5zM384 1123v-99h-335v99h107q0 41 0.5 121.5t0.5 121.5v12h-2q-8 -17 -50 -54l-71 76l136 127h106v-404h108zM1792 736v-192q0 -13 -9.5 -22.5t-22.5 -9.5h-1216 q-13 0 -22.5 9.5t-9.5 22.5v192q0 14 9 23t23 9h1216q13 0 22.5 -9.5t9.5 -22.5zM1792 1248v-192q0 -13 -9.5 -22.5t-22.5 -9.5h-1216q-13 0 -22.5 9.5t-9.5 22.5v192q0 13 9.5 22.5t22.5 9.5h1216q13 0 22.5 -9.5t9.5 -22.5z" />
215
- <glyph unicode="&#xf0cc;" horiz-adv-x="1792" d="M1760 640q14 0 23 -9t9 -23v-64q0 -14 -9 -23t-23 -9h-1728q-14 0 -23 9t-9 23v64q0 14 9 23t23 9h1728zM483 704q-28 35 -51 80q-48 98 -48 188q0 181 134 309q133 127 393 127q50 0 167 -19q66 -12 177 -48q10 -38 21 -118q14 -123 14 -183q0 -18 -5 -45l-12 -3l-84 6 l-14 2q-50 149 -103 205q-88 91 -210 91q-114 0 -182 -59q-67 -58 -67 -146q0 -73 66 -140t279 -129q69 -20 173 -66q58 -28 95 -52h-743zM990 448h411q7 -39 7 -92q0 -111 -41 -212q-23 -56 -71 -104q-37 -35 -109 -81q-80 -48 -153 -66q-80 -21 -203 -21q-114 0 -195 23 l-140 40q-57 16 -72 28q-8 8 -8 22v13q0 108 -2 156q-1 30 0 68l2 37v44l102 2q15 -34 30 -71t22.5 -56t12.5 -27q35 -57 80 -94q43 -36 105 -57q59 -22 132 -22q64 0 139 27q77 26 122 86q47 61 47 129q0 84 -81 157q-34 29 -137 71z" />
216
- <glyph unicode="&#xf0cd;" d="M48 1313q-37 2 -45 4l-3 88q13 1 40 1q60 0 112 -4q132 -7 166 -7q86 0 168 3q116 4 146 5q56 0 86 2l-1 -14l2 -64v-9q-60 -9 -124 -9q-60 0 -79 -25q-13 -14 -13 -132q0 -13 0.5 -32.5t0.5 -25.5l1 -229l14 -280q6 -124 51 -202q35 -59 96 -92q88 -47 177 -47 q104 0 191 28q56 18 99 51q48 36 65 64q36 56 53 114q21 73 21 229q0 79 -3.5 128t-11 122.5t-13.5 159.5l-4 59q-5 67 -24 88q-34 35 -77 34l-100 -2l-14 3l2 86h84l205 -10q76 -3 196 10l18 -2q6 -38 6 -51q0 -7 -4 -31q-45 -12 -84 -13q-73 -11 -79 -17q-15 -15 -15 -41 q0 -7 1.5 -27t1.5 -31q8 -19 22 -396q6 -195 -15 -304q-15 -76 -41 -122q-38 -65 -112 -123q-75 -57 -182 -89q-109 -33 -255 -33q-167 0 -284 46q-119 47 -179 122q-61 76 -83 195q-16 80 -16 237v333q0 188 -17 213q-25 36 -147 39zM1536 -96v64q0 14 -9 23t-23 9h-1472 q-14 0 -23 -9t-9 -23v-64q0 -14 9 -23t23 -9h1472q14 0 23 9t9 23z" />
217
- <glyph unicode="&#xf0ce;" horiz-adv-x="1664" d="M512 160v192q0 14 -9 23t-23 9h-320q-14 0 -23 -9t-9 -23v-192q0 -14 9 -23t23 -9h320q14 0 23 9t9 23zM512 544v192q0 14 -9 23t-23 9h-320q-14 0 -23 -9t-9 -23v-192q0 -14 9 -23t23 -9h320q14 0 23 9t9 23zM1024 160v192q0 14 -9 23t-23 9h-320q-14 0 -23 -9t-9 -23 v-192q0 -14 9 -23t23 -9h320q14 0 23 9t9 23zM512 928v192q0 14 -9 23t-23 9h-320q-14 0 -23 -9t-9 -23v-192q0 -14 9 -23t23 -9h320q14 0 23 9t9 23zM1024 544v192q0 14 -9 23t-23 9h-320q-14 0 -23 -9t-9 -23v-192q0 -14 9 -23t23 -9h320q14 0 23 9t9 23zM1536 160v192 q0 14 -9 23t-23 9h-320q-14 0 -23 -9t-9 -23v-192q0 -14 9 -23t23 -9h320q14 0 23 9t9 23zM1024 928v192q0 14 -9 23t-23 9h-320q-14 0 -23 -9t-9 -23v-192q0 -14 9 -23t23 -9h320q14 0 23 9t9 23zM1536 544v192q0 14 -9 23t-23 9h-320q-14 0 -23 -9t-9 -23v-192 q0 -14 9 -23t23 -9h320q14 0 23 9t9 23zM1536 928v192q0 14 -9 23t-23 9h-320q-14 0 -23 -9t-9 -23v-192q0 -14 9 -23t23 -9h320q14 0 23 9t9 23zM1664 1248v-1088q0 -66 -47 -113t-113 -47h-1344q-66 0 -113 47t-47 113v1088q0 66 47 113t113 47h1344q66 0 113 -47t47 -113 z" />
218
- <glyph unicode="&#xf0d0;" horiz-adv-x="1664" d="M1190 955l293 293l-107 107l-293 -293zM1637 1248q0 -27 -18 -45l-1286 -1286q-18 -18 -45 -18t-45 18l-198 198q-18 18 -18 45t18 45l1286 1286q18 18 45 18t45 -18l198 -198q18 -18 18 -45zM286 1438l98 -30l-98 -30l-30 -98l-30 98l-98 30l98 30l30 98zM636 1276 l196 -60l-196 -60l-60 -196l-60 196l-196 60l196 60l60 196zM1566 798l98 -30l-98 -30l-30 -98l-30 98l-98 30l98 30l30 98zM926 1438l98 -30l-98 -30l-30 -98l-30 98l-98 30l98 30l30 98z" />
219
- <glyph unicode="&#xf0d1;" horiz-adv-x="1792" d="M640 128q0 52 -38 90t-90 38t-90 -38t-38 -90t38 -90t90 -38t90 38t38 90zM256 640h384v256h-158q-13 0 -22 -9l-195 -195q-9 -9 -9 -22v-30zM1536 128q0 52 -38 90t-90 38t-90 -38t-38 -90t38 -90t90 -38t90 38t38 90zM1792 1216v-1024q0 -15 -4 -26.5t-13.5 -18.5 t-16.5 -11.5t-23.5 -6t-22.5 -2t-25.5 0t-22.5 0.5q0 -106 -75 -181t-181 -75t-181 75t-75 181h-384q0 -106 -75 -181t-181 -75t-181 75t-75 181h-64q-3 0 -22.5 -0.5t-25.5 0t-22.5 2t-23.5 6t-16.5 11.5t-13.5 18.5t-4 26.5q0 26 19 45t45 19v320q0 8 -0.5 35t0 38 t2.5 34.5t6.5 37t14 30.5t22.5 30l198 198q19 19 50.5 32t58.5 13h160v192q0 26 19 45t45 19h1024q26 0 45 -19t19 -45z" />
220
- <glyph unicode="&#xf0d2;" d="M1536 640q0 -209 -103 -385.5t-279.5 -279.5t-385.5 -103q-111 0 -218 32q59 93 78 164q9 34 54 211q20 -39 73 -67.5t114 -28.5q121 0 216 68.5t147 188.5t52 270q0 114 -59.5 214t-172.5 163t-255 63q-105 0 -196 -29t-154.5 -77t-109 -110.5t-67 -129.5t-21.5 -134 q0 -104 40 -183t117 -111q30 -12 38 20q2 7 8 31t8 30q6 23 -11 43q-51 61 -51 151q0 151 104.5 259.5t273.5 108.5q151 0 235.5 -82t84.5 -213q0 -170 -68.5 -289t-175.5 -119q-61 0 -98 43.5t-23 104.5q8 35 26.5 93.5t30 103t11.5 75.5q0 50 -27 83t-77 33 q-62 0 -105 -57t-43 -142q0 -73 25 -122l-99 -418q-17 -70 -13 -177q-206 91 -333 281t-127 423q0 209 103 385.5t279.5 279.5t385.5 103t385.5 -103t279.5 -279.5t103 -385.5z" />
221
- <glyph unicode="&#xf0d3;" d="M1248 1408q119 0 203.5 -84.5t84.5 -203.5v-960q0 -119 -84.5 -203.5t-203.5 -84.5h-725q85 122 108 210q9 34 53 209q21 -39 73.5 -67t112.5 -28q181 0 295.5 147.5t114.5 373.5q0 84 -35 162.5t-96.5 139t-152.5 97t-197 36.5q-104 0 -194.5 -28.5t-153 -76.5 t-107.5 -109.5t-66.5 -128t-21.5 -132.5q0 -102 39.5 -180t116.5 -110q13 -5 23.5 0t14.5 19q10 44 15 61q6 23 -11 42q-50 62 -50 150q0 150 103.5 256.5t270.5 106.5q149 0 232.5 -81t83.5 -210q0 -168 -67.5 -286t-173.5 -118q-60 0 -97 43.5t-23 103.5q8 34 26.5 92.5 t29.5 102t11 74.5q0 49 -26.5 81.5t-75.5 32.5q-61 0 -103.5 -56.5t-42.5 -139.5q0 -72 24 -121l-98 -414q-24 -100 -7 -254h-183q-119 0 -203.5 84.5t-84.5 203.5v960q0 119 84.5 203.5t203.5 84.5h960z" />
222
- <glyph unicode="&#xf0d4;" d="M917 631q0 26 -6 64h-362v-132h217q-3 -24 -16.5 -50t-37.5 -53t-66.5 -44.5t-96.5 -17.5q-99 0 -169 71t-70 171t70 171t169 71q92 0 153 -59l104 101q-108 100 -257 100q-160 0 -272 -112.5t-112 -271.5t112 -271.5t272 -112.5q165 0 266.5 105t101.5 270zM1262 585 h109v110h-109v110h-110v-110h-110v-110h110v-110h110v110zM1536 1120v-960q0 -119 -84.5 -203.5t-203.5 -84.5h-960q-119 0 -203.5 84.5t-84.5 203.5v960q0 119 84.5 203.5t203.5 84.5h960q119 0 203.5 -84.5t84.5 -203.5z" />
223
- <glyph unicode="&#xf0d5;" horiz-adv-x="2304" d="M1437 623q0 -208 -87 -370.5t-248 -254t-369 -91.5q-149 0 -285 58t-234 156t-156 234t-58 285t58 285t156 234t234 156t285 58q286 0 491 -192l-199 -191q-117 113 -292 113q-123 0 -227.5 -62t-165.5 -168.5t-61 -232.5t61 -232.5t165.5 -168.5t227.5 -62 q83 0 152.5 23t114.5 57.5t78.5 78.5t49 83t21.5 74h-416v252h692q12 -63 12 -122zM2304 745v-210h-209v-209h-210v209h-209v210h209v209h210v-209h209z" />
224
- <glyph unicode="&#xf0d6;" horiz-adv-x="1920" d="M768 384h384v96h-128v448h-114l-148 -137l77 -80q42 37 55 57h2v-288h-128v-96zM1280 640q0 -70 -21 -142t-59.5 -134t-101.5 -101t-138 -39t-138 39t-101.5 101t-59.5 134t-21 142t21 142t59.5 134t101.5 101t138 39t138 -39t101.5 -101t59.5 -134t21 -142zM1792 384 v512q-106 0 -181 75t-75 181h-1152q0 -106 -75 -181t-181 -75v-512q106 0 181 -75t75 -181h1152q0 106 75 181t181 75zM1920 1216v-1152q0 -26 -19 -45t-45 -19h-1792q-26 0 -45 19t-19 45v1152q0 26 19 45t45 19h1792q26 0 45 -19t19 -45z" />
225
- <glyph unicode="&#xf0d7;" horiz-adv-x="1024" d="M1024 832q0 -26 -19 -45l-448 -448q-19 -19 -45 -19t-45 19l-448 448q-19 19 -19 45t19 45t45 19h896q26 0 45 -19t19 -45z" />
226
- <glyph unicode="&#xf0d8;" horiz-adv-x="1024" d="M1024 320q0 -26 -19 -45t-45 -19h-896q-26 0 -45 19t-19 45t19 45l448 448q19 19 45 19t45 -19l448 -448q19 -19 19 -45z" />
227
- <glyph unicode="&#xf0d9;" horiz-adv-x="640" d="M640 1088v-896q0 -26 -19 -45t-45 -19t-45 19l-448 448q-19 19 -19 45t19 45l448 448q19 19 45 19t45 -19t19 -45z" />
228
- <glyph unicode="&#xf0da;" horiz-adv-x="640" d="M576 640q0 -26 -19 -45l-448 -448q-19 -19 -45 -19t-45 19t-19 45v896q0 26 19 45t45 19t45 -19l448 -448q19 -19 19 -45z" />
229
- <glyph unicode="&#xf0db;" horiz-adv-x="1664" d="M160 0h608v1152h-640v-1120q0 -13 9.5 -22.5t22.5 -9.5zM1536 32v1120h-640v-1152h608q13 0 22.5 9.5t9.5 22.5zM1664 1248v-1216q0 -66 -47 -113t-113 -47h-1344q-66 0 -113 47t-47 113v1216q0 66 47 113t113 47h1344q66 0 113 -47t47 -113z" />
230
- <glyph unicode="&#xf0dc;" horiz-adv-x="1024" d="M1024 448q0 -26 -19 -45l-448 -448q-19 -19 -45 -19t-45 19l-448 448q-19 19 -19 45t19 45t45 19h896q26 0 45 -19t19 -45zM1024 832q0 -26 -19 -45t-45 -19h-896q-26 0 -45 19t-19 45t19 45l448 448q19 19 45 19t45 -19l448 -448q19 -19 19 -45z" />
231
- <glyph unicode="&#xf0dd;" horiz-adv-x="1024" d="M1024 448q0 -26 -19 -45l-448 -448q-19 -19 -45 -19t-45 19l-448 448q-19 19 -19 45t19 45t45 19h896q26 0 45 -19t19 -45z" />
232
- <glyph unicode="&#xf0de;" horiz-adv-x="1024" d="M1024 832q0 -26 -19 -45t-45 -19h-896q-26 0 -45 19t-19 45t19 45l448 448q19 19 45 19t45 -19l448 -448q19 -19 19 -45z" />
233
- <glyph unicode="&#xf0e0;" horiz-adv-x="1792" d="M1792 826v-794q0 -66 -47 -113t-113 -47h-1472q-66 0 -113 47t-47 113v794q44 -49 101 -87q362 -246 497 -345q57 -42 92.5 -65.5t94.5 -48t110 -24.5h1h1q51 0 110 24.5t94.5 48t92.5 65.5q170 123 498 345q57 39 100 87zM1792 1120q0 -79 -49 -151t-122 -123 q-376 -261 -468 -325q-10 -7 -42.5 -30.5t-54 -38t-52 -32.5t-57.5 -27t-50 -9h-1h-1q-23 0 -50 9t-57.5 27t-52 32.5t-54 38t-42.5 30.5q-91 64 -262 182.5t-205 142.5q-62 42 -117 115.5t-55 136.5q0 78 41.5 130t118.5 52h1472q65 0 112.5 -47t47.5 -113z" />
234
- <glyph unicode="&#xf0e1;" d="M349 911v-991h-330v991h330zM370 1217q1 -73 -50.5 -122t-135.5 -49h-2q-82 0 -132 49t-50 122q0 74 51.5 122.5t134.5 48.5t133 -48.5t51 -122.5zM1536 488v-568h-329v530q0 105 -40.5 164.5t-126.5 59.5q-63 0 -105.5 -34.5t-63.5 -85.5q-11 -30 -11 -81v-553h-329 q2 399 2 647t-1 296l-1 48h329v-144h-2q20 32 41 56t56.5 52t87 43.5t114.5 15.5q171 0 275 -113.5t104 -332.5z" />
235
- <glyph unicode="&#xf0e2;" d="M1536 640q0 -156 -61 -298t-164 -245t-245 -164t-298 -61q-172 0 -327 72.5t-264 204.5q-7 10 -6.5 22.5t8.5 20.5l137 138q10 9 25 9q16 -2 23 -12q73 -95 179 -147t225 -52q104 0 198.5 40.5t163.5 109.5t109.5 163.5t40.5 198.5t-40.5 198.5t-109.5 163.5 t-163.5 109.5t-198.5 40.5q-98 0 -188 -35.5t-160 -101.5l137 -138q31 -30 14 -69q-17 -40 -59 -40h-448q-26 0 -45 19t-19 45v448q0 42 40 59q39 17 69 -14l130 -129q107 101 244.5 156.5t284.5 55.5q156 0 298 -61t245 -164t164 -245t61 -298z" />
236
- <glyph unicode="&#xf0e3;" horiz-adv-x="1792" d="M1771 0q0 -53 -37 -90l-107 -108q-39 -37 -91 -37q-53 0 -90 37l-363 364q-38 36 -38 90q0 53 43 96l-256 256l-126 -126q-14 -14 -34 -14t-34 14q2 -2 12.5 -12t12.5 -13t10 -11.5t10 -13.5t6 -13.5t5.5 -16.5t1.5 -18q0 -38 -28 -68q-3 -3 -16.5 -18t-19 -20.5 t-18.5 -16.5t-22 -15.5t-22 -9t-26 -4.5q-40 0 -68 28l-408 408q-28 28 -28 68q0 13 4.5 26t9 22t15.5 22t16.5 18.5t20.5 19t18 16.5q30 28 68 28q10 0 18 -1.5t16.5 -5.5t13.5 -6t13.5 -10t11.5 -10t13 -12.5t12 -12.5q-14 14 -14 34t14 34l348 348q14 14 34 14t34 -14 q-2 2 -12.5 12t-12.5 13t-10 11.5t-10 13.5t-6 13.5t-5.5 16.5t-1.5 18q0 38 28 68q3 3 16.5 18t19 20.5t18.5 16.5t22 15.5t22 9t26 4.5q40 0 68 -28l408 -408q28 -28 28 -68q0 -13 -4.5 -26t-9 -22t-15.5 -22t-16.5 -18.5t-20.5 -19t-18 -16.5q-30 -28 -68 -28 q-10 0 -18 1.5t-16.5 5.5t-13.5 6t-13.5 10t-11.5 10t-13 12.5t-12 12.5q14 -14 14 -34t-14 -34l-126 -126l256 -256q43 43 96 43q52 0 91 -37l363 -363q37 -39 37 -91z" />
237
- <glyph unicode="&#xf0e4;" horiz-adv-x="1792" d="M384 384q0 53 -37.5 90.5t-90.5 37.5t-90.5 -37.5t-37.5 -90.5t37.5 -90.5t90.5 -37.5t90.5 37.5t37.5 90.5zM576 832q0 53 -37.5 90.5t-90.5 37.5t-90.5 -37.5t-37.5 -90.5t37.5 -90.5t90.5 -37.5t90.5 37.5t37.5 90.5zM1004 351l101 382q6 26 -7.5 48.5t-38.5 29.5 t-48 -6.5t-30 -39.5l-101 -382q-60 -5 -107 -43.5t-63 -98.5q-20 -77 20 -146t117 -89t146 20t89 117q16 60 -6 117t-72 91zM1664 384q0 53 -37.5 90.5t-90.5 37.5t-90.5 -37.5t-37.5 -90.5t37.5 -90.5t90.5 -37.5t90.5 37.5t37.5 90.5zM1024 1024q0 53 -37.5 90.5 t-90.5 37.5t-90.5 -37.5t-37.5 -90.5t37.5 -90.5t90.5 -37.5t90.5 37.5t37.5 90.5zM1472 832q0 53 -37.5 90.5t-90.5 37.5t-90.5 -37.5t-37.5 -90.5t37.5 -90.5t90.5 -37.5t90.5 37.5t37.5 90.5zM1792 384q0 -261 -141 -483q-19 -29 -54 -29h-1402q-35 0 -54 29 q-141 221 -141 483q0 182 71 348t191 286t286 191t348 71t348 -71t286 -191t191 -286t71 -348z" />
238
- <glyph unicode="&#xf0e5;" horiz-adv-x="1792" d="M896 1152q-204 0 -381.5 -69.5t-282 -187.5t-104.5 -255q0 -112 71.5 -213.5t201.5 -175.5l87 -50l-27 -96q-24 -91 -70 -172q152 63 275 171l43 38l57 -6q69 -8 130 -8q204 0 381.5 69.5t282 187.5t104.5 255t-104.5 255t-282 187.5t-381.5 69.5zM1792 640 q0 -174 -120 -321.5t-326 -233t-450 -85.5q-70 0 -145 8q-198 -175 -460 -242q-49 -14 -114 -22h-5q-15 0 -27 10.5t-16 27.5v1q-3 4 -0.5 12t2 10t4.5 9.5l6 9t7 8.5t8 9q7 8 31 34.5t34.5 38t31 39.5t32.5 51t27 59t26 76q-157 89 -247.5 220t-90.5 281q0 174 120 321.5 t326 233t450 85.5t450 -85.5t326 -233t120 -321.5z" />
239
- <glyph unicode="&#xf0e6;" horiz-adv-x="1792" d="M704 1152q-153 0 -286 -52t-211.5 -141t-78.5 -191q0 -82 53 -158t149 -132l97 -56l-35 -84q34 20 62 39l44 31l53 -10q78 -14 153 -14q153 0 286 52t211.5 141t78.5 191t-78.5 191t-211.5 141t-286 52zM704 1280q191 0 353.5 -68.5t256.5 -186.5t94 -257t-94 -257 t-256.5 -186.5t-353.5 -68.5q-86 0 -176 16q-124 -88 -278 -128q-36 -9 -86 -16h-3q-11 0 -20.5 8t-11.5 21q-1 3 -1 6.5t0.5 6.5t2 6l2.5 5t3.5 5.5t4 5t4.5 5t4 4.5q5 6 23 25t26 29.5t22.5 29t25 38.5t20.5 44q-124 72 -195 177t-71 224q0 139 94 257t256.5 186.5 t353.5 68.5zM1526 111q10 -24 20.5 -44t25 -38.5t22.5 -29t26 -29.5t23 -25q1 -1 4 -4.5t4.5 -5t4 -5t3.5 -5.5l2.5 -5t2 -6t0.5 -6.5t-1 -6.5q-3 -14 -13 -22t-22 -7q-50 7 -86 16q-154 40 -278 128q-90 -16 -176 -16q-271 0 -472 132q58 -4 88 -4q161 0 309 45t264 129 q125 92 192 212t67 254q0 77 -23 152q129 -71 204 -178t75 -230q0 -120 -71 -224.5t-195 -176.5z" />
240
- <glyph unicode="&#xf0e7;" horiz-adv-x="896" d="M885 970q18 -20 7 -44l-540 -1157q-13 -25 -42 -25q-4 0 -14 2q-17 5 -25.5 19t-4.5 30l197 808l-406 -101q-4 -1 -12 -1q-18 0 -31 11q-18 15 -13 39l201 825q4 14 16 23t28 9h328q19 0 32 -12.5t13 -29.5q0 -8 -5 -18l-171 -463l396 98q8 2 12 2q19 0 34 -15z" />
241
- <glyph unicode="&#xf0e8;" horiz-adv-x="1792" d="M1792 288v-320q0 -40 -28 -68t-68 -28h-320q-40 0 -68 28t-28 68v320q0 40 28 68t68 28h96v192h-512v-192h96q40 0 68 -28t28 -68v-320q0 -40 -28 -68t-68 -28h-320q-40 0 -68 28t-28 68v320q0 40 28 68t68 28h96v192h-512v-192h96q40 0 68 -28t28 -68v-320 q0 -40 -28 -68t-68 -28h-320q-40 0 -68 28t-28 68v320q0 40 28 68t68 28h96v192q0 52 38 90t90 38h512v192h-96q-40 0 -68 28t-28 68v320q0 40 28 68t68 28h320q40 0 68 -28t28 -68v-320q0 -40 -28 -68t-68 -28h-96v-192h512q52 0 90 -38t38 -90v-192h96q40 0 68 -28t28 -68 z" />
242
- <glyph unicode="&#xf0e9;" horiz-adv-x="1664" d="M896 708v-580q0 -104 -76 -180t-180 -76t-180 76t-76 180q0 26 19 45t45 19t45 -19t19 -45q0 -50 39 -89t89 -39t89 39t39 89v580q33 11 64 11t64 -11zM1664 681q0 -13 -9.5 -22.5t-22.5 -9.5q-11 0 -23 10q-49 46 -93 69t-102 23q-68 0 -128 -37t-103 -97 q-7 -10 -17.5 -28t-14.5 -24q-11 -17 -28 -17q-18 0 -29 17q-4 6 -14.5 24t-17.5 28q-43 60 -102.5 97t-127.5 37t-127.5 -37t-102.5 -97q-7 -10 -17.5 -28t-14.5 -24q-11 -17 -29 -17q-17 0 -28 17q-4 6 -14.5 24t-17.5 28q-43 60 -103 97t-128 37q-58 0 -102 -23t-93 -69 q-12 -10 -23 -10q-13 0 -22.5 9.5t-9.5 22.5q0 5 1 7q45 183 172.5 319.5t298 204.5t360.5 68q140 0 274.5 -40t246.5 -113.5t194.5 -187t115.5 -251.5q1 -2 1 -7zM896 1408v-98q-42 2 -64 2t-64 -2v98q0 26 19 45t45 19t45 -19t19 -45z" />
243
- <glyph unicode="&#xf0ea;" horiz-adv-x="1792" d="M768 -128h896v640h-416q-40 0 -68 28t-28 68v416h-384v-1152zM1024 1312v64q0 13 -9.5 22.5t-22.5 9.5h-704q-13 0 -22.5 -9.5t-9.5 -22.5v-64q0 -13 9.5 -22.5t22.5 -9.5h704q13 0 22.5 9.5t9.5 22.5zM1280 640h299l-299 299v-299zM1792 512v-672q0 -40 -28 -68t-68 -28 h-960q-40 0 -68 28t-28 68v160h-544q-40 0 -68 28t-28 68v1344q0 40 28 68t68 28h1088q40 0 68 -28t28 -68v-328q21 -13 36 -28l408 -408q28 -28 48 -76t20 -88z" />
244
- <glyph unicode="&#xf0eb;" horiz-adv-x="1024" d="M736 960q0 -13 -9.5 -22.5t-22.5 -9.5t-22.5 9.5t-9.5 22.5q0 46 -54 71t-106 25q-13 0 -22.5 9.5t-9.5 22.5t9.5 22.5t22.5 9.5q50 0 99.5 -16t87 -54t37.5 -90zM896 960q0 72 -34.5 134t-90 101.5t-123 62t-136.5 22.5t-136.5 -22.5t-123 -62t-90 -101.5t-34.5 -134 q0 -101 68 -180q10 -11 30.5 -33t30.5 -33q128 -153 141 -298h228q13 145 141 298q10 11 30.5 33t30.5 33q68 79 68 180zM1024 960q0 -155 -103 -268q-45 -49 -74.5 -87t-59.5 -95.5t-34 -107.5q47 -28 47 -82q0 -37 -25 -64q25 -27 25 -64q0 -52 -45 -81q13 -23 13 -47 q0 -46 -31.5 -71t-77.5 -25q-20 -44 -60 -70t-87 -26t-87 26t-60 70q-46 0 -77.5 25t-31.5 71q0 24 13 47q-45 29 -45 81q0 37 25 64q-25 27 -25 64q0 54 47 82q-4 50 -34 107.5t-59.5 95.5t-74.5 87q-103 113 -103 268q0 99 44.5 184.5t117 142t164 89t186.5 32.5 t186.5 -32.5t164 -89t117 -142t44.5 -184.5z" />
245
- <glyph unicode="&#xf0ec;" horiz-adv-x="1792" d="M1792 352v-192q0 -13 -9.5 -22.5t-22.5 -9.5h-1376v-192q0 -13 -9.5 -22.5t-22.5 -9.5q-12 0 -24 10l-319 320q-9 9 -9 22q0 14 9 23l320 320q9 9 23 9q13 0 22.5 -9.5t9.5 -22.5v-192h1376q13 0 22.5 -9.5t9.5 -22.5zM1792 896q0 -14 -9 -23l-320 -320q-9 -9 -23 -9 q-13 0 -22.5 9.5t-9.5 22.5v192h-1376q-13 0 -22.5 9.5t-9.5 22.5v192q0 13 9.5 22.5t22.5 9.5h1376v192q0 14 9 23t23 9q12 0 24 -10l319 -319q9 -9 9 -23z" />
246
- <glyph unicode="&#xf0ed;" horiz-adv-x="1920" d="M1280 608q0 14 -9 23t-23 9h-224v352q0 13 -9.5 22.5t-22.5 9.5h-192q-13 0 -22.5 -9.5t-9.5 -22.5v-352h-224q-13 0 -22.5 -9.5t-9.5 -22.5q0 -14 9 -23l352 -352q9 -9 23 -9t23 9l351 351q10 12 10 24zM1920 384q0 -159 -112.5 -271.5t-271.5 -112.5h-1088 q-185 0 -316.5 131.5t-131.5 316.5q0 130 70 240t188 165q-2 30 -2 43q0 212 150 362t362 150q156 0 285.5 -87t188.5 -231q71 62 166 62q106 0 181 -75t75 -181q0 -76 -41 -138q130 -31 213.5 -135.5t83.5 -238.5z" />
247
- <glyph unicode="&#xf0ee;" horiz-adv-x="1920" d="M1280 672q0 14 -9 23l-352 352q-9 9 -23 9t-23 -9l-351 -351q-10 -12 -10 -24q0 -14 9 -23t23 -9h224v-352q0 -13 9.5 -22.5t22.5 -9.5h192q13 0 22.5 9.5t9.5 22.5v352h224q13 0 22.5 9.5t9.5 22.5zM1920 384q0 -159 -112.5 -271.5t-271.5 -112.5h-1088 q-185 0 -316.5 131.5t-131.5 316.5q0 130 70 240t188 165q-2 30 -2 43q0 212 150 362t362 150q156 0 285.5 -87t188.5 -231q71 62 166 62q106 0 181 -75t75 -181q0 -76 -41 -138q130 -31 213.5 -135.5t83.5 -238.5z" />
248
- <glyph unicode="&#xf0f0;" horiz-adv-x="1408" d="M384 192q0 -26 -19 -45t-45 -19t-45 19t-19 45t19 45t45 19t45 -19t19 -45zM1408 131q0 -121 -73 -190t-194 -69h-874q-121 0 -194 69t-73 190q0 68 5.5 131t24 138t47.5 132.5t81 103t120 60.5q-22 -52 -22 -120v-203q-58 -20 -93 -70t-35 -111q0 -80 56 -136t136 -56 t136 56t56 136q0 61 -35.5 111t-92.5 70v203q0 62 25 93q132 -104 295 -104t295 104q25 -31 25 -93v-64q-106 0 -181 -75t-75 -181v-89q-32 -29 -32 -71q0 -40 28 -68t68 -28t68 28t28 68q0 42 -32 71v89q0 52 38 90t90 38t90 -38t38 -90v-89q-32 -29 -32 -71q0 -40 28 -68 t68 -28t68 28t28 68q0 42 -32 71v89q0 68 -34.5 127.5t-93.5 93.5q0 10 0.5 42.5t0 48t-2.5 41.5t-7 47t-13 40q68 -15 120 -60.5t81 -103t47.5 -132.5t24 -138t5.5 -131zM1088 1024q0 -159 -112.5 -271.5t-271.5 -112.5t-271.5 112.5t-112.5 271.5t112.5 271.5t271.5 112.5 t271.5 -112.5t112.5 -271.5z" />
249
- <glyph unicode="&#xf0f1;" horiz-adv-x="1408" d="M1280 832q0 26 -19 45t-45 19t-45 -19t-19 -45t19 -45t45 -19t45 19t19 45zM1408 832q0 -62 -35.5 -111t-92.5 -70v-395q0 -159 -131.5 -271.5t-316.5 -112.5t-316.5 112.5t-131.5 271.5v132q-164 20 -274 128t-110 252v512q0 26 19 45t45 19q6 0 16 -2q17 30 47 48 t65 18q53 0 90.5 -37.5t37.5 -90.5t-37.5 -90.5t-90.5 -37.5q-33 0 -64 18v-402q0 -106 94 -181t226 -75t226 75t94 181v402q-31 -18 -64 -18q-53 0 -90.5 37.5t-37.5 90.5t37.5 90.5t90.5 37.5q35 0 65 -18t47 -48q10 2 16 2q26 0 45 -19t19 -45v-512q0 -144 -110 -252 t-274 -128v-132q0 -106 94 -181t226 -75t226 75t94 181v395q-57 21 -92.5 70t-35.5 111q0 80 56 136t136 56t136 -56t56 -136z" />
250
- <glyph unicode="&#xf0f2;" horiz-adv-x="1792" d="M640 1152h512v128h-512v-128zM288 1152v-1280h-64q-92 0 -158 66t-66 158v832q0 92 66 158t158 66h64zM1408 1152v-1280h-1024v1280h128v160q0 40 28 68t68 28h576q40 0 68 -28t28 -68v-160h128zM1792 928v-832q0 -92 -66 -158t-158 -66h-64v1280h64q92 0 158 -66 t66 -158z" />
251
- <glyph unicode="&#xf0f3;" horiz-adv-x="1792" d="M912 -160q0 16 -16 16q-59 0 -101.5 42.5t-42.5 101.5q0 16 -16 16t-16 -16q0 -73 51.5 -124.5t124.5 -51.5q16 0 16 16zM1728 128q0 -52 -38 -90t-90 -38h-448q0 -106 -75 -181t-181 -75t-181 75t-75 181h-448q-52 0 -90 38t-38 90q50 42 91 88t85 119.5t74.5 158.5 t50 206t19.5 260q0 152 117 282.5t307 158.5q-8 19 -8 39q0 40 28 68t68 28t68 -28t28 -68q0 -20 -8 -39q190 -28 307 -158.5t117 -282.5q0 -139 19.5 -260t50 -206t74.5 -158.5t85 -119.5t91 -88z" />
252
- <glyph unicode="&#xf0f4;" horiz-adv-x="1920" d="M1664 896q0 80 -56 136t-136 56h-64v-384h64q80 0 136 56t56 136zM0 128h1792q0 -106 -75 -181t-181 -75h-1280q-106 0 -181 75t-75 181zM1856 896q0 -159 -112.5 -271.5t-271.5 -112.5h-64v-32q0 -92 -66 -158t-158 -66h-704q-92 0 -158 66t-66 158v736q0 26 19 45 t45 19h1152q159 0 271.5 -112.5t112.5 -271.5z" />
253
- <glyph unicode="&#xf0f5;" horiz-adv-x="1408" d="M640 1472v-640q0 -61 -35.5 -111t-92.5 -70v-779q0 -52 -38 -90t-90 -38h-128q-52 0 -90 38t-38 90v779q-57 20 -92.5 70t-35.5 111v640q0 26 19 45t45 19t45 -19t19 -45v-416q0 -26 19 -45t45 -19t45 19t19 45v416q0 26 19 45t45 19t45 -19t19 -45v-416q0 -26 19 -45 t45 -19t45 19t19 45v416q0 26 19 45t45 19t45 -19t19 -45zM1408 1472v-1600q0 -52 -38 -90t-90 -38h-128q-52 0 -90 38t-38 90v512h-224q-13 0 -22.5 9.5t-9.5 22.5v800q0 132 94 226t226 94h256q26 0 45 -19t19 -45z" />
254
- <glyph unicode="&#xf0f6;" d="M1468 1156q28 -28 48 -76t20 -88v-1152q0 -40 -28 -68t-68 -28h-1344q-40 0 -68 28t-28 68v1600q0 40 28 68t68 28h896q40 0 88 -20t76 -48zM1024 1400v-376h376q-10 29 -22 41l-313 313q-12 12 -41 22zM1408 -128v1024h-416q-40 0 -68 28t-28 68v416h-768v-1536h1280z M384 736q0 14 9 23t23 9h704q14 0 23 -9t9 -23v-64q0 -14 -9 -23t-23 -9h-704q-14 0 -23 9t-9 23v64zM1120 512q14 0 23 -9t9 -23v-64q0 -14 -9 -23t-23 -9h-704q-14 0 -23 9t-9 23v64q0 14 9 23t23 9h704zM1120 256q14 0 23 -9t9 -23v-64q0 -14 -9 -23t-23 -9h-704 q-14 0 -23 9t-9 23v64q0 14 9 23t23 9h704z" />
255
- <glyph unicode="&#xf0f7;" horiz-adv-x="1408" d="M384 224v-64q0 -13 -9.5 -22.5t-22.5 -9.5h-64q-13 0 -22.5 9.5t-9.5 22.5v64q0 13 9.5 22.5t22.5 9.5h64q13 0 22.5 -9.5t9.5 -22.5zM384 480v-64q0 -13 -9.5 -22.5t-22.5 -9.5h-64q-13 0 -22.5 9.5t-9.5 22.5v64q0 13 9.5 22.5t22.5 9.5h64q13 0 22.5 -9.5t9.5 -22.5z M640 480v-64q0 -13 -9.5 -22.5t-22.5 -9.5h-64q-13 0 -22.5 9.5t-9.5 22.5v64q0 13 9.5 22.5t22.5 9.5h64q13 0 22.5 -9.5t9.5 -22.5zM384 736v-64q0 -13 -9.5 -22.5t-22.5 -9.5h-64q-13 0 -22.5 9.5t-9.5 22.5v64q0 13 9.5 22.5t22.5 9.5h64q13 0 22.5 -9.5t9.5 -22.5z M1152 224v-64q0 -13 -9.5 -22.5t-22.5 -9.5h-64q-13 0 -22.5 9.5t-9.5 22.5v64q0 13 9.5 22.5t22.5 9.5h64q13 0 22.5 -9.5t9.5 -22.5zM896 480v-64q0 -13 -9.5 -22.5t-22.5 -9.5h-64q-13 0 -22.5 9.5t-9.5 22.5v64q0 13 9.5 22.5t22.5 9.5h64q13 0 22.5 -9.5t9.5 -22.5z M640 736v-64q0 -13 -9.5 -22.5t-22.5 -9.5h-64q-13 0 -22.5 9.5t-9.5 22.5v64q0 13 9.5 22.5t22.5 9.5h64q13 0 22.5 -9.5t9.5 -22.5zM384 992v-64q0 -13 -9.5 -22.5t-22.5 -9.5h-64q-13 0 -22.5 9.5t-9.5 22.5v64q0 13 9.5 22.5t22.5 9.5h64q13 0 22.5 -9.5t9.5 -22.5z M1152 480v-64q0 -13 -9.5 -22.5t-22.5 -9.5h-64q-13 0 -22.5 9.5t-9.5 22.5v64q0 13 9.5 22.5t22.5 9.5h64q13 0 22.5 -9.5t9.5 -22.5zM896 736v-64q0 -13 -9.5 -22.5t-22.5 -9.5h-64q-13 0 -22.5 9.5t-9.5 22.5v64q0 13 9.5 22.5t22.5 9.5h64q13 0 22.5 -9.5t9.5 -22.5z M640 992v-64q0 -13 -9.5 -22.5t-22.5 -9.5h-64q-13 0 -22.5 9.5t-9.5 22.5v64q0 13 9.5 22.5t22.5 9.5h64q13 0 22.5 -9.5t9.5 -22.5zM384 1248v-64q0 -13 -9.5 -22.5t-22.5 -9.5h-64q-13 0 -22.5 9.5t-9.5 22.5v64q0 13 9.5 22.5t22.5 9.5h64q13 0 22.5 -9.5t9.5 -22.5z M1152 736v-64q0 -13 -9.5 -22.5t-22.5 -9.5h-64q-13 0 -22.5 9.5t-9.5 22.5v64q0 13 9.5 22.5t22.5 9.5h64q13 0 22.5 -9.5t9.5 -22.5zM896 992v-64q0 -13 -9.5 -22.5t-22.5 -9.5h-64q-13 0 -22.5 9.5t-9.5 22.5v64q0 13 9.5 22.5t22.5 9.5h64q13 0 22.5 -9.5t9.5 -22.5z M640 1248v-64q0 -13 -9.5 -22.5t-22.5 -9.5h-64q-13 0 -22.5 9.5t-9.5 22.5v64q0 13 9.5 22.5t22.5 9.5h64q13 0 22.5 -9.5t9.5 -22.5zM1152 992v-64q0 -13 -9.5 -22.5t-22.5 -9.5h-64q-13 0 -22.5 9.5t-9.5 22.5v64q0 13 9.5 22.5t22.5 9.5h64q13 0 22.5 -9.5t9.5 -22.5z M896 1248v-64q0 -13 -9.5 -22.5t-22.5 -9.5h-64q-13 0 -22.5 9.5t-9.5 22.5v64q0 13 9.5 22.5t22.5 9.5h64q13 0 22.5 -9.5t9.5 -22.5zM1152 1248v-64q0 -13 -9.5 -22.5t-22.5 -9.5h-64q-13 0 -22.5 9.5t-9.5 22.5v64q0 13 9.5 22.5t22.5 9.5h64q13 0 22.5 -9.5t9.5 -22.5z M896 -128h384v1536h-1152v-1536h384v224q0 13 9.5 22.5t22.5 9.5h320q13 0 22.5 -9.5t9.5 -22.5v-224zM1408 1472v-1664q0 -26 -19 -45t-45 -19h-1280q-26 0 -45 19t-19 45v1664q0 26 19 45t45 19h1280q26 0 45 -19t19 -45z" />
256
- <glyph unicode="&#xf0f8;" horiz-adv-x="1408" d="M384 224v-64q0 -13 -9.5 -22.5t-22.5 -9.5h-64q-13 0 -22.5 9.5t-9.5 22.5v64q0 13 9.5 22.5t22.5 9.5h64q13 0 22.5 -9.5t9.5 -22.5zM384 480v-64q0 -13 -9.5 -22.5t-22.5 -9.5h-64q-13 0 -22.5 9.5t-9.5 22.5v64q0 13 9.5 22.5t22.5 9.5h64q13 0 22.5 -9.5t9.5 -22.5z M640 480v-64q0 -13 -9.5 -22.5t-22.5 -9.5h-64q-13 0 -22.5 9.5t-9.5 22.5v64q0 13 9.5 22.5t22.5 9.5h64q13 0 22.5 -9.5t9.5 -22.5zM384 736v-64q0 -13 -9.5 -22.5t-22.5 -9.5h-64q-13 0 -22.5 9.5t-9.5 22.5v64q0 13 9.5 22.5t22.5 9.5h64q13 0 22.5 -9.5t9.5 -22.5z M1152 224v-64q0 -13 -9.5 -22.5t-22.5 -9.5h-64q-13 0 -22.5 9.5t-9.5 22.5v64q0 13 9.5 22.5t22.5 9.5h64q13 0 22.5 -9.5t9.5 -22.5zM896 480v-64q0 -13 -9.5 -22.5t-22.5 -9.5h-64q-13 0 -22.5 9.5t-9.5 22.5v64q0 13 9.5 22.5t22.5 9.5h64q13 0 22.5 -9.5t9.5 -22.5z M640 736v-64q0 -13 -9.5 -22.5t-22.5 -9.5h-64q-13 0 -22.5 9.5t-9.5 22.5v64q0 13 9.5 22.5t22.5 9.5h64q13 0 22.5 -9.5t9.5 -22.5zM1152 480v-64q0 -13 -9.5 -22.5t-22.5 -9.5h-64q-13 0 -22.5 9.5t-9.5 22.5v64q0 13 9.5 22.5t22.5 9.5h64q13 0 22.5 -9.5t9.5 -22.5z M896 736v-64q0 -13 -9.5 -22.5t-22.5 -9.5h-64q-13 0 -22.5 9.5t-9.5 22.5v64q0 13 9.5 22.5t22.5 9.5h64q13 0 22.5 -9.5t9.5 -22.5zM1152 736v-64q0 -13 -9.5 -22.5t-22.5 -9.5h-64q-13 0 -22.5 9.5t-9.5 22.5v64q0 13 9.5 22.5t22.5 9.5h64q13 0 22.5 -9.5t9.5 -22.5z M896 -128h384v1152h-256v-32q0 -40 -28 -68t-68 -28h-448q-40 0 -68 28t-28 68v32h-256v-1152h384v224q0 13 9.5 22.5t22.5 9.5h320q13 0 22.5 -9.5t9.5 -22.5v-224zM896 1056v320q0 13 -9.5 22.5t-22.5 9.5h-64q-13 0 -22.5 -9.5t-9.5 -22.5v-96h-128v96q0 13 -9.5 22.5 t-22.5 9.5h-64q-13 0 -22.5 -9.5t-9.5 -22.5v-320q0 -13 9.5 -22.5t22.5 -9.5h64q13 0 22.5 9.5t9.5 22.5v96h128v-96q0 -13 9.5 -22.5t22.5 -9.5h64q13 0 22.5 9.5t9.5 22.5zM1408 1088v-1280q0 -26 -19 -45t-45 -19h-1280q-26 0 -45 19t-19 45v1280q0 26 19 45t45 19h320 v288q0 40 28 68t68 28h448q40 0 68 -28t28 -68v-288h320q26 0 45 -19t19 -45z" />
257
- <glyph unicode="&#xf0f9;" horiz-adv-x="1920" d="M640 128q0 53 -37.5 90.5t-90.5 37.5t-90.5 -37.5t-37.5 -90.5t37.5 -90.5t90.5 -37.5t90.5 37.5t37.5 90.5zM256 640h384v256h-158q-14 -2 -22 -9l-195 -195q-7 -12 -9 -22v-30zM1536 128q0 53 -37.5 90.5t-90.5 37.5t-90.5 -37.5t-37.5 -90.5t37.5 -90.5t90.5 -37.5 t90.5 37.5t37.5 90.5zM1664 800v192q0 14 -9 23t-23 9h-224v224q0 14 -9 23t-23 9h-192q-14 0 -23 -9t-9 -23v-224h-224q-14 0 -23 -9t-9 -23v-192q0 -14 9 -23t23 -9h224v-224q0 -14 9 -23t23 -9h192q14 0 23 9t9 23v224h224q14 0 23 9t9 23zM1920 1344v-1152 q0 -26 -19 -45t-45 -19h-192q0 -106 -75 -181t-181 -75t-181 75t-75 181h-384q0 -106 -75 -181t-181 -75t-181 75t-75 181h-128q-26 0 -45 19t-19 45t19 45t45 19v416q0 26 13 58t32 51l198 198q19 19 51 32t58 13h160v320q0 26 19 45t45 19h1152q26 0 45 -19t19 -45z" />
258
- <glyph unicode="&#xf0fa;" horiz-adv-x="1792" d="M1280 416v192q0 14 -9 23t-23 9h-224v224q0 14 -9 23t-23 9h-192q-14 0 -23 -9t-9 -23v-224h-224q-14 0 -23 -9t-9 -23v-192q0 -14 9 -23t23 -9h224v-224q0 -14 9 -23t23 -9h192q14 0 23 9t9 23v224h224q14 0 23 9t9 23zM640 1152h512v128h-512v-128zM256 1152v-1280h-32 q-92 0 -158 66t-66 158v832q0 92 66 158t158 66h32zM1440 1152v-1280h-1088v1280h160v160q0 40 28 68t68 28h576q40 0 68 -28t28 -68v-160h160zM1792 928v-832q0 -92 -66 -158t-158 -66h-32v1280h32q92 0 158 -66t66 -158z" />
259
- <glyph unicode="&#xf0fb;" horiz-adv-x="1920" d="M1920 576q-1 -32 -288 -96l-352 -32l-224 -64h-64l-293 -352h69q26 0 45 -4.5t19 -11.5t-19 -11.5t-45 -4.5h-96h-160h-64v32h64v416h-160l-192 -224h-96l-32 32v192h32v32h128v8l-192 24v128l192 24v8h-128v32h-32v192l32 32h96l192 -224h160v416h-64v32h64h160h96 q26 0 45 -4.5t19 -11.5t-19 -11.5t-45 -4.5h-69l293 -352h64l224 -64l352 -32q128 -28 200 -52t80 -34z" />
260
- <glyph unicode="&#xf0fc;" horiz-adv-x="1664" d="M640 640v384h-256v-256q0 -53 37.5 -90.5t90.5 -37.5h128zM1664 192v-192h-1152v192l128 192h-128q-159 0 -271.5 112.5t-112.5 271.5v320l-64 64l32 128h480l32 128h960l32 -192l-64 -32v-800z" />
261
- <glyph unicode="&#xf0fd;" d="M1280 192v896q0 26 -19 45t-45 19h-128q-26 0 -45 -19t-19 -45v-320h-512v320q0 26 -19 45t-45 19h-128q-26 0 -45 -19t-19 -45v-896q0 -26 19 -45t45 -19h128q26 0 45 19t19 45v320h512v-320q0 -26 19 -45t45 -19h128q26 0 45 19t19 45zM1536 1120v-960 q0 -119 -84.5 -203.5t-203.5 -84.5h-960q-119 0 -203.5 84.5t-84.5 203.5v960q0 119 84.5 203.5t203.5 84.5h960q119 0 203.5 -84.5t84.5 -203.5z" />
262
- <glyph unicode="&#xf0fe;" d="M1280 576v128q0 26 -19 45t-45 19h-320v320q0 26 -19 45t-45 19h-128q-26 0 -45 -19t-19 -45v-320h-320q-26 0 -45 -19t-19 -45v-128q0 -26 19 -45t45 -19h320v-320q0 -26 19 -45t45 -19h128q26 0 45 19t19 45v320h320q26 0 45 19t19 45zM1536 1120v-960 q0 -119 -84.5 -203.5t-203.5 -84.5h-960q-119 0 -203.5 84.5t-84.5 203.5v960q0 119 84.5 203.5t203.5 84.5h960q119 0 203.5 -84.5t84.5 -203.5z" />
263
- <glyph unicode="&#xf100;" horiz-adv-x="1024" d="M627 160q0 -13 -10 -23l-50 -50q-10 -10 -23 -10t-23 10l-466 466q-10 10 -10 23t10 23l466 466q10 10 23 10t23 -10l50 -50q10 -10 10 -23t-10 -23l-393 -393l393 -393q10 -10 10 -23zM1011 160q0 -13 -10 -23l-50 -50q-10 -10 -23 -10t-23 10l-466 466q-10 10 -10 23 t10 23l466 466q10 10 23 10t23 -10l50 -50q10 -10 10 -23t-10 -23l-393 -393l393 -393q10 -10 10 -23z" />
264
- <glyph unicode="&#xf101;" horiz-adv-x="1024" d="M595 576q0 -13 -10 -23l-466 -466q-10 -10 -23 -10t-23 10l-50 50q-10 10 -10 23t10 23l393 393l-393 393q-10 10 -10 23t10 23l50 50q10 10 23 10t23 -10l466 -466q10 -10 10 -23zM979 576q0 -13 -10 -23l-466 -466q-10 -10 -23 -10t-23 10l-50 50q-10 10 -10 23t10 23 l393 393l-393 393q-10 10 -10 23t10 23l50 50q10 10 23 10t23 -10l466 -466q10 -10 10 -23z" />
265
- <glyph unicode="&#xf102;" horiz-adv-x="1152" d="M1075 224q0 -13 -10 -23l-50 -50q-10 -10 -23 -10t-23 10l-393 393l-393 -393q-10 -10 -23 -10t-23 10l-50 50q-10 10 -10 23t10 23l466 466q10 10 23 10t23 -10l466 -466q10 -10 10 -23zM1075 608q0 -13 -10 -23l-50 -50q-10 -10 -23 -10t-23 10l-393 393l-393 -393 q-10 -10 -23 -10t-23 10l-50 50q-10 10 -10 23t10 23l466 466q10 10 23 10t23 -10l466 -466q10 -10 10 -23z" />
266
- <glyph unicode="&#xf103;" horiz-adv-x="1152" d="M1075 672q0 -13 -10 -23l-466 -466q-10 -10 -23 -10t-23 10l-466 466q-10 10 -10 23t10 23l50 50q10 10 23 10t23 -10l393 -393l393 393q10 10 23 10t23 -10l50 -50q10 -10 10 -23zM1075 1056q0 -13 -10 -23l-466 -466q-10 -10 -23 -10t-23 10l-466 466q-10 10 -10 23 t10 23l50 50q10 10 23 10t23 -10l393 -393l393 393q10 10 23 10t23 -10l50 -50q10 -10 10 -23z" />
267
- <glyph unicode="&#xf104;" horiz-adv-x="640" d="M627 992q0 -13 -10 -23l-393 -393l393 -393q10 -10 10 -23t-10 -23l-50 -50q-10 -10 -23 -10t-23 10l-466 466q-10 10 -10 23t10 23l466 466q10 10 23 10t23 -10l50 -50q10 -10 10 -23z" />
268
- <glyph unicode="&#xf105;" horiz-adv-x="640" d="M595 576q0 -13 -10 -23l-466 -466q-10 -10 -23 -10t-23 10l-50 50q-10 10 -10 23t10 23l393 393l-393 393q-10 10 -10 23t10 23l50 50q10 10 23 10t23 -10l466 -466q10 -10 10 -23z" />
269
- <glyph unicode="&#xf106;" horiz-adv-x="1152" d="M1075 352q0 -13 -10 -23l-50 -50q-10 -10 -23 -10t-23 10l-393 393l-393 -393q-10 -10 -23 -10t-23 10l-50 50q-10 10 -10 23t10 23l466 466q10 10 23 10t23 -10l466 -466q10 -10 10 -23z" />
270
- <glyph unicode="&#xf107;" horiz-adv-x="1152" d="M1075 800q0 -13 -10 -23l-466 -466q-10 -10 -23 -10t-23 10l-466 466q-10 10 -10 23t10 23l50 50q10 10 23 10t23 -10l393 -393l393 393q10 10 23 10t23 -10l50 -50q10 -10 10 -23z" />
271
- <glyph unicode="&#xf108;" horiz-adv-x="1920" d="M1792 544v832q0 13 -9.5 22.5t-22.5 9.5h-1600q-13 0 -22.5 -9.5t-9.5 -22.5v-832q0 -13 9.5 -22.5t22.5 -9.5h1600q13 0 22.5 9.5t9.5 22.5zM1920 1376v-1088q0 -66 -47 -113t-113 -47h-544q0 -37 16 -77.5t32 -71t16 -43.5q0 -26 -19 -45t-45 -19h-512q-26 0 -45 19 t-19 45q0 14 16 44t32 70t16 78h-544q-66 0 -113 47t-47 113v1088q0 66 47 113t113 47h1600q66 0 113 -47t47 -113z" />
272
- <glyph unicode="&#xf109;" horiz-adv-x="1920" d="M416 256q-66 0 -113 47t-47 113v704q0 66 47 113t113 47h1088q66 0 113 -47t47 -113v-704q0 -66 -47 -113t-113 -47h-1088zM384 1120v-704q0 -13 9.5 -22.5t22.5 -9.5h1088q13 0 22.5 9.5t9.5 22.5v704q0 13 -9.5 22.5t-22.5 9.5h-1088q-13 0 -22.5 -9.5t-9.5 -22.5z M1760 192h160v-96q0 -40 -47 -68t-113 -28h-1600q-66 0 -113 28t-47 68v96h160h1600zM1040 96q16 0 16 16t-16 16h-160q-16 0 -16 -16t16 -16h160z" />
273
- <glyph unicode="&#xf10a;" horiz-adv-x="1152" d="M640 128q0 26 -19 45t-45 19t-45 -19t-19 -45t19 -45t45 -19t45 19t19 45zM1024 288v960q0 13 -9.5 22.5t-22.5 9.5h-832q-13 0 -22.5 -9.5t-9.5 -22.5v-960q0 -13 9.5 -22.5t22.5 -9.5h832q13 0 22.5 9.5t9.5 22.5zM1152 1248v-1088q0 -66 -47 -113t-113 -47h-832 q-66 0 -113 47t-47 113v1088q0 66 47 113t113 47h832q66 0 113 -47t47 -113z" />
274
- <glyph unicode="&#xf10b;" horiz-adv-x="768" d="M464 128q0 33 -23.5 56.5t-56.5 23.5t-56.5 -23.5t-23.5 -56.5t23.5 -56.5t56.5 -23.5t56.5 23.5t23.5 56.5zM672 288v704q0 13 -9.5 22.5t-22.5 9.5h-512q-13 0 -22.5 -9.5t-9.5 -22.5v-704q0 -13 9.5 -22.5t22.5 -9.5h512q13 0 22.5 9.5t9.5 22.5zM480 1136 q0 16 -16 16h-160q-16 0 -16 -16t16 -16h160q16 0 16 16zM768 1152v-1024q0 -52 -38 -90t-90 -38h-512q-52 0 -90 38t-38 90v1024q0 52 38 90t90 38h512q52 0 90 -38t38 -90z" />
275
- <glyph unicode="&#xf10c;" d="M768 1184q-148 0 -273 -73t-198 -198t-73 -273t73 -273t198 -198t273 -73t273 73t198 198t73 273t-73 273t-198 198t-273 73zM1536 640q0 -209 -103 -385.5t-279.5 -279.5t-385.5 -103t-385.5 103t-279.5 279.5t-103 385.5t103 385.5t279.5 279.5t385.5 103t385.5 -103 t279.5 -279.5t103 -385.5z" />
276
- <glyph unicode="&#xf10d;" horiz-adv-x="1664" d="M768 576v-384q0 -80 -56 -136t-136 -56h-384q-80 0 -136 56t-56 136v704q0 104 40.5 198.5t109.5 163.5t163.5 109.5t198.5 40.5h64q26 0 45 -19t19 -45v-128q0 -26 -19 -45t-45 -19h-64q-106 0 -181 -75t-75 -181v-32q0 -40 28 -68t68 -28h224q80 0 136 -56t56 -136z M1664 576v-384q0 -80 -56 -136t-136 -56h-384q-80 0 -136 56t-56 136v704q0 104 40.5 198.5t109.5 163.5t163.5 109.5t198.5 40.5h64q26 0 45 -19t19 -45v-128q0 -26 -19 -45t-45 -19h-64q-106 0 -181 -75t-75 -181v-32q0 -40 28 -68t68 -28h224q80 0 136 -56t56 -136z" />
277
- <glyph unicode="&#xf10e;" horiz-adv-x="1664" d="M768 1216v-704q0 -104 -40.5 -198.5t-109.5 -163.5t-163.5 -109.5t-198.5 -40.5h-64q-26 0 -45 19t-19 45v128q0 26 19 45t45 19h64q106 0 181 75t75 181v32q0 40 -28 68t-68 28h-224q-80 0 -136 56t-56 136v384q0 80 56 136t136 56h384q80 0 136 -56t56 -136zM1664 1216 v-704q0 -104 -40.5 -198.5t-109.5 -163.5t-163.5 -109.5t-198.5 -40.5h-64q-26 0 -45 19t-19 45v128q0 26 19 45t45 19h64q106 0 181 75t75 181v32q0 40 -28 68t-68 28h-224q-80 0 -136 56t-56 136v384q0 80 56 136t136 56h384q80 0 136 -56t56 -136z" />
278
- <glyph unicode="&#xf110;" horiz-adv-x="1792" d="M526 142q0 -53 -37.5 -90.5t-90.5 -37.5q-52 0 -90 38t-38 90q0 53 37.5 90.5t90.5 37.5t90.5 -37.5t37.5 -90.5zM1024 -64q0 -53 -37.5 -90.5t-90.5 -37.5t-90.5 37.5t-37.5 90.5t37.5 90.5t90.5 37.5t90.5 -37.5t37.5 -90.5zM320 640q0 -53 -37.5 -90.5t-90.5 -37.5 t-90.5 37.5t-37.5 90.5t37.5 90.5t90.5 37.5t90.5 -37.5t37.5 -90.5zM1522 142q0 -52 -38 -90t-90 -38q-53 0 -90.5 37.5t-37.5 90.5t37.5 90.5t90.5 37.5t90.5 -37.5t37.5 -90.5zM558 1138q0 -66 -47 -113t-113 -47t-113 47t-47 113t47 113t113 47t113 -47t47 -113z M1728 640q0 -53 -37.5 -90.5t-90.5 -37.5t-90.5 37.5t-37.5 90.5t37.5 90.5t90.5 37.5t90.5 -37.5t37.5 -90.5zM1088 1344q0 -80 -56 -136t-136 -56t-136 56t-56 136t56 136t136 56t136 -56t56 -136zM1618 1138q0 -93 -66 -158.5t-158 -65.5q-93 0 -158.5 65.5t-65.5 158.5 q0 92 65.5 158t158.5 66q92 0 158 -66t66 -158z" />
279
- <glyph unicode="&#xf111;" d="M1536 640q0 -209 -103 -385.5t-279.5 -279.5t-385.5 -103t-385.5 103t-279.5 279.5t-103 385.5t103 385.5t279.5 279.5t385.5 103t385.5 -103t279.5 -279.5t103 -385.5z" />
280
- <glyph unicode="&#xf112;" horiz-adv-x="1792" d="M1792 416q0 -166 -127 -451q-3 -7 -10.5 -24t-13.5 -30t-13 -22q-12 -17 -28 -17q-15 0 -23.5 10t-8.5 25q0 9 2.5 26.5t2.5 23.5q5 68 5 123q0 101 -17.5 181t-48.5 138.5t-80 101t-105.5 69.5t-133 42.5t-154 21.5t-175.5 6h-224v-256q0 -26 -19 -45t-45 -19t-45 19 l-512 512q-19 19 -19 45t19 45l512 512q19 19 45 19t45 -19t19 -45v-256h224q713 0 875 -403q53 -134 53 -333z" />
281
- <glyph unicode="&#xf113;" horiz-adv-x="1664" d="M640 320q0 -40 -12.5 -82t-43 -76t-72.5 -34t-72.5 34t-43 76t-12.5 82t12.5 82t43 76t72.5 34t72.5 -34t43 -76t12.5 -82zM1280 320q0 -40 -12.5 -82t-43 -76t-72.5 -34t-72.5 34t-43 76t-12.5 82t12.5 82t43 76t72.5 34t72.5 -34t43 -76t12.5 -82zM1440 320 q0 120 -69 204t-187 84q-41 0 -195 -21q-71 -11 -157 -11t-157 11q-152 21 -195 21q-118 0 -187 -84t-69 -204q0 -88 32 -153.5t81 -103t122 -60t140 -29.5t149 -7h168q82 0 149 7t140 29.5t122 60t81 103t32 153.5zM1664 496q0 -207 -61 -331q-38 -77 -105.5 -133t-141 -86 t-170 -47.5t-171.5 -22t-167 -4.5q-78 0 -142 3t-147.5 12.5t-152.5 30t-137 51.5t-121 81t-86 115q-62 123 -62 331q0 237 136 396q-27 82 -27 170q0 116 51 218q108 0 190 -39.5t189 -123.5q147 35 309 35q148 0 280 -32q105 82 187 121t189 39q51 -102 51 -218 q0 -87 -27 -168q136 -160 136 -398z" />
282
- <glyph unicode="&#xf114;" horiz-adv-x="1664" d="M1536 224v704q0 40 -28 68t-68 28h-704q-40 0 -68 28t-28 68v64q0 40 -28 68t-68 28h-320q-40 0 -68 -28t-28 -68v-960q0 -40 28 -68t68 -28h1216q40 0 68 28t28 68zM1664 928v-704q0 -92 -66 -158t-158 -66h-1216q-92 0 -158 66t-66 158v960q0 92 66 158t158 66h320 q92 0 158 -66t66 -158v-32h672q92 0 158 -66t66 -158z" />
283
- <glyph unicode="&#xf115;" horiz-adv-x="1920" d="M1781 605q0 35 -53 35h-1088q-40 0 -85.5 -21.5t-71.5 -52.5l-294 -363q-18 -24 -18 -40q0 -35 53 -35h1088q40 0 86 22t71 53l294 363q18 22 18 39zM640 768h768v160q0 40 -28 68t-68 28h-576q-40 0 -68 28t-28 68v64q0 40 -28 68t-68 28h-320q-40 0 -68 -28t-28 -68 v-853l256 315q44 53 116 87.5t140 34.5zM1909 605q0 -62 -46 -120l-295 -363q-43 -53 -116 -87.5t-140 -34.5h-1088q-92 0 -158 66t-66 158v960q0 92 66 158t158 66h320q92 0 158 -66t66 -158v-32h544q92 0 158 -66t66 -158v-160h192q54 0 99 -24.5t67 -70.5q15 -32 15 -68z " />
284
- <glyph unicode="&#xf116;" horiz-adv-x="1792" />
285
- <glyph unicode="&#xf117;" horiz-adv-x="1792" />
286
- <glyph unicode="&#xf118;" d="M1134 461q-37 -121 -138 -195t-228 -74t-228 74t-138 195q-8 25 4 48.5t38 31.5q25 8 48.5 -4t31.5 -38q25 -80 92.5 -129.5t151.5 -49.5t151.5 49.5t92.5 129.5q8 26 32 38t49 4t37 -31.5t4 -48.5zM640 896q0 -53 -37.5 -90.5t-90.5 -37.5t-90.5 37.5t-37.5 90.5 t37.5 90.5t90.5 37.5t90.5 -37.5t37.5 -90.5zM1152 896q0 -53 -37.5 -90.5t-90.5 -37.5t-90.5 37.5t-37.5 90.5t37.5 90.5t90.5 37.5t90.5 -37.5t37.5 -90.5zM1408 640q0 130 -51 248.5t-136.5 204t-204 136.5t-248.5 51t-248.5 -51t-204 -136.5t-136.5 -204t-51 -248.5 t51 -248.5t136.5 -204t204 -136.5t248.5 -51t248.5 51t204 136.5t136.5 204t51 248.5zM1536 640q0 -209 -103 -385.5t-279.5 -279.5t-385.5 -103t-385.5 103t-279.5 279.5t-103 385.5t103 385.5t279.5 279.5t385.5 103t385.5 -103t279.5 -279.5t103 -385.5z" />
287
- <glyph unicode="&#xf119;" d="M1134 307q8 -25 -4 -48.5t-37 -31.5t-49 4t-32 38q-25 80 -92.5 129.5t-151.5 49.5t-151.5 -49.5t-92.5 -129.5q-8 -26 -31.5 -38t-48.5 -4q-26 8 -38 31.5t-4 48.5q37 121 138 195t228 74t228 -74t138 -195zM640 896q0 -53 -37.5 -90.5t-90.5 -37.5t-90.5 37.5 t-37.5 90.5t37.5 90.5t90.5 37.5t90.5 -37.5t37.5 -90.5zM1152 896q0 -53 -37.5 -90.5t-90.5 -37.5t-90.5 37.5t-37.5 90.5t37.5 90.5t90.5 37.5t90.5 -37.5t37.5 -90.5zM1408 640q0 130 -51 248.5t-136.5 204t-204 136.5t-248.5 51t-248.5 -51t-204 -136.5t-136.5 -204 t-51 -248.5t51 -248.5t136.5 -204t204 -136.5t248.5 -51t248.5 51t204 136.5t136.5 204t51 248.5zM1536 640q0 -209 -103 -385.5t-279.5 -279.5t-385.5 -103t-385.5 103t-279.5 279.5t-103 385.5t103 385.5t279.5 279.5t385.5 103t385.5 -103t279.5 -279.5t103 -385.5z" />
288
- <glyph unicode="&#xf11a;" d="M1152 448q0 -26 -19 -45t-45 -19h-640q-26 0 -45 19t-19 45t19 45t45 19h640q26 0 45 -19t19 -45zM640 896q0 -53 -37.5 -90.5t-90.5 -37.5t-90.5 37.5t-37.5 90.5t37.5 90.5t90.5 37.5t90.5 -37.5t37.5 -90.5zM1152 896q0 -53 -37.5 -90.5t-90.5 -37.5t-90.5 37.5 t-37.5 90.5t37.5 90.5t90.5 37.5t90.5 -37.5t37.5 -90.5zM1408 640q0 130 -51 248.5t-136.5 204t-204 136.5t-248.5 51t-248.5 -51t-204 -136.5t-136.5 -204t-51 -248.5t51 -248.5t136.5 -204t204 -136.5t248.5 -51t248.5 51t204 136.5t136.5 204t51 248.5zM1536 640 q0 -209 -103 -385.5t-279.5 -279.5t-385.5 -103t-385.5 103t-279.5 279.5t-103 385.5t103 385.5t279.5 279.5t385.5 103t385.5 -103t279.5 -279.5t103 -385.5z" />
289
- <glyph unicode="&#xf11b;" horiz-adv-x="1920" d="M832 448v128q0 14 -9 23t-23 9h-192v192q0 14 -9 23t-23 9h-128q-14 0 -23 -9t-9 -23v-192h-192q-14 0 -23 -9t-9 -23v-128q0 -14 9 -23t23 -9h192v-192q0 -14 9 -23t23 -9h128q14 0 23 9t9 23v192h192q14 0 23 9t9 23zM1408 384q0 53 -37.5 90.5t-90.5 37.5t-90.5 -37.5 t-37.5 -90.5t37.5 -90.5t90.5 -37.5t90.5 37.5t37.5 90.5zM1664 640q0 53 -37.5 90.5t-90.5 37.5t-90.5 -37.5t-37.5 -90.5t37.5 -90.5t90.5 -37.5t90.5 37.5t37.5 90.5zM1920 512q0 -212 -150 -362t-362 -150q-192 0 -338 128h-220q-146 -128 -338 -128q-212 0 -362 150 t-150 362t150 362t362 150h896q212 0 362 -150t150 -362z" />
290
- <glyph unicode="&#xf11c;" horiz-adv-x="1920" d="M384 368v-96q0 -16 -16 -16h-96q-16 0 -16 16v96q0 16 16 16h96q16 0 16 -16zM512 624v-96q0 -16 -16 -16h-224q-16 0 -16 16v96q0 16 16 16h224q16 0 16 -16zM384 880v-96q0 -16 -16 -16h-96q-16 0 -16 16v96q0 16 16 16h96q16 0 16 -16zM1408 368v-96q0 -16 -16 -16 h-864q-16 0 -16 16v96q0 16 16 16h864q16 0 16 -16zM768 624v-96q0 -16 -16 -16h-96q-16 0 -16 16v96q0 16 16 16h96q16 0 16 -16zM640 880v-96q0 -16 -16 -16h-96q-16 0 -16 16v96q0 16 16 16h96q16 0 16 -16zM1024 624v-96q0 -16 -16 -16h-96q-16 0 -16 16v96q0 16 16 16 h96q16 0 16 -16zM896 880v-96q0 -16 -16 -16h-96q-16 0 -16 16v96q0 16 16 16h96q16 0 16 -16zM1280 624v-96q0 -16 -16 -16h-96q-16 0 -16 16v96q0 16 16 16h96q16 0 16 -16zM1664 368v-96q0 -16 -16 -16h-96q-16 0 -16 16v96q0 16 16 16h96q16 0 16 -16zM1152 880v-96 q0 -16 -16 -16h-96q-16 0 -16 16v96q0 16 16 16h96q16 0 16 -16zM1408 880v-96q0 -16 -16 -16h-96q-16 0 -16 16v96q0 16 16 16h96q16 0 16 -16zM1664 880v-352q0 -16 -16 -16h-224q-16 0 -16 16v96q0 16 16 16h112v240q0 16 16 16h96q16 0 16 -16zM1792 128v896h-1664v-896 h1664zM1920 1024v-896q0 -53 -37.5 -90.5t-90.5 -37.5h-1664q-53 0 -90.5 37.5t-37.5 90.5v896q0 53 37.5 90.5t90.5 37.5h1664q53 0 90.5 -37.5t37.5 -90.5z" />
291
- <glyph unicode="&#xf11d;" horiz-adv-x="1792" d="M1664 491v616q-169 -91 -306 -91q-82 0 -145 32q-100 49 -184 76.5t-178 27.5q-173 0 -403 -127v-599q245 113 433 113q55 0 103.5 -7.5t98 -26t77 -31t82.5 -39.5l28 -14q44 -22 101 -22q120 0 293 92zM320 1280q0 -35 -17.5 -64t-46.5 -46v-1266q0 -14 -9 -23t-23 -9 h-64q-14 0 -23 9t-9 23v1266q-29 17 -46.5 46t-17.5 64q0 53 37.5 90.5t90.5 37.5t90.5 -37.5t37.5 -90.5zM1792 1216v-763q0 -39 -35 -57q-10 -5 -17 -9q-218 -116 -369 -116q-88 0 -158 35l-28 14q-64 33 -99 48t-91 29t-114 14q-102 0 -235.5 -44t-228.5 -102 q-15 -9 -33 -9q-16 0 -32 8q-32 19 -32 56v742q0 35 31 55q35 21 78.5 42.5t114 52t152.5 49.5t155 19q112 0 209 -31t209 -86q38 -19 89 -19q122 0 310 112q22 12 31 17q31 16 62 -2q31 -20 31 -55z" />
292
- <glyph unicode="&#xf11e;" horiz-adv-x="1792" d="M832 536v192q-181 -16 -384 -117v-185q205 96 384 110zM832 954v197q-172 -8 -384 -126v-189q215 111 384 118zM1664 491v184q-235 -116 -384 -71v224q-20 6 -39 15q-5 3 -33 17t-34.5 17t-31.5 15t-34.5 15.5t-32.5 13t-36 12.5t-35 8.5t-39.5 7.5t-39.5 4t-44 2 q-23 0 -49 -3v-222h19q102 0 192.5 -29t197.5 -82q19 -9 39 -15v-188q42 -17 91 -17q120 0 293 92zM1664 918v189q-169 -91 -306 -91q-45 0 -78 8v-196q148 -42 384 90zM320 1280q0 -35 -17.5 -64t-46.5 -46v-1266q0 -14 -9 -23t-23 -9h-64q-14 0 -23 9t-9 23v1266 q-29 17 -46.5 46t-17.5 64q0 53 37.5 90.5t90.5 37.5t90.5 -37.5t37.5 -90.5zM1792 1216v-763q0 -39 -35 -57q-10 -5 -17 -9q-218 -116 -369 -116q-88 0 -158 35l-28 14q-64 33 -99 48t-91 29t-114 14q-102 0 -235.5 -44t-228.5 -102q-15 -9 -33 -9q-16 0 -32 8 q-32 19 -32 56v742q0 35 31 55q35 21 78.5 42.5t114 52t152.5 49.5t155 19q112 0 209 -31t209 -86q38 -19 89 -19q122 0 310 112q22 12 31 17q31 16 62 -2q31 -20 31 -55z" />
293
- <glyph unicode="&#xf120;" horiz-adv-x="1664" d="M585 553l-466 -466q-10 -10 -23 -10t-23 10l-50 50q-10 10 -10 23t10 23l393 393l-393 393q-10 10 -10 23t10 23l50 50q10 10 23 10t23 -10l466 -466q10 -10 10 -23t-10 -23zM1664 96v-64q0 -14 -9 -23t-23 -9h-960q-14 0 -23 9t-9 23v64q0 14 9 23t23 9h960q14 0 23 -9 t9 -23z" />
294
- <glyph unicode="&#xf121;" horiz-adv-x="1920" d="M617 137l-50 -50q-10 -10 -23 -10t-23 10l-466 466q-10 10 -10 23t10 23l466 466q10 10 23 10t23 -10l50 -50q10 -10 10 -23t-10 -23l-393 -393l393 -393q10 -10 10 -23t-10 -23zM1208 1204l-373 -1291q-4 -13 -15.5 -19.5t-23.5 -2.5l-62 17q-13 4 -19.5 15.5t-2.5 24.5 l373 1291q4 13 15.5 19.5t23.5 2.5l62 -17q13 -4 19.5 -15.5t2.5 -24.5zM1865 553l-466 -466q-10 -10 -23 -10t-23 10l-50 50q-10 10 -10 23t10 23l393 393l-393 393q-10 10 -10 23t10 23l50 50q10 10 23 10t23 -10l466 -466q10 -10 10 -23t-10 -23z" />
295
- <glyph unicode="&#xf122;" horiz-adv-x="1792" d="M640 454v-70q0 -42 -39 -59q-13 -5 -25 -5q-27 0 -45 19l-512 512q-19 19 -19 45t19 45l512 512q29 31 70 14q39 -17 39 -59v-69l-397 -398q-19 -19 -19 -45t19 -45zM1792 416q0 -58 -17 -133.5t-38.5 -138t-48 -125t-40.5 -90.5l-20 -40q-8 -17 -28 -17q-6 0 -9 1 q-25 8 -23 34q43 400 -106 565q-64 71 -170.5 110.5t-267.5 52.5v-251q0 -42 -39 -59q-13 -5 -25 -5q-27 0 -45 19l-512 512q-19 19 -19 45t19 45l512 512q29 31 70 14q39 -17 39 -59v-262q411 -28 599 -221q169 -173 169 -509z" />
296
- <glyph unicode="&#xf123;" horiz-adv-x="1664" d="M1186 579l257 250l-356 52l-66 10l-30 60l-159 322v-963l59 -31l318 -168l-60 355l-12 66zM1638 841l-363 -354l86 -500q5 -33 -6 -51.5t-34 -18.5q-17 0 -40 12l-449 236l-449 -236q-23 -12 -40 -12q-23 0 -34 18.5t-6 51.5l86 500l-364 354q-32 32 -23 59.5t54 34.5 l502 73l225 455q20 41 49 41q28 0 49 -41l225 -455l502 -73q45 -7 54 -34.5t-24 -59.5z" />
297
- <glyph unicode="&#xf124;" horiz-adv-x="1408" d="M1401 1187l-640 -1280q-17 -35 -57 -35q-5 0 -15 2q-22 5 -35.5 22.5t-13.5 39.5v576h-576q-22 0 -39.5 13.5t-22.5 35.5t4 42t29 30l1280 640q13 7 29 7q27 0 45 -19q15 -14 18.5 -34.5t-6.5 -39.5z" />
298
- <glyph unicode="&#xf125;" horiz-adv-x="1664" d="M557 256h595v595zM512 301l595 595h-595v-595zM1664 224v-192q0 -14 -9 -23t-23 -9h-224v-224q0 -14 -9 -23t-23 -9h-192q-14 0 -23 9t-9 23v224h-864q-14 0 -23 9t-9 23v864h-224q-14 0 -23 9t-9 23v192q0 14 9 23t23 9h224v224q0 14 9 23t23 9h192q14 0 23 -9t9 -23 v-224h851l246 247q10 9 23 9t23 -9q9 -10 9 -23t-9 -23l-247 -246v-851h224q14 0 23 -9t9 -23z" />
299
- <glyph unicode="&#xf126;" horiz-adv-x="1024" d="M288 64q0 40 -28 68t-68 28t-68 -28t-28 -68t28 -68t68 -28t68 28t28 68zM288 1216q0 40 -28 68t-68 28t-68 -28t-28 -68t28 -68t68 -28t68 28t28 68zM928 1088q0 40 -28 68t-68 28t-68 -28t-28 -68t28 -68t68 -28t68 28t28 68zM1024 1088q0 -52 -26 -96.5t-70 -69.5 q-2 -287 -226 -414q-67 -38 -203 -81q-128 -40 -169.5 -71t-41.5 -100v-26q44 -25 70 -69.5t26 -96.5q0 -80 -56 -136t-136 -56t-136 56t-56 136q0 52 26 96.5t70 69.5v820q-44 25 -70 69.5t-26 96.5q0 80 56 136t136 56t136 -56t56 -136q0 -52 -26 -96.5t-70 -69.5v-497 q54 26 154 57q55 17 87.5 29.5t70.5 31t59 39.5t40.5 51t28 69.5t8.5 91.5q-44 25 -70 69.5t-26 96.5q0 80 56 136t136 56t136 -56t56 -136z" />
300
- <glyph unicode="&#xf127;" horiz-adv-x="1664" d="M439 265l-256 -256q-11 -9 -23 -9t-23 9q-9 10 -9 23t9 23l256 256q10 9 23 9t23 -9q9 -10 9 -23t-9 -23zM608 224v-320q0 -14 -9 -23t-23 -9t-23 9t-9 23v320q0 14 9 23t23 9t23 -9t9 -23zM384 448q0 -14 -9 -23t-23 -9h-320q-14 0 -23 9t-9 23t9 23t23 9h320 q14 0 23 -9t9 -23zM1648 320q0 -120 -85 -203l-147 -146q-83 -83 -203 -83q-121 0 -204 85l-334 335q-21 21 -42 56l239 18l273 -274q27 -27 68 -27.5t68 26.5l147 146q28 28 28 67q0 40 -28 68l-274 275l18 239q35 -21 56 -42l336 -336q84 -86 84 -204zM1031 1044l-239 -18 l-273 274q-28 28 -68 28q-39 0 -68 -27l-147 -146q-28 -28 -28 -67q0 -40 28 -68l274 -274l-18 -240q-35 21 -56 42l-336 336q-84 86 -84 204q0 120 85 203l147 146q83 83 203 83q121 0 204 -85l334 -335q21 -21 42 -56zM1664 960q0 -14 -9 -23t-23 -9h-320q-14 0 -23 9 t-9 23t9 23t23 9h320q14 0 23 -9t9 -23zM1120 1504v-320q0 -14 -9 -23t-23 -9t-23 9t-9 23v320q0 14 9 23t23 9t23 -9t9 -23zM1527 1353l-256 -256q-11 -9 -23 -9t-23 9q-9 10 -9 23t9 23l256 256q10 9 23 9t23 -9q9 -10 9 -23t-9 -23z" />
301
- <glyph unicode="&#xf128;" horiz-adv-x="1024" d="M704 280v-240q0 -16 -12 -28t-28 -12h-240q-16 0 -28 12t-12 28v240q0 16 12 28t28 12h240q16 0 28 -12t12 -28zM1020 880q0 -54 -15.5 -101t-35 -76.5t-55 -59.5t-57.5 -43.5t-61 -35.5q-41 -23 -68.5 -65t-27.5 -67q0 -17 -12 -32.5t-28 -15.5h-240q-15 0 -25.5 18.5 t-10.5 37.5v45q0 83 65 156.5t143 108.5q59 27 84 56t25 76q0 42 -46.5 74t-107.5 32q-65 0 -108 -29q-35 -25 -107 -115q-13 -16 -31 -16q-12 0 -25 8l-164 125q-13 10 -15.5 25t5.5 28q160 266 464 266q80 0 161 -31t146 -83t106 -127.5t41 -158.5z" />
302
- <glyph unicode="&#xf129;" horiz-adv-x="640" d="M640 192v-128q0 -26 -19 -45t-45 -19h-512q-26 0 -45 19t-19 45v128q0 26 19 45t45 19h64v384h-64q-26 0 -45 19t-19 45v128q0 26 19 45t45 19h384q26 0 45 -19t19 -45v-576h64q26 0 45 -19t19 -45zM512 1344v-192q0 -26 -19 -45t-45 -19h-256q-26 0 -45 19t-19 45v192 q0 26 19 45t45 19h256q26 0 45 -19t19 -45z" />
303
- <glyph unicode="&#xf12a;" horiz-adv-x="640" d="M512 288v-224q0 -26 -19 -45t-45 -19h-256q-26 0 -45 19t-19 45v224q0 26 19 45t45 19h256q26 0 45 -19t19 -45zM542 1344l-28 -768q-1 -26 -20.5 -45t-45.5 -19h-256q-26 0 -45.5 19t-20.5 45l-28 768q-1 26 17.5 45t44.5 19h320q26 0 44.5 -19t17.5 -45z" />
304
- <glyph unicode="&#xf12b;" d="M897 167v-167h-248l-159 252l-24 42q-8 9 -11 21h-3q-1 -3 -2.5 -6.5t-3.5 -8t-3 -6.5q-10 -20 -25 -44l-155 -250h-258v167h128l197 291l-185 272h-137v168h276l139 -228q2 -4 23 -42q8 -9 11 -21h3q3 9 11 21l25 42l140 228h257v-168h-125l-184 -267l204 -296h109z M1534 846v-206h-514l-3 27q-4 28 -4 46q0 64 26 117t65 86.5t84 65t84 54.5t65 54t26 64q0 38 -29.5 62.5t-70.5 24.5q-51 0 -97 -39q-14 -11 -36 -38l-105 92q26 37 63 66q83 65 188 65q110 0 178 -59.5t68 -158.5q0 -56 -24.5 -103t-62 -76.5t-81.5 -58.5t-82 -50.5 t-65.5 -51.5t-30.5 -63h232v80h126z" />
305
- <glyph unicode="&#xf12c;" d="M897 167v-167h-248l-159 252l-24 42q-8 9 -11 21h-3q-1 -3 -2.5 -6.5t-3.5 -8t-3 -6.5q-10 -20 -25 -44l-155 -250h-258v167h128l197 291l-185 272h-137v168h276l139 -228q2 -4 23 -42q8 -9 11 -21h3q3 9 11 21l25 42l140 228h257v-168h-125l-184 -267l204 -296h109z M1536 -50v-206h-514l-4 27q-3 45 -3 46q0 64 26 117t65 86.5t84 65t84 54.5t65 54t26 64q0 38 -29.5 62.5t-70.5 24.5q-51 0 -97 -39q-14 -11 -36 -38l-105 92q26 37 63 66q80 65 188 65q110 0 178 -59.5t68 -158.5q0 -66 -34.5 -118.5t-84 -86t-99.5 -62.5t-87 -63t-41 -73 h232v80h126z" />
306
- <glyph unicode="&#xf12d;" horiz-adv-x="1920" d="M896 128l336 384h-768l-336 -384h768zM1909 1205q15 -34 9.5 -71.5t-30.5 -65.5l-896 -1024q-38 -44 -96 -44h-768q-38 0 -69.5 20.5t-47.5 54.5q-15 34 -9.5 71.5t30.5 65.5l896 1024q38 44 96 44h768q38 0 69.5 -20.5t47.5 -54.5z" />
307
- <glyph unicode="&#xf12e;" horiz-adv-x="1664" d="M1664 438q0 -81 -44.5 -135t-123.5 -54q-41 0 -77.5 17.5t-59 38t-56.5 38t-71 17.5q-110 0 -110 -124q0 -39 16 -115t15 -115v-5q-22 0 -33 -1q-34 -3 -97.5 -11.5t-115.5 -13.5t-98 -5q-61 0 -103 26.5t-42 83.5q0 37 17.5 71t38 56.5t38 59t17.5 77.5q0 79 -54 123.5 t-135 44.5q-84 0 -143 -45.5t-59 -127.5q0 -43 15 -83t33.5 -64.5t33.5 -53t15 -50.5q0 -45 -46 -89q-37 -35 -117 -35q-95 0 -245 24q-9 2 -27.5 4t-27.5 4l-13 2q-1 0 -3 1q-2 0 -2 1v1024q2 -1 17.5 -3.5t34 -5t21.5 -3.5q150 -24 245 -24q80 0 117 35q46 44 46 89 q0 22 -15 50.5t-33.5 53t-33.5 64.5t-15 83q0 82 59 127.5t144 45.5q80 0 134 -44.5t54 -123.5q0 -41 -17.5 -77.5t-38 -59t-38 -56.5t-17.5 -71q0 -57 42 -83.5t103 -26.5q64 0 180 15t163 17v-2q-1 -2 -3.5 -17.5t-5 -34t-3.5 -21.5q-24 -150 -24 -245q0 -80 35 -117 q44 -46 89 -46q22 0 50.5 15t53 33.5t64.5 33.5t83 15q82 0 127.5 -59t45.5 -143z" />
308
- <glyph unicode="&#xf130;" horiz-adv-x="1152" d="M1152 832v-128q0 -221 -147.5 -384.5t-364.5 -187.5v-132h256q26 0 45 -19t19 -45t-19 -45t-45 -19h-640q-26 0 -45 19t-19 45t19 45t45 19h256v132q-217 24 -364.5 187.5t-147.5 384.5v128q0 26 19 45t45 19t45 -19t19 -45v-128q0 -185 131.5 -316.5t316.5 -131.5 t316.5 131.5t131.5 316.5v128q0 26 19 45t45 19t45 -19t19 -45zM896 1216v-512q0 -132 -94 -226t-226 -94t-226 94t-94 226v512q0 132 94 226t226 94t226 -94t94 -226z" />
309
- <glyph unicode="&#xf131;" horiz-adv-x="1408" d="M271 591l-101 -101q-42 103 -42 214v128q0 26 19 45t45 19t45 -19t19 -45v-128q0 -53 15 -113zM1385 1193l-361 -361v-128q0 -132 -94 -226t-226 -94q-55 0 -109 19l-96 -96q97 -51 205 -51q185 0 316.5 131.5t131.5 316.5v128q0 26 19 45t45 19t45 -19t19 -45v-128 q0 -221 -147.5 -384.5t-364.5 -187.5v-132h256q26 0 45 -19t19 -45t-19 -45t-45 -19h-640q-26 0 -45 19t-19 45t19 45t45 19h256v132q-125 13 -235 81l-254 -254q-10 -10 -23 -10t-23 10l-82 82q-10 10 -10 23t10 23l1234 1234q10 10 23 10t23 -10l82 -82q10 -10 10 -23 t-10 -23zM1005 1325l-621 -621v512q0 132 94 226t226 94q102 0 184.5 -59t116.5 -152z" />
310
- <glyph unicode="&#xf132;" horiz-adv-x="1280" d="M1088 576v640h-448v-1137q119 63 213 137q235 184 235 360zM1280 1344v-768q0 -86 -33.5 -170.5t-83 -150t-118 -127.5t-126.5 -103t-121 -77.5t-89.5 -49.5t-42.5 -20q-12 -6 -26 -6t-26 6q-16 7 -42.5 20t-89.5 49.5t-121 77.5t-126.5 103t-118 127.5t-83 150 t-33.5 170.5v768q0 26 19 45t45 19h1152q26 0 45 -19t19 -45z" />
311
- <glyph unicode="&#xf133;" horiz-adv-x="1664" d="M128 -128h1408v1024h-1408v-1024zM512 1088v288q0 14 -9 23t-23 9h-64q-14 0 -23 -9t-9 -23v-288q0 -14 9 -23t23 -9h64q14 0 23 9t9 23zM1280 1088v288q0 14 -9 23t-23 9h-64q-14 0 -23 -9t-9 -23v-288q0 -14 9 -23t23 -9h64q14 0 23 9t9 23zM1664 1152v-1280 q0 -52 -38 -90t-90 -38h-1408q-52 0 -90 38t-38 90v1280q0 52 38 90t90 38h128v96q0 66 47 113t113 47h64q66 0 113 -47t47 -113v-96h384v96q0 66 47 113t113 47h64q66 0 113 -47t47 -113v-96h128q52 0 90 -38t38 -90z" />
312
- <glyph unicode="&#xf134;" horiz-adv-x="1408" d="M512 1344q0 26 -19 45t-45 19t-45 -19t-19 -45t19 -45t45 -19t45 19t19 45zM1408 1376v-320q0 -16 -12 -25q-8 -7 -20 -7q-4 0 -7 1l-448 96q-11 2 -18 11t-7 20h-256v-102q111 -23 183.5 -111t72.5 -203v-800q0 -26 -19 -45t-45 -19h-512q-26 0 -45 19t-19 45v800 q0 106 62.5 190.5t161.5 114.5v111h-32q-59 0 -115 -23.5t-91.5 -53t-66 -66.5t-40.5 -53.5t-14 -24.5q-17 -35 -57 -35q-16 0 -29 7q-23 12 -31.5 37t3.5 49q5 10 14.5 26t37.5 53.5t60.5 70t85 67t108.5 52.5q-25 42 -25 86q0 66 47 113t113 47t113 -47t47 -113 q0 -33 -14 -64h302q0 11 7 20t18 11l448 96q3 1 7 1q12 0 20 -7q12 -9 12 -25z" />
313
- <glyph unicode="&#xf135;" horiz-adv-x="1664" d="M1440 1088q0 40 -28 68t-68 28t-68 -28t-28 -68t28 -68t68 -28t68 28t28 68zM1664 1376q0 -249 -75.5 -430.5t-253.5 -360.5q-81 -80 -195 -176l-20 -379q-2 -16 -16 -26l-384 -224q-7 -4 -16 -4q-12 0 -23 9l-64 64q-13 14 -8 32l85 276l-281 281l-276 -85q-3 -1 -9 -1 q-14 0 -23 9l-64 64q-17 19 -5 39l224 384q10 14 26 16l379 20q96 114 176 195q188 187 358 258t431 71q14 0 24 -9.5t10 -22.5z" />
314
- <glyph unicode="&#xf136;" horiz-adv-x="1792" d="M1745 763l-164 -763h-334l178 832q13 56 -15 88q-27 33 -83 33h-169l-204 -953h-334l204 953h-286l-204 -953h-334l204 953l-153 327h1276q101 0 189.5 -40.5t147.5 -113.5q60 -73 81 -168.5t0 -194.5z" />
315
- <glyph unicode="&#xf137;" d="M909 141l102 102q19 19 19 45t-19 45l-307 307l307 307q19 19 19 45t-19 45l-102 102q-19 19 -45 19t-45 -19l-454 -454q-19 -19 -19 -45t19 -45l454 -454q19 -19 45 -19t45 19zM1536 640q0 -209 -103 -385.5t-279.5 -279.5t-385.5 -103t-385.5 103t-279.5 279.5 t-103 385.5t103 385.5t279.5 279.5t385.5 103t385.5 -103t279.5 -279.5t103 -385.5z" />
316
- <glyph unicode="&#xf138;" d="M717 141l454 454q19 19 19 45t-19 45l-454 454q-19 19 -45 19t-45 -19l-102 -102q-19 -19 -19 -45t19 -45l307 -307l-307 -307q-19 -19 -19 -45t19 -45l102 -102q19 -19 45 -19t45 19zM1536 640q0 -209 -103 -385.5t-279.5 -279.5t-385.5 -103t-385.5 103t-279.5 279.5 t-103 385.5t103 385.5t279.5 279.5t385.5 103t385.5 -103t279.5 -279.5t103 -385.5z" />
317
- <glyph unicode="&#xf139;" d="M1165 397l102 102q19 19 19 45t-19 45l-454 454q-19 19 -45 19t-45 -19l-454 -454q-19 -19 -19 -45t19 -45l102 -102q19 -19 45 -19t45 19l307 307l307 -307q19 -19 45 -19t45 19zM1536 640q0 -209 -103 -385.5t-279.5 -279.5t-385.5 -103t-385.5 103t-279.5 279.5 t-103 385.5t103 385.5t279.5 279.5t385.5 103t385.5 -103t279.5 -279.5t103 -385.5z" />
318
- <glyph unicode="&#xf13a;" d="M813 237l454 454q19 19 19 45t-19 45l-102 102q-19 19 -45 19t-45 -19l-307 -307l-307 307q-19 19 -45 19t-45 -19l-102 -102q-19 -19 -19 -45t19 -45l454 -454q19 -19 45 -19t45 19zM1536 640q0 -209 -103 -385.5t-279.5 -279.5t-385.5 -103t-385.5 103t-279.5 279.5 t-103 385.5t103 385.5t279.5 279.5t385.5 103t385.5 -103t279.5 -279.5t103 -385.5z" />
319
- <glyph unicode="&#xf13b;" horiz-adv-x="1408" d="M1130 939l16 175h-884l47 -534h612l-22 -228l-197 -53l-196 53l-13 140h-175l22 -278l362 -100h4v1l359 99l50 544h-644l-15 181h674zM0 1408h1408l-128 -1438l-578 -162l-574 162z" />
320
- <glyph unicode="&#xf13c;" horiz-adv-x="1792" d="M275 1408h1505l-266 -1333l-804 -267l-698 267l71 356h297l-29 -147l422 -161l486 161l68 339h-1208l58 297h1209l38 191h-1208z" />
321
- <glyph unicode="&#xf13d;" horiz-adv-x="1792" d="M960 1280q0 26 -19 45t-45 19t-45 -19t-19 -45t19 -45t45 -19t45 19t19 45zM1792 352v-352q0 -22 -20 -30q-8 -2 -12 -2q-12 0 -23 9l-93 93q-119 -143 -318.5 -226.5t-429.5 -83.5t-429.5 83.5t-318.5 226.5l-93 -93q-9 -9 -23 -9q-4 0 -12 2q-20 8 -20 30v352 q0 14 9 23t23 9h352q22 0 30 -20q8 -19 -7 -35l-100 -100q67 -91 189.5 -153.5t271.5 -82.5v647h-192q-26 0 -45 19t-19 45v128q0 26 19 45t45 19h192v163q-58 34 -93 92.5t-35 128.5q0 106 75 181t181 75t181 -75t75 -181q0 -70 -35 -128.5t-93 -92.5v-163h192q26 0 45 -19 t19 -45v-128q0 -26 -19 -45t-45 -19h-192v-647q149 20 271.5 82.5t189.5 153.5l-100 100q-15 16 -7 35q8 20 30 20h352q14 0 23 -9t9 -23z" />
322
- <glyph unicode="&#xf13e;" horiz-adv-x="1152" d="M1056 768q40 0 68 -28t28 -68v-576q0 -40 -28 -68t-68 -28h-960q-40 0 -68 28t-28 68v576q0 40 28 68t68 28h32v320q0 185 131.5 316.5t316.5 131.5t316.5 -131.5t131.5 -316.5q0 -26 -19 -45t-45 -19h-64q-26 0 -45 19t-19 45q0 106 -75 181t-181 75t-181 -75t-75 -181 v-320h736z" />
323
- <glyph unicode="&#xf140;" d="M1024 640q0 -106 -75 -181t-181 -75t-181 75t-75 181t75 181t181 75t181 -75t75 -181zM1152 640q0 159 -112.5 271.5t-271.5 112.5t-271.5 -112.5t-112.5 -271.5t112.5 -271.5t271.5 -112.5t271.5 112.5t112.5 271.5zM1280 640q0 -212 -150 -362t-362 -150t-362 150 t-150 362t150 362t362 150t362 -150t150 -362zM1408 640q0 130 -51 248.5t-136.5 204t-204 136.5t-248.5 51t-248.5 -51t-204 -136.5t-136.5 -204t-51 -248.5t51 -248.5t136.5 -204t204 -136.5t248.5 -51t248.5 51t204 136.5t136.5 204t51 248.5zM1536 640 q0 -209 -103 -385.5t-279.5 -279.5t-385.5 -103t-385.5 103t-279.5 279.5t-103 385.5t103 385.5t279.5 279.5t385.5 103t385.5 -103t279.5 -279.5t103 -385.5z" />
324
- <glyph unicode="&#xf141;" horiz-adv-x="1408" d="M384 800v-192q0 -40 -28 -68t-68 -28h-192q-40 0 -68 28t-28 68v192q0 40 28 68t68 28h192q40 0 68 -28t28 -68zM896 800v-192q0 -40 -28 -68t-68 -28h-192q-40 0 -68 28t-28 68v192q0 40 28 68t68 28h192q40 0 68 -28t28 -68zM1408 800v-192q0 -40 -28 -68t-68 -28h-192 q-40 0 -68 28t-28 68v192q0 40 28 68t68 28h192q40 0 68 -28t28 -68z" />
325
- <glyph unicode="&#xf142;" horiz-adv-x="384" d="M384 288v-192q0 -40 -28 -68t-68 -28h-192q-40 0 -68 28t-28 68v192q0 40 28 68t68 28h192q40 0 68 -28t28 -68zM384 800v-192q0 -40 -28 -68t-68 -28h-192q-40 0 -68 28t-28 68v192q0 40 28 68t68 28h192q40 0 68 -28t28 -68zM384 1312v-192q0 -40 -28 -68t-68 -28h-192 q-40 0 -68 28t-28 68v192q0 40 28 68t68 28h192q40 0 68 -28t28 -68z" />
326
- <glyph unicode="&#xf143;" d="M512 256q0 53 -37.5 90.5t-90.5 37.5t-90.5 -37.5t-37.5 -90.5t37.5 -90.5t90.5 -37.5t90.5 37.5t37.5 90.5zM863 162q-13 233 -176.5 396.5t-396.5 176.5q-14 1 -24 -9t-10 -23v-128q0 -13 8.5 -22t21.5 -10q154 -11 264 -121t121 -264q1 -13 10 -21.5t22 -8.5h128 q13 0 23 10t9 24zM1247 161q-5 154 -56 297.5t-139.5 260t-205 205t-260 139.5t-297.5 56q-14 1 -23 -9q-10 -10 -10 -23v-128q0 -13 9 -22t22 -10q204 -7 378 -111.5t278.5 -278.5t111.5 -378q1 -13 10 -22t22 -9h128q13 0 23 10q11 9 9 23zM1536 1120v-960 q0 -119 -84.5 -203.5t-203.5 -84.5h-960q-119 0 -203.5 84.5t-84.5 203.5v960q0 119 84.5 203.5t203.5 84.5h960q119 0 203.5 -84.5t84.5 -203.5z" />
327
- <glyph unicode="&#xf144;" d="M768 1408q209 0 385.5 -103t279.5 -279.5t103 -385.5t-103 -385.5t-279.5 -279.5t-385.5 -103t-385.5 103t-279.5 279.5t-103 385.5t103 385.5t279.5 279.5t385.5 103zM1152 585q32 18 32 55t-32 55l-544 320q-31 19 -64 1q-32 -19 -32 -56v-640q0 -37 32 -56 q16 -8 32 -8q17 0 32 9z" />
328
- <glyph unicode="&#xf145;" horiz-adv-x="1792" d="M1024 1084l316 -316l-572 -572l-316 316zM813 105l618 618q19 19 19 45t-19 45l-362 362q-18 18 -45 18t-45 -18l-618 -618q-19 -19 -19 -45t19 -45l362 -362q18 -18 45 -18t45 18zM1702 742l-907 -908q-37 -37 -90.5 -37t-90.5 37l-126 126q56 56 56 136t-56 136 t-136 56t-136 -56l-125 126q-37 37 -37 90.5t37 90.5l907 906q37 37 90.5 37t90.5 -37l125 -125q-56 -56 -56 -136t56 -136t136 -56t136 56l126 -125q37 -37 37 -90.5t-37 -90.5z" />
329
- <glyph unicode="&#xf146;" d="M1280 576v128q0 26 -19 45t-45 19h-896q-26 0 -45 -19t-19 -45v-128q0 -26 19 -45t45 -19h896q26 0 45 19t19 45zM1536 1120v-960q0 -119 -84.5 -203.5t-203.5 -84.5h-960q-119 0 -203.5 84.5t-84.5 203.5v960q0 119 84.5 203.5t203.5 84.5h960q119 0 203.5 -84.5 t84.5 -203.5z" />
330
- <glyph unicode="&#xf147;" horiz-adv-x="1408" d="M1152 736v-64q0 -14 -9 -23t-23 -9h-832q-14 0 -23 9t-9 23v64q0 14 9 23t23 9h832q14 0 23 -9t9 -23zM1280 288v832q0 66 -47 113t-113 47h-832q-66 0 -113 -47t-47 -113v-832q0 -66 47 -113t113 -47h832q66 0 113 47t47 113zM1408 1120v-832q0 -119 -84.5 -203.5 t-203.5 -84.5h-832q-119 0 -203.5 84.5t-84.5 203.5v832q0 119 84.5 203.5t203.5 84.5h832q119 0 203.5 -84.5t84.5 -203.5z" />
331
- <glyph unicode="&#xf148;" horiz-adv-x="1024" d="M1018 933q-18 -37 -58 -37h-192v-864q0 -14 -9 -23t-23 -9h-704q-21 0 -29 18q-8 20 4 35l160 192q9 11 25 11h320v640h-192q-40 0 -58 37q-17 37 9 68l320 384q18 22 49 22t49 -22l320 -384q27 -32 9 -68z" />
332
- <glyph unicode="&#xf149;" horiz-adv-x="1024" d="M32 1280h704q13 0 22.5 -9.5t9.5 -23.5v-863h192q40 0 58 -37t-9 -69l-320 -384q-18 -22 -49 -22t-49 22l-320 384q-26 31 -9 69q18 37 58 37h192v640h-320q-14 0 -25 11l-160 192q-13 14 -4 34q9 19 29 19z" />
333
- <glyph unicode="&#xf14a;" d="M685 237l614 614q19 19 19 45t-19 45l-102 102q-19 19 -45 19t-45 -19l-467 -467l-211 211q-19 19 -45 19t-45 -19l-102 -102q-19 -19 -19 -45t19 -45l358 -358q19 -19 45 -19t45 19zM1536 1120v-960q0 -119 -84.5 -203.5t-203.5 -84.5h-960q-119 0 -203.5 84.5 t-84.5 203.5v960q0 119 84.5 203.5t203.5 84.5h960q119 0 203.5 -84.5t84.5 -203.5z" />
334
- <glyph unicode="&#xf14b;" d="M404 428l152 -152l-52 -52h-56v96h-96v56zM818 818q14 -13 -3 -30l-291 -291q-17 -17 -30 -3q-14 13 3 30l291 291q17 17 30 3zM544 128l544 544l-288 288l-544 -544v-288h288zM1152 736l92 92q28 28 28 68t-28 68l-152 152q-28 28 -68 28t-68 -28l-92 -92zM1536 1120 v-960q0 -119 -84.5 -203.5t-203.5 -84.5h-960q-119 0 -203.5 84.5t-84.5 203.5v960q0 119 84.5 203.5t203.5 84.5h960q119 0 203.5 -84.5t84.5 -203.5z" />
335
- <glyph unicode="&#xf14c;" d="M1280 608v480q0 26 -19 45t-45 19h-480q-42 0 -59 -39q-17 -41 14 -70l144 -144l-534 -534q-19 -19 -19 -45t19 -45l102 -102q19 -19 45 -19t45 19l534 534l144 -144q18 -19 45 -19q12 0 25 5q39 17 39 59zM1536 1120v-960q0 -119 -84.5 -203.5t-203.5 -84.5h-960 q-119 0 -203.5 84.5t-84.5 203.5v960q0 119 84.5 203.5t203.5 84.5h960q119 0 203.5 -84.5t84.5 -203.5z" />
336
- <glyph unicode="&#xf14d;" d="M1005 435l352 352q19 19 19 45t-19 45l-352 352q-30 31 -69 14q-40 -17 -40 -59v-160q-119 0 -216 -19.5t-162.5 -51t-114 -79t-76.5 -95.5t-44.5 -109t-21.5 -111.5t-5 -110.5q0 -181 167 -404q11 -12 25 -12q7 0 13 3q22 9 19 33q-44 354 62 473q46 52 130 75.5 t224 23.5v-160q0 -42 40 -59q12 -5 24 -5q26 0 45 19zM1536 1120v-960q0 -119 -84.5 -203.5t-203.5 -84.5h-960q-119 0 -203.5 84.5t-84.5 203.5v960q0 119 84.5 203.5t203.5 84.5h960q119 0 203.5 -84.5t84.5 -203.5z" />
337
- <glyph unicode="&#xf14e;" d="M640 448l256 128l-256 128v-256zM1024 1039v-542l-512 -256v542zM1312 640q0 148 -73 273t-198 198t-273 73t-273 -73t-198 -198t-73 -273t73 -273t198 -198t273 -73t273 73t198 198t73 273zM1536 640q0 -209 -103 -385.5t-279.5 -279.5t-385.5 -103t-385.5 103 t-279.5 279.5t-103 385.5t103 385.5t279.5 279.5t385.5 103t385.5 -103t279.5 -279.5t103 -385.5z" />
338
- <glyph unicode="&#xf150;" d="M1145 861q18 -35 -5 -66l-320 -448q-19 -27 -52 -27t-52 27l-320 448q-23 31 -5 66q17 35 57 35h640q40 0 57 -35zM1280 160v960q0 13 -9.5 22.5t-22.5 9.5h-960q-13 0 -22.5 -9.5t-9.5 -22.5v-960q0 -13 9.5 -22.5t22.5 -9.5h960q13 0 22.5 9.5t9.5 22.5zM1536 1120 v-960q0 -119 -84.5 -203.5t-203.5 -84.5h-960q-119 0 -203.5 84.5t-84.5 203.5v960q0 119 84.5 203.5t203.5 84.5h960q119 0 203.5 -84.5t84.5 -203.5z" />
339
- <glyph unicode="&#xf151;" d="M1145 419q-17 -35 -57 -35h-640q-40 0 -57 35q-18 35 5 66l320 448q19 27 52 27t52 -27l320 -448q23 -31 5 -66zM1280 160v960q0 13 -9.5 22.5t-22.5 9.5h-960q-13 0 -22.5 -9.5t-9.5 -22.5v-960q0 -13 9.5 -22.5t22.5 -9.5h960q13 0 22.5 9.5t9.5 22.5zM1536 1120v-960 q0 -119 -84.5 -203.5t-203.5 -84.5h-960q-119 0 -203.5 84.5t-84.5 203.5v960q0 119 84.5 203.5t203.5 84.5h960q119 0 203.5 -84.5t84.5 -203.5z" />
340
- <glyph unicode="&#xf152;" d="M1088 640q0 -33 -27 -52l-448 -320q-31 -23 -66 -5q-35 17 -35 57v640q0 40 35 57q35 18 66 -5l448 -320q27 -19 27 -52zM1280 160v960q0 14 -9 23t-23 9h-960q-14 0 -23 -9t-9 -23v-960q0 -14 9 -23t23 -9h960q14 0 23 9t9 23zM1536 1120v-960q0 -119 -84.5 -203.5 t-203.5 -84.5h-960q-119 0 -203.5 84.5t-84.5 203.5v960q0 119 84.5 203.5t203.5 84.5h960q119 0 203.5 -84.5t84.5 -203.5z" />
341
- <glyph unicode="&#xf153;" horiz-adv-x="1024" d="M976 229l35 -159q3 -12 -3 -22.5t-17 -14.5l-5 -1q-4 -2 -10.5 -3.5t-16 -4.5t-21.5 -5.5t-25.5 -5t-30 -5t-33.5 -4.5t-36.5 -3t-38.5 -1q-234 0 -409 130.5t-238 351.5h-95q-13 0 -22.5 9.5t-9.5 22.5v113q0 13 9.5 22.5t22.5 9.5h66q-2 57 1 105h-67q-14 0 -23 9 t-9 23v114q0 14 9 23t23 9h98q67 210 243.5 338t400.5 128q102 0 194 -23q11 -3 20 -15q6 -11 3 -24l-43 -159q-3 -13 -14 -19.5t-24 -2.5l-4 1q-4 1 -11.5 2.5l-17.5 3.5t-22.5 3.5t-26 3t-29 2.5t-29.5 1q-126 0 -226 -64t-150 -176h468q16 0 25 -12q10 -12 7 -26 l-24 -114q-5 -26 -32 -26h-488q-3 -37 0 -105h459q15 0 25 -12q9 -12 6 -27l-24 -112q-2 -11 -11 -18.5t-20 -7.5h-387q48 -117 149.5 -185.5t228.5 -68.5q18 0 36 1.5t33.5 3.5t29.5 4.5t24.5 5t18.5 4.5l12 3l5 2q13 5 26 -2q12 -7 15 -21z" />
342
- <glyph unicode="&#xf154;" horiz-adv-x="1024" d="M1020 399v-367q0 -14 -9 -23t-23 -9h-956q-14 0 -23 9t-9 23v150q0 13 9.5 22.5t22.5 9.5h97v383h-95q-14 0 -23 9.5t-9 22.5v131q0 14 9 23t23 9h95v223q0 171 123.5 282t314.5 111q185 0 335 -125q9 -8 10 -20.5t-7 -22.5l-103 -127q-9 -11 -22 -12q-13 -2 -23 7 q-5 5 -26 19t-69 32t-93 18q-85 0 -137 -47t-52 -123v-215h305q13 0 22.5 -9t9.5 -23v-131q0 -13 -9.5 -22.5t-22.5 -9.5h-305v-379h414v181q0 13 9 22.5t23 9.5h162q14 0 23 -9.5t9 -22.5z" />
343
- <glyph unicode="&#xf155;" horiz-adv-x="1024" d="M978 351q0 -153 -99.5 -263.5t-258.5 -136.5v-175q0 -14 -9 -23t-23 -9h-135q-13 0 -22.5 9.5t-9.5 22.5v175q-66 9 -127.5 31t-101.5 44.5t-74 48t-46.5 37.5t-17.5 18q-17 21 -2 41l103 135q7 10 23 12q15 2 24 -9l2 -2q113 -99 243 -125q37 -8 74 -8q81 0 142.5 43 t61.5 122q0 28 -15 53t-33.5 42t-58.5 37.5t-66 32t-80 32.5q-39 16 -61.5 25t-61.5 26.5t-62.5 31t-56.5 35.5t-53.5 42.5t-43.5 49t-35.5 58t-21 66.5t-8.5 78q0 138 98 242t255 134v180q0 13 9.5 22.5t22.5 9.5h135q14 0 23 -9t9 -23v-176q57 -6 110.5 -23t87 -33.5 t63.5 -37.5t39 -29t15 -14q17 -18 5 -38l-81 -146q-8 -15 -23 -16q-14 -3 -27 7q-3 3 -14.5 12t-39 26.5t-58.5 32t-74.5 26t-85.5 11.5q-95 0 -155 -43t-60 -111q0 -26 8.5 -48t29.5 -41.5t39.5 -33t56 -31t60.5 -27t70 -27.5q53 -20 81 -31.5t76 -35t75.5 -42.5t62 -50 t53 -63.5t31.5 -76.5t13 -94z" />
344
- <glyph unicode="&#xf156;" horiz-adv-x="898" d="M898 1066v-102q0 -14 -9 -23t-23 -9h-168q-23 -144 -129 -234t-276 -110q167 -178 459 -536q14 -16 4 -34q-8 -18 -29 -18h-195q-16 0 -25 12q-306 367 -498 571q-9 9 -9 22v127q0 13 9.5 22.5t22.5 9.5h112q132 0 212.5 43t102.5 125h-427q-14 0 -23 9t-9 23v102 q0 14 9 23t23 9h413q-57 113 -268 113h-145q-13 0 -22.5 9.5t-9.5 22.5v133q0 14 9 23t23 9h832q14 0 23 -9t9 -23v-102q0 -14 -9 -23t-23 -9h-233q47 -61 64 -144h171q14 0 23 -9t9 -23z" />
345
- <glyph unicode="&#xf157;" horiz-adv-x="1027" d="M603 0h-172q-13 0 -22.5 9t-9.5 23v330h-288q-13 0 -22.5 9t-9.5 23v103q0 13 9.5 22.5t22.5 9.5h288v85h-288q-13 0 -22.5 9t-9.5 23v104q0 13 9.5 22.5t22.5 9.5h214l-321 578q-8 16 0 32q10 16 28 16h194q19 0 29 -18l215 -425q19 -38 56 -125q10 24 30.5 68t27.5 61 l191 420q8 19 29 19h191q17 0 27 -16q9 -14 1 -31l-313 -579h215q13 0 22.5 -9.5t9.5 -22.5v-104q0 -14 -9.5 -23t-22.5 -9h-290v-85h290q13 0 22.5 -9.5t9.5 -22.5v-103q0 -14 -9.5 -23t-22.5 -9h-290v-330q0 -13 -9.5 -22.5t-22.5 -9.5z" />
346
- <glyph unicode="&#xf158;" horiz-adv-x="1280" d="M1043 971q0 100 -65 162t-171 62h-320v-448h320q106 0 171 62t65 162zM1280 971q0 -193 -126.5 -315t-326.5 -122h-340v-118h505q14 0 23 -9t9 -23v-128q0 -14 -9 -23t-23 -9h-505v-192q0 -14 -9.5 -23t-22.5 -9h-167q-14 0 -23 9t-9 23v192h-224q-14 0 -23 9t-9 23v128 q0 14 9 23t23 9h224v118h-224q-14 0 -23 9t-9 23v149q0 13 9 22.5t23 9.5h224v629q0 14 9 23t23 9h539q200 0 326.5 -122t126.5 -315z" />
347
- <glyph unicode="&#xf159;" horiz-adv-x="1792" d="M514 341l81 299h-159l75 -300q1 -1 1 -3t1 -3q0 1 0.5 3.5t0.5 3.5zM630 768l35 128h-292l32 -128h225zM822 768h139l-35 128h-70zM1271 340l78 300h-162l81 -299q0 -1 0.5 -3.5t1.5 -3.5q0 1 0.5 3t0.5 3zM1382 768l33 128h-297l34 -128h230zM1792 736v-64q0 -14 -9 -23 t-23 -9h-213l-164 -616q-7 -24 -31 -24h-159q-24 0 -31 24l-166 616h-209l-167 -616q-7 -24 -31 -24h-159q-11 0 -19.5 7t-10.5 17l-160 616h-208q-14 0 -23 9t-9 23v64q0 14 9 23t23 9h175l-33 128h-142q-14 0 -23 9t-9 23v64q0 14 9 23t23 9h109l-89 344q-5 15 5 28 q10 12 26 12h137q26 0 31 -24l90 -360h359l97 360q7 24 31 24h126q24 0 31 -24l98 -360h365l93 360q5 24 31 24h137q16 0 26 -12q10 -13 5 -28l-91 -344h111q14 0 23 -9t9 -23v-64q0 -14 -9 -23t-23 -9h-145l-34 -128h179q14 0 23 -9t9 -23z" />
348
- <glyph unicode="&#xf15a;" horiz-adv-x="1280" d="M1167 896q18 -182 -131 -258q117 -28 175 -103t45 -214q-7 -71 -32.5 -125t-64.5 -89t-97 -58.5t-121.5 -34.5t-145.5 -15v-255h-154v251q-80 0 -122 1v-252h-154v255q-18 0 -54 0.5t-55 0.5h-200l31 183h111q50 0 58 51v402h16q-6 1 -16 1v287q-13 68 -89 68h-111v164 l212 -1q64 0 97 1v252h154v-247q82 2 122 2v245h154v-252q79 -7 140 -22.5t113 -45t82.5 -78t36.5 -114.5zM952 351q0 36 -15 64t-37 46t-57.5 30.5t-65.5 18.5t-74 9t-69 3t-64.5 -1t-47.5 -1v-338q8 0 37 -0.5t48 -0.5t53 1.5t58.5 4t57 8.5t55.5 14t47.5 21t39.5 30 t24.5 40t9.5 51zM881 827q0 33 -12.5 58.5t-30.5 42t-48 28t-55 16.5t-61.5 8t-58 2.5t-54 -1t-39.5 -0.5v-307q5 0 34.5 -0.5t46.5 0t50 2t55 5.5t51.5 11t48.5 18.5t37 27t27 38.5t9 51z" />
349
- <glyph unicode="&#xf15b;" d="M1024 1024v472q22 -14 36 -28l408 -408q14 -14 28 -36h-472zM896 992q0 -40 28 -68t68 -28h544v-1056q0 -40 -28 -68t-68 -28h-1344q-40 0 -68 28t-28 68v1600q0 40 28 68t68 28h800v-544z" />
350
- <glyph unicode="&#xf15c;" d="M1468 1060q14 -14 28 -36h-472v472q22 -14 36 -28zM992 896h544v-1056q0 -40 -28 -68t-68 -28h-1344q-40 0 -68 28t-28 68v1600q0 40 28 68t68 28h800v-544q0 -40 28 -68t68 -28zM1152 160v64q0 14 -9 23t-23 9h-704q-14 0 -23 -9t-9 -23v-64q0 -14 9 -23t23 -9h704 q14 0 23 9t9 23zM1152 416v64q0 14 -9 23t-23 9h-704q-14 0 -23 -9t-9 -23v-64q0 -14 9 -23t23 -9h704q14 0 23 9t9 23zM1152 672v64q0 14 -9 23t-23 9h-704q-14 0 -23 -9t-9 -23v-64q0 -14 9 -23t23 -9h704q14 0 23 9t9 23z" />
351
- <glyph unicode="&#xf15d;" horiz-adv-x="1664" d="M1191 1128h177l-72 218l-12 47q-2 16 -2 20h-4l-3 -20q0 -1 -3.5 -18t-7.5 -29zM736 96q0 -12 -10 -24l-319 -319q-10 -9 -23 -9q-12 0 -23 9l-320 320q-15 16 -7 35q8 20 30 20h192v1376q0 14 9 23t23 9h192q14 0 23 -9t9 -23v-1376h192q14 0 23 -9t9 -23zM1572 -23 v-233h-584v90l369 529q12 18 21 27l11 9v3q-2 0 -6.5 -0.5t-7.5 -0.5q-12 -3 -30 -3h-232v-115h-120v229h567v-89l-369 -530q-6 -8 -21 -26l-11 -11v-2l14 2q9 2 30 2h248v119h121zM1661 874v-106h-288v106h75l-47 144h-243l-47 -144h75v-106h-287v106h70l230 662h162 l230 -662h70z" />
352
- <glyph unicode="&#xf15e;" horiz-adv-x="1664" d="M1191 104h177l-72 218l-12 47q-2 16 -2 20h-4l-3 -20q0 -1 -3.5 -18t-7.5 -29zM736 96q0 -12 -10 -24l-319 -319q-10 -9 -23 -9q-12 0 -23 9l-320 320q-15 16 -7 35q8 20 30 20h192v1376q0 14 9 23t23 9h192q14 0 23 -9t9 -23v-1376h192q14 0 23 -9t9 -23zM1661 -150 v-106h-288v106h75l-47 144h-243l-47 -144h75v-106h-287v106h70l230 662h162l230 -662h70zM1572 1001v-233h-584v90l369 529q12 18 21 27l11 9v3q-2 0 -6.5 -0.5t-7.5 -0.5q-12 -3 -30 -3h-232v-115h-120v229h567v-89l-369 -530q-6 -8 -21 -26l-11 -10v-3l14 3q9 1 30 1h248 v119h121z" />
353
- <glyph unicode="&#xf160;" horiz-adv-x="1792" d="M736 96q0 -12 -10 -24l-319 -319q-10 -9 -23 -9q-12 0 -23 9l-320 320q-15 16 -7 35q8 20 30 20h192v1376q0 14 9 23t23 9h192q14 0 23 -9t9 -23v-1376h192q14 0 23 -9t9 -23zM1792 -32v-192q0 -14 -9 -23t-23 -9h-832q-14 0 -23 9t-9 23v192q0 14 9 23t23 9h832 q14 0 23 -9t9 -23zM1600 480v-192q0 -14 -9 -23t-23 -9h-640q-14 0 -23 9t-9 23v192q0 14 9 23t23 9h640q14 0 23 -9t9 -23zM1408 992v-192q0 -14 -9 -23t-23 -9h-448q-14 0 -23 9t-9 23v192q0 14 9 23t23 9h448q14 0 23 -9t9 -23zM1216 1504v-192q0 -14 -9 -23t-23 -9h-256 q-14 0 -23 9t-9 23v192q0 14 9 23t23 9h256q14 0 23 -9t9 -23z" />
354
- <glyph unicode="&#xf161;" horiz-adv-x="1792" d="M1216 -32v-192q0 -14 -9 -23t-23 -9h-256q-14 0 -23 9t-9 23v192q0 14 9 23t23 9h256q14 0 23 -9t9 -23zM736 96q0 -12 -10 -24l-319 -319q-10 -9 -23 -9q-12 0 -23 9l-320 320q-15 16 -7 35q8 20 30 20h192v1376q0 14 9 23t23 9h192q14 0 23 -9t9 -23v-1376h192 q14 0 23 -9t9 -23zM1408 480v-192q0 -14 -9 -23t-23 -9h-448q-14 0 -23 9t-9 23v192q0 14 9 23t23 9h448q14 0 23 -9t9 -23zM1600 992v-192q0 -14 -9 -23t-23 -9h-640q-14 0 -23 9t-9 23v192q0 14 9 23t23 9h640q14 0 23 -9t9 -23zM1792 1504v-192q0 -14 -9 -23t-23 -9h-832 q-14 0 -23 9t-9 23v192q0 14 9 23t23 9h832q14 0 23 -9t9 -23z" />
355
- <glyph unicode="&#xf162;" d="M1346 223q0 63 -44 116t-103 53q-52 0 -83 -37t-31 -94t36.5 -95t104.5 -38q50 0 85 27t35 68zM736 96q0 -12 -10 -24l-319 -319q-10 -9 -23 -9q-12 0 -23 9l-320 320q-15 16 -7 35q8 20 30 20h192v1376q0 14 9 23t23 9h192q14 0 23 -9t9 -23v-1376h192q14 0 23 -9t9 -23 zM1486 165q0 -62 -13 -121.5t-41 -114t-68 -95.5t-98.5 -65.5t-127.5 -24.5q-62 0 -108 16q-24 8 -42 15l39 113q15 -7 31 -11q37 -13 75 -13q84 0 134.5 58.5t66.5 145.5h-2q-21 -23 -61.5 -37t-84.5 -14q-106 0 -173 71.5t-67 172.5q0 105 72 178t181 73q123 0 205 -94.5 t82 -252.5zM1456 882v-114h-469v114h167v432q0 7 0.5 19t0.5 17v16h-2l-7 -12q-8 -13 -26 -31l-62 -58l-82 86l192 185h123v-654h165z" />
356
- <glyph unicode="&#xf163;" d="M1346 1247q0 63 -44 116t-103 53q-52 0 -83 -37t-31 -94t36.5 -95t104.5 -38q50 0 85 27t35 68zM736 96q0 -12 -10 -24l-319 -319q-10 -9 -23 -9q-12 0 -23 9l-320 320q-15 16 -7 35q8 20 30 20h192v1376q0 14 9 23t23 9h192q14 0 23 -9t9 -23v-1376h192q14 0 23 -9 t9 -23zM1456 -142v-114h-469v114h167v432q0 7 0.5 19t0.5 17v16h-2l-7 -12q-8 -13 -26 -31l-62 -58l-82 86l192 185h123v-654h165zM1486 1189q0 -62 -13 -121.5t-41 -114t-68 -95.5t-98.5 -65.5t-127.5 -24.5q-62 0 -108 16q-24 8 -42 15l39 113q15 -7 31 -11q37 -13 75 -13 q84 0 134.5 58.5t66.5 145.5h-2q-21 -23 -61.5 -37t-84.5 -14q-106 0 -173 71.5t-67 172.5q0 105 72 178t181 73q123 0 205 -94.5t82 -252.5z" />
357
- <glyph unicode="&#xf164;" horiz-adv-x="1664" d="M256 192q0 26 -19 45t-45 19q-27 0 -45.5 -19t-18.5 -45q0 -27 18.5 -45.5t45.5 -18.5q26 0 45 18.5t19 45.5zM416 704v-640q0 -26 -19 -45t-45 -19h-288q-26 0 -45 19t-19 45v640q0 26 19 45t45 19h288q26 0 45 -19t19 -45zM1600 704q0 -86 -55 -149q15 -44 15 -76 q3 -76 -43 -137q17 -56 0 -117q-15 -57 -54 -94q9 -112 -49 -181q-64 -76 -197 -78h-36h-76h-17q-66 0 -144 15.5t-121.5 29t-120.5 39.5q-123 43 -158 44q-26 1 -45 19.5t-19 44.5v641q0 25 18 43.5t43 20.5q24 2 76 59t101 121q68 87 101 120q18 18 31 48t17.5 48.5 t13.5 60.5q7 39 12.5 61t19.5 52t34 50q19 19 45 19q46 0 82.5 -10.5t60 -26t40 -40.5t24 -45t12 -50t5 -45t0.5 -39q0 -38 -9.5 -76t-19 -60t-27.5 -56q-3 -6 -10 -18t-11 -22t-8 -24h277q78 0 135 -57t57 -135z" />
358
- <glyph unicode="&#xf165;" horiz-adv-x="1664" d="M256 960q0 -26 -19 -45t-45 -19q-27 0 -45.5 19t-18.5 45q0 27 18.5 45.5t45.5 18.5q26 0 45 -18.5t19 -45.5zM416 448v640q0 26 -19 45t-45 19h-288q-26 0 -45 -19t-19 -45v-640q0 -26 19 -45t45 -19h288q26 0 45 19t19 45zM1545 597q55 -61 55 -149q-1 -78 -57.5 -135 t-134.5 -57h-277q4 -14 8 -24t11 -22t10 -18q18 -37 27 -57t19 -58.5t10 -76.5q0 -24 -0.5 -39t-5 -45t-12 -50t-24 -45t-40 -40.5t-60 -26t-82.5 -10.5q-26 0 -45 19q-20 20 -34 50t-19.5 52t-12.5 61q-9 42 -13.5 60.5t-17.5 48.5t-31 48q-33 33 -101 120q-49 64 -101 121 t-76 59q-25 2 -43 20.5t-18 43.5v641q0 26 19 44.5t45 19.5q35 1 158 44q77 26 120.5 39.5t121.5 29t144 15.5h17h76h36q133 -2 197 -78q58 -69 49 -181q39 -37 54 -94q17 -61 0 -117q46 -61 43 -137q0 -32 -15 -76z" />
359
- <glyph unicode="&#xf166;" d="M919 233v157q0 50 -29 50q-17 0 -33 -16v-224q16 -16 33 -16q29 0 29 49zM1103 355h66v34q0 51 -33 51t-33 -51v-34zM532 621v-70h-80v-423h-74v423h-78v70h232zM733 495v-367h-67v40q-39 -45 -76 -45q-33 0 -42 28q-6 17 -6 54v290h66v-270q0 -24 1 -26q1 -15 15 -15 q20 0 42 31v280h67zM985 384v-146q0 -52 -7 -73q-12 -42 -53 -42q-35 0 -68 41v-36h-67v493h67v-161q32 40 68 40q41 0 53 -42q7 -21 7 -74zM1236 255v-9q0 -29 -2 -43q-3 -22 -15 -40q-27 -40 -80 -40q-52 0 -81 38q-21 27 -21 86v129q0 59 20 86q29 38 80 38t78 -38 q21 -29 21 -86v-76h-133v-65q0 -51 34 -51q24 0 30 26q0 1 0.5 7t0.5 16.5v21.5h68zM785 1079v-156q0 -51 -32 -51t-32 51v156q0 52 32 52t32 -52zM1318 366q0 177 -19 260q-10 44 -43 73.5t-76 34.5q-136 15 -412 15q-275 0 -411 -15q-44 -5 -76.5 -34.5t-42.5 -73.5 q-20 -87 -20 -260q0 -176 20 -260q10 -43 42.5 -73t75.5 -35q137 -15 412 -15t412 15q43 5 75.5 35t42.5 73q20 84 20 260zM563 1017l90 296h-75l-51 -195l-53 195h-78q7 -23 23 -69l24 -69q35 -103 46 -158v-201h74v201zM852 936v130q0 58 -21 87q-29 38 -78 38 q-51 0 -78 -38q-21 -29 -21 -87v-130q0 -58 21 -87q27 -38 78 -38q49 0 78 38q21 27 21 87zM1033 816h67v370h-67v-283q-22 -31 -42 -31q-15 0 -16 16q-1 2 -1 26v272h-67v-293q0 -37 6 -55q11 -27 43 -27q36 0 77 45v-40zM1536 1120v-960q0 -119 -84.5 -203.5t-203.5 -84.5 h-960q-119 0 -203.5 84.5t-84.5 203.5v960q0 119 84.5 203.5t203.5 84.5h960q119 0 203.5 -84.5t84.5 -203.5z" />
360
- <glyph unicode="&#xf167;" d="M971 292v-211q0 -67 -39 -67q-23 0 -45 22v301q22 22 45 22q39 0 39 -67zM1309 291v-46h-90v46q0 68 45 68t45 -68zM343 509h107v94h-312v-94h105v-569h100v569zM631 -60h89v494h-89v-378q-30 -42 -57 -42q-18 0 -21 21q-1 3 -1 35v364h-89v-391q0 -49 8 -73 q12 -37 58 -37q48 0 102 61v-54zM1060 88v197q0 73 -9 99q-17 56 -71 56q-50 0 -93 -54v217h-89v-663h89v48q45 -55 93 -55q54 0 71 55q9 27 9 100zM1398 98v13h-91q0 -51 -2 -61q-7 -36 -40 -36q-46 0 -46 69v87h179v103q0 79 -27 116q-39 51 -106 51q-68 0 -107 -51 q-28 -37 -28 -116v-173q0 -79 29 -116q39 -51 108 -51q72 0 108 53q18 27 21 54q2 9 2 58zM790 1011v210q0 69 -43 69t-43 -69v-210q0 -70 43 -70t43 70zM1509 260q0 -234 -26 -350q-14 -59 -58 -99t-102 -46q-184 -21 -555 -21t-555 21q-58 6 -102.5 46t-57.5 99 q-26 112 -26 350q0 234 26 350q14 59 58 99t103 47q183 20 554 20t555 -20q58 -7 102.5 -47t57.5 -99q26 -112 26 -350zM511 1536h102l-121 -399v-271h-100v271q-14 74 -61 212q-37 103 -65 187h106l71 -263zM881 1203v-175q0 -81 -28 -118q-38 -51 -106 -51q-67 0 -105 51 q-28 38 -28 118v175q0 80 28 117q38 51 105 51q68 0 106 -51q28 -37 28 -117zM1216 1365v-499h-91v55q-53 -62 -103 -62q-46 0 -59 37q-8 24 -8 75v394h91v-367q0 -33 1 -35q3 -22 21 -22q27 0 57 43v381h91z" />
361
- <glyph unicode="&#xf168;" horiz-adv-x="1408" d="M597 869q-10 -18 -257 -456q-27 -46 -65 -46h-239q-21 0 -31 17t0 36l253 448q1 0 0 1l-161 279q-12 22 -1 37q9 15 32 15h239q40 0 66 -45zM1403 1511q11 -16 0 -37l-528 -934v-1l336 -615q11 -20 1 -37q-10 -15 -32 -15h-239q-42 0 -66 45l-339 622q18 32 531 942 q25 45 64 45h241q22 0 31 -15z" />
362
- <glyph unicode="&#xf169;" d="M685 771q0 1 -126 222q-21 34 -52 34h-184q-18 0 -26 -11q-7 -12 1 -29l125 -216v-1l-196 -346q-9 -14 0 -28q8 -13 24 -13h185q31 0 50 36zM1309 1268q-7 12 -24 12h-187q-30 0 -49 -35l-411 -729q1 -2 262 -481q20 -35 52 -35h184q18 0 25 12q8 13 -1 28l-260 476v1 l409 723q8 16 0 28zM1536 1120v-960q0 -119 -84.5 -203.5t-203.5 -84.5h-960q-119 0 -203.5 84.5t-84.5 203.5v960q0 119 84.5 203.5t203.5 84.5h960q119 0 203.5 -84.5t84.5 -203.5z" />
363
- <glyph unicode="&#xf16a;" horiz-adv-x="1792" d="M1280 640q0 37 -30 54l-512 320q-31 20 -65 2q-33 -18 -33 -56v-640q0 -38 33 -56q16 -8 31 -8q20 0 34 10l512 320q30 17 30 54zM1792 640q0 -96 -1 -150t-8.5 -136.5t-22.5 -147.5q-16 -73 -69 -123t-124 -58q-222 -25 -671 -25t-671 25q-71 8 -124.5 58t-69.5 123 q-14 65 -21.5 147.5t-8.5 136.5t-1 150t1 150t8.5 136.5t22.5 147.5q16 73 69 123t124 58q222 25 671 25t671 -25q71 -8 124.5 -58t69.5 -123q14 -65 21.5 -147.5t8.5 -136.5t1 -150z" />
364
- <glyph unicode="&#xf16b;" horiz-adv-x="1792" d="M402 829l494 -305l-342 -285l-490 319zM1388 274v-108l-490 -293v-1l-1 1l-1 -1v1l-489 293v108l147 -96l342 284v2l1 -1l1 1v-2l343 -284zM554 1418l342 -285l-494 -304l-338 270zM1390 829l338 -271l-489 -319l-343 285zM1239 1418l489 -319l-338 -270l-494 304z" />
365
- <glyph unicode="&#xf16c;" d="M1289 -96h-1118v480h-160v-640h1438v640h-160v-480zM347 428l33 157l783 -165l-33 -156zM450 802l67 146l725 -339l-67 -145zM651 1158l102 123l614 -513l-102 -123zM1048 1536l477 -641l-128 -96l-477 641zM330 65v159h800v-159h-800z" />
366
- <glyph unicode="&#xf16d;" d="M1362 110v648h-135q20 -63 20 -131q0 -126 -64 -232.5t-174 -168.5t-240 -62q-197 0 -337 135.5t-140 327.5q0 68 20 131h-141v-648q0 -26 17.5 -43.5t43.5 -17.5h1069q25 0 43 17.5t18 43.5zM1078 643q0 124 -90.5 211.5t-218.5 87.5q-127 0 -217.5 -87.5t-90.5 -211.5 t90.5 -211.5t217.5 -87.5q128 0 218.5 87.5t90.5 211.5zM1362 1003v165q0 28 -20 48.5t-49 20.5h-174q-29 0 -49 -20.5t-20 -48.5v-165q0 -29 20 -49t49 -20h174q29 0 49 20t20 49zM1536 1211v-1142q0 -81 -58 -139t-139 -58h-1142q-81 0 -139 58t-58 139v1142q0 81 58 139 t139 58h1142q81 0 139 -58t58 -139z" />
367
- <glyph unicode="&#xf16e;" d="M1248 1408q119 0 203.5 -84.5t84.5 -203.5v-960q0 -119 -84.5 -203.5t-203.5 -84.5h-960q-119 0 -203.5 84.5t-84.5 203.5v960q0 119 84.5 203.5t203.5 84.5h960zM698 640q0 88 -62 150t-150 62t-150 -62t-62 -150t62 -150t150 -62t150 62t62 150zM1262 640q0 88 -62 150 t-150 62t-150 -62t-62 -150t62 -150t150 -62t150 62t62 150z" />
368
- <glyph unicode="&#xf170;" d="M768 914l201 -306h-402zM1133 384h94l-459 691l-459 -691h94l104 160h522zM1536 640q0 -209 -103 -385.5t-279.5 -279.5t-385.5 -103t-385.5 103t-279.5 279.5t-103 385.5t103 385.5t279.5 279.5t385.5 103t385.5 -103t279.5 -279.5t103 -385.5z" />
369
- <glyph unicode="&#xf171;" horiz-adv-x="1408" d="M815 677q8 -63 -50.5 -101t-111.5 -6q-39 17 -53.5 58t-0.5 82t52 58q36 18 72.5 12t64 -35.5t27.5 -67.5zM926 698q-14 107 -113 164t-197 13q-63 -28 -100.5 -88.5t-34.5 -129.5q4 -91 77.5 -155t165.5 -56q91 8 152 84t50 168zM1165 1240q-20 27 -56 44.5t-58 22 t-71 12.5q-291 47 -566 -2q-43 -7 -66 -12t-55 -22t-50 -43q30 -28 76 -45.5t73.5 -22t87.5 -11.5q228 -29 448 -1q63 8 89.5 12t72.5 21.5t75 46.5zM1222 205q-8 -26 -15.5 -76.5t-14 -84t-28.5 -70t-58 -56.5q-86 -48 -189.5 -71.5t-202 -22t-201.5 18.5q-46 8 -81.5 18 t-76.5 27t-73 43.5t-52 61.5q-25 96 -57 292l6 16l18 9q223 -148 506.5 -148t507.5 148q21 -6 24 -23t-5 -45t-8 -37zM1403 1166q-26 -167 -111 -655q-5 -30 -27 -56t-43.5 -40t-54.5 -31q-252 -126 -610 -88q-248 27 -394 139q-15 12 -25.5 26.5t-17 35t-9 34t-6 39.5 t-5.5 35q-9 50 -26.5 150t-28 161.5t-23.5 147.5t-22 158q3 26 17.5 48.5t31.5 37.5t45 30t46 22.5t48 18.5q125 46 313 64q379 37 676 -50q155 -46 215 -122q16 -20 16.5 -51t-5.5 -54z" />
370
- <glyph unicode="&#xf172;" d="M848 666q0 43 -41 66t-77 1q-43 -20 -42.5 -72.5t43.5 -70.5q39 -23 81 4t36 72zM928 682q8 -66 -36 -121t-110 -61t-119 40t-56 113q-2 49 25.5 93t72.5 64q70 31 141.5 -10t81.5 -118zM1100 1073q-20 -21 -53.5 -34t-53 -16t-63.5 -8q-155 -20 -324 0q-44 6 -63 9.5 t-52.5 16t-54.5 32.5q13 19 36 31t40 15.5t47 8.5q198 35 408 1q33 -5 51 -8.5t43 -16t39 -31.5zM1142 327q0 7 5.5 26.5t3 32t-17.5 16.5q-161 -106 -365 -106t-366 106l-12 -6l-5 -12q26 -154 41 -210q47 -81 204 -108q249 -46 428 53q34 19 49 51.5t22.5 85.5t12.5 71z M1272 1020q9 53 -8 75q-43 55 -155 88q-216 63 -487 36q-132 -12 -226 -46q-38 -15 -59.5 -25t-47 -34t-29.5 -54q8 -68 19 -138t29 -171t24 -137q1 -5 5 -31t7 -36t12 -27t22 -28q105 -80 284 -100q259 -28 440 63q24 13 39.5 23t31 29t19.5 40q48 267 80 473zM1536 1120 v-960q0 -119 -84.5 -203.5t-203.5 -84.5h-960q-119 0 -203.5 84.5t-84.5 203.5v960q0 119 84.5 203.5t203.5 84.5h960q119 0 203.5 -84.5t84.5 -203.5z" />
371
- <glyph unicode="&#xf173;" horiz-adv-x="1024" d="M944 207l80 -237q-23 -35 -111 -66t-177 -32q-104 -2 -190.5 26t-142.5 74t-95 106t-55.5 120t-16.5 118v544h-168v215q72 26 129 69.5t91 90t58 102t34 99t15 88.5q1 5 4.5 8.5t7.5 3.5h244v-424h333v-252h-334v-518q0 -30 6.5 -56t22.5 -52.5t49.5 -41.5t81.5 -14 q78 2 134 29z" />
372
- <glyph unicode="&#xf174;" d="M1136 75l-62 183q-44 -22 -103 -22q-36 -1 -62 10.5t-38.5 31.5t-17.5 40.5t-5 43.5v398h257v194h-256v326h-188q-8 0 -9 -10q-5 -44 -17.5 -87t-39 -95t-77 -95t-118.5 -68v-165h130v-418q0 -57 21.5 -115t65 -111t121 -85.5t176.5 -30.5q69 1 136.5 25t85.5 50z M1536 1120v-960q0 -119 -84.5 -203.5t-203.5 -84.5h-960q-119 0 -203.5 84.5t-84.5 203.5v960q0 119 84.5 203.5t203.5 84.5h960q119 0 203.5 -84.5t84.5 -203.5z" />
373
- <glyph unicode="&#xf175;" horiz-adv-x="768" d="M765 237q8 -19 -5 -35l-350 -384q-10 -10 -23 -10q-14 0 -24 10l-355 384q-13 16 -5 35q9 19 29 19h224v1248q0 14 9 23t23 9h192q14 0 23 -9t9 -23v-1248h224q21 0 29 -19z" />
374
- <glyph unicode="&#xf176;" horiz-adv-x="768" d="M765 1043q-9 -19 -29 -19h-224v-1248q0 -14 -9 -23t-23 -9h-192q-14 0 -23 9t-9 23v1248h-224q-21 0 -29 19t5 35l350 384q10 10 23 10q14 0 24 -10l355 -384q13 -16 5 -35z" />
375
- <glyph unicode="&#xf177;" horiz-adv-x="1792" d="M1792 736v-192q0 -14 -9 -23t-23 -9h-1248v-224q0 -21 -19 -29t-35 5l-384 350q-10 10 -10 23q0 14 10 24l384 354q16 14 35 6q19 -9 19 -29v-224h1248q14 0 23 -9t9 -23z" />
376
- <glyph unicode="&#xf178;" horiz-adv-x="1792" d="M1728 643q0 -14 -10 -24l-384 -354q-16 -14 -35 -6q-19 9 -19 29v224h-1248q-14 0 -23 9t-9 23v192q0 14 9 23t23 9h1248v224q0 21 19 29t35 -5l384 -350q10 -10 10 -23z" />
377
- <glyph unicode="&#xf179;" horiz-adv-x="1408" d="M1393 321q-39 -125 -123 -250q-129 -196 -257 -196q-49 0 -140 32q-86 32 -151 32q-61 0 -142 -33q-81 -34 -132 -34q-152 0 -301 259q-147 261 -147 503q0 228 113 374q113 144 284 144q72 0 177 -30q104 -30 138 -30q45 0 143 34q102 34 173 34q119 0 213 -65 q52 -36 104 -100q-79 -67 -114 -118q-65 -94 -65 -207q0 -124 69 -223t158 -126zM1017 1494q0 -61 -29 -136q-30 -75 -93 -138q-54 -54 -108 -72q-37 -11 -104 -17q3 149 78 257q74 107 250 148q1 -3 2.5 -11t2.5 -11q0 -4 0.5 -10t0.5 -10z" />
378
- <glyph unicode="&#xf17a;" horiz-adv-x="1664" d="M682 530v-651l-682 94v557h682zM682 1273v-659h-682v565zM1664 530v-786l-907 125v661h907zM1664 1408v-794h-907v669z" />
379
- <glyph unicode="&#xf17b;" horiz-adv-x="1408" d="M493 1053q16 0 27.5 11.5t11.5 27.5t-11.5 27.5t-27.5 11.5t-27 -11.5t-11 -27.5t11 -27.5t27 -11.5zM915 1053q16 0 27 11.5t11 27.5t-11 27.5t-27 11.5t-27.5 -11.5t-11.5 -27.5t11.5 -27.5t27.5 -11.5zM103 869q42 0 72 -30t30 -72v-430q0 -43 -29.5 -73t-72.5 -30 t-73 30t-30 73v430q0 42 30 72t73 30zM1163 850v-666q0 -46 -32 -78t-77 -32h-75v-227q0 -43 -30 -73t-73 -30t-73 30t-30 73v227h-138v-227q0 -43 -30 -73t-73 -30q-42 0 -72 30t-30 73l-1 227h-74q-46 0 -78 32t-32 78v666h918zM931 1255q107 -55 171 -153.5t64 -215.5 h-925q0 117 64 215.5t172 153.5l-71 131q-7 13 5 20q13 6 20 -6l72 -132q95 42 201 42t201 -42l72 132q7 12 20 6q12 -7 5 -20zM1408 767v-430q0 -43 -30 -73t-73 -30q-42 0 -72 30t-30 73v430q0 43 30 72.5t72 29.5q43 0 73 -29.5t30 -72.5z" />
380
- <glyph unicode="&#xf17c;" d="M663 1125q-11 -1 -15.5 -10.5t-8.5 -9.5q-5 -1 -5 5q0 12 19 15h10zM750 1111q-4 -1 -11.5 6.5t-17.5 4.5q24 11 32 -2q3 -6 -3 -9zM399 684q-4 1 -6 -3t-4.5 -12.5t-5.5 -13.5t-10 -13q-10 -11 -1 -12q4 -1 12.5 7t12.5 18q1 3 2 7t2 6t1.5 4.5t0.5 4v3t-1 2.5t-3 2z M1254 325q0 18 -55 42q4 15 7.5 27.5t5 26t3 21.5t0.5 22.5t-1 19.5t-3.5 22t-4 20.5t-5 25t-5.5 26.5q-10 48 -47 103t-72 75q24 -20 57 -83q87 -162 54 -278q-11 -40 -50 -42q-31 -4 -38.5 18.5t-8 83.5t-11.5 107q-9 39 -19.5 69t-19.5 45.5t-15.5 24.5t-13 15t-7.5 7 q-14 62 -31 103t-29.5 56t-23.5 33t-15 40q-4 21 6 53.5t4.5 49.5t-44.5 25q-15 3 -44.5 18t-35.5 16q-8 1 -11 26t8 51t36 27q37 3 51 -30t4 -58q-11 -19 -2 -26.5t30 -0.5q13 4 13 36v37q-5 30 -13.5 50t-21 30.5t-23.5 15t-27 7.5q-107 -8 -89 -134q0 -15 -1 -15 q-9 9 -29.5 10.5t-33 -0.5t-15.5 5q1 57 -16 90t-45 34q-27 1 -41.5 -27.5t-16.5 -59.5q-1 -15 3.5 -37t13 -37.5t15.5 -13.5q10 3 16 14q4 9 -7 8q-7 0 -15.5 14.5t-9.5 33.5q-1 22 9 37t34 14q17 0 27 -21t9.5 -39t-1.5 -22q-22 -15 -31 -29q-8 -12 -27.5 -23.5 t-20.5 -12.5q-13 -14 -15.5 -27t7.5 -18q14 -8 25 -19.5t16 -19t18.5 -13t35.5 -6.5q47 -2 102 15q2 1 23 7t34.5 10.5t29.5 13t21 17.5q9 14 20 8q5 -3 6.5 -8.5t-3 -12t-16.5 -9.5q-20 -6 -56.5 -21.5t-45.5 -19.5q-44 -19 -70 -23q-25 -5 -79 2q-10 2 -9 -2t17 -19 q25 -23 67 -22q17 1 36 7t36 14t33.5 17.5t30 17t24.5 12t17.5 2.5t8.5 -11q0 -2 -1 -4.5t-4 -5t-6 -4.5t-8.5 -5t-9 -4.5t-10 -5t-9.5 -4.5q-28 -14 -67.5 -44t-66.5 -43t-49 -1q-21 11 -63 73q-22 31 -25 22q-1 -3 -1 -10q0 -25 -15 -56.5t-29.5 -55.5t-21 -58t11.5 -63 q-23 -6 -62.5 -90t-47.5 -141q-2 -18 -1.5 -69t-5.5 -59q-8 -24 -29 -3q-32 31 -36 94q-2 28 4 56q4 19 -1 18q-2 -1 -4 -5q-36 -65 10 -166q5 -12 25 -28t24 -20q20 -23 104 -90.5t93 -76.5q16 -15 17.5 -38t-14 -43t-45.5 -23q8 -15 29 -44.5t28 -54t7 -70.5q46 24 7 92 q-4 8 -10.5 16t-9.5 12t-2 6q3 5 13 9.5t20 -2.5q46 -52 166 -36q133 15 177 87q23 38 34 30q12 -6 10 -52q-1 -25 -23 -92q-9 -23 -6 -37.5t24 -15.5q3 19 14.5 77t13.5 90q2 21 -6.5 73.5t-7.5 97t23 70.5q15 18 51 18q1 37 34.5 53t72.5 10.5t60 -22.5zM626 1152 q3 17 -2.5 30t-11.5 15q-9 2 -9 -7q2 -5 5 -6q10 0 7 -15q-3 -20 8 -20q3 0 3 3zM1045 955q-2 8 -6.5 11.5t-13 5t-14.5 5.5q-5 3 -9.5 8t-7 8t-5.5 6.5t-4 4t-4 -1.5q-14 -16 7 -43.5t39 -31.5q9 -1 14.5 8t3.5 20zM867 1168q0 11 -5 19.5t-11 12.5t-9 3q-6 0 -8 -2t0 -4 t5 -3q14 -4 18 -31q0 -3 8 2q2 2 2 3zM921 1401q0 2 -2.5 5t-9 7t-9.5 6q-15 15 -24 15q-9 -1 -11.5 -7.5t-1 -13t-0.5 -12.5q-1 -4 -6 -10.5t-6 -9t3 -8.5q4 -3 8 0t11 9t15 9q1 1 9 1t15 2t9 7zM1486 60q20 -12 31 -24.5t12 -24t-2.5 -22.5t-15.5 -22t-23.5 -19.5 t-30 -18.5t-31.5 -16.5t-32 -15.5t-27 -13q-38 -19 -85.5 -56t-75.5 -64q-17 -16 -68 -19.5t-89 14.5q-18 9 -29.5 23.5t-16.5 25.5t-22 19.5t-47 9.5q-44 1 -130 1q-19 0 -57 -1.5t-58 -2.5q-44 -1 -79.5 -15t-53.5 -30t-43.5 -28.5t-53.5 -11.5q-29 1 -111 31t-146 43 q-19 4 -51 9.5t-50 9t-39.5 9.5t-33.5 14.5t-17 19.5q-10 23 7 66.5t18 54.5q1 16 -4 40t-10 42.5t-4.5 36.5t10.5 27q14 12 57 14t60 12q30 18 42 35t12 51q21 -73 -32 -106q-32 -20 -83 -15q-34 3 -43 -10q-13 -15 5 -57q2 -6 8 -18t8.5 -18t4.5 -17t1 -22q0 -15 -17 -49 t-14 -48q3 -17 37 -26q20 -6 84.5 -18.5t99.5 -20.5q24 -6 74 -22t82.5 -23t55.5 -4q43 6 64.5 28t23 48t-7.5 58.5t-19 52t-20 36.5q-121 190 -169 242q-68 74 -113 40q-11 -9 -15 15q-3 16 -2 38q1 29 10 52t24 47t22 42q8 21 26.5 72t29.5 78t30 61t39 54 q110 143 124 195q-12 112 -16 310q-2 90 24 151.5t106 104.5q39 21 104 21q53 1 106 -13.5t89 -41.5q57 -42 91.5 -121.5t29.5 -147.5q-5 -95 30 -214q34 -113 133 -218q55 -59 99.5 -163t59.5 -191q8 -49 5 -84.5t-12 -55.5t-20 -22q-10 -2 -23.5 -19t-27 -35.5 t-40.5 -33.5t-61 -14q-18 1 -31.5 5t-22.5 13.5t-13.5 15.5t-11.5 20.5t-9 19.5q-22 37 -41 30t-28 -49t7 -97q20 -70 1 -195q-10 -65 18 -100.5t73 -33t85 35.5q59 49 89.5 66.5t103.5 42.5q53 18 77 36.5t18.5 34.5t-25 28.5t-51.5 23.5q-33 11 -49.5 48t-15 72.5 t15.5 47.5q1 -31 8 -56.5t14.5 -40.5t20.5 -28.5t21 -19t21.5 -13t16.5 -9.5z" />
381
- <glyph unicode="&#xf17d;" d="M1024 36q-42 241 -140 498h-2l-2 -1q-16 -6 -43 -16.5t-101 -49t-137 -82t-131 -114.5t-103 -148l-15 11q184 -150 418 -150q132 0 256 52zM839 643q-21 49 -53 111q-311 -93 -673 -93q-1 -7 -1 -21q0 -124 44 -236.5t124 -201.5q50 89 123.5 166.5t142.5 124.5t130.5 81 t99.5 48l37 13q4 1 13 3.5t13 4.5zM732 855q-120 213 -244 378q-138 -65 -234 -186t-128 -272q302 0 606 80zM1416 536q-210 60 -409 29q87 -239 128 -469q111 75 185 189.5t96 250.5zM611 1277q-1 0 -2 -1q1 1 2 1zM1201 1132q-185 164 -433 164q-76 0 -155 -19 q131 -170 246 -382q69 26 130 60.5t96.5 61.5t65.5 57t37.5 40.5zM1424 647q-3 232 -149 410l-1 -1q-9 -12 -19 -24.5t-43.5 -44.5t-71 -60.5t-100 -65t-131.5 -64.5q25 -53 44 -95q2 -5 6.5 -17t7.5 -17q36 5 74.5 7t73.5 2t69 -1.5t64 -4t56.5 -5.5t48 -6.5t36.5 -6 t25 -4.5zM1536 640q0 -209 -103 -385.5t-279.5 -279.5t-385.5 -103t-385.5 103t-279.5 279.5t-103 385.5t103 385.5t279.5 279.5t385.5 103t385.5 -103t279.5 -279.5t103 -385.5z" />
382
- <glyph unicode="&#xf17e;" d="M1173 473q0 50 -19.5 91.5t-48.5 68.5t-73 49t-82.5 34t-87.5 23l-104 24q-30 7 -44 10.5t-35 11.5t-30 16t-16.5 21t-7.5 30q0 77 144 77q43 0 77 -12t54 -28.5t38 -33.5t40 -29t48 -12q47 0 75.5 32t28.5 77q0 55 -56 99.5t-142 67.5t-182 23q-68 0 -132 -15.5 t-119.5 -47t-89 -87t-33.5 -128.5q0 -61 19 -106.5t56 -75.5t80 -48.5t103 -32.5l146 -36q90 -22 112 -36q32 -20 32 -60q0 -39 -40 -64.5t-105 -25.5q-51 0 -91.5 16t-65 38.5t-45.5 45t-46 38.5t-54 16q-50 0 -75.5 -30t-25.5 -75q0 -92 122 -157.5t291 -65.5 q73 0 140 18.5t122.5 53.5t88.5 93.5t33 131.5zM1536 256q0 -159 -112.5 -271.5t-271.5 -112.5q-130 0 -234 80q-77 -16 -150 -16q-143 0 -273.5 55.5t-225 150t-150 225t-55.5 273.5q0 73 16 150q-80 104 -80 234q0 159 112.5 271.5t271.5 112.5q130 0 234 -80 q77 16 150 16q143 0 273.5 -55.5t225 -150t150 -225t55.5 -273.5q0 -73 -16 -150q80 -104 80 -234z" />
383
- <glyph unicode="&#xf180;" horiz-adv-x="1280" d="M1000 1102l37 194q5 23 -9 40t-35 17h-712q-23 0 -38.5 -17t-15.5 -37v-1101q0 -7 6 -1l291 352q23 26 38 33.5t48 7.5h239q22 0 37 14.5t18 29.5q24 130 37 191q4 21 -11.5 40t-36.5 19h-294q-29 0 -48 19t-19 48v42q0 29 19 47.5t48 18.5h346q18 0 35 13.5t20 29.5z M1227 1324q-15 -73 -53.5 -266.5t-69.5 -350t-35 -173.5q-6 -22 -9 -32.5t-14 -32.5t-24.5 -33t-38.5 -21t-58 -10h-271q-13 0 -22 -10q-8 -9 -426 -494q-22 -25 -58.5 -28.5t-48.5 5.5q-55 22 -55 98v1410q0 55 38 102.5t120 47.5h888q95 0 127 -53t10 -159zM1227 1324 l-158 -790q4 17 35 173.5t69.5 350t53.5 266.5z" />
384
- <glyph unicode="&#xf181;" d="M704 192v1024q0 14 -9 23t-23 9h-480q-14 0 -23 -9t-9 -23v-1024q0 -14 9 -23t23 -9h480q14 0 23 9t9 23zM1376 576v640q0 14 -9 23t-23 9h-480q-14 0 -23 -9t-9 -23v-640q0 -14 9 -23t23 -9h480q14 0 23 9t9 23zM1536 1344v-1408q0 -26 -19 -45t-45 -19h-1408 q-26 0 -45 19t-19 45v1408q0 26 19 45t45 19h1408q26 0 45 -19t19 -45z" />
385
- <glyph unicode="&#xf182;" horiz-adv-x="1280" d="M1280 480q0 -40 -28 -68t-68 -28q-51 0 -80 43l-227 341h-45v-132l247 -411q9 -15 9 -33q0 -26 -19 -45t-45 -19h-192v-272q0 -46 -33 -79t-79 -33h-160q-46 0 -79 33t-33 79v272h-192q-26 0 -45 19t-19 45q0 18 9 33l247 411v132h-45l-227 -341q-29 -43 -80 -43 q-40 0 -68 28t-28 68q0 29 16 53l256 384q73 107 176 107h384q103 0 176 -107l256 -384q16 -24 16 -53zM864 1280q0 -93 -65.5 -158.5t-158.5 -65.5t-158.5 65.5t-65.5 158.5t65.5 158.5t158.5 65.5t158.5 -65.5t65.5 -158.5z" />
386
- <glyph unicode="&#xf183;" horiz-adv-x="1024" d="M1024 832v-416q0 -40 -28 -68t-68 -28t-68 28t-28 68v352h-64v-912q0 -46 -33 -79t-79 -33t-79 33t-33 79v464h-64v-464q0 -46 -33 -79t-79 -33t-79 33t-33 79v912h-64v-352q0 -40 -28 -68t-68 -28t-68 28t-28 68v416q0 80 56 136t136 56h640q80 0 136 -56t56 -136z M736 1280q0 -93 -65.5 -158.5t-158.5 -65.5t-158.5 65.5t-65.5 158.5t65.5 158.5t158.5 65.5t158.5 -65.5t65.5 -158.5z" />
387
- <glyph unicode="&#xf184;" d="M773 234l350 473q16 22 24.5 59t-6 85t-61.5 79q-40 26 -83 25.5t-73.5 -17.5t-54.5 -45q-36 -40 -96 -40q-59 0 -95 40q-24 28 -54.5 45t-73.5 17.5t-84 -25.5q-46 -31 -60.5 -79t-6 -85t24.5 -59zM1536 640q0 -209 -103 -385.5t-279.5 -279.5t-385.5 -103t-385.5 103 t-279.5 279.5t-103 385.5t103 385.5t279.5 279.5t385.5 103t385.5 -103t279.5 -279.5t103 -385.5z" />
388
- <glyph unicode="&#xf185;" horiz-adv-x="1792" d="M1472 640q0 117 -45.5 223.5t-123 184t-184 123t-223.5 45.5t-223.5 -45.5t-184 -123t-123 -184t-45.5 -223.5t45.5 -223.5t123 -184t184 -123t223.5 -45.5t223.5 45.5t184 123t123 184t45.5 223.5zM1748 363q-4 -15 -20 -20l-292 -96v-306q0 -16 -13 -26q-15 -10 -29 -4 l-292 94l-180 -248q-10 -13 -26 -13t-26 13l-180 248l-292 -94q-14 -6 -29 4q-13 10 -13 26v306l-292 96q-16 5 -20 20q-5 17 4 29l180 248l-180 248q-9 13 -4 29q4 15 20 20l292 96v306q0 16 13 26q15 10 29 4l292 -94l180 248q9 12 26 12t26 -12l180 -248l292 94 q14 6 29 -4q13 -10 13 -26v-306l292 -96q16 -5 20 -20q5 -16 -4 -29l-180 -248l180 -248q9 -12 4 -29z" />
389
- <glyph unicode="&#xf186;" d="M1262 233q-54 -9 -110 -9q-182 0 -337 90t-245 245t-90 337q0 192 104 357q-201 -60 -328.5 -229t-127.5 -384q0 -130 51 -248.5t136.5 -204t204 -136.5t248.5 -51q144 0 273.5 61.5t220.5 171.5zM1465 318q-94 -203 -283.5 -324.5t-413.5 -121.5q-156 0 -298 61 t-245 164t-164 245t-61 298q0 153 57.5 292.5t156 241.5t235.5 164.5t290 68.5q44 2 61 -39q18 -41 -15 -72q-86 -78 -131.5 -181.5t-45.5 -218.5q0 -148 73 -273t198 -198t273 -73q118 0 228 51q41 18 72 -13q14 -14 17.5 -34t-4.5 -38z" />
390
- <glyph unicode="&#xf187;" horiz-adv-x="1792" d="M1088 704q0 26 -19 45t-45 19h-256q-26 0 -45 -19t-19 -45t19 -45t45 -19h256q26 0 45 19t19 45zM1664 896v-960q0 -26 -19 -45t-45 -19h-1408q-26 0 -45 19t-19 45v960q0 26 19 45t45 19h1408q26 0 45 -19t19 -45zM1728 1344v-256q0 -26 -19 -45t-45 -19h-1536 q-26 0 -45 19t-19 45v256q0 26 19 45t45 19h1536q26 0 45 -19t19 -45z" />
391
- <glyph unicode="&#xf188;" horiz-adv-x="1664" d="M1632 576q0 -26 -19 -45t-45 -19h-224q0 -171 -67 -290l208 -209q19 -19 19 -45t-19 -45q-18 -19 -45 -19t-45 19l-198 197q-5 -5 -15 -13t-42 -28.5t-65 -36.5t-82 -29t-97 -13v896h-128v-896q-51 0 -101.5 13.5t-87 33t-66 39t-43.5 32.5l-15 14l-183 -207 q-20 -21 -48 -21q-24 0 -43 16q-19 18 -20.5 44.5t15.5 46.5l202 227q-58 114 -58 274h-224q-26 0 -45 19t-19 45t19 45t45 19h224v294l-173 173q-19 19 -19 45t19 45t45 19t45 -19l173 -173h844l173 173q19 19 45 19t45 -19t19 -45t-19 -45l-173 -173v-294h224q26 0 45 -19 t19 -45zM1152 1152h-640q0 133 93.5 226.5t226.5 93.5t226.5 -93.5t93.5 -226.5z" />
392
- <glyph unicode="&#xf189;" horiz-adv-x="1920" d="M1917 1016q23 -64 -150 -294q-24 -32 -65 -85q-40 -51 -55 -72t-30.5 -49.5t-12 -42t13 -34.5t32.5 -43t57 -53q4 -2 5 -4q141 -131 191 -221q3 -5 6.5 -12.5t7 -26.5t-0.5 -34t-25 -27.5t-59 -12.5l-256 -4q-24 -5 -56 5t-52 22l-20 12q-30 21 -70 64t-68.5 77.5t-61 58 t-56.5 15.5q-3 -1 -8 -3.5t-17 -14.5t-21.5 -29.5t-17 -52t-6.5 -77.5q0 -15 -3.5 -27.5t-7.5 -18.5l-4 -5q-18 -19 -53 -22h-115q-71 -4 -146 16.5t-131.5 53t-103 66t-70.5 57.5l-25 24q-10 10 -27.5 30t-71.5 91t-106 151t-122.5 211t-130.5 272q-6 16 -6 27t3 16l4 6 q15 19 57 19l274 2q12 -2 23 -6.5t16 -8.5l5 -3q16 -11 24 -32q20 -50 46 -103.5t41 -81.5l16 -29q29 -60 56 -104t48.5 -68.5t41.5 -38.5t34 -14t27 5q2 1 5 5t12 22t13.5 47t9.5 81t0 125q-2 40 -9 73t-14 46l-6 12q-25 34 -85 43q-13 2 5 24q16 19 38 30q53 26 239 24 q82 -1 135 -13q20 -5 33.5 -13.5t20.5 -24t10.5 -32t3.5 -45.5t-1 -55t-2.5 -70.5t-1.5 -82.5q0 -11 -1 -42t-0.5 -48t3.5 -40.5t11.5 -39t22.5 -24.5q8 -2 17 -4t26 11t38 34.5t52 67t68 107.5q60 104 107 225q4 10 10 17.5t11 10.5l4 3l5 2.5t13 3t20 0.5l288 2 q39 5 64 -2.5t31 -16.5z" />
393
- <glyph unicode="&#xf18a;" horiz-adv-x="1792" d="M675 252q21 34 11 69t-45 50q-34 14 -73 1t-60 -46q-22 -34 -13 -68.5t43 -50.5t74.5 -2.5t62.5 47.5zM769 373q8 13 3.5 26.5t-17.5 18.5q-14 5 -28.5 -0.5t-21.5 -18.5q-17 -31 13 -45q14 -5 29 0.5t22 18.5zM943 266q-45 -102 -158 -150t-224 -12 q-107 34 -147.5 126.5t6.5 187.5q47 93 151.5 139t210.5 19q111 -29 158.5 -119.5t2.5 -190.5zM1255 426q-9 96 -89 170t-208.5 109t-274.5 21q-223 -23 -369.5 -141.5t-132.5 -264.5q9 -96 89 -170t208.5 -109t274.5 -21q223 23 369.5 141.5t132.5 264.5zM1563 422 q0 -68 -37 -139.5t-109 -137t-168.5 -117.5t-226 -83t-270.5 -31t-275 33.5t-240.5 93t-171.5 151t-65 199.5q0 115 69.5 245t197.5 258q169 169 341.5 236t246.5 -7q65 -64 20 -209q-4 -14 -1 -20t10 -7t14.5 0.5t13.5 3.5l6 2q139 59 246 59t153 -61q45 -63 0 -178 q-2 -13 -4.5 -20t4.5 -12.5t12 -7.5t17 -6q57 -18 103 -47t80 -81.5t34 -116.5zM1489 1046q42 -47 54.5 -108.5t-6.5 -117.5q-8 -23 -29.5 -34t-44.5 -4q-23 8 -34 29.5t-4 44.5q20 63 -24 111t-107 35q-24 -5 -45 8t-25 37q-5 24 8 44.5t37 25.5q60 13 119 -5.5t101 -65.5z M1670 1209q87 -96 112.5 -222.5t-13.5 -241.5q-9 -27 -34 -40t-52 -4t-40 34t-5 52q28 82 10 172t-80 158q-62 69 -148 95.5t-173 8.5q-28 -6 -52 9.5t-30 43.5t9.5 51.5t43.5 29.5q123 26 244 -11.5t208 -134.5z" />
394
- <glyph unicode="&#xf18b;" d="M1133 -34q-171 -94 -368 -94q-196 0 -367 94q138 87 235.5 211t131.5 268q35 -144 132.5 -268t235.5 -211zM638 1394v-485q0 -252 -126.5 -459.5t-330.5 -306.5q-181 215 -181 495q0 187 83.5 349.5t229.5 269.5t325 137zM1536 638q0 -280 -181 -495 q-204 99 -330.5 306.5t-126.5 459.5v485q179 -30 325 -137t229.5 -269.5t83.5 -349.5z" />
395
- <glyph unicode="&#xf18c;" horiz-adv-x="1408" d="M1402 433q-32 -80 -76 -138t-91 -88.5t-99 -46.5t-101.5 -14.5t-96.5 8.5t-86.5 22t-69.5 27.5t-46 22.5l-17 10q-113 -228 -289.5 -359.5t-384.5 -132.5q-19 0 -32 13t-13 32t13 31.5t32 12.5q173 1 322.5 107.5t251.5 294.5q-36 -14 -72 -23t-83 -13t-91 2.5t-93 28.5 t-92 59t-84.5 100t-74.5 146q114 47 214 57t167.5 -7.5t124.5 -56.5t88.5 -77t56.5 -82q53 131 79 291q-7 -1 -18 -2.5t-46.5 -2.5t-69.5 0.5t-81.5 10t-88.5 23t-84 42.5t-75 65t-54.5 94.5t-28.5 127.5q70 28 133.5 36.5t112.5 -1t92 -30t73.5 -50t56 -61t42 -63t27.5 -56 t16 -39.5l4 -16q12 122 12 195q-8 6 -21.5 16t-49 44.5t-63.5 71.5t-54 93t-33 112.5t12 127t70 138.5q73 -25 127.5 -61.5t84.5 -76.5t48 -85t20.5 -89t-0.5 -85.5t-13 -76.5t-19 -62t-17 -42l-7 -15q1 -4 1 -50t-1 -72q3 7 10 18.5t30.5 43t50.5 58t71 55.5t91.5 44.5 t112 14.5t132.5 -24q-2 -78 -21.5 -141.5t-50 -104.5t-69.5 -71.5t-81.5 -45.5t-84.5 -24t-80 -9.5t-67.5 1t-46.5 4.5l-17 3q-23 -147 -73 -283q6 7 18 18.5t49.5 41t77.5 52.5t99.5 42t117.5 20t129 -23.5t137 -77.5z" />
396
- <glyph unicode="&#xf18d;" horiz-adv-x="1280" d="M1259 283v-66q0 -85 -57.5 -144.5t-138.5 -59.5h-57l-260 -269v269h-529q-81 0 -138.5 59.5t-57.5 144.5v66h1238zM1259 609v-255h-1238v255h1238zM1259 937v-255h-1238v255h1238zM1259 1077v-67h-1238v67q0 84 57.5 143.5t138.5 59.5h846q81 0 138.5 -59.5t57.5 -143.5z " />
397
- <glyph unicode="&#xf18e;" d="M1152 640q0 -14 -9 -23l-320 -320q-9 -9 -23 -9q-13 0 -22.5 9.5t-9.5 22.5v192h-352q-13 0 -22.5 9.5t-9.5 22.5v192q0 13 9.5 22.5t22.5 9.5h352v192q0 14 9 23t23 9q12 0 24 -10l319 -319q9 -9 9 -23zM1312 640q0 148 -73 273t-198 198t-273 73t-273 -73t-198 -198 t-73 -273t73 -273t198 -198t273 -73t273 73t198 198t73 273zM1536 640q0 -209 -103 -385.5t-279.5 -279.5t-385.5 -103t-385.5 103t-279.5 279.5t-103 385.5t103 385.5t279.5 279.5t385.5 103t385.5 -103t279.5 -279.5t103 -385.5z" />
398
- <glyph unicode="&#xf190;" d="M1152 736v-192q0 -13 -9.5 -22.5t-22.5 -9.5h-352v-192q0 -14 -9 -23t-23 -9q-12 0 -24 10l-319 319q-9 9 -9 23t9 23l320 320q9 9 23 9q13 0 22.5 -9.5t9.5 -22.5v-192h352q13 0 22.5 -9.5t9.5 -22.5zM1312 640q0 148 -73 273t-198 198t-273 73t-273 -73t-198 -198 t-73 -273t73 -273t198 -198t273 -73t273 73t198 198t73 273zM1536 640q0 -209 -103 -385.5t-279.5 -279.5t-385.5 -103t-385.5 103t-279.5 279.5t-103 385.5t103 385.5t279.5 279.5t385.5 103t385.5 -103t279.5 -279.5t103 -385.5z" />
399
- <glyph unicode="&#xf191;" d="M1024 960v-640q0 -26 -19 -45t-45 -19q-20 0 -37 12l-448 320q-27 19 -27 52t27 52l448 320q17 12 37 12q26 0 45 -19t19 -45zM1280 160v960q0 13 -9.5 22.5t-22.5 9.5h-960q-13 0 -22.5 -9.5t-9.5 -22.5v-960q0 -13 9.5 -22.5t22.5 -9.5h960q13 0 22.5 9.5t9.5 22.5z M1536 1120v-960q0 -119 -84.5 -203.5t-203.5 -84.5h-960q-119 0 -203.5 84.5t-84.5 203.5v960q0 119 84.5 203.5t203.5 84.5h960q119 0 203.5 -84.5t84.5 -203.5z" />
400
- <glyph unicode="&#xf192;" d="M1024 640q0 -106 -75 -181t-181 -75t-181 75t-75 181t75 181t181 75t181 -75t75 -181zM768 1184q-148 0 -273 -73t-198 -198t-73 -273t73 -273t198 -198t273 -73t273 73t198 198t73 273t-73 273t-198 198t-273 73zM1536 640q0 -209 -103 -385.5t-279.5 -279.5 t-385.5 -103t-385.5 103t-279.5 279.5t-103 385.5t103 385.5t279.5 279.5t385.5 103t385.5 -103t279.5 -279.5t103 -385.5z" />
401
- <glyph unicode="&#xf193;" horiz-adv-x="1664" d="M1023 349l102 -204q-58 -179 -210 -290t-339 -111q-156 0 -288.5 77.5t-210 210t-77.5 288.5q0 181 104.5 330t274.5 211l17 -131q-122 -54 -195 -165.5t-73 -244.5q0 -185 131.5 -316.5t316.5 -131.5q126 0 232.5 65t165 175.5t49.5 236.5zM1571 249l58 -114l-256 -128 q-13 -7 -29 -7q-40 0 -57 35l-239 477h-472q-24 0 -42.5 16.5t-21.5 40.5l-96 779q-2 17 6 42q14 51 57 82.5t97 31.5q66 0 113 -47t47 -113q0 -69 -52 -117.5t-120 -41.5l37 -289h423v-128h-407l16 -128h455q40 0 57 -35l228 -455z" />
402
- <glyph unicode="&#xf194;" d="M1292 898q10 216 -161 222q-231 8 -312 -261q44 19 82 19q85 0 74 -96q-4 -57 -74 -167t-105 -110q-43 0 -82 169q-13 54 -45 255q-30 189 -160 177q-59 -7 -164 -100l-81 -72l-81 -72l52 -67q76 52 87 52q57 0 107 -179q15 -55 45 -164.5t45 -164.5q68 -179 164 -179 q157 0 383 294q220 283 226 444zM1536 1120v-960q0 -119 -84.5 -203.5t-203.5 -84.5h-960q-119 0 -203.5 84.5t-84.5 203.5v960q0 119 84.5 203.5t203.5 84.5h960q119 0 203.5 -84.5t84.5 -203.5z" />
403
- <glyph unicode="&#xf195;" horiz-adv-x="1152" d="M1152 704q0 -191 -94.5 -353t-256.5 -256.5t-353 -94.5h-160q-14 0 -23 9t-9 23v611l-215 -66q-3 -1 -9 -1q-10 0 -19 6q-13 10 -13 26v128q0 23 23 31l233 71v93l-215 -66q-3 -1 -9 -1q-10 0 -19 6q-13 10 -13 26v128q0 23 23 31l233 71v250q0 14 9 23t23 9h160 q14 0 23 -9t9 -23v-181l375 116q15 5 28 -5t13 -26v-128q0 -23 -23 -31l-393 -121v-93l375 116q15 5 28 -5t13 -26v-128q0 -23 -23 -31l-393 -121v-487q188 13 318 151t130 328q0 14 9 23t23 9h160q14 0 23 -9t9 -23z" />
404
- <glyph unicode="&#xf196;" horiz-adv-x="1408" d="M1152 736v-64q0 -14 -9 -23t-23 -9h-352v-352q0 -14 -9 -23t-23 -9h-64q-14 0 -23 9t-9 23v352h-352q-14 0 -23 9t-9 23v64q0 14 9 23t23 9h352v352q0 14 9 23t23 9h64q14 0 23 -9t9 -23v-352h352q14 0 23 -9t9 -23zM1280 288v832q0 66 -47 113t-113 47h-832 q-66 0 -113 -47t-47 -113v-832q0 -66 47 -113t113 -47h832q66 0 113 47t47 113zM1408 1120v-832q0 -119 -84.5 -203.5t-203.5 -84.5h-832q-119 0 -203.5 84.5t-84.5 203.5v832q0 119 84.5 203.5t203.5 84.5h832q119 0 203.5 -84.5t84.5 -203.5z" />
405
- <glyph unicode="&#xf197;" horiz-adv-x="2176" d="M620 416q-110 -64 -268 -64h-128v64h-64q-13 0 -22.5 23.5t-9.5 56.5q0 24 7 49q-58 2 -96.5 10.5t-38.5 20.5t38.5 20.5t96.5 10.5q-7 25 -7 49q0 33 9.5 56.5t22.5 23.5h64v64h128q158 0 268 -64h1113q42 -7 106.5 -18t80.5 -14q89 -15 150 -40.5t83.5 -47.5t22.5 -40 t-22.5 -40t-83.5 -47.5t-150 -40.5q-16 -3 -80.5 -14t-106.5 -18h-1113zM1739 668q53 -36 53 -92t-53 -92l81 -30q68 48 68 122t-68 122zM625 400h1015q-217 -38 -456 -80q-57 0 -113 -24t-83 -48l-28 -24l-288 -288q-26 -26 -70.5 -45t-89.5 -19h-96l-93 464h29 q157 0 273 64zM352 816h-29l93 464h96q46 0 90 -19t70 -45l288 -288q4 -4 11 -10.5t30.5 -23t48.5 -29t61.5 -23t72.5 -10.5l456 -80h-1015q-116 64 -273 64z" />
406
- <glyph unicode="&#xf198;" horiz-adv-x="1664" d="M1519 760q62 0 103.5 -40.5t41.5 -101.5q0 -97 -93 -130l-172 -59l56 -167q7 -21 7 -47q0 -59 -42 -102t-101 -43q-47 0 -85.5 27t-53.5 72l-55 165l-310 -106l55 -164q8 -24 8 -47q0 -59 -42 -102t-102 -43q-47 0 -85 27t-53 72l-55 163l-153 -53q-29 -9 -50 -9 q-61 0 -101.5 40t-40.5 101q0 47 27.5 85t71.5 53l156 53l-105 313l-156 -54q-26 -8 -48 -8q-60 0 -101 40.5t-41 100.5q0 47 27.5 85t71.5 53l157 53l-53 159q-8 24 -8 47q0 60 42 102.5t102 42.5q47 0 85 -27t53 -72l54 -160l310 105l-54 160q-8 24 -8 47q0 59 42.5 102 t101.5 43q47 0 85.5 -27.5t53.5 -71.5l53 -161l162 55q21 6 43 6q60 0 102.5 -39.5t42.5 -98.5q0 -45 -30 -81.5t-74 -51.5l-157 -54l105 -316l164 56q24 8 46 8zM725 498l310 105l-105 315l-310 -107z" />
407
- <glyph unicode="&#xf199;" d="M1248 1408q119 0 203.5 -84.5t84.5 -203.5v-960q0 -119 -84.5 -203.5t-203.5 -84.5h-960q-119 0 -203.5 84.5t-84.5 203.5v960q0 119 84.5 203.5t203.5 84.5h960zM1280 352v436q-31 -35 -64 -55q-34 -22 -132.5 -85t-151.5 -99q-98 -69 -164 -69v0v0q-66 0 -164 69 q-47 32 -142 92.5t-142 92.5q-12 8 -33 27t-31 27v-436q0 -40 28 -68t68 -28h832q40 0 68 28t28 68zM1280 925q0 41 -27.5 70t-68.5 29h-832q-40 0 -68 -28t-28 -68q0 -37 30.5 -76.5t67.5 -64.5q47 -32 137.5 -89t129.5 -83q3 -2 17 -11.5t21 -14t21 -13t23.5 -13 t21.5 -9.5t22.5 -7.5t20.5 -2.5t20.5 2.5t22.5 7.5t21.5 9.5t23.5 13t21 13t21 14t17 11.5l267 174q35 23 66.5 62.5t31.5 73.5z" />
408
- <glyph unicode="&#xf19a;" horiz-adv-x="1792" d="M127 640q0 163 67 313l367 -1005q-196 95 -315 281t-119 411zM1415 679q0 -19 -2.5 -38.5t-10 -49.5t-11.5 -44t-17.5 -59t-17.5 -58l-76 -256l-278 826q46 3 88 8q19 2 26 18.5t-2.5 31t-28.5 13.5l-205 -10q-75 1 -202 10q-12 1 -20.5 -5t-11.5 -15t-1.5 -18.5t9 -16.5 t19.5 -8l80 -8l120 -328l-168 -504l-280 832q46 3 88 8q19 2 26 18.5t-2.5 31t-28.5 13.5l-205 -10q-7 0 -23 0.5t-26 0.5q105 160 274.5 253.5t367.5 93.5q147 0 280.5 -53t238.5 -149h-10q-55 0 -92 -40.5t-37 -95.5q0 -12 2 -24t4 -21.5t8 -23t9 -21t12 -22.5t12.5 -21 t14.5 -24t14 -23q63 -107 63 -212zM909 573l237 -647q1 -6 5 -11q-126 -44 -255 -44q-112 0 -217 32zM1570 1009q95 -174 95 -369q0 -209 -104 -385.5t-279 -278.5l235 678q59 169 59 276q0 42 -6 79zM896 1536q182 0 348 -71t286 -191t191 -286t71 -348t-71 -348t-191 -286 t-286 -191t-348 -71t-348 71t-286 191t-191 286t-71 348t71 348t191 286t286 191t348 71zM896 -215q173 0 331.5 68t273 182.5t182.5 273t68 331.5t-68 331.5t-182.5 273t-273 182.5t-331.5 68t-331.5 -68t-273 -182.5t-182.5 -273t-68 -331.5t68 -331.5t182.5 -273 t273 -182.5t331.5 -68z" />
409
- <glyph unicode="&#xf19b;" horiz-adv-x="1792" d="M1086 1536v-1536l-272 -128q-228 20 -414 102t-293 208.5t-107 272.5q0 140 100.5 263.5t275 205.5t391.5 108v-172q-217 -38 -356.5 -150t-139.5 -255q0 -152 154.5 -267t388.5 -145v1360zM1755 954l37 -390l-525 114l147 83q-119 70 -280 99v172q277 -33 481 -157z" />
410
- <glyph unicode="&#xf19c;" horiz-adv-x="2048" d="M960 1536l960 -384v-128h-128q0 -26 -20.5 -45t-48.5 -19h-1526q-28 0 -48.5 19t-20.5 45h-128v128zM256 896h256v-768h128v768h256v-768h128v768h256v-768h128v768h256v-768h59q28 0 48.5 -19t20.5 -45v-64h-1664v64q0 26 20.5 45t48.5 19h59v768zM1851 -64 q28 0 48.5 -19t20.5 -45v-128h-1920v128q0 26 20.5 45t48.5 19h1782z" />
411
- <glyph unicode="&#xf19d;" horiz-adv-x="2304" d="M1774 700l18 -316q4 -69 -82 -128t-235 -93.5t-323 -34.5t-323 34.5t-235 93.5t-82 128l18 316l574 -181q22 -7 48 -7t48 7zM2304 1024q0 -23 -22 -31l-1120 -352q-4 -1 -10 -1t-10 1l-652 206q-43 -34 -71 -111.5t-34 -178.5q63 -36 63 -109q0 -69 -58 -107l58 -433 q2 -14 -8 -25q-9 -11 -24 -11h-192q-15 0 -24 11q-10 11 -8 25l58 433q-58 38 -58 107q0 73 65 111q11 207 98 330l-333 104q-22 8 -22 31t22 31l1120 352q4 1 10 1t10 -1l1120 -352q22 -8 22 -31z" />
412
- <glyph unicode="&#xf19e;" d="M859 579l13 -707q-62 11 -105 11q-41 0 -105 -11l13 707q-40 69 -168.5 295.5t-216.5 374.5t-181 287q58 -15 108 -15q44 0 111 15q63 -111 133.5 -229.5t167 -276.5t138.5 -227q37 61 109.5 177.5t117.5 190t105 176t107 189.5q54 -14 107 -14q56 0 114 14v0 q-28 -39 -60 -88.5t-49.5 -78.5t-56.5 -96t-49 -84q-146 -248 -353 -610z" />
413
- <glyph unicode="&#xf1a0;" d="M768 750h725q12 -67 12 -128q0 -217 -91 -387.5t-259.5 -266.5t-386.5 -96q-157 0 -299 60.5t-245 163.5t-163.5 245t-60.5 299t60.5 299t163.5 245t245 163.5t299 60.5q300 0 515 -201l-209 -201q-123 119 -306 119q-129 0 -238.5 -65t-173.5 -176.5t-64 -243.5 t64 -243.5t173.5 -176.5t238.5 -65q87 0 160 24t120 60t82 82t51.5 87t22.5 78h-436v264z" />
414
- <glyph unicode="&#xf1a1;" horiz-adv-x="1792" d="M1095 369q16 -16 0 -31q-62 -62 -199 -62t-199 62q-16 15 0 31q6 6 15 6t15 -6q48 -49 169 -49q120 0 169 49q6 6 15 6t15 -6zM788 550q0 -37 -26 -63t-63 -26t-63.5 26t-26.5 63q0 38 26.5 64t63.5 26t63 -26.5t26 -63.5zM1183 550q0 -37 -26.5 -63t-63.5 -26t-63 26 t-26 63t26 63.5t63 26.5t63.5 -26t26.5 -64zM1434 670q0 49 -35 84t-85 35t-86 -36q-130 90 -311 96l63 283l200 -45q0 -37 26 -63t63 -26t63.5 26.5t26.5 63.5t-26.5 63.5t-63.5 26.5q-54 0 -80 -50l-221 49q-19 5 -25 -16l-69 -312q-180 -7 -309 -97q-35 37 -87 37 q-50 0 -85 -35t-35 -84q0 -35 18.5 -64t49.5 -44q-6 -27 -6 -56q0 -142 140 -243t337 -101q198 0 338 101t140 243q0 32 -7 57q30 15 48 43.5t18 63.5zM1792 640q0 -182 -71 -348t-191 -286t-286 -191t-348 -71t-348 71t-286 191t-191 286t-71 348t71 348t191 286t286 191 t348 71t348 -71t286 -191t191 -286t71 -348z" />
415
- <glyph unicode="&#xf1a2;" d="M939 407q13 -13 0 -26q-53 -53 -171 -53t-171 53q-13 13 0 26q5 6 13 6t13 -6q42 -42 145 -42t145 42q5 6 13 6t13 -6zM676 563q0 -31 -23 -54t-54 -23t-54 23t-23 54q0 32 22.5 54.5t54.5 22.5t54.5 -22.5t22.5 -54.5zM1014 563q0 -31 -23 -54t-54 -23t-54 23t-23 54 q0 32 22.5 54.5t54.5 22.5t54.5 -22.5t22.5 -54.5zM1229 666q0 42 -30 72t-73 30q-42 0 -73 -31q-113 78 -267 82l54 243l171 -39q1 -32 23.5 -54t53.5 -22q32 0 54.5 22.5t22.5 54.5t-22.5 54.5t-54.5 22.5q-48 0 -69 -43l-189 42q-17 5 -21 -13l-60 -268q-154 -6 -265 -83 q-30 32 -74 32q-43 0 -73 -30t-30 -72q0 -30 16 -55t42 -38q-5 -25 -5 -48q0 -122 120 -208.5t289 -86.5q170 0 290 86.5t120 208.5q0 25 -6 49q25 13 40.5 37.5t15.5 54.5zM1536 1120v-960q0 -119 -84.5 -203.5t-203.5 -84.5h-960q-119 0 -203.5 84.5t-84.5 203.5v960 q0 119 84.5 203.5t203.5 84.5h960q119 0 203.5 -84.5t84.5 -203.5z" />
416
- <glyph unicode="&#xf1a3;" d="M866 697l90 27v62q0 79 -58 135t-138 56t-138 -55.5t-58 -134.5v-283q0 -20 -14 -33.5t-33 -13.5t-32.5 13.5t-13.5 33.5v120h-151v-122q0 -82 57.5 -139t139.5 -57q81 0 138.5 56.5t57.5 136.5v280q0 19 13.5 33t33.5 14q19 0 32.5 -14t13.5 -33v-54zM1199 502v122h-150 v-126q0 -20 -13.5 -33.5t-33.5 -13.5q-19 0 -32.5 14t-13.5 33v123l-90 -26l-60 28v-123q0 -80 58 -137t139 -57t138.5 57t57.5 139zM1536 640q0 -209 -103 -385.5t-279.5 -279.5t-385.5 -103t-385.5 103t-279.5 279.5t-103 385.5t103 385.5t279.5 279.5t385.5 103 t385.5 -103t279.5 -279.5t103 -385.5z" />
417
- <glyph unicode="&#xf1a4;" horiz-adv-x="1920" d="M1062 824v118q0 42 -30 72t-72 30t-72 -30t-30 -72v-612q0 -175 -126 -299t-303 -124q-178 0 -303.5 125.5t-125.5 303.5v266h328v-262q0 -43 30 -72.5t72 -29.5t72 29.5t30 72.5v620q0 171 126.5 292t301.5 121q176 0 302 -122t126 -294v-136l-195 -58zM1592 602h328 v-266q0 -178 -125.5 -303.5t-303.5 -125.5q-177 0 -303 124.5t-126 300.5v268l131 -61l195 58v-270q0 -42 30 -71.5t72 -29.5t72 29.5t30 71.5v275z" />
418
- <glyph unicode="&#xf1a5;" d="M1472 160v480h-704v704h-480q-93 0 -158.5 -65.5t-65.5 -158.5v-480h704v-704h480q93 0 158.5 65.5t65.5 158.5zM1536 1120v-960q0 -119 -84.5 -203.5t-203.5 -84.5h-960q-119 0 -203.5 84.5t-84.5 203.5v960q0 119 84.5 203.5t203.5 84.5h960q119 0 203.5 -84.5 t84.5 -203.5z" />
419
- <glyph unicode="&#xf1a6;" horiz-adv-x="2048" d="M328 1254h204v-983h-532v697h328v286zM328 435v369h-123v-369h123zM614 968v-697h205v697h-205zM614 1254v-204h205v204h-205zM901 968h533v-942h-533v163h328v82h-328v697zM1229 435v369h-123v-369h123zM1516 968h532v-942h-532v163h327v82h-327v697zM1843 435v369h-123 v-369h123z" />
420
- <glyph unicode="&#xf1a7;" d="M1046 516q0 -64 -38 -109t-91 -45q-43 0 -70 15v277q28 17 70 17q53 0 91 -45.5t38 -109.5zM703 944q0 -64 -38 -109.5t-91 -45.5q-43 0 -70 15v277q28 17 70 17q53 0 91 -45t38 -109zM1265 513q0 134 -88 229t-213 95q-20 0 -39 -3q-23 -78 -78 -136q-87 -95 -211 -101 v-636l211 41v206q51 -19 117 -19q125 0 213 95t88 229zM922 940q0 134 -88.5 229t-213.5 95q-74 0 -141 -36h-186v-840l211 41v206q55 -19 116 -19q125 0 213.5 95t88.5 229zM1536 1120v-960q0 -119 -84.5 -203.5t-203.5 -84.5h-960q-119 0 -203.5 84.5t-84.5 203.5v960 q0 119 84.5 203.5t203.5 84.5h960q119 0 203.5 -84.5t84.5 -203.5z" />
421
- <glyph unicode="&#xf1a8;" horiz-adv-x="2038" d="M1222 607q75 3 143.5 -20.5t118 -58.5t101 -94.5t84 -108t75.5 -120.5q33 -56 78.5 -109t75.5 -80.5t99 -88.5q-48 -30 -108.5 -57.5t-138.5 -59t-114 -47.5q-44 37 -74 115t-43.5 164.5t-33 180.5t-42.5 168.5t-72.5 123t-122.5 48.5l-10 -2l-6 -4q4 -5 13 -14 q6 -5 28 -23.5t25.5 -22t19 -18t18 -20.5t11.5 -21t10.5 -27.5t4.5 -31t4 -40.5l1 -33q1 -26 -2.5 -57.5t-7.5 -52t-12.5 -58.5t-11.5 -53q-35 1 -101 -9.5t-98 -10.5q-39 0 -72 10q-2 16 -2 47q0 74 3 96q2 13 31.5 41.5t57 59t26.5 51.5q-24 2 -43 -24 q-36 -53 -111.5 -99.5t-136.5 -46.5q-25 0 -75.5 63t-106.5 139.5t-84 96.5q-6 4 -27 30q-482 -112 -513 -112q-16 0 -28 11t-12 27q0 15 8.5 26.5t22.5 14.5l486 106q-8 14 -8 25t5.5 17.5t16 11.5t20 7t23 4.5t18.5 4.5q4 1 15.5 7.5t17.5 6.5q15 0 28 -16t20 -33 q163 37 172 37q17 0 29.5 -11t12.5 -28q0 -15 -8.5 -26t-23.5 -14l-182 -40l-1 -16q-1 -26 81.5 -117.5t104.5 -91.5q47 0 119 80t72 129q0 36 -23.5 53t-51 18.5t-51 11.5t-23.5 34q0 16 10 34l-68 19q43 44 43 117q0 26 -5 58q82 16 144 16q44 0 71.5 -1.5t48.5 -8.5 t31 -13.5t20.5 -24.5t15.5 -33.5t17 -47.5t24 -60l50 25q-3 -40 -23 -60t-42.5 -21t-40 -6.5t-16.5 -20.5zM1282 842q-5 5 -13.5 15.5t-12 14.5t-10.5 11.5t-10 10.5l-8 8t-8.5 7.5t-8 5t-8.5 4.5q-7 3 -14.5 5t-20.5 2.5t-22 0.5h-32.5h-37.5q-126 0 -217 -43 q16 30 36 46.5t54 29.5t65.5 36t46 36.5t50 55t43.5 50.5q12 -9 28 -31.5t32 -36.5t38 -13l12 1v-76l22 -1q247 95 371 190q28 21 50 39t42.5 37.5t33 31t29.5 34t24 31t24.5 37t23 38t27 47.5t29.5 53l7 9q-2 -53 -43 -139q-79 -165 -205 -264t-306 -142q-14 -3 -42 -7.5 t-50 -9.5t-39 -14q3 -19 24.5 -46t21.5 -34q0 -11 -26 -30zM1061 -79q39 26 131.5 47.5t146.5 21.5q9 0 22.5 -15.5t28 -42.5t26 -50t24 -51t14.5 -33q-121 -45 -244 -45q-61 0 -125 11zM822 568l48 12l109 -177l-73 -48zM1323 51q3 -15 3 -16q0 -7 -17.5 -14.5t-46 -13 t-54 -9.5t-53.5 -7.5t-32 -4.5l-7 43q21 2 60.5 8.5t72 10t60.5 3.5h14zM866 679l-96 -20l-6 17q10 1 32.5 7t34.5 6q19 0 35 -10zM1061 45h31l10 -83l-41 -12v95zM1950 1535v1v-1zM1950 1535l-1 -5l-2 -2l1 3zM1950 1535l1 1z" />
422
- <glyph unicode="&#xf1a9;" d="M1167 -50q-5 19 -24 5q-30 -22 -87 -39t-131 -17q-129 0 -193 49q-5 4 -13 4q-11 0 -26 -12q-7 -6 -7.5 -16t7.5 -20q34 -32 87.5 -46t102.5 -12.5t99 4.5q41 4 84.5 20.5t65 30t28.5 20.5q12 12 7 29zM1128 65q-19 47 -39 61q-23 15 -76 15q-47 0 -71 -10 q-29 -12 -78 -56q-26 -24 -12 -44q9 -8 17.5 -4.5t31.5 23.5q3 2 10.5 8.5t10.5 8.5t10 7t11.5 7t12.5 5t15 4.5t16.5 2.5t20.5 1q27 0 44.5 -7.5t23 -14.5t13.5 -22q10 -17 12.5 -20t12.5 1q23 12 14 34zM1483 346q0 22 -5 44.5t-16.5 45t-34 36.5t-52.5 14 q-33 0 -97 -41.5t-129 -83.5t-101 -42q-27 -1 -63.5 19t-76 49t-83.5 58t-100 49t-111 19q-115 -1 -197 -78.5t-84 -178.5q-2 -112 74 -164q29 -20 62.5 -28.5t103.5 -8.5q57 0 132 32.5t134 71t120 70.5t93 31q26 -1 65 -31.5t71.5 -67t68 -67.5t55.5 -32q35 -3 58.5 14 t55.5 63q28 41 42.5 101t14.5 106zM1536 506q0 -164 -62 -304.5t-166 -236t-242.5 -149.5t-290.5 -54t-293 57.5t-247.5 157t-170.5 241.5t-64 302q0 89 19.5 172.5t49 145.5t70.5 118.5t78.5 94t78.5 69.5t64.5 46.5t42.5 24.5q14 8 51 26.5t54.5 28.5t48 30t60.5 44 q36 28 58 72.5t30 125.5q129 -155 186 -193q44 -29 130 -68t129 -66q21 -13 39 -25t60.5 -46.5t76 -70.5t75 -95t69 -122t47 -148.5t19.5 -177.5z" />
423
- <glyph unicode="&#xf1aa;" d="M1070 463l-160 -160l-151 -152l-30 -30q-65 -64 -151.5 -87t-171.5 -2q-16 -70 -72 -115t-129 -45q-85 0 -145 60.5t-60 145.5q0 72 44.5 128t113.5 72q-22 86 1 173t88 152l12 12l151 -152l-11 -11q-37 -37 -37 -89t37 -90q37 -37 89 -37t89 37l30 30l151 152l161 160z M729 1145l12 -12l-152 -152l-12 12q-37 37 -89 37t-89 -37t-37 -89.5t37 -89.5l29 -29l152 -152l160 -160l-151 -152l-161 160l-151 152l-30 30q-68 67 -90 159.5t5 179.5q-70 15 -115 71t-45 129q0 85 60 145.5t145 60.5q76 0 133.5 -49t69.5 -123q84 20 169.5 -3.5 t149.5 -87.5zM1536 78q0 -85 -60 -145.5t-145 -60.5q-74 0 -131 47t-71 118q-86 -28 -179.5 -6t-161.5 90l-11 12l151 152l12 -12q37 -37 89 -37t89 37t37 89t-37 89l-30 30l-152 152l-160 160l152 152l160 -160l152 -152l29 -30q64 -64 87.5 -150.5t2.5 -171.5 q76 -11 126.5 -68.5t50.5 -134.5zM1534 1202q0 -77 -51 -135t-127 -69q26 -85 3 -176.5t-90 -158.5l-12 -12l-151 152l12 12q37 37 37 89t-37 89t-89 37t-89 -37l-30 -30l-152 -152l-160 -160l-152 152l161 160l152 152l29 30q67 67 159 89.5t178 -3.5q11 75 68.5 126 t135.5 51q85 0 145 -60.5t60 -145.5z" />
424
- <glyph unicode="&#xf1ab;" d="M654 458q-1 -3 -12.5 0.5t-31.5 11.5l-20 9q-44 20 -87 49q-7 5 -41 31.5t-38 28.5q-67 -103 -134 -181q-81 -95 -105 -110q-4 -2 -19.5 -4t-18.5 0q6 4 82 92q21 24 85.5 115t78.5 118q17 30 51 98.5t36 77.5q-8 1 -110 -33q-8 -2 -27.5 -7.5t-34.5 -9.5t-17 -5 q-2 -2 -2 -10.5t-1 -9.5q-5 -10 -31 -15q-23 -7 -47 0q-18 4 -28 21q-4 6 -5 23q6 2 24.5 5t29.5 6q58 16 105 32q100 35 102 35q10 2 43 19.5t44 21.5q9 3 21.5 8t14.5 5.5t6 -0.5q2 -12 -1 -33q0 -2 -12.5 -27t-26.5 -53.5t-17 -33.5q-25 -50 -77 -131l64 -28 q12 -6 74.5 -32t67.5 -28q4 -1 10.5 -25.5t4.5 -30.5zM449 944q3 -15 -4 -28q-12 -23 -50 -38q-30 -12 -60 -12q-26 3 -49 26q-14 15 -18 41l1 3q3 -3 19.5 -5t26.5 0t58 16q36 12 55 14q17 0 21 -17zM1147 815l63 -227l-139 42zM39 15l694 232v1032l-694 -233v-1031z M1280 332l102 -31l-181 657l-100 31l-216 -536l102 -31l45 110l211 -65zM777 1294l573 -184v380zM1088 -29l158 -13l-54 -160l-40 66q-130 -83 -276 -108q-58 -12 -91 -12h-84q-79 0 -199.5 39t-183.5 85q-8 7 -8 16q0 8 5 13.5t13 5.5q4 0 18 -7.5t30.5 -16.5t20.5 -11 q73 -37 159.5 -61.5t157.5 -24.5q95 0 167 14.5t157 50.5q15 7 30.5 15.5t34 19t28.5 16.5zM1536 1050v-1079l-774 246q-14 -6 -375 -127.5t-368 -121.5q-13 0 -18 13q0 1 -1 3v1078q3 9 4 10q5 6 20 11q107 36 149 50v384l558 -198q2 0 160.5 55t316 108.5t161.5 53.5 q20 0 20 -21v-418z" />
425
- <glyph unicode="&#xf1ac;" horiz-adv-x="1792" d="M288 1152q66 0 113 -47t47 -113v-1088q0 -66 -47 -113t-113 -47h-128q-66 0 -113 47t-47 113v1088q0 66 47 113t113 47h128zM1664 989q58 -34 93 -93t35 -128v-768q0 -106 -75 -181t-181 -75h-864q-66 0 -113 47t-47 113v1536q0 40 28 68t68 28h672q40 0 88 -20t76 -48 l152 -152q28 -28 48 -76t20 -88v-163zM928 0v128q0 14 -9 23t-23 9h-128q-14 0 -23 -9t-9 -23v-128q0 -14 9 -23t23 -9h128q14 0 23 9t9 23zM928 256v128q0 14 -9 23t-23 9h-128q-14 0 -23 -9t-9 -23v-128q0 -14 9 -23t23 -9h128q14 0 23 9t9 23zM928 512v128q0 14 -9 23 t-23 9h-128q-14 0 -23 -9t-9 -23v-128q0 -14 9 -23t23 -9h128q14 0 23 9t9 23zM1184 0v128q0 14 -9 23t-23 9h-128q-14 0 -23 -9t-9 -23v-128q0 -14 9 -23t23 -9h128q14 0 23 9t9 23zM1184 256v128q0 14 -9 23t-23 9h-128q-14 0 -23 -9t-9 -23v-128q0 -14 9 -23t23 -9h128 q14 0 23 9t9 23zM1184 512v128q0 14 -9 23t-23 9h-128q-14 0 -23 -9t-9 -23v-128q0 -14 9 -23t23 -9h128q14 0 23 9t9 23zM1440 0v128q0 14 -9 23t-23 9h-128q-14 0 -23 -9t-9 -23v-128q0 -14 9 -23t23 -9h128q14 0 23 9t9 23zM1440 256v128q0 14 -9 23t-23 9h-128 q-14 0 -23 -9t-9 -23v-128q0 -14 9 -23t23 -9h128q14 0 23 9t9 23zM1440 512v128q0 14 -9 23t-23 9h-128q-14 0 -23 -9t-9 -23v-128q0 -14 9 -23t23 -9h128q14 0 23 9t9 23zM1536 896v256h-160q-40 0 -68 28t-28 68v160h-640v-512h896z" />
426
- <glyph unicode="&#xf1ad;" d="M1344 1536q26 0 45 -19t19 -45v-1664q0 -26 -19 -45t-45 -19h-1280q-26 0 -45 19t-19 45v1664q0 26 19 45t45 19h1280zM512 1248v-64q0 -14 9 -23t23 -9h64q14 0 23 9t9 23v64q0 14 -9 23t-23 9h-64q-14 0 -23 -9t-9 -23zM512 992v-64q0 -14 9 -23t23 -9h64q14 0 23 9 t9 23v64q0 14 -9 23t-23 9h-64q-14 0 -23 -9t-9 -23zM512 736v-64q0 -14 9 -23t23 -9h64q14 0 23 9t9 23v64q0 14 -9 23t-23 9h-64q-14 0 -23 -9t-9 -23zM512 480v-64q0 -14 9 -23t23 -9h64q14 0 23 9t9 23v64q0 14 -9 23t-23 9h-64q-14 0 -23 -9t-9 -23zM384 160v64 q0 14 -9 23t-23 9h-64q-14 0 -23 -9t-9 -23v-64q0 -14 9 -23t23 -9h64q14 0 23 9t9 23zM384 416v64q0 14 -9 23t-23 9h-64q-14 0 -23 -9t-9 -23v-64q0 -14 9 -23t23 -9h64q14 0 23 9t9 23zM384 672v64q0 14 -9 23t-23 9h-64q-14 0 -23 -9t-9 -23v-64q0 -14 9 -23t23 -9h64 q14 0 23 9t9 23zM384 928v64q0 14 -9 23t-23 9h-64q-14 0 -23 -9t-9 -23v-64q0 -14 9 -23t23 -9h64q14 0 23 9t9 23zM384 1184v64q0 14 -9 23t-23 9h-64q-14 0 -23 -9t-9 -23v-64q0 -14 9 -23t23 -9h64q14 0 23 9t9 23zM896 -96v192q0 14 -9 23t-23 9h-320q-14 0 -23 -9 t-9 -23v-192q0 -14 9 -23t23 -9h320q14 0 23 9t9 23zM896 416v64q0 14 -9 23t-23 9h-64q-14 0 -23 -9t-9 -23v-64q0 -14 9 -23t23 -9h64q14 0 23 9t9 23zM896 672v64q0 14 -9 23t-23 9h-64q-14 0 -23 -9t-9 -23v-64q0 -14 9 -23t23 -9h64q14 0 23 9t9 23zM896 928v64 q0 14 -9 23t-23 9h-64q-14 0 -23 -9t-9 -23v-64q0 -14 9 -23t23 -9h64q14 0 23 9t9 23zM896 1184v64q0 14 -9 23t-23 9h-64q-14 0 -23 -9t-9 -23v-64q0 -14 9 -23t23 -9h64q14 0 23 9t9 23zM1152 160v64q0 14 -9 23t-23 9h-64q-14 0 -23 -9t-9 -23v-64q0 -14 9 -23t23 -9h64 q14 0 23 9t9 23zM1152 416v64q0 14 -9 23t-23 9h-64q-14 0 -23 -9t-9 -23v-64q0 -14 9 -23t23 -9h64q14 0 23 9t9 23zM1152 672v64q0 14 -9 23t-23 9h-64q-14 0 -23 -9t-9 -23v-64q0 -14 9 -23t23 -9h64q14 0 23 9t9 23zM1152 928v64q0 14 -9 23t-23 9h-64q-14 0 -23 -9 t-9 -23v-64q0 -14 9 -23t23 -9h64q14 0 23 9t9 23zM1152 1184v64q0 14 -9 23t-23 9h-64q-14 0 -23 -9t-9 -23v-64q0 -14 9 -23t23 -9h64q14 0 23 9t9 23z" />
427
- <glyph unicode="&#xf1ae;" horiz-adv-x="1280" d="M1188 988l-292 -292v-824q0 -46 -33 -79t-79 -33t-79 33t-33 79v384h-64v-384q0 -46 -33 -79t-79 -33t-79 33t-33 79v824l-292 292q-28 28 -28 68t28 68q29 28 68.5 28t67.5 -28l228 -228h368l228 228q28 28 68 28t68 -28q28 -29 28 -68.5t-28 -67.5zM864 1152 q0 -93 -65.5 -158.5t-158.5 -65.5t-158.5 65.5t-65.5 158.5t65.5 158.5t158.5 65.5t158.5 -65.5t65.5 -158.5z" />
428
- <glyph unicode="&#xf1b0;" horiz-adv-x="1664" d="M780 1064q0 -60 -19 -113.5t-63 -92.5t-105 -39q-76 0 -138 57.5t-92 135.5t-30 151q0 60 19 113.5t63 92.5t105 39q77 0 138.5 -57.5t91.5 -135t30 -151.5zM438 581q0 -80 -42 -139t-119 -59q-76 0 -141.5 55.5t-100.5 133.5t-35 152q0 80 42 139.5t119 59.5 q76 0 141.5 -55.5t100.5 -134t35 -152.5zM832 608q118 0 255 -97.5t229 -237t92 -254.5q0 -46 -17 -76.5t-48.5 -45t-64.5 -20t-76 -5.5q-68 0 -187.5 45t-182.5 45q-66 0 -192.5 -44.5t-200.5 -44.5q-183 0 -183 146q0 86 56 191.5t139.5 192.5t187.5 146t193 59zM1071 819 q-61 0 -105 39t-63 92.5t-19 113.5q0 74 30 151.5t91.5 135t138.5 57.5q61 0 105 -39t63 -92.5t19 -113.5q0 -73 -30 -151t-92 -135.5t-138 -57.5zM1503 923q77 0 119 -59.5t42 -139.5q0 -74 -35 -152t-100.5 -133.5t-141.5 -55.5q-77 0 -119 59t-42 139q0 74 35 152.5 t100.5 134t141.5 55.5z" />
429
- <glyph unicode="&#xf1b1;" horiz-adv-x="768" d="M704 1008q0 -145 -57 -243.5t-152 -135.5l45 -821q2 -26 -16 -45t-44 -19h-192q-26 0 -44 19t-16 45l45 821q-95 37 -152 135.5t-57 243.5q0 128 42.5 249.5t117.5 200t160 78.5t160 -78.5t117.5 -200t42.5 -249.5z" />
430
- <glyph unicode="&#xf1b2;" horiz-adv-x="1792" d="M896 -93l640 349v636l-640 -233v-752zM832 772l698 254l-698 254l-698 -254zM1664 1024v-768q0 -35 -18 -65t-49 -47l-704 -384q-28 -16 -61 -16t-61 16l-704 384q-31 17 -49 47t-18 65v768q0 40 23 73t61 47l704 256q22 8 44 8t44 -8l704 -256q38 -14 61 -47t23 -73z " />
431
- <glyph unicode="&#xf1b3;" horiz-adv-x="2304" d="M640 -96l384 192v314l-384 -164v-342zM576 358l404 173l-404 173l-404 -173zM1664 -96l384 192v314l-384 -164v-342zM1600 358l404 173l-404 173l-404 -173zM1152 651l384 165v266l-384 -164v-267zM1088 1030l441 189l-441 189l-441 -189zM2176 512v-416q0 -36 -19 -67 t-52 -47l-448 -224q-25 -14 -57 -14t-57 14l-448 224q-4 2 -7 4q-2 -2 -7 -4l-448 -224q-25 -14 -57 -14t-57 14l-448 224q-33 16 -52 47t-19 67v416q0 38 21.5 70t56.5 48l434 186v400q0 38 21.5 70t56.5 48l448 192q23 10 50 10t50 -10l448 -192q35 -16 56.5 -48t21.5 -70 v-400l434 -186q36 -16 57 -48t21 -70z" />
432
- <glyph unicode="&#xf1b4;" horiz-adv-x="2048" d="M1848 1197h-511v-124h511v124zM1596 771q-90 0 -146 -52.5t-62 -142.5h408q-18 195 -200 195zM1612 186q63 0 122 32t76 87h221q-100 -307 -427 -307q-214 0 -340.5 132t-126.5 347q0 208 130.5 345.5t336.5 137.5q138 0 240.5 -68t153 -179t50.5 -248q0 -17 -2 -47h-658 q0 -111 57.5 -171.5t166.5 -60.5zM277 236h296q205 0 205 167q0 180 -199 180h-302v-347zM277 773h281q78 0 123.5 36.5t45.5 113.5q0 144 -190 144h-260v-294zM0 1282h594q87 0 155 -14t126.5 -47.5t90 -96.5t31.5 -154q0 -181 -172 -263q114 -32 172 -115t58 -204 q0 -75 -24.5 -136.5t-66 -103.5t-98.5 -71t-121 -42t-134 -13h-611v1260z" />
433
- <glyph unicode="&#xf1b5;" d="M1248 1408q119 0 203.5 -84.5t84.5 -203.5v-960q0 -119 -84.5 -203.5t-203.5 -84.5h-960q-119 0 -203.5 84.5t-84.5 203.5v960q0 119 84.5 203.5t203.5 84.5h960zM499 1041h-371v-787h382q117 0 197 57.5t80 170.5q0 158 -143 200q107 52 107 164q0 57 -19.5 96.5 t-56.5 60.5t-79 29.5t-97 8.5zM477 723h-176v184h163q119 0 119 -90q0 -94 -106 -94zM486 388h-185v217h189q124 0 124 -113q0 -104 -128 -104zM1136 356q-68 0 -104 38t-36 107h411q1 10 1 30q0 132 -74.5 220.5t-203.5 88.5q-128 0 -210 -86t-82 -216q0 -135 79 -217 t213 -82q205 0 267 191h-138q-11 -34 -47.5 -54t-75.5 -20zM1126 722q113 0 124 -122h-254q4 56 39 89t91 33zM964 988h319v-77h-319v77z" />
434
- <glyph unicode="&#xf1b6;" horiz-adv-x="1792" d="M1582 954q0 -101 -71.5 -172.5t-172.5 -71.5t-172.5 71.5t-71.5 172.5t71.5 172.5t172.5 71.5t172.5 -71.5t71.5 -172.5zM812 212q0 104 -73 177t-177 73q-27 0 -54 -6l104 -42q77 -31 109.5 -106.5t1.5 -151.5q-31 -77 -107 -109t-152 -1q-21 8 -62 24.5t-61 24.5 q32 -60 91 -96.5t130 -36.5q104 0 177 73t73 177zM1642 953q0 126 -89.5 215.5t-215.5 89.5q-127 0 -216.5 -89.5t-89.5 -215.5q0 -127 89.5 -216t216.5 -89q126 0 215.5 89t89.5 216zM1792 953q0 -189 -133.5 -322t-321.5 -133l-437 -319q-12 -129 -109 -218t-229 -89 q-121 0 -214 76t-118 192l-230 92v429l389 -157q79 48 173 48q13 0 35 -2l284 407q2 187 135.5 319t320.5 132q188 0 321.5 -133.5t133.5 -321.5z" />
435
- <glyph unicode="&#xf1b7;" d="M1242 889q0 80 -57 136.5t-137 56.5t-136.5 -57t-56.5 -136q0 -80 56.5 -136.5t136.5 -56.5t137 56.5t57 136.5zM632 301q0 -83 -58 -140.5t-140 -57.5q-56 0 -103 29t-72 77q52 -20 98 -40q60 -24 120 1.5t85 86.5q24 60 -1.5 120t-86.5 84l-82 33q22 5 42 5 q82 0 140 -57.5t58 -140.5zM1536 1120v-960q0 -119 -84.5 -203.5t-203.5 -84.5h-960q-119 0 -203.5 84.5t-84.5 203.5v153l172 -69q20 -92 93.5 -152t168.5 -60q104 0 181 70t87 173l345 252q150 0 255.5 105.5t105.5 254.5q0 150 -105.5 255.5t-255.5 105.5 q-148 0 -253 -104.5t-107 -252.5l-225 -322q-9 1 -28 1q-75 0 -137 -37l-297 119v468q0 119 84.5 203.5t203.5 84.5h960q119 0 203.5 -84.5t84.5 -203.5zM1289 887q0 -100 -71 -170.5t-171 -70.5t-170.5 70.5t-70.5 170.5t70.5 171t170.5 71q101 0 171.5 -70.5t70.5 -171.5z " />
436
- <glyph unicode="&#xf1b8;" horiz-adv-x="1792" d="M836 367l-15 -368l-2 -22l-420 29q-36 3 -67 31.5t-47 65.5q-11 27 -14.5 55t4 65t12 55t21.5 64t19 53q78 -12 509 -28zM449 953l180 -379l-147 92q-63 -72 -111.5 -144.5t-72.5 -125t-39.5 -94.5t-18.5 -63l-4 -21l-190 357q-17 26 -18 56t6 47l8 18q35 63 114 188 l-140 86zM1680 436l-188 -359q-12 -29 -36.5 -46.5t-43.5 -20.5l-18 -4q-71 -7 -219 -12l8 -164l-230 367l211 362l7 -173q170 -16 283 -5t170 33zM895 1360q-47 -63 -265 -435l-317 187l-19 12l225 356q20 31 60 45t80 10q24 -2 48.5 -12t42 -21t41.5 -33t36 -34.5 t36 -39.5t32 -35zM1550 1053l212 -363q18 -37 12.5 -76t-27.5 -74q-13 -20 -33 -37t-38 -28t-48.5 -22t-47 -16t-51.5 -14t-46 -12q-34 72 -265 436l313 195zM1407 1279l142 83l-220 -373l-419 20l151 86q-34 89 -75 166t-75.5 123.5t-64.5 80t-47 46.5l-17 13l405 -1 q31 3 58 -10.5t39 -28.5l11 -15q39 -61 112 -190z" />
437
- <glyph unicode="&#xf1b9;" horiz-adv-x="2048" d="M480 448q0 66 -47 113t-113 47t-113 -47t-47 -113t47 -113t113 -47t113 47t47 113zM516 768h1016l-89 357q-2 8 -14 17.5t-21 9.5h-768q-9 0 -21 -9.5t-14 -17.5zM1888 448q0 66 -47 113t-113 47t-113 -47t-47 -113t47 -113t113 -47t113 47t47 113zM2048 544v-384 q0 -14 -9 -23t-23 -9h-96v-128q0 -80 -56 -136t-136 -56t-136 56t-56 136v128h-1024v-128q0 -80 -56 -136t-136 -56t-136 56t-56 136v128h-96q-14 0 -23 9t-9 23v384q0 93 65.5 158.5t158.5 65.5h28l105 419q23 94 104 157.5t179 63.5h768q98 0 179 -63.5t104 -157.5 l105 -419h28q93 0 158.5 -65.5t65.5 -158.5z" />
438
- <glyph unicode="&#xf1ba;" horiz-adv-x="2048" d="M1824 640q93 0 158.5 -65.5t65.5 -158.5v-384q0 -14 -9 -23t-23 -9h-96v-64q0 -80 -56 -136t-136 -56t-136 56t-56 136v64h-1024v-64q0 -80 -56 -136t-136 -56t-136 56t-56 136v64h-96q-14 0 -23 9t-9 23v384q0 93 65.5 158.5t158.5 65.5h28l105 419q23 94 104 157.5 t179 63.5h128v224q0 14 9 23t23 9h448q14 0 23 -9t9 -23v-224h128q98 0 179 -63.5t104 -157.5l105 -419h28zM320 160q66 0 113 47t47 113t-47 113t-113 47t-113 -47t-47 -113t47 -113t113 -47zM516 640h1016l-89 357q-2 8 -14 17.5t-21 9.5h-768q-9 0 -21 -9.5t-14 -17.5z M1728 160q66 0 113 47t47 113t-47 113t-113 47t-113 -47t-47 -113t47 -113t113 -47z" />
439
- <glyph unicode="&#xf1bb;" d="M1504 64q0 -26 -19 -45t-45 -19h-462q1 -17 6 -87.5t5 -108.5q0 -25 -18 -42.5t-43 -17.5h-320q-25 0 -43 17.5t-18 42.5q0 38 5 108.5t6 87.5h-462q-26 0 -45 19t-19 45t19 45l402 403h-229q-26 0 -45 19t-19 45t19 45l402 403h-197q-26 0 -45 19t-19 45t19 45l384 384 q19 19 45 19t45 -19l384 -384q19 -19 19 -45t-19 -45t-45 -19h-197l402 -403q19 -19 19 -45t-19 -45t-45 -19h-229l402 -403q19 -19 19 -45z" />
440
- <glyph unicode="&#xf1bc;" d="M1127 326q0 32 -30 51q-193 115 -447 115q-133 0 -287 -34q-42 -9 -42 -52q0 -20 13.5 -34.5t35.5 -14.5q5 0 37 8q132 27 243 27q226 0 397 -103q19 -11 33 -11q19 0 33 13.5t14 34.5zM1223 541q0 40 -35 61q-237 141 -548 141q-153 0 -303 -42q-48 -13 -48 -64 q0 -25 17.5 -42.5t42.5 -17.5q7 0 37 8q122 33 251 33q279 0 488 -124q24 -13 38 -13q25 0 42.5 17.5t17.5 42.5zM1331 789q0 47 -40 70q-126 73 -293 110.5t-343 37.5q-204 0 -364 -47q-23 -7 -38.5 -25.5t-15.5 -48.5q0 -31 20.5 -52t51.5 -21q11 0 40 8q133 37 307 37 q159 0 309.5 -34t253.5 -95q21 -12 40 -12q29 0 50.5 20.5t21.5 51.5zM1536 640q0 -209 -103 -385.5t-279.5 -279.5t-385.5 -103t-385.5 103t-279.5 279.5t-103 385.5t103 385.5t279.5 279.5t385.5 103t385.5 -103t279.5 -279.5t103 -385.5z" />
441
- <glyph unicode="&#xf1bd;" horiz-adv-x="1024" d="M1024 1233l-303 -582l24 -31h279v-415h-507l-44 -30l-142 -273l-30 -30h-301v303l303 583l-24 30h-279v415h507l44 30l142 273l30 30h301v-303z" />
442
- <glyph unicode="&#xf1be;" horiz-adv-x="2304" d="M784 164l16 241l-16 523q-1 10 -7.5 17t-16.5 7q-9 0 -16 -7t-7 -17l-14 -523l14 -241q1 -10 7.5 -16.5t15.5 -6.5q22 0 24 23zM1080 193l11 211l-12 586q0 16 -13 24q-8 5 -16 5t-16 -5q-13 -8 -13 -24l-1 -6l-10 -579q0 -1 11 -236v-1q0 -10 6 -17q9 -11 23 -11 q11 0 20 9q9 7 9 20zM35 533l20 -128l-20 -126q-2 -9 -9 -9t-9 9l-17 126l17 128q2 9 9 9t9 -9zM121 612l26 -207l-26 -203q-2 -9 -10 -9q-9 0 -9 10l-23 202l23 207q0 9 9 9q8 0 10 -9zM401 159zM213 650l25 -245l-25 -237q0 -11 -11 -11q-10 0 -12 11l-21 237l21 245 q2 12 12 12q11 0 11 -12zM307 657l23 -252l-23 -244q-2 -13 -14 -13q-13 0 -13 13l-21 244l21 252q0 13 13 13q12 0 14 -13zM401 639l21 -234l-21 -246q-2 -16 -16 -16q-6 0 -10.5 4.5t-4.5 11.5l-20 246l20 234q0 6 4.5 10.5t10.5 4.5q14 0 16 -15zM784 164zM495 785 l21 -380l-21 -246q0 -7 -5 -12.5t-12 -5.5q-16 0 -18 18l-18 246l18 380q2 18 18 18q7 0 12 -5.5t5 -12.5zM589 871l19 -468l-19 -244q0 -8 -5.5 -13.5t-13.5 -5.5q-18 0 -20 19l-16 244l16 468q2 19 20 19q8 0 13.5 -5.5t5.5 -13.5zM687 911l18 -506l-18 -242 q-2 -21 -22 -21q-19 0 -21 21l-16 242l16 506q0 9 6.5 15.5t14.5 6.5q9 0 15 -6.5t7 -15.5zM1079 169v0v0zM881 915l15 -510l-15 -239q0 -10 -7.5 -17.5t-17.5 -7.5t-17 7t-8 18l-14 239l14 510q0 11 7.5 18t17.5 7t17.5 -7t7.5 -18zM980 896l14 -492l-14 -236q0 -11 -8 -19 t-19 -8t-19 8t-9 19l-12 236l12 492q1 12 9 20t19 8t18.5 -8t8.5 -20zM1192 404l-14 -231v0q0 -13 -9 -22t-22 -9t-22 9t-10 22l-6 114l-6 117l12 636v3q2 15 12 24q9 7 20 7q8 0 15 -5q14 -8 16 -26zM2304 423q0 -117 -83 -199.5t-200 -82.5h-786q-13 2 -22 11t-9 22v899 q0 23 28 33q85 34 181 34q195 0 338 -131.5t160 -323.5q53 22 110 22q117 0 200 -83t83 -201z" />
443
- <glyph unicode="&#xf1c0;" d="M768 768q237 0 443 43t325 127v-170q0 -69 -103 -128t-280 -93.5t-385 -34.5t-385 34.5t-280 93.5t-103 128v170q119 -84 325 -127t443 -43zM768 0q237 0 443 43t325 127v-170q0 -69 -103 -128t-280 -93.5t-385 -34.5t-385 34.5t-280 93.5t-103 128v170q119 -84 325 -127 t443 -43zM768 384q237 0 443 43t325 127v-170q0 -69 -103 -128t-280 -93.5t-385 -34.5t-385 34.5t-280 93.5t-103 128v170q119 -84 325 -127t443 -43zM768 1536q208 0 385 -34.5t280 -93.5t103 -128v-128q0 -69 -103 -128t-280 -93.5t-385 -34.5t-385 34.5t-280 93.5 t-103 128v128q0 69 103 128t280 93.5t385 34.5z" />
444
- <glyph unicode="&#xf1c1;" d="M1468 1156q28 -28 48 -76t20 -88v-1152q0 -40 -28 -68t-68 -28h-1344q-40 0 -68 28t-28 68v1600q0 40 28 68t68 28h896q40 0 88 -20t76 -48zM1024 1400v-376h376q-10 29 -22 41l-313 313q-12 12 -41 22zM1408 -128v1024h-416q-40 0 -68 28t-28 68v416h-768v-1536h1280z M894 465q33 -26 84 -56q59 7 117 7q147 0 177 -49q16 -22 2 -52q0 -1 -1 -2l-2 -2v-1q-6 -38 -71 -38q-48 0 -115 20t-130 53q-221 -24 -392 -83q-153 -262 -242 -262q-15 0 -28 7l-24 12q-1 1 -6 5q-10 10 -6 36q9 40 56 91.5t132 96.5q14 9 23 -6q2 -2 2 -4q52 85 107 197 q68 136 104 262q-24 82 -30.5 159.5t6.5 127.5q11 40 42 40h21h1q23 0 35 -15q18 -21 9 -68q-2 -6 -4 -8q1 -3 1 -8v-30q-2 -123 -14 -192q55 -164 146 -238zM318 54q52 24 137 158q-51 -40 -87.5 -84t-49.5 -74zM716 974q-15 -42 -2 -132q1 7 7 44q0 3 7 43q1 4 4 8 q-1 1 -1 2q-1 2 -1 3q-1 22 -13 36q0 -1 -1 -2v-2zM592 313q135 54 284 81q-2 1 -13 9.5t-16 13.5q-76 67 -127 176q-27 -86 -83 -197q-30 -56 -45 -83zM1238 329q-24 24 -140 24q76 -28 124 -28q14 0 18 1q0 1 -2 3z" />
445
- <glyph unicode="&#xf1c2;" d="M1468 1156q28 -28 48 -76t20 -88v-1152q0 -40 -28 -68t-68 -28h-1344q-40 0 -68 28t-28 68v1600q0 40 28 68t68 28h896q40 0 88 -20t76 -48zM1024 1400v-376h376q-10 29 -22 41l-313 313q-12 12 -41 22zM1408 -128v1024h-416q-40 0 -68 28t-28 68v416h-768v-1536h1280z M233 768v-107h70l164 -661h159l128 485q7 20 10 46q2 16 2 24h4l3 -24q1 -3 3.5 -20t5.5 -26l128 -485h159l164 661h70v107h-300v-107h90l-99 -438q-5 -20 -7 -46l-2 -21h-4q0 3 -0.5 6.5t-1.5 8t-1 6.5q-1 5 -4 21t-5 25l-144 545h-114l-144 -545q-2 -9 -4.5 -24.5 t-3.5 -21.5l-4 -21h-4l-2 21q-2 26 -7 46l-99 438h90v107h-300z" />
446
- <glyph unicode="&#xf1c3;" d="M1468 1156q28 -28 48 -76t20 -88v-1152q0 -40 -28 -68t-68 -28h-1344q-40 0 -68 28t-28 68v1600q0 40 28 68t68 28h896q40 0 88 -20t76 -48zM1024 1400v-376h376q-10 29 -22 41l-313 313q-12 12 -41 22zM1408 -128v1024h-416q-40 0 -68 28t-28 68v416h-768v-1536h1280z M429 106v-106h281v106h-75l103 161q5 7 10 16.5t7.5 13.5t3.5 4h2q1 -4 5 -10q2 -4 4.5 -7.5t6 -8t6.5 -8.5l107 -161h-76v-106h291v106h-68l-192 273l195 282h67v107h-279v-107h74l-103 -159q-4 -7 -10 -16.5t-9 -13.5l-2 -3h-2q-1 4 -5 10q-6 11 -17 23l-106 159h76v107 h-290v-107h68l189 -272l-194 -283h-68z" />
447
- <glyph unicode="&#xf1c4;" d="M1468 1156q28 -28 48 -76t20 -88v-1152q0 -40 -28 -68t-68 -28h-1344q-40 0 -68 28t-28 68v1600q0 40 28 68t68 28h896q40 0 88 -20t76 -48zM1024 1400v-376h376q-10 29 -22 41l-313 313q-12 12 -41 22zM1408 -128v1024h-416q-40 0 -68 28t-28 68v416h-768v-1536h1280z M416 106v-106h327v106h-93v167h137q76 0 118 15q67 23 106.5 87t39.5 146q0 81 -37 141t-100 87q-48 19 -130 19h-368v-107h92v-555h-92zM769 386h-119v268h120q52 0 83 -18q56 -33 56 -115q0 -89 -62 -120q-31 -15 -78 -15z" />
448
- <glyph unicode="&#xf1c5;" d="M1468 1156q28 -28 48 -76t20 -88v-1152q0 -40 -28 -68t-68 -28h-1344q-40 0 -68 28t-28 68v1600q0 40 28 68t68 28h896q40 0 88 -20t76 -48zM1024 1400v-376h376q-10 29 -22 41l-313 313q-12 12 -41 22zM1408 -128v1024h-416q-40 0 -68 28t-28 68v416h-768v-1536h1280z M1280 320v-320h-1024v192l192 192l128 -128l384 384zM448 512q-80 0 -136 56t-56 136t56 136t136 56t136 -56t56 -136t-56 -136t-136 -56z" />
449
- <glyph unicode="&#xf1c6;" d="M640 1152v128h-128v-128h128zM768 1024v128h-128v-128h128zM640 896v128h-128v-128h128zM768 768v128h-128v-128h128zM1468 1156q28 -28 48 -76t20 -88v-1152q0 -40 -28 -68t-68 -28h-1344q-40 0 -68 28t-28 68v1600q0 40 28 68t68 28h896q40 0 88 -20t76 -48zM1024 1400 v-376h376q-10 29 -22 41l-313 313q-12 12 -41 22zM1408 -128v1024h-416q-40 0 -68 28t-28 68v416h-128v-128h-128v128h-512v-1536h1280zM781 593l107 -349q8 -27 8 -52q0 -83 -72.5 -137.5t-183.5 -54.5t-183.5 54.5t-72.5 137.5q0 25 8 52q21 63 120 396v128h128v-128h79 q22 0 39 -13t23 -34zM640 128q53 0 90.5 19t37.5 45t-37.5 45t-90.5 19t-90.5 -19t-37.5 -45t37.5 -45t90.5 -19z" />
450
- <glyph unicode="&#xf1c7;" d="M1468 1156q28 -28 48 -76t20 -88v-1152q0 -40 -28 -68t-68 -28h-1344q-40 0 -68 28t-28 68v1600q0 40 28 68t68 28h896q40 0 88 -20t76 -48zM1024 1400v-376h376q-10 29 -22 41l-313 313q-12 12 -41 22zM1408 -128v1024h-416q-40 0 -68 28t-28 68v416h-768v-1536h1280z M620 686q20 -8 20 -30v-544q0 -22 -20 -30q-8 -2 -12 -2q-12 0 -23 9l-166 167h-131q-14 0 -23 9t-9 23v192q0 14 9 23t23 9h131l166 167q16 15 35 7zM1037 -3q31 0 50 24q129 159 129 363t-129 363q-16 21 -43 24t-47 -14q-21 -17 -23.5 -43.5t14.5 -47.5 q100 -123 100 -282t-100 -282q-17 -21 -14.5 -47.5t23.5 -42.5q18 -15 40 -15zM826 145q27 0 47 20q87 93 87 219t-87 219q-18 19 -45 20t-46 -17t-20 -44.5t18 -46.5q52 -57 52 -131t-52 -131q-19 -20 -18 -46.5t20 -44.5q20 -17 44 -17z" />
451
- <glyph unicode="&#xf1c8;" d="M1468 1156q28 -28 48 -76t20 -88v-1152q0 -40 -28 -68t-68 -28h-1344q-40 0 -68 28t-28 68v1600q0 40 28 68t68 28h896q40 0 88 -20t76 -48zM1024 1400v-376h376q-10 29 -22 41l-313 313q-12 12 -41 22zM1408 -128v1024h-416q-40 0 -68 28t-28 68v416h-768v-1536h1280z M768 768q52 0 90 -38t38 -90v-384q0 -52 -38 -90t-90 -38h-384q-52 0 -90 38t-38 90v384q0 52 38 90t90 38h384zM1260 766q20 -8 20 -30v-576q0 -22 -20 -30q-8 -2 -12 -2q-14 0 -23 9l-265 266v90l265 266q9 9 23 9q4 0 12 -2z" />
452
- <glyph unicode="&#xf1c9;" d="M1468 1156q28 -28 48 -76t20 -88v-1152q0 -40 -28 -68t-68 -28h-1344q-40 0 -68 28t-28 68v1600q0 40 28 68t68 28h896q40 0 88 -20t76 -48zM1024 1400v-376h376q-10 29 -22 41l-313 313q-12 12 -41 22zM1408 -128v1024h-416q-40 0 -68 28t-28 68v416h-768v-1536h1280z M480 768q8 11 21 12.5t24 -6.5l51 -38q11 -8 12.5 -21t-6.5 -24l-182 -243l182 -243q8 -11 6.5 -24t-12.5 -21l-51 -38q-11 -8 -24 -6.5t-21 12.5l-226 301q-14 19 0 38zM1282 467q14 -19 0 -38l-226 -301q-8 -11 -21 -12.5t-24 6.5l-51 38q-11 8 -12.5 21t6.5 24l182 243 l-182 243q-8 11 -6.5 24t12.5 21l51 38q11 8 24 6.5t21 -12.5zM662 6q-13 2 -20.5 13t-5.5 24l138 831q2 13 13 20.5t24 5.5l63 -10q13 -2 20.5 -13t5.5 -24l-138 -831q-2 -13 -13 -20.5t-24 -5.5z" />
453
- <glyph unicode="&#xf1ca;" d="M1497 709v-198q-101 -23 -198 -23q-65 -136 -165.5 -271t-181.5 -215.5t-128 -106.5q-80 -45 -162 3q-28 17 -60.5 43.5t-85 83.5t-102.5 128.5t-107.5 184t-105.5 244t-91.5 314.5t-70.5 390h283q26 -218 70 -398.5t104.5 -317t121.5 -235.5t140 -195q169 169 287 406 q-142 72 -223 220t-81 333q0 192 104 314.5t284 122.5q178 0 273 -105.5t95 -297.5q0 -159 -58 -286q-7 -1 -19.5 -3t-46 -2t-63 6t-62 25.5t-50.5 51.5q31 103 31 184q0 87 -29 132t-79 45q-53 0 -85 -49.5t-32 -140.5q0 -186 105 -293.5t267 -107.5q62 0 121 14z" />
454
- <glyph unicode="&#xf1cb;" horiz-adv-x="1792" d="M216 367l603 -402v359l-334 223zM154 511l193 129l-193 129v-258zM973 -35l603 402l-269 180l-334 -223v-359zM896 458l272 182l-272 182l-272 -182zM485 733l334 223v359l-603 -402zM1445 640l193 -129v258zM1307 733l269 180l-603 402v-359zM1792 913v-546 q0 -41 -34 -64l-819 -546q-21 -13 -43 -13t-43 13l-819 546q-34 23 -34 64v546q0 41 34 64l819 546q21 13 43 13t43 -13l819 -546q34 -23 34 -64z" />
455
- <glyph unicode="&#xf1cc;" horiz-adv-x="2048" d="M1800 764q111 -46 179.5 -145.5t68.5 -221.5q0 -164 -118 -280.5t-285 -116.5q-4 0 -11.5 0.5t-10.5 0.5h-1209h-1h-2h-5q-170 10 -288 125.5t-118 280.5q0 110 55 203t147 147q-12 39 -12 82q0 115 82 196t199 81q95 0 172 -58q75 154 222.5 248t326.5 94 q166 0 306 -80.5t221.5 -218.5t81.5 -301q0 -6 -0.5 -18t-0.5 -18zM468 498q0 -122 84 -193t208 -71q137 0 240 99q-16 20 -47.5 56.5t-43.5 50.5q-67 -65 -144 -65q-55 0 -93.5 33.5t-38.5 87.5q0 53 38.5 87t91.5 34q44 0 84.5 -21t73 -55t65 -75t69 -82t77 -75t97 -55 t121.5 -21q121 0 204.5 71.5t83.5 190.5q0 121 -84 192t-207 71q-143 0 -241 -97l93 -108q66 64 142 64q52 0 92 -33t40 -84q0 -57 -37 -91.5t-94 -34.5q-43 0 -82.5 21t-72 55t-65.5 75t-69.5 82t-77.5 75t-96.5 55t-118.5 21q-122 0 -207 -70.5t-85 -189.5z" />
456
- <glyph unicode="&#xf1cd;" horiz-adv-x="1792" d="M896 1536q182 0 348 -71t286 -191t191 -286t71 -348t-71 -348t-191 -286t-286 -191t-348 -71t-348 71t-286 191t-191 286t-71 348t71 348t191 286t286 191t348 71zM896 1408q-190 0 -361 -90l194 -194q82 28 167 28t167 -28l194 194q-171 90 -361 90zM218 279l194 194 q-28 82 -28 167t28 167l-194 194q-90 -171 -90 -361t90 -361zM896 -128q190 0 361 90l-194 194q-82 -28 -167 -28t-167 28l-194 -194q171 -90 361 -90zM896 256q159 0 271.5 112.5t112.5 271.5t-112.5 271.5t-271.5 112.5t-271.5 -112.5t-112.5 -271.5t112.5 -271.5 t271.5 -112.5zM1380 473l194 -194q90 171 90 361t-90 361l-194 -194q28 -82 28 -167t-28 -167z" />
457
- <glyph unicode="&#xf1ce;" horiz-adv-x="1792" d="M1760 640q0 -176 -68.5 -336t-184 -275.5t-275.5 -184t-336 -68.5t-336 68.5t-275.5 184t-184 275.5t-68.5 336q0 213 97 398.5t265 305.5t374 151v-228q-221 -45 -366.5 -221t-145.5 -406q0 -130 51 -248.5t136.5 -204t204 -136.5t248.5 -51t248.5 51t204 136.5 t136.5 204t51 248.5q0 230 -145.5 406t-366.5 221v228q206 -31 374 -151t265 -305.5t97 -398.5z" />
458
- <glyph unicode="&#xf1d0;" horiz-adv-x="1792" d="M19 662q8 217 116 406t305 318h5q0 -1 -1 -3q-8 -8 -28 -33.5t-52 -76.5t-60 -110.5t-44.5 -135.5t-14 -150.5t39 -157.5t108.5 -154q50 -50 102 -69.5t90.5 -11.5t69.5 23.5t47 32.5l16 16q39 51 53 116.5t6.5 122.5t-21 107t-26.5 80l-14 29q-10 25 -30.5 49.5t-43 41 t-43.5 29.5t-35 19l-13 6l104 115q39 -17 78 -52t59 -61l19 -27q1 48 -18.5 103.5t-40.5 87.5l-20 31l161 183l160 -181q-33 -46 -52.5 -102.5t-22.5 -90.5l-4 -33q22 37 61.5 72.5t67.5 52.5l28 17l103 -115q-44 -14 -85 -50t-60 -65l-19 -29q-31 -56 -48 -133.5t-7 -170 t57 -156.5q33 -45 77.5 -60.5t85 -5.5t76 26.5t57.5 33.5l21 16q60 53 96.5 115t48.5 121.5t10 121.5t-18 118t-37 107.5t-45.5 93t-45 72t-34.5 47.5l-13 17q-14 13 -7 13l10 -3q40 -29 62.5 -46t62 -50t64 -58t58.5 -65t55.5 -77t45.5 -88t38 -103t23.5 -117t10.5 -136 q3 -259 -108 -465t-312 -321t-456 -115q-185 0 -351 74t-283.5 198t-184 293t-60.5 353z" />
459
- <glyph unicode="&#xf1d1;" horiz-adv-x="1792" d="M874 -102v-66q-208 6 -385 109.5t-283 275.5l58 34q29 -49 73 -99l65 57q148 -168 368 -212l-17 -86q65 -12 121 -13zM276 428l-83 -28q22 -60 49 -112l-57 -33q-98 180 -98 385t98 385l57 -33q-30 -56 -49 -112l82 -28q-35 -100 -35 -212q0 -109 36 -212zM1528 251 l58 -34q-106 -172 -283 -275.5t-385 -109.5v66q56 1 121 13l-17 86q220 44 368 212l65 -57q44 50 73 99zM1377 805l-233 -80q14 -42 14 -85t-14 -85l232 -80q-31 -92 -98 -169l-185 162q-57 -67 -147 -85l48 -241q-52 -10 -98 -10t-98 10l48 241q-90 18 -147 85l-185 -162 q-67 77 -98 169l232 80q-14 42 -14 85t14 85l-233 80q33 93 99 169l185 -162q59 68 147 86l-48 240q44 10 98 10t98 -10l-48 -240q88 -18 147 -86l185 162q66 -76 99 -169zM874 1448v-66q-65 -2 -121 -13l17 -86q-220 -42 -368 -211l-65 56q-38 -42 -73 -98l-57 33 q106 172 282 275.5t385 109.5zM1705 640q0 -205 -98 -385l-57 33q27 52 49 112l-83 28q36 103 36 212q0 112 -35 212l82 28q-19 56 -49 112l57 33q98 -180 98 -385zM1585 1063l-57 -33q-35 56 -73 98l-65 -56q-148 169 -368 211l17 86q-56 11 -121 13v66q209 -6 385 -109.5 t282 -275.5zM1748 640q0 173 -67.5 331t-181.5 272t-272 181.5t-331 67.5t-331 -67.5t-272 -181.5t-181.5 -272t-67.5 -331t67.5 -331t181.5 -272t272 -181.5t331 -67.5t331 67.5t272 181.5t181.5 272t67.5 331zM1792 640q0 -182 -71 -348t-191 -286t-286 -191t-348 -71 t-348 71t-286 191t-191 286t-71 348t71 348t191 286t286 191t348 71t348 -71t286 -191t191 -286t71 -348z" />
460
- <glyph unicode="&#xf1d2;" d="M582 228q0 -66 -93 -66q-107 0 -107 63q0 64 98 64q102 0 102 -61zM546 694q0 -85 -74 -85q-77 0 -77 84q0 90 77 90q36 0 55 -25.5t19 -63.5zM712 769v125q-78 -29 -135 -29q-50 29 -110 29q-86 0 -145 -57t-59 -143q0 -50 29.5 -102t73.5 -67v-3q-38 -17 -38 -85 q0 -53 41 -77v-3q-113 -37 -113 -139q0 -45 20 -78.5t54 -51t72 -25.5t81 -8q224 0 224 188q0 67 -48 99t-126 46q-27 5 -51.5 20.5t-24.5 39.5q0 44 49 52q77 15 122 70t45 134q0 24 -10 52q37 9 49 13zM771 350h137q-2 27 -2 82v387q0 46 2 69h-137q3 -23 3 -71v-392 q0 -50 -3 -75zM1280 366v121q-30 -21 -68 -21q-53 0 -53 82v225h52q9 0 26.5 -1t26.5 -1v117h-105q0 82 3 102h-140q4 -24 4 -55v-47h-60v-117q36 3 37 3q3 0 11 -0.5t12 -0.5v-2h-2v-217q0 -37 2.5 -64t11.5 -56.5t24.5 -48.5t43.5 -31t66 -12q64 0 108 24zM924 1072 q0 36 -24 63.5t-60 27.5t-60.5 -27t-24.5 -64q0 -36 25 -62.5t60 -26.5t59.5 27t24.5 62zM1536 1120v-960q0 -119 -84.5 -203.5t-203.5 -84.5h-960q-119 0 -203.5 84.5t-84.5 203.5v960q0 119 84.5 203.5t203.5 84.5h960q119 0 203.5 -84.5t84.5 -203.5z" />
461
- <glyph unicode="&#xf1d3;" horiz-adv-x="1792" d="M595 22q0 100 -165 100q-158 0 -158 -104q0 -101 172 -101q151 0 151 105zM536 777q0 61 -30 102t-89 41q-124 0 -124 -145q0 -135 124 -135q119 0 119 137zM805 1101v-202q-36 -12 -79 -22q16 -43 16 -84q0 -127 -73 -216.5t-197 -112.5q-40 -8 -59.5 -27t-19.5 -58 q0 -31 22.5 -51.5t58 -32t78.5 -22t86 -25.5t78.5 -37.5t58 -64t22.5 -98.5q0 -304 -363 -304q-69 0 -130 12.5t-116 41t-87.5 82t-32.5 127.5q0 165 182 225v4q-67 41 -67 126q0 109 63 137v4q-72 24 -119.5 108.5t-47.5 165.5q0 139 95 231.5t235 92.5q96 0 178 -47 q98 0 218 47zM1123 220h-222q4 45 4 134v609q0 94 -4 128h222q-4 -33 -4 -124v-613q0 -89 4 -134zM1724 442v-196q-71 -39 -174 -39q-62 0 -107 20t-70 50t-39.5 78t-18.5 92t-4 103v351h2v4q-7 0 -19 1t-18 1q-21 0 -59 -6v190h96v76q0 54 -6 89h227q-6 -41 -6 -165h171 v-190q-15 0 -43.5 2t-42.5 2h-85v-365q0 -131 87 -131q61 0 109 33zM1148 1389q0 -58 -39 -101.5t-96 -43.5q-58 0 -98 43.5t-40 101.5q0 59 39.5 103t98.5 44q58 0 96.5 -44.5t38.5 -102.5z" />
462
- <glyph unicode="&#xf1d4;" d="M809 532l266 499h-112l-157 -312q-24 -48 -44 -92l-42 92l-155 312h-120l263 -493v-324h101v318zM1536 1120v-960q0 -119 -84.5 -203.5t-203.5 -84.5h-960q-119 0 -203.5 84.5t-84.5 203.5v960q0 119 84.5 203.5t203.5 84.5h960q119 0 203.5 -84.5t84.5 -203.5z" />
463
- <glyph unicode="&#xf1d5;" horiz-adv-x="1280" d="M842 964q0 -80 -57 -136.5t-136 -56.5q-60 0 -111 35q-62 -67 -115 -146q-247 -371 -202 -859q1 -22 -12.5 -38.5t-34.5 -18.5h-5q-20 0 -35 13.5t-17 33.5q-14 126 -3.5 247.5t29.5 217t54 186t69 155.5t74 125q61 90 132 165q-16 35 -16 77q0 80 56.5 136.5t136.5 56.5 t136.5 -56.5t56.5 -136.5zM1223 953q0 -158 -78 -292t-212.5 -212t-292.5 -78q-64 0 -131 14q-21 5 -32.5 23.5t-6.5 39.5q5 20 23 31.5t39 7.5q51 -13 108 -13q97 0 186 38t153 102t102 153t38 186t-38 186t-102 153t-153 102t-186 38t-186 -38t-153 -102t-102 -153 t-38 -186q0 -114 52 -218q10 -20 3.5 -40t-25.5 -30t-39.5 -3t-30.5 26q-64 123 -64 265q0 119 46.5 227t124.5 186t186 124t226 46q158 0 292.5 -78t212.5 -212.5t78 -292.5z" />
464
- <glyph unicode="&#xf1d6;" horiz-adv-x="1792" d="M270 730q-8 19 -8 52q0 20 11 49t24 45q-1 22 7.5 53t22.5 43q0 139 92.5 288.5t217.5 209.5q139 66 324 66q133 0 266 -55q49 -21 90 -48t71 -56t55 -68t42 -74t32.5 -84.5t25.5 -89.5t22 -98l1 -5q55 -83 55 -150q0 -14 -9 -40t-9 -38q0 -1 1.5 -3.5t3.5 -5t2 -3.5 q77 -114 120.5 -214.5t43.5 -208.5q0 -43 -19.5 -100t-55.5 -57q-9 0 -19.5 7.5t-19 17.5t-19 26t-16 26.5t-13.5 26t-9 17.5q-1 1 -3 1l-5 -4q-59 -154 -132 -223q20 -20 61.5 -38.5t69 -41.5t35.5 -65q-2 -4 -4 -16t-7 -18q-64 -97 -302 -97q-53 0 -110.5 9t-98 20 t-104.5 30q-15 5 -23 7q-14 4 -46 4.5t-40 1.5q-41 -45 -127.5 -65t-168.5 -20q-35 0 -69 1.5t-93 9t-101 20.5t-74.5 40t-32.5 64q0 40 10 59.5t41 48.5q11 2 40.5 13t49.5 12q4 0 14 2q2 2 2 4l-2 3q-48 11 -108 105.5t-73 156.5l-5 3q-4 0 -12 -20q-18 -41 -54.5 -74.5 t-77.5 -37.5h-1q-4 0 -6 4.5t-5 5.5q-23 54 -23 100q0 275 252 466z" />
465
- <glyph unicode="&#xf1d7;" horiz-adv-x="2048" d="M580 1075q0 41 -25 66t-66 25q-43 0 -76 -25.5t-33 -65.5q0 -39 33 -64.5t76 -25.5q41 0 66 24.5t25 65.5zM1323 568q0 28 -25.5 50t-65.5 22q-27 0 -49.5 -22.5t-22.5 -49.5q0 -28 22.5 -50.5t49.5 -22.5q40 0 65.5 22t25.5 51zM1087 1075q0 41 -24.5 66t-65.5 25 q-43 0 -76 -25.5t-33 -65.5q0 -39 33 -64.5t76 -25.5q41 0 65.5 24.5t24.5 65.5zM1722 568q0 28 -26 50t-65 22q-27 0 -49.5 -22.5t-22.5 -49.5q0 -28 22.5 -50.5t49.5 -22.5q39 0 65 22t26 51zM1456 965q-31 4 -70 4q-169 0 -311 -77t-223.5 -208.5t-81.5 -287.5 q0 -78 23 -152q-35 -3 -68 -3q-26 0 -50 1.5t-55 6.5t-44.5 7t-54.5 10.5t-50 10.5l-253 -127l72 218q-290 203 -290 490q0 169 97.5 311t264 223.5t363.5 81.5q176 0 332.5 -66t262 -182.5t136.5 -260.5zM2048 404q0 -117 -68.5 -223.5t-185.5 -193.5l55 -181l-199 109 q-150 -37 -218 -37q-169 0 -311 70.5t-223.5 191.5t-81.5 264t81.5 264t223.5 191.5t311 70.5q161 0 303 -70.5t227.5 -192t85.5 -263.5z" />
466
- <glyph unicode="&#xf1d8;" horiz-adv-x="1792" d="M1764 1525q33 -24 27 -64l-256 -1536q-5 -29 -32 -45q-14 -8 -31 -8q-11 0 -24 5l-453 185l-242 -295q-18 -23 -49 -23q-13 0 -22 4q-19 7 -30.5 23.5t-11.5 36.5v349l864 1059l-1069 -925l-395 162q-37 14 -40 55q-2 40 32 59l1664 960q15 9 32 9q20 0 36 -11z" />
467
- <glyph unicode="&#xf1d9;" horiz-adv-x="1792" d="M1764 1525q33 -24 27 -64l-256 -1536q-5 -29 -32 -45q-14 -8 -31 -8q-11 0 -24 5l-527 215l-298 -327q-18 -21 -47 -21q-14 0 -23 4q-19 7 -30 23.5t-11 36.5v452l-472 193q-37 14 -40 55q-3 39 32 59l1664 960q35 21 68 -2zM1422 26l221 1323l-1434 -827l336 -137 l863 639l-478 -797z" />
468
- <glyph unicode="&#xf1da;" d="M1536 640q0 -156 -61 -298t-164 -245t-245 -164t-298 -61q-172 0 -327 72.5t-264 204.5q-7 10 -6.5 22.5t8.5 20.5l137 138q10 9 25 9q16 -2 23 -12q73 -95 179 -147t225 -52q104 0 198.5 40.5t163.5 109.5t109.5 163.5t40.5 198.5t-40.5 198.5t-109.5 163.5 t-163.5 109.5t-198.5 40.5q-98 0 -188 -35.5t-160 -101.5l137 -138q31 -30 14 -69q-17 -40 -59 -40h-448q-26 0 -45 19t-19 45v448q0 42 40 59q39 17 69 -14l130 -129q107 101 244.5 156.5t284.5 55.5q156 0 298 -61t245 -164t164 -245t61 -298zM896 928v-448q0 -14 -9 -23 t-23 -9h-320q-14 0 -23 9t-9 23v64q0 14 9 23t23 9h224v352q0 14 9 23t23 9h64q14 0 23 -9t9 -23z" />
469
- <glyph unicode="&#xf1db;" d="M768 1280q-130 0 -248.5 -51t-204 -136.5t-136.5 -204t-51 -248.5t51 -248.5t136.5 -204t204 -136.5t248.5 -51t248.5 51t204 136.5t136.5 204t51 248.5t-51 248.5t-136.5 204t-204 136.5t-248.5 51zM1536 640q0 -209 -103 -385.5t-279.5 -279.5t-385.5 -103t-385.5 103 t-279.5 279.5t-103 385.5t103 385.5t279.5 279.5t385.5 103t385.5 -103t279.5 -279.5t103 -385.5z" />
470
- <glyph unicode="&#xf1dc;" horiz-adv-x="1792" d="M1682 -128q-44 0 -132.5 3.5t-133.5 3.5q-44 0 -132 -3.5t-132 -3.5q-24 0 -37 20.5t-13 45.5q0 31 17 46t39 17t51 7t45 15q33 21 33 140l-1 391q0 21 -1 31q-13 4 -50 4h-675q-38 0 -51 -4q-1 -10 -1 -31l-1 -371q0 -142 37 -164q16 -10 48 -13t57 -3.5t45 -15 t20 -45.5q0 -26 -12.5 -48t-36.5 -22q-47 0 -139.5 3.5t-138.5 3.5q-43 0 -128 -3.5t-127 -3.5q-23 0 -35.5 21t-12.5 45q0 30 15.5 45t36 17.5t47.5 7.5t42 15q33 23 33 143l-1 57v813q0 3 0.5 26t0 36.5t-1.5 38.5t-3.5 42t-6.5 36.5t-11 31.5t-16 18q-15 10 -45 12t-53 2 t-41 14t-18 45q0 26 12 48t36 22q46 0 138.5 -3.5t138.5 -3.5q42 0 126.5 3.5t126.5 3.5q25 0 37.5 -22t12.5 -48q0 -30 -17 -43.5t-38.5 -14.5t-49.5 -4t-43 -13q-35 -21 -35 -160l1 -320q0 -21 1 -32q13 -3 39 -3h699q25 0 38 3q1 11 1 32l1 320q0 139 -35 160 q-18 11 -58.5 12.5t-66 13t-25.5 49.5q0 26 12.5 48t37.5 22q44 0 132 -3.5t132 -3.5q43 0 129 3.5t129 3.5q25 0 37.5 -22t12.5 -48q0 -30 -17.5 -44t-40 -14.5t-51.5 -3t-44 -12.5q-35 -23 -35 -161l1 -943q0 -119 34 -140q16 -10 46 -13.5t53.5 -4.5t41.5 -15.5t18 -44.5 q0 -26 -12 -48t-36 -22z" />
471
- <glyph unicode="&#xf1dd;" horiz-adv-x="1280" d="M1278 1347v-73q0 -29 -18.5 -61t-42.5 -32q-50 0 -54 -1q-26 -6 -32 -31q-3 -11 -3 -64v-1152q0 -25 -18 -43t-43 -18h-108q-25 0 -43 18t-18 43v1218h-143v-1218q0 -25 -17.5 -43t-43.5 -18h-108q-26 0 -43.5 18t-17.5 43v496q-147 12 -245 59q-126 58 -192 179 q-64 117 -64 259q0 166 88 286q88 118 209 159q111 37 417 37h479q25 0 43 -18t18 -43z" />
472
- <glyph unicode="&#xf1de;" d="M352 128v-128h-352v128h352zM704 256q26 0 45 -19t19 -45v-256q0 -26 -19 -45t-45 -19h-256q-26 0 -45 19t-19 45v256q0 26 19 45t45 19h256zM864 640v-128h-864v128h864zM224 1152v-128h-224v128h224zM1536 128v-128h-736v128h736zM576 1280q26 0 45 -19t19 -45v-256 q0 -26 -19 -45t-45 -19h-256q-26 0 -45 19t-19 45v256q0 26 19 45t45 19h256zM1216 768q26 0 45 -19t19 -45v-256q0 -26 -19 -45t-45 -19h-256q-26 0 -45 19t-19 45v256q0 26 19 45t45 19h256zM1536 640v-128h-224v128h224zM1536 1152v-128h-864v128h864z" />
473
- <glyph unicode="&#xf1e0;" d="M1216 512q133 0 226.5 -93.5t93.5 -226.5t-93.5 -226.5t-226.5 -93.5t-226.5 93.5t-93.5 226.5q0 12 2 34l-360 180q-92 -86 -218 -86q-133 0 -226.5 93.5t-93.5 226.5t93.5 226.5t226.5 93.5q126 0 218 -86l360 180q-2 22 -2 34q0 133 93.5 226.5t226.5 93.5 t226.5 -93.5t93.5 -226.5t-93.5 -226.5t-226.5 -93.5q-126 0 -218 86l-360 -180q2 -22 2 -34t-2 -34l360 -180q92 86 218 86z" />
474
- <glyph unicode="&#xf1e1;" d="M1280 341q0 88 -62.5 151t-150.5 63q-84 0 -145 -58l-241 120q2 16 2 23t-2 23l241 120q61 -58 145 -58q88 0 150.5 63t62.5 151t-62.5 150.5t-150.5 62.5t-151 -62.5t-63 -150.5q0 -7 2 -23l-241 -120q-62 57 -145 57q-88 0 -150.5 -62.5t-62.5 -150.5t62.5 -150.5 t150.5 -62.5q83 0 145 57l241 -120q-2 -16 -2 -23q0 -88 63 -150.5t151 -62.5t150.5 62.5t62.5 150.5zM1536 1120v-960q0 -119 -84.5 -203.5t-203.5 -84.5h-960q-119 0 -203.5 84.5t-84.5 203.5v960q0 119 84.5 203.5t203.5 84.5h960q119 0 203.5 -84.5t84.5 -203.5z" />
475
- <glyph unicode="&#xf1e2;" horiz-adv-x="1792" d="M571 947q-10 25 -34 35t-49 0q-108 -44 -191 -127t-127 -191q-10 -25 0 -49t35 -34q13 -5 24 -5q42 0 60 40q34 84 98.5 148.5t148.5 98.5q25 11 35 35t0 49zM1513 1303l46 -46l-244 -243l68 -68q19 -19 19 -45.5t-19 -45.5l-64 -64q89 -161 89 -343q0 -143 -55.5 -273.5 t-150 -225t-225 -150t-273.5 -55.5t-273.5 55.5t-225 150t-150 225t-55.5 273.5t55.5 273.5t150 225t225 150t273.5 55.5q182 0 343 -89l64 64q19 19 45.5 19t45.5 -19l68 -68zM1521 1359q-10 -10 -22 -10q-13 0 -23 10l-91 90q-9 10 -9 23t9 23q10 9 23 9t23 -9l90 -91 q10 -9 10 -22.5t-10 -22.5zM1751 1129q-11 -9 -23 -9t-23 9l-90 91q-10 9 -10 22.5t10 22.5q9 10 22.5 10t22.5 -10l91 -90q9 -10 9 -23t-9 -23zM1792 1312q0 -14 -9 -23t-23 -9h-96q-14 0 -23 9t-9 23t9 23t23 9h96q14 0 23 -9t9 -23zM1600 1504v-96q0 -14 -9 -23t-23 -9 t-23 9t-9 23v96q0 14 9 23t23 9t23 -9t9 -23zM1751 1449l-91 -90q-10 -10 -22 -10q-13 0 -23 10q-10 9 -10 22.5t10 22.5l90 91q10 9 23 9t23 -9q9 -10 9 -23t-9 -23z" />
476
- <glyph unicode="&#xf1e3;" horiz-adv-x="1792" d="M609 720l287 208l287 -208l-109 -336h-355zM896 1536q182 0 348 -71t286 -191t191 -286t71 -348t-71 -348t-191 -286t-286 -191t-348 -71t-348 71t-286 191t-191 286t-71 348t71 348t191 286t286 191t348 71zM1515 186q149 203 149 454v3l-102 -89l-240 224l63 323 l134 -12q-150 206 -389 282l53 -124l-287 -159l-287 159l53 124q-239 -76 -389 -282l135 12l62 -323l-240 -224l-102 89v-3q0 -251 149 -454l30 132l326 -40l139 -298l-116 -69q117 -39 240 -39t240 39l-116 69l139 298l326 40z" />
477
- <glyph unicode="&#xf1e4;" horiz-adv-x="1792" d="M448 224v-192q0 -14 -9 -23t-23 -9h-192q-14 0 -23 9t-9 23v192q0 14 9 23t23 9h192q14 0 23 -9t9 -23zM256 608v-192q0 -14 -9 -23t-23 -9h-192q-14 0 -23 9t-9 23v192q0 14 9 23t23 9h192q14 0 23 -9t9 -23zM832 224v-192q0 -14 -9 -23t-23 -9h-192q-14 0 -23 9t-9 23 v192q0 14 9 23t23 9h192q14 0 23 -9t9 -23zM640 608v-192q0 -14 -9 -23t-23 -9h-192q-14 0 -23 9t-9 23v192q0 14 9 23t23 9h192q14 0 23 -9t9 -23zM66 768q-28 0 -47 19t-19 46v129h514v-129q0 -27 -19 -46t-46 -19h-383zM1216 224v-192q0 -14 -9 -23t-23 -9h-192 q-14 0 -23 9t-9 23v192q0 14 9 23t23 9h192q14 0 23 -9t9 -23zM1024 608v-192q0 -14 -9 -23t-23 -9h-192q-14 0 -23 9t-9 23v192q0 14 9 23t23 9h192q14 0 23 -9t9 -23zM1600 224v-192q0 -14 -9 -23t-23 -9h-192q-14 0 -23 9t-9 23v192q0 14 9 23t23 9h192q14 0 23 -9t9 -23 zM1408 608v-192q0 -14 -9 -23t-23 -9h-192q-14 0 -23 9t-9 23v192q0 14 9 23t23 9h192q14 0 23 -9t9 -23zM1792 1016v-13h-514v10q0 104 -382 102q-382 -1 -382 -102v-10h-514v13q0 17 8.5 43t34 64t65.5 75.5t110.5 76t160 67.5t224 47.5t293.5 18.5t293 -18.5t224 -47.5 t160.5 -67.5t110.5 -76t65.5 -75.5t34 -64t8.5 -43zM1792 608v-192q0 -14 -9 -23t-23 -9h-192q-14 0 -23 9t-9 23v192q0 14 9 23t23 9h192q14 0 23 -9t9 -23zM1792 962v-129q0 -27 -19 -46t-46 -19h-384q-27 0 -46 19t-19 46v129h514z" />
478
- <glyph unicode="&#xf1e5;" horiz-adv-x="1792" d="M704 1216v-768q0 -26 -19 -45t-45 -19v-576q0 -26 -19 -45t-45 -19h-512q-26 0 -45 19t-19 45v512l249 873q7 23 31 23h424zM1024 1216v-704h-256v704h256zM1792 320v-512q0 -26 -19 -45t-45 -19h-512q-26 0 -45 19t-19 45v576q-26 0 -45 19t-19 45v768h424q24 0 31 -23z M736 1504v-224h-352v224q0 14 9 23t23 9h288q14 0 23 -9t9 -23zM1408 1504v-224h-352v224q0 14 9 23t23 9h288q14 0 23 -9t9 -23z" />
479
- <glyph unicode="&#xf1e6;" horiz-adv-x="1792" d="M1755 1083q37 -38 37 -90.5t-37 -90.5l-401 -400l150 -150l-160 -160q-163 -163 -389.5 -186.5t-411.5 100.5l-362 -362h-181v181l362 362q-124 185 -100.5 411.5t186.5 389.5l160 160l150 -150l400 401q38 37 91 37t90 -37t37 -90.5t-37 -90.5l-400 -401l234 -234 l401 400q38 37 91 37t90 -37z" />
480
- <glyph unicode="&#xf1e7;" horiz-adv-x="1792" d="M873 796q0 -83 -63.5 -142.5t-152.5 -59.5t-152.5 59.5t-63.5 142.5q0 84 63.5 143t152.5 59t152.5 -59t63.5 -143zM1375 796q0 -83 -63 -142.5t-153 -59.5q-89 0 -152.5 59.5t-63.5 142.5q0 84 63.5 143t152.5 59q90 0 153 -59t63 -143zM1600 616v667q0 87 -32 123.5 t-111 36.5h-1112q-83 0 -112.5 -34t-29.5 -126v-673q43 -23 88.5 -40t81 -28t81 -18.5t71 -11t70 -4t58.5 -0.5t56.5 2t44.5 2q68 1 95 -27q6 -6 10 -9q26 -25 61 -51q7 91 118 87q5 0 36.5 -1.5t43 -2t45.5 -1t53 1t54.5 4.5t61 8.5t62 13.5t67 19.5t67.5 27t72 34.5z M1763 621q-121 -149 -372 -252q84 -285 -23 -465q-66 -113 -183 -148q-104 -32 -182 15q-86 51 -82 164l-1 326v1q-8 2 -24.5 6t-23.5 5l-1 -338q4 -114 -83 -164q-79 -47 -183 -15q-117 36 -182 150q-105 180 -22 463q-251 103 -372 252q-25 37 -4 63t60 -1q4 -2 11.5 -7 t10.5 -8v694q0 72 47 123t114 51h1257q67 0 114 -51t47 -123v-694l21 15q39 27 60 1t-4 -63z" />
481
- <glyph unicode="&#xf1e8;" horiz-adv-x="1792" d="M896 1102v-434h-145v434h145zM1294 1102v-434h-145v434h145zM1294 342l253 254v795h-1194v-1049h326v-217l217 217h398zM1692 1536v-1013l-434 -434h-326l-217 -217h-217v217h-398v1158l109 289h1483z" />
482
- <glyph unicode="&#xf1e9;" d="M773 217v-127q-1 -292 -6 -305q-12 -32 -51 -40q-54 -9 -181.5 38t-162.5 89q-13 15 -17 36q-1 12 4 26q4 10 34 47t181 216q1 0 60 70q15 19 39.5 24.5t49.5 -3.5q24 -10 37.5 -29t12.5 -42zM624 468q-3 -55 -52 -70l-120 -39q-275 -88 -292 -88q-35 2 -54 36 q-12 25 -17 75q-8 76 1 166.5t30 124.5t56 32q13 0 202 -77q71 -29 115 -47l84 -34q23 -9 35.5 -30.5t11.5 -48.5zM1450 171q-7 -54 -91.5 -161t-135.5 -127q-37 -14 -63 7q-14 10 -184 287l-47 77q-14 21 -11.5 46t19.5 46q35 43 83 26q1 -1 119 -40q203 -66 242 -79.5 t47 -20.5q28 -22 22 -61zM778 803q5 -102 -54 -122q-58 -17 -114 71l-378 598q-8 35 19 62q41 43 207.5 89.5t224.5 31.5q40 -10 49 -45q3 -18 22 -305.5t24 -379.5zM1440 695q3 -39 -26 -59q-15 -10 -329 -86q-67 -15 -91 -23l1 2q-23 -6 -46 4t-37 32q-30 47 0 87 q1 1 75 102q125 171 150 204t34 39q28 19 65 2q48 -23 123 -133.5t81 -167.5v-3z" />
483
- <glyph unicode="&#xf1ea;" horiz-adv-x="2048" d="M1024 1024h-384v-384h384v384zM1152 384v-128h-640v128h640zM1152 1152v-640h-640v640h640zM1792 384v-128h-512v128h512zM1792 640v-128h-512v128h512zM1792 896v-128h-512v128h512zM1792 1152v-128h-512v128h512zM256 192v960h-128v-960q0 -26 19 -45t45 -19t45 19 t19 45zM1920 192v1088h-1536v-1088q0 -33 -11 -64h1483q26 0 45 19t19 45zM2048 1408v-1216q0 -80 -56 -136t-136 -56h-1664q-80 0 -136 56t-56 136v1088h256v128h1792z" />
484
- <glyph unicode="&#xf1eb;" horiz-adv-x="2048" d="M1024 13q-20 0 -93 73.5t-73 93.5q0 32 62.5 54t103.5 22t103.5 -22t62.5 -54q0 -20 -73 -93.5t-93 -73.5zM1294 284q-2 0 -40 25t-101.5 50t-128.5 25t-128.5 -25t-101 -50t-40.5 -25q-18 0 -93.5 75t-75.5 93q0 13 10 23q78 77 196 121t233 44t233 -44t196 -121 q10 -10 10 -23q0 -18 -75.5 -93t-93.5 -75zM1567 556q-11 0 -23 8q-136 105 -252 154.5t-268 49.5q-85 0 -170.5 -22t-149 -53t-113.5 -62t-79 -53t-31 -22q-17 0 -92 75t-75 93q0 12 10 22q132 132 320 205t380 73t380 -73t320 -205q10 -10 10 -22q0 -18 -75 -93t-92 -75z M1838 827q-11 0 -22 9q-179 157 -371.5 236.5t-420.5 79.5t-420.5 -79.5t-371.5 -236.5q-11 -9 -22 -9q-17 0 -92.5 75t-75.5 93q0 13 10 23q187 186 445 288t527 102t527 -102t445 -288q10 -10 10 -23q0 -18 -75.5 -93t-92.5 -75z" />
485
- <glyph unicode="&#xf1ec;" horiz-adv-x="1792" d="M384 0q0 53 -37.5 90.5t-90.5 37.5t-90.5 -37.5t-37.5 -90.5t37.5 -90.5t90.5 -37.5t90.5 37.5t37.5 90.5zM768 0q0 53 -37.5 90.5t-90.5 37.5t-90.5 -37.5t-37.5 -90.5t37.5 -90.5t90.5 -37.5t90.5 37.5t37.5 90.5zM384 384q0 53 -37.5 90.5t-90.5 37.5t-90.5 -37.5 t-37.5 -90.5t37.5 -90.5t90.5 -37.5t90.5 37.5t37.5 90.5zM1152 0q0 53 -37.5 90.5t-90.5 37.5t-90.5 -37.5t-37.5 -90.5t37.5 -90.5t90.5 -37.5t90.5 37.5t37.5 90.5zM768 384q0 53 -37.5 90.5t-90.5 37.5t-90.5 -37.5t-37.5 -90.5t37.5 -90.5t90.5 -37.5t90.5 37.5 t37.5 90.5zM384 768q0 53 -37.5 90.5t-90.5 37.5t-90.5 -37.5t-37.5 -90.5t37.5 -90.5t90.5 -37.5t90.5 37.5t37.5 90.5zM1152 384q0 53 -37.5 90.5t-90.5 37.5t-90.5 -37.5t-37.5 -90.5t37.5 -90.5t90.5 -37.5t90.5 37.5t37.5 90.5zM768 768q0 53 -37.5 90.5t-90.5 37.5 t-90.5 -37.5t-37.5 -90.5t37.5 -90.5t90.5 -37.5t90.5 37.5t37.5 90.5zM1536 0v384q0 52 -38 90t-90 38t-90 -38t-38 -90v-384q0 -52 38 -90t90 -38t90 38t38 90zM1152 768q0 53 -37.5 90.5t-90.5 37.5t-90.5 -37.5t-37.5 -90.5t37.5 -90.5t90.5 -37.5t90.5 37.5t37.5 90.5z M1536 1088v256q0 26 -19 45t-45 19h-1280q-26 0 -45 -19t-19 -45v-256q0 -26 19 -45t45 -19h1280q26 0 45 19t19 45zM1536 768q0 53 -37.5 90.5t-90.5 37.5t-90.5 -37.5t-37.5 -90.5t37.5 -90.5t90.5 -37.5t90.5 37.5t37.5 90.5zM1664 1408v-1536q0 -52 -38 -90t-90 -38 h-1408q-52 0 -90 38t-38 90v1536q0 52 38 90t90 38h1408q52 0 90 -38t38 -90z" />
486
- <glyph unicode="&#xf1ed;" d="M1519 890q18 -84 -4 -204q-87 -444 -565 -444h-44q-25 0 -44 -16.5t-24 -42.5l-4 -19l-55 -346l-2 -15q-5 -26 -24.5 -42.5t-44.5 -16.5h-251q-21 0 -33 15t-9 36q9 56 26.5 168t26.5 168t27 167.5t27 167.5q5 37 43 37h131q133 -2 236 21q175 39 287 144q102 95 155 246 q24 70 35 133q1 6 2.5 7.5t3.5 1t6 -3.5q79 -59 98 -162zM1347 1172q0 -107 -46 -236q-80 -233 -302 -315q-113 -40 -252 -42q0 -1 -90 -1l-90 1q-100 0 -118 -96q-2 -8 -85 -530q-1 -10 -12 -10h-295q-22 0 -36.5 16.5t-11.5 38.5l232 1471q5 29 27.5 48t51.5 19h598 q34 0 97.5 -13t111.5 -32q107 -41 163.5 -123t56.5 -196z" />
487
- <glyph unicode="&#xf1ee;" horiz-adv-x="1792" d="M441 864q33 0 52 -26q266 -364 362 -774h-446q-127 441 -367 749q-12 16 -3 33.5t29 17.5h373zM1000 507q-49 -199 -125 -393q-79 310 -256 594q40 221 44 449q211 -340 337 -650zM1099 1216q235 -324 384.5 -698.5t184.5 -773.5h-451q-41 665 -553 1472h435zM1792 640 q0 -424 -101 -812q-67 560 -359 1083q-25 301 -106 584q-4 16 5.5 28.5t25.5 12.5h359q21 0 38.5 -13t22.5 -33q115 -409 115 -850z" />
488
- <glyph unicode="&#xf1f0;" horiz-adv-x="2304" d="M1975 546h-138q14 37 66 179l3 9q4 10 10 26t9 26l12 -55zM531 611l-58 295q-11 54 -75 54h-268l-2 -13q311 -79 403 -336zM710 960l-162 -438l-17 89q-26 70 -85 129.5t-131 88.5l135 -510h175l261 641h-176zM849 318h166l104 642h-166zM1617 944q-69 27 -149 27 q-123 0 -201 -59t-79 -153q-1 -102 145 -174q48 -23 67 -41t19 -39q0 -30 -30 -46t-69 -16q-86 0 -156 33l-22 11l-23 -144q74 -34 185 -34q130 -1 208.5 59t80.5 160q0 106 -140 174q-49 25 -71 42t-22 38q0 22 24.5 38.5t70.5 16.5q70 1 124 -24l15 -8zM2042 960h-128 q-65 0 -87 -54l-246 -588h174l35 96h212q5 -22 20 -96h154zM2304 1280v-1280q0 -52 -38 -90t-90 -38h-2048q-52 0 -90 38t-38 90v1280q0 52 38 90t90 38h2048q52 0 90 -38t38 -90z" />
489
- <glyph unicode="&#xf1f1;" horiz-adv-x="2304" d="M671 603h-13q-47 0 -47 -32q0 -22 20 -22q17 0 28 15t12 39zM1066 639h62v3q1 4 0.5 6.5t-1 7t-2 8t-4.5 6.5t-7.5 5t-11.5 2q-28 0 -36 -38zM1606 603h-12q-48 0 -48 -32q0 -22 20 -22q17 0 28 15t12 39zM1925 629q0 41 -30 41q-19 0 -31 -20t-12 -51q0 -42 28 -42 q20 0 32.5 20t12.5 52zM480 770h87l-44 -262h-56l32 201l-71 -201h-39l-4 200l-34 -200h-53l44 262h81l2 -163zM733 663q0 -6 -4 -42q-16 -101 -17 -113h-47l1 22q-20 -26 -58 -26q-23 0 -37.5 16t-14.5 42q0 39 26 60.5t73 21.5q14 0 23 -1q0 3 0.5 5.5t1 4.5t0.5 3 q0 20 -36 20q-29 0 -59 -10q0 4 7 48q39 11 67 11q74 0 74 -62zM889 721l-8 -49q-23 3 -41 3q-27 0 -27 -17q0 -8 4.5 -12t21.5 -11q40 -19 40 -60q0 -72 -87 -71q-34 0 -58 6q0 2 7 49q29 -8 51 -8q32 0 32 19q0 7 -4.5 11.5t-21.5 12.5q-43 20 -43 59q0 72 84 72 q30 0 50 -4zM977 721h28l-7 -52h-29q-2 -17 -6.5 -40.5t-7 -38.5t-2.5 -18q0 -16 19 -16q8 0 16 2l-8 -47q-21 -7 -40 -7q-43 0 -45 47q0 12 8 56q3 20 25 146h55zM1180 648q0 -23 -7 -52h-111q-3 -22 10 -33t38 -11q30 0 58 14l-9 -54q-30 -8 -57 -8q-95 0 -95 95 q0 55 27.5 90.5t69.5 35.5q35 0 55.5 -21t20.5 -56zM1319 722q-13 -23 -22 -62q-22 2 -31 -24t-25 -128h-56l3 14q22 130 29 199h51l-3 -33q14 21 25.5 29.5t28.5 4.5zM1506 763l-9 -57q-28 14 -50 14q-31 0 -51 -27.5t-20 -70.5q0 -30 13.5 -47t38.5 -17q21 0 48 13 l-10 -59q-28 -8 -50 -8q-45 0 -71.5 30.5t-26.5 82.5q0 70 35.5 114.5t91.5 44.5q26 0 61 -13zM1668 663q0 -18 -4 -42q-13 -79 -17 -113h-46l1 22q-20 -26 -59 -26q-23 0 -37 16t-14 42q0 39 25.5 60.5t72.5 21.5q15 0 23 -1q2 7 2 13q0 20 -36 20q-29 0 -59 -10q0 4 8 48 q38 11 67 11q73 0 73 -62zM1809 722q-14 -24 -21 -62q-23 2 -31.5 -23t-25.5 -129h-56l3 14q19 104 29 199h52q0 -11 -4 -33q15 21 26.5 29.5t27.5 4.5zM1950 770h56l-43 -262h-53l3 19q-23 -23 -52 -23q-31 0 -49.5 24t-18.5 64q0 53 27.5 92t64.5 39q31 0 53 -29z M2061 640q0 148 -72.5 273t-198 198t-273.5 73q-181 0 -328 -110q127 -116 171 -284h-50q-44 150 -158 253q-114 -103 -158 -253h-50q44 168 171 284q-147 110 -328 110q-148 0 -273.5 -73t-198 -198t-72.5 -273t72.5 -273t198 -198t273.5 -73q181 0 328 110 q-120 111 -165 264h50q46 -138 152 -233q106 95 152 233h50q-45 -153 -165 -264q147 -110 328 -110q148 0 273.5 73t198 198t72.5 273zM2304 1280v-1280q0 -52 -38 -90t-90 -38h-2048q-52 0 -90 38t-38 90v1280q0 52 38 90t90 38h2048q52 0 90 -38t38 -90z" />
490
- <glyph unicode="&#xf1f2;" horiz-adv-x="2304" d="M313 759q0 -51 -36 -84q-29 -26 -89 -26h-17v220h17q61 0 89 -27q36 -31 36 -83zM2089 824q0 -52 -64 -52h-19v101h20q63 0 63 -49zM380 759q0 74 -50 120.5t-129 46.5h-95v-333h95q74 0 119 38q60 51 60 128zM410 593h65v333h-65v-333zM730 694q0 40 -20.5 62t-75.5 42 q-29 10 -39.5 19t-10.5 23q0 16 13.5 26.5t34.5 10.5q29 0 53 -27l34 44q-41 37 -98 37q-44 0 -74 -27.5t-30 -67.5q0 -35 18 -55.5t64 -36.5q37 -13 45 -19q19 -12 19 -34q0 -20 -14 -33.5t-36 -13.5q-48 0 -71 44l-42 -40q44 -64 115 -64q51 0 83 30.5t32 79.5zM1008 604 v77q-37 -37 -78 -37q-49 0 -80.5 32.5t-31.5 82.5q0 48 31.5 81.5t77.5 33.5q43 0 81 -38v77q-40 20 -80 20q-74 0 -125.5 -50.5t-51.5 -123.5t51 -123.5t125 -50.5q42 0 81 19zM2240 0v527q-65 -40 -144.5 -84t-237.5 -117t-329.5 -137.5t-417.5 -134.5t-504 -118h1569 q26 0 45 19t19 45zM1389 757q0 75 -53 128t-128 53t-128 -53t-53 -128t53 -128t128 -53t128 53t53 128zM1541 584l144 342h-71l-90 -224l-89 224h-71l142 -342h35zM1714 593h184v56h-119v90h115v56h-115v74h119v57h-184v-333zM2105 593h80l-105 140q76 16 76 94q0 47 -31 73 t-87 26h-97v-333h65v133h9zM2304 1274v-1268q0 -56 -38.5 -95t-93.5 -39h-2040q-55 0 -93.5 39t-38.5 95v1268q0 56 38.5 95t93.5 39h2040q55 0 93.5 -39t38.5 -95z" />
491
- <glyph unicode="&#xf1f3;" horiz-adv-x="2304" d="M119 854h89l-45 108zM740 328l74 79l-70 79h-163v-49h142v-55h-142v-54h159zM898 406l99 -110v217zM1186 453q0 33 -40 33h-84v-69h83q41 0 41 36zM1475 457q0 29 -42 29h-82v-61h81q43 0 43 32zM1197 923q0 29 -42 29h-82v-60h81q43 0 43 31zM1656 854h89l-44 108z M699 1009v-271h-66v212l-94 -212h-57l-94 212v-212h-132l-25 60h-135l-25 -60h-70l116 271h96l110 -257v257h106l85 -184l77 184h108zM1255 453q0 -20 -5.5 -35t-14 -25t-22.5 -16.5t-26 -10t-31.5 -4.5t-31.5 -1t-32.5 0.5t-29.5 0.5v-91h-126l-80 90l-83 -90h-256v271h260 l80 -89l82 89h207q109 0 109 -89zM964 794v-56h-217v271h217v-57h-152v-49h148v-55h-148v-54h152zM2304 235v-229q0 -55 -38.5 -94.5t-93.5 -39.5h-2040q-55 0 -93.5 39.5t-38.5 94.5v678h111l25 61h55l25 -61h218v46l19 -46h113l20 47v-47h541v99l10 1q10 0 10 -14v-86h279 v23q23 -12 55 -18t52.5 -6.5t63 0.5t51.5 1l25 61h56l25 -61h227v58l34 -58h182v378h-180v-44l-25 44h-185v-44l-23 44h-249q-69 0 -109 -22v22h-172v-22q-24 22 -73 22h-628l-43 -97l-43 97h-198v-44l-22 44h-169l-78 -179v391q0 55 38.5 94.5t93.5 39.5h2040 q55 0 93.5 -39.5t38.5 -94.5v-678h-120q-51 0 -81 -22v22h-177q-55 0 -78 -22v22h-316v-22q-31 22 -87 22h-209v-22q-23 22 -91 22h-234l-54 -58l-50 58h-349v-378h343l55 59l52 -59h211v89h21q59 0 90 13v-102h174v99h8q8 0 10 -2t2 -10v-87h529q57 0 88 24v-24h168 q60 0 95 17zM1546 469q0 -23 -12 -43t-34 -29q25 -9 34 -26t9 -46v-54h-65v45q0 33 -12 43.5t-46 10.5h-69v-99h-65v271h154q48 0 77 -15t29 -58zM1269 936q0 -24 -12.5 -44t-33.5 -29q26 -9 34.5 -25.5t8.5 -46.5v-53h-65q0 9 0.5 26.5t0 25t-3 18.5t-8.5 16t-17.5 8.5 t-29.5 3.5h-70v-98h-64v271l153 -1q49 0 78 -14.5t29 -57.5zM1798 327v-56h-216v271h216v-56h-151v-49h148v-55h-148v-54zM1372 1009v-271h-66v271h66zM2065 357q0 -86 -102 -86h-126v58h126q34 0 34 25q0 16 -17 21t-41.5 5t-49.5 3.5t-42 22.5t-17 55q0 39 26 60t66 21 h130v-57h-119q-36 0 -36 -25q0 -16 17.5 -20.5t42 -4t49 -2.5t42 -21.5t17.5 -54.5zM2304 407v-101q-24 -35 -88 -35h-125v58h125q33 0 33 25q0 13 -12.5 19t-31 5.5t-40 2t-40 8t-31 24t-12.5 48.5q0 39 26.5 60t66.5 21h129v-57h-118q-36 0 -36 -25q0 -20 29 -22t68.5 -5 t56.5 -26zM2139 1008v-270h-92l-122 203v-203h-132l-26 60h-134l-25 -60h-75q-129 0 -129 133q0 138 133 138h63v-59q-7 0 -28 1t-28.5 0.5t-23 -2t-21.5 -6.5t-14.5 -13.5t-11.5 -23t-3 -33.5q0 -38 13.5 -58t49.5 -20h29l92 213h97l109 -256v256h99l114 -188v188h66z" />
492
- <glyph unicode="&#xf1f4;" horiz-adv-x="2304" d="M745 630q0 -37 -25.5 -61.5t-62.5 -24.5q-29 0 -46.5 16t-17.5 44q0 37 25 62.5t62 25.5q28 0 46.5 -16.5t18.5 -45.5zM1530 779q0 -42 -22 -57t-66 -15l-32 -1l17 107q2 11 13 11h18q22 0 35 -2t25 -12.5t12 -30.5zM1881 630q0 -36 -25.5 -61t-61.5 -25q-29 0 -47 16 t-18 44q0 37 25 62.5t62 25.5q28 0 46.5 -16.5t18.5 -45.5zM513 801q0 59 -38.5 85.5t-100.5 26.5h-160q-19 0 -21 -19l-65 -408q-1 -6 3 -11t10 -5h76q20 0 22 19l18 110q1 8 7 13t15 6.5t17 1.5t19 -1t14 -1q86 0 135 48.5t49 134.5zM822 489l41 261q1 6 -3 11t-10 5h-76 q-14 0 -17 -33q-27 40 -95 40q-72 0 -122.5 -54t-50.5 -127q0 -59 34.5 -94t92.5 -35q28 0 58 12t48 32q-4 -12 -4 -21q0 -16 13 -16h69q19 0 22 19zM1269 752q0 5 -4 9.5t-9 4.5h-77q-11 0 -18 -10l-106 -156l-44 150q-5 16 -22 16h-75q-5 0 -9 -4.5t-4 -9.5q0 -2 19.5 -59 t42 -123t23.5 -70q-82 -112 -82 -120q0 -13 13 -13h77q11 0 18 10l255 368q2 2 2 7zM1649 801q0 59 -38.5 85.5t-100.5 26.5h-159q-20 0 -22 -19l-65 -408q-1 -6 3 -11t10 -5h82q12 0 16 13l18 116q1 8 7 13t15 6.5t17 1.5t19 -1t14 -1q86 0 135 48.5t49 134.5zM1958 489 l41 261q1 6 -3 11t-10 5h-76q-14 0 -17 -33q-26 40 -95 40q-72 0 -122.5 -54t-50.5 -127q0 -59 34.5 -94t92.5 -35q29 0 59 12t47 32q0 -1 -2 -9t-2 -12q0 -16 13 -16h69q19 0 22 19zM2176 898v1q0 14 -13 14h-74q-11 0 -13 -11l-65 -416l-1 -2q0 -5 4 -9.5t10 -4.5h66 q19 0 21 19zM392 764q-5 -35 -26 -46t-60 -11l-33 -1l17 107q2 11 13 11h19q40 0 58 -11.5t12 -48.5zM2304 1280v-1280q0 -52 -38 -90t-90 -38h-2048q-52 0 -90 38t-38 90v1280q0 52 38 90t90 38h2048q52 0 90 -38t38 -90z" />
493
- <glyph unicode="&#xf1f5;" horiz-adv-x="2304" d="M1597 633q0 -69 -21 -106q-19 -35 -52 -35q-23 0 -41 9v224q29 30 57 30q57 0 57 -122zM2035 669h-110q6 98 56 98q51 0 54 -98zM476 534q0 59 -33 91.5t-101 57.5q-36 13 -52 24t-16 25q0 26 38 26q58 0 124 -33l18 112q-67 32 -149 32q-77 0 -123 -38q-48 -39 -48 -109 q0 -58 32.5 -90.5t99.5 -56.5q39 -14 54.5 -25.5t15.5 -27.5q0 -31 -48 -31q-29 0 -70 12.5t-72 30.5l-18 -113q72 -41 168 -41q81 0 129 37q51 41 51 117zM771 749l19 111h-96v135l-129 -21l-18 -114l-46 -8l-17 -103h62v-219q0 -84 44 -120q38 -30 111 -30q32 0 79 11v118 q-32 -7 -44 -7q-42 0 -42 50v197h77zM1087 724v139q-15 3 -28 3q-32 0 -55.5 -16t-33.5 -46l-10 56h-131v-471h150v306q26 31 82 31q16 0 26 -2zM1124 389h150v471h-150v-471zM1746 638q0 122 -45 179q-40 52 -111 52q-64 0 -117 -56l-8 47h-132v-645l150 25v151 q36 -11 68 -11q83 0 134 56q61 65 61 202zM1278 986q0 33 -23 56t-56 23t-56 -23t-23 -56t23 -56.5t56 -23.5t56 23.5t23 56.5zM2176 629q0 113 -48 176q-50 64 -144 64q-96 0 -151.5 -66t-55.5 -180q0 -128 63 -188q55 -55 161 -55q101 0 160 40l-16 103q-57 -31 -128 -31 q-43 0 -63 19q-23 19 -28 66h248q2 14 2 52zM2304 1280v-1280q0 -52 -38 -90t-90 -38h-2048q-52 0 -90 38t-38 90v1280q0 52 38 90t90 38h2048q52 0 90 -38t38 -90z" />
494
- <glyph unicode="&#xf1f6;" horiz-adv-x="2048" d="M1558 684q61 -356 298 -556q0 -52 -38 -90t-90 -38h-448q0 -106 -75 -181t-181 -75t-180.5 74.5t-75.5 180.5zM1024 -176q16 0 16 16t-16 16q-59 0 -101.5 42.5t-42.5 101.5q0 16 -16 16t-16 -16q0 -73 51.5 -124.5t124.5 -51.5zM2026 1424q8 -10 7.5 -23.5t-10.5 -22.5 l-1872 -1622q-10 -8 -23.5 -7t-21.5 11l-84 96q-8 10 -7.5 23.5t10.5 21.5l186 161q-19 32 -19 66q50 42 91 88t85 119.5t74.5 158.5t50 206t19.5 260q0 152 117 282.5t307 158.5q-8 19 -8 39q0 40 28 68t68 28t68 -28t28 -68q0 -20 -8 -39q124 -18 219 -82.5t148 -157.5 l418 363q10 8 23.5 7t21.5 -11z" />
495
- <glyph unicode="&#xf1f7;" horiz-adv-x="2048" d="M1040 -160q0 16 -16 16q-59 0 -101.5 42.5t-42.5 101.5q0 16 -16 16t-16 -16q0 -73 51.5 -124.5t124.5 -51.5q16 0 16 16zM503 315l877 760q-42 88 -132.5 146.5t-223.5 58.5q-93 0 -169.5 -31.5t-121.5 -80.5t-69 -103t-24 -105q0 -384 -137 -645zM1856 128 q0 -52 -38 -90t-90 -38h-448q0 -106 -75 -181t-181 -75t-180.5 74.5t-75.5 180.5l149 129h757q-166 187 -227 459l111 97q61 -356 298 -556zM1942 1520l84 -96q8 -10 7.5 -23.5t-10.5 -22.5l-1872 -1622q-10 -8 -23.5 -7t-21.5 11l-84 96q-8 10 -7.5 23.5t10.5 21.5l186 161 q-19 32 -19 66q50 42 91 88t85 119.5t74.5 158.5t50 206t19.5 260q0 152 117 282.5t307 158.5q-8 19 -8 39q0 40 28 68t68 28t68 -28t28 -68q0 -20 -8 -39q124 -18 219 -82.5t148 -157.5l418 363q10 8 23.5 7t21.5 -11z" />
496
- <glyph unicode="&#xf1f8;" horiz-adv-x="1408" d="M512 160v704q0 14 -9 23t-23 9h-64q-14 0 -23 -9t-9 -23v-704q0 -14 9 -23t23 -9h64q14 0 23 9t9 23zM768 160v704q0 14 -9 23t-23 9h-64q-14 0 -23 -9t-9 -23v-704q0 -14 9 -23t23 -9h64q14 0 23 9t9 23zM1024 160v704q0 14 -9 23t-23 9h-64q-14 0 -23 -9t-9 -23v-704 q0 -14 9 -23t23 -9h64q14 0 23 9t9 23zM480 1152h448l-48 117q-7 9 -17 11h-317q-10 -2 -17 -11zM1408 1120v-64q0 -14 -9 -23t-23 -9h-96v-948q0 -83 -47 -143.5t-113 -60.5h-832q-66 0 -113 58.5t-47 141.5v952h-96q-14 0 -23 9t-9 23v64q0 14 9 23t23 9h309l70 167 q15 37 54 63t79 26h320q40 0 79 -26t54 -63l70 -167h309q14 0 23 -9t9 -23z" />
497
- <glyph unicode="&#xf1f9;" d="M1150 462v-109q0 -50 -36.5 -89t-94 -60.5t-118 -32.5t-117.5 -11q-205 0 -342.5 139t-137.5 346q0 203 136 339t339 136q34 0 75.5 -4.5t93 -18t92.5 -34t69 -56.5t28 -81v-109q0 -16 -16 -16h-118q-16 0 -16 16v70q0 43 -65.5 67.5t-137.5 24.5q-140 0 -228.5 -91.5 t-88.5 -237.5q0 -151 91.5 -249.5t233.5 -98.5q68 0 138 24t70 66v70q0 7 4.5 11.5t10.5 4.5h119q6 0 11 -4.5t5 -11.5zM768 1280q-130 0 -248.5 -51t-204 -136.5t-136.5 -204t-51 -248.5t51 -248.5t136.5 -204t204 -136.5t248.5 -51t248.5 51t204 136.5t136.5 204t51 248.5 t-51 248.5t-136.5 204t-204 136.5t-248.5 51zM1536 640q0 -209 -103 -385.5t-279.5 -279.5t-385.5 -103t-385.5 103t-279.5 279.5t-103 385.5t103 385.5t279.5 279.5t385.5 103t385.5 -103t279.5 -279.5t103 -385.5z" />
498
- <glyph unicode="&#xf1fa;" d="M972 761q0 108 -53.5 169t-147.5 61q-63 0 -124 -30.5t-110 -84.5t-79.5 -137t-30.5 -180q0 -112 53.5 -173t150.5 -61q96 0 176 66.5t122.5 166t42.5 203.5zM1536 640q0 -111 -37 -197t-98.5 -135t-131.5 -74.5t-145 -27.5q-6 0 -15.5 -0.5t-16.5 -0.5q-95 0 -142 53 q-28 33 -33 83q-52 -66 -131.5 -110t-173.5 -44q-161 0 -249.5 95.5t-88.5 269.5q0 157 66 290t179 210.5t246 77.5q87 0 155 -35.5t106 -99.5l2 19l11 56q1 6 5.5 12t9.5 6h118q5 0 13 -11q5 -5 3 -16l-120 -614q-5 -24 -5 -48q0 -39 12.5 -52t44.5 -13q28 1 57 5.5t73 24 t77 50t57 89.5t24 137q0 292 -174 466t-466 174q-130 0 -248.5 -51t-204 -136.5t-136.5 -204t-51 -248.5t51 -248.5t136.5 -204t204 -136.5t248.5 -51q228 0 405 144q11 9 24 8t21 -12l41 -49q8 -12 7 -24q-2 -13 -12 -22q-102 -83 -227.5 -128t-258.5 -45q-156 0 -298 61 t-245 164t-164 245t-61 298t61 298t164 245t245 164t298 61q344 0 556 -212t212 -556z" />
499
- <glyph unicode="&#xf1fb;" horiz-adv-x="1792" d="M1698 1442q94 -94 94 -226.5t-94 -225.5l-225 -223l104 -104q10 -10 10 -23t-10 -23l-210 -210q-10 -10 -23 -10t-23 10l-105 105l-603 -603q-37 -37 -90 -37h-203l-256 -128l-64 64l128 256v203q0 53 37 90l603 603l-105 105q-10 10 -10 23t10 23l210 210q10 10 23 10 t23 -10l104 -104l223 225q93 94 225.5 94t226.5 -94zM512 64l576 576l-192 192l-576 -576v-192h192z" />
500
- <glyph unicode="&#xf1fc;" horiz-adv-x="1792" d="M1615 1536q70 0 122.5 -46.5t52.5 -116.5q0 -63 -45 -151q-332 -629 -465 -752q-97 -91 -218 -91q-126 0 -216.5 92.5t-90.5 219.5q0 128 92 212l638 579q59 54 130 54zM706 502q39 -76 106.5 -130t150.5 -76l1 -71q4 -213 -129.5 -347t-348.5 -134q-123 0 -218 46.5 t-152.5 127.5t-86.5 183t-29 220q7 -5 41 -30t62 -44.5t59 -36.5t46 -17q41 0 55 37q25 66 57.5 112.5t69.5 76t88 47.5t103 25.5t125 10.5z" />
501
- <glyph unicode="&#xf1fd;" horiz-adv-x="1792" d="M1792 128v-384h-1792v384q45 0 85 14t59 27.5t47 37.5q30 27 51.5 38t56.5 11q24 0 44 -7t31 -15t33 -27q29 -25 47 -38t58 -27t86 -14q45 0 85 14.5t58 27t48 37.5q21 19 32.5 27t31 15t43.5 7q35 0 56.5 -11t51.5 -38q28 -24 47 -37.5t59 -27.5t85 -14t85 14t59 27.5 t47 37.5q30 27 51.5 38t56.5 11q34 0 55.5 -11t51.5 -38q28 -24 47 -37.5t59 -27.5t85 -14zM1792 448v-192q-24 0 -44 7t-31 15t-33 27q-29 25 -47 38t-58 27t-85 14q-46 0 -86 -14t-58 -27t-47 -38q-22 -19 -33 -27t-31 -15t-44 -7q-35 0 -56.5 11t-51.5 38q-29 25 -47 38 t-58 27t-86 14q-45 0 -85 -14.5t-58 -27t-48 -37.5q-21 -19 -32.5 -27t-31 -15t-43.5 -7q-35 0 -56.5 11t-51.5 38q-28 24 -47 37.5t-59 27.5t-85 14q-46 0 -86 -14t-58 -27t-47 -38q-30 -27 -51.5 -38t-56.5 -11v192q0 80 56 136t136 56h64v448h256v-448h256v448h256v-448 h256v448h256v-448h64q80 0 136 -56t56 -136zM512 1312q0 -77 -36 -118.5t-92 -41.5q-53 0 -90.5 37.5t-37.5 90.5q0 29 9.5 51t23.5 34t31 28t31 31.5t23.5 44.5t9.5 67q38 0 83 -74t45 -150zM1024 1312q0 -77 -36 -118.5t-92 -41.5q-53 0 -90.5 37.5t-37.5 90.5 q0 29 9.5 51t23.5 34t31 28t31 31.5t23.5 44.5t9.5 67q38 0 83 -74t45 -150zM1536 1312q0 -77 -36 -118.5t-92 -41.5q-53 0 -90.5 37.5t-37.5 90.5q0 29 9.5 51t23.5 34t31 28t31 31.5t23.5 44.5t9.5 67q38 0 83 -74t45 -150z" />
502
- <glyph unicode="&#xf1fe;" horiz-adv-x="2048" d="M2048 0v-128h-2048v1536h128v-1408h1920zM1664 1024l256 -896h-1664v576l448 576l576 -576z" />
503
- <glyph unicode="&#xf200;" horiz-adv-x="1792" d="M768 646l546 -546q-106 -108 -247.5 -168t-298.5 -60q-209 0 -385.5 103t-279.5 279.5t-103 385.5t103 385.5t279.5 279.5t385.5 103v-762zM955 640h773q0 -157 -60 -298.5t-168 -247.5zM1664 768h-768v768q209 0 385.5 -103t279.5 -279.5t103 -385.5z" />
504
- <glyph unicode="&#xf201;" horiz-adv-x="2048" d="M2048 0v-128h-2048v1536h128v-1408h1920zM1920 1248v-435q0 -21 -19.5 -29.5t-35.5 7.5l-121 121l-633 -633q-10 -10 -23 -10t-23 10l-233 233l-416 -416l-192 192l585 585q10 10 23 10t23 -10l233 -233l464 464l-121 121q-16 16 -7.5 35.5t29.5 19.5h435q14 0 23 -9 t9 -23z" />
505
- <glyph unicode="&#xf202;" horiz-adv-x="1792" d="M1292 832q0 -6 10 -41q10 -29 25 -49.5t41 -34t44 -20t55 -16.5q325 -91 325 -332q0 -146 -105.5 -242.5t-254.5 -96.5q-59 0 -111.5 18.5t-91.5 45.5t-77 74.5t-63 87.5t-53.5 103.5t-43.5 103t-39.5 106.5t-35.5 95q-32 81 -61.5 133.5t-73.5 96.5t-104 64t-142 20 q-96 0 -183 -55.5t-138 -144.5t-51 -185q0 -160 106.5 -279.5t263.5 -119.5q177 0 258 95q56 63 83 116l84 -152q-15 -34 -44 -70l1 -1q-131 -152 -388 -152q-147 0 -269.5 79t-190.5 207.5t-68 274.5q0 105 43.5 206t116 176.5t172 121.5t204.5 46q87 0 159 -19t123.5 -50 t95 -80t72.5 -99t58.5 -117t50.5 -124.5t50 -130.5t55 -127q96 -200 233 -200q81 0 138.5 48.5t57.5 128.5q0 42 -19 72t-50.5 46t-72.5 31.5t-84.5 27t-87.5 34t-81 52t-65 82t-39 122.5q-3 16 -3 33q0 110 87.5 192t198.5 78q78 -3 120.5 -14.5t90.5 -53.5h-1 q12 -11 23 -24.5t26 -36t19 -27.5l-129 -99q-26 49 -54 70v1q-23 21 -97 21q-49 0 -84 -33t-35 -83z" />
506
- <glyph unicode="&#xf203;" d="M1432 484q0 173 -234 239q-35 10 -53 16.5t-38 25t-29 46.5q0 2 -2 8.5t-3 12t-1 7.5q0 36 24.5 59.5t60.5 23.5q54 0 71 -15h-1q20 -15 39 -51l93 71q-39 54 -49 64q-33 29 -67.5 39t-85.5 10q-80 0 -142 -57.5t-62 -137.5q0 -7 2 -23q16 -96 64.5 -140t148.5 -73 q29 -8 49 -15.5t45 -21.5t38.5 -34.5t13.5 -46.5v-5q1 -58 -40.5 -93t-100.5 -35q-97 0 -167 144q-23 47 -51.5 121.5t-48 125.5t-54 110.5t-74 95.5t-103.5 60.5t-147 24.5q-101 0 -192 -56t-144 -148t-50 -192v-1q4 -108 50.5 -199t133.5 -147.5t196 -56.5q186 0 279 110 q20 27 31 51l-60 109q-42 -80 -99 -116t-146 -36q-115 0 -191 87t-76 204q0 105 82 189t186 84q112 0 170 -53.5t104 -172.5q8 -21 25.5 -68.5t28.5 -76.5t31.5 -74.5t38.5 -74t45.5 -62.5t55.5 -53.5t66 -33t80 -13.5q107 0 183 69.5t76 174.5zM1536 1120v-960 q0 -119 -84.5 -203.5t-203.5 -84.5h-960q-119 0 -203.5 84.5t-84.5 203.5v960q0 119 84.5 203.5t203.5 84.5h960q119 0 203.5 -84.5t84.5 -203.5z" />
507
- <glyph unicode="&#xf204;" horiz-adv-x="2048" d="M1152 640q0 104 -40.5 198.5t-109.5 163.5t-163.5 109.5t-198.5 40.5t-198.5 -40.5t-163.5 -109.5t-109.5 -163.5t-40.5 -198.5t40.5 -198.5t109.5 -163.5t163.5 -109.5t198.5 -40.5t198.5 40.5t163.5 109.5t109.5 163.5t40.5 198.5zM1920 640q0 104 -40.5 198.5 t-109.5 163.5t-163.5 109.5t-198.5 40.5h-386q119 -90 188.5 -224t69.5 -288t-69.5 -288t-188.5 -224h386q104 0 198.5 40.5t163.5 109.5t109.5 163.5t40.5 198.5zM2048 640q0 -130 -51 -248.5t-136.5 -204t-204 -136.5t-248.5 -51h-768q-130 0 -248.5 51t-204 136.5 t-136.5 204t-51 248.5t51 248.5t136.5 204t204 136.5t248.5 51h768q130 0 248.5 -51t204 -136.5t136.5 -204t51 -248.5z" />
508
- <glyph unicode="&#xf205;" horiz-adv-x="2048" d="M0 640q0 130 51 248.5t136.5 204t204 136.5t248.5 51h768q130 0 248.5 -51t204 -136.5t136.5 -204t51 -248.5t-51 -248.5t-136.5 -204t-204 -136.5t-248.5 -51h-768q-130 0 -248.5 51t-204 136.5t-136.5 204t-51 248.5zM1408 128q104 0 198.5 40.5t163.5 109.5 t109.5 163.5t40.5 198.5t-40.5 198.5t-109.5 163.5t-163.5 109.5t-198.5 40.5t-198.5 -40.5t-163.5 -109.5t-109.5 -163.5t-40.5 -198.5t40.5 -198.5t109.5 -163.5t163.5 -109.5t198.5 -40.5z" />
509
- <glyph unicode="&#xf206;" horiz-adv-x="2304" d="M762 384h-314q-40 0 -57.5 35t6.5 67l188 251q-65 31 -137 31q-132 0 -226 -94t-94 -226t94 -226t226 -94q115 0 203 72.5t111 183.5zM576 512h186q-18 85 -75 148zM1056 512l288 384h-480l-99 -132q105 -103 126 -252h165zM2176 448q0 132 -94 226t-226 94 q-60 0 -121 -24l174 -260q15 -23 10 -49t-27 -40q-15 -11 -36 -11q-35 0 -53 29l-174 260q-93 -95 -93 -225q0 -132 94 -226t226 -94t226 94t94 226zM2304 448q0 -185 -131.5 -316.5t-316.5 -131.5t-316.5 131.5t-131.5 316.5q0 97 39.5 183.5t109.5 149.5l-65 98l-353 -469 q-18 -26 -51 -26h-197q-23 -164 -149 -274t-294 -110q-185 0 -316.5 131.5t-131.5 316.5t131.5 316.5t316.5 131.5q114 0 215 -55l137 183h-224q-26 0 -45 19t-19 45t19 45t45 19h384v-128h435l-85 128h-222q-26 0 -45 19t-19 45t19 45t45 19h256q33 0 53 -28l267 -400 q91 44 192 44q185 0 316.5 -131.5t131.5 -316.5z" />
510
- <glyph unicode="&#xf207;" d="M384 320q0 53 -37.5 90.5t-90.5 37.5t-90.5 -37.5t-37.5 -90.5t37.5 -90.5t90.5 -37.5t90.5 37.5t37.5 90.5zM1408 320q0 53 -37.5 90.5t-90.5 37.5t-90.5 -37.5t-37.5 -90.5t37.5 -90.5t90.5 -37.5t90.5 37.5t37.5 90.5zM1362 716l-72 384q-5 23 -22.5 37.5t-40.5 14.5 h-918q-23 0 -40.5 -14.5t-22.5 -37.5l-72 -384q-5 -30 14 -53t49 -23h1062q30 0 49 23t14 53zM1136 1328q0 20 -14 34t-34 14h-640q-20 0 -34 -14t-14 -34t14 -34t34 -14h640q20 0 34 14t14 34zM1536 603v-603h-128v-128q0 -53 -37.5 -90.5t-90.5 -37.5t-90.5 37.5 t-37.5 90.5v128h-768v-128q0 -53 -37.5 -90.5t-90.5 -37.5t-90.5 37.5t-37.5 90.5v128h-128v603q0 112 25 223l103 454q9 78 97.5 137t230 89t312.5 30t312.5 -30t230 -89t97.5 -137l105 -454q23 -102 23 -223z" />
511
- <glyph unicode="&#xf208;" horiz-adv-x="2048" d="M1463 704q0 -35 -25 -60.5t-61 -25.5h-702q-36 0 -61 25.5t-25 60.5t25 60.5t61 25.5h702q36 0 61 -25.5t25 -60.5zM1677 704q0 86 -23 170h-982q-36 0 -61 25t-25 60q0 36 25 61t61 25h908q-88 143 -235 227t-320 84q-177 0 -327.5 -87.5t-238 -237.5t-87.5 -327 q0 -86 23 -170h982q36 0 61 -25t25 -60q0 -36 -25 -61t-61 -25h-908q88 -143 235.5 -227t320.5 -84q132 0 253 51.5t208 139t139 208t52 253.5zM2048 959q0 -35 -25 -60t-61 -25h-131q17 -85 17 -170q0 -167 -65.5 -319.5t-175.5 -263t-262.5 -176t-319.5 -65.5 q-246 0 -448.5 133t-301.5 350h-189q-36 0 -61 25t-25 61q0 35 25 60t61 25h132q-17 85 -17 170q0 167 65.5 319.5t175.5 263t262.5 176t320.5 65.5q245 0 447.5 -133t301.5 -350h188q36 0 61 -25t25 -61z" />
512
- <glyph unicode="&#xf209;" horiz-adv-x="1280" d="M953 1158l-114 -328l117 -21q165 451 165 518q0 56 -38 56q-57 0 -130 -225zM654 471l33 -88q37 42 71 67l-33 5.5t-38.5 7t-32.5 8.5zM362 1367q0 -98 159 -521q17 10 49 10q15 0 75 -5l-121 351q-75 220 -123 220q-19 0 -29 -17.5t-10 -37.5zM283 608q0 -36 51.5 -119 t117.5 -153t100 -70q14 0 25.5 13t11.5 27q0 24 -32 102q-13 32 -32 72t-47.5 89t-61.5 81t-62 32q-20 0 -45.5 -27t-25.5 -47zM125 273q0 -41 25 -104q59 -145 183.5 -227t281.5 -82q227 0 382 170q152 169 152 427q0 43 -1 67t-11.5 62t-30.5 56q-56 49 -211.5 75.5 t-270.5 26.5q-37 0 -49 -11q-12 -5 -12 -35q0 -34 21.5 -60t55.5 -40t77.5 -23.5t87.5 -11.5t85 -4t70 0h23q24 0 40 -19q15 -19 19 -55q-28 -28 -96 -54q-61 -22 -93 -46q-64 -46 -108.5 -114t-44.5 -137q0 -31 18.5 -88.5t18.5 -87.5l-3 -12q-4 -12 -4 -14 q-137 10 -146 216q-8 -2 -41 -2q2 -7 2 -21q0 -53 -40.5 -89.5t-94.5 -36.5q-82 0 -166.5 78t-84.5 159q0 34 33 67q52 -64 60 -76q77 -104 133 -104q12 0 26.5 8.5t14.5 20.5q0 34 -87.5 145t-116.5 111q-43 0 -70 -44.5t-27 -90.5zM11 264q0 101 42.5 163t136.5 88 q-28 74 -28 104q0 62 61 123t122 61q29 0 70 -15q-163 462 -163 567q0 80 41 130.5t119 50.5q131 0 325 -581q6 -17 8 -23q6 16 29 79.5t43.5 118.5t54 127.5t64.5 123t70.5 86.5t76.5 36q71 0 112 -49t41 -122q0 -108 -159 -550q61 -15 100.5 -46t58.5 -78t26 -93.5 t7 -110.5q0 -150 -47 -280t-132 -225t-211 -150t-278 -55q-111 0 -223 42q-149 57 -258 191.5t-109 286.5z" />
513
- <glyph unicode="&#xf20a;" horiz-adv-x="2048" d="M785 528h207q-14 -158 -98.5 -248.5t-214.5 -90.5q-162 0 -254.5 116t-92.5 316q0 194 93 311.5t233 117.5q148 0 232 -87t97 -247h-203q-5 64 -35.5 99t-81.5 35q-57 0 -88.5 -60.5t-31.5 -177.5q0 -48 5 -84t18 -69.5t40 -51.5t66 -18q95 0 109 139zM1497 528h206 q-14 -158 -98 -248.5t-214 -90.5q-162 0 -254.5 116t-92.5 316q0 194 93 311.5t233 117.5q148 0 232 -87t97 -247h-204q-4 64 -35 99t-81 35q-57 0 -88.5 -60.5t-31.5 -177.5q0 -48 5 -84t18 -69.5t39.5 -51.5t65.5 -18q49 0 76.5 38t33.5 101zM1856 647q0 207 -15.5 307 t-60.5 161q-6 8 -13.5 14t-21.5 15t-16 11q-86 63 -697 63q-625 0 -710 -63q-5 -4 -17.5 -11.5t-21 -14t-14.5 -14.5q-45 -60 -60 -159.5t-15 -308.5q0 -208 15 -307.5t60 -160.5q6 -8 15 -15t20.5 -14t17.5 -12q44 -33 239.5 -49t470.5 -16q610 0 697 65q5 4 17 11t20.5 14 t13.5 16q46 60 61 159t15 309zM2048 1408v-1536h-2048v1536h2048z" />
514
- <glyph unicode="&#xf20b;" d="M992 912v-496q0 -14 -9 -23t-23 -9h-160q-14 0 -23 9t-9 23v496q0 112 -80 192t-192 80h-272v-1152q0 -14 -9 -23t-23 -9h-160q-14 0 -23 9t-9 23v1344q0 14 9 23t23 9h464q135 0 249 -66.5t180.5 -180.5t66.5 -249zM1376 1376v-880q0 -135 -66.5 -249t-180.5 -180.5 t-249 -66.5h-464q-14 0 -23 9t-9 23v960q0 14 9 23t23 9h160q14 0 23 -9t9 -23v-768h272q112 0 192 80t80 192v880q0 14 9 23t23 9h160q14 0 23 -9t9 -23z" />
515
- <glyph unicode="&#xf20c;" d="M1311 694v-114q0 -24 -13.5 -38t-37.5 -14h-202q-24 0 -38 14t-14 38v114q0 24 14 38t38 14h202q24 0 37.5 -14t13.5 -38zM821 464v250q0 53 -32.5 85.5t-85.5 32.5h-133q-68 0 -96 -52q-28 52 -96 52h-130q-53 0 -85.5 -32.5t-32.5 -85.5v-250q0 -22 21 -22h55 q22 0 22 22v230q0 24 13.5 38t38.5 14h94q24 0 38 -14t14 -38v-230q0 -22 21 -22h54q22 0 22 22v230q0 24 14 38t38 14h97q24 0 37.5 -14t13.5 -38v-230q0 -22 22 -22h55q21 0 21 22zM1410 560v154q0 53 -33 85.5t-86 32.5h-264q-53 0 -86 -32.5t-33 -85.5v-410 q0 -21 22 -21h55q21 0 21 21v180q31 -42 94 -42h191q53 0 86 32.5t33 85.5zM1536 1176v-1072q0 -96 -68 -164t-164 -68h-1072q-96 0 -164 68t-68 164v1072q0 96 68 164t164 68h1072q96 0 164 -68t68 -164z" />
516
- <glyph unicode="&#xf20d;" d="M915 450h-294l147 551zM1001 128h311l-324 1024h-440l-324 -1024h311l383 314zM1536 1120v-960q0 -118 -85 -203t-203 -85h-960q-118 0 -203 85t-85 203v960q0 118 85 203t203 85h960q118 0 203 -85t85 -203z" />
517
- <glyph unicode="&#xf20e;" horiz-adv-x="2048" d="M2048 641q0 -21 -13 -36.5t-33 -19.5l-205 -356q3 -9 3 -18q0 -20 -12.5 -35.5t-32.5 -19.5l-193 -337q3 -8 3 -16q0 -23 -16.5 -40t-40.5 -17q-25 0 -41 18h-400q-17 -20 -43 -20t-43 20h-399q-17 -20 -43 -20q-23 0 -40 16.5t-17 40.5q0 8 4 20l-193 335 q-20 4 -32.5 19.5t-12.5 35.5q0 9 3 18l-206 356q-20 5 -32.5 20.5t-12.5 35.5q0 21 13.5 36.5t33.5 19.5l199 344q0 1 -0.5 3t-0.5 3q0 36 34 51l209 363q-4 10 -4 18q0 24 17 40.5t40 16.5q26 0 44 -21h396q16 21 43 21t43 -21h398q18 21 44 21q23 0 40 -16.5t17 -40.5 q0 -6 -4 -18l207 -358q23 -1 39 -17.5t16 -38.5q0 -13 -7 -27l187 -324q19 -4 31.5 -19.5t12.5 -35.5zM1063 -158h389l-342 354h-143l-342 -354h360q18 16 39 16t39 -16zM112 654q1 -4 1 -13q0 -10 -2 -15l208 -360l15 -6l188 199v347l-187 194q-13 -8 -29 -10zM986 1438 h-388l190 -200l554 200h-280q-16 -16 -38 -16t-38 16zM1689 226q1 6 5 11l-64 68l-17 -79h76zM1583 226l22 105l-252 266l-296 -307l63 -64h463zM1495 -142l16 28l65 310h-427l333 -343q8 4 13 5zM578 -158h5l342 354h-373v-335l4 -6q14 -5 22 -13zM552 226h402l64 66 l-309 321l-157 -166v-221zM359 226h163v189l-168 -177q4 -8 5 -12zM358 1051q0 -1 0.5 -2t0.5 -2q0 -16 -8 -29l171 -177v269zM552 1121v-311l153 -157l297 314l-223 236zM556 1425l-4 -8v-264l205 74l-191 201q-6 -2 -10 -3zM1447 1438h-16l-621 -224l213 -225zM1023 946 l-297 -315l311 -319l296 307zM688 634l-136 141v-284zM1038 270l-42 -44h85zM1374 618l238 -251l132 624l-3 5l-1 1zM1718 1018q-8 13 -8 29v2l-216 376q-5 1 -13 5l-437 -463l310 -327zM522 1142v223l-163 -282zM522 196h-163l163 -283v283zM1607 196l-48 -227l130 227h-82 zM1729 266l207 361q-2 10 -2 14q0 1 3 16l-171 296l-129 -612l77 -82q5 3 15 7z" />
518
- <glyph unicode="&#xf210;" d="M0 856q0 131 91.5 226.5t222.5 95.5h742l352 358v-1470q0 -132 -91.5 -227t-222.5 -95h-780q-131 0 -222.5 95t-91.5 227v790zM1232 102l-176 180v425q0 46 -32 79t-78 33h-484q-46 0 -78 -33t-32 -79v-492q0 -46 32.5 -79.5t77.5 -33.5h770z" />
519
- <glyph unicode="&#xf211;" d="M934 1386q-317 -121 -556 -362.5t-358 -560.5q-20 89 -20 176q0 208 102.5 384.5t278.5 279t384 102.5q82 0 169 -19zM1203 1267q93 -65 164 -155q-389 -113 -674.5 -400.5t-396.5 -676.5q-93 72 -155 162q112 386 395 671t667 399zM470 -67q115 356 379.5 622t619.5 384 q40 -92 54 -195q-292 -120 -516 -345t-343 -518q-103 14 -194 52zM1536 -125q-193 50 -367 115q-135 -84 -290 -107q109 205 274 370.5t369 275.5q-21 -152 -101 -284q65 -175 115 -370z" />
520
- <glyph unicode="&#xf212;" horiz-adv-x="2048" d="M1893 1144l155 -1272q-131 0 -257 57q-200 91 -393 91q-226 0 -374 -148q-148 148 -374 148q-193 0 -393 -91q-128 -57 -252 -57h-5l155 1272q224 127 482 127q233 0 387 -106q154 106 387 106q258 0 482 -127zM1398 157q129 0 232 -28.5t260 -93.5l-124 1021 q-171 78 -368 78q-224 0 -374 -141q-150 141 -374 141q-197 0 -368 -78l-124 -1021q105 43 165.5 65t148.5 39.5t178 17.5q202 0 374 -108q172 108 374 108zM1438 191l-55 907q-211 -4 -359 -155q-152 155 -374 155q-176 0 -336 -66l-114 -941q124 51 228.5 76t221.5 25 q209 0 374 -102q172 107 374 102z" />
521
- <glyph unicode="&#xf213;" horiz-adv-x="2048" d="M1500 165v733q0 21 -15 36t-35 15h-93q-20 0 -35 -15t-15 -36v-733q0 -20 15 -35t35 -15h93q20 0 35 15t15 35zM1216 165v531q0 20 -15 35t-35 15h-101q-20 0 -35 -15t-15 -35v-531q0 -20 15 -35t35 -15h101q20 0 35 15t15 35zM924 165v429q0 20 -15 35t-35 15h-101 q-20 0 -35 -15t-15 -35v-429q0 -20 15 -35t35 -15h101q20 0 35 15t15 35zM632 165v362q0 20 -15 35t-35 15h-101q-20 0 -35 -15t-15 -35v-362q0 -20 15 -35t35 -15h101q20 0 35 15t15 35zM2048 311q0 -166 -118 -284t-284 -118h-1244q-166 0 -284 118t-118 284 q0 116 63 214.5t168 148.5q-10 34 -10 73q0 113 80.5 193.5t193.5 80.5q102 0 180 -67q45 183 194 300t338 117q149 0 275 -73.5t199.5 -199.5t73.5 -275q0 -66 -14 -122q135 -33 221 -142.5t86 -247.5z" />
522
- <glyph unicode="&#xf214;" d="M0 1536h1536v-1392l-776 -338l-760 338v1392zM1436 209v926h-1336v-926l661 -294zM1436 1235v201h-1336v-201h1336zM181 937v-115h-37v115h37zM181 789v-115h-37v115h37zM181 641v-115h-37v115h37zM181 493v-115h-37v115h37zM181 345v-115h-37v115h37zM207 202l15 34 l105 -47l-15 -33zM343 142l15 34l105 -46l-15 -34zM478 82l15 34l105 -46l-15 -34zM614 23l15 33l104 -46l-15 -34zM797 10l105 46l15 -33l-105 -47zM932 70l105 46l15 -34l-105 -46zM1068 130l105 46l15 -34l-105 -46zM1203 189l105 47l15 -34l-105 -46zM259 1389v-36h-114 v36h114zM421 1389v-36h-115v36h115zM583 1389v-36h-115v36h115zM744 1389v-36h-114v36h114zM906 1389v-36h-114v36h114zM1068 1389v-36h-115v36h115zM1230 1389v-36h-115v36h115zM1391 1389v-36h-114v36h114zM181 1049v-79h-37v115h115v-36h-78zM421 1085v-36h-115v36h115z M583 1085v-36h-115v36h115zM744 1085v-36h-114v36h114zM906 1085v-36h-114v36h114zM1068 1085v-36h-115v36h115zM1230 1085v-36h-115v36h115zM1355 970v79h-78v36h115v-115h-37zM1355 822v115h37v-115h-37zM1355 674v115h37v-115h-37zM1355 526v115h37v-115h-37zM1355 378 v115h37v-115h-37zM1355 230v115h37v-115h-37zM760 265q-129 0 -221 91.5t-92 221.5q0 129 92 221t221 92q130 0 221.5 -92t91.5 -221q0 -130 -91.5 -221.5t-221.5 -91.5zM595 646q0 -36 19.5 -56.5t49.5 -25t64 -7t64 -2t49.5 -9t19.5 -30.5q0 -49 -112 -49q-97 0 -123 51 h-3l-31 -63q67 -42 162 -42q29 0 56.5 5t55.5 16t45.5 33t17.5 53q0 46 -27.5 69.5t-67.5 27t-79.5 3t-67 5t-27.5 25.5q0 21 20.5 33t40.5 15t41 3q34 0 70.5 -11t51.5 -34h3l30 58q-3 1 -21 8.5t-22.5 9t-19.5 7t-22 7t-20 4.5t-24 4t-23 1q-29 0 -56.5 -5t-54 -16.5 t-43 -34t-16.5 -53.5z" />
523
- <glyph unicode="&#xf215;" horiz-adv-x="2048" d="M863 504q0 112 -79.5 191.5t-191.5 79.5t-191 -79.5t-79 -191.5t79 -191t191 -79t191.5 79t79.5 191zM1726 505q0 112 -79 191t-191 79t-191.5 -79t-79.5 -191q0 -113 79.5 -192t191.5 -79t191 79.5t79 191.5zM2048 1314v-1348q0 -44 -31.5 -75.5t-76.5 -31.5h-1832 q-45 0 -76.5 31.5t-31.5 75.5v1348q0 44 31.5 75.5t76.5 31.5h431q44 0 76 -31.5t32 -75.5v-161h754v161q0 44 32 75.5t76 31.5h431q45 0 76.5 -31.5t31.5 -75.5z" />
524
- <glyph unicode="&#xf216;" horiz-adv-x="2048" d="M1430 953zM1690 749q148 0 253 -98.5t105 -244.5q0 -157 -109 -261.5t-267 -104.5q-85 0 -162 27.5t-138 73.5t-118 106t-109 126t-103.5 132.5t-108.5 126.5t-117 106t-136 73.5t-159 27.5q-154 0 -251.5 -91.5t-97.5 -244.5q0 -157 104 -250t263 -93q100 0 208 37.5 t193 98.5q5 4 21 18.5t30 24t22 9.5q14 0 24.5 -10.5t10.5 -24.5q0 -24 -60 -77q-101 -88 -234.5 -142t-260.5 -54q-133 0 -245.5 58t-180 165t-67.5 241q0 205 141.5 341t347.5 136q120 0 226.5 -43.5t185.5 -113t151.5 -153t139 -167.5t133.5 -153.5t149.5 -113 t172.5 -43.5q102 0 168.5 61.5t66.5 162.5q0 95 -64.5 159t-159.5 64q-30 0 -81.5 -18.5t-68.5 -18.5q-20 0 -35.5 15t-15.5 35q0 18 8.5 57t8.5 59q0 159 -107.5 263t-266.5 104q-58 0 -111.5 -18.5t-84 -40.5t-55.5 -40.5t-33 -18.5q-15 0 -25.5 10.5t-10.5 25.5 q0 19 25 46q59 67 147 103.5t182 36.5q191 0 318 -125.5t127 -315.5q0 -37 -4 -66q57 15 115 15z" />
525
- <glyph unicode="&#xf217;" horiz-adv-x="1664" d="M1216 832q0 26 -19 45t-45 19h-128v128q0 26 -19 45t-45 19t-45 -19t-19 -45v-128h-128q-26 0 -45 -19t-19 -45t19 -45t45 -19h128v-128q0 -26 19 -45t45 -19t45 19t19 45v128h128q26 0 45 19t19 45zM640 0q0 -53 -37.5 -90.5t-90.5 -37.5t-90.5 37.5t-37.5 90.5 t37.5 90.5t90.5 37.5t90.5 -37.5t37.5 -90.5zM1536 0q0 -53 -37.5 -90.5t-90.5 -37.5t-90.5 37.5t-37.5 90.5t37.5 90.5t90.5 37.5t90.5 -37.5t37.5 -90.5zM1664 1088v-512q0 -24 -16 -42.5t-41 -21.5l-1044 -122q1 -7 4.5 -21.5t6 -26.5t2.5 -22q0 -16 -24 -64h920 q26 0 45 -19t19 -45t-19 -45t-45 -19h-1024q-26 0 -45 19t-19 45q0 14 11 39.5t29.5 59.5t20.5 38l-177 823h-204q-26 0 -45 19t-19 45t19 45t45 19h256q16 0 28.5 -6.5t20 -15.5t13 -24.5t7.5 -26.5t5.5 -29.5t4.5 -25.5h1201q26 0 45 -19t19 -45z" />
526
- <glyph unicode="&#xf218;" horiz-adv-x="1664" d="M1280 832q0 26 -19 45t-45 19t-45 -19l-147 -146v293q0 26 -19 45t-45 19t-45 -19t-19 -45v-293l-147 146q-19 19 -45 19t-45 -19t-19 -45t19 -45l256 -256q19 -19 45 -19t45 19l256 256q19 19 19 45zM640 0q0 -53 -37.5 -90.5t-90.5 -37.5t-90.5 37.5t-37.5 90.5 t37.5 90.5t90.5 37.5t90.5 -37.5t37.5 -90.5zM1536 0q0 -53 -37.5 -90.5t-90.5 -37.5t-90.5 37.5t-37.5 90.5t37.5 90.5t90.5 37.5t90.5 -37.5t37.5 -90.5zM1664 1088v-512q0 -24 -16 -42.5t-41 -21.5l-1044 -122q1 -7 4.5 -21.5t6 -26.5t2.5 -22q0 -16 -24 -64h920 q26 0 45 -19t19 -45t-19 -45t-45 -19h-1024q-26 0 -45 19t-19 45q0 14 11 39.5t29.5 59.5t20.5 38l-177 823h-204q-26 0 -45 19t-19 45t19 45t45 19h256q16 0 28.5 -6.5t20 -15.5t13 -24.5t7.5 -26.5t5.5 -29.5t4.5 -25.5h1201q26 0 45 -19t19 -45z" />
527
- <glyph unicode="&#xf219;" horiz-adv-x="2048" d="M212 768l623 -665l-300 665h-323zM1024 -4l349 772h-698zM538 896l204 384h-262l-288 -384h346zM1213 103l623 665h-323zM683 896h682l-204 384h-274zM1510 896h346l-288 384h-262zM1651 1382l384 -512q14 -18 13 -41.5t-17 -40.5l-960 -1024q-18 -20 -47 -20t-47 20 l-960 1024q-16 17 -17 40.5t13 41.5l384 512q18 26 51 26h1152q33 0 51 -26z" />
528
- <glyph unicode="&#xf21a;" horiz-adv-x="2048" d="M1811 -19q19 19 45 19t45 -19l128 -128l-90 -90l-83 83l-83 -83q-18 -19 -45 -19t-45 19l-83 83l-83 -83q-19 -19 -45 -19t-45 19l-83 83l-83 -83q-19 -19 -45 -19t-45 19l-83 83l-83 -83q-19 -19 -45 -19t-45 19l-83 83l-83 -83q-19 -19 -45 -19t-45 19l-83 83l-83 -83 q-19 -19 -45 -19t-45 19l-83 83l-83 -83q-19 -19 -45 -19t-45 19l-128 128l90 90l83 -83l83 83q19 19 45 19t45 -19l83 -83l83 83q19 19 45 19t45 -19l83 -83l83 83q19 19 45 19t45 -19l83 -83l83 83q19 19 45 19t45 -19l83 -83l83 83q19 19 45 19t45 -19l83 -83l83 83 q19 19 45 19t45 -19l83 -83zM237 19q-19 -19 -45 -19t-45 19l-128 128l90 90l83 -82l83 82q19 19 45 19t45 -19l83 -82l64 64v293l-210 314q-17 26 -7 56.5t40 40.5l177 58v299h128v128h256v128h256v-128h256v-128h128v-299l177 -58q30 -10 40 -40.5t-7 -56.5l-210 -314 v-293l19 18q19 19 45 19t45 -19l83 -82l83 82q19 19 45 19t45 -19l128 -128l-90 -90l-83 83l-83 -83q-18 -19 -45 -19t-45 19l-83 83l-83 -83q-19 -19 -45 -19t-45 19l-83 83l-83 -83q-19 -19 -45 -19t-45 19l-83 83l-83 -83q-19 -19 -45 -19t-45 19l-83 83l-83 -83 q-19 -19 -45 -19t-45 19l-83 83l-83 -83q-19 -19 -45 -19t-45 19l-83 83zM640 1152v-128l384 128l384 -128v128h-128v128h-512v-128h-128z" />
529
- <glyph unicode="&#xf21b;" d="M576 0l96 448l-96 128l-128 64zM832 0l128 640l-128 -64l-96 -128zM992 1010q-2 4 -4 6q-10 8 -96 8q-70 0 -167 -19q-7 -2 -21 -2t-21 2q-97 19 -167 19q-86 0 -96 -8q-2 -2 -4 -6q2 -18 4 -27q2 -3 7.5 -6.5t7.5 -10.5q2 -4 7.5 -20.5t7 -20.5t7.5 -17t8.5 -17t9 -14 t12 -13.5t14 -9.5t17.5 -8t20.5 -4t24.5 -2q36 0 59 12.5t32.5 30t14.5 34.5t11.5 29.5t17.5 12.5h12q11 0 17.5 -12.5t11.5 -29.5t14.5 -34.5t32.5 -30t59 -12.5q13 0 24.5 2t20.5 4t17.5 8t14 9.5t12 13.5t9 14t8.5 17t7.5 17t7 20.5t7.5 20.5q2 7 7.5 10.5t7.5 6.5 q2 9 4 27zM1408 131q0 -121 -73 -190t-194 -69h-874q-121 0 -194 69t-73 190q0 61 4.5 118t19 125.5t37.5 123.5t63.5 103.5t93.5 74.5l-90 220h214q-22 64 -22 128q0 12 2 32q-194 40 -194 96q0 57 210 99q17 62 51.5 134t70.5 114q32 37 76 37q30 0 84 -31t84 -31t84 31 t84 31q44 0 76 -37q36 -42 70.5 -114t51.5 -134q210 -42 210 -99q0 -56 -194 -96q7 -81 -20 -160h214l-82 -225q63 -33 107.5 -96.5t65.5 -143.5t29 -151.5t8 -148.5z" />
530
- <glyph unicode="&#xf21c;" horiz-adv-x="2304" d="M2301 500q12 -103 -22 -198.5t-99 -163.5t-158.5 -106t-196.5 -31q-161 11 -279.5 125t-134.5 274q-12 111 27.5 210.5t118.5 170.5l-71 107q-96 -80 -151 -194t-55 -244q0 -27 -18.5 -46.5t-45.5 -19.5h-256h-69q-23 -164 -149 -274t-294 -110q-185 0 -316.5 131.5 t-131.5 316.5t131.5 316.5t316.5 131.5q76 0 152 -27l24 45q-123 110 -304 110h-64q-26 0 -45 19t-19 45t19 45t45 19h128q78 0 145 -13.5t116.5 -38.5t71.5 -39.5t51 -36.5h512h115l-85 128h-222q-30 0 -49 22.5t-14 52.5q4 23 23 38t43 15h253q33 0 53 -28l70 -105 l114 114q19 19 46 19h101q26 0 45 -19t19 -45v-128q0 -26 -19 -45t-45 -19h-179l115 -172q131 63 275 36q143 -26 244 -134.5t118 -253.5zM448 128q115 0 203 72.5t111 183.5h-314q-35 0 -55 31q-18 32 -1 63l147 277q-47 13 -91 13q-132 0 -226 -94t-94 -226t94 -226 t226 -94zM1856 128q132 0 226 94t94 226t-94 226t-226 94q-60 0 -121 -24l174 -260q15 -23 10 -49t-27 -40q-15 -11 -36 -11q-35 0 -53 29l-174 260q-93 -95 -93 -225q0 -132 94 -226t226 -94z" />
531
- <glyph unicode="&#xf21d;" d="M1408 0q0 -63 -61.5 -113.5t-164 -81t-225 -46t-253.5 -15.5t-253.5 15.5t-225 46t-164 81t-61.5 113.5q0 49 33 88.5t91 66.5t118 44.5t131 29.5q26 5 48 -10.5t26 -41.5q5 -26 -10.5 -48t-41.5 -26q-58 -10 -106 -23.5t-76.5 -25.5t-48.5 -23.5t-27.5 -19.5t-8.5 -12 q3 -11 27 -26.5t73 -33t114 -32.5t160.5 -25t201.5 -10t201.5 10t160.5 25t114 33t73 33.5t27 27.5q-1 4 -8.5 11t-27.5 19t-48.5 23.5t-76.5 25t-106 23.5q-26 4 -41.5 26t-10.5 48q4 26 26 41.5t48 10.5q71 -12 131 -29.5t118 -44.5t91 -66.5t33 -88.5zM1024 896v-384 q0 -26 -19 -45t-45 -19h-64v-384q0 -26 -19 -45t-45 -19h-256q-26 0 -45 19t-19 45v384h-64q-26 0 -45 19t-19 45v384q0 53 37.5 90.5t90.5 37.5h384q53 0 90.5 -37.5t37.5 -90.5zM928 1280q0 -93 -65.5 -158.5t-158.5 -65.5t-158.5 65.5t-65.5 158.5t65.5 158.5t158.5 65.5 t158.5 -65.5t65.5 -158.5z" />
532
- <glyph unicode="&#xf21e;" horiz-adv-x="1792" d="M1280 512h305q-5 -6 -10 -10.5t-9 -7.5l-3 -4l-623 -600q-18 -18 -44 -18t-44 18l-624 602q-5 2 -21 20h369q22 0 39.5 13.5t22.5 34.5l70 281l190 -667q6 -20 23 -33t39 -13q21 0 38 13t23 33l146 485l56 -112q18 -35 57 -35zM1792 940q0 -145 -103 -300h-369l-111 221 q-8 17 -25.5 27t-36.5 8q-45 -5 -56 -46l-129 -430l-196 686q-6 20 -23.5 33t-39.5 13t-39 -13.5t-22 -34.5l-116 -464h-423q-103 155 -103 300q0 220 127 344t351 124q62 0 126.5 -21.5t120 -58t95.5 -68.5t76 -68q36 36 76 68t95.5 68.5t120 58t126.5 21.5q224 0 351 -124 t127 -344z" />
533
- <glyph unicode="&#xf221;" horiz-adv-x="1280" d="M1152 960q0 -221 -147.5 -384.5t-364.5 -187.5v-260h224q14 0 23 -9t9 -23v-64q0 -14 -9 -23t-23 -9h-224v-224q0 -14 -9 -23t-23 -9h-64q-14 0 -23 9t-9 23v224h-224q-14 0 -23 9t-9 23v64q0 14 9 23t23 9h224v260q-150 16 -271.5 103t-186 224t-52.5 292 q11 134 80.5 249t182 188t245.5 88q170 19 319 -54t236 -212t87 -306zM128 960q0 -185 131.5 -316.5t316.5 -131.5t316.5 131.5t131.5 316.5t-131.5 316.5t-316.5 131.5t-316.5 -131.5t-131.5 -316.5z" />
534
- <glyph unicode="&#xf222;" d="M1472 1408q26 0 45 -19t19 -45v-416q0 -14 -9 -23t-23 -9h-64q-14 0 -23 9t-9 23v262l-382 -383q126 -156 126 -359q0 -117 -45.5 -223.5t-123 -184t-184 -123t-223.5 -45.5t-223.5 45.5t-184 123t-123 184t-45.5 223.5t45.5 223.5t123 184t184 123t223.5 45.5 q203 0 359 -126l382 382h-261q-14 0 -23 9t-9 23v64q0 14 9 23t23 9h416zM576 0q185 0 316.5 131.5t131.5 316.5t-131.5 316.5t-316.5 131.5t-316.5 -131.5t-131.5 -316.5t131.5 -316.5t316.5 -131.5z" />
535
- <glyph unicode="&#xf223;" horiz-adv-x="1280" d="M830 1220q145 -72 233.5 -210.5t88.5 -305.5q0 -221 -147.5 -384.5t-364.5 -187.5v-132h96q14 0 23 -9t9 -23v-64q0 -14 -9 -23t-23 -9h-96v-96q0 -14 -9 -23t-23 -9h-64q-14 0 -23 9t-9 23v96h-96q-14 0 -23 9t-9 23v64q0 14 9 23t23 9h96v132q-217 24 -364.5 187.5 t-147.5 384.5q0 167 88.5 305.5t233.5 210.5q-165 96 -228 273q-6 16 3.5 29.5t26.5 13.5h69q21 0 29 -20q44 -106 140 -171t214 -65t214 65t140 171q8 20 37 20h61q17 0 26.5 -13.5t3.5 -29.5q-63 -177 -228 -273zM576 256q185 0 316.5 131.5t131.5 316.5t-131.5 316.5 t-316.5 131.5t-316.5 -131.5t-131.5 -316.5t131.5 -316.5t316.5 -131.5z" />
536
- <glyph unicode="&#xf224;" d="M1024 1504q0 14 9 23t23 9h288q26 0 45 -19t19 -45v-288q0 -14 -9 -23t-23 -9h-64q-14 0 -23 9t-9 23v134l-254 -255q126 -158 126 -359q0 -221 -147.5 -384.5t-364.5 -187.5v-132h96q14 0 23 -9t9 -23v-64q0 -14 -9 -23t-23 -9h-96v-96q0 -14 -9 -23t-23 -9h-64 q-14 0 -23 9t-9 23v96h-96q-14 0 -23 9t-9 23v64q0 14 9 23t23 9h96v132q-149 16 -270.5 103t-186.5 223.5t-53 291.5q16 204 160 353.5t347 172.5q118 14 228 -19t198 -103l255 254h-134q-14 0 -23 9t-9 23v64zM576 256q185 0 316.5 131.5t131.5 316.5t-131.5 316.5 t-316.5 131.5t-316.5 -131.5t-131.5 -316.5t131.5 -316.5t316.5 -131.5z" />
537
- <glyph unicode="&#xf225;" horiz-adv-x="1792" d="M1280 1504q0 14 9 23t23 9h288q26 0 45 -19t19 -45v-288q0 -14 -9 -23t-23 -9h-64q-14 0 -23 9t-9 23v134l-254 -255q126 -158 126 -359q0 -221 -147.5 -384.5t-364.5 -187.5v-132h96q14 0 23 -9t9 -23v-64q0 -14 -9 -23t-23 -9h-96v-96q0 -14 -9 -23t-23 -9h-64 q-14 0 -23 9t-9 23v96h-96q-14 0 -23 9t-9 23v64q0 14 9 23t23 9h96v132q-217 24 -364.5 187.5t-147.5 384.5q0 201 126 359l-52 53l-101 -111q-9 -10 -22 -10.5t-23 7.5l-48 44q-10 8 -10.5 21.5t8.5 23.5l105 115l-111 112v-134q0 -14 -9 -23t-23 -9h-64q-14 0 -23 9 t-9 23v288q0 26 19 45t45 19h288q14 0 23 -9t9 -23v-64q0 -14 -9 -23t-23 -9h-133l106 -107l86 94q9 10 22 10.5t23 -7.5l48 -44q10 -8 10.5 -21.5t-8.5 -23.5l-90 -99l57 -56q158 126 359 126t359 -126l255 254h-134q-14 0 -23 9t-9 23v64zM832 256q185 0 316.5 131.5 t131.5 316.5t-131.5 316.5t-316.5 131.5t-316.5 -131.5t-131.5 -316.5t131.5 -316.5t316.5 -131.5z" />
538
- <glyph unicode="&#xf226;" horiz-adv-x="1792" d="M1790 1007q12 -155 -52.5 -292t-186 -224t-271.5 -103v-260h224q14 0 23 -9t9 -23v-64q0 -14 -9 -23t-23 -9h-224v-224q0 -14 -9 -23t-23 -9h-64q-14 0 -23 9t-9 23v224h-512v-224q0 -14 -9 -23t-23 -9h-64q-14 0 -23 9t-9 23v224h-224q-14 0 -23 9t-9 23v64q0 14 9 23 t23 9h224v260q-150 16 -271.5 103t-186 224t-52.5 292q17 206 164.5 356.5t352.5 169.5q206 21 377 -94q171 115 377 94q205 -19 352.5 -169.5t164.5 -356.5zM896 647q128 131 128 313t-128 313q-128 -131 -128 -313t128 -313zM576 512q115 0 218 57q-154 165 -154 391 q0 224 154 391q-103 57 -218 57q-185 0 -316.5 -131.5t-131.5 -316.5t131.5 -316.5t316.5 -131.5zM1152 128v260q-137 15 -256 94q-119 -79 -256 -94v-260h512zM1216 512q185 0 316.5 131.5t131.5 316.5t-131.5 316.5t-316.5 131.5q-115 0 -218 -57q154 -167 154 -391 q0 -226 -154 -391q103 -57 218 -57z" />
539
- <glyph unicode="&#xf227;" horiz-adv-x="1920" d="M1536 1120q0 14 9 23t23 9h288q26 0 45 -19t19 -45v-288q0 -14 -9 -23t-23 -9h-64q-14 0 -23 9t-9 23v134l-254 -255q76 -95 107.5 -214t9.5 -247q-31 -182 -166 -312t-318 -156q-210 -29 -384.5 80t-241.5 300q-117 6 -221 57.5t-177.5 133t-113.5 192.5t-32 230 q9 135 78 252t182 191.5t248 89.5q118 14 227.5 -19t198.5 -103l255 254h-134q-14 0 -23 9t-9 23v64q0 14 9 23t23 9h288q26 0 45 -19t19 -45v-288q0 -14 -9 -23t-23 -9h-64q-14 0 -23 9t-9 23v134l-254 -255q59 -74 93 -169q182 -9 328 -124l255 254h-134q-14 0 -23 9 t-9 23v64zM1024 704q0 20 -4 58q-162 -25 -271 -150t-109 -292q0 -20 4 -58q162 25 271 150t109 292zM128 704q0 -168 111 -294t276 -149q-3 29 -3 59q0 210 135 369.5t338 196.5q-53 120 -163.5 193t-245.5 73q-185 0 -316.5 -131.5t-131.5 -316.5zM1088 -128 q185 0 316.5 131.5t131.5 316.5q0 168 -111 294t-276 149q3 -28 3 -59q0 -210 -135 -369.5t-338 -196.5q53 -120 163.5 -193t245.5 -73z" />
540
- <glyph unicode="&#xf228;" horiz-adv-x="2048" d="M1664 1504q0 14 9 23t23 9h288q26 0 45 -19t19 -45v-288q0 -14 -9 -23t-23 -9h-64q-14 0 -23 9t-9 23v134l-254 -255q76 -95 107.5 -214t9.5 -247q-32 -180 -164.5 -310t-313.5 -157q-223 -34 -409 90q-117 -78 -256 -93v-132h96q14 0 23 -9t9 -23v-64q0 -14 -9 -23 t-23 -9h-96v-96q0 -14 -9 -23t-23 -9h-64q-14 0 -23 9t-9 23v96h-96q-14 0 -23 9t-9 23v64q0 14 9 23t23 9h96v132q-155 17 -279.5 109.5t-187 237.5t-39.5 307q25 187 159.5 322.5t320.5 164.5q224 34 410 -90q146 97 320 97q201 0 359 -126l255 254h-134q-14 0 -23 9 t-9 23v64zM896 391q128 131 128 313t-128 313q-128 -131 -128 -313t128 -313zM128 704q0 -185 131.5 -316.5t316.5 -131.5q117 0 218 57q-154 167 -154 391t154 391q-101 57 -218 57q-185 0 -316.5 -131.5t-131.5 -316.5zM1216 256q185 0 316.5 131.5t131.5 316.5 t-131.5 316.5t-316.5 131.5q-117 0 -218 -57q154 -167 154 -391t-154 -391q101 -57 218 -57z" />
541
- <glyph unicode="&#xf229;" d="M1472 1408q26 0 45 -19t19 -45v-416q0 -14 -9 -23t-23 -9h-64q-14 0 -23 9t-9 23v262l-213 -214l140 -140q9 -10 9 -23t-9 -22l-46 -46q-9 -9 -22 -9t-23 9l-140 141l-78 -79q126 -156 126 -359q0 -117 -45.5 -223.5t-123 -184t-184 -123t-223.5 -45.5t-223.5 45.5 t-184 123t-123 184t-45.5 223.5t45.5 223.5t123 184t184 123t223.5 45.5q203 0 359 -126l78 78l-172 172q-9 10 -9 23t9 22l46 46q9 9 22 9t23 -9l172 -172l213 213h-261q-14 0 -23 9t-9 23v64q0 14 9 23t23 9h416zM576 0q185 0 316.5 131.5t131.5 316.5t-131.5 316.5 t-316.5 131.5t-316.5 -131.5t-131.5 -316.5t131.5 -316.5t316.5 -131.5z" />
542
- <glyph unicode="&#xf22a;" horiz-adv-x="1280" d="M640 892q217 -24 364.5 -187.5t147.5 -384.5q0 -167 -87 -306t-236 -212t-319 -54q-133 15 -245.5 88t-182 188t-80.5 249q-12 155 52.5 292t186 224t271.5 103v132h-160q-14 0 -23 9t-9 23v64q0 14 9 23t23 9h160v165l-92 -92q-10 -9 -23 -9t-22 9l-46 46q-9 9 -9 22 t9 23l202 201q19 19 45 19t45 -19l202 -201q9 -10 9 -23t-9 -22l-46 -46q-9 -9 -22 -9t-23 9l-92 92v-165h160q14 0 23 -9t9 -23v-64q0 -14 -9 -23t-23 -9h-160v-132zM576 -128q185 0 316.5 131.5t131.5 316.5t-131.5 316.5t-316.5 131.5t-316.5 -131.5t-131.5 -316.5 t131.5 -316.5t316.5 -131.5z" />
543
- <glyph unicode="&#xf22b;" horiz-adv-x="2048" d="M1901 621q19 -19 19 -45t-19 -45l-294 -294q-9 -10 -22.5 -10t-22.5 10l-45 45q-10 9 -10 22.5t10 22.5l185 185h-294v-224q0 -14 -9 -23t-23 -9h-64q-14 0 -23 9t-9 23v224h-132q-24 -217 -187.5 -364.5t-384.5 -147.5q-167 0 -306 87t-212 236t-54 319q15 133 88 245.5 t188 182t249 80.5q155 12 292 -52.5t224 -186t103 -271.5h132v224q0 14 9 23t23 9h64q14 0 23 -9t9 -23v-224h294l-185 185q-10 9 -10 22.5t10 22.5l45 45q9 10 22.5 10t22.5 -10zM576 128q185 0 316.5 131.5t131.5 316.5t-131.5 316.5t-316.5 131.5t-316.5 -131.5 t-131.5 -316.5t131.5 -316.5t316.5 -131.5z" />
544
- <glyph unicode="&#xf22c;" horiz-adv-x="1280" d="M1152 960q0 -221 -147.5 -384.5t-364.5 -187.5v-612q0 -14 -9 -23t-23 -9h-64q-14 0 -23 9t-9 23v612q-217 24 -364.5 187.5t-147.5 384.5q0 117 45.5 223.5t123 184t184 123t223.5 45.5t223.5 -45.5t184 -123t123 -184t45.5 -223.5zM576 512q185 0 316.5 131.5 t131.5 316.5t-131.5 316.5t-316.5 131.5t-316.5 -131.5t-131.5 -316.5t131.5 -316.5t316.5 -131.5z" />
545
- <glyph unicode="&#xf22d;" horiz-adv-x="1280" d="M1024 576q0 185 -131.5 316.5t-316.5 131.5t-316.5 -131.5t-131.5 -316.5t131.5 -316.5t316.5 -131.5t316.5 131.5t131.5 316.5zM1152 576q0 -117 -45.5 -223.5t-123 -184t-184 -123t-223.5 -45.5t-223.5 45.5t-184 123t-123 184t-45.5 223.5t45.5 223.5t123 184t184 123 t223.5 45.5t223.5 -45.5t184 -123t123 -184t45.5 -223.5z" />
546
- <glyph unicode="&#xf22e;" horiz-adv-x="1792" />
547
- <glyph unicode="&#xf22f;" horiz-adv-x="1792" />
548
- <glyph unicode="&#xf230;" d="M1451 1408q35 0 60 -25t25 -60v-1366q0 -35 -25 -60t-60 -25h-391v595h199l30 232h-229v148q0 56 23.5 84t91.5 28l122 1v207q-63 9 -178 9q-136 0 -217.5 -80t-81.5 -226v-171h-200v-232h200v-595h-735q-35 0 -60 25t-25 60v1366q0 35 25 60t60 25h1366z" />
549
- <glyph unicode="&#xf231;" horiz-adv-x="1280" d="M0 939q0 108 37.5 203.5t103.5 166.5t152 123t185 78t202 26q158 0 294 -66.5t221 -193.5t85 -287q0 -96 -19 -188t-60 -177t-100 -149.5t-145 -103t-189 -38.5q-68 0 -135 32t-96 88q-10 -39 -28 -112.5t-23.5 -95t-20.5 -71t-26 -71t-32 -62.5t-46 -77.5t-62 -86.5 l-14 -5l-9 10q-15 157 -15 188q0 92 21.5 206.5t66.5 287.5t52 203q-32 65 -32 169q0 83 52 156t132 73q61 0 95 -40.5t34 -102.5q0 -66 -44 -191t-44 -187q0 -63 45 -104.5t109 -41.5q55 0 102 25t78.5 68t56 95t38 110.5t20 111t6.5 99.5q0 17