Ivory Search – WordPress Search Plugin - Version 5.4.2

Version Description

  • Improved - Compatibility with Weglot plugin.
  • Improved - Compatibility with TablePress plugin.
  • Fixed - Warning: trim() expects parameter 1 to be string, array given.
  • Fixed - Notice: Undefined index: s
  • Fixed - Media search in admin area was not working.
  • Fixed - Google analytics search was working on all pages.
Download this release

Release Info

Developer vinod dalvi
Plugin Icon 128x128 Ivory Search – WordPress Search Plugin
Version 5.4.2
Comparing to
See all releases

Code changes from version 5.4.1 to 5.4.2

add-search-to-menu.php CHANGED
@@ -4,7 +4,7 @@
4
  * Plugin Name: Ivory Search
5
  * Plugin URI: https://ivorysearch.com
6
  * Description: The WordPress Search plugin that includes Search Form Customizer, WooCommerce Search, Image Search, Search Shortcode, AJAX Search & Live Search support!
7
- * Version: 5.4.1
8
  * Author: Ivory Search
9
  * Author URI: https://ivorysearch.com/
10
  * License: GPL2+
@@ -110,7 +110,7 @@ final class Ivory_Search
110
  public function define_constants()
111
  {
112
  if ( !defined( 'IS_VERSION' ) ) {
113
- define( 'IS_VERSION', '5.4.1' );
114
  }
115
  if ( !defined( 'IS_PLUGIN_FILE' ) ) {
116
  define( 'IS_PLUGIN_FILE', __FILE__ );
4
  * Plugin Name: Ivory Search
5
  * Plugin URI: https://ivorysearch.com
6
  * Description: The WordPress Search plugin that includes Search Form Customizer, WooCommerce Search, Image Search, Search Shortcode, AJAX Search & Live Search support!
7
+ * Version: 5.4.2
8
  * Author: Ivory Search
9
  * Author URI: https://ivorysearch.com/
10
  * License: GPL2+
110
  public function define_constants()
111
  {
112
  if ( !defined( 'IS_VERSION' ) ) {
113
+ define( 'IS_VERSION', '5.4.2' );
114
  }
115
  if ( !defined( 'IS_PLUGIN_FILE' ) ) {
116
  define( 'IS_PLUGIN_FILE', __FILE__ );
admin/class-is-admin.php CHANGED
@@ -1011,7 +1011,6 @@ class IS_Admin
1011
 
1012
  if ( is_array( $value2 ) ) {
1013
  foreach ( $value2 as $key3 => $value3 ) {
1014
- echo $input[$key][$key2][$key3] . ' <br>' ;
1015
  if ( $exception !== $key3 ) {
1016
  $output[$key][$key2][$key3] = sanitize_textarea_field( $input[$key][$key2][$key3] );
1017
  }
1011
 
1012
  if ( is_array( $value2 ) ) {
1013
  foreach ( $value2 as $key3 => $value3 ) {
 
1014
  if ( $exception !== $key3 ) {
1015
  $output[$key][$key2][$key3] = sanitize_textarea_field( $input[$key][$key2][$key3] );
1016
  }
admin/class-is-editor.php CHANGED
@@ -96,10 +96,10 @@ class IS_Search_Editor
96
  * @global Object $wpdb WPDB object
97
  * @return Array array of meta keys
98
  */
99
- function is_meta_keys( $post_type )
100
  {
101
  global $wpdb ;
102
- $is_fields = $wpdb->get_results( apply_filters( 'is_meta_keys_query', "select DISTINCT meta_key from {$wpdb->postmeta} pt LEFT JOIN {$wpdb->posts} p ON (pt.post_id = p.ID) where meta_key NOT LIKE '\\_%' AND post_type IN ( '{$post_type}' ) ORDER BY meta_key ASC" ) );
103
  $meta_keys = array();
104
  if ( is_array( $is_fields ) && !empty($is_fields) ) {
105
  foreach ( $is_fields as $field ) {
@@ -464,29 +464,6 @@ class IS_Search_Editor
464
 
465
  }
466
 
467
- $meta_keys = $this->is_meta_keys( $post_type );
468
-
469
- if ( !empty($meta_keys) ) {
470
- $html = '<div class="col-wrapper is-metas">';
471
- $selected_meta = false;
472
- $html .= '<input class="list-search wide" placeholder="' . __( "Search..", 'add-search-to-menu' ) . '" type="text">';
473
- $html .= '<select class="_is_includes-custom_field" name="' . esc_attr( $id ) . '[custom_field][]" multiple size="8" >';
474
- foreach ( $meta_keys as $meta_key ) {
475
- $checked = ( isset( $includes['custom_field'] ) && in_array( $meta_key, $includes['custom_field'] ) ? $meta_key : 0 );
476
- if ( $checked ) {
477
- $selected_meta = true;
478
- }
479
- $html .= '<option value="' . esc_attr( $meta_key ) . '" ' . selected( $meta_key, $checked, false ) . '>' . esc_html( $meta_key ) . '</option>';
480
- }
481
- $html .= '</select>';
482
- $html .= '<br /><label for="' . esc_attr( $id ) . '-custom_field" class="ctrl-multi-select">' . esc_html__( "Hold down the control (ctrl) or command button to select multiple options.", 'add-search-to-menu' ) . '</label><br />';
483
- $html .= '</div>';
484
- $checked = ( $selected_meta ? 'selected' : 'all' );
485
- echo '<br /><p class="check-radio"><label for="' . esc_attr( $post_type ) . '-meta-search_selected" ><input class="is-meta-select" type="checkbox" id="' . esc_attr( $post_type ) . '-meta-search_selected" name="' . esc_attr( $post_type ) . 'i[meta_search_radio]" value="selected" ' . checked( 'selected', $checked, false ) . '/>' ;
486
- echo '<span class="toggle-check-text"></span>' . sprintf( esc_html__( "Search selected %s custom fields values", 'add-search-to-menu' ), $post_type ) . '</label></p>' ;
487
- echo $html ;
488
- }
489
-
490
 
491
  if ( 'product' == $post_type ) {
492
  $woo_sku_disable = ( is_fs()->is_plan_or_trial( 'pro_plus' ) && $this->is_premium_plugin ? '' : ' disabled ' );
@@ -505,6 +482,10 @@ class IS_Search_Editor
505
  echo '</div>' ;
506
  }
507
  echo '</p>' ;
 
 
 
 
508
  }
509
 
510
 
@@ -661,7 +642,43 @@ class IS_Search_Editor
661
 
662
  ?>
663
  </div>
664
-
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
665
  <h4 scope="row">
666
  <label for="<?php
667
  echo esc_attr( $id ) ;
@@ -2082,31 +2099,6 @@ class IS_Search_Editor
2082
 
2083
  }
2084
 
2085
- $meta_keys = $this->is_meta_keys( $post_type );
2086
-
2087
- if ( !empty($meta_keys) ) {
2088
- $html = '<div class="col-wrapper is-metas">';
2089
- $selected_meta = false;
2090
- $custom_field_disable = ( is_fs()->is_plan_or_trial( 'pro' ) && $this->is_premium_plugin ? '' : ' disabled ' );
2091
- $html .= '<input class="list-search wide" placeholder="' . __( "Search..", 'add-search-to-menu' ) . '" type="text">';
2092
- $html .= '<select class="_is_excludes-custom_field" name="' . esc_attr( $id ) . '[custom_field][]" ' . $custom_field_disable . ' multiple size="8" >';
2093
- foreach ( $meta_keys as $meta_key ) {
2094
- $checked = ( isset( $excludes['custom_field'] ) && in_array( $meta_key, $excludes['custom_field'] ) ? $meta_key : 0 );
2095
- if ( $checked ) {
2096
- $selected_meta = true;
2097
- }
2098
- $html .= '<option value="' . esc_attr( $meta_key ) . '" ' . selected( $meta_key, $checked, false ) . '>' . esc_html( $meta_key ) . '</option>';
2099
- }
2100
- $html .= '</select>';
2101
- $html .= IS_Admin::pro_link();
2102
- $html .= '<br /><label for="' . esc_attr( $id ) . '-custom_field" class="ctrl-multi-select">' . esc_html__( "Hold down the control (ctrl) or command button to select multiple options.", 'add-search-to-menu' ) . '</label><br />';
2103
- $html .= '</div>';
2104
- $checked = ( $selected_meta ? 'selected' : 'all' );
2105
- echo '<br /><p class="check-radio"><label for="' . esc_attr( $post_type ) . '-meta-search_selected" ><input class="is-meta-select" type="checkbox" id="' . esc_attr( $post_type ) . '-meta-search_selected" name="' . esc_attr( $post_type ) . 'i[meta_search_radio]" value="selected" ' . checked( 'selected', $checked, false ) . '/>' ;
2106
- echo '<span class="toggle-check-text"></span>' . sprintf( esc_html__( "Exclude %s from search having selected custom fields", 'add-search-to-menu' ), strtolower( $post_types2[$post_type]->labels->name ) ) . '</label></p>' ;
2107
- echo $html ;
2108
- }
2109
-
2110
 
2111
  if ( 'product' == $post_type ) {
2112
  echo '<br />' ;
@@ -2215,6 +2207,42 @@ class IS_Search_Editor
2215
  <h4 scope="row" class="is-first-title">
2216
  <label for="<?php
2217
  echo esc_attr( $id ) ;
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
2218
  ?>-author"><?php
2219
  echo esc_html( __( 'Authors', 'add-search-to-menu' ) ) ;
2220
  ?></label>
@@ -2227,12 +2255,19 @@ class IS_Search_Editor
2227
 
2228
  if ( !isset( $includes['author'] ) ) {
2229
  $author_disable = ( is_fs()->is_plan_or_trial( 'pro' ) && $this->is_premium_plugin ? '' : ' disabled ' );
2230
- $authors = get_users( array(
2231
  'fields' => array( 'ID', 'display_name' ),
2232
  'orderby' => 'post_count',
2233
  'order' => 'DESC',
2234
- 'who' => 'authors',
2235
- ) );
 
 
 
 
 
 
 
2236
 
2237
  if ( !empty($authors) ) {
2238
  if ( '' !== $author_disable ) {
@@ -2616,24 +2651,17 @@ class IS_Search_Editor
2616
  }
2617
  break;
2618
  case 'custom_field':
2619
- if ( IS_Index_Options::META_OPT_ALL != $index_opt->meta_fields_opt ) {
2620
- $indexed_meta_fields = $index_opt->get_meta_keys();
2621
- }
2622
- $post_types = array_keys( get_post_types( array(
2623
- 'public' => true,
2624
- ), 'objects' ) );
2625
- foreach ( $post_types as $post_type ) {
2626
- $meta_keys = $this->is_meta_keys( $post_type );
2627
- $selected = array_intersect( $meta_keys, $val );
2628
- $diff = array_diff( $selected, $indexed_meta_fields );
2629
- if ( !empty($diff) ) {
2630
- $conflicts[$prop][$post_type] = sprintf( esc_html( _n(
2631
- 'The %s meta field is not selected in Index',
2632
- 'The %s meta fields are not selected in Index',
2633
- count( $diff ),
2634
- 'add-search-to-menu'
2635
- ) ), implode( ', ', $diff ) ) . $index_opt->get_index_settings_link( 'meta_fields' );
2636
- }
2637
  }
2638
  break;
2639
  case 'search_title':
@@ -2671,9 +2699,12 @@ class IS_Search_Editor
2671
  $conflicts[$prop] = esc_html__( 'The comments are not selected in Index', 'add-search-to-menu' ) . $index_opt->get_index_settings_link( 'extra' );
2672
  }
2673
  break;
2674
- case 'sku':
2675
- if ( $val && !$index_opt->index_product_sku ) {
2676
- $conflicts[$prop] = esc_html__( 'The product SKU is not selected in Index', 'add-search-to-menu' ) . $index_opt->get_index_settings_link( 'extra' );
 
 
 
2677
  }
2678
  break;
2679
  case 'fuzzy_match':
96
  * @global Object $wpdb WPDB object
97
  * @return Array array of meta keys
98
  */
99
+ function is_meta_keys()
100
  {
101
  global $wpdb ;
102
+ $is_fields = $wpdb->get_results( apply_filters( 'is_meta_keys_query', "select DISTINCT meta_key from {$wpdb->postmeta} pt LEFT JOIN {$wpdb->posts} p ON (pt.post_id = p.ID) where meta_key NOT LIKE '\\_%' ORDER BY meta_key ASC" ) );
103
  $meta_keys = array();
104
  if ( is_array( $is_fields ) && !empty($is_fields) ) {
105
  foreach ( $is_fields as $field ) {
464
 
465
  }
466
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
467
 
468
  if ( 'product' == $post_type ) {
469
  $woo_sku_disable = ( is_fs()->is_plan_or_trial( 'pro_plus' ) && $this->is_premium_plugin ? '' : ' disabled ' );
482
  echo '</div>' ;
483
  }
484
  echo '</p>' ;
485
+ echo '<p class="is-index-conflicts">' ;
486
+ echo $this->get_conflicts_info( 'woo', 'sku' ) ;
487
+ echo $this->get_conflicts_info( 'woo', 'variation' ) ;
488
+ echo '</p>' ;
489
  }
490
 
491
 
642
 
643
  ?>
644
  </div>
645
+ <h4 scope="row">
646
+ <label for="<?php
647
+ echo esc_attr( $id ) ;
648
+ ?>-custom_field"><?php
649
+ echo esc_html( __( 'Custom Fields', 'add-search-to-menu' ) ) ;
650
+ ?></label>
651
+ </h4>
652
+ <div>
653
+ <?php
654
+ $meta_keys = $this->is_meta_keys();
655
+
656
+ if ( !empty($meta_keys) ) {
657
+ $html = '<div class="col-wrapper is-metas">';
658
+ $selected_meta = false;
659
+ $html .= '<input class="list-search wide" placeholder="' . __( "Search..", 'add-search-to-menu' ) . '" type="text">';
660
+ $html .= '<select class="_is_includes-custom_field" name="' . esc_attr( $id ) . '[custom_field][]" multiple size="8" >';
661
+ foreach ( $meta_keys as $meta_key ) {
662
+ $checked = ( isset( $includes['custom_field'] ) && in_array( $meta_key, $includes['custom_field'] ) ? $meta_key : 0 );
663
+ if ( $checked ) {
664
+ $selected_meta = true;
665
+ }
666
+ $html .= '<option value="' . esc_attr( $meta_key ) . '" ' . selected( $meta_key, $checked, false ) . '>' . esc_html( $meta_key ) . '</option>';
667
+ }
668
+ $html .= '</select>';
669
+ $html .= '<br /><label for="' . esc_attr( $id ) . '-custom_field" class="ctrl-multi-select">' . esc_html__( "Hold down the control (ctrl) or command button to select multiple options.", 'add-search-to-menu' ) . '</label>';
670
+ $html .= '</div>';
671
+ $checked = ( $selected_meta ? 'selected' : 'all' );
672
+ echo '<span class="check-radio"><label for="is-meta-search_selected" ><input class="is-meta-select" type="checkbox" id="is-meta-search_selected" name="is[meta_search_radio]" value="selected" ' . checked( 'selected', $checked, false ) . '/>' ;
673
+ echo '<span class="toggle-check-text"></span>' . esc_html__( "Search selected custom fields values", 'add-search-to-menu' ) . '</label></span>' ;
674
+ echo $html ;
675
+ echo '<p class="is-index-conflicts">' ;
676
+ echo $this->get_conflicts_info( 'custom_field' ) ;
677
+ echo '</p>' ;
678
+ }
679
+
680
+ ?>
681
+ </div>
682
  <h4 scope="row">
683
  <label for="<?php
684
  echo esc_attr( $id ) ;
2099
 
2100
  }
2101
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
2102
 
2103
  if ( 'product' == $post_type ) {
2104
  echo '<br />' ;
2207
  <h4 scope="row" class="is-first-title">
2208
  <label for="<?php
2209
  echo esc_attr( $id ) ;
2210
+ ?>-custom_field"><?php
2211
+ echo esc_html( __( 'Custom Fields', 'add-search-to-menu' ) ) ;
2212
+ ?></label>
2213
+ </h4>
2214
+ <div>
2215
+ <?php
2216
+ $meta_keys = $this->is_meta_keys();
2217
+
2218
+ if ( !empty($meta_keys) ) {
2219
+ $html = '<div class="col-wrapper is-metas">';
2220
+ $selected_meta = false;
2221
+ $custom_field_disable = ( is_fs()->is_plan_or_trial( 'pro' ) && $this->is_premium_plugin ? '' : ' disabled ' );
2222
+ $html .= '<input class="list-search wide" placeholder="' . __( "Search..", 'add-search-to-menu' ) . '" type="text">';
2223
+ $html .= '<select class="_is_excludes-custom_field" name="' . esc_attr( $id ) . '[custom_field][]" ' . $custom_field_disable . ' multiple size="8" >';
2224
+ foreach ( $meta_keys as $meta_key ) {
2225
+ $checked = ( isset( $excludes['custom_field'] ) && in_array( $meta_key, $excludes['custom_field'] ) ? $meta_key : 0 );
2226
+ if ( $checked ) {
2227
+ $selected_meta = true;
2228
+ }
2229
+ $html .= '<option value="' . esc_attr( $meta_key ) . '" ' . selected( $meta_key, $checked, false ) . '>' . esc_html( $meta_key ) . '</option>';
2230
+ }
2231
+ $html .= '</select>';
2232
+ $html .= IS_Admin::pro_link();
2233
+ $html .= '<label for="' . esc_attr( $id ) . '-custom_field" class="ctrl-multi-select">' . esc_html__( "Hold down the control (ctrl) or command button to select multiple options.", 'add-search-to-menu' ) . '</label>';
2234
+ $html .= '</div>';
2235
+ $checked = ( $selected_meta ? 'selected' : 'all' );
2236
+ echo '<span class="check-radio"><label for="is-meta-search_selected" ><input class="is-meta-select" type="checkbox" id="is-meta-search_selected" name="is[meta_search_radio]" value="selected" ' . checked( 'selected', $checked, false ) . '/>' ;
2237
+ echo '<span class="toggle-check-text"></span>' . esc_html__( "Exclude from search having selected custom fields", 'add-search-to-menu' ) . '</label></span>' ;
2238
+ echo $html ;
2239
+ }
2240
+
2241
+ ?>
2242
+ </div>
2243
+ <h4 scope="row">
2244
+ <label for="<?php
2245
+ echo esc_attr( $id ) ;
2246
  ?>-author"><?php
2247
  echo esc_html( __( 'Authors', 'add-search-to-menu' ) ) ;
2248
  ?></label>
2255
 
2256
  if ( !isset( $includes['author'] ) ) {
2257
  $author_disable = ( is_fs()->is_plan_or_trial( 'pro' ) && $this->is_premium_plugin ? '' : ' disabled ' );
2258
+ $args = array(
2259
  'fields' => array( 'ID', 'display_name' ),
2260
  'orderby' => 'post_count',
2261
  'order' => 'DESC',
2262
+ );
2263
+
2264
+ if ( version_compare( $GLOBALS['wp_version'], '5.9', '<' ) ) {
2265
+ $args['who'] = 'authors';
2266
+ } else {
2267
+ $args['capability'] = [ 'edit_posts' ];
2268
+ }
2269
+
2270
+ $authors = get_users( $args );
2271
 
2272
  if ( !empty($authors) ) {
2273
  if ( '' !== $author_disable ) {
2651
  }
2652
  break;
2653
  case 'custom_field':
2654
+ $indexed_meta_fields = $index_opt->get_meta_keys();
2655
+ $meta_keys = $this->is_meta_keys();
2656
+ $selected = array_intersect( $meta_keys, $val );
2657
+ $diff = array_diff( $selected, $indexed_meta_fields );
2658
+ if ( !empty($diff) ) {
2659
+ $conflicts[$prop] = sprintf( esc_html( _n(
2660
+ 'The %s meta field is not selected in Index',
2661
+ 'The %s meta fields are not selected in Index',
2662
+ count( $diff ),
2663
+ 'add-search-to-menu'
2664
+ ) ), implode( ', ', $diff ) ) . $index_opt->get_index_settings_link( 'meta_fields' );
 
 
 
 
 
 
 
2665
  }
2666
  break;
2667
  case 'search_title':
2699
  $conflicts[$prop] = esc_html__( 'The comments are not selected in Index', 'add-search-to-menu' ) . $index_opt->get_index_settings_link( 'extra' );
2700
  }
2701
  break;
2702
+ case 'woo':
2703
+ if ( !empty($val['sku']) && !$index_opt->index_product_sku ) {
2704
+ $conflicts[$prop]['sku'] = esc_html__( 'The product SKU is not selected in Index', 'add-search-to-menu' ) . $index_opt->get_index_settings_link( 'extra' );
2705
+ }
2706
+ if ( !empty($val['variation']) && !$index_opt->index_product_variation ) {
2707
+ $conflicts[$prop]['variation'] = esc_html__( 'The product variation is not selected in Index', 'add-search-to-menu' ) . $index_opt->get_index_settings_link( 'extra' );
2708
  }
2709
  break;
2710
  case 'fuzzy_match':
admin/class-is-settings-index-fields.php CHANGED
@@ -637,7 +637,7 @@ class IS_Settings_Index_Fields
637
  $option = 'meta_fields_selected';
638
  $saved_opt = $this->index_opt->{$option};
639
  $name_attr = "{$id}[{$option}][]";
640
- $meta_keys = $this->index_opt->get_meta_keys();
641
  ?>
642
  <div class="col-wrapper is-index-metas">
643
  <input
637
  $option = 'meta_fields_selected';
638
  $saved_opt = $this->index_opt->{$option};
639
  $name_attr = "{$id}[{$option}][]";
640
+ $meta_keys = $this->index_opt->get_meta_keys( IS_Index_Options::META_OPT_VISIBLE );
641
  ?>
642
  <div class="col-wrapper is-index-metas">
643
  <input
admin/css/ivory-search-admin.css CHANGED
@@ -874,8 +874,8 @@ span.shortcode > input:focus,
874
  width: auto;
875
  display: table-cell;
876
  border-radius: 4px;
877
- -webkit-box-shadow: 0 6px 12px rgba(0,0,0,0.175);
878
- box-shadow: 0 6px 12px rgba(0,0,0,0.175);
879
  top: 100%;
880
  left: 0;
881
  background: #FFF;
874
  width: auto;
875
  display: table-cell;
876
  border-radius: 4px;
877
+ -webkit-box-shadow: 3px 6px 0pxrgba(0,0,0,0.175);
878
+ box-shadow: 3px 6px 0px rgba(0,0,0,0.175);
879
  top: 100%;
880
  left: 0;
881
  background: #FFF;
admin/css/ivory-search-admin.min.css CHANGED
@@ -1 +1 @@
1
- br{clear:both}.title_tooltip{border:1px solid #e0e0e0;color:#444;background:#fff;box-shadow:0 2px 3px #999;position:absolute;padding:5px;text-align:left;border-radius:5px;-moz-border-radius:5px;-webkit-border-radius:5px}.toplevel_page_ivory-search #shortcode.column-shortcode{width:auto!important}.toplevel_page_ivory-search th#title{width:30%!important}#search-form-editor input[type=text],#search-form-editor textarea{width:100%}#search-form-editor label{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}#search-form-editor input[type=checkbox],#search-form-editor input[type=radio]{display:none;width:1px;height:1px;position:absolute;border:0;box-shadow:none;background:0 0;z-index:99999}#search-form-editor input[type=checkbox]+.toggle-check-text,#search-form-editor input[type=radio]+.toggle-check-text{display:inline-block;box-sizing:content-box;position:relative;text-transform:uppercase;background:#ccc;padding:3px 6px 1px 16px;border-radius:15px;height:12px;width:8px;color:#fff;font-size:12px;cursor:pointer;transition:background-color .15s;margin-right:8px;vertical-align:middle}#search-form-editor input[type=checkbox]+.toggle-check-text:after,#search-form-editor input[type=radio]+.toggle-check-text:after{content:' ';display:block;background:#fff;width:10px;height:10px;border-radius:15px;position:absolute;left:4px;top:3px;transition:left .15s,margin-left .15s}#search-form-editor input[type=checkbox]+.toggle-check-text:before,#search-form-editor input[type=radio]+.toggle-check-text:before{content:' '}#search-form-editor input:checked~.toggle-check-text{background:#8daebf;padding-left:6px;padding-right:16px}#search-form-editor input:checked~.toggle-check-text:before{content:' '}#search-form-editor input:checked~.toggle-check-text:after{left:100%;margin-left:-14px}#submitdiv.searchbox{background:#f1f1f1}.searchbox #major-publishing-actions{background:0 0;border:0}#submitdiv.searchbox *{text-align:center}#submitdiv.searchbox input[type=submit]{color:#fff;padding:4px 8px;vertical-align:middle;box-shadow:none;text-shadow:none;line-height:22px;height:auto;font-size:13px;width:90%;white-space:normal;word-break:break-word}#submitdiv.searchbox input[type=submit]:hover{color:#f1f1f1}#submitdiv.searchbox input.copy.button,#submitdiv.searchbox input.delete,#submitdiv.searchbox input.reset.button{background:#f7f7f7;color:#555;box-shadow:0 1px 0 #ccc;border:1px solid #ccc;border-radius:3px}#submitdiv.searchbox input.copy.button:hover,#submitdiv.searchbox input.delete:hover,#submitdiv.searchbox input.reset.button:hover{background:#fafafa;border-color:#999;color:#23282d}#submitdiv.searchbox #delete-action{float:none;margin-top:10px}#searchtbox-container-1 input.button-primary{width:auto;margin-top:15px;min-width:100px}#minor-publishing-actions{padding:0 10px 10px}.searchbox #publishing-action .spinner{float:none;display:none}.searchbox #publishing-action .spinner.is-active{display:inline-block;margin-top:0;margin-bottom:8px}#publishing-action{float:none}#submitpost input.delete{padding:0;margin:0;border:none;cursor:pointer;background:inherit;color:#a00}#submitpost input.delete:hover{color:red}span.shortcode>input{background:#fbfbfb;font-size:12px;border:none;box-shadow:none;padding:4px 8px;margin:0}.is-search-image{font-size:30px;line-height:1}.is-search-image::before{content:"\f179";display:inline-block;font-size:30px;line-height:1;font-family:dashicons;text-decoration:inherit;font-style:normal;vertical-align:middle;text-align:center;transition:color .1s ease-in 0;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}h1.wp-heading-inline{font-size:18px}#post-body-content{margin-bottom:15px}#poststuff #searchtbox-container-1{width:100%;margin-left:210px;position:relative;max-width:65.5%}#poststuff #searchtbox-container-2{float:right;width:12%}#informationdiv ul{border:1px solid #ddd;border-radius:3px;margin:0}#informationdiv h3{margin:0;font-weight:400;font-size:15px;text-align:center}#informationdiv ul li{padding:10px;margin:0;border-bottom:1px solid #ddd}#informationdiv ul li:last-child{border-bottom:0}#informationdiv li a{text-decoration:none}.search-attachments-wrapper{display:none}@media only screen and (min-width:1024px){.is-taxes .col-wrapper{width:48%}.is-taxes .col-wrapper:nth-child(2n+1){margin-right:2%}}@media only screen and (min-width:1420px){#search-form-editor #search-form-editor-tabs{max-width:185px}}@media only screen and (max-width:1175px){#poststuff #searchtbox-container-1{margin-left:170px}#search-form-editor #search-form-editor-tabs{left:-165px}#submitdiv.searchbox input[type=submit]{width:100%;padding:4px 0}}@media only screen and (max-width:850px){#search-form-editor #search-form-editor-tabs{position:static;max-width:100%}#poststuff #searchtbox-container-1{max-width:100%;margin:0}#searchtbox-container-1 input.button-primary{display:none}#poststuff #searchtbox-container-2{width:100%;margin-top:25px}#submitdiv.searchbox *{text-align:left}#submitdiv.searchbox input[type=submit]{max-width:160px;padding:4px 18px;text-align:center}}#search-form-editor .form-table td:last-child{vertical-align:top}.is-help{color:#72777c;display:inline-block;font-size:13px;font-style:italic;position:relative;margin-bottom:10px}.is-help .dashicons-warning{height:16px;width:16px;font-size:16px;vertical-align:text-top;display:inline-block}.is-help::after{content:"";display:block;clear:both}.is-info-warning{color:#ce5454}#search-form-editor{float:left;width:100%}#search-form-editor-tabs{left:-210px;position:absolute;top:0;margin:0;max-width:26%;width:100%}#search-form-editor-tabs li{border:1px solid #ddd;border-radius:3px;display:block;padding:0;margin-bottom:3px;outline:0}#search-form-editor-tabs li.active{border-color:#cbcbcb}#search-form-editor-tabs li:hover a{background:#e8e8e8;color:#0073aa}#search-form-editor-tabs li.active a,#search-form-editor-tabs li.active:hover a{background-color:#fff;color:#000}#search-form-editor-tabs li a{background:#f3f3f5;border-radius:3px;box-shadow:none;padding:6px 10px;font-size:14px;font-weight:400;line-height:30px;outline:0;color:#313131;text-decoration:none;display:block}#search-form-editor-tabs li a::after{font-family:dashicons;content:"\f345";display:inline-block;color:#a0a5aa;font-size:20px;position:absolute;right:5px}#search-form-editor-tabs li.active a::after,#search-form-editor-tabs li.active:hover a::after{color:#5c5c5c}#search-form-editor-tabs li:hover a::after{color:#0073aa}#search-form-editor-tabs li a span.dashicons{font-style:normal;padding:6px 0 4px 4px;color:#82878c}#search-form-editor .search-form-editor-panel>div.config-error span.dashicons-warning,#search-form-editor-tabs li a span.dashicons-warning{color:#ca4a1f}#search-form-editor .search-form-editor-panel>div.config-error{display:none;margin-bottom:1.4em}#search-form-editor-tabs li.ui-tabs-active a span.dashicons{display:none}#search-form-editor .search-form-editor-panel h2{font-size:18px;font-weight:400;line-height:24px;margin:8px 0;padding:0}.search-form-editor-box{background-color:#f1f1f1;width:auto}.search-form-editor-box .enable-ajax-customize{text-align:center}h4.panel-desc{margin-top:0;padding:5px;font-weight:400;text-align:center}.form-table a{text-decoration:none}#search-body input[type=text],#search-body select,#search-body textarea{border-color:#dadada;border-radius:0;box-shadow:none}#search-body .form-table h3{clear:both;cursor:pointer;background:#fff;font-weight:600;color:#23282d;outline:0;padding:8px 10px;font-size:1em;border-radius:3px 3px 0 0;margin:.5em 0 0;border:1px solid #e5e5e5;text-transform:capitalize}#search-body .form-table h4{margin:50px 0 5px}#search-body .form-table h4.is-first-title{margin:0 0 15px}#search-body .form-table h3.is-p-type{padding-left:20px}#search-body .form-table h3 i{font-weight:100}#search-body .search-form-editor-panel{background:0 0;border:0;color:#000}#search-body #titlediv .inside .description{margin-top:15px}#search-body #title-prompt-text{font-size:1.2em;padding:4px 10px}#search-body #title{font-size:1.2em;background-color:#f7f7f7}#search-body #title:focus,#search-body #title:hover,span.shortcode>input:focus,span.shortcode>input:hover{background-color:#fff}#search-body .shortcode{display:block;margin:2px 0;background-color:#fff}#is-shortcode{width:100%}.form-table h3 .is-actions{float:right}.form-table h3 .is-actions a{color:#72777c;text-decoration:none;font-size:11px;padding:10px;outline:0;box-shadow:none}.form-table h3:first-child{margin:0}.form-table h3.ui-accordion-header::before{font-family:dashicons;content:"\f345";color:#72777c;display:inline-block;float:right;font-size:15px;line-height:1.5}.form-table h3.ui-state-active::before{content:"\f347"}#search-body .form-table h3.ui-state-active:not(.ui-accordion-header-active){margin-top:30px}#search-body .form-table h3.ui-state-active#ui-id-1{margin:.5em 0 0}#poststuff #search-body .form-table>div{background-color:#fff;padding:25px 15px;border:1px solid #e5e5e5;border-radius:0 0 3px 3px;border-top:0;overflow:visible}.form-table>div::after{content:"";display:block;clear:both}.form-table>div>div{position:relative}.form-table>div>div::after{content:"";display:block;clear:both}.form-table>div>div>p:last-of-type{margin-bottom:0}.form-table>div>div>p:first-of-type{margin-top:0;margin-bottom:1em}.form-table>div>div>br+p.check-radio{margin-top:0}.is-field-disabled-message{position:absolute;top:15px;left:15px;bottom:15px;right:15px;text-align:center;background:rgba(0,0,0,.4);z-index:9999;opacity:0;visibility:hidden}.is-field-disabled{position:relative}.form-table>div>._is_ajax-description_wrap{margin:0}.is-field-disabled-message .message{cursor:pointer;position:relative;top:35%;color:#fff;box-shadow:none;background:#00c366;font-weight:600;padding:5px 10px;border-radius:15px}.is-field-disabled .is-field-disabled-message{visibility:visible;opacity:1}.is-field-disabled input,.is-field-disabled label{pointer-events:none}.is-field-disabled input{background:rgba(255,255,255,.5);border-color:rgba(222,222,222,.75);box-shadow:inset 0 1px 2px rgba(0,0,0,.04);color:rgba(51,51,51,.5);pointer-events:none}.notice-is-info{background-color:#fff8e5;border:1px solid #ffb900;padding:5px 15px;font-size:12px;display:inline-block;border-radius:2px;margin-top:10px}.ctrl-multi-select{color:#72777c;font-size:10px;clear:both;display:block}.upgrade-parent{position:relative;padding:1em}.upgrade-parent:after{clear:both;content:"";display:block}.upgrade-wrapper{position:absolute;top:0;left:0;width:100%;height:100%;text-align:center;background:rgba(0,0,0,.4);z-index:9999}.upgrade-wrapper a.upgrade-link{position:relative;top:35%;color:#fff;box-shadow:none;background:#00c366;font-weight:600;padding:5px 10px;border-radius:15px}.upgrade-wrapper a.upgrade-link:hover{background:#03ad5c}.col-wrapper{float:left;margin-top:15px;position:relative;width:100%}.col-wrapper .spinner{display:inline-block;visibility:visible;position:absolute;bottom:35%;right:45%;z-index:999999}.col-title{text-align:center}.col-title strong{color:#1390cc}.list-search{margin-top:5px;width:100%}.col-wrapper.after{margin-right:30px}.col-wrapper.check-radio{margin:0 15px 15px 0}#wpbody .col-wrapper select[multiple],#wpbody .search-form-editor-panel select[multiple]{max-width:100%;width:100%;height:150px;overflow:overlay}.col-wrapper select[multiple] option{word-break:break-word;white-space:pre-line}#search-form-editor option{border-bottom:1px solid #f4eded;padding:3px}.col-wrapper.after,.col-wrapper.before{width:auto}.col-wrapper.before{margin-right:0}.load-all{text-align:center;font-weight:800;color:#6994d8;cursor:pointer}.is-cb-title{background-color:#fff;border:1px solid #ccc;display:inline-block;padding:6px 12px;-webkit-user-select:none;-moz-user-select:none;cursor:pointer;-ms-user-select:none;-o-user-select:none;user-select:none;text-transform:capitalize}.is-cb-title::after{font-family:dashicons;content:"\f347";color:#72777c;font-size:14px;line-height:1;vertical-align:text-bottom;font-weight:800;margin-left:10px}.is-cb-title:hover{background-color:#ebebeb}.is-cb-title.is-dropdown-toggle{-webkit-box-shadow:inset 0 3px 5px rgba(0,0,0,.125);box-shadow:inset 0 3px 5px rgba(0,0,0,.125);background-color:#ebebeb}.is-cb-titles span:after{content:", ";display:inline-block}.is-cb-titles span:last-child:after{display:none}.is-cb-multisel{width:auto;display:table-cell;border-radius:4px;-webkit-box-shadow:0 6px 12px rgba(0,0,0,.175);box-shadow:0 6px 12px rgba(0,0,0,.175);top:100%;left:0;background:#fff;border:1px solid #ccc;padding:10px 15px;z-index:9999}.is-cb-multisel>label{display:block;width:190px;margin:10px 0;float:left}.is-cb-multisel>label:nth-child(2n+1){clear:both}.is-cb-dropdown{position:relative}.is_index_advanced_min_len{width:4em}.ui-datepicker{padding:0;margin:0;-webkit-border-radius:0;-moz-border-radius:0;border-radius:0;background-color:#fff;border:1px solid #dfdfdf;border-top:none;-webkit-box-shadow:0 3px 6px rgba(0,0,0,.075);box-shadow:0 3px 6px rgba(0,0,0,.075);min-width:17em;width:auto;z-index:1000!important}body.wp-admin:not(.rtl) .ui-datepicker{margin-left:-1px}body.wp-admin.rtl .ui-datepicker{margin-right:-1px}.ui-datepicker *{padding:0;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen-Sans,Ubuntu,Cantarell,"Helvetica Neue",sans-serif;-webkit-border-radius:0;-moz-border-radius:0;border-radius:0}.ui-datepicker table{font-size:13px;margin:0;border:none;border-collapse:collapse}.ui-datepicker .ui-datepicker-header,.ui-datepicker .ui-widget-header{background-image:none;border:none;color:#fff;font-weight:400}.ui-datepicker .ui-datepicker-header .ui-state-hover{background:0 0;border-color:transparent;cursor:pointer}.ui-datepicker .ui-datepicker-title{margin:0;padding:4px 0;color:#fff;font-size:14px;line-height:14px;text-align:center}.ui-datepicker .ui-datepicker-next,.ui-datepicker .ui-datepicker-prev{position:relative;top:0;height:34px;width:34px}.ui-datepicker .ui-state-hover.ui-datepicker-next,.ui-datepicker .ui-state-hover.ui-datepicker-prev{border:none}.ui-datepicker .ui-datepicker-prev,.ui-datepicker .ui-datepicker-prev-hover{left:0}.ui-datepicker .ui-datepicker-next,.ui-datepicker .ui-datepicker-next-hover{right:0}.ui-datepicker .ui-datepicker-next span,.ui-datepicker .ui-datepicker-prev span{display:none}.ui-datepicker .ui-datepicker-prev{float:left}.ui-datepicker .ui-datepicker-next{float:right}.ui-datepicker .ui-datepicker-next:before,.ui-datepicker .ui-datepicker-prev:before{font:normal 20px/34px dashicons;padding-left:7px;color:#fff;speak:none;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;width:34px;height:34px}.ui-datepicker .ui-datepicker-prev:before{content:'\f341'}.ui-datepicker .ui-datepicker-next:before{content:'\f345'}.ui-datepicker .ui-datepicker-next-hover:before,.ui-datepicker .ui-datepicker-prev-hover:before{opacity:.7}.ui-datepicker select.ui-datepicker-month,.ui-datepicker select.ui-datepicker-year{width:33%}.ui-datepicker thead{color:#fff;font-weight:600}.ui-datepicker th{padding:10px}.ui-datepicker td{padding:0;border:1px solid #f4f4f4}.ui-datepicker td.ui-datepicker-other-month{border:transparent}.ui-datepicker tr:first-of-type td{border-top:1px solid #f0f0f0}.ui-datepicker td.ui-datepicker-week-end{background-color:#f4f4f4;border:1px solid #f0f0f0}.ui-datepicker td.ui-datepicker-today{background-color:#f0f0c0}.ui-datepicker td.ui-datepicker-current-day{background:#bd8}.ui-datepicker td .ui-state-default{background:0 0;border:none;text-align:center;text-decoration:none;width:auto;display:block;padding:5px 10px;font-weight:400;color:#444}.ui-datepicker td.ui-state-disabled .ui-state-default{opacity:.5}.ui-datepicker .ui-datepicker-header,.ui-datepicker .ui-widget-header{background:#00a0d2}.ui-datepicker thead{background:#32373c}.ui-datepicker td .ui-state-hover{background:#0073aa;color:#fff}.admin-color-fresh .ui-datepicker .ui-datepicker-header,.admin-color-fresh .ui-datepicker .ui-widget-header{background:#00a0d2}.admin-color-fresh .ui-datepicker thead{background:#32373c}.admin-color-fresh .ui-datepicker td .ui-state-hover{background:#0073aa;color:#fff}.is-loader{display:inline-block;border:5px solid #ddd;border-top:5px solid #3498db;border-radius:50%;width:20px;height:20px;animation:is-spin 2s linear infinite}@keyframes is-spin{0%{transform:rotate(0)}100%{transform:rotate(360deg)}}.is-index-build-panel{display:flex;align-items:end}.is-index-build-panel input{margin:0 10px 0 0!important}#is_progress{position:relative;margin-bottom:5px;width:100%;height:20px;background-color:#eee}#is_indicator{position:relative;display:inline-block;height:20px;max-width:100%;width:0;background-color:#65bc7b}
1
+ br{clear:both}.title_tooltip{border:1px solid #e0e0e0;color:#444;background:#fff;box-shadow:0 2px 3px #999;position:absolute;padding:5px;text-align:left;border-radius:5px;-moz-border-radius:5px;-webkit-border-radius:5px}.toplevel_page_ivory-search #shortcode.column-shortcode{width:auto!important}.toplevel_page_ivory-search th#title{width:30%!important}#search-form-editor input[type=text],#search-form-editor textarea{width:100%}#search-form-editor label{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}#search-form-editor input[type=checkbox],#search-form-editor input[type=radio]{display:none;width:1px;height:1px;position:absolute;border:0;box-shadow:none;background:0 0;z-index:99999}#search-form-editor input[type=checkbox]+.toggle-check-text,#search-form-editor input[type=radio]+.toggle-check-text{display:inline-block;box-sizing:content-box;position:relative;text-transform:uppercase;background:#ccc;padding:3px 6px 1px 16px;border-radius:15px;height:12px;width:8px;color:#fff;font-size:12px;cursor:pointer;transition:background-color .15s;margin-right:8px;vertical-align:middle}#search-form-editor input[type=checkbox]+.toggle-check-text:after,#search-form-editor input[type=radio]+.toggle-check-text:after{content:' ';display:block;background:#fff;width:10px;height:10px;border-radius:15px;position:absolute;left:4px;top:3px;transition:left .15s,margin-left .15s}#search-form-editor input[type=checkbox]+.toggle-check-text:before,#search-form-editor input[type=radio]+.toggle-check-text:before{content:' '}#search-form-editor input:checked~.toggle-check-text{background:#8daebf;padding-left:6px;padding-right:16px}#search-form-editor input:checked~.toggle-check-text:before{content:' '}#search-form-editor input:checked~.toggle-check-text:after{left:100%;margin-left:-14px}#submitdiv.searchbox{background:#f1f1f1}.searchbox #major-publishing-actions{background:0 0;border:0}#submitdiv.searchbox *{text-align:center}#submitdiv.searchbox input[type=submit]{color:#fff;padding:4px 8px;vertical-align:middle;box-shadow:none;text-shadow:none;line-height:22px;height:auto;font-size:13px;width:90%;white-space:normal;word-break:break-word}#submitdiv.searchbox input[type=submit]:hover{color:#f1f1f1}#submitdiv.searchbox input.copy.button,#submitdiv.searchbox input.delete,#submitdiv.searchbox input.reset.button{background:#f7f7f7;color:#555;box-shadow:0 1px 0 #ccc;border:1px solid #ccc;border-radius:3px}#submitdiv.searchbox input.copy.button:hover,#submitdiv.searchbox input.delete:hover,#submitdiv.searchbox input.reset.button:hover{background:#fafafa;border-color:#999;color:#23282d}#submitdiv.searchbox #delete-action{float:none;margin-top:10px}#searchtbox-container-1 input.button-primary{width:auto;margin-top:15px;min-width:100px}#minor-publishing-actions{padding:0 10px 10px}.searchbox #publishing-action .spinner{float:none;display:none}.searchbox #publishing-action .spinner.is-active{display:inline-block;margin-top:0;margin-bottom:8px}#publishing-action{float:none}#submitpost input.delete{padding:0;margin:0;border:none;cursor:pointer;background:inherit;color:#a00}#submitpost input.delete:hover{color:red}span.shortcode>input{background:#fbfbfb;font-size:12px;border:none;box-shadow:none;padding:4px 8px;margin:0}.is-search-image{font-size:30px;line-height:1}.is-search-image::before{content:"\f179";display:inline-block;font-size:30px;line-height:1;font-family:dashicons;text-decoration:inherit;font-style:normal;vertical-align:middle;text-align:center;transition:color .1s ease-in 0;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}h1.wp-heading-inline{font-size:18px}#post-body-content{margin-bottom:15px}#poststuff #searchtbox-container-1{width:100%;margin-left:210px;position:relative;max-width:65.5%}#poststuff #searchtbox-container-2{float:right;width:12%}#informationdiv ul{border:1px solid #ddd;border-radius:3px;margin:0}#informationdiv h3{margin:0;font-weight:400;font-size:15px;text-align:center}#informationdiv ul li{padding:10px;margin:0;border-bottom:1px solid #ddd}#informationdiv ul li:last-child{border-bottom:0}#informationdiv li a{text-decoration:none}.search-attachments-wrapper{display:none}@media only screen and (min-width:1024px){.is-taxes .col-wrapper{width:48%}.is-taxes .col-wrapper:nth-child(2n+1){margin-right:2%}}@media only screen and (min-width:1420px){#search-form-editor #search-form-editor-tabs{max-width:185px}}@media only screen and (max-width:1175px){#poststuff #searchtbox-container-1{margin-left:170px}#search-form-editor #search-form-editor-tabs{left:-165px}#submitdiv.searchbox input[type=submit]{width:100%;padding:4px 0}}@media only screen and (max-width:850px){#search-form-editor #search-form-editor-tabs{position:static;max-width:100%}#poststuff #searchtbox-container-1{max-width:100%;margin:0}#searchtbox-container-1 input.button-primary{display:none}#poststuff #searchtbox-container-2{width:100%;margin-top:25px}#submitdiv.searchbox *{text-align:left}#submitdiv.searchbox input[type=submit]{max-width:160px;padding:4px 18px;text-align:center}}#search-form-editor .form-table td:last-child{vertical-align:top}.is-help{color:#72777c;display:inline-block;font-size:13px;font-style:italic;position:relative;margin-bottom:10px}.is-help .dashicons-warning{height:16px;width:16px;font-size:16px;vertical-align:text-top;display:inline-block}.is-help::after{content:"";display:block;clear:both}.is-info-warning{color:#ce5454}#search-form-editor{float:left;width:100%}#search-form-editor-tabs{left:-210px;position:absolute;top:0;margin:0;max-width:26%;width:100%}#search-form-editor-tabs li{border:1px solid #ddd;border-radius:3px;display:block;padding:0;margin-bottom:3px;outline:0}#search-form-editor-tabs li.active{border-color:#cbcbcb}#search-form-editor-tabs li:hover a{background:#e8e8e8;color:#0073aa}#search-form-editor-tabs li.active a,#search-form-editor-tabs li.active:hover a{background-color:#fff;color:#000}#search-form-editor-tabs li a{background:#f3f3f5;border-radius:3px;box-shadow:none;padding:6px 10px;font-size:14px;font-weight:400;line-height:30px;outline:0;color:#313131;text-decoration:none;display:block}#search-form-editor-tabs li a::after{font-family:dashicons;content:"\f345";display:inline-block;color:#a0a5aa;font-size:20px;position:absolute;right:5px}#search-form-editor-tabs li.active a::after,#search-form-editor-tabs li.active:hover a::after{color:#5c5c5c}#search-form-editor-tabs li:hover a::after{color:#0073aa}#search-form-editor-tabs li a span.dashicons{font-style:normal;padding:6px 0 4px 4px;color:#82878c}#search-form-editor .search-form-editor-panel>div.config-error span.dashicons-warning,#search-form-editor-tabs li a span.dashicons-warning{color:#ca4a1f}#search-form-editor .search-form-editor-panel>div.config-error{display:none;margin-bottom:1.4em}#search-form-editor-tabs li.ui-tabs-active a span.dashicons{display:none}#search-form-editor .search-form-editor-panel h2{font-size:18px;font-weight:400;line-height:24px;margin:8px 0;padding:0}.search-form-editor-box{background-color:#f1f1f1;width:auto}.search-form-editor-box .enable-ajax-customize{text-align:center}h4.panel-desc{margin-top:0;padding:5px;font-weight:400;text-align:center}.form-table a{text-decoration:none}#search-body input[type=text],#search-body select,#search-body textarea{border-color:#dadada;border-radius:0;box-shadow:none}#search-body .form-table h3{clear:both;cursor:pointer;background:#fff;font-weight:600;color:#23282d;outline:0;padding:8px 10px;font-size:1em;border-radius:3px 3px 0 0;margin:.5em 0 0;border:1px solid #e5e5e5;text-transform:capitalize}#search-body .form-table h4{margin:50px 0 5px}#search-body .form-table h4.is-first-title{margin:0 0 15px}#search-body .form-table h3.is-p-type{padding-left:20px}#search-body .form-table h3 i{font-weight:100}#search-body .search-form-editor-panel{background:0 0;border:0;color:#000}#search-body #titlediv .inside .description{margin-top:15px}#search-body #title-prompt-text{font-size:1.2em;padding:4px 10px}#search-body #title{font-size:1.2em;background-color:#f7f7f7}#search-body #title:focus,#search-body #title:hover,span.shortcode>input:focus,span.shortcode>input:hover{background-color:#fff}#search-body .shortcode{display:block;margin:2px 0;background-color:#fff}#is-shortcode{width:100%}.form-table h3 .is-actions{float:right}.form-table h3 .is-actions a{color:#72777c;text-decoration:none;font-size:11px;padding:10px;outline:0;box-shadow:none}.form-table h3:first-child{margin:0}.form-table h3.ui-accordion-header::before{font-family:dashicons;content:"\f345";color:#72777c;display:inline-block;float:right;font-size:15px;line-height:1.5}.form-table h3.ui-state-active::before{content:"\f347"}#search-body .form-table h3.ui-state-active:not(.ui-accordion-header-active){margin-top:30px}#search-body .form-table h3.ui-state-active#ui-id-1{margin:.5em 0 0}#poststuff #search-body .form-table>div{background-color:#fff;padding:25px 15px;border:1px solid #e5e5e5;border-radius:0 0 3px 3px;border-top:0;overflow:visible}.form-table>div::after{content:"";display:block;clear:both}.form-table>div>div{position:relative}.form-table>div>div::after{content:"";display:block;clear:both}.form-table>div>div>p:last-of-type{margin-bottom:0}.form-table>div>div>p:first-of-type{margin-top:0;margin-bottom:1em}.form-table>div>div>br+p.check-radio{margin-top:0}.is-field-disabled-message{position:absolute;top:15px;left:15px;bottom:15px;right:15px;text-align:center;background:rgba(0,0,0,.4);z-index:9999;opacity:0;visibility:hidden}.is-field-disabled{position:relative}.form-table>div>._is_ajax-description_wrap{margin:0}.is-field-disabled-message .message{cursor:pointer;position:relative;top:35%;color:#fff;box-shadow:none;background:#00c366;font-weight:600;padding:5px 10px;border-radius:15px}.is-field-disabled .is-field-disabled-message{visibility:visible;opacity:1}.is-field-disabled input,.is-field-disabled label{pointer-events:none}.is-field-disabled input{background:rgba(255,255,255,.5);border-color:rgba(222,222,222,.75);box-shadow:inset 0 1px 2px rgba(0,0,0,.04);color:rgba(51,51,51,.5);pointer-events:none}.notice-is-info{background-color:#fff8e5;border:1px solid #ffb900;padding:5px 15px;font-size:12px;display:inline-block;border-radius:2px;margin-top:10px}.ctrl-multi-select{color:#72777c;font-size:10px;clear:both;display:block}.upgrade-parent{position:relative;padding:1em}.upgrade-parent:after{clear:both;content:"";display:block}.upgrade-wrapper{position:absolute;top:0;left:0;width:100%;height:100%;text-align:center;background:rgba(0,0,0,.4);z-index:9999}.upgrade-wrapper a.upgrade-link{position:relative;top:35%;color:#fff;box-shadow:none;background:#00c366;font-weight:600;padding:5px 10px;border-radius:15px}.upgrade-wrapper a.upgrade-link:hover{background:#03ad5c}.col-wrapper{float:left;margin-top:15px;position:relative;width:100%}.col-wrapper .spinner{display:inline-block;visibility:visible;position:absolute;bottom:35%;right:45%;z-index:999999}.col-title{text-align:center}.col-title strong{color:#1390cc}.list-search{margin-top:5px;width:100%}.col-wrapper.after{margin-right:30px}.col-wrapper.check-radio{margin:0 15px 15px 0}#wpbody .col-wrapper select[multiple],#wpbody .search-form-editor-panel select[multiple]{max-width:100%;width:100%;height:150px;overflow:overlay}.col-wrapper select[multiple] option{word-break:break-word;white-space:pre-line}#search-form-editor option{border-bottom:1px solid #f4eded;padding:3px}.col-wrapper.after,.col-wrapper.before{width:auto}.col-wrapper.before{margin-right:0}.load-all{text-align:center;font-weight:800;color:#6994d8;cursor:pointer}.is-cb-title{background-color:#fff;border:1px solid #ccc;display:inline-block;padding:6px 12px;-webkit-user-select:none;-moz-user-select:none;cursor:pointer;-ms-user-select:none;-o-user-select:none;user-select:none;text-transform:capitalize}.is-cb-title::after{font-family:dashicons;content:"\f347";color:#72777c;font-size:14px;line-height:1;vertical-align:text-bottom;font-weight:800;margin-left:10px}.is-cb-title:hover{background-color:#ebebeb}.is-cb-title.is-dropdown-toggle{-webkit-box-shadow:inset 0 3px 5px rgba(0,0,0,.125);box-shadow:inset 0 3px 5px rgba(0,0,0,.125);background-color:#ebebeb}.is-cb-titles span:after{content:", ";display:inline-block}.is-cb-titles span:last-child:after{display:none}.is-cb-multisel{width:auto;display:table-cell;border-radius:4px;-webkit-box-shadow:3px 6px 0pxrgba(0,0,0,.175);box-shadow:3px 6px 0 rgba(0,0,0,.175);top:100%;left:0;background:#fff;border:1px solid #ccc;padding:10px 15px;z-index:9999}.is-cb-multisel>label{display:block;width:190px;margin:10px 0;float:left}.is-cb-multisel>label:nth-child(2n+1){clear:both}.is-cb-dropdown{position:relative}.is_index_advanced_min_len{width:4em}.ui-datepicker{padding:0;margin:0;-webkit-border-radius:0;-moz-border-radius:0;border-radius:0;background-color:#fff;border:1px solid #dfdfdf;border-top:none;-webkit-box-shadow:0 3px 6px rgba(0,0,0,.075);box-shadow:0 3px 6px rgba(0,0,0,.075);min-width:17em;width:auto;z-index:1000!important}body.wp-admin:not(.rtl) .ui-datepicker{margin-left:-1px}body.wp-admin.rtl .ui-datepicker{margin-right:-1px}.ui-datepicker *{padding:0;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen-Sans,Ubuntu,Cantarell,"Helvetica Neue",sans-serif;-webkit-border-radius:0;-moz-border-radius:0;border-radius:0}.ui-datepicker table{font-size:13px;margin:0;border:none;border-collapse:collapse}.ui-datepicker .ui-datepicker-header,.ui-datepicker .ui-widget-header{background-image:none;border:none;color:#fff;font-weight:400}.ui-datepicker .ui-datepicker-header .ui-state-hover{background:0 0;border-color:transparent;cursor:pointer}.ui-datepicker .ui-datepicker-title{margin:0;padding:4px 0;color:#fff;font-size:14px;line-height:14px;text-align:center}.ui-datepicker .ui-datepicker-next,.ui-datepicker .ui-datepicker-prev{position:relative;top:0;height:34px;width:34px}.ui-datepicker .ui-state-hover.ui-datepicker-next,.ui-datepicker .ui-state-hover.ui-datepicker-prev{border:none}.ui-datepicker .ui-datepicker-prev,.ui-datepicker .ui-datepicker-prev-hover{left:0}.ui-datepicker .ui-datepicker-next,.ui-datepicker .ui-datepicker-next-hover{right:0}.ui-datepicker .ui-datepicker-next span,.ui-datepicker .ui-datepicker-prev span{display:none}.ui-datepicker .ui-datepicker-prev{float:left}.ui-datepicker .ui-datepicker-next{float:right}.ui-datepicker .ui-datepicker-next:before,.ui-datepicker .ui-datepicker-prev:before{font:normal 20px/34px dashicons;padding-left:7px;color:#fff;speak:none;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;width:34px;height:34px}.ui-datepicker .ui-datepicker-prev:before{content:'\f341'}.ui-datepicker .ui-datepicker-next:before{content:'\f345'}.ui-datepicker .ui-datepicker-next-hover:before,.ui-datepicker .ui-datepicker-prev-hover:before{opacity:.7}.ui-datepicker select.ui-datepicker-month,.ui-datepicker select.ui-datepicker-year{width:33%}.ui-datepicker thead{color:#fff;font-weight:600}.ui-datepicker th{padding:10px}.ui-datepicker td{padding:0;border:1px solid #f4f4f4}.ui-datepicker td.ui-datepicker-other-month{border:transparent}.ui-datepicker tr:first-of-type td{border-top:1px solid #f0f0f0}.ui-datepicker td.ui-datepicker-week-end{background-color:#f4f4f4;border:1px solid #f0f0f0}.ui-datepicker td.ui-datepicker-today{background-color:#f0f0c0}.ui-datepicker td.ui-datepicker-current-day{background:#bd8}.ui-datepicker td .ui-state-default{background:0 0;border:none;text-align:center;text-decoration:none;width:auto;display:block;padding:5px 10px;font-weight:400;color:#444}.ui-datepicker td.ui-state-disabled .ui-state-default{opacity:.5}.ui-datepicker .ui-datepicker-header,.ui-datepicker .ui-widget-header{background:#00a0d2}.ui-datepicker thead{background:#32373c}.ui-datepicker td .ui-state-hover{background:#0073aa;color:#fff}.admin-color-fresh .ui-datepicker .ui-datepicker-header,.admin-color-fresh .ui-datepicker .ui-widget-header{background:#00a0d2}.admin-color-fresh .ui-datepicker thead{background:#32373c}.admin-color-fresh .ui-datepicker td .ui-state-hover{background:#0073aa;color:#fff}.is-loader{display:inline-block;border:5px solid #ddd;border-top:5px solid #3498db;border-radius:50%;width:20px;height:20px;animation:is-spin 2s linear infinite}@keyframes is-spin{0%{transform:rotate(0)}100%{transform:rotate(360deg)}}.is-index-build-panel{display:flex;align-items:end}.is-index-build-panel input{margin:0 10px 0 0!important}#is_progress{position:relative;margin-bottom:5px;width:100%;height:20px;background-color:#eee}#is_indicator{position:relative;display:inline-block;height:20px;max-width:100%;width:0;background-color:#65bc7b}
includes/class-is.php CHANGED
@@ -60,10 +60,10 @@ class IS_Loader {
60
 
61
  $this->admin_public_hooks();
62
 
63
- if ( is_admin() || ( defined( 'DOING_AJAX' ) && DOING_AJAX ) ) {
64
  $this->admin_hooks();
65
  }
66
- if ( ! is_admin() || ( defined( 'DOING_AJAX' ) && DOING_AJAX ) ) {
67
  $this->public_hooks();
68
  }
69
  }
@@ -174,6 +174,7 @@ class IS_Loader {
174
  add_action( 'pre_get_posts', array( $public, 'pre_get_posts' ), 9999999 );
175
  add_action( 'wp_footer', array( $public, 'wp_footer' ) );
176
  add_action( 'wp_head', array( $public, 'wp_head' ), 9999999 );
 
177
  }, 9999999 );
178
 
179
  $ajax = IS_Ajax::getInstance();
60
 
61
  $this->admin_public_hooks();
62
 
63
+ if ( is_admin() || ( defined( 'DOING_AJAX' ) && DOING_AJAX && 'is_ajax_load_posts' == $_POST['action'] ) ) {
64
  $this->admin_hooks();
65
  }
66
+ if ( ! is_admin() || ( defined( 'DOING_AJAX' ) && DOING_AJAX && 'is_ajax_load_posts' == $_POST['action'] ) ) {
67
  $this->public_hooks();
68
  }
69
  }
174
  add_action( 'pre_get_posts', array( $public, 'pre_get_posts' ), 9999999 );
175
  add_action( 'wp_footer', array( $public, 'wp_footer' ) );
176
  add_action( 'wp_head', array( $public, 'wp_head' ), 9999999 );
177
+ add_action( 'parse_query', array( $public, 'parse_query' ), 9999999, 2 );
178
  }, 9999999 );
179
 
180
  $ajax = IS_Ajax::getInstance();
languages/add-search-to-menu.pot CHANGED
@@ -2,7 +2,7 @@
2
  msgid ""
3
  msgstr ""
4
  "Project-Id-Version: Ivory Search\n"
5
- "POT-Creation-Date: 2022-01-06 19:03+0530\n"
6
  "PO-Revision-Date: 2020-03-17 21:05+0530\n"
7
  "Last-Translator: \n"
8
  "Language-Team: Ivory Search <admin@ivorysearch.com>\n"
@@ -185,15 +185,15 @@ msgstr ""
185
  msgid "Error in deleting."
186
  msgstr ""
187
 
188
- #: ../admin/class-is-admin.php:975
189
  msgid "Upgrade to Pro to Access"
190
  msgstr ""
191
 
192
- #: ../admin/class-is-admin.php:982
193
  msgid "Install Premium Version to Access"
194
  msgstr ""
195
 
196
- #: ../admin/class-is-admin.php:984
197
  msgid "Upgrade to Pro Plus to Access"
198
  msgstr ""
199
 
@@ -204,8 +204,8 @@ msgstr ""
204
  #: ../admin/class-is-editor.php:116 ../admin/partials/search-form.php:130
205
  #: ../includes/class-is-admin-public.php:186
206
  #: ../includes/class-is-search-form.php:529
207
- #: ../includes/class-is-search-form.php:601 ../public/class-is-public.php:207
208
- #: ../public/class-is-public.php:256
209
  msgid "Search"
210
  msgstr ""
211
 
@@ -221,17 +221,17 @@ msgstr ""
221
  msgid "Post Types"
222
  msgstr ""
223
 
224
- #: ../admin/class-is-editor.php:146 ../admin/class-is-editor.php:441
225
- #: ../admin/class-is-editor.php:811 ../admin/class-is-editor.php:1178
226
- #: ../admin/class-is-editor.php:1405 ../admin/class-is-editor.php:1500
227
- #: ../admin/class-is-editor.php:1645 ../admin/class-is-settings-fields.php:109
228
  msgid "Expand All"
229
  msgstr ""
230
 
231
- #: ../admin/class-is-editor.php:146 ../admin/class-is-editor.php:441
232
- #: ../admin/class-is-editor.php:812 ../admin/class-is-editor.php:1178
233
- #: ../admin/class-is-editor.php:1405 ../admin/class-is-editor.php:1500
234
- #: ../admin/class-is-editor.php:1645 ../admin/class-is-settings-fields.php:109
235
  msgid "Collapse All"
236
  msgstr ""
237
 
@@ -254,11 +254,11 @@ msgstr ""
254
  msgid "Do not display post_type in the search URL"
255
  msgstr ""
256
 
257
- #: ../admin/class-is-editor.php:219 ../admin/class-is-editor.php:1170
258
  msgid "( WooCommerce )"
259
  msgstr ""
260
 
261
- #: ../admin/class-is-editor.php:221 ../admin/class-is-editor.php:1172
262
  msgid "( Images, Videos, Audios, Docs, PDFs, Files & Attachments )"
263
  msgstr ""
264
 
@@ -280,27 +280,27 @@ msgid "Search only selected %s"
280
  msgstr ""
281
 
282
  #: ../admin/class-is-editor.php:275 ../admin/class-is-editor.php:310
283
- #: ../admin/class-is-editor.php:335 ../admin/class-is-editor.php:386
284
- #: ../admin/class-is-editor.php:1221 ../admin/class-is-editor.php:1278
285
- #: ../admin/class-is-editor.php:1304 ../admin/class-is-editor.php:1351
286
  #: ../admin/class-is-settings-index-fields.php:482
287
  msgid "Search.."
288
  msgstr ""
289
 
290
- #: ../admin/class-is-editor.php:279 ../admin/class-is-editor.php:1225
291
  msgid "Load All"
292
  msgstr ""
293
 
294
  #: ../admin/class-is-editor.php:282 ../admin/class-is-editor.php:320
295
- #: ../admin/class-is-editor.php:345 ../admin/class-is-editor.php:394
296
- #: ../admin/class-is-editor.php:1233 ../admin/class-is-editor.php:1288
297
- #: ../admin/class-is-editor.php:1315 ../admin/class-is-editor.php:1359
298
  #: ../admin/class-is-settings-index-fields.php:504
299
  msgid ""
300
  "Hold down the control (ctrl) or command button to select multiple options."
301
  msgstr ""
302
 
303
- #: ../admin/class-is-editor.php:284 ../admin/class-is-editor.php:1231
304
  #, php-format
305
  msgid "No %s created."
306
  msgstr ""
@@ -315,726 +315,733 @@ msgstr ""
315
  msgid "Search %s of only selected taxonomies (%s categories, tags & terms %s)"
316
  msgstr ""
317
 
318
- #: ../admin/class-is-editor.php:349
319
- #, php-format
320
- msgid "Search selected %s custom fields values"
321
- msgstr ""
322
-
323
- #: ../admin/class-is-editor.php:361
324
  msgid "Search product SKU"
325
  msgstr ""
326
 
327
- #: ../admin/class-is-editor.php:364
328
  msgid "Search product variation"
329
  msgstr ""
330
 
331
- #: ../admin/class-is-editor.php:396
332
  msgid "Selected File Types :"
333
  msgstr ""
334
 
335
- #: ../admin/class-is-editor.php:404 ../admin/class-is-editor.php:1369
336
  msgid "Search all MIME types"
337
  msgstr ""
338
 
339
- #: ../admin/class-is-editor.php:406
340
  msgid "Search only selected MIME types"
341
  msgstr ""
342
 
343
- #: ../admin/class-is-editor.php:411
344
  msgid "Search Images"
345
  msgstr ""
346
 
347
- #: ../admin/class-is-editor.php:413
348
  msgid "Search Videos"
349
  msgstr ""
350
 
351
- #: ../admin/class-is-editor.php:415
352
  msgid "Search Audios"
353
  msgstr ""
354
 
355
- #: ../admin/class-is-editor.php:417
356
  msgid "Search Text Files"
357
  msgstr ""
358
 
359
- #: ../admin/class-is-editor.php:419
360
  msgid "Search PDF Files"
361
  msgstr ""
362
 
363
- #: ../admin/class-is-editor.php:421
364
  msgid "Search Document Files"
365
  msgstr ""
366
 
367
- #: ../admin/class-is-editor.php:428
368
  #, php-format
369
  msgid ""
370
  "This search form is configured in the %s section to not search specific MIME "
371
  "types."
372
  msgstr ""
373
 
374
- #: ../admin/class-is-editor.php:431 ../admin/class-is-editor.php:1395
375
  msgid ""
376
  "You are using WordPress version less than 4.9 which does not support "
377
  "searching by MIME type."
378
  msgstr ""
379
 
380
- #: ../admin/class-is-editor.php:440 ../admin/class-is-editor.php:1404
381
  #: ../admin/class-is-settings-fields.php:200
382
  msgid "Extras"
383
  msgstr ""
384
 
385
- #: ../admin/class-is-editor.php:445
386
  msgid "Search Content"
387
  msgstr ""
388
 
389
- #: ../admin/class-is-editor.php:450
390
  #, php-format
391
  msgid "Search post title %s( File title )%s"
392
  msgstr ""
393
 
394
- #: ../admin/class-is-editor.php:454
395
  #, php-format
396
  msgid "Search post content %s( File description )%s"
397
  msgstr ""
398
 
399
- #: ../admin/class-is-editor.php:458
400
  #, php-format
401
  msgid "Search post excerpt %s( File caption )%s"
402
  msgstr ""
403
 
404
- #: ../admin/class-is-editor.php:462
405
  #, php-format
406
  msgid "Search category/tag title %s( Displays posts of the category/tag )%s"
407
  msgstr ""
408
 
409
- #: ../admin/class-is-editor.php:466
410
  #, php-format
411
  msgid ""
412
  "Search category/tag description %s( Displays posts of the category/tag )%s"
413
  msgstr ""
414
 
415
- #: ../admin/class-is-editor.php:488
416
  msgid ""
417
  "Note: The below option is disabled and set to OR as you have configured the "
418
  "search form to search multiple taxonomies."
419
  msgstr ""
420
 
421
- #: ../admin/class-is-editor.php:493
422
  msgid "AND - Search posts having all the above selected category terms"
423
  msgstr ""
424
 
425
- #: ../admin/class-is-editor.php:495
426
  msgid "OR - Search posts having any one of the above selected category terms"
427
  msgstr ""
428
 
429
- #: ../admin/class-is-editor.php:501 ../admin/class-is-editor.php:1468
430
- msgid "Post Status"
 
431
  msgstr ""
432
 
433
  #: ../admin/class-is-editor.php:505
 
 
 
 
 
 
 
 
434
  msgid "Search posts having selected post statuses."
435
  msgstr ""
436
 
437
- #: ../admin/class-is-editor.php:525
438
  msgid "Select Post Status"
439
  msgstr ""
440
 
441
- #: ../admin/class-is-editor.php:544 ../admin/class-is-editor.php:1409
442
  msgid "Authors"
443
  msgstr ""
444
 
445
- #: ../admin/class-is-editor.php:548
446
  msgid "Search posts created by selected authors."
447
  msgstr ""
448
 
449
- #: ../admin/class-is-editor.php:567 ../admin/class-is-editor.php:569
450
  msgid "Searches all author posts"
451
  msgstr ""
452
 
453
- #: ../admin/class-is-editor.php:597
454
  #, php-format
455
  msgid ""
456
  "This search form is configured in the %s section to not search for specific "
457
  "author posts."
458
  msgstr ""
459
 
460
- #: ../admin/class-is-editor.php:605
461
  msgid "Search author Display Name and display the posts created by that author"
462
  msgstr ""
463
 
464
- #: ../admin/class-is-editor.php:611
465
  msgid "Comments"
466
  msgstr ""
467
 
468
- #: ../admin/class-is-editor.php:620
469
  msgid "Search posts having number of comments"
470
  msgstr ""
471
 
472
- #: ../admin/class-is-editor.php:630
473
  msgid "NA"
474
  msgstr ""
475
 
476
- #: ../admin/class-is-editor.php:641
477
  msgid "Search approved comment content"
478
  msgstr ""
479
 
480
- #: ../admin/class-is-editor.php:647
481
  msgid "Password Protected"
482
  msgstr ""
483
 
484
- #: ../admin/class-is-editor.php:653
485
  msgid "Search posts with or without passwords"
486
  msgstr ""
487
 
488
- #: ../admin/class-is-editor.php:655
489
  msgid "Search posts with passwords"
490
  msgstr ""
491
 
492
- #: ../admin/class-is-editor.php:657
493
  msgid "Search posts without passwords"
494
  msgstr ""
495
 
496
- #: ../admin/class-is-editor.php:661 ../admin/class-is-editor.php:898
497
- #: ../admin/class-is-editor.php:1117 ../admin/class-is-list-table.php:33
498
  msgid "Date"
499
  msgstr ""
500
 
501
- #: ../admin/class-is-editor.php:665
502
  msgid "Search posts created only in the specified date range."
503
  msgstr ""
504
 
505
- #: ../admin/class-is-editor.php:671
506
  msgid "From"
507
  msgstr ""
508
 
509
- #: ../admin/class-is-editor.php:671
510
  msgid "To"
511
  msgstr ""
512
 
513
- #: ../admin/class-is-editor.php:695 ../admin/partials/search-form.php:142
514
  msgid "Design Search Form Colors, Text and Style"
515
  msgstr ""
516
 
517
- #: ../admin/class-is-editor.php:702 ../admin/class-is-editor.php:719
518
  msgid "Enable Search Form Customization"
519
  msgstr ""
520
 
521
- #: ../admin/class-is-editor.php:715 ../includes/class-is-search-form.php:627
522
  msgid "Customizer"
523
  msgstr ""
524
 
525
- #: ../admin/class-is-editor.php:721
526
  msgid ""
527
  "Use below customizer to customize search form colors, text and search form "
528
  "style."
529
  msgstr ""
530
 
531
- #: ../admin/class-is-editor.php:729
532
  msgid "Search Form Customizer"
533
  msgstr ""
534
 
535
- #: ../admin/class-is-editor.php:777 ../public/class-is-ajax.php:70
536
  msgid "Nothing found"
537
  msgstr ""
538
 
539
- #: ../admin/class-is-editor.php:780
540
  msgid "View All"
541
  msgstr ""
542
 
543
- #: ../admin/class-is-editor.php:784
544
  msgid "More Results.."
545
  msgstr ""
546
 
547
- #: ../admin/class-is-editor.php:795 ../admin/partials/search-form.php:147
548
  msgid "Configure AJAX Search"
549
  msgstr ""
550
 
551
- #: ../admin/class-is-editor.php:802 ../admin/class-is-editor.php:816
552
- #: ../admin/class-is-editor.php:998
553
  msgid "Enable AJAX Search"
554
  msgstr ""
555
 
556
- #: ../admin/class-is-editor.php:809
557
  msgid "AJAX Search Results"
558
  msgstr ""
559
 
560
- #: ../admin/class-is-editor.php:817
561
  msgid "Display selected content in the search results."
562
  msgstr ""
563
 
564
- #: ../admin/class-is-editor.php:824
565
  msgid "Description"
566
  msgstr ""
567
 
568
- #: ../admin/class-is-editor.php:832
569
  msgid "Excerpt"
570
  msgstr ""
571
 
572
- #: ../admin/class-is-editor.php:838
573
  msgid "Content"
574
  msgstr ""
575
 
576
- #: ../admin/class-is-editor.php:846
577
  msgid "Description Length."
578
  msgstr ""
579
 
580
- #: ../admin/class-is-editor.php:854
581
  msgid "Image"
582
  msgstr ""
583
 
584
- #: ../admin/class-is-editor.php:865
585
  msgid "Categories"
586
  msgstr ""
587
 
588
- #: ../admin/class-is-editor.php:876
589
  msgid "Tags"
590
  msgstr ""
591
 
592
- #: ../admin/class-is-editor.php:887
593
  msgid "Author"
594
  msgstr ""
595
 
596
- #: ../admin/class-is-editor.php:905
597
  msgid "Minimum number of characters required to run ajax search."
598
  msgstr ""
599
 
600
- #: ../admin/class-is-editor.php:910
601
  msgid "Search results box max height."
602
  msgstr ""
603
 
604
- #: ../admin/class-is-editor.php:913
605
  msgid "Configure the plugin text displayed in the search results."
606
  msgstr ""
607
 
608
- #: ../admin/class-is-editor.php:918
609
  msgid "Text when there is no search results. HTML tags is allowed."
610
  msgstr ""
611
 
612
- #: ../admin/class-is-editor.php:927
613
  msgid "Show 'More Results..' text in the bottom of the search results box"
614
  msgstr ""
615
 
616
- #: ../admin/class-is-editor.php:935
617
  msgid "Text for the \"More Results..\"."
618
  msgstr ""
619
 
620
- #: ../admin/class-is-editor.php:944
621
  msgid "Redirect to search results page clicking on the 'More Results..' text"
622
  msgstr ""
623
 
624
- #: ../admin/class-is-editor.php:954
625
  msgid ""
626
  "View All Result - Show link to search results page at the bottom of search "
627
  "results block."
628
  msgstr ""
629
 
630
- #: ../admin/class-is-editor.php:963
631
  msgid ""
632
  "Text for the \"View All\" which shown at the bottom of the search result."
633
  msgstr ""
634
 
635
- #: ../admin/class-is-editor.php:968
636
  msgid "Configure how the search button should work clicking on it."
637
  msgstr ""
638
 
639
- #: ../admin/class-is-editor.php:974
640
  msgid "Search button displays search results page"
641
  msgstr ""
642
 
643
- #: ../admin/class-is-editor.php:981
644
  msgid "Search button displays ajax search results"
645
  msgstr ""
646
 
647
- #: ../admin/class-is-editor.php:989 ../admin/class-is-help.php:144
648
  msgid "WooCommerce"
649
  msgstr ""
650
 
651
- #: ../admin/class-is-editor.php:996
652
  #, php-format
653
  msgid ""
654
  "Please first configure this search form in the %s section to search "
655
  "WooCommerce product post type."
656
  msgstr ""
657
 
658
- #: ../admin/class-is-editor.php:999
659
  msgid "Display selected WooCommerce content in the search results."
660
  msgstr ""
661
 
662
- #: ../admin/class-is-editor.php:1006 ../admin/class-is-editor.php:1118
663
  msgid "Price"
664
  msgstr ""
665
 
666
- #: ../admin/class-is-editor.php:1017
667
  msgid "Hide Price for Out of Stock Products"
668
  msgstr ""
669
 
670
- #: ../admin/class-is-editor.php:1028
671
  msgid "Sale Badge"
672
  msgstr ""
673
 
674
- #: ../admin/class-is-editor.php:1039
675
  msgid "SKU"
676
  msgstr ""
677
 
678
- #: ../admin/class-is-editor.php:1050
679
  msgid "Stock Status"
680
  msgstr ""
681
 
682
- #: ../admin/class-is-editor.php:1061 ../public/class-is-ajax.php:419
683
  msgid "Featured Icon"
684
  msgstr ""
685
 
686
- #: ../admin/class-is-editor.php:1072
687
  msgid "Matching Categories"
688
  msgstr ""
689
 
690
- #: ../admin/class-is-editor.php:1083
691
  msgid "Matching Tags"
692
  msgstr ""
693
 
694
- #: ../admin/class-is-editor.php:1094
695
  msgid "Details Box"
696
  msgstr ""
697
 
698
- #: ../admin/class-is-editor.php:1100
699
  msgid "Below options only apply to matching categories or tags."
700
  msgstr ""
701
 
702
- #: ../admin/class-is-editor.php:1102
703
  msgid "Product List"
704
  msgstr ""
705
 
706
- #: ../admin/class-is-editor.php:1105
707
  msgid "All Product"
708
  msgstr ""
709
 
710
- #: ../admin/class-is-editor.php:1106
711
  msgid "Featured Products"
712
  msgstr ""
713
 
714
- #: ../admin/class-is-editor.php:1107
715
  msgid "On-sale Products</option>"
716
  msgstr ""
717
 
718
- #: ../admin/class-is-editor.php:1114
719
  msgid "Order by"
720
  msgstr ""
721
 
722
- #: ../admin/class-is-editor.php:1119
723
  msgid "Random"
724
  msgstr ""
725
 
726
- #: ../admin/class-is-editor.php:1120
727
  msgid "Sales"
728
  msgstr ""
729
 
730
- #: ../admin/class-is-editor.php:1127
731
  msgid "Order"
732
  msgstr ""
733
 
734
- #: ../admin/class-is-editor.php:1130
735
  msgid "ASC"
736
  msgstr ""
737
 
738
- #: ../admin/class-is-editor.php:1131
739
  msgid "DESC"
740
  msgstr ""
741
 
742
- #: ../admin/class-is-editor.php:1150 ../admin/partials/search-form.php:137
743
  msgid "Exclude Content From Search"
744
  msgstr ""
745
 
746
- #: ../admin/class-is-editor.php:1242
747
  #, php-format
748
  msgid ""
749
  "The search form is configured in the %s section to only search specific "
750
  "posts of another post type."
751
  msgstr ""
752
 
753
- #: ../admin/class-is-editor.php:1247
754
  #, php-format
755
  msgid "Do not exclude any %s from search"
756
  msgstr ""
757
 
758
- #: ../admin/class-is-editor.php:1249
759
  #, php-format
760
  msgid "Exclude selected %s from search"
761
  msgstr ""
762
 
763
- #: ../admin/class-is-editor.php:1252
764
  #, php-format
765
  msgid ""
766
  "The search form is configured in the %1$s section to only search specific "
767
  "%2$s."
768
  msgstr ""
769
 
770
- #: ../admin/class-is-editor.php:1292
771
  #, php-format
772
  msgid ""
773
  "Do not exclude any %s from search of any taxonomies (%s categories, tags & "
774
  "terms %s)"
775
  msgstr ""
776
 
777
- #: ../admin/class-is-editor.php:1294
778
  #, php-format
779
  msgid ""
780
  "Exclude %s from search of selected taxonomies (%s categories, tags & terms "
781
  "%s)"
782
  msgstr ""
783
 
784
- #: ../admin/class-is-editor.php:1319
785
- #, php-format
786
- msgid "Exclude %s from search having selected custom fields"
787
- msgstr ""
788
-
789
- #: ../admin/class-is-editor.php:1331
790
  msgid "Exclude 'Out of Stock' products from search"
791
  msgstr ""
792
 
793
- #: ../admin/class-is-editor.php:1361
794
  msgid "Excluded File Types :"
795
  msgstr ""
796
 
797
- #: ../admin/class-is-editor.php:1371
798
  msgid "Exclude selected MIME types from search"
799
  msgstr ""
800
 
801
- #: ../admin/class-is-editor.php:1375
802
  msgid "Exclude Images"
803
  msgstr ""
804
 
805
- #: ../admin/class-is-editor.php:1377
806
  msgid "Exclude Videos"
807
  msgstr ""
808
 
809
- #: ../admin/class-is-editor.php:1379
810
  msgid "Exclude Audios"
811
  msgstr ""
812
 
813
- #: ../admin/class-is-editor.php:1381
814
  msgid "Exclude Text Files"
815
  msgstr ""
816
 
817
- #: ../admin/class-is-editor.php:1383
818
  msgid "Exclude PDF Files"
819
  msgstr ""
820
 
821
- #: ../admin/class-is-editor.php:1385
822
  msgid "Exclude Document Files"
823
  msgstr ""
824
 
825
- #: ../admin/class-is-editor.php:1392
826
  #, php-format
827
  msgid ""
828
  "This search form is configured in the %s section to search specific "
829
  "attachments."
830
  msgstr ""
831
 
832
- #: ../admin/class-is-editor.php:1413
 
 
 
 
833
  msgid "Exclude posts from search created by selected authors."
834
  msgstr ""
835
 
836
- #: ../admin/class-is-editor.php:1432 ../admin/class-is-editor.php:1434
837
  msgid "Search all author posts"
838
  msgstr ""
839
 
840
- #: ../admin/class-is-editor.php:1462
841
  #, php-format
842
  msgid ""
843
  "This search form is configured in the %s section to search posts created by "
844
  "specific authors."
845
  msgstr ""
846
 
847
- #: ../admin/class-is-editor.php:1472
848
  msgid "Exclude posts from search having selected post statuses."
849
  msgstr ""
850
 
851
- #: ../admin/class-is-editor.php:1477
852
  msgid "Exclude sticky posts from search"
853
  msgstr ""
854
 
855
- #: ../admin/class-is-editor.php:1492 ../admin/partials/search-form.php:152
856
  msgid "Advanced Search Form Options"
857
  msgstr ""
858
 
859
- #: ../admin/class-is-editor.php:1499
860
  msgid "Posts Per Page"
861
  msgstr ""
862
 
863
- #: ../admin/class-is-editor.php:1503
864
  msgid "Display selected number of posts in search results."
865
  msgstr ""
866
 
867
- #: ../admin/class-is-editor.php:1520
868
  msgid "Order Search Results"
869
  msgstr ""
870
 
871
- #: ../admin/class-is-editor.php:1523
872
  msgid "Display posts on search results page ordered by selected options."
873
  msgstr ""
874
 
875
- #: ../admin/class-is-editor.php:1548
876
  msgid "Highlight Search Terms"
877
  msgstr ""
878
 
879
- #: ../admin/class-is-editor.php:1554
880
  msgid "Highlight searched terms on search results page"
881
  msgstr ""
882
 
883
- #: ../admin/class-is-editor.php:1557
884
  msgid "Select text highlight color"
885
  msgstr ""
886
 
887
- #: ../admin/class-is-editor.php:1563
888
  msgid "Search All Or Any Search Terms"
889
  msgstr ""
890
 
891
- #: ../admin/class-is-editor.php:1567
892
  msgid ""
893
  "Select whether to search posts having all or any of the words being searched."
894
  msgstr ""
895
 
896
- #: ../admin/class-is-editor.php:1572
897
  msgid "OR - Display content having any of the search terms"
898
  msgstr ""
899
 
900
- #: ../admin/class-is-editor.php:1574
901
  msgid "AND - Display content having all the search terms"
902
  msgstr ""
903
 
904
- #: ../admin/class-is-editor.php:1580
905
  msgid "Fuzzy Matching"
906
  msgstr ""
907
 
908
- #: ../admin/class-is-editor.php:1583
909
  msgid ""
910
  "Select whether to search posts having whole or partial word being searched."
911
  msgstr ""
912
 
913
- #: ../admin/class-is-editor.php:1588
914
  msgid "Whole - Search posts that include the whole search term"
915
  msgstr ""
916
 
917
- #: ../admin/class-is-editor.php:1590
918
  msgid ""
919
  "Partial - Also search words in the posts that begins or ends with the search "
920
  "term"
921
  msgstr ""
922
 
923
- #: ../admin/class-is-editor.php:1592
924
  msgid ""
925
  "Anywhere - Also search words in the posts that have the search term in any "
926
  "position of the word"
927
  msgstr ""
928
 
929
- #: ../admin/class-is-editor.php:1599
930
  msgid "Keyword Stemming"
931
  msgstr ""
932
 
933
- #: ../admin/class-is-editor.php:1603
934
  msgid "Select whether to search the base word of a searched keyword."
935
  msgstr ""
936
 
937
- #: ../admin/class-is-editor.php:1604
938
  msgid ""
939
  "For Example: If you search \"doing\" then it also searches base word of "
940
  "\"doing\" that is \"do\" in the specified post types."
941
  msgstr ""
942
 
943
- #: ../admin/class-is-editor.php:1605
944
  msgid "Not recommended to use when Fuzzy Matching option is set to Whole."
945
  msgstr ""
946
 
947
- #: ../admin/class-is-editor.php:1611
948
  msgid "Also search base word of searched keyword"
949
  msgstr ""
950
 
951
- #: ../admin/class-is-editor.php:1618
952
  msgid "Search Engine"
953
  msgstr ""
954
 
955
- #: ../admin/class-is-editor.php:1622
956
  msgid "Select which search engine to use."
957
  msgstr ""
958
 
959
- #: ../admin/class-is-editor.php:1627
960
  msgid "Default WordPress Search Engine"
961
  msgstr ""
962
 
963
- #: ../admin/class-is-editor.php:1629 ../admin/class-is-editor.php:1831
964
  msgid "Inverted Index Search Engine"
965
  msgstr ""
966
 
967
- #: ../admin/class-is-editor.php:1644
968
  msgid "Others"
969
  msgstr ""
970
 
971
- #: ../admin/class-is-editor.php:1651
972
  msgid "Display sticky posts to the start of the search results page"
973
  msgstr ""
974
 
975
- #: ../admin/class-is-editor.php:1655
976
  msgid "Display search form only for site administrator"
977
  msgstr ""
978
 
979
- #: ../admin/class-is-editor.php:1659
980
  msgid "Disable this search form"
981
  msgstr ""
982
 
983
- #: ../admin/class-is-editor.php:1662
984
  msgid ""
985
  "Select whether to display an error when user perform search without any "
986
  "search word."
987
  msgstr ""
988
 
989
- #: ../admin/class-is-editor.php:1666
990
  msgid "Display an error for empty search query"
991
  msgstr ""
992
 
993
- #: ../admin/class-is-editor.php:1726
994
  msgid "The Index should be created to use this option in the Index "
995
  msgstr ""
996
 
997
- #: ../admin/class-is-editor.php:1774
998
  msgid "The post title is not selected in Index"
999
  msgstr ""
1000
 
1001
- #: ../admin/class-is-editor.php:1780
1002
  msgid "The post content is not selected in Index"
1003
  msgstr ""
1004
 
1005
- #: ../admin/class-is-editor.php:1786
1006
  msgid "The post excerpt is not selected in Index"
1007
  msgstr ""
1008
 
1009
- #: ../admin/class-is-editor.php:1792
1010
  msgid "The taxonomy title is not selected in Index"
1011
  msgstr ""
1012
 
1013
- #: ../admin/class-is-editor.php:1798
1014
  msgid "The taxonomy description is not selected in Index"
1015
  msgstr ""
1016
 
1017
- #: ../admin/class-is-editor.php:1804
1018
  msgid "The Author info is not selected in Index"
1019
  msgstr ""
1020
 
1021
- #: ../admin/class-is-editor.php:1810
1022
  msgid "The comments are not selected in Index"
1023
  msgstr ""
1024
 
1025
- #: ../admin/class-is-editor.php:1816
1026
  msgid "The product SKU is not selected in Index"
1027
  msgstr ""
1028
 
1029
- #: ../admin/class-is-editor.php:1826
 
 
 
 
1030
  msgid "Anywhere Fuzzy Matching"
1031
  msgstr ""
1032
 
1033
- #: ../admin/class-is-editor.php:1835
1034
  msgid "It is not recommended to use the"
1035
  msgstr ""
1036
 
1037
- #: ../admin/class-is-editor.php:1837
1038
  msgid "option along with"
1039
  msgstr ""
1040
 
@@ -1279,10 +1286,6 @@ msgstr ""
1279
  msgid "Taxonomies"
1280
  msgstr ""
1281
 
1282
- #: ../admin/class-is-settings-fields.php:199
1283
- msgid "Custom Fields"
1284
- msgstr ""
1285
-
1286
  #: ../admin/class-is-settings-fields.php:210
1287
  msgid "Invalid Custom CSS Code"
1288
  msgstr ""
@@ -2080,11 +2083,11 @@ msgstr ""
2080
  msgid "Sale!"
2081
  msgstr ""
2082
 
2083
- #: ../public/class-is-public.php:201
2084
  msgid "Search Title Link"
2085
  msgstr ""
2086
 
2087
- #: ../public/class-is-public.php:203
2088
  msgid "Search Icon Link"
2089
  msgstr ""
2090
 
2
  msgid ""
3
  msgstr ""
4
  "Project-Id-Version: Ivory Search\n"
5
+ "POT-Creation-Date: 2022-02-12 12:28+0530\n"
6
  "PO-Revision-Date: 2020-03-17 21:05+0530\n"
7
  "Last-Translator: \n"
8
  "Language-Team: Ivory Search <admin@ivorysearch.com>\n"
185
  msgid "Error in deleting."
186
  msgstr ""
187
 
188
+ #: ../admin/class-is-admin.php:974
189
  msgid "Upgrade to Pro to Access"
190
  msgstr ""
191
 
192
+ #: ../admin/class-is-admin.php:981
193
  msgid "Install Premium Version to Access"
194
  msgstr ""
195
 
196
+ #: ../admin/class-is-admin.php:983
197
  msgid "Upgrade to Pro Plus to Access"
198
  msgstr ""
199
 
204
  #: ../admin/class-is-editor.php:116 ../admin/partials/search-form.php:130
205
  #: ../includes/class-is-admin-public.php:186
206
  #: ../includes/class-is-search-form.php:529
207
+ #: ../includes/class-is-search-form.php:601 ../public/class-is-public.php:208
208
+ #: ../public/class-is-public.php:257
209
  msgid "Search"
210
  msgstr ""
211
 
221
  msgid "Post Types"
222
  msgstr ""
223
 
224
+ #: ../admin/class-is-editor.php:146 ../admin/class-is-editor.php:424
225
+ #: ../admin/class-is-editor.php:825 ../admin/class-is-editor.php:1192
226
+ #: ../admin/class-is-editor.php:1396 ../admin/class-is-editor.php:1526
227
+ #: ../admin/class-is-editor.php:1671 ../admin/class-is-settings-fields.php:109
228
  msgid "Expand All"
229
  msgstr ""
230
 
231
+ #: ../admin/class-is-editor.php:146 ../admin/class-is-editor.php:424
232
+ #: ../admin/class-is-editor.php:826 ../admin/class-is-editor.php:1192
233
+ #: ../admin/class-is-editor.php:1396 ../admin/class-is-editor.php:1526
234
+ #: ../admin/class-is-editor.php:1671 ../admin/class-is-settings-fields.php:109
235
  msgid "Collapse All"
236
  msgstr ""
237
 
254
  msgid "Do not display post_type in the search URL"
255
  msgstr ""
256
 
257
+ #: ../admin/class-is-editor.php:219 ../admin/class-is-editor.php:1184
258
  msgid "( WooCommerce )"
259
  msgstr ""
260
 
261
+ #: ../admin/class-is-editor.php:221 ../admin/class-is-editor.php:1186
262
  msgid "( Images, Videos, Audios, Docs, PDFs, Files & Attachments )"
263
  msgstr ""
264
 
280
  msgstr ""
281
 
282
  #: ../admin/class-is-editor.php:275 ../admin/class-is-editor.php:310
283
+ #: ../admin/class-is-editor.php:369 ../admin/class-is-editor.php:491
284
+ #: ../admin/class-is-editor.php:1235 ../admin/class-is-editor.php:1292
285
+ #: ../admin/class-is-editor.php:1342 ../admin/class-is-editor.php:1409
286
  #: ../admin/class-is-settings-index-fields.php:482
287
  msgid "Search.."
288
  msgstr ""
289
 
290
+ #: ../admin/class-is-editor.php:279 ../admin/class-is-editor.php:1239
291
  msgid "Load All"
292
  msgstr ""
293
 
294
  #: ../admin/class-is-editor.php:282 ../admin/class-is-editor.php:320
295
+ #: ../admin/class-is-editor.php:377 ../admin/class-is-editor.php:501
296
+ #: ../admin/class-is-editor.php:1247 ../admin/class-is-editor.php:1302
297
+ #: ../admin/class-is-editor.php:1350 ../admin/class-is-editor.php:1420
298
  #: ../admin/class-is-settings-index-fields.php:504
299
  msgid ""
300
  "Hold down the control (ctrl) or command button to select multiple options."
301
  msgstr ""
302
 
303
+ #: ../admin/class-is-editor.php:284 ../admin/class-is-editor.php:1245
304
  #, php-format
305
  msgid "No %s created."
306
  msgstr ""
315
  msgid "Search %s of only selected taxonomies (%s categories, tags & terms %s)"
316
  msgstr ""
317
 
318
+ #: ../admin/class-is-editor.php:340
 
 
 
 
 
319
  msgid "Search product SKU"
320
  msgstr ""
321
 
322
+ #: ../admin/class-is-editor.php:343
323
  msgid "Search product variation"
324
  msgstr ""
325
 
326
+ #: ../admin/class-is-editor.php:379
327
  msgid "Selected File Types :"
328
  msgstr ""
329
 
330
+ #: ../admin/class-is-editor.php:387 ../admin/class-is-editor.php:1360
331
  msgid "Search all MIME types"
332
  msgstr ""
333
 
334
+ #: ../admin/class-is-editor.php:389
335
  msgid "Search only selected MIME types"
336
  msgstr ""
337
 
338
+ #: ../admin/class-is-editor.php:394
339
  msgid "Search Images"
340
  msgstr ""
341
 
342
+ #: ../admin/class-is-editor.php:396
343
  msgid "Search Videos"
344
  msgstr ""
345
 
346
+ #: ../admin/class-is-editor.php:398
347
  msgid "Search Audios"
348
  msgstr ""
349
 
350
+ #: ../admin/class-is-editor.php:400
351
  msgid "Search Text Files"
352
  msgstr ""
353
 
354
+ #: ../admin/class-is-editor.php:402
355
  msgid "Search PDF Files"
356
  msgstr ""
357
 
358
+ #: ../admin/class-is-editor.php:404
359
  msgid "Search Document Files"
360
  msgstr ""
361
 
362
+ #: ../admin/class-is-editor.php:411
363
  #, php-format
364
  msgid ""
365
  "This search form is configured in the %s section to not search specific MIME "
366
  "types."
367
  msgstr ""
368
 
369
+ #: ../admin/class-is-editor.php:414 ../admin/class-is-editor.php:1386
370
  msgid ""
371
  "You are using WordPress version less than 4.9 which does not support "
372
  "searching by MIME type."
373
  msgstr ""
374
 
375
+ #: ../admin/class-is-editor.php:423 ../admin/class-is-editor.php:1395
376
  #: ../admin/class-is-settings-fields.php:200
377
  msgid "Extras"
378
  msgstr ""
379
 
380
+ #: ../admin/class-is-editor.php:428
381
  msgid "Search Content"
382
  msgstr ""
383
 
384
+ #: ../admin/class-is-editor.php:433
385
  #, php-format
386
  msgid "Search post title %s( File title )%s"
387
  msgstr ""
388
 
389
+ #: ../admin/class-is-editor.php:437
390
  #, php-format
391
  msgid "Search post content %s( File description )%s"
392
  msgstr ""
393
 
394
+ #: ../admin/class-is-editor.php:441
395
  #, php-format
396
  msgid "Search post excerpt %s( File caption )%s"
397
  msgstr ""
398
 
399
+ #: ../admin/class-is-editor.php:445
400
  #, php-format
401
  msgid "Search category/tag title %s( Displays posts of the category/tag )%s"
402
  msgstr ""
403
 
404
+ #: ../admin/class-is-editor.php:449
405
  #, php-format
406
  msgid ""
407
  "Search category/tag description %s( Displays posts of the category/tag )%s"
408
  msgstr ""
409
 
410
+ #: ../admin/class-is-editor.php:471
411
  msgid ""
412
  "Note: The below option is disabled and set to OR as you have configured the "
413
  "search form to search multiple taxonomies."
414
  msgstr ""
415
 
416
+ #: ../admin/class-is-editor.php:476
417
  msgid "AND - Search posts having all the above selected category terms"
418
  msgstr ""
419
 
420
+ #: ../admin/class-is-editor.php:478
421
  msgid "OR - Search posts having any one of the above selected category terms"
422
  msgstr ""
423
 
424
+ #: ../admin/class-is-editor.php:483 ../admin/class-is-editor.php:1400
425
+ #: ../admin/class-is-settings-fields.php:199
426
+ msgid "Custom Fields"
427
  msgstr ""
428
 
429
  #: ../admin/class-is-editor.php:505
430
+ msgid "Search selected custom fields values"
431
+ msgstr ""
432
+
433
+ #: ../admin/class-is-editor.php:515 ../admin/class-is-editor.php:1494
434
+ msgid "Post Status"
435
+ msgstr ""
436
+
437
+ #: ../admin/class-is-editor.php:519
438
  msgid "Search posts having selected post statuses."
439
  msgstr ""
440
 
441
+ #: ../admin/class-is-editor.php:539
442
  msgid "Select Post Status"
443
  msgstr ""
444
 
445
+ #: ../admin/class-is-editor.php:558 ../admin/class-is-editor.php:1430
446
  msgid "Authors"
447
  msgstr ""
448
 
449
+ #: ../admin/class-is-editor.php:562
450
  msgid "Search posts created by selected authors."
451
  msgstr ""
452
 
453
+ #: ../admin/class-is-editor.php:581 ../admin/class-is-editor.php:583
454
  msgid "Searches all author posts"
455
  msgstr ""
456
 
457
+ #: ../admin/class-is-editor.php:611
458
  #, php-format
459
  msgid ""
460
  "This search form is configured in the %s section to not search for specific "
461
  "author posts."
462
  msgstr ""
463
 
464
+ #: ../admin/class-is-editor.php:619
465
  msgid "Search author Display Name and display the posts created by that author"
466
  msgstr ""
467
 
468
+ #: ../admin/class-is-editor.php:625
469
  msgid "Comments"
470
  msgstr ""
471
 
472
+ #: ../admin/class-is-editor.php:634
473
  msgid "Search posts having number of comments"
474
  msgstr ""
475
 
476
+ #: ../admin/class-is-editor.php:644
477
  msgid "NA"
478
  msgstr ""
479
 
480
+ #: ../admin/class-is-editor.php:655
481
  msgid "Search approved comment content"
482
  msgstr ""
483
 
484
+ #: ../admin/class-is-editor.php:661
485
  msgid "Password Protected"
486
  msgstr ""
487
 
488
+ #: ../admin/class-is-editor.php:667
489
  msgid "Search posts with or without passwords"
490
  msgstr ""
491
 
492
+ #: ../admin/class-is-editor.php:669
493
  msgid "Search posts with passwords"
494
  msgstr ""
495
 
496
+ #: ../admin/class-is-editor.php:671
497
  msgid "Search posts without passwords"
498
  msgstr ""
499
 
500
+ #: ../admin/class-is-editor.php:675 ../admin/class-is-editor.php:912
501
+ #: ../admin/class-is-editor.php:1131 ../admin/class-is-list-table.php:33
502
  msgid "Date"
503
  msgstr ""
504
 
505
+ #: ../admin/class-is-editor.php:679
506
  msgid "Search posts created only in the specified date range."
507
  msgstr ""
508
 
509
+ #: ../admin/class-is-editor.php:685
510
  msgid "From"
511
  msgstr ""
512
 
513
+ #: ../admin/class-is-editor.php:685
514
  msgid "To"
515
  msgstr ""
516
 
517
+ #: ../admin/class-is-editor.php:709 ../admin/partials/search-form.php:142
518
  msgid "Design Search Form Colors, Text and Style"
519
  msgstr ""
520
 
521
+ #: ../admin/class-is-editor.php:716 ../admin/class-is-editor.php:733
522
  msgid "Enable Search Form Customization"
523
  msgstr ""
524
 
525
+ #: ../admin/class-is-editor.php:729 ../includes/class-is-search-form.php:627
526
  msgid "Customizer"
527
  msgstr ""
528
 
529
+ #: ../admin/class-is-editor.php:735
530
  msgid ""
531
  "Use below customizer to customize search form colors, text and search form "
532
  "style."
533
  msgstr ""
534
 
535
+ #: ../admin/class-is-editor.php:743
536
  msgid "Search Form Customizer"
537
  msgstr ""
538
 
539
+ #: ../admin/class-is-editor.php:791 ../public/class-is-ajax.php:70
540
  msgid "Nothing found"
541
  msgstr ""
542
 
543
+ #: ../admin/class-is-editor.php:794
544
  msgid "View All"
545
  msgstr ""
546
 
547
+ #: ../admin/class-is-editor.php:798
548
  msgid "More Results.."
549
  msgstr ""
550
 
551
+ #: ../admin/class-is-editor.php:809 ../admin/partials/search-form.php:147
552
  msgid "Configure AJAX Search"
553
  msgstr ""
554
 
555
+ #: ../admin/class-is-editor.php:816 ../admin/class-is-editor.php:830
556
+ #: ../admin/class-is-editor.php:1012
557
  msgid "Enable AJAX Search"
558
  msgstr ""
559
 
560
+ #: ../admin/class-is-editor.php:823
561
  msgid "AJAX Search Results"
562
  msgstr ""
563
 
564
+ #: ../admin/class-is-editor.php:831
565
  msgid "Display selected content in the search results."
566
  msgstr ""
567
 
568
+ #: ../admin/class-is-editor.php:838
569
  msgid "Description"
570
  msgstr ""
571
 
572
+ #: ../admin/class-is-editor.php:846
573
  msgid "Excerpt"
574
  msgstr ""
575
 
576
+ #: ../admin/class-is-editor.php:852
577
  msgid "Content"
578
  msgstr ""
579
 
580
+ #: ../admin/class-is-editor.php:860
581
  msgid "Description Length."
582
  msgstr ""
583
 
584
+ #: ../admin/class-is-editor.php:868
585
  msgid "Image"
586
  msgstr ""
587
 
588
+ #: ../admin/class-is-editor.php:879
589
  msgid "Categories"
590
  msgstr ""
591
 
592
+ #: ../admin/class-is-editor.php:890
593
  msgid "Tags"
594
  msgstr ""
595
 
596
+ #: ../admin/class-is-editor.php:901
597
  msgid "Author"
598
  msgstr ""
599
 
600
+ #: ../admin/class-is-editor.php:919
601
  msgid "Minimum number of characters required to run ajax search."
602
  msgstr ""
603
 
604
+ #: ../admin/class-is-editor.php:924
605
  msgid "Search results box max height."
606
  msgstr ""
607
 
608
+ #: ../admin/class-is-editor.php:927
609
  msgid "Configure the plugin text displayed in the search results."
610
  msgstr ""
611
 
612
+ #: ../admin/class-is-editor.php:932
613
  msgid "Text when there is no search results. HTML tags is allowed."
614
  msgstr ""
615
 
616
+ #: ../admin/class-is-editor.php:941
617
  msgid "Show 'More Results..' text in the bottom of the search results box"
618
  msgstr ""
619
 
620
+ #: ../admin/class-is-editor.php:949
621
  msgid "Text for the \"More Results..\"."
622
  msgstr ""
623
 
624
+ #: ../admin/class-is-editor.php:958
625
  msgid "Redirect to search results page clicking on the 'More Results..' text"
626
  msgstr ""
627
 
628
+ #: ../admin/class-is-editor.php:968
629
  msgid ""
630
  "View All Result - Show link to search results page at the bottom of search "
631
  "results block."
632
  msgstr ""
633
 
634
+ #: ../admin/class-is-editor.php:977
635
  msgid ""
636
  "Text for the \"View All\" which shown at the bottom of the search result."
637
  msgstr ""
638
 
639
+ #: ../admin/class-is-editor.php:982
640
  msgid "Configure how the search button should work clicking on it."
641
  msgstr ""
642
 
643
+ #: ../admin/class-is-editor.php:988
644
  msgid "Search button displays search results page"
645
  msgstr ""
646
 
647
+ #: ../admin/class-is-editor.php:995
648
  msgid "Search button displays ajax search results"
649
  msgstr ""
650
 
651
+ #: ../admin/class-is-editor.php:1003 ../admin/class-is-help.php:144
652
  msgid "WooCommerce"
653
  msgstr ""
654
 
655
+ #: ../admin/class-is-editor.php:1010
656
  #, php-format
657
  msgid ""
658
  "Please first configure this search form in the %s section to search "
659
  "WooCommerce product post type."
660
  msgstr ""
661
 
662
+ #: ../admin/class-is-editor.php:1013
663
  msgid "Display selected WooCommerce content in the search results."
664
  msgstr ""
665
 
666
+ #: ../admin/class-is-editor.php:1020 ../admin/class-is-editor.php:1132
667
  msgid "Price"
668
  msgstr ""
669
 
670
+ #: ../admin/class-is-editor.php:1031
671
  msgid "Hide Price for Out of Stock Products"
672
  msgstr ""
673
 
674
+ #: ../admin/class-is-editor.php:1042
675
  msgid "Sale Badge"
676
  msgstr ""
677
 
678
+ #: ../admin/class-is-editor.php:1053
679
  msgid "SKU"
680
  msgstr ""
681
 
682
+ #: ../admin/class-is-editor.php:1064
683
  msgid "Stock Status"
684
  msgstr ""
685
 
686
+ #: ../admin/class-is-editor.php:1075 ../public/class-is-ajax.php:419
687
  msgid "Featured Icon"
688
  msgstr ""
689
 
690
+ #: ../admin/class-is-editor.php:1086
691
  msgid "Matching Categories"
692
  msgstr ""
693
 
694
+ #: ../admin/class-is-editor.php:1097
695
  msgid "Matching Tags"
696
  msgstr ""
697
 
698
+ #: ../admin/class-is-editor.php:1108
699
  msgid "Details Box"
700
  msgstr ""
701
 
702
+ #: ../admin/class-is-editor.php:1114
703
  msgid "Below options only apply to matching categories or tags."
704
  msgstr ""
705
 
706
+ #: ../admin/class-is-editor.php:1116
707
  msgid "Product List"
708
  msgstr ""
709
 
710
+ #: ../admin/class-is-editor.php:1119
711
  msgid "All Product"
712
  msgstr ""
713
 
714
+ #: ../admin/class-is-editor.php:1120
715
  msgid "Featured Products"
716
  msgstr ""
717
 
718
+ #: ../admin/class-is-editor.php:1121
719
  msgid "On-sale Products</option>"
720
  msgstr ""
721
 
722
+ #: ../admin/class-is-editor.php:1128
723
  msgid "Order by"
724
  msgstr ""
725
 
726
+ #: ../admin/class-is-editor.php:1133
727
  msgid "Random"
728
  msgstr ""
729
 
730
+ #: ../admin/class-is-editor.php:1134
731
  msgid "Sales"
732
  msgstr ""
733
 
734
+ #: ../admin/class-is-editor.php:1141
735
  msgid "Order"
736
  msgstr ""
737
 
738
+ #: ../admin/class-is-editor.php:1144
739
  msgid "ASC"
740
  msgstr ""
741
 
742
+ #: ../admin/class-is-editor.php:1145
743
  msgid "DESC"
744
  msgstr ""
745
 
746
+ #: ../admin/class-is-editor.php:1164 ../admin/partials/search-form.php:137
747
  msgid "Exclude Content From Search"
748
  msgstr ""
749
 
750
+ #: ../admin/class-is-editor.php:1256
751
  #, php-format
752
  msgid ""
753
  "The search form is configured in the %s section to only search specific "
754
  "posts of another post type."
755
  msgstr ""
756
 
757
+ #: ../admin/class-is-editor.php:1261
758
  #, php-format
759
  msgid "Do not exclude any %s from search"
760
  msgstr ""
761
 
762
+ #: ../admin/class-is-editor.php:1263
763
  #, php-format
764
  msgid "Exclude selected %s from search"
765
  msgstr ""
766
 
767
+ #: ../admin/class-is-editor.php:1266
768
  #, php-format
769
  msgid ""
770
  "The search form is configured in the %1$s section to only search specific "
771
  "%2$s."
772
  msgstr ""
773
 
774
+ #: ../admin/class-is-editor.php:1306
775
  #, php-format
776
  msgid ""
777
  "Do not exclude any %s from search of any taxonomies (%s categories, tags & "
778
  "terms %s)"
779
  msgstr ""
780
 
781
+ #: ../admin/class-is-editor.php:1308
782
  #, php-format
783
  msgid ""
784
  "Exclude %s from search of selected taxonomies (%s categories, tags & terms "
785
  "%s)"
786
  msgstr ""
787
 
788
+ #: ../admin/class-is-editor.php:1322
 
 
 
 
 
789
  msgid "Exclude 'Out of Stock' products from search"
790
  msgstr ""
791
 
792
+ #: ../admin/class-is-editor.php:1352
793
  msgid "Excluded File Types :"
794
  msgstr ""
795
 
796
+ #: ../admin/class-is-editor.php:1362
797
  msgid "Exclude selected MIME types from search"
798
  msgstr ""
799
 
800
+ #: ../admin/class-is-editor.php:1366
801
  msgid "Exclude Images"
802
  msgstr ""
803
 
804
+ #: ../admin/class-is-editor.php:1368
805
  msgid "Exclude Videos"
806
  msgstr ""
807
 
808
+ #: ../admin/class-is-editor.php:1370
809
  msgid "Exclude Audios"
810
  msgstr ""
811
 
812
+ #: ../admin/class-is-editor.php:1372
813
  msgid "Exclude Text Files"
814
  msgstr ""
815
 
816
+ #: ../admin/class-is-editor.php:1374
817
  msgid "Exclude PDF Files"
818
  msgstr ""
819
 
820
+ #: ../admin/class-is-editor.php:1376
821
  msgid "Exclude Document Files"
822
  msgstr ""
823
 
824
+ #: ../admin/class-is-editor.php:1383
825
  #, php-format
826
  msgid ""
827
  "This search form is configured in the %s section to search specific "
828
  "attachments."
829
  msgstr ""
830
 
831
+ #: ../admin/class-is-editor.php:1424
832
+ msgid "Exclude from search having selected custom fields"
833
+ msgstr ""
834
+
835
+ #: ../admin/class-is-editor.php:1434
836
  msgid "Exclude posts from search created by selected authors."
837
  msgstr ""
838
 
839
+ #: ../admin/class-is-editor.php:1458 ../admin/class-is-editor.php:1460
840
  msgid "Search all author posts"
841
  msgstr ""
842
 
843
+ #: ../admin/class-is-editor.php:1488
844
  #, php-format
845
  msgid ""
846
  "This search form is configured in the %s section to search posts created by "
847
  "specific authors."
848
  msgstr ""
849
 
850
+ #: ../admin/class-is-editor.php:1498
851
  msgid "Exclude posts from search having selected post statuses."
852
  msgstr ""
853
 
854
+ #: ../admin/class-is-editor.php:1503
855
  msgid "Exclude sticky posts from search"
856
  msgstr ""
857
 
858
+ #: ../admin/class-is-editor.php:1518 ../admin/partials/search-form.php:152
859
  msgid "Advanced Search Form Options"
860
  msgstr ""
861
 
862
+ #: ../admin/class-is-editor.php:1525
863
  msgid "Posts Per Page"
864
  msgstr ""
865
 
866
+ #: ../admin/class-is-editor.php:1529
867
  msgid "Display selected number of posts in search results."
868
  msgstr ""
869
 
870
+ #: ../admin/class-is-editor.php:1546
871
  msgid "Order Search Results"
872
  msgstr ""
873
 
874
+ #: ../admin/class-is-editor.php:1549
875
  msgid "Display posts on search results page ordered by selected options."
876
  msgstr ""
877
 
878
+ #: ../admin/class-is-editor.php:1574
879
  msgid "Highlight Search Terms"
880
  msgstr ""
881
 
882
+ #: ../admin/class-is-editor.php:1580
883
  msgid "Highlight searched terms on search results page"
884
  msgstr ""
885
 
886
+ #: ../admin/class-is-editor.php:1583
887
  msgid "Select text highlight color"
888
  msgstr ""
889
 
890
+ #: ../admin/class-is-editor.php:1589
891
  msgid "Search All Or Any Search Terms"
892
  msgstr ""
893
 
894
+ #: ../admin/class-is-editor.php:1593
895
  msgid ""
896
  "Select whether to search posts having all or any of the words being searched."
897
  msgstr ""
898
 
899
+ #: ../admin/class-is-editor.php:1598
900
  msgid "OR - Display content having any of the search terms"
901
  msgstr ""
902
 
903
+ #: ../admin/class-is-editor.php:1600
904
  msgid "AND - Display content having all the search terms"
905
  msgstr ""
906
 
907
+ #: ../admin/class-is-editor.php:1606
908
  msgid "Fuzzy Matching"
909
  msgstr ""
910
 
911
+ #: ../admin/class-is-editor.php:1609
912
  msgid ""
913
  "Select whether to search posts having whole or partial word being searched."
914
  msgstr ""
915
 
916
+ #: ../admin/class-is-editor.php:1614
917
  msgid "Whole - Search posts that include the whole search term"
918
  msgstr ""
919
 
920
+ #: ../admin/class-is-editor.php:1616
921
  msgid ""
922
  "Partial - Also search words in the posts that begins or ends with the search "
923
  "term"
924
  msgstr ""
925
 
926
+ #: ../admin/class-is-editor.php:1618
927
  msgid ""
928
  "Anywhere - Also search words in the posts that have the search term in any "
929
  "position of the word"
930
  msgstr ""
931
 
932
+ #: ../admin/class-is-editor.php:1625
933
  msgid "Keyword Stemming"
934
  msgstr ""
935
 
936
+ #: ../admin/class-is-editor.php:1629
937
  msgid "Select whether to search the base word of a searched keyword."
938
  msgstr ""
939
 
940
+ #: ../admin/class-is-editor.php:1630
941
  msgid ""
942
  "For Example: If you search \"doing\" then it also searches base word of "
943
  "\"doing\" that is \"do\" in the specified post types."
944
  msgstr ""
945
 
946
+ #: ../admin/class-is-editor.php:1631
947
  msgid "Not recommended to use when Fuzzy Matching option is set to Whole."
948
  msgstr ""
949
 
950
+ #: ../admin/class-is-editor.php:1637
951
  msgid "Also search base word of searched keyword"
952
  msgstr ""
953
 
954
+ #: ../admin/class-is-editor.php:1644
955
  msgid "Search Engine"
956
  msgstr ""
957
 
958
+ #: ../admin/class-is-editor.php:1648
959
  msgid "Select which search engine to use."
960
  msgstr ""
961
 
962
+ #: ../admin/class-is-editor.php:1653
963
  msgid "Default WordPress Search Engine"
964
  msgstr ""
965
 
966
+ #: ../admin/class-is-editor.php:1655 ../admin/class-is-editor.php:1855
967
  msgid "Inverted Index Search Engine"
968
  msgstr ""
969
 
970
+ #: ../admin/class-is-editor.php:1670
971
  msgid "Others"
972
  msgstr ""
973
 
974
+ #: ../admin/class-is-editor.php:1677
975
  msgid "Display sticky posts to the start of the search results page"
976
  msgstr ""
977
 
978
+ #: ../admin/class-is-editor.php:1681
979
  msgid "Display search form only for site administrator"
980
  msgstr ""
981
 
982
+ #: ../admin/class-is-editor.php:1685
983
  msgid "Disable this search form"
984
  msgstr ""
985
 
986
+ #: ../admin/class-is-editor.php:1688
987
  msgid ""
988
  "Select whether to display an error when user perform search without any "
989
  "search word."
990
  msgstr ""
991
 
992
+ #: ../admin/class-is-editor.php:1692
993
  msgid "Display an error for empty search query"
994
  msgstr ""
995
 
996
+ #: ../admin/class-is-editor.php:1752
997
  msgid "The Index should be created to use this option in the Index "
998
  msgstr ""
999
 
1000
+ #: ../admin/class-is-editor.php:1794
1001
  msgid "The post title is not selected in Index"
1002
  msgstr ""
1003
 
1004
+ #: ../admin/class-is-editor.php:1800
1005
  msgid "The post content is not selected in Index"
1006
  msgstr ""
1007
 
1008
+ #: ../admin/class-is-editor.php:1806
1009
  msgid "The post excerpt is not selected in Index"
1010
  msgstr ""
1011
 
1012
+ #: ../admin/class-is-editor.php:1812
1013
  msgid "The taxonomy title is not selected in Index"
1014
  msgstr ""
1015
 
1016
+ #: ../admin/class-is-editor.php:1818
1017
  msgid "The taxonomy description is not selected in Index"
1018
  msgstr ""
1019
 
1020
+ #: ../admin/class-is-editor.php:1824
1021
  msgid "The Author info is not selected in Index"
1022
  msgstr ""
1023
 
1024
+ #: ../admin/class-is-editor.php:1830
1025
  msgid "The comments are not selected in Index"
1026
  msgstr ""
1027
 
1028
+ #: ../admin/class-is-editor.php:1836
1029
  msgid "The product SKU is not selected in Index"
1030
  msgstr ""
1031
 
1032
+ #: ../admin/class-is-editor.php:1840
1033
+ msgid "The product variation is not selected in Index"
1034
+ msgstr ""
1035
+
1036
+ #: ../admin/class-is-editor.php:1850
1037
  msgid "Anywhere Fuzzy Matching"
1038
  msgstr ""
1039
 
1040
+ #: ../admin/class-is-editor.php:1859
1041
  msgid "It is not recommended to use the"
1042
  msgstr ""
1043
 
1044
+ #: ../admin/class-is-editor.php:1861
1045
  msgid "option along with"
1046
  msgstr ""
1047
 
1286
  msgid "Taxonomies"
1287
  msgstr ""
1288
 
 
 
 
 
1289
  #: ../admin/class-is-settings-fields.php:210
1290
  msgid "Invalid Custom CSS Code"
1291
  msgstr ""
2083
  msgid "Sale!"
2084
  msgstr ""
2085
 
2086
+ #: ../public/class-is-public.php:202
2087
  msgid "Search Title Link"
2088
  msgstr ""
2089
 
2090
+ #: ../public/class-is-public.php:204
2091
  msgid "Search Icon Link"
2092
  msgstr ""
2093
 
public/class-is-index-search.php CHANGED
@@ -105,11 +105,13 @@ class IS_Index_Search {
105
  ) {
106
  wp_suspend_cache_addition( true );
107
 
 
 
108
  $post_ids = $this->search( $s );
109
 
110
  if ( ! empty( $post_ids ) ) {
111
 
112
- $posts = $this->get_posts( $post_ids );
113
  $found = is_array( $posts ) ? count( $posts ) : 0;
114
 
115
  $wp_query->found_posts = $found;
@@ -143,9 +145,10 @@ class IS_Index_Search {
143
  * @since 5.0
144
  *
145
  * @param array $posts_ids The post ids to fetch posts.
 
146
  * @return array The retrieved posts.
147
  */
148
- protected function get_posts( $post_ids ) {
149
  $posts = array();
150
  $max_slice_size = 10000;
151
 
@@ -178,6 +181,11 @@ class IS_Index_Search {
178
  );
179
 
180
  $query = new WP_Query( $args );
 
 
 
 
 
181
 
182
  // Use existing query restrictions.
183
  $is_public = IS_Public::getInstance();
@@ -265,7 +273,7 @@ class IS_Index_Search {
265
  * @todo include product variation if enabled in search form.
266
  *
267
  * @since 5.0
268
- * @param string $s The search terms.
269
  * @return array The ranked post_ids found for the search.
270
  */
271
  public function search( $s ) {
@@ -276,16 +284,6 @@ class IS_Index_Search {
276
  return;
277
  }
278
 
279
- if ( is_array( $s ) ) {
280
- $s = implode( ' ', $s );
281
- }
282
-
283
- $s = array_keys( $this->helper->tokenize_string( $s ) );
284
-
285
- if ( empty( $s ) ) {
286
- return;
287
- }
288
-
289
  $post_ids = array();
290
 
291
  // keep original search terms
105
  ) {
106
  wp_suspend_cache_addition( true );
107
 
108
+ $s = array_keys( $this->helper->tokenize_string( $s ) );
109
+
110
  $post_ids = $this->search( $s );
111
 
112
  if ( ! empty( $post_ids ) ) {
113
 
114
+ $posts = $this->get_posts( $post_ids, $s );
115
  $found = is_array( $posts ) ? count( $posts ) : 0;
116
 
117
  $wp_query->found_posts = $found;
145
  * @since 5.0
146
  *
147
  * @param array $posts_ids The post ids to fetch posts.
148
+ * @param string $s The search string.
149
  * @return array The retrieved posts.
150
  */
151
+ protected function get_posts( $post_ids, $s ) {
152
  $posts = array();
153
  $max_slice_size = 10000;
154
 
181
  );
182
 
183
  $query = new WP_Query( $args );
184
+
185
+ if ( is_array( $s ) ) {
186
+ $s = implode( ' ', $s );
187
+ }
188
+ $query->query_vars['s'] = $s;
189
 
190
  // Use existing query restrictions.
191
  $is_public = IS_Public::getInstance();
273
  * @todo include product variation if enabled in search form.
274
  *
275
  * @since 5.0
276
+ * @param string[] $s The array of search terms.
277
  * @return array The ranked post_ids found for the search.
278
  */
279
  public function search( $s ) {
284
  return;
285
  }
286
 
 
 
 
 
 
 
 
 
 
 
287
  $post_ids = array();
288
 
289
  // keep original search terms
public/class-is-public.php CHANGED
@@ -80,6 +80,7 @@ class IS_Public
80
  );
81
 
82
  if ( is_search() ) {
 
83
  if ( isset( $_GET['id'] ) ) {
84
  $is_temp['is_id'] = sanitize_key( $_GET['id'] );
85
  }
@@ -644,8 +645,12 @@ class IS_Public
644
  function posts_search( $search, $query )
645
  {
646
  $q = $query->query_vars;
 
 
 
 
647
 
648
- if ( empty($q['search_terms']) || is_admin() && !(defined( 'DOING_AJAX' ) && DOING_AJAX) || !isset( $q['_is_includes'] ) ) {
649
  return $search;
650
  // skip processing
651
  } else {
@@ -790,6 +795,9 @@ class IS_Public
790
  $search .= ")";
791
  $searchand = " {$terms_relation_type} ";
792
  }
 
 
 
793
  if ( '' === $OR ) {
794
  $search = " AND ( 0 ";
795
  }
@@ -804,7 +812,7 @@ class IS_Public
804
  $OR = '';
805
  $i = 0;
806
  $tax_post_type = $q['post_type'];
807
- foreach ( $q['tax_query'] as $value ) {
808
 
809
  if ( isset( $value['terms'] ) ) {
810
  if ( isset( $value['post_type'] ) ) {
@@ -840,7 +848,7 @@ class IS_Public
840
  if ( isset( $q['_is_excludes']['tax_query'] ) ) {
841
  $AND = '';
842
  $search .= " AND ( ";
843
- foreach ( $q['_is_excludes']['tax_query'] as $value ) {
844
  $search .= $AND;
845
  $search .= "( {$wpdb->posts}.ID NOT IN ( SELECT {$wpdb->term_relationships}.object_id FROM {$wpdb->term_relationships} WHERE {$wpdb->term_relationships}.term_taxonomy_id IN ( " . implode( ',', $value ) . ") ) )";
846
  $AND = " AND ";
@@ -884,7 +892,7 @@ class IS_Public
884
  if ( isset( $q['_is_includes']['tax_query'] ) || isset( $q['_is_excludes']['tax_query'] ) || $tt_table ) {
885
 
886
  if ( isset( $q['_is_includes']['tax_rel'] ) && 'AND' === $q['_is_includes']['tax_rel'] && isset( $q['_is_includes']['tax_query'] ) ) {
887
- foreach ( $q['_is_includes']['tax_query'] as $value ) {
888
  if ( !empty($value) ) {
889
  foreach ( $value as $terms ) {
890
  $alias = ( $i ? 'tr' . $i : 'tr' );
@@ -909,6 +917,101 @@ class IS_Public
909
  return $join;
910
  }
911
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
912
  /**
913
  * Verifies if the DB uses ICU REGEXP implementation.
914
  *
80
  );
81
 
82
  if ( is_search() ) {
83
+ $is_temp['is_search'] = 1;
84
  if ( isset( $_GET['id'] ) ) {
85
  $is_temp['is_id'] = sanitize_key( $_GET['id'] );
86
  }
645
  function posts_search( $search, $query )
646
  {
647
  $q = $query->query_vars;
648
+ $is_index_search = false;
649
+ if ( !empty($q['_is_settings']['search_engine']) && 'index' === $q['_is_settings']['search_engine'] ) {
650
+ $is_index_search = true;
651
+ }
652
 
653
+ if ( empty($q['search_terms']) || !isset( $q['_is_includes'] ) || (is_admin() || !$query->is_main_query() && !$is_index_search) && !(defined( 'DOING_AJAX' ) && DOING_AJAX) ) {
654
  return $search;
655
  // skip processing
656
  } else {
795
  $search .= ")";
796
  $searchand = " {$terms_relation_type} ";
797
  }
798
+ if ( isset( $q['_is_includes']['search_content'] ) && class_exists( 'TablePress' ) ) {
799
+ $search .= $this->tablepress_content_search( (array) $q['search_terms'], $q['_is_settings']['fuzzy_match'], $terms_relation_type );
800
+ }
801
  if ( '' === $OR ) {
802
  $search = " AND ( 0 ";
803
  }
812
  $OR = '';
813
  $i = 0;
814
  $tax_post_type = $q['post_type'];
815
+ foreach ( (array) $q['tax_query'] as $value ) {
816
 
817
  if ( isset( $value['terms'] ) ) {
818
  if ( isset( $value['post_type'] ) ) {
848
  if ( isset( $q['_is_excludes']['tax_query'] ) ) {
849
  $AND = '';
850
  $search .= " AND ( ";
851
+ foreach ( (array) $q['_is_excludes']['tax_query'] as $value ) {
852
  $search .= $AND;
853
  $search .= "( {$wpdb->posts}.ID NOT IN ( SELECT {$wpdb->term_relationships}.object_id FROM {$wpdb->term_relationships} WHERE {$wpdb->term_relationships}.term_taxonomy_id IN ( " . implode( ',', $value ) . ") ) )";
854
  $AND = " AND ";
892
  if ( isset( $q['_is_includes']['tax_query'] ) || isset( $q['_is_excludes']['tax_query'] ) || $tt_table ) {
893
 
894
  if ( isset( $q['_is_includes']['tax_rel'] ) && 'AND' === $q['_is_includes']['tax_rel'] && isset( $q['_is_includes']['tax_query'] ) ) {
895
+ foreach ( (array) $q['_is_includes']['tax_query'] as $value ) {
896
  if ( !empty($value) ) {
897
  foreach ( $value as $terms ) {
898
  $alias = ( $i ? 'tr' . $i : 'tr' );
917
  return $join;
918
  }
919
 
920
+ function parse_query( $query_object )
921
+ {
922
+
923
+ if ( $query_object->is_search() && function_exists( 'weglot_get_service' ) ) {
924
+ $raw_search = $query_object->query['s'];
925
+ $query_object->set( 's', $raw_search );
926
+ $language_services = weglot_get_service( 'Language_Service_Weglot' );
927
+ $parser = weglot_get_service( 'Parser_Service_Weglot' )->get_parser();
928
+ $original_language = $language_services->get_original_language()->getInternalCode();
929
+ $current_language = weglot_get_current_language();
930
+ if ( $original_language != $current_language ) {
931
+ $replacement = $parser->translate( $raw_search, $current_language, $original_language );
932
+ }
933
+ if ( $replacement ) {
934
+ $query_object->set( 's', $replacement );
935
+ }
936
+ }
937
+
938
+ }
939
+
940
+ /* Searches TablePress Table Content
941
+ *
942
+ * @since 5.4.2
943
+ */
944
+ function tablepress_content_search( $search_terms, $fuzzy_match, $terms_relation )
945
+ {
946
+ global $wpdb ;
947
+ $search_sql = '';
948
+ if ( empty($search_terms) || !is_array( $search_terms ) ) {
949
+ return $search_sql;
950
+ }
951
+ // Load all table IDs and prime post meta cache for cached access to options and visibility settings of the tables, don't run filter hook.
952
+ $table_ids = TablePress::$model_table->load_all( true, false );
953
+ // Array of all search words that were found, and the table IDs where they were found.
954
+ $query_result = array();
955
+ foreach ( $table_ids as $table_id ) {
956
+ // Load table, with table data, options, and visibility settings.
957
+ $table = TablePress::$model_table->load( $table_id, true, true );
958
+ if ( isset( $table['is_corrupted'] ) && $table['is_corrupted'] ) {
959
+ // Do not search in corrupted tables.
960
+ continue;
961
+ }
962
+ $found_term_count = 0;
963
+ foreach ( $search_terms as $search_term ) {
964
+
965
+ if ( $table['options']['print_name'] && false !== stripos( $table['name'], $search_term ) || $table['options']['print_description'] && false !== stripos( $table['description'], $search_term ) ) {
966
+ // Found the search term in the name or description (and they are shown).
967
+ $query_result[$search_term][] = $table_id;
968
+ // Add table ID to result list.
969
+ // No need to continue searching this search term in this table.
970
+ continue;
971
+ }
972
+
973
+ // Search search term in visible table cells (without taking Shortcode parameters into account!).
974
+ foreach ( $table['data'] as $row_idx => $table_row ) {
975
+ if ( 0 === $table['visibility']['rows'][$row_idx] ) {
976
+ // Row is hidden, so don't search in it.
977
+ continue;
978
+ }
979
+ foreach ( $table_row as $col_idx => $table_cell ) {
980
+ if ( 0 === $table['visibility']['columns'][$col_idx] ) {
981
+ // Column is hidden, so don't search in it.
982
+ continue;
983
+ }
984
+ // @TODO: Cells are not evaluated here, so math formulas are searched.
985
+
986
+ if ( '1' == $fuzzy_match && preg_match( "/\\b{$search_term}\\b/i", $table_cell ) || '2' == $fuzzy_match && (preg_match( "/\\b{$search_term}/i", $table_cell ) || preg_match( "/{$search_term}\\b/i", $table_cell )) || '3' == $fuzzy_match && false !== stripos( $table_cell, $search_term ) ) {
987
+ $found_term_count++;
988
+
989
+ if ( 'OR' == $terms_relation || $found_term_count == sizeof( $search_terms ) ) {
990
+ // Found the search term in the cell content.
991
+ $query_result[$search_term][] = $table_id;
992
+ // Add table ID to result list
993
+ // No need to continue searching this search term in this table.
994
+ continue 3;
995
+ }
996
+
997
+ }
998
+
999
+ }
1000
+ }
1001
+ }
1002
+ }
1003
+ // For all found table IDs for each search term, add additional OR statement to the SQL "WHERE" clause.
1004
+ $search_sql = $wpdb->remove_placeholder_escape( $search_sql );
1005
+ foreach ( $query_result as $table_ids ) {
1006
+ $table_ids = implode( '|', $table_ids );
1007
+ $regexp = '\\\\[' . TablePress::$shortcode . ' id=(["\\\']?)(' . $table_ids . ')([\\]"\\\' /])';
1008
+ // ' needs to be single escaped, [ double escaped (with \\) in mySQL
1009
+ $search_sql = " OR ({$wpdb->posts}.post_content REGEXP '{$regexp}')";
1010
+ }
1011
+ $search_sql = $wpdb->add_placeholder_escape( $search_sql );
1012
+ return $search_sql;
1013
+ }
1014
+
1015
  /**
1016
  * Verifies if the DB uses ICU REGEXP implementation.
1017
  *
public/js/ivory-ajax-search.js CHANGED
@@ -184,9 +184,11 @@
184
  });
185
 
186
  $('form.is-ajax-search.is-disable-submit').on('submit', function( event ) {
187
- event.stopPropagation();
188
- event.preventDefault();
189
- return false;
 
 
190
  });
191
 
192
  function is_ajax_process_request( self, page ) {
184
  });
185
 
186
  $('form.is-ajax-search.is-disable-submit').on('submit', function( event ) {
187
+ if ( ! $('.is-show-more-results.redirect-tosr').length ) {
188
+ event.stopPropagation();
189
+ event.preventDefault();
190
+ return false;
191
+ }
192
  });
193
 
194
  function is_ajax_process_request( self, page ) {
public/js/ivory-ajax-search.min.js CHANGED
@@ -1 +1 @@
1
- !function(t){"use strict";t(document).ready(function(){var e,r=null,i="",n=-1,s=t(document.activeElement).closest("form");function a(r,s){s||(s=1);var a=t(r),o=a.val()||"",c=a.parents(".is-ajax-search"),l=c.attr("data-min-no-for-search")||"",u=c.attr("data-result-box-max-height")||"400",h=t(c).attr("data-form-id");if(t(".is-form-id-"+h+" .is-search-input").val(o),""===i||i!==o.trim()||n!==h)i=o.trim(),n=h;else if(1===s)return void t("#is-ajax-search-result-"+h).show();if(1===s&&c.addClass("processing"),o.length>=l){if(1===s){if(t("#is-ajax-search-result-"+h+", #is-ajax-search-details-"+h).hide(),c.hasClass("is-form-style-1")){var f=c.find(".is-search-submit").outerWidth()+5;c.find(".is-loader-image").css("right",f+"px")}c.find(".is-loader-image").show()}var d={action:"is_ajax_load_posts",page:s,security:IvoryAjaxVars.ajax_nonce},p=c.serialize()+"&"+t.param(d);0===c.find('input[name="id"]').length&&(p+="&id="+h),e&&4!==e.readystate&&e.abort(),e=t.ajax({url:IvoryAjaxVars.ajaxurl,data:p,type:"POST",success:function(e){if("undefined"!=typeof IvorySearchVars&&void 0!==IvorySearchVars.is_analytics_enabled){var r=t(e).find(".is-ajax-search-no-result").length?"Nothing Found":"Results Found";ivory_search_analytics(h,o,r)}if(c.find(".is-loader-image").hide(),c.removeClass("processing"),1===s){var i=c.offset(),n=c.innerHeight(),a=c.outerWidth();a=a<500?500:a,0===t("#is-ajax-search-result-"+h).length&&t("body").append('<div id="is-ajax-search-result-'+h+'" class="is-ajax-search-result"></div>'),t("#is-ajax-search-result-"+h).css({width:a-10+"px"});var l=t("#is-ajax-search-result-"+h).outerWidth(),f=t(window).width(),d=0;if(i.left+l>f&&(d=i.left+l-f),t("#is-ajax-search-result-"+h).css({top:i.top+n+"px",left:i.left-d+"px",width:a-10+"px"}),t("#is-ajax-search-result-"+h).show().html(e),0!==t("#is-ajax-search-details-"+h).length&&t("body > #is-ajax-search-details-"+h).remove(),0!==t("#is-ajax-search-result-"+h+" .is-ajax-search-details").length){t("body").append('<div id="is-ajax-search-details-'+h+'" class="is-ajax-search-details">'+t("#is-ajax-search-result-"+h+" .is-ajax-search-details").html()+"</div>"),t("#is-ajax-search-result-"+h+" .is-ajax-search-details").remove();var p=t("#is-ajax-search-details-"+h).outerWidth(),v=i.left+l;if(i.left+l+p>f+30){var g=i.left-(d+p);g>-30&&(v=g)}t("#is-ajax-search-details-"+h).css({top:i.top+n+"px",left:v+"px"})}}else t("#is-ajax-search-result-"+h+" .is-show-more-results").remove(),t("#is-ajax-search-result-"+h+" .is-ajax-search-posts").append(e),0!==t("#is-ajax-search-result-"+h+" .is-ajax-search-posts .is-show-more-results").length&&(t("#is-ajax-search-result-"+h).append(t("#is-ajax-search-result-"+h+" .is-ajax-search-posts .is-show-more-results")[0].outerHTML),t("#is-ajax-search-result-"+h+" .is-ajax-search-posts .is-show-more-results").remove()),t("#is-ajax-search-details-"+h+" .is-ajax-search-posts-details").append(t("#is-ajax-search-result-"+h+" .is-ajax-search-items .is-ajax-search-posts-details").html()),t("#is-ajax-search-result-"+h+" .is-ajax-search-items .is-ajax-search-details").remove();var x=o.trim().split(" ");if(0!=x.length&&t.isFunction(t.fn.is_highlight)){var m,b,y,w=[".is-ajax-search-result"],E=jQuery.support.opacity?"mark":"span";for(y in w)if(0!=(m=t(w[y])).length){for(b in x)m.is_highlight(x[b],E,"is-highlight term-"+b),m.find("*").is_highlight(x[b],E,"is-highlight term-"+b);break}}t("#is-ajax-search-result-"+h+" .is-ajax-search-items, #is-ajax-search-details-"+h+" .is-ajax-search-items").css("max-height",u+"px"),t(".is-ajax-search-items").each(function(t,e){new SimpleBar(e)}),t(".is-ajax-search-result .is-ajax-search-post a").on("click",function(e){t("#is-popup-wrapper, .is-ajax-search-result, .is-ajax-search-details").fadeOut("slow")})},error:function(t,e,r){console.log(t.statusText),"abort"!==t.statusText&&console.log("AJAX request aborted")}})}else t("#is-ajax-search-result-"+h).hide(),c.removeClass("processing")}t("body").on("mouseover",".is-ajax-search-tags > div, .is-ajax-search-categories > div, .is-ajax-search-post.is-product",function(e){var r=t(window).outerWidth();if(parseInt(r)>=910){var i=t(this).attr("data-id")||"",n=t(e.target).closest(".is-ajax-search-result").attr("id").split(/[-]+/).pop(),s=t("#is-ajax-search-result-"+n).offset(),a=t(".is-form-id-"+n).attr("data-result-box-max-height")||"400";t("#is-ajax-search-details-"+n).css({top:s.top+"px"}),t("#is-ajax-search-details-"+n+" .is-ajax-search-items").css("height",a+"px"),t("#is-ajax-search-details-"+n+" .is-ajax-search-items > div").css("min-height",a+"px"),t(this).parents("div").hasClass("is-ajax-search-tags")&&t("#is-ajax-search-details-"+n+" .is-ajax-search-tags-details").length&&t("#is-ajax-search-details-"+n+' .is-ajax-search-tags-details > div[data-id="'+i+'"]').length?(t("#is-ajax-search-details-"+n+" .is-ajax-search-tags-details, #is-ajax-search-details-"+n).show(),t("#is-ajax-search-details-"+n+" .is-ajax-search-categories-details, #is-ajax-search-details-"+n+" .is-ajax-search-posts-details").hide(),t("#is-ajax-search-details-"+n+" .is-ajax-search-tags-details").find(" > div ").hide(),t("#is-ajax-search-details-"+n+" .is-ajax-search-tags-details").find(' > div[data-id="'+i+'"] ').show()):t(this).parents("div").hasClass("is-ajax-search-categories")&&t("#is-ajax-search-details-"+n+" .is-ajax-search-categories-details").length&&t("#is-ajax-search-details-"+n+' .is-ajax-search-categories-details > div[data-id="'+i+'"]').length?(t("#is-ajax-search-details-"+n+" .is-ajax-search-categories-details, #is-ajax-search-details-"+n).show(),t("#is-ajax-search-details-"+n+" .is-ajax-search-tags-details, #is-ajax-search-details-"+n+" .is-ajax-search-posts-details").hide(),t("#is-ajax-search-details-"+n+" .is-ajax-search-categories-details").find("> div ").hide(),t("#is-ajax-search-details-"+n+" .is-ajax-search-categories-details").find('> div[data-id="'+i+'"] ').show()):t(this).parents("div").hasClass("is-ajax-search-posts")&&(t("#is-ajax-search-details-"+n+" .is-ajax-search-tags-details, #is-ajax-search-details-"+n+" .is-ajax-search-categories-details").hide(),t("#is-ajax-search-details-"+n+" .is-ajax-search-posts-details").find("> div ").hide(),t("#is-ajax-search-details-"+n+" .is-ajax-search-posts-details, #is-ajax-search-details-"+n).show(),t("#is-ajax-search-details-"+n+" .is-ajax-search-posts-details").find('> div[data-id="'+i+'"] ').show())}}),t(".is-ajax-search .is-search-input").on("focusin, click",function(e){if(s=t(this).closest("form"),""!==t(this).val()&&0===t(e.target).closest("form.processing").length){var r=t(e.target).closest(".is-ajax-search").attr("data-form-id"),i=t(e.target).closest(".is-ajax-search").outerWidth();i=i<500?500:i,t("#is-ajax-search-result-"+r).css({width:i-10+"px"});var n=t(e.target).closest(".is-ajax-search").offset(),a=t(e.target).closest(".is-ajax-search").innerHeight(),o=t("#is-ajax-search-result-"+r).outerWidth(),c=t(window).width(),l=0;if(n.left+o>c&&(l=n.left+o-c),t("#is-ajax-search-result-"+r).css({top:n.top+a+"px",left:n.left-l+"px"}),t(".is-ajax-search-result, .is-ajax-search-details").hide(),t("#is-ajax-search-result-"+r).show(),0!==t("#is-ajax-search-details-"+r).length){var u=t("#is-ajax-search-details-"+r).outerWidth(),h=n.left+o;if(n.left+o+u>c+30){var f=n.left-(l+u);f>-30&&(h=f)}t("#is-ajax-search-details-"+r).css({top:n.top+a+"px",left:h+"px"})}}}),t("body").on("mousedown",function(e){0===e.button&&"s"!==t(e.target).attr("name")&&0===t(e.target).closest(".is-ajax-search-result").length&&0===t(e.target).closest(".is-ajax-search-details").length&&(t(".is-ajax-search-result, .is-ajax-search-details").hide(),s=!1)}),t(".is-disable-submit .is-search-submit").on("click",function(e){return t(this).parent().find(".is-search-input").trigger("keyup"),e.stopPropagation(),e.preventDefault(),!1}),t(document).on("click",".is-show-more-results",function(e){var r=t(e.target).closest(".is-ajax-search-result").attr("id").split(/[-]+/).pop();t(this).hasClass("redirect-tosr")?t(".is-form-id-"+r).submit():(t(this).find(".is-show-more-results-text").hide(),t(this).find(".is-load-more-image").show(),a(t(".is-form-id-"+r+" .is-search-input"),t(this).attr("data-page")||""))}),t(window).on("resize scroll",function(){if(t(s).hasClass("is-ajax-search")&&""!==t(s).find(".is-search-input").val()){var e=t(s).attr("data-form-id");if(0!==t("#is-ajax-search-result-"+e).length){var r=t(s).offset(),i=t(s).innerHeight(),n=t("#is-ajax-search-result-"+e).outerWidth(),a=t(window).width(),o=0;if(r.left+n>a&&(o=r.left+n-a),t("#is-ajax-search-result-"+e).css({top:r.top+i+"px",left:r.left-o+"px"}),t("#is-ajax-search-result-"+e).show(),0!==t("#is-ajax-search-details-"+e).length){var c=t("#is-ajax-search-details-"+e).outerWidth(),l=r.left+n;if(r.left+n+c>a+30){var u=r.left-(o+c);u>-30&&(l=u)}t("#is-ajax-search-details-"+e).css({top:r.top+i+"px",left:l+"px"})}}}}),t(".is-ajax-search .is-search-input").on("paste",function(){t(this).trigger("keyup")}),t(".is-ajax-search").each(function(e,i){t(i).find(".is-search-input").on("keyup",function(e){if(s=t(this).closest("form"),32!==e.which){var i=this;window.clearTimeout(r),r=window.setTimeout(function(){r=null,a(i)},500)}if(13===e.which)return e.stopPropagation(),e.preventDefault(),!1})}),t("form.is-ajax-search.is-disable-submit").on("submit",function(t){return t.stopPropagation(),t.preventDefault(),!1})})}(jQuery),function(t,e){"object"==typeof exports&&"undefined"!=typeof module?module.exports=e():"function"==typeof define&&define.amd?define(e):(t=t||self).SimpleBar=e()}(this,function(){"use strict";var t="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};function e(t,e){return t(e={exports:{}},e.exports),e.exports}var r,i,n,s="object",a=function(t){return t&&t.Math==Math&&t},o=a(typeof globalThis==s&&globalThis)||a(typeof window==s&&window)||a(typeof self==s&&self)||a(typeof t==s&&t)||Function("return this")(),c=function(t){try{return!!t()}catch(t){return!0}},l=!c(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a}),u={}.propertyIsEnumerable,h=Object.getOwnPropertyDescriptor,f={f:h&&!u.call({1:2},1)?function(t){var e=h(this,t);return!!e&&e.enumerable}:u},d=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}},p={}.toString,v=function(t){return p.call(t).slice(8,-1)},g="".split,x=c(function(){return!Object("z").propertyIsEnumerable(0)})?function(t){return"String"==v(t)?g.call(t,""):Object(t)}:Object,m=function(t){if(null==t)throw TypeError("Can't call method on "+t);return t},b=function(t){return x(m(t))},y=function(t){return"object"==typeof t?null!==t:"function"==typeof t},w=function(t,e){if(!y(t))return t;var r,i;if(e&&"function"==typeof(r=t.toString)&&!y(i=r.call(t)))return i;if("function"==typeof(r=t.valueOf)&&!y(i=r.call(t)))return i;if(!e&&"function"==typeof(r=t.toString)&&!y(i=r.call(t)))return i;throw TypeError("Can't convert object to primitive value")},E={}.hasOwnProperty,j=function(t,e){return E.call(t,e)},S=o.document,O=y(S)&&y(S.createElement),k=function(t){return O?S.createElement(t):{}},A=!l&&!c(function(){return 7!=Object.defineProperty(k("div"),"a",{get:function(){return 7}}).a}),T=Object.getOwnPropertyDescriptor,L={f:l?T:function(t,e){if(t=b(t),e=w(e,!0),A)try{return T(t,e)}catch(t){}if(j(t,e))return d(!f.f.call(t,e),t[e])}},z=function(t){if(!y(t))throw TypeError(String(t)+" is not an object");return t},_=Object.defineProperty,R={f:l?_:function(t,e,r){if(z(t),e=w(e,!0),z(r),A)try{return _(t,e,r)}catch(t){}if("get"in r||"set"in r)throw TypeError("Accessors not supported");return"value"in r&&(t[e]=r.value),t}},M=l?function(t,e,r){return R.f(t,e,d(1,r))}:function(t,e,r){return t[e]=r,t},C=function(t,e){try{M(o,t,e)}catch(r){o[t]=e}return e},W=e(function(t){var e=o["__core-js_shared__"]||C("__core-js_shared__",{});(t.exports=function(t,r){return e[t]||(e[t]=void 0!==r?r:{})})("versions",[]).push({version:"3.2.1",mode:"global",copyright:"© 2019 Denis Pushkarev (zloirock.ru)"})}),N=W("native-function-to-string",Function.toString),I=o.WeakMap,D="function"==typeof I&&/native code/.test(N.call(I)),B=0,P=Math.random(),V=function(t){return"Symbol("+String(void 0===t?"":t)+")_"+(++B+P).toString(36)},F=W("keys"),H=function(t){return F[t]||(F[t]=V(t))},X={},q=o.WeakMap;if(D){var $=new q,Y=$.get,G=$.has,U=$.set;r=function(t,e){return U.call($,t,e),e},i=function(t){return Y.call($,t)||{}},n=function(t){return G.call($,t)}}else{var Q=H("state");X[Q]=!0,r=function(t,e){return M(t,Q,e),e},i=function(t){return j(t,Q)?t[Q]:{}},n=function(t){return j(t,Q)}}var J={set:r,get:i,has:n,enforce:function(t){return n(t)?i(t):r(t,{})},getterFor:function(t){return function(e){var r;if(!y(e)||(r=i(e)).type!==t)throw TypeError("Incompatible receiver, "+t+" required");return r}}},K=e(function(t){var e=J.get,r=J.enforce,i=String(N).split("toString");W("inspectSource",function(t){return N.call(t)}),(t.exports=function(t,e,n,s){var a=!!s&&!!s.unsafe,c=!!s&&!!s.enumerable,l=!!s&&!!s.noTargetGet;"function"==typeof n&&("string"!=typeof e||j(n,"name")||M(n,"name",e),r(n).source=i.join("string"==typeof e?e:"")),t!==o?(a?!l&&t[e]&&(c=!0):delete t[e],c?t[e]=n:M(t,e,n)):c?t[e]=n:C(e,n)})(Function.prototype,"toString",function(){return"function"==typeof this&&e(this).source||N.call(this)})}),Z=o,tt=function(t){return"function"==typeof t?t:void 0},et=function(t,e){return arguments.length<2?tt(Z[t])||tt(o[t]):Z[t]&&Z[t][e]||o[t]&&o[t][e]},rt=Math.ceil,it=Math.floor,nt=function(t){return isNaN(t=+t)?0:(t>0?it:rt)(t)},st=Math.min,at=function(t){return t>0?st(nt(t),9007199254740991):0},ot=Math.max,ct=Math.min,lt=function(t){return function(e,r,i){var n,s=b(e),a=at(s.length),o=function(t,e){var r=nt(i);return r<0?ot(r+e,0):ct(r,e)}(0,a);if(t&&r!=r){for(;a>o;)if((n=s[o++])!=n)return!0}else for(;a>o;o++)if((t||o in s)&&s[o]===r)return t||o||0;return!t&&-1}},ut=(lt(!0),lt(!1)),ht=function(t,e){var r,i=b(t),n=0,s=[];for(r in i)!j(X,r)&&j(i,r)&&s.push(r);for(;e.length>n;)j(i,r=e[n++])&&(~ut(s,r)||s.push(r));return s},ft=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],dt=ft.concat("length","prototype"),pt={f:Object.getOwnPropertyNames||function(t){return ht(t,dt)}},vt={f:Object.getOwnPropertySymbols},gt=et("Reflect","ownKeys")||function(t){var e=pt.f(z(t)),r=vt.f;return r?e.concat(r(t)):e},xt=function(t,e){for(var r=gt(e),i=R.f,n=L.f,s=0;s<r.length;s++){var a=r[s];j(t,a)||i(t,a,n(e,a))}},mt=/#|\.prototype\./,bt=function(t,e){var r=wt[yt(t)];return r==jt||r!=Et&&("function"==typeof e?c(e):!!e)},yt=bt.normalize=function(t){return String(t).replace(mt,".").toLowerCase()},wt=bt.data={},Et=bt.NATIVE="N",jt=bt.POLYFILL="P",St=bt,Ot=L.f,kt=function(t,e){var r,i,n,s,a,c=t.target,l=t.global,u=t.stat;if(r=l?o:u?o[c]||C(c,{}):(o[c]||{}).prototype)for(i in e){if(s=e[i],n=t.noTargetGet?(a=Ot(r,i))&&a.value:r[i],!St(l?i:c+(u?".":"#")+i,t.forced)&&void 0!==n){if(typeof s==typeof n)continue;xt(s,n)}(t.sham||n&&n.sham)&&M(s,"sham",!0),K(r,i,s,t)}},At=function(t){if("function"!=typeof t)throw TypeError(String(t)+" is not a function");return t},Tt=function(t,e,r){if(At(t),void 0===e)return t;switch(r){case 0:return function(){return t.call(e)};case 1:return function(r){return t.call(e,r)};case 2:return function(r,i){return t.call(e,r,i)};case 3:return function(r,i,n){return t.call(e,r,i,n)}}return function(){return t.apply(e,arguments)}},Lt=function(t){return Object(m(t))},zt=Array.isArray||function(t){return"Array"==v(t)},_t=!!Object.getOwnPropertySymbols&&!c(function(){return!String(Symbol())}),Rt=o.Symbol,Mt=W("wks"),Ct=function(t){return Mt[t]||(Mt[t]=_t&&Rt[t]||(_t?Rt:V)("Symbol."+t))},Wt=Ct("species"),Nt=function(t,e){var r;return zt(t)&&("function"!=typeof(r=t.constructor)||r!==Array&&!zt(r.prototype)?y(r)&&null===(r=r[Wt])&&(r=void 0):r=void 0),new(void 0===r?Array:r)(0===e?0:e)},It=[].push,Dt=function(t){var e=1==t,r=2==t,i=3==t,n=4==t,s=6==t,a=5==t||s;return function(o,c,l,u){for(var h,f,d=Lt(o),p=x(d),v=Tt(c,l,3),g=at(p.length),m=0,b=u||Nt,y=e?b(o,g):r?b(o,0):void 0;g>m;m++)if((a||m in p)&&(f=v(h=p[m],m,d),t))if(e)y[m]=f;else if(f)switch(t){case 3:return!0;case 5:return h;case 6:return m;case 2:It.call(y,h)}else if(n)return!1;return s?-1:i||n?n:y}},Bt={forEach:Dt(0),map:Dt(1),filter:Dt(2),some:Dt(3),every:Dt(4),find:Dt(5),findIndex:Dt(6)},Pt=function(t,e){var r=[][t];return!r||!c(function(){r.call(null,e||function(){throw 1},1)})},Vt=Bt.forEach,Ft=Pt("forEach")?function(t){return Vt(this,t,arguments.length>1?arguments[1]:void 0)}:[].forEach;kt({target:"Array",proto:!0,forced:[].forEach!=Ft},{forEach:Ft});var Ht={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0};for(var Xt in Ht){var qt=o[Xt],$t=qt&&qt.prototype;if($t&&$t.forEach!==Ft)try{M($t,"forEach",Ft)}catch(t){$t.forEach=Ft}}var Yt=!("undefined"==typeof window||!window.document||!window.document.createElement),Gt=Ct("species"),Ut=Bt.filter;kt({target:"Array",proto:!0,forced:!!c(function(){var t=[];return(t.constructor={})[Gt]=function(){return{foo:1}},1!==t.filter(Boolean).foo})},{filter:function(t){return Ut(this,t,arguments.length>1?arguments[1]:void 0)}});var Qt=Object.keys||function(t){return ht(t,ft)},Jt=l?Object.defineProperties:function(t,e){z(t);for(var r,i=Qt(e),n=i.length,s=0;n>s;)R.f(t,r=i[s++],e[r]);return t},Kt=et("document","documentElement"),Zt=H("IE_PROTO"),te=function(){},ee=function(){var t,e=k("iframe"),r=ft.length;for(e.style.display="none",Kt.appendChild(e),e.src=String("javascript:"),(t=e.contentWindow.document).open(),t.write("<script>document.F=Object<\/script>"),t.close(),ee=t.F;r--;)delete ee.prototype[ft[r]];return ee()},re=Object.create||function(t,e){var r;return null!==t?(te.prototype=z(t),r=new te,te.prototype=null,r[Zt]=t):r=ee(),void 0===e?r:Jt(r,e)};X[Zt]=!0;var ie=Ct("unscopables"),ne=Array.prototype;null==ne[ie]&&M(ne,ie,re(null));var se,ae,oe,ce=function(t){ne[ie][t]=!0},le={},ue=!c(function(){function t(){}return t.prototype.constructor=null,Object.getPrototypeOf(new t)!==t.prototype}),he=H("IE_PROTO"),fe=Object.prototype,de=ue?Object.getPrototypeOf:function(t){return t=Lt(t),j(t,he)?t[he]:"function"==typeof t.constructor&&t instanceof t.constructor?t.constructor.prototype:t instanceof Object?fe:null},pe=Ct("iterator"),ve=!1;[].keys&&("next"in(oe=[].keys())?(ae=de(de(oe)))!==Object.prototype&&(se=ae):ve=!0),null==se&&(se={}),j(se,pe)||M(se,pe,function(){return this});var ge={IteratorPrototype:se,BUGGY_SAFARI_ITERATORS:ve},xe=R.f,me=Ct("toStringTag"),be=function(t,e,r){t&&!j(t=r?t:t.prototype,me)&&xe(t,me,{configurable:!0,value:e})},ye=ge.IteratorPrototype,we=function(){return this},Ee=Object.setPrototypeOf||("__proto__"in{}?function(){var t,e=!1,r={};try{(t=Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set).call(r,[]),e=r instanceof Array}catch(t){}return function(r,i){return z(r),function(t){if(!y(t)&&null!==t)throw TypeError("Can't set "+String(t)+" as a prototype")}(i),e?t.call(r,i):r.__proto__=i,r}}():void 0),je=ge.IteratorPrototype,Se=ge.BUGGY_SAFARI_ITERATORS,Oe=Ct("iterator"),ke=function(){return this},Ae=function(t,e,r,i,n,s,a){!function(t,e,r){var i=e+" Iterator";t.prototype=re(ye,{next:d(1,r)}),be(t,i,!1),le[i]=we}(r,e,i);var o,c,l,u=function(t){if(t===n&&g)return g;if(!Se&&t in p)return p[t];switch(t){case"keys":case"values":case"entries":return function(){return new r(this,t)}}return function(){return new r(this)}},h=e+" Iterator",f=!1,p=t.prototype,v=p[Oe]||p["@@iterator"]||n&&p[n],g=!Se&&v||u(n),x="Array"==e&&p.entries||v;if(x&&(o=de(x.call(new t)),je!==Object.prototype&&o.next&&(de(o)!==je&&(Ee?Ee(o,je):"function"!=typeof o[Oe]&&M(o,Oe,ke)),be(o,h,!0))),"values"==n&&v&&"values"!==v.name&&(f=!0,g=function(){return v.call(this)}),p[Oe]!==g&&M(p,Oe,g),le[e]=g,n)if(c={values:u("values"),keys:s?g:u("keys"),entries:u("entries")},a)for(l in c)!Se&&!f&&l in p||K(p,l,c[l]);else kt({target:e,proto:!0,forced:Se||f},c);return c},Te=J.set,Le=J.getterFor("Array Iterator"),ze=Ae(Array,"Array",function(t,e){Te(this,{type:"Array Iterator",target:b(t),index:0,kind:e})},function(){var t=Le(this),e=t.target,r=t.kind,i=t.index++;return!e||i>=e.length?(t.target=void 0,{value:void 0,done:!0}):"keys"==r?{value:i,done:!1}:"values"==r?{value:e[i],done:!1}:{value:[i,e[i]],done:!1}},"values");le.Arguments=le.Array,ce("keys"),ce("values"),ce("entries");var _e=Object.assign,Re=!_e||c(function(){var t={},e={},r=Symbol();return t[r]=7,"abcdefghijklmnopqrst".split("").forEach(function(t){e[t]=t}),7!=_e({},t)[r]||"abcdefghijklmnopqrst"!=Qt(_e({},e)).join("")})?function(t,e){for(var r=Lt(t),i=arguments.length,n=1,s=vt.f,a=f.f;i>n;)for(var o,c=x(arguments[n++]),u=s?Qt(c).concat(s(c)):Qt(c),h=u.length,d=0;h>d;)o=u[d++],l&&!a.call(c,o)||(r[o]=c[o]);return r}:_e;kt({target:"Object",stat:!0,forced:Object.assign!==Re},{assign:Re});var Me=Ct("toStringTag"),Ce="Arguments"==v(function(){return arguments}()),We=function(t){var e,r,i;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(r=function(t,e){try{return t[e]}catch(t){}}(e=Object(t),Me))?r:Ce?v(e):"Object"==(i=v(e))&&"function"==typeof e.callee?"Arguments":i},Ne={};Ne[Ct("toStringTag")]="z";var Ie="[object z]"!==String(Ne)?function(){return"[object "+We(this)+"]"}:Ne.toString,De=Object.prototype;Ie!==De.toString&&K(De,"toString",Ie,{unsafe:!0});var Be="\t\n\v\f\r                \u2028\u2029\ufeff",Pe="["+Be+"]",Ve=RegExp("^"+Pe+Pe+"*"),Fe=RegExp(Pe+Pe+"*$"),He=function(t){return function(e){var r=String(m(e));return 1&t&&(r=r.replace(Ve,"")),2&t&&(r=r.replace(Fe,"")),r}},Xe=(He(1),He(2),He(3)),qe=o.parseInt,$e=/^[+-]?0[Xx]/,Ye=8!==qe(Be+"08")||22!==qe(Be+"0x16")?function(t,e){var r=Xe(String(t));return qe(r,e>>>0||($e.test(r)?16:10))}:qe;kt({global:!0,forced:parseInt!=Ye},{parseInt:Ye});var Ge=function(t){return function(e,r){var i,n,s=String(m(e)),a=nt(r),o=s.length;return a<0||a>=o?t?"":void 0:(i=s.charCodeAt(a))<55296||i>56319||a+1===o||(n=s.charCodeAt(a+1))<56320||n>57343?t?s.charAt(a):i:t?s.slice(a,a+2):n-56320+(i-55296<<10)+65536}},Ue={codeAt:Ge(!1),charAt:Ge(!0)},Qe=Ue.charAt,Je=J.set,Ke=J.getterFor("String Iterator");Ae(String,"String",function(t){Je(this,{type:"String Iterator",string:String(t),index:0})},function(){var t,e=Ke(this),r=e.string,i=e.index;return i>=r.length?{value:void 0,done:!0}:(t=Qe(r,i),e.index+=t.length,{value:t,done:!1})});var Ze=function(t,e,r){for(var i in e)K(t,i,e[i],r);return t},tr=!c(function(){return Object.isExtensible(Object.preventExtensions({}))}),er=e(function(t){var e=R.f,r=V("meta"),i=0,n=Object.isExtensible||function(){return!0},s=function(t){e(t,r,{value:{objectID:"O"+ ++i,weakData:{}}})},a=t.exports={REQUIRED:!1,fastKey:function(t,e){if(!y(t))return"symbol"==typeof t?t:("string"==typeof t?"S":"P")+t;if(!j(t,r)){if(!n(t))return"F";if(!e)return"E";s(t)}return t[r].objectID},getWeakData:function(t,e){if(!j(t,r)){if(!n(t))return!0;if(!e)return!1;s(t)}return t[r].weakData},onFreeze:function(t){return tr&&a.REQUIRED&&n(t)&&!j(t,r)&&s(t),t}};X[r]=!0}),rr=(er.REQUIRED,er.fastKey,er.getWeakData,er.onFreeze,Ct("iterator")),ir=Array.prototype,nr=Ct("iterator"),sr=function(t,e,r,i){try{return i?e(z(r)[0],r[1]):e(r)}catch(e){var n=t.return;throw void 0!==n&&z(n.call(t)),e}},ar=e(function(t){var e=function(t,e){this.stopped=t,this.result=e};(t.exports=function(t,r,i,n,s){var a,o,c,l,u,h,f,d=Tt(r,i,n?2:1);if(s)a=t;else{if("function"!=typeof(o=function(t){if(null!=t)return t[nr]||t["@@iterator"]||le[We(t)]}(t)))throw TypeError("Target is not iterable");if(void 0!==(f=o)&&(le.Array===f||ir[rr]===f)){for(c=0,l=at(t.length);l>c;c++)if((u=n?d(z(h=t[c])[0],h[1]):d(t[c]))&&u instanceof e)return u;return new e(!1)}a=o.call(t)}for(;!(h=a.next()).done;)if((u=sr(a,d,h.value,n))&&u instanceof e)return u;return new e(!1)}).stop=function(t){return new e(!0,t)}}),or=function(t,e,r){if(!(t instanceof e))throw TypeError("Incorrect "+(r?r+" ":"")+"invocation");return t},cr=Ct("iterator"),lr=!1;try{var ur=0,hr={next:function(){return{done:!!ur++}},return:function(){lr=!0}};hr[cr]=function(){return this},Array.from(hr,function(){throw 2})}catch(t){}var fr=function(t,e,r,i,n){var s=o[t],a=s&&s.prototype,l=s,u=i?"set":"add",h={},f=function(t){var e=a[t];K(a,t,"add"==t?function(t){return e.call(this,0===t?0:t),this}:"delete"==t?function(t){return!(n&&!y(t))&&e.call(this,0===t?0:t)}:"get"==t?function(t){return n&&!y(t)?void 0:e.call(this,0===t?0:t)}:"has"==t?function(t){return!(n&&!y(t))&&e.call(this,0===t?0:t)}:function(t,r){return e.call(this,0===t?0:t,r),this})};if(St(t,"function"!=typeof s||!(n||a.forEach&&!c(function(){(new s).entries().next()}))))l=r.getConstructor(e,t,i,u),er.REQUIRED=!0;else if(St(t,!0)){var d=new l,p=d[u](n?{}:-0,1)!=d,v=c(function(){d.has(1)}),g=function(t,e){if(!lr)return!1;var r=!1;try{var i={};i[cr]=function(){return{next:function(){return{done:r=!0}}}},function(t){new s(t)}(i)}catch(t){}return r}(),x=!n&&c(function(){for(var t=new s,e=5;e--;)t[u](e,e);return!t.has(-0)});g||((l=e(function(e,r){or(e,l,t);var n=function(t,e,r){var i,n;return Ee&&"function"==typeof(i=e.constructor)&&i!==r&&y(n=i.prototype)&&n!==r.prototype&&Ee(t,n),t}(new s,e,l);return null!=r&&ar(r,n[u],n,i),n})).prototype=a,a.constructor=l),(v||x)&&(f("delete"),f("has"),i&&f("get")),(x||p)&&f(u),n&&a.clear&&delete a.clear}return h[t]=l,kt({global:!0,forced:l!=s},h),be(l,t),n||r.setStrong(l,t,i),l},dr=er.getWeakData,pr=J.set,vr=J.getterFor,gr=Bt.find,xr=Bt.findIndex,mr=0,br=function(t){return t.frozen||(t.frozen=new yr)},yr=function(){this.entries=[]},wr=function(t,e){return gr(t.entries,function(t){return t[0]===e})};yr.prototype={get:function(t){var e=wr(this,t);if(e)return e[1]},has:function(t){return!!wr(this,t)},set:function(t,e){var r=wr(this,t);r?r[1]=e:this.entries.push([t,e])},delete:function(t){var e=xr(this.entries,function(e){return e[0]===t});return~e&&this.entries.splice(e,1),!!~e}};var Er={getConstructor:function(t,e,r,i){var n=t(function(t,s){or(t,n,e),pr(t,{type:e,id:mr++,frozen:void 0}),null!=s&&ar(s,t[i],t,r)}),s=vr(e),a=function(t,e,r){var i=s(t),n=dr(z(e),!0);return!0===n?br(i).set(e,r):n[i.id]=r,t};return Ze(n.prototype,{delete:function(t){var e=s(this);if(!y(t))return!1;var r=dr(t);return!0===r?br(e).delete(t):r&&j(r,e.id)&&delete r[e.id]},has:function(t){var e=s(this);if(!y(t))return!1;var r=dr(t);return!0===r?br(e).has(t):r&&j(r,e.id)}}),Ze(n.prototype,r?{get:function(t){var e=s(this);if(y(t)){var r=dr(t);return!0===r?br(e).get(t):r?r[e.id]:void 0}},set:function(t,e){return a(this,t,e)}}:{add:function(t){return a(this,t,!0)}}),n}},jr=(e(function(t){var e,r=J.enforce,i=!o.ActiveXObject&&"ActiveXObject"in o,n=Object.isExtensible,s=function(t){return function(){return t(this,arguments.length?arguments[0]:void 0)}},a=t.exports=fr("WeakMap",s,Er,!0,!0);if(D&&i){e=Er.getConstructor(s,"WeakMap",!0),er.REQUIRED=!0;var c=a.prototype,l=c.delete,u=c.has,h=c.get,f=c.set;Ze(c,{delete:function(t){if(y(t)&&!n(t)){var i=r(this);return i.frozen||(i.frozen=new e),l.call(this,t)||i.frozen.delete(t)}return l.call(this,t)},has:function(t){if(y(t)&&!n(t)){var i=r(this);return i.frozen||(i.frozen=new e),u.call(this,t)||i.frozen.has(t)}return u.call(this,t)},get:function(t){if(y(t)&&!n(t)){var i=r(this);return i.frozen||(i.frozen=new e),u.call(this,t)?h.call(this,t):i.frozen.get(t)}return h.call(this,t)},set:function(t,i){if(y(t)&&!n(t)){var s=r(this);s.frozen||(s.frozen=new e),u.call(this,t)?f.call(this,t,i):s.frozen.set(t,i)}else f.call(this,t,i);return this}})}}),Ct("iterator")),Sr=Ct("toStringTag"),Or=ze.values;for(var kr in Ht){var Ar=o[kr],Tr=Ar&&Ar.prototype;if(Tr){if(Tr[jr]!==Or)try{M(Tr,jr,Or)}catch(t){Tr[jr]=Or}if(Tr[Sr]||M(Tr,Sr,kr),Ht[kr])for(var Lr in ze)if(Tr[Lr]!==ze[Lr])try{M(Tr,Lr,ze[Lr])}catch(t){Tr[Lr]=ze[Lr]}}}var zr="Expected a function",_r=NaN,Rr="[object Symbol]",Mr=/^\s+|\s+$/g,Cr=/^[-+]0x[0-9a-f]+$/i,Wr=/^0b[01]+$/i,Nr=/^0o[0-7]+$/i,Ir=parseInt,Dr="object"==typeof t&&t&&t.Object===Object&&t,Br="object"==typeof self&&self&&self.Object===Object&&self,Pr=Dr||Br||Function("return this")(),Vr=Object.prototype.toString,Fr=Math.max,Hr=Math.min,Xr=function(){return Pr.Date.now()};function qr(t){var e=typeof t;return!!t&&("object"==e||"function"==e)}function $r(t){if("number"==typeof t)return t;if(function(t){return"symbol"==typeof t||function(t){return!!t&&"object"==typeof t}(t)&&Vr.call(t)==Rr}(t))return _r;if(qr(t)){var e="function"==typeof t.valueOf?t.valueOf():t;t=qr(e)?e+"":e}if("string"!=typeof t)return 0===t?t:+t;t=t.replace(Mr,"");var r=Wr.test(t);return r||Nr.test(t)?Ir(t.slice(2),r?2:8):Cr.test(t)?_r:+t}var Yr=function(t,e,r){var i=!0,n=!0;if("function"!=typeof t)throw new TypeError(zr);return qr(r)&&(i="leading"in r?!!r.leading:i,n="trailing"in r?!!r.trailing:n),function(t,e,r){var i,n,s,a,o,c,l=0,u=!1,h=!1,f=!0;if("function"!=typeof t)throw new TypeError(zr);function d(e){var r=i,s=n;return i=n=void 0,l=e,a=t.apply(s,r)}function p(t){var r=t-c;return void 0===c||r>=e||r<0||h&&t-l>=s}function v(){var t=Xr();if(p(t))return g(t);o=setTimeout(v,function(t){var r=e-(t-c);return h?Hr(r,s-(t-l)):r}(t))}function g(t){return o=void 0,f&&i?d(t):(i=n=void 0,a)}function x(){var t=Xr(),r=p(t);if(i=arguments,n=this,c=t,r){if(void 0===o)return function(t){return l=t,o=setTimeout(v,e),u?d(t):a}(c);if(h)return o=setTimeout(v,e),d(c)}return void 0===o&&(o=setTimeout(v,e)),a}return e=$r(e)||0,qr(r)&&(u=!!r.leading,s=(h="maxWait"in r)?Fr($r(r.maxWait)||0,e):s,f="trailing"in r?!!r.trailing:f),x.cancel=function(){void 0!==o&&clearTimeout(o),l=0,i=c=n=o=void 0},x.flush=function(){return void 0===o?a:g(Xr())},x}(t,e,{leading:i,maxWait:e,trailing:n})},Gr=NaN,Ur="[object Symbol]",Qr=/^\s+|\s+$/g,Jr=/^[-+]0x[0-9a-f]+$/i,Kr=/^0b[01]+$/i,Zr=/^0o[0-7]+$/i,ti=parseInt,ei="object"==typeof t&&t&&t.Object===Object&&t,ri="object"==typeof self&&self&&self.Object===Object&&self,ii=ei||ri||Function("return this")(),ni=Object.prototype.toString,si=Math.max,ai=Math.min,oi=function(){return ii.Date.now()};function ci(t){var e=typeof t;return!!t&&("object"==e||"function"==e)}function li(t){if("number"==typeof t)return t;if(function(t){return"symbol"==typeof t||function(t){return!!t&&"object"==typeof t}(t)&&ni.call(t)==Ur}(t))return Gr;if(ci(t)){var e="function"==typeof t.valueOf?t.valueOf():t;t=ci(e)?e+"":e}if("string"!=typeof t)return 0===t?t:+t;t=t.replace(Qr,"");var r=Kr.test(t);return r||Zr.test(t)?ti(t.slice(2),r?2:8):Jr.test(t)?Gr:+t}var ui=function(t,e,r){var i,n,s,a,o,c,l=0,u=!1,h=!1,f=!0;if("function"!=typeof t)throw new TypeError("Expected a function");function d(e){var r=i,s=n;return i=n=void 0,l=e,a=t.apply(s,r)}function p(t){var r=t-c;return void 0===c||r>=e||r<0||h&&t-l>=s}function v(){var t=oi();if(p(t))return g(t);o=setTimeout(v,function(t){var r=e-(t-c);return h?ai(r,s-(t-l)):r}(t))}function g(t){return o=void 0,f&&i?d(t):(i=n=void 0,a)}function x(){var t=oi(),r=p(t);if(i=arguments,n=this,c=t,r){if(void 0===o)return function(t){return l=t,o=setTimeout(v,e),u?d(t):a}(c);if(h)return o=setTimeout(v,e),d(c)}return void 0===o&&(o=setTimeout(v,e)),a}return e=li(e)||0,ci(r)&&(u=!!r.leading,s=(h="maxWait"in r)?si(li(r.maxWait)||0,e):s,f="trailing"in r?!!r.trailing:f),x.cancel=function(){void 0!==o&&clearTimeout(o),l=0,i=c=n=o=void 0},x.flush=function(){return void 0===o?a:g(oi())},x},hi="Expected a function",fi="__lodash_hash_undefined__",di="[object Function]",pi="[object GeneratorFunction]",vi=/^\[object .+?Constructor\]$/,gi="object"==typeof t&&t&&t.Object===Object&&t,xi="object"==typeof self&&self&&self.Object===Object&&self,mi=gi||xi||Function("return this")(),bi=Array.prototype,yi=Function.prototype,wi=Object.prototype,Ei=mi["__core-js_shared__"],ji=function(){var t=/[^.]+$/.exec(Ei&&Ei.keys&&Ei.keys.IE_PROTO||"");return t?"Symbol(src)_1."+t:""}(),Si=yi.toString,Oi=wi.hasOwnProperty,ki=wi.toString,Ai=RegExp("^"+Si.call(Oi).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),Ti=bi.splice,Li=Ni(mi,"Map"),zi=Ni(Object,"create");function _i(t){var e=-1,r=t?t.length:0;for(this.clear();++e<r;){var i=t[e];this.set(i[0],i[1])}}function Ri(t){var e=-1,r=t?t.length:0;for(this.clear();++e<r;){var i=t[e];this.set(i[0],i[1])}}function Mi(t){var e=-1,r=t?t.length:0;for(this.clear();++e<r;){var i=t[e];this.set(i[0],i[1])}}function Ci(t,e){for(var r,i,n=t.length;n--;)if((r=t[n][0])===(i=e)||r!=r&&i!=i)return n;return-1}function Wi(t,e){var r,i,n=t.__data__;return("string"==(i=typeof(r=e))||"number"==i||"symbol"==i||"boolean"==i?"__proto__"!==r:null===r)?n["string"==typeof e?"string":"hash"]:n.map}function Ni(t,e){var r=function(t,e){return null==t?void 0:t[e]}(t,e);return function(t){return!(!Di(t)||(e=t,ji&&ji in e))&&(function(t){var e=Di(t)?ki.call(t):"";return e==di||e==pi}(t)||function(t){var e=!1;if(null!=t&&"function"!=typeof t.toString)try{e=!!(t+"")}catch(t){}return e}(t)?Ai:vi).test(function(t){if(null!=t){try{return Si.call(t)}catch(t){}try{return t+""}catch(t){}}return""}(t));var e}(r)?r:void 0}function Ii(t,e){if("function"!=typeof t||e&&"function"!=typeof e)throw new TypeError(hi);var r=function(){var i=arguments,n=e?e.apply(this,i):i[0],s=r.cache;if(s.has(n))return s.get(n);var a=t.apply(this,i);return r.cache=s.set(n,a),a};return r.cache=new(Ii.Cache||Mi),r}function Di(t){var e=typeof t;return!!t&&("object"==e||"function"==e)}_i.prototype.clear=function(){this.__data__=zi?zi(null):{}},_i.prototype.delete=function(t){return this.has(t)&&delete this.__data__[t]},_i.prototype.get=function(t){var e=this.__data__;if(zi){var r=e[t];return r===fi?void 0:r}return Oi.call(e,t)?e[t]:void 0},_i.prototype.has=function(t){var e=this.__data__;return zi?void 0!==e[t]:Oi.call(e,t)},_i.prototype.set=function(t,e){return this.__data__[t]=zi&&void 0===e?fi:e,this},Ri.prototype.clear=function(){this.__data__=[]},Ri.prototype.delete=function(t){var e=this.__data__,r=Ci(e,t);return!(r<0||(r==e.length-1?e.pop():Ti.call(e,r,1),0))},Ri.prototype.get=function(t){var e=this.__data__,r=Ci(e,t);return r<0?void 0:e[r][1]},Ri.prototype.has=function(t){return Ci(this.__data__,t)>-1},Ri.prototype.set=function(t,e){var r=this.__data__,i=Ci(r,t);return i<0?r.push([t,e]):r[i][1]=e,this},Mi.prototype.clear=function(){this.__data__={hash:new _i,map:new(Li||Ri),string:new _i}},Mi.prototype.delete=function(t){return Wi(this,t).delete(t)},Mi.prototype.get=function(t){return Wi(this,t).get(t)},Mi.prototype.has=function(t){return Wi(this,t).has(t)},Mi.prototype.set=function(t,e){return Wi(this,t).set(t,e),this},Ii.Cache=Mi;var Bi,Pi=Ii,Vi=[],Fi="ResizeObserver loop completed with undelivered notifications.";!function(t){t.BORDER_BOX="border-box",t.CONTENT_BOX="content-box",t.DEVICE_PIXEL_CONTENT_BOX="device-pixel-content-box"}(Bi||(Bi={}));var Hi,Xi=function(t){return Object.freeze(t)},qi=function(t,e){this.inlineSize=t,this.blockSize=e,Xi(this)},$i=function(){function t(t,e,r,i){return this.x=t,this.y=e,this.width=r,this.height=i,this.top=this.y,this.left=this.x,this.bottom=this.top+this.height,this.right=this.left+this.width,Xi(this)}return t.prototype.toJSON=function(){var t=this;return{x:t.x,y:t.y,top:t.top,right:t.right,bottom:t.bottom,left:t.left,width:t.width,height:t.height}},t.fromRect=function(e){return new t(e.x,e.y,e.width,e.height)},t}(),Yi=function(t){return t instanceof SVGElement&&"getBBox"in t},Gi=function(t){if(Yi(t)){var e=t.getBBox(),r=e.width,i=e.height;return!r&&!i}var n=t,s=n.offsetWidth,a=n.offsetHeight;return!(s||a||t.getClientRects().length)},Ui=function(t){var e,r;if(t instanceof Element)return!0;var i=null===(r=null===(e=t)||void 0===e?void 0:e.ownerDocument)||void 0===r?void 0:r.defaultView;return!!(i&&t instanceof i.Element)},Qi="undefined"!=typeof window?window:{},Ji=new WeakMap,Ki=/auto|scroll/,Zi=/^tb|vertical/,tn=/msie|trident/i.test(Qi.navigator&&Qi.navigator.userAgent),en=function(t){return parseFloat(t||"0")},rn=function(t,e,r){return void 0===t&&(t=0),void 0===e&&(e=0),void 0===r&&(r=!1),new qi((r?e:t)||0,(r?t:e)||0)},nn=Xi({devicePixelContentBoxSize:rn(),borderBoxSize:rn(),contentBoxSize:rn(),contentRect:new $i(0,0,0,0)}),sn=function(t,e){if(void 0===e&&(e=!1),Ji.has(t)&&!e)return Ji.get(t);if(Gi(t))return Ji.set(t,nn),nn;var r=getComputedStyle(t),i=Yi(t)&&t.ownerSVGElement&&t.getBBox(),n=!tn&&"border-box"===r.boxSizing,s=Zi.test(r.writingMode||""),a=!i&&Ki.test(r.overflowY||""),o=!i&&Ki.test(r.overflowX||""),c=i?0:en(r.paddingTop),l=i?0:en(r.paddingRight),u=i?0:en(r.paddingBottom),h=i?0:en(r.paddingLeft),f=i?0:en(r.borderTopWidth),d=i?0:en(r.borderRightWidth),p=i?0:en(r.borderBottomWidth),v=h+l,g=c+u,x=(i?0:en(r.borderLeftWidth))+d,m=f+p,b=o?t.offsetHeight-m-t.clientHeight:0,y=a?t.offsetWidth-x-t.clientWidth:0,w=n?v+x:0,E=n?g+m:0,j=i?i.width:en(r.width)-w-y,S=i?i.height:en(r.height)-E-b,O=j+v+y+x,k=S+g+b+m,A=Xi({devicePixelContentBoxSize:rn(Math.round(j*devicePixelRatio),Math.round(S*devicePixelRatio),s),borderBoxSize:rn(O,k,s),contentBoxSize:rn(j,S,s),contentRect:new $i(h,c,j,S)});return Ji.set(t,A),A},an=function(t,e,r){var i=sn(t,r),n=i.borderBoxSize,s=i.contentBoxSize,a=i.devicePixelContentBoxSize;switch(e){case Bi.DEVICE_PIXEL_CONTENT_BOX:return a;case Bi.BORDER_BOX:return n;default:return s}},on=function(t){var e=sn(t);this.target=t,this.contentRect=e.contentRect,this.borderBoxSize=Xi([e.borderBoxSize]),this.contentBoxSize=Xi([e.contentBoxSize]),this.devicePixelContentBoxSize=Xi([e.devicePixelContentBoxSize])},cn=function(t){if(Gi(t))return 1/0;for(var e=0,r=t.parentNode;r;)e+=1,r=r.parentNode;return e},ln=function(){var t=1/0,e=[];Vi.forEach(function(r){if(0!==r.activeTargets.length){var i=[];r.activeTargets.forEach(function(e){var r=new on(e.target),n=cn(e.target);i.push(r),e.lastReportedSize=an(e.target,e.observedBox),n<t&&(t=n)}),e.push(function(){r.callback.call(r.observer,i,r.observer)}),r.activeTargets.splice(0,r.activeTargets.length)}});for(var r=0,i=e;r<i.length;r++)(0,i[r])();return t},un=function(t){Vi.forEach(function(e){e.activeTargets.splice(0,e.activeTargets.length),e.skippedTargets.splice(0,e.skippedTargets.length),e.observationTargets.forEach(function(r){r.isActive()&&(cn(r.target)>t?e.activeTargets.push(r):e.skippedTargets.push(r))})})},hn=[],fn=0,dn={attributes:!0,characterData:!0,childList:!0,subtree:!0},pn=["resize","load","transitionend","animationend","animationstart","animationiteration","keyup","keydown","mouseup","mousedown","mouseover","mouseout","blur","focus"],vn=function(t){return void 0===t&&(t=0),Date.now()+t},gn=!1,xn=new(function(){function t(){var t=this;this.stopped=!0,this.listener=function(){return t.schedule()}}return t.prototype.run=function(t){var e=this;if(void 0===t&&(t=250),!gn){gn=!0;var r,i=vn(t);r=function(){var r=!1;try{r=function(){var t,e=0;for(un(e);Vi.some(function(t){return t.activeTargets.length>0});)e=ln(),un(e);return Vi.some(function(t){return t.skippedTargets.length>0})&&("function"==typeof ErrorEvent?t=new ErrorEvent("error",{message:Fi}):((t=document.createEvent("Event")).initEvent("error",!1,!1),t.message=Fi),window.dispatchEvent(t)),e>0}()}finally{if(gn=!1,t=i-vn(),!fn)return;r?e.run(1e3):t>0?e.run(t):e.start()}},function(t){if(!Hi){var e=0,r=document.createTextNode("");new MutationObserver(function(){return hn.splice(0).forEach(function(t){return t()})}).observe(r,{characterData:!0}),Hi=function(){r.textContent=""+(e?e--:e++)}}hn.push(t),Hi()}(function(){requestAnimationFrame(r)})}},t.prototype.schedule=function(){this.stop(),this.run()},t.prototype.observe=function(){var t=this,e=function(){return t.observer&&t.observer.observe(document.body,dn)};document.body?e():Qi.addEventListener("DOMContentLoaded",e)},t.prototype.start=function(){var t=this;this.stopped&&(this.stopped=!1,this.observer=new MutationObserver(this.listener),this.observe(),pn.forEach(function(e){return Qi.addEventListener(e,t.listener,!0)}))},t.prototype.stop=function(){var t=this;this.stopped||(this.observer&&this.observer.disconnect(),pn.forEach(function(e){return Qi.removeEventListener(e,t.listener,!0)}),this.stopped=!0)},t}()),mn=function(t){!fn&&t>0&&xn.start(),!(fn+=t)&&xn.stop()},bn=function(){function t(t,e){this.target=t,this.observedBox=e||Bi.CONTENT_BOX,this.lastReportedSize={inlineSize:0,blockSize:0}}return t.prototype.isActive=function(){var t,e=an(this.target,this.observedBox,!0);return t=this.target,Yi(t)||function(t){switch(t.tagName){case"INPUT":if("image"!==t.type)break;case"VIDEO":case"AUDIO":case"EMBED":case"OBJECT":case"CANVAS":case"IFRAME":case"IMG":return!0}return!1}(t)||"inline"!==getComputedStyle(t).display||(this.lastReportedSize=e),this.lastReportedSize.inlineSize!==e.inlineSize||this.lastReportedSize.blockSize!==e.blockSize},t}(),yn=function(t,e){this.activeTargets=[],this.skippedTargets=[],this.observationTargets=[],this.observer=t,this.callback=e},wn=new WeakMap,En=function(t,e){for(var r=0;r<t.length;r+=1)if(t[r].target===e)return r;return-1},jn=function(){function t(){}return t.connect=function(t,e){var r=new yn(t,e);wn.set(t,r)},t.observe=function(t,e,r){var i=wn.get(t),n=0===i.observationTargets.length;En(i.observationTargets,e)<0&&(n&&Vi.push(i),i.observationTargets.push(new bn(e,r&&r.box)),mn(1),xn.schedule())},t.unobserve=function(t,e){var r=wn.get(t),i=En(r.observationTargets,e),n=1===r.observationTargets.length;i>=0&&(n&&Vi.splice(Vi.indexOf(r),1),r.observationTargets.splice(i,1),mn(-1))},t.disconnect=function(t){var e=this,r=wn.get(t);r.observationTargets.slice().forEach(function(r){return e.unobserve(t,r.target)}),r.activeTargets.splice(0,r.activeTargets.length)},t}(),Sn=function(){function t(t){if(0===arguments.length)throw new TypeError("Failed to construct 'ResizeObserver': 1 argument required, but only 0 present.");if("function"!=typeof t)throw new TypeError("Failed to construct 'ResizeObserver': The callback provided as parameter 1 is not a function.");jn.connect(this,t)}return t.prototype.observe=function(t,e){if(0===arguments.length)throw new TypeError("Failed to execute 'observe' on 'ResizeObserver': 1 argument required, but only 0 present.");if(!Ui(t))throw new TypeError("Failed to execute 'observe' on 'ResizeObserver': parameter 1 is not of type 'Element");jn.observe(this,t,e)},t.prototype.unobserve=function(t){if(0===arguments.length)throw new TypeError("Failed to execute 'unobserve' on 'ResizeObserver': 1 argument required, but only 0 present.");if(!Ui(t))throw new TypeError("Failed to execute 'unobserve' on 'ResizeObserver': parameter 1 is not of type 'Element");jn.unobserve(this,t)},t.prototype.disconnect=function(){jn.disconnect(this)},t.toString=function(){return"function ResizeObserver () { [polyfill code] }"},t}(),On=function(t){return function(e,r,i,n){At(r);var s=Lt(e),a=x(s),o=at(s.length),c=t?o-1:0,l=t?-1:1;if(i<2)for(;;){if(c in a){n=a[c],c+=l;break}if(c+=l,t?c<0:o<=c)throw TypeError("Reduce of empty array with no initial value")}for(;t?c>=0:o>c;c+=l)c in a&&(n=r(n,a[c],c,s));return n}},kn=[On(!1),On(!0)][0];kt({target:"Array",proto:!0,forced:Pt("reduce")},{reduce:function(t){return kn(this,t,arguments.length,arguments.length>1?arguments[1]:void 0)}});var An=R.f,Tn=Function.prototype,Ln=Tn.toString,zn=/^\s*function ([^ (]*)/;!l||"name"in Tn||An(Tn,"name",{configurable:!0,get:function(){try{return Ln.call(this).match(zn)[1]}catch(t){return""}}});var _n,Rn,Mn=RegExp.prototype.exec,Cn=String.prototype.replace,Wn=Mn,Nn=(_n=/a/,Rn=/b*/g,Mn.call(_n,"a"),Mn.call(Rn,"a"),0!==_n.lastIndex||0!==Rn.lastIndex),In=void 0!==/()??/.exec("")[1];(Nn||In)&&(Wn=function(t){var e,r,i,n,s=this;return In&&(r=new RegExp("^"+s.source+"$(?!\\s)",function(){var t=z(this),e="";return t.global&&(e+="g"),t.ignoreCase&&(e+="i"),t.multiline&&(e+="m"),t.dotAll&&(e+="s"),t.unicode&&(e+="u"),t.sticky&&(e+="y"),e}.call(s))),Nn&&(e=s.lastIndex),i=Mn.call(s,t),Nn&&i&&(s.lastIndex=s.global?i.index+i[0].length:e),In&&i&&i.length>1&&Cn.call(i[0],r,function(){for(n=1;n<arguments.length-2;n++)void 0===arguments[n]&&(i[n]=void 0)}),i});var Dn=Wn;kt({target:"RegExp",proto:!0,forced:/./.exec!==Dn},{exec:Dn});var Bn=Ct("species"),Pn=!c(function(){var t=/./;return t.exec=function(){var t=[];return t.groups={a:"7"},t},"7"!=="".replace(t,"$<a>")}),Vn=!c(function(){var t=/(?:)/,e=t.exec;t.exec=function(){return e.apply(this,arguments)};var r="ab".split(t);return 2!==r.length||"a"!==r[0]||"b"!==r[1]}),Fn=function(t,e,r,i){var n=Ct(t),s=!c(function(){var e={};return e[n]=function(){return 7},7!=""[t](e)}),a=s&&!c(function(){var e=!1,r=/a/;return r.exec=function(){return e=!0,null},"split"===t&&(r.constructor={},r.constructor[Bn]=function(){return r}),r[n](""),!e});if(!s||!a||"replace"===t&&!Pn||"split"===t&&!Vn){var o=/./[n],l=r(n,""[t],function(t,e,r,i,n){return e.exec===Dn?s&&!n?{done:!0,value:o.call(e,r,i)}:{done:!0,value:t.call(r,e,i)}:{done:!1}}),u=l[0],h=l[1];K(String.prototype,t,u),K(RegExp.prototype,n,2==e?function(t,e){return h.call(t,this,e)}:function(t){return h.call(t,this)}),i&&M(RegExp.prototype[n],"sham",!0)}},Hn=Ue.charAt,Xn=function(t,e,r){return e+(r?Hn(t,e).length:1)},qn=function(t,e){var r=t.exec;if("function"==typeof r){var i=r.call(t,e);if("object"!=typeof i)throw TypeError("RegExp exec method returned something other than an Object or null");return i}if("RegExp"!==v(t))throw TypeError("RegExp#exec called on incompatible receiver");return Dn.call(t,e)};Fn("match",1,function(t,e,r){return[function(e){var r=m(this),i=null==e?void 0:e[t];return void 0!==i?i.call(e,r):new RegExp(e)[t](String(r))},function(t){var i=r(e,t,this);if(i.done)return i.value;var n=z(t),s=String(this);if(!n.global)return qn(n,s);var a=n.unicode;n.lastIndex=0;for(var o,c=[],l=0;null!==(o=qn(n,s));){var u=String(o[0]);c[l]=u,""===u&&(n.lastIndex=Xn(s,at(n.lastIndex),a)),l++}return 0===l?null:c}]});var $n=Math.max,Yn=Math.min,Gn=Math.floor,Un=/\$([$&'`]|\d\d?|<[^>]*>)/g,Qn=/\$([$&'`]|\d\d?)/g;Fn("replace",2,function(t,e,r){return[function(r,i){var n=m(this),s=null==r?void 0:r[t];return void 0!==s?s.call(r,n,i):e.call(String(n),r,i)},function(t,n){var s=r(e,t,this,n);if(s.done)return s.value;var a=z(t),o=String(this),c="function"==typeof n;c||(n=String(n));var l=a.global;if(l){var u=a.unicode;a.lastIndex=0}for(var h=[];;){var f=qn(a,o);if(null===f)break;if(h.push(f),!l)break;""===String(f[0])&&(a.lastIndex=Xn(o,at(a.lastIndex),u))}for(var d,p="",v=0,g=0;g<h.length;g++){f=h[g];for(var x=String(f[0]),m=$n(Yn(nt(f.index),o.length),0),b=[],y=1;y<f.length;y++)b.push(void 0===(d=f[y])?d:String(d));var w=f.groups;if(c){var E=[x].concat(b,m,o);void 0!==w&&E.push(w);var j=String(n.apply(void 0,E))}else j=i(x,o,m,b,w,n);m>=v&&(p+=o.slice(v,m)+j,v=m+x.length)}return p+o.slice(v)}];function i(t,r,i,n,s,a){var o=i+t.length,c=n.length,l=Qn;return void 0!==s&&(s=Lt(s),l=Un),e.call(a,l,function(e,a){var l;switch(a.charAt(0)){case"$":return"$";case"&":return t;case"`":return r.slice(0,i);case"'":return r.slice(o);case"<":l=s[a.slice(1,-1)];break;default:var u=+a;if(0===u)return e;if(u>c){var h=Gn(u/10);return 0===h?e:h<=c?void 0===n[h-1]?a.charAt(1):n[h-1]+a.charAt(1):e}l=n[u-1]}return void 0===l?"":l})}});var Jn=function(t){return Array.prototype.reduce.call(t,function(t,e){var r=e.name.match(/data-simplebar-(.+)/);if(r){var i=r[1].replace(/\W+(.)/g,function(t,e){return e.toUpperCase()});switch(e.value){case"true":t[i]=!0;break;case"false":t[i]=!1;break;case void 0:t[i]=!0;break;default:t[i]=e.value}}return t},{})};function Kn(t){return t&&t.ownerDocument&&t.ownerDocument.defaultView?t.ownerDocument.defaultView:window}function Zn(t){return t&&t.ownerDocument?t.ownerDocument:document}var ts=null,es=null;function rs(t){if(null===ts){var e=Zn(t);if(void 0===e)return ts=0;var r=e.body,i=e.createElement("div");i.classList.add("simplebar-hide-scrollbar"),r.appendChild(i);var n=i.getBoundingClientRect().right;r.removeChild(i),ts=n}return ts}Yt&&window.addEventListener("resize",function(){es!==window.devicePixelRatio&&(es=window.devicePixelRatio,ts=null)});var is=function(){function t(e,r){var i=this;this.onScroll=function(){var t=Kn(i.el);i.scrollXTicking||(t.requestAnimationFrame(i.scrollX),i.scrollXTicking=!0),i.scrollYTicking||(t.requestAnimationFrame(i.scrollY),i.scrollYTicking=!0)},this.scrollX=function(){i.axis.x.isOverflowing&&(i.showScrollbar("x"),i.positionScrollbar("x")),i.scrollXTicking=!1},this.scrollY=function(){i.axis.y.isOverflowing&&(i.showScrollbar("y"),i.positionScrollbar("y")),i.scrollYTicking=!1},this.onMouseEnter=function(){i.showScrollbar("x"),i.showScrollbar("y")},this.onMouseMove=function(t){i.mouseX=t.clientX,i.mouseY=t.clientY,(i.axis.x.isOverflowing||i.axis.x.forceVisible)&&i.onMouseMoveForAxis("x"),(i.axis.y.isOverflowing||i.axis.y.forceVisible)&&i.onMouseMoveForAxis("y")},this.onMouseLeave=function(){i.onMouseMove.cancel(),(i.axis.x.isOverflowing||i.axis.x.forceVisible)&&i.onMouseLeaveForAxis("x"),(i.axis.y.isOverflowing||i.axis.y.forceVisible)&&i.onMouseLeaveForAxis("y"),i.mouseX=-1,i.mouseY=-1},this.onWindowResize=function(){i.scrollbarWidth=i.getScrollbarWidth(),i.hideNativeScrollbar()},this.hideScrollbars=function(){i.axis.x.track.rect=i.axis.x.track.el.getBoundingClientRect(),i.axis.y.track.rect=i.axis.y.track.el.getBoundingClientRect(),i.isWithinBounds(i.axis.y.track.rect)||(i.axis.y.scrollbar.el.classList.remove(i.classNames.visible),i.axis.y.isVisible=!1),i.isWithinBounds(i.axis.x.track.rect)||(i.axis.x.scrollbar.el.classList.remove(i.classNames.visible),i.axis.x.isVisible=!1)},this.onPointerEvent=function(t){var e,r;i.axis.x.track.rect=i.axis.x.track.el.getBoundingClientRect(),i.axis.y.track.rect=i.axis.y.track.el.getBoundingClientRect(),(i.axis.x.isOverflowing||i.axis.x.forceVisible)&&(e=i.isWithinBounds(i.axis.x.track.rect)),(i.axis.y.isOverflowing||i.axis.y.forceVisible)&&(r=i.isWithinBounds(i.axis.y.track.rect)),(e||r)&&(t.preventDefault(),t.stopPropagation(),"mousedown"===t.type&&(e&&(i.axis.x.scrollbar.rect=i.axis.x.scrollbar.el.getBoundingClientRect(),i.isWithinBounds(i.axis.x.scrollbar.rect)?i.onDragStart(t,"x"):i.onTrackClick(t,"x")),r&&(i.axis.y.scrollbar.rect=i.axis.y.scrollbar.el.getBoundingClientRect(),i.isWithinBounds(i.axis.y.scrollbar.rect)?i.onDragStart(t,"y"):i.onTrackClick(t,"y"))))},this.drag=function(e){var r=i.axis[i.draggedAxis].track,n=r.rect[i.axis[i.draggedAxis].sizeAttr],s=i.axis[i.draggedAxis].scrollbar,a=i.contentWrapperEl[i.axis[i.draggedAxis].scrollSizeAttr],o=parseInt(i.elStyles[i.axis[i.draggedAxis].sizeAttr],10);e.preventDefault(),e.stopPropagation();var c=(("y"===i.draggedAxis?e.pageY:e.pageX)-r.rect[i.axis[i.draggedAxis].offsetAttr]-i.axis[i.draggedAxis].dragOffset)/(n-s.size)*(a-o);"x"===i.draggedAxis&&(c=i.isRtl&&t.getRtlHelpers().isRtlScrollbarInverted?c-(n+s.size):c,c=i.isRtl&&t.getRtlHelpers().isRtlScrollingInverted?-c:c),i.contentWrapperEl[i.axis[i.draggedAxis].scrollOffsetAttr]=c},this.onEndDrag=function(t){var e=Zn(i.el),r=Kn(i.el);t.preventDefault(),t.stopPropagation(),i.el.classList.remove(i.classNames.dragging),e.removeEventListener("mousemove",i.drag,!0),e.removeEventListener("mouseup",i.onEndDrag,!0),i.removePreventClickId=r.setTimeout(function(){e.removeEventListener("click",i.preventClick,!0),e.removeEventListener("dblclick",i.preventClick,!0),i.removePreventClickId=null})},this.preventClick=function(t){t.preventDefault(),t.stopPropagation()},this.el=e,this.minScrollbarWidth=20,this.options=Object.assign({},t.defaultOptions,{},r),this.classNames=Object.assign({},t.defaultOptions.classNames,{},this.options.classNames),this.axis={x:{scrollOffsetAttr:"scrollLeft",sizeAttr:"width",scrollSizeAttr:"scrollWidth",offsetSizeAttr:"offsetWidth",offsetAttr:"left",overflowAttr:"overflowX",dragOffset:0,isOverflowing:!0,isVisible:!1,forceVisible:!1,track:{},scrollbar:{}},y:{scrollOffsetAttr:"scrollTop",sizeAttr:"height",scrollSizeAttr:"scrollHeight",offsetSizeAttr:"offsetHeight",offsetAttr:"top",overflowAttr:"overflowY",dragOffset:0,isOverflowing:!0,isVisible:!1,forceVisible:!1,track:{},scrollbar:{}}},this.removePreventClickId=null,t.instances.has(this.el)||(this.recalculate=Yr(this.recalculate.bind(this),64),this.onMouseMove=Yr(this.onMouseMove.bind(this),64),this.hideScrollbars=ui(this.hideScrollbars.bind(this),this.options.timeout),this.onWindowResize=ui(this.onWindowResize.bind(this),64,{leading:!0}),t.getRtlHelpers=Pi(t.getRtlHelpers),this.init())}t.getRtlHelpers=function(){var e=document.createElement("div");e.innerHTML='<div class="hs-dummy-scrollbar-size"><div style="height: 200%; width: 200%; margin: 10px 0;"></div></div>';var r=e.firstElementChild;document.body.appendChild(r);var i=r.firstElementChild;r.scrollLeft=0;var n=t.getOffset(r),s=t.getOffset(i);r.scrollLeft=999;var a=t.getOffset(i);return{isRtlScrollingInverted:n.left!==s.left&&s.left-a.left!=0,isRtlScrollbarInverted:n.left!==s.left}},t.getOffset=function(t){var e=t.getBoundingClientRect(),r=Zn(t),i=Kn(t);return{top:e.top+(i.pageYOffset||r.documentElement.scrollTop),left:e.left+(i.pageXOffset||r.documentElement.scrollLeft)}};var e=t.prototype;return e.init=function(){t.instances.set(this.el,this),Yt&&(this.initDOM(),this.scrollbarWidth=this.getScrollbarWidth(),this.recalculate(),this.initListeners())},e.initDOM=function(){var t=this;if(Array.prototype.filter.call(this.el.children,function(e){return e.classList.contains(t.classNames.wrapper)}).length)this.wrapperEl=this.el.querySelector("."+this.classNames.wrapper),this.contentWrapperEl=this.options.scrollableNode||this.el.querySelector("."+this.classNames.contentWrapper),this.contentEl=this.options.contentNode||this.el.querySelector("."+this.classNames.contentEl),this.offsetEl=this.el.querySelector("."+this.classNames.offset),this.maskEl=this.el.querySelector("."+this.classNames.mask),this.placeholderEl=this.findChild(this.wrapperEl,"."+this.classNames.placeholder),this.heightAutoObserverWrapperEl=this.el.querySelector("."+this.classNames.heightAutoObserverWrapperEl),this.heightAutoObserverEl=this.el.querySelector("."+this.classNames.heightAutoObserverEl),this.axis.x.track.el=this.findChild(this.el,"."+this.classNames.track+"."+this.classNames.horizontal),this.axis.y.track.el=this.findChild(this.el,"."+this.classNames.track+"."+this.classNames.vertical);else{for(this.wrapperEl=document.createElement("div"),this.contentWrapperEl=document.createElement("div"),this.offsetEl=document.createElement("div"),this.maskEl=document.createElement("div"),this.contentEl=document.createElement("div"),this.placeholderEl=document.createElement("div"),this.heightAutoObserverWrapperEl=document.createElement("div"),this.heightAutoObserverEl=document.createElement("div"),this.wrapperEl.classList.add(this.classNames.wrapper),this.contentWrapperEl.classList.add(this.classNames.contentWrapper),this.offsetEl.classList.add(this.classNames.offset),this.maskEl.classList.add(this.classNames.mask),this.contentEl.classList.add(this.classNames.contentEl),this.placeholderEl.classList.add(this.classNames.placeholder),this.heightAutoObserverWrapperEl.classList.add(this.classNames.heightAutoObserverWrapperEl),this.heightAutoObserverEl.classList.add(this.classNames.heightAutoObserverEl);this.el.firstChild;)this.contentEl.appendChild(this.el.firstChild);this.contentWrapperEl.appendChild(this.contentEl),this.offsetEl.appendChild(this.contentWrapperEl),this.maskEl.appendChild(this.offsetEl),this.heightAutoObserverWrapperEl.appendChild(this.heightAutoObserverEl),this.wrapperEl.appendChild(this.heightAutoObserverWrapperEl),this.wrapperEl.appendChild(this.maskEl),this.wrapperEl.appendChild(this.placeholderEl),this.el.appendChild(this.wrapperEl)}if(!this.axis.x.track.el||!this.axis.y.track.el){var e=document.createElement("div"),r=document.createElement("div");e.classList.add(this.classNames.track),r.classList.add(this.classNames.scrollbar),e.appendChild(r),this.axis.x.track.el=e.cloneNode(!0),this.axis.x.track.el.classList.add(this.classNames.horizontal),this.axis.y.track.el=e.cloneNode(!0),this.axis.y.track.el.classList.add(this.classNames.vertical),this.el.appendChild(this.axis.x.track.el),this.el.appendChild(this.axis.y.track.el)}this.axis.x.scrollbar.el=this.axis.x.track.el.querySelector("."+this.classNames.scrollbar),this.axis.y.scrollbar.el=this.axis.y.track.el.querySelector("."+this.classNames.scrollbar),this.options.autoHide||(this.axis.x.scrollbar.el.classList.add(this.classNames.visible),this.axis.y.scrollbar.el.classList.add(this.classNames.visible)),this.el.setAttribute("data-simplebar","init")},e.initListeners=function(){var t=this,e=Kn(this.el);this.options.autoHide&&this.el.addEventListener("mouseenter",this.onMouseEnter),["mousedown","click","dblclick"].forEach(function(e){t.el.addEventListener(e,t.onPointerEvent,!0)}),["touchstart","touchend","touchmove"].forEach(function(e){t.el.addEventListener(e,t.onPointerEvent,{capture:!0,passive:!0})}),this.el.addEventListener("mousemove",this.onMouseMove),this.el.addEventListener("mouseleave",this.onMouseLeave),this.contentWrapperEl.addEventListener("scroll",this.onScroll),e.addEventListener("resize",this.onWindowResize);var r=!1,i=e.ResizeObserver||Sn;this.resizeObserver=new i(function(){r&&t.recalculate()}),this.resizeObserver.observe(this.el),this.resizeObserver.observe(this.contentEl),e.requestAnimationFrame(function(){r=!0}),this.mutationObserver=new e.MutationObserver(this.recalculate),this.mutationObserver.observe(this.contentEl,{childList:!0,subtree:!0,characterData:!0})},e.recalculate=function(){var t=Kn(this.el);this.elStyles=t.getComputedStyle(this.el),this.isRtl="rtl"===this.elStyles.direction;var e=this.heightAutoObserverEl.offsetHeight<=1,r=this.heightAutoObserverEl.offsetWidth<=1,i=this.contentEl.offsetWidth,n=this.contentWrapperEl.offsetWidth,s=this.elStyles.overflowX,a=this.elStyles.overflowY;this.contentEl.style.padding=this.elStyles.paddingTop+" "+this.elStyles.paddingRight+" "+this.elStyles.paddingBottom+" "+this.elStyles.paddingLeft,this.wrapperEl.style.margin="-"+this.elStyles.paddingTop+" -"+this.elStyles.paddingRight+" -"+this.elStyles.paddingBottom+" -"+this.elStyles.paddingLeft;var o=this.contentEl.scrollHeight,c=this.contentEl.scrollWidth;this.contentWrapperEl.style.height=e?"auto":"100%",this.placeholderEl.style.width=r?i+"px":"auto",this.placeholderEl.style.height=o+"px";var l=this.contentWrapperEl.offsetHeight;this.axis.x.isOverflowing=c>i,this.axis.y.isOverflowing=o>l,this.axis.x.isOverflowing="hidden"!==s&&this.axis.x.isOverflowing,this.axis.y.isOverflowing="hidden"!==a&&this.axis.y.isOverflowing,this.axis.x.forceVisible="x"===this.options.forceVisible||!0===this.options.forceVisible,this.axis.y.forceVisible="y"===this.options.forceVisible||!0===this.options.forceVisible,this.hideNativeScrollbar();var u=this.axis.x.isOverflowing?this.scrollbarWidth:0,h=this.axis.y.isOverflowing?this.scrollbarWidth:0;this.axis.x.isOverflowing=this.axis.x.isOverflowing&&c>n-h,this.axis.y.isOverflowing=this.axis.y.isOverflowing&&o>l-u,this.axis.x.scrollbar.size=this.getScrollbarSize("x"),this.axis.y.scrollbar.size=this.getScrollbarSize("y"),this.axis.x.scrollbar.el.style.width=this.axis.x.scrollbar.size+"px",this.axis.y.scrollbar.el.style.height=this.axis.y.scrollbar.size+"px",this.positionScrollbar("x"),this.positionScrollbar("y"),this.toggleTrackVisibility("x"),this.toggleTrackVisibility("y")},e.getScrollbarSize=function(t){if(void 0===t&&(t="y"),!this.axis[t].isOverflowing)return 0;var e,r=this.contentEl[this.axis[t].scrollSizeAttr],i=this.axis[t].track.el[this.axis[t].offsetSizeAttr],n=i/r;return e=Math.max(~~(n*i),this.options.scrollbarMinSize),this.options.scrollbarMaxSize&&(e=Math.min(e,this.options.scrollbarMaxSize)),e},e.positionScrollbar=function(e){if(void 0===e&&(e="y"),this.axis[e].isOverflowing){var r=this.contentWrapperEl[this.axis[e].scrollSizeAttr],i=this.axis[e].track.el[this.axis[e].offsetSizeAttr],n=parseInt(this.elStyles[this.axis[e].sizeAttr],10),s=this.axis[e].scrollbar,a=this.contentWrapperEl[this.axis[e].scrollOffsetAttr],o=(a="x"===e&&this.isRtl&&t.getRtlHelpers().isRtlScrollingInverted?-a:a)/(r-n),c=~~((i-s.size)*o);c="x"===e&&this.isRtl&&t.getRtlHelpers().isRtlScrollbarInverted?c+(i-s.size):c,s.el.style.transform="x"===e?"translate3d("+c+"px, 0, 0)":"translate3d(0, "+c+"px, 0)"}},e.toggleTrackVisibility=function(t){void 0===t&&(t="y");var e=this.axis[t].track.el,r=this.axis[t].scrollbar.el;this.axis[t].isOverflowing||this.axis[t].forceVisible?(e.style.visibility="visible",this.contentWrapperEl.style[this.axis[t].overflowAttr]="scroll"):(e.style.visibility="hidden",this.contentWrapperEl.style[this.axis[t].overflowAttr]="hidden"),this.axis[t].isOverflowing?r.style.display="block":r.style.display="none"},e.hideNativeScrollbar=function(){this.offsetEl.style[this.isRtl?"left":"right"]=this.axis.y.isOverflowing||this.axis.y.forceVisible?"-"+this.scrollbarWidth+"px":0,this.offsetEl.style.bottom=this.axis.x.isOverflowing||this.axis.x.forceVisible?"-"+this.scrollbarWidth+"px":0},e.onMouseMoveForAxis=function(t){void 0===t&&(t="y"),this.axis[t].track.rect=this.axis[t].track.el.getBoundingClientRect(),this.axis[t].scrollbar.rect=this.axis[t].scrollbar.el.getBoundingClientRect(),this.isWithinBounds(this.axis[t].scrollbar.rect)?this.axis[t].scrollbar.el.classList.add(this.classNames.hover):this.axis[t].scrollbar.el.classList.remove(this.classNames.hover),this.isWithinBounds(this.axis[t].track.rect)?(this.showScrollbar(t),this.axis[t].track.el.classList.add(this.classNames.hover)):this.axis[t].track.el.classList.remove(this.classNames.hover)},e.onMouseLeaveForAxis=function(t){void 0===t&&(t="y"),this.axis[t].track.el.classList.remove(this.classNames.hover),this.axis[t].scrollbar.el.classList.remove(this.classNames.hover)},e.showScrollbar=function(t){void 0===t&&(t="y");var e=this.axis[t].scrollbar.el;this.axis[t].isVisible||(e.classList.add(this.classNames.visible),this.axis[t].isVisible=!0),this.options.autoHide&&this.hideScrollbars()},e.onDragStart=function(t,e){void 0===e&&(e="y");var r=Zn(this.el),i=Kn(this.el),n=this.axis[e].scrollbar,s="y"===e?t.pageY:t.pageX;this.axis[e].dragOffset=s-n.rect[this.axis[e].offsetAttr],this.draggedAxis=e,this.el.classList.add(this.classNames.dragging),r.addEventListener("mousemove",this.drag,!0),r.addEventListener("mouseup",this.onEndDrag,!0),null===this.removePreventClickId?(r.addEventListener("click",this.preventClick,!0),r.addEventListener("dblclick",this.preventClick,!0)):(i.clearTimeout(this.removePreventClickId),this.removePreventClickId=null)},e.onTrackClick=function(t,e){var r=this;if(void 0===e&&(e="y"),this.options.clickOnTrack){var i=Kn(this.el);this.axis[e].scrollbar.rect=this.axis[e].scrollbar.el.getBoundingClientRect();var n=this.axis[e].scrollbar.rect[this.axis[e].offsetAttr],s=parseInt(this.elStyles[this.axis[e].sizeAttr],10),a=this.contentWrapperEl[this.axis[e].scrollOffsetAttr],o=("y"===e?this.mouseY-n:this.mouseX-n)<0?-1:1,c=-1===o?a-s:a+s;!function t(){var n,s;-1===o?a>c&&(a-=r.options.clickOnTrackSpeed,r.contentWrapperEl.scrollTo(((n={})[r.axis[e].offsetAttr]=a,n)),i.requestAnimationFrame(t)):a<c&&(a+=r.options.clickOnTrackSpeed,r.contentWrapperEl.scrollTo(((s={})[r.axis[e].offsetAttr]=a,s)),i.requestAnimationFrame(t))}()}},e.getContentElement=function(){return this.contentEl},e.getScrollElement=function(){return this.contentWrapperEl},e.getScrollbarWidth=function(){try{return"none"===getComputedStyle(this.contentWrapperEl,"::-webkit-scrollbar").display||"scrollbarWidth"in document.documentElement.style||"-ms-overflow-style"in document.documentElement.style?0:rs(this.el)}catch(t){return rs(this.el)}},e.removeListeners=function(){var t=this,e=Kn(this.el);this.options.autoHide&&this.el.removeEventListener("mouseenter",this.onMouseEnter),["mousedown","click","dblclick"].forEach(function(e){t.el.removeEventListener(e,t.onPointerEvent,!0)}),["touchstart","touchend","touchmove"].forEach(function(e){t.el.removeEventListener(e,t.onPointerEvent,{capture:!0,passive:!0})}),this.el.removeEventListener("mousemove",this.onMouseMove),this.el.removeEventListener("mouseleave",this.onMouseLeave),this.contentWrapperEl&&this.contentWrapperEl.removeEventListener("scroll",this.onScroll),e.removeEventListener("resize",this.onWindowResize),this.mutationObserver&&this.mutationObserver.disconnect(),this.resizeObserver&&this.resizeObserver.disconnect(),this.recalculate.cancel(),this.onMouseMove.cancel(),this.hideScrollbars.cancel(),this.onWindowResize.cancel()},e.unMount=function(){this.removeListeners(),t.instances.delete(this.el)},e.isWithinBounds=function(t){return this.mouseX>=t.left&&this.mouseX<=t.left+t.width&&this.mouseY>=t.top&&this.mouseY<=t.top+t.height},e.findChild=function(t,e){var r=t.matches||t.webkitMatchesSelector||t.mozMatchesSelector||t.msMatchesSelector;return Array.prototype.filter.call(t.children,function(t){return r.call(t,e)})[0]},t}();return is.defaultOptions={autoHide:!0,forceVisible:!1,clickOnTrack:!0,clickOnTrackSpeed:40,classNames:{contentEl:"simplebar-content",contentWrapper:"simplebar-content-wrapper",offset:"simplebar-offset",mask:"simplebar-mask",wrapper:"simplebar-wrapper",placeholder:"simplebar-placeholder",scrollbar:"simplebar-scrollbar",track:"simplebar-track",heightAutoObserverWrapperEl:"simplebar-height-auto-observer-wrapper",heightAutoObserverEl:"simplebar-height-auto-observer",visible:"simplebar-visible",horizontal:"simplebar-horizontal",vertical:"simplebar-vertical",hover:"simplebar-hover",dragging:"simplebar-dragging"},scrollbarMinSize:25,scrollbarMaxSize:0,timeout:1e3},is.instances=new WeakMap,is.initDOMLoadedElements=function(){document.removeEventListener("DOMContentLoaded",this.initDOMLoadedElements),window.removeEventListener("load",this.initDOMLoadedElements),Array.prototype.forEach.call(document.querySelectorAll("[data-simplebar]"),function(t){"init"===t.getAttribute("data-simplebar")||is.instances.has(t)||new is(t,Jn(t.attributes))})},is.removeObserver=function(){this.globalObserver.disconnect()},is.initHtmlApi=function(){this.initDOMLoadedElements=this.initDOMLoadedElements.bind(this),"undefined"!=typeof MutationObserver&&(this.globalObserver=new MutationObserver(is.handleMutations),this.globalObserver.observe(document,{childList:!0,subtree:!0})),"complete"===document.readyState||"loading"!==document.readyState&&!document.documentElement.doScroll?window.setTimeout(this.initDOMLoadedElements):(document.addEventListener("DOMContentLoaded",this.initDOMLoadedElements),window.addEventListener("load",this.initDOMLoadedElements))},is.handleMutations=function(t){t.forEach(function(t){Array.prototype.forEach.call(t.addedNodes,function(t){1===t.nodeType&&(t.hasAttribute("data-simplebar")?!is.instances.has(t)&&document.documentElement.contains(t)&&new is(t,Jn(t.attributes)):Array.prototype.forEach.call(t.querySelectorAll("[data-simplebar]"),function(t){"init"!==t.getAttribute("data-simplebar")&&!is.instances.has(t)&&document.documentElement.contains(t)&&new is(t,Jn(t.attributes))}))}),Array.prototype.forEach.call(t.removedNodes,function(t){1===t.nodeType&&("init"===t.getAttribute("data-simplebar")?is.instances.has(t)&&!document.documentElement.contains(t)&&is.instances.get(t).unMount():Array.prototype.forEach.call(t.querySelectorAll('[data-simplebar="init"]'),function(t){is.instances.has(t)&&!document.documentElement.contains(t)&&is.instances.get(t).unMount()}))})})},is.getOptions=Jn,Yt&&is.initHtmlApi(),is});
1
+ !function(t){"use strict";t(document).ready(function(){var e,r=null,i="",n=-1,s=t(document.activeElement).closest("form");function a(r,s){s||(s=1);var a=t(r),o=a.val()||"",c=a.parents(".is-ajax-search"),l=c.attr("data-min-no-for-search")||"",u=c.attr("data-result-box-max-height")||"400",h=t(c).attr("data-form-id");if(t(".is-form-id-"+h+" .is-search-input").val(o),""===i||i!==o.trim()||n!==h)i=o.trim(),n=h;else if(1===s)return void t("#is-ajax-search-result-"+h).show();if(1===s&&c.addClass("processing"),o.length>=l){if(1===s){if(t("#is-ajax-search-result-"+h+", #is-ajax-search-details-"+h).hide(),c.hasClass("is-form-style-1")){var f=c.find(".is-search-submit").outerWidth()+5;c.find(".is-loader-image").css("right",f+"px")}c.find(".is-loader-image").show()}var d={action:"is_ajax_load_posts",page:s,security:IvoryAjaxVars.ajax_nonce},p=c.serialize()+"&"+t.param(d);0===c.find('input[name="id"]').length&&(p+="&id="+h),e&&4!==e.readystate&&e.abort(),e=t.ajax({url:IvoryAjaxVars.ajaxurl,data:p,type:"POST",success:function(e){if("undefined"!=typeof IvorySearchVars&&void 0!==IvorySearchVars.is_analytics_enabled){var r=t(e).find(".is-ajax-search-no-result").length?"Nothing Found":"Results Found";ivory_search_analytics(h,o,r)}if(c.find(".is-loader-image").hide(),c.removeClass("processing"),1===s){var i=c.offset(),n=c.innerHeight(),a=c.outerWidth();a=a<500?500:a,0===t("#is-ajax-search-result-"+h).length&&t("body").append('<div id="is-ajax-search-result-'+h+'" class="is-ajax-search-result"></div>'),t("#is-ajax-search-result-"+h).css({width:a-10+"px"});var l=t("#is-ajax-search-result-"+h).outerWidth(),f=t(window).width(),d=0;if(i.left+l>f&&(d=i.left+l-f),t("#is-ajax-search-result-"+h).css({top:i.top+n+"px",left:i.left-d+"px",width:a-10+"px"}),t("#is-ajax-search-result-"+h).show().html(e),0!==t("#is-ajax-search-details-"+h).length&&t("body > #is-ajax-search-details-"+h).remove(),0!==t("#is-ajax-search-result-"+h+" .is-ajax-search-details").length){t("body").append('<div id="is-ajax-search-details-'+h+'" class="is-ajax-search-details">'+t("#is-ajax-search-result-"+h+" .is-ajax-search-details").html()+"</div>"),t("#is-ajax-search-result-"+h+" .is-ajax-search-details").remove();var p=t("#is-ajax-search-details-"+h).outerWidth(),v=i.left+l;if(i.left+l+p>f+30){var g=i.left-(d+p);g>-30&&(v=g)}t("#is-ajax-search-details-"+h).css({top:i.top+n+"px",left:v+"px"})}}else t("#is-ajax-search-result-"+h+" .is-show-more-results").remove(),t("#is-ajax-search-result-"+h+" .is-ajax-search-posts").append(e),0!==t("#is-ajax-search-result-"+h+" .is-ajax-search-posts .is-show-more-results").length&&(t("#is-ajax-search-result-"+h).append(t("#is-ajax-search-result-"+h+" .is-ajax-search-posts .is-show-more-results")[0].outerHTML),t("#is-ajax-search-result-"+h+" .is-ajax-search-posts .is-show-more-results").remove()),t("#is-ajax-search-details-"+h+" .is-ajax-search-posts-details").append(t("#is-ajax-search-result-"+h+" .is-ajax-search-items .is-ajax-search-posts-details").html()),t("#is-ajax-search-result-"+h+" .is-ajax-search-items .is-ajax-search-details").remove();var x=o.trim().split(" ");if(0!=x.length&&t.isFunction(t.fn.is_highlight)){var m,b,y,w=[".is-ajax-search-result"],E=jQuery.support.opacity?"mark":"span";for(y in w)if(0!=(m=t(w[y])).length){for(b in x)m.is_highlight(x[b],E,"is-highlight term-"+b),m.find("*").is_highlight(x[b],E,"is-highlight term-"+b);break}}t("#is-ajax-search-result-"+h+" .is-ajax-search-items, #is-ajax-search-details-"+h+" .is-ajax-search-items").css("max-height",u+"px"),t(".is-ajax-search-items").each(function(t,e){new SimpleBar(e)}),t(".is-ajax-search-result .is-ajax-search-post a").on("click",function(e){t("#is-popup-wrapper, .is-ajax-search-result, .is-ajax-search-details").fadeOut("slow")})},error:function(t,e,r){console.log(t.statusText),"abort"!==t.statusText&&console.log("AJAX request aborted")}})}else t("#is-ajax-search-result-"+h).hide(),c.removeClass("processing")}t("body").on("mouseover",".is-ajax-search-tags > div, .is-ajax-search-categories > div, .is-ajax-search-post.is-product",function(e){var r=t(window).outerWidth();if(parseInt(r)>=910){var i=t(this).attr("data-id")||"",n=t(e.target).closest(".is-ajax-search-result").attr("id").split(/[-]+/).pop(),s=t("#is-ajax-search-result-"+n).offset(),a=t(".is-form-id-"+n).attr("data-result-box-max-height")||"400";t("#is-ajax-search-details-"+n).css({top:s.top+"px"}),t("#is-ajax-search-details-"+n+" .is-ajax-search-items").css("height",a+"px"),t("#is-ajax-search-details-"+n+" .is-ajax-search-items > div").css("min-height",a+"px"),t(this).parents("div").hasClass("is-ajax-search-tags")&&t("#is-ajax-search-details-"+n+" .is-ajax-search-tags-details").length&&t("#is-ajax-search-details-"+n+' .is-ajax-search-tags-details > div[data-id="'+i+'"]').length?(t("#is-ajax-search-details-"+n+" .is-ajax-search-tags-details, #is-ajax-search-details-"+n).show(),t("#is-ajax-search-details-"+n+" .is-ajax-search-categories-details, #is-ajax-search-details-"+n+" .is-ajax-search-posts-details").hide(),t("#is-ajax-search-details-"+n+" .is-ajax-search-tags-details").find(" > div ").hide(),t("#is-ajax-search-details-"+n+" .is-ajax-search-tags-details").find(' > div[data-id="'+i+'"] ').show()):t(this).parents("div").hasClass("is-ajax-search-categories")&&t("#is-ajax-search-details-"+n+" .is-ajax-search-categories-details").length&&t("#is-ajax-search-details-"+n+' .is-ajax-search-categories-details > div[data-id="'+i+'"]').length?(t("#is-ajax-search-details-"+n+" .is-ajax-search-categories-details, #is-ajax-search-details-"+n).show(),t("#is-ajax-search-details-"+n+" .is-ajax-search-tags-details, #is-ajax-search-details-"+n+" .is-ajax-search-posts-details").hide(),t("#is-ajax-search-details-"+n+" .is-ajax-search-categories-details").find("> div ").hide(),t("#is-ajax-search-details-"+n+" .is-ajax-search-categories-details").find('> div[data-id="'+i+'"] ').show()):t(this).parents("div").hasClass("is-ajax-search-posts")&&(t("#is-ajax-search-details-"+n+" .is-ajax-search-tags-details, #is-ajax-search-details-"+n+" .is-ajax-search-categories-details").hide(),t("#is-ajax-search-details-"+n+" .is-ajax-search-posts-details").find("> div ").hide(),t("#is-ajax-search-details-"+n+" .is-ajax-search-posts-details, #is-ajax-search-details-"+n).show(),t("#is-ajax-search-details-"+n+" .is-ajax-search-posts-details").find('> div[data-id="'+i+'"] ').show())}}),t(".is-ajax-search .is-search-input").on("focusin, click",function(e){if(s=t(this).closest("form"),""!==t(this).val()&&0===t(e.target).closest("form.processing").length){var r=t(e.target).closest(".is-ajax-search").attr("data-form-id"),i=t(e.target).closest(".is-ajax-search").outerWidth();i=i<500?500:i,t("#is-ajax-search-result-"+r).css({width:i-10+"px"});var n=t(e.target).closest(".is-ajax-search").offset(),a=t(e.target).closest(".is-ajax-search").innerHeight(),o=t("#is-ajax-search-result-"+r).outerWidth(),c=t(window).width(),l=0;if(n.left+o>c&&(l=n.left+o-c),t("#is-ajax-search-result-"+r).css({top:n.top+a+"px",left:n.left-l+"px"}),t(".is-ajax-search-result, .is-ajax-search-details").hide(),t("#is-ajax-search-result-"+r).show(),0!==t("#is-ajax-search-details-"+r).length){var u=t("#is-ajax-search-details-"+r).outerWidth(),h=n.left+o;if(n.left+o+u>c+30){var f=n.left-(l+u);f>-30&&(h=f)}t("#is-ajax-search-details-"+r).css({top:n.top+a+"px",left:h+"px"})}}}),t("body").on("mousedown",function(e){0===e.button&&"s"!==t(e.target).attr("name")&&0===t(e.target).closest(".is-ajax-search-result").length&&0===t(e.target).closest(".is-ajax-search-details").length&&(t(".is-ajax-search-result, .is-ajax-search-details").hide(),s=!1)}),t(".is-disable-submit .is-search-submit").on("click",function(e){return t(this).parent().find(".is-search-input").trigger("keyup"),e.stopPropagation(),e.preventDefault(),!1}),t(document).on("click",".is-show-more-results",function(e){var r=t(e.target).closest(".is-ajax-search-result").attr("id").split(/[-]+/).pop();t(this).hasClass("redirect-tosr")?t(".is-form-id-"+r).submit():(t(this).find(".is-show-more-results-text").hide(),t(this).find(".is-load-more-image").show(),a(t(".is-form-id-"+r+" .is-search-input"),t(this).attr("data-page")||""))}),t(window).on("resize scroll",function(){if(t(s).hasClass("is-ajax-search")&&""!==t(s).find(".is-search-input").val()){var e=t(s).attr("data-form-id");if(0!==t("#is-ajax-search-result-"+e).length){var r=t(s).offset(),i=t(s).innerHeight(),n=t("#is-ajax-search-result-"+e).outerWidth(),a=t(window).width(),o=0;if(r.left+n>a&&(o=r.left+n-a),t("#is-ajax-search-result-"+e).css({top:r.top+i+"px",left:r.left-o+"px"}),t("#is-ajax-search-result-"+e).show(),0!==t("#is-ajax-search-details-"+e).length){var c=t("#is-ajax-search-details-"+e).outerWidth(),l=r.left+n;if(r.left+n+c>a+30){var u=r.left-(o+c);u>-30&&(l=u)}t("#is-ajax-search-details-"+e).css({top:r.top+i+"px",left:l+"px"})}}}}),t(".is-ajax-search .is-search-input").on("paste",function(){t(this).trigger("keyup")}),t(".is-ajax-search").each(function(e,i){t(i).find(".is-search-input").on("keyup",function(e){if(s=t(this).closest("form"),32!==e.which){var i=this;window.clearTimeout(r),r=window.setTimeout(function(){r=null,a(i)},500)}if(13===e.which)return e.stopPropagation(),e.preventDefault(),!1})}),t("form.is-ajax-search.is-disable-submit").on("submit",function(e){if(!t(".is-show-more-results.redirect-tosr").length)return e.stopPropagation(),e.preventDefault(),!1})})}(jQuery),function(t,e){"object"==typeof exports&&"undefined"!=typeof module?module.exports=e():"function"==typeof define&&define.amd?define(e):(t=t||self).SimpleBar=e()}(this,function(){"use strict";var t="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};function e(t,e){return t(e={exports:{}},e.exports),e.exports}var r,i,n,s="object",a=function(t){return t&&t.Math==Math&&t},o=a(typeof globalThis==s&&globalThis)||a(typeof window==s&&window)||a(typeof self==s&&self)||a(typeof t==s&&t)||Function("return this")(),c=function(t){try{return!!t()}catch(t){return!0}},l=!c(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a}),u={}.propertyIsEnumerable,h=Object.getOwnPropertyDescriptor,f={f:h&&!u.call({1:2},1)?function(t){var e=h(this,t);return!!e&&e.enumerable}:u},d=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}},p={}.toString,v=function(t){return p.call(t).slice(8,-1)},g="".split,x=c(function(){return!Object("z").propertyIsEnumerable(0)})?function(t){return"String"==v(t)?g.call(t,""):Object(t)}:Object,m=function(t){if(null==t)throw TypeError("Can't call method on "+t);return t},b=function(t){return x(m(t))},y=function(t){return"object"==typeof t?null!==t:"function"==typeof t},w=function(t,e){if(!y(t))return t;var r,i;if(e&&"function"==typeof(r=t.toString)&&!y(i=r.call(t)))return i;if("function"==typeof(r=t.valueOf)&&!y(i=r.call(t)))return i;if(!e&&"function"==typeof(r=t.toString)&&!y(i=r.call(t)))return i;throw TypeError("Can't convert object to primitive value")},E={}.hasOwnProperty,j=function(t,e){return E.call(t,e)},S=o.document,O=y(S)&&y(S.createElement),k=function(t){return O?S.createElement(t):{}},A=!l&&!c(function(){return 7!=Object.defineProperty(k("div"),"a",{get:function(){return 7}}).a}),T=Object.getOwnPropertyDescriptor,L={f:l?T:function(t,e){if(t=b(t),e=w(e,!0),A)try{return T(t,e)}catch(t){}if(j(t,e))return d(!f.f.call(t,e),t[e])}},z=function(t){if(!y(t))throw TypeError(String(t)+" is not an object");return t},_=Object.defineProperty,R={f:l?_:function(t,e,r){if(z(t),e=w(e,!0),z(r),A)try{return _(t,e,r)}catch(t){}if("get"in r||"set"in r)throw TypeError("Accessors not supported");return"value"in r&&(t[e]=r.value),t}},M=l?function(t,e,r){return R.f(t,e,d(1,r))}:function(t,e,r){return t[e]=r,t},C=function(t,e){try{M(o,t,e)}catch(r){o[t]=e}return e},W=e(function(t){var e=o["__core-js_shared__"]||C("__core-js_shared__",{});(t.exports=function(t,r){return e[t]||(e[t]=void 0!==r?r:{})})("versions",[]).push({version:"3.2.1",mode:"global",copyright:"© 2019 Denis Pushkarev (zloirock.ru)"})}),N=W("native-function-to-string",Function.toString),I=o.WeakMap,D="function"==typeof I&&/native code/.test(N.call(I)),B=0,P=Math.random(),V=function(t){return"Symbol("+String(void 0===t?"":t)+")_"+(++B+P).toString(36)},F=W("keys"),H=function(t){return F[t]||(F[t]=V(t))},X={},q=o.WeakMap;if(D){var $=new q,Y=$.get,G=$.has,U=$.set;r=function(t,e){return U.call($,t,e),e},i=function(t){return Y.call($,t)||{}},n=function(t){return G.call($,t)}}else{var Q=H("state");X[Q]=!0,r=function(t,e){return M(t,Q,e),e},i=function(t){return j(t,Q)?t[Q]:{}},n=function(t){return j(t,Q)}}var J={set:r,get:i,has:n,enforce:function(t){return n(t)?i(t):r(t,{})},getterFor:function(t){return function(e){var r;if(!y(e)||(r=i(e)).type!==t)throw TypeError("Incompatible receiver, "+t+" required");return r}}},K=e(function(t){var e=J.get,r=J.enforce,i=String(N).split("toString");W("inspectSource",function(t){return N.call(t)}),(t.exports=function(t,e,n,s){var a=!!s&&!!s.unsafe,c=!!s&&!!s.enumerable,l=!!s&&!!s.noTargetGet;"function"==typeof n&&("string"!=typeof e||j(n,"name")||M(n,"name",e),r(n).source=i.join("string"==typeof e?e:"")),t!==o?(a?!l&&t[e]&&(c=!0):delete t[e],c?t[e]=n:M(t,e,n)):c?t[e]=n:C(e,n)})(Function.prototype,"toString",function(){return"function"==typeof this&&e(this).source||N.call(this)})}),Z=o,tt=function(t){return"function"==typeof t?t:void 0},et=function(t,e){return arguments.length<2?tt(Z[t])||tt(o[t]):Z[t]&&Z[t][e]||o[t]&&o[t][e]},rt=Math.ceil,it=Math.floor,nt=function(t){return isNaN(t=+t)?0:(t>0?it:rt)(t)},st=Math.min,at=function(t){return t>0?st(nt(t),9007199254740991):0},ot=Math.max,ct=Math.min,lt=function(t){return function(e,r,i){var n,s=b(e),a=at(s.length),o=function(t,e){var r=nt(i);return r<0?ot(r+e,0):ct(r,e)}(0,a);if(t&&r!=r){for(;a>o;)if((n=s[o++])!=n)return!0}else for(;a>o;o++)if((t||o in s)&&s[o]===r)return t||o||0;return!t&&-1}},ut=(lt(!0),lt(!1)),ht=function(t,e){var r,i=b(t),n=0,s=[];for(r in i)!j(X,r)&&j(i,r)&&s.push(r);for(;e.length>n;)j(i,r=e[n++])&&(~ut(s,r)||s.push(r));return s},ft=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],dt=ft.concat("length","prototype"),pt={f:Object.getOwnPropertyNames||function(t){return ht(t,dt)}},vt={f:Object.getOwnPropertySymbols},gt=et("Reflect","ownKeys")||function(t){var e=pt.f(z(t)),r=vt.f;return r?e.concat(r(t)):e},xt=function(t,e){for(var r=gt(e),i=R.f,n=L.f,s=0;s<r.length;s++){var a=r[s];j(t,a)||i(t,a,n(e,a))}},mt=/#|\.prototype\./,bt=function(t,e){var r=wt[yt(t)];return r==jt||r!=Et&&("function"==typeof e?c(e):!!e)},yt=bt.normalize=function(t){return String(t).replace(mt,".").toLowerCase()},wt=bt.data={},Et=bt.NATIVE="N",jt=bt.POLYFILL="P",St=bt,Ot=L.f,kt=function(t,e){var r,i,n,s,a,c=t.target,l=t.global,u=t.stat;if(r=l?o:u?o[c]||C(c,{}):(o[c]||{}).prototype)for(i in e){if(s=e[i],n=t.noTargetGet?(a=Ot(r,i))&&a.value:r[i],!St(l?i:c+(u?".":"#")+i,t.forced)&&void 0!==n){if(typeof s==typeof n)continue;xt(s,n)}(t.sham||n&&n.sham)&&M(s,"sham",!0),K(r,i,s,t)}},At=function(t){if("function"!=typeof t)throw TypeError(String(t)+" is not a function");return t},Tt=function(t,e,r){if(At(t),void 0===e)return t;switch(r){case 0:return function(){return t.call(e)};case 1:return function(r){return t.call(e,r)};case 2:return function(r,i){return t.call(e,r,i)};case 3:return function(r,i,n){return t.call(e,r,i,n)}}return function(){return t.apply(e,arguments)}},Lt=function(t){return Object(m(t))},zt=Array.isArray||function(t){return"Array"==v(t)},_t=!!Object.getOwnPropertySymbols&&!c(function(){return!String(Symbol())}),Rt=o.Symbol,Mt=W("wks"),Ct=function(t){return Mt[t]||(Mt[t]=_t&&Rt[t]||(_t?Rt:V)("Symbol."+t))},Wt=Ct("species"),Nt=function(t,e){var r;return zt(t)&&("function"!=typeof(r=t.constructor)||r!==Array&&!zt(r.prototype)?y(r)&&null===(r=r[Wt])&&(r=void 0):r=void 0),new(void 0===r?Array:r)(0===e?0:e)},It=[].push,Dt=function(t){var e=1==t,r=2==t,i=3==t,n=4==t,s=6==t,a=5==t||s;return function(o,c,l,u){for(var h,f,d=Lt(o),p=x(d),v=Tt(c,l,3),g=at(p.length),m=0,b=u||Nt,y=e?b(o,g):r?b(o,0):void 0;g>m;m++)if((a||m in p)&&(f=v(h=p[m],m,d),t))if(e)y[m]=f;else if(f)switch(t){case 3:return!0;case 5:return h;case 6:return m;case 2:It.call(y,h)}else if(n)return!1;return s?-1:i||n?n:y}},Bt={forEach:Dt(0),map:Dt(1),filter:Dt(2),some:Dt(3),every:Dt(4),find:Dt(5),findIndex:Dt(6)},Pt=function(t,e){var r=[][t];return!r||!c(function(){r.call(null,e||function(){throw 1},1)})},Vt=Bt.forEach,Ft=Pt("forEach")?function(t){return Vt(this,t,arguments.length>1?arguments[1]:void 0)}:[].forEach;kt({target:"Array",proto:!0,forced:[].forEach!=Ft},{forEach:Ft});var Ht={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0};for(var Xt in Ht){var qt=o[Xt],$t=qt&&qt.prototype;if($t&&$t.forEach!==Ft)try{M($t,"forEach",Ft)}catch(t){$t.forEach=Ft}}var Yt=!("undefined"==typeof window||!window.document||!window.document.createElement),Gt=Ct("species"),Ut=Bt.filter;kt({target:"Array",proto:!0,forced:!!c(function(){var t=[];return(t.constructor={})[Gt]=function(){return{foo:1}},1!==t.filter(Boolean).foo})},{filter:function(t){return Ut(this,t,arguments.length>1?arguments[1]:void 0)}});var Qt=Object.keys||function(t){return ht(t,ft)},Jt=l?Object.defineProperties:function(t,e){z(t);for(var r,i=Qt(e),n=i.length,s=0;n>s;)R.f(t,r=i[s++],e[r]);return t},Kt=et("document","documentElement"),Zt=H("IE_PROTO"),te=function(){},ee=function(){var t,e=k("iframe"),r=ft.length;for(e.style.display="none",Kt.appendChild(e),e.src=String("javascript:"),(t=e.contentWindow.document).open(),t.write("<script>document.F=Object<\/script>"),t.close(),ee=t.F;r--;)delete ee.prototype[ft[r]];return ee()},re=Object.create||function(t,e){var r;return null!==t?(te.prototype=z(t),r=new te,te.prototype=null,r[Zt]=t):r=ee(),void 0===e?r:Jt(r,e)};X[Zt]=!0;var ie=Ct("unscopables"),ne=Array.prototype;null==ne[ie]&&M(ne,ie,re(null));var se,ae,oe,ce=function(t){ne[ie][t]=!0},le={},ue=!c(function(){function t(){}return t.prototype.constructor=null,Object.getPrototypeOf(new t)!==t.prototype}),he=H("IE_PROTO"),fe=Object.prototype,de=ue?Object.getPrototypeOf:function(t){return t=Lt(t),j(t,he)?t[he]:"function"==typeof t.constructor&&t instanceof t.constructor?t.constructor.prototype:t instanceof Object?fe:null},pe=Ct("iterator"),ve=!1;[].keys&&("next"in(oe=[].keys())?(ae=de(de(oe)))!==Object.prototype&&(se=ae):ve=!0),null==se&&(se={}),j(se,pe)||M(se,pe,function(){return this});var ge={IteratorPrototype:se,BUGGY_SAFARI_ITERATORS:ve},xe=R.f,me=Ct("toStringTag"),be=function(t,e,r){t&&!j(t=r?t:t.prototype,me)&&xe(t,me,{configurable:!0,value:e})},ye=ge.IteratorPrototype,we=function(){return this},Ee=Object.setPrototypeOf||("__proto__"in{}?function(){var t,e=!1,r={};try{(t=Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set).call(r,[]),e=r instanceof Array}catch(t){}return function(r,i){return z(r),function(t){if(!y(t)&&null!==t)throw TypeError("Can't set "+String(t)+" as a prototype")}(i),e?t.call(r,i):r.__proto__=i,r}}():void 0),je=ge.IteratorPrototype,Se=ge.BUGGY_SAFARI_ITERATORS,Oe=Ct("iterator"),ke=function(){return this},Ae=function(t,e,r,i,n,s,a){!function(t,e,r){var i=e+" Iterator";t.prototype=re(ye,{next:d(1,r)}),be(t,i,!1),le[i]=we}(r,e,i);var o,c,l,u=function(t){if(t===n&&g)return g;if(!Se&&t in p)return p[t];switch(t){case"keys":case"values":case"entries":return function(){return new r(this,t)}}return function(){return new r(this)}},h=e+" Iterator",f=!1,p=t.prototype,v=p[Oe]||p["@@iterator"]||n&&p[n],g=!Se&&v||u(n),x="Array"==e&&p.entries||v;if(x&&(o=de(x.call(new t)),je!==Object.prototype&&o.next&&(de(o)!==je&&(Ee?Ee(o,je):"function"!=typeof o[Oe]&&M(o,Oe,ke)),be(o,h,!0))),"values"==n&&v&&"values"!==v.name&&(f=!0,g=function(){return v.call(this)}),p[Oe]!==g&&M(p,Oe,g),le[e]=g,n)if(c={values:u("values"),keys:s?g:u("keys"),entries:u("entries")},a)for(l in c)!Se&&!f&&l in p||K(p,l,c[l]);else kt({target:e,proto:!0,forced:Se||f},c);return c},Te=J.set,Le=J.getterFor("Array Iterator"),ze=Ae(Array,"Array",function(t,e){Te(this,{type:"Array Iterator",target:b(t),index:0,kind:e})},function(){var t=Le(this),e=t.target,r=t.kind,i=t.index++;return!e||i>=e.length?(t.target=void 0,{value:void 0,done:!0}):"keys"==r?{value:i,done:!1}:"values"==r?{value:e[i],done:!1}:{value:[i,e[i]],done:!1}},"values");le.Arguments=le.Array,ce("keys"),ce("values"),ce("entries");var _e=Object.assign,Re=!_e||c(function(){var t={},e={},r=Symbol();return t[r]=7,"abcdefghijklmnopqrst".split("").forEach(function(t){e[t]=t}),7!=_e({},t)[r]||"abcdefghijklmnopqrst"!=Qt(_e({},e)).join("")})?function(t,e){for(var r=Lt(t),i=arguments.length,n=1,s=vt.f,a=f.f;i>n;)for(var o,c=x(arguments[n++]),u=s?Qt(c).concat(s(c)):Qt(c),h=u.length,d=0;h>d;)o=u[d++],l&&!a.call(c,o)||(r[o]=c[o]);return r}:_e;kt({target:"Object",stat:!0,forced:Object.assign!==Re},{assign:Re});var Me=Ct("toStringTag"),Ce="Arguments"==v(function(){return arguments}()),We=function(t){var e,r,i;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(r=function(t,e){try{return t[e]}catch(t){}}(e=Object(t),Me))?r:Ce?v(e):"Object"==(i=v(e))&&"function"==typeof e.callee?"Arguments":i},Ne={};Ne[Ct("toStringTag")]="z";var Ie="[object z]"!==String(Ne)?function(){return"[object "+We(this)+"]"}:Ne.toString,De=Object.prototype;Ie!==De.toString&&K(De,"toString",Ie,{unsafe:!0});var Be="\t\n\v\f\r                \u2028\u2029\ufeff",Pe="["+Be+"]",Ve=RegExp("^"+Pe+Pe+"*"),Fe=RegExp(Pe+Pe+"*$"),He=function(t){return function(e){var r=String(m(e));return 1&t&&(r=r.replace(Ve,"")),2&t&&(r=r.replace(Fe,"")),r}},Xe=(He(1),He(2),He(3)),qe=o.parseInt,$e=/^[+-]?0[Xx]/,Ye=8!==qe(Be+"08")||22!==qe(Be+"0x16")?function(t,e){var r=Xe(String(t));return qe(r,e>>>0||($e.test(r)?16:10))}:qe;kt({global:!0,forced:parseInt!=Ye},{parseInt:Ye});var Ge=function(t){return function(e,r){var i,n,s=String(m(e)),a=nt(r),o=s.length;return a<0||a>=o?t?"":void 0:(i=s.charCodeAt(a))<55296||i>56319||a+1===o||(n=s.charCodeAt(a+1))<56320||n>57343?t?s.charAt(a):i:t?s.slice(a,a+2):n-56320+(i-55296<<10)+65536}},Ue={codeAt:Ge(!1),charAt:Ge(!0)},Qe=Ue.charAt,Je=J.set,Ke=J.getterFor("String Iterator");Ae(String,"String",function(t){Je(this,{type:"String Iterator",string:String(t),index:0})},function(){var t,e=Ke(this),r=e.string,i=e.index;return i>=r.length?{value:void 0,done:!0}:(t=Qe(r,i),e.index+=t.length,{value:t,done:!1})});var Ze=function(t,e,r){for(var i in e)K(t,i,e[i],r);return t},tr=!c(function(){return Object.isExtensible(Object.preventExtensions({}))}),er=e(function(t){var e=R.f,r=V("meta"),i=0,n=Object.isExtensible||function(){return!0},s=function(t){e(t,r,{value:{objectID:"O"+ ++i,weakData:{}}})},a=t.exports={REQUIRED:!1,fastKey:function(t,e){if(!y(t))return"symbol"==typeof t?t:("string"==typeof t?"S":"P")+t;if(!j(t,r)){if(!n(t))return"F";if(!e)return"E";s(t)}return t[r].objectID},getWeakData:function(t,e){if(!j(t,r)){if(!n(t))return!0;if(!e)return!1;s(t)}return t[r].weakData},onFreeze:function(t){return tr&&a.REQUIRED&&n(t)&&!j(t,r)&&s(t),t}};X[r]=!0}),rr=(er.REQUIRED,er.fastKey,er.getWeakData,er.onFreeze,Ct("iterator")),ir=Array.prototype,nr=Ct("iterator"),sr=function(t,e,r,i){try{return i?e(z(r)[0],r[1]):e(r)}catch(e){var n=t.return;throw void 0!==n&&z(n.call(t)),e}},ar=e(function(t){var e=function(t,e){this.stopped=t,this.result=e};(t.exports=function(t,r,i,n,s){var a,o,c,l,u,h,f,d=Tt(r,i,n?2:1);if(s)a=t;else{if("function"!=typeof(o=function(t){if(null!=t)return t[nr]||t["@@iterator"]||le[We(t)]}(t)))throw TypeError("Target is not iterable");if(void 0!==(f=o)&&(le.Array===f||ir[rr]===f)){for(c=0,l=at(t.length);l>c;c++)if((u=n?d(z(h=t[c])[0],h[1]):d(t[c]))&&u instanceof e)return u;return new e(!1)}a=o.call(t)}for(;!(h=a.next()).done;)if((u=sr(a,d,h.value,n))&&u instanceof e)return u;return new e(!1)}).stop=function(t){return new e(!0,t)}}),or=function(t,e,r){if(!(t instanceof e))throw TypeError("Incorrect "+(r?r+" ":"")+"invocation");return t},cr=Ct("iterator"),lr=!1;try{var ur=0,hr={next:function(){return{done:!!ur++}},return:function(){lr=!0}};hr[cr]=function(){return this},Array.from(hr,function(){throw 2})}catch(t){}var fr=function(t,e,r,i,n){var s=o[t],a=s&&s.prototype,l=s,u=i?"set":"add",h={},f=function(t){var e=a[t];K(a,t,"add"==t?function(t){return e.call(this,0===t?0:t),this}:"delete"==t?function(t){return!(n&&!y(t))&&e.call(this,0===t?0:t)}:"get"==t?function(t){return n&&!y(t)?void 0:e.call(this,0===t?0:t)}:"has"==t?function(t){return!(n&&!y(t))&&e.call(this,0===t?0:t)}:function(t,r){return e.call(this,0===t?0:t,r),this})};if(St(t,"function"!=typeof s||!(n||a.forEach&&!c(function(){(new s).entries().next()}))))l=r.getConstructor(e,t,i,u),er.REQUIRED=!0;else if(St(t,!0)){var d=new l,p=d[u](n?{}:-0,1)!=d,v=c(function(){d.has(1)}),g=function(t,e){if(!lr)return!1;var r=!1;try{var i={};i[cr]=function(){return{next:function(){return{done:r=!0}}}},function(t){new s(t)}(i)}catch(t){}return r}(),x=!n&&c(function(){for(var t=new s,e=5;e--;)t[u](e,e);return!t.has(-0)});g||((l=e(function(e,r){or(e,l,t);var n=function(t,e,r){var i,n;return Ee&&"function"==typeof(i=e.constructor)&&i!==r&&y(n=i.prototype)&&n!==r.prototype&&Ee(t,n),t}(new s,e,l);return null!=r&&ar(r,n[u],n,i),n})).prototype=a,a.constructor=l),(v||x)&&(f("delete"),f("has"),i&&f("get")),(x||p)&&f(u),n&&a.clear&&delete a.clear}return h[t]=l,kt({global:!0,forced:l!=s},h),be(l,t),n||r.setStrong(l,t,i),l},dr=er.getWeakData,pr=J.set,vr=J.getterFor,gr=Bt.find,xr=Bt.findIndex,mr=0,br=function(t){return t.frozen||(t.frozen=new yr)},yr=function(){this.entries=[]},wr=function(t,e){return gr(t.entries,function(t){return t[0]===e})};yr.prototype={get:function(t){var e=wr(this,t);if(e)return e[1]},has:function(t){return!!wr(this,t)},set:function(t,e){var r=wr(this,t);r?r[1]=e:this.entries.push([t,e])},delete:function(t){var e=xr(this.entries,function(e){return e[0]===t});return~e&&this.entries.splice(e,1),!!~e}};var Er={getConstructor:function(t,e,r,i){var n=t(function(t,s){or(t,n,e),pr(t,{type:e,id:mr++,frozen:void 0}),null!=s&&ar(s,t[i],t,r)}),s=vr(e),a=function(t,e,r){var i=s(t),n=dr(z(e),!0);return!0===n?br(i).set(e,r):n[i.id]=r,t};return Ze(n.prototype,{delete:function(t){var e=s(this);if(!y(t))return!1;var r=dr(t);return!0===r?br(e).delete(t):r&&j(r,e.id)&&delete r[e.id]},has:function(t){var e=s(this);if(!y(t))return!1;var r=dr(t);return!0===r?br(e).has(t):r&&j(r,e.id)}}),Ze(n.prototype,r?{get:function(t){var e=s(this);if(y(t)){var r=dr(t);return!0===r?br(e).get(t):r?r[e.id]:void 0}},set:function(t,e){return a(this,t,e)}}:{add:function(t){return a(this,t,!0)}}),n}},jr=(e(function(t){var e,r=J.enforce,i=!o.ActiveXObject&&"ActiveXObject"in o,n=Object.isExtensible,s=function(t){return function(){return t(this,arguments.length?arguments[0]:void 0)}},a=t.exports=fr("WeakMap",s,Er,!0,!0);if(D&&i){e=Er.getConstructor(s,"WeakMap",!0),er.REQUIRED=!0;var c=a.prototype,l=c.delete,u=c.has,h=c.get,f=c.set;Ze(c,{delete:function(t){if(y(t)&&!n(t)){var i=r(this);return i.frozen||(i.frozen=new e),l.call(this,t)||i.frozen.delete(t)}return l.call(this,t)},has:function(t){if(y(t)&&!n(t)){var i=r(this);return i.frozen||(i.frozen=new e),u.call(this,t)||i.frozen.has(t)}return u.call(this,t)},get:function(t){if(y(t)&&!n(t)){var i=r(this);return i.frozen||(i.frozen=new e),u.call(this,t)?h.call(this,t):i.frozen.get(t)}return h.call(this,t)},set:function(t,i){if(y(t)&&!n(t)){var s=r(this);s.frozen||(s.frozen=new e),u.call(this,t)?f.call(this,t,i):s.frozen.set(t,i)}else f.call(this,t,i);return this}})}}),Ct("iterator")),Sr=Ct("toStringTag"),Or=ze.values;for(var kr in Ht){var Ar=o[kr],Tr=Ar&&Ar.prototype;if(Tr){if(Tr[jr]!==Or)try{M(Tr,jr,Or)}catch(t){Tr[jr]=Or}if(Tr[Sr]||M(Tr,Sr,kr),Ht[kr])for(var Lr in ze)if(Tr[Lr]!==ze[Lr])try{M(Tr,Lr,ze[Lr])}catch(t){Tr[Lr]=ze[Lr]}}}var zr="Expected a function",_r=NaN,Rr="[object Symbol]",Mr=/^\s+|\s+$/g,Cr=/^[-+]0x[0-9a-f]+$/i,Wr=/^0b[01]+$/i,Nr=/^0o[0-7]+$/i,Ir=parseInt,Dr="object"==typeof t&&t&&t.Object===Object&&t,Br="object"==typeof self&&self&&self.Object===Object&&self,Pr=Dr||Br||Function("return this")(),Vr=Object.prototype.toString,Fr=Math.max,Hr=Math.min,Xr=function(){return Pr.Date.now()};function qr(t){var e=typeof t;return!!t&&("object"==e||"function"==e)}function $r(t){if("number"==typeof t)return t;if(function(t){return"symbol"==typeof t||function(t){return!!t&&"object"==typeof t}(t)&&Vr.call(t)==Rr}(t))return _r;if(qr(t)){var e="function"==typeof t.valueOf?t.valueOf():t;t=qr(e)?e+"":e}if("string"!=typeof t)return 0===t?t:+t;t=t.replace(Mr,"");var r=Wr.test(t);return r||Nr.test(t)?Ir(t.slice(2),r?2:8):Cr.test(t)?_r:+t}var Yr=function(t,e,r){var i=!0,n=!0;if("function"!=typeof t)throw new TypeError(zr);return qr(r)&&(i="leading"in r?!!r.leading:i,n="trailing"in r?!!r.trailing:n),function(t,e,r){var i,n,s,a,o,c,l=0,u=!1,h=!1,f=!0;if("function"!=typeof t)throw new TypeError(zr);function d(e){var r=i,s=n;return i=n=void 0,l=e,a=t.apply(s,r)}function p(t){var r=t-c;return void 0===c||r>=e||r<0||h&&t-l>=s}function v(){var t=Xr();if(p(t))return g(t);o=setTimeout(v,function(t){var r=e-(t-c);return h?Hr(r,s-(t-l)):r}(t))}function g(t){return o=void 0,f&&i?d(t):(i=n=void 0,a)}function x(){var t=Xr(),r=p(t);if(i=arguments,n=this,c=t,r){if(void 0===o)return function(t){return l=t,o=setTimeout(v,e),u?d(t):a}(c);if(h)return o=setTimeout(v,e),d(c)}return void 0===o&&(o=setTimeout(v,e)),a}return e=$r(e)||0,qr(r)&&(u=!!r.leading,s=(h="maxWait"in r)?Fr($r(r.maxWait)||0,e):s,f="trailing"in r?!!r.trailing:f),x.cancel=function(){void 0!==o&&clearTimeout(o),l=0,i=c=n=o=void 0},x.flush=function(){return void 0===o?a:g(Xr())},x}(t,e,{leading:i,maxWait:e,trailing:n})},Gr=NaN,Ur="[object Symbol]",Qr=/^\s+|\s+$/g,Jr=/^[-+]0x[0-9a-f]+$/i,Kr=/^0b[01]+$/i,Zr=/^0o[0-7]+$/i,ti=parseInt,ei="object"==typeof t&&t&&t.Object===Object&&t,ri="object"==typeof self&&self&&self.Object===Object&&self,ii=ei||ri||Function("return this")(),ni=Object.prototype.toString,si=Math.max,ai=Math.min,oi=function(){return ii.Date.now()};function ci(t){var e=typeof t;return!!t&&("object"==e||"function"==e)}function li(t){if("number"==typeof t)return t;if(function(t){return"symbol"==typeof t||function(t){return!!t&&"object"==typeof t}(t)&&ni.call(t)==Ur}(t))return Gr;if(ci(t)){var e="function"==typeof t.valueOf?t.valueOf():t;t=ci(e)?e+"":e}if("string"!=typeof t)return 0===t?t:+t;t=t.replace(Qr,"");var r=Kr.test(t);return r||Zr.test(t)?ti(t.slice(2),r?2:8):Jr.test(t)?Gr:+t}var ui=function(t,e,r){var i,n,s,a,o,c,l=0,u=!1,h=!1,f=!0;if("function"!=typeof t)throw new TypeError("Expected a function");function d(e){var r=i,s=n;return i=n=void 0,l=e,a=t.apply(s,r)}function p(t){var r=t-c;return void 0===c||r>=e||r<0||h&&t-l>=s}function v(){var t=oi();if(p(t))return g(t);o=setTimeout(v,function(t){var r=e-(t-c);return h?ai(r,s-(t-l)):r}(t))}function g(t){return o=void 0,f&&i?d(t):(i=n=void 0,a)}function x(){var t=oi(),r=p(t);if(i=arguments,n=this,c=t,r){if(void 0===o)return function(t){return l=t,o=setTimeout(v,e),u?d(t):a}(c);if(h)return o=setTimeout(v,e),d(c)}return void 0===o&&(o=setTimeout(v,e)),a}return e=li(e)||0,ci(r)&&(u=!!r.leading,s=(h="maxWait"in r)?si(li(r.maxWait)||0,e):s,f="trailing"in r?!!r.trailing:f),x.cancel=function(){void 0!==o&&clearTimeout(o),l=0,i=c=n=o=void 0},x.flush=function(){return void 0===o?a:g(oi())},x},hi="Expected a function",fi="__lodash_hash_undefined__",di="[object Function]",pi="[object GeneratorFunction]",vi=/^\[object .+?Constructor\]$/,gi="object"==typeof t&&t&&t.Object===Object&&t,xi="object"==typeof self&&self&&self.Object===Object&&self,mi=gi||xi||Function("return this")(),bi=Array.prototype,yi=Function.prototype,wi=Object.prototype,Ei=mi["__core-js_shared__"],ji=function(){var t=/[^.]+$/.exec(Ei&&Ei.keys&&Ei.keys.IE_PROTO||"");return t?"Symbol(src)_1."+t:""}(),Si=yi.toString,Oi=wi.hasOwnProperty,ki=wi.toString,Ai=RegExp("^"+Si.call(Oi).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),Ti=bi.splice,Li=Ni(mi,"Map"),zi=Ni(Object,"create");function _i(t){var e=-1,r=t?t.length:0;for(this.clear();++e<r;){var i=t[e];this.set(i[0],i[1])}}function Ri(t){var e=-1,r=t?t.length:0;for(this.clear();++e<r;){var i=t[e];this.set(i[0],i[1])}}function Mi(t){var e=-1,r=t?t.length:0;for(this.clear();++e<r;){var i=t[e];this.set(i[0],i[1])}}function Ci(t,e){for(var r,i,n=t.length;n--;)if((r=t[n][0])===(i=e)||r!=r&&i!=i)return n;return-1}function Wi(t,e){var r,i,n=t.__data__;return("string"==(i=typeof(r=e))||"number"==i||"symbol"==i||"boolean"==i?"__proto__"!==r:null===r)?n["string"==typeof e?"string":"hash"]:n.map}function Ni(t,e){var r=function(t,e){return null==t?void 0:t[e]}(t,e);return function(t){return!(!Di(t)||(e=t,ji&&ji in e))&&(function(t){var e=Di(t)?ki.call(t):"";return e==di||e==pi}(t)||function(t){var e=!1;if(null!=t&&"function"!=typeof t.toString)try{e=!!(t+"")}catch(t){}return e}(t)?Ai:vi).test(function(t){if(null!=t){try{return Si.call(t)}catch(t){}try{return t+""}catch(t){}}return""}(t));var e}(r)?r:void 0}function Ii(t,e){if("function"!=typeof t||e&&"function"!=typeof e)throw new TypeError(hi);var r=function(){var i=arguments,n=e?e.apply(this,i):i[0],s=r.cache;if(s.has(n))return s.get(n);var a=t.apply(this,i);return r.cache=s.set(n,a),a};return r.cache=new(Ii.Cache||Mi),r}function Di(t){var e=typeof t;return!!t&&("object"==e||"function"==e)}_i.prototype.clear=function(){this.__data__=zi?zi(null):{}},_i.prototype.delete=function(t){return this.has(t)&&delete this.__data__[t]},_i.prototype.get=function(t){var e=this.__data__;if(zi){var r=e[t];return r===fi?void 0:r}return Oi.call(e,t)?e[t]:void 0},_i.prototype.has=function(t){var e=this.__data__;return zi?void 0!==e[t]:Oi.call(e,t)},_i.prototype.set=function(t,e){return this.__data__[t]=zi&&void 0===e?fi:e,this},Ri.prototype.clear=function(){this.__data__=[]},Ri.prototype.delete=function(t){var e=this.__data__,r=Ci(e,t);return!(r<0||(r==e.length-1?e.pop():Ti.call(e,r,1),0))},Ri.prototype.get=function(t){var e=this.__data__,r=Ci(e,t);return r<0?void 0:e[r][1]},Ri.prototype.has=function(t){return Ci(this.__data__,t)>-1},Ri.prototype.set=function(t,e){var r=this.__data__,i=Ci(r,t);return i<0?r.push([t,e]):r[i][1]=e,this},Mi.prototype.clear=function(){this.__data__={hash:new _i,map:new(Li||Ri),string:new _i}},Mi.prototype.delete=function(t){return Wi(this,t).delete(t)},Mi.prototype.get=function(t){return Wi(this,t).get(t)},Mi.prototype.has=function(t){return Wi(this,t).has(t)},Mi.prototype.set=function(t,e){return Wi(this,t).set(t,e),this},Ii.Cache=Mi;var Bi,Pi=Ii,Vi=[],Fi="ResizeObserver loop completed with undelivered notifications.";!function(t){t.BORDER_BOX="border-box",t.CONTENT_BOX="content-box",t.DEVICE_PIXEL_CONTENT_BOX="device-pixel-content-box"}(Bi||(Bi={}));var Hi,Xi=function(t){return Object.freeze(t)},qi=function(t,e){this.inlineSize=t,this.blockSize=e,Xi(this)},$i=function(){function t(t,e,r,i){return this.x=t,this.y=e,this.width=r,this.height=i,this.top=this.y,this.left=this.x,this.bottom=this.top+this.height,this.right=this.left+this.width,Xi(this)}return t.prototype.toJSON=function(){var t=this;return{x:t.x,y:t.y,top:t.top,right:t.right,bottom:t.bottom,left:t.left,width:t.width,height:t.height}},t.fromRect=function(e){return new t(e.x,e.y,e.width,e.height)},t}(),Yi=function(t){return t instanceof SVGElement&&"getBBox"in t},Gi=function(t){if(Yi(t)){var e=t.getBBox(),r=e.width,i=e.height;return!r&&!i}var n=t,s=n.offsetWidth,a=n.offsetHeight;return!(s||a||t.getClientRects().length)},Ui=function(t){var e,r;if(t instanceof Element)return!0;var i=null===(r=null===(e=t)||void 0===e?void 0:e.ownerDocument)||void 0===r?void 0:r.defaultView;return!!(i&&t instanceof i.Element)},Qi="undefined"!=typeof window?window:{},Ji=new WeakMap,Ki=/auto|scroll/,Zi=/^tb|vertical/,tn=/msie|trident/i.test(Qi.navigator&&Qi.navigator.userAgent),en=function(t){return parseFloat(t||"0")},rn=function(t,e,r){return void 0===t&&(t=0),void 0===e&&(e=0),void 0===r&&(r=!1),new qi((r?e:t)||0,(r?t:e)||0)},nn=Xi({devicePixelContentBoxSize:rn(),borderBoxSize:rn(),contentBoxSize:rn(),contentRect:new $i(0,0,0,0)}),sn=function(t,e){if(void 0===e&&(e=!1),Ji.has(t)&&!e)return Ji.get(t);if(Gi(t))return Ji.set(t,nn),nn;var r=getComputedStyle(t),i=Yi(t)&&t.ownerSVGElement&&t.getBBox(),n=!tn&&"border-box"===r.boxSizing,s=Zi.test(r.writingMode||""),a=!i&&Ki.test(r.overflowY||""),o=!i&&Ki.test(r.overflowX||""),c=i?0:en(r.paddingTop),l=i?0:en(r.paddingRight),u=i?0:en(r.paddingBottom),h=i?0:en(r.paddingLeft),f=i?0:en(r.borderTopWidth),d=i?0:en(r.borderRightWidth),p=i?0:en(r.borderBottomWidth),v=h+l,g=c+u,x=(i?0:en(r.borderLeftWidth))+d,m=f+p,b=o?t.offsetHeight-m-t.clientHeight:0,y=a?t.offsetWidth-x-t.clientWidth:0,w=n?v+x:0,E=n?g+m:0,j=i?i.width:en(r.width)-w-y,S=i?i.height:en(r.height)-E-b,O=j+v+y+x,k=S+g+b+m,A=Xi({devicePixelContentBoxSize:rn(Math.round(j*devicePixelRatio),Math.round(S*devicePixelRatio),s),borderBoxSize:rn(O,k,s),contentBoxSize:rn(j,S,s),contentRect:new $i(h,c,j,S)});return Ji.set(t,A),A},an=function(t,e,r){var i=sn(t,r),n=i.borderBoxSize,s=i.contentBoxSize,a=i.devicePixelContentBoxSize;switch(e){case Bi.DEVICE_PIXEL_CONTENT_BOX:return a;case Bi.BORDER_BOX:return n;default:return s}},on=function(t){var e=sn(t);this.target=t,this.contentRect=e.contentRect,this.borderBoxSize=Xi([e.borderBoxSize]),this.contentBoxSize=Xi([e.contentBoxSize]),this.devicePixelContentBoxSize=Xi([e.devicePixelContentBoxSize])},cn=function(t){if(Gi(t))return 1/0;for(var e=0,r=t.parentNode;r;)e+=1,r=r.parentNode;return e},ln=function(){var t=1/0,e=[];Vi.forEach(function(r){if(0!==r.activeTargets.length){var i=[];r.activeTargets.forEach(function(e){var r=new on(e.target),n=cn(e.target);i.push(r),e.lastReportedSize=an(e.target,e.observedBox),n<t&&(t=n)}),e.push(function(){r.callback.call(r.observer,i,r.observer)}),r.activeTargets.splice(0,r.activeTargets.length)}});for(var r=0,i=e;r<i.length;r++)(0,i[r])();return t},un=function(t){Vi.forEach(function(e){e.activeTargets.splice(0,e.activeTargets.length),e.skippedTargets.splice(0,e.skippedTargets.length),e.observationTargets.forEach(function(r){r.isActive()&&(cn(r.target)>t?e.activeTargets.push(r):e.skippedTargets.push(r))})})},hn=[],fn=0,dn={attributes:!0,characterData:!0,childList:!0,subtree:!0},pn=["resize","load","transitionend","animationend","animationstart","animationiteration","keyup","keydown","mouseup","mousedown","mouseover","mouseout","blur","focus"],vn=function(t){return void 0===t&&(t=0),Date.now()+t},gn=!1,xn=new(function(){function t(){var t=this;this.stopped=!0,this.listener=function(){return t.schedule()}}return t.prototype.run=function(t){var e=this;if(void 0===t&&(t=250),!gn){gn=!0;var r,i=vn(t);r=function(){var r=!1;try{r=function(){var t,e=0;for(un(e);Vi.some(function(t){return t.activeTargets.length>0});)e=ln(),un(e);return Vi.some(function(t){return t.skippedTargets.length>0})&&("function"==typeof ErrorEvent?t=new ErrorEvent("error",{message:Fi}):((t=document.createEvent("Event")).initEvent("error",!1,!1),t.message=Fi),window.dispatchEvent(t)),e>0}()}finally{if(gn=!1,t=i-vn(),!fn)return;r?e.run(1e3):t>0?e.run(t):e.start()}},function(t){if(!Hi){var e=0,r=document.createTextNode("");new MutationObserver(function(){return hn.splice(0).forEach(function(t){return t()})}).observe(r,{characterData:!0}),Hi=function(){r.textContent=""+(e?e--:e++)}}hn.push(t),Hi()}(function(){requestAnimationFrame(r)})}},t.prototype.schedule=function(){this.stop(),this.run()},t.prototype.observe=function(){var t=this,e=function(){return t.observer&&t.observer.observe(document.body,dn)};document.body?e():Qi.addEventListener("DOMContentLoaded",e)},t.prototype.start=function(){var t=this;this.stopped&&(this.stopped=!1,this.observer=new MutationObserver(this.listener),this.observe(),pn.forEach(function(e){return Qi.addEventListener(e,t.listener,!0)}))},t.prototype.stop=function(){var t=this;this.stopped||(this.observer&&this.observer.disconnect(),pn.forEach(function(e){return Qi.removeEventListener(e,t.listener,!0)}),this.stopped=!0)},t}()),mn=function(t){!fn&&t>0&&xn.start(),!(fn+=t)&&xn.stop()},bn=function(){function t(t,e){this.target=t,this.observedBox=e||Bi.CONTENT_BOX,this.lastReportedSize={inlineSize:0,blockSize:0}}return t.prototype.isActive=function(){var t,e=an(this.target,this.observedBox,!0);return t=this.target,Yi(t)||function(t){switch(t.tagName){case"INPUT":if("image"!==t.type)break;case"VIDEO":case"AUDIO":case"EMBED":case"OBJECT":case"CANVAS":case"IFRAME":case"IMG":return!0}return!1}(t)||"inline"!==getComputedStyle(t).display||(this.lastReportedSize=e),this.lastReportedSize.inlineSize!==e.inlineSize||this.lastReportedSize.blockSize!==e.blockSize},t}(),yn=function(t,e){this.activeTargets=[],this.skippedTargets=[],this.observationTargets=[],this.observer=t,this.callback=e},wn=new WeakMap,En=function(t,e){for(var r=0;r<t.length;r+=1)if(t[r].target===e)return r;return-1},jn=function(){function t(){}return t.connect=function(t,e){var r=new yn(t,e);wn.set(t,r)},t.observe=function(t,e,r){var i=wn.get(t),n=0===i.observationTargets.length;En(i.observationTargets,e)<0&&(n&&Vi.push(i),i.observationTargets.push(new bn(e,r&&r.box)),mn(1),xn.schedule())},t.unobserve=function(t,e){var r=wn.get(t),i=En(r.observationTargets,e),n=1===r.observationTargets.length;i>=0&&(n&&Vi.splice(Vi.indexOf(r),1),r.observationTargets.splice(i,1),mn(-1))},t.disconnect=function(t){var e=this,r=wn.get(t);r.observationTargets.slice().forEach(function(r){return e.unobserve(t,r.target)}),r.activeTargets.splice(0,r.activeTargets.length)},t}(),Sn=function(){function t(t){if(0===arguments.length)throw new TypeError("Failed to construct 'ResizeObserver': 1 argument required, but only 0 present.");if("function"!=typeof t)throw new TypeError("Failed to construct 'ResizeObserver': The callback provided as parameter 1 is not a function.");jn.connect(this,t)}return t.prototype.observe=function(t,e){if(0===arguments.length)throw new TypeError("Failed to execute 'observe' on 'ResizeObserver': 1 argument required, but only 0 present.");if(!Ui(t))throw new TypeError("Failed to execute 'observe' on 'ResizeObserver': parameter 1 is not of type 'Element");jn.observe(this,t,e)},t.prototype.unobserve=function(t){if(0===arguments.length)throw new TypeError("Failed to execute 'unobserve' on 'ResizeObserver': 1 argument required, but only 0 present.");if(!Ui(t))throw new TypeError("Failed to execute 'unobserve' on 'ResizeObserver': parameter 1 is not of type 'Element");jn.unobserve(this,t)},t.prototype.disconnect=function(){jn.disconnect(this)},t.toString=function(){return"function ResizeObserver () { [polyfill code] }"},t}(),On=function(t){return function(e,r,i,n){At(r);var s=Lt(e),a=x(s),o=at(s.length),c=t?o-1:0,l=t?-1:1;if(i<2)for(;;){if(c in a){n=a[c],c+=l;break}if(c+=l,t?c<0:o<=c)throw TypeError("Reduce of empty array with no initial value")}for(;t?c>=0:o>c;c+=l)c in a&&(n=r(n,a[c],c,s));return n}},kn=[On(!1),On(!0)][0];kt({target:"Array",proto:!0,forced:Pt("reduce")},{reduce:function(t){return kn(this,t,arguments.length,arguments.length>1?arguments[1]:void 0)}});var An=R.f,Tn=Function.prototype,Ln=Tn.toString,zn=/^\s*function ([^ (]*)/;!l||"name"in Tn||An(Tn,"name",{configurable:!0,get:function(){try{return Ln.call(this).match(zn)[1]}catch(t){return""}}});var _n,Rn,Mn=RegExp.prototype.exec,Cn=String.prototype.replace,Wn=Mn,Nn=(_n=/a/,Rn=/b*/g,Mn.call(_n,"a"),Mn.call(Rn,"a"),0!==_n.lastIndex||0!==Rn.lastIndex),In=void 0!==/()??/.exec("")[1];(Nn||In)&&(Wn=function(t){var e,r,i,n,s=this;return In&&(r=new RegExp("^"+s.source+"$(?!\\s)",function(){var t=z(this),e="";return t.global&&(e+="g"),t.ignoreCase&&(e+="i"),t.multiline&&(e+="m"),t.dotAll&&(e+="s"),t.unicode&&(e+="u"),t.sticky&&(e+="y"),e}.call(s))),Nn&&(e=s.lastIndex),i=Mn.call(s,t),Nn&&i&&(s.lastIndex=s.global?i.index+i[0].length:e),In&&i&&i.length>1&&Cn.call(i[0],r,function(){for(n=1;n<arguments.length-2;n++)void 0===arguments[n]&&(i[n]=void 0)}),i});var Dn=Wn;kt({target:"RegExp",proto:!0,forced:/./.exec!==Dn},{exec:Dn});var Bn=Ct("species"),Pn=!c(function(){var t=/./;return t.exec=function(){var t=[];return t.groups={a:"7"},t},"7"!=="".replace(t,"$<a>")}),Vn=!c(function(){var t=/(?:)/,e=t.exec;t.exec=function(){return e.apply(this,arguments)};var r="ab".split(t);return 2!==r.length||"a"!==r[0]||"b"!==r[1]}),Fn=function(t,e,r,i){var n=Ct(t),s=!c(function(){var e={};return e[n]=function(){return 7},7!=""[t](e)}),a=s&&!c(function(){var e=!1,r=/a/;return r.exec=function(){return e=!0,null},"split"===t&&(r.constructor={},r.constructor[Bn]=function(){return r}),r[n](""),!e});if(!s||!a||"replace"===t&&!Pn||"split"===t&&!Vn){var o=/./[n],l=r(n,""[t],function(t,e,r,i,n){return e.exec===Dn?s&&!n?{done:!0,value:o.call(e,r,i)}:{done:!0,value:t.call(r,e,i)}:{done:!1}}),u=l[0],h=l[1];K(String.prototype,t,u),K(RegExp.prototype,n,2==e?function(t,e){return h.call(t,this,e)}:function(t){return h.call(t,this)}),i&&M(RegExp.prototype[n],"sham",!0)}},Hn=Ue.charAt,Xn=function(t,e,r){return e+(r?Hn(t,e).length:1)},qn=function(t,e){var r=t.exec;if("function"==typeof r){var i=r.call(t,e);if("object"!=typeof i)throw TypeError("RegExp exec method returned something other than an Object or null");return i}if("RegExp"!==v(t))throw TypeError("RegExp#exec called on incompatible receiver");return Dn.call(t,e)};Fn("match",1,function(t,e,r){return[function(e){var r=m(this),i=null==e?void 0:e[t];return void 0!==i?i.call(e,r):new RegExp(e)[t](String(r))},function(t){var i=r(e,t,this);if(i.done)return i.value;var n=z(t),s=String(this);if(!n.global)return qn(n,s);var a=n.unicode;n.lastIndex=0;for(var o,c=[],l=0;null!==(o=qn(n,s));){var u=String(o[0]);c[l]=u,""===u&&(n.lastIndex=Xn(s,at(n.lastIndex),a)),l++}return 0===l?null:c}]});var $n=Math.max,Yn=Math.min,Gn=Math.floor,Un=/\$([$&'`]|\d\d?|<[^>]*>)/g,Qn=/\$([$&'`]|\d\d?)/g;Fn("replace",2,function(t,e,r){return[function(r,i){var n=m(this),s=null==r?void 0:r[t];return void 0!==s?s.call(r,n,i):e.call(String(n),r,i)},function(t,n){var s=r(e,t,this,n);if(s.done)return s.value;var a=z(t),o=String(this),c="function"==typeof n;c||(n=String(n));var l=a.global;if(l){var u=a.unicode;a.lastIndex=0}for(var h=[];;){var f=qn(a,o);if(null===f)break;if(h.push(f),!l)break;""===String(f[0])&&(a.lastIndex=Xn(o,at(a.lastIndex),u))}for(var d,p="",v=0,g=0;g<h.length;g++){f=h[g];for(var x=String(f[0]),m=$n(Yn(nt(f.index),o.length),0),b=[],y=1;y<f.length;y++)b.push(void 0===(d=f[y])?d:String(d));var w=f.groups;if(c){var E=[x].concat(b,m,o);void 0!==w&&E.push(w);var j=String(n.apply(void 0,E))}else j=i(x,o,m,b,w,n);m>=v&&(p+=o.slice(v,m)+j,v=m+x.length)}return p+o.slice(v)}];function i(t,r,i,n,s,a){var o=i+t.length,c=n.length,l=Qn;return void 0!==s&&(s=Lt(s),l=Un),e.call(a,l,function(e,a){var l;switch(a.charAt(0)){case"$":return"$";case"&":return t;case"`":return r.slice(0,i);case"'":return r.slice(o);case"<":l=s[a.slice(1,-1)];break;default:var u=+a;if(0===u)return e;if(u>c){var h=Gn(u/10);return 0===h?e:h<=c?void 0===n[h-1]?a.charAt(1):n[h-1]+a.charAt(1):e}l=n[u-1]}return void 0===l?"":l})}});var Jn=function(t){return Array.prototype.reduce.call(t,function(t,e){var r=e.name.match(/data-simplebar-(.+)/);if(r){var i=r[1].replace(/\W+(.)/g,function(t,e){return e.toUpperCase()});switch(e.value){case"true":t[i]=!0;break;case"false":t[i]=!1;break;case void 0:t[i]=!0;break;default:t[i]=e.value}}return t},{})};function Kn(t){return t&&t.ownerDocument&&t.ownerDocument.defaultView?t.ownerDocument.defaultView:window}function Zn(t){return t&&t.ownerDocument?t.ownerDocument:document}var ts=null,es=null;function rs(t){if(null===ts){var e=Zn(t);if(void 0===e)return ts=0;var r=e.body,i=e.createElement("div");i.classList.add("simplebar-hide-scrollbar"),r.appendChild(i);var n=i.getBoundingClientRect().right;r.removeChild(i),ts=n}return ts}Yt&&window.addEventListener("resize",function(){es!==window.devicePixelRatio&&(es=window.devicePixelRatio,ts=null)});var is=function(){function t(e,r){var i=this;this.onScroll=function(){var t=Kn(i.el);i.scrollXTicking||(t.requestAnimationFrame(i.scrollX),i.scrollXTicking=!0),i.scrollYTicking||(t.requestAnimationFrame(i.scrollY),i.scrollYTicking=!0)},this.scrollX=function(){i.axis.x.isOverflowing&&(i.showScrollbar("x"),i.positionScrollbar("x")),i.scrollXTicking=!1},this.scrollY=function(){i.axis.y.isOverflowing&&(i.showScrollbar("y"),i.positionScrollbar("y")),i.scrollYTicking=!1},this.onMouseEnter=function(){i.showScrollbar("x"),i.showScrollbar("y")},this.onMouseMove=function(t){i.mouseX=t.clientX,i.mouseY=t.clientY,(i.axis.x.isOverflowing||i.axis.x.forceVisible)&&i.onMouseMoveForAxis("x"),(i.axis.y.isOverflowing||i.axis.y.forceVisible)&&i.onMouseMoveForAxis("y")},this.onMouseLeave=function(){i.onMouseMove.cancel(),(i.axis.x.isOverflowing||i.axis.x.forceVisible)&&i.onMouseLeaveForAxis("x"),(i.axis.y.isOverflowing||i.axis.y.forceVisible)&&i.onMouseLeaveForAxis("y"),i.mouseX=-1,i.mouseY=-1},this.onWindowResize=function(){i.scrollbarWidth=i.getScrollbarWidth(),i.hideNativeScrollbar()},this.hideScrollbars=function(){i.axis.x.track.rect=i.axis.x.track.el.getBoundingClientRect(),i.axis.y.track.rect=i.axis.y.track.el.getBoundingClientRect(),i.isWithinBounds(i.axis.y.track.rect)||(i.axis.y.scrollbar.el.classList.remove(i.classNames.visible),i.axis.y.isVisible=!1),i.isWithinBounds(i.axis.x.track.rect)||(i.axis.x.scrollbar.el.classList.remove(i.classNames.visible),i.axis.x.isVisible=!1)},this.onPointerEvent=function(t){var e,r;i.axis.x.track.rect=i.axis.x.track.el.getBoundingClientRect(),i.axis.y.track.rect=i.axis.y.track.el.getBoundingClientRect(),(i.axis.x.isOverflowing||i.axis.x.forceVisible)&&(e=i.isWithinBounds(i.axis.x.track.rect)),(i.axis.y.isOverflowing||i.axis.y.forceVisible)&&(r=i.isWithinBounds(i.axis.y.track.rect)),(e||r)&&(t.preventDefault(),t.stopPropagation(),"mousedown"===t.type&&(e&&(i.axis.x.scrollbar.rect=i.axis.x.scrollbar.el.getBoundingClientRect(),i.isWithinBounds(i.axis.x.scrollbar.rect)?i.onDragStart(t,"x"):i.onTrackClick(t,"x")),r&&(i.axis.y.scrollbar.rect=i.axis.y.scrollbar.el.getBoundingClientRect(),i.isWithinBounds(i.axis.y.scrollbar.rect)?i.onDragStart(t,"y"):i.onTrackClick(t,"y"))))},this.drag=function(e){var r=i.axis[i.draggedAxis].track,n=r.rect[i.axis[i.draggedAxis].sizeAttr],s=i.axis[i.draggedAxis].scrollbar,a=i.contentWrapperEl[i.axis[i.draggedAxis].scrollSizeAttr],o=parseInt(i.elStyles[i.axis[i.draggedAxis].sizeAttr],10);e.preventDefault(),e.stopPropagation();var c=(("y"===i.draggedAxis?e.pageY:e.pageX)-r.rect[i.axis[i.draggedAxis].offsetAttr]-i.axis[i.draggedAxis].dragOffset)/(n-s.size)*(a-o);"x"===i.draggedAxis&&(c=i.isRtl&&t.getRtlHelpers().isRtlScrollbarInverted?c-(n+s.size):c,c=i.isRtl&&t.getRtlHelpers().isRtlScrollingInverted?-c:c),i.contentWrapperEl[i.axis[i.draggedAxis].scrollOffsetAttr]=c},this.onEndDrag=function(t){var e=Zn(i.el),r=Kn(i.el);t.preventDefault(),t.stopPropagation(),i.el.classList.remove(i.classNames.dragging),e.removeEventListener("mousemove",i.drag,!0),e.removeEventListener("mouseup",i.onEndDrag,!0),i.removePreventClickId=r.setTimeout(function(){e.removeEventListener("click",i.preventClick,!0),e.removeEventListener("dblclick",i.preventClick,!0),i.removePreventClickId=null})},this.preventClick=function(t){t.preventDefault(),t.stopPropagation()},this.el=e,this.minScrollbarWidth=20,this.options=Object.assign({},t.defaultOptions,{},r),this.classNames=Object.assign({},t.defaultOptions.classNames,{},this.options.classNames),this.axis={x:{scrollOffsetAttr:"scrollLeft",sizeAttr:"width",scrollSizeAttr:"scrollWidth",offsetSizeAttr:"offsetWidth",offsetAttr:"left",overflowAttr:"overflowX",dragOffset:0,isOverflowing:!0,isVisible:!1,forceVisible:!1,track:{},scrollbar:{}},y:{scrollOffsetAttr:"scrollTop",sizeAttr:"height",scrollSizeAttr:"scrollHeight",offsetSizeAttr:"offsetHeight",offsetAttr:"top",overflowAttr:"overflowY",dragOffset:0,isOverflowing:!0,isVisible:!1,forceVisible:!1,track:{},scrollbar:{}}},this.removePreventClickId=null,t.instances.has(this.el)||(this.recalculate=Yr(this.recalculate.bind(this),64),this.onMouseMove=Yr(this.onMouseMove.bind(this),64),this.hideScrollbars=ui(this.hideScrollbars.bind(this),this.options.timeout),this.onWindowResize=ui(this.onWindowResize.bind(this),64,{leading:!0}),t.getRtlHelpers=Pi(t.getRtlHelpers),this.init())}t.getRtlHelpers=function(){var e=document.createElement("div");e.innerHTML='<div class="hs-dummy-scrollbar-size"><div style="height: 200%; width: 200%; margin: 10px 0;"></div></div>';var r=e.firstElementChild;document.body.appendChild(r);var i=r.firstElementChild;r.scrollLeft=0;var n=t.getOffset(r),s=t.getOffset(i);r.scrollLeft=999;var a=t.getOffset(i);return{isRtlScrollingInverted:n.left!==s.left&&s.left-a.left!=0,isRtlScrollbarInverted:n.left!==s.left}},t.getOffset=function(t){var e=t.getBoundingClientRect(),r=Zn(t),i=Kn(t);return{top:e.top+(i.pageYOffset||r.documentElement.scrollTop),left:e.left+(i.pageXOffset||r.documentElement.scrollLeft)}};var e=t.prototype;return e.init=function(){t.instances.set(this.el,this),Yt&&(this.initDOM(),this.scrollbarWidth=this.getScrollbarWidth(),this.recalculate(),this.initListeners())},e.initDOM=function(){var t=this;if(Array.prototype.filter.call(this.el.children,function(e){return e.classList.contains(t.classNames.wrapper)}).length)this.wrapperEl=this.el.querySelector("."+this.classNames.wrapper),this.contentWrapperEl=this.options.scrollableNode||this.el.querySelector("."+this.classNames.contentWrapper),this.contentEl=this.options.contentNode||this.el.querySelector("."+this.classNames.contentEl),this.offsetEl=this.el.querySelector("."+this.classNames.offset),this.maskEl=this.el.querySelector("."+this.classNames.mask),this.placeholderEl=this.findChild(this.wrapperEl,"."+this.classNames.placeholder),this.heightAutoObserverWrapperEl=this.el.querySelector("."+this.classNames.heightAutoObserverWrapperEl),this.heightAutoObserverEl=this.el.querySelector("."+this.classNames.heightAutoObserverEl),this.axis.x.track.el=this.findChild(this.el,"."+this.classNames.track+"."+this.classNames.horizontal),this.axis.y.track.el=this.findChild(this.el,"."+this.classNames.track+"."+this.classNames.vertical);else{for(this.wrapperEl=document.createElement("div"),this.contentWrapperEl=document.createElement("div"),this.offsetEl=document.createElement("div"),this.maskEl=document.createElement("div"),this.contentEl=document.createElement("div"),this.placeholderEl=document.createElement("div"),this.heightAutoObserverWrapperEl=document.createElement("div"),this.heightAutoObserverEl=document.createElement("div"),this.wrapperEl.classList.add(this.classNames.wrapper),this.contentWrapperEl.classList.add(this.classNames.contentWrapper),this.offsetEl.classList.add(this.classNames.offset),this.maskEl.classList.add(this.classNames.mask),this.contentEl.classList.add(this.classNames.contentEl),this.placeholderEl.classList.add(this.classNames.placeholder),this.heightAutoObserverWrapperEl.classList.add(this.classNames.heightAutoObserverWrapperEl),this.heightAutoObserverEl.classList.add(this.classNames.heightAutoObserverEl);this.el.firstChild;)this.contentEl.appendChild(this.el.firstChild);this.contentWrapperEl.appendChild(this.contentEl),this.offsetEl.appendChild(this.contentWrapperEl),this.maskEl.appendChild(this.offsetEl),this.heightAutoObserverWrapperEl.appendChild(this.heightAutoObserverEl),this.wrapperEl.appendChild(this.heightAutoObserverWrapperEl),this.wrapperEl.appendChild(this.maskEl),this.wrapperEl.appendChild(this.placeholderEl),this.el.appendChild(this.wrapperEl)}if(!this.axis.x.track.el||!this.axis.y.track.el){var e=document.createElement("div"),r=document.createElement("div");e.classList.add(this.classNames.track),r.classList.add(this.classNames.scrollbar),e.appendChild(r),this.axis.x.track.el=e.cloneNode(!0),this.axis.x.track.el.classList.add(this.classNames.horizontal),this.axis.y.track.el=e.cloneNode(!0),this.axis.y.track.el.classList.add(this.classNames.vertical),this.el.appendChild(this.axis.x.track.el),this.el.appendChild(this.axis.y.track.el)}this.axis.x.scrollbar.el=this.axis.x.track.el.querySelector("."+this.classNames.scrollbar),this.axis.y.scrollbar.el=this.axis.y.track.el.querySelector("."+this.classNames.scrollbar),this.options.autoHide||(this.axis.x.scrollbar.el.classList.add(this.classNames.visible),this.axis.y.scrollbar.el.classList.add(this.classNames.visible)),this.el.setAttribute("data-simplebar","init")},e.initListeners=function(){var t=this,e=Kn(this.el);this.options.autoHide&&this.el.addEventListener("mouseenter",this.onMouseEnter),["mousedown","click","dblclick"].forEach(function(e){t.el.addEventListener(e,t.onPointerEvent,!0)}),["touchstart","touchend","touchmove"].forEach(function(e){t.el.addEventListener(e,t.onPointerEvent,{capture:!0,passive:!0})}),this.el.addEventListener("mousemove",this.onMouseMove),this.el.addEventListener("mouseleave",this.onMouseLeave),this.contentWrapperEl.addEventListener("scroll",this.onScroll),e.addEventListener("resize",this.onWindowResize);var r=!1,i=e.ResizeObserver||Sn;this.resizeObserver=new i(function(){r&&t.recalculate()}),this.resizeObserver.observe(this.el),this.resizeObserver.observe(this.contentEl),e.requestAnimationFrame(function(){r=!0}),this.mutationObserver=new e.MutationObserver(this.recalculate),this.mutationObserver.observe(this.contentEl,{childList:!0,subtree:!0,characterData:!0})},e.recalculate=function(){var t=Kn(this.el);this.elStyles=t.getComputedStyle(this.el),this.isRtl="rtl"===this.elStyles.direction;var e=this.heightAutoObserverEl.offsetHeight<=1,r=this.heightAutoObserverEl.offsetWidth<=1,i=this.contentEl.offsetWidth,n=this.contentWrapperEl.offsetWidth,s=this.elStyles.overflowX,a=this.elStyles.overflowY;this.contentEl.style.padding=this.elStyles.paddingTop+" "+this.elStyles.paddingRight+" "+this.elStyles.paddingBottom+" "+this.elStyles.paddingLeft,this.wrapperEl.style.margin="-"+this.elStyles.paddingTop+" -"+this.elStyles.paddingRight+" -"+this.elStyles.paddingBottom+" -"+this.elStyles.paddingLeft;var o=this.contentEl.scrollHeight,c=this.contentEl.scrollWidth;this.contentWrapperEl.style.height=e?"auto":"100%",this.placeholderEl.style.width=r?i+"px":"auto",this.placeholderEl.style.height=o+"px";var l=this.contentWrapperEl.offsetHeight;this.axis.x.isOverflowing=c>i,this.axis.y.isOverflowing=o>l,this.axis.x.isOverflowing="hidden"!==s&&this.axis.x.isOverflowing,this.axis.y.isOverflowing="hidden"!==a&&this.axis.y.isOverflowing,this.axis.x.forceVisible="x"===this.options.forceVisible||!0===this.options.forceVisible,this.axis.y.forceVisible="y"===this.options.forceVisible||!0===this.options.forceVisible,this.hideNativeScrollbar();var u=this.axis.x.isOverflowing?this.scrollbarWidth:0,h=this.axis.y.isOverflowing?this.scrollbarWidth:0;this.axis.x.isOverflowing=this.axis.x.isOverflowing&&c>n-h,this.axis.y.isOverflowing=this.axis.y.isOverflowing&&o>l-u,this.axis.x.scrollbar.size=this.getScrollbarSize("x"),this.axis.y.scrollbar.size=this.getScrollbarSize("y"),this.axis.x.scrollbar.el.style.width=this.axis.x.scrollbar.size+"px",this.axis.y.scrollbar.el.style.height=this.axis.y.scrollbar.size+"px",this.positionScrollbar("x"),this.positionScrollbar("y"),this.toggleTrackVisibility("x"),this.toggleTrackVisibility("y")},e.getScrollbarSize=function(t){if(void 0===t&&(t="y"),!this.axis[t].isOverflowing)return 0;var e,r=this.contentEl[this.axis[t].scrollSizeAttr],i=this.axis[t].track.el[this.axis[t].offsetSizeAttr],n=i/r;return e=Math.max(~~(n*i),this.options.scrollbarMinSize),this.options.scrollbarMaxSize&&(e=Math.min(e,this.options.scrollbarMaxSize)),e},e.positionScrollbar=function(e){if(void 0===e&&(e="y"),this.axis[e].isOverflowing){var r=this.contentWrapperEl[this.axis[e].scrollSizeAttr],i=this.axis[e].track.el[this.axis[e].offsetSizeAttr],n=parseInt(this.elStyles[this.axis[e].sizeAttr],10),s=this.axis[e].scrollbar,a=this.contentWrapperEl[this.axis[e].scrollOffsetAttr],o=(a="x"===e&&this.isRtl&&t.getRtlHelpers().isRtlScrollingInverted?-a:a)/(r-n),c=~~((i-s.size)*o);c="x"===e&&this.isRtl&&t.getRtlHelpers().isRtlScrollbarInverted?c+(i-s.size):c,s.el.style.transform="x"===e?"translate3d("+c+"px, 0, 0)":"translate3d(0, "+c+"px, 0)"}},e.toggleTrackVisibility=function(t){void 0===t&&(t="y");var e=this.axis[t].track.el,r=this.axis[t].scrollbar.el;this.axis[t].isOverflowing||this.axis[t].forceVisible?(e.style.visibility="visible",this.contentWrapperEl.style[this.axis[t].overflowAttr]="scroll"):(e.style.visibility="hidden",this.contentWrapperEl.style[this.axis[t].overflowAttr]="hidden"),this.axis[t].isOverflowing?r.style.display="block":r.style.display="none"},e.hideNativeScrollbar=function(){this.offsetEl.style[this.isRtl?"left":"right"]=this.axis.y.isOverflowing||this.axis.y.forceVisible?"-"+this.scrollbarWidth+"px":0,this.offsetEl.style.bottom=this.axis.x.isOverflowing||this.axis.x.forceVisible?"-"+this.scrollbarWidth+"px":0},e.onMouseMoveForAxis=function(t){void 0===t&&(t="y"),this.axis[t].track.rect=this.axis[t].track.el.getBoundingClientRect(),this.axis[t].scrollbar.rect=this.axis[t].scrollbar.el.getBoundingClientRect(),this.isWithinBounds(this.axis[t].scrollbar.rect)?this.axis[t].scrollbar.el.classList.add(this.classNames.hover):this.axis[t].scrollbar.el.classList.remove(this.classNames.hover),this.isWithinBounds(this.axis[t].track.rect)?(this.showScrollbar(t),this.axis[t].track.el.classList.add(this.classNames.hover)):this.axis[t].track.el.classList.remove(this.classNames.hover)},e.onMouseLeaveForAxis=function(t){void 0===t&&(t="y"),this.axis[t].track.el.classList.remove(this.classNames.hover),this.axis[t].scrollbar.el.classList.remove(this.classNames.hover)},e.showScrollbar=function(t){void 0===t&&(t="y");var e=this.axis[t].scrollbar.el;this.axis[t].isVisible||(e.classList.add(this.classNames.visible),this.axis[t].isVisible=!0),this.options.autoHide&&this.hideScrollbars()},e.onDragStart=function(t,e){void 0===e&&(e="y");var r=Zn(this.el),i=Kn(this.el),n=this.axis[e].scrollbar,s="y"===e?t.pageY:t.pageX;this.axis[e].dragOffset=s-n.rect[this.axis[e].offsetAttr],this.draggedAxis=e,this.el.classList.add(this.classNames.dragging),r.addEventListener("mousemove",this.drag,!0),r.addEventListener("mouseup",this.onEndDrag,!0),null===this.removePreventClickId?(r.addEventListener("click",this.preventClick,!0),r.addEventListener("dblclick",this.preventClick,!0)):(i.clearTimeout(this.removePreventClickId),this.removePreventClickId=null)},e.onTrackClick=function(t,e){var r=this;if(void 0===e&&(e="y"),this.options.clickOnTrack){var i=Kn(this.el);this.axis[e].scrollbar.rect=this.axis[e].scrollbar.el.getBoundingClientRect();var n=this.axis[e].scrollbar.rect[this.axis[e].offsetAttr],s=parseInt(this.elStyles[this.axis[e].sizeAttr],10),a=this.contentWrapperEl[this.axis[e].scrollOffsetAttr],o=("y"===e?this.mouseY-n:this.mouseX-n)<0?-1:1,c=-1===o?a-s:a+s;!function t(){var n,s;-1===o?a>c&&(a-=r.options.clickOnTrackSpeed,r.contentWrapperEl.scrollTo(((n={})[r.axis[e].offsetAttr]=a,n)),i.requestAnimationFrame(t)):a<c&&(a+=r.options.clickOnTrackSpeed,r.contentWrapperEl.scrollTo(((s={})[r.axis[e].offsetAttr]=a,s)),i.requestAnimationFrame(t))}()}},e.getContentElement=function(){return this.contentEl},e.getScrollElement=function(){return this.contentWrapperEl},e.getScrollbarWidth=function(){try{return"none"===getComputedStyle(this.contentWrapperEl,"::-webkit-scrollbar").display||"scrollbarWidth"in document.documentElement.style||"-ms-overflow-style"in document.documentElement.style?0:rs(this.el)}catch(t){return rs(this.el)}},e.removeListeners=function(){var t=this,e=Kn(this.el);this.options.autoHide&&this.el.removeEventListener("mouseenter",this.onMouseEnter),["mousedown","click","dblclick"].forEach(function(e){t.el.removeEventListener(e,t.onPointerEvent,!0)}),["touchstart","touchend","touchmove"].forEach(function(e){t.el.removeEventListener(e,t.onPointerEvent,{capture:!0,passive:!0})}),this.el.removeEventListener("mousemove",this.onMouseMove),this.el.removeEventListener("mouseleave",this.onMouseLeave),this.contentWrapperEl&&this.contentWrapperEl.removeEventListener("scroll",this.onScroll),e.removeEventListener("resize",this.onWindowResize),this.mutationObserver&&this.mutationObserver.disconnect(),this.resizeObserver&&this.resizeObserver.disconnect(),this.recalculate.cancel(),this.onMouseMove.cancel(),this.hideScrollbars.cancel(),this.onWindowResize.cancel()},e.unMount=function(){this.removeListeners(),t.instances.delete(this.el)},e.isWithinBounds=function(t){return this.mouseX>=t.left&&this.mouseX<=t.left+t.width&&this.mouseY>=t.top&&this.mouseY<=t.top+t.height},e.findChild=function(t,e){var r=t.matches||t.webkitMatchesSelector||t.mozMatchesSelector||t.msMatchesSelector;return Array.prototype.filter.call(t.children,function(t){return r.call(t,e)})[0]},t}();return is.defaultOptions={autoHide:!0,forceVisible:!1,clickOnTrack:!0,clickOnTrackSpeed:40,classNames:{contentEl:"simplebar-content",contentWrapper:"simplebar-content-wrapper",offset:"simplebar-offset",mask:"simplebar-mask",wrapper:"simplebar-wrapper",placeholder:"simplebar-placeholder",scrollbar:"simplebar-scrollbar",track:"simplebar-track",heightAutoObserverWrapperEl:"simplebar-height-auto-observer-wrapper",heightAutoObserverEl:"simplebar-height-auto-observer",visible:"simplebar-visible",horizontal:"simplebar-horizontal",vertical:"simplebar-vertical",hover:"simplebar-hover",dragging:"simplebar-dragging"},scrollbarMinSize:25,scrollbarMaxSize:0,timeout:1e3},is.instances=new WeakMap,is.initDOMLoadedElements=function(){document.removeEventListener("DOMContentLoaded",this.initDOMLoadedElements),window.removeEventListener("load",this.initDOMLoadedElements),Array.prototype.forEach.call(document.querySelectorAll("[data-simplebar]"),function(t){"init"===t.getAttribute("data-simplebar")||is.instances.has(t)||new is(t,Jn(t.attributes))})},is.removeObserver=function(){this.globalObserver.disconnect()},is.initHtmlApi=function(){this.initDOMLoadedElements=this.initDOMLoadedElements.bind(this),"undefined"!=typeof MutationObserver&&(this.globalObserver=new MutationObserver(is.handleMutations),this.globalObserver.observe(document,{childList:!0,subtree:!0})),"complete"===document.readyState||"loading"!==document.readyState&&!document.documentElement.doScroll?window.setTimeout(this.initDOMLoadedElements):(document.addEventListener("DOMContentLoaded",this.initDOMLoadedElements),window.addEventListener("load",this.initDOMLoadedElements))},is.handleMutations=function(t){t.forEach(function(t){Array.prototype.forEach.call(t.addedNodes,function(t){1===t.nodeType&&(t.hasAttribute("data-simplebar")?!is.instances.has(t)&&document.documentElement.contains(t)&&new is(t,Jn(t.attributes)):Array.prototype.forEach.call(t.querySelectorAll("[data-simplebar]"),function(t){"init"!==t.getAttribute("data-simplebar")&&!is.instances.has(t)&&document.documentElement.contains(t)&&new is(t,Jn(t.attributes))}))}),Array.prototype.forEach.call(t.removedNodes,function(t){1===t.nodeType&&("init"===t.getAttribute("data-simplebar")?is.instances.has(t)&&!document.documentElement.contains(t)&&is.instances.get(t).unMount():Array.prototype.forEach.call(t.querySelectorAll('[data-simplebar="init"]'),function(t){is.instances.has(t)&&!document.documentElement.contains(t)&&is.instances.get(t).unMount()}))})})},is.getOptions=Jn,Yt&&is.initHtmlApi(),is});
public/js/ivory-search.js CHANGED
@@ -78,10 +78,12 @@
78
  }
79
  } );
80
  if ( typeof IvorySearchVars !== "undefined" && typeof IvorySearchVars.is_analytics_enabled !== "undefined" ) {
81
- var id = ( typeof IvorySearchVars.is_id !== "undefined" ) ? IvorySearchVars.is_id : 'Default';
82
- var label = ( typeof IvorySearchVars.is_label !== "undefined" ) ? IvorySearchVars.is_label : '';
83
- var category = ( typeof IvorySearchVars.is_cat !== "undefined" ) ? IvorySearchVars.is_cat : '';
84
- ivory_search_analytics( id, label, category );
 
 
85
  }
86
 
87
  if ( window.matchMedia( '(max-width: 1024px)' ).matches ) {
78
  }
79
  } );
80
  if ( typeof IvorySearchVars !== "undefined" && typeof IvorySearchVars.is_analytics_enabled !== "undefined" ) {
81
+ if ( typeof IvorySearchVars.is_search !== "undefined" && typeof IvorySearchVars.is_search ) {
82
+ var id = ( typeof IvorySearchVars.is_id !== "undefined" ) ? IvorySearchVars.is_id : 'Default';
83
+ var label = ( typeof IvorySearchVars.is_label !== "undefined" ) ? IvorySearchVars.is_label : '';
84
+ var category = ( typeof IvorySearchVars.is_cat !== "undefined" ) ? IvorySearchVars.is_cat : '';
85
+ ivory_search_analytics( id, label, category );
86
+ }
87
  }
88
 
89
  if ( window.matchMedia( '(max-width: 1024px)' ).matches ) {
public/js/ivory-search.min.js CHANGED
@@ -1 +1 @@
1
- function ivory_search_analytics(s,e,i){try{var t="function"==typeof __gaTracker?__gaTracker:"function"==typeof ga&&ga,a="function"==typeof gtag&&gtag;if(!1!==a)return void a("event","Ivory Search - "+s,{event_label:e,event_category:i});!1!==t&&t("send",{hitType:"event",eventCategory:i,eventAction:"Ivory Search - "+s,eventLabel:e})}catch(s){}}!function(s){"use strict";s(window).on("load",function(){(s(".is-menu a, .is-menu a svg").on("click",function(e){if(e.stopPropagation(),e.preventDefault(),"static"===s(this).closest("ul").css("position")&&s(this).closest("ul").css("position","relative"),s(this).closest(".is-menu-wrapper").length&&(s(this).closest(".is-menu").hasClass("sliding")||s(this).closest(".is-menu").hasClass("full-width-menu"))&&s(this).closest(".is-menu-wrapper").addClass("is-expanded"),s(this).closest(".is-menu").hasClass("sliding")||s(this).closest(".is-menu").hasClass("full-width-menu")){s(this).closest(".is-menu").find("button.is-search-submit").hide();var i=s(this).closest("li.is-menu").outerHeight();i/=2,s(this).closest(".is-menu").find("form").css({top:i-18+"px"}),s(this).closest(".is-menu").find(".search-close").css({top:i-10+"px"})}if(s(this).closest(".is-menu").hasClass("is-dropdown"))s(this).closest(".is-menu").find("form").fadeIn();else if(s(this).closest(".is-menu").hasClass("sliding"))s(this).closest(".is-menu").find("form").animate({width:"310"},function(){s(this).closest(".is-menu").addClass("open"),s(this).closest(".is-menu").find("button.is-search-submit").show()});else if(s(this).closest(".is-menu").hasClass("full-width-menu")){var t=s(this).closest("ul").outerWidth();if(s(this).closest(".is-menu-wrapper").hasClass("is-expanded"))t=s(window).width(),s(this).closest(".is-menu").find("form").css("right","-5px"),s(this).closest(".is-menu").find(".search-close").hide();else{var a=s(this).offset();if(!s(this).closest(".is-menu").hasClass("is-first")&&a.left<t){t=a.left;var n=s(this).closest("li").outerWidth();n>t&&(t=n)}}s(this).closest(".is-menu").find("form").animate({width:t+"px"},function(){s(this).closest(".is-menu").addClass("active-search"),s(this).closest(".is-menu").addClass("open"),s(this).closest(".is-menu").find("button.is-search-submit").show()})}else s(this).closest(".is-menu").hasClass("popup")&&(s("#is-popup-wrapper").fadeIn(),s('#is-popup-wrapper form input[type="text"], #is-popup-wrapper form input[type="search"]').focus());(s(this).closest(".is-menu").hasClass("sliding")||s(this).closest(".is-menu").hasClass("full-width-menu"))&&s(this).closest(".is-menu").find('form input[type="search"], form input[type="text"]').focus(),s(this).closest(".is-menu").find('form input[type="search"], form input[type="text"]').focus()}),s("#is-popup-wrapper").on("click",function(e){s(e.target).closest("form").length||s("#is-popup-wrapper, .is-ajax-search-result, .is-ajax-search-details").fadeOut()}),"undefined"!=typeof IvorySearchVars&&void 0!==IvorySearchVars.is_analytics_enabled)&&ivory_search_analytics(void 0!==IvorySearchVars.is_id?IvorySearchVars.is_id:"Default",void 0!==IvorySearchVars.is_label?IvorySearchVars.is_label:"",void 0!==IvorySearchVars.is_cat?IvorySearchVars.is_cat:"");window.matchMedia("(max-width: 1024px)").matches&&s(".is-menu a").attr("href",""),s(window).resize(function(){window.matchMedia("(max-width: 1024px)").matches&&s(".is-menu a").attr("href","")})}),s(document).keyup(function(e){27===e.keyCode&&s("#is-popup-wrapper, .is-ajax-search-result, .is-ajax-search-details").hide()}),s('.is-menu form input[type="search"], .is-menu form input[type="text"]').on("click",function(s){return s.stopPropagation(),!1}),s("form.is-search-form, form.search-form").on("mouseover",function(e){s(this).next(".is-link-container").length&&s(this).append(s(this).next(".is-link-container").remove())}),s(window).click(function(e){0===e.button&&0===s(e.target).closest(".is-search-input").length&&0===s(e.target).closest(".is-search-submit").length&&0===s(e.target).closest(".is-ajax-search-result").length&&0===s(e.target).closest(".is-ajax-search-details").length&&(s(".is-menu").hasClass("open")?(s(".is-menu button.is-search-submit").hide(),s(".is-menu form").animate({width:"0"},400,function(){s(".is-menu").removeClass("active-search"),s(".is-menu").removeClass("open"),s(".is-menu-wrapper").removeClass("is-expanded")}),s(".is-ajax-search-result, .is-ajax-search-details").hide()):s(".is-menu").hasClass("is-dropdown")&&(s(".is-menu form").fadeOut(),s(".is-ajax-search-result, .is-ajax-search-details").hide()))})}(jQuery);
1
+ function ivory_search_analytics(s,e,i){try{var t="function"==typeof __gaTracker?__gaTracker:"function"==typeof ga&&ga,a="function"==typeof gtag&&gtag;if(!1!==a)return void a("event","Ivory Search - "+s,{event_label:e,event_category:i});!1!==t&&t("send",{hitType:"event",eventCategory:i,eventAction:"Ivory Search - "+s,eventLabel:e})}catch(s){}}!function(s){"use strict";s(window).on("load",function(){(s(".is-menu a, .is-menu a svg").on("click",function(e){if(e.stopPropagation(),e.preventDefault(),"static"===s(this).closest("ul").css("position")&&s(this).closest("ul").css("position","relative"),s(this).closest(".is-menu-wrapper").length&&(s(this).closest(".is-menu").hasClass("sliding")||s(this).closest(".is-menu").hasClass("full-width-menu"))&&s(this).closest(".is-menu-wrapper").addClass("is-expanded"),s(this).closest(".is-menu").hasClass("sliding")||s(this).closest(".is-menu").hasClass("full-width-menu")){s(this).closest(".is-menu").find("button.is-search-submit").hide();var i=s(this).closest("li.is-menu").outerHeight();i/=2,s(this).closest(".is-menu").find("form").css({top:i-18+"px"}),s(this).closest(".is-menu").find(".search-close").css({top:i-10+"px"})}if(s(this).closest(".is-menu").hasClass("is-dropdown"))s(this).closest(".is-menu").find("form").fadeIn();else if(s(this).closest(".is-menu").hasClass("sliding"))s(this).closest(".is-menu").find("form").animate({width:"310"},function(){s(this).closest(".is-menu").addClass("open"),s(this).closest(".is-menu").find("button.is-search-submit").show()});else if(s(this).closest(".is-menu").hasClass("full-width-menu")){var t=s(this).closest("ul").outerWidth();if(s(this).closest(".is-menu-wrapper").hasClass("is-expanded"))t=s(window).width(),s(this).closest(".is-menu").find("form").css("right","-5px"),s(this).closest(".is-menu").find(".search-close").hide();else{var a=s(this).offset();if(!s(this).closest(".is-menu").hasClass("is-first")&&a.left<t){t=a.left;var n=s(this).closest("li").outerWidth();n>t&&(t=n)}}s(this).closest(".is-menu").find("form").animate({width:t+"px"},function(){s(this).closest(".is-menu").addClass("active-search"),s(this).closest(".is-menu").addClass("open"),s(this).closest(".is-menu").find("button.is-search-submit").show()})}else s(this).closest(".is-menu").hasClass("popup")&&(s("#is-popup-wrapper").fadeIn(),s('#is-popup-wrapper form input[type="text"], #is-popup-wrapper form input[type="search"]').focus());(s(this).closest(".is-menu").hasClass("sliding")||s(this).closest(".is-menu").hasClass("full-width-menu"))&&s(this).closest(".is-menu").find('form input[type="search"], form input[type="text"]').focus(),s(this).closest(".is-menu").find('form input[type="search"], form input[type="text"]').focus()}),s("#is-popup-wrapper").on("click",function(e){s(e.target).closest("form").length||s("#is-popup-wrapper, .is-ajax-search-result, .is-ajax-search-details").fadeOut()}),"undefined"!=typeof IvorySearchVars&&void 0!==IvorySearchVars.is_analytics_enabled)&&(void 0!==IvorySearchVars.is_search&&(IvorySearchVars.is_search,1)&&ivory_search_analytics(void 0!==IvorySearchVars.is_id?IvorySearchVars.is_id:"Default",void 0!==IvorySearchVars.is_label?IvorySearchVars.is_label:"",void 0!==IvorySearchVars.is_cat?IvorySearchVars.is_cat:""));window.matchMedia("(max-width: 1024px)").matches&&s(".is-menu a").attr("href",""),s(window).resize(function(){window.matchMedia("(max-width: 1024px)").matches&&s(".is-menu a").attr("href","")})}),s(document).keyup(function(e){27===e.keyCode&&s("#is-popup-wrapper, .is-ajax-search-result, .is-ajax-search-details").hide()}),s('.is-menu form input[type="search"], .is-menu form input[type="text"]').on("click",function(s){return s.stopPropagation(),!1}),s("form.is-search-form, form.search-form").on("mouseover",function(e){s(this).next(".is-link-container").length&&s(this).append(s(this).next(".is-link-container").remove())}),s(window).click(function(e){0===e.button&&0===s(e.target).closest(".is-search-input").length&&0===s(e.target).closest(".is-search-submit").length&&0===s(e.target).closest(".is-ajax-search-result").length&&0===s(e.target).closest(".is-ajax-search-details").length&&(s(".is-menu").hasClass("open")?(s(".is-menu button.is-search-submit").hide(),s(".is-menu form").animate({width:"0"},400,function(){s(".is-menu").removeClass("active-search"),s(".is-menu").removeClass("open"),s(".is-menu-wrapper").removeClass("is-expanded")}),s(".is-ajax-search-result, .is-ajax-search-details").hide()):s(".is-menu").hasClass("is-dropdown")&&(s(".is-menu form").fadeOut(),s(".is-ajax-search-result, .is-ajax-search-details").hide()))})}(jQuery);
readme.txt CHANGED
@@ -5,7 +5,7 @@ Tags: search, woocommerce search, image search, ajax search, search shortcode, l
5
  Requires at least: 3.9
6
  Tested up to: 5.9
7
  Requires PHP: 5.2.4
8
- Stable tag: 5.4.1
9
  License: GPLv2 or later
10
  License URI: https://www.gnu.org/licenses/gpl-2.0.html
11
 
@@ -197,6 +197,14 @@ Yes we do. We try our best to help free users with customisation requests and we
197
 
198
  == Changelog ==
199
 
 
 
 
 
 
 
 
 
200
  = 5.4.1 =
201
  * Fixed - PHP 5 issue 'Default value for parameters with a class type hint can only be NULL'.
202
 
5
  Requires at least: 3.9
6
  Tested up to: 5.9
7
  Requires PHP: 5.2.4
8
+ Stable tag: 5.4.2
9
  License: GPLv2 or later
10
  License URI: https://www.gnu.org/licenses/gpl-2.0.html
11
 
197
 
198
  == Changelog ==
199
 
200
+ = 5.4.2 =
201
+ * Improved - Compatibility with Weglot plugin.
202
+ * Improved - Compatibility with TablePress plugin.
203
+ * Fixed - Warning: trim() expects parameter 1 to be string, array given.
204
+ * Fixed - Notice: Undefined index: s
205
+ * Fixed - Media search in admin area was not working.
206
+ * Fixed - Google analytics search was working on all pages.
207
+
208
  = 5.4.1 =
209
  * Fixed - PHP 5 issue 'Default value for parameters with a class type hint can only be NULL'.
210