Schema & Structured Data for WP & AMP - Version 1.9.41

Version Description

(16 June 2020) =

  • Fixed: Notice Error: Notice: Trying to get property 'post_content' of non-object #1055
  • Fixed: The property comment is not recognized by Google for an object of type Organization. #1061
  • Fixed: Site links are not displaying even after the option is enabled. #1043
  • Fixed: url validation should be there for all url schema property #1048
  • Enhancement: Option to search for pages/post while applying schema markup on a certain page #742
  • Enhancement: Use select 2 in schema type dropdown #464
  • Added: select2 js in a specific use case dropdown #1027
Download this release

Release Info

Developer magazine3
Plugin Icon 128x128 Schema & Structured Data for WP & AMP
Version 1.9.41
Comparing to
See all releases

Code changes from version 1.9.40 to 1.9.41

admin_section/add-schema/add_new.php CHANGED
@@ -95,38 +95,44 @@ $saswp_add_data_type_config = array(
95
  $title = $saswp_add_data_type_config['steps'][$step]['title'];
96
  $saswp_add_data_type_config['current_step']['step_id'] = $step;
97
 
98
- wp_enqueue_media ();
99
 
100
  // Enqueue styles.
101
  wp_enqueue_style( 'saswp-timepicker-js', SASWP_PLUGIN_URL. $saswp_add_data_type_config['installer_dir']. '/css/jquery.timepicker.css' , array( 'wp-admin' ), SASWP_VERSION);
102
  // Enqueue javascript.
103
  wp_enqueue_script( 'saswp-timepicker-css', SASWP_PLUGIN_URL. $saswp_add_data_type_config['installer_dir']. '/js/jquery.timepicker.js' , array( 'jquery', 'jquery-core', 'jquery-ui-core' ), SASWP_VERSION );
104
-
105
-
106
  // Enqueue styles.
107
- wp_enqueue_style( 'saswp_add_new', SASWP_PLUGIN_URL. $saswp_add_data_type_config['installer_dir']. '/css/saswp-add-new.min.css' , array( 'wp-admin' ), SASWP_VERSION);
108
  // Enqueue javascript.
109
- wp_enqueue_script( 'saswp_add_new', SASWP_PLUGIN_URL. $saswp_add_data_type_config['installer_dir']. '/js/saswp-add-new.min.js' , array( 'jquery', 'jquery-core', 'jquery-ui-core' ), SASWP_VERSION );
110
-
111
- //Enque datepicker
112
- wp_enqueue_script( 'jquery-ui-datepicker' );
113
- wp_register_style( 'jquery-ui', SASWP_PLUGIN_URL. 'admin_section/css/jquery-ui.css' );
114
- wp_enqueue_style( 'jquery-ui' );
115
-
116
-
117
- wp_enqueue_script( 'structure_admin', SASWP_PLUGIN_URL. $saswp_add_data_type_config['installer_dir']. '/js/structure_admin.min.js' , array( 'jquery', 'jquery-ui-core' ), SASWP_VERSION );
118
-
119
- wp_localize_script( 'structure_admin', 'saswp_app_object', array(
120
- 'ajax_url' => admin_url( 'admin-ajax.php' ),
121
- ) );
122
-
123
 
 
 
 
 
 
124
  wp_localize_script( 'saswp_add_new', 'saswp_add_new_params', array(
125
  'ajaxurl' => admin_url( 'admin-ajax.php' ),
126
  'wpnonce' => wp_create_nonce( 'saswp_add_new_nonce' ),
127
  'pluginurl' => SASWP_DIR_URI,
128
  ) );
129
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
130
 
131
  ob_start();
132
  saswp_add_new_header(); ?>
95
  $title = $saswp_add_data_type_config['steps'][$step]['title'];
96
  $saswp_add_data_type_config['current_step']['step_id'] = $step;
97
 
98
+ wp_enqueue_media ();
99
 
100
  // Enqueue styles.
101
  wp_enqueue_style( 'saswp-timepicker-js', SASWP_PLUGIN_URL. $saswp_add_data_type_config['installer_dir']. '/css/jquery.timepicker.css' , array( 'wp-admin' ), SASWP_VERSION);
102
  // Enqueue javascript.
103
  wp_enqueue_script( 'saswp-timepicker-css', SASWP_PLUGIN_URL. $saswp_add_data_type_config['installer_dir']. '/js/jquery.timepicker.js' , array( 'jquery', 'jquery-core', 'jquery-ui-core' ), SASWP_VERSION );
104
+
105
+
106
  // Enqueue styles.
107
+ wp_enqueue_style( 'saswp_add_new', SASWP_PLUGIN_URL. $saswp_add_data_type_config['installer_dir']. '/css/'.(SASWP_ENVIRONMENT == 'production' ? 'saswp-add-new.min.css' : 'saswp-add-new.css') , array( 'wp-admin' ), SASWP_VERSION);
108
  // Enqueue javascript.
109
+ wp_enqueue_script( 'saswp_add_new', SASWP_PLUGIN_URL. $saswp_add_data_type_config['installer_dir']. '/js/'.(SASWP_ENVIRONMENT == 'production' ? 'saswp-add-new.min.js' : 'saswp-add-new.js') , array( 'jquery', 'jquery-core', 'jquery-ui-core' ), SASWP_VERSION );
 
 
 
 
 
 
 
 
 
 
 
 
 
110
 
111
+ //Enque datepicker
112
+ wp_enqueue_script( 'jquery-ui-datepicker' );
113
+ wp_register_style( 'jquery-ui', SASWP_PLUGIN_URL. 'admin_section/css/jquery-ui.css' );
114
+ wp_enqueue_style( 'jquery-ui' );
115
+
116
  wp_localize_script( 'saswp_add_new', 'saswp_add_new_params', array(
117
  'ajaxurl' => admin_url( 'admin-ajax.php' ),
118
  'wpnonce' => wp_create_nonce( 'saswp_add_new_nonce' ),
119
  'pluginurl' => SASWP_DIR_URI,
120
  ) );
121
 
122
+ wp_enqueue_style('saswp-select2-style', SASWP_PLUGIN_URL.$saswp_add_data_type_config['installer_dir']. '/css/select2.min.css' , false, SASWP_VERSION);
123
+ wp_enqueue_script('saswp-select2-script', SASWP_PLUGIN_URL. $saswp_add_data_type_config['installer_dir']. '/js/select2.min.js', array( 'jquery', 'jquery-core', 'jquery-ui-core' ), SASWP_VERSION);
124
+ wp_enqueue_script('saswp-select2-extended-script', SASWP_PLUGIN_URL. $saswp_add_data_type_config['installer_dir'] . '/js/select2-extended.min.js', false, SASWP_VERSION);
125
+
126
+ wp_enqueue_script( 'structure_admin', SASWP_PLUGIN_URL. $saswp_add_data_type_config['installer_dir']. '/js/'. (SASWP_ENVIRONMENT == 'production' ? 'structure_admin.min.js' : 'structure_admin.js') , array( 'jquery', 'jquery-ui-core' ), SASWP_VERSION );
127
+
128
+ $data = array(
129
+ 'ajax_url' => admin_url( 'admin-ajax.php' ),
130
+ 'saswp_security_nonce' => wp_create_nonce('saswp_ajax_check_nonce'),
131
+ );
132
+
133
+ $data = apply_filters('saswp_localize_filter',$data,'saswp_localize_data');
134
+
135
+ wp_localize_script( 'structure_admin', 'saswp_localize_data', $data );
136
 
137
  ob_start();
138
  saswp_add_new_header(); ?>
admin_section/ajax-selectbox.php CHANGED
@@ -48,249 +48,35 @@ function saswp_ajax_select_creator($data = '', $saved_data= '', $current_number
48
  }
49
  // send the response back to the front end
50
  // vars
51
- $choices = array();
52
-
53
- $options['param'] = $response;
54
- // some case's have the same outcome
 
55
  if($options['param'] == "page_parent")
56
  {
57
  $options['param'] = "page";
58
  }
59
-
60
- switch($options['param'])
61
- {
62
- case "post_type":
63
-
64
- $choices = saswp_post_type_generator();
65
-
66
- $choices = apply_filters('saswp_modify_select_post_type', $choices );
67
-
68
- unset($choices['saswp']);
69
-
70
- break;
71
-
72
- case "homepage":
73
-
74
- $choices = array(
75
- 'true' => 'True',
76
- 'false' => 'False',
77
- );
78
-
79
- break;
80
-
81
- case "page":
82
-
83
- $post_type = 'page';
84
-
85
- $posts = get_posts(array(
86
- 'posts_per_page' => -1,
87
- 'post_type' => $post_type,
88
- 'orderby' => 'menu_order title',
89
- 'order' => 'ASC',
90
- 'post_status' => 'any',
91
- 'suppress_filters' => false,
92
- 'update_post_meta_cache' => false,
93
- ));
94
-
95
- if( $posts )
96
- {
97
- // sort into hierachial order!
98
- if( is_post_type_hierarchical( $post_type ) )
99
- {
100
- $posts = get_page_children( 0, $posts );
101
- }
102
-
103
- foreach( $posts as $page )
104
- {
105
- $title = '';
106
- $ancestors = get_ancestors($page->ID, 'page');
107
- if($ancestors)
108
- {
109
- foreach($ancestors as $a)
110
- {
111
- $title .= '- ';
112
- }
113
- }
114
-
115
- $title .= apply_filters( 'the_title', $page->post_title, $page->ID );
116
- // status
117
- if($page->post_status != "publish")
118
- {
119
- $title .= " ($page->post_status)";
120
- }
121
-
122
- $choices[ $page->ID ] = $title;
123
-
124
- }
125
- // foreach($pages as $page)
126
-
127
- }
128
-
129
- break;
130
-
131
- case "page_template" :
132
-
133
- $choices = array(
134
- 'default' => esc_html__('Default Template','schema-and-structured-data-for-wp'),
135
- );
136
-
137
- $templates = get_page_templates();
138
-
139
- if($templates){
140
-
141
- foreach($templates as $k => $v){
142
-
143
- $choices[$v] = $k;
144
-
145
- }
146
-
147
- }
148
-
149
-
150
- break;
151
-
152
- case "post" :
153
-
154
- $post_types = get_post_types();
155
-
156
- unset( $post_types['page'], $post_types['attachment'], $post_types['revision'] , $post_types['nav_menu_item'], $post_types['acf'] , $post_types['amp_acf'],$post_types['saswp'] );
157
-
158
- if( $post_types )
159
- {
160
- foreach( $post_types as $post_type ){
161
-
162
- $posts = get_posts(array(
163
-
164
- 'numberposts' => '-1',
165
- 'post_type' => $post_type,
166
- 'post_status' => array('publish', 'private', 'draft', 'inherit', 'future'),
167
- 'suppress_filters' => false,
168
-
169
- ));
170
-
171
- if( $posts){
172
-
173
- $choices[$post_type] = array();
174
-
175
- foreach($posts as $post){
176
-
177
- $title = apply_filters( 'the_title', $post->post_title, $post->ID );
178
- // status
179
- if($post->post_status != "publish"){
180
-
181
- $title .= " ($post->post_status)";
182
- }
183
-
184
- $choices[$post_type][$post->ID] = $title;
185
-
186
- }
187
- // foreach($posts as $post)
188
- }
189
- // if( $posts )
190
- }
191
- // foreach( $post_types as $post_type )
192
- }
193
- // if( $post_types )
194
-
195
-
196
- break;
197
-
198
- case "post_category" :
199
-
200
- $terms = get_terms( 'category', array( 'hide_empty' => false ) );
201
-
202
- if( !empty($terms) ) {
203
-
204
- foreach( $terms as $term ) {
205
-
206
- $choices[ $term->term_id ] = $term->name;
207
-
208
- }
209
 
210
- }
211
-
212
- break;
213
-
214
- case "post_format" :
215
-
216
- $choices = get_post_format_strings();
217
-
218
- break;
219
-
220
- case "user_type" :
221
-
222
- global $wp_roles;
223
-
224
- $choices = $wp_roles->get_names();
225
-
226
- if( is_multisite() ){
227
-
228
- $choices['super_admin'] = esc_html__('Super Admin','schema-and-structured-data-for-wp');
229
-
230
- }
231
-
232
- break;
233
-
234
- case "ef_taxonomy" :
235
-
236
- $choices = array('all' => esc_html__('All','schema-and-structured-data-for-wp'));
237
- $taxonomies = saswp_post_taxonomy_generator();
238
- $choices = array_merge($choices, $taxonomies);
239
-
240
- break;
241
-
242
- }
243
- // allow custom location rules
244
- $choices = $choices;
245
-
246
- // Add None if no elements found in the current selected items
247
- if ( empty( $choices) ) {
248
- $choices = array('none' => esc_html__('No Items', 'schema-and-structured-data-for-wp') );
249
- }
250
-
251
-
252
- $output = '<select class="widefat ajax-output" name="data_group_array[group-'.esc_attr($current_group_number).'][data_array]['. esc_attr($current_number) .'][key_3]">';
253
-
254
- // Generate Options for Posts
255
- if ( $options['param'] == 'post' ) {
256
-
257
- foreach ($choices as $choice_post_type) {
258
-
259
- foreach ($choice_post_type as $key => $value) {
260
-
261
- if ( $saved_data == $key ) {
262
-
263
- $selected = 'selected="selected"';
264
-
265
- } else {
266
-
267
- $selected = '';
268
-
269
- }
270
-
271
- $output .= '<option '. esc_attr($selected) .' value="' . esc_attr($key) .'"> ' . esc_html__($value, 'schema-and-structured-data-for-wp') .' </option>';
272
- }
273
  }
274
- // Options for Other then posts
275
- } else {
276
-
277
- foreach ($choices as $key => $value) {
278
-
279
- if ( $saved_data == $key ) {
280
-
281
- $selected = 'selected="selected"';
282
-
283
- } else {
284
-
285
- $selected = '';
286
-
287
- }
288
-
289
- $output .= '<option '. esc_attr($selected) .' value="' . esc_attr($key) .'"> ' . esc_html__($value, 'schema-and-structured-data-for-wp') .' </option>';
290
  }
291
- }
292
 
293
- $output .= ' </select> ';
294
  $allowed_html = saswp_expanded_allowed_tags();
295
  echo wp_kses($output, $allowed_html);
296
 
@@ -377,45 +163,32 @@ function saswp_create_ajax_select_taxonomy($selectedParentValue = '',$selectedVa
377
 
378
  }
379
  }
380
- $taxonomies = array();
381
-
382
- if($selectedParentValue == 'all'){
383
-
384
- $taxonomies = get_terms( array(
385
- 'hide_empty' => true,
386
- ) );
387
-
388
- }else{
389
-
390
- $taxonomies = get_terms($selectedParentValue, array(
391
- 'hide_empty' => true,
392
- ) );
393
- }
394
-
395
  $choices = '<option value="all">'.esc_html__('All','schema-and-structured-data-for-wp').'</option>';
396
 
397
  if(!empty($taxonomies)){
398
 
399
- foreach($taxonomies as $taxonomy) {
400
-
401
- $sel="";
402
-
403
- if(is_object($taxonomy)){
404
-
405
- if($selectedValue == $taxonomy->slug){
406
-
407
- $sel = "selected";
408
-
409
- }
410
- $choices .= '<option value="'.esc_attr($taxonomy->slug).'" '.esc_attr($sel).'>'.esc_html__($taxonomy->name,'schema-and-structured-data-for-wp').'</option>';
411
-
412
- }
413
-
414
- }
415
 
 
 
 
 
 
 
416
  $allowed_html = saswp_expanded_allowed_tags();
417
 
418
- echo '<select class="widefat ajax-output-child" name="data_group_array[group-'. esc_attr($current_group_number) .'][data_array]['.esc_attr($current_number).'][key_4]">'. wp_kses($choices, $allowed_html).'</select>';
419
 
420
  }
421
 
48
  }
49
  // send the response back to the front end
50
  // vars
51
+ $choices = array();
52
+ $saved_choices = array();
53
+
54
+ $options['param'] = $response;
55
+
56
  if($options['param'] == "page_parent")
57
  {
58
  $options['param'] = "page";
59
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
60
 
61
+ $choices = saswp_get_condition_list($response);
62
+
63
+ if($saved_data){
64
+ $saved_choices = saswp_get_condition_list($response, '', $saved_data);
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
65
  }
66
+
67
+ $output = '<select data-type="'.esc_attr($response).'" class="widefat ajax-output saswp-select2" name="data_group_array[group-'.esc_attr($current_group_number).'][data_array]['. esc_attr($current_number) .'][key_3]">';
68
+
69
+ foreach ($choices as $value) {
70
+ $output .= '<option '. esc_attr($selected) .' value="' . esc_attr($value['id']) .'"> ' . esc_html__($value['text'], 'schema-and-structured-data-for-wp') .'</option>';
71
+ }
72
+
73
+ if($saved_choices){
74
+ foreach($saved_choices as $value){
75
+ $output .= '<option value="' . esc_attr($value['id']) .'" selected> ' . esc_html__($value['text'], 'schema-and-structured-data-for-wp') .'</option>';
76
+ }
 
 
 
 
 
77
  }
 
78
 
79
+ $output .= ' </select> ';
80
  $allowed_html = saswp_expanded_allowed_tags();
81
  echo wp_kses($output, $allowed_html);
82
 
163
 
164
  }
165
  }
166
+ $taxonomies = array();
167
+ $saved_choices = array();
168
+
169
+ $taxonomies = saswp_get_condition_list($selectedParentValue);
170
+
171
+ if($selectedValue){
172
+ $saved_choices = saswp_get_condition_list($selectedParentValue, '', $selectedValue);
173
+ }
174
+
 
 
 
 
 
 
175
  $choices = '<option value="all">'.esc_html__('All','schema-and-structured-data-for-wp').'</option>';
176
 
177
  if(!empty($taxonomies)){
178
 
179
+ foreach($taxonomies as $taxonomy) {
180
+ $choices .= '<option value="'.esc_attr($taxonomy['id']).'">'.esc_html__($taxonomy['text'],'schema-and-structured-data-for-wp').'</option>';
181
+ }
 
 
 
 
 
 
 
 
 
 
 
 
 
182
 
183
+ if($saved_choices){
184
+ foreach($saved_choices as $value){
185
+ $choices .= '<option value="' . esc_attr($value['id']) .'" selected> ' . esc_html__($value['text'], 'schema-and-structured-data-for-wp') .'</option>';
186
+ }
187
+ }
188
+
189
  $allowed_html = saswp_expanded_allowed_tags();
190
 
191
+ echo '<select data-type="'.esc_attr($selectedParentValue).'" class="widefat ajax-output-child saswp-select2" name="data_group_array[group-'. esc_attr($current_group_number) .'][data_array]['.esc_attr($current_number).'][key_4]">'. wp_kses($choices, $allowed_html).'</select>';
192
 
193
  }
194
 
admin_section/common-function.php CHANGED
@@ -1660,7 +1660,8 @@ if ( ! defined('ABSPATH') ) exit;
1660
  'id' => array(),
1661
  'name' => array(),
1662
  'value' => array(),
1663
- 'type' => array(),
 
1664
  );
1665
  // checkbox
1666
  $my_allowed['checkbox'] = array(
@@ -1676,6 +1677,7 @@ if ( ! defined('ABSPATH') ) exit;
1676
  'selected' => array(),
1677
  'value' => array(),
1678
  'disabled' => array(),
 
1679
  );
1680
  // style
1681
  $my_allowed['style'] = array(
@@ -2576,7 +2578,7 @@ function saswp_get_permalink(){
2576
 
2577
  }
2578
 
2579
- return $url;
2580
  }
2581
  function saswp_get_taxonomy_term_list(){
2582
 
@@ -2650,7 +2652,15 @@ function saswp_migrate_old_social_profile(){
2650
  }
2651
 
2652
  }
2653
-
 
 
 
 
 
 
 
 
2654
  function saswp_validate_date($date, $format = 'Y-m-d H:i:s'){
2655
  $d = DateTime::createFromFormat($format, $date);
2656
  return $d && $d->format($format) == $date;
@@ -3302,4 +3312,353 @@ function saswp_insert_schema_type($title){
3302
 
3303
  return $insertedPageId;
3304
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
3305
  }
1660
  'id' => array(),
1661
  'name' => array(),
1662
  'value' => array(),
1663
+ 'type' => array(),
1664
+ 'data-type'=> array(),
1665
  );
1666
  // checkbox
1667
  $my_allowed['checkbox'] = array(
1677
  'selected' => array(),
1678
  'value' => array(),
1679
  'disabled' => array(),
1680
+ 'id' => array(),
1681
  );
1682
  // style
1683
  $my_allowed['style'] = array(
2578
 
2579
  }
2580
 
2581
+ return saswp_validate_url($url);
2582
  }
2583
  function saswp_get_taxonomy_term_list(){
2584
 
2652
  }
2653
 
2654
  }
2655
+ function saswp_validate_url($url){
2656
+
2657
+ if(wp_http_validate_url($url)){
2658
+ return $url;
2659
+ }else{
2660
+ return '';
2661
+ }
2662
+
2663
+ }
2664
  function saswp_validate_date($date, $format = 'Y-m-d H:i:s'){
2665
  $d = DateTime::createFromFormat($format, $date);
2666
  return $d && $d->format($format) == $date;
3312
 
3313
  return $insertedPageId;
3314
 
3315
+ }
3316
+
3317
+ function saswp_get_posts_by_arg($arg){
3318
+
3319
+ $response = array();
3320
+
3321
+ $meta_query = new WP_Query($arg);
3322
+
3323
+ if($meta_query->have_posts()) {
3324
+
3325
+ $data = array();
3326
+ $post_meta = array();
3327
+ while($meta_query->have_posts()) {
3328
+ $meta_query->the_post();
3329
+ $data['post_id'] = get_the_ID();
3330
+ $data['post_title'] = get_the_title();
3331
+ $data['post_status'] = get_post_status();
3332
+ $data['post_modified'] = get_the_date('M, d Y');
3333
+ $post_meta = get_post_meta(get_the_ID(), '', true);
3334
+ if($post_meta){
3335
+ foreach($post_meta as $key => $val ){
3336
+ $post_meta[$key] = $val[0];
3337
+ }
3338
+ }
3339
+
3340
+ $posts_data[] = array(
3341
+ 'post' => (array) $data,
3342
+ 'post_meta' => $post_meta
3343
+ );
3344
+
3345
+ }
3346
+ wp_reset_postdata();
3347
+ $response['posts_data'] = $posts_data;
3348
+ $response['posts_found'] = $meta_query->found_posts;
3349
+ }
3350
+
3351
+ return $response;
3352
+
3353
+ }
3354
+
3355
+ function saswp_get_condition_list($condition, $search = '', $saved_data = ''){
3356
+
3357
+ $choices = array();
3358
+ $array_search = false;
3359
+
3360
+ switch($condition){
3361
+
3362
+ case "post_type":
3363
+
3364
+ $post_type = array();
3365
+ $args['public'] = true;
3366
+
3367
+ if(!empty($search) && $search != null){
3368
+ $args['name'] = $search;
3369
+ }
3370
+ if($saved_data){
3371
+ $args['name'] = $saved_data;
3372
+ }
3373
+ $choices = get_post_types( $args, 'names');
3374
+ unset($choices['attachment'], $choices['amp_acf'], $choices['quads-ads']);
3375
+
3376
+ if($choices){
3377
+ foreach($choices as $key =>$value){
3378
+ $post_type[] = array('id' => $value, 'text' => $key);
3379
+ }
3380
+ }
3381
+
3382
+ $choices = $post_type;
3383
+ break;
3384
+
3385
+ case "page_template" :
3386
+ $array_search = true;
3387
+ $choices[] = array('id' => 'default', 'text' => 'Default Template');
3388
+
3389
+ $templates = get_page_templates();
3390
+
3391
+ if($saved_data){
3392
+ $new_arr = array();
3393
+ foreach ($templates as $key => $value) {
3394
+ if($key == $saved_data){
3395
+ $new_arr[$key] = $value;
3396
+ }
3397
+ }
3398
+ $templates = $new_arr;
3399
+ }
3400
+
3401
+ if($templates){
3402
+
3403
+ foreach($templates as $k => $v){
3404
+
3405
+ $choices[] = array('id' => $k, 'text' => $v);
3406
+
3407
+ }
3408
+
3409
+ }
3410
+
3411
+ break;
3412
+
3413
+ case "post" :
3414
+ case "page" :
3415
+
3416
+ if($condition == 'page'){
3417
+
3418
+ $post_types['page'] = 'page';
3419
+
3420
+ }else{
3421
+
3422
+ $post_types = get_post_types();
3423
+ unset( $post_types['page'], $post_types['attachment'], $post_types['revision'] , $post_types['nav_menu_item'], $post_types['acf'] , $post_types['amp_acf'],$post_types['saswp'] );
3424
+
3425
+ }
3426
+
3427
+ if( $post_types )
3428
+ {
3429
+ foreach( $post_types as $post_type ){
3430
+
3431
+ $arg['post_type'] = $post_type;
3432
+ $arg['posts_per_page'] = 50;
3433
+ $arg['post_status'] = 'any';
3434
+
3435
+ if(!empty($search)){
3436
+ $arg['s'] = $search;
3437
+ }
3438
+
3439
+ if($saved_data){
3440
+ $arg['p'] = $saved_data;
3441
+ }
3442
+
3443
+ $posts = saswp_get_posts_by_arg($arg);
3444
+
3445
+ if(isset($posts['posts_data'])){
3446
+
3447
+ foreach($posts['posts_data'] as $post){
3448
+
3449
+ $choices[] = array('id' => $post['post']['post_id'], 'text' => $post['post']['post_title']);
3450
+
3451
+ }
3452
+
3453
+ }
3454
+
3455
+ }
3456
+
3457
+ }
3458
+
3459
+ break;
3460
+
3461
+ case "post_category" :
3462
+
3463
+ $terms = array();
3464
+ $args = array(
3465
+ 'hide_empty' => false,
3466
+ 'number' => 50,
3467
+ );
3468
+
3469
+ if(!empty($search)){
3470
+ $args['name__like'] = $search;
3471
+ }
3472
+ if($saved_data){
3473
+ $new_obj = get_term($saved_data);
3474
+ $terms[0] = $new_obj;
3475
+ }else{
3476
+ $terms = get_terms( 'category', $args);
3477
+ }
3478
+
3479
+ if( !empty($terms) ) {
3480
+
3481
+ foreach( $terms as $term ) {
3482
+
3483
+ $choices[] = array('id' => $term->term_id, 'text' => $term->name);
3484
+
3485
+ }
3486
+
3487
+ }
3488
+
3489
+ break;
3490
+
3491
+ case "user_type" :
3492
+
3493
+ global $wp_roles;
3494
+
3495
+ $array_search = true;
3496
+ $general_arr = array();
3497
+ $choices = $wp_roles->get_names();
3498
+
3499
+ if( is_multisite() ){
3500
+
3501
+ $choices['super_admin'] = esc_html__('Super Admin','schema-and-structured-data-for-wp');
3502
+
3503
+ }
3504
+
3505
+ if($saved_data){
3506
+ $new_arr = array();
3507
+ foreach ($choices as $key => $value) {
3508
+ if($key == $saved_data){
3509
+ $new_arr[$key] = $value;
3510
+ }
3511
+ }
3512
+ $choices = $new_arr;
3513
+ }
3514
+
3515
+ if($choices){
3516
+ foreach($choices as $key =>$value){
3517
+ $general_arr[] = array('text' => $value, 'id' => $key);
3518
+ }
3519
+ }
3520
+ $choices = $general_arr;
3521
+
3522
+ break;
3523
+ case "post_format" :
3524
+ $array_search = true;
3525
+ $general_arr = array();
3526
+ $choices = get_post_format_strings();
3527
+
3528
+ if($saved_data){
3529
+ $new_arr = array();
3530
+ foreach ($choices as $key => $value) {
3531
+ if($key == $saved_data){
3532
+ $new_arr[$key] = $value;
3533
+ }
3534
+ }
3535
+ $choices = $new_arr;
3536
+ }
3537
+
3538
+ if($choices){
3539
+ foreach($choices as $key =>$value){
3540
+ $general_arr[] = array('text' => $value, 'id' => $key);
3541
+ }
3542
+ }
3543
+ $choices = $general_arr;
3544
+
3545
+ break;
3546
+
3547
+ case "ef_taxonomy" :
3548
+
3549
+ $args['public'] = true;
3550
+
3551
+ if(!empty($search) && $search != null){
3552
+ $args['name'] = $search;
3553
+ }
3554
+ if($saved_data){
3555
+ $args['name'] = $saved_data;
3556
+ }
3557
+
3558
+ $taxonomies = get_taxonomies( $args, 'objects');
3559
+
3560
+ if($taxonomies){
3561
+
3562
+ if($taxonomies){
3563
+
3564
+ foreach($taxonomies as $taxonomy) {
3565
+ $choices[] = array('id' => $taxonomy->name, 'text' => $taxonomy->labels->name);
3566
+ }
3567
+
3568
+ }
3569
+
3570
+ }
3571
+
3572
+ break;
3573
+
3574
+ case "homepage":
3575
+ $array_search = true;
3576
+ $choices = array(
3577
+ array('id' => 'true', 'text' => 'True'),
3578
+ array('id' => 'false', 'text' => 'False')
3579
+ );
3580
+
3581
+ if($saved_data == 'false'){
3582
+ $choices = array(
3583
+ array('id' => 'false', 'text' => 'False')
3584
+ );
3585
+ }
3586
+ if($saved_data == 'true'){
3587
+ $choices = array(
3588
+ array('id' => 'true', 'text' => 'True'),
3589
+ );
3590
+ }
3591
+
3592
+ break;
3593
+
3594
+ case "all":
3595
+
3596
+ $args = array(
3597
+ 'hide_empty' => false,
3598
+ 'number' => 50,
3599
+ );
3600
+
3601
+ if(!empty($search)){
3602
+ $args['name__like'] = $search;
3603
+ }
3604
+
3605
+ $taxonomies = get_terms( $args );
3606
+
3607
+ if($taxonomies){
3608
+
3609
+ foreach($taxonomies as $tax){
3610
+ $choices[] = array('id' => $tax->slug, 'text' => $tax->name);
3611
+ }
3612
+
3613
+ }
3614
+
3615
+ break;
3616
+
3617
+ default:
3618
+
3619
+ $args = array(
3620
+ 'hide_empty' => false,
3621
+ 'number' => 50,
3622
+ );
3623
+
3624
+ if(!empty($search)){
3625
+ $args['name__like'] = $search;
3626
+ }
3627
+
3628
+ if($saved_data){
3629
+ $args['slug'] = $saved_data;
3630
+ }
3631
+ $taxonomies = get_terms($condition, $args);
3632
+
3633
+ if($taxonomies){
3634
+
3635
+ foreach($taxonomies as $tax){
3636
+ $choices[] = array('id' => $tax->slug, 'text' => $tax->name);
3637
+ }
3638
+
3639
+ }
3640
+
3641
+ }
3642
+
3643
+ if(!empty($search) && $search != null){
3644
+
3645
+ if($array_search){
3646
+
3647
+ $search_data = array();
3648
+
3649
+ foreach($choices as $val){
3650
+ if((strpos($val['id'], $search) !== false) || (strpos($val['text'], $search) !== false)){
3651
+ $search_data[] = $val;
3652
+ }
3653
+ }
3654
+
3655
+ $choices = $search_data;
3656
+
3657
+ }
3658
+
3659
+ return array('results' => $choices);
3660
+ }else{
3661
+ return $choices;
3662
+ }
3663
+
3664
  }
admin_section/css/saswp-add-new.css CHANGED
@@ -2389,7 +2389,7 @@ body .amp_install_center {text-align: center}
2389
  display: inline-block;
2390
  }
2391
  .saswp_fields select{
2392
- width: 50%;
2393
  }
2394
  .saswp-placement-or-group{
2395
  text-decoration: none;
@@ -2406,7 +2406,13 @@ body .amp_install_center {text-align: center}
2406
  border-style: outset;
2407
  }
2408
  .option-table-class select{
2409
- width: 100%;
 
 
 
 
 
 
2410
  }
2411
  .option-table-class input[type=text]{
2412
  width: 100%;
2389
  display: inline-block;
2390
  }
2391
  .saswp_fields select{
2392
+ width: 50%;
2393
  }
2394
  .saswp-placement-or-group{
2395
  text-decoration: none;
2406
  border-style: outset;
2407
  }
2408
  .option-table-class select{
2409
+ width: 100%;
2410
+ }
2411
+ .option-table-class .select2-container{
2412
+ width: 100% !important;
2413
+ }
2414
+ .saswp-placement-groups select{
2415
+ min-height: 30px;
2416
  }
2417
  .option-table-class input[type=text]{
2418
  width: 100%;
admin_section/css/saswp-add-new.min.css CHANGED
@@ -1 +1 @@
1
- .merlin__body{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;box-sizing:border-box;margin:0 auto;padding:0!important;background:#f1f1f1;box-shadow:none;font-size:14px;line-height:1.7em;-webkit-align-items:center;align-items:center;-webkit-box-align:center;-webkit-box-pack:center;-ms-flex-align:center;-ms-flex-pack:center;-webkit-justify-content:center;justify-content:center}h1{margin:0 0 20px;padding:0;border:0;color:#444;font-size:20px;font-weight:500;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}p{margin:0;font-size:14px;line-height:1.7em}.merlin__input{display:block;width:70%;margin:14px auto 0;padding:4px 8px;border-radius:3px;font-size:12px}.lead+.merlin__button--knockout{z-index:-1}p.lead{z-index:9999;-webkit-animation:vanishOut .8s linear alternate;animation:vanishOut .8s linear alternate}p.success{-webkit-animation:vanishIn .7s linear alternate;animation:vanishIn .7s linear alternate}@-webkit-keyframes vanishIn{0%{opacity:0;-webkit-transform:scale(2,2);transform:scale(2,2);-webkit-transform-origin:50% 50%;transform-origin:50% 50%;-webkit-filter:blur(70px);filter:blur(70px)}100%{opacity:1;-webkit-transform:scale(1,1);transform:scale(1,1);-webkit-transform-origin:50% 50%;transform-origin:50% 50%;-webkit-filter:blur(0);filter:blur(0)}}@keyframes vanishIn{0%{opacity:0;-webkit-transform:scale(2,2);transform:scale(2,2);-webkit-transform-origin:50% 50%;transform-origin:50% 50%;-webkit-filter:blur(70px);filter:blur(70px)}100%{opacity:1;-webkit-transform:scale(1,1);transform:scale(1,1);-webkit-transform-origin:50% 50%;transform-origin:50% 50%;-webkit-filter:blur(0);filter:blur(0)}}@media screen and (prefers-reduced-motion:reduce){@-webkit-keyframes vanishIn{0%{opacity:0}100%{opacity:1}}@keyframes vanishIn{0%{opacity:0}100%{opacity:1}}}@-webkit-keyframes vanishOut{0%{opacity:1;-webkit-transform:scale(1,1);transform:scale(1,1);-webkit-transform-origin:50% 50%;transform-origin:50% 50%;-webkit-filter:blur(0);filter:blur(0)}100%{opacity:0;-webkit-transform:scale(2,2);transform:scale(2,2);-webkit-transform-origin:50% 50%;transform-origin:50% 50%;-webkit-filter:blur(50px);filter:blur(50px)}}@keyframes vanishOut{0%{opacity:1;-webkit-transform:scale(1,1);transform:scale(1,1);-webkit-transform-origin:50% 50%;transform-origin:50% 50%;-webkit-filter:blur(0);filter:blur(0)}100%{opacity:0;-webkit-transform:scale(2,2);transform:scale(2,2);-webkit-transform-origin:50% 50%;transform-origin:50% 50%;-webkit-filter:blur(50px);filter:blur(50px)}}@media screen and (prefers-reduced-motion:reduce){@-webkit-keyframes vanishOut{0%{opacity:1}100%{opacity:0}}@keyframes vanishOut{0%{opacity:1}100%{opacity:0}}}.hidden{display:none;overflow:hidden;clip:rect(1px,1px,1px,1px);position:absolute;width:1px;height:1px;padding:0;border:0;-webkit-clip-path:circle(1% at 1% 1%);clip-path:circle(1% at 1% 1%)}.huh-container,.huh-launcher{display:none!important}.icon.icon--merlin{position:absolute;right:15px;bottom:15px;width:50px;height:75px;margin:0}.merlin__helper{position:absolute;right:80px;bottom:40px}@-webkit-keyframes moveup{0%{opacity:1;-webkit-transform:translateY(0);transform:translateY(0)}30%{opacity:1;-webkit-transform:translateY(-42px);transform:translateY(-42px)}90%{opacity:1;-webkit-transform:translateY(-42px);transform:translateY(-42px)}100%{opacity:0;-webkit-transform:translateY(-48px) scale(.99);transform:translateY(-48px) scale(.99);-webkit-transform-origin:top right;transform-origin:top right}}@keyframes moveup{0%{opacity:1;-webkit-transform:translateY(0);transform:translateY(0)}30%{opacity:1;-webkit-transform:translateY(-42px);transform:translateY(-42px)}90%{opacity:1;-webkit-transform:translateY(-42px);transform:translateY(-42px)}100%{opacity:0;-webkit-transform:translateY(-48px) scale(.99);transform:translateY(-48px) scale(.99);-webkit-transform-origin:top right;transform-origin:top right}}@-webkit-keyframes fadeout{0%{opacity:1}100%{opacity:0;-webkit-transform:translateY(-30px) scale(.94);transform:translateY(-30px) scale(.94);-webkit-transform-origin:top right;transform-origin:top right}}@keyframes fadeout{0%{opacity:1}100%{opacity:0;-webkit-transform:translateY(-30px) scale(.94);transform:translateY(-30px) scale(.94);-webkit-transform-origin:top right;transform-origin:top right}}@-webkit-keyframes thirdmessgae{0%{overflow:hidden}100%{overflow:visibile}}@keyframes thirdmessgae{0%{overflow:hidden}100%{overflow:visibile}}.from-me{position:relative;position:absolute;right:0;bottom:10px;width:300px;margin-bottom:0;padding:6px 15px 7px;border-radius:12px;opacity:0;color:#fff;background:#0b93f6;-webkit-transition:opacity .3s cubic-bezier(.694,0,.335,1) .1s,-webkit-transform .5s cubic-bezier(.694,.5,.1,1);transition:opacity .3s cubic-bezier(.694,0,.335,1) .1s,-webkit-transform .5s cubic-bezier(.694,.5,.1,1);transition:transform .5s cubic-bezier(.694,.5,.1,1),opacity .3s cubic-bezier(.694,0,.335,1) .1s;transition:transform .5s cubic-bezier(.694,.5,.1,1),opacity .3s cubic-bezier(.694,0,.335,1) .1s,-webkit-transform .5s cubic-bezier(.694,.5,.1,1);-webkit-transform:translateY(50px) translateX(10px) scale(.1);-ms-transform:translateY(50px) translateX(10px) scale(.1);transform:translateY(50px) translateX(10px) scale(.1)}.loaded .from-me:not(.is-third-message){opacity:1;-webkit-transform:translateY(0) translateX(0) scale(1);-ms-transform:translateY(0) translateX(0) scale(1);transform:translateY(0) translateX(0) scale(1);-webkit-transform-origin:right;-ms-transform-origin:right;transform-origin:right}.loaded .from-me.with-second-message{-webkit-animation:moveup 1.7s ease-out 4.2s forwards;animation:moveup 1.7s ease-out 4.2s forwards}.loaded .from-me.is-third-message{opacity:1;-webkit-transition:opacity .3s cubic-bezier(.694,0,.335,1) 7.1s,-webkit-transform .5s cubic-bezier(.694,.5,.1,1) 7s;transition:opacity .3s cubic-bezier(.694,0,.335,1) 7.1s,-webkit-transform .5s cubic-bezier(.694,.5,.1,1) 7s;transition:transform .5s cubic-bezier(.694,.5,.1,1) 7s,opacity .3s cubic-bezier(.694,0,.335,1) 7.1s;transition:transform .5s cubic-bezier(.694,.5,.1,1) 7s,opacity .3s cubic-bezier(.694,0,.335,1) 7.1s,-webkit-transform .5s cubic-bezier(.694,.5,.1,1) 7s;-webkit-transform:scale(1) translateY(0);-ms-transform:scale(1) translateY(0);transform:scale(1) translateY(0);-webkit-transform-origin:right;-ms-transform-origin:right;transform-origin:right}.from-me a{color:#fff}.from-me p{font-size:13px}.from-me::before{position:absolute;z-index:0;right:-7px;bottom:-2px;height:20px;border-right:20px solid #0b93f6;border-bottom-left-radius:16px 14px;content:"";-webkit-transform:translate(0,-2px)}.from-me::after{position:absolute;z-index:0;right:-56px;bottom:-2px;width:26px;height:20px;border-bottom-left-radius:10px;background:#f1f1f1;content:"";-webkit-transform:translate(-30px,-2px)}.chat-bubble{position:absolute;right:12px;bottom:8px;width:24px;height:34px;margin-left:auto;opacity:0;background:#ddd;-webkit-transition:opacity .3s cubic-bezier(.694,0,.335,1) 4.3s,-webkit-transform .5s cubic-bezier(.694,.5,.1,1) 4.2s;transition:opacity .3s cubic-bezier(.694,0,.335,1) 4.3s,-webkit-transform .5s cubic-bezier(.694,.5,.1,1) 4.2s;transition:transform .5s cubic-bezier(.694,.5,.1,1) 4.2s,opacity .3s cubic-bezier(.694,0,.335,1) 4.3s;transition:transform .5s cubic-bezier(.694,.5,.1,1) 4.2s,opacity .3s cubic-bezier(.694,0,.335,1) 4.3s,-webkit-transform .5s cubic-bezier(.694,.5,.1,1) 4.2s;-webkit-transform:translateY(50px) translateX(10px) scale(.1);-ms-transform:translateY(50px) translateX(10px) scale(.1);transform:translateY(50px) translateX(10px) scale(.1)}.loaded .chat-bubble{opacity:1;-webkit-transform:translateY(0) translateX(0) scale(1);-ms-transform:translateY(0) translateX(0) scale(1);transform:translateY(0) translateX(0) scale(1);-webkit-transform-origin:right;-ms-transform-origin:right;transform-origin:right;-webkit-animation:fadeout .3s ease-out 6.5s forwards;animation:fadeout .3s ease-out 6.5s forwards}.chat-bubble:before{display:block;position:absolute;z-index:1;left:-17px;width:34px;height:34px;border-radius:50%;background:#ddd;content:""}.chat-bubble:after{display:block;position:absolute;z-index:1;right:-17px;width:34px;height:34px;border-radius:50%;background:#ddd;content:""}.chat-bubble .tail{position:absolute;right:-17px;bottom:-1px;width:15px;height:15px;border-radius:50%;background:#ddd}.chat-bubble .tail::before{display:block;position:absolute;right:-3px;bottom:-4px;width:5px;height:5px;border-radius:50%;background:#ddd;content:""}.chat-bubble .loading{position:absolute;z-index:10;top:14px;left:0;width:30px}.chat-bubble .loading .dot{display:block;float:left;width:6px;height:6px;margin:0 0 0 3px;border-radius:50%;background:#c1c1c1}.chat-bubble .loading .dot:first-child{margin:0}.chat-bubble .loading .dot.one{-webkit-animation:cycleOne 1s ease-in-out infinite;animation:cycleOne 1s ease-in-out infinite}.chat-bubble .loading .dot.two{-webkit-animation:cycleTwo 1s ease-in-out infinite}.chat-bubble .loading .dot.three{-webkit-animation:cycleThree 1s ease-in-out infinite;animation:cycleThree 1s ease-in-out infinite}@-webkit-keyframes cycleOne{0%{background:rgba(150,150,150,.4)}33.333%{background:#969696}66.6667%{background:rgba(150,150,150,.4)}100%{background:rgba(150,150,150,.4)}}@keyframes cycleOne{0%{background:rgba(150,150,150,.4)}33.333%{background:#969696}66.6667%{background:rgba(150,150,150,.4)}100%{background:rgba(150,150,150,.4)}}@-webkit-keyframes cycleTwo{0%{background:rgba(150,150,150,.4)}33.333%{background:rgba(150,150,150,.4)}66.6667%{background:#969696}100%{background:rgba(150,150,150,.4)}}@keyframes cycleTwo{0%{background:rgba(150,150,150,.4)}33.333%{background:rgba(150,150,150,.4)}66.6667%{background:#969696}100%{background:rgba(150,150,150,.4)}}@-webkit-keyframes cycleThree{0%{background:rgba(150,150,150,.4)}33.333%{background:rgba(150,150,150,.4)}66.6667%{background:rgba(150,150,150,.4)}100%{background:#969696}}@keyframes cycleThree{0%{background:rgba(150,150,150,.4)}33.333%{background:rgba(150,150,150,.4)}66.6667%{background:rgba(150,150,150,.4)}100%{background:#969696}}.dots{display:block;position:relative;z-index:0;top:10px;max-width:140px;margin:0 auto;padding:0;line-height:1;list-style:none;cursor:default}.merlin__content--ready .dots{display:none}.merlin__content--content .dots{-webkit-transition:opacity .5s cubic-bezier(.694,0,.335,1);transition:opacity .5s cubic-bezier(.694,0,.335,1)}body.exiting .merlin__content--content .dots{opacity:0}.dots li{display:inline-block;position:relative;z-index:9999;top:-.15em;width:6px;height:6px;margin:0 1px;padding:0;border-radius:999px;background:#e3e3e3;-webkit-transition:background .3s cubic-bezier(.694,0,.335,1);transition:background .3s cubic-bezier(.694,0,.335,1)}.dots li.done{background:#ed1c25}.dots li.active{-webkit-animation:popIn .9s forwards;animation:popIn .9s forwards;-webkit-animation-fill-mode:both;animation-fill-mode:both}@media screen and (prefers-reduced-motion:reduce){.dots li.active{background:#ed1c25;-webkit-animation:none;animation:none}}.dots li.active::after{display:inline-block;position:absolute;z-index:-1;left:0;width:7px;height:7px;border-radius:999px;content:"";-webkit-transition:box-shadow .3s cubic-bezier(.694,0,.335,1);transition:box-shadow .3s cubic-bezier(.694,0,.335,1);-webkit-animation:sonarEffect .4s ease-out .3s;animation:sonarEffect .4s ease-out .3s}@media screen and (prefers-reduced-motion:reduce){.dots li.active::after{-webkit-animation:none;animation:none}}@-webkit-keyframes sonarEffect{0%{opacity:1}40%{opacity:.5;box-shadow:0 0 0 1px #aae4ff}100%{opacity:0;box-shadow:0 0 0 1px #aae4ff;-webkit-transform:scale(1.6);transform:scale(1.6)}}@keyframes sonarEffect{0%{opacity:1}40%{opacity:.5;box-shadow:0 0 0 1px #aae4ff}100%{opacity:0;box-shadow:0 0 0 1px #aae4ff;-webkit-transform:scale(1.6);transform:scale(1.6)}}@-webkit-keyframes popIn{0%{background:#e3e3e3}55%{background:#e3e3e3;-webkit-transform:scale(1);transform:scale(1)}65%{background:#ed1c25;-webkit-transform:scale(1.6);transform:scale(1.6)}85%{background:#ed1c25;-webkit-transform:scale(.8);transform:scale(.8)}95%{background:#ed1c25;-webkit-transform:scale(1.2);transform:scale(1.2)}100%{background:#ed1c25;-webkit-transform:scale(1);transform:scale(1)}}@keyframes popIn{0%{background:#e3e3e3}55%{background:#e3e3e3;-webkit-transform:scale(1);transform:scale(1)}65%{background:#ed1c25;-webkit-transform:scale(1.6);transform:scale(1.6)}85%{background:#ed1c25;-webkit-transform:scale(.8);transform:scale(.8)}95%{background:#ed1c25;-webkit-transform:scale(1.2);transform:scale(1.2)}100%{background:#ed1c25;-webkit-transform:scale(1);transform:scale(1)}}svg:not(:root){overflow:hidden}.icon{max-width:100%;margin-bottom:2.8em;-webkit-transform:translate3d(0,0,0);transform:translate3d(0,0,0)}.js--finished .icon:not(.icon--checkmark){opacity:0;-webkit-transition:opacity .4s cubic-bezier(.694,0,.335,1) 0s,-webkit-transform .4s cubic-bezier(.694,0,.335,1),-webkit-filter .3s cubic-bezier(.694,0,.335,1) .1s;transition:opacity .4s cubic-bezier(.694,0,.335,1) 0s,-webkit-transform .4s cubic-bezier(.694,0,.335,1),-webkit-filter .3s cubic-bezier(.694,0,.335,1) .1s;transition:transform .4s cubic-bezier(.694,0,.335,1),opacity .4s cubic-bezier(.694,0,.335,1) 0s,filter .3s cubic-bezier(.694,0,.335,1) .1s;transition:transform .4s cubic-bezier(.694,0,.335,1),opacity .4s cubic-bezier(.694,0,.335,1) 0s,filter .3s cubic-bezier(.694,0,.335,1) .1s,-webkit-transform .4s cubic-bezier(.694,0,.335,1),-webkit-filter .3s cubic-bezier(.694,0,.335,1) .1s;-webkit-transform:scale(.8);-ms-transform:scale(.8);transform:scale(.8);-webkit-filter:blur(10px);filter:blur(10px)}.merlin__content{display:block;overflow:hidden;zoom:1;position:relative;box-sizing:border-box;width:650px;margin:.5em auto 0;padding:140px 33px 35px;border-radiuwidth:600s: 7px;color:#444;background:#fff;box-shadow:0 5px 20px rgba(0,0,0,.07);-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;text-align:center}.merlin__content--transition{opacity:0;-webkit-transition:opacity .5s cubic-bezier(.694,0,.335,1),-webkit-transform .5s cubic-bezier(.694,0,.335,1),-webkit-filter .5s cubic-bezier(.694,0,.335,1) 0;transition:opacity .5s cubic-bezier(.694,0,.335,1),-webkit-transform .5s cubic-bezier(.694,0,.335,1),-webkit-filter .5s cubic-bezier(.694,0,.335,1) 0;transition:transform .5s cubic-bezier(.694,0,.335,1),opacity .5s cubic-bezier(.694,0,.335,1),filter .5s cubic-bezier(.694,0,.335,1) 0;transition:transform .5s cubic-bezier(.694,0,.335,1),opacity .5s cubic-bezier(.694,0,.335,1),filter .5s cubic-bezier(.694,0,.335,1) 0,-webkit-transform .5s cubic-bezier(.694,0,.335,1),-webkit-filter .5s cubic-bezier(.694,0,.335,1) 0;-webkit-transform:translateX(50%) scale(.95);-ms-transform:translateX(50%) scale(.95);transform:translateX(50%) scale(.95);-webkit-transform-origin:50%;-ms-transform-origin:50%;transform-origin:50%;-webkit-filter:blur(10px);filter:blur(10px)}@media screen and (prefers-reduced-motion:reduce){.merlin__content--transition{-webkit-transition:opacity .3s ease-in-out,-webkit-filter .3s ease-in-out;transition:opacity .3s ease-in-out,-webkit-filter .3s ease-in-out;transition:opacity .3s ease-in-out,filter .3s ease-in-out;transition:opacity .3s ease-in-out,filter .3s ease-in-out,-webkit-filter .3s ease-in-out;-webkit-transform:translateX(0) scale(1);-ms-transform:translateX(0) scale(1);transform:translateX(0) scale(1);-webkit-filter:blur(2px);filter:blur(2px)}}.merlin__content--welcome .merlin__content--transition{opacity:1;-webkit-transform:translateX(0) scale(1);-ms-transform:translateX(0) scale(1);transform:translateX(0) scale(1);-webkit-filter:blur(0);filter:blur(0)}.merlin__content--plugins .merlin__content__footer.no-plugins,.merlin__content--welcome .merlin__content__footer{padding-top:22px}.merlin__content--plugins .merlin__content__footer{padding-top:3px}.merlin__content--license .merlin__content__footer{padding-top:5px}.merlin__content--ready{padding-bottom:12px}body.loaded .merlin__content--transition{opacity:1;-webkit-transform:translateX(0) scale(1);-ms-transform:translateX(0) scale(1);transform:translateX(0) scale(1);-webkit-filter:blur(0);filter:blur(0)}body.exiting .merlin__content--transition{opacity:0;-webkit-transition:opacity .5s cubic-bezier(.694,0,.335,1),-webkit-transform .5s cubic-bezier(.694,0,.335,1),-webkit-filter .7s cubic-bezier(.694,0,.335,1) 0;transition:opacity .5s cubic-bezier(.694,0,.335,1),-webkit-transform .5s cubic-bezier(.694,0,.335,1),-webkit-filter .7s cubic-bezier(.694,0,.335,1) 0;transition:transform .5s cubic-bezier(.694,0,.335,1),opacity .5s cubic-bezier(.694,0,.335,1),filter .7s cubic-bezier(.694,0,.335,1) 0;transition:transform .5s cubic-bezier(.694,0,.335,1),opacity .5s cubic-bezier(.694,0,.335,1),filter .7s cubic-bezier(.694,0,.335,1) 0,-webkit-transform .5s cubic-bezier(.694,0,.335,1),-webkit-filter .7s cubic-bezier(.694,0,.335,1) 0;-webkit-transform:translateX(-40%) scale(.96);-ms-transform:translateX(-40%) scale(.96);transform:translateX(-40%) scale(.96);-webkit-filter:blur(10px);filter:blur(10px)}@media screen and (prefers-reduced-motion:reduce){body.exiting .merlin__content--transition{-webkit-transition:opacity .3s ease-in-out,-webkit-filter .3s ease-in-out;transition:opacity .3s ease-in-out,-webkit-filter .3s ease-in-out;transition:opacity .3s ease-in-out,filter .3s ease-in-out;transition:opacity .3s ease-in-out,filter .3s ease-in-out,-webkit-filter .3s ease-in-out;-webkit-transform:translateX(0) scale(1);-ms-transform:translateX(0) scale(1);transform:translateX(0) scale(1);-webkit-filter:blur(2px);filter:blur(2px)}}.merlin__content--welcome{opacity:0;-webkit-transition:opacity .4s cubic-bezier(.694,0,.335,1);transition:opacity .4s cubic-bezier(.694,0,.335,1);-webkit-animation:animation 1s linear both .2s;animation:animation 1s linear both .2s}body.loaded .merlin__content--welcome{opacity:1}@media screen and (prefers-reduced-motion:reduce){.merlin__content--welcome{opacity:1;-webkit-animation:none;animation:none}}@-webkit-keyframes animation{0%{-webkit-transform:matrix3d(.5,0,0,0,0,.5,0,0,0,0,1,0,0,0,0,1);transform:matrix3d(.5,0,0,0,0,.5,0,0,0,0,1,0,0,0,0,1)}4.5%{-webkit-transform:matrix3d(.718,0,0,0,0,.743,0,0,0,0,1,0,0,0,0,1);transform:matrix3d(.718,0,0,0,0,.743,0,0,0,0,1,0,0,0,0,1)}5.51%{-webkit-transform:matrix3d(.762,0,0,0,0,.794,0,0,0,0,1,0,0,0,0,1);transform:matrix3d(.762,0,0,0,0,.794,0,0,0,0,1,0,0,0,0,1)}9.01%{-webkit-transform:matrix3d(.888,0,0,0,0,.94,0,0,0,0,1,0,0,0,0,1);transform:matrix3d(.888,0,0,0,0,.94,0,0,0,0,1,0,0,0,0,1)}11.01%{-webkit-transform:matrix3d(.941,0,0,0,0,.998,0,0,0,0,1,0,0,0,0,1);transform:matrix3d(.941,0,0,0,0,.998,0,0,0,0,1,0,0,0,0,1)}13.51%{-webkit-transform:matrix3d(.989,0,0,0,0,1.044,0,0,0,0,1,0,0,0,0,1);transform:matrix3d(.989,0,0,0,0,1.044,0,0,0,0,1,0,0,0,0,1)}16.52%{-webkit-transform:matrix3d(1.024,0,0,0,0,1.067,0,0,0,0,1,0,0,0,0,1);transform:matrix3d(1.024,0,0,0,0,1.067,0,0,0,0,1,0,0,0,0,1)}17.92%{-webkit-transform:matrix3d(1.033,0,0,0,0,1.07,0,0,0,0,1,0,0,0,0,1);transform:matrix3d(1.033,0,0,0,0,1.07,0,0,0,0,1,0,0,0,0,1)}21.92%{-webkit-transform:matrix3d(1.042,0,0,0,0,1.057,0,0,0,0,1,0,0,0,0,1);transform:matrix3d(1.042,0,0,0,0,1.057,0,0,0,0,1,0,0,0,0,1)}29.03%{-webkit-transform:matrix3d(1.028,0,0,0,0,1.016,0,0,0,0,1,0,0,0,0,1);transform:matrix3d(1.028,0,0,0,0,1.016,0,0,0,0,1,0,0,0,0,1)}34.63%{-webkit-transform:matrix3d(1.013,0,0,0,0,.997,0,0,0,0,1,0,0,0,0,1);transform:matrix3d(1.013,0,0,0,0,.997,0,0,0,0,1,0,0,0,0,1)}36.24%{-webkit-transform:matrix3d(1.009,0,0,0,0,.994,0,0,0,0,1,0,0,0,0,1);transform:matrix3d(1.009,0,0,0,0,.994,0,0,0,0,1,0,0,0,0,1)}40.14%{-webkit-transform:matrix3d(1.003,0,0,0,0,.992,0,0,0,0,1,0,0,0,0,1);transform:matrix3d(1.003,0,0,0,0,.992,0,0,0,0,1,0,0,0,0,1)}50.55%{-webkit-transform:matrix3d(.997,0,0,0,0,.998,0,0,0,0,1,0,0,0,0,1);transform:matrix3d(.997,0,0,0,0,.998,0,0,0,0,1,0,0,0,0,1)}62.36%{-webkit-transform:matrix3d(.999,0,0,0,0,1.001,0,0,0,0,1,0,0,0,0,1);transform:matrix3d(.999,0,0,0,0,1.001,0,0,0,0,1,0,0,0,0,1)}79.08%{-webkit-transform:matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1);transform:matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1)}84.68%{-webkit-transform:matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1);transform:matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1)}100%{-webkit-transform:matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1);transform:matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1)}}@keyframes animation{0%{-webkit-transform:matrix3d(.5,0,0,0,0,.5,0,0,0,0,1,0,0,0,0,1);transform:matrix3d(.5,0,0,0,0,.5,0,0,0,0,1,0,0,0,0,1)}4.5%{-webkit-transform:matrix3d(.718,0,0,0,0,.743,0,0,0,0,1,0,0,0,0,1);transform:matrix3d(.718,0,0,0,0,.743,0,0,0,0,1,0,0,0,0,1)}5.51%{-webkit-transform:matrix3d(.762,0,0,0,0,.794,0,0,0,0,1,0,0,0,0,1);transform:matrix3d(.762,0,0,0,0,.794,0,0,0,0,1,0,0,0,0,1)}9.01%{-webkit-transform:matrix3d(.888,0,0,0,0,.94,0,0,0,0,1,0,0,0,0,1);transform:matrix3d(.888,0,0,0,0,.94,0,0,0,0,1,0,0,0,0,1)}11.01%{-webkit-transform:matrix3d(.941,0,0,0,0,.998,0,0,0,0,1,0,0,0,0,1);transform:matrix3d(.941,0,0,0,0,.998,0,0,0,0,1,0,0,0,0,1)}13.51%{-webkit-transform:matrix3d(.989,0,0,0,0,1.044,0,0,0,0,1,0,0,0,0,1);transform:matrix3d(.989,0,0,0,0,1.044,0,0,0,0,1,0,0,0,0,1)}16.52%{-webkit-transform:matrix3d(1.024,0,0,0,0,1.067,0,0,0,0,1,0,0,0,0,1);transform:matrix3d(1.024,0,0,0,0,1.067,0,0,0,0,1,0,0,0,0,1)}17.92%{-webkit-transform:matrix3d(1.033,0,0,0,0,1.07,0,0,0,0,1,0,0,0,0,1);transform:matrix3d(1.033,0,0,0,0,1.07,0,0,0,0,1,0,0,0,0,1)}21.92%{-webkit-transform:matrix3d(1.042,0,0,0,0,1.057,0,0,0,0,1,0,0,0,0,1);transform:matrix3d(1.042,0,0,0,0,1.057,0,0,0,0,1,0,0,0,0,1)}29.03%{-webkit-transform:matrix3d(1.028,0,0,0,0,1.016,0,0,0,0,1,0,0,0,0,1);transform:matrix3d(1.028,0,0,0,0,1.016,0,0,0,0,1,0,0,0,0,1)}34.63%{-webkit-transform:matrix3d(1.013,0,0,0,0,.997,0,0,0,0,1,0,0,0,0,1);transform:matrix3d(1.013,0,0,0,0,.997,0,0,0,0,1,0,0,0,0,1)}36.24%{-webkit-transform:matrix3d(1.009,0,0,0,0,.994,0,0,0,0,1,0,0,0,0,1);transform:matrix3d(1.009,0,0,0,0,.994,0,0,0,0,1,0,0,0,0,1)}40.14%{-webkit-transform:matrix3d(1.003,0,0,0,0,.992,0,0,0,0,1,0,0,0,0,1);transform:matrix3d(1.003,0,0,0,0,.992,0,0,0,0,1,0,0,0,0,1)}50.55%{-webkit-transform:matrix3d(.997,0,0,0,0,.998,0,0,0,0,1,0,0,0,0,1);transform:matrix3d(.997,0,0,0,0,.998,0,0,0,0,1,0,0,0,0,1)}62.36%{-webkit-transform:matrix3d(.999,0,0,0,0,1.001,0,0,0,0,1,0,0,0,0,1);transform:matrix3d(.999,0,0,0,0,1.001,0,0,0,0,1,0,0,0,0,1)}79.08%{-webkit-transform:matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1);transform:matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1)}84.68%{-webkit-transform:matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1);transform:matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1)}100%{-webkit-transform:matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1);transform:matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1)}}.merlin__button{display:inline-block;overflow:hidden;position:relative;padding:8px 18px 9px;border:0;border-radius:4px;color:#a1a5a8;background:#fff;font-size:15px;font-weight:600;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;text-align:center;text-decoration:none;cursor:pointer;-webkit-transition:color 150ms cubic-bezier(.694,0,.335,1),background 150ms cubic-bezier(.694,0,.335,1);transition:color 150ms cubic-bezier(.694,0,.335,1),background 150ms cubic-bezier(.694,0,.335,1)}@media screen and (prefers-reduced-motion:reduce){.merlin__button{-webkit-transition:color 50ms ease-in-out,background 50ms ease-in-out;transition:color 50ms ease-in-out,background 50ms ease-in-out}}.merlin__button:hover{background:#f4f4f4}.merlin__button:hover .chevron::after,.merlin__button:hover .chevron::before{background:#a1a5a8}.merlin__button:active{background:#ebebeb}.merlin__button span{display:inline-block}.merlin__button--colorchange{-webkit-animation:colorchange .8s infinite alternate;animation:colorchange .8s infinite alternate}.merlin__button--fullwidth{display:block;z-index:999;width:60%;margin:0 auto;padding-top:9px;padding-bottom:10px;font-size:14px}.merlin__button--next,.merlin__button--skip{position:absolute;bottom:12px}.merlin__button--next{right:12px;color:#ed1c25}.merlin__button--next:active,.merlin__button--next:hover{color:#111}.merlin__button--next:focus{outline:0;box-shadow:none}.merlin__button--skip{left:12px}.merlin__button--skip:active,.merlin__button--skip:hover{color:#666}.merlin__button--blue{color:#fff;background:#ed1c25}.merlin__button--blue:active,.merlin__button--blue:hover{color:#fff;background:#333}.merlin__button--knockout{margin-left:-10px;padding-top:10px;padding-right:25px;color:#cbcbcb;background:#fff;font-size:14px;font-weight:500;-webkit-transition:color .9s cubic-bezier(.694,0,.335,1);transition:color .9s cubic-bezier(.694,0,.335,1)}.merlin__button--knockout:active,.merlin__button--knockout:hover{color:#a1a5a8;background:0 0}.merlin__button--no-chevron{margin-top:3px;margin-left:0;padding-right:18px}.merlin__button--loading:active,.merlin__button--loading:hover{background:0 0}.merlin__button--loading__text{-webkit-transition:opacity .4s cubic-bezier(.18,1,.21,1) .4s,-webkit-filter 4.1s cubic-bezier(.18,1,.21,1);transition:opacity .4s cubic-bezier(.18,1,.21,1) .4s,-webkit-filter 4.1s cubic-bezier(.18,1,.21,1);transition:opacity .4s cubic-bezier(.18,1,.21,1) .4s,filter 4.1s cubic-bezier(.18,1,.21,1);transition:opacity .4s cubic-bezier(.18,1,.21,1) .4s,filter 4.1s cubic-bezier(.18,1,.21,1),-webkit-filter 4.1s cubic-bezier(.18,1,.21,1)}.merlin__button--loading__spinner{position:absolute;top:50%;left:50%;opacity:0;-webkit-transition:opacity .1s ease,-webkit-transform .8s cubic-bezier(.18,1,.21,1) .3s;transition:opacity .1s ease,-webkit-transform .8s cubic-bezier(.18,1,.21,1) .3s;transition:opacity .1s ease,transform .8s cubic-bezier(.18,1,.21,1) .3s;transition:opacity .1s ease,transform .8s cubic-bezier(.18,1,.21,1) .3s,-webkit-transform .8s cubic-bezier(.18,1,.21,1) .3s;-webkit-transform:scale(0);-ms-transform:scale(0);transform:scale(0)}.merlin__button--loading .merlin__button--loading__text{opacity:0;-webkit-filter:blur(100px);filter:blur(100px)}.merlin__button--loading .merlin__button--loading__spinner{opacity:1;-webkit-transform:scale(1);-ms-transform:scale(1);transform:scale(1)}#skip{display:inline-block;visibility:visible;z-index:1;opacity:1}#close{display:none;visibility:hidden;z-index:-1;opacity:0}@-webkit-keyframes colorchange{0%{background:#fff}100%{background:#f4f4f4}}@keyframes colorchange{0%{background:#fff}100%{background:#f4f4f4}}.chevron{display:block;position:absolute;z-index:1;top:58%;right:10px;-webkit-transition:top .9s cubic-bezier(.86,0,.07,1),background 150ms cubic-bezier(.694,0,.335,1),-webkit-transform .9s cubic-bezier(.86,0,.07,1),-webkit-transform-origin .9s cubic-bezier(.86,0,.07,1);transition:top .9s cubic-bezier(.86,0,.07,1),background 150ms cubic-bezier(.694,0,.335,1),-webkit-transform .9s cubic-bezier(.86,0,.07,1),-webkit-transform-origin .9s cubic-bezier(.86,0,.07,1);transition:transform .9s cubic-bezier(.86,0,.07,1),transform-origin .9s cubic-bezier(.86,0,.07,1),top .9s cubic-bezier(.86,0,.07,1),background 150ms cubic-bezier(.694,0,.335,1);transition:transform .9s cubic-bezier(.86,0,.07,1),transform-origin .9s cubic-bezier(.86,0,.07,1),top .9s cubic-bezier(.86,0,.07,1),background 150ms cubic-bezier(.694,0,.335,1),-webkit-transform .9s cubic-bezier(.86,0,.07,1),-webkit-transform-origin .9s cubic-bezier(.86,0,.07,1),-ms-transform-origin .9s cubic-bezier(.86,0,.07,1)}.chevron::after,.chevron::before{display:block;position:absolute;z-index:1;top:50%;width:10px;height:2px;border-radius:2px;background:#d1d1d1;content:" ";-webkit-transition:top .9s cubic-bezier(.86,0,.07,1),background 150ms cubic-bezier(.694,0,.335,1),-webkit-transform .9s cubic-bezier(.86,0,.07,1),-webkit-transform-origin .9s cubic-bezier(.86,0,.07,1);transition:top .9s cubic-bezier(.86,0,.07,1),background 150ms cubic-bezier(.694,0,.335,1),-webkit-transform .9s cubic-bezier(.86,0,.07,1),-webkit-transform-origin .9s cubic-bezier(.86,0,.07,1);transition:transform .9s cubic-bezier(.86,0,.07,1),transform-origin .9s cubic-bezier(.86,0,.07,1),top .9s cubic-bezier(.86,0,.07,1),background 150ms cubic-bezier(.694,0,.335,1);transition:transform .9s cubic-bezier(.86,0,.07,1),transform-origin .9s cubic-bezier(.86,0,.07,1),top .9s cubic-bezier(.86,0,.07,1),background 150ms cubic-bezier(.694,0,.335,1),-webkit-transform .9s cubic-bezier(.86,0,.07,1),-webkit-transform-origin .9s cubic-bezier(.86,0,.07,1),-ms-transform-origin .9s cubic-bezier(.86,0,.07,1);-webkit-backface-visibility:hidden;backface-visibility:hidden}.chevron::before{right:50%;-webkit-transform:rotate(40deg) scaleY(1);-ms-transform:rotate(40deg) scaleY(1);transform:rotate(40deg) scaleY(1);-webkit-transform-origin:100% 100%;-ms-transform-origin:100% 100%;transform-origin:100% 100%}.chevron::after{left:50%;-webkit-transform:rotate(-40deg) scaleY(1);-ms-transform:rotate(-40deg) scaleY(1);transform:rotate(-40deg) scaleY(1);-webkit-transform-origin:0 100%;-ms-transform-origin:0 100%;transform-origin:0 100%}.merlin__drawer--open .chevron{top:44%}.merlin__drawer--open .chevron::before{-webkit-transform:rotate(-40deg) scaleY(1);-ms-transform:rotate(-40deg) scaleY(1);transform:rotate(-40deg) scaleY(1);-webkit-transform-origin:100% 0;-ms-transform-origin:100% 0;transform-origin:100% 0}.merlin__drawer--open .chevron::after{-webkit-transform:rotate(40deg) scaleY(1);-ms-transform:rotate(40deg) scaleY(1);transform:rotate(40deg) scaleY(1);-webkit-transform-origin:0 0;-ms-transform-origin:0 0;transform-origin:0 0}.merlin-spinner{display:block;position:absolute;top:calc(50% - 10px);left:calc(50% - 10px);width:20px;height:20px;-webkit-transition:opacity .3s cubic-bezier(.694,0,.335,1) 50ms;transition:opacity .3s cubic-bezier(.694,0,.335,1) 50ms;-webkit-animation:container-rotate 1.6s linear infinite;animation:container-rotate 1.6s linear infinite}.exiting .merlin-spinner{opacity:0}.merlin-spinner-line{display:block;position:absolute;width:100%;height:100%;opacity:0;-webkit-transition:border-color .3s cubic-bezier(.694,0,.335,1);transition:border-color .3s cubic-bezier(.694,0,.335,1)}.merlin-spinner-line--1{border-color:#ed1c25;-webkit-animation:fill-unfill-rotate 4.8s cubic-bezier(.4,0,.2,1) infinite both,line-1-fade-in-out 4.8s cubic-bezier(.4,0,.2,1) infinite both;animation:fill-unfill-rotate 4.8s cubic-bezier(.4,0,.2,1) infinite both,line-1-fade-in-out 4.8s cubic-bezier(.4,0,.2,1) infinite both}.merlin-spinner-line--2{border-color:#ed1c25;-webkit-animation:fill-unfill-rotate 4.8s cubic-bezier(.4,0,.2,1) infinite both,line-2-fade-in-out 4.8s cubic-bezier(.4,0,.2,1) infinite both;animation:fill-unfill-rotate 4.8s cubic-bezier(.4,0,.2,1) infinite both,line-2-fade-in-out 4.8s cubic-bezier(.4,0,.2,1) infinite both}.merlin-spinner-line--3{border-color:#ed1c25;-webkit-animation:fill-unfill-rotate 4.8s cubic-bezier(.4,0,.2,1) infinite both,line-3-fade-in-out 4.8s cubic-bezier(.4,0,.2,1) infinite both;animation:fill-unfill-rotate 4.8s cubic-bezier(.4,0,.2,1) infinite both,line-3-fade-in-out 4.8s cubic-bezier(.4,0,.2,1) infinite both}.merlin-spinner-line--4{border-color:#ed1c25;-webkit-animation:fill-unfill-rotate 4.8s cubic-bezier(.4,0,.2,1) infinite both,line-4-fade-in-out 4.8s cubic-bezier(.4,0,.2,1) infinite both;animation:fill-unfill-rotate 4.8s cubic-bezier(.4,0,.2,1) infinite both,line-4-fade-in-out 4.8s cubic-bezier(.4,0,.2,1) infinite both}.merlin-spinner-line-ticker{overflow:hidden;position:absolute;top:0;left:45%;box-sizing:border-box;width:20%;height:100%;border-color:inherit}.merlin-spinner-line-cog{display:inline-block;overflow:hidden;position:relative;width:50%;height:100%;border-color:inherit}.merlin-spinner-line-cog-inner{position:absolute;top:0;right:0;bottom:0;left:0;box-sizing:border-box;width:200%;height:100%;border-width:3px;border-style:solid;border-color:inherit;border-bottom-color:transparent;border-radius:50%;-webkit-animation:none;animation:none}.merlin-spinner-line-cog-inner--left{border-right-color:transparent;-webkit-transform:rotate(129deg);-ms-transform:rotate(129deg);transform:rotate(129deg);-webkit-animation:left-spin 1.2s cubic-bezier(.4,0,.2,1) infinite both;animation:left-spin 1.2s cubic-bezier(.4,0,.2,1) infinite both}.merlin-spinner-line-cog-inner--right{left:-100%;border-left-color:transparent;-webkit-transform:rotate(-129deg);-ms-transform:rotate(-129deg);transform:rotate(-129deg);-webkit-animation:right-spin 1.2s cubic-bezier(.4,0,.2,1) infinite both;animation:right-spin 1.2s cubic-bezier(.4,0,.2,1) infinite both}.merlin-spinner-line-cog-inner--center{left:-450%;width:1000%}@-webkit-keyframes container-rotate{to{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}@keyframes container-rotate{to{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}@-webkit-keyframes fill-unfill-rotate{12.5%{-webkit-transform:rotate(135deg);transform:rotate(135deg)}25%{-webkit-transform:rotate(270deg);transform:rotate(270deg)}37.5%{-webkit-transform:rotate(405deg);transform:rotate(405deg)}50%{-webkit-transform:rotate(540deg);transform:rotate(540deg)}62.5%{-webkit-transform:rotate(675deg);transform:rotate(675deg)}75%{-webkit-transform:rotate(810deg);transform:rotate(810deg)}87.5%{-webkit-transform:rotate(945deg);transform:rotate(945deg)}to{-webkit-transform:rotate(1080deg);transform:rotate(1080deg)}}@keyframes fill-unfill-rotate{12.5%{-webkit-transform:rotate(135deg);transform:rotate(135deg)}25%{-webkit-transform:rotate(270deg);transform:rotate(270deg)}37.5%{-webkit-transform:rotate(405deg);transform:rotate(405deg)}50%{-webkit-transform:rotate(540deg);transform:rotate(540deg)}62.5%{-webkit-transform:rotate(675deg);transform:rotate(675deg)}75%{-webkit-transform:rotate(810deg);transform:rotate(810deg)}87.5%{-webkit-transform:rotate(945deg);transform:rotate(945deg)}to{-webkit-transform:rotate(1080deg);transform:rotate(1080deg)}}@-webkit-keyframes left-spin{0%{-webkit-transform:rotate(130deg);transform:rotate(130deg)}50%{-webkit-transform:rotate(-5deg);transform:rotate(-5deg)}to{-webkit-transform:rotate(130deg);transform:rotate(130deg)}}@keyframes left-spin{0%{-webkit-transform:rotate(130deg);transform:rotate(130deg)}50%{-webkit-transform:rotate(-5deg);transform:rotate(-5deg)}to{-webkit-transform:rotate(130deg);transform:rotate(130deg)}}@-webkit-keyframes right-spin{0%{-webkit-transform:rotate(-130deg);transform:rotate(-130deg)}50%{-webkit-transform:rotate(5deg);transform:rotate(5deg)}to{-webkit-transform:rotate(-130deg);transform:rotate(-130deg)}}@keyframes right-spin{0%{-webkit-transform:rotate(-130deg);transform:rotate(-130deg)}50%{-webkit-transform:rotate(5deg);transform:rotate(5deg)}to{-webkit-transform:rotate(-130deg);transform:rotate(-130deg)}}@-webkit-keyframes line-1-fade-in-out{0%{opacity:1}25%{opacity:1}26%{opacity:0}89%{opacity:0}90%{opacity:1}to{opacity:1}}@keyframes line-1-fade-in-out{0%{opacity:1}25%{opacity:1}26%{opacity:0}89%{opacity:0}90%{opacity:1}to{opacity:1}}@-webkit-keyframes line-2-fade-in-out{0%{opacity:0}15%{opacity:0}25%{opacity:1}50%{opacity:1}51%{opacity:0}}@keyframes line-2-fade-in-out{0%{opacity:0}15%{opacity:0}25%{opacity:1}50%{opacity:1}51%{opacity:0}}@-webkit-keyframes line-3-fade-in-out{0%{opacity:0}40%{opacity:0}50%{opacity:1}75%{opacity:1}76%{opacity:0}}@keyframes line-3-fade-in-out{0%{opacity:0}40%{opacity:0}50%{opacity:1}75%{opacity:1}76%{opacity:0}}@-webkit-keyframes line-4-fade-in-out{0%{opacity:0}65%{opacity:0}75%{opacity:1}90%{opacity:1}to{opacity:0}}@keyframes line-4-fade-in-out{0%{opacity:0}65%{opacity:0}75%{opacity:1}90%{opacity:1}to{opacity:0}}.return-to-dashboard{display:block;margin-top:1em;padding:1em;color:#b5b5b5;font-size:13px;text-align:center;text-decoration:none;-webkit-transition:color 150ms ease,opacity .3s cubic-bezier(.694,0,.335,1) 150ms;transition:color 150ms ease,opacity .3s cubic-bezier(.694,0,.335,1) 150ms}@media screen and (prefers-reduced-motion:reduce){.return-to-dashboard{opacity:1!important}}.merlin__body--welcome .return-to-dashboard{opacity:0}.merlin__body--welcome.loaded .return-to-dashboard{opacity:1}.return-to-dashboard:hover{color:#ed1c25;box-shadow:0 0 10px rgba(0,0,0,.06)}.merlin__drawer{overflow:hidden;max-height:0;margin:0;opacity:0;-webkit-transition:padding .6s cubic-bezier(.75,0,.25,1),opacity .3s linear .6s,max-height .7s cubic-bezier(.33,0,.2,1) 0s,-webkit-transform .6s cubic-bezier(.75,0,.25,1);transition:padding .6s cubic-bezier(.75,0,.25,1),opacity .3s linear .6s,max-height .7s cubic-bezier(.33,0,.2,1) 0s,-webkit-transform .6s cubic-bezier(.75,0,.25,1);transition:transform .6s cubic-bezier(.75,0,.25,1),padding .6s cubic-bezier(.75,0,.25,1),opacity .3s linear .6s,max-height .7s cubic-bezier(.33,0,.2,1) 0s;transition:transform .6s cubic-bezier(.75,0,.25,1),padding .6s cubic-bezier(.75,0,.25,1),opacity .3s linear .6s,max-height .7s cubic-bezier(.33,0,.2,1) 0s,-webkit-transform .6s cubic-bezier(.75,0,.25,1);pointer-events:none}.merlin__drawer li{position:relative;margin:0;padding:4px 0;opacity:0;text-align:center;-webkit-transition:.25s ease;transition:.25s ease;-webkit-transform:translate3d(0,-15px,0);transform:translate3d(0,-15px,0)}.merlin__drawer li:last-child{padding-bottom:0}.merlin__drawer li:nth-of-type(10){-webkit-transition-delay:.2s;transition-delay:.2s}.merlin__drawer li:nth-of-type(9){-webkit-transition-delay:.18s;transition-delay:.18s}.merlin__drawer li:nth-of-type(8){-webkit-transition-delay:.16s;transition-delay:.16s}.merlin__drawer li:nth-of-type(7){-webkit-transition-delay:.14s;transition-delay:.14s}.merlin__drawer li:nth-of-type(6){-webkit-transition-delay:.12s;transition-delay:.12s}.merlin__drawer li:nth-of-type(5){-webkit-transition-delay:.1s;transition-delay:.1s}.merlin__drawer li:nth-of-type(4){-webkit-transition-delay:80ms;transition-delay:80ms}.merlin__drawer li:nth-of-type(3){-webkit-transition-delay:60ms;transition-delay:60ms}.merlin__drawer li:nth-of-type(2){-webkit-transition-delay:40ms;transition-delay:40ms}.merlin__drawer li:nth-of-type(1){-webkit-transition-delay:20ms;transition-delay:20ms}.merlin__drawer--open .merlin__drawer{max-height:400px;opacity:1;-webkit-transition:padding .6s cubic-bezier(.75,0,.25,1),opacity .3s linear .2s,max-height .9s cubic-bezier(.33,0,.2,1) .1s,-webkit-transform .6s cubic-bezier(.75,0,.25,1);transition:padding .6s cubic-bezier(.75,0,.25,1),opacity .3s linear .2s,max-height .9s cubic-bezier(.33,0,.2,1) .1s,-webkit-transform .6s cubic-bezier(.75,0,.25,1);transition:transform .6s cubic-bezier(.75,0,.25,1),padding .6s cubic-bezier(.75,0,.25,1),opacity .3s linear .2s,max-height .9s cubic-bezier(.33,0,.2,1) .1s;transition:transform .6s cubic-bezier(.75,0,.25,1),padding .6s cubic-bezier(.75,0,.25,1),opacity .3s linear .2s,max-height .9s cubic-bezier(.33,0,.2,1) .1s,-webkit-transform .6s cubic-bezier(.75,0,.25,1);-webkit-transform:translateY(0);-ms-transform:translateY(0);transform:translateY(0);pointer-events:inherit}.merlin__drawer--open .merlin__drawer li{opacity:1;-webkit-transition:.4s ease;transition:.4s ease;-webkit-transform:translate3d(0,0,0);transform:translate3d(0,0,0)}.merlin__drawer--open .merlin__drawer li:nth-of-type(1){-webkit-transition-delay:.15s;transition-delay:.15s}.merlin__drawer--open .merlin__drawer li:nth-of-type(2){-webkit-transition-delay:.3s;transition-delay:.3s}.merlin__drawer--open .merlin__drawer li:nth-of-type(3){-webkit-transition-delay:.45s;transition-delay:.45s}.merlin__drawer--open .merlin__drawer li:nth-of-type(4){-webkit-transition-delay:.6s;transition-delay:.6s}.merlin__drawer--open .merlin__drawer li:nth-of-type(5){-webkit-transition-delay:.75s;transition-delay:.75s}.merlin__drawer--open .merlin__drawer li:nth-of-type(6){-webkit-transition-delay:.9s;transition-delay:.9s}.merlin__drawer--open .merlin__drawer li:nth-of-type(7){-webkit-transition-delay:1.05s;transition-delay:1.05s}.merlin__drawer--open .merlin__drawer li:nth-of-type(8){-webkit-transition-delay:1.2s;transition-delay:1.2s}.merlin__drawer--open .merlin__drawer li:nth-of-type(9){-webkit-transition-delay:1.35s;transition-delay:1.35s}.merlin__drawer--open .merlin__drawer li:nth-of-type(10){-webkit-transition-delay:1.5s;transition-delay:1.5s}.merlin__drawer--open .merlin__button--knockout{color:#a1a5a8}.merlin__drawer--open .chevron::after,.merlin__drawer--open .chevron::before{background:#a1a5a8}.merlin__drawer--open .merlin__button--next{-webkit-animation:colorchange 1s infinite alternate 1s;animation:colorchange 1s infinite alternate 1s}.merlin__drawer--open .merlin__button--loading{-webkit-animation:none;animation:none}.merlin__drawer--open #skip{display:none;visibility:hidden;z-index:-1;opacity:0}.merlin__drawer--open #close{display:inline-block;visibility:visible;z-index:1;opacity:1}.merlin__drawer--import-content{padding-top:3px}.merlin__drawer--import-content li{padding:2px 0;text-align:left}.merlin__drawer--import-content li:hover span{color:#ed1c25}.merlin__drawer--import-content label{display:inline-block;position:relative;width:100%;cursor:pointer}.merlin__drawer--import-content label span{-webkit-transition:color .1s;transition:color .1s}.merlin__drawer--import-content label i{display:inline-block;float:right;position:relative;width:13px;height:13px;margin-top:3px;border:2px solid #b2b7ba;border-radius:50%;background-color:transparent;text-align:left;-webkit-transition:border-color .1s,background-color .1s,-webkit-transform 350ms cubic-bezier(.78,-1.22,.17,1.89);transition:border-color .1s,background-color .1s,-webkit-transform 350ms cubic-bezier(.78,-1.22,.17,1.89);transition:border-color .1s,background-color .1s,transform 350ms cubic-bezier(.78,-1.22,.17,1.89);transition:border-color .1s,background-color .1s,transform 350ms cubic-bezier(.78,-1.22,.17,1.89),-webkit-transform 350ms cubic-bezier(.78,-1.22,.17,1.89);-webkit-transform-origin:center;-ms-transform-origin:center;transform-origin:center}.merlin__drawer--import-content label i:before{position:absolute;top:.4em;left:.2em;width:0;height:2px;border-radius:2px;background:#ed1c25;content:"";-webkit-transition:width 50ms ease 50ms;transition:width 50ms ease 50ms;-webkit-transform:rotate(45deg);-ms-transform:rotate(45deg);transform:rotate(45deg);-webkit-transform-origin:0 0;-ms-transform-origin:0 0;transform-origin:0 0}.merlin__drawer--import-content label i:after{position:absolute;top:.67em;left:4px;width:0;height:2px;border-radius:2px;background:#ed1c25;content:"";-webkit-transition:width 50ms ease;transition:width 50ms ease;-webkit-transform:rotate(310deg);-ms-transform:rotate(310deg);transform:rotate(310deg);-webkit-transform-origin:0 0;-ms-transform-origin:0 0;transform-origin:0 0}.merlin__drawer--import-content label:hover i{border-color:#ed1c25}.merlin__drawer--import-content .checkbox{display:none!important}.merlin__drawer--import-content .checkbox:checked+label.installing i{border-color:#ffb900;background-color:#ffb900;-webkit-transition:background-color .4s cubic-bezier(.18,1,.21,1),border-color .4s cubic-bezier(.18,1,.21,1);transition:background-color .4s cubic-bezier(.18,1,.21,1),border-color .4s cubic-bezier(.18,1,.21,1)}.merlin__drawer--import-content .checkbox:checked+label.success i{border-color:#46b450;background-color:#46b450;-webkit-transition:background-color .4s cubic-bezier(.18,1,.21,1) 220ms,border-color .4s cubic-bezier(.18,1,.21,1) 220ms;transition:background-color .4s cubic-bezier(.18,1,.21,1) 220ms,border-color .4s cubic-bezier(.18,1,.21,1) 220ms}.merlin__drawer--import-content .checkbox:checked+label.error i{border-color:#d54e21;background-color:#d54e21;-webkit-transition:background-color .4s cubic-bezier(.18,1,.21,1) 220ms,border-color .4s cubic-bezier(.18,1,.21,1) 220ms;transition:background-color .4s cubic-bezier(.18,1,.21,1) 220ms,border-color .4s cubic-bezier(.18,1,.21,1) 220ms}.merlin__drawer--import-content .checkbox:checked+label i{border-color:#ed1c25;background-color:#ed1c25;-webkit-transform:scale(1.2);-ms-transform:scale(1.2);transform:scale(1.2)}.merlin__drawer--import-content .checkbox:checked+label i:after{width:9px;background:#fff;-webkit-transition:width 50ms ease .1s;transition:width 50ms ease .1s}.merlin__drawer--import-content .checkbox:checked+label i:before{width:5px;background:#fff;-webkit-transition:width 50ms ease .1s;transition:width 50ms ease .1s}.merlin__drawer--open .merlin__drawer--install-plugins{padding-bottom:1px}.merlin__drawer--install-plugins li span{display:none}.merlin__drawer--install-plugins li .spinner{display:inline-block;visibility:visible;position:absolute;right:10px;margin-top:2px;opacity:0;-webkit-transition:opacity .2s cubic-bezier(.694,0,.335,1);transition:opacity .2s cubic-bezier(.694,0,.335,1)}.merlin__drawer--install-plugins.installing li .spinner{opacity:1}.merlin__drawer--install-plugins.installing li span{opacity:0}.merlin__drawer--open .merlin__drawer--extras{padding-bottom:30px}.icon--checkmark{display:none;position:absolute;top:-110px;left:calc(50% - 40px);width:80px;height:80px;border-radius:50%;box-shadow:inset 0 0 0 #46b450;-webkit-animation:fill .4s ease-in-out .4s forwards,scale .3s ease-in-out .9s both;animation:fill .4s ease-in-out .4s forwards,scale .3s ease-in-out .9s both;stroke:#fff;stroke-miterlimit:10;stroke-width:2}.js--finished .icon--checkmark{display:inline-block}.icon--checkmark__check{-webkit-transform-origin:50% 50%;-ms-transform-origin:50% 50%;transform-origin:50% 50%;-webkit-animation:stroke .3s cubic-bezier(.65,0,.45,1) .8s forwards;animation:stroke .3s cubic-bezier(.65,0,.45,1) .8s forwards;stroke-dasharray:48;stroke-dashoffset:48}.icon--checkmark__circle{-webkit-animation:stroke .6s cubic-bezier(.65,0,.45,1) forwards;animation:stroke .6s cubic-bezier(.65,0,.45,1) forwards;fill:none;stroke:#46b450;stroke-dasharray:166;stroke-dashoffset:166;stroke-miterlimit:10;stroke-width:2}@-webkit-keyframes stroke{100%{stroke-dashoffset:0}}@keyframes stroke{100%{stroke-dashoffset:0}}@-webkit-keyframes scale{0%,100%{-webkit-transform:none;transform:none}50%{-webkit-transform:scale3d(1.1,1.1,1);transform:scale3d(1.1,1.1,1)}}@keyframes scale{0%,100%{-webkit-transform:none;transform:none}50%{-webkit-transform:scale3d(1.1,1.1,1);transform:scale3d(1.1,1.1,1)}}@-webkit-keyframes fill{100%{box-shadow:inset 0 0 0 100px #46b450}}@keyframes fill{100%{box-shadow:inset 0 0 0 100px #46b450}}.merlin__content__footer{clear:both;margin-top:2.75em}.merlin__content__footer:after,.merlin__content__footer:before{display:table;content:""}.merlin__content__footer:after{clear:both}.merlin__content__footer--fullwidth{opacity:0;-webkit-transition:opacity .5s cubic-bezier(.694,0,.335,1),-webkit-transform .5s cubic-bezier(.694,0,.335,1),-webkit-filter .5s cubic-bezier(.694,0,.335,1);transition:opacity .5s cubic-bezier(.694,0,.335,1),-webkit-transform .5s cubic-bezier(.694,0,.335,1),-webkit-filter .5s cubic-bezier(.694,0,.335,1);transition:transform .5s cubic-bezier(.694,0,.335,1),opacity .5s cubic-bezier(.694,0,.335,1),filter .5s cubic-bezier(.694,0,.335,1);transition:transform .5s cubic-bezier(.694,0,.335,1),opacity .5s cubic-bezier(.694,0,.335,1),filter .5s cubic-bezier(.694,0,.335,1),-webkit-transform .5s cubic-bezier(.694,0,.335,1),-webkit-filter .5s cubic-bezier(.694,0,.335,1);-webkit-transform:translateX(50%);-ms-transform:translateX(50%);transform:translateX(50%);-webkit-transform-origin:top;-ms-transform-origin:top;transform-origin:top;-webkit-filter:blur(10px);filter:blur(10px)}@media screen and (prefers-reduced-motion:reduce){.merlin__content__footer--fullwidth{-webkit-transition:opacity .3s ease-in-out,-webkit-filter .3s ease-in-out;transition:opacity .3s ease-in-out,-webkit-filter .3s ease-in-out;transition:opacity .3s ease-in-out,filter .3s ease-in-out;transition:opacity .3s ease-in-out,filter .3s ease-in-out,-webkit-filter .3s ease-in-out;-webkit-transform:translateX(0);-ms-transform:translateX(0);transform:translateX(0);-webkit-filter:blur(2px);filter:blur(2px)}}body.loaded .merlin__content__footer--fullwidth{opacity:1;-webkit-transform:translateX(0);-ms-transform:translateX(0);transform:translateX(0);-webkit-filter:blur(0);filter:blur(0)}.merlin__content--license .merlin__content__footer{margin-top:-.24em}.merlin__content--ready .merlin__content__footer{margin-top:1.9em}.merlin__content--ready .merlin__content__footer .merlin__button--knockout{margin-top:10px}.merlin__content--content .merlin__content__footer{-webkit-transition:opacity .5s cubic-bezier(.694,0,.335,1);transition:opacity .5s cubic-bezier(.694,0,.335,1)}body.exiting .merlin__content--content .merlin__content__footer{opacity:0}.saswp_install_wizard{text-align:center;font-size:12px;text-transform:uppercase;letter-spacing:1px;color:rgba(0,0,0,.3)}.saswp_branding{background-image:url(../images/sd-logo-white.png);padding:40px;background-size:80px;background-repeat:no-repeat;position:absolute;left:calc(50% - 40px);top:-110px}.merlin__button--loading:before{background-image:url(data:image/gif;base64,R0lGODlhUABQAKUAAAQCBISGhMTGxERCRCQiJKSmpOTm5GRiZBQSFPT29JSWlLS2tNTW1DQyNHR2dAwKDFRWVKyurOzu7BwaHIyOjCwqLGxqbPz+/JyenOTi5AQGBIyKjNTS1ExKTCQmJKyqrOzq7GRmZBQWFPz6/JyanLy+vNza3Dw+PHx+fAwODFxeXLSytPTy9BweHP///wAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACH/C05FVFNDQVBFMi4wAwEAAAAh+QQJBwAuACwAAAAAUABQAAAG/kCXcEgsGo/IpHLJbDqf0Kh0Sq1ar9jskyXQKgUs73JUaCEMYqMB0SqM0kbTQAMAUOBESh3QYeBdFyQidS0kCX9CCRgtdQgYb2IJB3QAISCI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VS1BDVDBEMzJYQ1F1b0dpN1l1TlU5);content:" ";display:inline-block;background-size:30px;background-repeat:no-repeat;width:53px;height:35px;position:absolute;right:-3px;top:3px;opacity:.7;background-position:0 3px}body .amp_install_center{text-align:center}#ampforwp-design-select{width:170px;height:30px;position:relative;top:-15px}.amp_install_theme_preview{margin-bottom:-30px}.amp_install_logo_preview{max-width:180px;height:auto;border-radius:8px;box-shadow:1px 1px 10px rgba(0,0,0,.25)}.saswp_fields{width:100%}.saswp_fields label{width:40%;display:inline-block}.saswp_fields select{width:50%}.saswp-placement-or-group{text-decoration:none;margin-left:8px;margin-bottom:8px;align-items:flex-start;text-align:center;cursor:pointer;color:buttontext;background-color:buttonface;box-sizing:border-box;padding:2px 6px 3px;border-width:2px;border-style:outset}.option-table-class select{width:100%}.option-table-class input[type=text]{width:100%}.option-table-class{width:100%}.saswp-placement-button{padding:3px 10px;color:#0d0d0d;font-size:14px;border:1px solid #aaa;border-radius:2px;background:linear-gradient(#ededed,#fff)}.saswp-placement-table td{padding:5px 10px!important}.saswp-placement-group{margin-bottom:5px}#saswp_amp_select{border:0}.saswp_hide{display:none}.saswp-job-posting-note,.saswp-schem-type-note{color:#d2691e}.saswp_modify_schema_checkbox{display:none}
1
+ .merlin__body{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;box-sizing:border-box;margin:0 auto;padding:0!important;background:#f1f1f1;box-shadow:none;font-size:14px;line-height:1.7em;-webkit-align-items:center;align-items:center;-webkit-box-align:center;-webkit-box-pack:center;-ms-flex-align:center;-ms-flex-pack:center;-webkit-justify-content:center;justify-content:center}h1{margin:0 0 20px;padding:0;border:0;color:#444;font-size:20px;font-weight:500;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}p{margin:0;font-size:14px;line-height:1.7em}.merlin__input{display:block;width:70%;margin:14px auto 0;padding:4px 8px;border-radius:3px;font-size:12px}.lead+.merlin__button--knockout{z-index:-1}p.lead{z-index:9999;-webkit-animation:vanishOut .8s linear alternate;animation:vanishOut .8s linear alternate}p.success{-webkit-animation:vanishIn .7s linear alternate;animation:vanishIn .7s linear alternate}@-webkit-keyframes vanishIn{0%{opacity:0;-webkit-transform:scale(2,2);transform:scale(2,2);-webkit-transform-origin:50% 50%;transform-origin:50% 50%;-webkit-filter:blur(70px);filter:blur(70px)}100%{opacity:1;-webkit-transform:scale(1,1);transform:scale(1,1);-webkit-transform-origin:50% 50%;transform-origin:50% 50%;-webkit-filter:blur(0);filter:blur(0)}}@keyframes vanishIn{0%{opacity:0;-webkit-transform:scale(2,2);transform:scale(2,2);-webkit-transform-origin:50% 50%;transform-origin:50% 50%;-webkit-filter:blur(70px);filter:blur(70px)}100%{opacity:1;-webkit-transform:scale(1,1);transform:scale(1,1);-webkit-transform-origin:50% 50%;transform-origin:50% 50%;-webkit-filter:blur(0);filter:blur(0)}}@media screen and (prefers-reduced-motion:reduce){@-webkit-keyframes vanishIn{0%{opacity:0}100%{opacity:1}}@keyframes vanishIn{0%{opacity:0}100%{opacity:1}}}@-webkit-keyframes vanishOut{0%{opacity:1;-webkit-transform:scale(1,1);transform:scale(1,1);-webkit-transform-origin:50% 50%;transform-origin:50% 50%;-webkit-filter:blur(0);filter:blur(0)}100%{opacity:0;-webkit-transform:scale(2,2);transform:scale(2,2);-webkit-transform-origin:50% 50%;transform-origin:50% 50%;-webkit-filter:blur(50px);filter:blur(50px)}}@keyframes vanishOut{0%{opacity:1;-webkit-transform:scale(1,1);transform:scale(1,1);-webkit-transform-origin:50% 50%;transform-origin:50% 50%;-webkit-filter:blur(0);filter:blur(0)}100%{opacity:0;-webkit-transform:scale(2,2);transform:scale(2,2);-webkit-transform-origin:50% 50%;transform-origin:50% 50%;-webkit-filter:blur(50px);filter:blur(50px)}}@media screen and (prefers-reduced-motion:reduce){@-webkit-keyframes vanishOut{0%{opacity:1}100%{opacity:0}}@keyframes vanishOut{0%{opacity:1}100%{opacity:0}}}.hidden{display:none;overflow:hidden;clip:rect(1px,1px,1px,1px);position:absolute;width:1px;height:1px;padding:0;border:0;-webkit-clip-path:circle(1% at 1% 1%);clip-path:circle(1% at 1% 1%)}.huh-container,.huh-launcher{display:none!important}.icon.icon--merlin{position:absolute;right:15px;bottom:15px;width:50px;height:75px;margin:0}.merlin__helper{position:absolute;right:80px;bottom:40px}@-webkit-keyframes moveup{0%{opacity:1;-webkit-transform:translateY(0);transform:translateY(0)}30%{opacity:1;-webkit-transform:translateY(-42px);transform:translateY(-42px)}90%{opacity:1;-webkit-transform:translateY(-42px);transform:translateY(-42px)}100%{opacity:0;-webkit-transform:translateY(-48px) scale(.99);transform:translateY(-48px) scale(.99);-webkit-transform-origin:top right;transform-origin:top right}}@keyframes moveup{0%{opacity:1;-webkit-transform:translateY(0);transform:translateY(0)}30%{opacity:1;-webkit-transform:translateY(-42px);transform:translateY(-42px)}90%{opacity:1;-webkit-transform:translateY(-42px);transform:translateY(-42px)}100%{opacity:0;-webkit-transform:translateY(-48px) scale(.99);transform:translateY(-48px) scale(.99);-webkit-transform-origin:top right;transform-origin:top right}}@-webkit-keyframes fadeout{0%{opacity:1}100%{opacity:0;-webkit-transform:translateY(-30px) scale(.94);transform:translateY(-30px) scale(.94);-webkit-transform-origin:top right;transform-origin:top right}}@keyframes fadeout{0%{opacity:1}100%{opacity:0;-webkit-transform:translateY(-30px) scale(.94);transform:translateY(-30px) scale(.94);-webkit-transform-origin:top right;transform-origin:top right}}@-webkit-keyframes thirdmessgae{0%{overflow:hidden}100%{overflow:visibile}}@keyframes thirdmessgae{0%{overflow:hidden}100%{overflow:visibile}}.from-me{position:relative;position:absolute;right:0;bottom:10px;width:300px;margin-bottom:0;padding:6px 15px 7px;border-radius:12px;opacity:0;color:#fff;background:#0b93f6;-webkit-transition:opacity .3s cubic-bezier(.694,0,.335,1) .1s,-webkit-transform .5s cubic-bezier(.694,.5,.1,1);transition:opacity .3s cubic-bezier(.694,0,.335,1) .1s,-webkit-transform .5s cubic-bezier(.694,.5,.1,1);transition:transform .5s cubic-bezier(.694,.5,.1,1),opacity .3s cubic-bezier(.694,0,.335,1) .1s;transition:transform .5s cubic-bezier(.694,.5,.1,1),opacity .3s cubic-bezier(.694,0,.335,1) .1s,-webkit-transform .5s cubic-bezier(.694,.5,.1,1);-webkit-transform:translateY(50px) translateX(10px) scale(.1);-ms-transform:translateY(50px) translateX(10px) scale(.1);transform:translateY(50px) translateX(10px) scale(.1)}.loaded .from-me:not(.is-third-message){opacity:1;-webkit-transform:translateY(0) translateX(0) scale(1);-ms-transform:translateY(0) translateX(0) scale(1);transform:translateY(0) translateX(0) scale(1);-webkit-transform-origin:right;-ms-transform-origin:right;transform-origin:right}.loaded .from-me.with-second-message{-webkit-animation:moveup 1.7s ease-out 4.2s forwards;animation:moveup 1.7s ease-out 4.2s forwards}.loaded .from-me.is-third-message{opacity:1;-webkit-transition:opacity .3s cubic-bezier(.694,0,.335,1) 7.1s,-webkit-transform .5s cubic-bezier(.694,.5,.1,1) 7s;transition:opacity .3s cubic-bezier(.694,0,.335,1) 7.1s,-webkit-transform .5s cubic-bezier(.694,.5,.1,1) 7s;transition:transform .5s cubic-bezier(.694,.5,.1,1) 7s,opacity .3s cubic-bezier(.694,0,.335,1) 7.1s;transition:transform .5s cubic-bezier(.694,.5,.1,1) 7s,opacity .3s cubic-bezier(.694,0,.335,1) 7.1s,-webkit-transform .5s cubic-bezier(.694,.5,.1,1) 7s;-webkit-transform:scale(1) translateY(0);-ms-transform:scale(1) translateY(0);transform:scale(1) translateY(0);-webkit-transform-origin:right;-ms-transform-origin:right;transform-origin:right}.from-me a{color:#fff}.from-me p{font-size:13px}.from-me::before{position:absolute;z-index:0;right:-7px;bottom:-2px;height:20px;border-right:20px solid #0b93f6;border-bottom-left-radius:16px 14px;content:"";-webkit-transform:translate(0,-2px)}.from-me::after{position:absolute;z-index:0;right:-56px;bottom:-2px;width:26px;height:20px;border-bottom-left-radius:10px;background:#f1f1f1;content:"";-webkit-transform:translate(-30px,-2px)}.chat-bubble{position:absolute;right:12px;bottom:8px;width:24px;height:34px;margin-left:auto;opacity:0;background:#ddd;-webkit-transition:opacity .3s cubic-bezier(.694,0,.335,1) 4.3s,-webkit-transform .5s cubic-bezier(.694,.5,.1,1) 4.2s;transition:opacity .3s cubic-bezier(.694,0,.335,1) 4.3s,-webkit-transform .5s cubic-bezier(.694,.5,.1,1) 4.2s;transition:transform .5s cubic-bezier(.694,.5,.1,1) 4.2s,opacity .3s cubic-bezier(.694,0,.335,1) 4.3s;transition:transform .5s cubic-bezier(.694,.5,.1,1) 4.2s,opacity .3s cubic-bezier(.694,0,.335,1) 4.3s,-webkit-transform .5s cubic-bezier(.694,.5,.1,1) 4.2s;-webkit-transform:translateY(50px) translateX(10px) scale(.1);-ms-transform:translateY(50px) translateX(10px) scale(.1);transform:translateY(50px) translateX(10px) scale(.1)}.loaded .chat-bubble{opacity:1;-webkit-transform:translateY(0) translateX(0) scale(1);-ms-transform:translateY(0) translateX(0) scale(1);transform:translateY(0) translateX(0) scale(1);-webkit-transform-origin:right;-ms-transform-origin:right;transform-origin:right;-webkit-animation:fadeout .3s ease-out 6.5s forwards;animation:fadeout .3s ease-out 6.5s forwards}.chat-bubble:before{display:block;position:absolute;z-index:1;left:-17px;width:34px;height:34px;border-radius:50%;background:#ddd;content:""}.chat-bubble:after{display:block;position:absolute;z-index:1;right:-17px;width:34px;height:34px;border-radius:50%;background:#ddd;content:""}.chat-bubble .tail{position:absolute;right:-17px;bottom:-1px;width:15px;height:15px;border-radius:50%;background:#ddd}.chat-bubble .tail::before{display:block;position:absolute;right:-3px;bottom:-4px;width:5px;height:5px;border-radius:50%;background:#ddd;content:""}.chat-bubble .loading{position:absolute;z-index:10;top:14px;left:0;width:30px}.chat-bubble .loading .dot{display:block;float:left;width:6px;height:6px;margin:0 0 0 3px;border-radius:50%;background:#c1c1c1}.chat-bubble .loading .dot:first-child{margin:0}.chat-bubble .loading .dot.one{-webkit-animation:cycleOne 1s ease-in-out infinite;animation:cycleOne 1s ease-in-out infinite}.chat-bubble .loading .dot.two{-webkit-animation:cycleTwo 1s ease-in-out infinite}.chat-bubble .loading .dot.three{-webkit-animation:cycleThree 1s ease-in-out infinite;animation:cycleThree 1s ease-in-out infinite}@-webkit-keyframes cycleOne{0%{background:rgba(150,150,150,.4)}33.333%{background:#969696}66.6667%{background:rgba(150,150,150,.4)}100%{background:rgba(150,150,150,.4)}}@keyframes cycleOne{0%{background:rgba(150,150,150,.4)}33.333%{background:#969696}66.6667%{background:rgba(150,150,150,.4)}100%{background:rgba(150,150,150,.4)}}@-webkit-keyframes cycleTwo{0%{background:rgba(150,150,150,.4)}33.333%{background:rgba(150,150,150,.4)}66.6667%{background:#969696}100%{background:rgba(150,150,150,.4)}}@keyframes cycleTwo{0%{background:rgba(150,150,150,.4)}33.333%{background:rgba(150,150,150,.4)}66.6667%{background:#969696}100%{background:rgba(150,150,150,.4)}}@-webkit-keyframes cycleThree{0%{background:rgba(150,150,150,.4)}33.333%{background:rgba(150,150,150,.4)}66.6667%{background:rgba(150,150,150,.4)}100%{background:#969696}}@keyframes cycleThree{0%{background:rgba(150,150,150,.4)}33.333%{background:rgba(150,150,150,.4)}66.6667%{background:rgba(150,150,150,.4)}100%{background:#969696}}.dots{display:block;position:relative;z-index:0;top:10px;max-width:140px;margin:0 auto;padding:0;line-height:1;list-style:none;cursor:default}.merlin__content--ready .dots{display:none}.merlin__content--content .dots{-webkit-transition:opacity .5s cubic-bezier(.694,0,.335,1);transition:opacity .5s cubic-bezier(.694,0,.335,1)}body.exiting .merlin__content--content .dots{opacity:0}.dots li{display:inline-block;position:relative;z-index:9999;top:-.15em;width:6px;height:6px;margin:0 1px;padding:0;border-radius:999px;background:#e3e3e3;-webkit-transition:background .3s cubic-bezier(.694,0,.335,1);transition:background .3s cubic-bezier(.694,0,.335,1)}.dots li.done{background:#ed1c25}.dots li.active{-webkit-animation:popIn .9s forwards;animation:popIn .9s forwards;-webkit-animation-fill-mode:both;animation-fill-mode:both}@media screen and (prefers-reduced-motion:reduce){.dots li.active{background:#ed1c25;-webkit-animation:none;animation:none}}.dots li.active::after{display:inline-block;position:absolute;z-index:-1;left:0;width:7px;height:7px;border-radius:999px;content:"";-webkit-transition:box-shadow .3s cubic-bezier(.694,0,.335,1);transition:box-shadow .3s cubic-bezier(.694,0,.335,1);-webkit-animation:sonarEffect .4s ease-out .3s;animation:sonarEffect .4s ease-out .3s}@media screen and (prefers-reduced-motion:reduce){.dots li.active::after{-webkit-animation:none;animation:none}}@-webkit-keyframes sonarEffect{0%{opacity:1}40%{opacity:.5;box-shadow:0 0 0 1px #aae4ff}100%{opacity:0;box-shadow:0 0 0 1px #aae4ff;-webkit-transform:scale(1.6);transform:scale(1.6)}}@keyframes sonarEffect{0%{opacity:1}40%{opacity:.5;box-shadow:0 0 0 1px #aae4ff}100%{opacity:0;box-shadow:0 0 0 1px #aae4ff;-webkit-transform:scale(1.6);transform:scale(1.6)}}@-webkit-keyframes popIn{0%{background:#e3e3e3}55%{background:#e3e3e3;-webkit-transform:scale(1);transform:scale(1)}65%{background:#ed1c25;-webkit-transform:scale(1.6);transform:scale(1.6)}85%{background:#ed1c25;-webkit-transform:scale(.8);transform:scale(.8)}95%{background:#ed1c25;-webkit-transform:scale(1.2);transform:scale(1.2)}100%{background:#ed1c25;-webkit-transform:scale(1);transform:scale(1)}}@keyframes popIn{0%{background:#e3e3e3}55%{background:#e3e3e3;-webkit-transform:scale(1);transform:scale(1)}65%{background:#ed1c25;-webkit-transform:scale(1.6);transform:scale(1.6)}85%{background:#ed1c25;-webkit-transform:scale(.8);transform:scale(.8)}95%{background:#ed1c25;-webkit-transform:scale(1.2);transform:scale(1.2)}100%{background:#ed1c25;-webkit-transform:scale(1);transform:scale(1)}}svg:not(:root){overflow:hidden}.icon{max-width:100%;margin-bottom:2.8em;-webkit-transform:translate3d(0,0,0);transform:translate3d(0,0,0)}.js--finished .icon:not(.icon--checkmark){opacity:0;-webkit-transition:opacity .4s cubic-bezier(.694,0,.335,1) 0s,-webkit-transform .4s cubic-bezier(.694,0,.335,1),-webkit-filter .3s cubic-bezier(.694,0,.335,1) .1s;transition:opacity .4s cubic-bezier(.694,0,.335,1) 0s,-webkit-transform .4s cubic-bezier(.694,0,.335,1),-webkit-filter .3s cubic-bezier(.694,0,.335,1) .1s;transition:transform .4s cubic-bezier(.694,0,.335,1),opacity .4s cubic-bezier(.694,0,.335,1) 0s,filter .3s cubic-bezier(.694,0,.335,1) .1s;transition:transform .4s cubic-bezier(.694,0,.335,1),opacity .4s cubic-bezier(.694,0,.335,1) 0s,filter .3s cubic-bezier(.694,0,.335,1) .1s,-webkit-transform .4s cubic-bezier(.694,0,.335,1),-webkit-filter .3s cubic-bezier(.694,0,.335,1) .1s;-webkit-transform:scale(.8);-ms-transform:scale(.8);transform:scale(.8);-webkit-filter:blur(10px);filter:blur(10px)}.merlin__content{display:block;overflow:hidden;zoom:1;position:relative;box-sizing:border-box;width:650px;margin:.5em auto 0;padding:140px 33px 35px;border-radiuwidth:600s: 7px;color:#444;background:#fff;box-shadow:0 5px 20px rgba(0,0,0,.07);-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;text-align:center}.merlin__content--transition{opacity:0;-webkit-transition:opacity .5s cubic-bezier(.694,0,.335,1),-webkit-transform .5s cubic-bezier(.694,0,.335,1),-webkit-filter .5s cubic-bezier(.694,0,.335,1) 0;transition:opacity .5s cubic-bezier(.694,0,.335,1),-webkit-transform .5s cubic-bezier(.694,0,.335,1),-webkit-filter .5s cubic-bezier(.694,0,.335,1) 0;transition:transform .5s cubic-bezier(.694,0,.335,1),opacity .5s cubic-bezier(.694,0,.335,1),filter .5s cubic-bezier(.694,0,.335,1) 0;transition:transform .5s cubic-bezier(.694,0,.335,1),opacity .5s cubic-bezier(.694,0,.335,1),filter .5s cubic-bezier(.694,0,.335,1) 0,-webkit-transform .5s cubic-bezier(.694,0,.335,1),-webkit-filter .5s cubic-bezier(.694,0,.335,1) 0;-webkit-transform:translateX(50%) scale(.95);-ms-transform:translateX(50%) scale(.95);transform:translateX(50%) scale(.95);-webkit-transform-origin:50%;-ms-transform-origin:50%;transform-origin:50%;-webkit-filter:blur(10px);filter:blur(10px)}@media screen and (prefers-reduced-motion:reduce){.merlin__content--transition{-webkit-transition:opacity .3s ease-in-out,-webkit-filter .3s ease-in-out;transition:opacity .3s ease-in-out,-webkit-filter .3s ease-in-out;transition:opacity .3s ease-in-out,filter .3s ease-in-out;transition:opacity .3s ease-in-out,filter .3s ease-in-out,-webkit-filter .3s ease-in-out;-webkit-transform:translateX(0) scale(1);-ms-transform:translateX(0) scale(1);transform:translateX(0) scale(1);-webkit-filter:blur(2px);filter:blur(2px)}}.merlin__content--welcome .merlin__content--transition{opacity:1;-webkit-transform:translateX(0) scale(1);-ms-transform:translateX(0) scale(1);transform:translateX(0) scale(1);-webkit-filter:blur(0);filter:blur(0)}.merlin__content--plugins .merlin__content__footer.no-plugins,.merlin__content--welcome .merlin__content__footer{padding-top:22px}.merlin__content--plugins .merlin__content__footer{padding-top:3px}.merlin__content--license .merlin__content__footer{padding-top:5px}.merlin__content--ready{padding-bottom:12px}body.loaded .merlin__content--transition{opacity:1;-webkit-transform:translateX(0) scale(1);-ms-transform:translateX(0) scale(1);transform:translateX(0) scale(1);-webkit-filter:blur(0);filter:blur(0)}body.exiting .merlin__content--transition{opacity:0;-webkit-transition:opacity .5s cubic-bezier(.694,0,.335,1),-webkit-transform .5s cubic-bezier(.694,0,.335,1),-webkit-filter .7s cubic-bezier(.694,0,.335,1) 0;transition:opacity .5s cubic-bezier(.694,0,.335,1),-webkit-transform .5s cubic-bezier(.694,0,.335,1),-webkit-filter .7s cubic-bezier(.694,0,.335,1) 0;transition:transform .5s cubic-bezier(.694,0,.335,1),opacity .5s cubic-bezier(.694,0,.335,1),filter .7s cubic-bezier(.694,0,.335,1) 0;transition:transform .5s cubic-bezier(.694,0,.335,1),opacity .5s cubic-bezier(.694,0,.335,1),filter .7s cubic-bezier(.694,0,.335,1) 0,-webkit-transform .5s cubic-bezier(.694,0,.335,1),-webkit-filter .7s cubic-bezier(.694,0,.335,1) 0;-webkit-transform:translateX(-40%) scale(.96);-ms-transform:translateX(-40%) scale(.96);transform:translateX(-40%) scale(.96);-webkit-filter:blur(10px);filter:blur(10px)}@media screen and (prefers-reduced-motion:reduce){body.exiting .merlin__content--transition{-webkit-transition:opacity .3s ease-in-out,-webkit-filter .3s ease-in-out;transition:opacity .3s ease-in-out,-webkit-filter .3s ease-in-out;transition:opacity .3s ease-in-out,filter .3s ease-in-out;transition:opacity .3s ease-in-out,filter .3s ease-in-out,-webkit-filter .3s ease-in-out;-webkit-transform:translateX(0) scale(1);-ms-transform:translateX(0) scale(1);transform:translateX(0) scale(1);-webkit-filter:blur(2px);filter:blur(2px)}}.merlin__content--welcome{opacity:0;-webkit-transition:opacity .4s cubic-bezier(.694,0,.335,1);transition:opacity .4s cubic-bezier(.694,0,.335,1);-webkit-animation:animation 1s linear both .2s;animation:animation 1s linear both .2s}body.loaded .merlin__content--welcome{opacity:1}@media screen and (prefers-reduced-motion:reduce){.merlin__content--welcome{opacity:1;-webkit-animation:none;animation:none}}@-webkit-keyframes animation{0%{-webkit-transform:matrix3d(.5,0,0,0,0,.5,0,0,0,0,1,0,0,0,0,1);transform:matrix3d(.5,0,0,0,0,.5,0,0,0,0,1,0,0,0,0,1)}4.5%{-webkit-transform:matrix3d(.718,0,0,0,0,.743,0,0,0,0,1,0,0,0,0,1);transform:matrix3d(.718,0,0,0,0,.743,0,0,0,0,1,0,0,0,0,1)}5.51%{-webkit-transform:matrix3d(.762,0,0,0,0,.794,0,0,0,0,1,0,0,0,0,1);transform:matrix3d(.762,0,0,0,0,.794,0,0,0,0,1,0,0,0,0,1)}9.01%{-webkit-transform:matrix3d(.888,0,0,0,0,.94,0,0,0,0,1,0,0,0,0,1);transform:matrix3d(.888,0,0,0,0,.94,0,0,0,0,1,0,0,0,0,1)}11.01%{-webkit-transform:matrix3d(.941,0,0,0,0,.998,0,0,0,0,1,0,0,0,0,1);transform:matrix3d(.941,0,0,0,0,.998,0,0,0,0,1,0,0,0,0,1)}13.51%{-webkit-transform:matrix3d(.989,0,0,0,0,1.044,0,0,0,0,1,0,0,0,0,1);transform:matrix3d(.989,0,0,0,0,1.044,0,0,0,0,1,0,0,0,0,1)}16.52%{-webkit-transform:matrix3d(1.024,0,0,0,0,1.067,0,0,0,0,1,0,0,0,0,1);transform:matrix3d(1.024,0,0,0,0,1.067,0,0,0,0,1,0,0,0,0,1)}17.92%{-webkit-transform:matrix3d(1.033,0,0,0,0,1.07,0,0,0,0,1,0,0,0,0,1);transform:matrix3d(1.033,0,0,0,0,1.07,0,0,0,0,1,0,0,0,0,1)}21.92%{-webkit-transform:matrix3d(1.042,0,0,0,0,1.057,0,0,0,0,1,0,0,0,0,1);transform:matrix3d(1.042,0,0,0,0,1.057,0,0,0,0,1,0,0,0,0,1)}29.03%{-webkit-transform:matrix3d(1.028,0,0,0,0,1.016,0,0,0,0,1,0,0,0,0,1);transform:matrix3d(1.028,0,0,0,0,1.016,0,0,0,0,1,0,0,0,0,1)}34.63%{-webkit-transform:matrix3d(1.013,0,0,0,0,.997,0,0,0,0,1,0,0,0,0,1);transform:matrix3d(1.013,0,0,0,0,.997,0,0,0,0,1,0,0,0,0,1)}36.24%{-webkit-transform:matrix3d(1.009,0,0,0,0,.994,0,0,0,0,1,0,0,0,0,1);transform:matrix3d(1.009,0,0,0,0,.994,0,0,0,0,1,0,0,0,0,1)}40.14%{-webkit-transform:matrix3d(1.003,0,0,0,0,.992,0,0,0,0,1,0,0,0,0,1);transform:matrix3d(1.003,0,0,0,0,.992,0,0,0,0,1,0,0,0,0,1)}50.55%{-webkit-transform:matrix3d(.997,0,0,0,0,.998,0,0,0,0,1,0,0,0,0,1);transform:matrix3d(.997,0,0,0,0,.998,0,0,0,0,1,0,0,0,0,1)}62.36%{-webkit-transform:matrix3d(.999,0,0,0,0,1.001,0,0,0,0,1,0,0,0,0,1);transform:matrix3d(.999,0,0,0,0,1.001,0,0,0,0,1,0,0,0,0,1)}79.08%{-webkit-transform:matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1);transform:matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1)}84.68%{-webkit-transform:matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1);transform:matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1)}100%{-webkit-transform:matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1);transform:matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1)}}@keyframes animation{0%{-webkit-transform:matrix3d(.5,0,0,0,0,.5,0,0,0,0,1,0,0,0,0,1);transform:matrix3d(.5,0,0,0,0,.5,0,0,0,0,1,0,0,0,0,1)}4.5%{-webkit-transform:matrix3d(.718,0,0,0,0,.743,0,0,0,0,1,0,0,0,0,1);transform:matrix3d(.718,0,0,0,0,.743,0,0,0,0,1,0,0,0,0,1)}5.51%{-webkit-transform:matrix3d(.762,0,0,0,0,.794,0,0,0,0,1,0,0,0,0,1);transform:matrix3d(.762,0,0,0,0,.794,0,0,0,0,1,0,0,0,0,1)}9.01%{-webkit-transform:matrix3d(.888,0,0,0,0,.94,0,0,0,0,1,0,0,0,0,1);transform:matrix3d(.888,0,0,0,0,.94,0,0,0,0,1,0,0,0,0,1)}11.01%{-webkit-transform:matrix3d(.941,0,0,0,0,.998,0,0,0,0,1,0,0,0,0,1);transform:matrix3d(.941,0,0,0,0,.998,0,0,0,0,1,0,0,0,0,1)}13.51%{-webkit-transform:matrix3d(.989,0,0,0,0,1.044,0,0,0,0,1,0,0,0,0,1);transform:matrix3d(.989,0,0,0,0,1.044,0,0,0,0,1,0,0,0,0,1)}16.52%{-webkit-transform:matrix3d(1.024,0,0,0,0,1.067,0,0,0,0,1,0,0,0,0,1);transform:matrix3d(1.024,0,0,0,0,1.067,0,0,0,0,1,0,0,0,0,1)}17.92%{-webkit-transform:matrix3d(1.033,0,0,0,0,1.07,0,0,0,0,1,0,0,0,0,1);transform:matrix3d(1.033,0,0,0,0,1.07,0,0,0,0,1,0,0,0,0,1)}21.92%{-webkit-transform:matrix3d(1.042,0,0,0,0,1.057,0,0,0,0,1,0,0,0,0,1);transform:matrix3d(1.042,0,0,0,0,1.057,0,0,0,0,1,0,0,0,0,1)}29.03%{-webkit-transform:matrix3d(1.028,0,0,0,0,1.016,0,0,0,0,1,0,0,0,0,1);transform:matrix3d(1.028,0,0,0,0,1.016,0,0,0,0,1,0,0,0,0,1)}34.63%{-webkit-transform:matrix3d(1.013,0,0,0,0,.997,0,0,0,0,1,0,0,0,0,1);transform:matrix3d(1.013,0,0,0,0,.997,0,0,0,0,1,0,0,0,0,1)}36.24%{-webkit-transform:matrix3d(1.009,0,0,0,0,.994,0,0,0,0,1,0,0,0,0,1);transform:matrix3d(1.009,0,0,0,0,.994,0,0,0,0,1,0,0,0,0,1)}40.14%{-webkit-transform:matrix3d(1.003,0,0,0,0,.992,0,0,0,0,1,0,0,0,0,1);transform:matrix3d(1.003,0,0,0,0,.992,0,0,0,0,1,0,0,0,0,1)}50.55%{-webkit-transform:matrix3d(.997,0,0,0,0,.998,0,0,0,0,1,0,0,0,0,1);transform:matrix3d(.997,0,0,0,0,.998,0,0,0,0,1,0,0,0,0,1)}62.36%{-webkit-transform:matrix3d(.999,0,0,0,0,1.001,0,0,0,0,1,0,0,0,0,1);transform:matrix3d(.999,0,0,0,0,1.001,0,0,0,0,1,0,0,0,0,1)}79.08%{-webkit-transform:matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1);transform:matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1)}84.68%{-webkit-transform:matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1);transform:matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1)}100%{-webkit-transform:matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1);transform:matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1)}}.merlin__button{display:inline-block;overflow:hidden;position:relative;padding:8px 18px 9px;border:0;border-radius:4px;color:#a1a5a8;background:#fff;font-size:15px;font-weight:600;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;text-align:center;text-decoration:none;cursor:pointer;-webkit-transition:color 150ms cubic-bezier(.694,0,.335,1),background 150ms cubic-bezier(.694,0,.335,1);transition:color 150ms cubic-bezier(.694,0,.335,1),background 150ms cubic-bezier(.694,0,.335,1)}@media screen and (prefers-reduced-motion:reduce){.merlin__button{-webkit-transition:color 50ms ease-in-out,background 50ms ease-in-out;transition:color 50ms ease-in-out,background 50ms ease-in-out}}.merlin__button:hover{background:#f4f4f4}.merlin__button:hover .chevron::after,.merlin__button:hover .chevron::before{background:#a1a5a8}.merlin__button:active{background:#ebebeb}.merlin__button span{display:inline-block}.merlin__button--colorchange{-webkit-animation:colorchange .8s infinite alternate;animation:colorchange .8s infinite alternate}.merlin__button--fullwidth{display:block;z-index:999;width:60%;margin:0 auto;padding-top:9px;padding-bottom:10px;font-size:14px}.merlin__button--next,.merlin__button--skip{position:absolute;bottom:12px}.merlin__button--next{right:12px;color:#ed1c25}.merlin__button--next:active,.merlin__button--next:hover{color:#111}.merlin__button--next:focus{outline:0;box-shadow:none}.merlin__button--skip{left:12px}.merlin__button--skip:active,.merlin__button--skip:hover{color:#666}.merlin__button--blue{color:#fff;background:#ed1c25}.merlin__button--blue:active,.merlin__button--blue:hover{color:#fff;background:#333}.merlin__button--knockout{margin-left:-10px;padding-top:10px;padding-right:25px;color:#cbcbcb;background:#fff;font-size:14px;font-weight:500;-webkit-transition:color .9s cubic-bezier(.694,0,.335,1);transition:color .9s cubic-bezier(.694,0,.335,1)}.merlin__button--knockout:active,.merlin__button--knockout:hover{color:#a1a5a8;background:0 0}.merlin__button--no-chevron{margin-top:3px;margin-left:0;padding-right:18px}.merlin__button--loading:active,.merlin__button--loading:hover{background:0 0}.merlin__button--loading__text{-webkit-transition:opacity .4s cubic-bezier(.18,1,.21,1) .4s,-webkit-filter 4.1s cubic-bezier(.18,1,.21,1);transition:opacity .4s cubic-bezier(.18,1,.21,1) .4s,-webkit-filter 4.1s cubic-bezier(.18,1,.21,1);transition:opacity .4s cubic-bezier(.18,1,.21,1) .4s,filter 4.1s cubic-bezier(.18,1,.21,1);transition:opacity .4s cubic-bezier(.18,1,.21,1) .4s,filter 4.1s cubic-bezier(.18,1,.21,1),-webkit-filter 4.1s cubic-bezier(.18,1,.21,1)}.merlin__button--loading__spinner{position:absolute;top:50%;left:50%;opacity:0;-webkit-transition:opacity .1s ease,-webkit-transform .8s cubic-bezier(.18,1,.21,1) .3s;transition:opacity .1s ease,-webkit-transform .8s cubic-bezier(.18,1,.21,1) .3s;transition:opacity .1s ease,transform .8s cubic-bezier(.18,1,.21,1) .3s;transition:opacity .1s ease,transform .8s cubic-bezier(.18,1,.21,1) .3s,-webkit-transform .8s cubic-bezier(.18,1,.21,1) .3s;-webkit-transform:scale(0);-ms-transform:scale(0);transform:scale(0)}.merlin__button--loading .merlin__button--loading__text{opacity:0;-webkit-filter:blur(100px);filter:blur(100px)}.merlin__button--loading .merlin__button--loading__spinner{opacity:1;-webkit-transform:scale(1);-ms-transform:scale(1);transform:scale(1)}#skip{display:inline-block;visibility:visible;z-index:1;opacity:1}#close{display:none;visibility:hidden;z-index:-1;opacity:0}@-webkit-keyframes colorchange{0%{background:#fff}100%{background:#f4f4f4}}@keyframes colorchange{0%{background:#fff}100%{background:#f4f4f4}}.chevron{display:block;position:absolute;z-index:1;top:58%;right:10px;-webkit-transition:top .9s cubic-bezier(.86,0,.07,1),background 150ms cubic-bezier(.694,0,.335,1),-webkit-transform .9s cubic-bezier(.86,0,.07,1),-webkit-transform-origin .9s cubic-bezier(.86,0,.07,1);transition:top .9s cubic-bezier(.86,0,.07,1),background 150ms cubic-bezier(.694,0,.335,1),-webkit-transform .9s cubic-bezier(.86,0,.07,1),-webkit-transform-origin .9s cubic-bezier(.86,0,.07,1);transition:transform .9s cubic-bezier(.86,0,.07,1),transform-origin .9s cubic-bezier(.86,0,.07,1),top .9s cubic-bezier(.86,0,.07,1),background 150ms cubic-bezier(.694,0,.335,1);transition:transform .9s cubic-bezier(.86,0,.07,1),transform-origin .9s cubic-bezier(.86,0,.07,1),top .9s cubic-bezier(.86,0,.07,1),background 150ms cubic-bezier(.694,0,.335,1),-webkit-transform .9s cubic-bezier(.86,0,.07,1),-webkit-transform-origin .9s cubic-bezier(.86,0,.07,1),-ms-transform-origin .9s cubic-bezier(.86,0,.07,1)}.chevron::after,.chevron::before{display:block;position:absolute;z-index:1;top:50%;width:10px;height:2px;border-radius:2px;background:#d1d1d1;content:" ";-webkit-transition:top .9s cubic-bezier(.86,0,.07,1),background 150ms cubic-bezier(.694,0,.335,1),-webkit-transform .9s cubic-bezier(.86,0,.07,1),-webkit-transform-origin .9s cubic-bezier(.86,0,.07,1);transition:top .9s cubic-bezier(.86,0,.07,1),background 150ms cubic-bezier(.694,0,.335,1),-webkit-transform .9s cubic-bezier(.86,0,.07,1),-webkit-transform-origin .9s cubic-bezier(.86,0,.07,1);transition:transform .9s cubic-bezier(.86,0,.07,1),transform-origin .9s cubic-bezier(.86,0,.07,1),top .9s cubic-bezier(.86,0,.07,1),background 150ms cubic-bezier(.694,0,.335,1);transition:transform .9s cubic-bezier(.86,0,.07,1),transform-origin .9s cubic-bezier(.86,0,.07,1),top .9s cubic-bezier(.86,0,.07,1),background 150ms cubic-bezier(.694,0,.335,1),-webkit-transform .9s cubic-bezier(.86,0,.07,1),-webkit-transform-origin .9s cubic-bezier(.86,0,.07,1),-ms-transform-origin .9s cubic-bezier(.86,0,.07,1);-webkit-backface-visibility:hidden;backface-visibility:hidden}.chevron::before{right:50%;-webkit-transform:rotate(40deg) scaleY(1);-ms-transform:rotate(40deg) scaleY(1);transform:rotate(40deg) scaleY(1);-webkit-transform-origin:100% 100%;-ms-transform-origin:100% 100%;transform-origin:100% 100%}.chevron::after{left:50%;-webkit-transform:rotate(-40deg) scaleY(1);-ms-transform:rotate(-40deg) scaleY(1);transform:rotate(-40deg) scaleY(1);-webkit-transform-origin:0 100%;-ms-transform-origin:0 100%;transform-origin:0 100%}.merlin__drawer--open .chevron{top:44%}.merlin__drawer--open .chevron::before{-webkit-transform:rotate(-40deg) scaleY(1);-ms-transform:rotate(-40deg) scaleY(1);transform:rotate(-40deg) scaleY(1);-webkit-transform-origin:100% 0;-ms-transform-origin:100% 0;transform-origin:100% 0}.merlin__drawer--open .chevron::after{-webkit-transform:rotate(40deg) scaleY(1);-ms-transform:rotate(40deg) scaleY(1);transform:rotate(40deg) scaleY(1);-webkit-transform-origin:0 0;-ms-transform-origin:0 0;transform-origin:0 0}.merlin-spinner{display:block;position:absolute;top:calc(50% - 10px);left:calc(50% - 10px);width:20px;height:20px;-webkit-transition:opacity .3s cubic-bezier(.694,0,.335,1) 50ms;transition:opacity .3s cubic-bezier(.694,0,.335,1) 50ms;-webkit-animation:container-rotate 1.6s linear infinite;animation:container-rotate 1.6s linear infinite}.exiting .merlin-spinner{opacity:0}.merlin-spinner-line{display:block;position:absolute;width:100%;height:100%;opacity:0;-webkit-transition:border-color .3s cubic-bezier(.694,0,.335,1);transition:border-color .3s cubic-bezier(.694,0,.335,1)}.merlin-spinner-line--1{border-color:#ed1c25;-webkit-animation:fill-unfill-rotate 4.8s cubic-bezier(.4,0,.2,1) infinite both,line-1-fade-in-out 4.8s cubic-bezier(.4,0,.2,1) infinite both;animation:fill-unfill-rotate 4.8s cubic-bezier(.4,0,.2,1) infinite both,line-1-fade-in-out 4.8s cubic-bezier(.4,0,.2,1) infinite both}.merlin-spinner-line--2{border-color:#ed1c25;-webkit-animation:fill-unfill-rotate 4.8s cubic-bezier(.4,0,.2,1) infinite both,line-2-fade-in-out 4.8s cubic-bezier(.4,0,.2,1) infinite both;animation:fill-unfill-rotate 4.8s cubic-bezier(.4,0,.2,1) infinite both,line-2-fade-in-out 4.8s cubic-bezier(.4,0,.2,1) infinite both}.merlin-spinner-line--3{border-color:#ed1c25;-webkit-animation:fill-unfill-rotate 4.8s cubic-bezier(.4,0,.2,1) infinite both,line-3-fade-in-out 4.8s cubic-bezier(.4,0,.2,1) infinite both;animation:fill-unfill-rotate 4.8s cubic-bezier(.4,0,.2,1) infinite both,line-3-fade-in-out 4.8s cubic-bezier(.4,0,.2,1) infinite both}.merlin-spinner-line--4{border-color:#ed1c25;-webkit-animation:fill-unfill-rotate 4.8s cubic-bezier(.4,0,.2,1) infinite both,line-4-fade-in-out 4.8s cubic-bezier(.4,0,.2,1) infinite both;animation:fill-unfill-rotate 4.8s cubic-bezier(.4,0,.2,1) infinite both,line-4-fade-in-out 4.8s cubic-bezier(.4,0,.2,1) infinite both}.merlin-spinner-line-ticker{overflow:hidden;position:absolute;top:0;left:45%;box-sizing:border-box;width:20%;height:100%;border-color:inherit}.merlin-spinner-line-cog{display:inline-block;overflow:hidden;position:relative;width:50%;height:100%;border-color:inherit}.merlin-spinner-line-cog-inner{position:absolute;top:0;right:0;bottom:0;left:0;box-sizing:border-box;width:200%;height:100%;border-width:3px;border-style:solid;border-color:inherit;border-bottom-color:transparent;border-radius:50%;-webkit-animation:none;animation:none}.merlin-spinner-line-cog-inner--left{border-right-color:transparent;-webkit-transform:rotate(129deg);-ms-transform:rotate(129deg);transform:rotate(129deg);-webkit-animation:left-spin 1.2s cubic-bezier(.4,0,.2,1) infinite both;animation:left-spin 1.2s cubic-bezier(.4,0,.2,1) infinite both}.merlin-spinner-line-cog-inner--right{left:-100%;border-left-color:transparent;-webkit-transform:rotate(-129deg);-ms-transform:rotate(-129deg);transform:rotate(-129deg);-webkit-animation:right-spin 1.2s cubic-bezier(.4,0,.2,1) infinite both;animation:right-spin 1.2s cubic-bezier(.4,0,.2,1) infinite both}.merlin-spinner-line-cog-inner--center{left:-450%;width:1000%}@-webkit-keyframes container-rotate{to{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}@keyframes container-rotate{to{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}@-webkit-keyframes fill-unfill-rotate{12.5%{-webkit-transform:rotate(135deg);transform:rotate(135deg)}25%{-webkit-transform:rotate(270deg);transform:rotate(270deg)}37.5%{-webkit-transform:rotate(405deg);transform:rotate(405deg)}50%{-webkit-transform:rotate(540deg);transform:rotate(540deg)}62.5%{-webkit-transform:rotate(675deg);transform:rotate(675deg)}75%{-webkit-transform:rotate(810deg);transform:rotate(810deg)}87.5%{-webkit-transform:rotate(945deg);transform:rotate(945deg)}to{-webkit-transform:rotate(1080deg);transform:rotate(1080deg)}}@keyframes fill-unfill-rotate{12.5%{-webkit-transform:rotate(135deg);transform:rotate(135deg)}25%{-webkit-transform:rotate(270deg);transform:rotate(270deg)}37.5%{-webkit-transform:rotate(405deg);transform:rotate(405deg)}50%{-webkit-transform:rotate(540deg);transform:rotate(540deg)}62.5%{-webkit-transform:rotate(675deg);transform:rotate(675deg)}75%{-webkit-transform:rotate(810deg);transform:rotate(810deg)}87.5%{-webkit-transform:rotate(945deg);transform:rotate(945deg)}to{-webkit-transform:rotate(1080deg);transform:rotate(1080deg)}}@-webkit-keyframes left-spin{0%{-webkit-transform:rotate(130deg);transform:rotate(130deg)}50%{-webkit-transform:rotate(-5deg);transform:rotate(-5deg)}to{-webkit-transform:rotate(130deg);transform:rotate(130deg)}}@keyframes left-spin{0%{-webkit-transform:rotate(130deg);transform:rotate(130deg)}50%{-webkit-transform:rotate(-5deg);transform:rotate(-5deg)}to{-webkit-transform:rotate(130deg);transform:rotate(130deg)}}@-webkit-keyframes right-spin{0%{-webkit-transform:rotate(-130deg);transform:rotate(-130deg)}50%{-webkit-transform:rotate(5deg);transform:rotate(5deg)}to{-webkit-transform:rotate(-130deg);transform:rotate(-130deg)}}@keyframes right-spin{0%{-webkit-transform:rotate(-130deg);transform:rotate(-130deg)}50%{-webkit-transform:rotate(5deg);transform:rotate(5deg)}to{-webkit-transform:rotate(-130deg);transform:rotate(-130deg)}}@-webkit-keyframes line-1-fade-in-out{0%{opacity:1}25%{opacity:1}26%{opacity:0}89%{opacity:0}90%{opacity:1}to{opacity:1}}@keyframes line-1-fade-in-out{0%{opacity:1}25%{opacity:1}26%{opacity:0}89%{opacity:0}90%{opacity:1}to{opacity:1}}@-webkit-keyframes line-2-fade-in-out{0%{opacity:0}15%{opacity:0}25%{opacity:1}50%{opacity:1}51%{opacity:0}}@keyframes line-2-fade-in-out{0%{opacity:0}15%{opacity:0}25%{opacity:1}50%{opacity:1}51%{opacity:0}}@-webkit-keyframes line-3-fade-in-out{0%{opacity:0}40%{opacity:0}50%{opacity:1}75%{opacity:1}76%{opacity:0}}@keyframes line-3-fade-in-out{0%{opacity:0}40%{opacity:0}50%{opacity:1}75%{opacity:1}76%{opacity:0}}@-webkit-keyframes line-4-fade-in-out{0%{opacity:0}65%{opacity:0}75%{opacity:1}90%{opacity:1}to{opacity:0}}@keyframes line-4-fade-in-out{0%{opacity:0}65%{opacity:0}75%{opacity:1}90%{opacity:1}to{opacity:0}}.return-to-dashboard{display:block;margin-top:1em;padding:1em;color:#b5b5b5;font-size:13px;text-align:center;text-decoration:none;-webkit-transition:color 150ms ease,opacity .3s cubic-bezier(.694,0,.335,1) 150ms;transition:color 150ms ease,opacity .3s cubic-bezier(.694,0,.335,1) 150ms}@media screen and (prefers-reduced-motion:reduce){.return-to-dashboard{opacity:1!important}}.merlin__body--welcome .return-to-dashboard{opacity:0}.merlin__body--welcome.loaded .return-to-dashboard{opacity:1}.return-to-dashboard:hover{color:#ed1c25;box-shadow:0 0 10px rgba(0,0,0,.06)}.merlin__drawer{overflow:hidden;max-height:0;margin:0;opacity:0;-webkit-transition:padding .6s cubic-bezier(.75,0,.25,1),opacity .3s linear .6s,max-height .7s cubic-bezier(.33,0,.2,1) 0s,-webkit-transform .6s cubic-bezier(.75,0,.25,1);transition:padding .6s cubic-bezier(.75,0,.25,1),opacity .3s linear .6s,max-height .7s cubic-bezier(.33,0,.2,1) 0s,-webkit-transform .6s cubic-bezier(.75,0,.25,1);transition:transform .6s cubic-bezier(.75,0,.25,1),padding .6s cubic-bezier(.75,0,.25,1),opacity .3s linear .6s,max-height .7s cubic-bezier(.33,0,.2,1) 0s;transition:transform .6s cubic-bezier(.75,0,.25,1),padding .6s cubic-bezier(.75,0,.25,1),opacity .3s linear .6s,max-height .7s cubic-bezier(.33,0,.2,1) 0s,-webkit-transform .6s cubic-bezier(.75,0,.25,1);pointer-events:none}.merlin__drawer li{position:relative;margin:0;padding:4px 0;opacity:0;text-align:center;-webkit-transition:.25s ease;transition:.25s ease;-webkit-transform:translate3d(0,-15px,0);transform:translate3d(0,-15px,0)}.merlin__drawer li:last-child{padding-bottom:0}.merlin__drawer li:nth-of-type(10){-webkit-transition-delay:.2s;transition-delay:.2s}.merlin__drawer li:nth-of-type(9){-webkit-transition-delay:.18s;transition-delay:.18s}.merlin__drawer li:nth-of-type(8){-webkit-transition-delay:.16s;transition-delay:.16s}.merlin__drawer li:nth-of-type(7){-webkit-transition-delay:.14s;transition-delay:.14s}.merlin__drawer li:nth-of-type(6){-webkit-transition-delay:.12s;transition-delay:.12s}.merlin__drawer li:nth-of-type(5){-webkit-transition-delay:.1s;transition-delay:.1s}.merlin__drawer li:nth-of-type(4){-webkit-transition-delay:80ms;transition-delay:80ms}.merlin__drawer li:nth-of-type(3){-webkit-transition-delay:60ms;transition-delay:60ms}.merlin__drawer li:nth-of-type(2){-webkit-transition-delay:40ms;transition-delay:40ms}.merlin__drawer li:nth-of-type(1){-webkit-transition-delay:20ms;transition-delay:20ms}.merlin__drawer--open .merlin__drawer{max-height:400px;opacity:1;-webkit-transition:padding .6s cubic-bezier(.75,0,.25,1),opacity .3s linear .2s,max-height .9s cubic-bezier(.33,0,.2,1) .1s,-webkit-transform .6s cubic-bezier(.75,0,.25,1);transition:padding .6s cubic-bezier(.75,0,.25,1),opacity .3s linear .2s,max-height .9s cubic-bezier(.33,0,.2,1) .1s,-webkit-transform .6s cubic-bezier(.75,0,.25,1);transition:transform .6s cubic-bezier(.75,0,.25,1),padding .6s cubic-bezier(.75,0,.25,1),opacity .3s linear .2s,max-height .9s cubic-bezier(.33,0,.2,1) .1s;transition:transform .6s cubic-bezier(.75,0,.25,1),padding .6s cubic-bezier(.75,0,.25,1),opacity .3s linear .2s,max-height .9s cubic-bezier(.33,0,.2,1) .1s,-webkit-transform .6s cubic-bezier(.75,0,.25,1);-webkit-transform:translateY(0);-ms-transform:translateY(0);transform:translateY(0);pointer-events:inherit}.merlin__drawer--open .merlin__drawer li{opacity:1;-webkit-transition:.4s ease;transition:.4s ease;-webkit-transform:translate3d(0,0,0);transform:translate3d(0,0,0)}.merlin__drawer--open .merlin__drawer li:nth-of-type(1){-webkit-transition-delay:.15s;transition-delay:.15s}.merlin__drawer--open .merlin__drawer li:nth-of-type(2){-webkit-transition-delay:.3s;transition-delay:.3s}.merlin__drawer--open .merlin__drawer li:nth-of-type(3){-webkit-transition-delay:.45s;transition-delay:.45s}.merlin__drawer--open .merlin__drawer li:nth-of-type(4){-webkit-transition-delay:.6s;transition-delay:.6s}.merlin__drawer--open .merlin__drawer li:nth-of-type(5){-webkit-transition-delay:.75s;transition-delay:.75s}.merlin__drawer--open .merlin__drawer li:nth-of-type(6){-webkit-transition-delay:.9s;transition-delay:.9s}.merlin__drawer--open .merlin__drawer li:nth-of-type(7){-webkit-transition-delay:1.05s;transition-delay:1.05s}.merlin__drawer--open .merlin__drawer li:nth-of-type(8){-webkit-transition-delay:1.2s;transition-delay:1.2s}.merlin__drawer--open .merlin__drawer li:nth-of-type(9){-webkit-transition-delay:1.35s;transition-delay:1.35s}.merlin__drawer--open .merlin__drawer li:nth-of-type(10){-webkit-transition-delay:1.5s;transition-delay:1.5s}.merlin__drawer--open .merlin__button--knockout{color:#a1a5a8}.merlin__drawer--open .chevron::after,.merlin__drawer--open .chevron::before{background:#a1a5a8}.merlin__drawer--open .merlin__button--next{-webkit-animation:colorchange 1s infinite alternate 1s;animation:colorchange 1s infinite alternate 1s}.merlin__drawer--open .merlin__button--loading{-webkit-animation:none;animation:none}.merlin__drawer--open #skip{display:none;visibility:hidden;z-index:-1;opacity:0}.merlin__drawer--open #close{display:inline-block;visibility:visible;z-index:1;opacity:1}.merlin__drawer--import-content{padding-top:3px}.merlin__drawer--import-content li{padding:2px 0;text-align:left}.merlin__drawer--import-content li:hover span{color:#ed1c25}.merlin__drawer--import-content label{display:inline-block;position:relative;width:100%;cursor:pointer}.merlin__drawer--import-content label span{-webkit-transition:color .1s;transition:color .1s}.merlin__drawer--import-content label i{display:inline-block;float:right;position:relative;width:13px;height:13px;margin-top:3px;border:2px solid #b2b7ba;border-radius:50%;background-color:transparent;text-align:left;-webkit-transition:border-color .1s,background-color .1s,-webkit-transform 350ms cubic-bezier(.78,-1.22,.17,1.89);transition:border-color .1s,background-color .1s,-webkit-transform 350ms cubic-bezier(.78,-1.22,.17,1.89);transition:border-color .1s,background-color .1s,transform 350ms cubic-bezier(.78,-1.22,.17,1.89);transition:border-color .1s,background-color .1s,transform 350ms cubic-bezier(.78,-1.22,.17,1.89),-webkit-transform 350ms cubic-bezier(.78,-1.22,.17,1.89);-webkit-transform-origin:center;-ms-transform-origin:center;transform-origin:center}.merlin__drawer--import-content label i:before{position:absolute;top:.4em;left:.2em;width:0;height:2px;border-radius:2px;background:#ed1c25;content:"";-webkit-transition:width 50ms ease 50ms;transition:width 50ms ease 50ms;-webkit-transform:rotate(45deg);-ms-transform:rotate(45deg);transform:rotate(45deg);-webkit-transform-origin:0 0;-ms-transform-origin:0 0;transform-origin:0 0}.merlin__drawer--import-content label i:after{position:absolute;top:.67em;left:4px;width:0;height:2px;border-radius:2px;background:#ed1c25;content:"";-webkit-transition:width 50ms ease;transition:width 50ms ease;-webkit-transform:rotate(310deg);-ms-transform:rotate(310deg);transform:rotate(310deg);-webkit-transform-origin:0 0;-ms-transform-origin:0 0;transform-origin:0 0}.merlin__drawer--import-content label:hover i{border-color:#ed1c25}.merlin__drawer--import-content .checkbox{display:none!important}.merlin__drawer--import-content .checkbox:checked+label.installing i{border-color:#ffb900;background-color:#ffb900;-webkit-transition:background-color .4s cubic-bezier(.18,1,.21,1),border-color .4s cubic-bezier(.18,1,.21,1);transition:background-color .4s cubic-bezier(.18,1,.21,1),border-color .4s cubic-bezier(.18,1,.21,1)}.merlin__drawer--import-content .checkbox:checked+label.success i{border-color:#46b450;background-color:#46b450;-webkit-transition:background-color .4s cubic-bezier(.18,1,.21,1) 220ms,border-color .4s cubic-bezier(.18,1,.21,1) 220ms;transition:background-color .4s cubic-bezier(.18,1,.21,1) 220ms,border-color .4s cubic-bezier(.18,1,.21,1) 220ms}.merlin__drawer--import-content .checkbox:checked+label.error i{border-color:#d54e21;background-color:#d54e21;-webkit-transition:background-color .4s cubic-bezier(.18,1,.21,1) 220ms,border-color .4s cubic-bezier(.18,1,.21,1) 220ms;transition:background-color .4s cubic-bezier(.18,1,.21,1) 220ms,border-color .4s cubic-bezier(.18,1,.21,1) 220ms}.merlin__drawer--import-content .checkbox:checked+label i{border-color:#ed1c25;background-color:#ed1c25;-webkit-transform:scale(1.2);-ms-transform:scale(1.2);transform:scale(1.2)}.merlin__drawer--import-content .checkbox:checked+label i:after{width:9px;background:#fff;-webkit-transition:width 50ms ease .1s;transition:width 50ms ease .1s}.merlin__drawer--import-content .checkbox:checked+label i:before{width:5px;background:#fff;-webkit-transition:width 50ms ease .1s;transition:width 50ms ease .1s}.merlin__drawer--open .merlin__drawer--install-plugins{padding-bottom:1px}.merlin__drawer--install-plugins li span{display:none}.merlin__drawer--install-plugins li .spinner{display:inline-block;visibility:visible;position:absolute;right:10px;margin-top:2px;opacity:0;-webkit-transition:opacity .2s cubic-bezier(.694,0,.335,1);transition:opacity .2s cubic-bezier(.694,0,.335,1)}.merlin__drawer--install-plugins.installing li .spinner{opacity:1}.merlin__drawer--install-plugins.installing li span{opacity:0}.merlin__drawer--open .merlin__drawer--extras{padding-bottom:30px}.icon--checkmark{display:none;position:absolute;top:-110px;left:calc(50% - 40px);width:80px;height:80px;border-radius:50%;box-shadow:inset 0 0 0 #46b450;-webkit-animation:fill .4s ease-in-out .4s forwards,scale .3s ease-in-out .9s both;animation:fill .4s ease-in-out .4s forwards,scale .3s ease-in-out .9s both;stroke:#fff;stroke-miterlimit:10;stroke-width:2}.js--finished .icon--checkmark{display:inline-block}.icon--checkmark__check{-webkit-transform-origin:50% 50%;-ms-transform-origin:50% 50%;transform-origin:50% 50%;-webkit-animation:stroke .3s cubic-bezier(.65,0,.45,1) .8s forwards;animation:stroke .3s cubic-bezier(.65,0,.45,1) .8s forwards;stroke-dasharray:48;stroke-dashoffset:48}.icon--checkmark__circle{-webkit-animation:stroke .6s cubic-bezier(.65,0,.45,1) forwards;animation:stroke .6s cubic-bezier(.65,0,.45,1) forwards;fill:none;stroke:#46b450;stroke-dasharray:166;stroke-dashoffset:166;stroke-miterlimit:10;stroke-width:2}@-webkit-keyframes stroke{100%{stroke-dashoffset:0}}@keyframes stroke{100%{stroke-dashoffset:0}}@-webkit-keyframes scale{0%,100%{-webkit-transform:none;transform:none}50%{-webkit-transform:scale3d(1.1,1.1,1);transform:scale3d(1.1,1.1,1)}}@keyframes scale{0%,100%{-webkit-transform:none;transform:none}50%{-webkit-transform:scale3d(1.1,1.1,1);transform:scale3d(1.1,1.1,1)}}@-webkit-keyframes fill{100%{box-shadow:inset 0 0 0 100px #46b450}}@keyframes fill{100%{box-shadow:inset 0 0 0 100px #46b450}}.merlin__content__footer{clear:both;margin-top:2.75em}.merlin__content__footer:after,.merlin__content__footer:before{display:table;content:""}.merlin__content__footer:after{clear:both}.merlin__content__footer--fullwidth{opacity:0;-webkit-transition:opacity .5s cubic-bezier(.694,0,.335,1),-webkit-transform .5s cubic-bezier(.694,0,.335,1),-webkit-filter .5s cubic-bezier(.694,0,.335,1);transition:opacity .5s cubic-bezier(.694,0,.335,1),-webkit-transform .5s cubic-bezier(.694,0,.335,1),-webkit-filter .5s cubic-bezier(.694,0,.335,1);transition:transform .5s cubic-bezier(.694,0,.335,1),opacity .5s cubic-bezier(.694,0,.335,1),filter .5s cubic-bezier(.694,0,.335,1);transition:transform .5s cubic-bezier(.694,0,.335,1),opacity .5s cubic-bezier(.694,0,.335,1),filter .5s cubic-bezier(.694,0,.335,1),-webkit-transform .5s cubic-bezier(.694,0,.335,1),-webkit-filter .5s cubic-bezier(.694,0,.335,1);-webkit-transform:translateX(50%);-ms-transform:translateX(50%);transform:translateX(50%);-webkit-transform-origin:top;-ms-transform-origin:top;transform-origin:top;-webkit-filter:blur(10px);filter:blur(10px)}@media screen and (prefers-reduced-motion:reduce){.merlin__content__footer--fullwidth{-webkit-transition:opacity .3s ease-in-out,-webkit-filter .3s ease-in-out;transition:opacity .3s ease-in-out,-webkit-filter .3s ease-in-out;transition:opacity .3s ease-in-out,filter .3s ease-in-out;transition:opacity .3s ease-in-out,filter .3s ease-in-out,-webkit-filter .3s ease-in-out;-webkit-transform:translateX(0);-ms-transform:translateX(0);transform:translateX(0);-webkit-filter:blur(2px);filter:blur(2px)}}body.loaded .merlin__content__footer--fullwidth{opacity:1;-webkit-transform:translateX(0);-ms-transform:translateX(0);transform:translateX(0);-webkit-filter:blur(0);filter:blur(0)}.merlin__content--license .merlin__content__footer{margin-top:-.24em}.merlin__content--ready .merlin__content__footer{margin-top:1.9em}.merlin__content--ready .merlin__content__footer .merlin__button--knockout{margin-top:10px}.merlin__content--content .merlin__content__footer{-webkit-transition:opacity .5s cubic-bezier(.694,0,.335,1);transition:opacity .5s cubic-bezier(.694,0,.335,1)}body.exiting .merlin__content--content .merlin__content__footer{opacity:0}.saswp_install_wizard{text-align:center;font-size:12px;text-transform:uppercase;letter-spacing:1px;color:rgba(0,0,0,.3)}.saswp_branding{background-image:url(../images/sd-logo-white.png);padding:40px;background-size:80px;background-repeat:no-repeat;position:absolute;left:calc(50% - 40px);top:-110px}.merlin__button--loading:before{background-image:url(data:image/gif;base64,R0lGODlhUABQAKUAAAQCBISGhMTGxERCRCQiJKSmpOTm5GRiZBQSFPT29JSWlLS2tNTW1DQyNHR2dAwKDFRWVKyurOzu7BwaHIyOjCwqLGxqbPz+/JyenOTi5AQGBIyKj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DEgYyipxvkIIC+7MB1Iqowzm2Z5gYFBCK79kwCkbCWQQZydzsjEMGQ6EMOoXJERCxgB3OoKBAR5hYYECZKoRQQmIYKFIqo2wEACoV2nQAoxU7KGBHFiMEECvsURQwTNkrOABBycUQO2DL5zAQRxzfFDBpUPrJNACCv7MAYELKaBwwQMqqPDABSikQIAfc5jRwqu7FCDBAdjOYfDBWRwggZtXUsBAAJ+pxu8GI3yQggYBiAdwFUEAADs3RDRKWkJ6RE1TdGNrV0NWOCs1aFNVWTMvNXhQOCsrRHR0c0U2a1dGYWhVS1BDVDBEMzJYQ1F1b0dpN1l1TlU5);content:" ";display:inline-block;background-size:30px;background-repeat:no-repeat;width:53px;height:35px;position:absolute;right:-3px;top:3px;opacity:.7;background-position:0 3px}body .amp_install_center{text-align:center}#ampforwp-design-select{width:170px;height:30px;position:relative;top:-15px}.amp_install_theme_preview{margin-bottom:-30px}.amp_install_logo_preview{max-width:180px;height:auto;border-radius:8px;box-shadow:1px 1px 10px rgba(0,0,0,.25)}.saswp_fields{width:100%}.saswp_fields label{width:40%;display:inline-block}.saswp_fields select{width:50%}.saswp-placement-or-group{text-decoration:none;margin-left:8px;margin-bottom:8px;align-items:flex-start;text-align:center;cursor:pointer;color:buttontext;background-color:buttonface;box-sizing:border-box;padding:2px 6px 3px;border-width:2px;border-style:outset}.option-table-class select{width:100%}.option-table-class .select2-container{width:100%!important}.saswp-placement-groups select{min-height:30px}.option-table-class input[type=text]{width:100%}.option-table-class{width:100%}.saswp-placement-button{padding:3px 10px;color:#0d0d0d;font-size:14px;border:1px solid #aaa;border-radius:2px;background:linear-gradient(#ededed,#fff)}.saswp-placement-table td{padding:5px 10px!important}.saswp-placement-group{margin-bottom:5px}#saswp_amp_select{border:0}.saswp_hide{display:none}.saswp-job-posting-note,.saswp-schem-type-note{color:#d2691e}.saswp_modify_schema_checkbox{display:none}
admin_section/js/main-script.js CHANGED
@@ -2,6 +2,8 @@ var saswp_attached_rv = [];
2
  var saswp_attached_col = [];
3
  jQuery(document).ready(function($){
4
 
 
 
5
  $(".saswp-upgrade-to-pro").parent().attr({'href': 'https://structured-data-for-wp.com/pricing/', 'target': '_blank'});
6
 
7
 
@@ -444,7 +446,7 @@ jQuery(document).ready(function($){
444
  window.history.pushState("", "", href);
445
  return false;
446
  });
447
-
448
  $(".saswp-schame-type-select").change(function(e){
449
 
450
  e.preventDefault();
@@ -552,7 +554,8 @@ jQuery(document).ready(function($){
552
  }
553
 
554
  });
555
-
 
556
  $("#saswp_business_type").change(function(){
557
  var businesstype = $ (this).val();
558
  var schematype = $(".saswp-schame-type-select").val();
2
  var saswp_attached_col = [];
3
  jQuery(document).ready(function($){
4
 
5
+ saswp_select2();
6
+
7
  $(".saswp-upgrade-to-pro").parent().attr({'href': 'https://structured-data-for-wp.com/pricing/', 'target': '_blank'});
8
 
9
 
446
  window.history.pushState("", "", href);
447
  return false;
448
  });
449
+ $(".saswp-schame-type-select").select2();
450
  $(".saswp-schame-type-select").change(function(e){
451
 
452
  e.preventDefault();
554
  }
555
 
556
  });
557
+ $("#saswp_business_type").select2();
558
+ $(".saswp-local-sub-type-2").select2();
559
  $("#saswp_business_type").change(function(){
560
  var businesstype = $ (this).val();
561
  var schematype = $(".saswp-schame-type-select").val();
admin_section/js/main-script.min.js CHANGED
@@ -1 +1 @@
1
- var saswp_attached_rv=[],saswp_attached_col=[];jQuery(document).ready(function(s){if(s(".saswp-upgrade-to-pro").parent().attr({href:"https://structured-data-for-wp.com/pricing/",target:"_blank"}),s(document).on("click",".saswp-attach-reviews",function(){s(".saswp-enable-append-reviews").is(":checked")?(tb_show(saswp_localize_data.translable_txt.attach_review,"#TB_inline??width=615&height=400&inlineId=saswp-embed-code-div"),s(document).find("#TB_window").width(600).height(415).css({top:"200px","margin-top":"0px"}),s(".saswp-attached-rv-count").show()):s(".saswp-attached-rv-count").hide()}),s(".close-attached-reviews-popup").on("click",function(){s("#TB_closeWindowButton").trigger("click")}),s("#saswp_attahced_reviews").val()&&(saswp_attached_rv=JSON.parse(s("#saswp_attahced_reviews").val())),s("#saswp_attached_collection").val()&&(saswp_attached_col=JSON.parse(s("#saswp_attached_collection").val())),s(document).on("click",".saswp-attach-rv-checkbox",function(){var e;e=parseInt(s(this).parent().attr("data-id"));var a=s(this).parent().attr("data-type");s(this).is(":checked")?("review"==a&&saswp_attached_rv.push(e),"collection"==a&&saswp_attached_col.push(e)):("review"==a&&saswp_attached_rv.splice(saswp_attached_rv.indexOf(e),1),"collection"==a&&saswp_attached_col.splice(saswp_attached_col.indexOf(e),1));var t=saswp_attached_rv.length,i=saswp_attached_col.length,p="";t>0&&(p+=t+" Reviews, "),i>0&&(p+=i+" Collection"),p||(p=0),s(".saswp-attached-rv-count").text("Attached "+p),s("#saswp_attahced_reviews").val(JSON.stringify(saswp_attached_rv)),s("#saswp_attached_collection").val(JSON.stringify(saswp_attached_col))}),s(".saswp-load-more-rv").on("click",function(e){var a=s(this).attr("data-type"),t=s(".saswp-add-rv-loop[data-type="+a+"]").length,i=t/10+1;s("#saswp-add-rv-automatic .spinner").addClass("is-active"),e.preventDefault(),s.get(ajaxurl,{action:"saswp_get_reviews_on_load",data_type:a,offset:t,paged:i,saswp_security_nonce:saswp_localize_data.saswp_security_nonce},function(e){if("t"==e.status){var t="";e.result&&(s.each(e.result,function(s,e){var i="";"review"==a&&saswp_attached_rv.includes(parseInt(e.saswp_review_id))&&(i="checked"),"collection"==a&&saswp_attached_col.includes(parseInt(e.saswp_review_id))&&(i="checked"),t+='<div class="saswp-add-rv-loop" data-type="'+a+'" data-id="'+e.saswp_review_id+'">',"review"==a&&(t+='<input class="saswp-attach-rv-checkbox" type="checkbox" '+i+"> <strong> "+e.saswp_reviewer_name+" ( Rating - "+e.saswp_review_rating+' ) <span class="saswp-g-plus"><img src="'+e.saswp_review_platform_icon+'"/></span></strong>'),"collection"==a&&(t+='<input class="saswp-attach-rv-checkbox" type="checkbox" '+i+"> <strong> "+e.saswp_reviewer_name+" </strong>"),t+="</div>"}),s(".saswp-add-rv-automatic-list[data-type="+a+"]").append(t)),e.message&&(s(".saswp-rv-not-found[data-type="+a+"]").removeClass("saswp_hide"),s(".saswp-load-more-rv[data-type="+a+"]").addClass("saswp_hide"))}else alert(e.message);s("#saswp-add-rv-automatic .spinner").removeClass("is-active")},"json")}),s(".saswp-modify-schema-toggle").click(function(e){e.preventDefault(),s(".saswp-modify-container").slideToggle("300");var a=s("#saswp_enable_custom_field"),t=a.val();a.val("1"===t?"0":"1"),s(".saswp-enable-modify-schema-output").change()}),s(".saswp-enable-itemlist").change(function(){s(this).is(":checked")?(s("#saswp_item_list_tags").show(),s(".saspw-item-list-note").show(),"custom"==s("#saswp_item_list_tags").val()?s("#saswp_item_list_custom").show():s("#saswp_item_list_custom").hide()):(s(".saspw-item-list-note").hide(),s("#saswp_item_list_tags").hide(),s("#saswp_item_list_custom").hide())}),s("#saswp_item_list_tags").change(function(){"custom"==s(this).val()?s("#saswp_item_list_custom").show():s("#saswp_item_list_custom").hide()}),s(document).on("click",".saswp-add-g-location-btn",function(e){var a="";a=s("#saswp_google_place_api_key").length?'<input class="saswp-g-blocks-field" name="sd_data[saswp_reviews_location_blocks][]" type="number" min="5" step="5" placeholder="5" disabled="disabled">':'<input class="saswp-g-blocks-field" name="sd_data[saswp_reviews_location_blocks][]" type="number" min="10" step="10" placeholder="10">',e.preventDefault();var t="";(t+='<tr><td style="width:12%;"><strong>'+saswp_localize_data.translable_txt.place_id+'</strong></td><td style="width:20%;"><input class="saswp-g-location-field" name="sd_data[saswp_reviews_location_name][]" type="text" value=""></td><td style="width:10%;"><strong>'+saswp_localize_data.translable_txt.reviews+'</strong></td><td style="width:10%;">'+a+'</td><td style="width:10%;"><a class="button button-default saswp-fetch-g-reviews">'+saswp_localize_data.translable_txt.fetch+'</a></td><td style="width:10%;"><a type="button" class="saswp-remove-review-item button">x</a></td><td style="width:10%;"><p class="saswp-rv-fetched-msg"></p></td></tr>')&&s(".saswp-g-reviews-settings-table").append(t)}),s(document).on("click",".saswp-fetch-g-reviews",function(){var e=s(this),a="free";e.addClass("updating-message");var t=s(this).parent().parent().find(".saswp-g-location-field").val(),i=s(this).parent().parent().find(".saswp-g-blocks-field").val(),p=s("#saswp_google_place_api_key").val(),o=s("#reviews_addon_license_key").val(),c=s("#reviews_addon_license_key_status").val();if("premium"==(a=s("#saswp_google_place_api_key").length?"free":"premium")){if(!(i>0))return alert(saswp_localize_data.translable_txt.blocks_zero),e.removeClass("updating-message"),!1;if(0!=i%10)return e.parent().parent().find(".saswp-rv-fetched-msg").text(saswp_localize_data.translable_txt.step_in),e.parent().parent().find(".saswp-rv-fetched-msg").css("color","#988f1b"),e.removeClass("updating-message"),!1}""!=t&&(o||p)?s.ajax({type:"POST",url:ajaxurl,dataType:"json",data:{action:"saswp_fetch_google_reviews",reviews_api_status:c,reviews_api:o,location:t,blocks:i,g_api:p,premium_status:a,saswp_security_nonce:saswp_localize_data.saswp_security_nonce},success:function(s){"t"==s.status?(e.parent().parent().find(".saswp-rv-fetched-msg").text(saswp_localize_data.translable_txt.success),e.parent().parent().find(".saswp-rv-fetched-msg").css("color","green")):(e.parent().parent().find(".saswp-rv-fetched-msg").text(s.message),e.parent().parent().find(".saswp-rv-fetched-msg").css("color","#988f1b")),e.removeClass("updating-message")},error:function(s){console.log(s)}}):(""==t&&alert(saswp_localize_data.translable_txt.enter_place_id),""==p&&alert(saswp_localize_data.translable_txt.enter_api_key),""==o&&alert(saswp_localize_data.translable_txt.enter_rv_api_key),e.removeClass("updating-message"))}),saswp_localize_data.do_tour){var e,a="<h3>"+saswp_localize_data.translable_txt.using_schema+"</h3>";a+="<p>"+saswp_localize_data.translable_txt.do_you_want+" <b>"+saswp_localize_data.translable_txt.sd_update+"</b> "+saswp_localize_data.translable_txt.before_others+"</p>",a+='<style type="text/css">',a+=".wp-pointer-buttons{ padding:0; overflow: hidden; }",a+=".wp-pointer-content .button-secondary{ left: -25px;background: transparent;top: 5px; border: 0;position: relative; padding: 0; box-shadow: none;margin: 0;color: #0085ba;} .wp-pointer-content .button-primary{ display:none} #saswp_mc_embed_signup{background:#fff; clear:left; font:14px Helvetica,Arial,sans-serif; }",a+="</style>",a+='<div id="saswp_mc_embed_signup">',a+='<form method="POST" accept-charset="utf-8" id="saswp-news-letter-form">',a+='<div id="saswp_mc_embed_signup_scroll">',a+='<div class="saswp-mc-field-group" style=" margin-left: 15px; width: 195px; float: left;">',a+='<input type="text" name="saswp_subscriber_name" class="form-control" placeholder="Name" hidden value="'+saswp_localize_data.current_user_name+'" style="display:none">',a+='<input type="text" value="'+saswp_localize_data.current_user_email+'" name="saswp_subscriber_email" class="form-control" placeholder="Email*" style=" width: 180px; padding: 6px 5px;">',a+='<input type="text" name="saswp_subscriber_website" class="form-control" placeholder="Website" hidden style=" display:none; width: 168px; padding: 6px 5px;" value="'+saswp_localize_data.get_home_url+'">',a+='<input type="hidden" name="ml-submit" value="1" />',a+="</div>",a+='<div id="mce-responses">',a+="</div>",a+='<div style="position: absolute; left: -5000px;" aria-hidden="true"><input type="text" name="b_a631df13442f19caede5a5baf_c9a71edce6" tabindex="-1" value=""></div>',a+='<input type="submit" value="Subscribe" name="subscribe" id="pointer-close" class="button mc-newsletter-sent" style=" background: #0085ba; border-color: #006799; padding: 0px 16px; text-shadow: 0 -1px 1px #006799,1px 0 1px #006799,0 1px 1px #006799,-1px 0 1px #006799; height: 30px; margin-top: 1px; color: #fff; box-shadow: 0 1px 0 #006799;">',a+='<p id="saswp-news-letter-status"></p>',a+="</div>",a+="</form>",a+="</div>",s(document).on("submit","#saswp-news-letter-form",function(e){e.preventDefault();var a=s(this),t=a.find('input[name="saswp_subscriber_name"]').val(),i=a.find('input[name="saswp_subscriber_email"]').val();website=a.find('input[name="saswp_subscriber_website"]').val(),s.post(saswp_localize_data.ajax_url,{action:"saswp_subscribe_to_news_letter",saswp_security_nonce:saswp_localize_data.saswp_security_nonce,name:t,email:i,website:website},function(e){e?"Some fields are missing."==e?(s("#saswp-news-letter-status").text(""),s("#saswp-news-letter-status").css("color","red")):"Invalid email address."==e?(s("#saswp-news-letter-status").text(""),s("#saswp-news-letter-status").css("color","red")):"Invalid list ID."==e?(s("#saswp-news-letter-status").text(""),s("#saswp-news-letter-status").css("color","red")):"Already subscribed."==e?(s("#saswp-news-letter-status").text(""),s("#saswp-news-letter-status").css("color","red")):(s("#saswp-news-letter-status").text("You're subscribed!"),s("#saswp-news-letter-status").css("color","green")):alert("Sorry, unable to subscribe. Please try again later!")})});var t={content:a,position:{edge:"top",align:"left"}};e=function(){s(saswp_localize_data.displayID).pointer(t).pointer("open"),saswp_localize_data.button2&&(jQuery("#pointer-close").after('<a id="pointer-primary" class="button-primary">'+saswp_localize_data.button2+"</a>"),jQuery("#pointer-primary").click(function(){saswp_localize_data.function_name}),jQuery("#pointer-close").click(function(){s.post(saswp_localize_data.ajax_url,{pointer:"saswp_subscribe_pointer",action:"dismiss-wp-pointer"})}))},(t=s.extend(t,{buttons:function(s,e){return button=jQuery('<a id="pointer-close" class="button-secondary">'+saswp_localize_data.button1+"</a>"),button_2=jQuery("#pointer-close.button"),button.bind("click.pointer",function(){e.element.pointer("close")}),button_2.on("click",function(){setTimeout(function(){e.element.pointer("close")},3e3)}),button},close:function(){s.post(saswp_localize_data.ajax_url,{pointer:"saswp_subscribe_pointer",action:"dismiss-wp-pointer"})},show:function(s,e){e.pointer.css({left:"170px",top:"160px"})}})).position&&t.position.defer_loading?s(window).bind("load.wp-pointers",e):e()}if(s(".saswp-tabs a").click(function(e){var a=s(this).attr("href"),t=getParameterByName("tab",a);return t||(t="general"),s(this).siblings().removeClass("nav-tab-active"),s(this).addClass("nav-tab-active"),s(".form-wrap").find(".saswp-"+t).siblings().hide(),s(".form-wrap .saswp-"+t).show(),window.history.pushState("","",a),!1}),s(".saswp-schame-type-select").change(function(e){e.preventDefault(),s(".saswp-custom-fields-table").html("");var a=s(this).val();s(".saswp-option-table-class tr").each(function(e,a){e>0&&s(this).hide()}),"TechArticle"==a||"Article"==a||"Blogposting"==a||"NewsArticle"==a||"WebPage"==a?s(".saswp-enable-speakable").parent().parent().show():s(".saswp-enable-speakable").parent().parent().hide(),"Book"==a||"Course"==a||"Organization"==a||"CreativeWorkSeries"==a||"MobileApplication"==a||"ImageObject"==a||"HowTo"==a||"MusicPlaylist"==a||"MusicAlbum"==a||"Recipe"==a||"TVSeries"==a||"SoftwareApplication"==a||"Event"==a||"VideoGame"==a||"Service"==a||"AudioObject"==a||"VideoObject"==a||"local_business"==a||"Product"==a||"Review"==a?s(".saswp-enable-append-reviews").parent().parent().show():s(".saswp-enable-append-reviews").parent().parent().hide(),"local_business"==a&&(s(".saswp-option-table-class tr").eq(1).show(),s(".saswp-business-text-field-tr").show(),s(".saswp-option-table-class tr").find("select").attr("disabled",!1),s(".select-post-type").val("show_globally").trigger("change")),"Service"==a&&(s(".saswp-service-text-field-tr").show(),s(".saswp-option-table-class tr").find("select").attr("disabled",!1)),"Event"==a&&(s(".saswp-event-text-field-tr").show(),s(".saswp-option-table-class tr").find("select").attr("disabled",!1)),"Review"==a&&(s(".saswp-review-text-field-tr").show(),s(".saswp-option-table-class tr").find("select").attr("disabled",!1),s(".saswp-item-reivewed-list").change()),"ItemList"==a?(s(".saswp-schema-modify-section").hide(),s(".saswp-itemlist-text-field-tr").show(),s(".saswp-option-table-class tr").find("select").attr("disabled",!1),s(".saswp-itemlist-item-type-list").change()):s(".saswp-schema-modify-section").show(),saswp_enable_rating_review(),s(".saswp-manual-modification").html(""),s(".saswp-static-container .spinner").addClass("is-active"),s.get(ajaxurl,{action:"saswp_get_manual_fields_on_ajax",schema_type:a,post_id:saswp_localize_data.post_id,saswp_security_nonce:saswp_localize_data.saswp_security_nonce},function(e){s(".saswp-static-container .spinner").removeClass("is-active"),s(".saswp-manual-modification").append(e),saswp_schema_datepicker(),saswp_schema_timepicker(),saswp_item_reviewed_call()}),"HowTo"==a||"local_business"==a||"FAQ"==a?s(".saswp-enable-modify-schema").show():(s(".saswp-enable-modify-schema-output").val("automatic"),s(".saswp-enable-modify-schema-output").change(),s(".saswp-enable-modify-schema").hide())}),s("#saswp_business_type").change(function(){var e=s(this).val(),a=s(".saswp-schame-type-select").val();s(".saswp-option-table-class tr").each(function(e,a){e>1&&(s(this).hide(),s(this).find(".saswp-local-sub-type-2").attr("disabled",!0))}),"TechArticle"==a||"Article"==a||"Blogposting"==a||"NewsArticle"==a||"WebPage"==a?s(".saswp-enable-speakable").parent().parent().show():s(".saswp-enable-speakable").parent().parent().hide(),"Book"==a||"Course"==a||"Organization"==a||"CreativeWorkSeries"==a||"MobileApplication"==a||"ImageObject"==a||"HowTo"==a||"MusicPlaylist"==a||"MusicAlbum"==a||"Recipe"==a||"TVSeries"==a||"SoftwareApplication"==a||"Event"==a||"VideoGame"==a||"Service"==a||"AudioObject"==a||"VideoObject"==a||"local_business"==a||"Product"==a||"Review"==a?s(".saswp-enable-append-reviews").parent().parent().show():s(".saswp-enable-append-reviews").parent().parent().hide(),"local_business"==a&&(s(".saswp-"+e+"-tr").show(),s(".saswp-business-text-field-tr").show(),s(".saswp-"+e+"-tr").find("select").attr("disabled",!1)),"Review"==a&&(s(".saswp-review-text-field-tr").show(),s(".saswp-review-text-field-tr").find("select").attr("disabled",!1)),"ItemList"==a?(s(".saswp-schema-modify-section").hide(),s(".saswp-itemlist-text-field-tr").show(),s(".saswp-option-table-class tr").find("select").attr("disabled",!1)):s(".saswp-schema-modify-section").show(),"Event"==a&&(s(".saswp-event-text-field-tr").show(),s(".saswp-option-table-class tr").find("select").attr("disabled",!1)),saswp_enable_rating_review()}).change(),s(".saswp-checkbox").change(function(){var e=s(this).attr("id"),a=s(this);switch(e){case"saswp-the-seo-framework-checkbox":saswp_compatibliy_notes(a,e),s(this).is(":checked")?s("#saswp-the-seo-framework").val(1):s("#saswp-the-seo-framework").val(0);break;case"saswp-seo-press-checkbox":saswp_compatibliy_notes(a,e),s(this).is(":checked")?s("#saswp-seo-press").val(1):s("#saswp-seo-press").val(0);break;case"saswp-aiosp-checkbox":saswp_compatibliy_notes(a,e),s(this).is(":checked")?s("#saswp-aiosp").val(1):s("#saswp-aiosp").val(0);break;case"saswp-smart-crawl-checkbox":saswp_compatibliy_notes(a,e),s(this).is(":checked")?s("#saswp-smart-crawl").val(1):s("#saswp-smart-crawl").val(0);break;case"saswp-squirrly-seo-checkbox":saswp_compatibliy_notes(a,e),s(this).is(":checked")?s("#saswp-squirrly-seo").val(1):s("#saswp-squirrly-seo").val(0);break;case"saswp-wp-recipe-maker-checkbox":saswp_compatibliy_notes(a,e),s(this).is(":checked")?s("#saswp-wp-recipe-maker").val(1):s("#saswp-wp-recipe-maker").val(0);break;case"saswp-wp-ultimate-recipe-checkbox":saswp_compatibliy_notes(a,e),s(this).is(":checked")?s("#saswp-wp-ultimate-recipe").val(1):s("#saswp-wp-ultimate-recipe").val(0);break;case"saswp-zip-recipes-checkbox":saswp_compatibliy_notes(a,e),s(this).is(":checked")?s("#saswp-zip-recipes").val(1):s("#saswp-zip-recipes").val(0);break;case"saswp-mediavine-create-checkbox":saswp_compatibliy_notes(a,e),s(this).is(":checked")?s("#saswp-mediavine-create").val(1):s("#saswp-mediavine-create").val(0);break;case"saswp-ht-recipes-checkbox":saswp_compatibliy_notes(a,e),s(this).is(":checked")?s("#saswp-ht-recipes").val(1):s("#saswp-ht-recipes").val(0);break;case"saswp-wpsso-core-checkbox":saswp_compatibliy_notes(a,e),s(this).is(":checked")?s("#saswp-wpsso-core").val(1):s("#saswp-wpsso-core").val(0);break;case"saswp-for-wordpress-checkbox":s(this).is(":checked")?s("#saswp-for-wordpress").val(1):s("#saswp-for-wordpress").val(0);break;case"saswp-for-amp-checkbox":s(this).is(":checked")?s("#saswp-for-amp").val(1):s("#saswp-for-amp").val(0);break;case"saswp_kb_contact_1_checkbox":s(this).is(":checked")?(s("#saswp_kb_contact_1").val(1),s("#saswp_kb_telephone, #saswp_contact_type").parent().parent("li").removeClass("saswp-display-none")):(s("#saswp_kb_contact_1").val(0),s("#saswp_kb_telephone, #saswp_contact_type").parent().parent("li").addClass("saswp-display-none"));break;case"saswp-logo-dimensions-check":s(this).is(":checked")?(s("#saswp-logo-dimensions").val(1),s("#saswp-logo-width, #saswp-logo-height").parent().parent("li").show()):(s("#saswp-logo-dimensions").val(0),s("#saswp-logo-width, #saswp-logo-height").parent().parent("li").hide());break;case"saswp_archive_schema_checkbox":s(this).is(":checked")?(s("#saswp_archive_schema").val(1),s(".saswp_archive_schema_type_class").parent().parent().show()):(s("#saswp_archive_schema").val(0),s(".saswp_archive_schema_type_class").parent().parent().hide());break;case"saswp_website_schema_checkbox":s(this).is(":checked")?(s("#saswp_website_schema").val(1),s("#saswp_search_box_schema").parent().parent().show()):(s("#saswp_website_schema").val(0),s("#saswp_search_box_schema").parent().parent().hide());break;case"saswp_search_box_schema_checkbox":s(this).is(":checked")?s("#saswp_search_box_schema").val(1):s("#saswp_search_box_schema").val(0);break;case"saswp_breadcrumb_schema_checkbox":s(this).is(":checked")?s("#saswp_breadcrumb_schema").val(1):s("#saswp_breadcrumb_schema").val(0);break;case"saswp_comments_schema_checkbox":s(this).is(":checked")?s("#saswp_comments_schema").val(1):s("#saswp_comments_schema").val(0);break;case"saswp-compativility-checkbox":s(this).is(":checked")?s("#saswp-flexmlx-compativility").val(1):s("#saswp-flexmlx-compativility").val(0);break;case"saswp-review-module-checkbox":s(this).is(":checked")?s("#saswp-review-module").val(1):s("#saswp-review-module").val(0);break;case"saswp-stars-rating-checkbox":s(this).is(":checked")?(s(".saswp-stars-post-table").removeClass("saswp_hide"),s("#saswp-stars-rating").val(1)):(s(".saswp-stars-post-table").addClass("saswp_hide"),s("#saswp-stars-rating").val(0));break;case"saswp-kk-star-raring-checkbox":saswp_compatibliy_notes(a,e),s(this).is(":checked")?s("#saswp-kk-star-raring").val(1):s("#saswp-kk-star-raring").val(0);break;case"saswp-yet-another-stars-rating-checkbox":saswp_compatibliy_notes(a,e),s(this).is(":checked")?s("#saswp-yet-another-stars-rating").val(1):s("#saswp-yet-another-stars-rating").val(0);break;case"saswp-simple-author-box-checkbox":saswp_compatibliy_notes(a,e),s(this).is(":checked")?s("#saswp-simple-author-box").val(1):s("#saswp-simple-author-box").val(0);break;case"saswp-woocommerce-checkbox":saswp_compatibliy_notes(a,e),s(this).is(":checked")?s("#saswp-woocommerce").val(1):s("#saswp-woocommerce").val(0);break;case"saswp-default-review-checkbox":saswp_compatibliy_notes(a,e),s(this).is(":checked")?s("#saswp_default_review").val(1):s("#saswp_default_review").val(0);break;case"saswp-extra-checkbox":saswp_compatibliy_notes(a,e),s(this).is(":checked")?s("#saswp-extra").val(1):s("#saswp-extra").val(0);break;case"saswp-soledad-checkbox":saswp_compatibliy_notes(a,e),s(this).is(":checked")?s("#saswp-soledad").val(1):s("#saswp-soledad").val(0);break;case"saswp-wp-theme-reviews-checkbox":saswp_compatibliy_notes(a,e),s(this).is(":checked")?s("#saswp-wp-theme-reviews").val(1):s("#saswp-wp-theme-reviews").val(0);break;case"saswp-dw-question-answer-checkbox":saswp_compatibliy_notes(a,e),s(this).is(":checked")?s("#saswp-dw-question-answer").val(1):s("#saswp-dw-question-answer").val(0);break;case"saswp-wp-job-manager-checkbox":saswp_compatibliy_notes(a,e),s(this).is(":checked")?s("#saswp-wp-job-manager").val(1):s("#saswp-wp-job-manager").val(0);break;case"saswp-yoast-checkbox":saswp_compatibliy_notes(a,e),s(this).is(":checked")?s("#saswp-yoast").val(1):s("#saswp-yoast").val(0);break;case"saswp-rankmath-checkbox":saswp_compatibliy_notes(a,e),s(this).is(":checked")?s("#saswp-rankmath").val(1):s("#saswp-rankmath").val(0);break;case"saswp-taqyeem-checkbox":saswp_compatibliy_notes(a,e),s(this).is(":checked")?s("#saswp-taqyeem").val(1):s("#saswp-taqyeem").val(0);break;case"saswp-the-events-calendar-checkbox":saswp_compatibliy_notes(a,e),s(this).is(":checked")?s("#saswp-the-events-calendar").val(1):s("#saswp-the-events-calendar").val(0);break;case"saswp-homeland-checkbox":saswp_compatibliy_notes(a,e),s(this).is(":checked")?s("#saswp-homeland").val(1):s("#saswp-homeland").val(0);break;case"saswp-wpresidence-checkbox":saswp_compatibliy_notes(a,e),s(this).is(":checked")?s("#saswp-wpresidence").val(1):s("#saswp-wpresidence").val(0);break;case"saswp-myhome-checkbox":saswp_compatibliy_notes(a,e),s(this).is(":checked")?s("#saswp-myhome").val(1):s("#saswp-myhome").val(0);break;case"saswp-realestate-5-checkbox":saswp_compatibliy_notes(a,e),s(this).is(":checked")?s("#saswp-realestate-5").val(1):s("#saswp-realestate-5").val(0);break;case"saswp-classipress-checkbox":saswp_compatibliy_notes(a,e),s(this).is(":checked")?s("#saswp-classipress").val(1):s("#saswp-classipress").val(0);break;case"saswp-realhomes-checkbox":saswp_compatibliy_notes(a,e),s(this).is(":checked")?s("#saswp-realhomes").val(1):s("#saswp-realhomes").val(0);break;case"saswp-learn-press-checkbox":saswp_compatibliy_notes(a,e),s(this).is(":checked")?s("#saswp-learn-press").val(1):s("#saswp-learn-press").val(0);break;case"saswp-wplms-checkbox":saswp_compatibliy_notes(a,e),s(this).is(":checked")?s("#saswp-wplms").val(1):s("#saswp-wplms").val(0);break;case"saswp-learn-dash-checkbox":saswp_compatibliy_notes(a,e),s(this).is(":checked")?s("#saswp-learn-dash").val(1):s("#saswp-learn-dash").val(0);break;case"saswp-lifter-lms-checkbox":saswp_compatibliy_notes(a,e),s(this).is(":checked")?s("#saswp-lifter-lms").val(1):s("#saswp-lifter-lms").val(0);break;case"saswp-wp-event-manager-checkbox":saswp_compatibliy_notes(a,e),s(this).is(":checked")?s("#saswp-wp-event-manager").val(1):s("#saswp-wp-event-manager").val(0);break;case"saswp-events-manager-checkbox":saswp_compatibliy_notes(a,e),s(this).is(":checked")?s("#saswp-events-manager").val(1):s("#saswp-events-manager").val(0);break;case"saswp-event-calendar-wd-checkbox":saswp_compatibliy_notes(a,e),s(this).is(":checked")?s("#saswp-event-calendar-wd").val(1):s("#saswp-event-calendar-wd").val(0);break;case"saswp-event-organiser-checkbox":saswp_compatibliy_notes(a,e),s(this).is(":checked")?s("#saswp-event-organiser").val(1):s("#saswp-event-organiser").val(0);break;case"saswp-modern-events-calendar-checkbox":saswp_compatibliy_notes(a,e),s(this).is(":checked")?s("#saswp-modern-events-calendar").val(1):s("#saswp-modern-events-calendar").val(0);break;case"saswp-woocommerce-booking-checkbox":saswp_compatibliy_notes(a,e),s(this).is(":checked")?(s("#saswp-woocommerce-booking").val(1),s("#saswp-woocommerce-booking-main").val(1)):(s("#saswp-woocommerce-booking").val(0),s("#saswp-woocommerce-booking-main").val(0));break;case"saswp-woocommerce-booking-main-checkbox":saswp_compatibliy_notes(a,e),s(this).is(":checked")?(s("#saswp-woocommerce-booking-main").val(1),s("#saswp-woocommerce-booking").val(1)):(s("#saswp-woocommerce-booking-main").val(0),s("#saswp-woocommerce-booking").val(0));break;case"saswp-woocommerce-membership-checkbox":saswp_compatibliy_notes(a,e),s(this).is(":checked")?s("#saswp-woocommerce-membership").val(1):s("#saswp-woocommerce-membership").val(0);break;case"saswp-defragment-checkbox":s(this).is(":checked")?s("#saswp-defragment").val(1):s("#saswp-defragment").val(0);break;case"saswp-cooked-checkbox":saswp_compatibliy_notes(a,e),s(this).is(":checked")?s("#saswp-cooked").val(1):s("#saswp-cooked").val(0);break;case"saswp-flexmlx-compativility-checkbox":saswp_compatibliy_notes(a,e),s(this).is(":checked")?s("#saswp-flexmlx-compativility").val(1):s("#saswp-flexmlx-compativility").val(0);break;case"saswp-shopper-approved-review-checkbox":saswp_compatibliy_notes(a,e),s(this).is(":checked")?(s("#saswp-shopper-approved-review").val(1),s(".saswp-s-reviews-settings-table").parent().parent().parent().show()):(s("#saswp-shopper-approved-review").val(0),s(".saswp-s-reviews-settings-table").parent().parent().parent().hide());break;case"saswp-google-review-checkbox":s(this).is(":checked")?(s("#saswp-google-review").val(1),s("#saswp-google-rv-free-checkbox").length?(s("#saswp-google-review-free").parent().parent().show(),s("#saswp-google-rv-free-checkbox").is(":checked")?s("#saswp_google_place_api_key").parent().parent().show():s("#saswp_google_place_api_key").parent().parent().hide()):s("#saswp_google_place_api_key").parent().parent().show(),s(".saswp-g-reviews-settings-table").parent().parent().parent().show()):(s("#saswp-google-review").val(0),s("#saswp_google_place_api_key").parent().parent().hide(),s(".saswp-g-reviews-settings-table").parent().parent().parent().hide(),s("#saswp-google-rv-free-checkbox").length&&s("#saswp-google-review-free").parent().parent().hide());break;case"saswp-google-rv-free-checkbox":s("#saswp-google-review-checkbox").is(":checked")&&s(this).is(":checked")?(s("#saswp-google-review-free").val(1),s("#saswp_google_place_api_key").parent().parent().show()):(s("#saswp-google-review-free").val(0),s("#saswp_google_place_api_key").parent().parent().hide());break;case"saswp-markup-footer-checkbox":s(this).is(":checked")?s("#saswp-markup-footer").val(1):s("#saswp-markup-footer").val(0);break;case"saswp-pretty-print-checkbox":s(this).is(":checked")?s("#saswp-pretty-print").val(1):s("#saswp-pretty-print").val(0);break;case"saswp-wppostratings-raring-checkbox":saswp_compatibliy_notes(a,e),s(this).is(":checked")?s("#saswp-wppostratings-raring").val(1):s("#saswp-wppostratings-raring").val(0);break;case"saswp-bbpress-checkbox":saswp_compatibliy_notes(a,e),s(this).is(":checked")?s("#saswp-bbpress").val(1):s("#saswp-bbpress").val(0);break;case"saswp-microdata-cleanup-checkbox":s(this).is(":checked")?s("#saswp-microdata-cleanup").val(1):s("#saswp-microdata-cleanup").val(0);break;case"saswp-other-images-checkbox":s(this).is(":checked")?s("#saswp-other-images").val(1):s("#saswp-other-images").val(0);break;case"saswp-rss-feed-image-checkbox":s(this).is(":checked")?s("#saswp-rss-feed-image").val(1):s("#saswp-rss-feed-image").val(0);break;case"saswp-multiple-size-image-checkbox":s(this).is(":checked")?s("#saswp-multiple-size-image").val(1):s("#saswp-multiple-size-image").val(0);break;case"saswp-easy-testimonials-checkbox":s(this).is(":checked")?s("#saswp-easy-testimonials").val(1):s("#saswp-easy-testimonials").val(0);break;case"saswp-testimonial-pro-checkbox":s(this).is(":checked")?s("#saswp-testimonial-pro").val(1):s("#saswp-testimonial-pro").val(0);break;case"saswp-bne-testimonials-checkbox":s(this).is(":checked")?s("#saswp-bne-testimonials").val(1):s("#saswp-bne-testimonials").val(0);break;case"saswp-ampforwp-checkbox":saswp_compatibliy_notes(a,e),s(this).is(":checked")?s("#saswp-ampforwp").val(1):s("#saswp-ampforwp").val(0);break;case"saswp-ampbyautomatic-checkbox":saswp_compatibliy_notes(a,e),s(this).is(":checked")?s("#saswp-ampbyautomatic").val(1):s("#saswp-ampbyautomatic").val(0);break;case"saswp-schemaforfaqs-checkbox":saswp_compatibliy_notes(a,e),s(this).is(":checked")?s("#saswp-schemaforfaqs").val(1):s("#saswp-schemaforfaqs").val(0);break;case"saswp-wp-customer-reviews-checkbox":saswp_compatibliy_notes(a,e),s(this).is(":checked")?s("#saswp-wp-customer-reviews").val(1):s("#saswp-wp-customer-reviews").val(0);break;case"saswp-total-recipe-generator-checkbox":saswp_compatibliy_notes(a,e),s(this).is(":checked")?s("#saswp-total-recipe-generator").val(1):s("#saswp-total-recipe-generator").val(0);break;case"saswp-wordpress-news-checkbox":saswp_compatibliy_notes(a,e),s(this).is(":checked")?s("#saswp-wordpress-news").val(1):s("#saswp-wordpress-news").val(0);break;case"saswp-ampwp-checkbox":saswp_compatibliy_notes(a,e),s(this).is(":checked")?s("#saswp-ampwp").val(1):s("#saswp-ampwp").val(0);break;case"saswp-wp-event-aggregator-checkbox":saswp_compatibliy_notes(a,e),s(this).is(":checked")?s("#saswp-wp-event-aggregator").val(1):s("#saswp-wp-event-aggregator").val(0);break;case"saswp-stachethemes-event-calendar-checkbox":saswp_compatibliy_notes(a,e),s(this).is(":checked")?s("#saswp-stachethemes-event-calendar").val(1):s("#saswp-stachethemes-event-calendar").val(0);break;case"saswp-all-in-one-event-calendar-checkbox":saswp_compatibliy_notes(a,e),s(this).is(":checked")?s("#saswp-all-in-one-event-calendar").val(1):s("#saswp-all-in-one-event-calendar").val(0);break;case"saswp-event-on-checkbox":saswp_compatibliy_notes(a,e),s(this).is(":checked")?s("#saswp-event-on").val(1):s("#saswp-event-on").val(0);break;case"saswp-easy-recipe-checkbox":saswp_compatibliy_notes(a,e),s(this).is(":checked")?s("#saswp-easy-recipe").val(1):s("#saswp-easy-recipe").val(0);break;case"saswp-tevolution-events-checkbox":saswp_compatibliy_notes(a,e),s(this).is(":checked")?s("#saswp-tevolution-events").val(1):s("#saswp-tevolution-events").val(0);break;case"saswp-strong-testimonials-checkbox":saswp_compatibliy_notes(a,e),s(this).is(":checked")?s("#saswp-strong-testimonials").val(1):s("#saswp-strong-testimonials").val(0);break;case"saswp-wordlift-checkbox":saswp_compatibliy_notes(a,e),s(this).is(":checked")?s("#saswp-wordlift").val(1):s("#saswp-wordlift").val(0);break;case"saswp-betteramp-checkbox":saswp_compatibliy_notes(a,e),s(this).is(":checked")?s("#saswp-betteramp").val(1):s("#saswp-betteramp").val(0);break;case"saswp-wpamp-checkbox":saswp_compatibliy_notes(a,e),s(this).is(":checked")?s("#saswp-wpamp").val(1):s("#saswp-wpamp").val(0)}}).change(),s("#saswp_kb_type").change(function(){var e=s(this).val();s(".saswp_org_fields, .saswp_person_fields").parent().parent().addClass("saswp_hide"),s(".saswp_kg_logo").parent().parent().parent().addClass("saswp_hide"),s("#sd-person-image").parent().parent().parent().addClass("saswp_hide"),"Organization"==e&&(s(".saswp_org_fields").parent().parent().removeClass("saswp_hide"),s(".saswp_person_fields").parent().parent().addClass("saswp_hide"),s(".saswp_kg_logo").parent().parent().parent().removeClass("saswp_hide"),s("#sd-person-image").parent().parent().parent().addClass("saswp_hide")),"Person"==e&&(s(".saswp_org_fields").parent().parent().addClass("saswp_hide"),s(".saswp_person_fields").parent().parent().removeClass("saswp_hide"),s(".saswp_kg_logo").parent().parent().parent().removeClass("saswp_hide"),s("#sd-person-image").parent().parent().parent().removeClass("saswp_hide"))}).change(),s(document).on("click","input[data-id=media]",function(e){e.preventDefault();var a=s(this),t=a.attr("id").replace("_button",""),i=wp.media({title:"Application Icon",button:{text:"Select Icon"},multiple:!1,library:{type:"image"}}).on("select",function(){var e=i.state().get("selection").first().toJSON();s("#"+t).val(e.url),s("input[data-id='"+t+"_id']").val(e.id),s("input[data-id='"+t+"_height']").val(e.height),s("input[data-id='"+t+"_width']").val(e.width),s("input[data-id='"+t+"_thumbnail']").val(e.url),"sd_default_image_button"===a.attr("id")&&(s("#sd_default_image_width").val(e.width),s("#sd_default_image_height").val(e.height));var p="";"saswp_image_div_"+t=="saswp_image_div_sd_default_image"&&e.height<1200&&(p='<p class="saswp_warning">Image size is smaller than recommended size</p>'),s(".saswp_image_div_"+t).html('<div class="saswp_image_thumbnail"><img class="saswp_image_prev" src="'+e.url+'"/><a data-id="'+t+'" href="#" class="saswp_prev_close">X</a></div>'+p)}).open()}),s(document).on("click",".saswp_prev_close",function(e){e.preventDefault();var a=s(this).attr("data-id");s(this).parent().remove(),s("#"+a).val(""),s("input[data-id='"+a+"_id']").val(""),s("input[data-id='"+a+"_height']").val(""),s("input[data-id='"+a+"_width']").val(""),s("input[data-id='"+a+"_thumbnail']").val(""),"sd_default_image"===a&&(s("#sd_default_image_width").val(""),s("#sd_default_image_height").val(""))}),s(document).on("click",".saswp-modify-schema",function(e){e.preventDefault();var a=s(this).attr("schema-id"),t=s(this);t.addClass("updating-message"),s.get(ajaxurl,{action:"saswp_modify_schema_post_enable",schema_id:a,post_id:saswp_localize_data.post_id,saswp_security_nonce:saswp_localize_data.saswp_security_nonce},function(e){s(".saswp-post-specific-wrapper[data-id="+a+"] .saswp-post-specific-setting").after(e),s(".saswp_modify_this_schema_hidden_"+a).val(1),s(".saswp-ps-toggle[schema-id="+a+"]").removeClass("saswp_hide"),s(".saswp-restore-schema[schema-id="+a+"]").parent().removeClass("saswp_hide"),s(".saswp-modify-schema[schema-id="+a+"]").parent().addClass("saswp_hide"),t.removeClass("updating-message"),saswp_schema_datepicker(),saswp_schema_timepicker(),saswp_enable_rating_review(),saswp_item_reviewed_call()})}),s(document).on("click",".saswp-restore-schema",function(e){e.preventDefault();var a=s(this).attr("schema-id"),t=s(this);t.addClass("updating-message"),s.post(ajaxurl,{action:"saswp_modify_schema_post_restore",schema_id:a,post_id:saswp_localize_data.post_id,saswp_security_nonce:saswp_localize_data.saswp_security_nonce},function(e){t.removeClass("updating-message"),"t"==e.status?(s(".saswp_modify_this_schema_hidden_"+a).val(0),s(".saswp-restore-schema[schema-id="+a+"]").parent().addClass("saswp_hide"),s(".saswp-modify-schema[schema-id="+a+"]").parent().removeClass("saswp_hide"),s(".saswp-ps-toggle[schema-id="+a+"]").remove()):alert("Something went wrong")},"json")}),s(document).on("change",".saswp-schema-type-toggle",function(e){var a=s(this).attr("data-schema-id"),t=s(this).attr("data-post-id"),i=s(".saswp_modify_this_schema_hidden_"+a).val();if(s(this).is(":checked")){var p=0;s(".saswp-ps-toggle[schema-id="+a+"]").addClass("saswp_hide"),s(".saswp-restore-schema[schema-id="+a+"]").parent().addClass("saswp_hide"),s(".saswp-modify-schema[schema-id="+a+"]").parent().addClass("saswp_hide"),s("#saswp_custom_schema_field[schema-id="+a+"]").parent().addClass("saswp_hide")}else{s("#saswp_custom_schema_field[schema-id="+a+"]").parent().removeClass("saswp_hide"),1==i?(s(".saswp-ps-toggle[schema-id="+a+"]").removeClass("saswp_hide"),s(".saswp-restore-schema[schema-id="+a+"]").parent().removeClass("saswp_hide")):(s(".saswp-modify-schema[schema-id="+a+"]").parent().removeClass("saswp_hide"),s(".saswp-ps-toggle[schema-id="+a+"]").addClass("saswp_hide"),s(".saswp-restore-schema[schema-id="+a+"]").parent().addClass("saswp_hide"));p=1}s.ajax({type:"POST",url:ajaxurl,dataType:"json",data:{action:"saswp_enable_disable_schema_on_post",status:p,schema_id:a,post_id:t,saswp_security_nonce:saswp_localize_data.saswp_security_nonce},success:function(s){},error:function(s){console.log(s)}})}),s(document).on("click",".saswp-reset-data",function(e){e.preventDefault(),1==confirm("Are you sure?")&&s.ajax({type:"POST",url:ajaxurl,dataType:"json",data:{action:"saswp_reset_all_settings",saswp_security_nonce:saswp_localize_data.saswp_security_nonce},success:function(s){setTimeout(function(){location.reload()},1e3)},error:function(s){console.log(s)}})}),s(document).on("click",".saswp_license_activation",function(e){e.preventDefault();var a=s(this);a.addClass("updating-message");var t=s(this).attr("license-status"),i=s(this).attr("add-on"),p=s("#"+i+"_addon_license_key").val();t&&i&&p?s.ajax({type:"POST",url:ajaxurl,dataType:"json",data:{action:"saswp_license_status_check",license_key:p,license_status:t,add_on:i,saswp_security_nonce:saswp_localize_data.saswp_security_nonce},success:function(e){s("#"+i+"_addon_license_key_status").val(e.status),"active"==e.status?(s(".saswp-"+i+"-dashicons").addClass("dashicons-yes"),s(".saswp-"+i+"-dashicons").removeClass("dashicons-no-alt"),s(".saswp-"+i+"-dashicons").css("color","green"),s(".saswp_license_activation[add-on='"+i+"']").attr("license-status","inactive"),s(".saswp_license_activation[add-on='"+i+"']").text("Deactivate"),s(".saswp_license_status_msg[add-on='"+i+"']").text("Activated"),s(".saswp_license_status_msg[add-on='"+i+"']").css("color","green"),s(".saswp_license_status_msg[add-on='"+i+"']").text(e.message)):(s(".saswp-"+i+"-dashicons").addClass("dashicons-no-alt"),s(".saswp-"+i+"-dashicons").removeClass("dashicons-yes"),s(".saswp-"+i+"-dashicons").css("color","red"),s(".saswp_license_activation[add-on='"+i+"']").attr("license-status","active"),s(".saswp_license_activation[add-on='"+i+"']").text("Activate"),s(".saswp_license_status_msg[add-on='"+i+"']").css("color","red"),s(".saswp_license_status_msg[add-on='"+i+"']").text(e.message)),a.removeClass("updating-message")},error:function(s){console.log(s)}}):(alert("Please enter value license key"),a.removeClass("updating-message"))}),s(".saswp-send-query").on("click",function(e){e.preventDefault();var a=s("#saswp_query_message").val(),t=s("#saswp_query_email").val(),i=s("#saswp_query_premium_cus").val();console.log(saswpIsEmail(t)),""!=s.trim(a)&&i&&""!=s.trim(t)&&1==saswpIsEmail(t)?s.ajax({type:"POST",url:ajaxurl,dataType:"json",data:{action:"saswp_send_query_message",premium_cus:i,message:a,email:t,saswp_security_nonce:saswp_localize_data.saswp_security_nonce},success:function(e){"t"==e.status?(s(".saswp-query-success").show(),s(".saswp-query-error").hide()):(s(".saswp-query-success").hide(),s(".saswp-query-error").show())},error:function(s){console.log(s)}}):""==s.trim(a)&&""==i&&""==s.trim(t)?alert("Please enter the message, email and select customer type"):(""==i&&alert("Select Customer type"),""==s.trim(a)&&alert("Please enter the message"),""==s.trim(t)&&alert("Please enter the email"),0==saswpIsEmail(t)&&alert("Please enter a valid email"))}),s(".saswp-import-plugins").on("click",function(e){e.preventDefault();var a=s(this);a.addClass("updating-message");var t=s(this).attr("data-id");s.get(ajaxurl,{action:"saswp_import_plugin_data",plugin_name:t,saswp_security_nonce:saswp_localize_data.saswp_security_nonce},function(e){"t"==e.status?(s(a).parent().find(".saswp-imported-message").text(e.message),s(a).parent().find(".saswp-imported-message").removeClass("saswp-error"),setTimeout(function(){location.reload()},2e3)):(s(a).parent().find(".saswp-imported-message").addClass("saswp-error"),s(a).parent().find(".saswp-imported-message").text(e.message)),a.removeClass("updating-message")},"json")}),s(".saswp-feedback-no-thanks").on("click",function(e){e.preventDefault(),s.get(ajaxurl,{action:"saswp_feeback_no_thanks",saswp_security_nonce:saswp_localize_data.saswp_security_nonce},function(e){"t"==e.status&&s(".saswp-feedback-notice").hide()},"json")}),s(".saswp-feedback-remindme").on("click",function(e){e.preventDefault(),s.get(ajaxurl,{action:"saswp_feeback_remindme",saswp_security_nonce:saswp_localize_data.saswp_security_nonce},function(e){"t"==e.status&&s(".saswp-feedback-notice").hide()},"json")}),s(document).on("change",".saswp-local-business-type-select",function(e){e.preventDefault();var a=s(this),t=s(this).val();s.get(ajaxurl,{action:"saswp_get_sub_business_ajax",business_type:t,saswp_security_nonce:saswp_localize_data.saswp_security_nonce},function(e){if("t"==e.status){s(".saswp-local-business-name-select").parents("tr").remove();var t=a.parents(".saswp-post-specific-wrapper").attr("data-id"),i='<tr><th><label for="saswp_business_name_'+t+'">Sub Business Type</label></th>';i+='<td><select class="saswp-local-business-name-select" id="saswp_business_name_'+t+'" name="saswp_business_name_'+t+'">',s.each(e.result,function(s,e){i+='<option value="'+s+'">'+e+"</option>"}),i+="</select></td>",i+="</tr>",a.parents(".form-table tr:first").after(i)}else s(".saswp-local-business-name-select").parents("tr").remove()},"json")}),saswp_item_reviewed_call(),jQuery(".saswp-local-schema-time-picker").timepicker({timeFormat:"H:i:s"}),s(document).on("click",".saswp-add-custom-schema",function(e){e.preventDefault(),s(".saswp-add-custom-schema-field").removeClass("saswp_hide"),s(this).hide()}),s(document).on("click",".saswp-delete-custom-schema",function(e){e.preventDefault(),s("#saswp_custom_schema_field").val(""),s(".saswp-add-custom-schema-field").addClass("saswp_hide"),s(".saswp-add-custom-schema").show()}),saswp_schema_datepicker(),saswp_schema_timepicker(),saswp_reviews_datepicker(),s(document).on("click",".saswp-add-more-item",function(e){e.preventDefault();s(".saswp-review-item-list-table").append('<tr class="saswp-review-item-tr"><td>Review Item Feature</td><td><input type="text" name="saswp-review-item-feature[]"></td><td>Rating</td><td><input step="0.1" min="0" max="5" type="number" name="saswp-review-item-star-rating[]"></td><td><a type="button" class="saswp-remove-review-item button">x</a></td></tr>')}),s(document).on("click",".saswp-remove-review-item",function(e){e.preventDefault(),s(this).parent().parent("tr").remove()}),s(document).on("focusout",".saswp-review-item-tr input[type=number]",function(e){e.preventDefault();var a=0,t=s(".saswp-review-item-tr input[type=number]").length;s(".saswp-review-item-tr input[type=number]").each(function(e,t){""==s(t).val()?a+=parseFloat(0):a+=parseFloat(s(t).val())});var i=a/t;s("#saswp-review-item-over-all").val(i)}),s("#saswp-review-location").change(function(){var e=s(this).val();s(".saswp-review-shortcode").addClass("saswp_hide"),3==e&&s(".saswp-review-shortcode").removeClass("saswp_hide")}).change(),s("#saswp-review-item-enable").change(function(){s(this).is(":checked")?s(".saswp-review-fields").show():s(".saswp-review-fields").hide()}).change(),s(document).on("click",".saswp-restore-post-schema",function(e){e.preventDefault();var a=s(this);if(a.addClass("updating-message"),s(".saswp-post-specific-schema-ids").val())var t=JSON.parse(s(".saswp-post-specific-schema-ids").val());s.post(ajaxurl,{action:"saswp_restore_schema",schema_ids:t,post_id:saswp_localize_data.post_id,saswp_security_nonce:saswp_localize_data.saswp_security_nonce},function(s){"t"==s.status?setTimeout(function(){location.reload()},1e3):(alert(s.msg),setTimeout(function(){location.reload()},1e3)),a.removeClass("updating-message")},"json")}),s(document).on("click","div.saswp-tab ul.saswp-tab-nav a",function(e){e.preventDefault();var a=s(this).attr("data-id");s(".saswp-post-specific-wrapper").hide(),s("#"+a).show(),s("div.saswp-tab ul.saswp-tab-nav a").removeClass("selected"),s("div.saswp-tab ul.saswp-tab-nav li").removeClass("selected"),s(this).addClass("selected"),s(this).parent().addClass("selected"),saswp_enable_rating_review()}),s("#saswp-global-tabs a:first").addClass("saswp-global-selected"),s(".saswp-global-container").hide(),"#saswp-default-container"==window.location.hash?s(".saswp-global-container:eq(2)").show():s(".saswp-global-container:first").show(),s("#saswp-global-tabs a").click(function(){var e=s(this).attr("data-id");s(this).hasClass("saswp-global-selected")||(s("#saswp-global-tabs a").removeClass("saswp-global-selected"),s(this).addClass("saswp-global-selected"),s(".saswp-global-container").hide(),s("#"+e).show())}),s("#saswp-tools-tabs a:first").addClass("saswp-global-selected"),s(".saswp-tools-container").hide(),s(".saswp-tools-container:first").show(),s("#saswp-tools-tabs a").click(function(){var e=s(this).attr("data-id");s(this).hasClass("saswp-global-selected")||(s("#saswp-tools-tabs a").removeClass("saswp-global-selected"),s(this).addClass("saswp-global-selected"),s(".saswp-tools-container").hide(),s("#"+e).show())}),s("#saswp-review-tabs a:first").addClass("saswp-global-selected"),s(".saswp-review-container").hide(),s(".saswp-review-container:first").show(),s("#saswp-review-tabs a").click(function(){var e=s(this).attr("data-id");s(this).hasClass("saswp-global-selected")||(s("#saswp-review-tabs a").removeClass("saswp-global-selected"),s(this).addClass("saswp-global-selected"),s(".saswp-review-container").hide(),s("#"+e).show())}),s("#saswp-compatibility-tabs a:first").addClass("saswp-global-selected"),s(".saswp-compatibility-container").hide(),s(".saswp-compatibility-container:first").show(),s("#saswp-compatibility-tabs a").click(function(){var e=s(this).attr("data-id");s(this).hasClass("saswp-global-selected")||(s("#saswp-compatibility-tabs a").removeClass("saswp-global-selected"),s(this).addClass("saswp-global-selected"),s(".saswp-compatibility-container").hide(),s("#"+e).show())}),s('a[href="'+saswp_localize_data.new_url_selector+'"]').attr("href",saswp_localize_data.new_url_href),s(".saswp-enable-modify-schema-output").on("change",function(){s(".saswp-static-container").addClass("saswp_hide"),s(".saswp-dynamic-container").addClass("saswp_hide"),"manual"==s(this).val()&&(s(".saswp-static-container").removeClass("saswp_hide"),s(".saswp-dynamic-container").addClass("saswp_hide")),"automatic"==s(this).val()&&(s(".saswp-static-container").addClass("saswp_hide"),s(".saswp-dynamic-container").removeClass("saswp_hide"))}),s(document).on("change",".saswp-custom-fields-name",function(){var e="text",a=s(this).parent().parent("tr"),t=s(this).val();-1==t.indexOf("_image")&&-1==t.indexOf("_logo")||(e="image");var i=s(this).parent().parent("tr").find("td:eq(1)");saswp_get_meta_list(null,e,null,i,t,a)}),s(document).on("click",".saswp-skip-button",function(e){e.preventDefault(),s(this).parent().parent().hide(),s.post(ajaxurl,{action:"saswp_skip_wizard",saswp_security_nonce:saswp_localize_data.saswp_security_nonce},function(s){},"json")}),s(document).on("click",".saswp_add_schema_fields_on_fly",function(e){e.preventDefault();var a=s(this);a.addClass("updating-message");var t=s(this).attr("data-id"),i=s(this).attr("fields_type"),p=s(this).attr("div_type"),o=s(this).attr("itemlist_sub_type"),c=s("saswp_specific_"+t+" , .saswp-"+p+"-table-div").length,n=s("saswp_specific_"+t+" , .saswp-"+p+"-table-div:nth-child("+c+")").attr("data-id");(n=++n)||(n=0),saswp_get_post_specific_schema_fields(a,n,i,p,t,i+"_",o)}),s(document).on("click",".saswp-table-close",function(){s(this).parent().remove()}),s(document).on("click",".saswp-rmv-modify_row",function(e){e.preventDefault(),s(this).parent().parent().remove()}),s(document).on("change",".saswp-custom-meta-list",function(){var e=s(this),a=s("select#schema_type option:selected").val(),t=s(this).val(),i=s(this).parent().parent("tr").find(".saswp-custom-fields-name").val(),p="",o=a.toLowerCase()+"_"+i,c="saswp_fixed_image["+i+"]";"manual_text"==t?(p+='<td><input type="text" name="saswp_fixed_text['+i+']"></td>',p+='<td><a class="button button-default saswp-rmv-modify_row">X</a></td>',s(this).parent().parent("tr").find("td:gt(1)").remove(),s(this).parent().parent("tr").append(p),saswpCustomSelect2()):"taxonomy_term"==t?saswp_taxonomy_term.taxonomy?(p+=saswp_taxonomy_term_html(saswp_taxonomy_term.taxonomy,i),e.parent().parent("tr").find("td:gt(1)").remove(),e.parent().parent("tr").append(p),saswpCustomSelect2()):s.get(ajaxurl,{action:"saswp_get_taxonomy_term_list",saswp_security_nonce:saswp_localize_data.saswp_security_nonce},function(s){s&&(saswp_taxonomy_term.taxonomy=s,p+=saswp_taxonomy_term_html(s,i),e.parent().parent("tr").find("td:gt(1)").remove(),e.parent().parent("tr").append(p),saswpCustomSelect2())},"json"):"custom_field"==t?(p+='<td><select class="saswp-custom-fields-select2" name="saswp_custom_meta_field['+i+']">',p+="</select></td>",p+='<td><a class="button button-default saswp-rmv-modify_row">X</a></td>',s(this).parent().parent("tr").find("td:gt(1)").remove(),s(this).parent().parent("tr").append(p),saswpCustomSelect2()):"fixed_image"==t?(p+="<td>",p+="<fieldset>",p+='<input data-id="media" style="width: 30%;" class="button" id="'+o+'_button" name="'+o+'_button" type="button" value="Upload" />',p+='<input type="hidden" data-id="'+o+'_height" class="upload-height" name="'+c+'[height]" id="'+o+'_height" value="">',p+='<input type="hidden" data-id="'+o+'_width" class="upload-width" name="'+c+'[width]" id="'+o+'_width" value="">',p+='<input type="hidden" data-id="'+o+'_thumbnail" class="upload-thumbnail" name="'+c+'[thumbnail]" id="'+o+'_thumbnail" value="">',p+='<div class="saswp_image_div_'+o+'">',p+="</div>",p+="</fieldset>",p+="</td>",p+='<td><a class="button button-default saswp-rmv-modify_row">X</a></td>',s(this).parent().parent("tr").find("td:gt(1)").remove(),s(this).parent().parent("tr").append(p),saswpCustomSelect2()):(p+="<td></td>",p+='<td><a class="button button-default saswp-rmv-modify_row">X</a></td>',s(this).parent().parent("tr").find("td:gt(1)").remove(),s(this).parent().parent("tr").append(p),saswpCustomSelect2())}),s(document).on("change",".saswp-item-reivewed-list",function(){s(".saswp-custom-fields-table").html(""),saswp_meta_list_fields=[];var e=s(this),a=s("select#schema_type option:selected").val();saswp_item_reviewed_ajax(a,e,"manual")}),s(document).on("click",".saswp-add-custom-fields",function(){var e=s(this);e.addClass("updating-message");var a=s("select#schema_type option:selected").val(),t="",i=null;"Review"==a&&(t=s("select.saswp-item-reivewed-list option:selected").val(),i="saswp_review_name");var p=s("#post_ID").val();""!=a&&(saswp_meta_list_fields[a]?saswp_get_meta_list(e,"text",saswp_meta_list_fields[a],null,i,null):s.ajax({type:"POST",url:ajaxurl,dataType:"json",data:{action:"saswp_get_schema_type_fields",post_id:p,schema_type:a,schema_subtype:t,saswp_security_nonce:saswp_localize_data.saswp_security_nonce},success:function(s){saswp_meta_list_fields[a]=s,saswp_get_meta_list(e,"text",saswp_meta_list_fields[a],null,i,null)},error:function(s){console.log(s)}}))}),saswpCustomSelect2(),saswp_enable_rating_review(),s('a[href="'+saswp_localize_data.collection_post_add_url+'"]').attr("href",saswp_localize_data.collection_post_add_new_url),s(document).on("click",".saswp_coonect_google_place",function(){var e=s("#saswp_google_place_id").val(),a=s("#saswp_language_list").val(),t=s("#saswp_googel_api").val();""!=e&&s.ajax({type:"POST",url:ajaxurl,dataType:"json",data:{action:"saswp_connect_google_place",place_id:e,language:a,google_api:t,saswp_security_nonce:saswp_localize_data.saswp_security_nonce},success:function(s){console.log(s.status)},error:function(s){console.log(s)}})}),s(document).on("click",".saswp-add-social-links",function(){s(".saswp-social-links-table").append('<tr><td><input type="text" placeholder="https://www.facebook.com/profile" name="sd_data[saswp_social_links][]" value=""></td><td><a class="button button-default saswp-rmv-modify_row">X</a></td></tr>')}),s(document).on("click",".saswp-show-accept-rv-popup",function(){tb_show("Reviews Form","#TB_inline??width=600&height=400&inlineId=saswp-accept-reviews-popup"),s(document).find("#TB_window").width(600).height(400).css({top:"100px","margin-top":"0px"})}),("saswp_reviews"==saswp_localize_data.post_type||"saswp-collections"==saswp_localize_data.post_type)&&"edit.php"==saswp_localize_data.page_now){var i='<div class="saswp-custom-post-tab">';i+='<div style="display:none;" id="saswp-accept-reviews-popup">',i+='<div class="saswp-accept-rv-container">',i+="<p>Use Below shortcode to show reviews form in your website. Using this you can accept reviews from your website directly</p>",i+='<div class="saswp-show-form-on-tab"><strong>Simple Form</strong> <input value="[saswp-reviews-form]" type="text" readonly></div>',i+='<div class="saswp-show-form-on-tab"><strong>Show form on button tap</strong> <input value="[saswp-reviews-form onbutton=&quot;1&quot;]" type="text" readonly></div>',i+="</div>",i+="</div>",i+='<h2 class="nav-tab-wrapper">',i+="<a href="+saswp_localize_data.reviews_page_url+' class="nav-tab '+(saswp_localize_data.current_url==saswp_localize_data.reviews_page_url?"saswp-global-selected":"")+'">Reviews</a>',i+="<a href="+saswp_localize_data.collections_page_url+' class="nav-tab '+(saswp_localize_data.current_url==saswp_localize_data.collections_page_url?"saswp-global-selected":"")+'">Collections</a>',i+='<a class="nav-tab saswp-show-accept-rv-popup">Accept Reviews</a>',i+="</h2>",i+="</div>",jQuery(jQuery(".wrap")).prepend(i)}"saswp"==saswp_localize_data.post_type&&"edit.php"==saswp_localize_data.page_now&&jQuery(jQuery(".wrap a")[0]).after("<a href='"+saswp_localize_data.saswp_settings_url+"' id='' class='page-title-action'>Settings</a>"),"undefined"!=typeof saswp_reviews_data&&s(".saswp-rating-div").rateYo({rating:saswp_reviews_data.rating_val,halfStar:!0,readOnly:saswp_reviews_data.readonly,onSet:function(e,a){s(this).next().val(e)}}),s("#sd-person-phone-number, #saswp_kb_telephone").focusout(function(){var e=s(this);e.parent().find(".saswp-phone-validation").remove();var a=s(this).val();/^\+([0-9]{1,3})\)?[-. ]?([0-9]{2,4})[-. ]?([0-9]{2,4})[-. ]?([0-9]{2,4})$/.test(a)?e.parent().find(".saswp-phone-validation").remove():e.after('<span style="color:red;" class="saswp-phone-validation">Invalid Phone Number</span>')}),saswpCollectionSlider(),s(document).on("click",".saswp-grid-page",function(e){e.preventDefault(),saswp_grid_page=s(this).attr("data-id"),saswp_on_collection_design_change()}),s("#saswp-coll-pagination").change(function(){saswp_grid_page=1,s("#saswp-coll-per-page").parent().addClass("saswp_hide_imp"),s(this).is(":checked")&&s("#saswp-coll-per-page").parent().removeClass("saswp_hide_imp"),saswp_on_collection_design_change()}),s(".saswp-accordion").click(function(){s(this).toggleClass("active"),s(this).next(".saswp-accordion-panel").slideToggle(200)}),s(document).on("click",".saswp-opn-cls-btn",function(){s("#saswp-reviews-cntn").toggle(),s("#saswp-reviews-cntn").is(":visible")?(s(".saswp-onclick-show").css("display","flex"),s(".saswp-onclick-hide").hide(),s(".saswp-open-class").css("width","500px")):(s(".saswp-onclick-show").css("display","none"),s(".saswp-onclick-hide").show(),s(".saswp-open-class").css("width","300px"))}),s(".saswp-collection-display-method").change(function(){"shortcode"==s(this).val()?s(".saswp-collection-shortcode").removeClass("saswp_hide"):s(".saswp-collection-shortcode").addClass("saswp_hide")}).change(),s(document).on("click",".saswp-remove-platform",function(e){e.preventDefault();var a=s(this).attr("platform-id");saswp_collection.splice(a,1),s(this).parent().remove(),saswp_on_collection_design_change()}),s(".saswp-number-change").bind("keyup mouseup",function(){saswp_on_collection_design_change()}),s(".saswp-coll-settings-options").change(function(){saswp_grid_page=1;var e=s(".saswp-collection-desing").val();s(".saswp-coll-options").addClass("saswp_hide"),s(".saswp-collection-lp").css("height","auto"),"grid"==e&&s(".saswp-grid-options").removeClass("saswp_hide"),"gallery"==e&&s(".saswp-slider-options").removeClass("saswp_hide"),"fomo"==e&&(s(".saswp-fomo-options").removeClass("saswp_hide"),s(".saswp-collection-lp").css("height","31px")),"popup"==e&&s(".saswp-collection-lp").css("height","31px"),saswp_on_collection_design_change()}).change(),s(".saswp-add-to-collection").on("click",function(e){e.preventDefault();var a=s(this),t=s("#saswp-plaftorm-list").val(),i=s("#saswp-review-count").val();t&&i>0?(a.addClass("updating-message"),saswp_get_collection_data(i,t,a)):alert("Enter Count")});var p,o,c=s("#saswp_collection_id").val();c&&(s(".spinner").addClass("is-active"),s.get(ajaxurl,{action:"saswp_get_collection_platforms",collection_id:c,saswp_security_nonce:saswp_localize_data.saswp_security_nonce},function(e){if(e.status){var a=e.message;s.each(a,function(s,e){saswp_get_collection_data(e,s,null)})}s(".spinner").removeClass("is-active")},"json")),(p=document.createElement("div")).style.cssText="position:absolute; background:black; color:white; padding:4px 6px;z-index:10000;border-radius:2px; font-size:12px;box-shadow:3px 3px 3px rgba(0,0,0,.4);opacity:0;transition:opacity 0.3s",p.innerHTML="Copied!",document.body.appendChild(p);var n=document.getElementById("motivatebox");n&&n.addEventListener("mouseup",function(s){var e=(s=s||event).target||s.srcElement;"motivate"==e.className&&(!function(s){var e=document.createRange();e.selectNodeContents(s);var a=window.getSelection();a.removeAllRanges(),a.addRange(e)}(e),function(){var s;try{s=document.execCommand("copy")}catch(e){s=!1}return s}()&&function(s){var e=s||event;clearTimeout(o),p.style.left=e.pageX-10+"px",p.style.top=e.pageY+15+"px",p.style.opacity=1,o=setTimeout(function(){p.style.opacity=0},500)}(s))},!1)});
1
+ var saswp_attached_rv=[],saswp_attached_col=[];jQuery(document).ready(function(s){if(saswp_select2(),s(".saswp-upgrade-to-pro").parent().attr({href:"https://structured-data-for-wp.com/pricing/",target:"_blank"}),s(document).on("click",".saswp-attach-reviews",function(){s(".saswp-enable-append-reviews").is(":checked")?(tb_show(saswp_localize_data.translable_txt.attach_review,"#TB_inline??width=615&height=400&inlineId=saswp-embed-code-div"),s(document).find("#TB_window").width(600).height(415).css({top:"200px","margin-top":"0px"}),s(".saswp-attached-rv-count").show()):s(".saswp-attached-rv-count").hide()}),s(".close-attached-reviews-popup").on("click",function(){s("#TB_closeWindowButton").trigger("click")}),s("#saswp_attahced_reviews").val()&&(saswp_attached_rv=JSON.parse(s("#saswp_attahced_reviews").val())),s("#saswp_attached_collection").val()&&(saswp_attached_col=JSON.parse(s("#saswp_attached_collection").val())),s(document).on("click",".saswp-attach-rv-checkbox",function(){var e;e=parseInt(s(this).parent().attr("data-id"));var a=s(this).parent().attr("data-type");s(this).is(":checked")?("review"==a&&saswp_attached_rv.push(e),"collection"==a&&saswp_attached_col.push(e)):("review"==a&&saswp_attached_rv.splice(saswp_attached_rv.indexOf(e),1),"collection"==a&&saswp_attached_col.splice(saswp_attached_col.indexOf(e),1));var t=saswp_attached_rv.length,i=saswp_attached_col.length,p="";t>0&&(p+=t+" Reviews, "),i>0&&(p+=i+" Collection"),p||(p=0),s(".saswp-attached-rv-count").text("Attached "+p),s("#saswp_attahced_reviews").val(JSON.stringify(saswp_attached_rv)),s("#saswp_attached_collection").val(JSON.stringify(saswp_attached_col))}),s(".saswp-load-more-rv").on("click",function(e){var a=s(this).attr("data-type"),t=s(".saswp-add-rv-loop[data-type="+a+"]").length,i=t/10+1;s("#saswp-add-rv-automatic .spinner").addClass("is-active"),e.preventDefault(),s.get(ajaxurl,{action:"saswp_get_reviews_on_load",data_type:a,offset:t,paged:i,saswp_security_nonce:saswp_localize_data.saswp_security_nonce},function(e){if("t"==e.status){var t="";e.result&&(s.each(e.result,function(s,e){var i="";"review"==a&&saswp_attached_rv.includes(parseInt(e.saswp_review_id))&&(i="checked"),"collection"==a&&saswp_attached_col.includes(parseInt(e.saswp_review_id))&&(i="checked"),t+='<div class="saswp-add-rv-loop" data-type="'+a+'" data-id="'+e.saswp_review_id+'">',"review"==a&&(t+='<input class="saswp-attach-rv-checkbox" type="checkbox" '+i+"> <strong> "+e.saswp_reviewer_name+" ( Rating - "+e.saswp_review_rating+' ) <span class="saswp-g-plus"><img src="'+e.saswp_review_platform_icon+'"/></span></strong>'),"collection"==a&&(t+='<input class="saswp-attach-rv-checkbox" type="checkbox" '+i+"> <strong> "+e.saswp_reviewer_name+" </strong>"),t+="</div>"}),s(".saswp-add-rv-automatic-list[data-type="+a+"]").append(t)),e.message&&(s(".saswp-rv-not-found[data-type="+a+"]").removeClass("saswp_hide"),s(".saswp-load-more-rv[data-type="+a+"]").addClass("saswp_hide"))}else alert(e.message);s("#saswp-add-rv-automatic .spinner").removeClass("is-active")},"json")}),s(".saswp-modify-schema-toggle").click(function(e){e.preventDefault(),s(".saswp-modify-container").slideToggle("300");var a=s("#saswp_enable_custom_field"),t=a.val();a.val("1"===t?"0":"1"),s(".saswp-enable-modify-schema-output").change()}),s(".saswp-enable-itemlist").change(function(){s(this).is(":checked")?(s("#saswp_item_list_tags").show(),s(".saspw-item-list-note").show(),"custom"==s("#saswp_item_list_tags").val()?s("#saswp_item_list_custom").show():s("#saswp_item_list_custom").hide()):(s(".saspw-item-list-note").hide(),s("#saswp_item_list_tags").hide(),s("#saswp_item_list_custom").hide())}),s("#saswp_item_list_tags").change(function(){"custom"==s(this).val()?s("#saswp_item_list_custom").show():s("#saswp_item_list_custom").hide()}),s(document).on("click",".saswp-add-g-location-btn",function(e){var a="";a=s("#saswp_google_place_api_key").length?'<input class="saswp-g-blocks-field" name="sd_data[saswp_reviews_location_blocks][]" type="number" min="5" step="5" placeholder="5" disabled="disabled">':'<input class="saswp-g-blocks-field" name="sd_data[saswp_reviews_location_blocks][]" type="number" min="10" step="10" placeholder="10">',e.preventDefault();var t="";(t+='<tr><td style="width:12%;"><strong>'+saswp_localize_data.translable_txt.place_id+'</strong></td><td style="width:20%;"><input class="saswp-g-location-field" name="sd_data[saswp_reviews_location_name][]" type="text" value=""></td><td style="width:10%;"><strong>'+saswp_localize_data.translable_txt.reviews+'</strong></td><td style="width:10%;">'+a+'</td><td style="width:10%;"><a class="button button-default saswp-fetch-g-reviews">'+saswp_localize_data.translable_txt.fetch+'</a></td><td style="width:10%;"><a type="button" class="saswp-remove-review-item button">x</a></td><td style="width:10%;"><p class="saswp-rv-fetched-msg"></p></td></tr>')&&s(".saswp-g-reviews-settings-table").append(t)}),s(document).on("click",".saswp-fetch-g-reviews",function(){var e=s(this),a="free";e.addClass("updating-message");var t=s(this).parent().parent().find(".saswp-g-location-field").val(),i=s(this).parent().parent().find(".saswp-g-blocks-field").val(),p=s("#saswp_google_place_api_key").val(),c=s("#reviews_addon_license_key").val(),o=s("#reviews_addon_license_key_status").val();if("premium"==(a=s("#saswp_google_place_api_key").length?"free":"premium")){if(!(i>0))return alert(saswp_localize_data.translable_txt.blocks_zero),e.removeClass("updating-message"),!1;if(0!=i%10)return e.parent().parent().find(".saswp-rv-fetched-msg").text(saswp_localize_data.translable_txt.step_in),e.parent().parent().find(".saswp-rv-fetched-msg").css("color","#988f1b"),e.removeClass("updating-message"),!1}""!=t&&(c||p)?s.ajax({type:"POST",url:ajaxurl,dataType:"json",data:{action:"saswp_fetch_google_reviews",reviews_api_status:o,reviews_api:c,location:t,blocks:i,g_api:p,premium_status:a,saswp_security_nonce:saswp_localize_data.saswp_security_nonce},success:function(s){"t"==s.status?(e.parent().parent().find(".saswp-rv-fetched-msg").text(saswp_localize_data.translable_txt.success),e.parent().parent().find(".saswp-rv-fetched-msg").css("color","green")):(e.parent().parent().find(".saswp-rv-fetched-msg").text(s.message),e.parent().parent().find(".saswp-rv-fetched-msg").css("color","#988f1b")),e.removeClass("updating-message")},error:function(s){console.log(s)}}):(""==t&&alert(saswp_localize_data.translable_txt.enter_place_id),""==p&&alert(saswp_localize_data.translable_txt.enter_api_key),""==c&&alert(saswp_localize_data.translable_txt.enter_rv_api_key),e.removeClass("updating-message"))}),saswp_localize_data.do_tour){var e,a="<h3>"+saswp_localize_data.translable_txt.using_schema+"</h3>";a+="<p>"+saswp_localize_data.translable_txt.do_you_want+" <b>"+saswp_localize_data.translable_txt.sd_update+"</b> "+saswp_localize_data.translable_txt.before_others+"</p>",a+='<style type="text/css">',a+=".wp-pointer-buttons{ padding:0; overflow: hidden; }",a+=".wp-pointer-content .button-secondary{ left: -25px;background: transparent;top: 5px; border: 0;position: relative; padding: 0; box-shadow: none;margin: 0;color: #0085ba;} .wp-pointer-content .button-primary{ display:none} #saswp_mc_embed_signup{background:#fff; clear:left; font:14px Helvetica,Arial,sans-serif; }",a+="</style>",a+='<div id="saswp_mc_embed_signup">',a+='<form method="POST" accept-charset="utf-8" id="saswp-news-letter-form">',a+='<div id="saswp_mc_embed_signup_scroll">',a+='<div class="saswp-mc-field-group" style=" margin-left: 15px; width: 195px; float: left;">',a+='<input type="text" name="saswp_subscriber_name" class="form-control" placeholder="Name" hidden value="'+saswp_localize_data.current_user_name+'" style="display:none">',a+='<input type="text" value="'+saswp_localize_data.current_user_email+'" name="saswp_subscriber_email" class="form-control" placeholder="Email*" style=" width: 180px; padding: 6px 5px;">',a+='<input type="text" name="saswp_subscriber_website" class="form-control" placeholder="Website" hidden style=" display:none; width: 168px; padding: 6px 5px;" value="'+saswp_localize_data.get_home_url+'">',a+='<input type="hidden" name="ml-submit" value="1" />',a+="</div>",a+='<div id="mce-responses">',a+="</div>",a+='<div style="position: absolute; left: -5000px;" aria-hidden="true"><input type="text" name="b_a631df13442f19caede5a5baf_c9a71edce6" tabindex="-1" value=""></div>',a+='<input type="submit" value="Subscribe" name="subscribe" id="pointer-close" class="button mc-newsletter-sent" style=" background: #0085ba; border-color: #006799; padding: 0px 16px; text-shadow: 0 -1px 1px #006799,1px 0 1px #006799,0 1px 1px #006799,-1px 0 1px #006799; height: 30px; margin-top: 1px; color: #fff; box-shadow: 0 1px 0 #006799;">',a+='<p id="saswp-news-letter-status"></p>',a+="</div>",a+="</form>",a+="</div>",s(document).on("submit","#saswp-news-letter-form",function(e){e.preventDefault();var a=s(this),t=a.find('input[name="saswp_subscriber_name"]').val(),i=a.find('input[name="saswp_subscriber_email"]').val();website=a.find('input[name="saswp_subscriber_website"]').val(),s.post(saswp_localize_data.ajax_url,{action:"saswp_subscribe_to_news_letter",saswp_security_nonce:saswp_localize_data.saswp_security_nonce,name:t,email:i,website:website},function(e){e?"Some fields are missing."==e?(s("#saswp-news-letter-status").text(""),s("#saswp-news-letter-status").css("color","red")):"Invalid email address."==e?(s("#saswp-news-letter-status").text(""),s("#saswp-news-letter-status").css("color","red")):"Invalid list ID."==e?(s("#saswp-news-letter-status").text(""),s("#saswp-news-letter-status").css("color","red")):"Already subscribed."==e?(s("#saswp-news-letter-status").text(""),s("#saswp-news-letter-status").css("color","red")):(s("#saswp-news-letter-status").text("You're subscribed!"),s("#saswp-news-letter-status").css("color","green")):alert("Sorry, unable to subscribe. Please try again later!")})});var t={content:a,position:{edge:"top",align:"left"}};e=function(){s(saswp_localize_data.displayID).pointer(t).pointer("open"),saswp_localize_data.button2&&(jQuery("#pointer-close").after('<a id="pointer-primary" class="button-primary">'+saswp_localize_data.button2+"</a>"),jQuery("#pointer-primary").click(function(){saswp_localize_data.function_name}),jQuery("#pointer-close").click(function(){s.post(saswp_localize_data.ajax_url,{pointer:"saswp_subscribe_pointer",action:"dismiss-wp-pointer"})}))},(t=s.extend(t,{buttons:function(s,e){return button=jQuery('<a id="pointer-close" class="button-secondary">'+saswp_localize_data.button1+"</a>"),button_2=jQuery("#pointer-close.button"),button.bind("click.pointer",function(){e.element.pointer("close")}),button_2.on("click",function(){setTimeout(function(){e.element.pointer("close")},3e3)}),button},close:function(){s.post(saswp_localize_data.ajax_url,{pointer:"saswp_subscribe_pointer",action:"dismiss-wp-pointer"})},show:function(s,e){e.pointer.css({left:"170px",top:"160px"})}})).position&&t.position.defer_loading?s(window).bind("load.wp-pointers",e):e()}if(s(".saswp-tabs a").click(function(e){var a=s(this).attr("href"),t=getParameterByName("tab",a);return t||(t="general"),s(this).siblings().removeClass("nav-tab-active"),s(this).addClass("nav-tab-active"),s(".form-wrap").find(".saswp-"+t).siblings().hide(),s(".form-wrap .saswp-"+t).show(),window.history.pushState("","",a),!1}),s(".saswp-schame-type-select").select2(),s(".saswp-schame-type-select").change(function(e){e.preventDefault(),s(".saswp-custom-fields-table").html("");var a=s(this).val();s(".saswp-option-table-class tr").each(function(e,a){e>0&&s(this).hide()}),"TechArticle"==a||"Article"==a||"Blogposting"==a||"NewsArticle"==a||"WebPage"==a?s(".saswp-enable-speakable").parent().parent().show():s(".saswp-enable-speakable").parent().parent().hide(),"Book"==a||"Course"==a||"Organization"==a||"CreativeWorkSeries"==a||"MobileApplication"==a||"ImageObject"==a||"HowTo"==a||"MusicPlaylist"==a||"MusicAlbum"==a||"Recipe"==a||"TVSeries"==a||"SoftwareApplication"==a||"Event"==a||"VideoGame"==a||"Service"==a||"AudioObject"==a||"VideoObject"==a||"local_business"==a||"Product"==a||"Review"==a?s(".saswp-enable-append-reviews").parent().parent().show():s(".saswp-enable-append-reviews").parent().parent().hide(),"local_business"==a&&(s(".saswp-option-table-class tr").eq(1).show(),s(".saswp-business-text-field-tr").show(),s(".saswp-option-table-class tr").find("select").attr("disabled",!1),s(".select-post-type").val("show_globally").trigger("change")),"Service"==a&&(s(".saswp-service-text-field-tr").show(),s(".saswp-option-table-class tr").find("select").attr("disabled",!1)),"Event"==a&&(s(".saswp-event-text-field-tr").show(),s(".saswp-option-table-class tr").find("select").attr("disabled",!1)),"Review"==a&&(s(".saswp-review-text-field-tr").show(),s(".saswp-option-table-class tr").find("select").attr("disabled",!1),s(".saswp-item-reivewed-list").change()),"ItemList"==a?(s(".saswp-schema-modify-section").hide(),s(".saswp-itemlist-text-field-tr").show(),s(".saswp-option-table-class tr").find("select").attr("disabled",!1),s(".saswp-itemlist-item-type-list").change()):s(".saswp-schema-modify-section").show(),saswp_enable_rating_review(),s(".saswp-manual-modification").html(""),s(".saswp-static-container .spinner").addClass("is-active"),s.get(ajaxurl,{action:"saswp_get_manual_fields_on_ajax",schema_type:a,post_id:saswp_localize_data.post_id,saswp_security_nonce:saswp_localize_data.saswp_security_nonce},function(e){s(".saswp-static-container .spinner").removeClass("is-active"),s(".saswp-manual-modification").append(e),saswp_schema_datepicker(),saswp_schema_timepicker(),saswp_item_reviewed_call()}),"HowTo"==a||"local_business"==a||"FAQ"==a?s(".saswp-enable-modify-schema").show():(s(".saswp-enable-modify-schema-output").val("automatic"),s(".saswp-enable-modify-schema-output").change(),s(".saswp-enable-modify-schema").hide())}),s("#saswp_business_type").select2(),s(".saswp-local-sub-type-2").select2(),s("#saswp_business_type").change(function(){var e=s(this).val(),a=s(".saswp-schame-type-select").val();s(".saswp-option-table-class tr").each(function(e,a){e>1&&(s(this).hide(),s(this).find(".saswp-local-sub-type-2").attr("disabled",!0))}),"TechArticle"==a||"Article"==a||"Blogposting"==a||"NewsArticle"==a||"WebPage"==a?s(".saswp-enable-speakable").parent().parent().show():s(".saswp-enable-speakable").parent().parent().hide(),"Book"==a||"Course"==a||"Organization"==a||"CreativeWorkSeries"==a||"MobileApplication"==a||"ImageObject"==a||"HowTo"==a||"MusicPlaylist"==a||"MusicAlbum"==a||"Recipe"==a||"TVSeries"==a||"SoftwareApplication"==a||"Event"==a||"VideoGame"==a||"Service"==a||"AudioObject"==a||"VideoObject"==a||"local_business"==a||"Product"==a||"Review"==a?s(".saswp-enable-append-reviews").parent().parent().show():s(".saswp-enable-append-reviews").parent().parent().hide(),"local_business"==a&&(s(".saswp-"+e+"-tr").show(),s(".saswp-business-text-field-tr").show(),s(".saswp-"+e+"-tr").find("select").attr("disabled",!1)),"Review"==a&&(s(".saswp-review-text-field-tr").show(),s(".saswp-review-text-field-tr").find("select").attr("disabled",!1)),"ItemList"==a?(s(".saswp-schema-modify-section").hide(),s(".saswp-itemlist-text-field-tr").show(),s(".saswp-option-table-class tr").find("select").attr("disabled",!1)):s(".saswp-schema-modify-section").show(),"Event"==a&&(s(".saswp-event-text-field-tr").show(),s(".saswp-option-table-class tr").find("select").attr("disabled",!1)),saswp_enable_rating_review()}).change(),s(".saswp-checkbox").change(function(){var e=s(this).attr("id"),a=s(this);switch(e){case"saswp-the-seo-framework-checkbox":saswp_compatibliy_notes(a,e),s(this).is(":checked")?s("#saswp-the-seo-framework").val(1):s("#saswp-the-seo-framework").val(0);break;case"saswp-seo-press-checkbox":saswp_compatibliy_notes(a,e),s(this).is(":checked")?s("#saswp-seo-press").val(1):s("#saswp-seo-press").val(0);break;case"saswp-aiosp-checkbox":saswp_compatibliy_notes(a,e),s(this).is(":checked")?s("#saswp-aiosp").val(1):s("#saswp-aiosp").val(0);break;case"saswp-smart-crawl-checkbox":saswp_compatibliy_notes(a,e),s(this).is(":checked")?s("#saswp-smart-crawl").val(1):s("#saswp-smart-crawl").val(0);break;case"saswp-squirrly-seo-checkbox":saswp_compatibliy_notes(a,e),s(this).is(":checked")?s("#saswp-squirrly-seo").val(1):s("#saswp-squirrly-seo").val(0);break;case"saswp-wp-recipe-maker-checkbox":saswp_compatibliy_notes(a,e),s(this).is(":checked")?s("#saswp-wp-recipe-maker").val(1):s("#saswp-wp-recipe-maker").val(0);break;case"saswp-wp-ultimate-recipe-checkbox":saswp_compatibliy_notes(a,e),s(this).is(":checked")?s("#saswp-wp-ultimate-recipe").val(1):s("#saswp-wp-ultimate-recipe").val(0);break;case"saswp-zip-recipes-checkbox":saswp_compatibliy_notes(a,e),s(this).is(":checked")?s("#saswp-zip-recipes").val(1):s("#saswp-zip-recipes").val(0);break;case"saswp-mediavine-create-checkbox":saswp_compatibliy_notes(a,e),s(this).is(":checked")?s("#saswp-mediavine-create").val(1):s("#saswp-mediavine-create").val(0);break;case"saswp-ht-recipes-checkbox":saswp_compatibliy_notes(a,e),s(this).is(":checked")?s("#saswp-ht-recipes").val(1):s("#saswp-ht-recipes").val(0);break;case"saswp-wpsso-core-checkbox":saswp_compatibliy_notes(a,e),s(this).is(":checked")?s("#saswp-wpsso-core").val(1):s("#saswp-wpsso-core").val(0);break;case"saswp-for-wordpress-checkbox":s(this).is(":checked")?s("#saswp-for-wordpress").val(1):s("#saswp-for-wordpress").val(0);break;case"saswp-for-amp-checkbox":s(this).is(":checked")?s("#saswp-for-amp").val(1):s("#saswp-for-amp").val(0);break;case"saswp_kb_contact_1_checkbox":s(this).is(":checked")?(s("#saswp_kb_contact_1").val(1),s("#saswp_kb_telephone, #saswp_contact_type").parent().parent("li").removeClass("saswp-display-none")):(s("#saswp_kb_contact_1").val(0),s("#saswp_kb_telephone, #saswp_contact_type").parent().parent("li").addClass("saswp-display-none"));break;case"saswp-logo-dimensions-check":s(this).is(":checked")?(s("#saswp-logo-dimensions").val(1),s("#saswp-logo-width, #saswp-logo-height").parent().parent("li").show()):(s("#saswp-logo-dimensions").val(0),s("#saswp-logo-width, #saswp-logo-height").parent().parent("li").hide());break;case"saswp_archive_schema_checkbox":s(this).is(":checked")?(s("#saswp_archive_schema").val(1),s(".saswp_archive_schema_type_class").parent().parent().show()):(s("#saswp_archive_schema").val(0),s(".saswp_archive_schema_type_class").parent().parent().hide());break;case"saswp_website_schema_checkbox":s(this).is(":checked")?(s("#saswp_website_schema").val(1),s("#saswp_search_box_schema").parent().parent().show()):(s("#saswp_website_schema").val(0),s("#saswp_search_box_schema").parent().parent().hide());break;case"saswp_search_box_schema_checkbox":s(this).is(":checked")?s("#saswp_search_box_schema").val(1):s("#saswp_search_box_schema").val(0);break;case"saswp_breadcrumb_schema_checkbox":s(this).is(":checked")?s("#saswp_breadcrumb_schema").val(1):s("#saswp_breadcrumb_schema").val(0);break;case"saswp_comments_schema_checkbox":s(this).is(":checked")?s("#saswp_comments_schema").val(1):s("#saswp_comments_schema").val(0);break;case"saswp-compativility-checkbox":s(this).is(":checked")?s("#saswp-flexmlx-compativility").val(1):s("#saswp-flexmlx-compativility").val(0);break;case"saswp-review-module-checkbox":s(this).is(":checked")?s("#saswp-review-module").val(1):s("#saswp-review-module").val(0);break;case"saswp-stars-rating-checkbox":s(this).is(":checked")?(s(".saswp-stars-post-table").removeClass("saswp_hide"),s("#saswp-stars-rating").val(1)):(s(".saswp-stars-post-table").addClass("saswp_hide"),s("#saswp-stars-rating").val(0));break;case"saswp-kk-star-raring-checkbox":saswp_compatibliy_notes(a,e),s(this).is(":checked")?s("#saswp-kk-star-raring").val(1):s("#saswp-kk-star-raring").val(0);break;case"saswp-yet-another-stars-rating-checkbox":saswp_compatibliy_notes(a,e),s(this).is(":checked")?s("#saswp-yet-another-stars-rating").val(1):s("#saswp-yet-another-stars-rating").val(0);break;case"saswp-simple-author-box-checkbox":saswp_compatibliy_notes(a,e),s(this).is(":checked")?s("#saswp-simple-author-box").val(1):s("#saswp-simple-author-box").val(0);break;case"saswp-woocommerce-checkbox":saswp_compatibliy_notes(a,e),s(this).is(":checked")?s("#saswp-woocommerce").val(1):s("#saswp-woocommerce").val(0);break;case"saswp-default-review-checkbox":saswp_compatibliy_notes(a,e),s(this).is(":checked")?s("#saswp_default_review").val(1):s("#saswp_default_review").val(0);break;case"saswp-extra-checkbox":saswp_compatibliy_notes(a,e),s(this).is(":checked")?s("#saswp-extra").val(1):s("#saswp-extra").val(0);break;case"saswp-soledad-checkbox":saswp_compatibliy_notes(a,e),s(this).is(":checked")?s("#saswp-soledad").val(1):s("#saswp-soledad").val(0);break;case"saswp-wp-theme-reviews-checkbox":saswp_compatibliy_notes(a,e),s(this).is(":checked")?s("#saswp-wp-theme-reviews").val(1):s("#saswp-wp-theme-reviews").val(0);break;case"saswp-dw-question-answer-checkbox":saswp_compatibliy_notes(a,e),s(this).is(":checked")?s("#saswp-dw-question-answer").val(1):s("#saswp-dw-question-answer").val(0);break;case"saswp-wp-job-manager-checkbox":saswp_compatibliy_notes(a,e),s(this).is(":checked")?s("#saswp-wp-job-manager").val(1):s("#saswp-wp-job-manager").val(0);break;case"saswp-yoast-checkbox":saswp_compatibliy_notes(a,e),s(this).is(":checked")?s("#saswp-yoast").val(1):s("#saswp-yoast").val(0);break;case"saswp-rankmath-checkbox":saswp_compatibliy_notes(a,e),s(this).is(":checked")?s("#saswp-rankmath").val(1):s("#saswp-rankmath").val(0);break;case"saswp-taqyeem-checkbox":saswp_compatibliy_notes(a,e),s(this).is(":checked")?s("#saswp-taqyeem").val(1):s("#saswp-taqyeem").val(0);break;case"saswp-the-events-calendar-checkbox":saswp_compatibliy_notes(a,e),s(this).is(":checked")?s("#saswp-the-events-calendar").val(1):s("#saswp-the-events-calendar").val(0);break;case"saswp-homeland-checkbox":saswp_compatibliy_notes(a,e),s(this).is(":checked")?s("#saswp-homeland").val(1):s("#saswp-homeland").val(0);break;case"saswp-wpresidence-checkbox":saswp_compatibliy_notes(a,e),s(this).is(":checked")?s("#saswp-wpresidence").val(1):s("#saswp-wpresidence").val(0);break;case"saswp-myhome-checkbox":saswp_compatibliy_notes(a,e),s(this).is(":checked")?s("#saswp-myhome").val(1):s("#saswp-myhome").val(0);break;case"saswp-realestate-5-checkbox":saswp_compatibliy_notes(a,e),s(this).is(":checked")?s("#saswp-realestate-5").val(1):s("#saswp-realestate-5").val(0);break;case"saswp-classipress-checkbox":saswp_compatibliy_notes(a,e),s(this).is(":checked")?s("#saswp-classipress").val(1):s("#saswp-classipress").val(0);break;case"saswp-realhomes-checkbox":saswp_compatibliy_notes(a,e),s(this).is(":checked")?s("#saswp-realhomes").val(1):s("#saswp-realhomes").val(0);break;case"saswp-learn-press-checkbox":saswp_compatibliy_notes(a,e),s(this).is(":checked")?s("#saswp-learn-press").val(1):s("#saswp-learn-press").val(0);break;case"saswp-wplms-checkbox":saswp_compatibliy_notes(a,e),s(this).is(":checked")?s("#saswp-wplms").val(1):s("#saswp-wplms").val(0);break;case"saswp-learn-dash-checkbox":saswp_compatibliy_notes(a,e),s(this).is(":checked")?s("#saswp-learn-dash").val(1):s("#saswp-learn-dash").val(0);break;case"saswp-lifter-lms-checkbox":saswp_compatibliy_notes(a,e),s(this).is(":checked")?s("#saswp-lifter-lms").val(1):s("#saswp-lifter-lms").val(0);break;case"saswp-wp-event-manager-checkbox":saswp_compatibliy_notes(a,e),s(this).is(":checked")?s("#saswp-wp-event-manager").val(1):s("#saswp-wp-event-manager").val(0);break;case"saswp-events-manager-checkbox":saswp_compatibliy_notes(a,e),s(this).is(":checked")?s("#saswp-events-manager").val(1):s("#saswp-events-manager").val(0);break;case"saswp-event-calendar-wd-checkbox":saswp_compatibliy_notes(a,e),s(this).is(":checked")?s("#saswp-event-calendar-wd").val(1):s("#saswp-event-calendar-wd").val(0);break;case"saswp-event-organiser-checkbox":saswp_compatibliy_notes(a,e),s(this).is(":checked")?s("#saswp-event-organiser").val(1):s("#saswp-event-organiser").val(0);break;case"saswp-modern-events-calendar-checkbox":saswp_compatibliy_notes(a,e),s(this).is(":checked")?s("#saswp-modern-events-calendar").val(1):s("#saswp-modern-events-calendar").val(0);break;case"saswp-woocommerce-booking-checkbox":saswp_compatibliy_notes(a,e),s(this).is(":checked")?(s("#saswp-woocommerce-booking").val(1),s("#saswp-woocommerce-booking-main").val(1)):(s("#saswp-woocommerce-booking").val(0),s("#saswp-woocommerce-booking-main").val(0));break;case"saswp-woocommerce-booking-main-checkbox":saswp_compatibliy_notes(a,e),s(this).is(":checked")?(s("#saswp-woocommerce-booking-main").val(1),s("#saswp-woocommerce-booking").val(1)):(s("#saswp-woocommerce-booking-main").val(0),s("#saswp-woocommerce-booking").val(0));break;case"saswp-woocommerce-membership-checkbox":saswp_compatibliy_notes(a,e),s(this).is(":checked")?s("#saswp-woocommerce-membership").val(1):s("#saswp-woocommerce-membership").val(0);break;case"saswp-defragment-checkbox":s(this).is(":checked")?s("#saswp-defragment").val(1):s("#saswp-defragment").val(0);break;case"saswp-cooked-checkbox":saswp_compatibliy_notes(a,e),s(this).is(":checked")?s("#saswp-cooked").val(1):s("#saswp-cooked").val(0);break;case"saswp-flexmlx-compativility-checkbox":saswp_compatibliy_notes(a,e),s(this).is(":checked")?s("#saswp-flexmlx-compativility").val(1):s("#saswp-flexmlx-compativility").val(0);break;case"saswp-shopper-approved-review-checkbox":saswp_compatibliy_notes(a,e),s(this).is(":checked")?(s("#saswp-shopper-approved-review").val(1),s(".saswp-s-reviews-settings-table").parent().parent().parent().show()):(s("#saswp-shopper-approved-review").val(0),s(".saswp-s-reviews-settings-table").parent().parent().parent().hide());break;case"saswp-google-review-checkbox":s(this).is(":checked")?(s("#saswp-google-review").val(1),s("#saswp-google-rv-free-checkbox").length?(s("#saswp-google-review-free").parent().parent().show(),s("#saswp-google-rv-free-checkbox").is(":checked")?s("#saswp_google_place_api_key").parent().parent().show():s("#saswp_google_place_api_key").parent().parent().hide()):s("#saswp_google_place_api_key").parent().parent().show(),s(".saswp-g-reviews-settings-table").parent().parent().parent().show()):(s("#saswp-google-review").val(0),s("#saswp_google_place_api_key").parent().parent().hide(),s(".saswp-g-reviews-settings-table").parent().parent().parent().hide(),s("#saswp-google-rv-free-checkbox").length&&s("#saswp-google-review-free").parent().parent().hide());break;case"saswp-google-rv-free-checkbox":s("#saswp-google-review-checkbox").is(":checked")&&s(this).is(":checked")?(s("#saswp-google-review-free").val(1),s("#saswp_google_place_api_key").parent().parent().show()):(s("#saswp-google-review-free").val(0),s("#saswp_google_place_api_key").parent().parent().hide());break;case"saswp-markup-footer-checkbox":s(this).is(":checked")?s("#saswp-markup-footer").val(1):s("#saswp-markup-footer").val(0);break;case"saswp-pretty-print-checkbox":s(this).is(":checked")?s("#saswp-pretty-print").val(1):s("#saswp-pretty-print").val(0);break;case"saswp-wppostratings-raring-checkbox":saswp_compatibliy_notes(a,e),s(this).is(":checked")?s("#saswp-wppostratings-raring").val(1):s("#saswp-wppostratings-raring").val(0);break;case"saswp-bbpress-checkbox":saswp_compatibliy_notes(a,e),s(this).is(":checked")?s("#saswp-bbpress").val(1):s("#saswp-bbpress").val(0);break;case"saswp-microdata-cleanup-checkbox":s(this).is(":checked")?s("#saswp-microdata-cleanup").val(1):s("#saswp-microdata-cleanup").val(0);break;case"saswp-other-images-checkbox":s(this).is(":checked")?s("#saswp-other-images").val(1):s("#saswp-other-images").val(0);break;case"saswp-rss-feed-image-checkbox":s(this).is(":checked")?s("#saswp-rss-feed-image").val(1):s("#saswp-rss-feed-image").val(0);break;case"saswp-multiple-size-image-checkbox":s(this).is(":checked")?s("#saswp-multiple-size-image").val(1):s("#saswp-multiple-size-image").val(0);break;case"saswp-easy-testimonials-checkbox":s(this).is(":checked")?s("#saswp-easy-testimonials").val(1):s("#saswp-easy-testimonials").val(0);break;case"saswp-testimonial-pro-checkbox":s(this).is(":checked")?s("#saswp-testimonial-pro").val(1):s("#saswp-testimonial-pro").val(0);break;case"saswp-bne-testimonials-checkbox":s(this).is(":checked")?s("#saswp-bne-testimonials").val(1):s("#saswp-bne-testimonials").val(0);break;case"saswp-ampforwp-checkbox":saswp_compatibliy_notes(a,e),s(this).is(":checked")?s("#saswp-ampforwp").val(1):s("#saswp-ampforwp").val(0);break;case"saswp-ampbyautomatic-checkbox":saswp_compatibliy_notes(a,e),s(this).is(":checked")?s("#saswp-ampbyautomatic").val(1):s("#saswp-ampbyautomatic").val(0);break;case"saswp-schemaforfaqs-checkbox":saswp_compatibliy_notes(a,e),s(this).is(":checked")?s("#saswp-schemaforfaqs").val(1):s("#saswp-schemaforfaqs").val(0);break;case"saswp-wp-customer-reviews-checkbox":saswp_compatibliy_notes(a,e),s(this).is(":checked")?s("#saswp-wp-customer-reviews").val(1):s("#saswp-wp-customer-reviews").val(0);break;case"saswp-total-recipe-generator-checkbox":saswp_compatibliy_notes(a,e),s(this).is(":checked")?s("#saswp-total-recipe-generator").val(1):s("#saswp-total-recipe-generator").val(0);break;case"saswp-wordpress-news-checkbox":saswp_compatibliy_notes(a,e),s(this).is(":checked")?s("#saswp-wordpress-news").val(1):s("#saswp-wordpress-news").val(0);break;case"saswp-ampwp-checkbox":saswp_compatibliy_notes(a,e),s(this).is(":checked")?s("#saswp-ampwp").val(1):s("#saswp-ampwp").val(0);break;case"saswp-wp-event-aggregator-checkbox":saswp_compatibliy_notes(a,e),s(this).is(":checked")?s("#saswp-wp-event-aggregator").val(1):s("#saswp-wp-event-aggregator").val(0);break;case"saswp-stachethemes-event-calendar-checkbox":saswp_compatibliy_notes(a,e),s(this).is(":checked")?s("#saswp-stachethemes-event-calendar").val(1):s("#saswp-stachethemes-event-calendar").val(0);break;case"saswp-all-in-one-event-calendar-checkbox":saswp_compatibliy_notes(a,e),s(this).is(":checked")?s("#saswp-all-in-one-event-calendar").val(1):s("#saswp-all-in-one-event-calendar").val(0);break;case"saswp-event-on-checkbox":saswp_compatibliy_notes(a,e),s(this).is(":checked")?s("#saswp-event-on").val(1):s("#saswp-event-on").val(0);break;case"saswp-easy-recipe-checkbox":saswp_compatibliy_notes(a,e),s(this).is(":checked")?s("#saswp-easy-recipe").val(1):s("#saswp-easy-recipe").val(0);break;case"saswp-tevolution-events-checkbox":saswp_compatibliy_notes(a,e),s(this).is(":checked")?s("#saswp-tevolution-events").val(1):s("#saswp-tevolution-events").val(0);break;case"saswp-strong-testimonials-checkbox":saswp_compatibliy_notes(a,e),s(this).is(":checked")?s("#saswp-strong-testimonials").val(1):s("#saswp-strong-testimonials").val(0);break;case"saswp-wordlift-checkbox":saswp_compatibliy_notes(a,e),s(this).is(":checked")?s("#saswp-wordlift").val(1):s("#saswp-wordlift").val(0);break;case"saswp-betteramp-checkbox":saswp_compatibliy_notes(a,e),s(this).is(":checked")?s("#saswp-betteramp").val(1):s("#saswp-betteramp").val(0);break;case"saswp-wpamp-checkbox":saswp_compatibliy_notes(a,e),s(this).is(":checked")?s("#saswp-wpamp").val(1):s("#saswp-wpamp").val(0)}}).change(),s("#saswp_kb_type").change(function(){var e=s(this).val();s(".saswp_org_fields, .saswp_person_fields").parent().parent().addClass("saswp_hide"),s(".saswp_kg_logo").parent().parent().parent().addClass("saswp_hide"),s("#sd-person-image").parent().parent().parent().addClass("saswp_hide"),"Organization"==e&&(s(".saswp_org_fields").parent().parent().removeClass("saswp_hide"),s(".saswp_person_fields").parent().parent().addClass("saswp_hide"),s(".saswp_kg_logo").parent().parent().parent().removeClass("saswp_hide"),s("#sd-person-image").parent().parent().parent().addClass("saswp_hide")),"Person"==e&&(s(".saswp_org_fields").parent().parent().addClass("saswp_hide"),s(".saswp_person_fields").parent().parent().removeClass("saswp_hide"),s(".saswp_kg_logo").parent().parent().parent().removeClass("saswp_hide"),s("#sd-person-image").parent().parent().parent().removeClass("saswp_hide"))}).change(),s(document).on("click","input[data-id=media]",function(e){e.preventDefault();var a=s(this),t=a.attr("id").replace("_button",""),i=wp.media({title:"Application Icon",button:{text:"Select Icon"},multiple:!1,library:{type:"image"}}).on("select",function(){var e=i.state().get("selection").first().toJSON();s("#"+t).val(e.url),s("input[data-id='"+t+"_id']").val(e.id),s("input[data-id='"+t+"_height']").val(e.height),s("input[data-id='"+t+"_width']").val(e.width),s("input[data-id='"+t+"_thumbnail']").val(e.url),"sd_default_image_button"===a.attr("id")&&(s("#sd_default_image_width").val(e.width),s("#sd_default_image_height").val(e.height));var p="";"saswp_image_div_"+t=="saswp_image_div_sd_default_image"&&e.height<1200&&(p='<p class="saswp_warning">Image size is smaller than recommended size</p>'),s(".saswp_image_div_"+t).html('<div class="saswp_image_thumbnail"><img class="saswp_image_prev" src="'+e.url+'"/><a data-id="'+t+'" href="#" class="saswp_prev_close">X</a></div>'+p)}).open()}),s(document).on("click",".saswp_prev_close",function(e){e.preventDefault();var a=s(this).attr("data-id");s(this).parent().remove(),s("#"+a).val(""),s("input[data-id='"+a+"_id']").val(""),s("input[data-id='"+a+"_height']").val(""),s("input[data-id='"+a+"_width']").val(""),s("input[data-id='"+a+"_thumbnail']").val(""),"sd_default_image"===a&&(s("#sd_default_image_width").val(""),s("#sd_default_image_height").val(""))}),s(document).on("click",".saswp-modify-schema",function(e){e.preventDefault();var a=s(this).attr("schema-id"),t=s(this);t.addClass("updating-message"),s.get(ajaxurl,{action:"saswp_modify_schema_post_enable",schema_id:a,post_id:saswp_localize_data.post_id,saswp_security_nonce:saswp_localize_data.saswp_security_nonce},function(e){s(".saswp-post-specific-wrapper[data-id="+a+"] .saswp-post-specific-setting").after(e),s(".saswp_modify_this_schema_hidden_"+a).val(1),s(".saswp-ps-toggle[schema-id="+a+"]").removeClass("saswp_hide"),s(".saswp-restore-schema[schema-id="+a+"]").parent().removeClass("saswp_hide"),s(".saswp-modify-schema[schema-id="+a+"]").parent().addClass("saswp_hide"),t.removeClass("updating-message"),saswp_schema_datepicker(),saswp_schema_timepicker(),saswp_enable_rating_review(),saswp_item_reviewed_call()})}),s(document).on("click",".saswp-restore-schema",function(e){e.preventDefault();var a=s(this).attr("schema-id"),t=s(this);t.addClass("updating-message"),s.post(ajaxurl,{action:"saswp_modify_schema_post_restore",schema_id:a,post_id:saswp_localize_data.post_id,saswp_security_nonce:saswp_localize_data.saswp_security_nonce},function(e){t.removeClass("updating-message"),"t"==e.status?(s(".saswp_modify_this_schema_hidden_"+a).val(0),s(".saswp-restore-schema[schema-id="+a+"]").parent().addClass("saswp_hide"),s(".saswp-modify-schema[schema-id="+a+"]").parent().removeClass("saswp_hide"),s(".saswp-ps-toggle[schema-id="+a+"]").remove()):alert("Something went wrong")},"json")}),s(document).on("change",".saswp-schema-type-toggle",function(e){var a=s(this).attr("data-schema-id"),t=s(this).attr("data-post-id"),i=s(".saswp_modify_this_schema_hidden_"+a).val();if(s(this).is(":checked")){var p=0;s(".saswp-ps-toggle[schema-id="+a+"]").addClass("saswp_hide"),s(".saswp-restore-schema[schema-id="+a+"]").parent().addClass("saswp_hide"),s(".saswp-modify-schema[schema-id="+a+"]").parent().addClass("saswp_hide"),s("#saswp_custom_schema_field[schema-id="+a+"]").parent().addClass("saswp_hide")}else{s("#saswp_custom_schema_field[schema-id="+a+"]").parent().removeClass("saswp_hide"),1==i?(s(".saswp-ps-toggle[schema-id="+a+"]").removeClass("saswp_hide"),s(".saswp-restore-schema[schema-id="+a+"]").parent().removeClass("saswp_hide")):(s(".saswp-modify-schema[schema-id="+a+"]").parent().removeClass("saswp_hide"),s(".saswp-ps-toggle[schema-id="+a+"]").addClass("saswp_hide"),s(".saswp-restore-schema[schema-id="+a+"]").parent().addClass("saswp_hide"));p=1}s.ajax({type:"POST",url:ajaxurl,dataType:"json",data:{action:"saswp_enable_disable_schema_on_post",status:p,schema_id:a,post_id:t,saswp_security_nonce:saswp_localize_data.saswp_security_nonce},success:function(s){},error:function(s){console.log(s)}})}),s(document).on("click",".saswp-reset-data",function(e){e.preventDefault(),1==confirm("Are you sure?")&&s.ajax({type:"POST",url:ajaxurl,dataType:"json",data:{action:"saswp_reset_all_settings",saswp_security_nonce:saswp_localize_data.saswp_security_nonce},success:function(s){setTimeout(function(){location.reload()},1e3)},error:function(s){console.log(s)}})}),s(document).on("click",".saswp_license_activation",function(e){e.preventDefault();var a=s(this);a.addClass("updating-message");var t=s(this).attr("license-status"),i=s(this).attr("add-on"),p=s("#"+i+"_addon_license_key").val();t&&i&&p?s.ajax({type:"POST",url:ajaxurl,dataType:"json",data:{action:"saswp_license_status_check",license_key:p,license_status:t,add_on:i,saswp_security_nonce:saswp_localize_data.saswp_security_nonce},success:function(e){s("#"+i+"_addon_license_key_status").val(e.status),"active"==e.status?(s(".saswp-"+i+"-dashicons").addClass("dashicons-yes"),s(".saswp-"+i+"-dashicons").removeClass("dashicons-no-alt"),s(".saswp-"+i+"-dashicons").css("color","green"),s(".saswp_license_activation[add-on='"+i+"']").attr("license-status","inactive"),s(".saswp_license_activation[add-on='"+i+"']").text("Deactivate"),s(".saswp_license_status_msg[add-on='"+i+"']").text("Activated"),s(".saswp_license_status_msg[add-on='"+i+"']").css("color","green"),s(".saswp_license_status_msg[add-on='"+i+"']").text(e.message)):(s(".saswp-"+i+"-dashicons").addClass("dashicons-no-alt"),s(".saswp-"+i+"-dashicons").removeClass("dashicons-yes"),s(".saswp-"+i+"-dashicons").css("color","red"),s(".saswp_license_activation[add-on='"+i+"']").attr("license-status","active"),s(".saswp_license_activation[add-on='"+i+"']").text("Activate"),s(".saswp_license_status_msg[add-on='"+i+"']").css("color","red"),s(".saswp_license_status_msg[add-on='"+i+"']").text(e.message)),a.removeClass("updating-message")},error:function(s){console.log(s)}}):(alert("Please enter value license key"),a.removeClass("updating-message"))}),s(".saswp-send-query").on("click",function(e){e.preventDefault();var a=s("#saswp_query_message").val(),t=s("#saswp_query_email").val(),i=s("#saswp_query_premium_cus").val();console.log(saswpIsEmail(t)),""!=s.trim(a)&&i&&""!=s.trim(t)&&1==saswpIsEmail(t)?s.ajax({type:"POST",url:ajaxurl,dataType:"json",data:{action:"saswp_send_query_message",premium_cus:i,message:a,email:t,saswp_security_nonce:saswp_localize_data.saswp_security_nonce},success:function(e){"t"==e.status?(s(".saswp-query-success").show(),s(".saswp-query-error").hide()):(s(".saswp-query-success").hide(),s(".saswp-query-error").show())},error:function(s){console.log(s)}}):""==s.trim(a)&&""==i&&""==s.trim(t)?alert("Please enter the message, email and select customer type"):(""==i&&alert("Select Customer type"),""==s.trim(a)&&alert("Please enter the message"),""==s.trim(t)&&alert("Please enter the email"),0==saswpIsEmail(t)&&alert("Please enter a valid email"))}),s(".saswp-import-plugins").on("click",function(e){e.preventDefault();var a=s(this);a.addClass("updating-message");var t=s(this).attr("data-id");s.get(ajaxurl,{action:"saswp_import_plugin_data",plugin_name:t,saswp_security_nonce:saswp_localize_data.saswp_security_nonce},function(e){"t"==e.status?(s(a).parent().find(".saswp-imported-message").text(e.message),s(a).parent().find(".saswp-imported-message").removeClass("saswp-error"),setTimeout(function(){location.reload()},2e3)):(s(a).parent().find(".saswp-imported-message").addClass("saswp-error"),s(a).parent().find(".saswp-imported-message").text(e.message)),a.removeClass("updating-message")},"json")}),s(".saswp-feedback-no-thanks").on("click",function(e){e.preventDefault(),s.get(ajaxurl,{action:"saswp_feeback_no_thanks",saswp_security_nonce:saswp_localize_data.saswp_security_nonce},function(e){"t"==e.status&&s(".saswp-feedback-notice").hide()},"json")}),s(".saswp-feedback-remindme").on("click",function(e){e.preventDefault(),s.get(ajaxurl,{action:"saswp_feeback_remindme",saswp_security_nonce:saswp_localize_data.saswp_security_nonce},function(e){"t"==e.status&&s(".saswp-feedback-notice").hide()},"json")}),s(document).on("change",".saswp-local-business-type-select",function(e){e.preventDefault();var a=s(this),t=s(this).val();s.get(ajaxurl,{action:"saswp_get_sub_business_ajax",business_type:t,saswp_security_nonce:saswp_localize_data.saswp_security_nonce},function(e){if("t"==e.status){s(".saswp-local-business-name-select").parents("tr").remove();var t=a.parents(".saswp-post-specific-wrapper").attr("data-id"),i='<tr><th><label for="saswp_business_name_'+t+'">Sub Business Type</label></th>';i+='<td><select class="saswp-local-business-name-select" id="saswp_business_name_'+t+'" name="saswp_business_name_'+t+'">',s.each(e.result,function(s,e){i+='<option value="'+s+'">'+e+"</option>"}),i+="</select></td>",i+="</tr>",a.parents(".form-table tr:first").after(i)}else s(".saswp-local-business-name-select").parents("tr").remove()},"json")}),saswp_item_reviewed_call(),jQuery(".saswp-local-schema-time-picker").timepicker({timeFormat:"H:i:s"}),s(document).on("click",".saswp-add-custom-schema",function(e){e.preventDefault(),s(".saswp-add-custom-schema-field").removeClass("saswp_hide"),s(this).hide()}),s(document).on("click",".saswp-delete-custom-schema",function(e){e.preventDefault(),s("#saswp_custom_schema_field").val(""),s(".saswp-add-custom-schema-field").addClass("saswp_hide"),s(".saswp-add-custom-schema").show()}),saswp_schema_datepicker(),saswp_schema_timepicker(),saswp_reviews_datepicker(),s(document).on("click",".saswp-add-more-item",function(e){e.preventDefault();s(".saswp-review-item-list-table").append('<tr class="saswp-review-item-tr"><td>Review Item Feature</td><td><input type="text" name="saswp-review-item-feature[]"></td><td>Rating</td><td><input step="0.1" min="0" max="5" type="number" name="saswp-review-item-star-rating[]"></td><td><a type="button" class="saswp-remove-review-item button">x</a></td></tr>')}),s(document).on("click",".saswp-remove-review-item",function(e){e.preventDefault(),s(this).parent().parent("tr").remove()}),s(document).on("focusout",".saswp-review-item-tr input[type=number]",function(e){e.preventDefault();var a=0,t=s(".saswp-review-item-tr input[type=number]").length;s(".saswp-review-item-tr input[type=number]").each(function(e,t){""==s(t).val()?a+=parseFloat(0):a+=parseFloat(s(t).val())});var i=a/t;s("#saswp-review-item-over-all").val(i)}),s("#saswp-review-location").change(function(){var e=s(this).val();s(".saswp-review-shortcode").addClass("saswp_hide"),3==e&&s(".saswp-review-shortcode").removeClass("saswp_hide")}).change(),s("#saswp-review-item-enable").change(function(){s(this).is(":checked")?s(".saswp-review-fields").show():s(".saswp-review-fields").hide()}).change(),s(document).on("click",".saswp-restore-post-schema",function(e){e.preventDefault();var a=s(this);if(a.addClass("updating-message"),s(".saswp-post-specific-schema-ids").val())var t=JSON.parse(s(".saswp-post-specific-schema-ids").val());s.post(ajaxurl,{action:"saswp_restore_schema",schema_ids:t,post_id:saswp_localize_data.post_id,saswp_security_nonce:saswp_localize_data.saswp_security_nonce},function(s){"t"==s.status?setTimeout(function(){location.reload()},1e3):(alert(s.msg),setTimeout(function(){location.reload()},1e3)),a.removeClass("updating-message")},"json")}),s(document).on("click","div.saswp-tab ul.saswp-tab-nav a",function(e){e.preventDefault();var a=s(this).attr("data-id");s(".saswp-post-specific-wrapper").hide(),s("#"+a).show(),s("div.saswp-tab ul.saswp-tab-nav a").removeClass("selected"),s("div.saswp-tab ul.saswp-tab-nav li").removeClass("selected"),s(this).addClass("selected"),s(this).parent().addClass("selected"),saswp_enable_rating_review()}),s("#saswp-global-tabs a:first").addClass("saswp-global-selected"),s(".saswp-global-container").hide(),"#saswp-default-container"==window.location.hash?s(".saswp-global-container:eq(2)").show():s(".saswp-global-container:first").show(),s("#saswp-global-tabs a").click(function(){var e=s(this).attr("data-id");s(this).hasClass("saswp-global-selected")||(s("#saswp-global-tabs a").removeClass("saswp-global-selected"),s(this).addClass("saswp-global-selected"),s(".saswp-global-container").hide(),s("#"+e).show())}),s("#saswp-tools-tabs a:first").addClass("saswp-global-selected"),s(".saswp-tools-container").hide(),s(".saswp-tools-container:first").show(),s("#saswp-tools-tabs a").click(function(){var e=s(this).attr("data-id");s(this).hasClass("saswp-global-selected")||(s("#saswp-tools-tabs a").removeClass("saswp-global-selected"),s(this).addClass("saswp-global-selected"),s(".saswp-tools-container").hide(),s("#"+e).show())}),s("#saswp-review-tabs a:first").addClass("saswp-global-selected"),s(".saswp-review-container").hide(),s(".saswp-review-container:first").show(),s("#saswp-review-tabs a").click(function(){var e=s(this).attr("data-id");s(this).hasClass("saswp-global-selected")||(s("#saswp-review-tabs a").removeClass("saswp-global-selected"),s(this).addClass("saswp-global-selected"),s(".saswp-review-container").hide(),s("#"+e).show())}),s("#saswp-compatibility-tabs a:first").addClass("saswp-global-selected"),s(".saswp-compatibility-container").hide(),s(".saswp-compatibility-container:first").show(),s("#saswp-compatibility-tabs a").click(function(){var e=s(this).attr("data-id");s(this).hasClass("saswp-global-selected")||(s("#saswp-compatibility-tabs a").removeClass("saswp-global-selected"),s(this).addClass("saswp-global-selected"),s(".saswp-compatibility-container").hide(),s("#"+e).show())}),s('a[href="'+saswp_localize_data.new_url_selector+'"]').attr("href",saswp_localize_data.new_url_href),s(".saswp-enable-modify-schema-output").on("change",function(){s(".saswp-static-container").addClass("saswp_hide"),s(".saswp-dynamic-container").addClass("saswp_hide"),"manual"==s(this).val()&&(s(".saswp-static-container").removeClass("saswp_hide"),s(".saswp-dynamic-container").addClass("saswp_hide")),"automatic"==s(this).val()&&(s(".saswp-static-container").addClass("saswp_hide"),s(".saswp-dynamic-container").removeClass("saswp_hide"))}),s(document).on("change",".saswp-custom-fields-name",function(){var e="text",a=s(this).parent().parent("tr"),t=s(this).val();-1==t.indexOf("_image")&&-1==t.indexOf("_logo")||(e="image");var i=s(this).parent().parent("tr").find("td:eq(1)");saswp_get_meta_list(null,e,null,i,t,a)}),s(document).on("click",".saswp-skip-button",function(e){e.preventDefault(),s(this).parent().parent().hide(),s.post(ajaxurl,{action:"saswp_skip_wizard",saswp_security_nonce:saswp_localize_data.saswp_security_nonce},function(s){},"json")}),s(document).on("click",".saswp_add_schema_fields_on_fly",function(e){e.preventDefault();var a=s(this);a.addClass("updating-message");var t=s(this).attr("data-id"),i=s(this).attr("fields_type"),p=s(this).attr("div_type"),c=s(this).attr("itemlist_sub_type"),o=s("saswp_specific_"+t+" , .saswp-"+p+"-table-div").length,n=s("saswp_specific_"+t+" , .saswp-"+p+"-table-div:nth-child("+o+")").attr("data-id");(n=++n)||(n=0),saswp_get_post_specific_schema_fields(a,n,i,p,t,i+"_",c)}),s(document).on("click",".saswp-table-close",function(){s(this).parent().remove()}),s(document).on("click",".saswp-rmv-modify_row",function(e){e.preventDefault(),s(this).parent().parent().remove()}),s(document).on("change",".saswp-custom-meta-list",function(){var e=s(this),a=s("select#schema_type option:selected").val(),t=s(this).val(),i=s(this).parent().parent("tr").find(".saswp-custom-fields-name").val(),p="",c=a.toLowerCase()+"_"+i,o="saswp_fixed_image["+i+"]";"manual_text"==t?(p+='<td><input type="text" name="saswp_fixed_text['+i+']"></td>',p+='<td><a class="button button-default saswp-rmv-modify_row">X</a></td>',s(this).parent().parent("tr").find("td:gt(1)").remove(),s(this).parent().parent("tr").append(p),saswpCustomSelect2()):"taxonomy_term"==t?saswp_taxonomy_term.taxonomy?(p+=saswp_taxonomy_term_html(saswp_taxonomy_term.taxonomy,i),e.parent().parent("tr").find("td:gt(1)").remove(),e.parent().parent("tr").append(p),saswpCustomSelect2()):s.get(ajaxurl,{action:"saswp_get_taxonomy_term_list",saswp_security_nonce:saswp_localize_data.saswp_security_nonce},function(s){s&&(saswp_taxonomy_term.taxonomy=s,p+=saswp_taxonomy_term_html(s,i),e.parent().parent("tr").find("td:gt(1)").remove(),e.parent().parent("tr").append(p),saswpCustomSelect2())},"json"):"custom_field"==t?(p+='<td><select class="saswp-custom-fields-select2" name="saswp_custom_meta_field['+i+']">',p+="</select></td>",p+='<td><a class="button button-default saswp-rmv-modify_row">X</a></td>',s(this).parent().parent("tr").find("td:gt(1)").remove(),s(this).parent().parent("tr").append(p),saswpCustomSelect2()):"fixed_image"==t?(p+="<td>",p+="<fieldset>",p+='<input data-id="media" style="width: 30%;" class="button" id="'+c+'_button" name="'+c+'_button" type="button" value="Upload" />',p+='<input type="hidden" data-id="'+c+'_height" class="upload-height" name="'+o+'[height]" id="'+c+'_height" value="">',p+='<input type="hidden" data-id="'+c+'_width" class="upload-width" name="'+o+'[width]" id="'+c+'_width" value="">',p+='<input type="hidden" data-id="'+c+'_thumbnail" class="upload-thumbnail" name="'+o+'[thumbnail]" id="'+c+'_thumbnail" value="">',p+='<div class="saswp_image_div_'+c+'">',p+="</div>",p+="</fieldset>",p+="</td>",p+='<td><a class="button button-default saswp-rmv-modify_row">X</a></td>',s(this).parent().parent("tr").find("td:gt(1)").remove(),s(this).parent().parent("tr").append(p),saswpCustomSelect2()):(p+="<td></td>",p+='<td><a class="button button-default saswp-rmv-modify_row">X</a></td>',s(this).parent().parent("tr").find("td:gt(1)").remove(),s(this).parent().parent("tr").append(p),saswpCustomSelect2())}),s(document).on("change",".saswp-item-reivewed-list",function(){s(".saswp-custom-fields-table").html(""),saswp_meta_list_fields=[];var e=s(this),a=s("select#schema_type option:selected").val();saswp_item_reviewed_ajax(a,e,"manual")}),s(document).on("click",".saswp-add-custom-fields",function(){var e=s(this);e.addClass("updating-message");var a=s("select#schema_type option:selected").val(),t="",i=null;"Review"==a&&(t=s("select.saswp-item-reivewed-list option:selected").val(),i="saswp_review_name");var p=s("#post_ID").val();""!=a&&(saswp_meta_list_fields[a]?saswp_get_meta_list(e,"text",saswp_meta_list_fields[a],null,i,null):s.ajax({type:"POST",url:ajaxurl,dataType:"json",data:{action:"saswp_get_schema_type_fields",post_id:p,schema_type:a,schema_subtype:t,saswp_security_nonce:saswp_localize_data.saswp_security_nonce},success:function(s){saswp_meta_list_fields[a]=s,saswp_get_meta_list(e,"text",saswp_meta_list_fields[a],null,i,null)},error:function(s){console.log(s)}}))}),saswpCustomSelect2(),saswp_enable_rating_review(),s('a[href="'+saswp_localize_data.collection_post_add_url+'"]').attr("href",saswp_localize_data.collection_post_add_new_url),s(document).on("click",".saswp_coonect_google_place",function(){var e=s("#saswp_google_place_id").val(),a=s("#saswp_language_list").val(),t=s("#saswp_googel_api").val();""!=e&&s.ajax({type:"POST",url:ajaxurl,dataType:"json",data:{action:"saswp_connect_google_place",place_id:e,language:a,google_api:t,saswp_security_nonce:saswp_localize_data.saswp_security_nonce},success:function(s){console.log(s.status)},error:function(s){console.log(s)}})}),s(document).on("click",".saswp-add-social-links",function(){s(".saswp-social-links-table").append('<tr><td><input type="text" placeholder="https://www.facebook.com/profile" name="sd_data[saswp_social_links][]" value=""></td><td><a class="button button-default saswp-rmv-modify_row">X</a></td></tr>')}),s(document).on("click",".saswp-show-accept-rv-popup",function(){tb_show("Reviews Form","#TB_inline??width=600&height=400&inlineId=saswp-accept-reviews-popup"),s(document).find("#TB_window").width(600).height(400).css({top:"100px","margin-top":"0px"})}),("saswp_reviews"==saswp_localize_data.post_type||"saswp-collections"==saswp_localize_data.post_type)&&"edit.php"==saswp_localize_data.page_now){var i='<div class="saswp-custom-post-tab">';i+='<div style="display:none;" id="saswp-accept-reviews-popup">',i+='<div class="saswp-accept-rv-container">',i+="<p>Use Below shortcode to show reviews form in your website. Using this you can accept reviews from your website directly</p>",i+='<div class="saswp-show-form-on-tab"><strong>Simple Form</strong> <input value="[saswp-reviews-form]" type="text" readonly></div>',i+='<div class="saswp-show-form-on-tab"><strong>Show form on button tap</strong> <input value="[saswp-reviews-form onbutton=&quot;1&quot;]" type="text" readonly></div>',i+="</div>",i+="</div>",i+='<h2 class="nav-tab-wrapper">',i+="<a href="+saswp_localize_data.reviews_page_url+' class="nav-tab '+(saswp_localize_data.current_url==saswp_localize_data.reviews_page_url?"saswp-global-selected":"")+'">Reviews</a>',i+="<a href="+saswp_localize_data.collections_page_url+' class="nav-tab '+(saswp_localize_data.current_url==saswp_localize_data.collections_page_url?"saswp-global-selected":"")+'">Collections</a>',i+='<a class="nav-tab saswp-show-accept-rv-popup">Accept Reviews</a>',i+="</h2>",i+="</div>",jQuery(jQuery(".wrap")).prepend(i)}"saswp"==saswp_localize_data.post_type&&"edit.php"==saswp_localize_data.page_now&&jQuery(jQuery(".wrap a")[0]).after("<a href='"+saswp_localize_data.saswp_settings_url+"' id='' class='page-title-action'>Settings</a>"),"undefined"!=typeof saswp_reviews_data&&s(".saswp-rating-div").rateYo({rating:saswp_reviews_data.rating_val,halfStar:!0,readOnly:saswp_reviews_data.readonly,onSet:function(e,a){s(this).next().val(e)}}),s("#sd-person-phone-number, #saswp_kb_telephone").focusout(function(){var e=s(this);e.parent().find(".saswp-phone-validation").remove();var a=s(this).val();/^\+([0-9]{1,3})\)?[-. ]?([0-9]{2,4})[-. ]?([0-9]{2,4})[-. ]?([0-9]{2,4})$/.test(a)?e.parent().find(".saswp-phone-validation").remove():e.after('<span style="color:red;" class="saswp-phone-validation">Invalid Phone Number</span>')}),saswpCollectionSlider(),s(document).on("click",".saswp-grid-page",function(e){e.preventDefault(),saswp_grid_page=s(this).attr("data-id"),saswp_on_collection_design_change()}),s("#saswp-coll-pagination").change(function(){saswp_grid_page=1,s("#saswp-coll-per-page").parent().addClass("saswp_hide_imp"),s(this).is(":checked")&&s("#saswp-coll-per-page").parent().removeClass("saswp_hide_imp"),saswp_on_collection_design_change()}),s(".saswp-accordion").click(function(){s(this).toggleClass("active"),s(this).next(".saswp-accordion-panel").slideToggle(200)}),s(document).on("click",".saswp-opn-cls-btn",function(){s("#saswp-reviews-cntn").toggle(),s("#saswp-reviews-cntn").is(":visible")?(s(".saswp-onclick-show").css("display","flex"),s(".saswp-onclick-hide").hide(),s(".saswp-open-class").css("width","500px")):(s(".saswp-onclick-show").css("display","none"),s(".saswp-onclick-hide").show(),s(".saswp-open-class").css("width","300px"))}),s(".saswp-collection-display-method").change(function(){"shortcode"==s(this).val()?s(".saswp-collection-shortcode").removeClass("saswp_hide"):s(".saswp-collection-shortcode").addClass("saswp_hide")}).change(),s(document).on("click",".saswp-remove-platform",function(e){e.preventDefault();var a=s(this).attr("platform-id");saswp_collection.splice(a,1),s(this).parent().remove(),saswp_on_collection_design_change()}),s(".saswp-number-change").bind("keyup mouseup",function(){saswp_on_collection_design_change()}),s(".saswp-coll-settings-options").change(function(){saswp_grid_page=1;var e=s(".saswp-collection-desing").val();s(".saswp-coll-options").addClass("saswp_hide"),s(".saswp-collection-lp").css("height","auto"),"grid"==e&&s(".saswp-grid-options").removeClass("saswp_hide"),"gallery"==e&&s(".saswp-slider-options").removeClass("saswp_hide"),"fomo"==e&&(s(".saswp-fomo-options").removeClass("saswp_hide"),s(".saswp-collection-lp").css("height","31px")),"popup"==e&&s(".saswp-collection-lp").css("height","31px"),saswp_on_collection_design_change()}).change(),s(".saswp-add-to-collection").on("click",function(e){e.preventDefault();var a=s(this),t=s("#saswp-plaftorm-list").val(),i=s("#saswp-review-count").val();t&&i>0?(a.addClass("updating-message"),saswp_get_collection_data(i,t,a)):alert("Enter Count")});var p,c,o=s("#saswp_collection_id").val();o&&(s(".spinner").addClass("is-active"),s.get(ajaxurl,{action:"saswp_get_collection_platforms",collection_id:o,saswp_security_nonce:saswp_localize_data.saswp_security_nonce},function(e){if(e.status){var a=e.message;s.each(a,function(s,e){saswp_get_collection_data(e,s,null)})}s(".spinner").removeClass("is-active")},"json")),(p=document.createElement("div")).style.cssText="position:absolute; background:black; color:white; padding:4px 6px;z-index:10000;border-radius:2px; font-size:12px;box-shadow:3px 3px 3px rgba(0,0,0,.4);opacity:0;transition:opacity 0.3s",p.innerHTML="Copied!",document.body.appendChild(p);var n=document.getElementById("motivatebox");n&&n.addEventListener("mouseup",function(s){var e=(s=s||event).target||s.srcElement;"motivate"==e.className&&(!function(s){var e=document.createRange();e.selectNodeContents(s);var a=window.getSelection();a.removeAllRanges(),a.addRange(e)}(e),function(){var s;try{s=document.execCommand("copy")}catch(e){s=!1}return s}()&&function(s){var e=s||event;clearTimeout(c),p.style.left=e.pageX-10+"px",p.style.top=e.pageY+15+"px",p.style.opacity=1,c=setTimeout(function(){p.style.opacity=0},500)}(s))},!1)});
admin_section/js/saswp-add-new.js CHANGED
@@ -26,7 +26,7 @@ var Merlin = (function($){
26
  var content = new ContentManager();
27
  content.init(btn);
28
  }
29
- };
30
 
31
  function window_loaded(){
32
 
@@ -209,8 +209,8 @@ var Merlin = (function($){
209
 
210
  Merlin.init();
211
 
212
-
213
  jQuery(document).ready(function($) {
 
214
  $(".social-fields input[type=checkbox]").change(function(){
215
  socialFields($(this));
216
  })
@@ -241,7 +241,7 @@ jQuery(document).ready(function($) {
241
  $(this).find('select#schema_type').val('').hide();
242
  });
243
 
244
-
245
  $(".saswp-schame-type-select").change(function(){
246
  var schematype = $ (this).val();
247
 
@@ -273,7 +273,8 @@ jQuery(document).ready(function($) {
273
 
274
  saswp_enable_rating_review();
275
  }).change();
276
-
 
277
  $("#saswp_business_type").change(function(){
278
  var businesstype = $ (this).val();
279
  var schematype = $(".saswp-schame-type-select").val();
@@ -326,6 +327,5 @@ jQuery(document).ready(function($) {
326
 
327
  }
328
  saswp_enable_rating_review();
329
-
330
-
331
  });
26
  var content = new ContentManager();
27
  content.init(btn);
28
  }
29
+ };
30
 
31
  function window_loaded(){
32
 
209
 
210
  Merlin.init();
211
 
 
212
  jQuery(document).ready(function($) {
213
+
214
  $(".social-fields input[type=checkbox]").change(function(){
215
  socialFields($(this));
216
  })
241
  $(this).find('select#schema_type').val('').hide();
242
  });
243
 
244
+ $(".saswp-schame-type-select").select2();
245
  $(".saswp-schame-type-select").change(function(){
246
  var schematype = $ (this).val();
247
 
273
 
274
  saswp_enable_rating_review();
275
  }).change();
276
+ $(".saswp-local-sub-type-2").select2();
277
+ $("#saswp_business_type").select2();
278
  $("#saswp_business_type").change(function(){
279
  var businesstype = $ (this).val();
280
  var schematype = $(".saswp-schame-type-select").val();
327
 
328
  }
329
  saswp_enable_rating_review();
330
+
 
331
  });
admin_section/js/saswp-add-new.min.js CHANGED
@@ -1 +1 @@
1
- var ajaxurl=saswp_add_new_params.ajaxurl,Merlin=function(e){var t={save_logo:function(e){new a(e).init(e)},install_child:function(e){(new ChildTheme).init(e)},activate_license:function(e){(new ActivateLicense).init(e)},install_plugins:function(e){(new PluginManager).init(e)},install_content:function(e){(new ContentManager).init(e)}};function s(){var s=e(".merlin__body"),a=(e(".merlin__body--loading"),e(".merlin__body--exiting"),e("#merlin__drawer-trigger"));drawer_opened="merlin__drawer--open",setTimeout(function(){s.addClass("loaded")},100),a.on("click",function(){s.toggleClass(drawer_opened)}),e(".merlin__button--proceed:not(.merlin__button--closer)").click(function(e){e.preventDefault();var t=this.getAttribute("href");s.addClass("exiting"),setTimeout(function(){window.location=t},400)}),e(".merlin__button--closer").on("click",function(e){s.removeClass(drawer_opened),e.preventDefault();var t=this.getAttribute("href");setTimeout(function(){s.addClass("exiting")},600),setTimeout(function(){window.location=t},1100)}),e(".button-next").on("click",function(s){if(s.preventDefault(),!function(e){var t=jQuery(e);if("yes"==t.data("done-loading"))return!1;t.is("input")||t.is("button");return t.data("done-loading","yes"),t.addClass("merlin__button--loading"),{done:function(){!0,t.attr("disabled",!1)}}}(this))return!1;var a=e(this).data("callback");return!a||void 0===t[a]||(t[a](this),!1)})}function a(){var t,s=e(".merlin__body"),a=e("#child-theme-text");function n(e){void 0!==e.done?(setTimeout(function(){a.addClass("lead")},0),setTimeout(function(){a.addClass("success"),a.html(e.message)},600),t()):(a.addClass("lead error"),a.html(e.error))}return{init:function(a){var i;t=function(){setTimeout(function(){e(".saswp_branding").hide(),e(".merlin__body").addClass("js--finished")},0),s.removeClass(drawer_opened),setTimeout(function(){e(".merlin__body").addClass("exiting")},1200),setTimeout(function(){window.location.href=a.href},1200)},i={action:"saswp_add_new_save_steps_data",wpnonce:saswp_add_new_params.wpnonce},jQuery("ul.merlin__drawer--import-content").find("input, select, textarea").each(function(e,t){switch(jQuery(this).attr("type")){case"text":case"hidden":i[jQuery(this).attr("name")]=jQuery(this).val();break;case"checkbox":1==jQuery(this).prop("checked")?i[jQuery(this).attr("name")]=1:i[jQuery(this).attr("name")]=0;break;default:0==jQuery(this).prop("disabled")&&(i[jQuery(this).attr("name")]=jQuery(this).val())}}),jQuery.post(saswp_add_new_params.ajaxurl,i,n).fail(n)}}}return{init:function(){this,e(s)},callback:function(e){console.log(e),console.log(this)}}}(jQuery);Merlin.init(),jQuery(document).ready(function(e){function t(e){if(e.prop("checked")){var t=e.attr("name");t=t.replace("_checkbox",""),e.parent(".social-fields").find("input[type=text]").show()}else e.parent(".social-fields").find("input[type=text]").val("").hide()}function s(){var t="";e("select#schema_type option:selected").val()&&(t=e("select#schema_type option:selected").val()),e(".saswp-tab-links.selected").attr("saswp-schema-type")&&(t=e(".saswp-tab-links.selected").attr("saswp-schema-type")),t&&e(".saswp-enable-rating-review-"+t.toLowerCase()).change(function(){e(this).is(":checked")?e(this).parent().parent().siblings(".saswp-rating-review-"+t.toLowerCase()).show():e(this).parent().parent().siblings(".saswp-rating-review-"+t.toLowerCase()).hide()}).change()}e(".social-fields input[type=checkbox]").change(function(){t(e(this))}),e(".social-fields input[type=checkbox]").each(function(){t(e(this))}),e(".post-type-fields input[type=checkbox]").change(function(){var t=e(this);if(t.prop("checked")){var s=t.attr("name");s=s.replace("_checkbox",""),t.parent(".post-type-fields").find("select#schema_type").show()}else t.parent(".post-type-fields").find("select#schema_type").val("").hide()}),e(".post-type-fields").each(function(){e(this).find("select#schema_type").val("").hide()}),e(".saswp-schame-type-select").change(function(){var t=e(this).val();e(".saswp-option-table-class tr").each(function(t,s){t>0&&(e(this).hide(),e(this).find("select").attr("disabled",!0))}),"TechArticle"==t||"Article"==t||"Blogposting"==t||"NewsArticle"==t||"WebPage"==t?e(".saswp-enable-speakable").parent().parent().show():e(".saswp-enable-speakable").parent().parent().hide(),"local_business"==t&&(e(".saswp-option-table-class tr").eq(1).show(),e(".saswp-business-text-field-tr").show(),e(".saswp-option-table-class tr").find("select").attr("disabled",!1),e(".select-post-type").val("show_globally").trigger("change")),"Review"==t&&(e(".saswp-review-text-field-tr").show(),e(".saswp-option-table-class tr").find("select").attr("disabled",!1)),e(".saswp-schem-type-note").addClass("saswp_hide"),s()}).change(),e("#saswp_business_type").change(function(){var t=e(this).val(),a=e(".saswp-schame-type-select").val();e(".saswp-option-table-class tr").each(function(t,s){t>1&&(e(this).hide(),e(this).find("select").attr("disabled",!0))}),"TechArticle"==a||"Article"==a||"Blogposting"==a||"NewsArticle"==a||"WebPage"==a?e(".saswp-enable-speakable").parent().parent().show():e(".saswp-enable-speakable").parent().parent().hide(),"local_business"==a&&(e(".saswp-"+t+"-tr").show(),e(".saswp-business-text-field-tr").show(),e(".saswp-"+t+"-tr").find("select").attr("disabled",!1)),"Review"==a&&(e(".saswp-review-text-field-tr").show(),e(".saswp-review-text-field-tr").find("select").attr("disabled",!1)),s()}).change(),s()});
1
+ var ajaxurl=saswp_add_new_params.ajaxurl,Merlin=function(e){var t={save_logo:function(e){new a(e).init(e)},install_child:function(e){(new ChildTheme).init(e)},activate_license:function(e){(new ActivateLicense).init(e)},install_plugins:function(e){(new PluginManager).init(e)},install_content:function(e){(new ContentManager).init(e)}};function s(){var s=e(".merlin__body"),a=(e(".merlin__body--loading"),e(".merlin__body--exiting"),e("#merlin__drawer-trigger"));drawer_opened="merlin__drawer--open",setTimeout(function(){s.addClass("loaded")},100),a.on("click",function(){s.toggleClass(drawer_opened)}),e(".merlin__button--proceed:not(.merlin__button--closer)").click(function(e){e.preventDefault();var t=this.getAttribute("href");s.addClass("exiting"),setTimeout(function(){window.location=t},400)}),e(".merlin__button--closer").on("click",function(e){s.removeClass(drawer_opened),e.preventDefault();var t=this.getAttribute("href");setTimeout(function(){s.addClass("exiting")},600),setTimeout(function(){window.location=t},1100)}),e(".button-next").on("click",function(s){if(s.preventDefault(),!function(e){var t=jQuery(e);if("yes"==t.data("done-loading"))return!1;t.is("input")||t.is("button");return t.data("done-loading","yes"),t.addClass("merlin__button--loading"),{done:function(){!0,t.attr("disabled",!1)}}}(this))return!1;var a=e(this).data("callback");return!a||void 0===t[a]||(t[a](this),!1)})}function a(){var t,s=e(".merlin__body"),a=e("#child-theme-text");function n(e){void 0!==e.done?(setTimeout(function(){a.addClass("lead")},0),setTimeout(function(){a.addClass("success"),a.html(e.message)},600),t()):(a.addClass("lead error"),a.html(e.error))}return{init:function(a){var i;t=function(){setTimeout(function(){e(".saswp_branding").hide(),e(".merlin__body").addClass("js--finished")},0),s.removeClass(drawer_opened),setTimeout(function(){e(".merlin__body").addClass("exiting")},1200),setTimeout(function(){window.location.href=a.href},1200)},i={action:"saswp_add_new_save_steps_data",wpnonce:saswp_add_new_params.wpnonce},jQuery("ul.merlin__drawer--import-content").find("input, select, textarea").each(function(e,t){switch(jQuery(this).attr("type")){case"text":case"hidden":i[jQuery(this).attr("name")]=jQuery(this).val();break;case"checkbox":1==jQuery(this).prop("checked")?i[jQuery(this).attr("name")]=1:i[jQuery(this).attr("name")]=0;break;default:0==jQuery(this).prop("disabled")&&(i[jQuery(this).attr("name")]=jQuery(this).val())}}),jQuery.post(saswp_add_new_params.ajaxurl,i,n).fail(n)}}}return{init:function(){this,e(s)},callback:function(e){console.log(e),console.log(this)}}}(jQuery);Merlin.init(),jQuery(document).ready(function(e){function t(e){if(e.prop("checked")){var t=e.attr("name");t=t.replace("_checkbox",""),e.parent(".social-fields").find("input[type=text]").show()}else e.parent(".social-fields").find("input[type=text]").val("").hide()}function s(){var t="";e("select#schema_type option:selected").val()&&(t=e("select#schema_type option:selected").val()),e(".saswp-tab-links.selected").attr("saswp-schema-type")&&(t=e(".saswp-tab-links.selected").attr("saswp-schema-type")),t&&e(".saswp-enable-rating-review-"+t.toLowerCase()).change(function(){e(this).is(":checked")?e(this).parent().parent().siblings(".saswp-rating-review-"+t.toLowerCase()).show():e(this).parent().parent().siblings(".saswp-rating-review-"+t.toLowerCase()).hide()}).change()}e(".social-fields input[type=checkbox]").change(function(){t(e(this))}),e(".social-fields input[type=checkbox]").each(function(){t(e(this))}),e(".post-type-fields input[type=checkbox]").change(function(){var t=e(this);if(t.prop("checked")){var s=t.attr("name");s=s.replace("_checkbox",""),t.parent(".post-type-fields").find("select#schema_type").show()}else t.parent(".post-type-fields").find("select#schema_type").val("").hide()}),e(".post-type-fields").each(function(){e(this).find("select#schema_type").val("").hide()}),e(".saswp-schame-type-select").select2(),e(".saswp-schame-type-select").change(function(){var t=e(this).val();e(".saswp-option-table-class tr").each(function(t,s){t>0&&(e(this).hide(),e(this).find("select").attr("disabled",!0))}),"TechArticle"==t||"Article"==t||"Blogposting"==t||"NewsArticle"==t||"WebPage"==t?e(".saswp-enable-speakable").parent().parent().show():e(".saswp-enable-speakable").parent().parent().hide(),"local_business"==t&&(e(".saswp-option-table-class tr").eq(1).show(),e(".saswp-business-text-field-tr").show(),e(".saswp-option-table-class tr").find("select").attr("disabled",!1),e(".select-post-type").val("show_globally").trigger("change")),"Review"==t&&(e(".saswp-review-text-field-tr").show(),e(".saswp-option-table-class tr").find("select").attr("disabled",!1)),e(".saswp-schem-type-note").addClass("saswp_hide"),s()}).change(),e(".saswp-local-sub-type-2").select2(),e("#saswp_business_type").select2(),e("#saswp_business_type").change(function(){var t=e(this).val(),a=e(".saswp-schame-type-select").val();e(".saswp-option-table-class tr").each(function(t,s){t>1&&(e(this).hide(),e(this).find("select").attr("disabled",!0))}),"TechArticle"==a||"Article"==a||"Blogposting"==a||"NewsArticle"==a||"WebPage"==a?e(".saswp-enable-speakable").parent().parent().show():e(".saswp-enable-speakable").parent().parent().hide(),"local_business"==a&&(e(".saswp-"+t+"-tr").show(),e(".saswp-business-text-field-tr").show(),e(".saswp-"+t+"-tr").find("select").attr("disabled",!1)),"Review"==a&&(e(".saswp-review-text-field-tr").show(),e(".saswp-review-text-field-tr").find("select").attr("disabled",!1)),s()}).change(),s()});
admin_section/js/select2-extended.min.js ADDED
@@ -0,0 +1,35 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ jQuery.fn.select2.amd.define('select2/data/extended-ajax',['./ajax','./tags','../utils','module','jquery'], function(AjaxAdapter, Tags, Utils, module, $){
2
+
3
+ function ExtendedAjaxAdapter ($element,options) {
4
+ //we need explicitly process minimumInputLength value
5
+ //to decide should we use AjaxAdapter or return defaultResults,
6
+ //so it is impossible to use MinimumLength decorator here
7
+ this.minimumInputLength = options.get('minimumInputLength');
8
+ this.defaultResults = options.get('defaultResults');
9
+
10
+ ExtendedAjaxAdapter.__super__.constructor.call(this,$element,options);
11
+ }
12
+
13
+ Utils.Extend(ExtendedAjaxAdapter,AjaxAdapter);
14
+
15
+ //override original query function to support default results
16
+ var originQuery = AjaxAdapter.prototype.query;
17
+
18
+ ExtendedAjaxAdapter.prototype.query = function (params, callback) {
19
+ var defaultResults = (typeof this.defaultResults == 'function') ? this.defaultResults.call(this) : this.defaultResults;
20
+ if (defaultResults && defaultResults.length && (!params.term || params.term.length < this.minimumInputLength)){
21
+ var data = { results: defaultResults };
22
+ var processedResults = this.processResults(data, params);
23
+ callback(processedResults);
24
+ }
25
+ else {
26
+ originQuery.call(this, params, callback);
27
+ }
28
+ };
29
+
30
+ if (module.config().tags) {
31
+ return Utils.Decorate(ExtendedAjaxAdapter, Tags);
32
+ } else {
33
+ return ExtendedAjaxAdapter;
34
+ }
35
+ });
admin_section/js/select2.min.js CHANGED
@@ -1,3 +1 @@
1
- /*! Select2 4.0.3 | https://github.com/select2/select2/blob/master/LICENSE.md */!function(a){"function"==typeof define&&define.amd?define(["jquery"],a):a("object"==typeof exports?require("jquery"):jQuery)}(function(a){var b=function(){if(a&&a.fn&&a.fn.select2&&a.fn.select2.amd)var b=a.fn.select2.amd;var b;return function(){if(!b||!b.requirejs){b?c=b:b={};var a,c,d;!function(b){function e(a,b){return u.call(a,b)}function f(a,b){var c,d,e,f,g,h,i,j,k,l,m,n=b&&b.split("/"),o=s.map,p=o&&o["*"]||{};if(a&&"."===a.charAt(0))if(b){for(a=a.split("/"),g=a.length-1,s.nodeIdCompat&&w.test(a[g])&&(a[g]=a[g].replace(w,"")),a=n.slice(0,n.length-1).concat(a),k=0;k<a.length;k+=1)if(m=a[k],"."===m)a.splice(k,1),k-=1;else if(".."===m){if(1===k&&(".."===a[2]||".."===a[0]))break;k>0&&(a.splice(k-1,2),k-=2)}a=a.join("/")}else 0===a.indexOf("./")&&(a=a.substring(2));if((n||p)&&o){for(c=a.split("/"),k=c.length;k>0;k-=1){if(d=c.slice(0,k).join("/"),n)for(l=n.length;l>0;l-=1)if(e=o[n.slice(0,l).join("/")],e&&(e=e[d])){f=e,h=k;break}if(f)break;!i&&p&&p[d]&&(i=p[d],j=k)}!f&&i&&(f=i,h=j),f&&(c.splice(0,h,f),a=c.join("/"))}return a}function g(a,c){return function(){var d=v.call(arguments,0);return"string"!=typeof d[0]&&1===d.length&&d.push(null),n.apply(b,d.concat([a,c]))}}function h(a){return function(b){return f(b,a)}}function i(a){return function(b){q[a]=b}}function j(a){if(e(r,a)){var c=r[a];delete r[a],t[a]=!0,m.apply(b,c)}if(!e(q,a)&&!e(t,a))throw new Error("No "+a);return q[a]}function k(a){var b,c=a?a.indexOf("!"):-1;return c>-1&&(b=a.substring(0,c),a=a.substring(c+1,a.length)),[b,a]}function l(a){return function(){return s&&s.config&&s.config[a]||{}}}var m,n,o,p,q={},r={},s={},t={},u=Object.prototype.hasOwnProperty,v=[].slice,w=/\.js$/;o=function(a,b){var c,d=k(a),e=d[0];return a=d[1],e&&(e=f(e,b),c=j(e)),e?a=c&&c.normalize?c.normalize(a,h(b)):f(a,b):(a=f(a,b),d=k(a),e=d[0],a=d[1],e&&(c=j(e))),{f:e?e+"!"+a:a,n:a,pr:e,p:c}},p={require:function(a){return g(a)},exports:function(a){var b=q[a];return"undefined"!=typeof b?b:q[a]={}},module:function(a){return{id:a,uri:"",exports:q[a],config:l(a)}}},m=function(a,c,d,f){var h,k,l,m,n,s,u=[],v=typeof d;if(f=f||a,"undefined"===v||"function"===v){for(c=!c.length&&d.length?["require","exports","module"]:c,n=0;n<c.length;n+=1)if(m=o(c[n],f),k=m.f,"require"===k)u[n]=p.require(a);else if("exports"===k)u[n]=p.exports(a),s=!0;else if("module"===k)h=u[n]=p.module(a);else if(e(q,k)||e(r,k)||e(t,k))u[n]=j(k);else{if(!m.p)throw new Error(a+" missing "+k);m.p.load(m.n,g(f,!0),i(k),{}),u[n]=q[k]}l=d?d.apply(q[a],u):void 0,a&&(h&&h.exports!==b&&h.exports!==q[a]?q[a]=h.exports:l===b&&s||(q[a]=l))}else a&&(q[a]=d)},a=c=n=function(a,c,d,e,f){if("string"==typeof a)return p[a]?p[a](c):j(o(a,c).f);if(!a.splice){if(s=a,s.deps&&n(s.deps,s.callback),!c)return;c.splice?(a=c,c=d,d=null):a=b}return c=c||function(){},"function"==typeof d&&(d=e,e=f),e?m(b,a,c,d):setTimeout(function(){m(b,a,c,d)},4),n},n.config=function(a){return n(a)},a._defined=q,d=function(a,b,c){if("string"!=typeof a)throw new Error("See almond README: incorrect module build, no module name");b.splice||(c=b,b=[]),e(q,a)||e(r,a)||(r[a]=[a,b,c])},d.amd={jQuery:!0}}(),b.requirejs=a,b.require=c,b.define=d}}(),b.define("almond",function(){}),b.define("jquery",[],function(){var b=a||$;return null==b&&console&&console.error&&console.error("Select2: An instance of jQuery or a jQuery-compatible library was not found. Make sure that you are including jQuery before Select2 on your web page."),b}),b.define("select2/utils",["jquery"],function(a){function b(a){var b=a.prototype,c=[];for(var d in b){var e=b[d];"function"==typeof e&&"constructor"!==d&&c.push(d)}return c}var c={};c.Extend=function(a,b){function c(){this.constructor=a}var d={}.hasOwnProperty;for(var e in b)d.call(b,e)&&(a[e]=b[e]);return c.prototype=b.prototype,a.prototype=new c,a.__super__=b.prototype,a},c.Decorate=function(a,c){function d(){var b=Array.prototype.unshift,d=c.prototype.constructor.length,e=a.prototype.constructor;d>0&&(b.call(arguments,a.prototype.constructor),e=c.prototype.constructor),e.apply(this,arguments)}function e(){this.constructor=d}var f=b(c),g=b(a);c.displayName=a.displayName,d.prototype=new e;for(var h=0;h<g.length;h++){var i=g[h];d.prototype[i]=a.prototype[i]}for(var j=(function(a){var b=function(){};a in d.prototype&&(b=d.prototype[a]);var e=c.prototype[a];return function(){var a=Array.prototype.unshift;return a.call(arguments,b),e.apply(this,arguments)}}),k=0;k<f.length;k++){var l=f[k];d.prototype[l]=j(l)}return d};var d=function(){this.listeners={}};return d.prototype.on=function(a,b){this.listeners=this.listeners||{},a in this.listeners?this.listeners[a].push(b):this.listeners[a]=[b]},d.prototype.trigger=function(a){var b=Array.prototype.slice,c=b.call(arguments,1);this.listeners=this.listeners||{},null==c&&(c=[]),0===c.length&&c.push({}),c[0]._type=a,a in this.listeners&&this.invoke(this.listeners[a],b.call(arguments,1)),"*"in this.listeners&&this.invoke(this.listeners["*"],arguments)},d.prototype.invoke=function(a,b){for(var c=0,d=a.length;d>c;c++)a[c].apply(this,b)},c.Observable=d,c.generateChars=function(a){for(var b="",c=0;a>c;c++){var d=Math.floor(36*Math.random());b+=d.toString(36)}return b},c.bind=function(a,b){return function(){a.apply(b,arguments)}},c._convertData=function(a){for(var b in a){var c=b.split("-"),d=a;if(1!==c.length){for(var e=0;e<c.length;e++){var f=c[e];f=f.substring(0,1).toLowerCase()+f.substring(1),f in d||(d[f]={}),e==c.length-1&&(d[f]=a[b]),d=d[f]}delete a[b]}}return a},c.hasScroll=function(b,c){var d=a(c),e=c.style.overflowX,f=c.style.overflowY;return e!==f||"hidden"!==f&&"visible"!==f?"scroll"===e||"scroll"===f?!0:d.innerHeight()<c.scrollHeight||d.innerWidth()<c.scrollWidth:!1},c.escapeMarkup=function(a){var b={"\\":"&#92;","&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;","/":"&#47;"};return"string"!=typeof a?a:String(a).replace(/[&<>"'\/\\]/g,function(a){return b[a]})},c.appendMany=function(b,c){if("1.7"===a.fn.jquery.substr(0,3)){var d=a();a.map(c,function(a){d=d.add(a)}),c=d}b.append(c)},c}),b.define("select2/results",["jquery","./utils"],function(a,b){function c(a,b,d){this.$element=a,this.data=d,this.options=b,c.__super__.constructor.call(this)}return b.Extend(c,b.Observable),c.prototype.render=function(){var b=a('<ul class="select2-results__options" role="tree"></ul>');return this.options.get("multiple")&&b.attr("aria-multiselectable","true"),this.$results=b,b},c.prototype.clear=function(){this.$results.empty()},c.prototype.displayMessage=function(b){var c=this.options.get("escapeMarkup");this.clear(),this.hideLoading();var d=a('<li role="treeitem" aria-live="assertive" class="select2-results__option"></li>'),e=this.options.get("translations").get(b.message);d.append(c(e(b.args))),d[0].className+=" select2-results__message",this.$results.append(d)},c.prototype.hideMessages=function(){this.$results.find(".select2-results__message").remove()},c.prototype.append=function(a){this.hideLoading();var b=[];if(null==a.results||0===a.results.length)return void(0===this.$results.children().length&&this.trigger("results:message",{message:"noResults"}));a.results=this.sort(a.results);for(var c=0;c<a.results.length;c++){var d=a.results[c],e=this.option(d);b.push(e)}this.$results.append(b)},c.prototype.position=function(a,b){var c=b.find(".select2-results");c.append(a)},c.prototype.sort=function(a){var b=this.options.get("sorter");return b(a)},c.prototype.highlightFirstItem=function(){var a=this.$results.find(".select2-results__option[aria-selected]"),b=a.filter("[aria-selected=true]");b.length>0?b.first().trigger("mouseenter"):a.first().trigger("mouseenter"),this.ensureHighlightVisible()},c.prototype.setClasses=function(){var b=this;this.data.current(function(c){var d=a.map(c,function(a){return a.id.toString()}),e=b.$results.find(".select2-results__option[aria-selected]");e.each(function(){var b=a(this),c=a.data(this,"data"),e=""+c.id;null!=c.element&&c.element.selected||null==c.element&&a.inArray(e,d)>-1?b.attr("aria-selected","true"):b.attr("aria-selected","false")})})},c.prototype.showLoading=function(a){this.hideLoading();var b=this.options.get("translations").get("searching"),c={disabled:!0,loading:!0,text:b(a)},d=this.option(c);d.className+=" loading-results",this.$results.prepend(d)},c.prototype.hideLoading=function(){this.$results.find(".loading-results").remove()},c.prototype.option=function(b){var c=document.createElement("li");c.className="select2-results__option";var d={role:"treeitem","aria-selected":"false"};b.disabled&&(delete d["aria-selected"],d["aria-disabled"]="true"),null==b.id&&delete d["aria-selected"],null!=b._resultId&&(c.id=b._resultId),b.title&&(c.title=b.title),b.children&&(d.role="group",d["aria-label"]=b.text,delete d["aria-selected"]);for(var e in d){var f=d[e];c.setAttribute(e,f)}if(b.children){var g=a(c),h=document.createElement("strong");h.className="select2-results__group";a(h);this.template(b,h);for(var i=[],j=0;j<b.children.length;j++){var k=b.children[j],l=this.option(k);i.push(l)}var m=a("<ul></ul>",{"class":"select2-results__options select2-results__options--nested"});m.append(i),g.append(h),g.append(m)}else this.template(b,c);return a.data(c,"data",b),c},c.prototype.bind=function(b,c){var d=this,e=b.id+"-results";this.$results.attr("id",e),b.on("results:all",function(a){d.clear(),d.append(a.data),b.isOpen()&&(d.setClasses(),d.highlightFirstItem())}),b.on("results:append",function(a){d.append(a.data),b.isOpen()&&d.setClasses()}),b.on("query",function(a){d.hideMessages(),d.showLoading(a)}),b.on("select",function(){b.isOpen()&&(d.setClasses(),d.highlightFirstItem())}),b.on("unselect",function(){b.isOpen()&&(d.setClasses(),d.highlightFirstItem())}),b.on("open",function(){d.$results.attr("aria-expanded","true"),d.$results.attr("aria-hidden","false"),d.setClasses(),d.ensureHighlightVisible()}),b.on("close",function(){d.$results.attr("aria-expanded","false"),d.$results.attr("aria-hidden","true"),d.$results.removeAttr("aria-activedescendant")}),b.on("results:toggle",function(){var a=d.getHighlightedResults();0!==a.length&&a.trigger("mouseup")}),b.on("results:select",function(){var a=d.getHighlightedResults();if(0!==a.length){var b=a.data("data");"true"==a.attr("aria-selected")?d.trigger("close",{}):d.trigger("select",{data:b})}}),b.on("results:previous",function(){var a=d.getHighlightedResults(),b=d.$results.find("[aria-selected]"),c=b.index(a);if(0!==c){var e=c-1;0===a.length&&(e=0);var f=b.eq(e);f.trigger("mouseenter");var g=d.$results.offset().top,h=f.offset().top,i=d.$results.scrollTop()+(h-g);0===e?d.$results.scrollTop(0):0>h-g&&d.$results.scrollTop(i)}}),b.on("results:next",function(){var a=d.getHighlightedResults(),b=d.$results.find("[aria-selected]"),c=b.index(a),e=c+1;if(!(e>=b.length)){var f=b.eq(e);f.trigger("mouseenter");var g=d.$results.offset().top+d.$results.outerHeight(!1),h=f.offset().top+f.outerHeight(!1),i=d.$results.scrollTop()+h-g;0===e?d.$results.scrollTop(0):h>g&&d.$results.scrollTop(i)}}),b.on("results:focus",function(a){a.element.addClass("select2-results__option--highlighted")}),b.on("results:message",function(a){d.displayMessage(a)}),a.fn.mousewheel&&this.$results.on("mousewheel",function(a){var b=d.$results.scrollTop(),c=d.$results.get(0).scrollHeight-b+a.deltaY,e=a.deltaY>0&&b-a.deltaY<=0,f=a.deltaY<0&&c<=d.$results.height();e?(d.$results.scrollTop(0),a.preventDefault(),a.stopPropagation()):f&&(d.$results.scrollTop(d.$results.get(0).scrollHeight-d.$results.height()),a.preventDefault(),a.stopPropagation())}),this.$results.on("mouseup",".select2-results__option[aria-selected]",function(b){var c=a(this),e=c.data("data");return"true"===c.attr("aria-selected")?void(d.options.get("multiple")?d.trigger("unselect",{originalEvent:b,data:e}):d.trigger("close",{})):void d.trigger("select",{originalEvent:b,data:e})}),this.$results.on("mouseenter",".select2-results__option[aria-selected]",function(b){var c=a(this).data("data");d.getHighlightedResults().removeClass("select2-results__option--highlighted"),d.trigger("results:focus",{data:c,element:a(this)})})},c.prototype.getHighlightedResults=function(){var a=this.$results.find(".select2-results__option--highlighted");return a},c.prototype.destroy=function(){this.$results.remove()},c.prototype.ensureHighlightVisible=function(){var a=this.getHighlightedResults();if(0!==a.length){var b=this.$results.find("[aria-selected]"),c=b.index(a),d=this.$results.offset().top,e=a.offset().top,f=this.$results.scrollTop()+(e-d),g=e-d;f-=2*a.outerHeight(!1),2>=c?this.$results.scrollTop(0):(g>this.$results.outerHeight()||0>g)&&this.$results.scrollTop(f)}},c.prototype.template=function(b,c){var d=this.options.get("templateResult"),e=this.options.get("escapeMarkup"),f=d(b,c);null==f?c.style.display="none":"string"==typeof f?c.innerHTML=e(f):a(c).append(f)},c}),b.define("select2/keys",[],function(){var a={BACKSPACE:8,TAB:9,ENTER:13,SHIFT:16,CTRL:17,ALT:18,ESC:27,SPACE:32,PAGE_UP:33,PAGE_DOWN:34,END:35,HOME:36,LEFT:37,UP:38,RIGHT:39,DOWN:40,DELETE:46};return a}),b.define("select2/selection/base",["jquery","../utils","../keys"],function(a,b,c){function d(a,b){this.$element=a,this.options=b,d.__super__.constructor.call(this)}return b.Extend(d,b.Observable),d.prototype.render=function(){var b=a('<span class="select2-selection" role="combobox" aria-haspopup="true" aria-expanded="false"></span>');return this._tabindex=0,null!=this.$element.data("old-tabindex")?this._tabindex=this.$element.data("old-tabindex"):null!=this.$element.attr("tabindex")&&(this._tabindex=this.$element.attr("tabindex")),b.attr("title",this.$element.attr("title")),b.attr("tabindex",this._tabindex),this.$selection=b,b},d.prototype.bind=function(a,b){var d=this,e=(a.id+"-container",a.id+"-results");this.container=a,this.$selection.on("focus",function(a){d.trigger("focus",a)}),this.$selection.on("blur",function(a){d._handleBlur(a)}),this.$selection.on("keydown",function(a){d.trigger("keypress",a),a.which===c.SPACE&&a.preventDefault()}),a.on("results:focus",function(a){d.$selection.attr("aria-activedescendant",a.data._resultId)}),a.on("selection:update",function(a){d.update(a.data)}),a.on("open",function(){d.$selection.attr("aria-expanded","true"),d.$selection.attr("aria-owns",e),d._attachCloseHandler(a)}),a.on("close",function(){d.$selection.attr("aria-expanded","false"),d.$selection.removeAttr("aria-activedescendant"),d.$selection.removeAttr("aria-owns"),d.$selection.focus(),d._detachCloseHandler(a)}),a.on("enable",function(){d.$selection.attr("tabindex",d._tabindex)}),a.on("disable",function(){d.$selection.attr("tabindex","-1")})},d.prototype._handleBlur=function(b){var c=this;window.setTimeout(function(){document.activeElement==c.$selection[0]||a.contains(c.$selection[0],document.activeElement)||c.trigger("blur",b)},1)},d.prototype._attachCloseHandler=function(b){a(document.body).on("mousedown.select2."+b.id,function(b){var c=a(b.target),d=c.closest(".select2"),e=a(".select2.select2-container--open");e.each(function(){var b=a(this);if(this!=d[0]){var c=b.data("element");c.select2("close")}})})},d.prototype._detachCloseHandler=function(b){a(document.body).off("mousedown.select2."+b.id)},d.prototype.position=function(a,b){var c=b.find(".selection");c.append(a)},d.prototype.destroy=function(){this._detachCloseHandler(this.container)},d.prototype.update=function(a){throw new Error("The `update` method must be defined in child classes.")},d}),b.define("select2/selection/single",["jquery","./base","../utils","../keys"],function(a,b,c,d){function e(){e.__super__.constructor.apply(this,arguments)}return c.Extend(e,b),e.prototype.render=function(){var a=e.__super__.render.call(this);return a.addClass("select2-selection--single"),a.html('<span class="select2-selection__rendered"></span><span class="select2-selection__arrow" role="presentation"><b role="presentation"></b></span>'),a},e.prototype.bind=function(a,b){var c=this;e.__super__.bind.apply(this,arguments);var d=a.id+"-container";this.$selection.find(".select2-selection__rendered").attr("id",d),this.$selection.attr("aria-labelledby",d),this.$selection.on("mousedown",function(a){1===a.which&&c.trigger("toggle",{originalEvent:a})}),this.$selection.on("focus",function(a){}),this.$selection.on("blur",function(a){}),a.on("focus",function(b){a.isOpen()||c.$selection.focus()}),a.on("selection:update",function(a){c.update(a.data)})},e.prototype.clear=function(){this.$selection.find(".select2-selection__rendered").empty()},e.prototype.display=function(a,b){var c=this.options.get("templateSelection"),d=this.options.get("escapeMarkup");return d(c(a,b))},e.prototype.selectionContainer=function(){return a("<span></span>")},e.prototype.update=function(a){if(0===a.length)return void this.clear();var b=a[0],c=this.$selection.find(".select2-selection__rendered"),d=this.display(b,c);c.empty().append(d),c.prop("title",b.title||b.text)},e}),b.define("select2/selection/multiple",["jquery","./base","../utils"],function(a,b,c){function d(a,b){d.__super__.constructor.apply(this,arguments)}return c.Extend(d,b),d.prototype.render=function(){var a=d.__super__.render.call(this);return a.addClass("select2-selection--multiple"),a.html('<ul class="select2-selection__rendered"></ul>'),a},d.prototype.bind=function(b,c){var e=this;d.__super__.bind.apply(this,arguments),this.$selection.on("click",function(a){e.trigger("toggle",{originalEvent:a})}),this.$selection.on("click",".select2-selection__choice__remove",function(b){if(!e.options.get("disabled")){var c=a(this),d=c.parent(),f=d.data("data");e.trigger("unselect",{originalEvent:b,data:f})}})},d.prototype.clear=function(){this.$selection.find(".select2-selection__rendered").empty()},d.prototype.display=function(a,b){var c=this.options.get("templateSelection"),d=this.options.get("escapeMarkup");return d(c(a,b))},d.prototype.selectionContainer=function(){var b=a('<li class="select2-selection__choice"><span class="select2-selection__choice__remove" role="presentation">&times;</span></li>');return b},d.prototype.update=function(a){if(this.clear(),0!==a.length){for(var b=[],d=0;d<a.length;d++){var e=a[d],f=this.selectionContainer(),g=this.display(e,f);f.append(g),f.prop("title",e.title||e.text),f.data("data",e),b.push(f)}var h=this.$selection.find(".select2-selection__rendered");c.appendMany(h,b)}},d}),b.define("select2/selection/placeholder",["../utils"],function(a){function b(a,b,c){this.placeholder=this.normalizePlaceholder(c.get("placeholder")),a.call(this,b,c)}return b.prototype.normalizePlaceholder=function(a,b){return"string"==typeof b&&(b={id:"",text:b}),b},b.prototype.createPlaceholder=function(a,b){var c=this.selectionContainer();return c.html(this.display(b)),c.addClass("select2-selection__placeholder").removeClass("select2-selection__choice"),c},b.prototype.update=function(a,b){var c=1==b.length&&b[0].id!=this.placeholder.id,d=b.length>1;if(d||c)return a.call(this,b);this.clear();var e=this.createPlaceholder(this.placeholder);this.$selection.find(".select2-selection__rendered").append(e)},b}),b.define("select2/selection/allowClear",["jquery","../keys"],function(a,b){function c(){}return c.prototype.bind=function(a,b,c){var d=this;a.call(this,b,c),null==this.placeholder&&this.options.get("debug")&&window.console&&console.error&&console.error("Select2: The `allowClear` option should be used in combination with the `placeholder` option."),this.$selection.on("mousedown",".select2-selection__clear",function(a){d._handleClear(a)}),b.on("keypress",function(a){d._handleKeyboardClear(a,b)})},c.prototype._handleClear=function(a,b){if(!this.options.get("disabled")){var c=this.$selection.find(".select2-selection__clear");if(0!==c.length){b.stopPropagation();for(var d=c.data("data"),e=0;e<d.length;e++){var f={data:d[e]};if(this.trigger("unselect",f),f.prevented)return}this.$element.val(this.placeholder.id).trigger("change"),this.trigger("toggle",{})}}},c.prototype._handleKeyboardClear=function(a,c,d){d.isOpen()||(c.which==b.DELETE||c.which==b.BACKSPACE)&&this._handleClear(c)},c.prototype.update=function(b,c){if(b.call(this,c),!(this.$selection.find(".select2-selection__placeholder").length>0||0===c.length)){var d=a('<span class="select2-selection__clear">&times;</span>');d.data("data",c),this.$selection.find(".select2-selection__rendered").prepend(d)}},c}),b.define("select2/selection/search",["jquery","../utils","../keys"],function(a,b,c){function d(a,b,c){a.call(this,b,c)}return d.prototype.render=function(b){var c=a('<li class="select2-search select2-search--inline"><input class="select2-search__field" type="search" tabindex="-1" autocomplete="off" autocorrect="off" autocapitalize="off" spellcheck="false" role="textbox" aria-autocomplete="list" /></li>');this.$searchContainer=c,this.$search=c.find("input");var d=b.call(this);return this._transferTabIndex(),d},d.prototype.bind=function(a,b,d){var e=this;a.call(this,b,d),b.on("open",function(){e.$search.trigger("focus")}),b.on("close",function(){e.$search.val(""),e.$search.removeAttr("aria-activedescendant"),e.$search.trigger("focus")}),b.on("enable",function(){e.$search.prop("disabled",!1),e._transferTabIndex()}),b.on("disable",function(){e.$search.prop("disabled",!0)}),b.on("focus",function(a){e.$search.trigger("focus")}),b.on("results:focus",function(a){e.$search.attr("aria-activedescendant",a.id)}),this.$selection.on("focusin",".select2-search--inline",function(a){e.trigger("focus",a)}),this.$selection.on("focusout",".select2-search--inline",function(a){e._handleBlur(a)}),this.$selection.on("keydown",".select2-search--inline",function(a){a.stopPropagation(),e.trigger("keypress",a),e._keyUpPrevented=a.isDefaultPrevented();var b=a.which;if(b===c.BACKSPACE&&""===e.$search.val()){var d=e.$searchContainer.prev(".select2-selection__choice");if(d.length>0){var f=d.data("data");e.searchRemoveChoice(f),a.preventDefault()}}});var f=document.documentMode,g=f&&11>=f;this.$selection.on("input.searchcheck",".select2-search--inline",function(a){return g?void e.$selection.off("input.search input.searchcheck"):void e.$selection.off("keyup.search")}),this.$selection.on("keyup.search input.search",".select2-search--inline",function(a){if(g&&"input"===a.type)return void e.$selection.off("input.search input.searchcheck");var b=a.which;b!=c.SHIFT&&b!=c.CTRL&&b!=c.ALT&&b!=c.TAB&&e.handleSearch(a)})},d.prototype._transferTabIndex=function(a){this.$search.attr("tabindex",this.$selection.attr("tabindex")),this.$selection.attr("tabindex","-1")},d.prototype.createPlaceholder=function(a,b){this.$search.attr("placeholder",b.text)},d.prototype.update=function(a,b){var c=this.$search[0]==document.activeElement;this.$search.attr("placeholder",""),a.call(this,b),this.$selection.find(".select2-selection__rendered").append(this.$searchContainer),this.resizeSearch(),c&&this.$search.focus()},d.prototype.handleSearch=function(){if(this.resizeSearch(),!this._keyUpPrevented){var a=this.$search.val();this.trigger("query",{term:a})}this._keyUpPrevented=!1},d.prototype.searchRemoveChoice=function(a,b){this.trigger("unselect",{data:b}),this.$search.val(b.text),this.handleSearch()},d.prototype.resizeSearch=function(){this.$search.css("width","25px");var a="";if(""!==this.$search.attr("placeholder"))a=this.$selection.find(".select2-selection__rendered").innerWidth();else{var b=this.$search.val().length+1;a=.75*b+"em"}this.$search.css("width",a)},d}),b.define("select2/selection/eventRelay",["jquery"],function(a){function b(){}return b.prototype.bind=function(b,c,d){var e=this,f=["open","opening","close","closing","select","selecting","unselect","unselecting"],g=["opening","closing","selecting","unselecting"];b.call(this,c,d),c.on("*",function(b,c){if(-1!==a.inArray(b,f)){c=c||{};var d=a.Event("select2:"+b,{params:c});e.$element.trigger(d),-1!==a.inArray(b,g)&&(c.prevented=d.isDefaultPrevented())}})},b}),b.define("select2/translation",["jquery","require"],function(a,b){function c(a){this.dict=a||{}}return c.prototype.all=function(){return this.dict},c.prototype.get=function(a){return this.dict[a]},c.prototype.extend=function(b){this.dict=a.extend({},b.all(),this.dict)},c._cache={},c.loadPath=function(a){if(!(a in c._cache)){var d=b(a);c._cache[a]=d}return new c(c._cache[a])},c}),b.define("select2/diacritics",[],function(){var a={"Ⓐ":"A","A":"A","À":"A","Á":"A","Â":"A","Ầ":"A","Ấ":"A","Ẫ":"A","Ẩ":"A","Ã":"A","Ā":"A","Ă":"A","Ằ":"A","Ắ":"A","Ẵ":"A","Ẳ":"A","Ȧ":"A","Ǡ":"A","Ä":"A","Ǟ":"A","Ả":"A","Å":"A","Ǻ":"A","Ǎ":"A","Ȁ":"A","Ȃ":"A","Ạ":"A","Ậ":"A","Ặ":"A","Ḁ":"A","Ą":"A","Ⱥ":"A","Ɐ":"A","Ꜳ":"AA","Æ":"AE","Ǽ":"AE","Ǣ":"AE","Ꜵ":"AO","Ꜷ":"AU","Ꜹ":"AV","Ꜻ":"AV","Ꜽ":"AY","Ⓑ":"B","B":"B","Ḃ":"B","Ḅ":"B","Ḇ":"B","Ƀ":"B","Ƃ":"B","Ɓ":"B","Ⓒ":"C","C":"C","Ć":"C","Ĉ":"C","Ċ":"C","Č":"C","Ç":"C","Ḉ":"C","Ƈ":"C","Ȼ":"C","Ꜿ":"C","Ⓓ":"D","D":"D","Ḋ":"D","Ď":"D","Ḍ":"D","Ḑ":"D","Ḓ":"D","Ḏ":"D","Đ":"D","Ƌ":"D","Ɗ":"D","Ɖ":"D","Ꝺ":"D","DZ":"DZ","DŽ":"DZ","Dz":"Dz","Dž":"Dz","Ⓔ":"E","E":"E","È":"E","É":"E","Ê":"E","Ề":"E","Ế":"E","Ễ":"E","Ể":"E","Ẽ":"E","Ē":"E","Ḕ":"E","Ḗ":"E","Ĕ":"E","Ė":"E","Ë":"E","Ẻ":"E","Ě":"E","Ȅ":"E","Ȇ":"E","Ẹ":"E","Ệ":"E","Ȩ":"E","Ḝ":"E","Ę":"E","Ḙ":"E","Ḛ":"E","Ɛ":"E","Ǝ":"E","Ⓕ":"F","F":"F","Ḟ":"F","Ƒ":"F","Ꝼ":"F","Ⓖ":"G","G":"G","Ǵ":"G","Ĝ":"G","Ḡ":"G","Ğ":"G","Ġ":"G","Ǧ":"G","Ģ":"G","Ǥ":"G","Ɠ":"G","Ꞡ":"G","Ᵹ":"G","Ꝿ":"G","Ⓗ":"H","H":"H","Ĥ":"H","Ḣ":"H","Ḧ":"H","Ȟ":"H","Ḥ":"H","Ḩ":"H","Ḫ":"H","Ħ":"H","Ⱨ":"H","Ⱶ":"H","Ɥ":"H","Ⓘ":"I","I":"I","Ì":"I","Í":"I","Î":"I","Ĩ":"I","Ī":"I","Ĭ":"I","İ":"I","Ï":"I","Ḯ":"I","Ỉ":"I","Ǐ":"I","Ȉ":"I","Ȋ":"I","Ị":"I","Į":"I","Ḭ":"I","Ɨ":"I","Ⓙ":"J","J":"J","Ĵ":"J","Ɉ":"J","Ⓚ":"K","K":"K","Ḱ":"K","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":"Z","Ȥ":"Z","Ɀ":"Z","Ⱬ":"Z","Ꝣ":"Z","ⓐ":"a","a":"a","ẚ":"a","à":"a","á":"a","â":"a","ầ":"a","ấ":"a","ẫ":"a","ẩ":"a","ã":"a","ā":"a","ă":"a","ằ":"a","ắ":"a","ẵ":"a","ẳ":"a","ȧ":"a","ǡ":"a","ä":"a","ǟ":"a","ả":"a","å":"a","ǻ":"a","ǎ":"a","ȁ":"a","ȃ":"a","ạ":"a","ậ":"a","ặ":"a","ḁ":"a","ą":"a","ⱥ":"a","ɐ":"a","ꜳ":"aa","æ":"ae","ǽ":"ae","ǣ":"ae","ꜵ":"ao","ꜷ":"au","ꜹ":"av","ꜻ":"av","ꜽ":"ay","ⓑ":"b","b":"b","ḃ":"b","ḅ":"b","ḇ":"b","ƀ":"b","ƃ":"b","ɓ":"b","ⓒ":"c","c":"c","ć":"c","ĉ":"c","ċ":"c","č":"c","ç":"c","ḉ":"c","ƈ":"c","ȼ":"c","ꜿ":"c","ↄ":"c","ⓓ":"d","d":"d","ḋ":"d","ď":"d","ḍ":"d","ḑ":"d","ḓ":"d","ḏ":"d","đ":"d","ƌ":"d","ɖ":"d","ɗ":"d","ꝺ":"d","dz":"dz","dž":"dz","ⓔ":"e","e":"e","è":"e","é":"e","ê":"e","ề":"e","ế":"e","ễ":"e","ể":"e","ẽ":"e","ē":"e","ḕ":"e","ḗ":"e","ĕ":"e","ė":"e","ë":"e","ẻ":"e","ě":"e","ȅ":"e","ȇ":"e","ẹ":"e","ệ":"e","ȩ":"e","ḝ":"e","ę":"e","ḙ":"e","ḛ":"e","ɇ":"e","ɛ":"e","ǝ":"e","ⓕ":"f","f":"f","ḟ":"f","ƒ":"f","ꝼ":"f","ⓖ":"g","g":"g","ǵ":"g","ĝ":"g","ḡ":"g","ğ":"g","ġ":"g","ǧ":"g","ģ":"g","ǥ":"g","ɠ":"g","ꞡ":"g","ᵹ":"g","ꝿ":"g","ⓗ":"h","h":"h","ĥ":"h","ḣ":"h","ḧ":"h","ȟ":"h","ḥ":"h","ḩ":"h","ḫ":"h","ẖ":"h","ħ":"h","ⱨ":"h","ⱶ":"h","ɥ":"h","ƕ":"hv","ⓘ":"i","i":"i","ì":"i","í":"i","î":"i","ĩ":"i","ī":"i","ĭ":"i","ï":"i","ḯ":"i","ỉ":"i","ǐ":"i","ȉ":"i","ȋ":"i","ị":"i","į":"i","ḭ":"i","ɨ":"i","ı":"i","ⓙ":"j","j":"j","ĵ":"j","ǰ":"j","ɉ":"j","ⓚ":"k","k":"k","ḱ":"k","ǩ":"k","ḳ":"k","ķ":"k","ḵ":"k","ƙ":"k","ⱪ":"k","ꝁ":"k","ꝃ":"k","ꝅ":"k","ꞣ":"k","ⓛ":"l","l":"l","ŀ":"l","ĺ":"l","ľ":"l","ḷ":"l","ḹ":"l","ļ":"l","ḽ":"l","ḻ":"l","ſ":"l","ł":"l","ƚ":"l","ɫ":"l","ⱡ":"l","ꝉ":"l","ꞁ":"l","ꝇ":"l","lj":"lj","ⓜ":"m","m":"m","ḿ":"m","ṁ":"m","ṃ":"m","ɱ":"m","ɯ":"m","ⓝ":"n","n":"n","ǹ":"n","ń":"n","ñ":"n","ṅ":"n","ň":"n","ṇ":"n","ņ":"n","ṋ":"n","ṉ":"n","ƞ":"n","ɲ":"n","ʼn":"n","ꞑ":"n","ꞥ":"n","nj":"nj","ⓞ":"o","o":"o","ò":"o","ó":"o","ô":"o","ồ":"o","ố":"o","ỗ":"o","ổ":"o","õ":"o","ṍ":"o","ȭ":"o","ṏ":"o","ō":"o","ṑ":"o","ṓ":"o","ŏ":"o","ȯ":"o","ȱ":"o","ö":"o","ȫ":"o","ỏ":"o","ő":"o","ǒ":"o","ȍ":"o","ȏ":"o","ơ":"o","ờ":"o","ớ":"o","ỡ":"o","ở":"o","ợ":"o","ọ":"o","ộ":"o","ǫ":"o","ǭ":"o","ø":"o","ǿ":"o","ɔ":"o","ꝋ":"o","ꝍ":"o","ɵ":"o","ƣ":"oi","ȣ":"ou","ꝏ":"oo","ⓟ":"p","p":"p","ṕ":"p","ṗ":"p","ƥ":"p","ᵽ":"p","ꝑ":"p","ꝓ":"p","ꝕ":"p","ⓠ":"q","q":"q","ɋ":"q","ꝗ":"q","ꝙ":"q","ⓡ":"r","r":"r","ŕ":"r","ṙ":"r","ř":"r","ȑ":"r","ȓ":"r","ṛ":"r","ṝ":"r","ŗ":"r","ṟ":"r","ɍ":"r","ɽ":"r","ꝛ":"r","ꞧ":"r","ꞃ":"r","ⓢ":"s","s":"s","ß":"s","ś":"s","ṥ":"s","ŝ":"s","ṡ":"s","š":"s","ṧ":"s","ṣ":"s","ṩ":"s","ș":"s","ş":"s","ȿ":"s","ꞩ":"s","ꞅ":"s","ẛ":"s","ⓣ":"t","t":"t","ṫ":"t","ẗ":"t","ť":"t","ṭ":"t","ț":"t","ţ":"t","ṱ":"t","ṯ":"t","ŧ":"t","ƭ":"t","ʈ":"t","ⱦ":"t","ꞇ":"t","ꜩ":"tz","ⓤ":"u","u":"u","ù":"u","ú":"u","û":"u","ũ":"u","ṹ":"u","ū":"u","ṻ":"u","ŭ":"u","ü":"u","ǜ":"u","ǘ":"u","ǖ":"u","ǚ":"u","ủ":"u","ů":"u","ű":"u","ǔ":"u","ȕ":"u","ȗ":"u","ư":"u","ừ":"u","ứ":"u","ữ":"u","ử":"u","ự":"u","ụ":"u","ṳ":"u","ų":"u","ṷ":"u","ṵ":"u","ʉ":"u","ⓥ":"v","v":"v","ṽ":"v","ṿ":"v","ʋ":"v","ꝟ":"v","ʌ":"v","ꝡ":"vy","ⓦ":"w","w":"w","ẁ":"w","ẃ":"w","ŵ":"w","ẇ":"w","ẅ":"w","ẘ":"w","ẉ":"w","ⱳ":"w","ⓧ":"x","x":"x","ẋ":"x","ẍ":"x","ⓨ":"y","y":"y","ỳ":"y","ý":"y","ŷ":"y","ỹ":"y","ȳ":"y","ẏ":"y","ÿ":"y","ỷ":"y","ẙ":"y","ỵ":"y","ƴ":"y","ɏ":"y","ỿ":"y","ⓩ":"z","z":"z","ź":"z","ẑ":"z","ż":"z","ž":"z","ẓ":"z","ẕ":"z","ƶ":"z","ȥ":"z","ɀ":"z","ⱬ":"z","ꝣ":"z","Ά":"Α","Έ":"Ε","Ή":"Η","Ί":"Ι","Ϊ":"Ι","Ό":"Ο","Ύ":"Υ","Ϋ":"Υ","Ώ":"Ω","ά":"α","έ":"ε","ή":"η","ί":"ι","ϊ":"ι","ΐ":"ι","ό":"ο","ύ":"υ","ϋ":"υ","ΰ":"υ","ω":"ω","ς":"σ"};return a}),b.define("select2/data/base",["../utils"],function(a){function b(a,c){b.__super__.constructor.call(this)}return a.Extend(b,a.Observable),b.prototype.current=function(a){throw new Error("The `current` method must be defined in child classes.")},b.prototype.query=function(a,b){throw new Error("The `query` method must be defined in child classes.")},b.prototype.bind=function(a,b){},b.prototype.destroy=function(){},b.prototype.generateResultId=function(b,c){var d=b.id+"-result-";return d+=a.generateChars(4),d+=null!=c.id?"-"+c.id.toString():"-"+a.generateChars(4)},b}),b.define("select2/data/select",["./base","../utils","jquery"],function(a,b,c){function d(a,b){this.$element=a,this.options=b,d.__super__.constructor.call(this)}return b.Extend(d,a),d.prototype.current=function(a){var b=[],d=this;this.$element.find(":selected").each(function(){var a=c(this),e=d.item(a);b.push(e)}),a(b)},d.prototype.select=function(a){var b=this;if(a.selected=!0,c(a.element).is("option"))return a.element.selected=!0,void this.$element.trigger("change");
2
- if(this.$element.prop("multiple"))this.current(function(d){var e=[];a=[a],a.push.apply(a,d);for(var f=0;f<a.length;f++){var g=a[f].id;-1===c.inArray(g,e)&&e.push(g)}b.$element.val(e),b.$element.trigger("change")});else{var d=a.id;this.$element.val(d),this.$element.trigger("change")}},d.prototype.unselect=function(a){var b=this;if(this.$element.prop("multiple"))return a.selected=!1,c(a.element).is("option")?(a.element.selected=!1,void this.$element.trigger("change")):void this.current(function(d){for(var e=[],f=0;f<d.length;f++){var g=d[f].id;g!==a.id&&-1===c.inArray(g,e)&&e.push(g)}b.$element.val(e),b.$element.trigger("change")})},d.prototype.bind=function(a,b){var c=this;this.container=a,a.on("select",function(a){c.select(a.data)}),a.on("unselect",function(a){c.unselect(a.data)})},d.prototype.destroy=function(){this.$element.find("*").each(function(){c.removeData(this,"data")})},d.prototype.query=function(a,b){var d=[],e=this,f=this.$element.children();f.each(function(){var b=c(this);if(b.is("option")||b.is("optgroup")){var f=e.item(b),g=e.matches(a,f);null!==g&&d.push(g)}}),b({results:d})},d.prototype.addOptions=function(a){b.appendMany(this.$element,a)},d.prototype.option=function(a){var b;a.children?(b=document.createElement("optgroup"),b.label=a.text):(b=document.createElement("option"),void 0!==b.textContent?b.textContent=a.text:b.innerText=a.text),a.id&&(b.value=a.id),a.disabled&&(b.disabled=!0),a.selected&&(b.selected=!0),a.title&&(b.title=a.title);var d=c(b),e=this._normalizeItem(a);return e.element=b,c.data(b,"data",e),d},d.prototype.item=function(a){var b={};if(b=c.data(a[0],"data"),null!=b)return b;if(a.is("option"))b={id:a.val(),text:a.text(),disabled:a.prop("disabled"),selected:a.prop("selected"),title:a.prop("title")};else if(a.is("optgroup")){b={text:a.prop("label"),children:[],title:a.prop("title")};for(var d=a.children("option"),e=[],f=0;f<d.length;f++){var g=c(d[f]),h=this.item(g);e.push(h)}b.children=e}return b=this._normalizeItem(b),b.element=a[0],c.data(a[0],"data",b),b},d.prototype._normalizeItem=function(a){c.isPlainObject(a)||(a={id:a,text:a}),a=c.extend({},{text:""},a);var b={selected:!1,disabled:!1};return null!=a.id&&(a.id=a.id.toString()),null!=a.text&&(a.text=a.text.toString()),null==a._resultId&&a.id&&null!=this.container&&(a._resultId=this.generateResultId(this.container,a)),c.extend({},b,a)},d.prototype.matches=function(a,b){var c=this.options.get("matcher");return c(a,b)},d}),b.define("select2/data/array",["./select","../utils","jquery"],function(a,b,c){function d(a,b){var c=b.get("data")||[];d.__super__.constructor.call(this,a,b),this.addOptions(this.convertToOptions(c))}return b.Extend(d,a),d.prototype.select=function(a){var b=this.$element.find("option").filter(function(b,c){return c.value==a.id.toString()});0===b.length&&(b=this.option(a),this.addOptions(b)),d.__super__.select.call(this,a)},d.prototype.convertToOptions=function(a){function d(a){return function(){return c(this).val()==a.id}}for(var e=this,f=this.$element.find("option"),g=f.map(function(){return e.item(c(this)).id}).get(),h=[],i=0;i<a.length;i++){var j=this._normalizeItem(a[i]);if(c.inArray(j.id,g)>=0){var k=f.filter(d(j)),l=this.item(k),m=c.extend(!0,{},j,l),n=this.option(m);k.replaceWith(n)}else{var o=this.option(j);if(j.children){var p=this.convertToOptions(j.children);b.appendMany(o,p)}h.push(o)}}return h},d}),b.define("select2/data/ajax",["./array","../utils","jquery"],function(a,b,c){function d(a,b){this.ajaxOptions=this._applyDefaults(b.get("ajax")),null!=this.ajaxOptions.processResults&&(this.processResults=this.ajaxOptions.processResults),d.__super__.constructor.call(this,a,b)}return b.Extend(d,a),d.prototype._applyDefaults=function(a){var b={data:function(a){return c.extend({},a,{q:a.term})},transport:function(a,b,d){var e=c.ajax(a);return e.then(b),e.fail(d),e}};return c.extend({},b,a,!0)},d.prototype.processResults=function(a){return a},d.prototype.query=function(a,b){function d(){var d=f.transport(f,function(d){var f=e.processResults(d,a);e.options.get("debug")&&window.console&&console.error&&(f&&f.results&&c.isArray(f.results)||console.error("Select2: The AJAX results did not return an array in the `results` key of the response.")),b(f)},function(){d.status&&"0"===d.status||e.trigger("results:message",{message:"errorLoading"})});e._request=d}var e=this;null!=this._request&&(c.isFunction(this._request.abort)&&this._request.abort(),this._request=null);var f=c.extend({type:"GET"},this.ajaxOptions);"function"==typeof f.url&&(f.url=f.url.call(this.$element,a)),"function"==typeof f.data&&(f.data=f.data.call(this.$element,a)),this.ajaxOptions.delay&&null!=a.term?(this._queryTimeout&&window.clearTimeout(this._queryTimeout),this._queryTimeout=window.setTimeout(d,this.ajaxOptions.delay)):d()},d}),b.define("select2/data/tags",["jquery"],function(a){function b(b,c,d){var e=d.get("tags"),f=d.get("createTag");void 0!==f&&(this.createTag=f);var g=d.get("insertTag");if(void 0!==g&&(this.insertTag=g),b.call(this,c,d),a.isArray(e))for(var h=0;h<e.length;h++){var i=e[h],j=this._normalizeItem(i),k=this.option(j);this.$element.append(k)}}return b.prototype.query=function(a,b,c){function d(a,f){for(var g=a.results,h=0;h<g.length;h++){var i=g[h],j=null!=i.children&&!d({results:i.children},!0),k=i.text===b.term;if(k||j)return f?!1:(a.data=g,void c(a))}if(f)return!0;var l=e.createTag(b);if(null!=l){var m=e.option(l);m.attr("data-select2-tag",!0),e.addOptions([m]),e.insertTag(g,l)}a.results=g,c(a)}var e=this;return this._removeOldTags(),null==b.term||null!=b.page?void a.call(this,b,c):void a.call(this,b,d)},b.prototype.createTag=function(b,c){var d=a.trim(c.term);return""===d?null:{id:d,text:d}},b.prototype.insertTag=function(a,b,c){b.unshift(c)},b.prototype._removeOldTags=function(b){var c=(this._lastTag,this.$element.find("option[data-select2-tag]"));c.each(function(){this.selected||a(this).remove()})},b}),b.define("select2/data/tokenizer",["jquery"],function(a){function b(a,b,c){var d=c.get("tokenizer");void 0!==d&&(this.tokenizer=d),a.call(this,b,c)}return b.prototype.bind=function(a,b,c){a.call(this,b,c),this.$search=b.dropdown.$search||b.selection.$search||c.find(".select2-search__field")},b.prototype.query=function(b,c,d){function e(b){var c=g._normalizeItem(b),d=g.$element.find("option").filter(function(){return a(this).val()===c.id});if(!d.length){var e=g.option(c);e.attr("data-select2-tag",!0),g._removeOldTags(),g.addOptions([e])}f(c)}function f(a){g.trigger("select",{data:a})}var g=this;c.term=c.term||"";var h=this.tokenizer(c,this.options,e);h.term!==c.term&&(this.$search.length&&(this.$search.val(h.term),this.$search.focus()),c.term=h.term),b.call(this,c,d)},b.prototype.tokenizer=function(b,c,d,e){for(var f=d.get("tokenSeparators")||[],g=c.term,h=0,i=this.createTag||function(a){return{id:a.term,text:a.term}};h<g.length;){var j=g[h];if(-1!==a.inArray(j,f)){var k=g.substr(0,h),l=a.extend({},c,{term:k}),m=i(l);null!=m?(e(m),g=g.substr(h+1)||"",h=0):h++}else h++}return{term:g}},b}),b.define("select2/data/minimumInputLength",[],function(){function a(a,b,c){this.minimumInputLength=c.get("minimumInputLength"),a.call(this,b,c)}return a.prototype.query=function(a,b,c){return b.term=b.term||"",b.term.length<this.minimumInputLength?void this.trigger("results:message",{message:"inputTooShort",args:{minimum:this.minimumInputLength,input:b.term,params:b}}):void a.call(this,b,c)},a}),b.define("select2/data/maximumInputLength",[],function(){function a(a,b,c){this.maximumInputLength=c.get("maximumInputLength"),a.call(this,b,c)}return a.prototype.query=function(a,b,c){return b.term=b.term||"",this.maximumInputLength>0&&b.term.length>this.maximumInputLength?void this.trigger("results:message",{message:"inputTooLong",args:{maximum:this.maximumInputLength,input:b.term,params:b}}):void a.call(this,b,c)},a}),b.define("select2/data/maximumSelectionLength",[],function(){function a(a,b,c){this.maximumSelectionLength=c.get("maximumSelectionLength"),a.call(this,b,c)}return a.prototype.query=function(a,b,c){var d=this;this.current(function(e){var f=null!=e?e.length:0;return d.maximumSelectionLength>0&&f>=d.maximumSelectionLength?void d.trigger("results:message",{message:"maximumSelected",args:{maximum:d.maximumSelectionLength}}):void a.call(d,b,c)})},a}),b.define("select2/dropdown",["jquery","./utils"],function(a,b){function c(a,b){this.$element=a,this.options=b,c.__super__.constructor.call(this)}return b.Extend(c,b.Observable),c.prototype.render=function(){var b=a('<span class="select2-dropdown"><span class="select2-results"></span></span>');return b.attr("dir",this.options.get("dir")),this.$dropdown=b,b},c.prototype.bind=function(){},c.prototype.position=function(a,b){},c.prototype.destroy=function(){this.$dropdown.remove()},c}),b.define("select2/dropdown/search",["jquery","../utils"],function(a,b){function c(){}return c.prototype.render=function(b){var c=b.call(this),d=a('<span class="select2-search select2-search--dropdown"><input class="select2-search__field" type="search" tabindex="-1" autocomplete="off" autocorrect="off" autocapitalize="off" spellcheck="false" role="textbox" /></span>');return this.$searchContainer=d,this.$search=d.find("input"),c.prepend(d),c},c.prototype.bind=function(b,c,d){var e=this;b.call(this,c,d),this.$search.on("keydown",function(a){e.trigger("keypress",a),e._keyUpPrevented=a.isDefaultPrevented()}),this.$search.on("input",function(b){a(this).off("keyup")}),this.$search.on("keyup input",function(a){e.handleSearch(a)}),c.on("open",function(){e.$search.attr("tabindex",0),e.$search.focus(),window.setTimeout(function(){e.$search.focus()},0)}),c.on("close",function(){e.$search.attr("tabindex",-1),e.$search.val("")}),c.on("focus",function(){c.isOpen()&&e.$search.focus()}),c.on("results:all",function(a){if(null==a.query.term||""===a.query.term){var b=e.showSearch(a);b?e.$searchContainer.removeClass("select2-search--hide"):e.$searchContainer.addClass("select2-search--hide")}})},c.prototype.handleSearch=function(a){if(!this._keyUpPrevented){var b=this.$search.val();this.trigger("query",{term:b})}this._keyUpPrevented=!1},c.prototype.showSearch=function(a,b){return!0},c}),b.define("select2/dropdown/hidePlaceholder",[],function(){function a(a,b,c,d){this.placeholder=this.normalizePlaceholder(c.get("placeholder")),a.call(this,b,c,d)}return a.prototype.append=function(a,b){b.results=this.removePlaceholder(b.results),a.call(this,b)},a.prototype.normalizePlaceholder=function(a,b){return"string"==typeof b&&(b={id:"",text:b}),b},a.prototype.removePlaceholder=function(a,b){for(var c=b.slice(0),d=b.length-1;d>=0;d--){var e=b[d];this.placeholder.id===e.id&&c.splice(d,1)}return c},a}),b.define("select2/dropdown/infiniteScroll",["jquery"],function(a){function b(a,b,c,d){this.lastParams={},a.call(this,b,c,d),this.$loadingMore=this.createLoadingMore(),this.loading=!1}return b.prototype.append=function(a,b){this.$loadingMore.remove(),this.loading=!1,a.call(this,b),this.showLoadingMore(b)&&this.$results.append(this.$loadingMore)},b.prototype.bind=function(b,c,d){var e=this;b.call(this,c,d),c.on("query",function(a){e.lastParams=a,e.loading=!0}),c.on("query:append",function(a){e.lastParams=a,e.loading=!0}),this.$results.on("scroll",function(){var b=a.contains(document.documentElement,e.$loadingMore[0]);if(!e.loading&&b){var c=e.$results.offset().top+e.$results.outerHeight(!1),d=e.$loadingMore.offset().top+e.$loadingMore.outerHeight(!1);c+50>=d&&e.loadMore()}})},b.prototype.loadMore=function(){this.loading=!0;var b=a.extend({},{page:1},this.lastParams);b.page++,this.trigger("query:append",b)},b.prototype.showLoadingMore=function(a,b){return b.pagination&&b.pagination.more},b.prototype.createLoadingMore=function(){var b=a('<li class="select2-results__option select2-results__option--load-more"role="treeitem" aria-disabled="true"></li>'),c=this.options.get("translations").get("loadingMore");return b.html(c(this.lastParams)),b},b}),b.define("select2/dropdown/attachBody",["jquery","../utils"],function(a,b){function c(b,c,d){this.$dropdownParent=d.get("dropdownParent")||a(document.body),b.call(this,c,d)}return c.prototype.bind=function(a,b,c){var d=this,e=!1;a.call(this,b,c),b.on("open",function(){d._showDropdown(),d._attachPositioningHandler(b),e||(e=!0,b.on("results:all",function(){d._positionDropdown(),d._resizeDropdown()}),b.on("results:append",function(){d._positionDropdown(),d._resizeDropdown()}))}),b.on("close",function(){d._hideDropdown(),d._detachPositioningHandler(b)}),this.$dropdownContainer.on("mousedown",function(a){a.stopPropagation()})},c.prototype.destroy=function(a){a.call(this),this.$dropdownContainer.remove()},c.prototype.position=function(a,b,c){b.attr("class",c.attr("class")),b.removeClass("select2"),b.addClass("select2-container--open"),b.css({position:"absolute",top:-999999}),this.$container=c},c.prototype.render=function(b){var c=a("<span></span>"),d=b.call(this);return c.append(d),this.$dropdownContainer=c,c},c.prototype._hideDropdown=function(a){this.$dropdownContainer.detach()},c.prototype._attachPositioningHandler=function(c,d){var e=this,f="scroll.select2."+d.id,g="resize.select2."+d.id,h="orientationchange.select2."+d.id,i=this.$container.parents().filter(b.hasScroll);i.each(function(){a(this).data("select2-scroll-position",{x:a(this).scrollLeft(),y:a(this).scrollTop()})}),i.on(f,function(b){var c=a(this).data("select2-scroll-position");a(this).scrollTop(c.y)}),a(window).on(f+" "+g+" "+h,function(a){e._positionDropdown(),e._resizeDropdown()})},c.prototype._detachPositioningHandler=function(c,d){var e="scroll.select2."+d.id,f="resize.select2."+d.id,g="orientationchange.select2."+d.id,h=this.$container.parents().filter(b.hasScroll);h.off(e),a(window).off(e+" "+f+" "+g)},c.prototype._positionDropdown=function(){var b=a(window),c=this.$dropdown.hasClass("select2-dropdown--above"),d=this.$dropdown.hasClass("select2-dropdown--below"),e=null,f=this.$container.offset();f.bottom=f.top+this.$container.outerHeight(!1);var g={height:this.$container.outerHeight(!1)};g.top=f.top,g.bottom=f.top+g.height;var h={height:this.$dropdown.outerHeight(!1)},i={top:b.scrollTop(),bottom:b.scrollTop()+b.height()},j=i.top<f.top-h.height,k=i.bottom>f.bottom+h.height,l={left:f.left,top:g.bottom},m=this.$dropdownParent;"static"===m.css("position")&&(m=m.offsetParent());var n=m.offset();l.top-=n.top,l.left-=n.left,c||d||(e="below"),k||!j||c?!j&&k&&c&&(e="below"):e="above",("above"==e||c&&"below"!==e)&&(l.top=g.top-n.top-h.height),null!=e&&(this.$dropdown.removeClass("select2-dropdown--below select2-dropdown--above").addClass("select2-dropdown--"+e),this.$container.removeClass("select2-container--below select2-container--above").addClass("select2-container--"+e)),this.$dropdownContainer.css(l)},c.prototype._resizeDropdown=function(){var a={width:this.$container.outerWidth(!1)+"px"};this.options.get("dropdownAutoWidth")&&(a.minWidth=a.width,a.position="relative",a.width="auto"),this.$dropdown.css(a)},c.prototype._showDropdown=function(a){this.$dropdownContainer.appendTo(this.$dropdownParent),this._positionDropdown(),this._resizeDropdown()},c}),b.define("select2/dropdown/minimumResultsForSearch",[],function(){function a(b){for(var c=0,d=0;d<b.length;d++){var e=b[d];e.children?c+=a(e.children):c++}return c}function b(a,b,c,d){this.minimumResultsForSearch=c.get("minimumResultsForSearch"),this.minimumResultsForSearch<0&&(this.minimumResultsForSearch=1/0),a.call(this,b,c,d)}return b.prototype.showSearch=function(b,c){return a(c.data.results)<this.minimumResultsForSearch?!1:b.call(this,c)},b}),b.define("select2/dropdown/selectOnClose",[],function(){function a(){}return a.prototype.bind=function(a,b,c){var d=this;a.call(this,b,c),b.on("close",function(a){d._handleSelectOnClose(a)})},a.prototype._handleSelectOnClose=function(a,b){if(b&&null!=b.originalSelect2Event){var c=b.originalSelect2Event;if("select"===c._type||"unselect"===c._type)return}var d=this.getHighlightedResults();if(!(d.length<1)){var e=d.data("data");null!=e.element&&e.element.selected||null==e.element&&e.selected||this.trigger("select",{data:e})}},a}),b.define("select2/dropdown/closeOnSelect",[],function(){function a(){}return a.prototype.bind=function(a,b,c){var d=this;a.call(this,b,c),b.on("select",function(a){d._selectTriggered(a)}),b.on("unselect",function(a){d._selectTriggered(a)})},a.prototype._selectTriggered=function(a,b){var c=b.originalEvent;c&&c.ctrlKey||this.trigger("close",{originalEvent:c,originalSelect2Event:b})},a}),b.define("select2/i18n/en",[],function(){return{errorLoading:function(){return"The results could not be loaded."},inputTooLong:function(a){var b=a.input.length-a.maximum,c="Please delete "+b+" character";return 1!=b&&(c+="s"),c},inputTooShort:function(a){var b=a.minimum-a.input.length,c="Please enter "+b+" or more characters";return c},loadingMore:function(){return"Loading more results…"},maximumSelected:function(a){var b="You can only select "+a.maximum+" item";return 1!=a.maximum&&(b+="s"),b},noResults:function(){return"No results found"},searching:function(){return"Searching…"}}}),b.define("select2/defaults",["jquery","require","./results","./selection/single","./selection/multiple","./selection/placeholder","./selection/allowClear","./selection/search","./selection/eventRelay","./utils","./translation","./diacritics","./data/select","./data/array","./data/ajax","./data/tags","./data/tokenizer","./data/minimumInputLength","./data/maximumInputLength","./data/maximumSelectionLength","./dropdown","./dropdown/search","./dropdown/hidePlaceholder","./dropdown/infiniteScroll","./dropdown/attachBody","./dropdown/minimumResultsForSearch","./dropdown/selectOnClose","./dropdown/closeOnSelect","./i18n/en"],function(a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,A,B,C){function D(){this.reset()}D.prototype.apply=function(l){if(l=a.extend(!0,{},this.defaults,l),null==l.dataAdapter){if(null!=l.ajax?l.dataAdapter=o:null!=l.data?l.dataAdapter=n:l.dataAdapter=m,l.minimumInputLength>0&&(l.dataAdapter=j.Decorate(l.dataAdapter,r)),l.maximumInputLength>0&&(l.dataAdapter=j.Decorate(l.dataAdapter,s)),l.maximumSelectionLength>0&&(l.dataAdapter=j.Decorate(l.dataAdapter,t)),l.tags&&(l.dataAdapter=j.Decorate(l.dataAdapter,p)),(null!=l.tokenSeparators||null!=l.tokenizer)&&(l.dataAdapter=j.Decorate(l.dataAdapter,q)),null!=l.query){var C=b(l.amdBase+"compat/query");l.dataAdapter=j.Decorate(l.dataAdapter,C)}if(null!=l.initSelection){var D=b(l.amdBase+"compat/initSelection");l.dataAdapter=j.Decorate(l.dataAdapter,D)}}if(null==l.resultsAdapter&&(l.resultsAdapter=c,null!=l.ajax&&(l.resultsAdapter=j.Decorate(l.resultsAdapter,x)),null!=l.placeholder&&(l.resultsAdapter=j.Decorate(l.resultsAdapter,w)),l.selectOnClose&&(l.resultsAdapter=j.Decorate(l.resultsAdapter,A))),null==l.dropdownAdapter){if(l.multiple)l.dropdownAdapter=u;else{var E=j.Decorate(u,v);l.dropdownAdapter=E}if(0!==l.minimumResultsForSearch&&(l.dropdownAdapter=j.Decorate(l.dropdownAdapter,z)),l.closeOnSelect&&(l.dropdownAdapter=j.Decorate(l.dropdownAdapter,B)),null!=l.dropdownCssClass||null!=l.dropdownCss||null!=l.adaptDropdownCssClass){var F=b(l.amdBase+"compat/dropdownCss");l.dropdownAdapter=j.Decorate(l.dropdownAdapter,F)}l.dropdownAdapter=j.Decorate(l.dropdownAdapter,y)}if(null==l.selectionAdapter){if(l.multiple?l.selectionAdapter=e:l.selectionAdapter=d,null!=l.placeholder&&(l.selectionAdapter=j.Decorate(l.selectionAdapter,f)),l.allowClear&&(l.selectionAdapter=j.Decorate(l.selectionAdapter,g)),l.multiple&&(l.selectionAdapter=j.Decorate(l.selectionAdapter,h)),null!=l.containerCssClass||null!=l.containerCss||null!=l.adaptContainerCssClass){var G=b(l.amdBase+"compat/containerCss");l.selectionAdapter=j.Decorate(l.selectionAdapter,G)}l.selectionAdapter=j.Decorate(l.selectionAdapter,i)}if("string"==typeof l.language)if(l.language.indexOf("-")>0){var H=l.language.split("-"),I=H[0];l.language=[l.language,I]}else l.language=[l.language];if(a.isArray(l.language)){var J=new k;l.language.push("en");for(var K=l.language,L=0;L<K.length;L++){var M=K[L],N={};try{N=k.loadPath(M)}catch(O){try{M=this.defaults.amdLanguageBase+M,N=k.loadPath(M)}catch(P){l.debug&&window.console&&console.warn&&console.warn('Select2: The language file for "'+M+'" could not be automatically loaded. A fallback will be used instead.');continue}}J.extend(N)}l.translations=J}else{var Q=k.loadPath(this.defaults.amdLanguageBase+"en"),R=new k(l.language);R.extend(Q),l.translations=R}return l},D.prototype.reset=function(){function b(a){function b(a){return l[a]||a}return a.replace(/[^\u0000-\u007E]/g,b)}function c(d,e){if(""===a.trim(d.term))return e;if(e.children&&e.children.length>0){for(var f=a.extend(!0,{},e),g=e.children.length-1;g>=0;g--){var h=e.children[g],i=c(d,h);null==i&&f.children.splice(g,1)}return f.children.length>0?f:c(d,f)}var j=b(e.text).toUpperCase(),k=b(d.term).toUpperCase();return j.indexOf(k)>-1?e:null}this.defaults={amdBase:"./",amdLanguageBase:"./i18n/",closeOnSelect:!0,debug:!1,dropdownAutoWidth:!1,escapeMarkup:j.escapeMarkup,language:C,matcher:c,minimumInputLength:0,maximumInputLength:0,maximumSelectionLength:0,minimumResultsForSearch:0,selectOnClose:!1,sorter:function(a){return a},templateResult:function(a){return a.text},templateSelection:function(a){return a.text},theme:"default",width:"resolve"}},D.prototype.set=function(b,c){var d=a.camelCase(b),e={};e[d]=c;var f=j._convertData(e);a.extend(this.defaults,f)};var E=new D;return E}),b.define("select2/options",["require","jquery","./defaults","./utils"],function(a,b,c,d){function e(b,e){if(this.options=b,null!=e&&this.fromElement(e),this.options=c.apply(this.options),e&&e.is("input")){var f=a(this.get("amdBase")+"compat/inputData");this.options.dataAdapter=d.Decorate(this.options.dataAdapter,f)}}return e.prototype.fromElement=function(a){var c=["select2"];null==this.options.multiple&&(this.options.multiple=a.prop("multiple")),null==this.options.disabled&&(this.options.disabled=a.prop("disabled")),null==this.options.language&&(a.prop("lang")?this.options.language=a.prop("lang").toLowerCase():a.closest("[lang]").prop("lang")&&(this.options.language=a.closest("[lang]").prop("lang"))),null==this.options.dir&&(a.prop("dir")?this.options.dir=a.prop("dir"):a.closest("[dir]").prop("dir")?this.options.dir=a.closest("[dir]").prop("dir"):this.options.dir="ltr"),a.prop("disabled",this.options.disabled),a.prop("multiple",this.options.multiple),a.data("select2Tags")&&(this.options.debug&&window.console&&console.warn&&console.warn('Select2: The `data-select2-tags` attribute has been changed to use the `data-data` and `data-tags="true"` attributes and will be removed in future versions of Select2.'),a.data("data",a.data("select2Tags")),a.data("tags",!0)),a.data("ajaxUrl")&&(this.options.debug&&window.console&&console.warn&&console.warn("Select2: The `data-ajax-url` attribute has been changed to `data-ajax--url` and support for the old attribute will be removed in future versions of Select2."),a.attr("ajax--url",a.data("ajaxUrl")),a.data("ajax--url",a.data("ajaxUrl")));var e={};e=b.fn.jquery&&"1."==b.fn.jquery.substr(0,2)&&a[0].dataset?b.extend(!0,{},a[0].dataset,a.data()):a.data();var f=b.extend(!0,{},e);f=d._convertData(f);for(var g in f)b.inArray(g,c)>-1||(b.isPlainObject(this.options[g])?b.extend(this.options[g],f[g]):this.options[g]=f[g]);return this},e.prototype.get=function(a){return this.options[a]},e.prototype.set=function(a,b){this.options[a]=b},e}),b.define("select2/core",["jquery","./options","./utils","./keys"],function(a,b,c,d){var e=function(a,c){null!=a.data("select2")&&a.data("select2").destroy(),this.$element=a,this.id=this._generateId(a),c=c||{},this.options=new b(c,a),e.__super__.constructor.call(this);var d=a.attr("tabindex")||0;a.data("old-tabindex",d),a.attr("tabindex","-1");var f=this.options.get("dataAdapter");this.dataAdapter=new f(a,this.options);var g=this.render();this._placeContainer(g);var h=this.options.get("selectionAdapter");this.selection=new h(a,this.options),this.$selection=this.selection.render(),this.selection.position(this.$selection,g);var i=this.options.get("dropdownAdapter");this.dropdown=new i(a,this.options),this.$dropdown=this.dropdown.render(),this.dropdown.position(this.$dropdown,g);var j=this.options.get("resultsAdapter");this.results=new j(a,this.options,this.dataAdapter),this.$results=this.results.render(),this.results.position(this.$results,this.$dropdown);var k=this;this._bindAdapters(),this._registerDomEvents(),this._registerDataEvents(),this._registerSelectionEvents(),this._registerDropdownEvents(),this._registerResultsEvents(),this._registerEvents(),this.dataAdapter.current(function(a){k.trigger("selection:update",{data:a})}),a.addClass("select2-hidden-accessible"),a.attr("aria-hidden","true"),this._syncAttributes(),a.data("select2",this)};return c.Extend(e,c.Observable),e.prototype._generateId=function(a){var b="";return b=null!=a.attr("id")?a.attr("id"):null!=a.attr("name")?a.attr("name")+"-"+c.generateChars(2):c.generateChars(4),b=b.replace(/(:|\.|\[|\]|,)/g,""),b="select2-"+b},e.prototype._placeContainer=function(a){a.insertAfter(this.$element);var b=this._resolveWidth(this.$element,this.options.get("width"));null!=b&&a.css("width",b)},e.prototype._resolveWidth=function(a,b){var c=/^width:(([-+]?([0-9]*\.)?[0-9]+)(px|em|ex|%|in|cm|mm|pt|pc))/i;if("resolve"==b){var d=this._resolveWidth(a,"style");return null!=d?d:this._resolveWidth(a,"element")}if("element"==b){var e=a.outerWidth(!1);return 0>=e?"auto":e+"px"}if("style"==b){var f=a.attr("style");if("string"!=typeof f)return null;for(var g=f.split(";"),h=0,i=g.length;i>h;h+=1){var j=g[h].replace(/\s/g,""),k=j.match(c);if(null!==k&&k.length>=1)return k[1]}return null}return b},e.prototype._bindAdapters=function(){this.dataAdapter.bind(this,this.$container),this.selection.bind(this,this.$container),this.dropdown.bind(this,this.$container),this.results.bind(this,this.$container)},e.prototype._registerDomEvents=function(){var b=this;this.$element.on("change.select2",function(){b.dataAdapter.current(function(a){b.trigger("selection:update",{data:a})})}),this.$element.on("focus.select2",function(a){b.trigger("focus",a)}),this._syncA=c.bind(this._syncAttributes,this),this._syncS=c.bind(this._syncSubtree,this),this.$element[0].attachEvent&&this.$element[0].attachEvent("onpropertychange",this._syncA);var d=window.MutationObserver||window.WebKitMutationObserver||window.MozMutationObserver;null!=d?(this._observer=new d(function(c){a.each(c,b._syncA),a.each(c,b._syncS)}),this._observer.observe(this.$element[0],{attributes:!0,childList:!0,subtree:!1})):this.$element[0].addEventListener&&(this.$element[0].addEventListener("DOMAttrModified",b._syncA,!1),this.$element[0].addEventListener("DOMNodeInserted",b._syncS,!1),this.$element[0].addEventListener("DOMNodeRemoved",b._syncS,!1))},e.prototype._registerDataEvents=function(){var a=this;this.dataAdapter.on("*",function(b,c){a.trigger(b,c)})},e.prototype._registerSelectionEvents=function(){var b=this,c=["toggle","focus"];this.selection.on("toggle",function(){b.toggleDropdown()}),this.selection.on("focus",function(a){b.focus(a)}),this.selection.on("*",function(d,e){-1===a.inArray(d,c)&&b.trigger(d,e)})},e.prototype._registerDropdownEvents=function(){var a=this;this.dropdown.on("*",function(b,c){a.trigger(b,c)})},e.prototype._registerResultsEvents=function(){var a=this;this.results.on("*",function(b,c){a.trigger(b,c)})},e.prototype._registerEvents=function(){var a=this;this.on("open",function(){a.$container.addClass("select2-container--open")}),this.on("close",function(){a.$container.removeClass("select2-container--open")}),this.on("enable",function(){a.$container.removeClass("select2-container--disabled")}),this.on("disable",function(){a.$container.addClass("select2-container--disabled")}),this.on("blur",function(){a.$container.removeClass("select2-container--focus")}),this.on("query",function(b){a.isOpen()||a.trigger("open",{}),this.dataAdapter.query(b,function(c){a.trigger("results:all",{data:c,query:b})})}),this.on("query:append",function(b){this.dataAdapter.query(b,function(c){a.trigger("results:append",{data:c,query:b})})}),this.on("keypress",function(b){var c=b.which;a.isOpen()?c===d.ESC||c===d.TAB||c===d.UP&&b.altKey?(a.close(),b.preventDefault()):c===d.ENTER?(a.trigger("results:select",{}),b.preventDefault()):c===d.SPACE&&b.ctrlKey?(a.trigger("results:toggle",{}),b.preventDefault()):c===d.UP?(a.trigger("results:previous",{}),b.preventDefault()):c===d.DOWN&&(a.trigger("results:next",{}),b.preventDefault()):(c===d.ENTER||c===d.SPACE||c===d.DOWN&&b.altKey)&&(a.open(),b.preventDefault())})},e.prototype._syncAttributes=function(){this.options.set("disabled",this.$element.prop("disabled")),this.options.get("disabled")?(this.isOpen()&&this.close(),this.trigger("disable",{})):this.trigger("enable",{})},e.prototype._syncSubtree=function(a,b){var c=!1,d=this;if(!a||!a.target||"OPTION"===a.target.nodeName||"OPTGROUP"===a.target.nodeName){if(b)if(b.addedNodes&&b.addedNodes.length>0)for(var e=0;e<b.addedNodes.length;e++){var f=b.addedNodes[e];f.selected&&(c=!0)}else b.removedNodes&&b.removedNodes.length>0&&(c=!0);else c=!0;c&&this.dataAdapter.current(function(a){d.trigger("selection:update",{data:a})})}},e.prototype.trigger=function(a,b){var c=e.__super__.trigger,d={open:"opening",close:"closing",select:"selecting",unselect:"unselecting"};if(void 0===b&&(b={}),a in d){var f=d[a],g={prevented:!1,name:a,args:b};if(c.call(this,f,g),g.prevented)return void(b.prevented=!0)}c.call(this,a,b)},e.prototype.toggleDropdown=function(){this.options.get("disabled")||(this.isOpen()?this.close():this.open())},e.prototype.open=function(){this.isOpen()||this.trigger("query",{})},e.prototype.close=function(){this.isOpen()&&this.trigger("close",{})},e.prototype.isOpen=function(){return this.$container.hasClass("select2-container--open")},e.prototype.hasFocus=function(){return this.$container.hasClass("select2-container--focus")},e.prototype.focus=function(a){this.hasFocus()||(this.$container.addClass("select2-container--focus"),this.trigger("focus",{}))},e.prototype.enable=function(a){this.options.get("debug")&&window.console&&console.warn&&console.warn('Select2: The `select2("enable")` method has been deprecated and will be removed in later Select2 versions. Use $element.prop("disabled") instead.'),(null==a||0===a.length)&&(a=[!0]);var b=!a[0];this.$element.prop("disabled",b)},e.prototype.data=function(){this.options.get("debug")&&arguments.length>0&&window.console&&console.warn&&console.warn('Select2: Data can no longer be set using `select2("data")`. You should consider setting the value instead using `$element.val()`.');var a=[];return this.dataAdapter.current(function(b){a=b}),a},e.prototype.val=function(b){if(this.options.get("debug")&&window.console&&console.warn&&console.warn('Select2: The `select2("val")` method has been deprecated and will be removed in later Select2 versions. Use $element.val() instead.'),null==b||0===b.length)return this.$element.val();var c=b[0];a.isArray(c)&&(c=a.map(c,function(a){return a.toString()})),this.$element.val(c).trigger("change")},e.prototype.destroy=function(){this.$container.remove(),this.$element[0].detachEvent&&this.$element[0].detachEvent("onpropertychange",this._syncA),null!=this._observer?(this._observer.disconnect(),this._observer=null):this.$element[0].removeEventListener&&(this.$element[0].removeEventListener("DOMAttrModified",this._syncA,!1),this.$element[0].removeEventListener("DOMNodeInserted",this._syncS,!1),this.$element[0].removeEventListener("DOMNodeRemoved",this._syncS,!1)),this._syncA=null,this._syncS=null,this.$element.off(".select2"),this.$element.attr("tabindex",this.$element.data("old-tabindex")),this.$element.removeClass("select2-hidden-accessible"),this.$element.attr("aria-hidden","false"),this.$element.removeData("select2"),this.dataAdapter.destroy(),this.selection.destroy(),this.dropdown.destroy(),this.results.destroy(),this.dataAdapter=null,this.selection=null,this.dropdown=null,this.results=null;
3
- },e.prototype.render=function(){var b=a('<span class="select2 select2-container"><span class="selection"></span><span class="dropdown-wrapper" aria-hidden="true"></span></span>');return b.attr("dir",this.options.get("dir")),this.$container=b,this.$container.addClass("select2-container--"+this.options.get("theme")),b.data("element",this.$element),b},e}),b.define("jquery-mousewheel",["jquery"],function(a){return a}),b.define("jquery.select2",["jquery","jquery-mousewheel","./select2/core","./select2/defaults"],function(a,b,c,d){if(null==a.fn.select2){var e=["open","close","destroy"];a.fn.select2=function(b){if(b=b||{},"object"==typeof b)return this.each(function(){var d=a.extend(!0,{},b);new c(a(this),d)}),this;if("string"==typeof b){var d,f=Array.prototype.slice.call(arguments,1);return this.each(function(){var c=a(this).data("select2");null==c&&window.console&&console.error&&console.error("The select2('"+b+"') method was called on an element that is not using Select2."),d=c[b].apply(c,f)}),a.inArray(b,e)>-1?this:d}throw new Error("Invalid arguments for Select2: "+b)}}return null==a.fn.select2.defaults&&(a.fn.select2.defaults=d),c}),{define:b.define,require:b.require}}(),c=b.require("jquery.select2");return a.fn.select2.amd=b,c});
1
+ /*! Select2 4.0.6-rc.0 | https://github.com/select2/select2/blob/master/LICENSE.md */!function(a){"function"==typeof define&&define.amd?define(["jquery"],a):"object"==typeof module&&module.exports?module.exports=function(b,c){return void 0===c&&(c="undefined"!=typeof window?require("jquery"):require("jquery")(b)),a(c),c}:a(jQuery)}(function(a){var b=function(){if(a&&a.fn&&a.fn.select2&&a.fn.select2.amd)var b=a.fn.select2.amd;var b;return function(){if(!b||!b.requirejs){b?c=b:b={};var a,c,d;!function(b){function e(a,b){return v.call(a,b)}function f(a,b){var c,d,e,f,g,h,i,j,k,l,m,n,o=b&&b.split("/"),p=t.map,q=p&&p["*"]||{};if(a){for(a=a.split("/"),g=a.length-1,t.nodeIdCompat&&x.test(a[g])&&(a[g]=a[g].replace(x,"")),"."===a[0].charAt(0)&&o&&(n=o.slice(0,o.length-1),a=n.concat(a)),k=0;k<a.length;k++)if("."===(m=a[k]))a.splice(k,1),k-=1;else if(".."===m){if(0===k||1===k&&".."===a[2]||".."===a[k-1])continue;k>0&&(a.splice(k-1,2),k-=2)}a=a.join("/")}if((o||q)&&p){for(c=a.split("/"),k=c.length;k>0;k-=1){if(d=c.slice(0,k).join("/"),o)for(l=o.length;l>0;l-=1)if((e=p[o.slice(0,l).join("/")])&&(e=e[d])){f=e,h=k;break}if(f)break;!i&&q&&q[d]&&(i=q[d],j=k)}!f&&i&&(f=i,h=j),f&&(c.splice(0,h,f),a=c.join("/"))}return a}function g(a,c){return function(){var d=w.call(arguments,0);return"string"!=typeof d[0]&&1===d.length&&d.push(null),o.apply(b,d.concat([a,c]))}}function h(a){return function(b){return f(b,a)}}function i(a){return function(b){r[a]=b}}function j(a){if(e(s,a)){var c=s[a];delete s[a],u[a]=!0,n.apply(b,c)}if(!e(r,a)&&!e(u,a))throw new Error("No "+a);return r[a]}function k(a){var b,c=a?a.indexOf("!"):-1;return c>-1&&(b=a.substring(0,c),a=a.substring(c+1,a.length)),[b,a]}function l(a){return a?k(a):[]}function m(a){return function(){return t&&t.config&&t.config[a]||{}}}var n,o,p,q,r={},s={},t={},u={},v=Object.prototype.hasOwnProperty,w=[].slice,x=/\.js$/;p=function(a,b){var c,d=k(a),e=d[0],g=b[1];return a=d[1],e&&(e=f(e,g),c=j(e)),e?a=c&&c.normalize?c.normalize(a,h(g)):f(a,g):(a=f(a,g),d=k(a),e=d[0],a=d[1],e&&(c=j(e))),{f:e?e+"!"+a:a,n:a,pr:e,p:c}},q={require:function(a){return g(a)},exports:function(a){var b=r[a];return void 0!==b?b:r[a]={}},module:function(a){return{id:a,uri:"",exports:r[a],config:m(a)}}},n=function(a,c,d,f){var h,k,m,n,o,t,v,w=[],x=typeof d;if(f=f||a,t=l(f),"undefined"===x||"function"===x){for(c=!c.length&&d.length?["require","exports","module"]:c,o=0;o<c.length;o+=1)if(n=p(c[o],t),"require"===(k=n.f))w[o]=q.require(a);else if("exports"===k)w[o]=q.exports(a),v=!0;else if("module"===k)h=w[o]=q.module(a);else if(e(r,k)||e(s,k)||e(u,k))w[o]=j(k);else{if(!n.p)throw new Error(a+" missing "+k);n.p.load(n.n,g(f,!0),i(k),{}),w[o]=r[k]}m=d?d.apply(r[a],w):void 0,a&&(h&&h.exports!==b&&h.exports!==r[a]?r[a]=h.exports:m===b&&v||(r[a]=m))}else a&&(r[a]=d)},a=c=o=function(a,c,d,e,f){if("string"==typeof a)return q[a]?q[a](c):j(p(a,l(c)).f);if(!a.splice){if(t=a,t.deps&&o(t.deps,t.callback),!c)return;c.splice?(a=c,c=d,d=null):a=b}return c=c||function(){},"function"==typeof d&&(d=e,e=f),e?n(b,a,c,d):setTimeout(function(){n(b,a,c,d)},4),o},o.config=function(a){return o(a)},a._defined=r,d=function(a,b,c){if("string"!=typeof a)throw new Error("See almond README: incorrect module build, no module name");b.splice||(c=b,b=[]),e(r,a)||e(s,a)||(s[a]=[a,b,c])},d.amd={jQuery:!0}}(),b.requirejs=a,b.require=c,b.define=d}}(),b.define("almond",function(){}),b.define("jquery",[],function(){var b=a||$;return null==b&&console&&console.error&&console.error("Select2: An instance of jQuery or a jQuery-compatible library was not found. Make sure that you are including jQuery before Select2 on your web page."),b}),b.define("select2/utils",["jquery"],function(a){function b(a){var b=a.prototype,c=[];for(var d in b){"function"==typeof b[d]&&("constructor"!==d&&c.push(d))}return c}var c={};c.Extend=function(a,b){function c(){this.constructor=a}var d={}.hasOwnProperty;for(var e in b)d.call(b,e)&&(a[e]=b[e]);return c.prototype=b.prototype,a.prototype=new c,a.__super__=b.prototype,a},c.Decorate=function(a,c){function d(){var b=Array.prototype.unshift,d=c.prototype.constructor.length,e=a.prototype.constructor;d>0&&(b.call(arguments,a.prototype.constructor),e=c.prototype.constructor),e.apply(this,arguments)}function e(){this.constructor=d}var f=b(c),g=b(a);c.displayName=a.displayName,d.prototype=new e;for(var h=0;h<g.length;h++){var i=g[h];d.prototype[i]=a.prototype[i]}for(var j=(function(a){var b=function(){};a in d.prototype&&(b=d.prototype[a]);var e=c.prototype[a];return function(){return Array.prototype.unshift.call(arguments,b),e.apply(this,arguments)}}),k=0;k<f.length;k++){var l=f[k];d.prototype[l]=j(l)}return d};var d=function(){this.listeners={}};d.prototype.on=function(a,b){this.listeners=this.listeners||{},a in this.listeners?this.listeners[a].push(b):this.listeners[a]=[b]},d.prototype.trigger=function(a){var b=Array.prototype.slice,c=b.call(arguments,1);this.listeners=this.listeners||{},null==c&&(c=[]),0===c.length&&c.push({}),c[0]._type=a,a in this.listeners&&this.invoke(this.listeners[a],b.call(arguments,1)),"*"in this.listeners&&this.invoke(this.listeners["*"],arguments)},d.prototype.invoke=function(a,b){for(var c=0,d=a.length;c<d;c++)a[c].apply(this,b)},c.Observable=d,c.generateChars=function(a){for(var b="",c=0;c<a;c++){b+=Math.floor(36*Math.random()).toString(36)}return b},c.bind=function(a,b){return function(){a.apply(b,arguments)}},c._convertData=function(a){for(var b in a){var c=b.split("-"),d=a;if(1!==c.length){for(var e=0;e<c.length;e++){var f=c[e];f=f.substring(0,1).toLowerCase()+f.substring(1),f in d||(d[f]={}),e==c.length-1&&(d[f]=a[b]),d=d[f]}delete a[b]}}return a},c.hasScroll=function(b,c){var d=a(c),e=c.style.overflowX,f=c.style.overflowY;return(e!==f||"hidden"!==f&&"visible"!==f)&&("scroll"===e||"scroll"===f||(d.innerHeight()<c.scrollHeight||d.innerWidth()<c.scrollWidth))},c.escapeMarkup=function(a){var b={"\\":"&#92;","&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;","/":"&#47;"};return"string"!=typeof a?a:String(a).replace(/[&<>"'\/\\]/g,function(a){return b[a]})},c.appendMany=function(b,c){if("1.7"===a.fn.jquery.substr(0,3)){var d=a();a.map(c,function(a){d=d.add(a)}),c=d}b.append(c)},c.__cache={};var e=0;return c.GetUniqueElementId=function(a){var b=a.getAttribute("data-select2-id");return null==b&&(a.id?(b=a.id,a.setAttribute("data-select2-id",b)):(a.setAttribute("data-select2-id",++e),b=e.toString())),b},c.StoreData=function(a,b,d){var e=c.GetUniqueElementId(a);c.__cache[e]||(c.__cache[e]={}),c.__cache[e][b]=d},c.GetData=function(b,d){var e=c.GetUniqueElementId(b);return d?c.__cache[e]&&null!=c.__cache[e][d]?c.__cache[e][d]:a(b).data(d):c.__cache[e]},c.RemoveData=function(a){var b=c.GetUniqueElementId(a);null!=c.__cache[b]&&delete c.__cache[b]},c}),b.define("select2/results",["jquery","./utils"],function(a,b){function c(a,b,d){this.$element=a,this.data=d,this.options=b,c.__super__.constructor.call(this)}return b.Extend(c,b.Observable),c.prototype.render=function(){var b=a('<ul class="select2-results__options" role="tree"></ul>');return this.options.get("multiple")&&b.attr("aria-multiselectable","true"),this.$results=b,b},c.prototype.clear=function(){this.$results.empty()},c.prototype.displayMessage=function(b){var c=this.options.get("escapeMarkup");this.clear(),this.hideLoading();var d=a('<li role="treeitem" aria-live="assertive" class="select2-results__option"></li>'),e=this.options.get("translations").get(b.message);d.append(c(e(b.args))),d[0].className+=" select2-results__message",this.$results.append(d)},c.prototype.hideMessages=function(){this.$results.find(".select2-results__message").remove()},c.prototype.append=function(a){this.hideLoading();var b=[];if(null==a.results||0===a.results.length)return void(0===this.$results.children().length&&this.trigger("results:message",{message:"noResults"}));a.results=this.sort(a.results);for(var c=0;c<a.results.length;c++){var d=a.results[c],e=this.option(d);b.push(e)}this.$results.append(b)},c.prototype.position=function(a,b){b.find(".select2-results").append(a)},c.prototype.sort=function(a){return this.options.get("sorter")(a)},c.prototype.highlightFirstItem=function(){var a=this.$results.find(".select2-results__option[aria-selected]"),b=a.filter("[aria-selected=true]");b.length>0?b.first().trigger("mouseenter"):a.first().trigger("mouseenter"),this.ensureHighlightVisible()},c.prototype.setClasses=function(){var c=this;this.data.current(function(d){var e=a.map(d,function(a){return a.id.toString()});c.$results.find(".select2-results__option[aria-selected]").each(function(){var c=a(this),d=b.GetData(this,"data"),f=""+d.id;null!=d.element&&d.element.selected||null==d.element&&a.inArray(f,e)>-1?c.attr("aria-selected","true"):c.attr("aria-selected","false")})})},c.prototype.showLoading=function(a){this.hideLoading();var b=this.options.get("translations").get("searching"),c={disabled:!0,loading:!0,text:b(a)},d=this.option(c);d.className+=" loading-results",this.$results.prepend(d)},c.prototype.hideLoading=function(){this.$results.find(".loading-results").remove()},c.prototype.option=function(c){var d=document.createElement("li");d.className="select2-results__option";var e={role:"treeitem","aria-selected":"false"};c.disabled&&(delete e["aria-selected"],e["aria-disabled"]="true"),null==c.id&&delete e["aria-selected"],null!=c._resultId&&(d.id=c._resultId),c.title&&(d.title=c.title),c.children&&(e.role="group",e["aria-label"]=c.text,delete e["aria-selected"]);for(var f in e){var g=e[f];d.setAttribute(f,g)}if(c.children){var h=a(d),i=document.createElement("strong");i.className="select2-results__group";a(i);this.template(c,i);for(var j=[],k=0;k<c.children.length;k++){var l=c.children[k],m=this.option(l);j.push(m)}var n=a("<ul></ul>",{class:"select2-results__options select2-results__options--nested"});n.append(j),h.append(i),h.append(n)}else this.template(c,d);return b.StoreData(d,"data",c),d},c.prototype.bind=function(c,d){var e=this,f=c.id+"-results";this.$results.attr("id",f),c.on("results:all",function(a){e.clear(),e.append(a.data),c.isOpen()&&(e.setClasses(),e.highlightFirstItem())}),c.on("results:append",function(a){e.append(a.data),c.isOpen()&&e.setClasses()}),c.on("query",function(a){e.hideMessages(),e.showLoading(a)}),c.on("select",function(){c.isOpen()&&(e.setClasses(),e.highlightFirstItem())}),c.on("unselect",function(){c.isOpen()&&(e.setClasses(),e.highlightFirstItem())}),c.on("open",function(){e.$results.attr("aria-expanded","true"),e.$results.attr("aria-hidden","false"),e.setClasses(),e.ensureHighlightVisible()}),c.on("close",function(){e.$results.attr("aria-expanded","false"),e.$results.attr("aria-hidden","true"),e.$results.removeAttr("aria-activedescendant")}),c.on("results:toggle",function(){var a=e.getHighlightedResults();0!==a.length&&a.trigger("mouseup")}),c.on("results:select",function(){var a=e.getHighlightedResults();if(0!==a.length){var c=b.GetData(a[0],"data");"true"==a.attr("aria-selected")?e.trigger("close",{}):e.trigger("select",{data:c})}}),c.on("results:previous",function(){var a=e.getHighlightedResults(),b=e.$results.find("[aria-selected]"),c=b.index(a);if(0!==c){var d=c-1;0===a.length&&(d=0);var f=b.eq(d);f.trigger("mouseenter");var g=e.$results.offset().top,h=f.offset().top,i=e.$results.scrollTop()+(h-g);0===d?e.$results.scrollTop(0):h-g<0&&e.$results.scrollTop(i)}}),c.on("results:next",function(){var a=e.getHighlightedResults(),b=e.$results.find("[aria-selected]"),c=b.index(a),d=c+1;if(!(d>=b.length)){var f=b.eq(d);f.trigger("mouseenter");var g=e.$results.offset().top+e.$results.outerHeight(!1),h=f.offset().top+f.outerHeight(!1),i=e.$results.scrollTop()+h-g;0===d?e.$results.scrollTop(0):h>g&&e.$results.scrollTop(i)}}),c.on("results:focus",function(a){a.element.addClass("select2-results__option--highlighted")}),c.on("results:message",function(a){e.displayMessage(a)}),a.fn.mousewheel&&this.$results.on("mousewheel",function(a){var b=e.$results.scrollTop(),c=e.$results.get(0).scrollHeight-b+a.deltaY,d=a.deltaY>0&&b-a.deltaY<=0,f=a.deltaY<0&&c<=e.$results.height();d?(e.$results.scrollTop(0),a.preventDefault(),a.stopPropagation()):f&&(e.$results.scrollTop(e.$results.get(0).scrollHeight-e.$results.height()),a.preventDefault(),a.stopPropagation())}),this.$results.on("mouseup",".select2-results__option[aria-selected]",function(c){var d=a(this),f=b.GetData(this,"data");if("true"===d.attr("aria-selected"))return void(e.options.get("multiple")?e.trigger("unselect",{originalEvent:c,data:f}):e.trigger("close",{}));e.trigger("select",{originalEvent:c,data:f})}),this.$results.on("mouseenter",".select2-results__option[aria-selected]",function(c){var d=b.GetData(this,"data");e.getHighlightedResults().removeClass("select2-results__option--highlighted"),e.trigger("results:focus",{data:d,element:a(this)})})},c.prototype.getHighlightedResults=function(){return this.$results.find(".select2-results__option--highlighted")},c.prototype.destroy=function(){this.$results.remove()},c.prototype.ensureHighlightVisible=function(){var a=this.getHighlightedResults();if(0!==a.length){var b=this.$results.find("[aria-selected]"),c=b.index(a),d=this.$results.offset().top,e=a.offset().top,f=this.$results.scrollTop()+(e-d),g=e-d;f-=2*a.outerHeight(!1),c<=2?this.$results.scrollTop(0):(g>this.$results.outerHeight()||g<0)&&this.$results.scrollTop(f)}},c.prototype.template=function(b,c){var d=this.options.get("templateResult"),e=this.options.get("escapeMarkup"),f=d(b,c);null==f?c.style.display="none":"string"==typeof f?c.innerHTML=e(f):a(c).append(f)},c}),b.define("select2/keys",[],function(){return{BACKSPACE:8,TAB:9,ENTER:13,SHIFT:16,CTRL:17,ALT:18,ESC:27,SPACE:32,PAGE_UP:33,PAGE_DOWN:34,END:35,HOME:36,LEFT:37,UP:38,RIGHT:39,DOWN:40,DELETE:46}}),b.define("select2/selection/base",["jquery","../utils","../keys"],function(a,b,c){function d(a,b){this.$element=a,this.options=b,d.__super__.constructor.call(this)}return b.Extend(d,b.Observable),d.prototype.render=function(){var c=a('<span class="select2-selection" role="combobox" aria-haspopup="true" aria-expanded="false"></span>');return this._tabindex=0,null!=b.GetData(this.$element[0],"old-tabindex")?this._tabindex=b.GetData(this.$element[0],"old-tabindex"):null!=this.$element.attr("tabindex")&&(this._tabindex=this.$element.attr("tabindex")),c.attr("title",this.$element.attr("title")),c.attr("tabindex",this._tabindex),this.$selection=c,c},d.prototype.bind=function(a,b){var d=this,e=(a.id,a.id+"-results");this.container=a,this.$selection.on("focus",function(a){d.trigger("focus",a)}),this.$selection.on("blur",function(a){d._handleBlur(a)}),this.$selection.on("keydown",function(a){d.trigger("keypress",a),a.which===c.SPACE&&a.preventDefault()}),a.on("results:focus",function(a){d.$selection.attr("aria-activedescendant",a.data._resultId)}),a.on("selection:update",function(a){d.update(a.data)}),a.on("open",function(){d.$selection.attr("aria-expanded","true"),d.$selection.attr("aria-owns",e),d._attachCloseHandler(a)}),a.on("close",function(){d.$selection.attr("aria-expanded","false"),d.$selection.removeAttr("aria-activedescendant"),d.$selection.removeAttr("aria-owns"),d.$selection.focus(),d._detachCloseHandler(a)}),a.on("enable",function(){d.$selection.attr("tabindex",d._tabindex)}),a.on("disable",function(){d.$selection.attr("tabindex","-1")})},d.prototype._handleBlur=function(b){var c=this;window.setTimeout(function(){document.activeElement==c.$selection[0]||a.contains(c.$selection[0],document.activeElement)||c.trigger("blur",b)},1)},d.prototype._attachCloseHandler=function(c){a(document.body).on("mousedown.select2."+c.id,function(c){var d=a(c.target),e=d.closest(".select2");a(".select2.select2-container--open").each(function(){a(this),this!=e[0]&&b.GetData(this,"element").select2("close")})})},d.prototype._detachCloseHandler=function(b){a(document.body).off("mousedown.select2."+b.id)},d.prototype.position=function(a,b){b.find(".selection").append(a)},d.prototype.destroy=function(){this._detachCloseHandler(this.container)},d.prototype.update=function(a){throw new Error("The `update` method must be defined in child classes.")},d}),b.define("select2/selection/single",["jquery","./base","../utils","../keys"],function(a,b,c,d){function e(){e.__super__.constructor.apply(this,arguments)}return c.Extend(e,b),e.prototype.render=function(){var a=e.__super__.render.call(this);return a.addClass("select2-selection--single"),a.html('<span class="select2-selection__rendered"></span><span class="select2-selection__arrow" role="presentation"><b role="presentation"></b></span>'),a},e.prototype.bind=function(a,b){var c=this;e.__super__.bind.apply(this,arguments);var d=a.id+"-container";this.$selection.find(".select2-selection__rendered").attr("id",d).attr("role","textbox").attr("aria-readonly","true"),this.$selection.attr("aria-labelledby",d),this.$selection.on("mousedown",function(a){1===a.which&&c.trigger("toggle",{originalEvent:a})}),this.$selection.on("focus",function(a){}),this.$selection.on("blur",function(a){}),a.on("focus",function(b){a.isOpen()||c.$selection.focus()})},e.prototype.clear=function(){var a=this.$selection.find(".select2-selection__rendered");a.empty(),a.removeAttr("title")},e.prototype.display=function(a,b){var c=this.options.get("templateSelection");return this.options.get("escapeMarkup")(c(a,b))},e.prototype.selectionContainer=function(){return a("<span></span>")},e.prototype.update=function(a){if(0===a.length)return void this.clear();var b=a[0],c=this.$selection.find(".select2-selection__rendered"),d=this.display(b,c);c.empty().append(d),c.attr("title",b.title||b.text)},e}),b.define("select2/selection/multiple",["jquery","./base","../utils"],function(a,b,c){function d(a,b){d.__super__.constructor.apply(this,arguments)}return c.Extend(d,b),d.prototype.render=function(){var a=d.__super__.render.call(this);return a.addClass("select2-selection--multiple"),a.html('<ul class="select2-selection__rendered"></ul>'),a},d.prototype.bind=function(b,e){var f=this;d.__super__.bind.apply(this,arguments),this.$selection.on("click",function(a){f.trigger("toggle",{originalEvent:a})}),this.$selection.on("click",".select2-selection__choice__remove",function(b){if(!f.options.get("disabled")){var d=a(this),e=d.parent(),g=c.GetData(e[0],"data");f.trigger("unselect",{originalEvent:b,data:g})}})},d.prototype.clear=function(){var a=this.$selection.find(".select2-selection__rendered");a.empty(),a.removeAttr("title")},d.prototype.display=function(a,b){var c=this.options.get("templateSelection");return this.options.get("escapeMarkup")(c(a,b))},d.prototype.selectionContainer=function(){return a('<li class="select2-selection__choice"><span class="select2-selection__choice__remove" role="presentation">&times;</span></li>')},d.prototype.update=function(a){if(this.clear(),0!==a.length){for(var b=[],d=0;d<a.length;d++){var e=a[d],f=this.selectionContainer(),g=this.display(e,f);f.append(g),f.attr("title",e.title||e.text),c.StoreData(f[0],"data",e),b.push(f)}var h=this.$selection.find(".select2-selection__rendered");c.appendMany(h,b)}},d}),b.define("select2/selection/placeholder",["../utils"],function(a){function b(a,b,c){this.placeholder=this.normalizePlaceholder(c.get("placeholder")),a.call(this,b,c)}return b.prototype.normalizePlaceholder=function(a,b){return"string"==typeof b&&(b={id:"",text:b}),b},b.prototype.createPlaceholder=function(a,b){var c=this.selectionContainer();return c.html(this.display(b)),c.addClass("select2-selection__placeholder").removeClass("select2-selection__choice"),c},b.prototype.update=function(a,b){var c=1==b.length&&b[0].id!=this.placeholder.id;if(b.length>1||c)return a.call(this,b);this.clear();var d=this.createPlaceholder(this.placeholder);this.$selection.find(".select2-selection__rendered").append(d)},b}),b.define("select2/selection/allowClear",["jquery","../keys","../utils"],function(a,b,c){function d(){}return d.prototype.bind=function(a,b,c){var d=this;a.call(this,b,c),null==this.placeholder&&this.options.get("debug")&&window.console&&console.error&&console.error("Select2: The `allowClear` option should be used in combination with the `placeholder` option."),this.$selection.on("mousedown",".select2-selection__clear",function(a){d._handleClear(a)}),b.on("keypress",function(a){d._handleKeyboardClear(a,b)})},d.prototype._handleClear=function(a,b){if(!this.options.get("disabled")){var d=this.$selection.find(".select2-selection__clear");if(0!==d.length){b.stopPropagation();var e=c.GetData(d[0],"data"),f=this.$element.val();this.$element.val(this.placeholder.id);var g={data:e};if(this.trigger("clear",g),g.prevented)return void this.$element.val(f);for(var h=0;h<e.length;h++)if(g={data:e[h]},this.trigger("unselect",g),g.prevented)return void this.$element.val(f);this.$element.trigger("change"),this.trigger("toggle",{})}}},d.prototype._handleKeyboardClear=function(a,c,d){d.isOpen()||c.which!=b.DELETE&&c.which!=b.BACKSPACE||this._handleClear(c)},d.prototype.update=function(b,d){if(b.call(this,d),!(this.$selection.find(".select2-selection__placeholder").length>0||0===d.length)){var e=a('<span class="select2-selection__clear">&times;</span>');c.StoreData(e[0],"data",d),this.$selection.find(".select2-selection__rendered").prepend(e)}},d}),b.define("select2/selection/search",["jquery","../utils","../keys"],function(a,b,c){function d(a,b,c){a.call(this,b,c)}return d.prototype.render=function(b){var c=a('<li class="select2-search select2-search--inline"><input class="select2-search__field" type="search" tabindex="-1" autocomplete="off" autocorrect="off" autocapitalize="none" spellcheck="false" role="textbox" aria-autocomplete="list" /></li>');this.$searchContainer=c,this.$search=c.find("input");var d=b.call(this);return this._transferTabIndex(),d},d.prototype.bind=function(a,d,e){var f=this;a.call(this,d,e),d.on("open",function(){f.$search.trigger("focus")}),d.on("close",function(){f.$search.val(""),f.$search.removeAttr("aria-activedescendant"),f.$search.trigger("focus")}),d.on("enable",function(){f.$search.prop("disabled",!1),f._transferTabIndex()}),d.on("disable",function(){f.$search.prop("disabled",!0)}),d.on("focus",function(a){f.$search.trigger("focus")}),d.on("results:focus",function(a){f.$search.attr("aria-activedescendant",a.id)}),this.$selection.on("focusin",".select2-search--inline",function(a){f.trigger("focus",a)}),this.$selection.on("focusout",".select2-search--inline",function(a){f._handleBlur(a)}),this.$selection.on("keydown",".select2-search--inline",function(a){if(a.stopPropagation(),f.trigger("keypress",a),f._keyUpPrevented=a.isDefaultPrevented(),a.which===c.BACKSPACE&&""===f.$search.val()){var d=f.$searchContainer.prev(".select2-selection__choice");if(d.length>0){var e=b.GetData(d[0],"data");f.searchRemoveChoice(e),a.preventDefault()}}});var g=document.documentMode,h=g&&g<=11;this.$selection.on("input.searchcheck",".select2-search--inline",function(a){if(h)return void f.$selection.off("input.search input.searchcheck");f.$selection.off("keyup.search")}),this.$selection.on("keyup.search input.search",".select2-search--inline",function(a){if(h&&"input"===a.type)return void f.$selection.off("input.search input.searchcheck");var b=a.which;b!=c.SHIFT&&b!=c.CTRL&&b!=c.ALT&&b!=c.TAB&&f.handleSearch(a)})},d.prototype._transferTabIndex=function(a){this.$search.attr("tabindex",this.$selection.attr("tabindex")),this.$selection.attr("tabindex","-1")},d.prototype.createPlaceholder=function(a,b){this.$search.attr("placeholder",b.text)},d.prototype.update=function(a,b){var c=this.$search[0]==document.activeElement;this.$search.attr("placeholder",""),a.call(this,b),this.$selection.find(".select2-selection__rendered").append(this.$searchContainer),this.resizeSearch(),c&&this.$search.focus()},d.prototype.handleSearch=function(){if(this.resizeSearch(),!this._keyUpPrevented){var a=this.$search.val();this.trigger("query",{term:a})}this._keyUpPrevented=!1},d.prototype.searchRemoveChoice=function(a,b){this.trigger("unselect",{data:b}),this.$search.val(b.text),this.handleSearch()},d.prototype.resizeSearch=function(){this.$search.css("width","25px");var a="";if(""!==this.$search.attr("placeholder"))a=this.$selection.find(".select2-selection__rendered").innerWidth();else{a=.75*(this.$search.val().length+1)+"em"}this.$search.css("width",a)},d}),b.define("select2/selection/eventRelay",["jquery"],function(a){function b(){}return b.prototype.bind=function(b,c,d){var e=this,f=["open","opening","close","closing","select","selecting","unselect","unselecting","clear","clearing"],g=["opening","closing","selecting","unselecting","clearing"];b.call(this,c,d),c.on("*",function(b,c){if(-1!==a.inArray(b,f)){c=c||{};var d=a.Event("select2:"+b,{params:c});e.$element.trigger(d),-1!==a.inArray(b,g)&&(c.prevented=d.isDefaultPrevented())}})},b}),b.define("select2/translation",["jquery","require"],function(a,b){function c(a){this.dict=a||{}}return c.prototype.all=function(){return this.dict},c.prototype.get=function(a){return this.dict[a]},c.prototype.extend=function(b){this.dict=a.extend({},b.all(),this.dict)},c._cache={},c.loadPath=function(a){if(!(a in c._cache)){var d=b(a);c._cache[a]=d}return new c(c._cache[a])},c}),b.define("select2/diacritics",[],function(){return{"Ⓐ":"A","A":"A","À":"A","Á":"A","Â":"A","Ầ":"A","Ấ":"A","Ẫ":"A","Ẩ":"A","Ã":"A","Ā":"A","Ă":"A","Ằ":"A","Ắ":"A","Ẵ":"A","Ẳ":"A","Ȧ":"A","Ǡ":"A","Ä":"A","Ǟ":"A","Ả":"A","Å":"A","Ǻ":"A","Ǎ":"A","Ȁ":"A","Ȃ":"A","Ạ":"A","Ậ":"A","Ặ":"A","Ḁ":"A","Ą":"A","Ⱥ":"A","Ɐ":"A","Ꜳ":"AA","Æ":"AE","Ǽ":"AE","Ǣ":"AE","Ꜵ":"AO","Ꜷ":"AU","Ꜹ":"AV","Ꜻ":"AV","Ꜽ":"AY","Ⓑ":"B","B":"B","Ḃ":"B","Ḅ":"B","Ḇ":"B","Ƀ":"B","Ƃ":"B","Ɓ":"B","Ⓒ":"C","C":"C","Ć":"C","Ĉ":"C","Ċ":"C","Č":"C","Ç":"C","Ḉ":"C","Ƈ":"C","Ȼ":"C","Ꜿ":"C","Ⓓ":"D","D":"D","Ḋ":"D","Ď":"D","Ḍ":"D","Ḑ":"D","Ḓ":"D","Ḏ":"D","Đ":"D","Ƌ":"D","Ɗ":"D","Ɖ":"D","Ꝺ":"D","DZ":"DZ","DŽ":"DZ","Dz":"Dz","Dž":"Dz","Ⓔ":"E","E":"E","È":"E","É":"E","Ê":"E","Ề":"E","Ế":"E","Ễ":"E","Ể":"E","Ẽ":"E","Ē":"E","Ḕ":"E","Ḗ":"E","Ĕ":"E","Ė":"E","Ë":"E","Ẻ":"E","Ě":"E","Ȅ":"E","Ȇ":"E","Ẹ":"E","Ệ":"E","Ȩ":"E","Ḝ":"E","Ę":"E","Ḙ":"E","Ḛ":"E","Ɛ":"E","Ǝ":"E","Ⓕ":"F","F":"F","Ḟ":"F","Ƒ":"F","Ꝼ":"F","Ⓖ":"G","G":"G","Ǵ":"G","Ĝ":"G","Ḡ":"G","Ğ":"G","Ġ":"G","Ǧ":"G","Ģ":"G","Ǥ":"G","Ɠ":"G","Ꞡ":"G","Ᵹ":"G","Ꝿ":"G","Ⓗ":"H","H":"H","Ĥ":"H","Ḣ":"H","Ḧ":"H","Ȟ":"H","Ḥ":"H","Ḩ":"H","Ḫ":"H","Ħ":"H","Ⱨ":"H","Ⱶ":"H","Ɥ":"H","Ⓘ":"I","I":"I","Ì":"I","Í":"I","Î":"I","Ĩ":"I","Ī":"I","Ĭ":"I","İ":"I","Ï":"I","Ḯ":"I","Ỉ":"I","Ǐ":"I","Ȉ":"I","Ȋ":"I","Ị":"I","Į":"I","Ḭ":"I","Ɨ":"I","Ⓙ":"J","J":"J","Ĵ":"J","Ɉ":"J","Ⓚ":"K","K":"K","Ḱ":"K","Ǩ":"K","Ḳ":"K","Ķ":"K","Ḵ":"K","Ƙ":"K","Ⱪ":"K","Ꝁ":"K","Ꝃ":"K","Ꝅ":"K","Ꞣ":"K","Ⓛ":"L","L":"L","Ŀ":"L","Ĺ":"L","Ľ":"L","Ḷ":"L","Ḹ":"L","Ļ":"L","Ḽ":"L","Ḻ":"L","Ł":"L","Ƚ":"L","Ɫ":"L","Ⱡ":"L","Ꝉ":"L","Ꝇ":"L","Ꞁ":"L","LJ":"LJ","Lj":"Lj","Ⓜ":"M","M":"M","Ḿ":"M","Ṁ":"M","Ṃ":"M","Ɱ":"M","Ɯ":"M","Ⓝ":"N","N":"N","Ǹ":"N","Ń":"N","Ñ":"N","Ṅ":"N","Ň":"N","Ṇ":"N","Ņ":"N","Ṋ":"N","Ṉ":"N","Ƞ":"N","Ɲ":"N","Ꞑ":"N","Ꞥ":"N","NJ":"NJ","Nj":"Nj","Ⓞ":"O","O":"O","Ò":"O","Ó":"O","Ô":"O","Ồ":"O","Ố":"O","Ỗ":"O","Ổ":"O","Õ":"O","Ṍ":"O","Ȭ":"O","Ṏ":"O","Ō":"O","Ṑ":"O","Ṓ":"O","Ŏ":"O","Ȯ":"O","Ȱ":"O","Ö":"O","Ȫ":"O","Ỏ":"O","Ő":"O","Ǒ":"O","Ȍ":"O","Ȏ":"O","Ơ":"O","Ờ":"O","Ớ":"O","Ỡ":"O","Ở":"O","Ợ":"O","Ọ":"O","Ộ":"O","Ǫ":"O","Ǭ":"O","Ø":"O","Ǿ":"O","Ɔ":"O","Ɵ":"O","Ꝋ":"O","Ꝍ":"O","Ƣ":"OI","Ꝏ":"OO","Ȣ":"OU","Ⓟ":"P","P":"P","Ṕ":"P","Ṗ":"P","Ƥ":"P","Ᵽ":"P","Ꝑ":"P","Ꝓ":"P","Ꝕ":"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Ɏ":"Y","Ỿ":"Y","Ⓩ":"Z","Z":"Z","Ź":"Z","Ẑ":"Z","Ż":"Z","Ž":"Z","Ẓ":"Z","Ẕ":"Z","Ƶ":"Z","Ȥ":"Z","Ɀ":"Z","Ⱬ":"Z","Ꝣ":"Z","ⓐ":"a","a":"a","ẚ":"a","à":"a","á":"a","â":"a","ầ":"a","ấ":"a","ẫ":"a","ẩ":"a","ã":"a","ā":"a","ă":"a","ằ":"a","ắ":"a","ẵ":"a","ẳ":"a","ȧ":"a","ǡ":"a","ä":"a","ǟ":"a","ả":"a","å":"a","ǻ":"a","ǎ":"a","ȁ":"a","ȃ":"a","ạ":"a","ậ":"a","ặ":"a","ḁ":"a","ą":"a","ⱥ":"a","ɐ":"a","ꜳ":"aa","æ":"ae","ǽ":"ae","ǣ":"ae","ꜵ":"ao","ꜷ":"au","ꜹ":"av","ꜻ":"av","ꜽ":"ay","ⓑ":"b","b":"b","ḃ":"b","ḅ":"b","ḇ":"b","ƀ":"b","ƃ":"b","ɓ":"b","ⓒ":"c","c":"c","ć":"c","ĉ":"c","ċ":"c","č":"c","ç":"c","ḉ":"c","ƈ":"c","ȼ":"c","ꜿ":"c","ↄ":"c","ⓓ":"d","d":"d","ḋ":"d","ď":"d","ḍ":"d","ḑ":"d","ḓ":"d","ḏ":"d","đ":"d","ƌ":"d","ɖ":"d","ɗ":"d","ꝺ":"d","dz":"dz","dž":"dz","ⓔ":"e","e":"e","è":"e","é":"e","ê":"e","ề":"e","ế":"e","ễ":"e","ể":"e","ẽ":"e","ē":"e","ḕ":"e","ḗ":"e","ĕ":"e","ė":"e","ë":"e","ẻ":"e","ě":"e","ȅ":"e","ȇ":"e","ẹ":"e","ệ":"e","ȩ":"e","ḝ":"e","ę":"e","ḙ":"e","ḛ":"e","ɇ":"e","ɛ":"e","ǝ":"e","ⓕ":"f","f":"f","ḟ":"f","ƒ":"f","ꝼ":"f","ⓖ":"g","g":"g","ǵ":"g","ĝ":"g","ḡ":"g","ğ":"g","ġ":"g","ǧ":"g","ģ":"g","ǥ":"g","ɠ":"g","ꞡ":"g","ᵹ":"g","ꝿ":"g","ⓗ":"h","h":"h","ĥ":"h","ḣ":"h","ḧ":"h","ȟ":"h","ḥ":"h","ḩ":"h","ḫ":"h","ẖ":"h","ħ":"h","ⱨ":"h","ⱶ":"h","ɥ":"h","ƕ":"hv","ⓘ":"i","i":"i","ì":"i","í":"i","î":"i","ĩ":"i","ī":"i","ĭ":"i","ï":"i","ḯ":"i","ỉ":"i","ǐ":"i","ȉ":"i","ȋ":"i","ị":"i","į":"i","ḭ":"i","ɨ":"i","ı":"i","ⓙ":"j","j":"j","ĵ":"j","ǰ":"j","ɉ":"j","ⓚ":"k","k":"k","ḱ":"k","ǩ":"k","ḳ":"k","ķ":"k","ḵ":"k","ƙ":"k","ⱪ":"k","ꝁ":"k","ꝃ":"k","ꝅ":"k","ꞣ":"k","ⓛ":"l","l":"l","ŀ":"l","ĺ":"l","ľ":"l","ḷ":"l","ḹ":"l","ļ":"l","ḽ":"l","ḻ":"l","ſ":"l","ł":"l","ƚ":"l","ɫ":"l","ⱡ":"l","ꝉ":"l","ꞁ":"l","ꝇ":"l","lj":"lj","ⓜ":"m","m":"m","ḿ":"m","ṁ":"m","ṃ":"m","ɱ":"m","ɯ":"m","ⓝ":"n","n":"n","ǹ":"n","ń":"n","ñ":"n","ṅ":"n","ň":"n","ṇ":"n","ņ":"n","ṋ":"n","ṉ":"n","ƞ":"n","ɲ":"n","ʼn":"n","ꞑ":"n","ꞥ":"n","nj":"nj","ⓞ":"o","o":"o","ò":"o","ó":"o","ô":"o","ồ":"o","ố":"o","ỗ":"o","ổ":"o","õ":"o","ṍ":"o","ȭ":"o","ṏ":"o","ō":"o","ṑ":"o","ṓ":"o","ŏ":"o","ȯ":"o","ȱ":"o","ö":"o","ȫ":"o","ỏ":"o","ő":"o","ǒ":"o","ȍ":"o","ȏ":"o","ơ":"o","ờ":"o","ớ":"o","ỡ":"o","ở":"o","ợ":"o","ọ":"o","ộ":"o","ǫ":"o","ǭ":"o","ø":"o","ǿ":"o","ɔ":"o","ꝋ":"o","ꝍ":"o","ɵ":"o","ƣ":"oi","ȣ":"ou","ꝏ":"oo","ⓟ":"p","p":"p","ṕ":"p","ṗ":"p","ƥ":"p","ᵽ":"p","ꝑ":"p","ꝓ":"p","ꝕ":"p","ⓠ":"q","q":"q","ɋ":"q","ꝗ":"q","ꝙ":"q","ⓡ":"r","r":"r","ŕ":"r","ṙ":"r","ř":"r","ȑ":"r","ȓ":"r","ṛ":"r","ṝ":"r","ŗ":"r","ṟ":"r","ɍ":"r","ɽ":"r","ꝛ":"r","ꞧ":"r","ꞃ":"r","ⓢ":"s","s":"s","ß":"s","ś":"s","ṥ":"s","ŝ":"s","ṡ":"s","š":"s","ṧ":"s","ṣ":"s","ṩ":"s","ș":"s","ş":"s","ȿ":"s","ꞩ":"s","ꞅ":"s","ẛ":"s","ⓣ":"t","t":"t","ṫ":"t","ẗ":"t","ť":"t","ṭ":"t","ț":"t","ţ":"t","ṱ":"t","ṯ":"t","ŧ":"t","ƭ":"t","ʈ":"t","ⱦ":"t","ꞇ":"t","ꜩ":"tz","ⓤ":"u","u":"u","ù":"u","ú":"u","û":"u","ũ":"u","ṹ":"u","ū":"u","ṻ":"u","ŭ":"u","ü":"u","ǜ":"u","ǘ":"u","ǖ":"u","ǚ":"u","ủ":"u","ů":"u","ű":"u","ǔ":"u","ȕ":"u","ȗ":"u","ư":"u","ừ":"u","ứ":"u","ữ":"u","ử":"u","ự":"u","ụ":"u","ṳ":"u","ų":"u","ṷ":"u","ṵ":"u","ʉ":"u","ⓥ":"v","v":"v","ṽ":"v","ṿ":"v","ʋ":"v","ꝟ":"v","ʌ":"v","ꝡ":"vy","ⓦ":"w","w":"w","ẁ":"w","ẃ":"w","ŵ":"w","ẇ":"w","ẅ":"w","ẘ":"w","ẉ":"w","ⱳ":"w","ⓧ":"x","x":"x","ẋ":"x","ẍ":"x","ⓨ":"y","y":"y","ỳ":"y","ý":"y","ŷ":"y","ỹ":"y","ȳ":"y","ẏ":"y","ÿ":"y","ỷ":"y","ẙ":"y","ỵ":"y","ƴ":"y","ɏ":"y","ỿ":"y","ⓩ":"z","z":"z","ź":"z","ẑ":"z","ż":"z","ž":"z","ẓ":"z","ẕ":"z","ƶ":"z","ȥ":"z","ɀ":"z","ⱬ":"z","ꝣ":"z","Ά":"Α","Έ":"Ε","Ή":"Η","Ί":"Ι","Ϊ":"Ι","Ό":"Ο","Ύ":"Υ","Ϋ":"Υ","Ώ":"Ω","ά":"α","έ":"ε","ή":"η","ί":"ι","ϊ":"ι","ΐ":"ι","ό":"ο","ύ":"υ","ϋ":"υ","ΰ":"υ","ω":"ω","ς":"σ"}}),b.define("select2/data/base",["../utils"],function(a){function b(a,c){b.__super__.constructor.call(this)}return a.Extend(b,a.Observable),b.prototype.current=function(a){throw new Error("The `current` method must be defined in child classes.")},b.prototype.query=function(a,b){throw new Error("The `query` method must be defined in child classes.")},b.prototype.bind=function(a,b){},b.prototype.destroy=function(){},b.prototype.generateResultId=function(b,c){var d=b.id+"-result-";return d+=a.generateChars(4),null!=c.id?d+="-"+c.id.toString():d+="-"+a.generateChars(4),d},b}),b.define("select2/data/select",["./base","../utils","jquery"],function(a,b,c){function d(a,b){this.$element=a,this.options=b,d.__super__.constructor.call(this)}return b.Extend(d,a),d.prototype.current=function(a){var b=[],d=this;this.$element.find(":selected").each(function(){var a=c(this),e=d.item(a);b.push(e)}),a(b)},d.prototype.select=function(a){var b=this;if(a.selected=!0,c(a.element).is("option"))return a.element.selected=!0,void this.$element.trigger("change");if(this.$element.prop("multiple"))this.current(function(d){var e=[];a=[a],a.push.apply(a,d);for(var f=0;f<a.length;f++){var g=a[f].id;-1===c.inArray(g,e)&&e.push(g)}b.$element.val(e),b.$element.trigger("change")});else{var d=a.id;this.$element.val(d),this.$element.trigger("change")}},d.prototype.unselect=function(a){var b=this;if(this.$element.prop("multiple")){if(a.selected=!1,c(a.element).is("option"))return a.element.selected=!1,void this.$element.trigger("change");this.current(function(d){for(var e=[],f=0;f<d.length;f++){var g=d[f].id;g!==a.id&&-1===c.inArray(g,e)&&e.push(g)}b.$element.val(e),b.$element.trigger("change")})}},d.prototype.bind=function(a,b){var c=this;this.container=a,a.on("select",function(a){c.select(a.data)}),a.on("unselect",function(a){c.unselect(a.data)})},d.prototype.destroy=function(){this.$element.find("*").each(function(){b.RemoveData(this)})},d.prototype.query=function(a,b){var d=[],e=this;this.$element.children().each(function(){var b=c(this);if(b.is("option")||b.is("optgroup")){var f=e.item(b),g=e.matches(a,f);null!==g&&d.push(g)}}),b({results:d})},d.prototype.addOptions=function(a){b.appendMany(this.$element,a)},d.prototype.option=function(a){var d;a.children?(d=document.createElement("optgroup"),d.label=a.text):(d=document.createElement("option"),void 0!==d.textContent?d.textContent=a.text:d.innerText=a.text),void 0!==a.id&&(d.value=a.id),a.disabled&&(d.disabled=!0),a.selected&&(d.selected=!0),a.title&&(d.title=a.title);var e=c(d),f=this._normalizeItem(a);return f.element=d,b.StoreData(d,"data",f),e},d.prototype.item=function(a){var d={};if(null!=(d=b.GetData(a[0],"data")))return d;if(a.is("option"))d={id:a.val(),text:a.text(),disabled:a.prop("disabled"),selected:a.prop("selected"),title:a.prop("title")};else if(a.is("optgroup")){d={text:a.prop("label"),children:[],title:a.prop("title")};for(var e=a.children("option"),f=[],g=0;g<e.length;g++){var h=c(e[g]),i=this.item(h);f.push(i)}d.children=f}return d=this._normalizeItem(d),d.element=a[0],b.StoreData(a[0],"data",d),d},d.prototype._normalizeItem=function(a){a!==Object(a)&&(a={id:a,text:a}),a=c.extend({},{text:""},a);var b={selected:!1,disabled:!1};return null!=a.id&&(a.id=a.id.toString()),null!=a.text&&(a.text=a.text.toString()),null==a._resultId&&a.id&&null!=this.container&&(a._resultId=this.generateResultId(this.container,a)),c.extend({},b,a)},d.prototype.matches=function(a,b){return this.options.get("matcher")(a,b)},d}),b.define("select2/data/array",["./select","../utils","jquery"],function(a,b,c){function d(a,b){var c=b.get("data")||[];d.__super__.constructor.call(this,a,b),this.addOptions(this.convertToOptions(c))}return b.Extend(d,a),d.prototype.select=function(a){var b=this.$element.find("option").filter(function(b,c){return c.value==a.id.toString()});0===b.length&&(b=this.option(a),this.addOptions(b)),d.__super__.select.call(this,a)},d.prototype.convertToOptions=function(a){function d(a){return function(){return c(this).val()==a.id}}for(var e=this,f=this.$element.find("option"),g=f.map(function(){return e.item(c(this)).id}).get(),h=[],i=0;i<a.length;i++){var j=this._normalizeItem(a[i]);if(c.inArray(j.id,g)>=0){var k=f.filter(d(j)),l=this.item(k),m=c.extend(!0,{},j,l),n=this.option(m);k.replaceWith(n)}else{var o=this.option(j);if(j.children){var p=this.convertToOptions(j.children);b.appendMany(o,p)}h.push(o)}}return h},d}),b.define("select2/data/ajax",["./array","../utils","jquery"],function(a,b,c){function d(a,b){this.ajaxOptions=this._applyDefaults(b.get("ajax")),null!=this.ajaxOptions.processResults&&(this.processResults=this.ajaxOptions.processResults),d.__super__.constructor.call(this,a,b)}return b.Extend(d,a),d.prototype._applyDefaults=function(a){var b={data:function(a){return c.extend({},a,{q:a.term})},transport:function(a,b,d){var e=c.ajax(a);return e.then(b),e.fail(d),e}};return c.extend({},b,a,!0)},d.prototype.processResults=function(a){return a},d.prototype.query=function(a,b){function d(){var d=f.transport(f,function(d){var f=e.processResults(d,a);e.options.get("debug")&&window.console&&console.error&&(f&&f.results&&c.isArray(f.results)||console.error("Select2: The AJAX results did not return an array in the `results` key of the response.")),b(f)},function(){"status"in d&&(0===d.status||"0"===d.status)||e.trigger("results:message",{message:"errorLoading"})});e._request=d}var e=this;null!=this._request&&(c.isFunction(this._request.abort)&&this._request.abort(),this._request=null);var f=c.extend({type:"GET"},this.ajaxOptions);"function"==typeof f.url&&(f.url=f.url.call(this.$element,a)),"function"==typeof f.data&&(f.data=f.data.call(this.$element,a)),this.ajaxOptions.delay&&null!=a.term?(this._queryTimeout&&window.clearTimeout(this._queryTimeout),this._queryTimeout=window.setTimeout(d,this.ajaxOptions.delay)):d()},d}),b.define("select2/data/tags",["jquery"],function(a){function b(b,c,d){var e=d.get("tags"),f=d.get("createTag");void 0!==f&&(this.createTag=f);var g=d.get("insertTag");if(void 0!==g&&(this.insertTag=g),b.call(this,c,d),a.isArray(e))for(var h=0;h<e.length;h++){var i=e[h],j=this._normalizeItem(i),k=this.option(j);this.$element.append(k)}}return b.prototype.query=function(a,b,c){function d(a,f){for(var g=a.results,h=0;h<g.length;h++){var i=g[h],j=null!=i.children&&!d({results:i.children},!0);if((i.text||"").toUpperCase()===(b.term||"").toUpperCase()||j)return!f&&(a.data=g,void c(a))}if(f)return!0;var k=e.createTag(b);if(null!=k){var l=e.option(k);l.attr("data-select2-tag",!0),e.addOptions([l]),e.insertTag(g,k)}a.results=g,c(a)}var e=this;if(this._removeOldTags(),null==b.term||null!=b.page)return void a.call(this,b,c);a.call(this,b,d)},b.prototype.createTag=function(b,c){var d=a.trim(c.term);return""===d?null:{id:d,text:d}},b.prototype.insertTag=function(a,b,c){b.unshift(c)},b.prototype._removeOldTags=function(b){this._lastTag;this.$element.find("option[data-select2-tag]").each(function(){this.selected||a(this).remove()})},b}),b.define("select2/data/tokenizer",["jquery"],function(a){function b(a,b,c){var d=c.get("tokenizer");void 0!==d&&(this.tokenizer=d),a.call(this,b,c)}return b.prototype.bind=function(a,b,c){a.call(this,b,c),this.$search=b.dropdown.$search||b.selection.$search||c.find(".select2-search__field")},b.prototype.query=function(b,c,d){function e(b){var c=g._normalizeItem(b);if(!g.$element.find("option").filter(function(){return a(this).val()===c.id}).length){var d=g.option(c);d.attr("data-select2-tag",!0),g._removeOldTags(),g.addOptions([d])}f(c)}function f(a){g.trigger("select",{data:a})}var g=this;c.term=c.term||"";var h=this.tokenizer(c,this.options,e);h.term!==c.term&&(this.$search.length&&(this.$search.val(h.term),this.$search.focus()),c.term=h.term),b.call(this,c,d)},b.prototype.tokenizer=function(b,c,d,e){for(var f=d.get("tokenSeparators")||[],g=c.term,h=0,i=this.createTag||function(a){return{id:a.term,text:a.term}};h<g.length;){var j=g[h];if(-1!==a.inArray(j,f)){var k=g.substr(0,h),l=a.extend({},c,{term:k}),m=i(l);null!=m?(e(m),g=g.substr(h+1)||"",h=0):h++}else h++}return{term:g}},b}),b.define("select2/data/minimumInputLength",[],function(){function a(a,b,c){this.minimumInputLength=c.get("minimumInputLength"),a.call(this,b,c)}return a.prototype.query=function(a,b,c){if(b.term=b.term||"",b.term.length<this.minimumInputLength)return void this.trigger("results:message",{message:"inputTooShort",args:{minimum:this.minimumInputLength,input:b.term,params:b}});a.call(this,b,c)},a}),b.define("select2/data/maximumInputLength",[],function(){function a(a,b,c){this.maximumInputLength=c.get("maximumInputLength"),a.call(this,b,c)}return a.prototype.query=function(a,b,c){if(b.term=b.term||"",this.maximumInputLength>0&&b.term.length>this.maximumInputLength)return void this.trigger("results:message",{message:"inputTooLong",args:{maximum:this.maximumInputLength,input:b.term,params:b}});a.call(this,b,c)},a}),b.define("select2/data/maximumSelectionLength",[],function(){function a(a,b,c){this.maximumSelectionLength=c.get("maximumSelectionLength"),a.call(this,b,c)}return a.prototype.query=function(a,b,c){var d=this;this.current(function(e){var f=null!=e?e.length:0;if(d.maximumSelectionLength>0&&f>=d.maximumSelectionLength)return void d.trigger("results:message",{message:"maximumSelected",args:{maximum:d.maximumSelectionLength}});a.call(d,b,c)})},a}),b.define("select2/dropdown",["jquery","./utils"],function(a,b){function c(a,b){this.$element=a,this.options=b,c.__super__.constructor.call(this)}return b.Extend(c,b.Observable),c.prototype.render=function(){var b=a('<span class="select2-dropdown"><span class="select2-results"></span></span>');return b.attr("dir",this.options.get("dir")),this.$dropdown=b,b},c.prototype.bind=function(){},c.prototype.position=function(a,b){},c.prototype.destroy=function(){this.$dropdown.remove()},c}),b.define("select2/dropdown/search",["jquery","../utils"],function(a,b){function c(){}return c.prototype.render=function(b){var c=b.call(this),d=a('<span class="select2-search select2-search--dropdown"><input class="select2-search__field" type="search" tabindex="-1" autocomplete="off" autocorrect="off" autocapitalize="none" spellcheck="false" role="textbox" /></span>');return this.$searchContainer=d,this.$search=d.find("input"),c.prepend(d),c},c.prototype.bind=function(b,c,d){var e=this;b.call(this,c,d),this.$search.on("keydown",function(a){e.trigger("keypress",a),e._keyUpPrevented=a.isDefaultPrevented()}),this.$search.on("input",function(b){a(this).off("keyup")}),this.$search.on("keyup input",function(a){e.handleSearch(a)}),c.on("open",function(){e.$search.attr("tabindex",0),e.$search.focus(),window.setTimeout(function(){e.$search.focus()},0)}),c.on("close",function(){e.$search.attr("tabindex",-1),e.$search.val(""),e.$search.blur()}),c.on("focus",function(){c.isOpen()||e.$search.focus()}),c.on("results:all",function(a){if(null==a.query.term||""===a.query.term){e.showSearch(a)?e.$searchContainer.removeClass("select2-search--hide"):e.$searchContainer.addClass("select2-search--hide")}})},c.prototype.handleSearch=function(a){if(!this._keyUpPrevented){var b=this.$search.val();this.trigger("query",{term:b})}this._keyUpPrevented=!1},c.prototype.showSearch=function(a,b){return!0},c}),b.define("select2/dropdown/hidePlaceholder",[],function(){function a(a,b,c,d){this.placeholder=this.normalizePlaceholder(c.get("placeholder")),a.call(this,b,c,d)}return a.prototype.append=function(a,b){b.results=this.removePlaceholder(b.results),a.call(this,b)},a.prototype.normalizePlaceholder=function(a,b){return"string"==typeof b&&(b={id:"",text:b}),b},a.prototype.removePlaceholder=function(a,b){for(var c=b.slice(0),d=b.length-1;d>=0;d--){var e=b[d];this.placeholder.id===e.id&&c.splice(d,1)}return c},a}),b.define("select2/dropdown/infiniteScroll",["jquery"],function(a){function b(a,b,c,d){this.lastParams={},a.call(this,b,c,d),this.$loadingMore=this.createLoadingMore(),this.loading=!1}return b.prototype.append=function(a,b){this.$loadingMore.remove(),this.loading=!1,a.call(this,b),this.showLoadingMore(b)&&this.$results.append(this.$loadingMore)},b.prototype.bind=function(b,c,d){var e=this;b.call(this,c,d),c.on("query",function(a){e.lastParams=a,e.loading=!0}),c.on("query:append",function(a){e.lastParams=a,e.loading=!0}),this.$results.on("scroll",function(){var b=a.contains(document.documentElement,e.$loadingMore[0]);if(!e.loading&&b){e.$results.offset().top+e.$results.outerHeight(!1)+50>=e.$loadingMore.offset().top+e.$loadingMore.outerHeight(!1)&&e.loadMore()}})},b.prototype.loadMore=function(){this.loading=!0;var b=a.extend({},{page:1},this.lastParams);b.page++,this.trigger("query:append",b)},b.prototype.showLoadingMore=function(a,b){return b.pagination&&b.pagination.more},b.prototype.createLoadingMore=function(){var b=a('<li class="select2-results__option select2-results__option--load-more"role="treeitem" aria-disabled="true"></li>'),c=this.options.get("translations").get("loadingMore");return b.html(c(this.lastParams)),b},b}),b.define("select2/dropdown/attachBody",["jquery","../utils"],function(a,b){function c(b,c,d){this.$dropdownParent=d.get("dropdownParent")||a(document.body),b.call(this,c,d)}return c.prototype.bind=function(a,b,c){var d=this,e=!1;a.call(this,b,c),b.on("open",function(){d._showDropdown(),d._attachPositioningHandler(b),e||(e=!0,b.on("results:all",function(){d._positionDropdown(),d._resizeDropdown()}),b.on("results:append",function(){d._positionDropdown(),d._resizeDropdown()}))}),b.on("close",function(){d._hideDropdown(),d._detachPositioningHandler(b)}),this.$dropdownContainer.on("mousedown",function(a){a.stopPropagation()})},c.prototype.destroy=function(a){a.call(this),this.$dropdownContainer.remove()},c.prototype.position=function(a,b,c){b.attr("class",c.attr("class")),b.removeClass("select2"),b.addClass("select2-container--open"),b.css({position:"absolute",top:-999999}),this.$container=c},c.prototype.render=function(b){var c=a("<span></span>"),d=b.call(this);return c.append(d),this.$dropdownContainer=c,c},c.prototype._hideDropdown=function(a){this.$dropdownContainer.detach()},c.prototype._attachPositioningHandler=function(c,d){var e=this,f="scroll.select2."+d.id,g="resize.select2."+d.id,h="orientationchange.select2."+d.id,i=this.$container.parents().filter(b.hasScroll);i.each(function(){b.StoreData(this,"select2-scroll-position",{x:a(this).scrollLeft(),y:a(this).scrollTop()})}),i.on(f,function(c){var d=b.GetData(this,"select2-scroll-position");a(this).scrollTop(d.y)}),a(window).on(f+" "+g+" "+h,function(a){e._positionDropdown(),e._resizeDropdown()})},c.prototype._detachPositioningHandler=function(c,d){var e="scroll.select2."+d.id,f="resize.select2."+d.id,g="orientationchange.select2."+d.id;this.$container.parents().filter(b.hasScroll).off(e),a(window).off(e+" "+f+" "+g)},c.prototype._positionDropdown=function(){var b=a(window),c=this.$dropdown.hasClass("select2-dropdown--above"),d=this.$dropdown.hasClass("select2-dropdown--below"),e=null,f=this.$container.offset();f.bottom=f.top+this.$container.outerHeight(!1);var g={height:this.$container.outerHeight(!1)};g.top=f.top,g.bottom=f.top+g.height;var h={height:this.$dropdown.outerHeight(!1)},i={top:b.scrollTop(),bottom:b.scrollTop()+b.height()},j=i.top<f.top-h.height,k=i.bottom>f.bottom+h.height,l={left:f.left,top:g.bottom},m=this.$dropdownParent;"static"===m.css("position")&&(m=m.offsetParent());var n=m.offset();l.top-=n.top,l.left-=n.left,c||d||(e="below"),k||!j||c?!j&&k&&c&&(e="below"):e="above",("above"==e||c&&"below"!==e)&&(l.top=g.top-n.top-h.height),null!=e&&(this.$dropdown.removeClass("select2-dropdown--below select2-dropdown--above").addClass("select2-dropdown--"+e),this.$container.removeClass("select2-container--below select2-container--above").addClass("select2-container--"+e)),this.$dropdownContainer.css(l)},c.prototype._resizeDropdown=function(){var a={width:this.$container.outerWidth(!1)+"px"};this.options.get("dropdownAutoWidth")&&(a.minWidth=a.width,a.position="relative",a.width="auto"),this.$dropdown.css(a)},c.prototype._showDropdown=function(a){this.$dropdownContainer.appendTo(this.$dropdownParent),this._positionDropdown(),this._resizeDropdown()},c}),b.define("select2/dropdown/minimumResultsForSearch",[],function(){function a(b){for(var c=0,d=0;d<b.length;d++){var e=b[d];e.children?c+=a(e.children):c++}return c}function b(a,b,c,d){this.minimumResultsForSearch=c.get("minimumResultsForSearch"),this.minimumResultsForSearch<0&&(this.minimumResultsForSearch=1/0),a.call(this,b,c,d)}return b.prototype.showSearch=function(b,c){return!(a(c.data.results)<this.minimumResultsForSearch)&&b.call(this,c)},b}),b.define("select2/dropdown/selectOnClose",["../utils"],function(a){function b(){}return b.prototype.bind=function(a,b,c){var d=this;a.call(this,b,c),b.on("close",function(a){d._handleSelectOnClose(a)})},b.prototype._handleSelectOnClose=function(b,c){if(c&&null!=c.originalSelect2Event){var d=c.originalSelect2Event;if("select"===d._type||"unselect"===d._type)return}var e=this.getHighlightedResults();if(!(e.length<1)){var f=a.GetData(e[0],"data");null!=f.element&&f.element.selected||null==f.element&&f.selected||this.trigger("select",{data:f})}},b}),b.define("select2/dropdown/closeOnSelect",[],function(){function a(){}return a.prototype.bind=function(a,b,c){var d=this;a.call(this,b,c),b.on("select",function(a){d._selectTriggered(a)}),b.on("unselect",function(a){d._selectTriggered(a)})},a.prototype._selectTriggered=function(a,b){var c=b.originalEvent;c&&c.ctrlKey||this.trigger("close",{originalEvent:c,originalSelect2Event:b})},a}),b.define("select2/i18n/en",[],function(){return{errorLoading:function(){return"The results could not be loaded."},inputTooLong:function(a){var b=a.input.length-a.maximum,c="Please delete "+b+" character";return 1!=b&&(c+="s"),c},inputTooShort:function(a){return"Please enter "+(a.minimum-a.input.length)+" or more characters"},loadingMore:function(){return"Loading more results…"},maximumSelected:function(a){var b="You can only select "+a.maximum+" item";return 1!=a.maximum&&(b+="s"),b},noResults:function(){return"No results found"},searching:function(){return"Searching…"}}}),b.define("select2/defaults",["jquery","require","./results","./selection/single","./selection/multiple","./selection/placeholder","./selection/allowClear","./selection/search","./selection/eventRelay","./utils","./translation","./diacritics","./data/select","./data/array","./data/ajax","./data/tags","./data/tokenizer","./data/minimumInputLength","./data/maximumInputLength","./data/maximumSelectionLength","./dropdown","./dropdown/search","./dropdown/hidePlaceholder","./dropdown/infiniteScroll","./dropdown/attachBody","./dropdown/minimumResultsForSearch","./dropdown/selectOnClose","./dropdown/closeOnSelect","./i18n/en"],function(a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,A,B,C){function D(){this.reset()}return D.prototype.apply=function(l){if(l=a.extend(!0,{},this.defaults,l),null==l.dataAdapter){if(null!=l.ajax?l.dataAdapter=o:null!=l.data?l.dataAdapter=n:l.dataAdapter=m,l.minimumInputLength>0&&(l.dataAdapter=j.Decorate(l.dataAdapter,r)),l.maximumInputLength>0&&(l.dataAdapter=j.Decorate(l.dataAdapter,s)),l.maximumSelectionLength>0&&(l.dataAdapter=j.Decorate(l.dataAdapter,t)),l.tags&&(l.dataAdapter=j.Decorate(l.dataAdapter,p)),null==l.tokenSeparators&&null==l.tokenizer||(l.dataAdapter=j.Decorate(l.dataAdapter,q)),null!=l.query){var C=b(l.amdBase+"compat/query");l.dataAdapter=j.Decorate(l.dataAdapter,C)}if(null!=l.initSelection){var D=b(l.amdBase+"compat/initSelection");l.dataAdapter=j.Decorate(l.dataAdapter,D)}}if(null==l.resultsAdapter&&(l.resultsAdapter=c,null!=l.ajax&&(l.resultsAdapter=j.Decorate(l.resultsAdapter,x)),null!=l.placeholder&&(l.resultsAdapter=j.Decorate(l.resultsAdapter,w)),l.selectOnClose&&(l.resultsAdapter=j.Decorate(l.resultsAdapter,A))),null==l.dropdownAdapter){if(l.multiple)l.dropdownAdapter=u;else{var E=j.Decorate(u,v);l.dropdownAdapter=E}if(0!==l.minimumResultsForSearch&&(l.dropdownAdapter=j.Decorate(l.dropdownAdapter,z)),l.closeOnSelect&&(l.dropdownAdapter=j.Decorate(l.dropdownAdapter,B)),null!=l.dropdownCssClass||null!=l.dropdownCss||null!=l.adaptDropdownCssClass){var F=b(l.amdBase+"compat/dropdownCss");l.dropdownAdapter=j.Decorate(l.dropdownAdapter,F)}l.dropdownAdapter=j.Decorate(l.dropdownAdapter,y)}if(null==l.selectionAdapter){if(l.multiple?l.selectionAdapter=e:l.selectionAdapter=d,null!=l.placeholder&&(l.selectionAdapter=j.Decorate(l.selectionAdapter,f)),l.allowClear&&(l.selectionAdapter=j.Decorate(l.selectionAdapter,g)),l.multiple&&(l.selectionAdapter=j.Decorate(l.selectionAdapter,h)),null!=l.containerCssClass||null!=l.containerCss||null!=l.adaptContainerCssClass){var G=b(l.amdBase+"compat/containerCss");l.selectionAdapter=j.Decorate(l.selectionAdapter,G)}l.selectionAdapter=j.Decorate(l.selectionAdapter,i)}if("string"==typeof l.language)if(l.language.indexOf("-")>0){var H=l.language.split("-"),I=H[0];l.language=[l.language,I]}else l.language=[l.language];if(a.isArray(l.language)){var J=new k;l.language.push("en");for(var K=l.language,L=0;L<K.length;L++){var M=K[L],N={};try{N=k.loadPath(M)}catch(a){try{M=this.defaults.amdLanguageBase+M,N=k.loadPath(M)}catch(a){l.debug&&window.console&&console.warn&&console.warn('Select2: The language file for "'+M+'" could not be automatically loaded. A fallback will be used instead.');continue}}J.extend(N)}l.translations=J}else{var O=k.loadPath(this.defaults.amdLanguageBase+"en"),P=new k(l.language);P.extend(O),l.translations=P}return l},D.prototype.reset=function(){function b(a){function b(a){return l[a]||a}return a.replace(/[^\u0000-\u007E]/g,b)}function c(d,e){if(""===a.trim(d.term))return e;if(e.children&&e.children.length>0){for(var f=a.extend(!0,{},e),g=e.children.length-1;g>=0;g--){null==c(d,e.children[g])&&f.children.splice(g,1)}return f.children.length>0?f:c(d,f)}var h=b(e.text).toUpperCase(),i=b(d.term).toUpperCase();return h.indexOf(i)>-1?e:null}this.defaults={amdBase:"./",amdLanguageBase:"./i18n/",closeOnSelect:!0,debug:!1,dropdownAutoWidth:!1,escapeMarkup:j.escapeMarkup,language:C,matcher:c,minimumInputLength:0,maximumInputLength:0,maximumSelectionLength:0,minimumResultsForSearch:0,selectOnClose:!1,sorter:function(a){return a},templateResult:function(a){return a.text},templateSelection:function(a){return a.text},theme:"default",width:"resolve"}},D.prototype.set=function(b,c){var d=a.camelCase(b),e={};e[d]=c;var f=j._convertData(e);a.extend(!0,this.defaults,f)},new D}),b.define("select2/options",["require","jquery","./defaults","./utils"],function(a,b,c,d){function e(b,e){if(this.options=b,null!=e&&this.fromElement(e),this.options=c.apply(this.options),e&&e.is("input")){var f=a(this.get("amdBase")+"compat/inputData");this.options.dataAdapter=d.Decorate(this.options.dataAdapter,f)}}return e.prototype.fromElement=function(a){var c=["select2"];null==this.options.multiple&&(this.options.multiple=a.prop("multiple")),null==this.options.disabled&&(this.options.disabled=a.prop("disabled")),null==this.options.language&&(a.prop("lang")?this.options.language=a.prop("lang").toLowerCase():a.closest("[lang]").prop("lang")&&(this.options.language=a.closest("[lang]").prop("lang"))),null==this.options.dir&&(a.prop("dir")?this.options.dir=a.prop("dir"):a.closest("[dir]").prop("dir")?this.options.dir=a.closest("[dir]").prop("dir"):this.options.dir="ltr"),a.prop("disabled",this.options.disabled),a.prop("multiple",this.options.multiple),d.GetData(a[0],"select2Tags")&&(this.options.debug&&window.console&&console.warn&&console.warn('Select2: The `data-select2-tags` attribute has been changed to use the `data-data` and `data-tags="true"` attributes and will be removed in future versions of Select2.'),d.StoreData(a[0],"data",d.GetData(a[0],"select2Tags")),d.StoreData(a[0],"tags",!0)),d.GetData(a[0],"ajaxUrl")&&(this.options.debug&&window.console&&console.warn&&console.warn("Select2: The `data-ajax-url` attribute has been changed to `data-ajax--url` and support for the old attribute will be removed in future versions of Select2."),a.attr("ajax--url",d.GetData(a[0],"ajaxUrl")),d.StoreData(a[0],"ajax-Url",d.GetData(a[0],"ajaxUrl")));var e={};e=b.fn.jquery&&"1."==b.fn.jquery.substr(0,2)&&a[0].dataset?b.extend(!0,{},a[0].dataset,d.GetData(a[0])):d.GetData(a[0]);var f=b.extend(!0,{},e);f=d._convertData(f);for(var g in f)b.inArray(g,c)>-1||(b.isPlainObject(this.options[g])?b.extend(this.options[g],f[g]):this.options[g]=f[g]);return this},e.prototype.get=function(a){return this.options[a]},e.prototype.set=function(a,b){this.options[a]=b},e}),b.define("select2/core",["jquery","./options","./utils","./keys"],function(a,b,c,d){var e=function(a,d){null!=c.GetData(a[0],"select2")&&c.GetData(a[0],"select2").destroy(),this.$element=a,this.id=this._generateId(a),d=d||{},this.options=new b(d,a),e.__super__.constructor.call(this);var f=a.attr("tabindex")||0;c.StoreData(a[0],"old-tabindex",f),a.attr("tabindex","-1");var g=this.options.get("dataAdapter");this.dataAdapter=new g(a,this.options);var h=this.render();this._placeContainer(h);var i=this.options.get("selectionAdapter");this.selection=new i(a,this.options),this.$selection=this.selection.render(),this.selection.position(this.$selection,h);var j=this.options.get("dropdownAdapter");this.dropdown=new j(a,this.options),this.$dropdown=this.dropdown.render(),this.dropdown.position(this.$dropdown,h);var k=this.options.get("resultsAdapter");this.results=new k(a,this.options,this.dataAdapter),this.$results=this.results.render(),this.results.position(this.$results,this.$dropdown);var l=this;this._bindAdapters(),this._registerDomEvents(),this._registerDataEvents(),this._registerSelectionEvents(),this._registerDropdownEvents(),this._registerResultsEvents(),this._registerEvents(),this.dataAdapter.current(function(a){l.trigger("selection:update",{data:a})}),a.addClass("select2-hidden-accessible"),a.attr("aria-hidden","true"),this._syncAttributes(),c.StoreData(a[0],"select2",this)};return c.Extend(e,c.Observable),e.prototype._generateId=function(a){var b="";return b=null!=a.attr("id")?a.attr("id"):null!=a.attr("name")?a.attr("name")+"-"+c.generateChars(2):c.generateChars(4),b=b.replace(/(:|\.|\[|\]|,)/g,""),b="select2-"+b},e.prototype._placeContainer=function(a){a.insertAfter(this.$element);var b=this._resolveWidth(this.$element,this.options.get("width"));null!=b&&a.css("width",b)},e.prototype._resolveWidth=function(a,b){var c=/^width:(([-+]?([0-9]*\.)?[0-9]+)(px|em|ex|%|in|cm|mm|pt|pc))/i;if("resolve"==b){var d=this._resolveWidth(a,"style");return null!=d?d:this._resolveWidth(a,"element")}if("element"==b){var e=a.outerWidth(!1);return e<=0?"auto":e+"px"}if("style"==b){var f=a.attr("style");if("string"!=typeof f)return null;for(var g=f.split(";"),h=0,i=g.length;h<i;h+=1){var j=g[h].replace(/\s/g,""),k=j.match(c);if(null!==k&&k.length>=1)return k[1]}return null}return b},e.prototype._bindAdapters=function(){this.dataAdapter.bind(this,this.$container),this.selection.bind(this,this.$container),this.dropdown.bind(this,this.$container),this.results.bind(this,this.$container)},e.prototype._registerDomEvents=function(){var b=this;this.$element.on("change.select2",function(){b.dataAdapter.current(function(a){b.trigger("selection:update",{data:a})})}),this.$element.on("focus.select2",function(a){b.trigger("focus",a)}),this._syncA=c.bind(this._syncAttributes,this),this._syncS=c.bind(this._syncSubtree,this),this.$element[0].attachEvent&&this.$element[0].attachEvent("onpropertychange",this._syncA);var d=window.MutationObserver||window.WebKitMutationObserver||window.MozMutationObserver;null!=d?(this._observer=new d(function(c){a.each(c,b._syncA),a.each(c,b._syncS)}),this._observer.observe(this.$element[0],{attributes:!0,childList:!0,subtree:!1})):this.$element[0].addEventListener&&(this.$element[0].addEventListener("DOMAttrModified",b._syncA,!1),this.$element[0].addEventListener("DOMNodeInserted",b._syncS,!1),this.$element[0].addEventListener("DOMNodeRemoved",b._syncS,!1))},e.prototype._registerDataEvents=function(){var a=this;this.dataAdapter.on("*",function(b,c){a.trigger(b,c)})},e.prototype._registerSelectionEvents=function(){var b=this,c=["toggle","focus"];this.selection.on("toggle",function(){b.toggleDropdown()}),this.selection.on("focus",function(a){b.focus(a)}),this.selection.on("*",function(d,e){-1===a.inArray(d,c)&&b.trigger(d,e)})},e.prototype._registerDropdownEvents=function(){var a=this;this.dropdown.on("*",function(b,c){a.trigger(b,c)})},e.prototype._registerResultsEvents=function(){var a=this;this.results.on("*",function(b,c){a.trigger(b,c)})},e.prototype._registerEvents=function(){var a=this;this.on("open",function(){a.$container.addClass("select2-container--open")}),this.on("close",function(){a.$container.removeClass("select2-container--open")}),this.on("enable",function(){a.$container.removeClass("select2-container--disabled")}),this.on("disable",function(){a.$container.addClass("select2-container--disabled")}),this.on("blur",function(){a.$container.removeClass("select2-container--focus")}),this.on("query",function(b){a.isOpen()||a.trigger("open",{}),this.dataAdapter.query(b,function(c){a.trigger("results:all",{data:c,query:b})})}),this.on("query:append",function(b){this.dataAdapter.query(b,function(c){a.trigger("results:append",{data:c,query:b})})}),this.on("keypress",function(b){var c=b.which;a.isOpen()?c===d.ESC||c===d.TAB||c===d.UP&&b.altKey?(a.close(),b.preventDefault()):c===d.ENTER?(a.trigger("results:select",{}),b.preventDefault()):c===d.SPACE&&b.ctrlKey?(a.trigger("results:toggle",{}),b.preventDefault()):c===d.UP?(a.trigger("results:previous",{}),b.preventDefault()):c===d.DOWN&&(a.trigger("results:next",{}),b.preventDefault()):(c===d.ENTER||c===d.SPACE||c===d.DOWN&&b.altKey)&&(a.open(),b.preventDefault())})},e.prototype._syncAttributes=function(){this.options.set("disabled",this.$element.prop("disabled")),this.options.get("disabled")?(this.isOpen()&&this.close(),this.trigger("disable",{})):this.trigger("enable",{})},e.prototype._syncSubtree=function(a,b){var c=!1,d=this;if(!a||!a.target||"OPTION"===a.target.nodeName||"OPTGROUP"===a.target.nodeName){if(b)if(b.addedNodes&&b.addedNodes.length>0)for(var e=0;e<b.addedNodes.length;e++){var f=b.addedNodes[e];f.selected&&(c=!0)}else b.removedNodes&&b.removedNodes.length>0&&(c=!0);else c=!0;c&&this.dataAdapter.current(function(a){d.trigger("selection:update",{data:a})})}},e.prototype.trigger=function(a,b){var c=e.__super__.trigger,d={open:"opening",close:"closing",select:"selecting",unselect:"unselecting",clear:"clearing"};if(void 0===b&&(b={}),a in d){var f=d[a],g={prevented:!1,name:a,args:b};if(c.call(this,f,g),g.prevented)return void(b.prevented=!0)}c.call(this,a,b)},e.prototype.toggleDropdown=function(){this.options.get("disabled")||(this.isOpen()?this.close():this.open())},e.prototype.open=function(){this.isOpen()||this.trigger("query",{})},e.prototype.close=function(){this.isOpen()&&this.trigger("close",{})},e.prototype.isOpen=function(){return this.$container.hasClass("select2-container--open")},e.prototype.hasFocus=function(){return this.$container.hasClass("select2-container--focus")},e.prototype.focus=function(a){this.hasFocus()||(this.$container.addClass("select2-container--focus"),this.trigger("focus",{}))},e.prototype.enable=function(a){this.options.get("debug")&&window.console&&console.warn&&console.warn('Select2: The `select2("enable")` method has been deprecated and will be removed in later Select2 versions. Use $element.prop("disabled") instead.'),null!=a&&0!==a.length||(a=[!0]);var b=!a[0];this.$element.prop("disabled",b)},e.prototype.data=function(){this.options.get("debug")&&arguments.length>0&&window.console&&console.warn&&console.warn('Select2: Data can no longer be set using `select2("data")`. You should consider setting the value instead using `$element.val()`.');var a=[];return this.dataAdapter.current(function(b){a=b}),a},e.prototype.val=function(b){if(this.options.get("debug")&&window.console&&console.warn&&console.warn('Select2: The `select2("val")` method has been deprecated and will be removed in later Select2 versions. Use $element.val() instead.'),null==b||0===b.length)return this.$element.val();var c=b[0];a.isArray(c)&&(c=a.map(c,function(a){return a.toString()})),this.$element.val(c).trigger("change")},e.prototype.destroy=function(){this.$container.remove(),this.$element[0].detachEvent&&this.$element[0].detachEvent("onpropertychange",this._syncA),null!=this._observer?(this._observer.disconnect(),this._observer=null):this.$element[0].removeEventListener&&(this.$element[0].removeEventListener("DOMAttrModified",this._syncA,!1),this.$element[0].removeEventListener("DOMNodeInserted",this._syncS,!1),this.$element[0].removeEventListener("DOMNodeRemoved",this._syncS,!1)),this._syncA=null,this._syncS=null,this.$element.off(".select2"),this.$element.attr("tabindex",c.GetData(this.$element[0],"old-tabindex")),this.$element.removeClass("select2-hidden-accessible"),this.$element.attr("aria-hidden","false"),c.RemoveData(this.$element[0]),this.dataAdapter.destroy(),this.selection.destroy(),this.dropdown.destroy(),this.results.destroy(),this.dataAdapter=null,this.selection=null,this.dropdown=null,this.results=null},e.prototype.render=function(){var b=a('<span class="select2 select2-container"><span class="selection"></span><span class="dropdown-wrapper" aria-hidden="true"></span></span>');return b.attr("dir",this.options.get("dir")),this.$container=b,this.$container.addClass("select2-container--"+this.options.get("theme")),c.StoreData(b[0],"element",this.$element),b},e}),b.define("jquery-mousewheel",["jquery"],function(a){return a}),b.define("jquery.select2",["jquery","jquery-mousewheel","./select2/core","./select2/defaults","./select2/utils"],function(a,b,c,d,e){if(null==a.fn.select2){var f=["open","close","destroy"];a.fn.select2=function(b){if("object"==typeof(b=b||{}))return this.each(function(){var d=a.extend(!0,{},b);new c(a(this),d)}),this;if("string"==typeof b){var d,g=Array.prototype.slice.call(arguments,1);return this.each(function(){var a=e.GetData(this,"select2");null==a&&window.console&&console.error&&console.error("The select2('"+b+"') method was called on an element that is not using Select2."),d=a[b].apply(a,g)}),a.inArray(b,f)>-1?this:d}throw new Error("Invalid arguments for Select2: "+b)}}return null==a.fn.select2.defaults&&(a.fn.select2.defaults=d),c}),{define:b.define,require:b.require}}(),c=b.require("jquery.select2");return a.fn.select2.amd=b,c});
 
 
admin_section/js/structure_admin.js CHANGED
@@ -1,3 +1,43 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
  var clone = function(){
2
  jQuery(".structured-clone").off("click").click(function(){
3
  var group_index = jQuery(this).closest(".saswp-placement-group").attr('data-id');
@@ -5,7 +45,7 @@ var clone = function(){
5
  nextId = jQuery(this).parents("tbody").find("tr").length;
6
  selectrow = selectrow.replace(/\[0\]/g, "["+nextId+"]");
7
  selectrow = selectrow.replace(/\[group-0\]/g, "[group-"+group_index+"]");
8
- jQuery(this).parents("tr").after(selectrow);removeHtml();clone();
9
  });
10
  }
11
  var removeHtml = function(){
@@ -26,6 +66,7 @@ var clone = function(){
26
 
27
  });
28
  }
 
29
  jQuery(document).ready(function($){
30
 
31
  $('#saswp-dayofweek-opens-time').timepicker({ 'timeFormat': 'H:i:s'});
@@ -51,13 +92,15 @@ jQuery(document).ready(function($){
51
  $(".saswp-placement-group[data-id="+(group_index-1)+"]").after(html);
52
  group_index++;
53
  clone();
54
- removeHtml();
 
55
  });
56
 
57
  var selectrow = $("#saswp_amp_select").find("table.widefat tr").html();
58
  $("body").append("<script type='template/html' id='call_html_template_sdwp'><tr class='toclone cloneya'>"+selectrow+"</tr>");
59
- clone();
60
  removeHtml();
 
61
  $(document).on("change", ".select-post-type", function(){
62
  var current_change = $(this);
63
  var parent = $(this).parents('tr').find(".insert-ajax-select");
@@ -73,10 +116,11 @@ jQuery(document).ready(function($){
73
  var saswp_call_nonce = jQuery("#saswp_select_name_nonce").val();
74
 
75
  parent.find(".ajax-output").remove();
 
76
  parent.find(".ajax-output-child").remove();
77
  parent.find(".spinner").attr("style","visibility:visible");
78
  parent.children(".spinner").addClass("show");
79
- var ajaxURL = saswp_app_object.ajax_url;
80
  var group_index = jQuery(this).closest(".saswp-placement-group").attr('data-id');
81
  //ajax call
82
  $.ajax({
@@ -93,11 +137,14 @@ jQuery(document).ready(function($){
93
  },
94
  success: function(data){
95
  // This code is added twice " withThis.find('.ajax-output').remove(); "
96
- parent.find(".ajax-output").remove();
 
97
  parent.children(".spinner").removeClass("show");
98
  parent.find(".spinner").attr("style","visibility:hidden").hide();
99
  parent.append(data);
100
- taxonomyDataCall();
 
 
101
  },
102
  error: function(data){
103
  console.log("Failed Ajax Request");
@@ -139,7 +186,7 @@ function taxonomyDataCall(){
139
  parentSelector.find(".spinner").attr("style","visibility:visible");
140
  parentSelector.children(".spinner").addClass("show");
141
 
142
- var ajaxURL = saswp_app_object.ajax_url;
143
  var group_index = jQuery(this).closest(".saswp-placement-group").attr('data-id');
144
  //ajax call
145
  jQuery.ajax({
@@ -156,11 +203,12 @@ function taxonomyDataCall(){
156
  },
157
  success: function(data){
158
  // This code is added twice " withThis.find('.ajax-output').remove(); "
159
- parentSelector.find(".ajax-output-child").remove();
 
160
  parentSelector.children(".spinner").removeClass("show");
161
  parentSelector.find(".spinner").attr("style","visibility:hidden").hide();
162
- parentSelector.append(data);
163
- taxonomyDataCall();
164
  },
165
  error: function(data){
166
  console.log("Failed Ajax Request");
1
+ function saswp_select2(){
2
+
3
+ var $select2 = jQuery('.saswp-select2');
4
+
5
+ if($select2.length > 0){
6
+
7
+ jQuery($select2).each(function(i, obj) {
8
+ var currentP = jQuery(this);
9
+ var $defaultResults = jQuery('option[value]:not([selected])', currentP);
10
+ var defaultResults = [];
11
+
12
+ $defaultResults.each(function () {
13
+ var $option = jQuery(this);
14
+ defaultResults.push({
15
+ id: $option.attr('value'),
16
+ text: $option.text()
17
+ });
18
+ });
19
+
20
+ var type = currentP.attr('data-type');
21
+ var ajaxnewurl = ajaxurl + '?action=saswp_get_select2_data&saswp_security_nonce='+saswp_localize_data.saswp_security_nonce+'&type='+type;
22
+
23
+ currentP.select2({
24
+ ajax: {
25
+ url: ajaxnewurl,
26
+ delay: 250,
27
+ cache: false
28
+ },
29
+ minimumInputLength: 2,
30
+ minimumResultsForSearch : 50,
31
+ dataAdapter: jQuery.fn.select2.amd.require('select2/data/extended-ajax'),
32
+ defaultResults: defaultResults
33
+ });
34
+
35
+ });
36
+
37
+ }
38
+
39
+ }
40
+
41
  var clone = function(){
42
  jQuery(".structured-clone").off("click").click(function(){
43
  var group_index = jQuery(this).closest(".saswp-placement-group").attr('data-id');
45
  nextId = jQuery(this).parents("tbody").find("tr").length;
46
  selectrow = selectrow.replace(/\[0\]/g, "["+nextId+"]");
47
  selectrow = selectrow.replace(/\[group-0\]/g, "[group-"+group_index+"]");
48
+ jQuery(this).parents("tr").after(selectrow);removeHtml();clone();saswp_select2();
49
  });
50
  }
51
  var removeHtml = function(){
66
 
67
  });
68
  }
69
+
70
  jQuery(document).ready(function($){
71
 
72
  $('#saswp-dayofweek-opens-time').timepicker({ 'timeFormat': 'H:i:s'});
92
  $(".saswp-placement-group[data-id="+(group_index-1)+"]").after(html);
93
  group_index++;
94
  clone();
95
+ removeHtml();
96
+ saswp_select2();
97
  });
98
 
99
  var selectrow = $("#saswp_amp_select").find("table.widefat tr").html();
100
  $("body").append("<script type='template/html' id='call_html_template_sdwp'><tr class='toclone cloneya'>"+selectrow+"</tr>");
101
+ clone();
102
  removeHtml();
103
+ saswp_select2();
104
  $(document).on("change", ".select-post-type", function(){
105
  var current_change = $(this);
106
  var parent = $(this).parents('tr').find(".insert-ajax-select");
116
  var saswp_call_nonce = jQuery("#saswp_select_name_nonce").val();
117
 
118
  parent.find(".ajax-output").remove();
119
+ parent.find(".select2-container").remove();
120
  parent.find(".ajax-output-child").remove();
121
  parent.find(".spinner").attr("style","visibility:visible");
122
  parent.children(".spinner").addClass("show");
123
+ var ajaxURL = saswp_localize_data.ajax_url;
124
  var group_index = jQuery(this).closest(".saswp-placement-group").attr('data-id');
125
  //ajax call
126
  $.ajax({
137
  },
138
  success: function(data){
139
  // This code is added twice " withThis.find('.ajax-output').remove(); "
140
+ parent.find(".ajax-output").remove();
141
+ parent.find(".select2-container").remove();
142
  parent.children(".spinner").removeClass("show");
143
  parent.find(".spinner").attr("style","visibility:hidden").hide();
144
  parent.append(data);
145
+ taxonomyDataCall();
146
+ saswp_select2();
147
+ parent.find(".ajax-output").change();
148
  },
149
  error: function(data){
150
  console.log("Failed Ajax Request");
186
  parentSelector.find(".spinner").attr("style","visibility:visible");
187
  parentSelector.children(".spinner").addClass("show");
188
 
189
+ var ajaxURL = saswp_localize_data.ajax_url;
190
  var group_index = jQuery(this).closest(".saswp-placement-group").attr('data-id');
191
  //ajax call
192
  jQuery.ajax({
203
  },
204
  success: function(data){
205
  // This code is added twice " withThis.find('.ajax-output').remove(); "
206
+ parentSelector.find(".ajax-output-child").remove();
207
+ parentSelector.find(".select2-container").next().remove();
208
  parentSelector.children(".spinner").removeClass("show");
209
  parentSelector.find(".spinner").attr("style","visibility:hidden").hide();
210
+ parentSelector.append(data);
211
+ saswp_select2();
212
  },
213
  error: function(data){
214
  console.log("Failed Ajax Request");
admin_section/js/structure_admin.min.js CHANGED
@@ -1 +1 @@
1
- var clone=function(){jQuery(".structured-clone").off("click").click(function(){var e=jQuery(this).closest(".saswp-placement-group").attr("data-id"),t=jQuery(document).find("#call_html_template_sdwp").html();nextId=jQuery(this).parents("tbody").find("tr").length,t=(t=t.replace(/\[0\]/g,"["+nextId+"]")).replace(/\[group-0\]/g,"[group-"+e+"]"),jQuery(this).parents("tr").after(t),removeHtml(),clone()})},removeHtml=function(){jQuery(".structured-delete").off("click").click(function(){1==jQuery(".saswp-placement-group").length?jQuery(this).parents("tbody").find("tr").length>1&&jQuery(this).parents("tr").remove():1==jQuery(this).parents("tbody").find("tr").length?jQuery(this).parents(".saswp-placement-group").remove():jQuery(this).parents("tr").remove()})};function taxonomyDataCall(){jQuery("select.ajax-output").change(function(){if("ef_taxonomy"==jQuery(this).closest("tr").find(".select-post-type").val()){parentSelector=jQuery(this).parents("td").find(".insert-ajax-select");var e=jQuery(this).val(),t=jQuery(this).attr("name").split("[")[1].replace("]",""),a=jQuery("#saswp_select_name_nonce").val();parentSelector.find(".ajax-output-child").remove(),parentSelector.find(".spinner").attr("style","visibility:visible"),parentSelector.children(".spinner").addClass("show");var s=saswp_app_object.ajax_url,r=jQuery(this).closest(".saswp-placement-group").attr("data-id");jQuery.ajax({url:s,method:"POST",data:{action:"create_ajax_select_sdwp_taxonomy",id:e,number:t,group_number:r,saswp_call_nonce:a},beforeSend:function(){},success:function(e){parentSelector.find(".ajax-output-child").remove(),parentSelector.children(".spinner").removeClass("show"),parentSelector.find(".spinner").attr("style","visibility:hidden").hide(),parentSelector.append(e),taxonomyDataCall()},error:function(e){console.log("Failed Ajax Request"),console.log(e)}})}})}jQuery(document).ready(function(e){e("#saswp-dayofweek-opens-time").timepicker({timeFormat:"H:i:s"}),e("#saswp-dayofweek-closes-time").timepicker({timeFormat:"H:i:s"}),e(".saswp-placement-or-group").on("click",function(t){t.preventDefault();var a="",s=(a=e(".saswp-placement-group").length,jQuery(document).find("#call_html_template_sdwp").html()),r="";r+='<table class="widefat saswp-placement-table" style="border:0px;">',r+=s=s.replace(/\[group-0\]/g,"[group-"+a+"]");var n="";n+='<div class="saswp-placement-group" name="data_group_array['+a+']" data-id="'+a+'">',n+='<span style="margin-left:10px;font-weight:600">Or</span>',n+=r+="</table>",n+="</div>",e(".saswp-placement-group[data-id="+(a-1)+"]").after(n),a++,clone(),removeHtml()});var t=e("#saswp_amp_select").find("table.widefat tr").html();e("body").append("<script type='template/html' id='call_html_template_sdwp'><tr class='toclone cloneya'>"+t+"</tr>"),clone(),removeHtml(),e(document).on("change",".select-post-type",function(){var t=e(this),a=e(this).parents("tr").find(".insert-ajax-select"),s=e(this).val(),r=[1,2,3,4];if("show_globally"!=s){e.each(r,function(a,s){e(t).closest("tr").find("td").eq(s).show()});var n=e(this).attr("class").split(" ")[2],l=jQuery("#saswp_select_name_nonce").val();a.find(".ajax-output").remove(),a.find(".ajax-output-child").remove(),a.find(".spinner").attr("style","visibility:visible"),a.children(".spinner").addClass("show");var o=saswp_app_object.ajax_url,i=jQuery(this).closest(".saswp-placement-group").attr("data-id");e.ajax({url:o,method:"POST",data:{action:"create_ajax_select_sdwp",id:s,number:n,group_number:i,saswp_call_nonce:l},beforeSend:function(){},success:function(e){a.find(".ajax-output").remove(),a.children(".spinner").removeClass("show"),a.find(".spinner").attr("style","visibility:hidden").hide(),a.append(e),taxonomyDataCall()},error:function(e){console.log("Failed Ajax Request"),console.log(e)}})}else e.each(r,function(a,s){e(t).closest("tr").find("td").eq(s).hide()})}),taxonomyDataCall(),e("#notAccessibleForFree").click(function(){e(this).is(":checked")?(e("#paywall_class_name").parents("tr").show(),e("#isAccessibleForFree").parents("tr").show()):(e("#paywall_class_name").parents("tr").hide(),e("#isAccessibleForFree").parents("tr").hide())})});
1
+ function saswp_select2(){var e=jQuery(".saswp-select2");e.length>0&&jQuery(e).each(function(e,t){var a=jQuery(this),s=jQuery("option[value]:not([selected])",a),r=[];s.each(function(){var e=jQuery(this);r.push({id:e.attr("value"),text:e.text()})});var n=a.attr("data-type"),l=ajaxurl+"?action=saswp_get_select2_data&saswp_security_nonce="+saswp_localize_data.saswp_security_nonce+"&type="+n;a.select2({ajax:{url:l,delay:250,cache:!1},minimumInputLength:2,minimumResultsForSearch:50,dataAdapter:jQuery.fn.select2.amd.require("select2/data/extended-ajax"),defaultResults:r})})}var clone=function(){jQuery(".structured-clone").off("click").click(function(){var e=jQuery(this).closest(".saswp-placement-group").attr("data-id"),t=jQuery(document).find("#call_html_template_sdwp").html();nextId=jQuery(this).parents("tbody").find("tr").length,t=(t=t.replace(/\[0\]/g,"["+nextId+"]")).replace(/\[group-0\]/g,"[group-"+e+"]"),jQuery(this).parents("tr").after(t),removeHtml(),clone(),saswp_select2()})},removeHtml=function(){jQuery(".structured-delete").off("click").click(function(){1==jQuery(".saswp-placement-group").length?jQuery(this).parents("tbody").find("tr").length>1&&jQuery(this).parents("tr").remove():1==jQuery(this).parents("tbody").find("tr").length?jQuery(this).parents(".saswp-placement-group").remove():jQuery(this).parents("tr").remove()})};function taxonomyDataCall(){jQuery("select.ajax-output").change(function(){if("ef_taxonomy"==jQuery(this).closest("tr").find(".select-post-type").val()){parentSelector=jQuery(this).parents("td").find(".insert-ajax-select");var e=jQuery(this).val(),t=jQuery(this).attr("name").split("[")[1].replace("]",""),a=jQuery("#saswp_select_name_nonce").val();parentSelector.find(".ajax-output-child").remove(),parentSelector.find(".spinner").attr("style","visibility:visible"),parentSelector.children(".spinner").addClass("show");var s=saswp_localize_data.ajax_url,r=jQuery(this).closest(".saswp-placement-group").attr("data-id");jQuery.ajax({url:s,method:"POST",data:{action:"create_ajax_select_sdwp_taxonomy",id:e,number:t,group_number:r,saswp_call_nonce:a},beforeSend:function(){},success:function(e){parentSelector.find(".ajax-output-child").remove(),parentSelector.find(".select2-container").next().remove(),parentSelector.children(".spinner").removeClass("show"),parentSelector.find(".spinner").attr("style","visibility:hidden").hide(),parentSelector.append(e),saswp_select2()},error:function(e){console.log("Failed Ajax Request"),console.log(e)}})}})}jQuery(document).ready(function(e){e("#saswp-dayofweek-opens-time").timepicker({timeFormat:"H:i:s"}),e("#saswp-dayofweek-closes-time").timepicker({timeFormat:"H:i:s"}),e(".saswp-placement-or-group").on("click",function(t){t.preventDefault();var a="",s=(a=e(".saswp-placement-group").length,jQuery(document).find("#call_html_template_sdwp").html()),r="";r+='<table class="widefat saswp-placement-table" style="border:0px;">',r+=s=s.replace(/\[group-0\]/g,"[group-"+a+"]");var n="";n+='<div class="saswp-placement-group" name="data_group_array['+a+']" data-id="'+a+'">',n+='<span style="margin-left:10px;font-weight:600">Or</span>',n+=r+="</table>",n+="</div>",e(".saswp-placement-group[data-id="+(a-1)+"]").after(n),a++,clone(),removeHtml(),saswp_select2()});var t=e("#saswp_amp_select").find("table.widefat tr").html();e("body").append("<script type='template/html' id='call_html_template_sdwp'><tr class='toclone cloneya'>"+t+"</tr>"),clone(),removeHtml(),saswp_select2(),e(document).on("change",".select-post-type",function(){var t=e(this),a=e(this).parents("tr").find(".insert-ajax-select"),s=e(this).val(),r=[1,2,3,4];if("show_globally"!=s){e.each(r,function(a,s){e(t).closest("tr").find("td").eq(s).show()});var n=e(this).attr("class").split(" ")[2],l=jQuery("#saswp_select_name_nonce").val();a.find(".ajax-output").remove(),a.find(".select2-container").remove(),a.find(".ajax-output-child").remove(),a.find(".spinner").attr("style","visibility:visible"),a.children(".spinner").addClass("show");var i=saswp_localize_data.ajax_url,c=jQuery(this).closest(".saswp-placement-group").attr("data-id");e.ajax({url:i,method:"POST",data:{action:"create_ajax_select_sdwp",id:s,number:n,group_number:c,saswp_call_nonce:l},beforeSend:function(){},success:function(e){a.find(".ajax-output").remove(),a.find(".select2-container").remove(),a.children(".spinner").removeClass("show"),a.find(".spinner").attr("style","visibility:hidden").hide(),a.append(e),taxonomyDataCall(),saswp_select2(),a.find(".ajax-output").change()},error:function(e){console.log("Failed Ajax Request"),console.log(e)}})}else e.each(r,function(a,s){e(t).closest("tr").find("td").eq(s).hide()})}),taxonomyDataCall(),e("#notAccessibleForFree").click(function(){e(this).is(":checked")?(e("#paywall_class_name").parents("tr").show(),e("#isAccessibleForFree").parents("tr").show()):(e("#paywall_class_name").parents("tr").hide(),e("#isAccessibleForFree").parents("tr").hide())})});
admin_section/settings.php CHANGED
@@ -813,19 +813,33 @@ function saswp_general_page_callback(){
813
  </label>
814
  </div>
815
  <div>
816
- <div class="saswp-about-contact-page">
817
-
818
  <label for="sd_about_page-select">
819
- <?php
820
- echo wp_dropdown_pages( array(
821
- 'name' => 'sd_data[sd_about_page]',
822
- 'id' => 'sd_about_page',
823
- 'echo' => 0,
824
- 'show_option_none' => esc_html__( 'Select a Page', 'schema-and-structured-data-for-wp' ),
825
- 'option_none_value' => '',
826
- 'selected' => isset($settings['sd_about_page']) ? esc_attr($settings['sd_about_page']) : '',
827
- )); ?>
828
- </label>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
829
  </div>
830
  </div>
831
  </li>
@@ -836,19 +850,35 @@ function saswp_general_page_callback(){
836
  </label>
837
  </div>
838
  <div>
839
- <div class="saswp-about-contact-page">
840
- <label for="sd_contact_page-select">
841
- <?php echo wp_dropdown_pages( array(
842
- 'name' => 'sd_data[sd_contact_page]',
843
- 'id' => 'sd_contact_page-select',
844
- 'echo' => 0,
845
- 'show_option_none' => esc_html( 'Select a Page', 'schema-and-structured-data-for-wp' ),
846
- 'option_none_value' => '',
847
- 'selected' => isset($settings['sd_contact_page']) ? esc_attr($settings['sd_contact_page']) : '',
848
- )); ?>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
849
  </label>
 
850
  </div>
851
- </div>
852
  </li>
853
  </ul>
854
  </div>
@@ -2965,8 +2995,13 @@ function saswp_enqueue_style_js( $hook ) {
2965
 
2966
  wp_enqueue_script('thickbox');
2967
  wp_enqueue_style('thickbox');
 
 
 
 
 
2968
 
2969
- wp_enqueue_script( 'saswp-timepicker-js', SASWP_PLUGIN_URL . 'admin_section/js/jquery.timepicker.js', false, SASWP_VERSION);
2970
  wp_enqueue_style( 'saswp-timepicker-css', SASWP_PLUGIN_URL . 'admin_section/css/jquery.timepicker.css', false , SASWP_VERSION );
2971
 
2972
  wp_enqueue_script( 'jquery-ui-datepicker' );
@@ -2984,6 +3019,7 @@ function saswp_enqueue_style_js( $hook ) {
2984
  wp_enqueue_style( 'saswp-main-css', SASWP_PLUGIN_URL . 'admin_section/css/'.(SASWP_ENVIRONMENT == 'production' ? 'main-style.min.css' : 'main-style.css'), false , SASWP_VERSION );
2985
 
2986
  wp_style_add_data( 'saswp-main-css', 'rtl', 'replace' );
 
2987
 
2988
  }
2989
 
813
  </label>
814
  </div>
815
  <div>
816
+ <div class="saswp-about-contact-page">
817
+
818
  <label for="sd_about_page-select">
819
+ <select data-type="page" class="saswp-select2" name="sd_data[sd_about_page]" id="sd_about_page">
820
+ <?php
821
+ $saved_choices = array();
822
+ $choices = saswp_get_condition_list('page');
823
+
824
+ if ( isset($settings['sd_about_page']) && $settings['sd_about_page'] != '' ) {
825
+ $saved_choices = saswp_get_condition_list('page', '', $settings['sd_about_page']);
826
+ }
827
+
828
+ $html_str = '';
829
+ foreach ($choices as $value) {
830
+ $html_str .= '<option value="'.esc_attr($value['id']).'">'.esc_html($value['text']).'</option>';
831
+ }
832
+ if($saved_choices){
833
+ foreach($saved_choices as $value){
834
+ $html_str .= '<option value="' . esc_attr($value['id']) .'" selected> ' . esc_html__($value['text'], 'schema-and-structured-data-for-wp') .'</option>';
835
+ }
836
+ }
837
+
838
+ echo $html_str;
839
+ ?>
840
+ </select>
841
+ </label>
842
+
843
  </div>
844
  </div>
845
  </li>
850
  </label>
851
  </div>
852
  <div>
853
+ <div class="saswp-about-contact-page">
854
+
855
+ <label for="sd_contact_page-select">
856
+ <select data-type="page" class="saswp-select2" name="sd_data[sd_contact_page]" id="sd_contact_page">
857
+ <?php
858
+ $saved_choices = array();
859
+ $choices = saswp_get_condition_list('page');
860
+
861
+ if ( isset($settings['sd_contact_page']) && $settings['sd_contact_page'] != '' ) {
862
+ $saved_choices = saswp_get_condition_list('page', '', $settings['sd_contact_page']);
863
+ }
864
+
865
+ $html_str = '';
866
+ foreach ($choices as $value) {
867
+ $html_str .= '<option value="'.esc_attr($value['id']).'">'.esc_html($value['text']).'</option>';
868
+ }
869
+ if($saved_choices){
870
+ foreach($saved_choices as $value){
871
+ $html_str .= '<option value="' . esc_attr($value['id']) .'" selected> ' . esc_html__($value['text'], 'schema-and-structured-data-for-wp') .'</option>';
872
+ }
873
+ }
874
+
875
+ echo $html_str;
876
+ ?>
877
+ </select>
878
  </label>
879
+
880
  </div>
881
+ </div>
882
  </li>
883
  </ul>
884
  </div>
2995
 
2996
  wp_enqueue_script('thickbox');
2997
  wp_enqueue_style('thickbox');
2998
+
2999
+
3000
+ wp_enqueue_style('saswp-select2-style', SASWP_PLUGIN_URL. 'admin_section/css/select2.min.css' , false, SASWP_VERSION);
3001
+ wp_enqueue_script('saswp-select2-script', SASWP_PLUGIN_URL. 'admin_section/js/select2.min.js', array( 'jquery', 'jquery-core', 'jquery-ui-core' ), SASWP_VERSION);
3002
+ wp_enqueue_script('saswp-select2-extended-script', SASWP_PLUGIN_URL. 'admin_section/js/select2-extended.min.js', false, SASWP_VERSION);
3003
 
3004
+ wp_enqueue_script( 'saswp-timepicker-js', SASWP_PLUGIN_URL . 'admin_section/js/jquery.timepicker.js', array( 'jquery', 'jquery-core', 'jquery-ui-core' ), SASWP_VERSION);
3005
  wp_enqueue_style( 'saswp-timepicker-css', SASWP_PLUGIN_URL . 'admin_section/css/jquery.timepicker.css', false , SASWP_VERSION );
3006
 
3007
  wp_enqueue_script( 'jquery-ui-datepicker' );
3019
  wp_enqueue_style( 'saswp-main-css', SASWP_PLUGIN_URL . 'admin_section/css/'.(SASWP_ENVIRONMENT == 'production' ? 'main-style.min.css' : 'main-style.css'), false , SASWP_VERSION );
3020
 
3021
  wp_style_add_data( 'saswp-main-css', 'rtl', 'replace' );
3022
+
3023
 
3024
  }
3025
 
admin_section/structure_admin.php CHANGED
@@ -540,15 +540,21 @@ function saswp_comparison_logic_checker($input){
540
  case 'ef_taxonomy':
541
  // Get all the post registered taxonomies
542
  // Get the list of all the taxonomies associated with current post
543
- $taxonomy_names = get_post_taxonomies( $post->ID );
544
 
 
 
 
 
545
  $checker = '';
546
  $post_terms = '';
547
 
548
  if ( $data != 'all') {
549
 
550
- $post_terms = wp_get_post_terms($post->ID, $data);
551
-
 
 
552
  if(isset( $input['key_4'] ) && $input['key_4'] !='all'){
553
 
554
  $term_data = $input['key_4'];
@@ -769,12 +775,13 @@ if(is_admin()){
769
  <select class="widefat select-post-type <?php echo esc_attr( $i );?>" name="data_group_array[group-<?php echo esc_attr( $j) ?>][data_array][<?php echo esc_attr( $i) ?>][key_1]">
770
  <?php
771
  foreach ($choices as $choice_key => $choice_value) { ?>
772
- <option disabled class="pt-heading" value="<?php echo esc_attr($choice_key);?>"> <?php echo esc_html__($choice_key,'schema-and-structured-data-for-wp');?> </option>
773
  <?php
774
  foreach ($choice_value as $sub_key => $sub_value) { ?>
775
  <option class="pt-child" value="<?php echo esc_attr( $sub_key );?>" <?php selected( $selected_val_key_1, $sub_key );?> > <?php echo esc_html__($sub_value,'schema-and-structured-data-for-wp');?> </option>
776
  <?php
777
  }
 
778
  } ?>
779
  </select>
780
  </td>
@@ -883,6 +890,7 @@ function saswp_dequeue_script() {
883
 
884
  wp_enqueue_style('saswp-select2-style', SASWP_PLUGIN_URL. 'admin_section/css/select2.min.css' , false, SASWP_VERSION);
885
  wp_enqueue_script('saswp-select2-script', SASWP_PLUGIN_URL. 'admin_section/js/select2.min.js', false, SASWP_VERSION);
 
886
 
887
  }
888
  //Enque select 2 script ends here
@@ -1827,4 +1835,27 @@ function saswp_save_nav_menu_in_transient($menu_id){
1827
  $menuItems = wp_get_nav_menu_items($menu_id);
1828
  set_transient('saswp_nav_menu', $menuItems);
1829
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1830
  }
540
  case 'ef_taxonomy':
541
  // Get all the post registered taxonomies
542
  // Get the list of all the taxonomies associated with current post
543
+ $taxonomy_names = '';
544
 
545
+ if(is_object($post)){
546
+ $taxonomy_names = get_post_taxonomies( $post->ID );
547
+ }
548
+
549
  $checker = '';
550
  $post_terms = '';
551
 
552
  if ( $data != 'all') {
553
 
554
+ if(is_object($post)){
555
+ $post_terms = wp_get_post_terms($post->ID, $data);
556
+ }
557
+
558
  if(isset( $input['key_4'] ) && $input['key_4'] !='all'){
559
 
560
  $term_data = $input['key_4'];
775
  <select class="widefat select-post-type <?php echo esc_attr( $i );?>" name="data_group_array[group-<?php echo esc_attr( $j) ?>][data_array][<?php echo esc_attr( $i) ?>][key_1]">
776
  <?php
777
  foreach ($choices as $choice_key => $choice_value) { ?>
778
+ <optgroup label="<?php echo esc_attr($choice_key);?>">
779
  <?php
780
  foreach ($choice_value as $sub_key => $sub_value) { ?>
781
  <option class="pt-child" value="<?php echo esc_attr( $sub_key );?>" <?php selected( $selected_val_key_1, $sub_key );?> > <?php echo esc_html__($sub_value,'schema-and-structured-data-for-wp');?> </option>
782
  <?php
783
  }
784
+ ?> </optgroup > <?php
785
  } ?>
786
  </select>
787
  </td>
890
 
891
  wp_enqueue_style('saswp-select2-style', SASWP_PLUGIN_URL. 'admin_section/css/select2.min.css' , false, SASWP_VERSION);
892
  wp_enqueue_script('saswp-select2-script', SASWP_PLUGIN_URL. 'admin_section/js/select2.min.js', false, SASWP_VERSION);
893
+ wp_enqueue_script('saswp-select2-extended-script', SASWP_PLUGIN_URL. 'admin_section/js/select2-extended.min.js', false, SASWP_VERSION);
894
 
895
  }
896
  //Enque select 2 script ends here
1835
  $menuItems = wp_get_nav_menu_items($menu_id);
1836
  set_transient('saswp_nav_menu', $menuItems);
1837
 
1838
+ }
1839
+
1840
+ add_action( 'wp_ajax_saswp_get_select2_data', 'saswp_get_select2_data');
1841
+
1842
+ function saswp_get_select2_data(){
1843
+
1844
+ if ( ! isset( $_GET['saswp_security_nonce'] ) ){
1845
+ return;
1846
+ }
1847
+ if ( (wp_verify_nonce( $_GET['saswp_security_nonce'], 'saswp_ajax_check_nonce' ) ) || (wp_verify_nonce( $_GET['saswp_security_nonce'], 'saswp_add_new_nonce' ) )){
1848
+
1849
+ $search = isset( $_GET['q'] ) ? sanitize_text_field( $_GET['q'] ) : '';
1850
+ $type = isset( $_GET['type'] ) ? sanitize_text_field( $_GET['type'] ) : '';
1851
+
1852
+ $result = saswp_get_condition_list($type, $search);
1853
+
1854
+ wp_send_json( $result );
1855
+
1856
+ }else{
1857
+ return;
1858
+ }
1859
+
1860
+ wp_die();
1861
  }
modules/reviews/reviews_form.php CHANGED
@@ -44,7 +44,7 @@ class SASWP_Reviews_Form {
44
 
45
  global $post;
46
 
47
- if(function_exists('ampforwp_is_amp_endpoint')){
48
 
49
  if(preg_match( '/\[saswp\-reviews\-form\]/', $post->post_content, $match ) || preg_match( '/\[saswp\-reviews\-form onbutton\=\"1\"\]/', $post->post_content, $match )){
50
 
44
 
45
  global $post;
46
 
47
+ if( function_exists('ampforwp_is_amp_endpoint') && is_object($post) ){
48
 
49
  if(preg_match( '/\[saswp\-reviews\-form\]/', $post->post_content, $match ) || preg_match( '/\[saswp\-reviews\-form onbutton\=\"1\"\]/', $post->post_content, $match )){
50
 
output/function.php CHANGED
@@ -454,6 +454,12 @@ function saswp_get_all_schema_markup_output() {
454
  }
455
  if(in_array('BlogPosting', $output_schema_type_id) || in_array('Article', $output_schema_type_id) || in_array('TechArticle', $output_schema_type_id) || in_array('NewsArticle', $output_schema_type_id) ){
456
  }else{
 
 
 
 
 
 
457
  if(!empty($kb_website_output)){
458
 
459
  $output .= saswp_json_print_format($kb_website_output);
454
  }
455
  if(in_array('BlogPosting', $output_schema_type_id) || in_array('Article', $output_schema_type_id) || in_array('TechArticle', $output_schema_type_id) || in_array('NewsArticle', $output_schema_type_id) ){
456
  }else{
457
+ if(!empty($site_navigation)){
458
+
459
+ $output .= saswp_json_print_format($site_navigation);
460
+ $output .= ",";
461
+ $output .= "\n\n";
462
+ }
463
  if(!empty($kb_website_output)){
464
 
465
  $output .= saswp_json_print_format($kb_website_output);
output/output.php CHANGED
@@ -886,13 +886,9 @@ function saswp_schema_output() {
886
  '@id' => trailingslashit(saswp_get_permalink()).'#Organization',
887
  'url' => trailingslashit(saswp_get_permalink()),
888
  'description' => saswp_get_the_excerpt(),
889
- 'name' => saswp_get_the_title(),
890
- );
891
-
892
- if(isset($sd_data['saswp_comments_schema']) && $sd_data['saswp_comments_schema'] == 1){
893
- $input1['comment'] = saswp_get_comments(get_the_ID());
894
- }
895
-
896
  $input1 = saswp_append_fetched_reviews($input1, $schema_post_id);
897
 
898
  $input1 = apply_filters('saswp_modify_organization_schema_output', $input1 );
886
  '@id' => trailingslashit(saswp_get_permalink()).'#Organization',
887
  'url' => trailingslashit(saswp_get_permalink()),
888
  'description' => saswp_get_the_excerpt(),
889
+ 'name' => saswp_get_the_title()
890
+ );
891
+
 
 
 
 
892
  $input1 = saswp_append_fetched_reviews($input1, $schema_post_id);
893
 
894
  $input1 = apply_filters('saswp_modify_organization_schema_output', $input1 );
output/service.php CHANGED
@@ -381,7 +381,7 @@ Class saswp_output_service{
381
  $review_markup['name'] = $custom_fields['saswp_review_name'];
382
  }
383
  if(isset($custom_fields['saswp_review_url'])){
384
- $review_markup['url'] = $custom_fields['saswp_review_url'];
385
  }
386
  if(isset($custom_fields['saswp_review_description'])){
387
  $review_markup['description'] = $custom_fields['saswp_review_description'];
@@ -395,7 +395,7 @@ Class saswp_output_service{
395
  if(isset($custom_fields['saswp_review_publisher'])){
396
  $review_markup['publisher']['@type'] = 'Organization';
397
  $review_markup['publisher']['name'] = $custom_fields['saswp_review_publisher'];
398
- if(isset($custom_fields['saswp_review_publisher_url'])){
399
  $review_markup['publisher']['sameAs'] = array($custom_fields['saswp_review_publisher_url']);
400
  }
401
  }
@@ -403,7 +403,7 @@ Class saswp_output_service{
403
  $review_markup['author']['@type'] = 'Person';
404
  $review_markup['author']['name'] = $custom_fields['saswp_review_author'];
405
 
406
- if(isset($custom_fields['saswp_review_author_url'])){
407
  $review_markup['author']['sameAs'] = array($custom_fields['saswp_review_author_url']);
408
  }
409
  }
@@ -440,13 +440,13 @@ Class saswp_output_service{
440
  $input1['description'] = wp_strip_all_tags(strip_shortcodes( $custom_fields['saswp_book_description'] ));
441
  }
442
  if(isset($custom_fields['saswp_book_url'])){
443
- $input1['url'] = $custom_fields['saswp_book_url'];
444
  }
445
  if(isset($custom_fields['saswp_book_author'])){
446
  $input1['author']['@type'] = 'Person';
447
  $input1['author']['name'] = $custom_fields['saswp_book_author'];
448
 
449
- if(isset($custom_fields['saswp_book_author_url'])){
450
  $input1['author']['sameAs'] = array($custom_fields['saswp_book_author_url']);
451
  }
452
 
@@ -491,7 +491,7 @@ Class saswp_output_service{
491
  $input1['description'] = wp_strip_all_tags(strip_shortcodes( $custom_fields['saswp_music_playlist_description'] )) ;
492
  }
493
  if(isset($custom_fields['saswp_music_playlist_url'])){
494
- $input1['url'] = $custom_fields['saswp_music_playlist_url'];
495
  }
496
 
497
  break;
@@ -505,8 +505,8 @@ Class saswp_output_service{
505
  $input1['description'] = wp_strip_all_tags(strip_shortcodes( $custom_fields['saswp_movie_description'] )) ;
506
  }
507
  if(isset($custom_fields['saswp_movie_url'])){
508
- $input1['url'] = $custom_fields['saswp_movie_url'];
509
- $input1['sameAs'] = $custom_fields['saswp_movie_url'];
510
  }
511
  if(isset($custom_fields['saswp_movie_image'])){
512
  $input1['image'] = $custom_fields['saswp_movie_image'];
@@ -535,7 +535,7 @@ Class saswp_output_service{
535
  $input1['description'] = wp_strip_all_tags(strip_shortcodes( $custom_fields['saswp_music_composition_description'] )) ;
536
  }
537
  if(isset($custom_fields['saswp_music_composition_url'])){
538
- $input1['url'] = $custom_fields['saswp_music_composition_url'];
539
  }
540
  if(isset($custom_fields['saswp_music_composition_inlanguage'])){
541
  $input1['inLanguage'] = $custom_fields['saswp_music_composition_inlanguage'];
@@ -565,7 +565,7 @@ Class saswp_output_service{
565
  $input1['description'] = $custom_fields['saswp_organization_description'];
566
  }
567
  if(isset($custom_fields['saswp_organization_url'])){
568
- $input1['url'] = $custom_fields['saswp_organization_url'];
569
  }
570
  if(isset($custom_fields['saswp_organization_street_address'])){
571
  $input1['address']['streetAddress'] = $custom_fields['saswp_organization_street_address'];
@@ -647,7 +647,7 @@ Class saswp_output_service{
647
  $input1['name'] = $custom_fields['saswp_music_album_name'];
648
  }
649
  if(isset($custom_fields['saswp_music_album_url'])){
650
- $input1['url'] = $custom_fields['saswp_music_album_url'];
651
  }
652
  if(isset($custom_fields['saswp_music_album_description'])){
653
  $input1['description'] = wp_strip_all_tags(strip_shortcodes( $custom_fields['saswp_music_album_description'] ));
@@ -674,7 +674,7 @@ Class saswp_output_service{
674
  $input1['image'] = $custom_fields['saswp_article_image'];
675
  }
676
  if(isset($custom_fields['saswp_article_url'])){
677
- $input1['url'] = $custom_fields['saswp_article_url'];
678
  }
679
  if(isset($custom_fields['saswp_article_body'])){
680
  $input1['articleBody'] = $custom_fields['saswp_article_body'];
@@ -722,7 +722,7 @@ Class saswp_output_service{
722
  '@type' => $custom_fields['saswp_special_announcement_location_type'],
723
  'name' => $custom_fields['saswp_special_announcement_location_name'],
724
  'image' => $custom_fields['saswp_special_announcement_location_image'],
725
- 'url' => $custom_fields['saswp_special_announcement_location_url'],
726
  'telephone' => $custom_fields['saswp_special_announcement_location_telephone'],
727
  'priceRange' => $custom_fields['saswp_special_announcement_location_price_range'],
728
  'address' => array(
@@ -751,7 +751,7 @@ Class saswp_output_service{
751
  $input1['image'] = $custom_fields['saswp_special_announcement_image'];
752
  }
753
  if(isset($custom_fields['saswp_special_announcement_url'])){
754
- $input1['url'] = $custom_fields['saswp_special_announcement_url'];
755
  }
756
  if(isset($custom_fields['saswp_special_announcement_keywords'])){
757
  $input1['keywords'] = $custom_fields['saswp_special_announcement_keywords'];
@@ -836,7 +836,7 @@ Class saswp_output_service{
836
  $input1['name'] = $custom_fields['local_business_name'];
837
  }
838
  if(isset($custom_fields['local_business_name_url'])){
839
- $input1['url'] = $custom_fields['local_business_name_url'];
840
  }
841
  if(isset($custom_fields['local_business_logo'])){
842
  $input1['image'] = $custom_fields['local_business_logo'];
@@ -917,7 +917,7 @@ Class saswp_output_service{
917
  $input1['name'] = $custom_fields['saswp_blogposting_name'];
918
  }
919
  if(isset($custom_fields['saswp_blogposting_url'])){
920
- $input1['url'] = $custom_fields['saswp_blogposting_url'];
921
  }
922
  if(isset($custom_fields['saswp_blogposting_date_published'])){
923
  $input1['datePublished'] = $custom_fields['saswp_blogposting_date_published'];
@@ -953,7 +953,7 @@ Class saswp_output_service{
953
  $input1['description'] = wp_strip_all_tags(strip_shortcodes( $custom_fields['saswp_audio_schema_description'] ));
954
  }
955
  if(isset($custom_fields['saswp_audio_schema_contenturl'])){
956
- $input1['contentUrl'] = $custom_fields['saswp_audio_schema_contenturl'];
957
  }
958
  if(isset($custom_fields['saswp_audio_schema_duration'])){
959
  $input1['duration'] = $custom_fields['saswp_audio_schema_duration'];
@@ -975,7 +975,7 @@ Class saswp_output_service{
975
  $input1['author']['description'] = $custom_fields['saswp_audio_schema_author_description'];
976
  }
977
  if(isset($custom_fields['saswp_audio_schema_author_url'])){
978
- $input1['author']['url'] = $custom_fields['saswp_audio_schema_author_url'];
979
  }
980
 
981
  break;
@@ -1060,7 +1060,7 @@ Class saswp_output_service{
1060
  $input1['mainEntityOfPage'] = $custom_fields['saswp_newsarticle_main_entity_of_page'];
1061
  }
1062
  if(isset($custom_fields['saswp_newsarticle_URL'])){
1063
- $input1['url'] = $custom_fields['saswp_newsarticle_URL'];
1064
  }
1065
  if(isset($custom_fields['saswp_newsarticle_headline'])){
1066
  $input1['headline'] = $custom_fields['saswp_newsarticle_headline'];
@@ -1099,7 +1099,7 @@ Class saswp_output_service{
1099
  $input1['author']['name'] = $custom_fields['saswp_newsarticle_author_name'];
1100
  }
1101
  if(isset($custom_fields['saswp_newsarticle_author_url'])){
1102
- $input1['author']['url'] = $custom_fields['saswp_newsarticle_author_url'];
1103
  }
1104
  if(isset($custom_fields['saswp_newsarticle_author_image'])){
1105
  $input1['author']['Image']['url'] = $custom_fields['saswp_newsarticle_author_image'];
@@ -1118,7 +1118,7 @@ Class saswp_output_service{
1118
  $input1['name'] = $custom_fields['saswp_webpage_name'];
1119
  }
1120
  if(isset($custom_fields['saswp_webpage_url'])){
1121
- $input1['url'] = $custom_fields['saswp_webpage_url'];
1122
  }
1123
  if(isset($custom_fields['saswp_webpage_description'])){
1124
  $input1['description'] = wp_strip_all_tags(strip_shortcodes( $custom_fields['saswp_webpage_description'] )) ;
@@ -1133,7 +1133,7 @@ Class saswp_output_service{
1133
  }
1134
 
1135
  if(isset($custom_fields['saswp_webpage_main_entity_of_page'])){
1136
- $input1['mainEntity']['mainEntityOfPage'] = wp_strip_all_tags(strip_shortcodes($custom_fields['saswp_webpage_main_entity_of_page']));
1137
  }
1138
  if(isset($custom_fields['saswp_webpage_image'])){
1139
  $input1['mainEntity']['image'] = $custom_fields['saswp_webpage_image'];
@@ -1308,7 +1308,7 @@ Class saswp_output_service{
1308
  $input1['image'] = $custom_fields['saswp_tech_article_image'];
1309
  }
1310
  if(isset($custom_fields['saswp_tech_article_url'])){
1311
- $input1['url'] = $custom_fields['saswp_tech_article_url'];
1312
  }
1313
  if(isset($custom_fields['saswp_tech_article_body'])){
1314
  $input1['articleBody'] = $custom_fields['saswp_tech_article_body'];
@@ -1337,7 +1337,7 @@ Class saswp_output_service{
1337
  $input1['author']['name'] = $custom_fields['saswp_tech_article_author_name'];
1338
  }
1339
  if(isset($custom_fields['saswp_tech_article_author_url'])){
1340
- $input1['author']['url'] = $custom_fields['saswp_tech_article_author_url'];
1341
  }
1342
  if(isset($custom_fields['saswp_tech_article_author_description'])){
1343
  $input1['author']['description'] = $custom_fields['saswp_tech_article_author_description'];
@@ -1359,7 +1359,7 @@ Class saswp_output_service{
1359
  $input1['description'] = wp_strip_all_tags(strip_shortcodes( $custom_fields['saswp_course_description'] )) ;
1360
  }
1361
  if(isset($custom_fields['saswp_course_url'])){
1362
- $input1['url'] = $custom_fields['saswp_course_url'];
1363
  }
1364
  if(isset($custom_fields['saswp_course_date_published'])){
1365
  $input1['datePublished'] = $custom_fields['saswp_course_date_published'];
@@ -1411,7 +1411,7 @@ Class saswp_output_service{
1411
  $input1['description'] = wp_strip_all_tags(strip_shortcodes( $custom_fields['saswp_dfp_description'] )) ;
1412
  }
1413
  if(isset($custom_fields['saswp_dfp_url'])){
1414
- $input1['url'] = $custom_fields['saswp_dfp_url'];
1415
  }
1416
  if(isset($custom_fields['saswp_dfp_date_published'])){
1417
  $input1['datePublished'] = $custom_fields['saswp_dfp_date_published'];
@@ -1442,7 +1442,7 @@ Class saswp_output_service{
1442
 
1443
  case 'Recipe':
1444
  if(isset($custom_fields['saswp_recipe_url'])){
1445
- $input1['url'] = $custom_fields['saswp_recipe_url'];
1446
  }
1447
  if(isset($custom_fields['saswp_recipe_name'])){
1448
  $input1['name'] = $custom_fields['saswp_recipe_name'];
@@ -1558,7 +1558,7 @@ Class saswp_output_service{
1558
 
1559
  case 'Product':
1560
  if(isset($custom_fields['saswp_product_schema_url'])){
1561
- $input1['url'] = $custom_fields['saswp_product_schema_url'];
1562
  }
1563
  if(isset($custom_fields['saswp_product_schema_name'])){
1564
  $input1['name'] = $custom_fields['saswp_product_schema_name'];
@@ -1635,7 +1635,7 @@ Class saswp_output_service{
1635
  $input1['name'] = $custom_fields['saswp_real_estate_listing_name'];
1636
  }
1637
  if(isset($custom_fields['saswp_real_estate_listing_url'])){
1638
- $input1['url'] = $custom_fields['saswp_real_estate_listing_url'];
1639
  }
1640
  if(isset($custom_fields['saswp_real_estate_listing_description'])){
1641
  $input1['description'] = $custom_fields['saswp_real_estate_listing_description'];
@@ -1685,7 +1685,7 @@ Class saswp_output_service{
1685
  $input1['name'] = $custom_fields['saswp_psychological_treatment_name'];
1686
  }
1687
  if(isset($custom_fields['saswp_psychological_treatment_url'])){
1688
- $input1['url'] = $custom_fields['saswp_psychological_treatment_url'];
1689
  }
1690
  if(isset($custom_fields['saswp_psychological_treatment_description'])){
1691
  $input1['description'] = $custom_fields['saswp_psychological_treatment_description'];
@@ -1758,7 +1758,7 @@ Class saswp_output_service{
1758
  case 'VideoObject':
1759
 
1760
  if(isset($custom_fields['saswp_video_object_url'])){
1761
- $input1['url'] = $custom_fields['saswp_video_object_url'];
1762
  }
1763
  if(isset($custom_fields['saswp_video_object_headline'])){
1764
  $input1['headline'] = $custom_fields['saswp_video_object_headline'];
@@ -1782,19 +1782,19 @@ Class saswp_output_service{
1782
  $input1['uploadDate'] = $custom_fields['saswp_video_object_upload_date'];
1783
  }
1784
  if(isset($custom_fields['saswp_video_object_thumbnail_url'])){
1785
- $input1['thumbnailUrl'] = $custom_fields['saswp_video_object_thumbnail_url'];
1786
  }
1787
  if(isset($custom_fields['saswp_video_object_content_url']) && wp_http_validate_url($custom_fields['saswp_video_object_content_url']) ){
1788
- $input1['contentUrl'] = $custom_fields['saswp_video_object_content_url'];
1789
  }
1790
  if(isset($custom_fields['saswp_video_object_embed_url']) && wp_http_validate_url($custom_fields['saswp_video_object_embed_url'])){
1791
- $input1['embedUrl'] = $custom_fields['saswp_video_object_embed_url'];
1792
  }
1793
  if(isset($custom_fields['saswp_video_object_author_name'])){
1794
  $input1['author']['name'] = $custom_fields['saswp_video_object_author_name'];
1795
  }
1796
  if(isset($custom_fields['saswp_video_object_author_url'])){
1797
- $input1['author']['url'] = $custom_fields['saswp_video_object_author_url'];
1798
  }
1799
  if(isset($custom_fields['saswp_video_object_author_description'])){
1800
  $input1['author']['description'] = $custom_fields['saswp_video_object_author_description'];
@@ -1813,7 +1813,7 @@ Class saswp_output_service{
1813
  case 'ImageObject':
1814
 
1815
  if(isset($custom_fields['saswpimage_object_url'])){
1816
- $input1['url'] = $custom_fields['saswpimage_object_url'];
1817
  }
1818
  if(isset($custom_fields['saswpimage_object_date_published'])){
1819
  $input1['datePublished'] = $custom_fields['saswpimage_object_date_published'];
@@ -1831,10 +1831,10 @@ Class saswp_output_service{
1831
  $input1['uploadDate'] = $custom_fields['saswpimage_object_upload_date'];
1832
  }
1833
  if(isset($custom_fields['saswpimage_object_thumbnail_url'])){
1834
- $input1['thumbnailUrl'] = $custom_fields['saswpimage_object_thumbnail_url'];
1835
  }
1836
  if(isset($custom_fields['saswpimage_object_content_url'])){
1837
- $input1['contentUrl'] = $custom_fields['saswpimage_object_content_url'];
1838
  }
1839
  if(isset($custom_fields['saswpimage_object_content_location'])){
1840
  $input1['contentLocation'] = $custom_fields['saswpimage_object_content_location'];
@@ -1843,7 +1843,7 @@ Class saswp_output_service{
1843
  $input1['author']['name'] = $custom_fields['saswpimage_object_author_name'];
1844
  }
1845
  if(isset($custom_fields['saswpimage_object_author_url'])){
1846
- $input1['author']['url'] = $custom_fields['saswpimage_object_author_url'];
1847
  }
1848
  if(isset($custom_fields['saswpimage_object_author_description'])){
1849
  $input1['author']['description'] = $custom_fields['saswpimage_object_author_description'];
@@ -1948,7 +1948,7 @@ Class saswp_output_service{
1948
  $input1['image'] = $custom_fields['saswp_ta_schema_image'];
1949
  }
1950
  if(isset($custom_fields['saswp_ta_schema_url'])){
1951
- $input1['url'] = $custom_fields['saswp_ta_schema_url'];
1952
  }
1953
  if(isset($custom_fields['saswp_ta_schema_is_acceesible_free'])){
1954
  $input1['isAccessibleForFree'] = $custom_fields['saswp_ta_schema_is_acceesible_free'];
@@ -2009,7 +2009,7 @@ Class saswp_output_service{
2009
  $input1['image'] = $custom_fields['saswp_td_schema_image'];
2010
  }
2011
  if(isset($custom_fields['saswp_td_schema_url'])){
2012
- $input1['url'] = $custom_fields['saswp_td_schema_url'];
2013
  }
2014
  if(isset($custom_fields['saswp_td_schema_locality'])){
2015
  $input1['address']['addressLocality'] = $custom_fields['saswp_td_schema_locality'];
@@ -2043,7 +2043,7 @@ Class saswp_output_service{
2043
  $input1['image'] = $custom_fields['saswp_lorh_schema_image'];
2044
  }
2045
  if(isset($custom_fields['saswp_lorh_schema_url'])){
2046
- $input1['url'] = $custom_fields['saswp_lorh_schema_url'];
2047
  }
2048
  if(isset($custom_fields['saswp_lorh_schema_hasmap'])){
2049
  $input1['hasMap'] = $custom_fields['saswp_lorh_schema_hasmap'];
@@ -2086,7 +2086,7 @@ Class saswp_output_service{
2086
  $input1['image'] = $custom_fields['saswp_hindutemple_schema_image'];
2087
  }
2088
  if(isset($custom_fields['saswp_hindutemple_schema_url'])){
2089
- $input1['url'] = $custom_fields['saswp_hindutemple_schema_url'];
2090
  }
2091
  if(isset($custom_fields['saswp_hindutemple_schema_hasmap'])){
2092
  $input1['hasMap'] = $custom_fields['saswp_hindutemple_schema_hasmap'];
@@ -2129,7 +2129,7 @@ Class saswp_output_service{
2129
  $input1['image'] = $custom_fields['saswp_buddhisttemple_schema_image'];
2130
  }
2131
  if(isset($custom_fields['saswp_buddhisttemple_schema_url'])){
2132
- $input1['url'] = $custom_fields['saswp_buddhisttemple_schema_url'];
2133
  }
2134
  if(isset($custom_fields['saswp_buddhisttemple_schema_hasmap'])){
2135
  $input1['hasMap'] = $custom_fields['saswp_buddhisttemple_schema_hasmap'];
@@ -2172,7 +2172,7 @@ Class saswp_output_service{
2172
  $input1['image'] = $custom_fields['saswp_church_schema_image'];
2173
  }
2174
  if(isset($custom_fields['saswp_church_schema_url'])){
2175
- $input1['url'] = $custom_fields['saswp_church_schema_url'];
2176
  }
2177
  if(isset($custom_fields['saswp_church_schema_hasmap'])){
2178
  $input1['hasMap'] = $custom_fields['saswp_church_schema_hasmap'];
@@ -2215,7 +2215,7 @@ Class saswp_output_service{
2215
  $input1['image'] = $custom_fields['saswp_mosque_schema_image'];
2216
  }
2217
  if(isset($custom_fields['saswp_mosque_schema_url'])){
2218
- $input1['url'] = $custom_fields['saswp_mosque_schema_url'];
2219
  }
2220
  if(isset($custom_fields['saswp_mosque_schema_hasmap'])){
2221
  $input1['hasMap'] = $custom_fields['saswp_mosque_schema_hasmap'];
@@ -2255,7 +2255,7 @@ Class saswp_output_service{
2255
  $input1['description'] = wp_strip_all_tags(strip_shortcodes( $custom_fields['saswp_person_schema_description'] ));
2256
  }
2257
  if(isset($custom_fields['saswp_person_schema_url'])){
2258
- $input1['url'] = $custom_fields['saswp_person_schema_url'];
2259
  }
2260
  if(isset($custom_fields['saswp_person_schema_street_address'])){
2261
  $input1['address']['streetAddress'] = $custom_fields['saswp_person_schema_street_address'];
@@ -2367,7 +2367,7 @@ Class saswp_output_service{
2367
  $input1['name'] = $custom_fields['saswp_apartment_schema_name'];
2368
  }
2369
  if(isset($custom_fields['saswp_apartment_schema_url'])){
2370
- $input1['url'] = $custom_fields['saswp_apartment_schema_url'];
2371
  }
2372
  if(isset($custom_fields['saswp_apartment_schema_image'])){
2373
  $input1['image'] = $custom_fields['saswp_apartment_schema_image'];
@@ -2407,7 +2407,7 @@ Class saswp_output_service{
2407
  $input1['name'] = $custom_fields['saswp_house_schema_name'];
2408
  }
2409
  if(isset($custom_fields['saswp_house_schema_url'])){
2410
- $input1['url'] = $custom_fields['saswp_house_schema_url'];
2411
  }
2412
  if(isset($custom_fields['saswp_house_schema_image'])){
2413
  $input1['image'] = $custom_fields['saswp_house_schema_image'];
@@ -2456,7 +2456,7 @@ Class saswp_output_service{
2456
  $input1['name'] = $custom_fields['saswp_sfr_schema_name'];
2457
  }
2458
  if(isset($custom_fields['saswp_sfr_schema_url'])){
2459
- $input1['url'] = $custom_fields['saswp_sfr_schema_url'];
2460
  }
2461
  if(isset($custom_fields['saswp_sfr_schema_image'])){
2462
  $input1['image'] = $custom_fields['saswp_sfr_schema_image'];
@@ -2508,7 +2508,7 @@ Class saswp_output_service{
2508
  $input1['name'] = $custom_fields['saswp_vg_schema_name'];
2509
  }
2510
  if(isset($custom_fields['saswp_vg_schema_url'])){
2511
- $input1['url'] = $custom_fields['saswp_vg_schema_url'];
2512
  }
2513
  if(isset($custom_fields['saswp_vg_schema_image'])){
2514
  $input1['image'] = $custom_fields['saswp_vg_schema_image'];
@@ -2567,7 +2567,7 @@ Class saswp_output_service{
2567
  $input1['description'] = wp_strip_all_tags(strip_shortcodes( $custom_fields['saswp_jobposting_schema_description'] ));
2568
  }
2569
  if(isset($custom_fields['saswp_jobposting_schema_url'])){
2570
- $input1['url'] = $custom_fields['saswp_jobposting_schema_url'];
2571
  }
2572
  if(isset($custom_fields['saswp_jobposting_schema_dateposted'])){
2573
  $input1['datePosted'] = $custom_fields['saswp_jobposting_schema_dateposted'];
@@ -2582,7 +2582,7 @@ Class saswp_output_service{
2582
  $input1['hiringOrganization']['name'] = $custom_fields['saswp_jobposting_schema_ho_name'];
2583
  }
2584
  if(isset($custom_fields['saswp_jobposting_schema_ho_url'])){
2585
- $input1['hiringOrganization']['sameAs'] = $custom_fields['saswp_jobposting_schema_ho_url'];
2586
  }
2587
  if(isset($custom_fields['saswp_jobposting_schema_ho_logo'])){
2588
  $input1['hiringOrganization']['logo'] = $custom_fields['saswp_jobposting_schema_ho_logo'];
@@ -2635,7 +2635,7 @@ Class saswp_output_service{
2635
  $input1['description'] = wp_strip_all_tags(strip_shortcodes( $custom_fields['saswp_trip_schema_description'] ));
2636
  }
2637
  if(isset($custom_fields['saswp_trip_schema_url'])){
2638
- $input1['url'] = $custom_fields['saswp_trip_schema_url'];
2639
  }
2640
  if(isset($custom_fields['saswp_trip_schema_image'])){
2641
  $input1['image'] = $custom_fields['saswp_trip_schema_image'];
381
  $review_markup['name'] = $custom_fields['saswp_review_name'];
382
  }
383
  if(isset($custom_fields['saswp_review_url'])){
384
+ $review_markup['url'] = saswp_validate_url($custom_fields['saswp_review_url']);
385
  }
386
  if(isset($custom_fields['saswp_review_description'])){
387
  $review_markup['description'] = $custom_fields['saswp_review_description'];
395
  if(isset($custom_fields['saswp_review_publisher'])){
396
  $review_markup['publisher']['@type'] = 'Organization';
397
  $review_markup['publisher']['name'] = $custom_fields['saswp_review_publisher'];
398
+ if(isset($custom_fields['saswp_review_publisher_url']) && saswp_validate_url($custom_fields['saswp_review_publisher_url']) ){
399
  $review_markup['publisher']['sameAs'] = array($custom_fields['saswp_review_publisher_url']);
400
  }
401
  }
403
  $review_markup['author']['@type'] = 'Person';
404
  $review_markup['author']['name'] = $custom_fields['saswp_review_author'];
405
 
406
+ if(isset($custom_fields['saswp_review_author_url']) && saswp_validate_url($custom_fields['saswp_review_author_url']) ){
407
  $review_markup['author']['sameAs'] = array($custom_fields['saswp_review_author_url']);
408
  }
409
  }
440
  $input1['description'] = wp_strip_all_tags(strip_shortcodes( $custom_fields['saswp_book_description'] ));
441
  }
442
  if(isset($custom_fields['saswp_book_url'])){
443
+ $input1['url'] = saswp_validate_url($custom_fields['saswp_book_url']);
444
  }
445
  if(isset($custom_fields['saswp_book_author'])){
446
  $input1['author']['@type'] = 'Person';
447
  $input1['author']['name'] = $custom_fields['saswp_book_author'];
448
 
449
+ if(isset($custom_fields['saswp_book_author_url']) && saswp_validate_url( $custom_fields['saswp_book_author_url'] ) ){
450
  $input1['author']['sameAs'] = array($custom_fields['saswp_book_author_url']);
451
  }
452
 
491
  $input1['description'] = wp_strip_all_tags(strip_shortcodes( $custom_fields['saswp_music_playlist_description'] )) ;
492
  }
493
  if(isset($custom_fields['saswp_music_playlist_url'])){
494
+ $input1['url'] = saswp_validate_url($custom_fields['saswp_music_playlist_url']);
495
  }
496
 
497
  break;
505
  $input1['description'] = wp_strip_all_tags(strip_shortcodes( $custom_fields['saswp_movie_description'] )) ;
506
  }
507
  if(isset($custom_fields['saswp_movie_url'])){
508
+ $input1['url'] = saswp_validate_url($custom_fields['saswp_movie_url']);
509
+ $input1['sameAs'] = saswp_validate_url($custom_fields['saswp_movie_url']);
510
  }
511
  if(isset($custom_fields['saswp_movie_image'])){
512
  $input1['image'] = $custom_fields['saswp_movie_image'];
535
  $input1['description'] = wp_strip_all_tags(strip_shortcodes( $custom_fields['saswp_music_composition_description'] )) ;
536
  }
537
  if(isset($custom_fields['saswp_music_composition_url'])){
538
+ $input1['url'] = saswp_validate_url($custom_fields['saswp_music_composition_url']);
539
  }
540
  if(isset($custom_fields['saswp_music_composition_inlanguage'])){
541
  $input1['inLanguage'] = $custom_fields['saswp_music_composition_inlanguage'];
565
  $input1['description'] = $custom_fields['saswp_organization_description'];
566
  }
567
  if(isset($custom_fields['saswp_organization_url'])){
568
+ $input1['url'] = saswp_validate_url($custom_fields['saswp_organization_url']);
569
  }
570
  if(isset($custom_fields['saswp_organization_street_address'])){
571
  $input1['address']['streetAddress'] = $custom_fields['saswp_organization_street_address'];
647
  $input1['name'] = $custom_fields['saswp_music_album_name'];
648
  }
649
  if(isset($custom_fields['saswp_music_album_url'])){
650
+ $input1['url'] = saswp_validate_url($custom_fields['saswp_music_album_url']);
651
  }
652
  if(isset($custom_fields['saswp_music_album_description'])){
653
  $input1['description'] = wp_strip_all_tags(strip_shortcodes( $custom_fields['saswp_music_album_description'] ));
674
  $input1['image'] = $custom_fields['saswp_article_image'];
675
  }
676
  if(isset($custom_fields['saswp_article_url'])){
677
+ $input1['url'] = saswp_validate_url($custom_fields['saswp_article_url']);
678
  }
679
  if(isset($custom_fields['saswp_article_body'])){
680
  $input1['articleBody'] = $custom_fields['saswp_article_body'];
722
  '@type' => $custom_fields['saswp_special_announcement_location_type'],
723
  'name' => $custom_fields['saswp_special_announcement_location_name'],
724
  'image' => $custom_fields['saswp_special_announcement_location_image'],
725
+ 'url' => saswp_validate_url($custom_fields['saswp_special_announcement_location_url']),
726
  'telephone' => $custom_fields['saswp_special_announcement_location_telephone'],
727
  'priceRange' => $custom_fields['saswp_special_announcement_location_price_range'],
728
  'address' => array(
751
  $input1['image'] = $custom_fields['saswp_special_announcement_image'];
752
  }
753
  if(isset($custom_fields['saswp_special_announcement_url'])){
754
+ $input1['url'] = saswp_validate_url($custom_fields['saswp_special_announcement_url']);
755
  }
756
  if(isset($custom_fields['saswp_special_announcement_keywords'])){
757
  $input1['keywords'] = $custom_fields['saswp_special_announcement_keywords'];
836
  $input1['name'] = $custom_fields['local_business_name'];
837
  }
838
  if(isset($custom_fields['local_business_name_url'])){
839
+ $input1['url'] = saswp_validate_url($custom_fields['local_business_name_url']);
840
  }
841
  if(isset($custom_fields['local_business_logo'])){
842
  $input1['image'] = $custom_fields['local_business_logo'];
917
  $input1['name'] = $custom_fields['saswp_blogposting_name'];
918
  }
919
  if(isset($custom_fields['saswp_blogposting_url'])){
920
+ $input1['url'] = saswp_validate_url($custom_fields['saswp_blogposting_url']);
921
  }
922
  if(isset($custom_fields['saswp_blogposting_date_published'])){
923
  $input1['datePublished'] = $custom_fields['saswp_blogposting_date_published'];
953
  $input1['description'] = wp_strip_all_tags(strip_shortcodes( $custom_fields['saswp_audio_schema_description'] ));
954
  }
955
  if(isset($custom_fields['saswp_audio_schema_contenturl'])){
956
+ $input1['contentUrl'] = saswp_validate_url($custom_fields['saswp_audio_schema_contenturl']);
957
  }
958
  if(isset($custom_fields['saswp_audio_schema_duration'])){
959
  $input1['duration'] = $custom_fields['saswp_audio_schema_duration'];
975
  $input1['author']['description'] = $custom_fields['saswp_audio_schema_author_description'];
976
  }
977
  if(isset($custom_fields['saswp_audio_schema_author_url'])){
978
+ $input1['author']['url'] = saswp_validate_url($custom_fields['saswp_audio_schema_author_url']);
979
  }
980
 
981
  break;
1060
  $input1['mainEntityOfPage'] = $custom_fields['saswp_newsarticle_main_entity_of_page'];
1061
  }
1062
  if(isset($custom_fields['saswp_newsarticle_URL'])){
1063
+ $input1['url'] = saswp_validate_url($custom_fields['saswp_newsarticle_URL']);
1064
  }
1065
  if(isset($custom_fields['saswp_newsarticle_headline'])){
1066
  $input1['headline'] = $custom_fields['saswp_newsarticle_headline'];
1099
  $input1['author']['name'] = $custom_fields['saswp_newsarticle_author_name'];
1100
  }
1101
  if(isset($custom_fields['saswp_newsarticle_author_url'])){
1102
+ $input1['author']['url'] = saswp_validate_url($custom_fields['saswp_newsarticle_author_url']);
1103
  }
1104
  if(isset($custom_fields['saswp_newsarticle_author_image'])){
1105
  $input1['author']['Image']['url'] = $custom_fields['saswp_newsarticle_author_image'];
1118
  $input1['name'] = $custom_fields['saswp_webpage_name'];
1119
  }
1120
  if(isset($custom_fields['saswp_webpage_url'])){
1121
+ $input1['url'] = saswp_validate_url($custom_fields['saswp_webpage_url']);
1122
  }
1123
  if(isset($custom_fields['saswp_webpage_description'])){
1124
  $input1['description'] = wp_strip_all_tags(strip_shortcodes( $custom_fields['saswp_webpage_description'] )) ;
1133
  }
1134
 
1135
  if(isset($custom_fields['saswp_webpage_main_entity_of_page'])){
1136
+ $input1['mainEntity']['mainEntityOfPage'] = saswp_validate_url($custom_fields['saswp_webpage_main_entity_of_page']);
1137
  }
1138
  if(isset($custom_fields['saswp_webpage_image'])){
1139
  $input1['mainEntity']['image'] = $custom_fields['saswp_webpage_image'];
1308
  $input1['image'] = $custom_fields['saswp_tech_article_image'];
1309
  }
1310
  if(isset($custom_fields['saswp_tech_article_url'])){
1311
+ $input1['url'] = saswp_validate_url($custom_fields['saswp_tech_article_url']);
1312
  }
1313
  if(isset($custom_fields['saswp_tech_article_body'])){
1314
  $input1['articleBody'] = $custom_fields['saswp_tech_article_body'];
1337
  $input1['author']['name'] = $custom_fields['saswp_tech_article_author_name'];
1338
  }
1339
  if(isset($custom_fields['saswp_tech_article_author_url'])){
1340
+ $input1['author']['url'] = saswp_validate_url($custom_fields['saswp_tech_article_author_url']);
1341
  }
1342
  if(isset($custom_fields['saswp_tech_article_author_description'])){
1343
  $input1['author']['description'] = $custom_fields['saswp_tech_article_author_description'];
1359
  $input1['description'] = wp_strip_all_tags(strip_shortcodes( $custom_fields['saswp_course_description'] )) ;
1360
  }
1361
  if(isset($custom_fields['saswp_course_url'])){
1362
+ $input1['url'] = saswp_validate_url($custom_fields['saswp_course_url']);
1363
  }
1364
  if(isset($custom_fields['saswp_course_date_published'])){
1365
  $input1['datePublished'] = $custom_fields['saswp_course_date_published'];
1411
  $input1['description'] = wp_strip_all_tags(strip_shortcodes( $custom_fields['saswp_dfp_description'] )) ;
1412
  }
1413
  if(isset($custom_fields['saswp_dfp_url'])){
1414
+ $input1['url'] = saswp_validate_url($custom_fields['saswp_dfp_url']);
1415
  }
1416
  if(isset($custom_fields['saswp_dfp_date_published'])){
1417
  $input1['datePublished'] = $custom_fields['saswp_dfp_date_published'];
1442
 
1443
  case 'Recipe':
1444
  if(isset($custom_fields['saswp_recipe_url'])){
1445
+ $input1['url'] = saswp_validate_url($custom_fields['saswp_recipe_url']);
1446
  }
1447
  if(isset($custom_fields['saswp_recipe_name'])){
1448
  $input1['name'] = $custom_fields['saswp_recipe_name'];
1558
 
1559
  case 'Product':
1560
  if(isset($custom_fields['saswp_product_schema_url'])){
1561
+ $input1['url'] = saswp_validate_url($custom_fields['saswp_product_schema_url']);
1562
  }
1563
  if(isset($custom_fields['saswp_product_schema_name'])){
1564
  $input1['name'] = $custom_fields['saswp_product_schema_name'];
1635
  $input1['name'] = $custom_fields['saswp_real_estate_listing_name'];
1636
  }
1637
  if(isset($custom_fields['saswp_real_estate_listing_url'])){
1638
+ $input1['url'] = saswp_validate_url($custom_fields['saswp_real_estate_listing_url']);
1639
  }
1640
  if(isset($custom_fields['saswp_real_estate_listing_description'])){
1641
  $input1['description'] = $custom_fields['saswp_real_estate_listing_description'];
1685
  $input1['name'] = $custom_fields['saswp_psychological_treatment_name'];
1686
  }
1687
  if(isset($custom_fields['saswp_psychological_treatment_url'])){
1688
+ $input1['url'] = saswp_validate_url($custom_fields['saswp_psychological_treatment_url']);
1689
  }
1690
  if(isset($custom_fields['saswp_psychological_treatment_description'])){
1691
  $input1['description'] = $custom_fields['saswp_psychological_treatment_description'];
1758
  case 'VideoObject':
1759
 
1760
  if(isset($custom_fields['saswp_video_object_url'])){
1761
+ $input1['url'] = saswp_validate_url($custom_fields['saswp_video_object_url']);
1762
  }
1763
  if(isset($custom_fields['saswp_video_object_headline'])){
1764
  $input1['headline'] = $custom_fields['saswp_video_object_headline'];
1782
  $input1['uploadDate'] = $custom_fields['saswp_video_object_upload_date'];
1783
  }
1784
  if(isset($custom_fields['saswp_video_object_thumbnail_url'])){
1785
+ $input1['thumbnailUrl'] = saswp_validate_url($custom_fields['saswp_video_object_thumbnail_url']);
1786
  }
1787
  if(isset($custom_fields['saswp_video_object_content_url']) && wp_http_validate_url($custom_fields['saswp_video_object_content_url']) ){
1788
+ $input1['contentUrl'] = saswp_validate_url($custom_fields['saswp_video_object_content_url']);
1789
  }
1790
  if(isset($custom_fields['saswp_video_object_embed_url']) && wp_http_validate_url($custom_fields['saswp_video_object_embed_url'])){
1791
+ $input1['embedUrl'] = saswp_validate_url($custom_fields['saswp_video_object_embed_url']);
1792
  }
1793
  if(isset($custom_fields['saswp_video_object_author_name'])){
1794
  $input1['author']['name'] = $custom_fields['saswp_video_object_author_name'];
1795
  }
1796
  if(isset($custom_fields['saswp_video_object_author_url'])){
1797
+ $input1['author']['url'] = saswp_validate_url($custom_fields['saswp_video_object_author_url']);
1798
  }
1799
  if(isset($custom_fields['saswp_video_object_author_description'])){
1800
  $input1['author']['description'] = $custom_fields['saswp_video_object_author_description'];
1813
  case 'ImageObject':
1814
 
1815
  if(isset($custom_fields['saswpimage_object_url'])){
1816
+ $input1['url'] = saswp_validate_url($custom_fields['saswpimage_object_url']);
1817
  }
1818
  if(isset($custom_fields['saswpimage_object_date_published'])){
1819
  $input1['datePublished'] = $custom_fields['saswpimage_object_date_published'];
1831
  $input1['uploadDate'] = $custom_fields['saswpimage_object_upload_date'];
1832
  }
1833
  if(isset($custom_fields['saswpimage_object_thumbnail_url'])){
1834
+ $input1['thumbnailUrl'] = saswp_validate_url($custom_fields['saswpimage_object_thumbnail_url']);
1835
  }
1836
  if(isset($custom_fields['saswpimage_object_content_url'])){
1837
+ $input1['contentUrl'] = saswp_validate_url($custom_fields['saswpimage_object_content_url']);
1838
  }
1839
  if(isset($custom_fields['saswpimage_object_content_location'])){
1840
  $input1['contentLocation'] = $custom_fields['saswpimage_object_content_location'];
1843
  $input1['author']['name'] = $custom_fields['saswpimage_object_author_name'];
1844
  }
1845
  if(isset($custom_fields['saswpimage_object_author_url'])){
1846
+ $input1['author']['url'] = saswp_validate_url($custom_fields['saswpimage_object_author_url']);
1847
  }
1848
  if(isset($custom_fields['saswpimage_object_author_description'])){
1849
  $input1['author']['description'] = $custom_fields['saswpimage_object_author_description'];
1948
  $input1['image'] = $custom_fields['saswp_ta_schema_image'];
1949
  }
1950
  if(isset($custom_fields['saswp_ta_schema_url'])){
1951
+ $input1['url'] = saswp_validate_url($custom_fields['saswp_ta_schema_url']);
1952
  }
1953
  if(isset($custom_fields['saswp_ta_schema_is_acceesible_free'])){
1954
  $input1['isAccessibleForFree'] = $custom_fields['saswp_ta_schema_is_acceesible_free'];
2009
  $input1['image'] = $custom_fields['saswp_td_schema_image'];
2010
  }
2011
  if(isset($custom_fields['saswp_td_schema_url'])){
2012
+ $input1['url'] = saswp_validate_url($custom_fields['saswp_td_schema_url']);
2013
  }
2014
  if(isset($custom_fields['saswp_td_schema_locality'])){
2015
  $input1['address']['addressLocality'] = $custom_fields['saswp_td_schema_locality'];
2043
  $input1['image'] = $custom_fields['saswp_lorh_schema_image'];
2044
  }
2045
  if(isset($custom_fields['saswp_lorh_schema_url'])){
2046
+ $input1['url'] = saswp_validate_url($custom_fields['saswp_lorh_schema_url']);
2047
  }
2048
  if(isset($custom_fields['saswp_lorh_schema_hasmap'])){
2049
  $input1['hasMap'] = $custom_fields['saswp_lorh_schema_hasmap'];
2086
  $input1['image'] = $custom_fields['saswp_hindutemple_schema_image'];
2087
  }
2088
  if(isset($custom_fields['saswp_hindutemple_schema_url'])){
2089
+ $input1['url'] = saswp_validate_url($custom_fields['saswp_hindutemple_schema_url']);
2090
  }
2091
  if(isset($custom_fields['saswp_hindutemple_schema_hasmap'])){
2092
  $input1['hasMap'] = $custom_fields['saswp_hindutemple_schema_hasmap'];
2129
  $input1['image'] = $custom_fields['saswp_buddhisttemple_schema_image'];
2130
  }
2131
  if(isset($custom_fields['saswp_buddhisttemple_schema_url'])){
2132
+ $input1['url'] = saswp_validate_url($custom_fields['saswp_buddhisttemple_schema_url']);
2133
  }
2134
  if(isset($custom_fields['saswp_buddhisttemple_schema_hasmap'])){
2135
  $input1['hasMap'] = $custom_fields['saswp_buddhisttemple_schema_hasmap'];
2172
  $input1['image'] = $custom_fields['saswp_church_schema_image'];
2173
  }
2174
  if(isset($custom_fields['saswp_church_schema_url'])){
2175
+ $input1['url'] = saswp_validate_url($custom_fields['saswp_church_schema_url']);
2176
  }
2177
  if(isset($custom_fields['saswp_church_schema_hasmap'])){
2178
  $input1['hasMap'] = $custom_fields['saswp_church_schema_hasmap'];
2215
  $input1['image'] = $custom_fields['saswp_mosque_schema_image'];
2216
  }
2217
  if(isset($custom_fields['saswp_mosque_schema_url'])){
2218
+ $input1['url'] = saswp_validate_url($custom_fields['saswp_mosque_schema_url']);
2219
  }
2220
  if(isset($custom_fields['saswp_mosque_schema_hasmap'])){
2221
  $input1['hasMap'] = $custom_fields['saswp_mosque_schema_hasmap'];
2255
  $input1['description'] = wp_strip_all_tags(strip_shortcodes( $custom_fields['saswp_person_schema_description'] ));
2256
  }
2257
  if(isset($custom_fields['saswp_person_schema_url'])){
2258
+ $input1['url'] = saswp_validate_url($custom_fields['saswp_person_schema_url']);
2259
  }
2260
  if(isset($custom_fields['saswp_person_schema_street_address'])){
2261
  $input1['address']['streetAddress'] = $custom_fields['saswp_person_schema_street_address'];
2367
  $input1['name'] = $custom_fields['saswp_apartment_schema_name'];
2368
  }
2369
  if(isset($custom_fields['saswp_apartment_schema_url'])){
2370
+ $input1['url'] = saswp_validate_url($custom_fields['saswp_apartment_schema_url']);
2371
  }
2372
  if(isset($custom_fields['saswp_apartment_schema_image'])){
2373
  $input1['image'] = $custom_fields['saswp_apartment_schema_image'];
2407
  $input1['name'] = $custom_fields['saswp_house_schema_name'];
2408
  }
2409
  if(isset($custom_fields['saswp_house_schema_url'])){
2410
+ $input1['url'] = saswp_validate_url($custom_fields['saswp_house_schema_url']);
2411
  }
2412
  if(isset($custom_fields['saswp_house_schema_image'])){
2413
  $input1['image'] = $custom_fields['saswp_house_schema_image'];
2456
  $input1['name'] = $custom_fields['saswp_sfr_schema_name'];
2457
  }
2458
  if(isset($custom_fields['saswp_sfr_schema_url'])){
2459
+ $input1['url'] = saswp_validate_url($custom_fields['saswp_sfr_schema_url']);
2460
  }
2461
  if(isset($custom_fields['saswp_sfr_schema_image'])){
2462
  $input1['image'] = $custom_fields['saswp_sfr_schema_image'];
2508
  $input1['name'] = $custom_fields['saswp_vg_schema_name'];
2509
  }
2510
  if(isset($custom_fields['saswp_vg_schema_url'])){
2511
+ $input1['url'] = saswp_validate_url($custom_fields['saswp_vg_schema_url']);
2512
  }
2513
  if(isset($custom_fields['saswp_vg_schema_image'])){
2514
  $input1['image'] = $custom_fields['saswp_vg_schema_image'];
2567
  $input1['description'] = wp_strip_all_tags(strip_shortcodes( $custom_fields['saswp_jobposting_schema_description'] ));
2568
  }
2569
  if(isset($custom_fields['saswp_jobposting_schema_url'])){
2570
+ $input1['url'] = saswp_validate_url($custom_fields['saswp_jobposting_schema_url']);
2571
  }
2572
  if(isset($custom_fields['saswp_jobposting_schema_dateposted'])){
2573
  $input1['datePosted'] = $custom_fields['saswp_jobposting_schema_dateposted'];
2582
  $input1['hiringOrganization']['name'] = $custom_fields['saswp_jobposting_schema_ho_name'];
2583
  }
2584
  if(isset($custom_fields['saswp_jobposting_schema_ho_url'])){
2585
+ $input1['hiringOrganization']['sameAs'] = saswp_validate_url($custom_fields['saswp_jobposting_schema_ho_url']);
2586
  }
2587
  if(isset($custom_fields['saswp_jobposting_schema_ho_logo'])){
2588
  $input1['hiringOrganization']['logo'] = $custom_fields['saswp_jobposting_schema_ho_logo'];
2635
  $input1['description'] = wp_strip_all_tags(strip_shortcodes( $custom_fields['saswp_trip_schema_description'] ));
2636
  }
2637
  if(isset($custom_fields['saswp_trip_schema_url'])){
2638
+ $input1['url'] = saswp_validate_url($custom_fields['saswp_trip_schema_url']);
2639
  }
2640
  if(isset($custom_fields['saswp_trip_schema_image'])){
2641
  $input1['image'] = $custom_fields['saswp_trip_schema_image'];
readme.txt CHANGED
@@ -3,7 +3,7 @@ Contributors: magazine3
3
  Tags: Schema, Structured Data, Google Snippets, Rich Snippets, Schema.org, SEO, AMP
4
  Requires at least: 3.0
5
  Tested up to: 5.4
6
- Stable tag: 1.9.40
7
  License: GPLv2 or later
8
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
9
 
@@ -93,13 +93,13 @@ Bug reports for Schema & Structured Data for WP & AMP are [welcomed on GitHub](h
93
 
94
  ### Credits
95
 
 
96
  * Merlin WP used https://github.com/richtabor/MerlinWP - License URI: https://github.com/richtabor/MerlinWP/blob/master/LICENSE,
97
  * jquery-timepicker used https://github.com/jonthornton/jquery-timepicker
98
  * Rate Yo! used https://github.com/prrashi/rateYo - License URI: https://github.com/prrashi/rateYo/commit/f3812fe96c38b08627d209795176053550fb1427
99
  * Aqua Resizer used http://aquagraphite.com - License URI: WTFPL - http://sam.zoy.org/wtfpl/
100
 
101
 
102
-
103
  == Frequently Asked Questions ==
104
 
105
  = How to install and use this Schema plugin? =
@@ -120,6 +120,17 @@ You can contact us from [here](http://structured-data-for-wp.com/contact-us/)
120
 
121
  == Changelog ==
122
 
 
 
 
 
 
 
 
 
 
 
 
123
  = 1.9.40 (09 June 2020) =
124
 
125
  * Added: Possible Treatment, Primary prevention and Drug properties to MedicalCondition schema type #880
3
  Tags: Schema, Structured Data, Google Snippets, Rich Snippets, Schema.org, SEO, AMP
4
  Requires at least: 3.0
5
  Tested up to: 5.4
6
+ Stable tag: 1.9.41
7
  License: GPLv2 or later
8
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
9
 
93
 
94
  ### Credits
95
 
96
+ * Select2 used https://github.com/select2/select2 - License URI: https://github.com/select2/select2/blob/develop/LICENSE.md,
97
  * Merlin WP used https://github.com/richtabor/MerlinWP - License URI: https://github.com/richtabor/MerlinWP/blob/master/LICENSE,
98
  * jquery-timepicker used https://github.com/jonthornton/jquery-timepicker
99
  * Rate Yo! used https://github.com/prrashi/rateYo - License URI: https://github.com/prrashi/rateYo/commit/f3812fe96c38b08627d209795176053550fb1427
100
  * Aqua Resizer used http://aquagraphite.com - License URI: WTFPL - http://sam.zoy.org/wtfpl/
101
 
102
 
 
103
  == Frequently Asked Questions ==
104
 
105
  = How to install and use this Schema plugin? =
120
 
121
  == Changelog ==
122
 
123
+ = 1.9.41 (16 June 2020) =
124
+
125
+ * Fixed: Notice Error: Notice: Trying to get property 'post_content' of non-object #1055
126
+ * Fixed: The property comment is not recognized by Google for an object of type Organization. #1061
127
+ * Fixed: Site links are not displaying even after the option is enabled. #1043
128
+ * Fixed: url validation should be there for all url schema property #1048
129
+ * Enhancement: Option to search for pages/post while applying schema markup on a certain page #742
130
+ * Enhancement: Use select 2 in schema type dropdown #464
131
+ * Added: select2 js in a specific use case dropdown #1027
132
+
133
+
134
  = 1.9.40 (09 June 2020) =
135
 
136
  * Added: Possible Treatment, Primary prevention and Drug properties to MedicalCondition schema type #880
structured-data-for-wp.php CHANGED
@@ -2,7 +2,7 @@
2
  /*
3
  Plugin Name: Schema & Structured Data for WP & AMP
4
  Description: Schema & Structured Data adds Google Rich Snippets markup according to Schema.org guidelines to structure your site for SEO. (AMP Compatible)
5
- Version: 1.9.40
6
  Text Domain: schema-and-structured-data-for-wp
7
  Domain Path: /languages
8
  Author: Magazine3
@@ -13,7 +13,7 @@ License: GPL2
13
  // Exit if accessed directly.
14
  if ( ! defined( 'ABSPATH' ) ) exit;
15
 
16
- define('SASWP_VERSION', '1.9.40');
17
  define('SASWP_DIR_NAME_FILE', __FILE__ );
18
  define('SASWP_DIR_NAME', dirname( __FILE__ ));
19
  define('SASWP_DIR_URI', plugin_dir_url(__FILE__));
2
  /*
3
  Plugin Name: Schema & Structured Data for WP & AMP
4
  Description: Schema & Structured Data adds Google Rich Snippets markup according to Schema.org guidelines to structure your site for SEO. (AMP Compatible)
5
+ Version: 1.9.41
6
  Text Domain: schema-and-structured-data-for-wp
7
  Domain Path: /languages
8
  Author: Magazine3
13
  // Exit if accessed directly.
14
  if ( ! defined( 'ABSPATH' ) ) exit;
15
 
16
+ define('SASWP_VERSION', '1.9.41');
17
  define('SASWP_DIR_NAME_FILE', __FILE__ );
18
  define('SASWP_DIR_NAME', dirname( __FILE__ ));
19
  define('SASWP_DIR_URI', plugin_dir_url(__FILE__));