Ivory Search – WordPress Search Plugin - Version 4.5.5

Version Description

  • Fixed - Latest jQuery version compatibility issue.
Download this release

Release Info

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

Code changes from version 4.5.4 to 4.5.5

add-search-to-menu.php CHANGED
@@ -3,7 +3,7 @@
3
  * Plugin Name: Ivory Search
4
  * Plugin URI: https://ivorysearch.com
5
  * Description: The WordPress Search plugin that includes Search Form Customizer, WooCommerce Search, Image Search, Search Shortcode, AJAX Search & Live Search support!
6
- * Version: 4.5.4
7
  * Author: Ivory Search
8
  * Author URI: https://ivorysearch.com/
9
  * License: GPL2+
@@ -108,7 +108,7 @@ final class Ivory_Search {
108
  private function define_constants() {
109
 
110
  if ( ! defined( 'IS_VERSION' ) ) {
111
- define( 'IS_VERSION', '4.5.4' );
112
  }
113
  if ( ! defined( 'IS_PLUGIN_FILE' ) ) {
114
  define( 'IS_PLUGIN_FILE', __FILE__ );
3
  * Plugin Name: Ivory Search
4
  * Plugin URI: https://ivorysearch.com
5
  * Description: The WordPress Search plugin that includes Search Form Customizer, WooCommerce Search, Image Search, Search Shortcode, AJAX Search & Live Search support!
6
+ * Version: 4.5.5
7
  * Author: Ivory Search
8
  * Author URI: https://ivorysearch.com/
9
  * License: GPL2+
108
  private function define_constants() {
109
 
110
  if ( ! defined( 'IS_VERSION' ) ) {
111
+ define( 'IS_VERSION', '4.5.5' );
112
  }
113
  if ( ! defined( 'IS_PLUGIN_FILE' ) ) {
114
  define( 'IS_PLUGIN_FILE', __FILE__ );
admin/class-is-admin.php CHANGED
@@ -106,7 +106,7 @@ class IS_Admin
106
  <script type="text/javascript">
107
  /* <![CDATA[ */
108
  ( function($) {
109
- $( window ).load( function() {
110
  <?php
111
  foreach ( $admin_pointers as $pointer => $array ) {
112
 
@@ -155,11 +155,10 @@ class IS_Admin
155
  $prefix = 'is_admin_pointers_' . $version . '_';
156
  $new_pointer_content = '<h3>' . __( 'Edit Search Form', 'add-search-to-menu' ) . '</h3>';
157
  $new_pointer_content .= '<p>' . __( 'Click on the search form title to edit it.', 'add-search-to-menu' ) . '</p>';
158
- $new_pointer_content .= '<p>' . __( 'Edit the Default Search Form to manage the default WordPress search.', 'add-search-to-menu' ) . '</p>';
159
  return array(
160
  $prefix . 'is_pointers' => array(
161
  'content' => $new_pointer_content,
162
- 'anchor_id' => '#the-list tr:last-child a.row-title',
163
  'edge' => 'left',
164
  'align' => 'left',
165
  'active' => !in_array( $prefix . 'is_pointers', $dismissed ),
@@ -885,7 +884,7 @@ class IS_Admin
885
  'public' => true,
886
  'exclude_from_search' => false,
887
  ) );
888
- if ( is_array( $post_types ) && in_array( 'attachment', $post_types ) ) {
889
  unset( $post_types['attachment'] );
890
  }
891
  $args['_is_includes'] = array(
106
  <script type="text/javascript">
107
  /* <![CDATA[ */
108
  ( function($) {
109
+ $( window ).on( 'load', function() {
110
  <?php
111
  foreach ( $admin_pointers as $pointer => $array ) {
112
 
155
  $prefix = 'is_admin_pointers_' . $version . '_';
156
  $new_pointer_content = '<h3>' . __( 'Edit Search Form', 'add-search-to-menu' ) . '</h3>';
157
  $new_pointer_content .= '<p>' . __( 'Click on the search form title to edit it.', 'add-search-to-menu' ) . '</p>';
 
158
  return array(
159
  $prefix . 'is_pointers' => array(
160
  'content' => $new_pointer_content,
161
+ 'anchor_id' => '#the-list tr:first-child a.row-title',
162
  'edge' => 'left',
163
  'align' => 'left',
164
  'active' => !in_array( $prefix . 'is_pointers', $dismissed ),
884
  'public' => true,
885
  'exclude_from_search' => false,
886
  ) );
887
+ if ( 'Default Search Form' === $args['title'] && is_array( $post_types ) && in_array( 'attachment', $post_types ) ) {
888
  unset( $post_types['attachment'] );
889
  }
890
  $args['_is_includes'] = array(
admin/class-is-editor.php CHANGED
@@ -96,6 +96,25 @@ class IS_Search_Editor
96
  return apply_filters( 'is_meta_keys', $meta_keys );
97
  }
98
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
99
  public function includes_panel( $post )
100
  {
101
  $id = '_is_includes';
@@ -103,7 +122,6 @@ class IS_Search_Editor
103
  $excludes = $post->prop( '_is_excludes' );
104
  $settings = $post->prop( '_is_settings' );
105
  $default_search = ( NULL == $post->id() ? true : false );
106
- $excludes_url = ( isset( $_REQUEST['post'] ) ? '<a href="' . esc_url( menu_page_url( 'ivory-search', false ) ) . '&post=' . $_REQUEST['post'] . '&action=edit&tab=excludes' . '">' . __( "Excludes", 'add-search-to-menu' ) . '</a>' : '' );
107
  ?>
108
  <h4 class="panel-desc">
109
  <?php
@@ -122,7 +140,7 @@ class IS_Search_Editor
122
  ?>-post_type"><?php
123
  esc_html_e( 'Post Types', 'add-search-to-menu' );
124
  ?></label>
125
- <span class="actions"><a class="expand" href="#"><?php
126
  esc_html_e( 'Expand All', 'add-search-to-menu' );
127
  ?></a><a class="collapse" href="#" style="display:none;"><?php
128
  esc_html_e( 'Collapse All', 'add-search-to-menu' );
@@ -386,7 +404,7 @@ class IS_Search_Editor
386
  }
387
 
388
 
389
- if ( 'attachment' == $post_type ) {
390
  global $wp_version ;
391
 
392
  if ( 4.9 <= $wp_version ) {
@@ -421,9 +439,9 @@ class IS_Search_Editor
421
 
422
  $html .= '</div>';
423
  $checked = ( isset( $includes['post_file_type'] ) && !empty($includes['post_file_type']) ? 'selected' : 'all' );
424
- echo '<p class="check-radio"><label for="mime-search_all" ><input class="is-mime-select" type="radio" id="mime-search_all" name="mime_search_radio" value="all" ' . checked( 'all', $checked, false ) . '/>' ;
425
  echo '<span class="toggle-check-text"></span>' . esc_html__( "Search all MIME types", 'add-search-to-menu' ) . '</label></p>' ;
426
- echo '<p class="check-radio"><label for="mime-search_selected" ><input class="is-mime-select" type="radio" id="mime-search_selected" name="mime_search_radio" value="selected" ' . checked( 'selected', $checked, false ) . '/>' ;
427
  echo '<span class="toggle-check-text"></span>' . esc_html__( "Search only selected MIME types", 'add-search-to-menu' ) . '</label></p>' ;
428
  echo $html ;
429
  echo '<span class="search-attachments-wrapper">' ;
@@ -446,7 +464,7 @@ class IS_Search_Editor
446
  }
447
 
448
  } else {
449
- echo '<br /><span class="notice-is-info">' . sprintf( esc_html__( "This search form is configured in the %s section to not search specific MIME types.", 'add-search-to-menu' ), $excludes_url ) . '</span>' ;
450
  }
451
 
452
  } else {
@@ -467,7 +485,7 @@ class IS_Search_Editor
467
  ?>-extras"><?php
468
  echo esc_html( __( 'Extras', 'add-search-to-menu' ) ) ;
469
  ?></label>
470
- <span class="actions"><a class="expand" href="#"><?php
471
  esc_html_e( 'Expand All', 'add-search-to-menu' );
472
  ?></a><a class="collapse" href="#" style="display:none;"><?php
473
  esc_html_e( 'Collapse All', 'add-search-to-menu' );
@@ -557,9 +575,11 @@ class IS_Search_Editor
557
  echo '<div class="is-cb-dropdown">' ;
558
  echo '<div class="is-cb-title">' ;
559
  if ( $default_search || !isset( $includes['post_status'] ) || empty($includes['post_status']) ) {
560
- $includes['post_status'] = array(
 
561
  'publish' => 'publish',
562
  'inherit' => 'inherit',
 
563
  );
564
  }
565
  echo '<span style="display:none;" class="is-cb-select">' . __( 'Select Post Status', 'add-search-to-menu' ) . '</span><span class="is-cb-titles">' ;
@@ -636,7 +656,7 @@ class IS_Search_Editor
636
  }
637
 
638
  } else {
639
- echo '<br /><span class="notice-is-info">' . sprintf( esc_html__( "This search form is configured in the %s section to not search for specific author posts.", 'add-search-to-menu' ), $excludes_url ) . '</span>' ;
640
  }
641
 
642
  if ( '' !== $author_disable ) {
@@ -841,7 +861,6 @@ class IS_Search_Editor
841
  $id = '_is_ajax';
842
  $settings = $post->prop( $id );
843
  $includes = $post->prop( '_is_includes' );
844
- $includes_url = ( isset( $_REQUEST['post'] ) ? '<a href="' . esc_url( menu_page_url( 'ivory-search', false ) ) . '&post=' . $_REQUEST['post'] . '&action=edit&tab=includes' . '">' . __( "Includes", 'add-search-to-menu' ) . '</a>' : '' );
845
  // If not have any settings saved then set default value for fields.
846
 
847
  if ( empty($settings) ) {
@@ -929,7 +948,7 @@ class IS_Search_Editor
929
  ?>-search-form-search-results"><?php
930
  esc_html_e( 'AJAX Search Results', 'add-search-to-menu' );
931
  ?></label>
932
- <span class="actions">
933
  <a class="expand" href="#"><?php
934
  esc_html_e( 'Expand All', 'add-search-to-menu' );
935
  ?></a>
@@ -1392,7 +1411,7 @@ class IS_Search_Editor
1392
  } else {
1393
 
1394
  if ( !isset( $includes['post_type'] ) || !in_array( 'product', $includes['post_type'] ) ) {
1395
- echo '<br /><span class="notice-is-info">' . sprintf( esc_html__( "Please first configure this search form in the %s section to search WooCommerce product post type.", 'add-search-to-menu' ), $includes_url ) . '</span><br />' ;
1396
  } else {
1397
  ?>
1398
  <span class="is-field-disabled-message"><span class="message"><?php
@@ -1754,7 +1773,6 @@ class IS_Search_Editor
1754
  $excludes = $post->prop( $id );
1755
  $includes = $post->prop( '_is_includes' );
1756
  $default_search = ( NULL == $post->id() ? true : false );
1757
- $includes_url = ( isset( $_REQUEST['post'] ) ? '<a href="' . esc_url( menu_page_url( 'ivory-search', false ) ) . '&post=' . $_REQUEST['post'] . '&action=edit&tab=includes' . '">' . __( "Includes", 'add-search-to-menu' ) . '</a>' : '' );
1758
  ?>
1759
  <h4 class="panel-desc">
1760
  <?php
@@ -1797,7 +1815,7 @@ class IS_Search_Editor
1797
 
1798
  if ( is_numeric( $key ) && 0 == $key || 'post' === $key ) {
1799
  ?>
1800
- <span class="actions"><a class="expand" href="#"><?php
1801
  esc_html_e( 'Expand All', 'add-search-to-menu' );
1802
  ?></a><a class="collapse" href="#" style="display:none;"><?php
1803
  esc_html_e( 'Collapse All', 'add-search-to-menu' );
@@ -1876,7 +1894,7 @@ class IS_Search_Editor
1876
  if ( empty($selected_pt2) ) {
1877
 
1878
  if ( isset( $includes['post__in'] ) ) {
1879
- echo '<br /><span class="notice-is-info">' . sprintf( esc_html__( "The search form is configured in the %s section to only search specific posts of another post type.", 'add-search-to-menu' ), $includes_url ) . '</span>' ;
1880
  echo '</div></div>' ;
1881
  continue;
1882
  }
@@ -1887,7 +1905,7 @@ class IS_Search_Editor
1887
  echo '<span class="toggle-check-text"></span>' . sprintf( esc_html__( "Exclude selected %s from search", 'add-search-to-menu' ), strtolower( $post_types2[$post_type]->labels->name ) ) . '</label></p>' ;
1888
  echo $html ;
1889
  } else {
1890
- echo '<br /><span class="notice-is-info">' . sprintf( esc_html__( 'The search form is configured in the %1$s section to only search specific %2$s.', 'add-search-to-menu' ), $includes_url, strtolower( $post_types2[$post_type]->labels->name ) ) . '</span><br />' ;
1891
  }
1892
 
1893
  }
@@ -2043,7 +2061,7 @@ class IS_Search_Editor
2043
  }
2044
 
2045
  } else {
2046
- echo '<br /><span class="notice-is-info">' . sprintf( esc_html__( "This search form is configured in the %s section to search specific attachments.", 'add-search-to-menu' ), $includes_url ) . '</span><br />' ;
2047
  }
2048
 
2049
  } else {
@@ -2064,7 +2082,7 @@ class IS_Search_Editor
2064
  ?>-extras"><?php
2065
  echo esc_html( __( 'Extras', 'add-search-to-menu' ) ) ;
2066
  ?></label>
2067
- <span class="actions"><a class="expand" href="#"><?php
2068
  esc_html_e( 'Expand All', 'add-search-to-menu' );
2069
  ?></a><a class="collapse" href="#" style="display:none;"><?php
2070
  esc_html_e( 'Collapse All', 'add-search-to-menu' );
@@ -2129,7 +2147,7 @@ class IS_Search_Editor
2129
  }
2130
 
2131
  } else {
2132
- echo '<br /><span class="notice-is-info">' . sprintf( esc_html__( "This search form is configured in the %s section to search posts created by specific authors.", 'add-search-to-menu' ), $includes_url ) . '</span><br />' ;
2133
  }
2134
 
2135
  ?>
@@ -2179,7 +2197,7 @@ class IS_Search_Editor
2179
  ?>-posts_per_page"><?php
2180
  echo esc_html( __( 'Posts Per Page', 'add-search-to-menu' ) ) ;
2181
  ?></label>
2182
- <span class="actions"><a class="expand" href="#"><?php
2183
  esc_html_e( 'Expand All', 'add-search-to-menu' );
2184
  ?></a><a class="collapse" href="#" style="display:none;"><?php
2185
  esc_html_e( 'Collapse All', 'add-search-to-menu' );
@@ -2340,7 +2358,7 @@ class IS_Search_Editor
2340
  ?>-extras"><?php
2341
  echo esc_html( __( 'Others', 'add-search-to-menu' ) ) ;
2342
  ?></label>
2343
- <span class="actions"><a class="expand" href="#"><?php
2344
  esc_html_e( 'Expand All', 'add-search-to-menu' );
2345
  ?></a><a class="collapse" href="#" style="display:none;"><?php
2346
  esc_html_e( 'Collapse All', 'add-search-to-menu' );
96
  return apply_filters( 'is_meta_keys', $meta_keys );
97
  }
98
 
99
+ public function inc_exc_url( $section )
100
+ {
101
+ $includes_url = '';
102
+ $sec_name = __( "Search", 'add-search-to-menu' );
103
+ if ( 'excludes' === $section ) {
104
+ $sec_name = __( "Exclude", 'add-search-to-menu' );
105
+ }
106
+
107
+ if ( isset( $_REQUEST['post'] ) ) {
108
+ $includes_url = '<a href="' . esc_url( menu_page_url( 'ivory-search', false ) ) . '&post=' . $_REQUEST['post'] . '&action=edit&tab=' . $section . '">' . $sec_name . '</a>';
109
+ } else {
110
+ if ( isset( $_REQUEST['page'] ) && 'ivory-search-new' === $_REQUEST['page'] ) {
111
+ $includes_url = '<a href="' . esc_url( menu_page_url( 'ivory-search-new', false ) ) . '&tab=' . $section . '">' . $sec_name . '</a>';
112
+ }
113
+ }
114
+
115
+ return $includes_url;
116
+ }
117
+
118
  public function includes_panel( $post )
119
  {
120
  $id = '_is_includes';
122
  $excludes = $post->prop( '_is_excludes' );
123
  $settings = $post->prop( '_is_settings' );
124
  $default_search = ( NULL == $post->id() ? true : false );
 
125
  ?>
126
  <h4 class="panel-desc">
127
  <?php
140
  ?>-post_type"><?php
141
  esc_html_e( 'Post Types', 'add-search-to-menu' );
142
  ?></label>
143
+ <span class="is-actions"><a class="expand" href="#"><?php
144
  esc_html_e( 'Expand All', 'add-search-to-menu' );
145
  ?></a><a class="collapse" href="#" style="display:none;"><?php
146
  esc_html_e( 'Collapse All', 'add-search-to-menu' );
404
  }
405
 
406
 
407
+ if ( 'attachment' == $post_type && empty($selected_pt) ) {
408
  global $wp_version ;
409
 
410
  if ( 4.9 <= $wp_version ) {
439
 
440
  $html .= '</div>';
441
  $checked = ( isset( $includes['post_file_type'] ) && !empty($includes['post_file_type']) ? 'selected' : 'all' );
442
+ echo '<p class="check-radio is-mime-radio"><label for="mime-search_all" ><input class="is-mime-select" type="radio" id="mime-search_all" name="mime_search_radio" value="all" ' . checked( 'all', $checked, false ) . '/>' ;
443
  echo '<span class="toggle-check-text"></span>' . esc_html__( "Search all MIME types", 'add-search-to-menu' ) . '</label></p>' ;
444
+ echo '<p class="check-radio is-mime-radio"><label for="mime-search_selected" ><input class="is-mime-select" type="radio" id="mime-search_selected" name="mime_search_radio" value="selected" ' . checked( 'selected', $checked, false ) . '/>' ;
445
  echo '<span class="toggle-check-text"></span>' . esc_html__( "Search only selected MIME types", 'add-search-to-menu' ) . '</label></p>' ;
446
  echo $html ;
447
  echo '<span class="search-attachments-wrapper">' ;
464
  }
465
 
466
  } else {
467
+ echo '<br /><span class="notice-is-info">' . sprintf( esc_html__( "This search form is configured in the %s section to not search specific MIME types.", 'add-search-to-menu' ), $this->inc_exc_url( 'excludes' ) ) . '</span>' ;
468
  }
469
 
470
  } else {
485
  ?>-extras"><?php
486
  echo esc_html( __( 'Extras', 'add-search-to-menu' ) ) ;
487
  ?></label>
488
+ <span class="is-actions"><a class="expand" href="#"><?php
489
  esc_html_e( 'Expand All', 'add-search-to-menu' );
490
  ?></a><a class="collapse" href="#" style="display:none;"><?php
491
  esc_html_e( 'Collapse All', 'add-search-to-menu' );
575
  echo '<div class="is-cb-dropdown">' ;
576
  echo '<div class="is-cb-title">' ;
577
  if ( $default_search || !isset( $includes['post_status'] ) || empty($includes['post_status']) ) {
578
+ $includes = array(
579
+ 'post_status' => array(
580
  'publish' => 'publish',
581
  'inherit' => 'inherit',
582
+ ),
583
  );
584
  }
585
  echo '<span style="display:none;" class="is-cb-select">' . __( 'Select Post Status', 'add-search-to-menu' ) . '</span><span class="is-cb-titles">' ;
656
  }
657
 
658
  } else {
659
+ echo '<br /><span class="notice-is-info">' . sprintf( esc_html__( "This search form is configured in the %s section to not search for specific author posts.", 'add-search-to-menu' ), $this->inc_exc_url( 'excludes' ) ) . '</span>' ;
660
  }
661
 
662
  if ( '' !== $author_disable ) {
861
  $id = '_is_ajax';
862
  $settings = $post->prop( $id );
863
  $includes = $post->prop( '_is_includes' );
 
864
  // If not have any settings saved then set default value for fields.
865
 
866
  if ( empty($settings) ) {
948
  ?>-search-form-search-results"><?php
949
  esc_html_e( 'AJAX Search Results', 'add-search-to-menu' );
950
  ?></label>
951
+ <span class="is-actions">
952
  <a class="expand" href="#"><?php
953
  esc_html_e( 'Expand All', 'add-search-to-menu' );
954
  ?></a>
1411
  } else {
1412
 
1413
  if ( !isset( $includes['post_type'] ) || !in_array( 'product', $includes['post_type'] ) ) {
1414
+ echo '<span class="notice-is-info">' . sprintf( esc_html__( "Please first configure this search form in the %s section to search WooCommerce product post type.", 'add-search-to-menu' ), $this->inc_exc_url( 'includes' ) ) . '</span><br />' ;
1415
  } else {
1416
  ?>
1417
  <span class="is-field-disabled-message"><span class="message"><?php
1773
  $excludes = $post->prop( $id );
1774
  $includes = $post->prop( '_is_includes' );
1775
  $default_search = ( NULL == $post->id() ? true : false );
 
1776
  ?>
1777
  <h4 class="panel-desc">
1778
  <?php
1815
 
1816
  if ( is_numeric( $key ) && 0 == $key || 'post' === $key ) {
1817
  ?>
1818
+ <span class="is-actions"><a class="expand" href="#"><?php
1819
  esc_html_e( 'Expand All', 'add-search-to-menu' );
1820
  ?></a><a class="collapse" href="#" style="display:none;"><?php
1821
  esc_html_e( 'Collapse All', 'add-search-to-menu' );
1894
  if ( empty($selected_pt2) ) {
1895
 
1896
  if ( isset( $includes['post__in'] ) ) {
1897
+ echo '<span class="notice-is-info">' . sprintf( esc_html__( "The search form is configured in the %s section to only search specific posts of another post type.", 'add-search-to-menu' ), $this->inc_exc_url( 'includes' ) ) . '</span>' ;
1898
  echo '</div></div>' ;
1899
  continue;
1900
  }
1905
  echo '<span class="toggle-check-text"></span>' . sprintf( esc_html__( "Exclude selected %s from search", 'add-search-to-menu' ), strtolower( $post_types2[$post_type]->labels->name ) ) . '</label></p>' ;
1906
  echo $html ;
1907
  } else {
1908
+ echo '<span class="notice-is-info">' . sprintf( esc_html__( 'The search form is configured in the %1$s section to only search specific %2$s.', 'add-search-to-menu' ), $this->inc_exc_url( 'includes' ), strtolower( $post_types2[$post_type]->labels->name ) ) . '</span><br />' ;
1909
  }
1910
 
1911
  }
2061
  }
2062
 
2063
  } else {
2064
+ echo '<br /><span class="notice-is-info">' . sprintf( esc_html__( "This search form is configured in the %s section to search specific attachments.", 'add-search-to-menu' ), $this->inc_exc_url( 'includes' ) ) . '</span><br />' ;
2065
  }
2066
 
2067
  } else {
2082
  ?>-extras"><?php
2083
  echo esc_html( __( 'Extras', 'add-search-to-menu' ) ) ;
2084
  ?></label>
2085
+ <span class="is-actions"><a class="expand" href="#"><?php
2086
  esc_html_e( 'Expand All', 'add-search-to-menu' );
2087
  ?></a><a class="collapse" href="#" style="display:none;"><?php
2088
  esc_html_e( 'Collapse All', 'add-search-to-menu' );
2147
  }
2148
 
2149
  } else {
2150
+ echo '<br /><span class="notice-is-info">' . sprintf( esc_html__( "This search form is configured in the %s section to search posts created by specific authors.", 'add-search-to-menu' ), $this->inc_exc_url( 'includes' ) ) . '</span><br />' ;
2151
  }
2152
 
2153
  ?>
2197
  ?>-posts_per_page"><?php
2198
  echo esc_html( __( 'Posts Per Page', 'add-search-to-menu' ) ) ;
2199
  ?></label>
2200
+ <span class="is-actions"><a class="expand" href="#"><?php
2201
  esc_html_e( 'Expand All', 'add-search-to-menu' );
2202
  ?></a><a class="collapse" href="#" style="display:none;"><?php
2203
  esc_html_e( 'Collapse All', 'add-search-to-menu' );
2358
  ?>-extras"><?php
2359
  echo esc_html( __( 'Others', 'add-search-to-menu' ) ) ;
2360
  ?></label>
2361
+ <span class="is-actions"><a class="expand" href="#"><?php
2362
  esc_html_e( 'Expand All', 'add-search-to-menu' );
2363
  ?></a><a class="collapse" href="#" style="display:none;"><?php
2364
  esc_html_e( 'Collapse All', 'add-search-to-menu' );
admin/class-is-list-table.php CHANGED
@@ -123,7 +123,7 @@ class IS_List_Table extends WP_List_Table {
123
  }
124
 
125
  function column_cb( $item ) {
126
- if ( 'Default Search Form' !== $item->title() || defined( 'DELETE_DEFAULT_SEARCH_FORM' ) ) {
127
  return sprintf(
128
  '<input type="checkbox" name="%1$s[]" value="%2$s" />',
129
  $this->_args['singular'],
@@ -166,7 +166,7 @@ class IS_List_Table extends WP_List_Table {
166
  ) );
167
  }
168
 
169
- if ( current_user_can( 'is_delete_search_form', $item->id() ) && ( 'Default Search Form' !== $item->title() || defined( 'DELETE_DEFAULT_SEARCH_FORM' ) ) ) {
170
  $delete_link = wp_nonce_url(
171
  add_query_arg( array( 'action' => 'delete' ), $url ),
172
  'is-delete-search-form_' . absint( $item->id() ) );
123
  }
124
 
125
  function column_cb( $item ) {
126
+ if ( 'default-search-form' !== $item->name() || defined( 'DELETE_DEFAULT_SEARCH_FORM' ) ) {
127
  return sprintf(
128
  '<input type="checkbox" name="%1$s[]" value="%2$s" />',
129
  $this->_args['singular'],
166
  ) );
167
  }
168
 
169
+ if ( current_user_can( 'is_delete_search_form', $item->id() ) && ( 'default-search-form' !== $item->name() || defined( 'DELETE_DEFAULT_SEARCH_FORM' ) ) ) {
170
  $delete_link = wp_nonce_url(
171
  add_query_arg( array( 'action' => 'delete' ), $url ),
172
  'is-delete-search-form_' . absint( $item->id() ) );
admin/class-is-settings-fields.php CHANGED
@@ -64,9 +64,13 @@ class IS_Settings_Fields
64
  if ( !isset( $wp_settings_fields ) || !isset( $wp_settings_fields[$page] ) || !isset( $wp_settings_fields[$page][$section['id']] ) ) {
65
  return;
66
  }
67
- echo '<div class="form-table search-form-editor-box">' ;
 
 
68
  $this->is_do_settings_fields( $page, $section['id'] );
69
- echo '</div>' ;
 
 
70
  }
71
 
72
  /**
@@ -85,17 +89,38 @@ class IS_Settings_Fields
85
  }
86
 
87
  if ( !empty($field['args']['label_for']) ) {
88
- echo '<h3 scope="row"><label for="' . esc_attr( $field['args']['label_for'] ) . '">' . $field['title'] . '</label>' ;
 
 
 
 
 
 
89
  } else {
90
- echo '<h3 scope="row">' . $field['title'] ;
 
 
91
  }
92
 
93
- if ( 'Custom CSS' == $field['title'] || 'Advanced' == $field['title'] ) {
94
- echo '<span class="actions"><a class="expand" href="#">' . esc_html__( 'Expand All', 'add-search-to-menu' ) . '</a><a class="collapse" href="#" style="display:none;">' . esc_html__( 'Collapse All', 'add-search-to-menu' ) . '</a></span>' ;
 
 
 
 
 
 
 
95
  }
96
- echo '</h3><div>' ;
 
 
 
 
97
  call_user_func( $field['callback'], $field['args'] );
98
- echo '</div>' ;
 
 
99
  }
100
  }
101
 
@@ -122,7 +147,7 @@ class IS_Settings_Fields
122
 
123
  }
124
 
125
- if ( !isset( $_GET['tab'] ) || 'settings' == $_GET['tab'] ) {
126
  add_settings_section(
127
  'ivory_search_settings',
128
  '',
@@ -188,7 +213,7 @@ class IS_Settings_Fields
188
  register_setting( 'ivory_search', 'is_settings' );
189
  } else {
190
 
191
- if ( isset( $_GET['tab'] ) && 'menu-search' == $_GET['tab'] ) {
192
  add_settings_section(
193
  'ivory_search_section',
194
  '',
@@ -205,7 +230,7 @@ class IS_Settings_Fields
205
  register_setting( 'ivory_search', 'is_menu_search' );
206
  } else {
207
 
208
- if ( isset( $_GET['tab'] ) && 'analytics' == $_GET['tab'] ) {
209
  add_settings_section(
210
  'ivory_search_analytics',
211
  '',
@@ -233,7 +258,13 @@ class IS_Settings_Fields
233
  */
234
  function menu_search_section_desc()
235
  {
236
- echo '<h4 class="panel-desc">' . __( 'Configure Menu Search', 'add-search-to-menu' ) . '</h4>' ;
 
 
 
 
 
 
237
  }
238
 
239
  /**
@@ -241,7 +272,13 @@ class IS_Settings_Fields
241
  */
242
  function analytics_section_desc()
243
  {
244
- echo '<h4 class="panel-desc">' . __( 'Search Analytics', 'add-search-to-menu' ) . '</h4>' ;
 
 
 
 
 
 
245
  }
246
 
247
  /**
@@ -249,7 +286,13 @@ class IS_Settings_Fields
249
  */
250
  function settings_section_desc()
251
  {
252
- echo '<h4 class="panel-desc">' . __( 'Advanced Website Search Settings', 'add-search-to-menu' ) . '</h4>' ;
 
 
 
 
 
 
253
  }
254
 
255
  /**
@@ -262,61 +305,105 @@ class IS_Settings_Fields
262
  */
263
  $content = __( 'Display search form on selected menu locations.', 'add-search-to-menu' );
264
  IS_Help::help_info( $content );
265
- $html = '';
266
- $check_value = '';
267
  $menus = get_registered_nav_menus();
 
 
 
268
 
269
  if ( !empty($menus) ) {
 
270
  foreach ( $menus as $location => $description ) {
271
 
272
  if ( has_nav_menu( $location ) ) {
273
  $check_value = ( isset( $this->opt['menus'][$location] ) ? $this->opt['menus'][$location] : 0 );
274
- $html .= '<p><label for="is_menus' . esc_attr( $location ) . '"><input type="checkbox" class="ivory_search_locations" id="is_menus' . esc_attr( $location ) . '" name="is_menu_search[menus][' . esc_attr( $location ) . ']" value="' . esc_attr( $location ) . '" ' . checked( $location, $check_value, false ) . '/>';
275
- $html .= '<span class="toggle-check-text"></span> ' . esc_html( $description ) . '</label></p>';
 
 
 
 
 
 
 
 
 
 
 
 
 
 
276
  }
277
 
278
  }
279
  if ( '' === $check_value ) {
280
- $html = sprintf( __( 'No menu assigned to navigation menu location in the %sMenus screen%s.', 'add-search-to-menu' ), '<a target="_blank" href="' . admin_url( 'nav-menus.php' ) . '">', '</a>' );
281
  }
282
  } else {
283
- $html = __( 'Navigation menu location is not registered on the site.', 'add-search-to-menu' );
284
  }
285
 
286
- echo '<div>' . $html . '</div>' ;
 
 
287
  /**
288
  * Displays choose menu field.
289
  */
290
- echo '<br />' ;
291
  $content = __( 'Display search form on selected menus.', 'add-search-to-menu' );
292
  IS_Help::help_info( $content );
293
- $html = '';
294
- $check_value = '';
295
  $menu_name = wp_get_nav_menus();
 
 
 
296
 
297
  if ( !empty($menu_name) ) {
 
298
  foreach ( $menu_name as $value ) {
299
  $check_value = ( isset( $this->opt['menu_name'][$value->slug] ) ? $this->opt['menu_name'][$value->slug] : 0 );
300
- $html .= '<p><label for="is_menu_name' . esc_attr( $value->slug ) . '"><input type="checkbox" class="ivory_search_menu_name" id="is_menu_name' . esc_attr( $value->slug ) . '" name="is_menu_search[menu_name][' . esc_attr( $value->slug ) . ']" value="' . esc_attr( $value->slug ) . '" ' . checked( $value->slug, $check_value, false ) . '/>';
301
- $html .= '<span class="toggle-check-text"></span> ' . esc_html( $value->name ) . '</label></p>';
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
302
  }
303
  } else {
304
- $html = sprintf( __( 'No menu created in the %sMenus screen%s.', 'add-search-to-menu' ), '<a target="_blank" href="' . admin_url( 'nav-menus.php' ) . '">', '</a>' );
305
  }
306
 
307
- echo '<div>' . $html . '</div>' ;
 
 
308
  if ( !isset( $this->opt['menus'] ) && !isset( $this->opt['menu_name'] ) || '' === $check_value ) {
309
  return;
310
  }
311
- echo '<div class="menu-settings-container"><br /><br />' ;
 
 
312
  /**
313
  * Displays search form at the beginning of menu field.
314
  */
315
  $check_value = ( isset( $this->opt['first_menu_item'] ) ? $this->opt['first_menu_item'] : 0 );
316
- $check_string = checked( 'first_menu_item', $check_value, false );
317
- $html = '<label for="first_menu_item"><input class="ivory_search_first_menu_item" type="checkbox" id="first_menu_item" name="is_menu_search[first_menu_item]" value="first_menu_item" ' . $check_string . ' />';
318
- $html .= '<span class="toggle-check-text"></span>' . esc_html__( 'Display search form at the start of the navigation menu', 'add-search-to-menu' ) . '</label>';
319
- echo '<div>' . $html . '</div> <br /><br />' ;
 
 
 
 
 
 
320
  /**
321
  * Displays form style field.
322
  */
@@ -336,23 +423,44 @@ class IS_Settings_Fields
336
  $menu_close_icon = true;
337
  }
338
 
339
- $html = '';
340
  $check_value = ( isset( $this->opt['menu_style'] ) ? $this->opt['menu_style'] : 'dropdown' );
 
 
 
341
  foreach ( $styles as $key => $style ) {
342
- $html .= '<p>';
343
- $html .= '<label for="is_menu_style' . esc_attr( $key ) . '"><input class="ivory_search_style" type="radio" id="is_menu_style' . esc_attr( $key ) . '" name="is_menu_search[menu_style]"';
344
- $html .= 'name="ivory_search[menu_style]" value="' . esc_attr( $key ) . '" ' . checked( $key, $check_value, false ) . '/>';
345
- $html .= '<span class="toggle-check-text"></span>' . esc_html( $style ) . '</label>';
346
- $html .= '</p>';
 
 
 
 
 
 
 
 
 
 
 
347
  }
348
- echo '<div class="search-form-style">' . $html . '</div><br /><br />' ;
349
- echo '<div class="form-style-dependent">' ;
 
 
350
  /**
351
  * Displays menu search magnifier colorpicker field.
352
  */
353
  $color = ( isset( $this->opt['menu_magnifier_color'] ) ? $this->opt['menu_magnifier_color'] : '#848484' );
354
- echo '<input style="width: 80px;" class="menu-magnifier-color is-colorpicker" size="5" type="text" id="is-menu-magnifier-color" name="is_menu_search[menu_magnifier_color]" value="' . $color . '" />' ;
355
- echo '<br /><i> ' . esc_html__( "Select menu magnifier icon color.", 'add-search-to-menu' ) . '</i><br /><br />' ;
 
 
 
 
 
 
356
  /**
357
  * Displays search form close icon field.
358
  */
@@ -360,67 +468,121 @@ class IS_Settings_Fields
360
  if ( !$check_value && $menu_close_icon ) {
361
  $check_value = 'menu_close_icon';
362
  }
363
- $check_string = checked( 'menu_close_icon', $check_value, false );
364
- $html = '<label for="menu_close_icon"><input class="ivory_search_close_icon" type="checkbox" id="menu_close_icon" name="is_menu_search[menu_close_icon]" value="menu_close_icon" ' . $check_string . ' />';
365
- $html .= '<span class="toggle-check-text"></span>' . esc_html__( 'Display search form close icon', 'add-search-to-menu' ) . '</label>';
366
- echo '<div>' . $html . '</div> <br /><br />' ;
 
 
 
 
 
 
367
  /**
368
  * Displays search menu title field.
369
  */
370
  $content = __( 'Add menu title to display in place of search icon.', 'add-search-to-menu' );
371
  IS_Help::help_info( $content );
372
  $this->opt['menu_title'] = ( isset( $this->opt['menu_title'] ) ? $this->opt['menu_title'] : '' );
373
- $html = '<input type="text" class="ivory_search_title" id="is_menu_title" name="is_menu_search[menu_title]" value="' . esc_attr( $this->opt['menu_title'] ) . '" />';
374
- echo '<div>' . $html . '</div> <br /><br />' ;
375
- echo '</div>' ;
 
 
 
 
376
  /**
377
  * Displays menu search form field.
378
  */
379
  $content = __( 'Select search form that will control menu search functionality.', 'add-search-to-menu' );
380
  IS_Help::help_info( $content );
381
- $html = '';
382
  $args = array(
383
  'numberposts' => -1,
384
  'post_type' => 'is_search_form',
385
  'order' => 'ASC',
386
  );
387
  $posts = get_posts( $args );
 
 
 
388
 
389
  if ( !empty($posts) ) {
390
  $check_value = ( isset( $this->opt['menu_search_form'] ) ? $this->opt['menu_search_form'] : 0 );
391
- $html .= '<select class="ivory_search_form" id="menu_search_form" name="is_menu_search[menu_search_form]" >';
392
- $html .= '<option value="0">' . __( 'None', 'add-search-to-menu' ) . '</option>';
 
 
 
 
393
  foreach ( $posts as $post ) {
394
- $html .= '<option value="' . $post->ID . '"' . selected( $post->ID, $check_value, false ) . ' >' . $post->post_title . '</option>';
 
 
 
 
 
 
 
 
395
  }
396
- $html .= '</select>';
 
 
397
 
398
  if ( $check_value ) {
399
- $html .= '<a href="' . esc_url( menu_page_url( 'ivory-search', false ) ) . '&post=' . $check_value . '&action=edit"> ' . esc_html__( "Edit Search Form", 'add-search-to-menu' ) . '</a>';
 
 
 
 
 
 
 
 
400
  } else {
401
- $html .= '<a href="' . esc_url( menu_page_url( 'ivory-search-new', false ) ) . '"> ' . esc_html__( "Create New", 'add-search-to-menu' ) . '</a>';
 
 
 
 
 
 
402
  }
403
 
404
  }
405
 
406
- echo '<div>' . $html . '</div><br /><br />' ;
 
 
407
  /**
408
  * Displays search menu classes field.
409
  */
410
  $content = __( 'Add class to search form menu item.', 'add-search-to-menu' );
411
  IS_Help::help_info( $content );
412
  $this->opt['menu_classes'] = ( isset( $this->opt['menu_classes'] ) ? $this->opt['menu_classes'] : '' );
413
- $html = '<input type="text" class="ivory_search_classes" id="is_menu_classes" name="is_menu_search[menu_classes]" value="' . esc_attr( $this->opt['menu_classes'] ) . '" />';
414
- $html .= '<br /><label for="is_menu_classes" style="font-size: 10px;">' . esc_html__( "Add multiple classes seperated by space.", 'add-search-to-menu' ) . '</label>';
415
- echo '<div>' . $html . '</div> <br /><br />' ;
 
 
 
 
 
 
 
416
  /**
417
  * Displays google cse field.
418
  */
419
  $content = __( 'Add Google Custom Search( CSE ) search form code that will replace default search form.', 'add-search-to-menu' );
420
  IS_Help::help_info( $content );
421
  $this->opt['menu_gcse'] = ( isset( $this->opt['menu_gcse'] ) ? $this->opt['menu_gcse'] : '' );
422
- $html = '<input class="ivory_search_gcse" type="text" id="is_menu_gcse" name="is_menu_search[menu_gcse]" value="' . esc_attr( $this->opt['menu_gcse'] ) . '" />';
423
- echo '<div>' . $html . '</div></div>' ;
 
 
 
 
 
424
  }
425
 
426
  /**
@@ -430,23 +592,59 @@ class IS_Settings_Fields
430
  {
431
  $is_analytics = get_option( 'is_analytics', array() );
432
  $check_value = ( isset( $is_analytics['disable_analytics'] ) ? $is_analytics['disable_analytics'] : 0 );
433
- $html = '<label for="is_disable_analytics"><select class="ivory_search_disable_analytics" id="is_disable_analytics" name="is_analytics[disable_analytics]" >';
434
- $html .= '<option value="0" ' . selected( 0, $check_value, false ) . '>' . __( 'Enabled', 'add-search-to-menu' ) . '</option>';
435
- $html .= '<option value="1"' . selected( 1, $check_value, false ) . ' >' . __( 'Disabled', 'add-search-to-menu' ) . '</option>';
436
- $html .= '</select> ' . esc_html__( 'Google Analytics tracking for searches', 'add-search-to-menu' ) . '</label>';
437
- echo '<div>' . $html ;
438
- echo '<div class="analytics-info"><br/><br/><p>' . __( 'Search Analytics uses Google Analytics to track searches.', 'add-search-to-menu' ) . '</p>' ;
439
- echo '<p>' . sprintf( __( "You need %s Google Analytics %s to be installed on your site.", 'add-search-to-menu' ), "<a target='_blank' href='https://developers.google.com/analytics/devguides/collection/analyticsjs/'>", '</a>' ) . '</p>' ;
440
- echo '<p>' . __( "Data will be visible inside Google Analytics 'Events' and 'Site Search' report.", 'add-search-to-menu' ) . '</p>' ;
441
- echo '<br/><p>' . __( "Events will be as below:", 'add-search-to-menu' ) . '</p>' ;
442
- echo '<p><b>' . __( "Category - Results Found / Nothing Found", 'add-search-to-menu' ) . '</b></p>' ;
443
- echo '<p><b>' . __( "Action - Ivory Search - ID", 'add-search-to-menu' ) . '</b></p>' ;
444
- echo '<p><b>' . __( "Label - Value of search term", 'add-search-to-menu' ) . '</b></p>' ;
445
- echo '<br/><p>' . sprintf( __( "Need to %s activate Site Search feature %s inside Google Analytics to display data inside 'Site Search' report.", 'add-search-to-menu' ), "<a target='_blank' href='https://support.google.com/analytics/answer/1012264'>", '</a>' ) . '</p>' ;
446
- echo '<p>' . __( "Enable Site search Tracking option in Site Search Settings and set its parameters as below.", 'add-search-to-menu' ) . '</p>' ;
447
- echo '<p><b>' . __( "Query parameter - s", 'add-search-to-menu' ) . '</b></p>' ;
448
- echo '<p><b>' . __( "Category parameter - id / result", 'add-search-to-menu' ) . '</b></p>' ;
449
- echo '</div></div>' ;
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
450
  }
451
 
452
  /**
@@ -455,31 +653,65 @@ class IS_Settings_Fields
455
  function header()
456
  {
457
  echo __( 'Select search form to display in site header( Not Menu ).', 'add-search-to-menu' ) . '<br /><br />' ;
458
- $html = '';
459
  $args = array(
460
  'numberposts' => -1,
461
  'post_type' => 'is_search_form',
462
  );
463
  $posts = get_posts( $args );
 
 
 
464
 
465
  if ( !empty($posts) ) {
466
  $check_value = ( isset( $this->opt['header_search'] ) ? $this->opt['header_search'] : 0 );
467
- $html .= '<select class="ivory_search_header" id="is_header_search" name="is_settings[header_search]" >';
468
- $html .= '<option value="0" ' . selected( 0, $check_value, false ) . '>' . __( 'None', 'add-search-to-menu' ) . '</option>';
 
 
 
 
 
 
469
  foreach ( $posts as $post ) {
470
- $html .= '<option value="' . $post->ID . '"' . selected( $post->ID, $check_value, false ) . ' >' . $post->post_title . '</option>';
 
 
 
 
 
 
 
 
471
  }
472
- $html .= '</select>';
 
 
473
 
474
  if ( $check_value && get_post_type( $check_value ) ) {
475
- $html .= '<a href="' . esc_url( menu_page_url( 'ivory-search', false ) ) . '&post=' . $check_value . '&action=edit"> ' . esc_html__( "Edit", 'add-search-to-menu' ) . '</a>';
 
 
 
 
 
 
476
  } else {
477
- $html .= '<a href="' . esc_url( menu_page_url( 'ivory-search-new', false ) ) . '"> ' . esc_html__( "Create New", 'add-search-to-menu' ) . '</a>';
 
 
 
 
 
 
478
  }
479
 
480
  }
481
 
482
- echo '<div>' . $html . '<br/><br/><span class="is-help"><span class="is-info-warning">' . __( 'Please note that the above option displays search form in site header and not in navigation menu.', 'add-search-to-menu' ) . '</span></span></div>' ;
 
 
 
 
483
  }
484
 
485
  /**
@@ -487,8 +719,11 @@ class IS_Settings_Fields
487
  */
488
  function footer()
489
  {
490
- echo __( 'Select search form to display in site footer.', 'add-search-to-menu' ) . '<br /><br />' ;
491
- $html = '';
 
 
 
492
  $args = array(
493
  'numberposts' => -1,
494
  'post_type' => 'is_search_form',
@@ -497,22 +732,52 @@ class IS_Settings_Fields
497
 
498
  if ( !empty($posts) ) {
499
  $check_value = ( isset( $this->opt['footer_search'] ) ? $this->opt['footer_search'] : 0 );
500
- $html .= '<select class="ivory_search_footer" id="is_footer_search" name="is_settings[footer_search]" >';
501
- $html .= '<option value="0" ' . selected( 0, $check_value, false ) . '>' . __( 'None', 'add-search-to-menu' ) . '</option>';
 
 
 
 
 
 
502
  foreach ( $posts as $post ) {
503
- $html .= '<option value="' . $post->ID . '"' . selected( $post->ID, $check_value, false ) . ' >' . $post->post_title . '</option>';
 
 
 
 
 
 
 
 
504
  }
505
- $html .= '</select>';
 
 
506
 
507
  if ( $check_value && get_post_type( $check_value ) ) {
508
- $html .= '<a href="' . esc_url( menu_page_url( 'ivory-search', false ) ) . '&post=' . $check_value . '&action=edit"> ' . esc_html__( "Edit", 'add-search-to-menu' ) . '</a>';
 
 
 
 
 
 
509
  } else {
510
- $html .= '<a href="' . esc_url( menu_page_url( 'ivory-search-new', false ) ) . '"> ' . esc_html__( "Create New", 'add-search-to-menu' ) . '</a>';
 
 
 
 
 
 
511
  }
512
 
513
  }
514
 
515
- echo '<div>' . $html . '</div>' ;
 
 
516
  }
517
 
518
  /**
@@ -522,17 +787,30 @@ class IS_Settings_Fields
522
  {
523
  $check_value = ( isset( $this->opt['header_menu_search'] ) ? $this->opt['header_menu_search'] : 0 );
524
  $check_string = checked( 'header_menu_search', $check_value, false );
525
- $html = '<label for="is_search_in_header"><input class="ivory_search_display_in_header" type="checkbox" id="is_search_in_header" name="is_settings[header_menu_search]" value="header_menu_search" ' . $check_string . ' />';
526
- $html .= '<span class="toggle-check-text"></span>' . esc_html__( 'Display search form in site header on mobile devices', 'add-search-to-menu' ) . '</label>';
527
- echo '<div>' . $html . '</div><br />' ;
528
- $html = '';
 
 
 
 
 
 
529
  $content = __( 'If this site uses cache then please select the below option to display search form on mobile.', 'add-search-to-menu' );
530
  IS_Help::help_info( $content );
531
  $check_value = ( isset( $this->opt['site_uses_cache'] ) ? $this->opt['site_uses_cache'] : 0 );
532
  $check_string = checked( 'site_uses_cache', $check_value, false );
533
- $html .= '<label for="is_site_uses_cache"><input class="ivory_search_display_in_header" type="checkbox" id="is_site_uses_cache" name="is_settings[site_uses_cache]" value="site_uses_cache" ' . $check_string . ' />';
534
- $html .= '<span class="toggle-check-text"></span>' . esc_html__( 'This site uses cache', 'add-search-to-menu' ) . '</label>';
535
- echo '<div>' . $html . '</div>' ;
 
 
 
 
 
 
 
536
  }
537
 
538
  /**
@@ -540,10 +818,16 @@ class IS_Settings_Fields
540
  */
541
  function custom_css()
542
  {
543
- echo __( 'Add custom CSS code.', 'add-search-to-menu' ) . '<br /><br />' ;
544
  $this->opt['custom_css'] = ( isset( $this->opt['custom_css'] ) ? $this->opt['custom_css'] : '' );
545
- $html = '<textarea class="ivory_search_css" rows="4" id="custom_css" name="is_settings[custom_css]" >' . esc_attr( $this->opt['custom_css'] ) . '</textarea>';
546
- echo '<div>' . $html . '</div>' ;
 
 
 
 
 
 
547
  }
548
 
549
  /**
@@ -551,11 +835,19 @@ class IS_Settings_Fields
551
  */
552
  function stopwords()
553
  {
554
- echo __( 'Add Stopwords that will not be searched.', 'add-search-to-menu' ) . '<br /><br />' ;
555
  $this->opt['stopwords'] = ( isset( $this->opt['stopwords'] ) ? $this->opt['stopwords'] : '' );
556
- $html = '<textarea class="ivory_search_stopwords" rows="4" id="stopwords" name="is_settings[stopwords]" >' . esc_attr( $this->opt['stopwords'] ) . '</textarea>';
557
- $html .= '<br /><label for="stopwords" style="font-size: 10px;">' . esc_html__( "Please separate multiple words with commas.", 'add-search-to-menu' ) . '</label>';
558
- echo '<div>' . $html . '</div>' ;
 
 
 
 
 
 
 
 
559
  }
560
 
561
  /**
@@ -563,16 +855,29 @@ class IS_Settings_Fields
563
  */
564
  function synonyms()
565
  {
566
- echo __( 'Add synonyms to make the searches find better results.', 'add-search-to-menu' ) . '<br /><br />' ;
 
 
 
567
  $content = __( 'If you add bird = crow to the list of synonyms, searches for bird automatically become a search for bird crow and will thus match to posts that include either bird or crow.', 'add-search-to-menu' );
568
  IS_Help::help_info( $content );
569
  $this->opt['synonyms'] = ( isset( $this->opt['synonyms'] ) ? $this->opt['synonyms'] : '' );
570
- $html = '<textarea class="ivory_search_synonyms" rows="4" id="synonyms" name="is_settings[synonyms]" >' . esc_attr( $this->opt['synonyms'] ) . '</textarea>';
571
- $html .= '<br /><label for="synonyms" style="font-size: 10px;">' . esc_html__( 'The format here is key = value', 'add-search-to-menu' ) . '</label>';
572
- $html .= '<br /><label for="synonyms" style="font-size: 10px;">' . esc_html__( 'Please add every synonyms key = value pairs on new line.', 'add-search-to-menu' ) . '</label>';
573
- echo '<div>' . $html . '</div>' ;
574
- echo '<br /><span class="is-help"><span class="is-info-warning">' . __( 'This only works for search forms configured to search any of the search terms(OR) and not all search terms(AND) in the search form Options.', 'add-search-to-menu' ) . '</span></span>' ;
575
- $html = '';
 
 
 
 
 
 
 
 
 
 
576
  }
577
 
578
  /**
@@ -586,32 +891,84 @@ class IS_Settings_Fields
586
  'css' => __( 'Do not load plugin CSS files', 'add-search-to-menu' ),
587
  'js' => __( 'Do not load plugin JavaScript files', 'add-search-to-menu' ),
588
  );
589
- $html = '';
590
  foreach ( $styles as $key => $file ) {
591
  $check_value = ( isset( $this->opt['not_load_files'][$key] ) ? $this->opt['not_load_files'][$key] : 0 );
592
  $check_string = checked( $key, $check_value, false );
593
- if ( 'js' == $key ) {
594
- $html .= '<br />';
 
 
595
  }
596
- $html .= '<br /><label for="not_load_files[' . esc_attr( $key ) . ']"><input class="not_load_files" type="checkbox" id="not_load_files[' . esc_attr( $key ) . ']" name="is_settings[not_load_files][' . esc_attr( $key ) . ']" value="' . esc_attr( $key ) . '" ' . $check_string . '/>';
597
- $html .= '<span class="toggle-check-text"></span>' . esc_html( $file ) . '</label>';
598
- $html .= '<span class="not-load-wrapper">';
 
 
 
 
 
 
 
 
 
 
 
 
 
 
599
 
600
- if ( 'css' == $key ) {
601
- $html .= '<br /><label for="not_load_files[' . esc_attr( $key ) . ']" style="font-size: 10px;">' . esc_html__( 'If checked, you have to add following plugin file code into your child theme CSS file.', 'add-search-to-menu' ) . '</label>';
602
- $html .= '<br /><a style="font-size: 13px;" target="_blank" href="' . plugins_url( '/public/css/ivory-search.css', IS_PLUGIN_FILE ) . '"/a>' . plugins_url( '/public/css/ivory-search.css', IS_PLUGIN_FILE ) . '</a>';
603
- $html .= '<br /><a style="font-size: 13px;" target="_blank" href="' . plugins_url( '/public/css/ivory-ajax-search.css', IS_PLUGIN_FILE ) . '"/a>' . plugins_url( '/public/css/ivory-ajax-search.css', IS_PLUGIN_FILE ) . '</a>';
604
- $html .= '<br />';
 
 
 
 
 
 
 
 
 
 
 
 
 
 
605
  } else {
606
- $html .= '<br /><label for="not_load_files[' . esc_attr( $key ) . ']" style="font-size: 10px;">' . esc_html__( "If checked, you have to add following plugin files code into your child theme JavaScript file.", 'add-search-to-menu' ) . '</label>';
607
- $html .= '<br /><a style="font-size: 13px;" target="_blank" href="' . plugins_url( '/public/js/ivory-search.js', IS_PLUGIN_FILE ) . '"/a>' . plugins_url( '/public/js/ivory-search.js', IS_PLUGIN_FILE ) . '</a>';
608
- $html .= '<br /><a style="font-size: 13px;" target="_blank" href="' . plugins_url( '/public/js/is-highlight.js', IS_PLUGIN_FILE ) . '"/a>' . plugins_url( '/public/js/is-highlight.js', IS_PLUGIN_FILE ) . '</a>';
609
- $html .= '<br /><a style="font-size: 13px;" target="_blank" href="' . plugins_url( '/public/js/ivory-ajax-search.js', IS_PLUGIN_FILE ) . '"/a>' . plugins_url( '/public/js/ivory-ajax-search.js', IS_PLUGIN_FILE ) . '</a>';
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
610
  }
611
 
612
- $html .= '</span>';
 
 
613
  }
614
- echo '<div>' . $html . '</div>' ;
 
 
615
  }
616
 
617
  function advanced()
@@ -622,26 +979,44 @@ class IS_Settings_Fields
622
  $content = '<span class="is-info-warning">' . __( 'Warning: Use with caution.', 'add-search-to-menu' ) . '</span>';
623
  IS_Help::help_info( $content );
624
  $check_value = ( isset( $this->opt['default_search'] ) ? $this->opt['default_search'] : 0 );
625
- $disable = checked( 1, $check_value, false );
626
- $html = '<label for="is_default_search"><input class="ivory_search_default" type="checkbox" id="is_default_search" name="is_settings[default_search]" value="1" ' . $disable . ' />';
627
- $html .= '<span class="toggle-check-text"></span>' . esc_html__( 'Do not use Default Search Form to control WordPress default search functionality', 'add-search-to-menu' ) . '</label>';
628
- echo '<div>' . $html . '</div><br />' ;
 
 
 
 
 
 
629
  /**
630
  * Disables search functionality on whole site.
631
  */
632
  $check_value = ( isset( $this->opt['disable'] ) ? $this->opt['disable'] : 0 );
633
- $disable = checked( 1, $check_value, false );
634
- $html = '<label for="is_disable"><input class="ivory_search_disable" type="checkbox" id="is_disable" name="is_settings[disable]" value="1" ' . $disable . ' />';
635
- $html .= '<span class="toggle-check-text"></span>' . esc_html__( 'Disable search functionality on entire website', 'add-search-to-menu' ) . '</label>';
636
- echo '<div>' . $html . '</div><br />' ;
 
 
 
 
 
 
637
  /**
638
  * Display search forms easy to edit links.
639
  */
640
  $check_value = ( isset( $this->opt['easy_edit'] ) ? $this->opt['easy_edit'] : 0 );
641
- $easy_edit = checked( 1, $check_value, false );
642
- $html = '<br /><label for="is_easy_edit"><input class="ivory_search_easy_edit" type="checkbox" id="is_easy_edit" name="is_settings[easy_edit]" value="1" ' . $easy_edit . ' />';
643
- $html .= '<span class="toggle-check-text"></span>' . esc_html__( 'Display easy edit links of search form on the website frontend to the admin users', 'add-search-to-menu' ) . '</label>';
644
- echo '<div>' . $html . '</div>' ;
 
 
 
 
 
 
645
  }
646
 
647
  }
64
  if ( !isset( $wp_settings_fields ) || !isset( $wp_settings_fields[$page] ) || !isset( $wp_settings_fields[$page][$section['id']] ) ) {
65
  return;
66
  }
67
+ ?>
68
+ <div class="form-table search-form-editor-box">
69
+ <?php
70
  $this->is_do_settings_fields( $page, $section['id'] );
71
+ ?>
72
+ </div>
73
+ <?php
74
  }
75
 
76
  /**
89
  }
90
 
91
  if ( !empty($field['args']['label_for']) ) {
92
+ ?>
93
+ <h3 scope="row"><label for="<?php
94
+ esc_attr_e( $field['args']['label_for'] );
95
+ ?>"><?php
96
+ echo $field['title'] ;
97
+ ?></label>
98
+ <?php
99
  } else {
100
+ ?>
101
+ <h3 scope="row"><?php
102
+ echo $field['title'] ;
103
  }
104
 
105
+
106
+ if ( 'Custom CSS' === $field['title'] || 'Advanced' === $field['title'] ) {
107
+ ?>
108
+ <span class="is-actions"><a class="expand" href="#"><?php
109
+ esc_html_e( 'Expand All', 'add-search-to-menu' );
110
+ ?></a><a class="collapse" href="#" style="display:none;"><?php
111
+ esc_html_e( 'Collapse All', 'add-search-to-menu' );
112
+ ?></a></span>
113
+ <?php
114
  }
115
+
116
+ ?>
117
+ </h3>
118
+ <div>
119
+ <?php
120
  call_user_func( $field['callback'], $field['args'] );
121
+ ?>
122
+ </div>
123
+ <?php
124
  }
125
  }
126
 
147
 
148
  }
149
 
150
+ if ( !isset( $_GET['tab'] ) || 'settings' === $_GET['tab'] ) {
151
  add_settings_section(
152
  'ivory_search_settings',
153
  '',
213
  register_setting( 'ivory_search', 'is_settings' );
214
  } else {
215
 
216
+ if ( isset( $_GET['tab'] ) && 'menu-search' === $_GET['tab'] ) {
217
  add_settings_section(
218
  'ivory_search_section',
219
  '',
230
  register_setting( 'ivory_search', 'is_menu_search' );
231
  } else {
232
 
233
+ if ( isset( $_GET['tab'] ) && 'analytics' === $_GET['tab'] ) {
234
  add_settings_section(
235
  'ivory_search_analytics',
236
  '',
258
  */
259
  function menu_search_section_desc()
260
  {
261
+ ?>
262
+ <h4 class="panel-desc">
263
+ <?php
264
+ _e( 'Configure Menu Search', 'add-search-to-menu' );
265
+ ?>
266
+ </h4>
267
+ <?php
268
  }
269
 
270
  /**
272
  */
273
  function analytics_section_desc()
274
  {
275
+ ?>
276
+ <h4 class="panel-desc">
277
+ <?php
278
+ _e( 'Search Analytics', 'add-search-to-menu' );
279
+ ?>
280
+ </h4>
281
+ <?php
282
  }
283
 
284
  /**
286
  */
287
  function settings_section_desc()
288
  {
289
+ ?>
290
+ <h4 class="panel-desc">
291
+ <?php
292
+ _e( 'Advanced Website Search Settings', 'add-search-to-menu' );
293
+ ?>
294
+ </h4>
295
+ <?php
296
  }
297
 
298
  /**
305
  */
306
  $content = __( 'Display search form on selected menu locations.', 'add-search-to-menu' );
307
  IS_Help::help_info( $content );
 
 
308
  $menus = get_registered_nav_menus();
309
+ ?>
310
+ <div>
311
+ <?php
312
 
313
  if ( !empty($menus) ) {
314
+ $check_value = '';
315
  foreach ( $menus as $location => $description ) {
316
 
317
  if ( has_nav_menu( $location ) ) {
318
  $check_value = ( isset( $this->opt['menus'][$location] ) ? $this->opt['menus'][$location] : 0 );
319
+ ?>
320
+ <p><label for="is_menus<?php
321
+ esc_attr_e( $location );
322
+ ?>"><input type="checkbox" class="ivory_search_locations" id="is_menus<?php
323
+ esc_attr_e( $location );
324
+ ?>" name="is_menu_search[menus][<?php
325
+ esc_attr_e( $location );
326
+ ?>]" value="<?php
327
+ esc_attr_e( $location );
328
+ ?>" <?php
329
+ checked( $location, $check_value, true );
330
+ ?>/>
331
+ <span class="toggle-check-text"></span> <?php
332
+ esc_html_e( $description );
333
+ ?> </label></p>
334
+ <?php
335
  }
336
 
337
  }
338
  if ( '' === $check_value ) {
339
+ printf( __( 'No menu assigned to navigation menu location in the %sMenus screen%s.', 'add-search-to-menu' ), '<a target="_blank" href="' . admin_url( 'nav-menus.php' ) . '">', '</a>' );
340
  }
341
  } else {
342
+ _e( 'Navigation menu location is not registered on the site.', 'add-search-to-menu' );
343
  }
344
 
345
+ ?>
346
+ </div><br />
347
+ <?php
348
  /**
349
  * Displays choose menu field.
350
  */
 
351
  $content = __( 'Display search form on selected menus.', 'add-search-to-menu' );
352
  IS_Help::help_info( $content );
 
 
353
  $menu_name = wp_get_nav_menus();
354
+ ?>
355
+ <div>
356
+ <?php
357
 
358
  if ( !empty($menu_name) ) {
359
+ $check_value = '';
360
  foreach ( $menu_name as $value ) {
361
  $check_value = ( isset( $this->opt['menu_name'][$value->slug] ) ? $this->opt['menu_name'][$value->slug] : 0 );
362
+ ?>
363
+
364
+ <p><label for="is_menu_name<?php
365
+ esc_attr_e( $value->slug );
366
+ ?>"><input type="checkbox" class="ivory_search_menu_name" id="is_menu_name<?php
367
+ esc_attr_e( $value->slug );
368
+ ?>" name="is_menu_search[menu_name][<?php
369
+ esc_attr_e( $value->slug );
370
+ ?>]" value="<?php
371
+ esc_attr_e( $value->slug );
372
+ ?>"<?php
373
+ checked( $value->slug, $check_value, true );
374
+ ?>/>
375
+ <span class="toggle-check-text"></span> <?php
376
+ esc_html_e( $value->name );
377
+ ?></label></p>
378
+ <?php
379
  }
380
  } else {
381
+ printf( __( 'No menu created in the %sMenus screen%s.', 'add-search-to-menu' ), '<a target="_blank" href="' . admin_url( 'nav-menus.php' ) . '">', '</a>' );
382
  }
383
 
384
+ ?>
385
+ </div>
386
+ <?php
387
  if ( !isset( $this->opt['menus'] ) && !isset( $this->opt['menu_name'] ) || '' === $check_value ) {
388
  return;
389
  }
390
+ ?>
391
+ <div class="menu-settings-container"><br /><br />
392
+ <?php
393
  /**
394
  * Displays search form at the beginning of menu field.
395
  */
396
  $check_value = ( isset( $this->opt['first_menu_item'] ) ? $this->opt['first_menu_item'] : 0 );
397
+ ?>
398
+ <div>
399
+ <label for="first_menu_item"><input class="ivory_search_first_menu_item" type="checkbox" id="first_menu_item" name="is_menu_search[first_menu_item]" value="first_menu_item" <?php
400
+ checked( 'first_menu_item', $check_value, true );
401
+ ?> />
402
+ <span class="toggle-check-text"></span><?php
403
+ esc_html_e( 'Display search form at the start of the navigation menu', 'add-search-to-menu' );
404
+ ?></label>
405
+ </div> <br /><br />
406
+ <?php
407
  /**
408
  * Displays form style field.
409
  */
423
  $menu_close_icon = true;
424
  }
425
 
 
426
  $check_value = ( isset( $this->opt['menu_style'] ) ? $this->opt['menu_style'] : 'dropdown' );
427
+ ?>
428
+ <div class="search-form-style">
429
+ <?php
430
  foreach ( $styles as $key => $style ) {
431
+ ?>
432
+ <p>
433
+ <label for="is_menu_style<?php
434
+ esc_attr_e( $key );
435
+ ?>"><input class="ivory_search_style" type="radio" id="is_menu_style<?php
436
+ esc_attr_e( $key );
437
+ ?>" name="is_menu_search[menu_style]" value="<?php
438
+ esc_attr_e( $key );
439
+ ?>" <?php
440
+ checked( $key, $check_value, true );
441
+ ?>/>
442
+ <span class="toggle-check-text"></span><?php
443
+ esc_html_e( $style );
444
+ ?></label>
445
+ </p>
446
+ <?php
447
  }
448
+ ?>
449
+ </div><br /><br />
450
+ <div class="form-style-dependent">
451
+ <?php
452
  /**
453
  * Displays menu search magnifier colorpicker field.
454
  */
455
  $color = ( isset( $this->opt['menu_magnifier_color'] ) ? $this->opt['menu_magnifier_color'] : '#848484' );
456
+ ?>
457
+ <input style="width: 80px;" class="menu-magnifier-color is-colorpicker" size="5" type="text" id="is-menu-magnifier-color" name="is_menu_search[menu_magnifier_color]" value="<?php
458
+ echo $color ;
459
+ ?>" />
460
+ <br /><i> <?php
461
+ esc_html_e( 'Select menu magnifier icon color.', 'add-search-to-menu' );
462
+ ?></i><br /><br />
463
+ <?php
464
  /**
465
  * Displays search form close icon field.
466
  */
468
  if ( !$check_value && $menu_close_icon ) {
469
  $check_value = 'menu_close_icon';
470
  }
471
+ ?>
472
+ <div>
473
+ <label for="menu_close_icon"><input class="ivory_search_close_icon" type="checkbox" id="menu_close_icon" name="is_menu_search[menu_close_icon]" value="menu_close_icon" <?php
474
+ checked( 'menu_close_icon', $check_value, true );
475
+ ?> />
476
+ <span class="toggle-check-text"></span><?php
477
+ esc_html_e( 'Display search form close icon', 'add-search-to-menu' );
478
+ ?></label>
479
+ </div> <br /><br />
480
+ <?php
481
  /**
482
  * Displays search menu title field.
483
  */
484
  $content = __( 'Add menu title to display in place of search icon.', 'add-search-to-menu' );
485
  IS_Help::help_info( $content );
486
  $this->opt['menu_title'] = ( isset( $this->opt['menu_title'] ) ? $this->opt['menu_title'] : '' );
487
+ ?>
488
+ <div><input type="text" class="ivory_search_title" id="is_menu_title" name="is_menu_search[menu_title]" value="<?php
489
+ esc_attr_e( $this->opt['menu_title'] );
490
+ ?>" />
491
+ </div> <br /><br />
492
+ </div>
493
+ <?php
494
  /**
495
  * Displays menu search form field.
496
  */
497
  $content = __( 'Select search form that will control menu search functionality.', 'add-search-to-menu' );
498
  IS_Help::help_info( $content );
 
499
  $args = array(
500
  'numberposts' => -1,
501
  'post_type' => 'is_search_form',
502
  'order' => 'ASC',
503
  );
504
  $posts = get_posts( $args );
505
+ ?>
506
+ <div>
507
+ <?php
508
 
509
  if ( !empty($posts) ) {
510
  $check_value = ( isset( $this->opt['menu_search_form'] ) ? $this->opt['menu_search_form'] : 0 );
511
+ ?>
512
+ <select class="ivory_search_form" id="menu_search_form" name="is_menu_search[menu_search_form]" >
513
+ <option value="0"><?php
514
+ _e( 'None', 'add-search-to-menu' );
515
+ ?></option>
516
+ <?php
517
  foreach ( $posts as $post ) {
518
+ ?>
519
+ <option value="<?php
520
+ echo $post->ID ;
521
+ ?>" <?php
522
+ selected( $post->ID, $check_value, true );
523
+ ?>><?php
524
+ echo $post->post_title ;
525
+ ?></option>
526
+ <?php
527
  }
528
+ ?>
529
+ </select>
530
+ <?php
531
 
532
  if ( $check_value ) {
533
+ ?>
534
+ <a href="<?php
535
+ echo esc_url( menu_page_url( 'ivory-search', false ) ) ;
536
+ ?>&post=<?php
537
+ echo $check_value ;
538
+ ?>&action=edit"> <?php
539
+ esc_html_e( 'Edit Search Form', 'add-search-to-menu' );
540
+ ?></a>
541
+ <?php
542
  } else {
543
+ ?>
544
+ <a href="<?php
545
+ echo esc_url( menu_page_url( 'ivory-search-new', false ) ) ;
546
+ ?>"> <?php
547
+ esc_html_e( "Create New", 'add-search-to-menu' );
548
+ ?></a>
549
+ <?php
550
  }
551
 
552
  }
553
 
554
+ ?>
555
+ </div><br /><br />
556
+ <?php
557
  /**
558
  * Displays search menu classes field.
559
  */
560
  $content = __( 'Add class to search form menu item.', 'add-search-to-menu' );
561
  IS_Help::help_info( $content );
562
  $this->opt['menu_classes'] = ( isset( $this->opt['menu_classes'] ) ? $this->opt['menu_classes'] : '' );
563
+ ?>
564
+ <div>
565
+ <input type="text" class="ivory_search_classes" id="is_menu_classes" name="is_menu_search[menu_classes]" value="<?php
566
+ esc_attr_e( $this->opt['menu_classes'] );
567
+ ?>" />
568
+ <br /><label for="is_menu_classes" style="font-size: 10px;"><?php
569
+ esc_html_e( 'Add multiple classes seperated by space.', 'add-search-to-menu' );
570
+ ?></label>
571
+ </div><br /><br />
572
+ <?php
573
  /**
574
  * Displays google cse field.
575
  */
576
  $content = __( 'Add Google Custom Search( CSE ) search form code that will replace default search form.', 'add-search-to-menu' );
577
  IS_Help::help_info( $content );
578
  $this->opt['menu_gcse'] = ( isset( $this->opt['menu_gcse'] ) ? $this->opt['menu_gcse'] : '' );
579
+ ?>
580
+ <div>
581
+ <input class="ivory_search_gcse" type="text" id="is_menu_gcse" name="is_menu_search[menu_gcse]" value="<?php
582
+ esc_attr_e( $this->opt['menu_gcse'] );
583
+ ?>" />
584
+ </div></div>
585
+ <?php
586
  }
587
 
588
  /**
592
  {
593
  $is_analytics = get_option( 'is_analytics', array() );
594
  $check_value = ( isset( $is_analytics['disable_analytics'] ) ? $is_analytics['disable_analytics'] : 0 );
595
+ ?>
596
+ <div>
597
+ <label for="is_disable_analytics"><select class="ivory_search_disable_analytics" id="is_disable_analytics" name="is_analytics[disable_analytics]" >
598
+ <option value="0" <?php
599
+ selected( 0, $check_value, true );
600
+ ?>><?php
601
+ _e( 'Enabled', 'add-search-to-menu' );
602
+ ?></option>
603
+ <option value="1" <?php
604
+ selected( 1, $check_value, true );
605
+ ?>><?php
606
+ _e( 'Disabled', 'add-search-to-menu' );
607
+ ?></option>
608
+ </select> <?php
609
+ esc_html_e( 'Google Analytics tracking for searches', 'add-search-to-menu' );
610
+ ?></label>
611
+ <div class="analytics-info" <?php
612
+ echo ( $check_value ? 'style="display:none;"' : '' ) ;
613
+ ?> ><br/><br/><p><?php
614
+ _e( 'Search Analytics uses Google Analytics to track searches.', 'add-search-to-menu' );
615
+ ?></p>
616
+ <p><?php
617
+ printf( __( "You need %s Google Analytics %s to be installed on your site.", 'add-search-to-menu' ), "<a target='_blank' href='https://developers.google.com/analytics/devguides/collection/analyticsjs/'>", '</a>' );
618
+ ?></p>
619
+ <p><?php
620
+ _e( 'Data will be visible inside Google Analytics \'Events\' and \'Site Search\' report.', 'add-search-to-menu' );
621
+ ?></p>
622
+ <br/><p><?php
623
+ _e( 'Events will be as below:', 'add-search-to-menu' );
624
+ ?></p>
625
+ <p><b><?php
626
+ _e( 'Category - Results Found / Nothing Found', 'add-search-to-menu' );
627
+ ?></b></p>
628
+ <p><b><?php
629
+ _e( 'Action - Ivory Search - ID', 'add-search-to-menu' );
630
+ ?></b></p>
631
+ <p><b><?php
632
+ _e( 'Label - Value of search term', 'add-search-to-menu' );
633
+ ?></b></p>
634
+ <br/><p><?php
635
+ printf( __( "Need to %s activate Site Search feature %s inside Google Analytics to display data inside 'Site Search' report.", 'add-search-to-menu' ), "<a target='_blank' href='https://support.google.com/analytics/answer/1012264'>", '</a>' );
636
+ ?></p>
637
+ <p><?php
638
+ _e( 'Enable Site search Tracking option in Site Search Settings and set its parameters as below.', 'add-search-to-menu' );
639
+ ?></p>
640
+ <p><b><?php
641
+ _e( 'Query parameter - s', 'add-search-to-menu' );
642
+ ?></b></p>
643
+ <p><b><?php
644
+ _e( 'Category parameter - id / result', 'add-search-to-menu' );
645
+ ?></b></p>
646
+ </div></div>
647
+ <?php
648
  }
649
 
650
  /**
653
  function header()
654
  {
655
  echo __( 'Select search form to display in site header( Not Menu ).', 'add-search-to-menu' ) . '<br /><br />' ;
 
656
  $args = array(
657
  'numberposts' => -1,
658
  'post_type' => 'is_search_form',
659
  );
660
  $posts = get_posts( $args );
661
+ ?>
662
+ <div>
663
+ <?php
664
 
665
  if ( !empty($posts) ) {
666
  $check_value = ( isset( $this->opt['header_search'] ) ? $this->opt['header_search'] : 0 );
667
+ ?>
668
+ <select class="ivory_search_header" id="is_header_search" name="is_settings[header_search]" >
669
+ <option value="0" <?php
670
+ selected( 0, $check_value, true );
671
+ ?>><?php
672
+ _e( 'None', 'add-search-to-menu' );
673
+ ?></option>
674
+ <?php
675
  foreach ( $posts as $post ) {
676
+ ?>
677
+ <option value="<?php
678
+ echo $post->ID ;
679
+ ?>" <?php
680
+ selected( $post->ID, $check_value, true );
681
+ ?>><?php
682
+ echo $post->post_title ;
683
+ ?></option>
684
+ <?php
685
  }
686
+ ?>
687
+ </select>
688
+ <?php
689
 
690
  if ( $check_value && get_post_type( $check_value ) ) {
691
+ ?>
692
+ <a href="<?php
693
+ echo esc_url( menu_page_url( 'ivory-search', false ) ) . '&post=' . $check_value . '&action=edit' ;
694
+ ?>"><?php
695
+ esc_html_e( "Edit", 'add-search-to-menu' );
696
+ ?></a>
697
+ <?php
698
  } else {
699
+ ?>
700
+ <a href="<?php
701
+ echo esc_url( menu_page_url( 'ivory-search-new', false ) ) ;
702
+ ?>"><?php
703
+ esc_html_e( "Create New", 'add-search-to-menu' );
704
+ ?></a>
705
+ <?php
706
  }
707
 
708
  }
709
 
710
+ ?>
711
+ <br/><br/><span class="is-help"><span class="is-info-warning"><?php
712
+ _e( 'Please note that the above option displays search form in site header and not in navigation menu.', 'add-search-to-menu' );
713
+ ?></span></span></div>
714
+ <?php
715
  }
716
 
717
  /**
719
  */
720
  function footer()
721
  {
722
+ _e( 'Select search form to display in site footer.', 'add-search-to-menu' );
723
+ ?>
724
+ <br /><br />
725
+ <div>
726
+ <?php
727
  $args = array(
728
  'numberposts' => -1,
729
  'post_type' => 'is_search_form',
732
 
733
  if ( !empty($posts) ) {
734
  $check_value = ( isset( $this->opt['footer_search'] ) ? $this->opt['footer_search'] : 0 );
735
+ ?>
736
+ <select class="ivory_search_footer" id="is_footer_search" name="is_settings[footer_search]" >
737
+ <option value="0" <?php
738
+ selected( 0, $check_value, true );
739
+ ?>><?php
740
+ _e( 'None', 'add-search-to-menu' );
741
+ ?></option>
742
+ <?php
743
  foreach ( $posts as $post ) {
744
+ ?>
745
+ <option value="<?php
746
+ echo $post->ID ;
747
+ ?>" <?php
748
+ selected( $post->ID, $check_value, true );
749
+ ?>><?php
750
+ echo $post->post_title ;
751
+ ?></option>
752
+ <?php
753
  }
754
+ ?>
755
+ </select>
756
+ <?php
757
 
758
  if ( $check_value && get_post_type( $check_value ) ) {
759
+ ?>
760
+ <a href="<?php
761
+ echo esc_url( menu_page_url( 'ivory-search', false ) ) . '&post=' . $check_value . '&action=edit' ;
762
+ ?>"> <?php
763
+ esc_html_e( "Edit", 'add-search-to-menu' );
764
+ ?></a>
765
+ <?php
766
  } else {
767
+ ?>
768
+ <a href="<?php
769
+ echo esc_url( menu_page_url( 'ivory-search-new', false ) ) ;
770
+ ?>"> <?php
771
+ esc_html_e( "Create New", 'add-search-to-menu' );
772
+ ?></a>
773
+ <?php
774
  }
775
 
776
  }
777
 
778
+ ?>
779
+ </div>
780
+ <?php
781
  }
782
 
783
  /**
787
  {
788
  $check_value = ( isset( $this->opt['header_menu_search'] ) ? $this->opt['header_menu_search'] : 0 );
789
  $check_string = checked( 'header_menu_search', $check_value, false );
790
+ ?>
791
+ <div>
792
+ <label for="is_search_in_header"><input class="ivory_search_display_in_header" type="checkbox" id="is_search_in_header" name="is_settings[header_menu_search]" value="header_menu_search" <?php
793
+ echo $check_string ;
794
+ ?>/>
795
+ <span class="toggle-check-text"></span><?php
796
+ esc_html_e( 'Display search form in site header on mobile devices', 'add-search-to-menu' );
797
+ ?></label>
798
+ </div><br />
799
+ <?php
800
  $content = __( 'If this site uses cache then please select the below option to display search form on mobile.', 'add-search-to-menu' );
801
  IS_Help::help_info( $content );
802
  $check_value = ( isset( $this->opt['site_uses_cache'] ) ? $this->opt['site_uses_cache'] : 0 );
803
  $check_string = checked( 'site_uses_cache', $check_value, false );
804
+ ?>
805
+ <div>
806
+ <label for="is_site_uses_cache"><input class="ivory_search_display_in_header" type="checkbox" id="is_site_uses_cache" name="is_settings[site_uses_cache]" value="site_uses_cache" <?php
807
+ echo $check_string ;
808
+ ?>/>
809
+ <span class="toggle-check-text"></span><?php
810
+ esc_html_e( 'This site uses cache', 'add-search-to-menu' );
811
+ ?></label>
812
+ </div>
813
+ <?php
814
  }
815
 
816
  /**
818
  */
819
  function custom_css()
820
  {
821
+ _e( 'Add custom CSS code.', 'add-search-to-menu' );
822
  $this->opt['custom_css'] = ( isset( $this->opt['custom_css'] ) ? $this->opt['custom_css'] : '' );
823
+ ?>
824
+ <br /><br />
825
+ <div>
826
+ <textarea class="ivory_search_css" rows="4" id="custom_css" name="is_settings[custom_css]" ><?php
827
+ esc_attr_e( $this->opt['custom_css'] );
828
+ ?></textarea>
829
+ </div>
830
+ <?php
831
  }
832
 
833
  /**
835
  */
836
  function stopwords()
837
  {
838
+ echo __( 'Add Stopwords that will not be searched.', 'add-search-to-menu' ) ;
839
  $this->opt['stopwords'] = ( isset( $this->opt['stopwords'] ) ? $this->opt['stopwords'] : '' );
840
+ ?>
841
+ <br /><br />
842
+ <div>
843
+ <textarea class="ivory_search_stopwords" rows="4" id="stopwords" name="is_settings[stopwords]" ><?php
844
+ esc_attr_e( $this->opt['stopwords'] );
845
+ ?></textarea>
846
+ <br /><label for="stopwords" style="font-size: 10px;"><?php
847
+ esc_html_e( 'Please separate multiple words with commas.', 'add-search-to-menu' );
848
+ ?></label>
849
+ </div>
850
+ <?php
851
  }
852
 
853
  /**
855
  */
856
  function synonyms()
857
  {
858
+ _e( 'Add synonyms to make the searches find better results.', 'add-search-to-menu' );
859
+ ?>
860
+ <br /><br />
861
+ <?php
862
  $content = __( 'If you add bird = crow to the list of synonyms, searches for bird automatically become a search for bird crow and will thus match to posts that include either bird or crow.', 'add-search-to-menu' );
863
  IS_Help::help_info( $content );
864
  $this->opt['synonyms'] = ( isset( $this->opt['synonyms'] ) ? $this->opt['synonyms'] : '' );
865
+ ?>
866
+ <div>
867
+ <textarea class="ivory_search_synonyms" rows="4" id="synonyms" name="is_settings[synonyms]" ><?php
868
+ esc_attr_e( $this->opt['synonyms'] );
869
+ ?></textarea>
870
+ <br /><label for="synonyms" style="font-size: 10px;"><?php
871
+ esc_html_e( 'The format here is key = value', 'add-search-to-menu' );
872
+ ?></label>
873
+ <br /><label for="synonyms" style="font-size: 10px;"><?php
874
+ esc_html_e( 'Please add every synonyms key = value pairs on new line.', 'add-search-to-menu' );
875
+ ?></label>
876
+ </div>
877
+ <br /><span class="is-help"><span class="is-info-warning"><?php
878
+ _e( 'This only works for search forms configured to search any of the search terms(OR) and not all search terms(AND) in the search form Options.', 'add-search-to-menu' );
879
+ ?></span></span>
880
+ <?php
881
  }
882
 
883
  /**
891
  'css' => __( 'Do not load plugin CSS files', 'add-search-to-menu' ),
892
  'js' => __( 'Do not load plugin JavaScript files', 'add-search-to-menu' ),
893
  );
894
+ ?> <div> <?php
895
  foreach ( $styles as $key => $file ) {
896
  $check_value = ( isset( $this->opt['not_load_files'][$key] ) ? $this->opt['not_load_files'][$key] : 0 );
897
  $check_string = checked( $key, $check_value, false );
898
+ if ( 'js' === $key ) {
899
+ ?>
900
+ <br />
901
+ <?php
902
  }
903
+ ?>
904
+ <br /><label for="not_load_files[<?php
905
+ esc_attr_e( $key );
906
+ ?>]"><input class="not_load_files" type="checkbox" id="not_load_files[<?php
907
+ esc_attr_e( $key );
908
+ ?>]" name="is_settings[not_load_files][<?php
909
+ esc_attr_e( $key );
910
+ ?>]" value="<?php
911
+ esc_attr_e( $key );
912
+ ?>" <?php
913
+ echo $check_string ;
914
+ ?>/>
915
+ <span class="toggle-check-text"></span><?php
916
+ esc_html_e( $file );
917
+ ?></label>
918
+ <span class="not-load-wrapper">
919
+ <?php
920
 
921
+ if ( 'css' === $key ) {
922
+ ?>
923
+ <br /><label for="not_load_files[<?php
924
+ esc_attr_e( $key );
925
+ ?>]" style="font-size: 10px;"><?php
926
+ esc_html_e( 'If checked, you have to add following plugin file code into your child theme CSS file.', 'add-search-to-menu' );
927
+ ?></label>
928
+ <br /><a style="font-size: 13px;" target="_blank" href="<?php
929
+ echo plugins_url( '/public/css/ivory-search.css', IS_PLUGIN_FILE ) ;
930
+ ?>"><?php
931
+ echo plugins_url( '/public/css/ivory-search.css', IS_PLUGIN_FILE ) ;
932
+ ?></a>
933
+ <br /><a style="font-size: 13px;" target="_blank" href="<?php
934
+ echo plugins_url( '/public/css/ivory-ajax-search.css', IS_PLUGIN_FILE ) ;
935
+ ?>"><?php
936
+ echo plugins_url( '/public/css/ivory-ajax-search.css', IS_PLUGIN_FILE ) ;
937
+ ?></a>
938
+ <br />
939
+ <?php
940
  } else {
941
+ ?>
942
+ <br /><label for="not_load_files[<?php
943
+ esc_attr_e( $key );
944
+ ?>]" style="font-size: 10px;"><?php
945
+ esc_html_e( "If checked, you have to add following plugin files code into your child theme JavaScript file.", 'add-search-to-menu' );
946
+ ?></label>
947
+ <br /><a style="font-size: 13px;" target="_blank" href="<?php
948
+ echo plugins_url( '/public/js/ivory-search.js', IS_PLUGIN_FILE ) ;
949
+ ?>"><?php
950
+ echo plugins_url( '/public/js/ivory-search.js', IS_PLUGIN_FILE ) ;
951
+ ?></a>
952
+ <br /><a style="font-size: 13px;" target="_blank" href="<?php
953
+ echo plugins_url( '/public/js/is-highlight.js', IS_PLUGIN_FILE ) ;
954
+ ?>"><?php
955
+ echo plugins_url( '/public/js/is-highlight.js', IS_PLUGIN_FILE ) ;
956
+ ?></a>
957
+ <br /><a style="font-size: 13px;" target="_blank" href="<?php
958
+ echo plugins_url( '/public/js/ivory-ajax-search.js', IS_PLUGIN_FILE ) ;
959
+ ?>"><?php
960
+ echo plugins_url( '/public/js/ivory-ajax-search.js', IS_PLUGIN_FILE ) ;
961
+ ?></a>
962
+ <?php
963
  }
964
 
965
+ ?>
966
+ </span>
967
+ <?php
968
  }
969
+ ?>
970
+ </div>
971
+ <?php
972
  }
973
 
974
  function advanced()
979
  $content = '<span class="is-info-warning">' . __( 'Warning: Use with caution.', 'add-search-to-menu' ) . '</span>';
980
  IS_Help::help_info( $content );
981
  $check_value = ( isset( $this->opt['default_search'] ) ? $this->opt['default_search'] : 0 );
982
+ ?>
983
+ <div>
984
+ <label for="is_default_search"><input class="ivory_search_default" type="checkbox" id="is_default_search" name="is_settings[default_search]" value="1" <?php
985
+ checked( 1, $check_value, true );
986
+ ?>/>
987
+ <span class="toggle-check-text"></span><?php
988
+ esc_html_e( 'Do not use Default Search Form to control WordPress default search functionality', 'add-search-to-menu' );
989
+ ?></label>
990
+ </div><br />
991
+ <?php
992
  /**
993
  * Disables search functionality on whole site.
994
  */
995
  $check_value = ( isset( $this->opt['disable'] ) ? $this->opt['disable'] : 0 );
996
+ ?>
997
+ <div>
998
+ <label for="is_disable"><input class="ivory_search_disable" type="checkbox" id="is_disable" name="is_settings[disable]" value="1" <?php
999
+ checked( 1, $check_value, true );
1000
+ ?> />
1001
+ <span class="toggle-check-text"></span><?php
1002
+ esc_html_e( 'Disable search functionality on entire website', 'add-search-to-menu' );
1003
+ ?></label>
1004
+ </div><br />
1005
+ <?php
1006
  /**
1007
  * Display search forms easy to edit links.
1008
  */
1009
  $check_value = ( isset( $this->opt['easy_edit'] ) ? $this->opt['easy_edit'] : 0 );
1010
+ ?>
1011
+ <div>
1012
+ <br /><label for="is_easy_edit"><input class="ivory_search_easy_edit" type="checkbox" id="is_easy_edit" name="is_settings[easy_edit]" value="1" <?php
1013
+ checked( 1, $check_value, true );
1014
+ ?> />
1015
+ <span class="toggle-check-text"></span><?php
1016
+ esc_html_e( 'Display easy edit links of search form on the website frontend to the admin users', 'add-search-to-menu' );
1017
+ ?></label>
1018
+ </div>
1019
+ <?php
1020
  }
1021
 
1022
  }
admin/css/ivory-search-admin.css CHANGED
@@ -569,11 +569,11 @@ span.shortcode > input:focus,
569
  width: 100%;
570
  }
571
 
572
- .form-table h3 .actions {
573
  float: right;
574
  }
575
 
576
- .form-table h3 .actions a {
577
  color: #72777c;
578
  text-decoration: none;
579
  font-size: 11px;
@@ -600,12 +600,21 @@ span.shortcode > input:focus,
600
  content: "\f347";
601
  }
602
 
603
- .form-table > div {
 
 
 
 
 
 
 
 
604
  background-color: #FFF;
605
  padding: 25px 15px;
606
  border: 1px solid #e5e5e5;
607
  border-radius: 0 0 3px 3px;
608
  border-top: 0;
 
609
  }
610
 
611
  .form-table > div::after {
@@ -862,11 +871,10 @@ span.shortcode > input:focus,
862
 
863
  .is-cb-multisel {
864
  width: auto;
865
- display: none;
866
  border-radius: 4px;
867
  -webkit-box-shadow: 0 6px 12px rgba(0,0,0,0.175);
868
  box-shadow: 0 6px 12px rgba(0,0,0,0.175);
869
- position: absolute;
870
  top: 100%;
871
  left: 0;
872
  background: #FFF;
569
  width: 100%;
570
  }
571
 
572
+ .form-table h3 .is-actions {
573
  float: right;
574
  }
575
 
576
+ .form-table h3 .is-actions a {
577
  color: #72777c;
578
  text-decoration: none;
579
  font-size: 11px;
600
  content: "\f347";
601
  }
602
 
603
+ #search-body .form-table h3.ui-state-active:not(.ui-accordion-header-active) {
604
+ margin-top: 30px;
605
+ }
606
+
607
+ #search-body .form-table h3.ui-state-active#ui-id-1 {
608
+ margin: 0.5em 0 0;
609
+ }
610
+
611
+ #poststuff #search-body .form-table > div {
612
  background-color: #FFF;
613
  padding: 25px 15px;
614
  border: 1px solid #e5e5e5;
615
  border-radius: 0 0 3px 3px;
616
  border-top: 0;
617
+ overflow: visible;
618
  }
619
 
620
  .form-table > div::after {
871
 
872
  .is-cb-multisel {
873
  width: auto;
874
+ display: table-cell;
875
  border-radius: 4px;
876
  -webkit-box-shadow: 0 6px 12px rgba(0,0,0,0.175);
877
  box-shadow: 0 6px 12px rgba(0,0,0,0.175);
 
878
  top: 100%;
879
  left: 0;
880
  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 .actions{float:right}.form-table h3 .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"}.form-table>div{background-color:#fff;padding:25px 15px;border:1px solid #e5e5e5;border-radius:0 0 3px 3px;border-top:0}.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}.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:none;border-radius:4px;-webkit-box-shadow:0 6px 12px rgba(0,0,0,.175);box-shadow:0 6px 12px rgba(0,0,0,.175);position:absolute;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}.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}
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}.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}.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}
admin/js/ivory-search-admin.js CHANGED
@@ -8,7 +8,8 @@
8
 
9
  $( function() {
10
 
11
- $( window ).load( function() {
 
12
  $( '.col-wrapper .load-all' ).on( 'click', function() {
13
  var post_id = $('#post_ID').val();
14
  var post_type = $(this).attr('id');
@@ -78,11 +79,12 @@
78
  return date;
79
  }
80
 
81
- $('.form-table .actions a.expand').click( function() {
82
- $('.form-table .actions a.expand').hide();
83
- $('.form-table .ui-accordion-header:not(.is-ptype-hidden), .form-table .ui-accordion-content:not(.is-ptype-hidden), .form-table .actions a.collapse').show();
 
84
  $('.form-table .ui-accordion-content').addClass('ui-accordion-content-active');
85
- $('.form-table h3').addClass('ui-state-active');
86
  if ( history.pushState ) {
87
  var newurl = window.location.href.split('#')[0]+ '#expand';
88
  window.history.pushState({path:newurl},'',newurl);
@@ -94,9 +96,9 @@
94
  return false;
95
  } );
96
 
97
- $('.form-table .actions a.collapse').click( function() {
98
- $('.form-table .actions a.expand').show();
99
- $('.form-table .ui-accordion-content, .form-table .actions a.collapse').hide();
100
  $('.form-table .ui-accordion-content').removeClass('ui-accordion-content-active');
101
  $('.form-table h3').removeClass('ui-state-active');
102
  if ( history.pushState ) {
@@ -122,6 +124,7 @@
122
  collapsible: true,
123
  heightStyle: "content",
124
  icons: false,
 
125
  create: function( event, ui ) {
126
  if ( 2 === accordion_id.length ) {
127
  var temp_id = accordion_id[1].split('-');
@@ -135,14 +138,14 @@
135
  } else {
136
  switch( accordion_id[1] ) {
137
  case 'expand':
138
- $('.form-table .actions a.expand').hide();
139
- $('.form-table .ui-accordion-content, .form-table .actions a.collapse').show();
140
  $('.form-table .ui-accordion-content').addClass('ui-accordion-content-active');
141
- $('.form-table h3').addClass('ui-state-active');
142
  break;
143
  case 'collapse':
144
- $('.form-table .actions a.expand').show();
145
- $('.form-table .ui-accordion-content, .form-table .actions a.collapse').hide();
146
  $('.form-table .ui-accordion-content').removeClass('ui-accordion-content-active');
147
  $('.form-table h3').removeClass('ui-state-active');
148
  break;
@@ -171,6 +174,8 @@
171
  }
172
  } );
173
 
 
 
174
  $('.is-colorpicker').wpColorPicker();
175
 
176
  $('#search-body select[multiple] option').mousedown(function(e) {
@@ -477,7 +482,7 @@
477
  if ( $( this ).is(':checked') ) {
478
  return;
479
  } else {
480
- alert('You can configure it to exclude from search in the search form Excludes section');
481
  return false;
482
  }
483
  }
@@ -528,6 +533,14 @@
528
  }
529
  } );
530
 
 
 
 
 
 
 
 
 
531
  $('#search-form-editor .not_load_files').each(function() {
532
  if( ! $( this ).is(':checked') ) {
533
  $( this ).parent().next('.not-load-wrapper').hide();
8
 
9
  $( function() {
10
 
11
+ $( window ).on( 'load', function() {
12
+ $( '.is-cb-dropdown .is-cb-multisel' ).css({ 'position': 'absolute', 'display': 'none' });
13
  $( '.col-wrapper .load-all' ).on( 'click', function() {
14
  var post_id = $('#post_ID').val();
15
  var post_type = $(this).attr('id');
79
  return date;
80
  }
81
 
82
+ if ( 1 < $(".form-table h3[scope=row]").length ) {
83
+ $('.form-table .is-actions a.expand').click( function() {
84
+ $('.form-table .is-actions a.expand').hide();
85
+ $('.form-table .ui-accordion-header:not(.is-ptype-hidden), .form-table .ui-accordion-content:not(.is-ptype-hidden), .form-table .is-actions a.collapse').show();
86
  $('.form-table .ui-accordion-content').addClass('ui-accordion-content-active');
87
+ $('.form-table h3').addClass('ui-state-active').removeClass('ui-accordion-header-active');
88
  if ( history.pushState ) {
89
  var newurl = window.location.href.split('#')[0]+ '#expand';
90
  window.history.pushState({path:newurl},'',newurl);
96
  return false;
97
  } );
98
 
99
+ $('.form-table .is-actions a.collapse').click( function() {
100
+ $('.form-table .is-actions a.expand').show();
101
+ $('.form-table .ui-accordion-content, .form-table .is-actions a.collapse').hide();
102
  $('.form-table .ui-accordion-content').removeClass('ui-accordion-content-active');
103
  $('.form-table h3').removeClass('ui-state-active');
104
  if ( history.pushState ) {
124
  collapsible: true,
125
  heightStyle: "content",
126
  icons: false,
127
+ active: false,
128
  create: function( event, ui ) {
129
  if ( 2 === accordion_id.length ) {
130
  var temp_id = accordion_id[1].split('-');
138
  } else {
139
  switch( accordion_id[1] ) {
140
  case 'expand':
141
+ $('.form-table .is-actions a.expand').hide();
142
+ $('.form-table .ui-accordion-content, .form-table .is-actions a.collapse').show();
143
  $('.form-table .ui-accordion-content').addClass('ui-accordion-content-active');
144
+ $('.form-table h3').addClass('ui-state-active').removeClass('ui-accordion-header-active');
145
  break;
146
  case 'collapse':
147
+ $('.form-table .is-actions a.expand').show();
148
+ $('.form-table .ui-accordion-content, .form-table .is-actions a.collapse').hide();
149
  $('.form-table .ui-accordion-content').removeClass('ui-accordion-content-active');
150
  $('.form-table h3').removeClass('ui-state-active');
151
  break;
174
  }
175
  } );
176
 
177
+ }
178
+
179
  $('.is-colorpicker').wpColorPicker();
180
 
181
  $('#search-body select[multiple] option').mousedown(function(e) {
482
  if ( $( this ).is(':checked') ) {
483
  return;
484
  } else {
485
+ alert('You can configure it to exclude from search in the search form Exclude section');
486
  return false;
487
  }
488
  }
533
  }
534
  } );
535
 
536
+ $( '#search-form-editor .post-type-attachment .is-posts option' ).on( 'click', function() {
537
+ if ( 0 === $('#search-form-editor .post-type-attachment .is-posts option:selected').length ) {
538
+ $( '.is-mime-radio, .search-attachments-wrapper' ).show();
539
+ } else {
540
+ $( '.is-mime-radio, .is-mime, .search-attachments-wrapper' ).hide();
541
+ }
542
+ } );
543
+
544
  $('#search-form-editor .not_load_files').each(function() {
545
  if( ! $( this ).is(':checked') ) {
546
  $( this ).parent().next('.not-load-wrapper').hide();
admin/js/ivory-search-admin.min.js CHANGED
@@ -1 +1 @@
1
- !function(e){"use strict";function t(){e.each(["image","video","audio","text","pdf"],function(t,i){0===e('.is-mime select option[value*="'+i+'"]:selected').length?e('.search-attachments[name*="'+i+'"]').prop("checked",!1):e('.search-attachments[name*="'+i+'"]').prop("checked",!0)}),0===e('.is-mime select option[value*="doc"]:selected').length&&0===e('.is-mime select option[value*="excel"]:selected').length&&0===e('.is-mime select option[value*="word"]:selected').length?e('.search-attachments[name*="doc"]').prop("checked",!1):e('.search-attachments[name*="doc"]').prop("checked",!0)}function i(){e("._is_settings-highlight_terms").is(":checked")?e(".highlight-container").removeClass("is-field-disabled").show():e(".highlight-container").addClass("is-field-disabled").hide()}function s(){e(".ivory_search_locations").is(":checked")||e(".ivory_search_menu_name").is(":checked")?e(".menu-settings-container").removeClass("is-field-disabled").show():e(".menu-settings-container").addClass("is-field-disabled").hide()}function a(t){void 0!==t&&"default"!==t||!e("#is_menu_styledefault").is(":checked")?e(".form-style-dependent").removeClass("is-field-disabled").show():e(".form-style-dependent").addClass("is-field-disabled").hide()}function o(){e("#_is_ajax-show_description").is(":checked")?e("._is_ajax-description_source_wrap, ._is_ajax-description_length_wrap").removeClass("is-field-disabled").show():e("._is_ajax-description_source_wrap, ._is_ajax-description_length_wrap").addClass("is-field-disabled").hide()}function c(){e("#_is_ajax-show_details_box").is(":checked")&&(e("#_is_ajax-show_matching_categories").is(":checked")||e("#_is_ajax-show_matching_tags").is(":checked"))?e("._is_ajax-product_list_wrap, ._is_ajax-order_by_wrap, ._is_ajax-order_wrap").removeClass("is-field-disabled").show():e("._is_ajax-product_list_wrap, ._is_ajax-order_by_wrap, ._is_ajax-order_wrap").addClass("is-field-disabled").hide()}function n(){e("#_is_ajax-show_more_result").is(":checked")?e("._is_ajax-more_result_text_wrap, ._is_ajax-show_more_func_wrap").removeClass("is-field-disabled").show():e("._is_ajax-more_result_text_wrap, ._is_ajax-show_more_func_wrap").addClass("is-field-disabled").hide()}function l(){e("#_is_ajax-view_all_results").is(":checked")?e("._is_ajax-view_all_text_wrap").removeClass("is-field-disabled").show():e("._is_ajax-view_all_text_wrap").addClass("is-field-disabled").hide()}function r(){e("#_is_ajax-show_more_result").is(":checked")?e("._is_ajax-more_result_text_wrap").removeClass("is-field-disabled").show():e("._is_ajax-more_result_text_wrap").addClass("is-field-disabled").hide()}function d(){e("#_is_customize-enable_customize").is(":checked")?e(".form-table-panel-customize .is-field-wrap").removeClass("is-field-disabled"):e(".form-table-panel-customize .is-field-wrap").addClass("is-field-disabled")}function h(){window.setTimeout(function(){1==confirm("A page reload is required for this change.")?(e("#_is_ajax-enable_ajax").is(":checked")?e(".form-table-panel-ajax .is-field-wrap").removeClass("is-field-disabled"):e(".form-table-panel-ajax .is-field-wrap").addClass("is-field-disabled"),e("#is-admin-form-element").submit()):e("#_is_ajax-enable_ajax").is(":checked")?e("#_is_ajax-enable_ajax").prop("checked",!1):e("#_is_ajax-enable_ajax").prop("checked",!0)},300)}function p(){"1"===e("#is_disable_analytics").val()?e("#is_disable_analytics").closest("div").find(".analytics-info").hide():e("#is_disable_analytics").closest("div").find(".analytics-info").show()}"undefined"!=typeof ivory_search&&null!==ivory_search&&(e(function(){e(window).load(function(){e(".col-wrapper .load-all").on("click",function(){var t=e("#post_ID").val(),i=e(this).attr("id"),s=e(this),a=e(".search-form-editor-panel").attr("id");e(this).parent().append('<span class="spinner"></span>'),e.ajax({type:"post",url:ivory_search.ajaxUrl,data:{action:"display_posts",post_id:t,post_type:i,inc_exc:a},success:function(t){e(s).parent().find("select").find("option").remove().end().append(t),e(s).parent().find("select option:selected").length&&e(s).parent().find(".col-title span").html("<strong>"+e(s).parent().find(".col-title").text()+"</strong>"),e(s).parent().find(".spinner").remove(),e(s).remove()},error:function(e,t){alert(" The posts could not be loaded. Because: "+t)}})})}),e(document).ready(function(){"menu-search"===window.location.href.split("=").pop()&&(e("#toplevel_page_ivory-search .wp-submenu-wrap li, #toplevel_page_ivory-search .wp-submenu-wrap li a").removeClass("current"),e("#toplevel_page_ivory-search .wp-submenu-wrap li:nth-child(4), #toplevel_page_ivory-search .wp-submenu-wrap li:nth-child(4) a").addClass("current"))});var t="d-m-yy",i=e("#is-after-datepicker").datepicker({dateFormat:"d-m-yy",changeMonth:!0,changeYear:!0}).on("change",function(){s.datepicker("option","minDate",a(this))}),s=e("#is-before-datepicker").datepicker({dateFormat:"d-m-yy",changeMonth:!0,changeYear:!0}).on("change",function(){i.datepicker("option","maxDate",a(this))});function a(i){var s;try{s=e.datepicker.parseDate(t,i.value)}catch(e){s=null}return s}e(".form-table .actions a.expand").click(function(){if(e(".form-table .actions a.expand").hide(),e(".form-table .ui-accordion-header:not(.is-ptype-hidden), .form-table .ui-accordion-content:not(.is-ptype-hidden), .form-table .actions a.collapse").show(),e(".form-table .ui-accordion-content").addClass("ui-accordion-content-active"),e(".form-table h3").addClass("ui-state-active"),history.pushState){var t=window.location.href.split("#")[0]+"#expand";window.history.pushState({path:t},"",t),e('form input[name="_wp_http_referer"]').val(e('form input[name="_wp_http_referer"]').val().split("#")[0]+"#expand"),e("#is-admin-form-element").length&&e("#is-admin-form-element").attr("action",e("#is-admin-form-element").attr("action").split("#")[0]+"#expand")}return!1}),e(".form-table .actions a.collapse").click(function(){if(e(".form-table .actions a.expand").show(),e(".form-table .ui-accordion-content, .form-table .actions a.collapse").hide(),e(".form-table .ui-accordion-content").removeClass("ui-accordion-content-active"),e(".form-table h3").removeClass("ui-state-active"),history.pushState){var t=window.location.href.split("#")[0]+"#collapse";window.history.pushState({path:t},"",t),e('form input[name="_wp_http_referer"]').val(e('form input[name="_wp_http_referer"]').val().split("#")[0]+"#collapse"),e("#is-admin-form-element").length&&e("#is-admin-form-element").attr("action",e("#is-admin-form-element").attr("action").split("#")[0]+"#collapse")}return!1});var o=window.location.href.split("#");2===o.length&&(e('form input[name="_wp_http_referer"]').val(e('form input[name="_wp_http_referer"]').val().split("#")[0]+"#"+o[1]),e("#is-admin-form-element").length&&e("#is-admin-form-element").attr("action",e("#is-admin-form-element").attr("action").split("#")[0]+"#"+o[1])),e(".form-table").accordion({collapsible:!0,heightStyle:"content",icons:!1,create:function(t,i){if(2===o.length){var s=o[1].split("-");if(3===s.length)s=s[2]/2-1,e(".form-table").accordion("option","active",s),e("html, body").animate({scrollTop:e("#"+o[1]).offset().top-200},500);else switch(o[1]){case"expand":e(".form-table .actions a.expand").hide(),e(".form-table .ui-accordion-content, .form-table .actions a.collapse").show(),e(".form-table .ui-accordion-content").addClass("ui-accordion-content-active"),e(".form-table h3").addClass("ui-state-active");break;case"collapse":e(".form-table .actions a.expand").show(),e(".form-table .ui-accordion-content, .form-table .actions a.collapse").hide(),e(".form-table .ui-accordion-content").removeClass("ui-accordion-content-active"),e(".form-table h3").removeClass("ui-state-active")}}else 1<e(".form-table h3[scope=row]").length?e(".form-table").accordion("option","active",!1):e(".form-table").accordion("option","active",0)}}),e(".form-table h3").click(function(){var t=e(this).attr("aria-controls");if(history.pushState){var i=window.location.href.split("#")[0]+"#"+t;window.history.pushState({path:i},"",i),e('form input[name="_wp_http_referer"]').val(e('form input[name="_wp_http_referer"]').val().split("#")[0]+"#"+t),e("#is-admin-form-element").length&&e("#is-admin-form-element").attr("action",e("#is-admin-form-element").attr("action").split("#")[0]+"#"+t)}}),e(".is-colorpicker").wpColorPicker(),e("#search-body select[multiple] option").mousedown(function(t){if(e(this).attr("selected"))return e(this).removeAttr("selected"),!1}),e(".col-title .list-search").keyup(function(){var t=e(this).val().toLowerCase(),i=e(this).parent().parent().find("select option");e(i).each(function(){-1===e(this).text().toLowerCase().indexOf(t)?e(this).fadeOut("fast"):e(this).fadeIn("fast")})}),e(".list-search.wide").keyup(function(){var t=e(this).val().toLowerCase(),i=e(this).parent().find("select option");e(i).each(function(){-1===e(this).text().toLowerCase().indexOf(t)?e(this).fadeOut("fast"):e(this).fadeIn("fast")})}),""===e("#title").val()&&e("#title").focus(),0!==e("#title").length&&ivory_search.titleHint();var c=!1;e(document).on("submit","form",function(t){c=!1,e(window).off("beforeunload")}),e(window).on("beforeunload",function(t){if(e('#search-body :input[type!="hidden"]').each(function(){e(this).hasClass("wp-color-result")||(e(this).is(":checkbox, :radio")?this.defaultChecked!=e(this).is(":checked")&&(c=!0):e(this).is("select")?e(this).find("option").each(function(){this.defaultSelected!=e(this).is(":selected")&&"0"!=e(this).val()&&"Default Search Form"!=e(this).text()&&(c=!0)}):this.defaultValue!=e(this).val()&&(c=!0))}),c)return t.returnValue=ivory_search.saveAlert,ivory_search.saveAlert}),e("#is-admin-form-element").submit(function(){"copy"!=this.action.value&&e(window).off("beforeunload"),"save"==this.action.value&&e("#publishing-action .spinner").addClass("is-active")}),e("#search-body #titlewrap").hover(function(){if(e(this).find("#title[disabled]").length){var t=e(this).find("#title[disabled]").attr("title");e(this).find("#title[disabled]").data("tipText",t).removeAttr("title"),e('<p class="title_tooltip"></p>').text(t).appendTo("body")}},function(){e(this).find("#title[disabled]").attr("title",e(this).find("#title[disabled]").data("tipText")),e(".title_tooltip").remove()}).mousemove(function(t){var i=t.pageX+20,s=t.pageY-40;e(".title_tooltip").css({top:s,left:i})}),e("#search-form-editor-tabs li").hover(function(){var t=e(this).find("a").attr("title");e(this).find("a").data("tipText",t).removeAttr("title"),e('<p class="title_tooltip '+e(this).attr("id")+'"></p>').text(t).appendTo("body").fadeIn("slow")},function(){e(this).find("a").attr("title",e(this).find("a").data("tipText")),e(".title_tooltip."+e(this).attr("id")).remove()}).mousemove(function(t){var i=t.pageX+20,s=t.pageY-40;e(".title_tooltip."+e(this).attr("id")).css({top:s,left:i})})}),ivory_search.titleHint=function(){var t=e("#title"),i=e("#title-prompt-text");""===t.val()&&i.removeClass("screen-reader-text"),i.click(function(){e(this).addClass("screen-reader-text"),t.focus()}),t.blur(function(){""===e(this).val()&&i.removeClass("screen-reader-text")}).focus(function(){i.addClass("screen-reader-text")}).keydown(function(t){i.addClass("screen-reader-text"),e(this).unbind(t)})},e(".is-cb-dropdown .is-cb-title").on("click",function(){e(this).hasClass("is-dropdown-toggle")?e(this).removeClass("is-dropdown-toggle"):e(this).addClass("is-dropdown-toggle"),e(this).parents(".is-cb-dropdown").find(".is-cb-multisel").slideToggle("fast")}),e(document).bind("click",function(t){e(t.target).parents().hasClass("is-cb-dropdown")||(e(".is-cb-dropdown .is-cb-multisel").hide(),e(".is-cb-title").removeClass("is-dropdown-toggle"))}),e('.is-cb-multisel input[type="checkbox"]').on("click",function(){var t=e(this).val(),i=e(this).parent().text().trim();if(e(this).is(":checked")){var s='<span title="'+t+'"> '+i+"</span>";e(this).parents(".is-cb-dropdown").find(".is-cb-titles").append(s),e(this).parents(".is-cb-dropdown").find(".is-cb-select").hide(),e(".form-table h3.post-type-"+t).show(),e(".form-table .post-type-"+t).show().removeClass("is-ptype-hidden")}else e(".form-table .post-type-"+t).hide().addClass("is-ptype-hidden"),e(this).parents(".is-cb-dropdown").find('.is-cb-titles span[title="'+t+'"]').remove(),0===e(this).parents(".is-cb-dropdown").find(".is-cb-titles span").length&&e(this).parents(".is-cb-dropdown").find(".is-cb-select").show()}),e("#search-form-editor .is-mime-select, #search-form-editor .is-post-select, #search-form-editor .is-tax-select, #search-form-editor .is-meta-select").each(function(){e(this).is(":checked")?("all"===e(this).val()&&(e(this).hasClass("is-post-select")?e(this).closest("div").find(".is-posts").hide():e(this).hasClass("is-tax-select")?e(this).closest("div").find(".is-taxes").hide():e(this).hasClass("is-mime-select")&&e(this).closest("div").find(".is-mime").hide()),e(this).hasClass("is-meta-select")&&e(this).closest("div").find(".is-metas").show()):e(this).hasClass("is-meta-select")&&e(this).closest("div").find(".is-metas").hide()}),e("#search-form-editor .is-post-select, #search-form-editor .is-tax-select, #search-form-editor .is-meta-select, #search-form-editor .is-mime-select").on("click",function(){e(this).hasClass("is-meta-select")?e(this).is(":checked")?e(this).closest("div").find(".is-metas").show():(e(this).closest("div").find(".is-metas").hide(),e(this).closest("div").find(".is-metas select option").prop("selected",!1)):"selected"===e(this).val()?e(this).hasClass("is-post-select")?(e(this).closest("div").find(".is-posts").show(),e(this).closest("div").find(".notice-is-info").hide()):e(this).hasClass("is-tax-select")?e(this).closest("div").find(".is-taxes").show():e(this).hasClass("is-mime-select")&&e(this).closest("div").find(".is-mime").show():e(this).hasClass("is-post-select")?(e(this).closest("div").find(".is-posts").hide(),e(this).closest("div").find(".notice-is-info").show(),e(this).closest("div").find(".is-posts select option").prop("selected",!1)):e(this).hasClass("is-tax-select")?(e(this).closest("div").find(".is-taxes").hide(),e(this).closest("div").find(".is-taxes select option").prop("selected",!1)):e(this).hasClass("is-mime-select")&&(e(this).closest("div").find(".is-mime").hide(),e(this).closest("div").find(".is-mime select option").prop("selected",!1))}),e('.includes_extras input[type="checkbox"]').on("click",function(){e(this).is(":checked")||e(this).closest(".includes_extras").find('input[type="checkbox"]:checked').length||alert("Please make sure that you have configured the search form to search any content")}),e("#search-form-editor .is-mime option").on("click",function(){e(this).is(":checked")?t():0===e(".is-mime select option:selected").length&&(e("#includes").length?e(".search-attachments").prop("checked",!0):e(".search-attachments").prop("checked",!1))}),e("#search-form-editor .is-mime-select").on("click",function(){"all"===e(this).val()&&(e("#excludes").length?e(".search-attachments").prop("checked",!1):e(".search-attachments").prop("checked",!0))}),0!==e(".is-mime select option:selected").length&&t(),e(".search-attachments-wrapper").show(),e(".search-attachments").on("click",function(){if(0===e(".is-mime select option:selected").length&&!e(this).hasClass("exclude"))return e(this).is(":checked")?void 0:(alert("You can configure it to exclude from search in the search form Excludes section"),!1);var t="";switch(e(this).attr("name")){case"search_images":t="image";break;case"search_videos":t="video";break;case"search_audios":t="audio";break;case"search_text":t="text";break;case"search_pdfs":t="pdf";break;case"search_docs":t=["doc","excel","word"]}if(""!==t)if(Array.isArray(t)){var i=this;e.each(t,function(t,s){e(i).is(":checked")?e('.is-mime select option[value*="'+s+'"]').attr("selected","selected"):e('.is-mime select option[value*="'+s+'"]').removeAttr("selected")})}else e(this).is(":checked")?e('.is-mime select option[value*="'+t+'"]').attr("selected","selected"):e('.is-mime select option[value*="'+t+'"]').removeAttr("selected");e(this).hasClass("exclude")||0!==e(".is-mime select option:selected").length||e(".search-attachments").prop("checked",!0)}),e("#search-form-editor .not_load_files").each(function(){e(this).is(":checked")||e(this).parent().next(".not-load-wrapper").hide()}),e("#search-form-editor .not_load_files").on("click",function(){e(this).is(":checked")?e(this).parent().next(".not-load-wrapper").show():e(this).parent().next(".not-load-wrapper").hide()}),i(),e("._is_settings-highlight_terms").on("click",function(){i()}),s(),e(".ivory_search_locations, .ivory_search_menu_name").on("click",function(){s()}),a(),e(".ivory_search_style").on("click",function(){a(e(this).val())}),o(),e("._is_ajax-description_wrap .check-radio").on("click",function(){o()}),c(),e("#_is_ajax-show_details_box, #_is_ajax-show_matching_categories, #_is_ajax-show_matching_tags").on("click",function(){c()}),n(),e("._is_ajax-show_more_result_wrap .check-radio").on("click",function(){n()}),l(),e("._is_ajax-view_all_results_wrap .check-radio").on("click",function(){l()}),r(),e("._is_ajax-show_more_result_wrap .check-radio").on("click",function(){r()}),d(),e("#_is_customize-enable_customize").on("click",function(){window.setTimeout(function(){1==confirm("A page reload is required for this change.")?(d(),e("#is-admin-form-element").submit()):e("#_is_customize-enable_customize").is(":checked")?e("#_is_customize-enable_customize").prop("checked",!1):e("#_is_customize-enable_customize").prop("checked",!0)},300)}),e(".form-table-panel-customize .is-field-disabled-message .message").on("click",function(){e("#_is_customize-enable_customize").trigger("click")}),e("#_is_ajax-enable_ajax").on("click",function(){h()}),e(".form-table-panel-ajax .is-field-disabled-message .message").on("click",function(){e("#_is_ajax-enable_ajax").trigger("click")}),p(),e("#is_disable_analytics").on("click",function(){p()}))}(jQuery);
1
+ !function(e){"use strict";function t(){e.each(["image","video","audio","text","pdf"],function(t,i){0===e('.is-mime select option[value*="'+i+'"]:selected').length?e('.search-attachments[name*="'+i+'"]').prop("checked",!1):e('.search-attachments[name*="'+i+'"]').prop("checked",!0)}),0===e('.is-mime select option[value*="doc"]:selected').length&&0===e('.is-mime select option[value*="excel"]:selected').length&&0===e('.is-mime select option[value*="word"]:selected').length?e('.search-attachments[name*="doc"]').prop("checked",!1):e('.search-attachments[name*="doc"]').prop("checked",!0)}function i(){e("._is_settings-highlight_terms").is(":checked")?e(".highlight-container").removeClass("is-field-disabled").show():e(".highlight-container").addClass("is-field-disabled").hide()}function s(){e(".ivory_search_locations").is(":checked")||e(".ivory_search_menu_name").is(":checked")?e(".menu-settings-container").removeClass("is-field-disabled").show():e(".menu-settings-container").addClass("is-field-disabled").hide()}function a(t){void 0!==t&&"default"!==t||!e("#is_menu_styledefault").is(":checked")?e(".form-style-dependent").removeClass("is-field-disabled").show():e(".form-style-dependent").addClass("is-field-disabled").hide()}function o(){e("#_is_ajax-show_description").is(":checked")?e("._is_ajax-description_source_wrap, ._is_ajax-description_length_wrap").removeClass("is-field-disabled").show():e("._is_ajax-description_source_wrap, ._is_ajax-description_length_wrap").addClass("is-field-disabled").hide()}function c(){e("#_is_ajax-show_details_box").is(":checked")&&(e("#_is_ajax-show_matching_categories").is(":checked")||e("#_is_ajax-show_matching_tags").is(":checked"))?e("._is_ajax-product_list_wrap, ._is_ajax-order_by_wrap, ._is_ajax-order_wrap").removeClass("is-field-disabled").show():e("._is_ajax-product_list_wrap, ._is_ajax-order_by_wrap, ._is_ajax-order_wrap").addClass("is-field-disabled").hide()}function n(){e("#_is_ajax-show_more_result").is(":checked")?e("._is_ajax-more_result_text_wrap, ._is_ajax-show_more_func_wrap").removeClass("is-field-disabled").show():e("._is_ajax-more_result_text_wrap, ._is_ajax-show_more_func_wrap").addClass("is-field-disabled").hide()}function l(){e("#_is_ajax-view_all_results").is(":checked")?e("._is_ajax-view_all_text_wrap").removeClass("is-field-disabled").show():e("._is_ajax-view_all_text_wrap").addClass("is-field-disabled").hide()}function r(){e("#_is_ajax-show_more_result").is(":checked")?e("._is_ajax-more_result_text_wrap").removeClass("is-field-disabled").show():e("._is_ajax-more_result_text_wrap").addClass("is-field-disabled").hide()}function d(){e("#_is_customize-enable_customize").is(":checked")?e(".form-table-panel-customize .is-field-wrap").removeClass("is-field-disabled"):e(".form-table-panel-customize .is-field-wrap").addClass("is-field-disabled")}function h(){window.setTimeout(function(){1==confirm("A page reload is required for this change.")?(e("#_is_ajax-enable_ajax").is(":checked")?e(".form-table-panel-ajax .is-field-wrap").removeClass("is-field-disabled"):e(".form-table-panel-ajax .is-field-wrap").addClass("is-field-disabled"),e("#is-admin-form-element").submit()):e("#_is_ajax-enable_ajax").is(":checked")?e("#_is_ajax-enable_ajax").prop("checked",!1):e("#_is_ajax-enable_ajax").prop("checked",!0)},300)}function p(){"1"===e("#is_disable_analytics").val()?e("#is_disable_analytics").closest("div").find(".analytics-info").hide():e("#is_disable_analytics").closest("div").find(".analytics-info").show()}"undefined"!=typeof ivory_search&&null!==ivory_search&&(e(function(){e(window).on("load",function(){e(".is-cb-dropdown .is-cb-multisel").css({position:"absolute",display:"none"}),e(".col-wrapper .load-all").on("click",function(){var t=e("#post_ID").val(),i=e(this).attr("id"),s=e(this),a=e(".search-form-editor-panel").attr("id");e(this).parent().append('<span class="spinner"></span>'),e.ajax({type:"post",url:ivory_search.ajaxUrl,data:{action:"display_posts",post_id:t,post_type:i,inc_exc:a},success:function(t){e(s).parent().find("select").find("option").remove().end().append(t),e(s).parent().find("select option:selected").length&&e(s).parent().find(".col-title span").html("<strong>"+e(s).parent().find(".col-title").text()+"</strong>"),e(s).parent().find(".spinner").remove(),e(s).remove()},error:function(e,t){alert(" The posts could not be loaded. Because: "+t)}})})}),e(document).ready(function(){"menu-search"===window.location.href.split("=").pop()&&(e("#toplevel_page_ivory-search .wp-submenu-wrap li, #toplevel_page_ivory-search .wp-submenu-wrap li a").removeClass("current"),e("#toplevel_page_ivory-search .wp-submenu-wrap li:nth-child(4), #toplevel_page_ivory-search .wp-submenu-wrap li:nth-child(4) a").addClass("current"))});var t="d-m-yy",i=e("#is-after-datepicker").datepicker({dateFormat:"d-m-yy",changeMonth:!0,changeYear:!0}).on("change",function(){s.datepicker("option","minDate",a(this))}),s=e("#is-before-datepicker").datepicker({dateFormat:"d-m-yy",changeMonth:!0,changeYear:!0}).on("change",function(){i.datepicker("option","maxDate",a(this))});function a(i){var s;try{s=e.datepicker.parseDate(t,i.value)}catch(e){s=null}return s}if(1<e(".form-table h3[scope=row]").length){e(".form-table .is-actions a.expand").click(function(){if(e(".form-table .is-actions a.expand").hide(),e(".form-table .ui-accordion-header:not(.is-ptype-hidden), .form-table .ui-accordion-content:not(.is-ptype-hidden), .form-table .is-actions a.collapse").show(),e(".form-table .ui-accordion-content").addClass("ui-accordion-content-active"),e(".form-table h3").addClass("ui-state-active").removeClass("ui-accordion-header-active"),history.pushState){var t=window.location.href.split("#")[0]+"#expand";window.history.pushState({path:t},"",t),e('form input[name="_wp_http_referer"]').val(e('form input[name="_wp_http_referer"]').val().split("#")[0]+"#expand"),e("#is-admin-form-element").length&&e("#is-admin-form-element").attr("action",e("#is-admin-form-element").attr("action").split("#")[0]+"#expand")}return!1}),e(".form-table .is-actions a.collapse").click(function(){if(e(".form-table .is-actions a.expand").show(),e(".form-table .ui-accordion-content, .form-table .is-actions a.collapse").hide(),e(".form-table .ui-accordion-content").removeClass("ui-accordion-content-active"),e(".form-table h3").removeClass("ui-state-active"),history.pushState){var t=window.location.href.split("#")[0]+"#collapse";window.history.pushState({path:t},"",t),e('form input[name="_wp_http_referer"]').val(e('form input[name="_wp_http_referer"]').val().split("#")[0]+"#collapse"),e("#is-admin-form-element").length&&e("#is-admin-form-element").attr("action",e("#is-admin-form-element").attr("action").split("#")[0]+"#collapse")}return!1});var o=window.location.href.split("#");2===o.length&&(e('form input[name="_wp_http_referer"]').val(e('form input[name="_wp_http_referer"]').val().split("#")[0]+"#"+o[1]),e("#is-admin-form-element").length&&e("#is-admin-form-element").attr("action",e("#is-admin-form-element").attr("action").split("#")[0]+"#"+o[1])),e(".form-table").accordion({collapsible:!0,heightStyle:"content",icons:!1,active:!1,create:function(t,i){if(2===o.length){var s=o[1].split("-");if(3===s.length)s=s[2]/2-1,e(".form-table").accordion("option","active",s),e("html, body").animate({scrollTop:e("#"+o[1]).offset().top-200},500);else switch(o[1]){case"expand":e(".form-table .is-actions a.expand").hide(),e(".form-table .ui-accordion-content, .form-table .is-actions a.collapse").show(),e(".form-table .ui-accordion-content").addClass("ui-accordion-content-active"),e(".form-table h3").addClass("ui-state-active").removeClass("ui-accordion-header-active");break;case"collapse":e(".form-table .is-actions a.expand").show(),e(".form-table .ui-accordion-content, .form-table .is-actions a.collapse").hide(),e(".form-table .ui-accordion-content").removeClass("ui-accordion-content-active"),e(".form-table h3").removeClass("ui-state-active")}}else 1<e(".form-table h3[scope=row]").length?e(".form-table").accordion("option","active",!1):e(".form-table").accordion("option","active",0)}}),e(".form-table h3").click(function(){var t=e(this).attr("aria-controls");if(history.pushState){var i=window.location.href.split("#")[0]+"#"+t;window.history.pushState({path:i},"",i),e('form input[name="_wp_http_referer"]').val(e('form input[name="_wp_http_referer"]').val().split("#")[0]+"#"+t),e("#is-admin-form-element").length&&e("#is-admin-form-element").attr("action",e("#is-admin-form-element").attr("action").split("#")[0]+"#"+t)}})}e(".is-colorpicker").wpColorPicker(),e("#search-body select[multiple] option").mousedown(function(t){if(e(this).attr("selected"))return e(this).removeAttr("selected"),!1}),e(".col-title .list-search").keyup(function(){var t=e(this).val().toLowerCase(),i=e(this).parent().parent().find("select option");e(i).each(function(){-1===e(this).text().toLowerCase().indexOf(t)?e(this).fadeOut("fast"):e(this).fadeIn("fast")})}),e(".list-search.wide").keyup(function(){var t=e(this).val().toLowerCase(),i=e(this).parent().find("select option");e(i).each(function(){-1===e(this).text().toLowerCase().indexOf(t)?e(this).fadeOut("fast"):e(this).fadeIn("fast")})}),""===e("#title").val()&&e("#title").focus(),0!==e("#title").length&&ivory_search.titleHint();var c=!1;e(document).on("submit","form",function(t){c=!1,e(window).off("beforeunload")}),e(window).on("beforeunload",function(t){if(e('#search-body :input[type!="hidden"]').each(function(){e(this).hasClass("wp-color-result")||(e(this).is(":checkbox, :radio")?this.defaultChecked!=e(this).is(":checked")&&(c=!0):e(this).is("select")?e(this).find("option").each(function(){this.defaultSelected!=e(this).is(":selected")&&"0"!=e(this).val()&&"Default Search Form"!=e(this).text()&&(c=!0)}):this.defaultValue!=e(this).val()&&(c=!0))}),c)return t.returnValue=ivory_search.saveAlert,ivory_search.saveAlert}),e("#is-admin-form-element").submit(function(){"copy"!=this.action.value&&e(window).off("beforeunload"),"save"==this.action.value&&e("#publishing-action .spinner").addClass("is-active")}),e("#search-body #titlewrap").hover(function(){if(e(this).find("#title[disabled]").length){var t=e(this).find("#title[disabled]").attr("title");e(this).find("#title[disabled]").data("tipText",t).removeAttr("title"),e('<p class="title_tooltip"></p>').text(t).appendTo("body")}},function(){e(this).find("#title[disabled]").attr("title",e(this).find("#title[disabled]").data("tipText")),e(".title_tooltip").remove()}).mousemove(function(t){var i=t.pageX+20,s=t.pageY-40;e(".title_tooltip").css({top:s,left:i})}),e("#search-form-editor-tabs li").hover(function(){var t=e(this).find("a").attr("title");e(this).find("a").data("tipText",t).removeAttr("title"),e('<p class="title_tooltip '+e(this).attr("id")+'"></p>').text(t).appendTo("body").fadeIn("slow")},function(){e(this).find("a").attr("title",e(this).find("a").data("tipText")),e(".title_tooltip."+e(this).attr("id")).remove()}).mousemove(function(t){var i=t.pageX+20,s=t.pageY-40;e(".title_tooltip."+e(this).attr("id")).css({top:s,left:i})})}),ivory_search.titleHint=function(){var t=e("#title"),i=e("#title-prompt-text");""===t.val()&&i.removeClass("screen-reader-text"),i.click(function(){e(this).addClass("screen-reader-text"),t.focus()}),t.blur(function(){""===e(this).val()&&i.removeClass("screen-reader-text")}).focus(function(){i.addClass("screen-reader-text")}).keydown(function(t){i.addClass("screen-reader-text"),e(this).unbind(t)})},e(".is-cb-dropdown .is-cb-title").on("click",function(){e(this).hasClass("is-dropdown-toggle")?e(this).removeClass("is-dropdown-toggle"):e(this).addClass("is-dropdown-toggle"),e(this).parents(".is-cb-dropdown").find(".is-cb-multisel").slideToggle("fast")}),e(document).bind("click",function(t){e(t.target).parents().hasClass("is-cb-dropdown")||(e(".is-cb-dropdown .is-cb-multisel").hide(),e(".is-cb-title").removeClass("is-dropdown-toggle"))}),e('.is-cb-multisel input[type="checkbox"]').on("click",function(){var t=e(this).val(),i=e(this).parent().text().trim();if(e(this).is(":checked")){var s='<span title="'+t+'"> '+i+"</span>";e(this).parents(".is-cb-dropdown").find(".is-cb-titles").append(s),e(this).parents(".is-cb-dropdown").find(".is-cb-select").hide(),e(".form-table h3.post-type-"+t).show(),e(".form-table .post-type-"+t).show().removeClass("is-ptype-hidden")}else e(".form-table .post-type-"+t).hide().addClass("is-ptype-hidden"),e(this).parents(".is-cb-dropdown").find('.is-cb-titles span[title="'+t+'"]').remove(),0===e(this).parents(".is-cb-dropdown").find(".is-cb-titles span").length&&e(this).parents(".is-cb-dropdown").find(".is-cb-select").show()}),e("#search-form-editor .is-mime-select, #search-form-editor .is-post-select, #search-form-editor .is-tax-select, #search-form-editor .is-meta-select").each(function(){e(this).is(":checked")?("all"===e(this).val()&&(e(this).hasClass("is-post-select")?e(this).closest("div").find(".is-posts").hide():e(this).hasClass("is-tax-select")?e(this).closest("div").find(".is-taxes").hide():e(this).hasClass("is-mime-select")&&e(this).closest("div").find(".is-mime").hide()),e(this).hasClass("is-meta-select")&&e(this).closest("div").find(".is-metas").show()):e(this).hasClass("is-meta-select")&&e(this).closest("div").find(".is-metas").hide()}),e("#search-form-editor .is-post-select, #search-form-editor .is-tax-select, #search-form-editor .is-meta-select, #search-form-editor .is-mime-select").on("click",function(){e(this).hasClass("is-meta-select")?e(this).is(":checked")?e(this).closest("div").find(".is-metas").show():(e(this).closest("div").find(".is-metas").hide(),e(this).closest("div").find(".is-metas select option").prop("selected",!1)):"selected"===e(this).val()?e(this).hasClass("is-post-select")?(e(this).closest("div").find(".is-posts").show(),e(this).closest("div").find(".notice-is-info").hide()):e(this).hasClass("is-tax-select")?e(this).closest("div").find(".is-taxes").show():e(this).hasClass("is-mime-select")&&e(this).closest("div").find(".is-mime").show():e(this).hasClass("is-post-select")?(e(this).closest("div").find(".is-posts").hide(),e(this).closest("div").find(".notice-is-info").show(),e(this).closest("div").find(".is-posts select option").prop("selected",!1)):e(this).hasClass("is-tax-select")?(e(this).closest("div").find(".is-taxes").hide(),e(this).closest("div").find(".is-taxes select option").prop("selected",!1)):e(this).hasClass("is-mime-select")&&(e(this).closest("div").find(".is-mime").hide(),e(this).closest("div").find(".is-mime select option").prop("selected",!1))}),e('.includes_extras input[type="checkbox"]').on("click",function(){e(this).is(":checked")||e(this).closest(".includes_extras").find('input[type="checkbox"]:checked').length||alert("Please make sure that you have configured the search form to search any content")}),e("#search-form-editor .is-mime option").on("click",function(){e(this).is(":checked")?t():0===e(".is-mime select option:selected").length&&(e("#includes").length?e(".search-attachments").prop("checked",!0):e(".search-attachments").prop("checked",!1))}),e("#search-form-editor .is-mime-select").on("click",function(){"all"===e(this).val()&&(e("#excludes").length?e(".search-attachments").prop("checked",!1):e(".search-attachments").prop("checked",!0))}),0!==e(".is-mime select option:selected").length&&t(),e(".search-attachments-wrapper").show(),e(".search-attachments").on("click",function(){if(0===e(".is-mime select option:selected").length&&!e(this).hasClass("exclude"))return e(this).is(":checked")?void 0:(alert("You can configure it to exclude from search in the search form Exclude section"),!1);var t="";switch(e(this).attr("name")){case"search_images":t="image";break;case"search_videos":t="video";break;case"search_audios":t="audio";break;case"search_text":t="text";break;case"search_pdfs":t="pdf";break;case"search_docs":t=["doc","excel","word"]}if(""!==t)if(Array.isArray(t)){var i=this;e.each(t,function(t,s){e(i).is(":checked")?e('.is-mime select option[value*="'+s+'"]').attr("selected","selected"):e('.is-mime select option[value*="'+s+'"]').removeAttr("selected")})}else e(this).is(":checked")?e('.is-mime select option[value*="'+t+'"]').attr("selected","selected"):e('.is-mime select option[value*="'+t+'"]').removeAttr("selected");e(this).hasClass("exclude")||0!==e(".is-mime select option:selected").length||e(".search-attachments").prop("checked",!0)}),e("#search-form-editor .post-type-attachment .is-posts option").on("click",function(){0===e("#search-form-editor .post-type-attachment .is-posts option:selected").length?e(".is-mime-radio, .search-attachments-wrapper").show():e(".is-mime-radio, .is-mime, .search-attachments-wrapper").hide()}),e("#search-form-editor .not_load_files").each(function(){e(this).is(":checked")||e(this).parent().next(".not-load-wrapper").hide()}),e("#search-form-editor .not_load_files").on("click",function(){e(this).is(":checked")?e(this).parent().next(".not-load-wrapper").show():e(this).parent().next(".not-load-wrapper").hide()}),i(),e("._is_settings-highlight_terms").on("click",function(){i()}),s(),e(".ivory_search_locations, .ivory_search_menu_name").on("click",function(){s()}),a(),e(".ivory_search_style").on("click",function(){a(e(this).val())}),o(),e("._is_ajax-description_wrap .check-radio").on("click",function(){o()}),c(),e("#_is_ajax-show_details_box, #_is_ajax-show_matching_categories, #_is_ajax-show_matching_tags").on("click",function(){c()}),n(),e("._is_ajax-show_more_result_wrap .check-radio").on("click",function(){n()}),l(),e("._is_ajax-view_all_results_wrap .check-radio").on("click",function(){l()}),r(),e("._is_ajax-show_more_result_wrap .check-radio").on("click",function(){r()}),d(),e("#_is_customize-enable_customize").on("click",function(){window.setTimeout(function(){1==confirm("A page reload is required for this change.")?(d(),e("#is-admin-form-element").submit()):e("#_is_customize-enable_customize").is(":checked")?e("#_is_customize-enable_customize").prop("checked",!1):e("#_is_customize-enable_customize").prop("checked",!0)},300)}),e(".form-table-panel-customize .is-field-disabled-message .message").on("click",function(){e("#_is_customize-enable_customize").trigger("click")}),e("#_is_ajax-enable_ajax").on("click",function(){h()}),e(".form-table-panel-ajax .is-field-disabled-message .message").on("click",function(){e("#_is_ajax-enable_ajax").trigger("click")}),p(),e("#is_disable_analytics").on("click",function(){p()}))}(jQuery);
admin/partials/search-form.php CHANGED
@@ -76,8 +76,8 @@ if ( ! defined( 'ABSPATH' ) ) {
76
  'spellcheck' => 'true',
77
  'autocomplete' => 'off',
78
  'disabled' =>
79
- current_user_can( 'is_edit_search_form', $post_id ) && 'Default Search Form' !== $post->title() ? '' : 'disabled',
80
- 'title' => 'Default Search Form' !== $post->title() ? __( "Add title", 'add-search-to-menu' ) : __( "Editing the title of Default Search Form is restricted", 'add-search-to-menu' ),
81
  );
82
 
83
  echo sprintf( '<input %s />', IS_Admin_Public::format_atts( $posttitle_atts ) );
@@ -166,7 +166,7 @@ if ( ! defined( 'ABSPATH' ) ) {
166
  <?php $this->save_button( $post_id ); ?>
167
  </div>
168
  <?php
169
- if ( ! $post->initial() && ( 'Default Search Form' !== $post->title() || defined( 'DELETE_DEFAULT_SEARCH_FORM' ) ) ) :
170
  $delete_nonce = wp_create_nonce( 'is-delete-search-form_' . $post_id );
171
  ?>
172
  <div id="delete-action">
76
  'spellcheck' => 'true',
77
  'autocomplete' => 'off',
78
  'disabled' =>
79
+ current_user_can( 'is_edit_search_form', $post_id ) && 'default-search-form' !== $post->name() ? '' : 'disabled',
80
+ 'title' => 'default-search-form' !== $post->name() ? $post->title() : __( "Editing the title of Default Search Form is restricted", 'add-search-to-menu' ),
81
  );
82
 
83
  echo sprintf( '<input %s />', IS_Admin_Public::format_atts( $posttitle_atts ) );
166
  <?php $this->save_button( $post_id ); ?>
167
  </div>
168
  <?php
169
+ if ( ! $post->initial() && ( 'default-search-form' !== $post->name() || defined( 'DELETE_DEFAULT_SEARCH_FORM' ) ) ) :
170
  $delete_nonce = wp_create_nonce( 'is-delete-search-form_' . $post_id );
171
  ?>
172
  <div id="delete-action">
admin/partials/settings-form.php CHANGED
@@ -51,18 +51,19 @@ if ( ! defined( 'ABSPATH' ) ) {
51
  ),
52
  );
53
 
54
- echo '<ul id="search-form-editor-tabs">';
55
-
56
  $tab = isset( $_GET['tab'] ) ? $_GET['tab'] : 'settings';
57
  $url = esc_url( menu_page_url( 'ivory-search-settings', false ) );
58
-
 
 
59
  foreach ( $panels as $id => $panel ) {
60
  $class = ( $tab == $id ) ? 'active' : '';
61
  echo sprintf( '<li id="%1$s-tab" class="%2$s"><a href="%3$s" title="%4$s">%5$s</a></li>',
62
  esc_attr( $panel[0] ), esc_attr( $class ), $url . '&tab=' . $panel[0], esc_attr( $panel[2] ), esc_html( $panel[1] ) );
63
  }
64
-
65
- echo '</ul>';
 
66
 
67
  $settings_fields = IS_Settings_Fields::getInstance();
68
 
51
  ),
52
  );
53
 
 
 
54
  $tab = isset( $_GET['tab'] ) ? $_GET['tab'] : 'settings';
55
  $url = esc_url( menu_page_url( 'ivory-search-settings', false ) );
56
+ ?>
57
+ <ul id="search-form-editor-tabs">
58
+ <?php
59
  foreach ( $panels as $id => $panel ) {
60
  $class = ( $tab == $id ) ? 'active' : '';
61
  echo sprintf( '<li id="%1$s-tab" class="%2$s"><a href="%3$s" title="%4$s">%5$s</a></li>',
62
  esc_attr( $panel[0] ), esc_attr( $class ), $url . '&tab=' . $panel[0], esc_attr( $panel[2] ), esc_html( $panel[1] ) );
63
  }
64
+ ?>
65
+ </ul>
66
+ <?php
67
 
68
  $settings_fields = IS_Settings_Fields::getInstance();
69
 
includes/class-is-activator.php CHANGED
@@ -18,5 +18,49 @@ class IS_Activator {
18
  * @since 1.0.0
19
  */
20
  public static function activate() {
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
21
  }
22
  }
18
  * @since 1.0.0
19
  */
20
  public static function activate() {
21
+
22
+ /* Creates default search forms */
23
+ $search_form = get_page_by_path( 'default-search-form', OBJECT, IS_Search_Form::post_type );
24
+
25
+ if ( NULL == $search_form ) {
26
+
27
+ $admin = IS_Admin::getInstance();
28
+
29
+ $args['id'] = -1;
30
+ $args['title'] = 'Custom Search Form';
31
+ $args['_is_locale'] = 'en_US';
32
+ $args['_is_includes'] = '';
33
+ $args['_is_excludes'] = '';
34
+ $args['_is_settings'] = '';
35
+
36
+ $admin->save_form( $args );
37
+
38
+ $args['title'] = 'Default Search Form';
39
+
40
+ $admin->save_form( $args );
41
+
42
+ $args['title'] = 'AJAX Search Form';
43
+ $args['_is_ajax'] = array(
44
+ 'enable_ajax' => 1,
45
+ 'show_description' => 1,
46
+ 'description_source' => 'excerpt',
47
+ 'description_length' => 20,
48
+ 'show_image' => 1,
49
+ 'min_no_for_search' => 1,
50
+ 'result_box_max_height' => 400,
51
+ 'nothing_found_text' => 'Nothing found',
52
+ 'show_more_result' => 1,
53
+ 'more_result_text' => 'More Results..',
54
+ 'search_results' => 'both',
55
+ 'show_price' => 1,
56
+ 'show_matching_categories' => 1,
57
+ 'show_details_box' => 1,
58
+ 'product_list' => 'all',
59
+ 'order_by' => 'date',
60
+ 'order' => 'desc',
61
+ );
62
+
63
+ $admin->save_form( $args );
64
+ }
65
  }
66
  }
includes/class-is-search-form.php CHANGED
@@ -405,7 +405,7 @@ class IS_Search_Form {
405
  $result = '';
406
  $search_form = false;
407
  $enabled_customization = false;
408
- $is = Ivory_Search::getInstance();
409
  $min = ( defined( 'IS_DEBUG' ) && IS_DEBUG ) ? '' : '.min';
410
 
411
  if ( $args['id'] ) {
@@ -421,7 +421,7 @@ class IS_Search_Form {
421
  $_settings = $this->prop('_is_settings');
422
  $enabled_customization = ( isset( $_customize['enable_customize'] ) || 'default-search-form' != $search_form->name() || isset( $_ajax['enable_ajax'] ) ) ? true : false;
423
 
424
- if ( ! isset( $is->opt['not_load_files']['css'] ) && isset( $_ajax['enable_ajax'] ) ) {
425
  wp_enqueue_style( 'ivory-ajax-search-styles', plugins_url( '/public/css/ivory-ajax-search'.$min.'.css', IS_PLUGIN_FILE ), array(), IS_VERSION );
426
  }
427
 
@@ -555,7 +555,7 @@ class IS_Search_Form {
555
  $result = apply_filters( 'is_custom_search_form', $result );
556
  }
557
 
558
- if ( isset( $is->opt['easy_edit'] ) && is_user_logged_in() && current_user_can( 'administrator' ) ) {
559
  $result .= '<div class="is-link-container"><div><a class="is-edit-link" target="_blank" href="'.admin_url( 'admin.php?page=ivory-search&post='.$args['id'].'&action=edit' ) . '">'.__( "Edit", "ivory-search") .'</a>';
560
 
561
  if ( ! is_customize_preview() ) {
405
  $result = '';
406
  $search_form = false;
407
  $enabled_customization = false;
408
+ $is_opt = Ivory_Search::load_options();
409
  $min = ( defined( 'IS_DEBUG' ) && IS_DEBUG ) ? '' : '.min';
410
 
411
  if ( $args['id'] ) {
421
  $_settings = $this->prop('_is_settings');
422
  $enabled_customization = ( isset( $_customize['enable_customize'] ) || 'default-search-form' != $search_form->name() || isset( $_ajax['enable_ajax'] ) ) ? true : false;
423
 
424
+ if ( ! isset( $is_opt['not_load_files']['css'] ) && isset( $_ajax['enable_ajax'] ) ) {
425
  wp_enqueue_style( 'ivory-ajax-search-styles', plugins_url( '/public/css/ivory-ajax-search'.$min.'.css', IS_PLUGIN_FILE ), array(), IS_VERSION );
426
  }
427
 
555
  $result = apply_filters( 'is_custom_search_form', $result );
556
  }
557
 
558
+ if ( isset( $is_opt['easy_edit'] ) && is_user_logged_in() && current_user_can( 'administrator' ) ) {
559
  $result .= '<div class="is-link-container"><div><a class="is-edit-link" target="_blank" href="'.admin_url( 'admin.php?page=ivory-search&post='.$args['id'].'&action=edit' ) . '">'.__( "Edit", "ivory-search") .'</a>';
560
 
561
  if ( ! is_customize_preview() ) {
includes/freemius.php CHANGED
@@ -43,4 +43,6 @@ function is_fs()
43
  // Init Freemius.
44
  is_fs();
45
  // Signal that SDK was initiated.
46
- do_action( 'is_fs_loaded' );
 
 
43
  // Init Freemius.
44
  is_fs();
45
  // Signal that SDK was initiated.
46
+ do_action( 'is_fs_loaded' );
47
+ // Disable affiliate notice
48
+ is_fs()->add_filter( 'show_affiliate_program_notice', '__return_false' );
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: 2020-08-07 01:20+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"
@@ -21,7 +21,7 @@ msgstr ""
21
  msgid "The changes you made will be lost if you navigate away from this page."
22
  msgstr ""
23
 
24
- #: ../admin/class-is-admin.php:138 ../admin/class-is-settings-fields.php:347
25
  #: ../admin/partials/search-form.php:23
26
  msgid "Edit Search Form"
27
  msgstr ""
@@ -30,202 +30,196 @@ msgstr ""
30
  msgid "Click on the search form title to edit it."
31
  msgstr ""
32
 
33
- #: ../admin/class-is-admin.php:140
34
- msgid "Edit the Default Search Form to manage the default WordPress search."
35
- msgstr ""
36
-
37
- #: ../admin/class-is-admin.php:164 ../admin/class-is-admin.php:459
38
  #: ../admin/class-is-help.php:64 ../admin/class-is-help.php:97
39
  msgid "Settings"
40
  msgstr ""
41
 
42
- #: ../admin/class-is-admin.php:182 ../admin/class-is-help.php:110
43
  msgid "Docs"
44
  msgstr ""
45
 
46
- #: ../admin/class-is-admin.php:183 ../admin/class-is-help.php:111
47
  #: ../admin/partials/search-form.php:204
48
- #: ../admin/partials/settings-form.php:106
49
  msgid "Support"
50
  msgstr ""
51
 
52
- #: ../admin/class-is-admin.php:204
53
  #, php-format
54
  msgid ""
55
  "If you like %1$s please leave us a %2$s rating. A huge thanks in advance!"
56
  msgstr ""
57
 
58
- #: ../admin/class-is-admin.php:205 ../admin/class-is-admin.php:448
59
  #: ../includes/class-is-admin-public.php:94 ../includes/class-is-widget.php:13
60
  msgid "Ivory Search"
61
  msgstr ""
62
 
63
- #: ../admin/class-is-admin.php:228 ../admin/class-is-admin.php:254
64
  msgid "Dismiss"
65
  msgstr ""
66
 
67
- #: ../admin/class-is-admin.php:229
68
  msgid "Thank you for using"
69
  msgstr ""
70
 
71
- #: ../admin/class-is-admin.php:230
72
  msgid "You can configure its"
73
  msgstr ""
74
 
75
- #: ../admin/class-is-admin.php:230
76
  msgid "settings"
77
  msgstr ""
78
 
79
- #: ../admin/class-is-admin.php:231
80
  msgid "and get support on"
81
  msgstr ""
82
 
83
- #: ../admin/class-is-admin.php:231
84
  msgid "support forum"
85
  msgstr ""
86
 
87
- #: ../admin/class-is-admin.php:232
88
  msgid "or"
89
  msgstr ""
90
 
91
- #: ../admin/class-is-admin.php:232
92
  msgid "contact us"
93
  msgstr ""
94
 
95
- #: ../admin/class-is-admin.php:256
96
  #, php-format
97
  msgid ""
98
  "Hey %s, it's Vinod Dalvi from %s. You have used this free plugin for some "
99
  "time now, and I hope you like it!"
100
  msgstr ""
101
 
102
- #: ../admin/class-is-admin.php:259
103
  #, php-format
104
  msgid ""
105
  "I have spent countless hours developing it, and it would mean a lot to me if "
106
  "you %ssupport it with a quick review on WordPress.org.%s"
107
  msgstr ""
108
 
109
- #: ../admin/class-is-admin.php:264
110
  msgid "Review Ivory Search"
111
  msgstr ""
112
 
113
- #: ../admin/class-is-admin.php:265
114
  msgid "No, thanks"
115
  msgstr ""
116
 
117
- #: ../admin/class-is-admin.php:303
118
  msgid "No posts found"
119
  msgstr ""
120
 
121
- #: ../admin/class-is-admin.php:404
122
  msgid "Search form created."
123
  msgstr ""
124
 
125
- #: ../admin/class-is-admin.php:406
126
  msgid "Search form saved."
127
  msgstr ""
128
 
129
- #: ../admin/class-is-admin.php:408
130
  msgid "Search form deleted."
131
  msgstr ""
132
 
133
- #: ../admin/class-is-admin.php:410
134
  msgid "Search form reset."
135
  msgstr ""
136
 
137
- #: ../admin/class-is-admin.php:419
138
  msgid "There was an error saving the search form."
139
  msgstr ""
140
 
141
- #: ../admin/class-is-admin.php:427
142
  msgid "Validation error occurred."
143
  msgstr ""
144
 
145
- #: ../admin/class-is-admin.php:428 ../admin/class-is-admin.php:433
146
- #: ../admin/class-is-editor.php:685 ../admin/class-is-editor.php:1089
147
  #: ../admin/class-is-help.php:35 ../admin/class-is-help.php:85
148
  msgid "Includes"
149
  msgstr ""
150
 
151
- #: ../admin/class-is-admin.php:429 ../admin/class-is-admin.php:435
152
- #: ../admin/class-is-editor.php:101 ../admin/class-is-help.php:40
153
- #: ../admin/class-is-help.php:86
154
  msgid "Excludes"
155
  msgstr ""
156
 
157
- #: ../admin/class-is-admin.php:438
158
  #, php-format
159
  msgid ""
160
  "Please make sure you have not selected similar %s fields in the search form "
161
  "%s and %s sections."
162
  msgstr ""
163
 
164
- #: ../admin/class-is-admin.php:450 ../admin/class-is-admin.php:492
165
  #: ../includes/class-is-search-form.php:59
166
  msgid "Search Forms"
167
  msgstr ""
168
 
169
- #: ../admin/class-is-admin.php:453 ../admin/class-is-admin.php:499
170
  #: ../admin/partials/search-form.php:21 ../admin/partials/search-form.php:31
171
  msgid "Add New Search Form"
172
  msgstr ""
173
 
174
- #: ../admin/class-is-admin.php:453
175
  msgid "New Search Form"
176
  msgstr ""
177
 
178
- #: ../admin/class-is-admin.php:456 ../admin/class-is-help.php:59
179
  #: ../admin/class-is-help.php:96
180
  msgid "Menu Search"
181
  msgstr ""
182
 
183
- #: ../admin/class-is-admin.php:459 ../admin/partials/settings-form.php:20
184
  msgid "Ivory Search Settings"
185
  msgstr ""
186
 
187
- #: ../admin/class-is-admin.php:505
188
  #, php-format
189
  msgid "Search results for &#8220;%s&#8221;"
190
  msgstr ""
191
 
192
- #: ../admin/class-is-admin.php:516
193
  msgid "Find Search Forms"
194
  msgstr ""
195
 
196
- #: ../admin/class-is-admin.php:560
197
  msgid "You are not allowed to edit this item."
198
  msgstr ""
199
 
200
- #: ../admin/class-is-admin.php:654
201
  msgid "You are not allowed to reset this item."
202
  msgstr ""
203
 
204
- #: ../admin/class-is-admin.php:690
205
  msgid "You are not allowed to copy this item."
206
  msgstr ""
207
 
208
- #: ../admin/class-is-admin.php:731
209
  msgid "You are not allowed to delete this item."
210
  msgstr ""
211
 
212
- #: ../admin/class-is-admin.php:735
213
  msgid "Error in deleting."
214
  msgstr ""
215
 
216
- #: ../admin/class-is-admin.php:975
217
  msgid "Save Form"
218
  msgstr ""
219
 
220
- #: ../admin/class-is-admin.php:987
221
  msgid "Upgrade to Pro to Access"
222
  msgstr ""
223
 
224
- #: ../admin/class-is-admin.php:994
225
  msgid "Install Premium Version to Access"
226
  msgstr ""
227
 
228
- #: ../admin/class-is-admin.php:996
229
  msgid "Upgrade to Pro Plus to Access"
230
  msgstr ""
231
 
@@ -233,752 +227,764 @@ msgstr ""
233
  msgid "The requested section does not exist."
234
  msgstr ""
235
 
236
- #: ../admin/class-is-editor.php:105 ../admin/partials/search-form.php:116
 
 
 
 
 
 
 
 
 
 
 
 
237
  msgid "Configure Searchable Content"
238
  msgstr ""
239
 
240
- #: ../admin/class-is-editor.php:113
241
  msgid "Post Types"
242
  msgstr ""
243
 
244
- #: ../admin/class-is-editor.php:114 ../admin/class-is-editor.php:392
245
- #: ../admin/class-is-editor.php:753 ../admin/class-is-editor.php:1118
246
- #: ../admin/class-is-editor.php:1341 ../admin/class-is-editor.php:1436
247
- #: ../admin/class-is-editor.php:1552 ../admin/class-is-settings-fields.php:103
248
  msgid "Expand All"
249
  msgstr ""
250
 
251
- #: ../admin/class-is-editor.php:114 ../admin/class-is-editor.php:392
252
- #: ../admin/class-is-editor.php:754 ../admin/class-is-editor.php:1118
253
- #: ../admin/class-is-editor.php:1341 ../admin/class-is-editor.php:1436
254
- #: ../admin/class-is-editor.php:1552 ../admin/class-is-settings-fields.php:103
255
  msgid "Collapse All"
256
  msgstr ""
257
 
258
- #: ../admin/class-is-editor.php:118
259
  msgid "Search selected post types."
260
  msgstr ""
261
 
262
- #: ../admin/class-is-editor.php:133 ../admin/class-is-editor.php:135
263
  msgid "Select Post Types"
264
  msgstr ""
265
 
266
- #: ../admin/class-is-editor.php:152
267
  msgid "No post types registered on the site."
268
  msgstr ""
269
 
270
- #: ../admin/class-is-editor.php:158
271
  msgid "Do not display post_type in the search URL"
272
  msgstr ""
273
 
274
- #: ../admin/class-is-editor.php:167 ../admin/class-is-editor.php:1110
275
  msgid "( WooCommerce )"
276
  msgstr ""
277
 
278
- #: ../admin/class-is-editor.php:169 ../admin/class-is-editor.php:1112
279
  msgid "( Images, Videos, Audios, Docs, PDFs, Files & Attachments )"
280
  msgstr ""
281
 
282
- #: ../admin/class-is-editor.php:211 ../admin/class-is-editor.php:261
283
- #: ../admin/class-is-editor.php:286 ../admin/class-is-editor.php:337
284
- #: ../admin/class-is-editor.php:1161 ../admin/class-is-editor.php:1216
285
- #: ../admin/class-is-editor.php:1240 ../admin/class-is-editor.php:1287
286
  msgid "Search.."
287
  msgstr ""
288
 
289
- #: ../admin/class-is-editor.php:215 ../admin/class-is-editor.php:1165
290
  msgid "Load All"
291
  msgstr ""
292
 
293
- #: ../admin/class-is-editor.php:220 ../admin/class-is-editor.php:1171
294
  #, php-format
295
  msgid "No %s created."
296
  msgstr ""
297
 
298
- #: ../admin/class-is-editor.php:222 ../admin/class-is-editor.php:271
299
- #: ../admin/class-is-editor.php:296 ../admin/class-is-editor.php:345
300
- #: ../admin/class-is-editor.php:1173 ../admin/class-is-editor.php:1225
301
- #: ../admin/class-is-editor.php:1251 ../admin/class-is-editor.php:1295
302
  msgid ""
303
  "Hold down the control (ctrl) or command button to select multiple options."
304
  msgstr ""
305
 
306
- #: ../admin/class-is-editor.php:230
307
  #, php-format
308
  msgid ""
309
  "The %s are not searchable as the search form is configured to only search "
310
  "specific posts of another post type."
311
  msgstr ""
312
 
313
- #: ../admin/class-is-editor.php:234
314
  #, php-format
315
  msgid "Search all %s"
316
  msgstr ""
317
 
318
- #: ../admin/class-is-editor.php:236
319
  #, php-format
320
  msgid "Search only selected %s"
321
  msgstr ""
322
 
323
- #: ../admin/class-is-editor.php:275
324
  #, php-format
325
  msgid "Search %s of all taxonomies (%s categories, tags & terms %s)"
326
  msgstr ""
327
 
328
- #: ../admin/class-is-editor.php:277
329
  #, php-format
330
  msgid "Search %s of only selected taxonomies (%s categories, tags & terms %s)"
331
  msgstr ""
332
 
333
- #: ../admin/class-is-editor.php:300
334
  #, php-format
335
  msgid "Search selected %s custom fields values"
336
  msgstr ""
337
 
338
- #: ../admin/class-is-editor.php:312
339
  msgid "Search product SKU"
340
  msgstr ""
341
 
342
- #: ../admin/class-is-editor.php:315
343
  msgid "Search product variation"
344
  msgstr ""
345
 
346
- #: ../admin/class-is-editor.php:347
347
  msgid "Selected File Types :"
348
  msgstr ""
349
 
350
- #: ../admin/class-is-editor.php:355 ../admin/class-is-editor.php:1305
351
  msgid "Search all MIME types"
352
  msgstr ""
353
 
354
- #: ../admin/class-is-editor.php:357
355
  msgid "Search only selected MIME types"
356
  msgstr ""
357
 
358
- #: ../admin/class-is-editor.php:362
359
  msgid "Search Images"
360
  msgstr ""
361
 
362
- #: ../admin/class-is-editor.php:364
363
  msgid "Search Videos"
364
  msgstr ""
365
 
366
- #: ../admin/class-is-editor.php:366
367
  msgid "Search Audios"
368
  msgstr ""
369
 
370
- #: ../admin/class-is-editor.php:368
371
  msgid "Search Text Files"
372
  msgstr ""
373
 
374
- #: ../admin/class-is-editor.php:370
375
  msgid "Search PDF Files"
376
  msgstr ""
377
 
378
- #: ../admin/class-is-editor.php:372
379
  msgid "Search Document Files"
380
  msgstr ""
381
 
382
- #: ../admin/class-is-editor.php:379
383
  #, php-format
384
  msgid ""
385
  "This search form is configured in the %s section to not search specific MIME "
386
  "types."
387
  msgstr ""
388
 
389
- #: ../admin/class-is-editor.php:382 ../admin/class-is-editor.php:1331
390
  msgid ""
391
  "You are using WordPress version less than 4.9 which does not support "
392
  "searching by MIME type."
393
  msgstr ""
394
 
395
- #: ../admin/class-is-editor.php:391 ../admin/class-is-editor.php:1340
396
  msgid "Extras"
397
  msgstr ""
398
 
399
- #: ../admin/class-is-editor.php:396
400
  msgid "Search Content"
401
  msgstr ""
402
 
403
- #: ../admin/class-is-editor.php:401
404
  #, php-format
405
  msgid "Search post title %s( File title )%s"
406
  msgstr ""
407
 
408
- #: ../admin/class-is-editor.php:404
409
  #, php-format
410
  msgid "Search post content %s( File description )%s"
411
  msgstr ""
412
 
413
- #: ../admin/class-is-editor.php:407
414
  #, php-format
415
  msgid "Search post excerpt %s( File caption )%s"
416
  msgstr ""
417
 
418
- #: ../admin/class-is-editor.php:410
419
  #, php-format
420
  msgid "Search category/tag title %s( Displays posts of the category/tag )%s"
421
  msgstr ""
422
 
423
- #: ../admin/class-is-editor.php:413
424
  #, php-format
425
  msgid ""
426
  "Search category/tag description %s( Displays posts of the category/tag )%s"
427
  msgstr ""
428
 
429
- #: ../admin/class-is-editor.php:434
430
  msgid ""
431
  "Note: The below option is disabled and set to OR as you have configured the "
432
  "search form to search multiple taxonomies."
433
  msgstr ""
434
 
435
- #: ../admin/class-is-editor.php:439
436
  msgid "AND - Search posts having all the above selected category terms"
437
  msgstr ""
438
 
439
- #: ../admin/class-is-editor.php:441
440
  msgid "OR - Search posts having any one of the above selected category terms"
441
  msgstr ""
442
 
443
- #: ../admin/class-is-editor.php:447 ../admin/class-is-editor.php:1404
444
  msgid "Post Status"
445
  msgstr ""
446
 
447
- #: ../admin/class-is-editor.php:451
448
  msgid "Search posts having selected post statuses."
449
  msgstr ""
450
 
451
- #: ../admin/class-is-editor.php:468
452
  msgid "Select Post Status"
453
  msgstr ""
454
 
455
- #: ../admin/class-is-editor.php:487 ../admin/class-is-editor.php:1345
456
  msgid "Authors"
457
  msgstr ""
458
 
459
- #: ../admin/class-is-editor.php:491
460
  msgid "Search posts created by selected authors."
461
  msgstr ""
462
 
463
- #: ../admin/class-is-editor.php:510 ../admin/class-is-editor.php:512
464
  msgid "Searches all author posts"
465
  msgstr ""
466
 
467
- #: ../admin/class-is-editor.php:540
468
  #, php-format
469
  msgid ""
470
  "This search form is configured in the %s section to not search for specific "
471
  "author posts."
472
  msgstr ""
473
 
474
- #: ../admin/class-is-editor.php:548
475
  msgid "Search author Display Name and display the posts created by that author"
476
  msgstr ""
477
 
478
- #: ../admin/class-is-editor.php:553
479
  msgid "Comments"
480
  msgstr ""
481
 
482
- #: ../admin/class-is-editor.php:562
483
  msgid "Search posts having number of comments"
484
  msgstr ""
485
 
486
- #: ../admin/class-is-editor.php:572
487
  msgid "NA"
488
  msgstr ""
489
 
490
- #: ../admin/class-is-editor.php:583
491
  msgid "Search approved comment content"
492
  msgstr ""
493
 
494
- #: ../admin/class-is-editor.php:588
495
  msgid "Password Protected"
496
  msgstr ""
497
 
498
- #: ../admin/class-is-editor.php:594
499
  msgid "Search posts with or without passwords"
500
  msgstr ""
501
 
502
- #: ../admin/class-is-editor.php:596
503
  msgid "Search posts with passwords"
504
  msgstr ""
505
 
506
- #: ../admin/class-is-editor.php:598
507
  msgid "Search posts without passwords"
508
  msgstr ""
509
 
510
- #: ../admin/class-is-editor.php:602 ../admin/class-is-editor.php:840
511
- #: ../admin/class-is-editor.php:1059 ../admin/class-is-list-table.php:33
512
  msgid "Date"
513
  msgstr ""
514
 
515
- #: ../admin/class-is-editor.php:606
516
  msgid "Search posts created only in the specified date range."
517
  msgstr ""
518
 
519
- #: ../admin/class-is-editor.php:612
520
  msgid "From"
521
  msgstr ""
522
 
523
- #: ../admin/class-is-editor.php:612
524
  msgid "To"
525
  msgstr ""
526
 
527
- #: ../admin/class-is-editor.php:636 ../admin/partials/search-form.php:126
528
  msgid "Design Search Form Colors, Text and Style"
529
  msgstr ""
530
 
531
- #: ../admin/class-is-editor.php:643 ../admin/class-is-editor.php:660
532
  msgid "Enable Search Form Customization"
533
  msgstr ""
534
 
535
- #: ../admin/class-is-editor.php:656 ../includes/class-is-search-form.php:563
536
  msgid "Customizer"
537
  msgstr ""
538
 
539
- #: ../admin/class-is-editor.php:662
540
  msgid ""
541
  "Use below customizer to customize search form colors, text and search form "
542
  "style."
543
  msgstr ""
544
 
545
- #: ../admin/class-is-editor.php:670
546
  msgid "Search Form Customizer"
547
  msgstr ""
548
 
549
- #: ../admin/class-is-editor.php:719 ../public/class-is-ajax.php:68
550
  msgid "Nothing found"
551
  msgstr ""
552
 
553
- #: ../admin/class-is-editor.php:722
554
  msgid "View All"
555
  msgstr ""
556
 
557
- #: ../admin/class-is-editor.php:726
558
  msgid "More Results.."
559
  msgstr ""
560
 
561
- #: ../admin/class-is-editor.php:737 ../admin/partials/search-form.php:131
562
  msgid "Configure AJAX Search"
563
  msgstr ""
564
 
565
- #: ../admin/class-is-editor.php:744 ../admin/class-is-editor.php:758
566
- #: ../admin/class-is-editor.php:940
567
  msgid "Enable AJAX Search"
568
  msgstr ""
569
 
570
- #: ../admin/class-is-editor.php:751
571
  msgid "AJAX Search Results"
572
  msgstr ""
573
 
574
- #: ../admin/class-is-editor.php:759
575
  msgid "Display selected content in the search results."
576
  msgstr ""
577
 
578
- #: ../admin/class-is-editor.php:766
579
  msgid "Description"
580
  msgstr ""
581
 
582
- #: ../admin/class-is-editor.php:774
583
  msgid "Excerpt"
584
  msgstr ""
585
 
586
- #: ../admin/class-is-editor.php:780
587
  msgid "Content"
588
  msgstr ""
589
 
590
- #: ../admin/class-is-editor.php:788
591
  msgid "Description Length."
592
  msgstr ""
593
 
594
- #: ../admin/class-is-editor.php:796
595
  msgid "Image"
596
  msgstr ""
597
 
598
- #: ../admin/class-is-editor.php:807
599
  msgid "Categories"
600
  msgstr ""
601
 
602
- #: ../admin/class-is-editor.php:818
603
  msgid "Tags"
604
  msgstr ""
605
 
606
- #: ../admin/class-is-editor.php:829
607
  msgid "Author"
608
  msgstr ""
609
 
610
- #: ../admin/class-is-editor.php:847
611
  msgid "Minimum number of characters required to run ajax search."
612
  msgstr ""
613
 
614
- #: ../admin/class-is-editor.php:852
615
  msgid "Search results box max height."
616
  msgstr ""
617
 
618
- #: ../admin/class-is-editor.php:855
619
  msgid "Configure the plugin text displayed in the search results."
620
  msgstr ""
621
 
622
- #: ../admin/class-is-editor.php:860
623
  msgid "Text when there is no search results. HTML tags is allowed."
624
  msgstr ""
625
 
626
- #: ../admin/class-is-editor.php:869
627
  msgid "Show 'More Results..' text in the bottom of the search results box"
628
  msgstr ""
629
 
630
- #: ../admin/class-is-editor.php:877
631
  msgid "Text for the \"More Results..\"."
632
  msgstr ""
633
 
634
- #: ../admin/class-is-editor.php:886
635
  msgid "Redirect to search results page clicking on the 'More Results..' text"
636
  msgstr ""
637
 
638
- #: ../admin/class-is-editor.php:896
639
  msgid ""
640
  "View All Result - Show link to search results page at the bottom of search "
641
  "results block."
642
  msgstr ""
643
 
644
- #: ../admin/class-is-editor.php:905
645
  msgid ""
646
  "Text for the \"View All\" which shown at the bottom of the search result."
647
  msgstr ""
648
 
649
- #: ../admin/class-is-editor.php:910
650
  msgid "Configure how the search button should work clicking on it."
651
  msgstr ""
652
 
653
- #: ../admin/class-is-editor.php:916
654
  msgid "Search button displays search results page"
655
  msgstr ""
656
 
657
- #: ../admin/class-is-editor.php:923
658
  msgid "Search button displays ajax search results"
659
  msgstr ""
660
 
661
- #: ../admin/class-is-editor.php:931 ../admin/class-is-help.php:136
662
  msgid "WooCommerce"
663
  msgstr ""
664
 
665
- #: ../admin/class-is-editor.php:938
666
  #, php-format
667
  msgid ""
668
  "Please first configure this search form in the %s section to search "
669
  "WooCommerce product post type."
670
  msgstr ""
671
 
672
- #: ../admin/class-is-editor.php:941
673
  msgid "Display selected WooCommerce content in the search results."
674
  msgstr ""
675
 
676
- #: ../admin/class-is-editor.php:948 ../admin/class-is-editor.php:1060
677
  msgid "Price"
678
  msgstr ""
679
 
680
- #: ../admin/class-is-editor.php:959
681
  msgid "Hide Price for Out of Stock Products"
682
  msgstr ""
683
 
684
- #: ../admin/class-is-editor.php:970
685
  msgid "Sale Badge"
686
  msgstr ""
687
 
688
- #: ../admin/class-is-editor.php:981
689
  msgid "SKU"
690
  msgstr ""
691
 
692
- #: ../admin/class-is-editor.php:992
693
  msgid "Stock Status"
694
  msgstr ""
695
 
696
- #: ../admin/class-is-editor.php:1003 ../public/class-is-ajax.php:411
697
  msgid "Featured Icon"
698
  msgstr ""
699
 
700
- #: ../admin/class-is-editor.php:1014
701
  msgid "Matching Categories"
702
  msgstr ""
703
 
704
- #: ../admin/class-is-editor.php:1025
705
  msgid "Matching Tags"
706
  msgstr ""
707
 
708
- #: ../admin/class-is-editor.php:1036
709
  msgid "Details Box"
710
  msgstr ""
711
 
712
- #: ../admin/class-is-editor.php:1042
713
  msgid "Below options only apply to matching categories or tags."
714
  msgstr ""
715
 
716
- #: ../admin/class-is-editor.php:1044
717
  msgid "Product List"
718
  msgstr ""
719
 
720
- #: ../admin/class-is-editor.php:1047
721
  msgid "All Product"
722
  msgstr ""
723
 
724
- #: ../admin/class-is-editor.php:1048
725
  msgid "Featured Products"
726
  msgstr ""
727
 
728
- #: ../admin/class-is-editor.php:1049
729
  msgid "On-sale Products</option>"
730
  msgstr ""
731
 
732
- #: ../admin/class-is-editor.php:1056
733
  msgid "Order by"
734
  msgstr ""
735
 
736
- #: ../admin/class-is-editor.php:1061
737
  msgid "Random"
738
  msgstr ""
739
 
740
- #: ../admin/class-is-editor.php:1062
741
  msgid "Sales"
742
  msgstr ""
743
 
744
- #: ../admin/class-is-editor.php:1069
745
  msgid "Order"
746
  msgstr ""
747
 
748
- #: ../admin/class-is-editor.php:1072
749
  msgid "ASC"
750
  msgstr ""
751
 
752
- #: ../admin/class-is-editor.php:1073
753
  msgid "DESC"
754
  msgstr ""
755
 
756
- #: ../admin/class-is-editor.php:1093 ../admin/partials/search-form.php:121
757
  msgid "Exclude Content From Search"
758
  msgstr ""
759
 
760
- #: ../admin/class-is-editor.php:1182
761
  #, php-format
762
  msgid ""
763
  "The search form is configured in the %s section to only search specific "
764
  "posts of another post type."
765
  msgstr ""
766
 
767
- #: ../admin/class-is-editor.php:1187
768
  #, php-format
769
  msgid "Do not exclude any %s from search"
770
  msgstr ""
771
 
772
- #: ../admin/class-is-editor.php:1189
773
  #, php-format
774
  msgid "Exclude selected %s from search"
775
  msgstr ""
776
 
777
- #: ../admin/class-is-editor.php:1192
778
  #, php-format
779
  msgid ""
780
  "The search form is configured in the %1$s section to only search specific "
781
  "%2$s."
782
  msgstr ""
783
 
784
- #: ../admin/class-is-editor.php:1229
785
  #, php-format
786
  msgid ""
787
  "Do not exclude any %s from search of any taxonomies (%s categories, tags & "
788
  "terms %s)"
789
  msgstr ""
790
 
791
- #: ../admin/class-is-editor.php:1231
792
  #, php-format
793
  msgid ""
794
  "Exclude %s from search of selected taxonomies (%s categories, tags & terms "
795
  "%s)"
796
  msgstr ""
797
 
798
- #: ../admin/class-is-editor.php:1255
799
  #, php-format
800
  msgid "Exclude %s from search having selected custom fields"
801
  msgstr ""
802
 
803
- #: ../admin/class-is-editor.php:1267
804
  msgid "Exclude 'Out of Stock' products from search"
805
  msgstr ""
806
 
807
- #: ../admin/class-is-editor.php:1297
808
  msgid "Excluded File Types :"
809
  msgstr ""
810
 
811
- #: ../admin/class-is-editor.php:1307
812
  msgid "Exclude selected MIME types from search"
813
  msgstr ""
814
 
815
- #: ../admin/class-is-editor.php:1311
816
  msgid "Exclude Images"
817
  msgstr ""
818
 
819
- #: ../admin/class-is-editor.php:1313
820
  msgid "Exclude Videos"
821
  msgstr ""
822
 
823
- #: ../admin/class-is-editor.php:1315
824
  msgid "Exclude Audios"
825
  msgstr ""
826
 
827
- #: ../admin/class-is-editor.php:1317
828
  msgid "Exclude Text Files"
829
  msgstr ""
830
 
831
- #: ../admin/class-is-editor.php:1319
832
  msgid "Exclude PDF Files"
833
  msgstr ""
834
 
835
- #: ../admin/class-is-editor.php:1321
836
  msgid "Exclude Document Files"
837
  msgstr ""
838
 
839
- #: ../admin/class-is-editor.php:1328
840
  #, php-format
841
  msgid ""
842
  "This search form is configured in the %s section to search specific "
843
  "attachments."
844
  msgstr ""
845
 
846
- #: ../admin/class-is-editor.php:1349
847
  msgid "Exclude posts from search created by selected authors."
848
  msgstr ""
849
 
850
- #: ../admin/class-is-editor.php:1368 ../admin/class-is-editor.php:1370
851
  msgid "Search all author posts"
852
  msgstr ""
853
 
854
- #: ../admin/class-is-editor.php:1398
855
  #, php-format
856
  msgid ""
857
  "This search form is configured in the %s section to search posts created by "
858
  "specific authors."
859
  msgstr ""
860
 
861
- #: ../admin/class-is-editor.php:1408
862
  msgid "Exclude posts from search having selected post statuses."
863
  msgstr ""
864
 
865
- #: ../admin/class-is-editor.php:1413
866
  msgid "Exclude sticky posts from search"
867
  msgstr ""
868
 
869
- #: ../admin/class-is-editor.php:1428 ../admin/partials/search-form.php:136
870
  msgid "Advanced Search Form Options"
871
  msgstr ""
872
 
873
- #: ../admin/class-is-editor.php:1435
874
  msgid "Posts Per Page"
875
  msgstr ""
876
 
877
- #: ../admin/class-is-editor.php:1439
878
  msgid "Display selected number of posts in search results."
879
  msgstr ""
880
 
881
- #: ../admin/class-is-editor.php:1456
882
  msgid "Order Search Results"
883
  msgstr ""
884
 
885
- #: ../admin/class-is-editor.php:1459
886
  msgid "Display posts on search results page ordered by selected options."
887
  msgstr ""
888
 
889
- #: ../admin/class-is-editor.php:1484
890
  msgid "Highlight Search Terms"
891
  msgstr ""
892
 
893
- #: ../admin/class-is-editor.php:1490
894
  msgid "Highlight searched terms on search results page"
895
  msgstr ""
896
 
897
- #: ../admin/class-is-editor.php:1493
898
  msgid "Select text highlight color"
899
  msgstr ""
900
 
901
- #: ../admin/class-is-editor.php:1499
902
  msgid "Search All Or Any Search Terms"
903
  msgstr ""
904
 
905
- #: ../admin/class-is-editor.php:1503
906
  msgid ""
907
  "Select whether to search posts having all or any of the words being searched."
908
  msgstr ""
909
 
910
- #: ../admin/class-is-editor.php:1508
911
  msgid "OR - Display content having any of the search terms"
912
  msgstr ""
913
 
914
- #: ../admin/class-is-editor.php:1510
915
  msgid "AND - Display content having all the search terms"
916
  msgstr ""
917
 
918
- #: ../admin/class-is-editor.php:1516
919
  msgid "Fuzzy Matching"
920
  msgstr ""
921
 
922
- #: ../admin/class-is-editor.php:1519
923
  msgid ""
924
  "Select whether to search posts having whole or partial word being searched."
925
  msgstr ""
926
 
927
- #: ../admin/class-is-editor.php:1524
928
  msgid "Whole - Search posts that include the whole search term"
929
  msgstr ""
930
 
931
- #: ../admin/class-is-editor.php:1526
932
  msgid ""
933
  "Partial - Also search words in the posts that begins or ends with the search "
934
  "term"
935
  msgstr ""
936
 
937
- #: ../admin/class-is-editor.php:1532
938
  msgid "Keyword Stemming"
939
  msgstr ""
940
 
941
- #: ../admin/class-is-editor.php:1536
942
  msgid "Select whether to search the base word of a searched keyword."
943
  msgstr ""
944
 
945
- #: ../admin/class-is-editor.php:1537
946
  msgid ""
947
  "For Example: If you search \"doing\" then it also searches base word of "
948
  "\"doing\" that is \"do\" in the specified post types."
949
  msgstr ""
950
 
951
- #: ../admin/class-is-editor.php:1538
952
  msgid "Not recommended to use when Fuzzy Matching option is set to Whole."
953
  msgstr ""
954
 
955
- #: ../admin/class-is-editor.php:1544
956
  msgid "Also search base word of searched keyword"
957
  msgstr ""
958
 
959
- #: ../admin/class-is-editor.php:1551
960
  msgid "Others"
961
  msgstr ""
962
 
963
- #: ../admin/class-is-editor.php:1557
964
  msgid "Display sticky posts to the start of the search results page"
965
  msgstr ""
966
 
967
- #: ../admin/class-is-editor.php:1561
968
  msgid "Display search form only for site administrator"
969
  msgstr ""
970
 
971
- #: ../admin/class-is-editor.php:1565
972
  msgid "Disable this search form"
973
  msgstr ""
974
 
975
- #: ../admin/class-is-editor.php:1568
976
  msgid ""
977
  "Select whether to display an error when user perform search without any "
978
  "search word."
979
  msgstr ""
980
 
981
- #: ../admin/class-is-editor.php:1572
982
  msgid "Display an error for empty search query"
983
  msgstr ""
984
 
@@ -1012,8 +1018,8 @@ msgid ""
1012
  msgstr ""
1013
 
1014
  #: ../admin/class-is-help.php:79 ../admin/class-is-list-table.php:154
1015
- #: ../admin/class-is-settings-fields.php:424
1016
- #: ../admin/class-is-settings-fields.php:455
1017
  #: ../includes/class-is-search-form.php:559 ../includes/class-is-widget.php:83
1018
  msgid "Edit"
1019
  msgstr ""
@@ -1127,7 +1133,7 @@ msgstr ""
1127
  msgid "For more information:"
1128
  msgstr ""
1129
 
1130
- #: ../admin/class-is-help.php:112 ../admin/partials/settings-form.php:108
1131
  msgid "Give us a rating"
1132
  msgstr ""
1133
 
@@ -1164,322 +1170,322 @@ msgstr ""
1164
  msgid "d/m/Y"
1165
  msgstr ""
1166
 
1167
- #: ../admin/class-is-settings-fields.php:134
1168
  msgid "Custom CSS"
1169
  msgstr ""
1170
 
1171
- #: ../admin/class-is-settings-fields.php:135
1172
  msgid "Stopwords"
1173
  msgstr ""
1174
 
1175
- #: ../admin/class-is-settings-fields.php:136
1176
  msgid "Synonyms"
1177
  msgstr ""
1178
 
1179
- #: ../admin/class-is-settings-fields.php:137
1180
  msgid "Header Search"
1181
  msgstr ""
1182
 
1183
- #: ../admin/class-is-settings-fields.php:138
1184
  msgid "Footer Search"
1185
  msgstr ""
1186
 
1187
- #: ../admin/class-is-settings-fields.php:139
1188
  msgid "Mobile Search"
1189
  msgstr ""
1190
 
1191
- #: ../admin/class-is-settings-fields.php:140
1192
  msgid "Plugin Files"
1193
  msgstr ""
1194
 
1195
- #: ../admin/class-is-settings-fields.php:141
1196
  msgid "Advanced"
1197
  msgstr ""
1198
 
1199
- #: ../admin/class-is-settings-fields.php:149
1200
  msgid "Menu Search Settings"
1201
  msgstr ""
1202
 
1203
- #: ../admin/class-is-settings-fields.php:156
1204
- #: ../admin/class-is-settings-fields.php:173
1205
  msgid "Search Analytics"
1206
  msgstr ""
1207
 
1208
- #: ../admin/class-is-settings-fields.php:166
1209
  msgid "Configure Menu Search"
1210
  msgstr ""
1211
 
1212
- #: ../admin/class-is-settings-fields.php:180
1213
  msgid "Advanced Website Search Settings"
1214
  msgstr ""
1215
 
1216
- #: ../admin/class-is-settings-fields.php:190
1217
  msgid "Display search form on selected menu locations."
1218
  msgstr ""
1219
 
1220
- #: ../admin/class-is-settings-fields.php:206
1221
  #, php-format
1222
  msgid "No menu assigned to navigation menu location in the %sMenus screen%s."
1223
  msgstr ""
1224
 
1225
- #: ../admin/class-is-settings-fields.php:209
1226
  msgid "Navigation menu location is not registered on the site."
1227
  msgstr ""
1228
 
1229
- #: ../admin/class-is-settings-fields.php:218
1230
  msgid "Display search form on selected menus."
1231
  msgstr ""
1232
 
1233
- #: ../admin/class-is-settings-fields.php:232
1234
  #, php-format
1235
  msgid "No menu created in the %sMenus screen%s."
1236
  msgstr ""
1237
 
1238
- #: ../admin/class-is-settings-fields.php:251
1239
  msgid "Display search form at the start of the navigation menu"
1240
  msgstr ""
1241
 
1242
- #: ../admin/class-is-settings-fields.php:257
1243
  msgid "Select menu search form style."
1244
  msgstr ""
1245
 
1246
- #: ../admin/class-is-settings-fields.php:261
1247
  msgid "Default"
1248
  msgstr ""
1249
 
1250
- #: ../admin/class-is-settings-fields.php:262
1251
  msgid "Dropdown"
1252
  msgstr ""
1253
 
1254
- #: ../admin/class-is-settings-fields.php:263
1255
  msgid "Sliding"
1256
  msgstr ""
1257
 
1258
- #: ../admin/class-is-settings-fields.php:264
1259
  msgid "Full Width"
1260
  msgstr ""
1261
 
1262
- #: ../admin/class-is-settings-fields.php:265
1263
  msgid "Popup"
1264
  msgstr ""
1265
 
1266
- #: ../admin/class-is-settings-fields.php:295
1267
  msgid "Select menu magnifier icon color."
1268
  msgstr ""
1269
 
1270
- #: ../admin/class-is-settings-fields.php:309
1271
  msgid "Display search form close icon"
1272
  msgstr ""
1273
 
1274
- #: ../admin/class-is-settings-fields.php:316
1275
  msgid "Add menu title to display in place of search icon."
1276
  msgstr ""
1277
 
1278
- #: ../admin/class-is-settings-fields.php:328
1279
  msgid "Select search form that will control menu search functionality."
1280
  msgstr ""
1281
 
1282
- #: ../admin/class-is-settings-fields.php:340
1283
- #: ../admin/class-is-settings-fields.php:417
1284
- #: ../admin/class-is-settings-fields.php:448
1285
  msgid "None"
1286
  msgstr ""
1287
 
1288
- #: ../admin/class-is-settings-fields.php:349
1289
- #: ../admin/class-is-settings-fields.php:426
1290
- #: ../admin/class-is-settings-fields.php:457 ../includes/class-is-widget.php:85
1291
  msgid "Create New"
1292
  msgstr ""
1293
 
1294
- #: ../admin/class-is-settings-fields.php:357
1295
  msgid "Add class to search form menu item."
1296
  msgstr ""
1297
 
1298
- #: ../admin/class-is-settings-fields.php:361
1299
  msgid "Add multiple classes seperated by space."
1300
  msgstr ""
1301
 
1302
- #: ../admin/class-is-settings-fields.php:367
1303
  msgid ""
1304
  "Add Google Custom Search( CSE ) search form code that will replace default "
1305
  "search form."
1306
  msgstr ""
1307
 
1308
- #: ../admin/class-is-settings-fields.php:381
1309
  msgid "Enabled"
1310
  msgstr ""
1311
 
1312
- #: ../admin/class-is-settings-fields.php:382
1313
  msgid "Disabled"
1314
  msgstr ""
1315
 
1316
- #: ../admin/class-is-settings-fields.php:384
1317
  msgid "Google Analytics tracking for searches"
1318
  msgstr ""
1319
 
1320
- #: ../admin/class-is-settings-fields.php:386
1321
  msgid "Search Analytics uses Google Analytics to track searches."
1322
  msgstr ""
1323
 
1324
- #: ../admin/class-is-settings-fields.php:387
1325
  #, php-format
1326
  msgid "You need %s Google Analytics %s to be installed on your site."
1327
  msgstr ""
1328
 
1329
- #: ../admin/class-is-settings-fields.php:388
1330
  msgid ""
1331
  "Data will be visible inside Google Analytics 'Events' and 'Site Search' "
1332
  "report."
1333
  msgstr ""
1334
 
1335
- #: ../admin/class-is-settings-fields.php:389
1336
  msgid "Events will be as below:"
1337
  msgstr ""
1338
 
1339
- #: ../admin/class-is-settings-fields.php:390
1340
  msgid "Category - Results Found / Nothing Found"
1341
  msgstr ""
1342
 
1343
- #: ../admin/class-is-settings-fields.php:391
1344
  msgid "Action - Ivory Search - ID"
1345
  msgstr ""
1346
 
1347
- #: ../admin/class-is-settings-fields.php:392
1348
  msgid "Label - Value of search term"
1349
  msgstr ""
1350
 
1351
- #: ../admin/class-is-settings-fields.php:393
1352
  #, php-format
1353
  msgid ""
1354
  "Need to %s activate Site Search feature %s inside Google Analytics to "
1355
  "display data inside 'Site Search' report."
1356
  msgstr ""
1357
 
1358
- #: ../admin/class-is-settings-fields.php:394
1359
  msgid ""
1360
  "Enable Site search Tracking option in Site Search Settings and set its "
1361
  "parameters as below."
1362
  msgstr ""
1363
 
1364
- #: ../admin/class-is-settings-fields.php:395
1365
  msgid "Query parameter - s"
1366
  msgstr ""
1367
 
1368
- #: ../admin/class-is-settings-fields.php:396
1369
  msgid "Category parameter - id / result"
1370
  msgstr ""
1371
 
1372
- #: ../admin/class-is-settings-fields.php:406
1373
  msgid "Select search form to display in site header( Not Menu )."
1374
  msgstr ""
1375
 
1376
- #: ../admin/class-is-settings-fields.php:429
1377
  msgid ""
1378
  "Please note that the above option displays search form in site header and "
1379
  "not in navigation menu."
1380
  msgstr ""
1381
 
1382
- #: ../admin/class-is-settings-fields.php:437
1383
  msgid "Select search form to display in site footer."
1384
  msgstr ""
1385
 
1386
- #: ../admin/class-is-settings-fields.php:472
1387
  msgid "Display search form in site header on mobile devices"
1388
  msgstr ""
1389
 
1390
- #: ../admin/class-is-settings-fields.php:475
1391
  msgid ""
1392
  "If this site uses cache then please select the below option to display "
1393
  "search form on mobile."
1394
  msgstr ""
1395
 
1396
- #: ../admin/class-is-settings-fields.php:482
1397
  msgid "This site uses cache"
1398
  msgstr ""
1399
 
1400
- #: ../admin/class-is-settings-fields.php:490
1401
  msgid "Add custom CSS code."
1402
  msgstr ""
1403
 
1404
- #: ../admin/class-is-settings-fields.php:501
1405
  msgid "Add Stopwords that will not be searched."
1406
  msgstr ""
1407
 
1408
- #: ../admin/class-is-settings-fields.php:505
1409
  msgid "Please separate multiple words with commas."
1410
  msgstr ""
1411
 
1412
- #: ../admin/class-is-settings-fields.php:513
1413
  msgid "Add synonyms to make the searches find better results."
1414
  msgstr ""
1415
 
1416
- #: ../admin/class-is-settings-fields.php:514
1417
  msgid ""
1418
  "If you add bird = crow to the list of synonyms, searches for bird "
1419
  "automatically become a search for bird crow and will thus match to posts "
1420
  "that include either bird or crow."
1421
  msgstr ""
1422
 
1423
- #: ../admin/class-is-settings-fields.php:519
1424
  msgid "The format here is key = value"
1425
  msgstr ""
1426
 
1427
- #: ../admin/class-is-settings-fields.php:520
1428
  msgid "Please add every synonyms key = value pairs on new line."
1429
  msgstr ""
1430
 
1431
- #: ../admin/class-is-settings-fields.php:522
1432
  msgid ""
1433
  "This only works for search forms configured to search any of the search "
1434
  "terms(OR) and not all search terms(AND) in the search form Options."
1435
  msgstr ""
1436
 
1437
- #: ../admin/class-is-settings-fields.php:531
1438
  msgid ""
1439
  "Enable below options to disable loading of plugin CSS and JavaScript files."
1440
  msgstr ""
1441
 
1442
- #: ../admin/class-is-settings-fields.php:535
1443
  msgid "Do not load plugin CSS files"
1444
  msgstr ""
1445
 
1446
- #: ../admin/class-is-settings-fields.php:536
1447
  msgid "Do not load plugin JavaScript files"
1448
  msgstr ""
1449
 
1450
- #: ../admin/class-is-settings-fields.php:554
1451
  msgid ""
1452
  "If checked, you have to add following plugin file code into your child theme "
1453
  "CSS file."
1454
  msgstr ""
1455
 
1456
- #: ../admin/class-is-settings-fields.php:559
1457
  msgid ""
1458
  "If checked, you have to add following plugin files code into your child "
1459
  "theme JavaScript file."
1460
  msgstr ""
1461
 
1462
- #: ../admin/class-is-settings-fields.php:575
1463
  msgid "Warning: Use with caution."
1464
  msgstr ""
1465
 
1466
- #: ../admin/class-is-settings-fields.php:580
1467
  msgid ""
1468
  "Do not use Default Search Form to control WordPress default search "
1469
  "functionality"
1470
  msgstr ""
1471
 
1472
- #: ../admin/class-is-settings-fields.php:589
1473
  msgid "Disable search functionality on entire website"
1474
  msgstr ""
1475
 
1476
- #: ../admin/class-is-settings-fields.php:599
1477
  msgid ""
1478
  "Display easy edit links of search form on the website frontend to the admin "
1479
  "users"
1480
  msgstr ""
1481
 
1482
- #: ../admin/partials/search-form.php:68 ../admin/partials/search-form.php:80
1483
  msgid "Add title"
1484
  msgstr ""
1485
 
@@ -1501,18 +1507,6 @@ msgstr ""
1501
  msgid "Click to copy shortcode"
1502
  msgstr ""
1503
 
1504
- #: ../admin/partials/search-form.php:114
1505
- #: ../includes/class-is-admin-public.php:186
1506
- #: ../includes/class-is-search-form.php:469
1507
- #: ../includes/class-is-search-form.php:537 ../public/class-is-public.php:204
1508
- #: ../public/class-is-public.php:253
1509
- msgid "Search"
1510
- msgstr ""
1511
-
1512
- #: ../admin/partials/search-form.php:119
1513
- msgid "Exclude"
1514
- msgstr ""
1515
-
1516
  #: ../admin/partials/search-form.php:124
1517
  msgid "Design"
1518
  msgstr ""
@@ -1536,12 +1530,12 @@ msgid ""
1536
  msgstr ""
1537
 
1538
  #: ../admin/partials/search-form.php:203
1539
- #: ../admin/partials/settings-form.php:105
1540
  msgid "Documentation"
1541
  msgstr ""
1542
 
1543
  #: ../admin/partials/search-form.php:205
1544
- #: ../admin/partials/settings-form.php:107
1545
  msgid "Contact Us"
1546
  msgstr ""
1547
 
@@ -1639,34 +1633,34 @@ msgstr ""
1639
  msgid "More results"
1640
  msgstr ""
1641
 
1642
- #: ../public/class-is-ajax.php:298 ../public/partials/is-ajax-results.php:31
1643
  msgid "Category"
1644
  msgstr ""
1645
 
1646
- #: ../public/class-is-ajax.php:300 ../public/partials/is-ajax-results.php:21
1647
  msgid "Tag"
1648
  msgstr ""
1649
 
1650
- #: ../public/class-is-ajax.php:494
1651
  msgid "Tagged with:"
1652
  msgstr ""
1653
 
1654
- #: ../public/class-is-ajax.php:522
1655
  msgid "Categories:"
1656
  msgstr ""
1657
 
1658
- #: ../public/class-is-ajax.php:595
1659
  msgid "In stock"
1660
  msgstr ""
1661
 
1662
- #: ../public/class-is-ajax.php:595
1663
  msgid "Out of stock"
1664
  msgstr ""
1665
 
1666
- #: ../public/class-is-ajax.php:618
1667
  msgid "SKU:"
1668
  msgstr ""
1669
 
1670
- #: ../public/class-is-ajax.php:670
1671
  msgid "Sale!"
1672
  msgstr ""
2
  msgid ""
3
  msgstr ""
4
  "Project-Id-Version: Ivory Search\n"
5
+ "POT-Creation-Date: 2020-08-13 20:41+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"
21
  msgid "The changes you made will be lost if you navigate away from this page."
22
  msgstr ""
23
 
24
+ #: ../admin/class-is-admin.php:138 ../admin/class-is-settings-fields.php:357
25
  #: ../admin/partials/search-form.php:23
26
  msgid "Edit Search Form"
27
  msgstr ""
30
  msgid "Click on the search form title to edit it."
31
  msgstr ""
32
 
33
+ #: ../admin/class-is-admin.php:163 ../admin/class-is-admin.php:458
 
 
 
 
34
  #: ../admin/class-is-help.php:64 ../admin/class-is-help.php:97
35
  msgid "Settings"
36
  msgstr ""
37
 
38
+ #: ../admin/class-is-admin.php:181 ../admin/class-is-help.php:110
39
  msgid "Docs"
40
  msgstr ""
41
 
42
+ #: ../admin/class-is-admin.php:182 ../admin/class-is-help.php:111
43
  #: ../admin/partials/search-form.php:204
44
+ #: ../admin/partials/settings-form.php:107
45
  msgid "Support"
46
  msgstr ""
47
 
48
+ #: ../admin/class-is-admin.php:203
49
  #, php-format
50
  msgid ""
51
  "If you like %1$s please leave us a %2$s rating. A huge thanks in advance!"
52
  msgstr ""
53
 
54
+ #: ../admin/class-is-admin.php:204 ../admin/class-is-admin.php:447
55
  #: ../includes/class-is-admin-public.php:94 ../includes/class-is-widget.php:13
56
  msgid "Ivory Search"
57
  msgstr ""
58
 
59
+ #: ../admin/class-is-admin.php:227 ../admin/class-is-admin.php:253
60
  msgid "Dismiss"
61
  msgstr ""
62
 
63
+ #: ../admin/class-is-admin.php:228
64
  msgid "Thank you for using"
65
  msgstr ""
66
 
67
+ #: ../admin/class-is-admin.php:229
68
  msgid "You can configure its"
69
  msgstr ""
70
 
71
+ #: ../admin/class-is-admin.php:229
72
  msgid "settings"
73
  msgstr ""
74
 
75
+ #: ../admin/class-is-admin.php:230
76
  msgid "and get support on"
77
  msgstr ""
78
 
79
+ #: ../admin/class-is-admin.php:230
80
  msgid "support forum"
81
  msgstr ""
82
 
83
+ #: ../admin/class-is-admin.php:231
84
  msgid "or"
85
  msgstr ""
86
 
87
+ #: ../admin/class-is-admin.php:231
88
  msgid "contact us"
89
  msgstr ""
90
 
91
+ #: ../admin/class-is-admin.php:255
92
  #, php-format
93
  msgid ""
94
  "Hey %s, it's Vinod Dalvi from %s. You have used this free plugin for some "
95
  "time now, and I hope you like it!"
96
  msgstr ""
97
 
98
+ #: ../admin/class-is-admin.php:258
99
  #, php-format
100
  msgid ""
101
  "I have spent countless hours developing it, and it would mean a lot to me if "
102
  "you %ssupport it with a quick review on WordPress.org.%s"
103
  msgstr ""
104
 
105
+ #: ../admin/class-is-admin.php:263
106
  msgid "Review Ivory Search"
107
  msgstr ""
108
 
109
+ #: ../admin/class-is-admin.php:264
110
  msgid "No, thanks"
111
  msgstr ""
112
 
113
+ #: ../admin/class-is-admin.php:302
114
  msgid "No posts found"
115
  msgstr ""
116
 
117
+ #: ../admin/class-is-admin.php:403
118
  msgid "Search form created."
119
  msgstr ""
120
 
121
+ #: ../admin/class-is-admin.php:405
122
  msgid "Search form saved."
123
  msgstr ""
124
 
125
+ #: ../admin/class-is-admin.php:407
126
  msgid "Search form deleted."
127
  msgstr ""
128
 
129
+ #: ../admin/class-is-admin.php:409
130
  msgid "Search form reset."
131
  msgstr ""
132
 
133
+ #: ../admin/class-is-admin.php:418
134
  msgid "There was an error saving the search form."
135
  msgstr ""
136
 
137
+ #: ../admin/class-is-admin.php:426
138
  msgid "Validation error occurred."
139
  msgstr ""
140
 
141
+ #: ../admin/class-is-admin.php:427 ../admin/class-is-admin.php:432
 
142
  #: ../admin/class-is-help.php:35 ../admin/class-is-help.php:85
143
  msgid "Includes"
144
  msgstr ""
145
 
146
+ #: ../admin/class-is-admin.php:428 ../admin/class-is-admin.php:434
147
+ #: ../admin/class-is-help.php:40 ../admin/class-is-help.php:86
 
148
  msgid "Excludes"
149
  msgstr ""
150
 
151
+ #: ../admin/class-is-admin.php:437
152
  #, php-format
153
  msgid ""
154
  "Please make sure you have not selected similar %s fields in the search form "
155
  "%s and %s sections."
156
  msgstr ""
157
 
158
+ #: ../admin/class-is-admin.php:449 ../admin/class-is-admin.php:491
159
  #: ../includes/class-is-search-form.php:59
160
  msgid "Search Forms"
161
  msgstr ""
162
 
163
+ #: ../admin/class-is-admin.php:452 ../admin/class-is-admin.php:498
164
  #: ../admin/partials/search-form.php:21 ../admin/partials/search-form.php:31
165
  msgid "Add New Search Form"
166
  msgstr ""
167
 
168
+ #: ../admin/class-is-admin.php:452
169
  msgid "New Search Form"
170
  msgstr ""
171
 
172
+ #: ../admin/class-is-admin.php:455 ../admin/class-is-help.php:59
173
  #: ../admin/class-is-help.php:96
174
  msgid "Menu Search"
175
  msgstr ""
176
 
177
+ #: ../admin/class-is-admin.php:458 ../admin/partials/settings-form.php:20
178
  msgid "Ivory Search Settings"
179
  msgstr ""
180
 
181
+ #: ../admin/class-is-admin.php:504
182
  #, php-format
183
  msgid "Search results for &#8220;%s&#8221;"
184
  msgstr ""
185
 
186
+ #: ../admin/class-is-admin.php:515
187
  msgid "Find Search Forms"
188
  msgstr ""
189
 
190
+ #: ../admin/class-is-admin.php:559
191
  msgid "You are not allowed to edit this item."
192
  msgstr ""
193
 
194
+ #: ../admin/class-is-admin.php:653
195
  msgid "You are not allowed to reset this item."
196
  msgstr ""
197
 
198
+ #: ../admin/class-is-admin.php:689
199
  msgid "You are not allowed to copy this item."
200
  msgstr ""
201
 
202
+ #: ../admin/class-is-admin.php:730
203
  msgid "You are not allowed to delete this item."
204
  msgstr ""
205
 
206
+ #: ../admin/class-is-admin.php:734
207
  msgid "Error in deleting."
208
  msgstr ""
209
 
210
+ #: ../admin/class-is-admin.php:974
211
  msgid "Save Form"
212
  msgstr ""
213
 
214
+ #: ../admin/class-is-admin.php:986
215
  msgid "Upgrade to Pro to Access"
216
  msgstr ""
217
 
218
+ #: ../admin/class-is-admin.php:993
219
  msgid "Install Premium Version to Access"
220
  msgstr ""
221
 
222
+ #: ../admin/class-is-admin.php:995
223
  msgid "Upgrade to Pro Plus to Access"
224
  msgstr ""
225
 
227
  msgid "The requested section does not exist."
228
  msgstr ""
229
 
230
+ #: ../admin/class-is-editor.php:97 ../admin/partials/search-form.php:114
231
+ #: ../includes/class-is-admin-public.php:186
232
+ #: ../includes/class-is-search-form.php:469
233
+ #: ../includes/class-is-search-form.php:537 ../public/class-is-public.php:204
234
+ #: ../public/class-is-public.php:253
235
+ msgid "Search"
236
+ msgstr ""
237
+
238
+ #: ../admin/class-is-editor.php:99 ../admin/partials/search-form.php:119
239
+ msgid "Exclude"
240
+ msgstr ""
241
+
242
+ #: ../admin/class-is-editor.php:118 ../admin/partials/search-form.php:116
243
  msgid "Configure Searchable Content"
244
  msgstr ""
245
 
246
+ #: ../admin/class-is-editor.php:126
247
  msgid "Post Types"
248
  msgstr ""
249
 
250
+ #: ../admin/class-is-editor.php:127 ../admin/class-is-editor.php:405
251
+ #: ../admin/class-is-editor.php:765 ../admin/class-is-editor.php:1129
252
+ #: ../admin/class-is-editor.php:1352 ../admin/class-is-editor.php:1447
253
+ #: ../admin/class-is-editor.php:1563 ../admin/class-is-settings-fields.php:106
254
  msgid "Expand All"
255
  msgstr ""
256
 
257
+ #: ../admin/class-is-editor.php:127 ../admin/class-is-editor.php:405
258
+ #: ../admin/class-is-editor.php:766 ../admin/class-is-editor.php:1129
259
+ #: ../admin/class-is-editor.php:1352 ../admin/class-is-editor.php:1447
260
+ #: ../admin/class-is-editor.php:1563 ../admin/class-is-settings-fields.php:106
261
  msgid "Collapse All"
262
  msgstr ""
263
 
264
+ #: ../admin/class-is-editor.php:131
265
  msgid "Search selected post types."
266
  msgstr ""
267
 
268
+ #: ../admin/class-is-editor.php:146 ../admin/class-is-editor.php:148
269
  msgid "Select Post Types"
270
  msgstr ""
271
 
272
+ #: ../admin/class-is-editor.php:165
273
  msgid "No post types registered on the site."
274
  msgstr ""
275
 
276
+ #: ../admin/class-is-editor.php:171
277
  msgid "Do not display post_type in the search URL"
278
  msgstr ""
279
 
280
+ #: ../admin/class-is-editor.php:180 ../admin/class-is-editor.php:1121
281
  msgid "( WooCommerce )"
282
  msgstr ""
283
 
284
+ #: ../admin/class-is-editor.php:182 ../admin/class-is-editor.php:1123
285
  msgid "( Images, Videos, Audios, Docs, PDFs, Files & Attachments )"
286
  msgstr ""
287
 
288
+ #: ../admin/class-is-editor.php:224 ../admin/class-is-editor.php:274
289
+ #: ../admin/class-is-editor.php:299 ../admin/class-is-editor.php:350
290
+ #: ../admin/class-is-editor.php:1172 ../admin/class-is-editor.php:1227
291
+ #: ../admin/class-is-editor.php:1251 ../admin/class-is-editor.php:1298
292
  msgid "Search.."
293
  msgstr ""
294
 
295
+ #: ../admin/class-is-editor.php:228 ../admin/class-is-editor.php:1176
296
  msgid "Load All"
297
  msgstr ""
298
 
299
+ #: ../admin/class-is-editor.php:233 ../admin/class-is-editor.php:1182
300
  #, php-format
301
  msgid "No %s created."
302
  msgstr ""
303
 
304
+ #: ../admin/class-is-editor.php:235 ../admin/class-is-editor.php:284
305
+ #: ../admin/class-is-editor.php:309 ../admin/class-is-editor.php:358
306
+ #: ../admin/class-is-editor.php:1184 ../admin/class-is-editor.php:1236
307
+ #: ../admin/class-is-editor.php:1262 ../admin/class-is-editor.php:1306
308
  msgid ""
309
  "Hold down the control (ctrl) or command button to select multiple options."
310
  msgstr ""
311
 
312
+ #: ../admin/class-is-editor.php:243
313
  #, php-format
314
  msgid ""
315
  "The %s are not searchable as the search form is configured to only search "
316
  "specific posts of another post type."
317
  msgstr ""
318
 
319
+ #: ../admin/class-is-editor.php:247
320
  #, php-format
321
  msgid "Search all %s"
322
  msgstr ""
323
 
324
+ #: ../admin/class-is-editor.php:249
325
  #, php-format
326
  msgid "Search only selected %s"
327
  msgstr ""
328
 
329
+ #: ../admin/class-is-editor.php:288
330
  #, php-format
331
  msgid "Search %s of all taxonomies (%s categories, tags & terms %s)"
332
  msgstr ""
333
 
334
+ #: ../admin/class-is-editor.php:290
335
  #, php-format
336
  msgid "Search %s of only selected taxonomies (%s categories, tags & terms %s)"
337
  msgstr ""
338
 
339
+ #: ../admin/class-is-editor.php:313
340
  #, php-format
341
  msgid "Search selected %s custom fields values"
342
  msgstr ""
343
 
344
+ #: ../admin/class-is-editor.php:325
345
  msgid "Search product SKU"
346
  msgstr ""
347
 
348
+ #: ../admin/class-is-editor.php:328
349
  msgid "Search product variation"
350
  msgstr ""
351
 
352
+ #: ../admin/class-is-editor.php:360
353
  msgid "Selected File Types :"
354
  msgstr ""
355
 
356
+ #: ../admin/class-is-editor.php:368 ../admin/class-is-editor.php:1316
357
  msgid "Search all MIME types"
358
  msgstr ""
359
 
360
+ #: ../admin/class-is-editor.php:370
361
  msgid "Search only selected MIME types"
362
  msgstr ""
363
 
364
+ #: ../admin/class-is-editor.php:375
365
  msgid "Search Images"
366
  msgstr ""
367
 
368
+ #: ../admin/class-is-editor.php:377
369
  msgid "Search Videos"
370
  msgstr ""
371
 
372
+ #: ../admin/class-is-editor.php:379
373
  msgid "Search Audios"
374
  msgstr ""
375
 
376
+ #: ../admin/class-is-editor.php:381
377
  msgid "Search Text Files"
378
  msgstr ""
379
 
380
+ #: ../admin/class-is-editor.php:383
381
  msgid "Search PDF Files"
382
  msgstr ""
383
 
384
+ #: ../admin/class-is-editor.php:385
385
  msgid "Search Document Files"
386
  msgstr ""
387
 
388
+ #: ../admin/class-is-editor.php:392
389
  #, php-format
390
  msgid ""
391
  "This search form is configured in the %s section to not search specific MIME "
392
  "types."
393
  msgstr ""
394
 
395
+ #: ../admin/class-is-editor.php:395 ../admin/class-is-editor.php:1342
396
  msgid ""
397
  "You are using WordPress version less than 4.9 which does not support "
398
  "searching by MIME type."
399
  msgstr ""
400
 
401
+ #: ../admin/class-is-editor.php:404 ../admin/class-is-editor.php:1351
402
  msgid "Extras"
403
  msgstr ""
404
 
405
+ #: ../admin/class-is-editor.php:409
406
  msgid "Search Content"
407
  msgstr ""
408
 
409
+ #: ../admin/class-is-editor.php:414
410
  #, php-format
411
  msgid "Search post title %s( File title )%s"
412
  msgstr ""
413
 
414
+ #: ../admin/class-is-editor.php:417
415
  #, php-format
416
  msgid "Search post content %s( File description )%s"
417
  msgstr ""
418
 
419
+ #: ../admin/class-is-editor.php:420
420
  #, php-format
421
  msgid "Search post excerpt %s( File caption )%s"
422
  msgstr ""
423
 
424
+ #: ../admin/class-is-editor.php:423
425
  #, php-format
426
  msgid "Search category/tag title %s( Displays posts of the category/tag )%s"
427
  msgstr ""
428
 
429
+ #: ../admin/class-is-editor.php:426
430
  #, php-format
431
  msgid ""
432
  "Search category/tag description %s( Displays posts of the category/tag )%s"
433
  msgstr ""
434
 
435
+ #: ../admin/class-is-editor.php:447
436
  msgid ""
437
  "Note: The below option is disabled and set to OR as you have configured the "
438
  "search form to search multiple taxonomies."
439
  msgstr ""
440
 
441
+ #: ../admin/class-is-editor.php:452
442
  msgid "AND - Search posts having all the above selected category terms"
443
  msgstr ""
444
 
445
+ #: ../admin/class-is-editor.php:454
446
  msgid "OR - Search posts having any one of the above selected category terms"
447
  msgstr ""
448
 
449
+ #: ../admin/class-is-editor.php:460 ../admin/class-is-editor.php:1415
450
  msgid "Post Status"
451
  msgstr ""
452
 
453
+ #: ../admin/class-is-editor.php:464
454
  msgid "Search posts having selected post statuses."
455
  msgstr ""
456
 
457
+ #: ../admin/class-is-editor.php:481
458
  msgid "Select Post Status"
459
  msgstr ""
460
 
461
+ #: ../admin/class-is-editor.php:500 ../admin/class-is-editor.php:1356
462
  msgid "Authors"
463
  msgstr ""
464
 
465
+ #: ../admin/class-is-editor.php:504
466
  msgid "Search posts created by selected authors."
467
  msgstr ""
468
 
469
+ #: ../admin/class-is-editor.php:523 ../admin/class-is-editor.php:525
470
  msgid "Searches all author posts"
471
  msgstr ""
472
 
473
+ #: ../admin/class-is-editor.php:553
474
  #, php-format
475
  msgid ""
476
  "This search form is configured in the %s section to not search for specific "
477
  "author posts."
478
  msgstr ""
479
 
480
+ #: ../admin/class-is-editor.php:561
481
  msgid "Search author Display Name and display the posts created by that author"
482
  msgstr ""
483
 
484
+ #: ../admin/class-is-editor.php:566
485
  msgid "Comments"
486
  msgstr ""
487
 
488
+ #: ../admin/class-is-editor.php:575
489
  msgid "Search posts having number of comments"
490
  msgstr ""
491
 
492
+ #: ../admin/class-is-editor.php:585
493
  msgid "NA"
494
  msgstr ""
495
 
496
+ #: ../admin/class-is-editor.php:596
497
  msgid "Search approved comment content"
498
  msgstr ""
499
 
500
+ #: ../admin/class-is-editor.php:601
501
  msgid "Password Protected"
502
  msgstr ""
503
 
504
+ #: ../admin/class-is-editor.php:607
505
  msgid "Search posts with or without passwords"
506
  msgstr ""
507
 
508
+ #: ../admin/class-is-editor.php:609
509
  msgid "Search posts with passwords"
510
  msgstr ""
511
 
512
+ #: ../admin/class-is-editor.php:611
513
  msgid "Search posts without passwords"
514
  msgstr ""
515
 
516
+ #: ../admin/class-is-editor.php:615 ../admin/class-is-editor.php:852
517
+ #: ../admin/class-is-editor.php:1071 ../admin/class-is-list-table.php:33
518
  msgid "Date"
519
  msgstr ""
520
 
521
+ #: ../admin/class-is-editor.php:619
522
  msgid "Search posts created only in the specified date range."
523
  msgstr ""
524
 
525
+ #: ../admin/class-is-editor.php:625
526
  msgid "From"
527
  msgstr ""
528
 
529
+ #: ../admin/class-is-editor.php:625
530
  msgid "To"
531
  msgstr ""
532
 
533
+ #: ../admin/class-is-editor.php:649 ../admin/partials/search-form.php:126
534
  msgid "Design Search Form Colors, Text and Style"
535
  msgstr ""
536
 
537
+ #: ../admin/class-is-editor.php:656 ../admin/class-is-editor.php:673
538
  msgid "Enable Search Form Customization"
539
  msgstr ""
540
 
541
+ #: ../admin/class-is-editor.php:669 ../includes/class-is-search-form.php:563
542
  msgid "Customizer"
543
  msgstr ""
544
 
545
+ #: ../admin/class-is-editor.php:675
546
  msgid ""
547
  "Use below customizer to customize search form colors, text and search form "
548
  "style."
549
  msgstr ""
550
 
551
+ #: ../admin/class-is-editor.php:683
552
  msgid "Search Form Customizer"
553
  msgstr ""
554
 
555
+ #: ../admin/class-is-editor.php:731 ../public/class-is-ajax.php:68
556
  msgid "Nothing found"
557
  msgstr ""
558
 
559
+ #: ../admin/class-is-editor.php:734
560
  msgid "View All"
561
  msgstr ""
562
 
563
+ #: ../admin/class-is-editor.php:738
564
  msgid "More Results.."
565
  msgstr ""
566
 
567
+ #: ../admin/class-is-editor.php:749 ../admin/partials/search-form.php:131
568
  msgid "Configure AJAX Search"
569
  msgstr ""
570
 
571
+ #: ../admin/class-is-editor.php:756 ../admin/class-is-editor.php:770
572
+ #: ../admin/class-is-editor.php:952
573
  msgid "Enable AJAX Search"
574
  msgstr ""
575
 
576
+ #: ../admin/class-is-editor.php:763
577
  msgid "AJAX Search Results"
578
  msgstr ""
579
 
580
+ #: ../admin/class-is-editor.php:771
581
  msgid "Display selected content in the search results."
582
  msgstr ""
583
 
584
+ #: ../admin/class-is-editor.php:778
585
  msgid "Description"
586
  msgstr ""
587
 
588
+ #: ../admin/class-is-editor.php:786
589
  msgid "Excerpt"
590
  msgstr ""
591
 
592
+ #: ../admin/class-is-editor.php:792
593
  msgid "Content"
594
  msgstr ""
595
 
596
+ #: ../admin/class-is-editor.php:800
597
  msgid "Description Length."
598
  msgstr ""
599
 
600
+ #: ../admin/class-is-editor.php:808
601
  msgid "Image"
602
  msgstr ""
603
 
604
+ #: ../admin/class-is-editor.php:819
605
  msgid "Categories"
606
  msgstr ""
607
 
608
+ #: ../admin/class-is-editor.php:830
609
  msgid "Tags"
610
  msgstr ""
611
 
612
+ #: ../admin/class-is-editor.php:841
613
  msgid "Author"
614
  msgstr ""
615
 
616
+ #: ../admin/class-is-editor.php:859
617
  msgid "Minimum number of characters required to run ajax search."
618
  msgstr ""
619
 
620
+ #: ../admin/class-is-editor.php:864
621
  msgid "Search results box max height."
622
  msgstr ""
623
 
624
+ #: ../admin/class-is-editor.php:867
625
  msgid "Configure the plugin text displayed in the search results."
626
  msgstr ""
627
 
628
+ #: ../admin/class-is-editor.php:872
629
  msgid "Text when there is no search results. HTML tags is allowed."
630
  msgstr ""
631
 
632
+ #: ../admin/class-is-editor.php:881
633
  msgid "Show 'More Results..' text in the bottom of the search results box"
634
  msgstr ""
635
 
636
+ #: ../admin/class-is-editor.php:889
637
  msgid "Text for the \"More Results..\"."
638
  msgstr ""
639
 
640
+ #: ../admin/class-is-editor.php:898
641
  msgid "Redirect to search results page clicking on the 'More Results..' text"
642
  msgstr ""
643
 
644
+ #: ../admin/class-is-editor.php:908
645
  msgid ""
646
  "View All Result - Show link to search results page at the bottom of search "
647
  "results block."
648
  msgstr ""
649
 
650
+ #: ../admin/class-is-editor.php:917
651
  msgid ""
652
  "Text for the \"View All\" which shown at the bottom of the search result."
653
  msgstr ""
654
 
655
+ #: ../admin/class-is-editor.php:922
656
  msgid "Configure how the search button should work clicking on it."
657
  msgstr ""
658
 
659
+ #: ../admin/class-is-editor.php:928
660
  msgid "Search button displays search results page"
661
  msgstr ""
662
 
663
+ #: ../admin/class-is-editor.php:935
664
  msgid "Search button displays ajax search results"
665
  msgstr ""
666
 
667
+ #: ../admin/class-is-editor.php:943 ../admin/class-is-help.php:136
668
  msgid "WooCommerce"
669
  msgstr ""
670
 
671
+ #: ../admin/class-is-editor.php:950
672
  #, php-format
673
  msgid ""
674
  "Please first configure this search form in the %s section to search "
675
  "WooCommerce product post type."
676
  msgstr ""
677
 
678
+ #: ../admin/class-is-editor.php:953
679
  msgid "Display selected WooCommerce content in the search results."
680
  msgstr ""
681
 
682
+ #: ../admin/class-is-editor.php:960 ../admin/class-is-editor.php:1072
683
  msgid "Price"
684
  msgstr ""
685
 
686
+ #: ../admin/class-is-editor.php:971
687
  msgid "Hide Price for Out of Stock Products"
688
  msgstr ""
689
 
690
+ #: ../admin/class-is-editor.php:982
691
  msgid "Sale Badge"
692
  msgstr ""
693
 
694
+ #: ../admin/class-is-editor.php:993
695
  msgid "SKU"
696
  msgstr ""
697
 
698
+ #: ../admin/class-is-editor.php:1004
699
  msgid "Stock Status"
700
  msgstr ""
701
 
702
+ #: ../admin/class-is-editor.php:1015 ../public/class-is-ajax.php:410
703
  msgid "Featured Icon"
704
  msgstr ""
705
 
706
+ #: ../admin/class-is-editor.php:1026
707
  msgid "Matching Categories"
708
  msgstr ""
709
 
710
+ #: ../admin/class-is-editor.php:1037
711
  msgid "Matching Tags"
712
  msgstr ""
713
 
714
+ #: ../admin/class-is-editor.php:1048
715
  msgid "Details Box"
716
  msgstr ""
717
 
718
+ #: ../admin/class-is-editor.php:1054
719
  msgid "Below options only apply to matching categories or tags."
720
  msgstr ""
721
 
722
+ #: ../admin/class-is-editor.php:1056
723
  msgid "Product List"
724
  msgstr ""
725
 
726
+ #: ../admin/class-is-editor.php:1059
727
  msgid "All Product"
728
  msgstr ""
729
 
730
+ #: ../admin/class-is-editor.php:1060
731
  msgid "Featured Products"
732
  msgstr ""
733
 
734
+ #: ../admin/class-is-editor.php:1061
735
  msgid "On-sale Products</option>"
736
  msgstr ""
737
 
738
+ #: ../admin/class-is-editor.php:1068
739
  msgid "Order by"
740
  msgstr ""
741
 
742
+ #: ../admin/class-is-editor.php:1073
743
  msgid "Random"
744
  msgstr ""
745
 
746
+ #: ../admin/class-is-editor.php:1074
747
  msgid "Sales"
748
  msgstr ""
749
 
750
+ #: ../admin/class-is-editor.php:1081
751
  msgid "Order"
752
  msgstr ""
753
 
754
+ #: ../admin/class-is-editor.php:1084
755
  msgid "ASC"
756
  msgstr ""
757
 
758
+ #: ../admin/class-is-editor.php:1085
759
  msgid "DESC"
760
  msgstr ""
761
 
762
+ #: ../admin/class-is-editor.php:1104 ../admin/partials/search-form.php:121
763
  msgid "Exclude Content From Search"
764
  msgstr ""
765
 
766
+ #: ../admin/class-is-editor.php:1193
767
  #, php-format
768
  msgid ""
769
  "The search form is configured in the %s section to only search specific "
770
  "posts of another post type."
771
  msgstr ""
772
 
773
+ #: ../admin/class-is-editor.php:1198
774
  #, php-format
775
  msgid "Do not exclude any %s from search"
776
  msgstr ""
777
 
778
+ #: ../admin/class-is-editor.php:1200
779
  #, php-format
780
  msgid "Exclude selected %s from search"
781
  msgstr ""
782
 
783
+ #: ../admin/class-is-editor.php:1203
784
  #, php-format
785
  msgid ""
786
  "The search form is configured in the %1$s section to only search specific "
787
  "%2$s."
788
  msgstr ""
789
 
790
+ #: ../admin/class-is-editor.php:1240
791
  #, php-format
792
  msgid ""
793
  "Do not exclude any %s from search of any taxonomies (%s categories, tags & "
794
  "terms %s)"
795
  msgstr ""
796
 
797
+ #: ../admin/class-is-editor.php:1242
798
  #, php-format
799
  msgid ""
800
  "Exclude %s from search of selected taxonomies (%s categories, tags & terms "
801
  "%s)"
802
  msgstr ""
803
 
804
+ #: ../admin/class-is-editor.php:1266
805
  #, php-format
806
  msgid "Exclude %s from search having selected custom fields"
807
  msgstr ""
808
 
809
+ #: ../admin/class-is-editor.php:1278
810
  msgid "Exclude 'Out of Stock' products from search"
811
  msgstr ""
812
 
813
+ #: ../admin/class-is-editor.php:1308
814
  msgid "Excluded File Types :"
815
  msgstr ""
816
 
817
+ #: ../admin/class-is-editor.php:1318
818
  msgid "Exclude selected MIME types from search"
819
  msgstr ""
820
 
821
+ #: ../admin/class-is-editor.php:1322
822
  msgid "Exclude Images"
823
  msgstr ""
824
 
825
+ #: ../admin/class-is-editor.php:1324
826
  msgid "Exclude Videos"
827
  msgstr ""
828
 
829
+ #: ../admin/class-is-editor.php:1326
830
  msgid "Exclude Audios"
831
  msgstr ""
832
 
833
+ #: ../admin/class-is-editor.php:1328
834
  msgid "Exclude Text Files"
835
  msgstr ""
836
 
837
+ #: ../admin/class-is-editor.php:1330
838
  msgid "Exclude PDF Files"
839
  msgstr ""
840
 
841
+ #: ../admin/class-is-editor.php:1332
842
  msgid "Exclude Document Files"
843
  msgstr ""
844
 
845
+ #: ../admin/class-is-editor.php:1339
846
  #, php-format
847
  msgid ""
848
  "This search form is configured in the %s section to search specific "
849
  "attachments."
850
  msgstr ""
851
 
852
+ #: ../admin/class-is-editor.php:1360
853
  msgid "Exclude posts from search created by selected authors."
854
  msgstr ""
855
 
856
+ #: ../admin/class-is-editor.php:1379 ../admin/class-is-editor.php:1381
857
  msgid "Search all author posts"
858
  msgstr ""
859
 
860
+ #: ../admin/class-is-editor.php:1409
861
  #, php-format
862
  msgid ""
863
  "This search form is configured in the %s section to search posts created by "
864
  "specific authors."
865
  msgstr ""
866
 
867
+ #: ../admin/class-is-editor.php:1419
868
  msgid "Exclude posts from search having selected post statuses."
869
  msgstr ""
870
 
871
+ #: ../admin/class-is-editor.php:1424
872
  msgid "Exclude sticky posts from search"
873
  msgstr ""
874
 
875
+ #: ../admin/class-is-editor.php:1439 ../admin/partials/search-form.php:136
876
  msgid "Advanced Search Form Options"
877
  msgstr ""
878
 
879
+ #: ../admin/class-is-editor.php:1446
880
  msgid "Posts Per Page"
881
  msgstr ""
882
 
883
+ #: ../admin/class-is-editor.php:1450
884
  msgid "Display selected number of posts in search results."
885
  msgstr ""
886
 
887
+ #: ../admin/class-is-editor.php:1467
888
  msgid "Order Search Results"
889
  msgstr ""
890
 
891
+ #: ../admin/class-is-editor.php:1470
892
  msgid "Display posts on search results page ordered by selected options."
893
  msgstr ""
894
 
895
+ #: ../admin/class-is-editor.php:1495
896
  msgid "Highlight Search Terms"
897
  msgstr ""
898
 
899
+ #: ../admin/class-is-editor.php:1501
900
  msgid "Highlight searched terms on search results page"
901
  msgstr ""
902
 
903
+ #: ../admin/class-is-editor.php:1504
904
  msgid "Select text highlight color"
905
  msgstr ""
906
 
907
+ #: ../admin/class-is-editor.php:1510
908
  msgid "Search All Or Any Search Terms"
909
  msgstr ""
910
 
911
+ #: ../admin/class-is-editor.php:1514
912
  msgid ""
913
  "Select whether to search posts having all or any of the words being searched."
914
  msgstr ""
915
 
916
+ #: ../admin/class-is-editor.php:1519
917
  msgid "OR - Display content having any of the search terms"
918
  msgstr ""
919
 
920
+ #: ../admin/class-is-editor.php:1521
921
  msgid "AND - Display content having all the search terms"
922
  msgstr ""
923
 
924
+ #: ../admin/class-is-editor.php:1527
925
  msgid "Fuzzy Matching"
926
  msgstr ""
927
 
928
+ #: ../admin/class-is-editor.php:1530
929
  msgid ""
930
  "Select whether to search posts having whole or partial word being searched."
931
  msgstr ""
932
 
933
+ #: ../admin/class-is-editor.php:1535
934
  msgid "Whole - Search posts that include the whole search term"
935
  msgstr ""
936
 
937
+ #: ../admin/class-is-editor.php:1537
938
  msgid ""
939
  "Partial - Also search words in the posts that begins or ends with the search "
940
  "term"
941
  msgstr ""
942
 
943
+ #: ../admin/class-is-editor.php:1543
944
  msgid "Keyword Stemming"
945
  msgstr ""
946
 
947
+ #: ../admin/class-is-editor.php:1547
948
  msgid "Select whether to search the base word of a searched keyword."
949
  msgstr ""
950
 
951
+ #: ../admin/class-is-editor.php:1548
952
  msgid ""
953
  "For Example: If you search \"doing\" then it also searches base word of "
954
  "\"doing\" that is \"do\" in the specified post types."
955
  msgstr ""
956
 
957
+ #: ../admin/class-is-editor.php:1549
958
  msgid "Not recommended to use when Fuzzy Matching option is set to Whole."
959
  msgstr ""
960
 
961
+ #: ../admin/class-is-editor.php:1555
962
  msgid "Also search base word of searched keyword"
963
  msgstr ""
964
 
965
+ #: ../admin/class-is-editor.php:1562
966
  msgid "Others"
967
  msgstr ""
968
 
969
+ #: ../admin/class-is-editor.php:1568
970
  msgid "Display sticky posts to the start of the search results page"
971
  msgstr ""
972
 
973
+ #: ../admin/class-is-editor.php:1572
974
  msgid "Display search form only for site administrator"
975
  msgstr ""
976
 
977
+ #: ../admin/class-is-editor.php:1576
978
  msgid "Disable this search form"
979
  msgstr ""
980
 
981
+ #: ../admin/class-is-editor.php:1579
982
  msgid ""
983
  "Select whether to display an error when user perform search without any "
984
  "search word."
985
  msgstr ""
986
 
987
+ #: ../admin/class-is-editor.php:1583
988
  msgid "Display an error for empty search query"
989
  msgstr ""
990
 
1018
  msgstr ""
1019
 
1020
  #: ../admin/class-is-help.php:79 ../admin/class-is-list-table.php:154
1021
+ #: ../admin/class-is-settings-fields.php:441
1022
+ #: ../admin/class-is-settings-fields.php:471
1023
  #: ../includes/class-is-search-form.php:559 ../includes/class-is-widget.php:83
1024
  msgid "Edit"
1025
  msgstr ""
1133
  msgid "For more information:"
1134
  msgstr ""
1135
 
1136
+ #: ../admin/class-is-help.php:112 ../admin/partials/settings-form.php:109
1137
  msgid "Give us a rating"
1138
  msgstr ""
1139
 
1170
  msgid "d/m/Y"
1171
  msgstr ""
1172
 
1173
+ #: ../admin/class-is-settings-fields.php:139
1174
  msgid "Custom CSS"
1175
  msgstr ""
1176
 
1177
+ #: ../admin/class-is-settings-fields.php:140
1178
  msgid "Stopwords"
1179
  msgstr ""
1180
 
1181
+ #: ../admin/class-is-settings-fields.php:141
1182
  msgid "Synonyms"
1183
  msgstr ""
1184
 
1185
+ #: ../admin/class-is-settings-fields.php:142
1186
  msgid "Header Search"
1187
  msgstr ""
1188
 
1189
+ #: ../admin/class-is-settings-fields.php:143
1190
  msgid "Footer Search"
1191
  msgstr ""
1192
 
1193
+ #: ../admin/class-is-settings-fields.php:144
1194
  msgid "Mobile Search"
1195
  msgstr ""
1196
 
1197
+ #: ../admin/class-is-settings-fields.php:145
1198
  msgid "Plugin Files"
1199
  msgstr ""
1200
 
1201
+ #: ../admin/class-is-settings-fields.php:146
1202
  msgid "Advanced"
1203
  msgstr ""
1204
 
1205
+ #: ../admin/class-is-settings-fields.php:154
1206
  msgid "Menu Search Settings"
1207
  msgstr ""
1208
 
1209
+ #: ../admin/class-is-settings-fields.php:161
1210
+ #: ../admin/class-is-settings-fields.php:182
1211
  msgid "Search Analytics"
1212
  msgstr ""
1213
 
1214
+ #: ../admin/class-is-settings-fields.php:172
1215
  msgid "Configure Menu Search"
1216
  msgstr ""
1217
 
1218
+ #: ../admin/class-is-settings-fields.php:192
1219
  msgid "Advanced Website Search Settings"
1220
  msgstr ""
1221
 
1222
+ #: ../admin/class-is-settings-fields.php:204
1223
  msgid "Display search form on selected menu locations."
1224
  msgstr ""
1225
 
1226
+ #: ../admin/class-is-settings-fields.php:220
1227
  #, php-format
1228
  msgid "No menu assigned to navigation menu location in the %sMenus screen%s."
1229
  msgstr ""
1230
 
1231
+ #: ../admin/class-is-settings-fields.php:223
1232
  msgid "Navigation menu location is not registered on the site."
1233
  msgstr ""
1234
 
1235
+ #: ../admin/class-is-settings-fields.php:232
1236
  msgid "Display search form on selected menus."
1237
  msgstr ""
1238
 
1239
+ #: ../admin/class-is-settings-fields.php:247
1240
  #, php-format
1241
  msgid "No menu created in the %sMenus screen%s."
1242
  msgstr ""
1243
 
1244
+ #: ../admin/class-is-settings-fields.php:268
1245
  msgid "Display search form at the start of the navigation menu"
1246
  msgstr ""
1247
 
1248
+ #: ../admin/class-is-settings-fields.php:274
1249
  msgid "Select menu search form style."
1250
  msgstr ""
1251
 
1252
+ #: ../admin/class-is-settings-fields.php:278
1253
  msgid "Default"
1254
  msgstr ""
1255
 
1256
+ #: ../admin/class-is-settings-fields.php:279
1257
  msgid "Dropdown"
1258
  msgstr ""
1259
 
1260
+ #: ../admin/class-is-settings-fields.php:280
1261
  msgid "Sliding"
1262
  msgstr ""
1263
 
1264
+ #: ../admin/class-is-settings-fields.php:281
1265
  msgid "Full Width"
1266
  msgstr ""
1267
 
1268
+ #: ../admin/class-is-settings-fields.php:282
1269
  msgid "Popup"
1270
  msgstr ""
1271
 
1272
+ #: ../admin/class-is-settings-fields.php:309
1273
  msgid "Select menu magnifier icon color."
1274
  msgstr ""
1275
 
1276
+ #: ../admin/class-is-settings-fields.php:322
1277
  msgid "Display search form close icon"
1278
  msgstr ""
1279
 
1280
+ #: ../admin/class-is-settings-fields.php:329
1281
  msgid "Add menu title to display in place of search icon."
1282
  msgstr ""
1283
 
1284
+ #: ../admin/class-is-settings-fields.php:339
1285
  msgid "Select search form that will control menu search functionality."
1286
  msgstr ""
1287
 
1288
+ #: ../admin/class-is-settings-fields.php:350
1289
+ #: ../admin/class-is-settings-fields.php:433
1290
+ #: ../admin/class-is-settings-fields.php:465
1291
  msgid "None"
1292
  msgstr ""
1293
 
1294
+ #: ../admin/class-is-settings-fields.php:359
1295
+ #: ../admin/class-is-settings-fields.php:443
1296
+ #: ../admin/class-is-settings-fields.php:473 ../includes/class-is-widget.php:85
1297
  msgid "Create New"
1298
  msgstr ""
1299
 
1300
+ #: ../admin/class-is-settings-fields.php:367
1301
  msgid "Add class to search form menu item."
1302
  msgstr ""
1303
 
1304
+ #: ../admin/class-is-settings-fields.php:373
1305
  msgid "Add multiple classes seperated by space."
1306
  msgstr ""
1307
 
1308
+ #: ../admin/class-is-settings-fields.php:379
1309
  msgid ""
1310
  "Add Google Custom Search( CSE ) search form code that will replace default "
1311
  "search form."
1312
  msgstr ""
1313
 
1314
+ #: ../admin/class-is-settings-fields.php:397
1315
  msgid "Enabled"
1316
  msgstr ""
1317
 
1318
+ #: ../admin/class-is-settings-fields.php:398
1319
  msgid "Disabled"
1320
  msgstr ""
1321
 
1322
+ #: ../admin/class-is-settings-fields.php:399
1323
  msgid "Google Analytics tracking for searches"
1324
  msgstr ""
1325
 
1326
+ #: ../admin/class-is-settings-fields.php:400
1327
  msgid "Search Analytics uses Google Analytics to track searches."
1328
  msgstr ""
1329
 
1330
+ #: ../admin/class-is-settings-fields.php:401
1331
  #, php-format
1332
  msgid "You need %s Google Analytics %s to be installed on your site."
1333
  msgstr ""
1334
 
1335
+ #: ../admin/class-is-settings-fields.php:402
1336
  msgid ""
1337
  "Data will be visible inside Google Analytics 'Events' and 'Site Search' "
1338
  "report."
1339
  msgstr ""
1340
 
1341
+ #: ../admin/class-is-settings-fields.php:403
1342
  msgid "Events will be as below:"
1343
  msgstr ""
1344
 
1345
+ #: ../admin/class-is-settings-fields.php:404
1346
  msgid "Category - Results Found / Nothing Found"
1347
  msgstr ""
1348
 
1349
+ #: ../admin/class-is-settings-fields.php:405
1350
  msgid "Action - Ivory Search - ID"
1351
  msgstr ""
1352
 
1353
+ #: ../admin/class-is-settings-fields.php:406
1354
  msgid "Label - Value of search term"
1355
  msgstr ""
1356
 
1357
+ #: ../admin/class-is-settings-fields.php:407
1358
  #, php-format
1359
  msgid ""
1360
  "Need to %s activate Site Search feature %s inside Google Analytics to "
1361
  "display data inside 'Site Search' report."
1362
  msgstr ""
1363
 
1364
+ #: ../admin/class-is-settings-fields.php:408
1365
  msgid ""
1366
  "Enable Site search Tracking option in Site Search Settings and set its "
1367
  "parameters as below."
1368
  msgstr ""
1369
 
1370
+ #: ../admin/class-is-settings-fields.php:409
1371
  msgid "Query parameter - s"
1372
  msgstr ""
1373
 
1374
+ #: ../admin/class-is-settings-fields.php:410
1375
  msgid "Category parameter - id / result"
1376
  msgstr ""
1377
 
1378
+ #: ../admin/class-is-settings-fields.php:421
1379
  msgid "Select search form to display in site header( Not Menu )."
1380
  msgstr ""
1381
 
1382
+ #: ../admin/class-is-settings-fields.php:446
1383
  msgid ""
1384
  "Please note that the above option displays search form in site header and "
1385
  "not in navigation menu."
1386
  msgstr ""
1387
 
1388
+ #: ../admin/class-is-settings-fields.php:454
1389
  msgid "Select search form to display in site footer."
1390
  msgstr ""
1391
 
1392
+ #: ../admin/class-is-settings-fields.php:489
1393
  msgid "Display search form in site header on mobile devices"
1394
  msgstr ""
1395
 
1396
+ #: ../admin/class-is-settings-fields.php:492
1397
  msgid ""
1398
  "If this site uses cache then please select the below option to display "
1399
  "search form on mobile."
1400
  msgstr ""
1401
 
1402
+ #: ../admin/class-is-settings-fields.php:499
1403
  msgid "This site uses cache"
1404
  msgstr ""
1405
 
1406
+ #: ../admin/class-is-settings-fields.php:508
1407
  msgid "Add custom CSS code."
1408
  msgstr ""
1409
 
1410
+ #: ../admin/class-is-settings-fields.php:521
1411
  msgid "Add Stopwords that will not be searched."
1412
  msgstr ""
1413
 
1414
+ #: ../admin/class-is-settings-fields.php:526
1415
  msgid "Please separate multiple words with commas."
1416
  msgstr ""
1417
 
1418
+ #: ../admin/class-is-settings-fields.php:535
1419
  msgid "Add synonyms to make the searches find better results."
1420
  msgstr ""
1421
 
1422
+ #: ../admin/class-is-settings-fields.php:537
1423
  msgid ""
1424
  "If you add bird = crow to the list of synonyms, searches for bird "
1425
  "automatically become a search for bird crow and will thus match to posts "
1426
  "that include either bird or crow."
1427
  msgstr ""
1428
 
1429
+ #: ../admin/class-is-settings-fields.php:542
1430
  msgid "The format here is key = value"
1431
  msgstr ""
1432
 
1433
+ #: ../admin/class-is-settings-fields.php:543
1434
  msgid "Please add every synonyms key = value pairs on new line."
1435
  msgstr ""
1436
 
1437
+ #: ../admin/class-is-settings-fields.php:545
1438
  msgid ""
1439
  "This only works for search forms configured to search any of the search "
1440
  "terms(OR) and not all search terms(AND) in the search form Options."
1441
  msgstr ""
1442
 
1443
+ #: ../admin/class-is-settings-fields.php:554
1444
  msgid ""
1445
  "Enable below options to disable loading of plugin CSS and JavaScript files."
1446
  msgstr ""
1447
 
1448
+ #: ../admin/class-is-settings-fields.php:558
1449
  msgid "Do not load plugin CSS files"
1450
  msgstr ""
1451
 
1452
+ #: ../admin/class-is-settings-fields.php:559
1453
  msgid "Do not load plugin JavaScript files"
1454
  msgstr ""
1455
 
1456
+ #: ../admin/class-is-settings-fields.php:575
1457
  msgid ""
1458
  "If checked, you have to add following plugin file code into your child theme "
1459
  "CSS file."
1460
  msgstr ""
1461
 
1462
+ #: ../admin/class-is-settings-fields.php:580
1463
  msgid ""
1464
  "If checked, you have to add following plugin files code into your child "
1465
  "theme JavaScript file."
1466
  msgstr ""
1467
 
1468
+ #: ../admin/class-is-settings-fields.php:597
1469
  msgid "Warning: Use with caution."
1470
  msgstr ""
1471
 
1472
+ #: ../admin/class-is-settings-fields.php:602
1473
  msgid ""
1474
  "Do not use Default Search Form to control WordPress default search "
1475
  "functionality"
1476
  msgstr ""
1477
 
1478
+ #: ../admin/class-is-settings-fields.php:611
1479
  msgid "Disable search functionality on entire website"
1480
  msgstr ""
1481
 
1482
+ #: ../admin/class-is-settings-fields.php:621
1483
  msgid ""
1484
  "Display easy edit links of search form on the website frontend to the admin "
1485
  "users"
1486
  msgstr ""
1487
 
1488
+ #: ../admin/partials/search-form.php:68
1489
  msgid "Add title"
1490
  msgstr ""
1491
 
1507
  msgid "Click to copy shortcode"
1508
  msgstr ""
1509
 
 
 
 
 
 
 
 
 
 
 
 
 
1510
  #: ../admin/partials/search-form.php:124
1511
  msgid "Design"
1512
  msgstr ""
1530
  msgstr ""
1531
 
1532
  #: ../admin/partials/search-form.php:203
1533
+ #: ../admin/partials/settings-form.php:106
1534
  msgid "Documentation"
1535
  msgstr ""
1536
 
1537
  #: ../admin/partials/search-form.php:205
1538
+ #: ../admin/partials/settings-form.php:108
1539
  msgid "Contact Us"
1540
  msgstr ""
1541
 
1633
  msgid "More results"
1634
  msgstr ""
1635
 
1636
+ #: ../public/class-is-ajax.php:297 ../public/partials/is-ajax-results.php:33
1637
  msgid "Category"
1638
  msgstr ""
1639
 
1640
+ #: ../public/class-is-ajax.php:299 ../public/partials/is-ajax-results.php:22
1641
  msgid "Tag"
1642
  msgstr ""
1643
 
1644
+ #: ../public/class-is-ajax.php:493
1645
  msgid "Tagged with:"
1646
  msgstr ""
1647
 
1648
+ #: ../public/class-is-ajax.php:521
1649
  msgid "Categories:"
1650
  msgstr ""
1651
 
1652
+ #: ../public/class-is-ajax.php:594
1653
  msgid "In stock"
1654
  msgstr ""
1655
 
1656
+ #: ../public/class-is-ajax.php:594
1657
  msgid "Out of stock"
1658
  msgstr ""
1659
 
1660
+ #: ../public/class-is-ajax.php:617
1661
  msgid "SKU:"
1662
  msgstr ""
1663
 
1664
+ #: ../public/class-is-ajax.php:669
1665
  msgid "Sale!"
1666
  msgstr ""
public/class-is-ajax.php CHANGED
@@ -109,7 +109,7 @@ class IS_Ajax {
109
  * @param string $search_term Search Term.
110
  * @return array
111
  */
112
- function get_taxonomies( $taxonomy, $search_term ) {
113
 
114
  $result = array();
115
 
@@ -121,8 +121,7 @@ class IS_Ajax {
121
 
122
  // Used strtolower() because, If search term is 'product' and actual taxonomy title is 'Product',
123
  // Then, it does not match due to its case sensitive test.
124
- // See https://i.imgur.com/F8ag5cB.png
125
- if ( strpos( strtolower($term->name), strtolower($search_term) ) !== false ) {
126
  $result[] = array(
127
  'term_id' => $term->term_id,
128
  'name' => $term->name,
@@ -151,7 +150,7 @@ class IS_Ajax {
151
  $term_title = $args['title'];
152
  $wrapper_class = $args['wrapper_class'];
153
 
154
- $tags = $this->get_taxonomies( $taxonomy, $search_term );
155
  $is_markup = apply_filters( 'is_customize_term_title_markup', false );
156
  if ( $is_markup ) {
157
  do_action( 'is_term_title_markup', $taxonomy, $search_term, $term_title, $wrapper_class, $tags );
109
  * @param string $search_term Search Term.
110
  * @return array
111
  */
112
+ function get_taxonomies( $taxonomy, $search_term, $strict = false ) {
113
 
114
  $result = array();
115
 
121
 
122
  // Used strtolower() because, If search term is 'product' and actual taxonomy title is 'Product',
123
  // Then, it does not match due to its case sensitive test.
124
+ if ( ( $strict && strtolower($term->name) == strtolower($search_term) ) || ( ! $strict && strpos( strtolower($term->name), strtolower($search_term) ) !== false ) ) {
 
125
  $result[] = array(
126
  'term_id' => $term->term_id,
127
  'name' => $term->name,
150
  $term_title = $args['title'];
151
  $wrapper_class = $args['wrapper_class'];
152
 
153
+ $tags = $this->get_taxonomies( $taxonomy, $search_term, $args['strict'] );
154
  $is_markup = apply_filters( 'is_customize_term_title_markup', false );
155
  if ( $is_markup ) {
156
  do_action( 'is_term_title_markup', $taxonomy, $search_term, $term_title, $wrapper_class, $tags );
public/class-is-public.php CHANGED
@@ -45,7 +45,7 @@ class IS_Public
45
  {
46
  global $wp_query ;
47
  $min = ( defined( 'IS_DEBUG' ) && IS_DEBUG ? '' : '.min' );
48
- if ( !isset( $is->opt['not_load_files']['css'] ) ) {
49
  wp_enqueue_style(
50
  'ivory-search-styles',
51
  plugins_url( '/public/css/ivory-search' . $min . '.css', IS_PLUGIN_FILE ),
@@ -187,7 +187,7 @@ class IS_Public
187
  if ( $search_form ) {
188
  $atts['id'] = $menu_search_form;
189
  $display_id = '';
190
- if ( 0 === $menu_search_form || 'Default Search Form' === $search_form->title() ) {
191
  $display_id = 'n';
192
  }
193
  $result = $search_form->form_html( $atts, $display_id );
45
  {
46
  global $wp_query ;
47
  $min = ( defined( 'IS_DEBUG' ) && IS_DEBUG ? '' : '.min' );
48
+ if ( !isset( $this->opt['not_load_files']['css'] ) ) {
49
  wp_enqueue_style(
50
  'ivory-search-styles',
51
  plugins_url( '/public/css/ivory-search' . $min . '.css', IS_PLUGIN_FILE ),
187
  if ( $search_form ) {
188
  $atts['id'] = $menu_search_form;
189
  $display_id = '';
190
+ if ( 0 === $menu_search_form || 'default-search-form' === $search_form->name() ) {
191
  $display_id = 'n';
192
  }
193
  $result = $search_form->form_html( $atts, $display_id );
public/css/ivory-ajax-search.css CHANGED
@@ -163,6 +163,7 @@ div.is-ajax-search-result {
163
  .is-search-sections .thumbnail img {
164
  float: left;
165
  max-width: 70px;
 
166
  }
167
 
168
  .is-ajax-term-label {
163
  .is-search-sections .thumbnail img {
164
  float: left;
165
  max-width: 70px;
166
+ height: auto;
167
  }
168
 
169
  .is-ajax-term-label {
public/css/ivory-ajax-search.min.css CHANGED
@@ -1 +1 @@
1
- .is-ajax-search .is-loader-image{display:none;position:absolute;top:50%;transform:translateY(-50%);height:25px;right:5px;z-index:9999;width:25px;background-repeat:no-repeat;background-size:contain}.is-ajax-search.processing .is-loader-image{display:block}.is-ajax-search label{position:relative}.is-ajax-search-details,.is-ajax-search-details *,.is-ajax-search-result,.is-ajax-search-result *{-webkit-box-sizing:content-box;-moz-box-sizing:content-box;-ms-box-sizing:content-box;-o-box-sizing:content-box;box-sizing:content-box;padding:0;outline:0!important;margin:0;border:0;border-radius:0;text-transform:none;text-shadow:none;box-shadow:none;text-decoration:none;text-align:left;letter-spacing:normal;font-size:13px;line-height:18px;vertical-align:baseline}.is-ajax-search-details a,.is-ajax-search-result a{color:#0073aa}.is-ajax-search-details a:hover,.is-ajax-search-result a:hover{text-decoration:underline}div.is-ajax-search-details,div.is-ajax-search-result{display:none;height:auto;width:500px;max-width:100%;position:absolute;z-index:999999;background:#e2e2e2;color:#313131;padding:5px}.is-ajax-search-items{max-height:400px}.is-search-sections{position:relative;clear:both;overflow:hidden}.is-search-sections:after{content:"";display:block;clear:both}.is-search-sections .left-section{float:left}.is-show-more-results{border-top:none;margin-top:5px;background:#fff}.is-show-more-results-text{cursor:pointer;padding:4px 0 3px;text-align:center}.is-load-more-image{display:block;margin:0 auto;max-height:25px}.is-ajax-search-no-result{padding:10px;background:#fff;text-align:center}.is-ajax-search-items .post-title{display:inline-block;font-weight:400;font-size:15px;text-transform:capitalize}.is-search-sections .meta{margin:5px 0}.is-search-sections .meta i{font-size:11px}.is-search-sections .meta>div{margin-bottom:5px}.is-search-sections .meta>div>span{margin-left:10px}.is-search-sections .meta>div>span:first-child{margin-left:0}.is-has-badge .is-search-sections .is-title{margin-right:35px}.is-has-badge .is-search-sections .meta>div>span:last-child{margin-right:10px}.is-search-sections .meta>span:not(:last-child):after{margin:0 2px;content:'/';display:inline-block}.is-search-sections .thumbnail{margin-right:10px;width:70px}.is-search-sections .thumbnail img{float:left;max-width:70px}.is-ajax-term-label{display:block;font-style:italic;font-size:10px;text-transform:uppercase;color:#7b7b7b;line-height:12px;letter-spacing:2px}.is-ajax-result-description{font-size:14px;margin-top:10px}.is-ajax-search-post,.is-ajax-search-post-details{clear:both;padding:15px;border-bottom:1px solid #eceff1}.is-ajax-search-details .mCSB_container>div,.is-ajax-search-post{background:#fff}.is-ajax-search-categories-details>div:hover,.is-ajax-search-result .is-ajax-search-post:hover,.is-ajax-search-result .is-show-more-results:hover,.is-ajax-search-tags-details>div:hover{background:#e2e2e2}.is-ajax-search-details .is-title a,.is-ajax-search-post .is-title a{text-transform:capitalize;font-size:14px}.is-ajax-search-post-details:last-child,.is-ajax-search-posts .is-ajax-search-post:last-child{border:0}.is-ajax-woocommerce-actions{clear:both;margin-top:10px;display:inline-block}.is-ajax-woocommerce-actions>*{display:inline-block}.is-ajax-woocommerce-actions .qty{width:60px;height:auto;padding:4px 8px;background:#fff;font-size:14px;min-height:0}.is-ajax-woocommerce-actions .add_to_cart_inline{margin:0 0 0 5px}.is-ajax-woocommerce-actions .added_to_cart{font-size:15px;text-transform:capitalize;font-weight:800;padding:4px 8px}.is-ajax-woocommerce-actions .add_to_cart_inline a.button{padding:4px 10px;background:#0073aa;color:#fff;font-weight:800;text-decoration:none}.is-ajax-search-details .is-ajax-woocommerce-actions .add_to_cart_inline a.button.loading{opacity:.4;cursor:wait}.is-ajax-woocommerce-actions .add_to_cart_inline a.button:hover{opacity:.9}.is-ajax-search-items .stock-status{color:#7ad03a}.is-ajax-search-items .is-prices del{text-decoration:line-through}.is-ajax-search-items .is-prices .amount{background:0 0;font-weight:800}.is-ajax-search-items .is-prices del .amount{font-weight:lighter;font-size:90%;opacity:.6}.is-ajax-search-items .is-prices ins{background:0 0}.is-ajax-search-items .stock-status.is-out-of-stock{color:#a44}.is-featured-icon{display:inline-block;width:13px;fill:#ffc107;vertical-align:text-top}.is-ajax-search-items .is-sale-badge{background:#77a464;color:#fff;height:20px;padding-top:2px;position:absolute;right:-24px;text-align:center;top:4px;transform:rotate(45deg);width:77px}.is-ajax-search-post-details .is-ajax-term-label{display:inline-block}.is-ajax-term-name{font-size:16px;text-transform:capitalize}.is-ajax-term-wrap{margin-bottom:10px}div.is-ajax-search-details{width:400px}.is-ajax-search-post-details{display:none}.is-ajax-search-posts-details .is-search-sections .thumbnail{width:150px}.is-ajax-search-posts-details .is-search-sections .thumbnail img{max-width:150px;float:none}div.is-ajax-search-items div.mCSB_container{margin-right:21px}@media screen and (max-width:910px){div.is-ajax-search-result{max-width:97%}.is-ajax-search-details{display:none!important}}@media screen and (max-width:510px){.is-ajax-search-result{left:3px!important}}.mCustomScrollbar{-ms-touch-action:pinch-zoom;touch-action:pinch-zoom}.mCustomScrollbar.mCS_no_scrollbar,.mCustomScrollbar.mCS_touch_action{-ms-touch-action:auto;touch-action:auto}.mCustomScrollBox{position:relative;overflow:hidden;height:100%;max-width:100%;outline:0;direction:ltr}.mCSB_container{overflow:hidden;width:auto;height:auto}.mCSB_inside>.mCSB_container{margin-right:30px}.mCSB_container.mCS_no_scrollbar_y.mCS_y_hidden{margin-right:0}.mCS-dir-rtl>.mCSB_inside>.mCSB_container{margin-right:0;margin-left:30px}.mCS-dir-rtl>.mCSB_inside>.mCSB_container.mCS_no_scrollbar_y.mCS_y_hidden{margin-left:0}.mCSB_scrollTools{position:absolute;width:16px;height:auto;left:auto;top:0;right:0;bottom:0;opacity:.75;filter:"alpha(opacity=75)";-ms-filter:"alpha(opacity=75)"}.mCSB_outside+.mCSB_scrollTools{right:-26px}.mCS-dir-rtl>.mCSB_inside>.mCSB_scrollTools,.mCS-dir-rtl>.mCSB_outside+.mCSB_scrollTools{right:auto;left:0}.mCS-dir-rtl>.mCSB_outside+.mCSB_scrollTools{left:-26px}.mCSB_scrollTools .mCSB_draggerContainer{position:absolute;top:0;left:0;bottom:0;right:0;height:auto}.mCSB_scrollTools a+.mCSB_draggerContainer{margin:20px 0}.mCSB_scrollTools .mCSB_draggerRail{width:2px;height:100%;margin:0 auto;-webkit-border-radius:16px;-moz-border-radius:16px;border-radius:16px}.mCSB_scrollTools .mCSB_dragger{cursor:pointer;width:100%;height:30px;z-index:1}.mCSB_scrollTools .mCSB_dragger .mCSB_dragger_bar{position:relative;width:4px;height:100%;margin:0 auto;-webkit-border-radius:16px;-moz-border-radius:16px;border-radius:16px;text-align:center}.mCSB_scrollTools_vertical.mCSB_scrollTools_onDrag_expand .mCSB_dragger.mCSB_dragger_onDrag_expanded .mCSB_dragger_bar,.mCSB_scrollTools_vertical.mCSB_scrollTools_onDrag_expand .mCSB_draggerContainer:hover .mCSB_dragger .mCSB_dragger_bar{width:12px}.mCSB_scrollTools_vertical.mCSB_scrollTools_onDrag_expand .mCSB_dragger.mCSB_dragger_onDrag_expanded+.mCSB_draggerRail,.mCSB_scrollTools_vertical.mCSB_scrollTools_onDrag_expand .mCSB_draggerContainer:hover .mCSB_draggerRail{width:8px}.mCSB_scrollTools .mCSB_buttonDown,.mCSB_scrollTools .mCSB_buttonUp{display:block;position:absolute;height:20px;width:100%;overflow:hidden;margin:0 auto;cursor:pointer}.mCSB_scrollTools .mCSB_buttonDown{bottom:0}.mCSB_horizontal.mCSB_inside>.mCSB_container{margin-right:0;margin-bottom:30px}.mCSB_horizontal.mCSB_outside>.mCSB_container{min-height:100%}.mCSB_horizontal>.mCSB_container.mCS_no_scrollbar_x.mCS_x_hidden{margin-bottom:0}.mCSB_scrollTools.mCSB_scrollTools_horizontal{width:auto;height:16px;top:auto;right:0;bottom:0;left:0}.mCustomScrollBox+.mCSB_scrollTools+.mCSB_scrollTools.mCSB_scrollTools_horizontal,.mCustomScrollBox+.mCSB_scrollTools.mCSB_scrollTools_horizontal{bottom:-26px}.mCSB_scrollTools.mCSB_scrollTools_horizontal a+.mCSB_draggerContainer{margin:0 20px}.mCSB_scrollTools.mCSB_scrollTools_horizontal .mCSB_draggerRail{width:100%;height:2px;margin:7px 0}.mCSB_scrollTools.mCSB_scrollTools_horizontal .mCSB_dragger{width:30px;height:100%;left:0}.mCSB_scrollTools.mCSB_scrollTools_horizontal .mCSB_dragger .mCSB_dragger_bar{width:100%;height:4px;margin:6px auto}.mCSB_scrollTools_horizontal.mCSB_scrollTools_onDrag_expand .mCSB_dragger.mCSB_dragger_onDrag_expanded .mCSB_dragger_bar,.mCSB_scrollTools_horizontal.mCSB_scrollTools_onDrag_expand .mCSB_draggerContainer:hover .mCSB_dragger .mCSB_dragger_bar{height:12px;margin:2px auto}.mCSB_scrollTools_horizontal.mCSB_scrollTools_onDrag_expand .mCSB_dragger.mCSB_dragger_onDrag_expanded+.mCSB_draggerRail,.mCSB_scrollTools_horizontal.mCSB_scrollTools_onDrag_expand .mCSB_draggerContainer:hover .mCSB_draggerRail{height:8px;margin:4px 0}.mCSB_scrollTools.mCSB_scrollTools_horizontal .mCSB_buttonLeft,.mCSB_scrollTools.mCSB_scrollTools_horizontal .mCSB_buttonRight{display:block;position:absolute;width:20px;height:100%;overflow:hidden;margin:0 auto;cursor:pointer}.mCSB_scrollTools.mCSB_scrollTools_horizontal .mCSB_buttonLeft{left:0}.mCSB_scrollTools.mCSB_scrollTools_horizontal .mCSB_buttonRight{right:0}.mCSB_container_wrapper{position:absolute;height:auto;width:auto;overflow:hidden;top:0;left:0;right:0;bottom:0;margin-right:30px;margin-bottom:30px}.mCSB_container_wrapper>.mCSB_container{padding-right:30px;padding-bottom:30px;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.mCSB_vertical_horizontal>.mCSB_scrollTools.mCSB_scrollTools_vertical{bottom:20px}.mCSB_vertical_horizontal>.mCSB_scrollTools.mCSB_scrollTools_horizontal{right:20px}.mCSB_container_wrapper.mCS_no_scrollbar_x.mCS_x_hidden+.mCSB_scrollTools.mCSB_scrollTools_vertical{bottom:0}.mCS-dir-rtl>.mCustomScrollBox.mCSB_vertical_horizontal.mCSB_inside>.mCSB_scrollTools.mCSB_scrollTools_horizontal,.mCSB_container_wrapper.mCS_no_scrollbar_y.mCS_y_hidden+.mCSB_scrollTools~.mCSB_scrollTools.mCSB_scrollTools_horizontal{right:0}.mCS-dir-rtl>.mCustomScrollBox.mCSB_vertical_horizontal.mCSB_inside>.mCSB_scrollTools.mCSB_scrollTools_horizontal{left:20px}.mCS-dir-rtl>.mCustomScrollBox.mCSB_vertical_horizontal.mCSB_inside>.mCSB_container_wrapper.mCS_no_scrollbar_y.mCS_y_hidden+.mCSB_scrollTools~.mCSB_scrollTools.mCSB_scrollTools_horizontal{left:0}.mCS-dir-rtl>.mCSB_inside>.mCSB_container_wrapper{margin-right:0;margin-left:30px}.mCSB_container_wrapper.mCS_no_scrollbar_y.mCS_y_hidden>.mCSB_container{padding-right:0}.mCSB_container_wrapper.mCS_no_scrollbar_x.mCS_x_hidden>.mCSB_container{padding-bottom:0}.mCustomScrollBox.mCSB_vertical_horizontal.mCSB_inside>.mCSB_container_wrapper.mCS_no_scrollbar_y.mCS_y_hidden{margin-right:0;margin-left:0}.mCustomScrollBox.mCSB_vertical_horizontal.mCSB_inside>.mCSB_container_wrapper.mCS_no_scrollbar_x.mCS_x_hidden{margin-bottom:0}.mCSB_scrollTools,.mCSB_scrollTools .mCSB_buttonDown,.mCSB_scrollTools .mCSB_buttonLeft,.mCSB_scrollTools .mCSB_buttonRight,.mCSB_scrollTools .mCSB_buttonUp,.mCSB_scrollTools .mCSB_dragger .mCSB_dragger_bar{-webkit-transition:opacity .2s ease-in-out,background-color .2s ease-in-out;-moz-transition:opacity .2s ease-in-out,background-color .2s ease-in-out;-o-transition:opacity .2s ease-in-out,background-color .2s ease-in-out;transition:opacity .2s ease-in-out,background-color .2s ease-in-out}.mCSB_scrollTools_horizontal.mCSB_scrollTools_onDrag_expand .mCSB_draggerRail,.mCSB_scrollTools_horizontal.mCSB_scrollTools_onDrag_expand .mCSB_dragger_bar,.mCSB_scrollTools_vertical.mCSB_scrollTools_onDrag_expand .mCSB_draggerRail,.mCSB_scrollTools_vertical.mCSB_scrollTools_onDrag_expand .mCSB_dragger_bar{-webkit-transition:width .2s ease-out .2s,height .2s ease-out .2s,margin-left .2s ease-out .2s,margin-right .2s ease-out .2s,margin-top .2s ease-out .2s,margin-bottom .2s ease-out .2s,opacity .2s ease-in-out,background-color .2s ease-in-out;-moz-transition:width .2s ease-out .2s,height .2s ease-out .2s,margin-left .2s ease-out .2s,margin-right .2s ease-out .2s,margin-top .2s ease-out .2s,margin-bottom .2s ease-out .2s,opacity .2s ease-in-out,background-color .2s ease-in-out;-o-transition:width .2s ease-out .2s,height .2s ease-out .2s,margin-left .2s ease-out .2s,margin-right .2s ease-out .2s,margin-top .2s ease-out .2s,margin-bottom .2s ease-out .2s,opacity .2s ease-in-out,background-color .2s ease-in-out;transition:width .2s ease-out .2s,height .2s ease-out .2s,margin-left .2s ease-out .2s,margin-right .2s ease-out .2s,margin-top .2s ease-out .2s,margin-bottom .2s ease-out .2s,opacity .2s ease-in-out,background-color .2s ease-in-out}.mCS-autoHide>.mCustomScrollBox>.mCSB_scrollTools,.mCS-autoHide>.mCustomScrollBox~.mCSB_scrollTools{opacity:0;filter:"alpha(opacity=0)";-ms-filter:"alpha(opacity=0)"}.mCS-autoHide:hover>.mCustomScrollBox>.mCSB_scrollTools,.mCS-autoHide:hover>.mCustomScrollBox~.mCSB_scrollTools,.mCustomScrollBox:hover>.mCSB_scrollTools,.mCustomScrollBox:hover~.mCSB_scrollTools,.mCustomScrollbar>.mCustomScrollBox>.mCSB_scrollTools.mCSB_scrollTools_onDrag,.mCustomScrollbar>.mCustomScrollBox~.mCSB_scrollTools.mCSB_scrollTools_onDrag{opacity:1;filter:"alpha(opacity=100)";-ms-filter:"alpha(opacity=100)"}.mCSB_scrollTools .mCSB_draggerRail{background-color:#000;background-color:rgba(0,0,0,.4);filter:"alpha(opacity=40)";-ms-filter:"alpha(opacity=40)"}.mCSB_scrollTools .mCSB_dragger .mCSB_dragger_bar{background-color:#fff;background-color:rgba(255,255,255,.75);filter:"alpha(opacity=75)";-ms-filter:"alpha(opacity=75)"}.mCSB_scrollTools .mCSB_dragger:hover .mCSB_dragger_bar{background-color:#fff;background-color:rgba(255,255,255,.85);filter:"alpha(opacity=85)";-ms-filter:"alpha(opacity=85)"}.mCSB_scrollTools .mCSB_dragger.mCSB_dragger_onDrag .mCSB_dragger_bar,.mCSB_scrollTools .mCSB_dragger:active .mCSB_dragger_bar{background-color:#fff;background-color:rgba(255,255,255,.9);filter:"alpha(opacity=90)";-ms-filter:"alpha(opacity=90)"}.mCSB_scrollTools .mCSB_buttonDown,.mCSB_scrollTools .mCSB_buttonLeft,.mCSB_scrollTools .mCSB_buttonRight,.mCSB_scrollTools .mCSB_buttonUp{background-image:url(../images/mCSB_buttons.png);background-repeat:no-repeat;opacity:.4;filter:"alpha(opacity=40)";-ms-filter:"alpha(opacity=40)"}.mCSB_scrollTools .mCSB_buttonUp{background-position:0 0}.mCSB_scrollTools .mCSB_buttonDown{background-position:0 -20px}.mCSB_scrollTools .mCSB_buttonLeft{background-position:0 -40px}.mCSB_scrollTools .mCSB_buttonRight{background-position:0 -56px}.mCSB_scrollTools .mCSB_buttonDown:hover,.mCSB_scrollTools .mCSB_buttonLeft:hover,.mCSB_scrollTools .mCSB_buttonRight:hover,.mCSB_scrollTools .mCSB_buttonUp:hover{opacity:.75;filter:"alpha(opacity=75)";-ms-filter:"alpha(opacity=75)"}.mCSB_scrollTools .mCSB_buttonDown:active,.mCSB_scrollTools .mCSB_buttonLeft:active,.mCSB_scrollTools .mCSB_buttonRight:active,.mCSB_scrollTools .mCSB_buttonUp:active{opacity:.9;filter:"alpha(opacity=90)";-ms-filter:"alpha(opacity=90)"}.mCS-dark.mCSB_scrollTools .mCSB_draggerRail{background-color:#000;background-color:rgba(0,0,0,.15)}.mCS-dark.mCSB_scrollTools .mCSB_dragger .mCSB_dragger_bar{background-color:#000;background-color:rgba(0,0,0,.75)}.mCS-dark.mCSB_scrollTools .mCSB_dragger:hover .mCSB_dragger_bar{background-color:rgba(0,0,0,.85)}.mCS-dark.mCSB_scrollTools .mCSB_dragger.mCSB_dragger_onDrag .mCSB_dragger_bar,.mCS-dark.mCSB_scrollTools .mCSB_dragger:active .mCSB_dragger_bar{background-color:rgba(0,0,0,.9)}.mCS-dark.mCSB_scrollTools .mCSB_buttonUp{background-position:-80px 0}.mCS-dark.mCSB_scrollTools .mCSB_buttonDown{background-position:-80px -20px}.mCS-dark.mCSB_scrollTools .mCSB_buttonLeft{background-position:-80px -40px}.mCS-dark.mCSB_scrollTools .mCSB_buttonRight{background-position:-80px -56px}.mCS-dark-2.mCSB_scrollTools .mCSB_draggerRail,.mCS-light-2.mCSB_scrollTools .mCSB_draggerRail{width:4px;background-color:#fff;background-color:rgba(255,255,255,.1);-webkit-border-radius:1px;-moz-border-radius:1px;border-radius:1px}.mCS-dark-2.mCSB_scrollTools .mCSB_dragger .mCSB_dragger_bar,.mCS-light-2.mCSB_scrollTools .mCSB_dragger .mCSB_dragger_bar{width:4px;background-color:#fff;background-color:rgba(255,255,255,.75);-webkit-border-radius:1px;-moz-border-radius:1px;border-radius:1px}.mCS-dark-2.mCSB_scrollTools_horizontal .mCSB_dragger .mCSB_dragger_bar,.mCS-dark-2.mCSB_scrollTools_horizontal .mCSB_draggerRail,.mCS-light-2.mCSB_scrollTools_horizontal .mCSB_dragger .mCSB_dragger_bar,.mCS-light-2.mCSB_scrollTools_horizontal .mCSB_draggerRail{width:100%;height:4px;margin:6px auto}.mCS-light-2.mCSB_scrollTools .mCSB_dragger:hover .mCSB_dragger_bar{background-color:#fff;background-color:rgba(255,255,255,.85)}.mCS-light-2.mCSB_scrollTools .mCSB_dragger.mCSB_dragger_onDrag .mCSB_dragger_bar,.mCS-light-2.mCSB_scrollTools .mCSB_dragger:active .mCSB_dragger_bar{background-color:#fff;background-color:rgba(255,255,255,.9)}.mCS-light-2.mCSB_scrollTools .mCSB_buttonUp{background-position:-32px 0}.mCS-light-2.mCSB_scrollTools .mCSB_buttonDown{background-position:-32px -20px}.mCS-light-2.mCSB_scrollTools .mCSB_buttonLeft{background-position:-40px -40px}.mCS-light-2.mCSB_scrollTools .mCSB_buttonRight{background-position:-40px -56px}.mCS-dark-2.mCSB_scrollTools .mCSB_draggerRail{background-color:#000;background-color:rgba(0,0,0,.1);-webkit-border-radius:1px;-moz-border-radius:1px;border-radius:1px}.mCS-dark-2.mCSB_scrollTools .mCSB_dragger .mCSB_dragger_bar{background-color:#000;background-color:rgba(0,0,0,.75);-webkit-border-radius:1px;-moz-border-radius:1px;border-radius:1px}.mCS-dark-2.mCSB_scrollTools .mCSB_dragger:hover .mCSB_dragger_bar{background-color:#000;background-color:rgba(0,0,0,.85)}.mCS-dark-2.mCSB_scrollTools .mCSB_dragger.mCSB_dragger_onDrag .mCSB_dragger_bar,.mCS-dark-2.mCSB_scrollTools .mCSB_dragger:active .mCSB_dragger_bar{background-color:#000;background-color:rgba(0,0,0,.9)}.mCS-dark-2.mCSB_scrollTools .mCSB_buttonUp{background-position:-112px 0}.mCS-dark-2.mCSB_scrollTools .mCSB_buttonDown{background-position:-112px -20px}.mCS-dark-2.mCSB_scrollTools .mCSB_buttonLeft{background-position:-120px -40px}.mCS-dark-2.mCSB_scrollTools .mCSB_buttonRight{background-position:-120px -56px}.mCS-dark-thick.mCSB_scrollTools .mCSB_draggerRail,.mCS-light-thick.mCSB_scrollTools .mCSB_draggerRail{width:4px;background-color:#fff;background-color:rgba(255,255,255,.1);-webkit-border-radius:2px;-moz-border-radius:2px;border-radius:2px}.mCS-dark-thick.mCSB_scrollTools .mCSB_dragger .mCSB_dragger_bar,.mCS-light-thick.mCSB_scrollTools .mCSB_dragger .mCSB_dragger_bar{width:6px;background-color:#fff;background-color:rgba(255,255,255,.75);-webkit-border-radius:2px;-moz-border-radius:2px;border-radius:2px}.mCS-dark-thick.mCSB_scrollTools_horizontal .mCSB_draggerRail,.mCS-light-thick.mCSB_scrollTools_horizontal .mCSB_draggerRail{width:100%;height:4px;margin:6px 0}.mCS-dark-thick.mCSB_scrollTools_horizontal .mCSB_dragger .mCSB_dragger_bar,.mCS-light-thick.mCSB_scrollTools_horizontal .mCSB_dragger .mCSB_dragger_bar{width:100%;height:6px;margin:5px auto}.mCS-light-thick.mCSB_scrollTools .mCSB_dragger:hover .mCSB_dragger_bar{background-color:#fff;background-color:rgba(255,255,255,.85)}.mCS-light-thick.mCSB_scrollTools .mCSB_dragger.mCSB_dragger_onDrag .mCSB_dragger_bar,.mCS-light-thick.mCSB_scrollTools .mCSB_dragger:active .mCSB_dragger_bar{background-color:#fff;background-color:rgba(255,255,255,.9)}.mCS-light-thick.mCSB_scrollTools .mCSB_buttonUp{background-position:-16px 0}.mCS-light-thick.mCSB_scrollTools .mCSB_buttonDown{background-position:-16px -20px}.mCS-light-thick.mCSB_scrollTools .mCSB_buttonLeft{background-position:-20px -40px}.mCS-light-thick.mCSB_scrollTools .mCSB_buttonRight{background-position:-20px -56px}.mCS-dark-thick.mCSB_scrollTools .mCSB_draggerRail{background-color:#000;background-color:rgba(0,0,0,.1);-webkit-border-radius:2px;-moz-border-radius:2px;border-radius:2px}.mCS-dark-thick.mCSB_scrollTools .mCSB_dragger .mCSB_dragger_bar{background-color:#000;background-color:rgba(0,0,0,.75);-webkit-border-radius:2px;-moz-border-radius:2px;border-radius:2px}.mCS-dark-thick.mCSB_scrollTools .mCSB_dragger:hover .mCSB_dragger_bar{background-color:#000;background-color:rgba(0,0,0,.85)}.mCS-dark-thick.mCSB_scrollTools .mCSB_dragger.mCSB_dragger_onDrag .mCSB_dragger_bar,.mCS-dark-thick.mCSB_scrollTools .mCSB_dragger:active .mCSB_dragger_bar{background-color:#000;background-color:rgba(0,0,0,.9)}.mCS-dark-thick.mCSB_scrollTools .mCSB_buttonUp{background-position:-96px 0}.mCS-dark-thick.mCSB_scrollTools .mCSB_buttonDown{background-position:-96px -20px}.mCS-dark-thick.mCSB_scrollTools .mCSB_buttonLeft{background-position:-100px -40px}.mCS-dark-thick.mCSB_scrollTools .mCSB_buttonRight{background-position:-100px -56px}.mCS-light-thin.mCSB_scrollTools .mCSB_draggerRail{background-color:#fff;background-color:rgba(255,255,255,.1)}.mCS-dark-thin.mCSB_scrollTools .mCSB_dragger .mCSB_dragger_bar,.mCS-light-thin.mCSB_scrollTools .mCSB_dragger .mCSB_dragger_bar{width:2px}.mCS-dark-thin.mCSB_scrollTools_horizontal .mCSB_draggerRail,.mCS-light-thin.mCSB_scrollTools_horizontal .mCSB_draggerRail{width:100%}.mCS-dark-thin.mCSB_scrollTools_horizontal .mCSB_dragger .mCSB_dragger_bar,.mCS-light-thin.mCSB_scrollTools_horizontal .mCSB_dragger .mCSB_dragger_bar{width:100%;height:2px;margin:7px auto}.mCS-dark-thin.mCSB_scrollTools .mCSB_draggerRail{background-color:#000;background-color:rgba(0,0,0,.15)}.mCS-dark-thin.mCSB_scrollTools .mCSB_dragger .mCSB_dragger_bar{background-color:#000;background-color:rgba(0,0,0,.75)}.mCS-dark-thin.mCSB_scrollTools .mCSB_dragger:hover .mCSB_dragger_bar{background-color:#000;background-color:rgba(0,0,0,.85)}.mCS-dark-thin.mCSB_scrollTools .mCSB_dragger.mCSB_dragger_onDrag .mCSB_dragger_bar,.mCS-dark-thin.mCSB_scrollTools .mCSB_dragger:active .mCSB_dragger_bar{background-color:#000;background-color:rgba(0,0,0,.9)}.mCS-dark-thin.mCSB_scrollTools .mCSB_buttonUp{background-position:-80px 0}.mCS-dark-thin.mCSB_scrollTools .mCSB_buttonDown{background-position:-80px -20px}.mCS-dark-thin.mCSB_scrollTools .mCSB_buttonLeft{background-position:-80px -40px}.mCS-dark-thin.mCSB_scrollTools .mCSB_buttonRight{background-position:-80px -56px}.mCS-rounded.mCSB_scrollTools .mCSB_draggerRail{background-color:#fff;background-color:rgba(255,255,255,.15)}.mCS-rounded-dark.mCSB_scrollTools .mCSB_dragger,.mCS-rounded-dots-dark.mCSB_scrollTools .mCSB_dragger,.mCS-rounded-dots.mCSB_scrollTools .mCSB_dragger,.mCS-rounded.mCSB_scrollTools .mCSB_dragger{height:14px}.mCS-rounded-dark.mCSB_scrollTools .mCSB_dragger .mCSB_dragger_bar,.mCS-rounded-dots-dark.mCSB_scrollTools .mCSB_dragger .mCSB_dragger_bar,.mCS-rounded-dots.mCSB_scrollTools .mCSB_dragger .mCSB_dragger_bar,.mCS-rounded.mCSB_scrollTools .mCSB_dragger .mCSB_dragger_bar{width:14px;margin:0 1px}.mCS-rounded-dark.mCSB_scrollTools_horizontal .mCSB_dragger,.mCS-rounded-dots-dark.mCSB_scrollTools_horizontal .mCSB_dragger,.mCS-rounded-dots.mCSB_scrollTools_horizontal .mCSB_dragger,.mCS-rounded.mCSB_scrollTools_horizontal .mCSB_dragger{width:14px}.mCS-rounded-dark.mCSB_scrollTools_horizontal .mCSB_dragger .mCSB_dragger_bar,.mCS-rounded-dots-dark.mCSB_scrollTools_horizontal .mCSB_dragger .mCSB_dragger_bar,.mCS-rounded-dots.mCSB_scrollTools_horizontal .mCSB_dragger .mCSB_dragger_bar,.mCS-rounded.mCSB_scrollTools_horizontal .mCSB_dragger .mCSB_dragger_bar{height:14px;margin:1px 0}.mCS-rounded-dark.mCSB_scrollTools_vertical.mCSB_scrollTools_onDrag_expand .mCSB_dragger.mCSB_dragger_onDrag_expanded .mCSB_dragger_bar,.mCS-rounded-dark.mCSB_scrollTools_vertical.mCSB_scrollTools_onDrag_expand .mCSB_draggerContainer:hover .mCSB_dragger .mCSB_dragger_bar,.mCS-rounded.mCSB_scrollTools_vertical.mCSB_scrollTools_onDrag_expand .mCSB_dragger.mCSB_dragger_onDrag_expanded .mCSB_dragger_bar,.mCS-rounded.mCSB_scrollTools_vertical.mCSB_scrollTools_onDrag_expand .mCSB_draggerContainer:hover .mCSB_dragger .mCSB_dragger_bar{width:16px;height:16px;margin:-1px 0}.mCS-rounded-dark.mCSB_scrollTools_vertical.mCSB_scrollTools_onDrag_expand .mCSB_dragger.mCSB_dragger_onDrag_expanded+.mCSB_draggerRail,.mCS-rounded-dark.mCSB_scrollTools_vertical.mCSB_scrollTools_onDrag_expand .mCSB_draggerContainer:hover .mCSB_draggerRail,.mCS-rounded.mCSB_scrollTools_vertical.mCSB_scrollTools_onDrag_expand .mCSB_dragger.mCSB_dragger_onDrag_expanded+.mCSB_draggerRail,.mCS-rounded.mCSB_scrollTools_vertical.mCSB_scrollTools_onDrag_expand .mCSB_draggerContainer:hover .mCSB_draggerRail{width:4px}.mCS-rounded-dark.mCSB_scrollTools_horizontal.mCSB_scrollTools_onDrag_expand .mCSB_dragger.mCSB_dragger_onDrag_expanded .mCSB_dragger_bar,.mCS-rounded-dark.mCSB_scrollTools_horizontal.mCSB_scrollTools_onDrag_expand .mCSB_draggerContainer:hover .mCSB_dragger .mCSB_dragger_bar,.mCS-rounded.mCSB_scrollTools_horizontal.mCSB_scrollTools_onDrag_expand .mCSB_dragger.mCSB_dragger_onDrag_expanded .mCSB_dragger_bar,.mCS-rounded.mCSB_scrollTools_horizontal.mCSB_scrollTools_onDrag_expand .mCSB_draggerContainer:hover .mCSB_dragger .mCSB_dragger_bar{height:16px;width:16px;margin:0 -1px}.mCS-rounded-dark.mCSB_scrollTools_horizontal.mCSB_scrollTools_onDrag_expand .mCSB_dragger.mCSB_dragger_onDrag_expanded+.mCSB_draggerRail,.mCS-rounded-dark.mCSB_scrollTools_horizontal.mCSB_scrollTools_onDrag_expand .mCSB_draggerContainer:hover .mCSB_draggerRail,.mCS-rounded.mCSB_scrollTools_horizontal.mCSB_scrollTools_onDrag_expand .mCSB_dragger.mCSB_dragger_onDrag_expanded+.mCSB_draggerRail,.mCS-rounded.mCSB_scrollTools_horizontal.mCSB_scrollTools_onDrag_expand .mCSB_draggerContainer:hover .mCSB_draggerRail{height:4px;margin:6px 0}.mCS-rounded.mCSB_scrollTools .mCSB_buttonUp{background-position:0 -72px}.mCS-rounded.mCSB_scrollTools .mCSB_buttonDown{background-position:0 -92px}.mCS-rounded.mCSB_scrollTools .mCSB_buttonLeft{background-position:0 -112px}.mCS-rounded.mCSB_scrollTools .mCSB_buttonRight{background-position:0 -128px}.mCS-rounded-dark.mCSB_scrollTools .mCSB_dragger .mCSB_dragger_bar,.mCS-rounded-dots-dark.mCSB_scrollTools .mCSB_dragger .mCSB_dragger_bar{background-color:#000;background-color:rgba(0,0,0,.75)}.mCS-rounded-dark.mCSB_scrollTools .mCSB_draggerRail{background-color:#000;background-color:rgba(0,0,0,.15)}.mCS-rounded-dark.mCSB_scrollTools .mCSB_dragger:hover .mCSB_dragger_bar,.mCS-rounded-dots-dark.mCSB_scrollTools .mCSB_dragger:hover .mCSB_dragger_bar{background-color:#000;background-color:rgba(0,0,0,.85)}.mCS-rounded-dark.mCSB_scrollTools .mCSB_dragger.mCSB_dragger_onDrag .mCSB_dragger_bar,.mCS-rounded-dark.mCSB_scrollTools .mCSB_dragger:active .mCSB_dragger_bar,.mCS-rounded-dots-dark.mCSB_scrollTools .mCSB_dragger.mCSB_dragger_onDrag .mCSB_dragger_bar,.mCS-rounded-dots-dark.mCSB_scrollTools .mCSB_dragger:active .mCSB_dragger_bar{background-color:#000;background-color:rgba(0,0,0,.9)}.mCS-rounded-dark.mCSB_scrollTools .mCSB_buttonUp{background-position:-80px -72px}.mCS-rounded-dark.mCSB_scrollTools .mCSB_buttonDown{background-position:-80px -92px}.mCS-rounded-dark.mCSB_scrollTools .mCSB_buttonLeft{background-position:-80px -112px}.mCS-rounded-dark.mCSB_scrollTools .mCSB_buttonRight{background-position:-80px -128px}.mCS-rounded-dots-dark.mCSB_scrollTools_vertical .mCSB_draggerRail,.mCS-rounded-dots.mCSB_scrollTools_vertical .mCSB_draggerRail{width:4px}.mCS-rounded-dots-dark.mCSB_scrollTools .mCSB_draggerRail,.mCS-rounded-dots-dark.mCSB_scrollTools_horizontal .mCSB_draggerRail,.mCS-rounded-dots.mCSB_scrollTools .mCSB_draggerRail,.mCS-rounded-dots.mCSB_scrollTools_horizontal .mCSB_draggerRail{background-color:transparent;background-position:center}.mCS-rounded-dots-dark.mCSB_scrollTools .mCSB_draggerRail,.mCS-rounded-dots.mCSB_scrollTools .mCSB_draggerRail{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAAICAYAAADED76LAAAANElEQVQYV2NkIAAYiVbw//9/Y6DiM1ANJoyMjGdBbLgJQAX/kU0DKgDLkaQAvxW4HEvQFwCRcxIJK1XznAAAAABJRU5ErkJggg==);background-repeat:repeat-y;opacity:.3;filter:"alpha(opacity=30)";-ms-filter:"alpha(opacity=30)"}.mCS-rounded-dots-dark.mCSB_scrollTools_horizontal .mCSB_draggerRail,.mCS-rounded-dots.mCSB_scrollTools_horizontal .mCSB_draggerRail{height:4px;margin:6px 0;background-repeat:repeat-x}.mCS-rounded-dots.mCSB_scrollTools .mCSB_buttonUp{background-position:-16px -72px}.mCS-rounded-dots.mCSB_scrollTools .mCSB_buttonDown{background-position:-16px -92px}.mCS-rounded-dots.mCSB_scrollTools .mCSB_buttonLeft{background-position:-20px -112px}.mCS-rounded-dots.mCSB_scrollTools .mCSB_buttonRight{background-position:-20px -128px}.mCS-rounded-dots-dark.mCSB_scrollTools .mCSB_draggerRail{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAAICAYAAADED76LAAAALElEQVQYV2NkIAAYSVFgDFR8BqrBBEifBbGRTfiPZhpYjiQFBK3A6l6CvgAAE9kGCd1mvgEAAAAASUVORK5CYII=)}.mCS-rounded-dots-dark.mCSB_scrollTools .mCSB_buttonUp{background-position:-96px -72px}.mCS-rounded-dots-dark.mCSB_scrollTools .mCSB_buttonDown{background-position:-96px -92px}.mCS-rounded-dots-dark.mCSB_scrollTools .mCSB_buttonLeft{background-position:-100px -112px}.mCS-rounded-dots-dark.mCSB_scrollTools .mCSB_buttonRight{background-position:-100px -128px}.mCS-3d-dark.mCSB_scrollTools .mCSB_dragger .mCSB_dragger_bar,.mCS-3d-thick-dark.mCSB_scrollTools .mCSB_dragger .mCSB_dragger_bar,.mCS-3d-thick.mCSB_scrollTools .mCSB_dragger .mCSB_dragger_bar,.mCS-3d.mCSB_scrollTools .mCSB_dragger .mCSB_dragger_bar{background-repeat:repeat-y;background-image:-moz-linear-gradient(left,rgba(255,255,255,.5) 0,rgba(255,255,255,0) 100%);background-image:-webkit-gradient(linear,left top,right top,color-stop(0,rgba(255,255,255,.5)),color-stop(100%,rgba(255,255,255,0)));background-image:-webkit-linear-gradient(left,rgba(255,255,255,.5) 0,rgba(255,255,255,0) 100%);background-image:-o-linear-gradient(left,rgba(255,255,255,.5) 0,rgba(255,255,255,0) 100%);background-image:-ms-linear-gradient(left,rgba(255,255,255,.5) 0,rgba(255,255,255,0) 100%);background-image:linear-gradient(to right,rgba(255,255,255,.5) 0,rgba(255,255,255,0) 100%)}.mCS-3d-dark.mCSB_scrollTools_horizontal .mCSB_dragger .mCSB_dragger_bar,.mCS-3d-thick-dark.mCSB_scrollTools_horizontal .mCSB_dragger .mCSB_dragger_bar,.mCS-3d-thick.mCSB_scrollTools_horizontal .mCSB_dragger .mCSB_dragger_bar,.mCS-3d.mCSB_scrollTools_horizontal .mCSB_dragger .mCSB_dragger_bar{background-repeat:repeat-x;background-image:-moz-linear-gradient(top,rgba(255,255,255,.5) 0,rgba(255,255,255,0) 100%);background-image:-webkit-gradient(linear,left top,left bottom,color-stop(0,rgba(255,255,255,.5)),color-stop(100%,rgba(255,255,255,0)));background-image:-webkit-linear-gradient(top,rgba(255,255,255,.5) 0,rgba(255,255,255,0) 100%);background-image:-o-linear-gradient(top,rgba(255,255,255,.5) 0,rgba(255,255,255,0) 100%);background-image:-ms-linear-gradient(top,rgba(255,255,255,.5) 0,rgba(255,255,255,0) 100%);background-image:linear-gradient(to bottom,rgba(255,255,255,.5) 0,rgba(255,255,255,0) 100%)}.mCS-3d-dark.mCSB_scrollTools_vertical .mCSB_dragger,.mCS-3d.mCSB_scrollTools_vertical .mCSB_dragger{height:70px}.mCS-3d-dark.mCSB_scrollTools_horizontal .mCSB_dragger,.mCS-3d.mCSB_scrollTools_horizontal .mCSB_dragger{width:70px}.mCS-3d-dark.mCSB_scrollTools,.mCS-3d.mCSB_scrollTools{opacity:1;filter:"alpha(opacity=30)";-ms-filter:"alpha(opacity=30)"}.mCS-3d-dark.mCSB_scrollTools .mCSB_dragger .mCSB_dragger_bar,.mCS-3d-dark.mCSB_scrollTools .mCSB_draggerRail,.mCS-3d.mCSB_scrollTools .mCSB_dragger .mCSB_dragger_bar,.mCS-3d.mCSB_scrollTools .mCSB_draggerRail{-webkit-border-radius:16px;-moz-border-radius:16px;border-radius:16px}.mCS-3d-dark.mCSB_scrollTools .mCSB_draggerRail,.mCS-3d.mCSB_scrollTools .mCSB_draggerRail{width:8px;background-color:#000;background-color:rgba(0,0,0,.2);box-shadow:inset 1px 0 1px rgba(0,0,0,.5),inset -1px 0 1px rgba(255,255,255,.2)}.mCS-3d-dark.mCSB_scrollTools .mCSB_dragger .mCSB_dragger_bar,.mCS-3d-dark.mCSB_scrollTools .mCSB_dragger.mCSB_dragger_onDrag .mCSB_dragger_bar,.mCS-3d-dark.mCSB_scrollTools .mCSB_dragger:active .mCSB_dragger_bar,.mCS-3d-dark.mCSB_scrollTools .mCSB_dragger:hover .mCSB_dragger_bar,.mCS-3d.mCSB_scrollTools .mCSB_dragger .mCSB_dragger_bar,.mCS-3d.mCSB_scrollTools .mCSB_dragger.mCSB_dragger_onDrag .mCSB_dragger_bar,.mCS-3d.mCSB_scrollTools .mCSB_dragger:active .mCSB_dragger_bar,.mCS-3d.mCSB_scrollTools .mCSB_dragger:hover .mCSB_dragger_bar{background-color:#555}.mCS-3d-dark.mCSB_scrollTools .mCSB_dragger .mCSB_dragger_bar,.mCS-3d.mCSB_scrollTools .mCSB_dragger .mCSB_dragger_bar{width:8px}.mCS-3d-dark.mCSB_scrollTools_horizontal .mCSB_draggerRail,.mCS-3d.mCSB_scrollTools_horizontal .mCSB_draggerRail{width:100%;height:8px;margin:4px 0;box-shadow:inset 0 1px 1px rgba(0,0,0,.5),inset 0 -1px 1px rgba(255,255,255,.2)}.mCS-3d-dark.mCSB_scrollTools_horizontal .mCSB_dragger .mCSB_dragger_bar,.mCS-3d.mCSB_scrollTools_horizontal .mCSB_dragger .mCSB_dragger_bar{width:100%;height:8px;margin:4px auto}.mCS-3d.mCSB_scrollTools .mCSB_buttonUp{background-position:-32px -72px}.mCS-3d.mCSB_scrollTools .mCSB_buttonDown{background-position:-32px -92px}.mCS-3d.mCSB_scrollTools .mCSB_buttonLeft{background-position:-40px -112px}.mCS-3d.mCSB_scrollTools .mCSB_buttonRight{background-position:-40px -128px}.mCS-3d-dark.mCSB_scrollTools .mCSB_draggerRail{background-color:#000;background-color:rgba(0,0,0,.1);box-shadow:inset 1px 0 1px rgba(0,0,0,.1)}.mCS-3d-dark.mCSB_scrollTools_horizontal .mCSB_draggerRail{box-shadow:inset 0 1px 1px rgba(0,0,0,.1)}.mCS-3d-dark.mCSB_scrollTools .mCSB_buttonUp{background-position:-112px -72px}.mCS-3d-dark.mCSB_scrollTools .mCSB_buttonDown{background-position:-112px -92px}.mCS-3d-dark.mCSB_scrollTools .mCSB_buttonLeft{background-position:-120px -112px}.mCS-3d-dark.mCSB_scrollTools .mCSB_buttonRight{background-position:-120px -128px}.mCS-3d-thick-dark.mCSB_scrollTools,.mCS-3d-thick.mCSB_scrollTools{opacity:1;filter:"alpha(opacity=30)";-ms-filter:"alpha(opacity=30)"}.mCS-3d-thick-dark.mCSB_scrollTools,.mCS-3d-thick-dark.mCSB_scrollTools .mCSB_draggerContainer,.mCS-3d-thick.mCSB_scrollTools,.mCS-3d-thick.mCSB_scrollTools .mCSB_draggerContainer{-webkit-border-radius:7px;-moz-border-radius:7px;border-radius:7px}.mCSB_inside+.mCS-3d-thick-dark.mCSB_scrollTools_vertical,.mCSB_inside+.mCS-3d-thick.mCSB_scrollTools_vertical{right:1px}.mCS-3d-thick-dark.mCSB_scrollTools_vertical,.mCS-3d-thick.mCSB_scrollTools_vertical{box-shadow:inset 1px 0 1px rgba(0,0,0,.1),inset 0 0 14px rgba(0,0,0,.5)}.mCS-3d-thick-dark.mCSB_scrollTools_horizontal,.mCS-3d-thick.mCSB_scrollTools_horizontal{bottom:1px;box-shadow:inset 0 1px 1px rgba(0,0,0,.1),inset 0 0 14px rgba(0,0,0,.5)}.mCS-3d-thick-dark.mCSB_scrollTools .mCSB_dragger .mCSB_dragger_bar,.mCS-3d-thick.mCSB_scrollTools .mCSB_dragger .mCSB_dragger_bar{-webkit-border-radius:5px;-moz-border-radius:5px;border-radius:5px;box-shadow:inset 1px 0 0 rgba(255,255,255,.4);width:12px;margin:2px;position:absolute;height:auto;top:0;bottom:0;left:0;right:0}.mCS-3d-thick-dark.mCSB_scrollTools_horizontal .mCSB_dragger .mCSB_dragger_bar,.mCS-3d-thick.mCSB_scrollTools_horizontal .mCSB_dragger .mCSB_dragger_bar{box-shadow:inset 0 1px 0 rgba(255,255,255,.4);height:12px;width:auto}.mCS-3d-thick.mCSB_scrollTools .mCSB_dragger .mCSB_dragger_bar,.mCS-3d-thick.mCSB_scrollTools .mCSB_dragger.mCSB_dragger_onDrag .mCSB_dragger_bar,.mCS-3d-thick.mCSB_scrollTools .mCSB_dragger:active .mCSB_dragger_bar,.mCS-3d-thick.mCSB_scrollTools .mCSB_dragger:hover .mCSB_dragger_bar{background-color:#555}.mCS-3d-thick.mCSB_scrollTools .mCSB_draggerContainer{background-color:#000;background-color:rgba(0,0,0,.05);box-shadow:inset 1px 1px 16px rgba(0,0,0,.1)}.mCS-3d-thick.mCSB_scrollTools .mCSB_draggerRail{background-color:transparent}.mCS-3d-thick.mCSB_scrollTools .mCSB_buttonUp{background-position:-32px -72px}.mCS-3d-thick.mCSB_scrollTools .mCSB_buttonDown{background-position:-32px -92px}.mCS-3d-thick.mCSB_scrollTools .mCSB_buttonLeft{background-position:-40px -112px}.mCS-3d-thick.mCSB_scrollTools .mCSB_buttonRight{background-position:-40px -128px}.mCS-3d-thick-dark.mCSB_scrollTools{box-shadow:inset 0 0 14px rgba(0,0,0,.2)}.mCS-3d-thick-dark.mCSB_scrollTools_horizontal{box-shadow:inset 0 1px 1px rgba(0,0,0,.1),inset 0 0 14px rgba(0,0,0,.2)}.mCS-3d-thick-dark.mCSB_scrollTools .mCSB_dragger .mCSB_dragger_bar{box-shadow:inset 1px 0 0 rgba(255,255,255,.4),inset -1px 0 0 rgba(0,0,0,.2)}.mCS-3d-thick-dark.mCSB_scrollTools_horizontal .mCSB_dragger .mCSB_dragger_bar{box-shadow:inset 0 1px 0 rgba(255,255,255,.4),inset 0 -1px 0 rgba(0,0,0,.2)}.mCS-3d-thick-dark.mCSB_scrollTools .mCSB_dragger .mCSB_dragger_bar,.mCS-3d-thick-dark.mCSB_scrollTools .mCSB_dragger.mCSB_dragger_onDrag .mCSB_dragger_bar,.mCS-3d-thick-dark.mCSB_scrollTools .mCSB_dragger:active .mCSB_dragger_bar,.mCS-3d-thick-dark.mCSB_scrollTools .mCSB_dragger:hover .mCSB_dragger_bar{background-color:#777}.mCS-3d-thick-dark.mCSB_scrollTools .mCSB_draggerContainer{background-color:#fff;background-color:rgba(0,0,0,.05);box-shadow:inset 1px 1px 16px rgba(0,0,0,.1)}.mCS-3d-thick-dark.mCSB_scrollTools .mCSB_draggerRail,.mCS-minimal-dark.mCSB_scrollTools .mCSB_draggerRail,.mCS-minimal.mCSB_scrollTools .mCSB_draggerRail{background-color:transparent}.mCS-3d-thick-dark.mCSB_scrollTools .mCSB_buttonUp{background-position:-112px -72px}.mCS-3d-thick-dark.mCSB_scrollTools .mCSB_buttonDown{background-position:-112px -92px}.mCS-3d-thick-dark.mCSB_scrollTools .mCSB_buttonLeft{background-position:-120px -112px}.mCS-3d-thick-dark.mCSB_scrollTools .mCSB_buttonRight{background-position:-120px -128px}.mCSB_outside+.mCS-minimal-dark.mCSB_scrollTools_vertical,.mCSB_outside+.mCS-minimal.mCSB_scrollTools_vertical{right:0;margin:12px 0}.mCustomScrollBox.mCS-minimal+.mCSB_scrollTools+.mCSB_scrollTools.mCSB_scrollTools_horizontal,.mCustomScrollBox.mCS-minimal+.mCSB_scrollTools.mCSB_scrollTools_horizontal,.mCustomScrollBox.mCS-minimal-dark+.mCSB_scrollTools+.mCSB_scrollTools.mCSB_scrollTools_horizontal,.mCustomScrollBox.mCS-minimal-dark+.mCSB_scrollTools.mCSB_scrollTools_horizontal{bottom:0;margin:0 12px}.mCS-dir-rtl>.mCSB_outside+.mCS-minimal-dark.mCSB_scrollTools_vertical,.mCS-dir-rtl>.mCSB_outside+.mCS-minimal.mCSB_scrollTools_vertical{left:0;right:auto}.mCS-minimal-dark.mCSB_scrollTools_vertical .mCSB_dragger,.mCS-minimal.mCSB_scrollTools_vertical .mCSB_dragger{height:50px}.mCS-minimal-dark.mCSB_scrollTools_horizontal .mCSB_dragger,.mCS-minimal.mCSB_scrollTools_horizontal .mCSB_dragger{width:50px}.mCS-minimal.mCSB_scrollTools .mCSB_dragger .mCSB_dragger_bar{background-color:#fff;background-color:rgba(255,255,255,.2);filter:"alpha(opacity=20)";-ms-filter:"alpha(opacity=20)"}.mCS-minimal.mCSB_scrollTools .mCSB_dragger.mCSB_dragger_onDrag .mCSB_dragger_bar,.mCS-minimal.mCSB_scrollTools .mCSB_dragger:active .mCSB_dragger_bar{background-color:#fff;background-color:rgba(255,255,255,.5);filter:"alpha(opacity=50)";-ms-filter:"alpha(opacity=50)"}.mCS-minimal-dark.mCSB_scrollTools .mCSB_dragger .mCSB_dragger_bar{background-color:#000;background-color:rgba(0,0,0,.2);filter:"alpha(opacity=20)";-ms-filter:"alpha(opacity=20)"}.mCS-minimal-dark.mCSB_scrollTools .mCSB_dragger.mCSB_dragger_onDrag .mCSB_dragger_bar,.mCS-minimal-dark.mCSB_scrollTools .mCSB_dragger:active .mCSB_dragger_bar{background-color:#000;background-color:rgba(0,0,0,.5);filter:"alpha(opacity=50)";-ms-filter:"alpha(opacity=50)"}.mCS-dark-3.mCSB_scrollTools .mCSB_draggerRail,.mCS-light-3.mCSB_scrollTools .mCSB_draggerRail{width:6px;background-color:#000;background-color:rgba(0,0,0,.2)}.mCS-dark-3.mCSB_scrollTools .mCSB_dragger .mCSB_dragger_bar,.mCS-light-3.mCSB_scrollTools .mCSB_dragger .mCSB_dragger_bar{width:6px}.mCS-dark-3.mCSB_scrollTools_horizontal .mCSB_dragger .mCSB_dragger_bar,.mCS-dark-3.mCSB_scrollTools_horizontal .mCSB_draggerRail,.mCS-light-3.mCSB_scrollTools_horizontal .mCSB_dragger .mCSB_dragger_bar,.mCS-light-3.mCSB_scrollTools_horizontal .mCSB_draggerRail{width:100%;height:6px;margin:5px 0}.mCS-dark-3.mCSB_scrollTools_vertical.mCSB_scrollTools_onDrag_expand .mCSB_dragger.mCSB_dragger_onDrag_expanded+.mCSB_draggerRail,.mCS-dark-3.mCSB_scrollTools_vertical.mCSB_scrollTools_onDrag_expand .mCSB_draggerContainer:hover .mCSB_draggerRail,.mCS-light-3.mCSB_scrollTools_vertical.mCSB_scrollTools_onDrag_expand .mCSB_dragger.mCSB_dragger_onDrag_expanded+.mCSB_draggerRail,.mCS-light-3.mCSB_scrollTools_vertical.mCSB_scrollTools_onDrag_expand .mCSB_draggerContainer:hover .mCSB_draggerRail{width:12px}.mCS-dark-3.mCSB_scrollTools_horizontal.mCSB_scrollTools_onDrag_expand .mCSB_dragger.mCSB_dragger_onDrag_expanded+.mCSB_draggerRail,.mCS-dark-3.mCSB_scrollTools_horizontal.mCSB_scrollTools_onDrag_expand .mCSB_draggerContainer:hover .mCSB_draggerRail,.mCS-light-3.mCSB_scrollTools_horizontal.mCSB_scrollTools_onDrag_expand .mCSB_dragger.mCSB_dragger_onDrag_expanded+.mCSB_draggerRail,.mCS-light-3.mCSB_scrollTools_horizontal.mCSB_scrollTools_onDrag_expand .mCSB_draggerContainer:hover .mCSB_draggerRail{height:12px;margin:2px 0}.mCS-light-3.mCSB_scrollTools .mCSB_buttonUp{background-position:-32px -72px}.mCS-light-3.mCSB_scrollTools .mCSB_buttonDown{background-position:-32px -92px}.mCS-light-3.mCSB_scrollTools .mCSB_buttonLeft{background-position:-40px -112px}.mCS-light-3.mCSB_scrollTools .mCSB_buttonRight{background-position:-40px -128px}.mCS-dark-3.mCSB_scrollTools .mCSB_dragger .mCSB_dragger_bar{background-color:#000;background-color:rgba(0,0,0,.75)}.mCS-dark-3.mCSB_scrollTools .mCSB_dragger:hover .mCSB_dragger_bar{background-color:#000;background-color:rgba(0,0,0,.85)}.mCS-dark-3.mCSB_scrollTools .mCSB_dragger.mCSB_dragger_onDrag .mCSB_dragger_bar,.mCS-dark-3.mCSB_scrollTools .mCSB_dragger:active .mCSB_dragger_bar{background-color:#000;background-color:rgba(0,0,0,.9)}.mCS-dark-3.mCSB_scrollTools .mCSB_draggerRail{background-color:#000;background-color:rgba(0,0,0,.1)}.mCS-dark-3.mCSB_scrollTools .mCSB_buttonUp{background-position:-112px -72px}.mCS-dark-3.mCSB_scrollTools .mCSB_buttonDown{background-position:-112px -92px}.mCS-dark-3.mCSB_scrollTools .mCSB_buttonLeft{background-position:-120px -112px}.mCS-dark-3.mCSB_scrollTools .mCSB_buttonRight{background-position:-120px -128px}.mCS-inset-2-dark.mCSB_scrollTools .mCSB_draggerRail,.mCS-inset-2.mCSB_scrollTools .mCSB_draggerRail,.mCS-inset-3-dark.mCSB_scrollTools .mCSB_draggerRail,.mCS-inset-3.mCSB_scrollTools .mCSB_draggerRail,.mCS-inset-dark.mCSB_scrollTools .mCSB_draggerRail,.mCS-inset.mCSB_scrollTools .mCSB_draggerRail{width:12px;background-color:#000;background-color:rgba(0,0,0,.2)}.mCS-inset-2-dark.mCSB_scrollTools .mCSB_dragger .mCSB_dragger_bar,.mCS-inset-2.mCSB_scrollTools .mCSB_dragger .mCSB_dragger_bar,.mCS-inset-3-dark.mCSB_scrollTools .mCSB_dragger .mCSB_dragger_bar,.mCS-inset-3.mCSB_scrollTools .mCSB_dragger .mCSB_dragger_bar,.mCS-inset-dark.mCSB_scrollTools .mCSB_dragger .mCSB_dragger_bar,.mCS-inset.mCSB_scrollTools .mCSB_dragger .mCSB_dragger_bar{width:6px;margin:3px 5px;position:absolute;height:auto;top:0;bottom:0;left:0;right:0}.mCS-inset-2-dark.mCSB_scrollTools_horizontal .mCSB_dragger .mCSB_dragger_bar,.mCS-inset-2.mCSB_scrollTools_horizontal .mCSB_dragger .mCSB_dragger_bar,.mCS-inset-3-dark.mCSB_scrollTools_horizontal .mCSB_dragger .mCSB_dragger_bar,.mCS-inset-3.mCSB_scrollTools_horizontal .mCSB_dragger .mCSB_dragger_bar,.mCS-inset-dark.mCSB_scrollTools_horizontal .mCSB_dragger .mCSB_dragger_bar,.mCS-inset.mCSB_scrollTools_horizontal .mCSB_dragger .mCSB_dragger_bar{height:6px;margin:5px 3px;position:absolute;width:auto;top:0;bottom:0;left:0;right:0}.mCS-inset-2-dark.mCSB_scrollTools_horizontal .mCSB_draggerRail,.mCS-inset-2.mCSB_scrollTools_horizontal .mCSB_draggerRail,.mCS-inset-3-dark.mCSB_scrollTools_horizontal .mCSB_draggerRail,.mCS-inset-3.mCSB_scrollTools_horizontal .mCSB_draggerRail,.mCS-inset-dark.mCSB_scrollTools_horizontal .mCSB_draggerRail,.mCS-inset.mCSB_scrollTools_horizontal .mCSB_draggerRail{width:100%;height:12px;margin:2px 0}.mCS-inset-2.mCSB_scrollTools .mCSB_buttonUp,.mCS-inset-3.mCSB_scrollTools .mCSB_buttonUp,.mCS-inset.mCSB_scrollTools .mCSB_buttonUp{background-position:-32px -72px}.mCS-inset-2.mCSB_scrollTools .mCSB_buttonDown,.mCS-inset-3.mCSB_scrollTools .mCSB_buttonDown,.mCS-inset.mCSB_scrollTools .mCSB_buttonDown{background-position:-32px -92px}.mCS-inset-2.mCSB_scrollTools .mCSB_buttonLeft,.mCS-inset-3.mCSB_scrollTools .mCSB_buttonLeft,.mCS-inset.mCSB_scrollTools .mCSB_buttonLeft{background-position:-40px -112px}.mCS-inset-2.mCSB_scrollTools .mCSB_buttonRight,.mCS-inset-3.mCSB_scrollTools .mCSB_buttonRight,.mCS-inset.mCSB_scrollTools .mCSB_buttonRight{background-position:-40px -128px}.mCS-inset-2-dark.mCSB_scrollTools .mCSB_dragger .mCSB_dragger_bar,.mCS-inset-3-dark.mCSB_scrollTools .mCSB_dragger .mCSB_dragger_bar,.mCS-inset-dark.mCSB_scrollTools .mCSB_dragger .mCSB_dragger_bar{background-color:#000;background-color:rgba(0,0,0,.75)}.mCS-inset-2-dark.mCSB_scrollTools .mCSB_dragger:hover .mCSB_dragger_bar,.mCS-inset-3-dark.mCSB_scrollTools .mCSB_dragger:hover .mCSB_dragger_bar,.mCS-inset-dark.mCSB_scrollTools .mCSB_dragger:hover .mCSB_dragger_bar{background-color:#000;background-color:rgba(0,0,0,.85)}.mCS-inset-2-dark.mCSB_scrollTools .mCSB_dragger.mCSB_dragger_onDrag .mCSB_dragger_bar,.mCS-inset-2-dark.mCSB_scrollTools .mCSB_dragger:active .mCSB_dragger_bar,.mCS-inset-3-dark.mCSB_scrollTools .mCSB_dragger.mCSB_dragger_onDrag .mCSB_dragger_bar,.mCS-inset-3-dark.mCSB_scrollTools .mCSB_dragger:active .mCSB_dragger_bar,.mCS-inset-dark.mCSB_scrollTools .mCSB_dragger.mCSB_dragger_onDrag .mCSB_dragger_bar,.mCS-inset-dark.mCSB_scrollTools .mCSB_dragger:active .mCSB_dragger_bar{background-color:#000;background-color:rgba(0,0,0,.9)}.mCS-inset-2-dark.mCSB_scrollTools .mCSB_draggerRail,.mCS-inset-3-dark.mCSB_scrollTools .mCSB_draggerRail,.mCS-inset-dark.mCSB_scrollTools .mCSB_draggerRail{background-color:#000;background-color:rgba(0,0,0,.1)}.mCS-inset-2-dark.mCSB_scrollTools .mCSB_buttonUp,.mCS-inset-3-dark.mCSB_scrollTools .mCSB_buttonUp,.mCS-inset-dark.mCSB_scrollTools .mCSB_buttonUp{background-position:-112px -72px}.mCS-inset-2-dark.mCSB_scrollTools .mCSB_buttonDown,.mCS-inset-3-dark.mCSB_scrollTools .mCSB_buttonDown,.mCS-inset-dark.mCSB_scrollTools .mCSB_buttonDown{background-position:-112px -92px}.mCS-inset-2-dark.mCSB_scrollTools .mCSB_buttonLeft,.mCS-inset-3-dark.mCSB_scrollTools .mCSB_buttonLeft,.mCS-inset-dark.mCSB_scrollTools .mCSB_buttonLeft{background-position:-120px -112px}.mCS-inset-2-dark.mCSB_scrollTools .mCSB_buttonRight,.mCS-inset-3-dark.mCSB_scrollTools .mCSB_buttonRight,.mCS-inset-dark.mCSB_scrollTools .mCSB_buttonRight{background-position:-120px -128px}.mCS-inset-2-dark.mCSB_scrollTools .mCSB_draggerRail,.mCS-inset-2.mCSB_scrollTools .mCSB_draggerRail{background-color:transparent;border-width:1px;border-style:solid;border-color:#fff;border-color:rgba(255,255,255,.2);-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.mCS-inset-2-dark.mCSB_scrollTools .mCSB_draggerRail{border-color:#000;border-color:rgba(0,0,0,.2)}.mCS-inset-3.mCSB_scrollTools .mCSB_draggerRail{background-color:#fff;background-color:rgba(255,255,255,.6)}.mCS-inset-3-dark.mCSB_scrollTools .mCSB_draggerRail{background-color:#000;background-color:rgba(0,0,0,.6)}.mCS-inset-3.mCSB_scrollTools .mCSB_dragger .mCSB_dragger_bar{background-color:#000;background-color:rgba(0,0,0,.75)}.mCS-inset-3.mCSB_scrollTools .mCSB_dragger:hover .mCSB_dragger_bar{background-color:#000;background-color:rgba(0,0,0,.85)}.mCS-inset-3.mCSB_scrollTools .mCSB_dragger.mCSB_dragger_onDrag .mCSB_dragger_bar,.mCS-inset-3.mCSB_scrollTools .mCSB_dragger:active .mCSB_dragger_bar{background-color:#000;background-color:rgba(0,0,0,.9)}.mCS-inset-3-dark.mCSB_scrollTools .mCSB_dragger .mCSB_dragger_bar{background-color:#fff;background-color:rgba(255,255,255,.75)}.mCS-inset-3-dark.mCSB_scrollTools .mCSB_dragger:hover .mCSB_dragger_bar{background-color:#fff;background-color:rgba(255,255,255,.85)}.mCS-inset-3-dark.mCSB_scrollTools .mCSB_dragger.mCSB_dragger_onDrag .mCSB_dragger_bar,.mCS-inset-3-dark.mCSB_scrollTools .mCSB_dragger:active .mCSB_dragger_bar{background-color:#fff;background-color:rgba(255,255,255,.9)}
1
+ .is-ajax-search .is-loader-image{display:none;position:absolute;top:50%;transform:translateY(-50%);height:25px;right:5px;z-index:9999;width:25px;background-repeat:no-repeat;background-size:contain}.is-ajax-search.processing .is-loader-image{display:block}.is-ajax-search label{position:relative}.is-ajax-search-details,.is-ajax-search-details *,.is-ajax-search-result,.is-ajax-search-result *{-webkit-box-sizing:content-box;-moz-box-sizing:content-box;-ms-box-sizing:content-box;-o-box-sizing:content-box;box-sizing:content-box;padding:0;outline:0!important;margin:0;border:0;border-radius:0;text-transform:none;text-shadow:none;box-shadow:none;text-decoration:none;text-align:left;letter-spacing:normal;font-size:13px;line-height:18px;vertical-align:baseline}.is-ajax-search-details a,.is-ajax-search-result a{color:#0073aa}.is-ajax-search-details a:hover,.is-ajax-search-result a:hover{text-decoration:underline}div.is-ajax-search-details,div.is-ajax-search-result{display:none;height:auto;width:500px;max-width:100%;position:absolute;z-index:999999;background:#e2e2e2;color:#313131;padding:5px}.is-ajax-search-items{max-height:400px}.is-search-sections{position:relative;clear:both;overflow:hidden}.is-search-sections:after{content:"";display:block;clear:both}.is-search-sections .left-section{float:left}.is-show-more-results{border-top:none;margin-top:5px;background:#fff}.is-show-more-results-text{cursor:pointer;padding:4px 0 3px;text-align:center}.is-load-more-image{display:block;margin:0 auto;max-height:25px}.is-ajax-search-no-result{padding:10px;background:#fff;text-align:center}.is-ajax-search-items .post-title{display:inline-block;font-weight:400;font-size:15px;text-transform:capitalize}.is-search-sections .meta{margin:5px 0}.is-search-sections .meta i{font-size:11px}.is-search-sections .meta>div{margin-bottom:5px}.is-search-sections .meta>div>span{margin-left:10px}.is-search-sections .meta>div>span:first-child{margin-left:0}.is-has-badge .is-search-sections .is-title{margin-right:35px}.is-has-badge .is-search-sections .meta>div>span:last-child{margin-right:10px}.is-search-sections .meta>span:not(:last-child):after{margin:0 2px;content:'/';display:inline-block}.is-search-sections .thumbnail{margin-right:10px;width:70px}.is-search-sections .thumbnail img{float:left;max-width:70px;height:auto}.is-ajax-term-label{display:block;font-style:italic;font-size:10px;text-transform:uppercase;color:#7b7b7b;line-height:12px;letter-spacing:2px}.is-ajax-result-description{font-size:14px;margin-top:10px}.is-ajax-search-post,.is-ajax-search-post-details{clear:both;padding:15px;border-bottom:1px solid #eceff1}.is-ajax-search-details .mCSB_container>div,.is-ajax-search-post{background:#fff}.is-ajax-search-categories-details>div:hover,.is-ajax-search-result .is-ajax-search-post:hover,.is-ajax-search-result .is-show-more-results:hover,.is-ajax-search-tags-details>div:hover{background:#e2e2e2}.is-ajax-search-details .is-title a,.is-ajax-search-post .is-title a{text-transform:capitalize;font-size:14px}.is-ajax-search-post-details:last-child,.is-ajax-search-posts .is-ajax-search-post:last-child{border:0}.is-ajax-woocommerce-actions{clear:both;margin-top:10px;display:inline-block}.is-ajax-woocommerce-actions>*{display:inline-block}.is-ajax-woocommerce-actions .qty{width:60px;height:auto;padding:4px 8px;background:#fff;font-size:14px;min-height:0}.is-ajax-woocommerce-actions .add_to_cart_inline{margin:0 0 0 5px}.is-ajax-woocommerce-actions .added_to_cart{font-size:15px;text-transform:capitalize;font-weight:800;padding:4px 8px}.is-ajax-woocommerce-actions .add_to_cart_inline a.button{padding:4px 10px;background:#0073aa;color:#fff;font-weight:800;text-decoration:none}.is-ajax-search-details .is-ajax-woocommerce-actions .add_to_cart_inline a.button.loading{opacity:.4;cursor:wait}.is-ajax-woocommerce-actions .add_to_cart_inline a.button:hover{opacity:.9}.is-ajax-search-items .stock-status{color:#7ad03a}.is-ajax-search-items .is-prices del{text-decoration:line-through}.is-ajax-search-items .is-prices .amount{background:0 0;font-weight:800}.is-ajax-search-items .is-prices del .amount{font-weight:lighter;font-size:90%;opacity:.6}.is-ajax-search-items .is-prices ins{background:0 0}.is-ajax-search-items .stock-status.is-out-of-stock{color:#a44}.is-featured-icon{display:inline-block;width:13px;fill:#ffc107;vertical-align:text-top}.is-ajax-search-items .is-sale-badge{background:#77a464;color:#fff;height:20px;padding-top:2px;position:absolute;right:-24px;text-align:center;top:4px;transform:rotate(45deg);width:77px}.is-ajax-search-post-details .is-ajax-term-label{display:inline-block}.is-ajax-term-name{font-size:16px;text-transform:capitalize}.is-ajax-term-wrap{margin-bottom:10px}div.is-ajax-search-details{width:400px}.is-ajax-search-post-details{display:none}.is-ajax-search-posts-details .is-search-sections .thumbnail{width:150px}.is-ajax-search-posts-details .is-search-sections .thumbnail img{max-width:150px;float:none}div.is-ajax-search-items div.mCSB_container{margin-right:21px}@media screen and (max-width:910px){div.is-ajax-search-result{max-width:97%}.is-ajax-search-details{display:none!important}}@media screen and (max-width:510px){.is-ajax-search-result{left:3px!important}}.mCustomScrollbar{-ms-touch-action:pinch-zoom;touch-action:pinch-zoom}.mCustomScrollbar.mCS_no_scrollbar,.mCustomScrollbar.mCS_touch_action{-ms-touch-action:auto;touch-action:auto}.mCustomScrollBox{position:relative;overflow:hidden;height:100%;max-width:100%;outline:0;direction:ltr}.mCSB_container{overflow:hidden;width:auto;height:auto}.mCSB_inside>.mCSB_container{margin-right:30px}.mCSB_container.mCS_no_scrollbar_y.mCS_y_hidden{margin-right:0}.mCS-dir-rtl>.mCSB_inside>.mCSB_container{margin-right:0;margin-left:30px}.mCS-dir-rtl>.mCSB_inside>.mCSB_container.mCS_no_scrollbar_y.mCS_y_hidden{margin-left:0}.mCSB_scrollTools{position:absolute;width:16px;height:auto;left:auto;top:0;right:0;bottom:0;opacity:.75;filter:"alpha(opacity=75)";-ms-filter:"alpha(opacity=75)"}.mCSB_outside+.mCSB_scrollTools{right:-26px}.mCS-dir-rtl>.mCSB_inside>.mCSB_scrollTools,.mCS-dir-rtl>.mCSB_outside+.mCSB_scrollTools{right:auto;left:0}.mCS-dir-rtl>.mCSB_outside+.mCSB_scrollTools{left:-26px}.mCSB_scrollTools .mCSB_draggerContainer{position:absolute;top:0;left:0;bottom:0;right:0;height:auto}.mCSB_scrollTools a+.mCSB_draggerContainer{margin:20px 0}.mCSB_scrollTools .mCSB_draggerRail{width:2px;height:100%;margin:0 auto;-webkit-border-radius:16px;-moz-border-radius:16px;border-radius:16px}.mCSB_scrollTools .mCSB_dragger{cursor:pointer;width:100%;height:30px;z-index:1}.mCSB_scrollTools .mCSB_dragger .mCSB_dragger_bar{position:relative;width:4px;height:100%;margin:0 auto;-webkit-border-radius:16px;-moz-border-radius:16px;border-radius:16px;text-align:center}.mCSB_scrollTools_vertical.mCSB_scrollTools_onDrag_expand .mCSB_dragger.mCSB_dragger_onDrag_expanded .mCSB_dragger_bar,.mCSB_scrollTools_vertical.mCSB_scrollTools_onDrag_expand .mCSB_draggerContainer:hover .mCSB_dragger .mCSB_dragger_bar{width:12px}.mCSB_scrollTools_vertical.mCSB_scrollTools_onDrag_expand .mCSB_dragger.mCSB_dragger_onDrag_expanded+.mCSB_draggerRail,.mCSB_scrollTools_vertical.mCSB_scrollTools_onDrag_expand .mCSB_draggerContainer:hover .mCSB_draggerRail{width:8px}.mCSB_scrollTools .mCSB_buttonDown,.mCSB_scrollTools .mCSB_buttonUp{display:block;position:absolute;height:20px;width:100%;overflow:hidden;margin:0 auto;cursor:pointer}.mCSB_scrollTools .mCSB_buttonDown{bottom:0}.mCSB_horizontal.mCSB_inside>.mCSB_container{margin-right:0;margin-bottom:30px}.mCSB_horizontal.mCSB_outside>.mCSB_container{min-height:100%}.mCSB_horizontal>.mCSB_container.mCS_no_scrollbar_x.mCS_x_hidden{margin-bottom:0}.mCSB_scrollTools.mCSB_scrollTools_horizontal{width:auto;height:16px;top:auto;right:0;bottom:0;left:0}.mCustomScrollBox+.mCSB_scrollTools+.mCSB_scrollTools.mCSB_scrollTools_horizontal,.mCustomScrollBox+.mCSB_scrollTools.mCSB_scrollTools_horizontal{bottom:-26px}.mCSB_scrollTools.mCSB_scrollTools_horizontal a+.mCSB_draggerContainer{margin:0 20px}.mCSB_scrollTools.mCSB_scrollTools_horizontal .mCSB_draggerRail{width:100%;height:2px;margin:7px 0}.mCSB_scrollTools.mCSB_scrollTools_horizontal .mCSB_dragger{width:30px;height:100%;left:0}.mCSB_scrollTools.mCSB_scrollTools_horizontal .mCSB_dragger .mCSB_dragger_bar{width:100%;height:4px;margin:6px auto}.mCSB_scrollTools_horizontal.mCSB_scrollTools_onDrag_expand .mCSB_dragger.mCSB_dragger_onDrag_expanded .mCSB_dragger_bar,.mCSB_scrollTools_horizontal.mCSB_scrollTools_onDrag_expand .mCSB_draggerContainer:hover .mCSB_dragger .mCSB_dragger_bar{height:12px;margin:2px auto}.mCSB_scrollTools_horizontal.mCSB_scrollTools_onDrag_expand .mCSB_dragger.mCSB_dragger_onDrag_expanded+.mCSB_draggerRail,.mCSB_scrollTools_horizontal.mCSB_scrollTools_onDrag_expand .mCSB_draggerContainer:hover .mCSB_draggerRail{height:8px;margin:4px 0}.mCSB_scrollTools.mCSB_scrollTools_horizontal .mCSB_buttonLeft,.mCSB_scrollTools.mCSB_scrollTools_horizontal .mCSB_buttonRight{display:block;position:absolute;width:20px;height:100%;overflow:hidden;margin:0 auto;cursor:pointer}.mCSB_scrollTools.mCSB_scrollTools_horizontal .mCSB_buttonLeft{left:0}.mCSB_scrollTools.mCSB_scrollTools_horizontal .mCSB_buttonRight{right:0}.mCSB_container_wrapper{position:absolute;height:auto;width:auto;overflow:hidden;top:0;left:0;right:0;bottom:0;margin-right:30px;margin-bottom:30px}.mCSB_container_wrapper>.mCSB_container{padding-right:30px;padding-bottom:30px;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.mCSB_vertical_horizontal>.mCSB_scrollTools.mCSB_scrollTools_vertical{bottom:20px}.mCSB_vertical_horizontal>.mCSB_scrollTools.mCSB_scrollTools_horizontal{right:20px}.mCSB_container_wrapper.mCS_no_scrollbar_x.mCS_x_hidden+.mCSB_scrollTools.mCSB_scrollTools_vertical{bottom:0}.mCS-dir-rtl>.mCustomScrollBox.mCSB_vertical_horizontal.mCSB_inside>.mCSB_scrollTools.mCSB_scrollTools_horizontal,.mCSB_container_wrapper.mCS_no_scrollbar_y.mCS_y_hidden+.mCSB_scrollTools~.mCSB_scrollTools.mCSB_scrollTools_horizontal{right:0}.mCS-dir-rtl>.mCustomScrollBox.mCSB_vertical_horizontal.mCSB_inside>.mCSB_scrollTools.mCSB_scrollTools_horizontal{left:20px}.mCS-dir-rtl>.mCustomScrollBox.mCSB_vertical_horizontal.mCSB_inside>.mCSB_container_wrapper.mCS_no_scrollbar_y.mCS_y_hidden+.mCSB_scrollTools~.mCSB_scrollTools.mCSB_scrollTools_horizontal{left:0}.mCS-dir-rtl>.mCSB_inside>.mCSB_container_wrapper{margin-right:0;margin-left:30px}.mCSB_container_wrapper.mCS_no_scrollbar_y.mCS_y_hidden>.mCSB_container{padding-right:0}.mCSB_container_wrapper.mCS_no_scrollbar_x.mCS_x_hidden>.mCSB_container{padding-bottom:0}.mCustomScrollBox.mCSB_vertical_horizontal.mCSB_inside>.mCSB_container_wrapper.mCS_no_scrollbar_y.mCS_y_hidden{margin-right:0;margin-left:0}.mCustomScrollBox.mCSB_vertical_horizontal.mCSB_inside>.mCSB_container_wrapper.mCS_no_scrollbar_x.mCS_x_hidden{margin-bottom:0}.mCSB_scrollTools,.mCSB_scrollTools .mCSB_buttonDown,.mCSB_scrollTools .mCSB_buttonLeft,.mCSB_scrollTools .mCSB_buttonRight,.mCSB_scrollTools .mCSB_buttonUp,.mCSB_scrollTools .mCSB_dragger .mCSB_dragger_bar{-webkit-transition:opacity .2s ease-in-out,background-color .2s ease-in-out;-moz-transition:opacity .2s ease-in-out,background-color .2s ease-in-out;-o-transition:opacity .2s ease-in-out,background-color .2s ease-in-out;transition:opacity .2s ease-in-out,background-color .2s ease-in-out}.mCSB_scrollTools_horizontal.mCSB_scrollTools_onDrag_expand .mCSB_draggerRail,.mCSB_scrollTools_horizontal.mCSB_scrollTools_onDrag_expand .mCSB_dragger_bar,.mCSB_scrollTools_vertical.mCSB_scrollTools_onDrag_expand .mCSB_draggerRail,.mCSB_scrollTools_vertical.mCSB_scrollTools_onDrag_expand .mCSB_dragger_bar{-webkit-transition:width .2s ease-out .2s,height .2s ease-out .2s,margin-left .2s ease-out .2s,margin-right .2s ease-out .2s,margin-top .2s ease-out .2s,margin-bottom .2s ease-out .2s,opacity .2s ease-in-out,background-color .2s ease-in-out;-moz-transition:width .2s ease-out .2s,height .2s ease-out .2s,margin-left .2s ease-out .2s,margin-right .2s ease-out .2s,margin-top .2s ease-out .2s,margin-bottom .2s ease-out .2s,opacity .2s ease-in-out,background-color .2s ease-in-out;-o-transition:width .2s ease-out .2s,height .2s ease-out .2s,margin-left .2s ease-out .2s,margin-right .2s ease-out .2s,margin-top .2s ease-out .2s,margin-bottom .2s ease-out .2s,opacity .2s ease-in-out,background-color .2s ease-in-out;transition:width .2s ease-out .2s,height .2s ease-out .2s,margin-left .2s ease-out .2s,margin-right .2s ease-out .2s,margin-top .2s ease-out .2s,margin-bottom .2s ease-out .2s,opacity .2s ease-in-out,background-color .2s ease-in-out}.mCS-autoHide>.mCustomScrollBox>.mCSB_scrollTools,.mCS-autoHide>.mCustomScrollBox~.mCSB_scrollTools{opacity:0;filter:"alpha(opacity=0)";-ms-filter:"alpha(opacity=0)"}.mCS-autoHide:hover>.mCustomScrollBox>.mCSB_scrollTools,.mCS-autoHide:hover>.mCustomScrollBox~.mCSB_scrollTools,.mCustomScrollBox:hover>.mCSB_scrollTools,.mCustomScrollBox:hover~.mCSB_scrollTools,.mCustomScrollbar>.mCustomScrollBox>.mCSB_scrollTools.mCSB_scrollTools_onDrag,.mCustomScrollbar>.mCustomScrollBox~.mCSB_scrollTools.mCSB_scrollTools_onDrag{opacity:1;filter:"alpha(opacity=100)";-ms-filter:"alpha(opacity=100)"}.mCSB_scrollTools .mCSB_draggerRail{background-color:#000;background-color:rgba(0,0,0,.4);filter:"alpha(opacity=40)";-ms-filter:"alpha(opacity=40)"}.mCSB_scrollTools .mCSB_dragger .mCSB_dragger_bar{background-color:#fff;background-color:rgba(255,255,255,.75);filter:"alpha(opacity=75)";-ms-filter:"alpha(opacity=75)"}.mCSB_scrollTools .mCSB_dragger:hover .mCSB_dragger_bar{background-color:#fff;background-color:rgba(255,255,255,.85);filter:"alpha(opacity=85)";-ms-filter:"alpha(opacity=85)"}.mCSB_scrollTools .mCSB_dragger.mCSB_dragger_onDrag .mCSB_dragger_bar,.mCSB_scrollTools .mCSB_dragger:active .mCSB_dragger_bar{background-color:#fff;background-color:rgba(255,255,255,.9);filter:"alpha(opacity=90)";-ms-filter:"alpha(opacity=90)"}.mCSB_scrollTools .mCSB_buttonDown,.mCSB_scrollTools .mCSB_buttonLeft,.mCSB_scrollTools .mCSB_buttonRight,.mCSB_scrollTools .mCSB_buttonUp{background-image:url(../images/mCSB_buttons.png);background-repeat:no-repeat;opacity:.4;filter:"alpha(opacity=40)";-ms-filter:"alpha(opacity=40)"}.mCSB_scrollTools .mCSB_buttonUp{background-position:0 0}.mCSB_scrollTools .mCSB_buttonDown{background-position:0 -20px}.mCSB_scrollTools .mCSB_buttonLeft{background-position:0 -40px}.mCSB_scrollTools .mCSB_buttonRight{background-position:0 -56px}.mCSB_scrollTools .mCSB_buttonDown:hover,.mCSB_scrollTools .mCSB_buttonLeft:hover,.mCSB_scrollTools .mCSB_buttonRight:hover,.mCSB_scrollTools .mCSB_buttonUp:hover{opacity:.75;filter:"alpha(opacity=75)";-ms-filter:"alpha(opacity=75)"}.mCSB_scrollTools .mCSB_buttonDown:active,.mCSB_scrollTools .mCSB_buttonLeft:active,.mCSB_scrollTools .mCSB_buttonRight:active,.mCSB_scrollTools .mCSB_buttonUp:active{opacity:.9;filter:"alpha(opacity=90)";-ms-filter:"alpha(opacity=90)"}.mCS-dark.mCSB_scrollTools .mCSB_draggerRail{background-color:#000;background-color:rgba(0,0,0,.15)}.mCS-dark.mCSB_scrollTools .mCSB_dragger .mCSB_dragger_bar{background-color:#000;background-color:rgba(0,0,0,.75)}.mCS-dark.mCSB_scrollTools .mCSB_dragger:hover .mCSB_dragger_bar{background-color:rgba(0,0,0,.85)}.mCS-dark.mCSB_scrollTools .mCSB_dragger.mCSB_dragger_onDrag .mCSB_dragger_bar,.mCS-dark.mCSB_scrollTools .mCSB_dragger:active .mCSB_dragger_bar{background-color:rgba(0,0,0,.9)}.mCS-dark.mCSB_scrollTools .mCSB_buttonUp{background-position:-80px 0}.mCS-dark.mCSB_scrollTools .mCSB_buttonDown{background-position:-80px -20px}.mCS-dark.mCSB_scrollTools .mCSB_buttonLeft{background-position:-80px -40px}.mCS-dark.mCSB_scrollTools .mCSB_buttonRight{background-position:-80px -56px}.mCS-dark-2.mCSB_scrollTools .mCSB_draggerRail,.mCS-light-2.mCSB_scrollTools .mCSB_draggerRail{width:4px;background-color:#fff;background-color:rgba(255,255,255,.1);-webkit-border-radius:1px;-moz-border-radius:1px;border-radius:1px}.mCS-dark-2.mCSB_scrollTools .mCSB_dragger .mCSB_dragger_bar,.mCS-light-2.mCSB_scrollTools .mCSB_dragger .mCSB_dragger_bar{width:4px;background-color:#fff;background-color:rgba(255,255,255,.75);-webkit-border-radius:1px;-moz-border-radius:1px;border-radius:1px}.mCS-dark-2.mCSB_scrollTools_horizontal .mCSB_dragger .mCSB_dragger_bar,.mCS-dark-2.mCSB_scrollTools_horizontal .mCSB_draggerRail,.mCS-light-2.mCSB_scrollTools_horizontal .mCSB_dragger .mCSB_dragger_bar,.mCS-light-2.mCSB_scrollTools_horizontal .mCSB_draggerRail{width:100%;height:4px;margin:6px auto}.mCS-light-2.mCSB_scrollTools .mCSB_dragger:hover .mCSB_dragger_bar{background-color:#fff;background-color:rgba(255,255,255,.85)}.mCS-light-2.mCSB_scrollTools .mCSB_dragger.mCSB_dragger_onDrag .mCSB_dragger_bar,.mCS-light-2.mCSB_scrollTools .mCSB_dragger:active .mCSB_dragger_bar{background-color:#fff;background-color:rgba(255,255,255,.9)}.mCS-light-2.mCSB_scrollTools .mCSB_buttonUp{background-position:-32px 0}.mCS-light-2.mCSB_scrollTools .mCSB_buttonDown{background-position:-32px -20px}.mCS-light-2.mCSB_scrollTools .mCSB_buttonLeft{background-position:-40px -40px}.mCS-light-2.mCSB_scrollTools .mCSB_buttonRight{background-position:-40px -56px}.mCS-dark-2.mCSB_scrollTools .mCSB_draggerRail{background-color:#000;background-color:rgba(0,0,0,.1);-webkit-border-radius:1px;-moz-border-radius:1px;border-radius:1px}.mCS-dark-2.mCSB_scrollTools .mCSB_dragger .mCSB_dragger_bar{background-color:#000;background-color:rgba(0,0,0,.75);-webkit-border-radius:1px;-moz-border-radius:1px;border-radius:1px}.mCS-dark-2.mCSB_scrollTools .mCSB_dragger:hover .mCSB_dragger_bar{background-color:#000;background-color:rgba(0,0,0,.85)}.mCS-dark-2.mCSB_scrollTools .mCSB_dragger.mCSB_dragger_onDrag .mCSB_dragger_bar,.mCS-dark-2.mCSB_scrollTools .mCSB_dragger:active .mCSB_dragger_bar{background-color:#000;background-color:rgba(0,0,0,.9)}.mCS-dark-2.mCSB_scrollTools .mCSB_buttonUp{background-position:-112px 0}.mCS-dark-2.mCSB_scrollTools .mCSB_buttonDown{background-position:-112px -20px}.mCS-dark-2.mCSB_scrollTools .mCSB_buttonLeft{background-position:-120px -40px}.mCS-dark-2.mCSB_scrollTools .mCSB_buttonRight{background-position:-120px -56px}.mCS-dark-thick.mCSB_scrollTools .mCSB_draggerRail,.mCS-light-thick.mCSB_scrollTools .mCSB_draggerRail{width:4px;background-color:#fff;background-color:rgba(255,255,255,.1);-webkit-border-radius:2px;-moz-border-radius:2px;border-radius:2px}.mCS-dark-thick.mCSB_scrollTools .mCSB_dragger .mCSB_dragger_bar,.mCS-light-thick.mCSB_scrollTools .mCSB_dragger .mCSB_dragger_bar{width:6px;background-color:#fff;background-color:rgba(255,255,255,.75);-webkit-border-radius:2px;-moz-border-radius:2px;border-radius:2px}.mCS-dark-thick.mCSB_scrollTools_horizontal .mCSB_draggerRail,.mCS-light-thick.mCSB_scrollTools_horizontal .mCSB_draggerRail{width:100%;height:4px;margin:6px 0}.mCS-dark-thick.mCSB_scrollTools_horizontal .mCSB_dragger .mCSB_dragger_bar,.mCS-light-thick.mCSB_scrollTools_horizontal .mCSB_dragger .mCSB_dragger_bar{width:100%;height:6px;margin:5px auto}.mCS-light-thick.mCSB_scrollTools .mCSB_dragger:hover .mCSB_dragger_bar{background-color:#fff;background-color:rgba(255,255,255,.85)}.mCS-light-thick.mCSB_scrollTools .mCSB_dragger.mCSB_dragger_onDrag .mCSB_dragger_bar,.mCS-light-thick.mCSB_scrollTools .mCSB_dragger:active .mCSB_dragger_bar{background-color:#fff;background-color:rgba(255,255,255,.9)}.mCS-light-thick.mCSB_scrollTools .mCSB_buttonUp{background-position:-16px 0}.mCS-light-thick.mCSB_scrollTools .mCSB_buttonDown{background-position:-16px -20px}.mCS-light-thick.mCSB_scrollTools .mCSB_buttonLeft{background-position:-20px -40px}.mCS-light-thick.mCSB_scrollTools .mCSB_buttonRight{background-position:-20px -56px}.mCS-dark-thick.mCSB_scrollTools .mCSB_draggerRail{background-color:#000;background-color:rgba(0,0,0,.1);-webkit-border-radius:2px;-moz-border-radius:2px;border-radius:2px}.mCS-dark-thick.mCSB_scrollTools .mCSB_dragger .mCSB_dragger_bar{background-color:#000;background-color:rgba(0,0,0,.75);-webkit-border-radius:2px;-moz-border-radius:2px;border-radius:2px}.mCS-dark-thick.mCSB_scrollTools .mCSB_dragger:hover .mCSB_dragger_bar{background-color:#000;background-color:rgba(0,0,0,.85)}.mCS-dark-thick.mCSB_scrollTools .mCSB_dragger.mCSB_dragger_onDrag .mCSB_dragger_bar,.mCS-dark-thick.mCSB_scrollTools .mCSB_dragger:active .mCSB_dragger_bar{background-color:#000;background-color:rgba(0,0,0,.9)}.mCS-dark-thick.mCSB_scrollTools .mCSB_buttonUp{background-position:-96px 0}.mCS-dark-thick.mCSB_scrollTools .mCSB_buttonDown{background-position:-96px -20px}.mCS-dark-thick.mCSB_scrollTools .mCSB_buttonLeft{background-position:-100px -40px}.mCS-dark-thick.mCSB_scrollTools .mCSB_buttonRight{background-position:-100px -56px}.mCS-light-thin.mCSB_scrollTools .mCSB_draggerRail{background-color:#fff;background-color:rgba(255,255,255,.1)}.mCS-dark-thin.mCSB_scrollTools .mCSB_dragger .mCSB_dragger_bar,.mCS-light-thin.mCSB_scrollTools .mCSB_dragger .mCSB_dragger_bar{width:2px}.mCS-dark-thin.mCSB_scrollTools_horizontal .mCSB_draggerRail,.mCS-light-thin.mCSB_scrollTools_horizontal .mCSB_draggerRail{width:100%}.mCS-dark-thin.mCSB_scrollTools_horizontal .mCSB_dragger .mCSB_dragger_bar,.mCS-light-thin.mCSB_scrollTools_horizontal .mCSB_dragger .mCSB_dragger_bar{width:100%;height:2px;margin:7px auto}.mCS-dark-thin.mCSB_scrollTools .mCSB_draggerRail{background-color:#000;background-color:rgba(0,0,0,.15)}.mCS-dark-thin.mCSB_scrollTools .mCSB_dragger .mCSB_dragger_bar{background-color:#000;background-color:rgba(0,0,0,.75)}.mCS-dark-thin.mCSB_scrollTools .mCSB_dragger:hover .mCSB_dragger_bar{background-color:#000;background-color:rgba(0,0,0,.85)}.mCS-dark-thin.mCSB_scrollTools .mCSB_dragger.mCSB_dragger_onDrag .mCSB_dragger_bar,.mCS-dark-thin.mCSB_scrollTools .mCSB_dragger:active .mCSB_dragger_bar{background-color:#000;background-color:rgba(0,0,0,.9)}.mCS-dark-thin.mCSB_scrollTools .mCSB_buttonUp{background-position:-80px 0}.mCS-dark-thin.mCSB_scrollTools .mCSB_buttonDown{background-position:-80px -20px}.mCS-dark-thin.mCSB_scrollTools .mCSB_buttonLeft{background-position:-80px -40px}.mCS-dark-thin.mCSB_scrollTools .mCSB_buttonRight{background-position:-80px -56px}.mCS-rounded.mCSB_scrollTools .mCSB_draggerRail{background-color:#fff;background-color:rgba(255,255,255,.15)}.mCS-rounded-dark.mCSB_scrollTools .mCSB_dragger,.mCS-rounded-dots-dark.mCSB_scrollTools .mCSB_dragger,.mCS-rounded-dots.mCSB_scrollTools .mCSB_dragger,.mCS-rounded.mCSB_scrollTools .mCSB_dragger{height:14px}.mCS-rounded-dark.mCSB_scrollTools .mCSB_dragger .mCSB_dragger_bar,.mCS-rounded-dots-dark.mCSB_scrollTools .mCSB_dragger .mCSB_dragger_bar,.mCS-rounded-dots.mCSB_scrollTools .mCSB_dragger .mCSB_dragger_bar,.mCS-rounded.mCSB_scrollTools .mCSB_dragger .mCSB_dragger_bar{width:14px;margin:0 1px}.mCS-rounded-dark.mCSB_scrollTools_horizontal .mCSB_dragger,.mCS-rounded-dots-dark.mCSB_scrollTools_horizontal .mCSB_dragger,.mCS-rounded-dots.mCSB_scrollTools_horizontal .mCSB_dragger,.mCS-rounded.mCSB_scrollTools_horizontal .mCSB_dragger{width:14px}.mCS-rounded-dark.mCSB_scrollTools_horizontal .mCSB_dragger .mCSB_dragger_bar,.mCS-rounded-dots-dark.mCSB_scrollTools_horizontal .mCSB_dragger .mCSB_dragger_bar,.mCS-rounded-dots.mCSB_scrollTools_horizontal .mCSB_dragger .mCSB_dragger_bar,.mCS-rounded.mCSB_scrollTools_horizontal .mCSB_dragger .mCSB_dragger_bar{height:14px;margin:1px 0}.mCS-rounded-dark.mCSB_scrollTools_vertical.mCSB_scrollTools_onDrag_expand .mCSB_dragger.mCSB_dragger_onDrag_expanded .mCSB_dragger_bar,.mCS-rounded-dark.mCSB_scrollTools_vertical.mCSB_scrollTools_onDrag_expand .mCSB_draggerContainer:hover .mCSB_dragger .mCSB_dragger_bar,.mCS-rounded.mCSB_scrollTools_vertical.mCSB_scrollTools_onDrag_expand .mCSB_dragger.mCSB_dragger_onDrag_expanded .mCSB_dragger_bar,.mCS-rounded.mCSB_scrollTools_vertical.mCSB_scrollTools_onDrag_expand .mCSB_draggerContainer:hover .mCSB_dragger .mCSB_dragger_bar{width:16px;height:16px;margin:-1px 0}.mCS-rounded-dark.mCSB_scrollTools_vertical.mCSB_scrollTools_onDrag_expand .mCSB_dragger.mCSB_dragger_onDrag_expanded+.mCSB_draggerRail,.mCS-rounded-dark.mCSB_scrollTools_vertical.mCSB_scrollTools_onDrag_expand .mCSB_draggerContainer:hover .mCSB_draggerRail,.mCS-rounded.mCSB_scrollTools_vertical.mCSB_scrollTools_onDrag_expand .mCSB_dragger.mCSB_dragger_onDrag_expanded+.mCSB_draggerRail,.mCS-rounded.mCSB_scrollTools_vertical.mCSB_scrollTools_onDrag_expand .mCSB_draggerContainer:hover .mCSB_draggerRail{width:4px}.mCS-rounded-dark.mCSB_scrollTools_horizontal.mCSB_scrollTools_onDrag_expand .mCSB_dragger.mCSB_dragger_onDrag_expanded .mCSB_dragger_bar,.mCS-rounded-dark.mCSB_scrollTools_horizontal.mCSB_scrollTools_onDrag_expand .mCSB_draggerContainer:hover .mCSB_dragger .mCSB_dragger_bar,.mCS-rounded.mCSB_scrollTools_horizontal.mCSB_scrollTools_onDrag_expand .mCSB_dragger.mCSB_dragger_onDrag_expanded .mCSB_dragger_bar,.mCS-rounded.mCSB_scrollTools_horizontal.mCSB_scrollTools_onDrag_expand .mCSB_draggerContainer:hover .mCSB_dragger .mCSB_dragger_bar{height:16px;width:16px;margin:0 -1px}.mCS-rounded-dark.mCSB_scrollTools_horizontal.mCSB_scrollTools_onDrag_expand .mCSB_dragger.mCSB_dragger_onDrag_expanded+.mCSB_draggerRail,.mCS-rounded-dark.mCSB_scrollTools_horizontal.mCSB_scrollTools_onDrag_expand .mCSB_draggerContainer:hover .mCSB_draggerRail,.mCS-rounded.mCSB_scrollTools_horizontal.mCSB_scrollTools_onDrag_expand .mCSB_dragger.mCSB_dragger_onDrag_expanded+.mCSB_draggerRail,.mCS-rounded.mCSB_scrollTools_horizontal.mCSB_scrollTools_onDrag_expand .mCSB_draggerContainer:hover .mCSB_draggerRail{height:4px;margin:6px 0}.mCS-rounded.mCSB_scrollTools .mCSB_buttonUp{background-position:0 -72px}.mCS-rounded.mCSB_scrollTools .mCSB_buttonDown{background-position:0 -92px}.mCS-rounded.mCSB_scrollTools .mCSB_buttonLeft{background-position:0 -112px}.mCS-rounded.mCSB_scrollTools .mCSB_buttonRight{background-position:0 -128px}.mCS-rounded-dark.mCSB_scrollTools .mCSB_dragger .mCSB_dragger_bar,.mCS-rounded-dots-dark.mCSB_scrollTools .mCSB_dragger .mCSB_dragger_bar{background-color:#000;background-color:rgba(0,0,0,.75)}.mCS-rounded-dark.mCSB_scrollTools .mCSB_draggerRail{background-color:#000;background-color:rgba(0,0,0,.15)}.mCS-rounded-dark.mCSB_scrollTools .mCSB_dragger:hover .mCSB_dragger_bar,.mCS-rounded-dots-dark.mCSB_scrollTools .mCSB_dragger:hover .mCSB_dragger_bar{background-color:#000;background-color:rgba(0,0,0,.85)}.mCS-rounded-dark.mCSB_scrollTools .mCSB_dragger.mCSB_dragger_onDrag .mCSB_dragger_bar,.mCS-rounded-dark.mCSB_scrollTools .mCSB_dragger:active .mCSB_dragger_bar,.mCS-rounded-dots-dark.mCSB_scrollTools .mCSB_dragger.mCSB_dragger_onDrag .mCSB_dragger_bar,.mCS-rounded-dots-dark.mCSB_scrollTools .mCSB_dragger:active .mCSB_dragger_bar{background-color:#000;background-color:rgba(0,0,0,.9)}.mCS-rounded-dark.mCSB_scrollTools .mCSB_buttonUp{background-position:-80px -72px}.mCS-rounded-dark.mCSB_scrollTools .mCSB_buttonDown{background-position:-80px -92px}.mCS-rounded-dark.mCSB_scrollTools .mCSB_buttonLeft{background-position:-80px -112px}.mCS-rounded-dark.mCSB_scrollTools .mCSB_buttonRight{background-position:-80px -128px}.mCS-rounded-dots-dark.mCSB_scrollTools_vertical .mCSB_draggerRail,.mCS-rounded-dots.mCSB_scrollTools_vertical .mCSB_draggerRail{width:4px}.mCS-rounded-dots-dark.mCSB_scrollTools .mCSB_draggerRail,.mCS-rounded-dots-dark.mCSB_scrollTools_horizontal .mCSB_draggerRail,.mCS-rounded-dots.mCSB_scrollTools .mCSB_draggerRail,.mCS-rounded-dots.mCSB_scrollTools_horizontal .mCSB_draggerRail{background-color:transparent;background-position:center}.mCS-rounded-dots-dark.mCSB_scrollTools .mCSB_draggerRail,.mCS-rounded-dots.mCSB_scrollTools .mCSB_draggerRail{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAAICAYAAADED76LAAAANElEQVQYV2NkIAAYiVbw//9/Y6DiM1ANJoyMjGdBbLgJQAX/kU0DKgDLkaQAvxW4HEvQFwCRcxIJK1XznAAAAABJRU5ErkJggg==);background-repeat:repeat-y;opacity:.3;filter:"alpha(opacity=30)";-ms-filter:"alpha(opacity=30)"}.mCS-rounded-dots-dark.mCSB_scrollTools_horizontal .mCSB_draggerRail,.mCS-rounded-dots.mCSB_scrollTools_horizontal .mCSB_draggerRail{height:4px;margin:6px 0;background-repeat:repeat-x}.mCS-rounded-dots.mCSB_scrollTools .mCSB_buttonUp{background-position:-16px -72px}.mCS-rounded-dots.mCSB_scrollTools .mCSB_buttonDown{background-position:-16px -92px}.mCS-rounded-dots.mCSB_scrollTools .mCSB_buttonLeft{background-position:-20px -112px}.mCS-rounded-dots.mCSB_scrollTools .mCSB_buttonRight{background-position:-20px -128px}.mCS-rounded-dots-dark.mCSB_scrollTools .mCSB_draggerRail{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAAICAYAAADED76LAAAALElEQVQYV2NkIAAYSVFgDFR8BqrBBEifBbGRTfiPZhpYjiQFBK3A6l6CvgAAE9kGCd1mvgEAAAAASUVORK5CYII=)}.mCS-rounded-dots-dark.mCSB_scrollTools .mCSB_buttonUp{background-position:-96px -72px}.mCS-rounded-dots-dark.mCSB_scrollTools .mCSB_buttonDown{background-position:-96px -92px}.mCS-rounded-dots-dark.mCSB_scrollTools .mCSB_buttonLeft{background-position:-100px -112px}.mCS-rounded-dots-dark.mCSB_scrollTools .mCSB_buttonRight{background-position:-100px -128px}.mCS-3d-dark.mCSB_scrollTools .mCSB_dragger .mCSB_dragger_bar,.mCS-3d-thick-dark.mCSB_scrollTools .mCSB_dragger .mCSB_dragger_bar,.mCS-3d-thick.mCSB_scrollTools .mCSB_dragger .mCSB_dragger_bar,.mCS-3d.mCSB_scrollTools .mCSB_dragger .mCSB_dragger_bar{background-repeat:repeat-y;background-image:-moz-linear-gradient(left,rgba(255,255,255,.5) 0,rgba(255,255,255,0) 100%);background-image:-webkit-gradient(linear,left top,right top,color-stop(0,rgba(255,255,255,.5)),color-stop(100%,rgba(255,255,255,0)));background-image:-webkit-linear-gradient(left,rgba(255,255,255,.5) 0,rgba(255,255,255,0) 100%);background-image:-o-linear-gradient(left,rgba(255,255,255,.5) 0,rgba(255,255,255,0) 100%);background-image:-ms-linear-gradient(left,rgba(255,255,255,.5) 0,rgba(255,255,255,0) 100%);background-image:linear-gradient(to right,rgba(255,255,255,.5) 0,rgba(255,255,255,0) 100%)}.mCS-3d-dark.mCSB_scrollTools_horizontal .mCSB_dragger .mCSB_dragger_bar,.mCS-3d-thick-dark.mCSB_scrollTools_horizontal .mCSB_dragger .mCSB_dragger_bar,.mCS-3d-thick.mCSB_scrollTools_horizontal .mCSB_dragger .mCSB_dragger_bar,.mCS-3d.mCSB_scrollTools_horizontal .mCSB_dragger .mCSB_dragger_bar{background-repeat:repeat-x;background-image:-moz-linear-gradient(top,rgba(255,255,255,.5) 0,rgba(255,255,255,0) 100%);background-image:-webkit-gradient(linear,left top,left bottom,color-stop(0,rgba(255,255,255,.5)),color-stop(100%,rgba(255,255,255,0)));background-image:-webkit-linear-gradient(top,rgba(255,255,255,.5) 0,rgba(255,255,255,0) 100%);background-image:-o-linear-gradient(top,rgba(255,255,255,.5) 0,rgba(255,255,255,0) 100%);background-image:-ms-linear-gradient(top,rgba(255,255,255,.5) 0,rgba(255,255,255,0) 100%);background-image:linear-gradient(to bottom,rgba(255,255,255,.5) 0,rgba(255,255,255,0) 100%)}.mCS-3d-dark.mCSB_scrollTools_vertical .mCSB_dragger,.mCS-3d.mCSB_scrollTools_vertical .mCSB_dragger{height:70px}.mCS-3d-dark.mCSB_scrollTools_horizontal .mCSB_dragger,.mCS-3d.mCSB_scrollTools_horizontal .mCSB_dragger{width:70px}.mCS-3d-dark.mCSB_scrollTools,.mCS-3d.mCSB_scrollTools{opacity:1;filter:"alpha(opacity=30)";-ms-filter:"alpha(opacity=30)"}.mCS-3d-dark.mCSB_scrollTools .mCSB_dragger .mCSB_dragger_bar,.mCS-3d-dark.mCSB_scrollTools .mCSB_draggerRail,.mCS-3d.mCSB_scrollTools .mCSB_dragger .mCSB_dragger_bar,.mCS-3d.mCSB_scrollTools .mCSB_draggerRail{-webkit-border-radius:16px;-moz-border-radius:16px;border-radius:16px}.mCS-3d-dark.mCSB_scrollTools .mCSB_draggerRail,.mCS-3d.mCSB_scrollTools .mCSB_draggerRail{width:8px;background-color:#000;background-color:rgba(0,0,0,.2);box-shadow:inset 1px 0 1px rgba(0,0,0,.5),inset -1px 0 1px rgba(255,255,255,.2)}.mCS-3d-dark.mCSB_scrollTools .mCSB_dragger .mCSB_dragger_bar,.mCS-3d-dark.mCSB_scrollTools .mCSB_dragger.mCSB_dragger_onDrag .mCSB_dragger_bar,.mCS-3d-dark.mCSB_scrollTools .mCSB_dragger:active .mCSB_dragger_bar,.mCS-3d-dark.mCSB_scrollTools .mCSB_dragger:hover .mCSB_dragger_bar,.mCS-3d.mCSB_scrollTools .mCSB_dragger .mCSB_dragger_bar,.mCS-3d.mCSB_scrollTools .mCSB_dragger.mCSB_dragger_onDrag .mCSB_dragger_bar,.mCS-3d.mCSB_scrollTools .mCSB_dragger:active .mCSB_dragger_bar,.mCS-3d.mCSB_scrollTools .mCSB_dragger:hover .mCSB_dragger_bar{background-color:#555}.mCS-3d-dark.mCSB_scrollTools .mCSB_dragger .mCSB_dragger_bar,.mCS-3d.mCSB_scrollTools .mCSB_dragger .mCSB_dragger_bar{width:8px}.mCS-3d-dark.mCSB_scrollTools_horizontal .mCSB_draggerRail,.mCS-3d.mCSB_scrollTools_horizontal .mCSB_draggerRail{width:100%;height:8px;margin:4px 0;box-shadow:inset 0 1px 1px rgba(0,0,0,.5),inset 0 -1px 1px rgba(255,255,255,.2)}.mCS-3d-dark.mCSB_scrollTools_horizontal .mCSB_dragger .mCSB_dragger_bar,.mCS-3d.mCSB_scrollTools_horizontal .mCSB_dragger .mCSB_dragger_bar{width:100%;height:8px;margin:4px auto}.mCS-3d.mCSB_scrollTools .mCSB_buttonUp{background-position:-32px -72px}.mCS-3d.mCSB_scrollTools .mCSB_buttonDown{background-position:-32px -92px}.mCS-3d.mCSB_scrollTools .mCSB_buttonLeft{background-position:-40px -112px}.mCS-3d.mCSB_scrollTools .mCSB_buttonRight{background-position:-40px -128px}.mCS-3d-dark.mCSB_scrollTools .mCSB_draggerRail{background-color:#000;background-color:rgba(0,0,0,.1);box-shadow:inset 1px 0 1px rgba(0,0,0,.1)}.mCS-3d-dark.mCSB_scrollTools_horizontal .mCSB_draggerRail{box-shadow:inset 0 1px 1px rgba(0,0,0,.1)}.mCS-3d-dark.mCSB_scrollTools .mCSB_buttonUp{background-position:-112px -72px}.mCS-3d-dark.mCSB_scrollTools .mCSB_buttonDown{background-position:-112px -92px}.mCS-3d-dark.mCSB_scrollTools .mCSB_buttonLeft{background-position:-120px -112px}.mCS-3d-dark.mCSB_scrollTools .mCSB_buttonRight{background-position:-120px -128px}.mCS-3d-thick-dark.mCSB_scrollTools,.mCS-3d-thick.mCSB_scrollTools{opacity:1;filter:"alpha(opacity=30)";-ms-filter:"alpha(opacity=30)"}.mCS-3d-thick-dark.mCSB_scrollTools,.mCS-3d-thick-dark.mCSB_scrollTools .mCSB_draggerContainer,.mCS-3d-thick.mCSB_scrollTools,.mCS-3d-thick.mCSB_scrollTools .mCSB_draggerContainer{-webkit-border-radius:7px;-moz-border-radius:7px;border-radius:7px}.mCSB_inside+.mCS-3d-thick-dark.mCSB_scrollTools_vertical,.mCSB_inside+.mCS-3d-thick.mCSB_scrollTools_vertical{right:1px}.mCS-3d-thick-dark.mCSB_scrollTools_vertical,.mCS-3d-thick.mCSB_scrollTools_vertical{box-shadow:inset 1px 0 1px rgba(0,0,0,.1),inset 0 0 14px rgba(0,0,0,.5)}.mCS-3d-thick-dark.mCSB_scrollTools_horizontal,.mCS-3d-thick.mCSB_scrollTools_horizontal{bottom:1px;box-shadow:inset 0 1px 1px rgba(0,0,0,.1),inset 0 0 14px rgba(0,0,0,.5)}.mCS-3d-thick-dark.mCSB_scrollTools .mCSB_dragger .mCSB_dragger_bar,.mCS-3d-thick.mCSB_scrollTools .mCSB_dragger .mCSB_dragger_bar{-webkit-border-radius:5px;-moz-border-radius:5px;border-radius:5px;box-shadow:inset 1px 0 0 rgba(255,255,255,.4);width:12px;margin:2px;position:absolute;height:auto;top:0;bottom:0;left:0;right:0}.mCS-3d-thick-dark.mCSB_scrollTools_horizontal .mCSB_dragger .mCSB_dragger_bar,.mCS-3d-thick.mCSB_scrollTools_horizontal .mCSB_dragger .mCSB_dragger_bar{box-shadow:inset 0 1px 0 rgba(255,255,255,.4);height:12px;width:auto}.mCS-3d-thick.mCSB_scrollTools .mCSB_dragger .mCSB_dragger_bar,.mCS-3d-thick.mCSB_scrollTools .mCSB_dragger.mCSB_dragger_onDrag .mCSB_dragger_bar,.mCS-3d-thick.mCSB_scrollTools .mCSB_dragger:active .mCSB_dragger_bar,.mCS-3d-thick.mCSB_scrollTools .mCSB_dragger:hover .mCSB_dragger_bar{background-color:#555}.mCS-3d-thick.mCSB_scrollTools .mCSB_draggerContainer{background-color:#000;background-color:rgba(0,0,0,.05);box-shadow:inset 1px 1px 16px rgba(0,0,0,.1)}.mCS-3d-thick.mCSB_scrollTools .mCSB_draggerRail{background-color:transparent}.mCS-3d-thick.mCSB_scrollTools .mCSB_buttonUp{background-position:-32px -72px}.mCS-3d-thick.mCSB_scrollTools .mCSB_buttonDown{background-position:-32px -92px}.mCS-3d-thick.mCSB_scrollTools .mCSB_buttonLeft{background-position:-40px -112px}.mCS-3d-thick.mCSB_scrollTools .mCSB_buttonRight{background-position:-40px -128px}.mCS-3d-thick-dark.mCSB_scrollTools{box-shadow:inset 0 0 14px rgba(0,0,0,.2)}.mCS-3d-thick-dark.mCSB_scrollTools_horizontal{box-shadow:inset 0 1px 1px rgba(0,0,0,.1),inset 0 0 14px rgba(0,0,0,.2)}.mCS-3d-thick-dark.mCSB_scrollTools .mCSB_dragger .mCSB_dragger_bar{box-shadow:inset 1px 0 0 rgba(255,255,255,.4),inset -1px 0 0 rgba(0,0,0,.2)}.mCS-3d-thick-dark.mCSB_scrollTools_horizontal .mCSB_dragger .mCSB_dragger_bar{box-shadow:inset 0 1px 0 rgba(255,255,255,.4),inset 0 -1px 0 rgba(0,0,0,.2)}.mCS-3d-thick-dark.mCSB_scrollTools .mCSB_dragger .mCSB_dragger_bar,.mCS-3d-thick-dark.mCSB_scrollTools .mCSB_dragger.mCSB_dragger_onDrag .mCSB_dragger_bar,.mCS-3d-thick-dark.mCSB_scrollTools .mCSB_dragger:active .mCSB_dragger_bar,.mCS-3d-thick-dark.mCSB_scrollTools .mCSB_dragger:hover .mCSB_dragger_bar{background-color:#777}.mCS-3d-thick-dark.mCSB_scrollTools .mCSB_draggerContainer{background-color:#fff;background-color:rgba(0,0,0,.05);box-shadow:inset 1px 1px 16px rgba(0,0,0,.1)}.mCS-3d-thick-dark.mCSB_scrollTools .mCSB_draggerRail,.mCS-minimal-dark.mCSB_scrollTools .mCSB_draggerRail,.mCS-minimal.mCSB_scrollTools .mCSB_draggerRail{background-color:transparent}.mCS-3d-thick-dark.mCSB_scrollTools .mCSB_buttonUp{background-position:-112px -72px}.mCS-3d-thick-dark.mCSB_scrollTools .mCSB_buttonDown{background-position:-112px -92px}.mCS-3d-thick-dark.mCSB_scrollTools .mCSB_buttonLeft{background-position:-120px -112px}.mCS-3d-thick-dark.mCSB_scrollTools .mCSB_buttonRight{background-position:-120px -128px}.mCSB_outside+.mCS-minimal-dark.mCSB_scrollTools_vertical,.mCSB_outside+.mCS-minimal.mCSB_scrollTools_vertical{right:0;margin:12px 0}.mCustomScrollBox.mCS-minimal+.mCSB_scrollTools+.mCSB_scrollTools.mCSB_scrollTools_horizontal,.mCustomScrollBox.mCS-minimal+.mCSB_scrollTools.mCSB_scrollTools_horizontal,.mCustomScrollBox.mCS-minimal-dark+.mCSB_scrollTools+.mCSB_scrollTools.mCSB_scrollTools_horizontal,.mCustomScrollBox.mCS-minimal-dark+.mCSB_scrollTools.mCSB_scrollTools_horizontal{bottom:0;margin:0 12px}.mCS-dir-rtl>.mCSB_outside+.mCS-minimal-dark.mCSB_scrollTools_vertical,.mCS-dir-rtl>.mCSB_outside+.mCS-minimal.mCSB_scrollTools_vertical{left:0;right:auto}.mCS-minimal-dark.mCSB_scrollTools_vertical .mCSB_dragger,.mCS-minimal.mCSB_scrollTools_vertical .mCSB_dragger{height:50px}.mCS-minimal-dark.mCSB_scrollTools_horizontal .mCSB_dragger,.mCS-minimal.mCSB_scrollTools_horizontal .mCSB_dragger{width:50px}.mCS-minimal.mCSB_scrollTools .mCSB_dragger .mCSB_dragger_bar{background-color:#fff;background-color:rgba(255,255,255,.2);filter:"alpha(opacity=20)";-ms-filter:"alpha(opacity=20)"}.mCS-minimal.mCSB_scrollTools .mCSB_dragger.mCSB_dragger_onDrag .mCSB_dragger_bar,.mCS-minimal.mCSB_scrollTools .mCSB_dragger:active .mCSB_dragger_bar{background-color:#fff;background-color:rgba(255,255,255,.5);filter:"alpha(opacity=50)";-ms-filter:"alpha(opacity=50)"}.mCS-minimal-dark.mCSB_scrollTools .mCSB_dragger .mCSB_dragger_bar{background-color:#000;background-color:rgba(0,0,0,.2);filter:"alpha(opacity=20)";-ms-filter:"alpha(opacity=20)"}.mCS-minimal-dark.mCSB_scrollTools .mCSB_dragger.mCSB_dragger_onDrag .mCSB_dragger_bar,.mCS-minimal-dark.mCSB_scrollTools .mCSB_dragger:active .mCSB_dragger_bar{background-color:#000;background-color:rgba(0,0,0,.5);filter:"alpha(opacity=50)";-ms-filter:"alpha(opacity=50)"}.mCS-dark-3.mCSB_scrollTools .mCSB_draggerRail,.mCS-light-3.mCSB_scrollTools .mCSB_draggerRail{width:6px;background-color:#000;background-color:rgba(0,0,0,.2)}.mCS-dark-3.mCSB_scrollTools .mCSB_dragger .mCSB_dragger_bar,.mCS-light-3.mCSB_scrollTools .mCSB_dragger .mCSB_dragger_bar{width:6px}.mCS-dark-3.mCSB_scrollTools_horizontal .mCSB_dragger .mCSB_dragger_bar,.mCS-dark-3.mCSB_scrollTools_horizontal .mCSB_draggerRail,.mCS-light-3.mCSB_scrollTools_horizontal .mCSB_dragger .mCSB_dragger_bar,.mCS-light-3.mCSB_scrollTools_horizontal .mCSB_draggerRail{width:100%;height:6px;margin:5px 0}.mCS-dark-3.mCSB_scrollTools_vertical.mCSB_scrollTools_onDrag_expand .mCSB_dragger.mCSB_dragger_onDrag_expanded+.mCSB_draggerRail,.mCS-dark-3.mCSB_scrollTools_vertical.mCSB_scrollTools_onDrag_expand .mCSB_draggerContainer:hover .mCSB_draggerRail,.mCS-light-3.mCSB_scrollTools_vertical.mCSB_scrollTools_onDrag_expand .mCSB_dragger.mCSB_dragger_onDrag_expanded+.mCSB_draggerRail,.mCS-light-3.mCSB_scrollTools_vertical.mCSB_scrollTools_onDrag_expand .mCSB_draggerContainer:hover .mCSB_draggerRail{width:12px}.mCS-dark-3.mCSB_scrollTools_horizontal.mCSB_scrollTools_onDrag_expand .mCSB_dragger.mCSB_dragger_onDrag_expanded+.mCSB_draggerRail,.mCS-dark-3.mCSB_scrollTools_horizontal.mCSB_scrollTools_onDrag_expand .mCSB_draggerContainer:hover .mCSB_draggerRail,.mCS-light-3.mCSB_scrollTools_horizontal.mCSB_scrollTools_onDrag_expand .mCSB_dragger.mCSB_dragger_onDrag_expanded+.mCSB_draggerRail,.mCS-light-3.mCSB_scrollTools_horizontal.mCSB_scrollTools_onDrag_expand .mCSB_draggerContainer:hover .mCSB_draggerRail{height:12px;margin:2px 0}.mCS-light-3.mCSB_scrollTools .mCSB_buttonUp{background-position:-32px -72px}.mCS-light-3.mCSB_scrollTools .mCSB_buttonDown{background-position:-32px -92px}.mCS-light-3.mCSB_scrollTools .mCSB_buttonLeft{background-position:-40px -112px}.mCS-light-3.mCSB_scrollTools .mCSB_buttonRight{background-position:-40px -128px}.mCS-dark-3.mCSB_scrollTools .mCSB_dragger .mCSB_dragger_bar{background-color:#000;background-color:rgba(0,0,0,.75)}.mCS-dark-3.mCSB_scrollTools .mCSB_dragger:hover .mCSB_dragger_bar{background-color:#000;background-color:rgba(0,0,0,.85)}.mCS-dark-3.mCSB_scrollTools .mCSB_dragger.mCSB_dragger_onDrag .mCSB_dragger_bar,.mCS-dark-3.mCSB_scrollTools .mCSB_dragger:active .mCSB_dragger_bar{background-color:#000;background-color:rgba(0,0,0,.9)}.mCS-dark-3.mCSB_scrollTools .mCSB_draggerRail{background-color:#000;background-color:rgba(0,0,0,.1)}.mCS-dark-3.mCSB_scrollTools .mCSB_buttonUp{background-position:-112px -72px}.mCS-dark-3.mCSB_scrollTools .mCSB_buttonDown{background-position:-112px -92px}.mCS-dark-3.mCSB_scrollTools .mCSB_buttonLeft{background-position:-120px -112px}.mCS-dark-3.mCSB_scrollTools .mCSB_buttonRight{background-position:-120px -128px}.mCS-inset-2-dark.mCSB_scrollTools .mCSB_draggerRail,.mCS-inset-2.mCSB_scrollTools .mCSB_draggerRail,.mCS-inset-3-dark.mCSB_scrollTools .mCSB_draggerRail,.mCS-inset-3.mCSB_scrollTools .mCSB_draggerRail,.mCS-inset-dark.mCSB_scrollTools .mCSB_draggerRail,.mCS-inset.mCSB_scrollTools .mCSB_draggerRail{width:12px;background-color:#000;background-color:rgba(0,0,0,.2)}.mCS-inset-2-dark.mCSB_scrollTools .mCSB_dragger .mCSB_dragger_bar,.mCS-inset-2.mCSB_scrollTools .mCSB_dragger .mCSB_dragger_bar,.mCS-inset-3-dark.mCSB_scrollTools .mCSB_dragger .mCSB_dragger_bar,.mCS-inset-3.mCSB_scrollTools .mCSB_dragger .mCSB_dragger_bar,.mCS-inset-dark.mCSB_scrollTools .mCSB_dragger .mCSB_dragger_bar,.mCS-inset.mCSB_scrollTools .mCSB_dragger .mCSB_dragger_bar{width:6px;margin:3px 5px;position:absolute;height:auto;top:0;bottom:0;left:0;right:0}.mCS-inset-2-dark.mCSB_scrollTools_horizontal .mCSB_dragger .mCSB_dragger_bar,.mCS-inset-2.mCSB_scrollTools_horizontal .mCSB_dragger .mCSB_dragger_bar,.mCS-inset-3-dark.mCSB_scrollTools_horizontal .mCSB_dragger .mCSB_dragger_bar,.mCS-inset-3.mCSB_scrollTools_horizontal .mCSB_dragger .mCSB_dragger_bar,.mCS-inset-dark.mCSB_scrollTools_horizontal .mCSB_dragger .mCSB_dragger_bar,.mCS-inset.mCSB_scrollTools_horizontal .mCSB_dragger .mCSB_dragger_bar{height:6px;margin:5px 3px;position:absolute;width:auto;top:0;bottom:0;left:0;right:0}.mCS-inset-2-dark.mCSB_scrollTools_horizontal .mCSB_draggerRail,.mCS-inset-2.mCSB_scrollTools_horizontal .mCSB_draggerRail,.mCS-inset-3-dark.mCSB_scrollTools_horizontal .mCSB_draggerRail,.mCS-inset-3.mCSB_scrollTools_horizontal .mCSB_draggerRail,.mCS-inset-dark.mCSB_scrollTools_horizontal .mCSB_draggerRail,.mCS-inset.mCSB_scrollTools_horizontal .mCSB_draggerRail{width:100%;height:12px;margin:2px 0}.mCS-inset-2.mCSB_scrollTools .mCSB_buttonUp,.mCS-inset-3.mCSB_scrollTools .mCSB_buttonUp,.mCS-inset.mCSB_scrollTools .mCSB_buttonUp{background-position:-32px -72px}.mCS-inset-2.mCSB_scrollTools .mCSB_buttonDown,.mCS-inset-3.mCSB_scrollTools .mCSB_buttonDown,.mCS-inset.mCSB_scrollTools .mCSB_buttonDown{background-position:-32px -92px}.mCS-inset-2.mCSB_scrollTools .mCSB_buttonLeft,.mCS-inset-3.mCSB_scrollTools .mCSB_buttonLeft,.mCS-inset.mCSB_scrollTools .mCSB_buttonLeft{background-position:-40px -112px}.mCS-inset-2.mCSB_scrollTools .mCSB_buttonRight,.mCS-inset-3.mCSB_scrollTools .mCSB_buttonRight,.mCS-inset.mCSB_scrollTools .mCSB_buttonRight{background-position:-40px -128px}.mCS-inset-2-dark.mCSB_scrollTools .mCSB_dragger .mCSB_dragger_bar,.mCS-inset-3-dark.mCSB_scrollTools .mCSB_dragger .mCSB_dragger_bar,.mCS-inset-dark.mCSB_scrollTools .mCSB_dragger .mCSB_dragger_bar{background-color:#000;background-color:rgba(0,0,0,.75)}.mCS-inset-2-dark.mCSB_scrollTools .mCSB_dragger:hover .mCSB_dragger_bar,.mCS-inset-3-dark.mCSB_scrollTools .mCSB_dragger:hover .mCSB_dragger_bar,.mCS-inset-dark.mCSB_scrollTools .mCSB_dragger:hover .mCSB_dragger_bar{background-color:#000;background-color:rgba(0,0,0,.85)}.mCS-inset-2-dark.mCSB_scrollTools .mCSB_dragger.mCSB_dragger_onDrag .mCSB_dragger_bar,.mCS-inset-2-dark.mCSB_scrollTools .mCSB_dragger:active .mCSB_dragger_bar,.mCS-inset-3-dark.mCSB_scrollTools .mCSB_dragger.mCSB_dragger_onDrag .mCSB_dragger_bar,.mCS-inset-3-dark.mCSB_scrollTools .mCSB_dragger:active .mCSB_dragger_bar,.mCS-inset-dark.mCSB_scrollTools .mCSB_dragger.mCSB_dragger_onDrag .mCSB_dragger_bar,.mCS-inset-dark.mCSB_scrollTools .mCSB_dragger:active .mCSB_dragger_bar{background-color:#000;background-color:rgba(0,0,0,.9)}.mCS-inset-2-dark.mCSB_scrollTools .mCSB_draggerRail,.mCS-inset-3-dark.mCSB_scrollTools .mCSB_draggerRail,.mCS-inset-dark.mCSB_scrollTools .mCSB_draggerRail{background-color:#000;background-color:rgba(0,0,0,.1)}.mCS-inset-2-dark.mCSB_scrollTools .mCSB_buttonUp,.mCS-inset-3-dark.mCSB_scrollTools .mCSB_buttonUp,.mCS-inset-dark.mCSB_scrollTools .mCSB_buttonUp{background-position:-112px -72px}.mCS-inset-2-dark.mCSB_scrollTools .mCSB_buttonDown,.mCS-inset-3-dark.mCSB_scrollTools .mCSB_buttonDown,.mCS-inset-dark.mCSB_scrollTools .mCSB_buttonDown{background-position:-112px -92px}.mCS-inset-2-dark.mCSB_scrollTools .mCSB_buttonLeft,.mCS-inset-3-dark.mCSB_scrollTools .mCSB_buttonLeft,.mCS-inset-dark.mCSB_scrollTools .mCSB_buttonLeft{background-position:-120px -112px}.mCS-inset-2-dark.mCSB_scrollTools .mCSB_buttonRight,.mCS-inset-3-dark.mCSB_scrollTools .mCSB_buttonRight,.mCS-inset-dark.mCSB_scrollTools .mCSB_buttonRight{background-position:-120px -128px}.mCS-inset-2-dark.mCSB_scrollTools .mCSB_draggerRail,.mCS-inset-2.mCSB_scrollTools .mCSB_draggerRail{background-color:transparent;border-width:1px;border-style:solid;border-color:#fff;border-color:rgba(255,255,255,.2);-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.mCS-inset-2-dark.mCSB_scrollTools .mCSB_draggerRail{border-color:#000;border-color:rgba(0,0,0,.2)}.mCS-inset-3.mCSB_scrollTools .mCSB_draggerRail{background-color:#fff;background-color:rgba(255,255,255,.6)}.mCS-inset-3-dark.mCSB_scrollTools .mCSB_draggerRail{background-color:#000;background-color:rgba(0,0,0,.6)}.mCS-inset-3.mCSB_scrollTools .mCSB_dragger .mCSB_dragger_bar{background-color:#000;background-color:rgba(0,0,0,.75)}.mCS-inset-3.mCSB_scrollTools .mCSB_dragger:hover .mCSB_dragger_bar{background-color:#000;background-color:rgba(0,0,0,.85)}.mCS-inset-3.mCSB_scrollTools .mCSB_dragger.mCSB_dragger_onDrag .mCSB_dragger_bar,.mCS-inset-3.mCSB_scrollTools .mCSB_dragger:active .mCSB_dragger_bar{background-color:#000;background-color:rgba(0,0,0,.9)}.mCS-inset-3-dark.mCSB_scrollTools .mCSB_dragger .mCSB_dragger_bar{background-color:#fff;background-color:rgba(255,255,255,.75)}.mCS-inset-3-dark.mCSB_scrollTools .mCSB_dragger:hover .mCSB_dragger_bar{background-color:#fff;background-color:rgba(255,255,255,.85)}.mCS-inset-3-dark.mCSB_scrollTools .mCSB_dragger.mCSB_dragger_onDrag .mCSB_dragger_bar,.mCS-inset-3-dark.mCSB_scrollTools .mCSB_dragger:active .mCSB_dragger_bar{background-color:#fff;background-color:rgba(255,255,255,.9)}
public/js/ivory-ajax-search.js CHANGED
@@ -8,7 +8,7 @@
8
  var ajax;
9
  var focused = $( document.activeElement ).closest('form');
10
 
11
- $('body').on('hover', '.is-ajax-search-tags > div, .is-ajax-search-categories > div, .is-ajax-search-post.is-product', function(event) {
12
 
13
  var window_width = $(window).outerWidth();
14
  if( parseInt( window_width ) >= 910 ) {
8
  var ajax;
9
  var focused = $( document.activeElement ).closest('form');
10
 
11
+ $('body').on('mouseover', '.is-ajax-search-tags > div, .is-ajax-search-categories > div, .is-ajax-search-post.is-product', function(event) {
12
 
13
  var window_width = $(window).outerWidth();
14
  if( parseInt( window_width ) >= 910 ) {
public/js/ivory-ajax-search.min.js CHANGED
@@ -1 +1 @@
1
- !function(e){"use strict";e(document).ready(function(){var t,a=null,i="",o=-1,s=e(document.activeElement).closest("form");function n(a,s){s||(s=1);var n=e(a),r=n.val()||"",l=n.parents(".is-ajax-search"),c=l.attr("data-min-no-for-search")||"",d=l.attr("data-result-box-max-height")||"400",h=e(l).attr("data-form-id");if(e(".is-form-id-"+h+" .is-search-input").val(r),""===i||i!==r.trim()||o!==h)i=r.trim(),o=h;else if(1===s)return void e("#is-ajax-search-result-"+h).show();if(1===s&&l.addClass("processing"),r.length>=c){if(1===s){if(e("#is-ajax-search-result-"+h+", #is-ajax-search-details-"+h).hide(),l.hasClass("is-form-style-1")){var u=l.find(".is-search-submit").outerWidth()+5;l.find(".is-loader-image").css("right",u+"px")}l.find(".is-loader-image").show()}var f={action:"is_ajax_load_posts",page:s,security:IvoryAjaxVars.ajax_nonce},m=l.serialize()+"&"+e.param(f);0===l.find('input[name="id"]').length&&(m+="&id="+h),t&&4!==t.readystate&&t.abort(),t=e.ajax({url:IvoryAjaxVars.ajaxurl,data:m,type:"POST",success:function(t){if("undefined"!=typeof IvorySearchVars&&void 0!==IvorySearchVars.is_analytics_enabled){var a=e(t).find(".is-ajax-search-no-result").length?"Nothing Found":"Results Found";ivory_search_analytics(h,r,a)}if(l.find(".is-loader-image").hide(),l.removeClass("processing"),1===s){var i=l.offset(),o=l.innerHeight(),n=l.outerWidth();n=n<500?500:n,0===e("#is-ajax-search-result-"+h).length&&e("body").append('<div id="is-ajax-search-result-'+h+'" class="is-ajax-search-result"></div>'),e("#is-ajax-search-result-"+h).css({width:n-10+"px"});var c=e("#is-ajax-search-result-"+h).outerWidth(),u=e(window).width(),f=0;if(i.left+c>u&&(f=i.left+c-u),e("#is-ajax-search-result-"+h).css({top:i.top+o+"px",left:i.left-f+"px",width:n-10+"px"}),e("#is-ajax-search-result-"+h).show().html(t),0!==e("#is-ajax-search-details-"+h).length&&e("body > #is-ajax-search-details-"+h).remove(),0!==e("#is-ajax-search-result-"+h+" .is-ajax-search-details").length){e("body").append('<div id="is-ajax-search-details-'+h+'" class="is-ajax-search-details">'+e("#is-ajax-search-result-"+h+" .is-ajax-search-details").html()+"</div>"),e("#is-ajax-search-result-"+h+" .is-ajax-search-details").remove();var m=e("#is-ajax-search-details-"+h).outerWidth(),p=i.left+c;if(i.left+c+m>u+30){var g=i.left-(f+m);g>-30&&(p=g)}e("#is-ajax-search-details-"+h).css({top:i.top+o+"px",left:p+"px"})}}else e("#is-ajax-search-result-"+h+" .is-show-more-results").remove(),e("#is-ajax-search-result-"+h+" .is-ajax-search-posts").append(t),0!==e("#is-ajax-search-result-"+h+" .is-ajax-search-posts .is-show-more-results").length&&(e("#is-ajax-search-result-"+h).append(e("#is-ajax-search-result-"+h+" .is-ajax-search-posts .is-show-more-results")[0].outerHTML),e("#is-ajax-search-result-"+h+" .is-ajax-search-posts .is-show-more-results").remove()),e("#is-ajax-search-details-"+h+" .is-ajax-search-posts-details").append(e("#is-ajax-search-result-"+h+" .is-ajax-search-items .is-ajax-search-posts-details").html()),e("#is-ajax-search-result-"+h+" .is-ajax-search-items .is-ajax-search-details").remove();var x=r.trim().split(" ");if(0!=x.length&&e.isFunction(e.fn.is_highlight)){var v,w,_,S=[".is-ajax-search-result"],b=jQuery.support.opacity?"mark":"span";for(_ in S)if(0!=(v=e(S[_])).length){for(w in x)v.is_highlight(x[w],b,"is-highlight term-"+w),v.find("*").is_highlight(x[w],b,"is-highlight term-"+w);break}}e("#is-ajax-search-result-"+h+" .is-ajax-search-items, #is-ajax-search-details-"+h+" .is-ajax-search-items").css("max-height",d+"px"),e.mCustomScrollbar.defaults.scrollButtons.enable=!0,e("#is-ajax-search-result-"+h+" .is-ajax-search-items, #is-ajax-search-details-"+h+" .is-ajax-search-items").mCustomScrollbar({theme:"dark-thick"})},error:function(e,t,a){console.log(e.statusText),"abort"!==e.statusText&&console.log("AJAX request aborted")}})}else e("#is-ajax-search-result-"+h).hide(),l.removeClass("processing")}e("body").on("hover",".is-ajax-search-tags > div, .is-ajax-search-categories > div, .is-ajax-search-post.is-product",function(t){var a=e(window).outerWidth();if(parseInt(a)>=910){var i=e(this).attr("data-id")||"",o=e(t.target).closest(".is-ajax-search-result").attr("id").split(/[-]+/).pop(),s=e("#is-ajax-search-result-"+o).offset(),n=e(".is-form-id-"+o).attr("data-result-box-max-height")||"400";e("#is-ajax-search-details-"+o).css({top:s.top+"px"}),e("#is-ajax-search-details-"+o+" .is-ajax-search-items").css("height",n+"px"),e("#is-ajax-search-details-"+o+" .mCSB_container > div").css("min-height",n+"px"),e(this).parents("div").hasClass("is-ajax-search-tags")&&e("#is-ajax-search-details-"+o+" .is-ajax-search-tags-details").length&&e("#is-ajax-search-details-"+o+' .is-ajax-search-tags-details > div[data-id="'+i+'"]').length?(e("#is-ajax-search-details-"+o+" .is-ajax-search-tags-details, #is-ajax-search-details-"+o).show(),e("#is-ajax-search-details-"+o+" .is-ajax-search-categories-details, #is-ajax-search-details-"+o+" .is-ajax-search-posts-details").hide(),e("#is-ajax-search-details-"+o+" .is-ajax-search-tags-details").find(" > div ").hide(),e("#is-ajax-search-details-"+o+" .is-ajax-search-tags-details").find(' > div[data-id="'+i+'"] ').show()):e(this).parents("div").hasClass("is-ajax-search-categories")&&e("#is-ajax-search-details-"+o+" .is-ajax-search-categories-details").length&&e("#is-ajax-search-details-"+o+' .is-ajax-search-categories-details > div[data-id="'+i+'"]').length?(e("#is-ajax-search-details-"+o+" .is-ajax-search-categories-details, #is-ajax-search-details-"+o).show(),e("#is-ajax-search-details-"+o+" .is-ajax-search-tags-details, #is-ajax-search-details-"+o+" .is-ajax-search-posts-details").hide(),e("#is-ajax-search-details-"+o+" .is-ajax-search-categories-details").find("> div ").hide(),e("#is-ajax-search-details-"+o+" .is-ajax-search-categories-details").find('> div[data-id="'+i+'"] ').show()):e(this).parents("div").hasClass("is-ajax-search-posts")&&(e("#is-ajax-search-details-"+o+" .is-ajax-search-tags-details, #is-ajax-search-details-"+o+" .is-ajax-search-categories-details").hide(),e("#is-ajax-search-details-"+o+" .is-ajax-search-posts-details").find("> div ").hide(),e("#is-ajax-search-details-"+o+" .is-ajax-search-posts-details, #is-ajax-search-details-"+o).show(),e("#is-ajax-search-details-"+o+" .is-ajax-search-posts-details").find('> div[data-id="'+i+'"] ').show())}}),e(".is-ajax-search .is-search-input").on("focusin, click",function(t){if(s=e(this).closest("form"),0===e(t.target).closest("form.processing").length){var a=e(t.target).closest(".is-ajax-search").attr("data-form-id"),i=e(t.target).closest(".is-ajax-search").outerWidth();i=i<500?500:i,e("#is-ajax-search-result-"+a).css({width:i-10+"px"});var o=e(t.target).closest(".is-ajax-search").offset(),n=e(t.target).closest(".is-ajax-search").innerHeight(),r=e("#is-ajax-search-result-"+a).outerWidth(),l=e(window).width(),c=0;if(o.left+r>l&&(c=o.left+r-l),e("#is-ajax-search-result-"+a).css({top:o.top+n+"px",left:o.left-c+"px"}),e(".is-ajax-search-result, .is-ajax-search-details").hide(),e("#is-ajax-search-result-"+a).show(),0!==e("#is-ajax-search-details-"+a).length){var d=e("#is-ajax-search-details-"+a).outerWidth(),h=o.left+r;if(o.left+r+d>l+30){var u=o.left-(c+d);u>-30&&(h=u)}e("#is-ajax-search-details-"+a).css({top:o.top+n+"px",left:h+"px"})}}}),e(".is-ajax-search .is-search-input").on("focusout",function(){s=!1}),e("body").on("mousedown",function(t){"s"!==e(t.target).attr("name")&&0===e(t.target).closest(".is-ajax-search-result").length&&0===e(t.target).closest(".is-ajax-search-details").length&&(e(".is-ajax-search-result, .is-ajax-search-details").hide(),s=!1)}),e(".is-disable-submit .is-search-submit").on("click",function(t){return e(this).parent().find(".is-search-input").trigger("keyup"),t.stopPropagation(),t.preventDefault(),!1}),e("form.is-disable-submit").on("submit",function(t){return e(this).find(".is-search-input").trigger("keyup"),t.stopPropagation(),t.preventDefault(),!1}),e(document).on("click",".is-show-more-results",function(t){var a=e(t.target).closest(".is-ajax-search-result").attr("id").split(/[-]+/).pop();e(this).hasClass("redirect-tosr")?e(".is-form-id-"+a).submit():(e(this).find(".is-show-more-results-text").hide(),e(this).find(".is-load-more-image").show(),n(e(".is-form-id-"+a+" .is-search-input"),e(this).attr("data-page")||""))}),e(window).on("resize scroll",function(){if(e(s).hasClass("is-ajax-search")){var t=e(s).attr("data-form-id");if(0!==e("#is-ajax-search-result-"+t).length){var a=e(s).offset(),i=e(s).innerHeight(),o=e("#is-ajax-search-result-"+t).outerWidth(),n=e(window).width(),r=0;if(a.left+o>n&&(r=a.left+o-n),e("#is-ajax-search-result-"+t).css({top:a.top+i+"px",left:a.left-r+"px"}),e(".is-ajax-search-result, .is-ajax-search-details").hide(),e("#is-ajax-search-result-"+t).show(),0!==e("#is-ajax-search-details-"+t).length){var l=e("#is-ajax-search-details-"+t).outerWidth(),c=a.left+o;if(a.left+o+l>n+30){var d=a.left-(r+l);d>-30&&(c=d)}e("#is-ajax-search-details-"+t).css({top:a.top+i+"px",left:c+"px"})}}}}),e(".is-ajax-search .is-search-input").on("paste",function(){e(this).trigger("keyup")}),e(".is-ajax-search").each(function(t,i){e(i).find(".is-search-input").on("keyup",function(t){if(s=e(this).closest("form"),32!==t.which){var i=this;window.clearTimeout(a),a=window.setTimeout(function(){a=null,n(i)},500)}})})})}(jQuery),function(e){"function"==typeof define&&define.amd?define(["jquery"],e):"object"==typeof exports?module.exports=e:e(jQuery)}(function(e){function t(t){var n=t||window.event,r=l.call(arguments,1),c=0,h=0,u=0,f=0,m=0,p=0;if((t=e.event.fix(n)).type="mousewheel","detail"in n&&(u=-1*n.detail),"wheelDelta"in n&&(u=n.wheelDelta),"wheelDeltaY"in n&&(u=n.wheelDeltaY),"wheelDeltaX"in n&&(h=-1*n.wheelDeltaX),"axis"in n&&n.axis===n.HORIZONTAL_AXIS&&(h=-1*u,u=0),c=0===u?h:u,"deltaY"in n&&(c=u=-1*n.deltaY),"deltaX"in n&&(h=n.deltaX,0===u&&(c=-1*h)),0!==u||0!==h){if(1===n.deltaMode){var g=e.data(this,"mousewheel-line-height");c*=g,u*=g,h*=g}else if(2===n.deltaMode){var x=e.data(this,"mousewheel-page-height");c*=x,u*=x,h*=x}if(f=Math.max(Math.abs(u),Math.abs(h)),(!s||s>f)&&(s=f,i(n,f)&&(s/=40)),i(n,f)&&(c/=40,h/=40,u/=40),c=Math[c>=1?"floor":"ceil"](c/s),h=Math[h>=1?"floor":"ceil"](h/s),u=Math[u>=1?"floor":"ceil"](u/s),d.settings.normalizeOffset&&this.getBoundingClientRect){var v=this.getBoundingClientRect();m=t.clientX-v.left,p=t.clientY-v.top}return t.deltaX=h,t.deltaY=u,t.deltaFactor=s,t.offsetX=m,t.offsetY=p,t.deltaMode=0,r.unshift(t,c,h,u),o&&clearTimeout(o),o=setTimeout(a,200),(e.event.dispatch||e.event.handle).apply(this,r)}}function a(){s=null}function i(e,t){return d.settings.adjustOldDeltas&&"mousewheel"===e.type&&t%120==0}var o,s,n=["wheel","mousewheel","DOMMouseScroll","MozMousePixelScroll"],r="onwheel"in document||document.documentMode>=9?["wheel"]:["mousewheel","DomMouseScroll","MozMousePixelScroll"],l=Array.prototype.slice;if(e.event.fixHooks)for(var c=n.length;c;)e.event.fixHooks[n[--c]]=e.event.mouseHooks;var d=e.event.special.mousewheel={version:"3.1.12",setup:function(){if(this.addEventListener)for(var a=r.length;a;)this.addEventListener(r[--a],t,!1);else this.onmousewheel=t;e.data(this,"mousewheel-line-height",d.getLineHeight(this)),e.data(this,"mousewheel-page-height",d.getPageHeight(this))},teardown:function(){if(this.removeEventListener)for(var a=r.length;a;)this.removeEventListener(r[--a],t,!1);else this.onmousewheel=null;e.removeData(this,"mousewheel-line-height"),e.removeData(this,"mousewheel-page-height")},getLineHeight:function(t){var a=e(t),i=a["offsetParent"in e.fn?"offsetParent":"parent"]();return i.length||(i=e("body")),parseInt(i.css("fontSize"),10)||parseInt(a.css("fontSize"),10)||16},getPageHeight:function(t){return e(t).height()},settings:{adjustOldDeltas:!0,normalizeOffset:!0}};e.fn.extend({mousewheel:function(e){return e?this.bind("mousewheel",e):this.trigger("mousewheel")},unmousewheel:function(e){return this.unbind("mousewheel",e)}})}),function(e){"function"==typeof define&&define.amd?define(["jquery"],e):"object"==typeof exports?module.exports=e:e(jQuery)}(function(e){function t(t){var n=t||window.event,r=l.call(arguments,1),c=0,h=0,u=0,f=0,m=0,p=0;if((t=e.event.fix(n)).type="mousewheel","detail"in n&&(u=-1*n.detail),"wheelDelta"in n&&(u=n.wheelDelta),"wheelDeltaY"in n&&(u=n.wheelDeltaY),"wheelDeltaX"in n&&(h=-1*n.wheelDeltaX),"axis"in n&&n.axis===n.HORIZONTAL_AXIS&&(h=-1*u,u=0),c=0===u?h:u,"deltaY"in n&&(c=u=-1*n.deltaY),"deltaX"in n&&(h=n.deltaX,0===u&&(c=-1*h)),0!==u||0!==h){if(1===n.deltaMode){var g=e.data(this,"mousewheel-line-height");c*=g,u*=g,h*=g}else if(2===n.deltaMode){var x=e.data(this,"mousewheel-page-height");c*=x,u*=x,h*=x}if(f=Math.max(Math.abs(u),Math.abs(h)),(!s||s>f)&&(s=f,i(n,f)&&(s/=40)),i(n,f)&&(c/=40,h/=40,u/=40),c=Math[c>=1?"floor":"ceil"](c/s),h=Math[h>=1?"floor":"ceil"](h/s),u=Math[u>=1?"floor":"ceil"](u/s),d.settings.normalizeOffset&&this.getBoundingClientRect){var v=this.getBoundingClientRect();m=t.clientX-v.left,p=t.clientY-v.top}return t.deltaX=h,t.deltaY=u,t.deltaFactor=s,t.offsetX=m,t.offsetY=p,t.deltaMode=0,r.unshift(t,c,h,u),o&&clearTimeout(o),o=setTimeout(a,200),(e.event.dispatch||e.event.handle).apply(this,r)}}function a(){s=null}function i(e,t){return d.settings.adjustOldDeltas&&"mousewheel"===e.type&&t%120==0}var o,s,n=["wheel","mousewheel","DOMMouseScroll","MozMousePixelScroll"],r="onwheel"in document||document.documentMode>=9?["wheel"]:["mousewheel","DomMouseScroll","MozMousePixelScroll"],l=Array.prototype.slice;if(e.event.fixHooks)for(var c=n.length;c;)e.event.fixHooks[n[--c]]=e.event.mouseHooks;var d=e.event.special.mousewheel={version:"3.1.12",setup:function(){if(this.addEventListener)for(var a=r.length;a;)this.addEventListener(r[--a],t,!1);else this.onmousewheel=t;e.data(this,"mousewheel-line-height",d.getLineHeight(this)),e.data(this,"mousewheel-page-height",d.getPageHeight(this))},teardown:function(){if(this.removeEventListener)for(var a=r.length;a;)this.removeEventListener(r[--a],t,!1);else this.onmousewheel=null;e.removeData(this,"mousewheel-line-height"),e.removeData(this,"mousewheel-page-height")},getLineHeight:function(t){var a=e(t),i=a["offsetParent"in e.fn?"offsetParent":"parent"]();return i.length||(i=e("body")),parseInt(i.css("fontSize"),10)||parseInt(a.css("fontSize"),10)||16},getPageHeight:function(t){return e(t).height()},settings:{adjustOldDeltas:!0,normalizeOffset:!0}};e.fn.extend({mousewheel:function(e){return e?this.bind("mousewheel",e):this.trigger("mousewheel")},unmousewheel:function(e){return this.unbind("mousewheel",e)}})}),function(e){"function"==typeof define&&define.amd?define(["jquery"],e):"undefined"!=typeof module&&module.exports?module.exports=e:e(jQuery,window,document)}(function(e){var t,a,i;t="function"==typeof define&&define.amd,a="undefined"!=typeof module&&module.exports,i="https:"==document.location.protocol?"https:":"http:",t||(a?require("jquery-mousewheel")(e):e.event.special.mousewheel||e("head").append(decodeURI("%3Cscript src="+i+"//cdnjs.cloudflare.com/ajax/libs/jquery-mousewheel/3.1.13/jquery.mousewheel.min.js%3E%3C/script%3E"))),function(){var t,a="mCustomScrollbar",i="mCS",o=".mCustomScrollbar",s={setTop:0,setLeft:0,axis:"y",scrollbarPosition:"inside",scrollInertia:950,autoDraggerLength:!0,alwaysShowScrollbar:0,snapOffset:0,mouseWheel:{enable:!0,scrollAmount:"auto",axis:"y",deltaFactor:"auto",disableOver:["select","option","keygen","datalist","textarea"]},scrollButtons:{scrollType:"stepless",scrollAmount:"auto"},keyboard:{enable:!0,scrollType:"stepless",scrollAmount:"auto"},contentTouchScroll:25,documentTouchScroll:!0,advanced:{autoScrollOnFocus:"input,textarea,select,button,datalist,keygen,a[tabindex],area,object,[contenteditable='true']",updateOnContentResize:!0,updateOnImageLoad:"auto",autoUpdateTimeout:60},theme:"light",callbacks:{onTotalScrollOffset:0,onTotalScrollBackOffset:0,alwaysTriggerOffsets:!0}},n=0,r={},l=window.attachEvent&&!window.addEventListener?1:0,c=!1,d=["mCSB_dragger_onDrag","mCSB_scrollTools_onDrag","mCS_img_loaded","mCS_disabled","mCS_destroyed","mCS_no_scrollbar","mCS-autoHide","mCS-dir-rtl","mCS_no_scrollbar_y","mCS_no_scrollbar_x","mCS_y_hidden","mCS_x_hidden","mCSB_draggerContainer","mCSB_buttonUp","mCSB_buttonDown","mCSB_buttonLeft","mCSB_buttonRight"],h={init:function(t){var t=e.extend(!0,{},s,t),a=u.call(this);if(t.live){var l=t.liveSelector||this.selector||o,c=e(l);if("off"===t.live)return void m(l);r[l]=setTimeout(function(){c.mCustomScrollbar(t),"once"===t.live&&c.length&&m(l)},500)}else m(l);return t.setWidth=t.set_width?t.set_width:t.setWidth,t.setHeight=t.set_height?t.set_height:t.setHeight,t.axis=t.horizontalScroll?"x":p(t.axis),t.scrollInertia=t.scrollInertia>0&&t.scrollInertia<17?17:t.scrollInertia,"object"!=typeof t.mouseWheel&&1==t.mouseWheel&&(t.mouseWheel={enable:!0,scrollAmount:"auto",axis:"y",preventDefault:!1,deltaFactor:"auto",normalizeDelta:!1,invert:!1}),t.mouseWheel.scrollAmount=t.mouseWheelPixels?t.mouseWheelPixels:t.mouseWheel.scrollAmount,t.mouseWheel.normalizeDelta=t.advanced.normalizeMouseWheelDelta?t.advanced.normalizeMouseWheelDelta:t.mouseWheel.normalizeDelta,t.scrollButtons.scrollType=g(t.scrollButtons.scrollType),f(t),e(a).each(function(){var a=e(this);if(!a.data(i)){a.data(i,{idx:++n,opt:t,scrollRatio:{y:null,x:null},overflowed:null,contentReset:{y:null,x:null},bindEvents:!1,tweenRunning:!1,sequential:{},langDir:a.css("direction"),cbOffsets:null,trigger:null,poll:{size:{o:0,n:0},img:{o:0,n:0},change:{o:0,n:0}}});var o=a.data(i),s=o.opt,r=a.data("mcs-axis"),l=a.data("mcs-scrollbar-position"),c=a.data("mcs-theme");r&&(s.axis=r),l&&(s.scrollbarPosition=l),c&&(s.theme=c,f(s)),x.call(this),o&&s.callbacks.onCreate&&"function"==typeof s.callbacks.onCreate&&s.callbacks.onCreate.call(this),e("#mCSB_"+o.idx+"_container img:not(."+d[2]+")").addClass(d[2]),h.update.call(null,a)}})},update:function(t,a){var o=t||u.call(this);return e(o).each(function(){var t=e(this);if(t.data(i)){var o=t.data(i),s=o.opt,n=e("#mCSB_"+o.idx+"_container"),r=e("#mCSB_"+o.idx),l=[e("#mCSB_"+o.idx+"_dragger_vertical"),e("#mCSB_"+o.idx+"_dragger_horizontal")];if(!n.length)return;o.tweenRunning&&V(t),a&&o&&s.callbacks.onBeforeUpdate&&"function"==typeof s.callbacks.onBeforeUpdate&&s.callbacks.onBeforeUpdate.call(this),t.hasClass(d[3])&&t.removeClass(d[3]),t.hasClass(d[4])&&t.removeClass(d[4]),r.css("max-height","none"),r.height()!==t.height()&&r.css("max-height",t.height()),w.call(this),"y"===s.axis||s.advanced.autoExpandHorizontalScroll||n.css("width",v(n)),o.overflowed=C.call(this),M.call(this),s.autoDraggerLength&&S.call(this),b.call(this),B.call(this);var c=[Math.abs(n[0].offsetTop),Math.abs(n[0].offsetLeft)];"x"!==s.axis&&(o.overflowed[0]?l[0].height()>l[0].parent().height()?j.call(this):(Q(t,c[0].toString(),{dir:"y",dur:0,overwrite:"none"}),o.contentReset.y=null):(j.call(this),"y"===s.axis?T.call(this):"yx"===s.axis&&o.overflowed[1]&&Q(t,c[1].toString(),{dir:"x",dur:0,overwrite:"none"}))),"y"!==s.axis&&(o.overflowed[1]?l[1].width()>l[1].parent().width()?j.call(this):(Q(t,c[1].toString(),{dir:"x",dur:0,overwrite:"none"}),o.contentReset.x=null):(j.call(this),"x"===s.axis?T.call(this):"yx"===s.axis&&o.overflowed[0]&&Q(t,c[0].toString(),{dir:"y",dur:0,overwrite:"none"}))),a&&o&&(2===a&&s.callbacks.onImageLoad&&"function"==typeof s.callbacks.onImageLoad?s.callbacks.onImageLoad.call(this):3===a&&s.callbacks.onSelectorChange&&"function"==typeof s.callbacks.onSelectorChange?s.callbacks.onSelectorChange.call(this):s.callbacks.onUpdate&&"function"==typeof s.callbacks.onUpdate&&s.callbacks.onUpdate.call(this)),N.call(this)}})},scrollTo:function(t,a){if(void 0!==t&&null!=t){var o=u.call(this);return e(o).each(function(){var o=e(this);if(o.data(i)){var s=o.data(i),n=s.opt,r={trigger:"external",scrollInertia:n.scrollInertia,scrollEasing:"mcsEaseInOut",moveDragger:!1,timeout:60,callbacks:!0,onStart:!0,onUpdate:!0,onComplete:!0},l=e.extend(!0,{},r,a),c=F.call(this,t),d=l.scrollInertia>0&&l.scrollInertia<17?17:l.scrollInertia;c[0]=q.call(this,c[0],"y"),c[1]=q.call(this,c[1],"x"),l.moveDragger&&(c[0]*=s.scrollRatio.y,c[1]*=s.scrollRatio.x),l.dur=ie()?0:d,setTimeout(function(){null!==c[0]&&void 0!==c[0]&&"x"!==n.axis&&s.overflowed[0]&&(l.dir="y",l.overwrite="all",Q(o,c[0].toString(),l)),null!==c[1]&&void 0!==c[1]&&"y"!==n.axis&&s.overflowed[1]&&(l.dir="x",l.overwrite="none",Q(o,c[1].toString(),l))},l.timeout)}})}},stop:function(){var t=u.call(this);return e(t).each(function(){var t=e(this);t.data(i)&&V(t)})},disable:function(t){var a=u.call(this);return e(a).each(function(){var a=e(this);a.data(i)&&(a.data(i),N.call(this,"remove"),T.call(this),t&&j.call(this),M.call(this,!0),a.addClass(d[3]))})},destroy:function(){var t=u.call(this);return e(t).each(function(){var o=e(this);if(o.data(i)){var s=o.data(i),n=s.opt,r=e("#mCSB_"+s.idx),l=e("#mCSB_"+s.idx+"_container"),c=e(".mCSB_"+s.idx+"_scrollbar");n.live&&m(n.liveSelector||e(t).selector),N.call(this,"remove"),T.call(this),j.call(this),o.removeData(i),K(this,"mcs"),c.remove(),l.find("img."+d[2]).removeClass(d[2]),r.replaceWith(l.contents()),o.removeClass(a+" _"+i+"_"+s.idx+" "+d[6]+" "+d[7]+" "+d[5]+" "+d[3]).addClass(d[4])}})}},u=function(){return"object"!=typeof e(this)||e(this).length<1?o:this},f=function(t){t.autoDraggerLength=!(e.inArray(t.theme,["rounded","rounded-dark","rounded-dots","rounded-dots-dark"])>-1)&&t.autoDraggerLength,t.autoExpandScrollbar=!(e.inArray(t.theme,["rounded-dots","rounded-dots-dark","3d","3d-dark","3d-thick","3d-thick-dark","inset","inset-dark","inset-2","inset-2-dark","inset-3","inset-3-dark"])>-1)&&t.autoExpandScrollbar,t.scrollButtons.enable=!(e.inArray(t.theme,["minimal","minimal-dark"])>-1)&&t.scrollButtons.enable,t.autoHideScrollbar=e.inArray(t.theme,["minimal","minimal-dark"])>-1||t.autoHideScrollbar,t.scrollbarPosition=e.inArray(t.theme,["minimal","minimal-dark"])>-1?"outside":t.scrollbarPosition},m=function(e){r[e]&&(clearTimeout(r[e]),K(r,e))},p=function(e){return"yx"===e||"xy"===e||"auto"===e?"yx":"x"===e||"horizontal"===e?"x":"y"},g=function(e){return"stepped"===e||"pixels"===e||"step"===e||"click"===e?"stepped":"stepless"},x=function(){var t=e(this),o=t.data(i),s=o.opt,n=s.autoExpandScrollbar?" "+d[1]+"_expand":"",r=["<div id='mCSB_"+o.idx+"_scrollbar_vertical' class='mCSB_scrollTools mCSB_"+o.idx+"_scrollbar mCS-"+s.theme+" mCSB_scrollTools_vertical"+n+"'><div class='"+d[12]+"'><div id='mCSB_"+o.idx+"_dragger_vertical' class='mCSB_dragger' style='position:absolute;'><div class='mCSB_dragger_bar' /></div><div class='mCSB_draggerRail' /></div></div>","<div id='mCSB_"+o.idx+"_scrollbar_horizontal' class='mCSB_scrollTools mCSB_"+o.idx+"_scrollbar mCS-"+s.theme+" mCSB_scrollTools_horizontal"+n+"'><div class='"+d[12]+"'><div id='mCSB_"+o.idx+"_dragger_horizontal' class='mCSB_dragger' style='position:absolute;'><div class='mCSB_dragger_bar' /></div><div class='mCSB_draggerRail' /></div></div>"],l="yx"===s.axis?"mCSB_vertical_horizontal":"x"===s.axis?"mCSB_horizontal":"mCSB_vertical",c="yx"===s.axis?r[0]+r[1]:"x"===s.axis?r[1]:r[0],h="yx"===s.axis?"<div id='mCSB_"+o.idx+"_container_wrapper' class='mCSB_container_wrapper' />":"",u=s.autoHideScrollbar?" "+d[6]:"",f="x"!==s.axis&&"rtl"===o.langDir?" "+d[7]:"";s.setWidth&&t.css("width",s.setWidth),s.setHeight&&t.css("height",s.setHeight),s.setLeft="y"!==s.axis&&"rtl"===o.langDir?"989999px":s.setLeft,t.addClass(a+" _"+i+"_"+o.idx+u+f).wrapInner("<div id='mCSB_"+o.idx+"' class='mCustomScrollBox mCS-"+s.theme+" "+l+"'><div id='mCSB_"+o.idx+"_container' class='mCSB_container' style='position:relative; top:"+s.setTop+"; left:"+s.setLeft+";' dir='"+o.langDir+"' /></div>");var m=e("#mCSB_"+o.idx),p=e("#mCSB_"+o.idx+"_container");"y"===s.axis||s.advanced.autoExpandHorizontalScroll||p.css("width",v(p)),"outside"===s.scrollbarPosition?("static"===t.css("position")&&t.css("position","relative"),t.css("overflow","visible"),m.addClass("mCSB_outside").after(c)):(m.addClass("mCSB_inside").append(c),p.wrap(h)),_.call(this);var g=[e("#mCSB_"+o.idx+"_dragger_vertical"),e("#mCSB_"+o.idx+"_dragger_horizontal")];g[0].css("min-height",g[0].height()),g[1].css("min-width",g[1].width())},v=function(t){var a=[t[0].scrollWidth,Math.max.apply(Math,t.children().map(function(){return e(this).outerWidth(!0)}).get())],i=t.parent().width();return a[0]>i?a[0]:a[1]>i?a[1]:"100%"},w=function(){var t=e(this),a=t.data(i),o=a.opt,s=e("#mCSB_"+a.idx+"_container");if(o.advanced.autoExpandHorizontalScroll&&"y"!==o.axis){s.css({width:"auto","min-width":0,"overflow-x":"scroll"});var n=Math.ceil(s[0].scrollWidth);3===o.advanced.autoExpandHorizontalScroll||2!==o.advanced.autoExpandHorizontalScroll&&n>s.parent().width()?s.css({width:n,"min-width":"100%","overflow-x":"inherit"}):s.css({"overflow-x":"inherit",position:"absolute"}).wrap("<div class='mCSB_h_wrapper' style='position:relative; left:0; width:999999px;' />").css({width:Math.ceil(s[0].getBoundingClientRect().right+.4)-Math.floor(s[0].getBoundingClientRect().left),"min-width":"100%",position:"relative"}).unwrap()}},_=function(){var t=e(this),a=t.data(i),o=a.opt,s=e(".mCSB_"+a.idx+"_scrollbar:first"),n=te(o.scrollButtons.tabindex)?"tabindex='"+o.scrollButtons.tabindex+"'":"",r=["<a href='#' class='"+d[13]+"' "+n+" />","<a href='#' class='"+d[14]+"' "+n+" />","<a href='#' class='"+d[15]+"' "+n+" />","<a href='#' class='"+d[16]+"' "+n+" />"],l=["x"===o.axis?r[2]:r[0],"x"===o.axis?r[3]:r[1],r[2],r[3]];o.scrollButtons.enable&&s.prepend(l[0]).append(l[1]).next(".mCSB_scrollTools").prepend(l[2]).append(l[3])},S=function(){var t=e(this),a=t.data(i),o=e("#mCSB_"+a.idx),s=e("#mCSB_"+a.idx+"_container"),n=[e("#mCSB_"+a.idx+"_dragger_vertical"),e("#mCSB_"+a.idx+"_dragger_horizontal")],r=[o.height()/s.outerHeight(!1),o.width()/s.outerWidth(!1)],c=[parseInt(n[0].css("min-height")),Math.round(r[0]*n[0].parent().height()),parseInt(n[1].css("min-width")),Math.round(r[1]*n[1].parent().width())],d=l&&c[1]<c[0]?c[0]:c[1],h=l&&c[3]<c[2]?c[2]:c[3];n[0].css({height:d,"max-height":n[0].parent().height()-10}).find(".mCSB_dragger_bar").css({"line-height":c[0]+"px"}),n[1].css({width:h,"max-width":n[1].parent().width()-10})},b=function(){var t=e(this),a=t.data(i),o=e("#mCSB_"+a.idx),s=e("#mCSB_"+a.idx+"_container"),n=[e("#mCSB_"+a.idx+"_dragger_vertical"),e("#mCSB_"+a.idx+"_dragger_horizontal")],r=[s.outerHeight(!1)-o.height(),s.outerWidth(!1)-o.width()],l=[r[0]/(n[0].parent().height()-n[0].height()),r[1]/(n[1].parent().width()-n[1].width())];a.scrollRatio={y:l[0],x:l[1]}},y=function(e,t,a){var i=a?d[0]+"_expanded":"",o=e.closest(".mCSB_scrollTools");"active"===t?(e.toggleClass(d[0]+" "+i),o.toggleClass(d[1]),e[0]._draggable=e[0]._draggable?0:1):e[0]._draggable||("hide"===t?(e.removeClass(d[0]),o.removeClass(d[1])):(e.addClass(d[0]),o.addClass(d[1])))},C=function(){var t=e(this),a=t.data(i),o=e("#mCSB_"+a.idx),s=e("#mCSB_"+a.idx+"_container"),n=null==a.overflowed?s.height():s.outerHeight(!1),r=null==a.overflowed?s.width():s.outerWidth(!1),l=s[0].scrollHeight,c=s[0].scrollWidth;return l>n&&(n=l),c>r&&(r=c),[n>o.height(),r>o.width()]},j=function(){var t=e(this),a=t.data(i),o=a.opt,s=e("#mCSB_"+a.idx),n=e("#mCSB_"+a.idx+"_container"),r=[e("#mCSB_"+a.idx+"_dragger_vertical"),e("#mCSB_"+a.idx+"_dragger_horizontal")];if(V(t),("x"!==o.axis&&!a.overflowed[0]||"y"===o.axis&&a.overflowed[0])&&(r[0].add(n).css("top",0),Q(t,"_resetY")),"y"!==o.axis&&!a.overflowed[1]||"x"===o.axis&&a.overflowed[1]){var l=dx=0;"rtl"===a.langDir&&(l=s.width()-n.outerWidth(!1),dx=Math.abs(l/a.scrollRatio.x)),n.css("left",l),r[1].css("left",dx),Q(t,"_resetX")}},B=function(){var t,a=e(this),o=a.data(i),s=o.opt;o.bindEvents||(D.call(this),s.contentTouchScroll&&O.call(this),I.call(this),s.mouseWheel.enable&&function i(){t=setTimeout(function(){e.event.special.mousewheel?(clearTimeout(t),E.call(a[0])):i()},100)}(),z.call(this),P.call(this),s.advanced.autoScrollOnFocus&&H.call(this),s.scrollButtons.enable&&X.call(this),s.keyboard.enable&&Y.call(this),o.bindEvents=!0)},T=function(){var t=e(this),a=t.data(i),o=a.opt,s=i+"_"+a.idx,n=".mCSB_"+a.idx+"_scrollbar",r=e("#mCSB_"+a.idx+",#mCSB_"+a.idx+"_container,#mCSB_"+a.idx+"_container_wrapper,"+n+" ."+d[12]+",#mCSB_"+a.idx+"_dragger_vertical,#mCSB_"+a.idx+"_dragger_horizontal,"+n+">a"),l=e("#mCSB_"+a.idx+"_container");o.advanced.releaseDraggableSelectors&&r.add(e(o.advanced.releaseDraggableSelectors)),o.advanced.extraDraggableSelectors&&r.add(e(o.advanced.extraDraggableSelectors)),a.bindEvents&&(e(document).add(e(!L()||top.document)).unbind("."+s),r.each(function(){e(this).unbind("."+s)}),clearTimeout(t[0]._focusTimeout),K(t[0],"_focusTimeout"),clearTimeout(a.sequential.step),K(a.sequential,"step"),clearTimeout(l[0].onCompleteTimeout),K(l[0],"onCompleteTimeout"),a.bindEvents=!1)},M=function(t){var a=e(this),o=a.data(i),s=o.opt,n=e("#mCSB_"+o.idx+"_container_wrapper"),r=n.length?n:e("#mCSB_"+o.idx+"_container"),l=[e("#mCSB_"+o.idx+"_scrollbar_vertical"),e("#mCSB_"+o.idx+"_scrollbar_horizontal")],c=[l[0].find(".mCSB_dragger"),l[1].find(".mCSB_dragger")];"x"!==s.axis&&(o.overflowed[0]&&!t?(l[0].add(c[0]).add(l[0].children("a")).css("display","block"),r.removeClass(d[8]+" "+d[10])):(s.alwaysShowScrollbar?(2!==s.alwaysShowScrollbar&&c[0].css("display","none"),r.removeClass(d[10])):(l[0].css("display","none"),r.addClass(d[10])),r.addClass(d[8]))),"y"!==s.axis&&(o.overflowed[1]&&!t?(l[1].add(c[1]).add(l[1].children("a")).css("display","block"),r.removeClass(d[9]+" "+d[11])):(s.alwaysShowScrollbar?(2!==s.alwaysShowScrollbar&&c[1].css("display","none"),r.removeClass(d[11])):(l[1].css("display","none"),r.addClass(d[11])),r.addClass(d[9]))),o.overflowed[0]||o.overflowed[1]?a.removeClass(d[5]):a.addClass(d[5])},k=function(t){var a=t.type,i=t.target.ownerDocument!==document&&null!==frameElement?[e(frameElement).offset().top,e(frameElement).offset().left]:null,o=L()&&t.target.ownerDocument!==top.document&&null!==frameElement?[e(t.view.frameElement).offset().top,e(t.view.frameElement).offset().left]:[0,0];switch(a){case"pointerdown":case"MSPointerDown":case"pointermove":case"MSPointerMove":case"pointerup":case"MSPointerUp":return i?[t.originalEvent.pageY-i[0]+o[0],t.originalEvent.pageX-i[1]+o[1],!1]:[t.originalEvent.pageY,t.originalEvent.pageX,!1];case"touchstart":case"touchmove":case"touchend":var s=t.originalEvent.touches[0]||t.originalEvent.changedTouches[0],n=t.originalEvent.touches.length||t.originalEvent.changedTouches.length;return t.target.ownerDocument!==document?[s.screenY,s.screenX,n>1]:[s.pageY,s.pageX,n>1];default:return i?[t.pageY-i[0]+o[0],t.pageX-i[1]+o[1],!1]:[t.pageY,t.pageX,!1]}},D=function(){function t(e,t,i,o){if(f[0].idleTimer=d.scrollInertia<233?250:0,a.attr("id")===u[1])var s="x",l=(a[0].offsetLeft-t+o)*r.scrollRatio.x;else var s="y",l=(a[0].offsetTop-e+i)*r.scrollRatio.y;Q(n,l.toString(),{dir:s,drag:!0})}var a,o,s,n=e(this),r=n.data(i),d=r.opt,h=i+"_"+r.idx,u=["mCSB_"+r.idx+"_dragger_vertical","mCSB_"+r.idx+"_dragger_horizontal"],f=e("#mCSB_"+r.idx+"_container"),m=e("#"+u[0]+",#"+u[1]),p=d.advanced.releaseDraggableSelectors?m.add(e(d.advanced.releaseDraggableSelectors)):m,g=d.advanced.extraDraggableSelectors?e(!L()||top.document).add(e(d.advanced.extraDraggableSelectors)):e(!L()||top.document);m.bind("contextmenu."+h,function(e){e.preventDefault()}).bind("mousedown."+h+" touchstart."+h+" pointerdown."+h+" MSPointerDown."+h,function(t){if(t.stopImmediatePropagation(),t.preventDefault(),$(t)){c=!0,l&&(document.onselectstart=function(){return!1}),R.call(f,!1),V(n);var i=(a=e(this)).offset(),r=k(t)[0]-i.top,h=k(t)[1]-i.left,u=a.height()+i.top,m=a.width()+i.left;u>r&&r>0&&m>h&&h>0&&(o=r,s=h),y(a,"active",d.autoExpandScrollbar)}}).bind("touchmove."+h,function(e){e.stopImmediatePropagation(),e.preventDefault();var i=a.offset(),n=k(e)[0]-i.top,r=k(e)[1]-i.left;t(o,s,n,r)}),e(document).add(g).bind("mousemove."+h+" pointermove."+h+" MSPointerMove."+h,function(e){if(a){var i=a.offset(),n=k(e)[0]-i.top,r=k(e)[1]-i.left;if(o===n&&s===r)return;t(o,s,n,r)}}).add(p).bind("mouseup."+h+" touchend."+h+" pointerup."+h+" MSPointerUp."+h,function(){a&&(y(a,"active",d.autoExpandScrollbar),a=null),c=!1,l&&(document.onselectstart=null),R.call(f,!0)})},O=function(){function a(e){if(!ee(e)||c||k(e)[2])t=0;else{t=1,b=0,y=0,d=1,C.removeClass("mCS_touch_action");var a=D.offset();h=k(e)[0]-a.top,u=k(e)[1]-a.left,A=[k(e)[0],k(e)[1]]}}function o(e){if(ee(e)&&!c&&!k(e)[2]&&(B.documentTouchScroll||e.preventDefault(),e.stopImmediatePropagation(),(!y||b)&&d)){g=J();var t=M.offset(),a=k(e)[0]-t.top,i=k(e)[1]-t.left,o="mcsLinearOut";if(I.push(a),E.push(i),A[2]=Math.abs(k(e)[0]-A[0]),A[3]=Math.abs(k(e)[1]-A[1]),j.overflowed[0])var s=O[0].parent().height()-O[0].height(),n=h-a>0&&a-h>-s*j.scrollRatio.y&&(2*A[3]<A[2]||"yx"===B.axis);if(j.overflowed[1])var r=O[1].parent().width()-O[1].width(),f=u-i>0&&i-u>-r*j.scrollRatio.x&&(2*A[2]<A[3]||"yx"===B.axis);n||f?(P||e.preventDefault(),b=1):(y=1,C.addClass("mCS_touch_action")),P&&e.preventDefault(),_="yx"===B.axis?[h-a,u-i]:"x"===B.axis?[null,u-i]:[h-a,null],D[0].idleTimer=250,j.overflowed[0]&&l(_[0],W,o,"y","all",!0),j.overflowed[1]&&l(_[1],W,o,"x",R,!0)}}function s(e){if(!ee(e)||c||k(e)[2])t=0;else{t=1,e.stopImmediatePropagation(),V(C),p=J();var a=M.offset();f=k(e)[0]-a.top,m=k(e)[1]-a.left,I=[],E=[]}}function n(e){if(ee(e)&&!c&&!k(e)[2]){d=0,e.stopImmediatePropagation(),b=0,y=0,x=J();var t=M.offset(),a=k(e)[0]-t.top,i=k(e)[1]-t.left;if(!(x-g>30)){var o="mcsEaseOut",s=2.5>(w=1e3/(x-p)),n=s?[I[I.length-2],E[E.length-2]]:[0,0];v=s?[a-n[0],i-n[1]]:[a-f,i-m];var h=[Math.abs(v[0]),Math.abs(v[1])];w=s?[Math.abs(v[0]/4),Math.abs(v[1]/4)]:[w,w];var u=[Math.abs(D[0].offsetTop)-v[0]*r(h[0]/w[0],w[0]),Math.abs(D[0].offsetLeft)-v[1]*r(h[1]/w[1],w[1])];_="yx"===B.axis?[u[0],u[1]]:"x"===B.axis?[null,u[1]]:[u[0],null],S=[4*h[0]+B.scrollInertia,4*h[1]+B.scrollInertia];var C=parseInt(B.contentTouchScroll)||0;_[0]=h[0]>C?_[0]:0,_[1]=h[1]>C?_[1]:0,j.overflowed[0]&&l(_[0],S[0],o,"y",R,!1),j.overflowed[1]&&l(_[1],S[1],o,"x",R,!1)}}}function r(e,t){var a=[1.5*t,2*t,t/1.5,t/2];return e>90?t>4?a[0]:a[3]:e>60?t>3?a[3]:a[2]:e>30?t>8?a[1]:t>6?a[0]:t>4?t:a[2]:t>8?t:a[3]}function l(e,t,a,i,o,s){e&&Q(C,e.toString(),{dur:t,scrollEasing:a,dir:i,overwrite:o,drag:s})}var d,h,u,f,m,p,g,x,v,w,_,S,b,y,C=e(this),j=C.data(i),B=j.opt,T=i+"_"+j.idx,M=e("#mCSB_"+j.idx),D=e("#mCSB_"+j.idx+"_container"),O=[e("#mCSB_"+j.idx+"_dragger_vertical"),e("#mCSB_"+j.idx+"_dragger_horizontal")],I=[],E=[],W=0,R="yx"===B.axis?"none":"all",A=[],z=D.find("iframe"),H=["touchstart."+T+" pointerdown."+T+" MSPointerDown."+T,"touchmove."+T+" pointermove."+T+" MSPointerMove."+T,"touchend."+T+" pointerup."+T+" MSPointerUp."+T],P=void 0!==document.body.style.touchAction&&""!==document.body.style.touchAction;D.bind(H[0],function(e){a(e)}).bind(H[1],function(e){o(e)}),M.bind(H[0],function(e){s(e)}).bind(H[2],function(e){n(e)}),z.length&&z.each(function(){e(this).bind("load",function(){L(this)&&e(this.contentDocument||this.contentWindow.document).bind(H[0],function(e){a(e),s(e)}).bind(H[1],function(e){o(e)}).bind(H[2],function(e){n(e)})})})},I=function(){function a(e,t,a){l.type=a&&o?"stepped":"stepless",l.scrollAmount=10,U(s,e,t,"mcsLinearOut",a?60:null)}var o,s=e(this),n=s.data(i),r=n.opt,l=n.sequential,d=i+"_"+n.idx,h=e("#mCSB_"+n.idx+"_container"),u=h.parent();h.bind("mousedown."+d,function(){t||o||(o=1,c=!0)}).add(document).bind("mousemove."+d,function(e){if(!t&&o&&(window.getSelection?window.getSelection().toString():document.selection&&"Control"!=document.selection.type&&document.selection.createRange().text)){var i=h.offset(),s=k(e)[0]-i.top+h[0].offsetTop,c=k(e)[1]-i.left+h[0].offsetLeft;s>0&&s<u.height()&&c>0&&c<u.width()?l.step&&a("off",null,"stepped"):("x"!==r.axis&&n.overflowed[0]&&(0>s?a("on",38):s>u.height()&&a("on",40)),"y"!==r.axis&&n.overflowed[1]&&(0>c?a("on",37):c>u.width()&&a("on",39)))}}).bind("mouseup."+d+" dragend."+d,function(){t||(o&&(o=0,a("off",null)),c=!1)})},E=function(){function t(t,i){if(V(a),!A(a,t.target)){var n="auto"!==s.mouseWheel.deltaFactor?parseInt(s.mouseWheel.deltaFactor):l&&t.deltaFactor<100?100:t.deltaFactor||100,d=s.scrollInertia;if("x"===s.axis||"x"===s.mouseWheel.axis)var h="x",u=[Math.round(n*o.scrollRatio.x),parseInt(s.mouseWheel.scrollAmount)],f="auto"!==s.mouseWheel.scrollAmount?u[1]:u[0]>=r.width()?.9*r.width():u[0],m=Math.abs(e("#mCSB_"+o.idx+"_container")[0].offsetLeft),p=c[1][0].offsetLeft,g=c[1].parent().width()-c[1].width(),x="y"===s.mouseWheel.axis?t.deltaY||i:t.deltaX;else var h="y",u=[Math.round(n*o.scrollRatio.y),parseInt(s.mouseWheel.scrollAmount)],f="auto"!==s.mouseWheel.scrollAmount?u[1]:u[0]>=r.height()?.9*r.height():u[0],m=Math.abs(e("#mCSB_"+o.idx+"_container")[0].offsetTop),p=c[0][0].offsetTop,g=c[0].parent().height()-c[0].height(),x=t.deltaY||i;"y"===h&&!o.overflowed[0]||"x"===h&&!o.overflowed[1]||((s.mouseWheel.invert||t.webkitDirectionInvertedFromDevice)&&(x=-x),s.mouseWheel.normalizeDelta&&(x=0>x?-1:1),(x>0&&0!==p||0>x&&p!==g||s.mouseWheel.preventDefault)&&(t.stopImmediatePropagation(),t.preventDefault()),t.deltaFactor<5&&!s.mouseWheel.normalizeDelta&&(f=t.deltaFactor,d=17),Q(a,(m-x*f).toString(),{dir:h,dur:d}))}}if(e(this).data(i)){var a=e(this),o=a.data(i),s=o.opt,n=i+"_"+o.idx,r=e("#mCSB_"+o.idx),c=[e("#mCSB_"+o.idx+"_dragger_vertical"),e("#mCSB_"+o.idx+"_dragger_horizontal")],d=e("#mCSB_"+o.idx+"_container").find("iframe");d.length&&d.each(function(){e(this).bind("load",function(){L(this)&&e(this.contentDocument||this.contentWindow.document).bind("mousewheel."+n,function(e,a){t(e,a)})})}),r.bind("mousewheel."+n,function(e,a){t(e,a)})}},W=new Object,L=function(t){var a=!1,i=!1,o=null;if(void 0===t?i="#empty":void 0!==e(t).attr("id")&&(i=e(t).attr("id")),!1!==i&&void 0!==W[i])return W[i];if(t){try{var s=t.contentDocument||t.contentWindow.document;o=s.body.innerHTML}catch(e){}a=null!==o}else{try{var s=top.document;o=s.body.innerHTML}catch(e){}a=null!==o}return!1!==i&&(W[i]=a),a},R=function(e){var t=this.find("iframe");if(t.length){var a=e?"auto":"none";t.css("pointer-events",a)}},A=function(t,a){var o=a.nodeName.toLowerCase(),s=t.data(i).opt.mouseWheel.disableOver;return e.inArray(o,s)>-1&&!(e.inArray(o,["select","textarea"])>-1&&!e(a).is(":focus"))},z=function(){var t,a=e(this),o=a.data(i),s=i+"_"+o.idx,n=e("#mCSB_"+o.idx+"_container"),r=n.parent(),l=e(".mCSB_"+o.idx+"_scrollbar ."+d[12]);l.bind("mousedown."+s+" touchstart."+s+" pointerdown."+s+" MSPointerDown."+s,function(a){c=!0,e(a.target).hasClass("mCSB_dragger")||(t=1)}).bind("touchend."+s+" pointerup."+s+" MSPointerUp."+s,function(){c=!1}).bind("click."+s,function(i){if(t&&(t=0,e(i.target).hasClass(d[12])||e(i.target).hasClass("mCSB_draggerRail"))){V(a);var s=e(this),l=s.find(".mCSB_dragger");if(s.parent(".mCSB_scrollTools_horizontal").length>0){if(!o.overflowed[1])return;var c="x",h=i.pageX>l.offset().left?-1:1,u=Math.abs(n[0].offsetLeft)-h*(.9*r.width())}else{if(!o.overflowed[0])return;var c="y",h=i.pageY>l.offset().top?-1:1,u=Math.abs(n[0].offsetTop)-h*(.9*r.height())}Q(a,u.toString(),{dir:c,scrollEasing:"mcsEaseInOut"})}})},H=function(){var t=e(this),a=t.data(i),o=a.opt,s=i+"_"+a.idx,n=e("#mCSB_"+a.idx+"_container"),r=n.parent();n.bind("focusin."+s,function(){var a=e(document.activeElement),i=n.find(".mCustomScrollBox").length;a.is(o.advanced.autoScrollOnFocus)&&(V(t),clearTimeout(t[0]._focusTimeout),t[0]._focusTimer=i?17*i:0,t[0]._focusTimeout=setTimeout(function(){var e=[ae(a)[0],ae(a)[1]],i=[n[0].offsetTop,n[0].offsetLeft],s=[i[0]+e[0]>=0&&i[0]+e[0]<r.height()-a.outerHeight(!1),i[1]+e[1]>=0&&i[0]+e[1]<r.width()-a.outerWidth(!1)],l="yx"!==o.axis||s[0]||s[1]?"all":"none";"x"===o.axis||s[0]||Q(t,e[0].toString(),{dir:"y",scrollEasing:"mcsEaseInOut",overwrite:l,dur:0}),"y"===o.axis||s[1]||Q(t,e[1].toString(),{dir:"x",scrollEasing:"mcsEaseInOut",overwrite:l,dur:0})},t[0]._focusTimer))})},P=function(){var t=e(this),a=t.data(i),o=i+"_"+a.idx,s=e("#mCSB_"+a.idx+"_container").parent();s.bind("scroll."+o,function(){0===s.scrollTop()&&0===s.scrollLeft()||e(".mCSB_"+a.idx+"_scrollbar").css("visibility","hidden")})},X=function(){var t=e(this),a=t.data(i),o=a.opt,s=a.sequential,n=i+"_"+a.idx,r=".mCSB_"+a.idx+"_scrollbar",l=e(r+">a");l.bind("contextmenu."+n,function(e){e.preventDefault()}).bind("mousedown."+n+" touchstart."+n+" pointerdown."+n+" MSPointerDown."+n+" mouseup."+n+" touchend."+n+" pointerup."+n+" MSPointerUp."+n+" mouseout."+n+" pointerout."+n+" MSPointerOut."+n+" click."+n,function(i){function n(e,a){s.scrollAmount=o.scrollButtons.scrollAmount,U(t,e,a)}if(i.preventDefault(),$(i)){var r=e(this).attr("class");switch(s.type=o.scrollButtons.scrollType,i.type){case"mousedown":case"touchstart":case"pointerdown":case"MSPointerDown":if("stepped"===s.type)return;c=!0,a.tweenRunning=!1,n("on",r);break;case"mouseup":case"touchend":case"pointerup":case"MSPointerUp":case"mouseout":case"pointerout":case"MSPointerOut":if("stepped"===s.type)return;c=!1,s.dir&&n("off",r);break;case"click":if("stepped"!==s.type||a.tweenRunning)return;n("on",r)}}})},Y=function(){function t(t){function i(e,t){n.type=s.keyboard.scrollType,n.scrollAmount=s.keyboard.scrollAmount,"stepped"===n.type&&o.tweenRunning||U(a,e,t)}switch(t.type){case"blur":o.tweenRunning&&n.dir&&i("off",null);break;case"keydown":case"keyup":var r=t.keyCode?t.keyCode:t.which,l="on";if("x"!==s.axis&&(38===r||40===r)||"y"!==s.axis&&(37===r||39===r)){if((38===r||40===r)&&!o.overflowed[0]||(37===r||39===r)&&!o.overflowed[1])return;"keyup"===t.type&&(l="off"),e(document.activeElement).is(h)||(t.preventDefault(),t.stopImmediatePropagation(),i(l,r))}else if(33===r||34===r){if((o.overflowed[0]||o.overflowed[1])&&(t.preventDefault(),t.stopImmediatePropagation()),"keyup"===t.type){V(a);var u=34===r?-1:1;if("x"===s.axis||"yx"===s.axis&&o.overflowed[1]&&!o.overflowed[0])var f="x",m=Math.abs(c[0].offsetLeft)-u*(.9*d.width());else var f="y",m=Math.abs(c[0].offsetTop)-u*(.9*d.height());Q(a,m.toString(),{dir:f,scrollEasing:"mcsEaseInOut"})}}else if((35===r||36===r)&&!e(document.activeElement).is(h)&&((o.overflowed[0]||o.overflowed[1])&&(t.preventDefault(),t.stopImmediatePropagation()),"keyup"===t.type)){if("x"===s.axis||"yx"===s.axis&&o.overflowed[1]&&!o.overflowed[0])var f="x",m=35===r?Math.abs(d.width()-c.outerWidth(!1)):0;else var f="y",m=35===r?Math.abs(d.height()-c.outerHeight(!1)):0;Q(a,m.toString(),{dir:f,scrollEasing:"mcsEaseInOut"})}}}var a=e(this),o=a.data(i),s=o.opt,n=o.sequential,r=i+"_"+o.idx,l=e("#mCSB_"+o.idx),c=e("#mCSB_"+o.idx+"_container"),d=c.parent(),h="input,textarea,select,datalist,keygen,[contenteditable='true']",u=c.find("iframe"),f=["blur."+r+" keydown."+r+" keyup."+r];u.length&&u.each(function(){e(this).bind("load",function(){L(this)&&e(this.contentDocument||this.contentWindow.document).bind(f[0],function(e){t(e)})})}),l.attr("tabindex","0").bind(f[0],function(e){t(e)})},U=function(t,a,o,s,n){function r(e){c.snapAmount&&(h.scrollAmount=c.snapAmount instanceof Array?"x"===h.dir[0]?c.snapAmount[1]:c.snapAmount[0]:c.snapAmount);var a="stepped"!==h.type,i=n||(e?a?m/1.5:p:1e3/60),o=e?a?7.5:40:2.5,d=[Math.abs(u[0].offsetTop),Math.abs(u[0].offsetLeft)],f=[l.scrollRatio.y>10?10:l.scrollRatio.y,l.scrollRatio.x>10?10:l.scrollRatio.x],g="x"===h.dir[0]?d[1]+h.dir[1]*(f[1]*o):d[0]+h.dir[1]*(f[0]*o),x="x"===h.dir[0]?d[1]+h.dir[1]*parseInt(h.scrollAmount):d[0]+h.dir[1]*parseInt(h.scrollAmount),v="auto"!==h.scrollAmount?x:g,w=s||(e?a?"mcsLinearOut":"mcsEaseInOut":"mcsLinear"),_=!!e;return e&&17>i&&(v="x"===h.dir[0]?d[1]:d[0]),Q(t,v.toString(),{dir:h.dir[0],scrollEasing:w,dur:i,onComplete:_}),e?void(h.dir=!1):(clearTimeout(h.step),void(h.step=setTimeout(function(){r()},i)))}var l=t.data(i),c=l.opt,h=l.sequential,u=e("#mCSB_"+l.idx+"_container"),f="stepped"===h.type,m=c.scrollInertia<26?26:c.scrollInertia,p=c.scrollInertia<1?17:c.scrollInertia;switch(a){case"on":if(h.dir=[o===d[16]||o===d[15]||39===o||37===o?"x":"y",o===d[13]||o===d[15]||38===o||37===o?-1:1],V(t),te(o)&&"stepped"===h.type)return;r(f);break;case"off":clearTimeout(h.step),K(h,"step"),V(t),(f||l.tweenRunning&&h.dir)&&r(!0)}},F=function(t){var a=e(this).data(i).opt,o=[];return"function"==typeof t&&(t=t()),t instanceof Array?o=t.length>1?[t[0],t[1]]:"x"===a.axis?[null,t[0]]:[t[0],null]:(o[0]=t.y?t.y:t.x||"x"===a.axis?null:t,o[1]=t.x?t.x:t.y||"y"===a.axis?null:t),"function"==typeof o[0]&&(o[0]=o[0]()),"function"==typeof o[1]&&(o[1]=o[1]()),o},q=function(t,a){if(null!=t&&void 0!==t){var o=e(this),s=o.data(i),n=s.opt,r=e("#mCSB_"+s.idx+"_container"),l=r.parent(),c=typeof t;a||(a="x"===n.axis?"x":"y");var d="x"===a?r.outerWidth(!1)-l.width():r.outerHeight(!1)-l.height(),u="x"===a?r[0].offsetLeft:r[0].offsetTop,f="x"===a?"left":"top";switch(c){case"function":return t();case"object":var m=t.jquery?t:e(t);if(!m.length)return;return"x"===a?ae(m)[1]:ae(m)[0];case"string":case"number":if(te(t))return Math.abs(t);if(-1!==t.indexOf("%"))return Math.abs(d*parseInt(t)/100);if(-1!==t.indexOf("-="))return Math.abs(u-parseInt(t.split("-=")[1]));if(-1!==t.indexOf("+=")){var p=u+parseInt(t.split("+=")[1]);return p>=0?0:Math.abs(p)}if(-1!==t.indexOf("px")&&te(t.split("px")[0]))return Math.abs(t.split("px")[0]);if("top"===t||"left"===t)return 0;if("bottom"===t)return Math.abs(l.height()-r.outerHeight(!1));if("right"===t)return Math.abs(l.width()-r.outerWidth(!1));if("first"===t||"last"===t){var m=r.find(":"+t);return"x"===a?ae(m)[1]:ae(m)[0]}return e(t).length?"x"===a?ae(e(t))[1]:ae(e(t))[0]:(r.css(f,t),void h.update.call(null,o[0]))}}},N=function(t){function a(e){clearTimeout(r[0].autoUpdate),h.update.call(null,o[0],e)}var o=e(this),s=o.data(i),n=s.opt,r=e("#mCSB_"+s.idx+"_container");return t?(clearTimeout(r[0].autoUpdate),void K(r[0],"autoUpdate")):void function t(){return clearTimeout(r[0].autoUpdate),0===o.parents("html").length?void(o=null):void(r[0].autoUpdate=setTimeout(function(){return n.advanced.updateOnSelectorChange&&(s.poll.change.n=function(){!0===n.advanced.updateOnSelectorChange&&(n.advanced.updateOnSelectorChange="*");var e=0,t=r.find(n.advanced.updateOnSelectorChange);return n.advanced.updateOnSelectorChange&&t.length>0&&t.each(function(){e+=this.offsetHeight+this.offsetWidth}),e}(),s.poll.change.n!==s.poll.change.o)?(s.poll.change.o=s.poll.change.n,void a(3)):n.advanced.updateOnContentResize&&(s.poll.size.n=o[0].scrollHeight+o[0].scrollWidth+r[0].offsetHeight+o[0].offsetHeight+o[0].offsetWidth,s.poll.size.n!==s.poll.size.o)?(s.poll.size.o=s.poll.size.n,void a(1)):!n.advanced.updateOnImageLoad||"auto"===n.advanced.updateOnImageLoad&&"y"===n.axis||(s.poll.img.n=r.find("img").length,s.poll.img.n===s.poll.img.o)?void((n.advanced.updateOnSelectorChange||n.advanced.updateOnContentResize||n.advanced.updateOnImageLoad)&&t()):(s.poll.img.o=s.poll.img.n,void r.find("img").each(function(){!function(t){if(e(t).hasClass(d[2]))a();else{var i=new Image;i.onload=function(e,t){return function(){return t.apply(e,arguments)}}(i,function(){this.onload=null,e(t).addClass(d[2]),a(2)}),i.src=t.src}}(this)}))},n.advanced.autoUpdateTimeout))}()},V=function(t){var a=t.data(i),o=e("#mCSB_"+a.idx+"_container,#mCSB_"+a.idx+"_container_wrapper,#mCSB_"+a.idx+"_dragger_vertical,#mCSB_"+a.idx+"_dragger_horizontal");o.each(function(){G.call(this)})},Q=function(t,a,o){function s(e){return r&&l.callbacks[e]&&"function"==typeof l.callbacks[e]}function n(){var e=[u[0].offsetTop,u[0].offsetLeft],a=[x[0].offsetTop,x[0].offsetLeft],i=[u.outerHeight(!1),u.outerWidth(!1)],s=[h.height(),h.width()];t[0].mcs={content:u,top:e[0],left:e[1],draggerTop:a[0],draggerLeft:a[1],topPct:Math.round(100*Math.abs(e[0])/(Math.abs(i[0])-s[0])),leftPct:Math.round(100*Math.abs(e[1])/(Math.abs(i[1])-s[1])),direction:o.dir}}var r=t.data(i),l=r.opt,c={trigger:"internal",dir:"y",scrollEasing:"mcsEaseOut",drag:!1,dur:l.scrollInertia,overwrite:"all",callbacks:!0,onStart:!0,onUpdate:!0,onComplete:!0},o=e.extend(c,o),d=[o.dur,o.drag?0:o.dur],h=e("#mCSB_"+r.idx),u=e("#mCSB_"+r.idx+"_container"),f=u.parent(),m=l.callbacks.onTotalScrollOffset?F.call(t,l.callbacks.onTotalScrollOffset):[0,0],p=l.callbacks.onTotalScrollBackOffset?F.call(t,l.callbacks.onTotalScrollBackOffset):[0,0];if(r.trigger=o.trigger,0===f.scrollTop()&&0===f.scrollLeft()||(e(".mCSB_"+r.idx+"_scrollbar").css("visibility","visible"),f.scrollTop(0).scrollLeft(0)),"_resetY"!==a||r.contentReset.y||(s("onOverflowYNone")&&l.callbacks.onOverflowYNone.call(t[0]),r.contentReset.y=1),"_resetX"!==a||r.contentReset.x||(s("onOverflowXNone")&&l.callbacks.onOverflowXNone.call(t[0]),r.contentReset.x=1),"_resetY"!==a&&"_resetX"!==a){if(!r.contentReset.y&&t[0].mcs||!r.overflowed[0]||(s("onOverflowY")&&l.callbacks.onOverflowY.call(t[0]),r.contentReset.x=null),!r.contentReset.x&&t[0].mcs||!r.overflowed[1]||(s("onOverflowX")&&l.callbacks.onOverflowX.call(t[0]),r.contentReset.x=null),l.snapAmount){var g=l.snapAmount instanceof Array?"x"===o.dir?l.snapAmount[1]:l.snapAmount[0]:l.snapAmount;a=function(e,t,a){return Math.round(e/t)*t-a}(a,g,l.snapOffset)}switch(o.dir){case"x":var x=e("#mCSB_"+r.idx+"_dragger_horizontal"),v="left",w=u[0].offsetLeft,_=[h.width()-u.outerWidth(!1),x.parent().width()-x.width()],S=[a,0===a?0:a/r.scrollRatio.x],b=m[1],C=p[1],j=b>0?b/r.scrollRatio.x:0,B=C>0?C/r.scrollRatio.x:0;break;case"y":var x=e("#mCSB_"+r.idx+"_dragger_vertical"),v="top",w=u[0].offsetTop,_=[h.height()-u.outerHeight(!1),x.parent().height()-x.height()],S=[a,0===a?0:a/r.scrollRatio.y],b=m[0],C=p[0],j=b>0?b/r.scrollRatio.y:0,B=C>0?C/r.scrollRatio.y:0}S[1]<0||0===S[0]&&0===S[1]?S=[0,0]:S[1]>=_[1]?S=[_[0],_[1]]:S[0]=-S[0],t[0].mcs||(n(),s("onInit")&&l.callbacks.onInit.call(t[0])),clearTimeout(u[0].onCompleteTimeout),Z(x[0],v,Math.round(S[1]),d[1],o.scrollEasing),!r.tweenRunning&&(0===w&&S[0]>=0||w===_[0]&&S[0]<=_[0])||Z(u[0],v,Math.round(S[0]),d[0],o.scrollEasing,o.overwrite,{onStart:function(){o.callbacks&&o.onStart&&!r.tweenRunning&&(s("onScrollStart")&&(n(),l.callbacks.onScrollStart.call(t[0])),r.tweenRunning=!0,y(x),r.cbOffsets=[l.callbacks.alwaysTriggerOffsets||w>=_[0]+b,l.callbacks.alwaysTriggerOffsets||-C>=w])},onUpdate:function(){o.callbacks&&o.onUpdate&&s("whileScrolling")&&(n(),l.callbacks.whileScrolling.call(t[0]))},onComplete:function(){if(o.callbacks&&o.onComplete){"yx"===l.axis&&clearTimeout(u[0].onCompleteTimeout);var e=u[0].idleTimer||0;u[0].onCompleteTimeout=setTimeout(function(){s("onScroll")&&(n(),l.callbacks.onScroll.call(t[0])),s("onTotalScroll")&&S[1]>=_[1]-j&&r.cbOffsets[0]&&(n(),l.callbacks.onTotalScroll.call(t[0])),s("onTotalScrollBack")&&S[1]<=B&&r.cbOffsets[1]&&(n(),l.callbacks.onTotalScrollBack.call(t[0])),r.tweenRunning=!1,u[0].idleTimer=0,y(x,"hide")},e)}}})}},Z=function(e,t,a,i,o,s,n){function r(){v.stop||(p||h.call(),p=J()-m,l(),p>=v.time&&(v.time=p>v.time?p+c-(p-v.time):p+c-1,v.time<p+1&&(v.time=p+1)),v.time<i?v.id=d(r):f.call())}function l(){i>0?(v.currVal=function(e,t,a,i,o){switch(o){case"linear":case"mcsLinear":return a*e/i+t;case"mcsLinearOut":return e/=i,e--,a*Math.sqrt(1-e*e)+t;case"easeInOutSmooth":return 1>(e/=i/2)?a/2*e*e+t:-a/2*(--e*(e-2)-1)+t;case"easeInOutStrong":return 1>(e/=i/2)?a/2*Math.pow(2,10*(e-1))+t:(e--,a/2*(2-Math.pow(2,-10*e))+t);case"easeInOut":case"mcsEaseInOut":return 1>(e/=i/2)?a/2*e*e*e+t:a/2*((e-=2)*e*e+2)+t;case"easeOutSmooth":return e/=i,-a*(--e*e*e*e-1)+t;case"easeOutStrong":return a*(1-Math.pow(2,-10*e/i))+t;case"easeOut":case"mcsEaseOut":default:var s=(e/=i)*e,n=s*e;return t+a*(.499999999999997*n*s+-2.5*s*s+5.5*n+-6.5*s+4*e)}}(v.time,g,w,i,o),x[t]=Math.round(v.currVal)+"px"):x[t]=a+"px",u.call()}e._mTween||(e._mTween={top:{},left:{}});var c,d,n=n||{},h=n.onStart||function(){},u=n.onUpdate||function(){},f=n.onComplete||function(){},m=J(),p=0,g=e.offsetTop,x=e.style,v=e._mTween[t];"left"===t&&(g=e.offsetLeft);var w=a-g;v.stop=0,"none"!==s&&null!=v.id&&(window.requestAnimationFrame?window.cancelAnimationFrame(v.id):clearTimeout(v.id),v.id=null),c=1e3/60,v.time=p+c,d=window.requestAnimationFrame?window.requestAnimationFrame:function(e){return l(),setTimeout(e,.01)},v.id=d(r)},J=function(){return window.performance&&window.performance.now?window.performance.now():window.performance&&window.performance.webkitNow?window.performance.webkitNow():Date.now?Date.now():(new Date).getTime()},G=function(){var e=this;e._mTween||(e._mTween={top:{},left:{}});for(var t=["top","left"],a=0;a<t.length;a++){var i=t[a];e._mTween[i].id&&(window.requestAnimationFrame?window.cancelAnimationFrame(e._mTween[i].id):clearTimeout(e._mTween[i].id),e._mTween[i].id=null,e._mTween[i].stop=1)}},K=function(e,t){try{delete e[t]}catch(a){e[t]=null}},$=function(e){return!(e.which&&1!==e.which)},ee=function(e){var t=e.originalEvent.pointerType;return!(t&&"touch"!==t&&2!==t)},te=function(e){return!isNaN(parseFloat(e))&&isFinite(e)},ae=function(e){var t=e.parents(".mCSB_container");return[e.offset().top-t.offset().top,e.offset().left-t.offset().left]},ie=function(){var e=function(){var e=["webkit","moz","ms","o"];if("hidden"in document)return"hidden";for(var t=0;t<e.length;t++)if(e[t]+"Hidden"in document)return e[t]+"Hidden";return null}();return!!e&&document[e]};e.fn[a]=function(t){return h[t]?h[t].apply(this,Array.prototype.slice.call(arguments,1)):"object"!=typeof t&&t?void e.error("Method "+t+" does not exist"):h.init.apply(this,arguments)},e[a]=function(t){return h[t]?h[t].apply(this,Array.prototype.slice.call(arguments,1)):"object"!=typeof t&&t?void e.error("Method "+t+" does not exist"):h.init.apply(this,arguments)},e[a].defaults=s,window[a]=!0,e(window).bind("load",function(){e(o)[a](),e.extend(e.expr[":"],{mcsInView:e.expr[":"].mcsInView||function(t){var a,i,o=e(t),s=o.parents(".mCSB_container");if(s.length)return a=s.parent(),(i=[s[0].offsetTop,s[0].offsetLeft])[0]+ae(o)[0]>=0&&i[0]+ae(o)[0]<a.height()-o.outerHeight(!1)&&i[1]+ae(o)[1]>=0&&i[1]+ae(o)[1]<a.width()-o.outerWidth(!1)},mcsInSight:e.expr[":"].mcsInSight||function(t,a,i){var o,s,n,r,l=e(t),c=l.parents(".mCSB_container"),d="exact"===i[3]?[[1,0],[1,0]]:[[.9,.1],[.6,.4]];if(c.length)return o=[l.outerHeight(!1),l.outerWidth(!1)],n=[c[0].offsetTop+ae(l)[0],c[0].offsetLeft+ae(l)[1]],s=[c.parent()[0].offsetHeight,c.parent()[0].offsetWidth],n[0]-s[0]*(r=[o[0]<s[0]?d[0]:d[1],o[1]<s[1]?d[0]:d[1]])[0][0]<0&&n[0]+o[0]-s[0]*r[0][1]>=0&&n[1]-s[1]*r[1][0]<0&&n[1]+o[1]-s[1]*r[1][1]>=0},mcsOverflow:e.expr[":"].mcsOverflow||function(t){var a=e(t).data(i);if(a)return a.overflowed[0]||a.overflowed[1]}})})}()});
1
+ !function(e){"use strict";e(document).ready(function(){var t,a=null,i="",o=-1,s=e(document.activeElement).closest("form");function n(a,s){s||(s=1);var n=e(a),r=n.val()||"",l=n.parents(".is-ajax-search"),c=l.attr("data-min-no-for-search")||"",d=l.attr("data-result-box-max-height")||"400",h=e(l).attr("data-form-id");if(e(".is-form-id-"+h+" .is-search-input").val(r),""===i||i!==r.trim()||o!==h)i=r.trim(),o=h;else if(1===s)return void e("#is-ajax-search-result-"+h).show();if(1===s&&l.addClass("processing"),r.length>=c){if(1===s){if(e("#is-ajax-search-result-"+h+", #is-ajax-search-details-"+h).hide(),l.hasClass("is-form-style-1")){var u=l.find(".is-search-submit").outerWidth()+5;l.find(".is-loader-image").css("right",u+"px")}l.find(".is-loader-image").show()}var f={action:"is_ajax_load_posts",page:s,security:IvoryAjaxVars.ajax_nonce},m=l.serialize()+"&"+e.param(f);0===l.find('input[name="id"]').length&&(m+="&id="+h),t&&4!==t.readystate&&t.abort(),t=e.ajax({url:IvoryAjaxVars.ajaxurl,data:m,type:"POST",success:function(t){if("undefined"!=typeof IvorySearchVars&&void 0!==IvorySearchVars.is_analytics_enabled){var a=e(t).find(".is-ajax-search-no-result").length?"Nothing Found":"Results Found";ivory_search_analytics(h,r,a)}if(l.find(".is-loader-image").hide(),l.removeClass("processing"),1===s){var i=l.offset(),o=l.innerHeight(),n=l.outerWidth();n=n<500?500:n,0===e("#is-ajax-search-result-"+h).length&&e("body").append('<div id="is-ajax-search-result-'+h+'" class="is-ajax-search-result"></div>'),e("#is-ajax-search-result-"+h).css({width:n-10+"px"});var c=e("#is-ajax-search-result-"+h).outerWidth(),u=e(window).width(),f=0;if(i.left+c>u&&(f=i.left+c-u),e("#is-ajax-search-result-"+h).css({top:i.top+o+"px",left:i.left-f+"px",width:n-10+"px"}),e("#is-ajax-search-result-"+h).show().html(t),0!==e("#is-ajax-search-details-"+h).length&&e("body > #is-ajax-search-details-"+h).remove(),0!==e("#is-ajax-search-result-"+h+" .is-ajax-search-details").length){e("body").append('<div id="is-ajax-search-details-'+h+'" class="is-ajax-search-details">'+e("#is-ajax-search-result-"+h+" .is-ajax-search-details").html()+"</div>"),e("#is-ajax-search-result-"+h+" .is-ajax-search-details").remove();var m=e("#is-ajax-search-details-"+h).outerWidth(),p=i.left+c;if(i.left+c+m>u+30){var g=i.left-(f+m);g>-30&&(p=g)}e("#is-ajax-search-details-"+h).css({top:i.top+o+"px",left:p+"px"})}}else e("#is-ajax-search-result-"+h+" .is-show-more-results").remove(),e("#is-ajax-search-result-"+h+" .is-ajax-search-posts").append(t),0!==e("#is-ajax-search-result-"+h+" .is-ajax-search-posts .is-show-more-results").length&&(e("#is-ajax-search-result-"+h).append(e("#is-ajax-search-result-"+h+" .is-ajax-search-posts .is-show-more-results")[0].outerHTML),e("#is-ajax-search-result-"+h+" .is-ajax-search-posts .is-show-more-results").remove()),e("#is-ajax-search-details-"+h+" .is-ajax-search-posts-details").append(e("#is-ajax-search-result-"+h+" .is-ajax-search-items .is-ajax-search-posts-details").html()),e("#is-ajax-search-result-"+h+" .is-ajax-search-items .is-ajax-search-details").remove();var x=r.trim().split(" ");if(0!=x.length&&e.isFunction(e.fn.is_highlight)){var v,w,_,S=[".is-ajax-search-result"],b=jQuery.support.opacity?"mark":"span";for(_ in S)if(0!=(v=e(S[_])).length){for(w in x)v.is_highlight(x[w],b,"is-highlight term-"+w),v.find("*").is_highlight(x[w],b,"is-highlight term-"+w);break}}e("#is-ajax-search-result-"+h+" .is-ajax-search-items, #is-ajax-search-details-"+h+" .is-ajax-search-items").css("max-height",d+"px"),e.mCustomScrollbar.defaults.scrollButtons.enable=!0,e("#is-ajax-search-result-"+h+" .is-ajax-search-items, #is-ajax-search-details-"+h+" .is-ajax-search-items").mCustomScrollbar({theme:"dark-thick"})},error:function(e,t,a){console.log(e.statusText),"abort"!==e.statusText&&console.log("AJAX request aborted")}})}else e("#is-ajax-search-result-"+h).hide(),l.removeClass("processing")}e("body").on("mouseover",".is-ajax-search-tags > div, .is-ajax-search-categories > div, .is-ajax-search-post.is-product",function(t){var a=e(window).outerWidth();if(parseInt(a)>=910){var i=e(this).attr("data-id")||"",o=e(t.target).closest(".is-ajax-search-result").attr("id").split(/[-]+/).pop(),s=e("#is-ajax-search-result-"+o).offset(),n=e(".is-form-id-"+o).attr("data-result-box-max-height")||"400";e("#is-ajax-search-details-"+o).css({top:s.top+"px"}),e("#is-ajax-search-details-"+o+" .is-ajax-search-items").css("height",n+"px"),e("#is-ajax-search-details-"+o+" .mCSB_container > div").css("min-height",n+"px"),e(this).parents("div").hasClass("is-ajax-search-tags")&&e("#is-ajax-search-details-"+o+" .is-ajax-search-tags-details").length&&e("#is-ajax-search-details-"+o+' .is-ajax-search-tags-details > div[data-id="'+i+'"]').length?(e("#is-ajax-search-details-"+o+" .is-ajax-search-tags-details, #is-ajax-search-details-"+o).show(),e("#is-ajax-search-details-"+o+" .is-ajax-search-categories-details, #is-ajax-search-details-"+o+" .is-ajax-search-posts-details").hide(),e("#is-ajax-search-details-"+o+" .is-ajax-search-tags-details").find(" > div ").hide(),e("#is-ajax-search-details-"+o+" .is-ajax-search-tags-details").find(' > div[data-id="'+i+'"] ').show()):e(this).parents("div").hasClass("is-ajax-search-categories")&&e("#is-ajax-search-details-"+o+" .is-ajax-search-categories-details").length&&e("#is-ajax-search-details-"+o+' .is-ajax-search-categories-details > div[data-id="'+i+'"]').length?(e("#is-ajax-search-details-"+o+" .is-ajax-search-categories-details, #is-ajax-search-details-"+o).show(),e("#is-ajax-search-details-"+o+" .is-ajax-search-tags-details, #is-ajax-search-details-"+o+" .is-ajax-search-posts-details").hide(),e("#is-ajax-search-details-"+o+" .is-ajax-search-categories-details").find("> div ").hide(),e("#is-ajax-search-details-"+o+" .is-ajax-search-categories-details").find('> div[data-id="'+i+'"] ').show()):e(this).parents("div").hasClass("is-ajax-search-posts")&&(e("#is-ajax-search-details-"+o+" .is-ajax-search-tags-details, #is-ajax-search-details-"+o+" .is-ajax-search-categories-details").hide(),e("#is-ajax-search-details-"+o+" .is-ajax-search-posts-details").find("> div ").hide(),e("#is-ajax-search-details-"+o+" .is-ajax-search-posts-details, #is-ajax-search-details-"+o).show(),e("#is-ajax-search-details-"+o+" .is-ajax-search-posts-details").find('> div[data-id="'+i+'"] ').show())}}),e(".is-ajax-search .is-search-input").on("focusin, click",function(t){if(s=e(this).closest("form"),0===e(t.target).closest("form.processing").length){var a=e(t.target).closest(".is-ajax-search").attr("data-form-id"),i=e(t.target).closest(".is-ajax-search").outerWidth();i=i<500?500:i,e("#is-ajax-search-result-"+a).css({width:i-10+"px"});var o=e(t.target).closest(".is-ajax-search").offset(),n=e(t.target).closest(".is-ajax-search").innerHeight(),r=e("#is-ajax-search-result-"+a).outerWidth(),l=e(window).width(),c=0;if(o.left+r>l&&(c=o.left+r-l),e("#is-ajax-search-result-"+a).css({top:o.top+n+"px",left:o.left-c+"px"}),e(".is-ajax-search-result, .is-ajax-search-details").hide(),e("#is-ajax-search-result-"+a).show(),0!==e("#is-ajax-search-details-"+a).length){var d=e("#is-ajax-search-details-"+a).outerWidth(),h=o.left+r;if(o.left+r+d>l+30){var u=o.left-(c+d);u>-30&&(h=u)}e("#is-ajax-search-details-"+a).css({top:o.top+n+"px",left:h+"px"})}}}),e(".is-ajax-search .is-search-input").on("focusout",function(){s=!1}),e("body").on("mousedown",function(t){"s"!==e(t.target).attr("name")&&0===e(t.target).closest(".is-ajax-search-result").length&&0===e(t.target).closest(".is-ajax-search-details").length&&(e(".is-ajax-search-result, .is-ajax-search-details").hide(),s=!1)}),e(".is-disable-submit .is-search-submit").on("click",function(t){return e(this).parent().find(".is-search-input").trigger("keyup"),t.stopPropagation(),t.preventDefault(),!1}),e("form.is-disable-submit").on("submit",function(t){return e(this).find(".is-search-input").trigger("keyup"),t.stopPropagation(),t.preventDefault(),!1}),e(document).on("click",".is-show-more-results",function(t){var a=e(t.target).closest(".is-ajax-search-result").attr("id").split(/[-]+/).pop();e(this).hasClass("redirect-tosr")?e(".is-form-id-"+a).submit():(e(this).find(".is-show-more-results-text").hide(),e(this).find(".is-load-more-image").show(),n(e(".is-form-id-"+a+" .is-search-input"),e(this).attr("data-page")||""))}),e(window).on("resize scroll",function(){if(e(s).hasClass("is-ajax-search")){var t=e(s).attr("data-form-id");if(0!==e("#is-ajax-search-result-"+t).length){var a=e(s).offset(),i=e(s).innerHeight(),o=e("#is-ajax-search-result-"+t).outerWidth(),n=e(window).width(),r=0;if(a.left+o>n&&(r=a.left+o-n),e("#is-ajax-search-result-"+t).css({top:a.top+i+"px",left:a.left-r+"px"}),e(".is-ajax-search-result, .is-ajax-search-details").hide(),e("#is-ajax-search-result-"+t).show(),0!==e("#is-ajax-search-details-"+t).length){var l=e("#is-ajax-search-details-"+t).outerWidth(),c=a.left+o;if(a.left+o+l>n+30){var d=a.left-(r+l);d>-30&&(c=d)}e("#is-ajax-search-details-"+t).css({top:a.top+i+"px",left:c+"px"})}}}}),e(".is-ajax-search .is-search-input").on("paste",function(){e(this).trigger("keyup")}),e(".is-ajax-search").each(function(t,i){e(i).find(".is-search-input").on("keyup",function(t){if(s=e(this).closest("form"),32!==t.which){var i=this;window.clearTimeout(a),a=window.setTimeout(function(){a=null,n(i)},500)}})})})}(jQuery),function(e){"function"==typeof define&&define.amd?define(["jquery"],e):"object"==typeof exports?module.exports=e:e(jQuery)}(function(e){function t(t){var n=t||window.event,r=l.call(arguments,1),c=0,h=0,u=0,f=0,m=0,p=0;if((t=e.event.fix(n)).type="mousewheel","detail"in n&&(u=-1*n.detail),"wheelDelta"in n&&(u=n.wheelDelta),"wheelDeltaY"in n&&(u=n.wheelDeltaY),"wheelDeltaX"in n&&(h=-1*n.wheelDeltaX),"axis"in n&&n.axis===n.HORIZONTAL_AXIS&&(h=-1*u,u=0),c=0===u?h:u,"deltaY"in n&&(c=u=-1*n.deltaY),"deltaX"in n&&(h=n.deltaX,0===u&&(c=-1*h)),0!==u||0!==h){if(1===n.deltaMode){var g=e.data(this,"mousewheel-line-height");c*=g,u*=g,h*=g}else if(2===n.deltaMode){var x=e.data(this,"mousewheel-page-height");c*=x,u*=x,h*=x}if(f=Math.max(Math.abs(u),Math.abs(h)),(!s||s>f)&&(s=f,i(n,f)&&(s/=40)),i(n,f)&&(c/=40,h/=40,u/=40),c=Math[c>=1?"floor":"ceil"](c/s),h=Math[h>=1?"floor":"ceil"](h/s),u=Math[u>=1?"floor":"ceil"](u/s),d.settings.normalizeOffset&&this.getBoundingClientRect){var v=this.getBoundingClientRect();m=t.clientX-v.left,p=t.clientY-v.top}return t.deltaX=h,t.deltaY=u,t.deltaFactor=s,t.offsetX=m,t.offsetY=p,t.deltaMode=0,r.unshift(t,c,h,u),o&&clearTimeout(o),o=setTimeout(a,200),(e.event.dispatch||e.event.handle).apply(this,r)}}function a(){s=null}function i(e,t){return d.settings.adjustOldDeltas&&"mousewheel"===e.type&&t%120==0}var o,s,n=["wheel","mousewheel","DOMMouseScroll","MozMousePixelScroll"],r="onwheel"in document||document.documentMode>=9?["wheel"]:["mousewheel","DomMouseScroll","MozMousePixelScroll"],l=Array.prototype.slice;if(e.event.fixHooks)for(var c=n.length;c;)e.event.fixHooks[n[--c]]=e.event.mouseHooks;var d=e.event.special.mousewheel={version:"3.1.12",setup:function(){if(this.addEventListener)for(var a=r.length;a;)this.addEventListener(r[--a],t,!1);else this.onmousewheel=t;e.data(this,"mousewheel-line-height",d.getLineHeight(this)),e.data(this,"mousewheel-page-height",d.getPageHeight(this))},teardown:function(){if(this.removeEventListener)for(var a=r.length;a;)this.removeEventListener(r[--a],t,!1);else this.onmousewheel=null;e.removeData(this,"mousewheel-line-height"),e.removeData(this,"mousewheel-page-height")},getLineHeight:function(t){var a=e(t),i=a["offsetParent"in e.fn?"offsetParent":"parent"]();return i.length||(i=e("body")),parseInt(i.css("fontSize"),10)||parseInt(a.css("fontSize"),10)||16},getPageHeight:function(t){return e(t).height()},settings:{adjustOldDeltas:!0,normalizeOffset:!0}};e.fn.extend({mousewheel:function(e){return e?this.bind("mousewheel",e):this.trigger("mousewheel")},unmousewheel:function(e){return this.unbind("mousewheel",e)}})}),function(e){"function"==typeof define&&define.amd?define(["jquery"],e):"object"==typeof exports?module.exports=e:e(jQuery)}(function(e){function t(t){var n=t||window.event,r=l.call(arguments,1),c=0,h=0,u=0,f=0,m=0,p=0;if((t=e.event.fix(n)).type="mousewheel","detail"in n&&(u=-1*n.detail),"wheelDelta"in n&&(u=n.wheelDelta),"wheelDeltaY"in n&&(u=n.wheelDeltaY),"wheelDeltaX"in n&&(h=-1*n.wheelDeltaX),"axis"in n&&n.axis===n.HORIZONTAL_AXIS&&(h=-1*u,u=0),c=0===u?h:u,"deltaY"in n&&(c=u=-1*n.deltaY),"deltaX"in n&&(h=n.deltaX,0===u&&(c=-1*h)),0!==u||0!==h){if(1===n.deltaMode){var g=e.data(this,"mousewheel-line-height");c*=g,u*=g,h*=g}else if(2===n.deltaMode){var x=e.data(this,"mousewheel-page-height");c*=x,u*=x,h*=x}if(f=Math.max(Math.abs(u),Math.abs(h)),(!s||s>f)&&(s=f,i(n,f)&&(s/=40)),i(n,f)&&(c/=40,h/=40,u/=40),c=Math[c>=1?"floor":"ceil"](c/s),h=Math[h>=1?"floor":"ceil"](h/s),u=Math[u>=1?"floor":"ceil"](u/s),d.settings.normalizeOffset&&this.getBoundingClientRect){var v=this.getBoundingClientRect();m=t.clientX-v.left,p=t.clientY-v.top}return t.deltaX=h,t.deltaY=u,t.deltaFactor=s,t.offsetX=m,t.offsetY=p,t.deltaMode=0,r.unshift(t,c,h,u),o&&clearTimeout(o),o=setTimeout(a,200),(e.event.dispatch||e.event.handle).apply(this,r)}}function a(){s=null}function i(e,t){return d.settings.adjustOldDeltas&&"mousewheel"===e.type&&t%120==0}var o,s,n=["wheel","mousewheel","DOMMouseScroll","MozMousePixelScroll"],r="onwheel"in document||document.documentMode>=9?["wheel"]:["mousewheel","DomMouseScroll","MozMousePixelScroll"],l=Array.prototype.slice;if(e.event.fixHooks)for(var c=n.length;c;)e.event.fixHooks[n[--c]]=e.event.mouseHooks;var d=e.event.special.mousewheel={version:"3.1.12",setup:function(){if(this.addEventListener)for(var a=r.length;a;)this.addEventListener(r[--a],t,!1);else this.onmousewheel=t;e.data(this,"mousewheel-line-height",d.getLineHeight(this)),e.data(this,"mousewheel-page-height",d.getPageHeight(this))},teardown:function(){if(this.removeEventListener)for(var a=r.length;a;)this.removeEventListener(r[--a],t,!1);else this.onmousewheel=null;e.removeData(this,"mousewheel-line-height"),e.removeData(this,"mousewheel-page-height")},getLineHeight:function(t){var a=e(t),i=a["offsetParent"in e.fn?"offsetParent":"parent"]();return i.length||(i=e("body")),parseInt(i.css("fontSize"),10)||parseInt(a.css("fontSize"),10)||16},getPageHeight:function(t){return e(t).height()},settings:{adjustOldDeltas:!0,normalizeOffset:!0}};e.fn.extend({mousewheel:function(e){return e?this.bind("mousewheel",e):this.trigger("mousewheel")},unmousewheel:function(e){return this.unbind("mousewheel",e)}})}),function(e){"function"==typeof define&&define.amd?define(["jquery"],e):"undefined"!=typeof module&&module.exports?module.exports=e:e(jQuery,window,document)}(function(e){var t,a,i;t="function"==typeof define&&define.amd,a="undefined"!=typeof module&&module.exports,i="https:"==document.location.protocol?"https:":"http:",t||(a?require("jquery-mousewheel")(e):e.event.special.mousewheel||e("head").append(decodeURI("%3Cscript src="+i+"//cdnjs.cloudflare.com/ajax/libs/jquery-mousewheel/3.1.13/jquery.mousewheel.min.js%3E%3C/script%3E"))),function(){var t,a="mCustomScrollbar",i="mCS",o=".mCustomScrollbar",s={setTop:0,setLeft:0,axis:"y",scrollbarPosition:"inside",scrollInertia:950,autoDraggerLength:!0,alwaysShowScrollbar:0,snapOffset:0,mouseWheel:{enable:!0,scrollAmount:"auto",axis:"y",deltaFactor:"auto",disableOver:["select","option","keygen","datalist","textarea"]},scrollButtons:{scrollType:"stepless",scrollAmount:"auto"},keyboard:{enable:!0,scrollType:"stepless",scrollAmount:"auto"},contentTouchScroll:25,documentTouchScroll:!0,advanced:{autoScrollOnFocus:"input,textarea,select,button,datalist,keygen,a[tabindex],area,object,[contenteditable='true']",updateOnContentResize:!0,updateOnImageLoad:"auto",autoUpdateTimeout:60},theme:"light",callbacks:{onTotalScrollOffset:0,onTotalScrollBackOffset:0,alwaysTriggerOffsets:!0}},n=0,r={},l=window.attachEvent&&!window.addEventListener?1:0,c=!1,d=["mCSB_dragger_onDrag","mCSB_scrollTools_onDrag","mCS_img_loaded","mCS_disabled","mCS_destroyed","mCS_no_scrollbar","mCS-autoHide","mCS-dir-rtl","mCS_no_scrollbar_y","mCS_no_scrollbar_x","mCS_y_hidden","mCS_x_hidden","mCSB_draggerContainer","mCSB_buttonUp","mCSB_buttonDown","mCSB_buttonLeft","mCSB_buttonRight"],h={init:function(t){var t=e.extend(!0,{},s,t),a=u.call(this);if(t.live){var l=t.liveSelector||this.selector||o,c=e(l);if("off"===t.live)return void m(l);r[l]=setTimeout(function(){c.mCustomScrollbar(t),"once"===t.live&&c.length&&m(l)},500)}else m(l);return t.setWidth=t.set_width?t.set_width:t.setWidth,t.setHeight=t.set_height?t.set_height:t.setHeight,t.axis=t.horizontalScroll?"x":p(t.axis),t.scrollInertia=t.scrollInertia>0&&t.scrollInertia<17?17:t.scrollInertia,"object"!=typeof t.mouseWheel&&1==t.mouseWheel&&(t.mouseWheel={enable:!0,scrollAmount:"auto",axis:"y",preventDefault:!1,deltaFactor:"auto",normalizeDelta:!1,invert:!1}),t.mouseWheel.scrollAmount=t.mouseWheelPixels?t.mouseWheelPixels:t.mouseWheel.scrollAmount,t.mouseWheel.normalizeDelta=t.advanced.normalizeMouseWheelDelta?t.advanced.normalizeMouseWheelDelta:t.mouseWheel.normalizeDelta,t.scrollButtons.scrollType=g(t.scrollButtons.scrollType),f(t),e(a).each(function(){var a=e(this);if(!a.data(i)){a.data(i,{idx:++n,opt:t,scrollRatio:{y:null,x:null},overflowed:null,contentReset:{y:null,x:null},bindEvents:!1,tweenRunning:!1,sequential:{},langDir:a.css("direction"),cbOffsets:null,trigger:null,poll:{size:{o:0,n:0},img:{o:0,n:0},change:{o:0,n:0}}});var o=a.data(i),s=o.opt,r=a.data("mcs-axis"),l=a.data("mcs-scrollbar-position"),c=a.data("mcs-theme");r&&(s.axis=r),l&&(s.scrollbarPosition=l),c&&(s.theme=c,f(s)),x.call(this),o&&s.callbacks.onCreate&&"function"==typeof s.callbacks.onCreate&&s.callbacks.onCreate.call(this),e("#mCSB_"+o.idx+"_container img:not(."+d[2]+")").addClass(d[2]),h.update.call(null,a)}})},update:function(t,a){var o=t||u.call(this);return e(o).each(function(){var t=e(this);if(t.data(i)){var o=t.data(i),s=o.opt,n=e("#mCSB_"+o.idx+"_container"),r=e("#mCSB_"+o.idx),l=[e("#mCSB_"+o.idx+"_dragger_vertical"),e("#mCSB_"+o.idx+"_dragger_horizontal")];if(!n.length)return;o.tweenRunning&&V(t),a&&o&&s.callbacks.onBeforeUpdate&&"function"==typeof s.callbacks.onBeforeUpdate&&s.callbacks.onBeforeUpdate.call(this),t.hasClass(d[3])&&t.removeClass(d[3]),t.hasClass(d[4])&&t.removeClass(d[4]),r.css("max-height","none"),r.height()!==t.height()&&r.css("max-height",t.height()),w.call(this),"y"===s.axis||s.advanced.autoExpandHorizontalScroll||n.css("width",v(n)),o.overflowed=C.call(this),M.call(this),s.autoDraggerLength&&S.call(this),b.call(this),B.call(this);var c=[Math.abs(n[0].offsetTop),Math.abs(n[0].offsetLeft)];"x"!==s.axis&&(o.overflowed[0]?l[0].height()>l[0].parent().height()?j.call(this):(Q(t,c[0].toString(),{dir:"y",dur:0,overwrite:"none"}),o.contentReset.y=null):(j.call(this),"y"===s.axis?T.call(this):"yx"===s.axis&&o.overflowed[1]&&Q(t,c[1].toString(),{dir:"x",dur:0,overwrite:"none"}))),"y"!==s.axis&&(o.overflowed[1]?l[1].width()>l[1].parent().width()?j.call(this):(Q(t,c[1].toString(),{dir:"x",dur:0,overwrite:"none"}),o.contentReset.x=null):(j.call(this),"x"===s.axis?T.call(this):"yx"===s.axis&&o.overflowed[0]&&Q(t,c[0].toString(),{dir:"y",dur:0,overwrite:"none"}))),a&&o&&(2===a&&s.callbacks.onImageLoad&&"function"==typeof s.callbacks.onImageLoad?s.callbacks.onImageLoad.call(this):3===a&&s.callbacks.onSelectorChange&&"function"==typeof s.callbacks.onSelectorChange?s.callbacks.onSelectorChange.call(this):s.callbacks.onUpdate&&"function"==typeof s.callbacks.onUpdate&&s.callbacks.onUpdate.call(this)),N.call(this)}})},scrollTo:function(t,a){if(void 0!==t&&null!=t){var o=u.call(this);return e(o).each(function(){var o=e(this);if(o.data(i)){var s=o.data(i),n=s.opt,r={trigger:"external",scrollInertia:n.scrollInertia,scrollEasing:"mcsEaseInOut",moveDragger:!1,timeout:60,callbacks:!0,onStart:!0,onUpdate:!0,onComplete:!0},l=e.extend(!0,{},r,a),c=F.call(this,t),d=l.scrollInertia>0&&l.scrollInertia<17?17:l.scrollInertia;c[0]=q.call(this,c[0],"y"),c[1]=q.call(this,c[1],"x"),l.moveDragger&&(c[0]*=s.scrollRatio.y,c[1]*=s.scrollRatio.x),l.dur=ie()?0:d,setTimeout(function(){null!==c[0]&&void 0!==c[0]&&"x"!==n.axis&&s.overflowed[0]&&(l.dir="y",l.overwrite="all",Q(o,c[0].toString(),l)),null!==c[1]&&void 0!==c[1]&&"y"!==n.axis&&s.overflowed[1]&&(l.dir="x",l.overwrite="none",Q(o,c[1].toString(),l))},l.timeout)}})}},stop:function(){var t=u.call(this);return e(t).each(function(){var t=e(this);t.data(i)&&V(t)})},disable:function(t){var a=u.call(this);return e(a).each(function(){var a=e(this);a.data(i)&&(a.data(i),N.call(this,"remove"),T.call(this),t&&j.call(this),M.call(this,!0),a.addClass(d[3]))})},destroy:function(){var t=u.call(this);return e(t).each(function(){var o=e(this);if(o.data(i)){var s=o.data(i),n=s.opt,r=e("#mCSB_"+s.idx),l=e("#mCSB_"+s.idx+"_container"),c=e(".mCSB_"+s.idx+"_scrollbar");n.live&&m(n.liveSelector||e(t).selector),N.call(this,"remove"),T.call(this),j.call(this),o.removeData(i),K(this,"mcs"),c.remove(),l.find("img."+d[2]).removeClass(d[2]),r.replaceWith(l.contents()),o.removeClass(a+" _"+i+"_"+s.idx+" "+d[6]+" "+d[7]+" "+d[5]+" "+d[3]).addClass(d[4])}})}},u=function(){return"object"!=typeof e(this)||e(this).length<1?o:this},f=function(t){t.autoDraggerLength=!(e.inArray(t.theme,["rounded","rounded-dark","rounded-dots","rounded-dots-dark"])>-1)&&t.autoDraggerLength,t.autoExpandScrollbar=!(e.inArray(t.theme,["rounded-dots","rounded-dots-dark","3d","3d-dark","3d-thick","3d-thick-dark","inset","inset-dark","inset-2","inset-2-dark","inset-3","inset-3-dark"])>-1)&&t.autoExpandScrollbar,t.scrollButtons.enable=!(e.inArray(t.theme,["minimal","minimal-dark"])>-1)&&t.scrollButtons.enable,t.autoHideScrollbar=e.inArray(t.theme,["minimal","minimal-dark"])>-1||t.autoHideScrollbar,t.scrollbarPosition=e.inArray(t.theme,["minimal","minimal-dark"])>-1?"outside":t.scrollbarPosition},m=function(e){r[e]&&(clearTimeout(r[e]),K(r,e))},p=function(e){return"yx"===e||"xy"===e||"auto"===e?"yx":"x"===e||"horizontal"===e?"x":"y"},g=function(e){return"stepped"===e||"pixels"===e||"step"===e||"click"===e?"stepped":"stepless"},x=function(){var t=e(this),o=t.data(i),s=o.opt,n=s.autoExpandScrollbar?" "+d[1]+"_expand":"",r=["<div id='mCSB_"+o.idx+"_scrollbar_vertical' class='mCSB_scrollTools mCSB_"+o.idx+"_scrollbar mCS-"+s.theme+" mCSB_scrollTools_vertical"+n+"'><div class='"+d[12]+"'><div id='mCSB_"+o.idx+"_dragger_vertical' class='mCSB_dragger' style='position:absolute;'><div class='mCSB_dragger_bar' /></div><div class='mCSB_draggerRail' /></div></div>","<div id='mCSB_"+o.idx+"_scrollbar_horizontal' class='mCSB_scrollTools mCSB_"+o.idx+"_scrollbar mCS-"+s.theme+" mCSB_scrollTools_horizontal"+n+"'><div class='"+d[12]+"'><div id='mCSB_"+o.idx+"_dragger_horizontal' class='mCSB_dragger' style='position:absolute;'><div class='mCSB_dragger_bar' /></div><div class='mCSB_draggerRail' /></div></div>"],l="yx"===s.axis?"mCSB_vertical_horizontal":"x"===s.axis?"mCSB_horizontal":"mCSB_vertical",c="yx"===s.axis?r[0]+r[1]:"x"===s.axis?r[1]:r[0],h="yx"===s.axis?"<div id='mCSB_"+o.idx+"_container_wrapper' class='mCSB_container_wrapper' />":"",u=s.autoHideScrollbar?" "+d[6]:"",f="x"!==s.axis&&"rtl"===o.langDir?" "+d[7]:"";s.setWidth&&t.css("width",s.setWidth),s.setHeight&&t.css("height",s.setHeight),s.setLeft="y"!==s.axis&&"rtl"===o.langDir?"989999px":s.setLeft,t.addClass(a+" _"+i+"_"+o.idx+u+f).wrapInner("<div id='mCSB_"+o.idx+"' class='mCustomScrollBox mCS-"+s.theme+" "+l+"'><div id='mCSB_"+o.idx+"_container' class='mCSB_container' style='position:relative; top:"+s.setTop+"; left:"+s.setLeft+";' dir='"+o.langDir+"' /></div>");var m=e("#mCSB_"+o.idx),p=e("#mCSB_"+o.idx+"_container");"y"===s.axis||s.advanced.autoExpandHorizontalScroll||p.css("width",v(p)),"outside"===s.scrollbarPosition?("static"===t.css("position")&&t.css("position","relative"),t.css("overflow","visible"),m.addClass("mCSB_outside").after(c)):(m.addClass("mCSB_inside").append(c),p.wrap(h)),_.call(this);var g=[e("#mCSB_"+o.idx+"_dragger_vertical"),e("#mCSB_"+o.idx+"_dragger_horizontal")];g[0].css("min-height",g[0].height()),g[1].css("min-width",g[1].width())},v=function(t){var a=[t[0].scrollWidth,Math.max.apply(Math,t.children().map(function(){return e(this).outerWidth(!0)}).get())],i=t.parent().width();return a[0]>i?a[0]:a[1]>i?a[1]:"100%"},w=function(){var t=e(this),a=t.data(i),o=a.opt,s=e("#mCSB_"+a.idx+"_container");if(o.advanced.autoExpandHorizontalScroll&&"y"!==o.axis){s.css({width:"auto","min-width":0,"overflow-x":"scroll"});var n=Math.ceil(s[0].scrollWidth);3===o.advanced.autoExpandHorizontalScroll||2!==o.advanced.autoExpandHorizontalScroll&&n>s.parent().width()?s.css({width:n,"min-width":"100%","overflow-x":"inherit"}):s.css({"overflow-x":"inherit",position:"absolute"}).wrap("<div class='mCSB_h_wrapper' style='position:relative; left:0; width:999999px;' />").css({width:Math.ceil(s[0].getBoundingClientRect().right+.4)-Math.floor(s[0].getBoundingClientRect().left),"min-width":"100%",position:"relative"}).unwrap()}},_=function(){var t=e(this),a=t.data(i),o=a.opt,s=e(".mCSB_"+a.idx+"_scrollbar:first"),n=te(o.scrollButtons.tabindex)?"tabindex='"+o.scrollButtons.tabindex+"'":"",r=["<a href='#' class='"+d[13]+"' "+n+" />","<a href='#' class='"+d[14]+"' "+n+" />","<a href='#' class='"+d[15]+"' "+n+" />","<a href='#' class='"+d[16]+"' "+n+" />"],l=["x"===o.axis?r[2]:r[0],"x"===o.axis?r[3]:r[1],r[2],r[3]];o.scrollButtons.enable&&s.prepend(l[0]).append(l[1]).next(".mCSB_scrollTools").prepend(l[2]).append(l[3])},S=function(){var t=e(this),a=t.data(i),o=e("#mCSB_"+a.idx),s=e("#mCSB_"+a.idx+"_container"),n=[e("#mCSB_"+a.idx+"_dragger_vertical"),e("#mCSB_"+a.idx+"_dragger_horizontal")],r=[o.height()/s.outerHeight(!1),o.width()/s.outerWidth(!1)],c=[parseInt(n[0].css("min-height")),Math.round(r[0]*n[0].parent().height()),parseInt(n[1].css("min-width")),Math.round(r[1]*n[1].parent().width())],d=l&&c[1]<c[0]?c[0]:c[1],h=l&&c[3]<c[2]?c[2]:c[3];n[0].css({height:d,"max-height":n[0].parent().height()-10}).find(".mCSB_dragger_bar").css({"line-height":c[0]+"px"}),n[1].css({width:h,"max-width":n[1].parent().width()-10})},b=function(){var t=e(this),a=t.data(i),o=e("#mCSB_"+a.idx),s=e("#mCSB_"+a.idx+"_container"),n=[e("#mCSB_"+a.idx+"_dragger_vertical"),e("#mCSB_"+a.idx+"_dragger_horizontal")],r=[s.outerHeight(!1)-o.height(),s.outerWidth(!1)-o.width()],l=[r[0]/(n[0].parent().height()-n[0].height()),r[1]/(n[1].parent().width()-n[1].width())];a.scrollRatio={y:l[0],x:l[1]}},y=function(e,t,a){var i=a?d[0]+"_expanded":"",o=e.closest(".mCSB_scrollTools");"active"===t?(e.toggleClass(d[0]+" "+i),o.toggleClass(d[1]),e[0]._draggable=e[0]._draggable?0:1):e[0]._draggable||("hide"===t?(e.removeClass(d[0]),o.removeClass(d[1])):(e.addClass(d[0]),o.addClass(d[1])))},C=function(){var t=e(this),a=t.data(i),o=e("#mCSB_"+a.idx),s=e("#mCSB_"+a.idx+"_container"),n=null==a.overflowed?s.height():s.outerHeight(!1),r=null==a.overflowed?s.width():s.outerWidth(!1),l=s[0].scrollHeight,c=s[0].scrollWidth;return l>n&&(n=l),c>r&&(r=c),[n>o.height(),r>o.width()]},j=function(){var t=e(this),a=t.data(i),o=a.opt,s=e("#mCSB_"+a.idx),n=e("#mCSB_"+a.idx+"_container"),r=[e("#mCSB_"+a.idx+"_dragger_vertical"),e("#mCSB_"+a.idx+"_dragger_horizontal")];if(V(t),("x"!==o.axis&&!a.overflowed[0]||"y"===o.axis&&a.overflowed[0])&&(r[0].add(n).css("top",0),Q(t,"_resetY")),"y"!==o.axis&&!a.overflowed[1]||"x"===o.axis&&a.overflowed[1]){var l=dx=0;"rtl"===a.langDir&&(l=s.width()-n.outerWidth(!1),dx=Math.abs(l/a.scrollRatio.x)),n.css("left",l),r[1].css("left",dx),Q(t,"_resetX")}},B=function(){var t,a=e(this),o=a.data(i),s=o.opt;o.bindEvents||(D.call(this),s.contentTouchScroll&&O.call(this),I.call(this),s.mouseWheel.enable&&function i(){t=setTimeout(function(){e.event.special.mousewheel?(clearTimeout(t),E.call(a[0])):i()},100)}(),z.call(this),P.call(this),s.advanced.autoScrollOnFocus&&H.call(this),s.scrollButtons.enable&&X.call(this),s.keyboard.enable&&Y.call(this),o.bindEvents=!0)},T=function(){var t=e(this),a=t.data(i),o=a.opt,s=i+"_"+a.idx,n=".mCSB_"+a.idx+"_scrollbar",r=e("#mCSB_"+a.idx+",#mCSB_"+a.idx+"_container,#mCSB_"+a.idx+"_container_wrapper,"+n+" ."+d[12]+",#mCSB_"+a.idx+"_dragger_vertical,#mCSB_"+a.idx+"_dragger_horizontal,"+n+">a"),l=e("#mCSB_"+a.idx+"_container");o.advanced.releaseDraggableSelectors&&r.add(e(o.advanced.releaseDraggableSelectors)),o.advanced.extraDraggableSelectors&&r.add(e(o.advanced.extraDraggableSelectors)),a.bindEvents&&(e(document).add(e(!L()||top.document)).unbind("."+s),r.each(function(){e(this).unbind("."+s)}),clearTimeout(t[0]._focusTimeout),K(t[0],"_focusTimeout"),clearTimeout(a.sequential.step),K(a.sequential,"step"),clearTimeout(l[0].onCompleteTimeout),K(l[0],"onCompleteTimeout"),a.bindEvents=!1)},M=function(t){var a=e(this),o=a.data(i),s=o.opt,n=e("#mCSB_"+o.idx+"_container_wrapper"),r=n.length?n:e("#mCSB_"+o.idx+"_container"),l=[e("#mCSB_"+o.idx+"_scrollbar_vertical"),e("#mCSB_"+o.idx+"_scrollbar_horizontal")],c=[l[0].find(".mCSB_dragger"),l[1].find(".mCSB_dragger")];"x"!==s.axis&&(o.overflowed[0]&&!t?(l[0].add(c[0]).add(l[0].children("a")).css("display","block"),r.removeClass(d[8]+" "+d[10])):(s.alwaysShowScrollbar?(2!==s.alwaysShowScrollbar&&c[0].css("display","none"),r.removeClass(d[10])):(l[0].css("display","none"),r.addClass(d[10])),r.addClass(d[8]))),"y"!==s.axis&&(o.overflowed[1]&&!t?(l[1].add(c[1]).add(l[1].children("a")).css("display","block"),r.removeClass(d[9]+" "+d[11])):(s.alwaysShowScrollbar?(2!==s.alwaysShowScrollbar&&c[1].css("display","none"),r.removeClass(d[11])):(l[1].css("display","none"),r.addClass(d[11])),r.addClass(d[9]))),o.overflowed[0]||o.overflowed[1]?a.removeClass(d[5]):a.addClass(d[5])},k=function(t){var a=t.type,i=t.target.ownerDocument!==document&&null!==frameElement?[e(frameElement).offset().top,e(frameElement).offset().left]:null,o=L()&&t.target.ownerDocument!==top.document&&null!==frameElement?[e(t.view.frameElement).offset().top,e(t.view.frameElement).offset().left]:[0,0];switch(a){case"pointerdown":case"MSPointerDown":case"pointermove":case"MSPointerMove":case"pointerup":case"MSPointerUp":return i?[t.originalEvent.pageY-i[0]+o[0],t.originalEvent.pageX-i[1]+o[1],!1]:[t.originalEvent.pageY,t.originalEvent.pageX,!1];case"touchstart":case"touchmove":case"touchend":var s=t.originalEvent.touches[0]||t.originalEvent.changedTouches[0],n=t.originalEvent.touches.length||t.originalEvent.changedTouches.length;return t.target.ownerDocument!==document?[s.screenY,s.screenX,n>1]:[s.pageY,s.pageX,n>1];default:return i?[t.pageY-i[0]+o[0],t.pageX-i[1]+o[1],!1]:[t.pageY,t.pageX,!1]}},D=function(){function t(e,t,i,o){if(f[0].idleTimer=d.scrollInertia<233?250:0,a.attr("id")===u[1])var s="x",l=(a[0].offsetLeft-t+o)*r.scrollRatio.x;else var s="y",l=(a[0].offsetTop-e+i)*r.scrollRatio.y;Q(n,l.toString(),{dir:s,drag:!0})}var a,o,s,n=e(this),r=n.data(i),d=r.opt,h=i+"_"+r.idx,u=["mCSB_"+r.idx+"_dragger_vertical","mCSB_"+r.idx+"_dragger_horizontal"],f=e("#mCSB_"+r.idx+"_container"),m=e("#"+u[0]+",#"+u[1]),p=d.advanced.releaseDraggableSelectors?m.add(e(d.advanced.releaseDraggableSelectors)):m,g=d.advanced.extraDraggableSelectors?e(!L()||top.document).add(e(d.advanced.extraDraggableSelectors)):e(!L()||top.document);m.bind("contextmenu."+h,function(e){e.preventDefault()}).bind("mousedown."+h+" touchstart."+h+" pointerdown."+h+" MSPointerDown."+h,function(t){if(t.stopImmediatePropagation(),t.preventDefault(),$(t)){c=!0,l&&(document.onselectstart=function(){return!1}),R.call(f,!1),V(n);var i=(a=e(this)).offset(),r=k(t)[0]-i.top,h=k(t)[1]-i.left,u=a.height()+i.top,m=a.width()+i.left;u>r&&r>0&&m>h&&h>0&&(o=r,s=h),y(a,"active",d.autoExpandScrollbar)}}).bind("touchmove."+h,function(e){e.stopImmediatePropagation(),e.preventDefault();var i=a.offset(),n=k(e)[0]-i.top,r=k(e)[1]-i.left;t(o,s,n,r)}),e(document).add(g).bind("mousemove."+h+" pointermove."+h+" MSPointerMove."+h,function(e){if(a){var i=a.offset(),n=k(e)[0]-i.top,r=k(e)[1]-i.left;if(o===n&&s===r)return;t(o,s,n,r)}}).add(p).bind("mouseup."+h+" touchend."+h+" pointerup."+h+" MSPointerUp."+h,function(){a&&(y(a,"active",d.autoExpandScrollbar),a=null),c=!1,l&&(document.onselectstart=null),R.call(f,!0)})},O=function(){function a(e){if(!ee(e)||c||k(e)[2])t=0;else{t=1,b=0,y=0,d=1,C.removeClass("mCS_touch_action");var a=D.offset();h=k(e)[0]-a.top,u=k(e)[1]-a.left,A=[k(e)[0],k(e)[1]]}}function o(e){if(ee(e)&&!c&&!k(e)[2]&&(B.documentTouchScroll||e.preventDefault(),e.stopImmediatePropagation(),(!y||b)&&d)){g=J();var t=M.offset(),a=k(e)[0]-t.top,i=k(e)[1]-t.left,o="mcsLinearOut";if(I.push(a),E.push(i),A[2]=Math.abs(k(e)[0]-A[0]),A[3]=Math.abs(k(e)[1]-A[1]),j.overflowed[0])var s=O[0].parent().height()-O[0].height(),n=h-a>0&&a-h>-s*j.scrollRatio.y&&(2*A[3]<A[2]||"yx"===B.axis);if(j.overflowed[1])var r=O[1].parent().width()-O[1].width(),f=u-i>0&&i-u>-r*j.scrollRatio.x&&(2*A[2]<A[3]||"yx"===B.axis);n||f?(P||e.preventDefault(),b=1):(y=1,C.addClass("mCS_touch_action")),P&&e.preventDefault(),_="yx"===B.axis?[h-a,u-i]:"x"===B.axis?[null,u-i]:[h-a,null],D[0].idleTimer=250,j.overflowed[0]&&l(_[0],W,o,"y","all",!0),j.overflowed[1]&&l(_[1],W,o,"x",R,!0)}}function s(e){if(!ee(e)||c||k(e)[2])t=0;else{t=1,e.stopImmediatePropagation(),V(C),p=J();var a=M.offset();f=k(e)[0]-a.top,m=k(e)[1]-a.left,I=[],E=[]}}function n(e){if(ee(e)&&!c&&!k(e)[2]){d=0,e.stopImmediatePropagation(),b=0,y=0,x=J();var t=M.offset(),a=k(e)[0]-t.top,i=k(e)[1]-t.left;if(!(x-g>30)){var o="mcsEaseOut",s=2.5>(w=1e3/(x-p)),n=s?[I[I.length-2],E[E.length-2]]:[0,0];v=s?[a-n[0],i-n[1]]:[a-f,i-m];var h=[Math.abs(v[0]),Math.abs(v[1])];w=s?[Math.abs(v[0]/4),Math.abs(v[1]/4)]:[w,w];var u=[Math.abs(D[0].offsetTop)-v[0]*r(h[0]/w[0],w[0]),Math.abs(D[0].offsetLeft)-v[1]*r(h[1]/w[1],w[1])];_="yx"===B.axis?[u[0],u[1]]:"x"===B.axis?[null,u[1]]:[u[0],null],S=[4*h[0]+B.scrollInertia,4*h[1]+B.scrollInertia];var C=parseInt(B.contentTouchScroll)||0;_[0]=h[0]>C?_[0]:0,_[1]=h[1]>C?_[1]:0,j.overflowed[0]&&l(_[0],S[0],o,"y",R,!1),j.overflowed[1]&&l(_[1],S[1],o,"x",R,!1)}}}function r(e,t){var a=[1.5*t,2*t,t/1.5,t/2];return e>90?t>4?a[0]:a[3]:e>60?t>3?a[3]:a[2]:e>30?t>8?a[1]:t>6?a[0]:t>4?t:a[2]:t>8?t:a[3]}function l(e,t,a,i,o,s){e&&Q(C,e.toString(),{dur:t,scrollEasing:a,dir:i,overwrite:o,drag:s})}var d,h,u,f,m,p,g,x,v,w,_,S,b,y,C=e(this),j=C.data(i),B=j.opt,T=i+"_"+j.idx,M=e("#mCSB_"+j.idx),D=e("#mCSB_"+j.idx+"_container"),O=[e("#mCSB_"+j.idx+"_dragger_vertical"),e("#mCSB_"+j.idx+"_dragger_horizontal")],I=[],E=[],W=0,R="yx"===B.axis?"none":"all",A=[],z=D.find("iframe"),H=["touchstart."+T+" pointerdown."+T+" MSPointerDown."+T,"touchmove."+T+" pointermove."+T+" MSPointerMove."+T,"touchend."+T+" pointerup."+T+" MSPointerUp."+T],P=void 0!==document.body.style.touchAction&&""!==document.body.style.touchAction;D.bind(H[0],function(e){a(e)}).bind(H[1],function(e){o(e)}),M.bind(H[0],function(e){s(e)}).bind(H[2],function(e){n(e)}),z.length&&z.each(function(){e(this).bind("load",function(){L(this)&&e(this.contentDocument||this.contentWindow.document).bind(H[0],function(e){a(e),s(e)}).bind(H[1],function(e){o(e)}).bind(H[2],function(e){n(e)})})})},I=function(){function a(e,t,a){l.type=a&&o?"stepped":"stepless",l.scrollAmount=10,U(s,e,t,"mcsLinearOut",a?60:null)}var o,s=e(this),n=s.data(i),r=n.opt,l=n.sequential,d=i+"_"+n.idx,h=e("#mCSB_"+n.idx+"_container"),u=h.parent();h.bind("mousedown."+d,function(){t||o||(o=1,c=!0)}).add(document).bind("mousemove."+d,function(e){if(!t&&o&&(window.getSelection?window.getSelection().toString():document.selection&&"Control"!=document.selection.type&&document.selection.createRange().text)){var i=h.offset(),s=k(e)[0]-i.top+h[0].offsetTop,c=k(e)[1]-i.left+h[0].offsetLeft;s>0&&s<u.height()&&c>0&&c<u.width()?l.step&&a("off",null,"stepped"):("x"!==r.axis&&n.overflowed[0]&&(0>s?a("on",38):s>u.height()&&a("on",40)),"y"!==r.axis&&n.overflowed[1]&&(0>c?a("on",37):c>u.width()&&a("on",39)))}}).bind("mouseup."+d+" dragend."+d,function(){t||(o&&(o=0,a("off",null)),c=!1)})},E=function(){function t(t,i){if(V(a),!A(a,t.target)){var n="auto"!==s.mouseWheel.deltaFactor?parseInt(s.mouseWheel.deltaFactor):l&&t.deltaFactor<100?100:t.deltaFactor||100,d=s.scrollInertia;if("x"===s.axis||"x"===s.mouseWheel.axis)var h="x",u=[Math.round(n*o.scrollRatio.x),parseInt(s.mouseWheel.scrollAmount)],f="auto"!==s.mouseWheel.scrollAmount?u[1]:u[0]>=r.width()?.9*r.width():u[0],m=Math.abs(e("#mCSB_"+o.idx+"_container")[0].offsetLeft),p=c[1][0].offsetLeft,g=c[1].parent().width()-c[1].width(),x="y"===s.mouseWheel.axis?t.deltaY||i:t.deltaX;else var h="y",u=[Math.round(n*o.scrollRatio.y),parseInt(s.mouseWheel.scrollAmount)],f="auto"!==s.mouseWheel.scrollAmount?u[1]:u[0]>=r.height()?.9*r.height():u[0],m=Math.abs(e("#mCSB_"+o.idx+"_container")[0].offsetTop),p=c[0][0].offsetTop,g=c[0].parent().height()-c[0].height(),x=t.deltaY||i;"y"===h&&!o.overflowed[0]||"x"===h&&!o.overflowed[1]||((s.mouseWheel.invert||t.webkitDirectionInvertedFromDevice)&&(x=-x),s.mouseWheel.normalizeDelta&&(x=0>x?-1:1),(x>0&&0!==p||0>x&&p!==g||s.mouseWheel.preventDefault)&&(t.stopImmediatePropagation(),t.preventDefault()),t.deltaFactor<5&&!s.mouseWheel.normalizeDelta&&(f=t.deltaFactor,d=17),Q(a,(m-x*f).toString(),{dir:h,dur:d}))}}if(e(this).data(i)){var a=e(this),o=a.data(i),s=o.opt,n=i+"_"+o.idx,r=e("#mCSB_"+o.idx),c=[e("#mCSB_"+o.idx+"_dragger_vertical"),e("#mCSB_"+o.idx+"_dragger_horizontal")],d=e("#mCSB_"+o.idx+"_container").find("iframe");d.length&&d.each(function(){e(this).bind("load",function(){L(this)&&e(this.contentDocument||this.contentWindow.document).bind("mousewheel."+n,function(e,a){t(e,a)})})}),r.bind("mousewheel."+n,function(e,a){t(e,a)})}},W=new Object,L=function(t){var a=!1,i=!1,o=null;if(void 0===t?i="#empty":void 0!==e(t).attr("id")&&(i=e(t).attr("id")),!1!==i&&void 0!==W[i])return W[i];if(t){try{var s=t.contentDocument||t.contentWindow.document;o=s.body.innerHTML}catch(e){}a=null!==o}else{try{var s=top.document;o=s.body.innerHTML}catch(e){}a=null!==o}return!1!==i&&(W[i]=a),a},R=function(e){var t=this.find("iframe");if(t.length){var a=e?"auto":"none";t.css("pointer-events",a)}},A=function(t,a){var o=a.nodeName.toLowerCase(),s=t.data(i).opt.mouseWheel.disableOver;return e.inArray(o,s)>-1&&!(e.inArray(o,["select","textarea"])>-1&&!e(a).is(":focus"))},z=function(){var t,a=e(this),o=a.data(i),s=i+"_"+o.idx,n=e("#mCSB_"+o.idx+"_container"),r=n.parent(),l=e(".mCSB_"+o.idx+"_scrollbar ."+d[12]);l.bind("mousedown."+s+" touchstart."+s+" pointerdown."+s+" MSPointerDown."+s,function(a){c=!0,e(a.target).hasClass("mCSB_dragger")||(t=1)}).bind("touchend."+s+" pointerup."+s+" MSPointerUp."+s,function(){c=!1}).bind("click."+s,function(i){if(t&&(t=0,e(i.target).hasClass(d[12])||e(i.target).hasClass("mCSB_draggerRail"))){V(a);var s=e(this),l=s.find(".mCSB_dragger");if(s.parent(".mCSB_scrollTools_horizontal").length>0){if(!o.overflowed[1])return;var c="x",h=i.pageX>l.offset().left?-1:1,u=Math.abs(n[0].offsetLeft)-h*(.9*r.width())}else{if(!o.overflowed[0])return;var c="y",h=i.pageY>l.offset().top?-1:1,u=Math.abs(n[0].offsetTop)-h*(.9*r.height())}Q(a,u.toString(),{dir:c,scrollEasing:"mcsEaseInOut"})}})},H=function(){var t=e(this),a=t.data(i),o=a.opt,s=i+"_"+a.idx,n=e("#mCSB_"+a.idx+"_container"),r=n.parent();n.bind("focusin."+s,function(){var a=e(document.activeElement),i=n.find(".mCustomScrollBox").length;a.is(o.advanced.autoScrollOnFocus)&&(V(t),clearTimeout(t[0]._focusTimeout),t[0]._focusTimer=i?17*i:0,t[0]._focusTimeout=setTimeout(function(){var e=[ae(a)[0],ae(a)[1]],i=[n[0].offsetTop,n[0].offsetLeft],s=[i[0]+e[0]>=0&&i[0]+e[0]<r.height()-a.outerHeight(!1),i[1]+e[1]>=0&&i[0]+e[1]<r.width()-a.outerWidth(!1)],l="yx"!==o.axis||s[0]||s[1]?"all":"none";"x"===o.axis||s[0]||Q(t,e[0].toString(),{dir:"y",scrollEasing:"mcsEaseInOut",overwrite:l,dur:0}),"y"===o.axis||s[1]||Q(t,e[1].toString(),{dir:"x",scrollEasing:"mcsEaseInOut",overwrite:l,dur:0})},t[0]._focusTimer))})},P=function(){var t=e(this),a=t.data(i),o=i+"_"+a.idx,s=e("#mCSB_"+a.idx+"_container").parent();s.bind("scroll."+o,function(){0===s.scrollTop()&&0===s.scrollLeft()||e(".mCSB_"+a.idx+"_scrollbar").css("visibility","hidden")})},X=function(){var t=e(this),a=t.data(i),o=a.opt,s=a.sequential,n=i+"_"+a.idx,r=".mCSB_"+a.idx+"_scrollbar",l=e(r+">a");l.bind("contextmenu."+n,function(e){e.preventDefault()}).bind("mousedown."+n+" touchstart."+n+" pointerdown."+n+" MSPointerDown."+n+" mouseup."+n+" touchend."+n+" pointerup."+n+" MSPointerUp."+n+" mouseout."+n+" pointerout."+n+" MSPointerOut."+n+" click."+n,function(i){function n(e,a){s.scrollAmount=o.scrollButtons.scrollAmount,U(t,e,a)}if(i.preventDefault(),$(i)){var r=e(this).attr("class");switch(s.type=o.scrollButtons.scrollType,i.type){case"mousedown":case"touchstart":case"pointerdown":case"MSPointerDown":if("stepped"===s.type)return;c=!0,a.tweenRunning=!1,n("on",r);break;case"mouseup":case"touchend":case"pointerup":case"MSPointerUp":case"mouseout":case"pointerout":case"MSPointerOut":if("stepped"===s.type)return;c=!1,s.dir&&n("off",r);break;case"click":if("stepped"!==s.type||a.tweenRunning)return;n("on",r)}}})},Y=function(){function t(t){function i(e,t){n.type=s.keyboard.scrollType,n.scrollAmount=s.keyboard.scrollAmount,"stepped"===n.type&&o.tweenRunning||U(a,e,t)}switch(t.type){case"blur":o.tweenRunning&&n.dir&&i("off",null);break;case"keydown":case"keyup":var r=t.keyCode?t.keyCode:t.which,l="on";if("x"!==s.axis&&(38===r||40===r)||"y"!==s.axis&&(37===r||39===r)){if((38===r||40===r)&&!o.overflowed[0]||(37===r||39===r)&&!o.overflowed[1])return;"keyup"===t.type&&(l="off"),e(document.activeElement).is(h)||(t.preventDefault(),t.stopImmediatePropagation(),i(l,r))}else if(33===r||34===r){if((o.overflowed[0]||o.overflowed[1])&&(t.preventDefault(),t.stopImmediatePropagation()),"keyup"===t.type){V(a);var u=34===r?-1:1;if("x"===s.axis||"yx"===s.axis&&o.overflowed[1]&&!o.overflowed[0])var f="x",m=Math.abs(c[0].offsetLeft)-u*(.9*d.width());else var f="y",m=Math.abs(c[0].offsetTop)-u*(.9*d.height());Q(a,m.toString(),{dir:f,scrollEasing:"mcsEaseInOut"})}}else if((35===r||36===r)&&!e(document.activeElement).is(h)&&((o.overflowed[0]||o.overflowed[1])&&(t.preventDefault(),t.stopImmediatePropagation()),"keyup"===t.type)){if("x"===s.axis||"yx"===s.axis&&o.overflowed[1]&&!o.overflowed[0])var f="x",m=35===r?Math.abs(d.width()-c.outerWidth(!1)):0;else var f="y",m=35===r?Math.abs(d.height()-c.outerHeight(!1)):0;Q(a,m.toString(),{dir:f,scrollEasing:"mcsEaseInOut"})}}}var a=e(this),o=a.data(i),s=o.opt,n=o.sequential,r=i+"_"+o.idx,l=e("#mCSB_"+o.idx),c=e("#mCSB_"+o.idx+"_container"),d=c.parent(),h="input,textarea,select,datalist,keygen,[contenteditable='true']",u=c.find("iframe"),f=["blur."+r+" keydown."+r+" keyup."+r];u.length&&u.each(function(){e(this).bind("load",function(){L(this)&&e(this.contentDocument||this.contentWindow.document).bind(f[0],function(e){t(e)})})}),l.attr("tabindex","0").bind(f[0],function(e){t(e)})},U=function(t,a,o,s,n){function r(e){c.snapAmount&&(h.scrollAmount=c.snapAmount instanceof Array?"x"===h.dir[0]?c.snapAmount[1]:c.snapAmount[0]:c.snapAmount);var a="stepped"!==h.type,i=n||(e?a?m/1.5:p:1e3/60),o=e?a?7.5:40:2.5,d=[Math.abs(u[0].offsetTop),Math.abs(u[0].offsetLeft)],f=[l.scrollRatio.y>10?10:l.scrollRatio.y,l.scrollRatio.x>10?10:l.scrollRatio.x],g="x"===h.dir[0]?d[1]+h.dir[1]*(f[1]*o):d[0]+h.dir[1]*(f[0]*o),x="x"===h.dir[0]?d[1]+h.dir[1]*parseInt(h.scrollAmount):d[0]+h.dir[1]*parseInt(h.scrollAmount),v="auto"!==h.scrollAmount?x:g,w=s||(e?a?"mcsLinearOut":"mcsEaseInOut":"mcsLinear"),_=!!e;return e&&17>i&&(v="x"===h.dir[0]?d[1]:d[0]),Q(t,v.toString(),{dir:h.dir[0],scrollEasing:w,dur:i,onComplete:_}),e?void(h.dir=!1):(clearTimeout(h.step),void(h.step=setTimeout(function(){r()},i)))}var l=t.data(i),c=l.opt,h=l.sequential,u=e("#mCSB_"+l.idx+"_container"),f="stepped"===h.type,m=c.scrollInertia<26?26:c.scrollInertia,p=c.scrollInertia<1?17:c.scrollInertia;switch(a){case"on":if(h.dir=[o===d[16]||o===d[15]||39===o||37===o?"x":"y",o===d[13]||o===d[15]||38===o||37===o?-1:1],V(t),te(o)&&"stepped"===h.type)return;r(f);break;case"off":clearTimeout(h.step),K(h,"step"),V(t),(f||l.tweenRunning&&h.dir)&&r(!0)}},F=function(t){var a=e(this).data(i).opt,o=[];return"function"==typeof t&&(t=t()),t instanceof Array?o=t.length>1?[t[0],t[1]]:"x"===a.axis?[null,t[0]]:[t[0],null]:(o[0]=t.y?t.y:t.x||"x"===a.axis?null:t,o[1]=t.x?t.x:t.y||"y"===a.axis?null:t),"function"==typeof o[0]&&(o[0]=o[0]()),"function"==typeof o[1]&&(o[1]=o[1]()),o},q=function(t,a){if(null!=t&&void 0!==t){var o=e(this),s=o.data(i),n=s.opt,r=e("#mCSB_"+s.idx+"_container"),l=r.parent(),c=typeof t;a||(a="x"===n.axis?"x":"y");var d="x"===a?r.outerWidth(!1)-l.width():r.outerHeight(!1)-l.height(),u="x"===a?r[0].offsetLeft:r[0].offsetTop,f="x"===a?"left":"top";switch(c){case"function":return t();case"object":var m=t.jquery?t:e(t);if(!m.length)return;return"x"===a?ae(m)[1]:ae(m)[0];case"string":case"number":if(te(t))return Math.abs(t);if(-1!==t.indexOf("%"))return Math.abs(d*parseInt(t)/100);if(-1!==t.indexOf("-="))return Math.abs(u-parseInt(t.split("-=")[1]));if(-1!==t.indexOf("+=")){var p=u+parseInt(t.split("+=")[1]);return p>=0?0:Math.abs(p)}if(-1!==t.indexOf("px")&&te(t.split("px")[0]))return Math.abs(t.split("px")[0]);if("top"===t||"left"===t)return 0;if("bottom"===t)return Math.abs(l.height()-r.outerHeight(!1));if("right"===t)return Math.abs(l.width()-r.outerWidth(!1));if("first"===t||"last"===t){var m=r.find(":"+t);return"x"===a?ae(m)[1]:ae(m)[0]}return e(t).length?"x"===a?ae(e(t))[1]:ae(e(t))[0]:(r.css(f,t),void h.update.call(null,o[0]))}}},N=function(t){function a(e){clearTimeout(r[0].autoUpdate),h.update.call(null,o[0],e)}var o=e(this),s=o.data(i),n=s.opt,r=e("#mCSB_"+s.idx+"_container");return t?(clearTimeout(r[0].autoUpdate),void K(r[0],"autoUpdate")):void function t(){return clearTimeout(r[0].autoUpdate),0===o.parents("html").length?void(o=null):void(r[0].autoUpdate=setTimeout(function(){return n.advanced.updateOnSelectorChange&&(s.poll.change.n=function(){!0===n.advanced.updateOnSelectorChange&&(n.advanced.updateOnSelectorChange="*");var e=0,t=r.find(n.advanced.updateOnSelectorChange);return n.advanced.updateOnSelectorChange&&t.length>0&&t.each(function(){e+=this.offsetHeight+this.offsetWidth}),e}(),s.poll.change.n!==s.poll.change.o)?(s.poll.change.o=s.poll.change.n,void a(3)):n.advanced.updateOnContentResize&&(s.poll.size.n=o[0].scrollHeight+o[0].scrollWidth+r[0].offsetHeight+o[0].offsetHeight+o[0].offsetWidth,s.poll.size.n!==s.poll.size.o)?(s.poll.size.o=s.poll.size.n,void a(1)):!n.advanced.updateOnImageLoad||"auto"===n.advanced.updateOnImageLoad&&"y"===n.axis||(s.poll.img.n=r.find("img").length,s.poll.img.n===s.poll.img.o)?void((n.advanced.updateOnSelectorChange||n.advanced.updateOnContentResize||n.advanced.updateOnImageLoad)&&t()):(s.poll.img.o=s.poll.img.n,void r.find("img").each(function(){!function(t){if(e(t).hasClass(d[2]))a();else{var i=new Image;i.onload=function(e,t){return function(){return t.apply(e,arguments)}}(i,function(){this.onload=null,e(t).addClass(d[2]),a(2)}),i.src=t.src}}(this)}))},n.advanced.autoUpdateTimeout))}()},V=function(t){var a=t.data(i),o=e("#mCSB_"+a.idx+"_container,#mCSB_"+a.idx+"_container_wrapper,#mCSB_"+a.idx+"_dragger_vertical,#mCSB_"+a.idx+"_dragger_horizontal");o.each(function(){G.call(this)})},Q=function(t,a,o){function s(e){return r&&l.callbacks[e]&&"function"==typeof l.callbacks[e]}function n(){var e=[u[0].offsetTop,u[0].offsetLeft],a=[x[0].offsetTop,x[0].offsetLeft],i=[u.outerHeight(!1),u.outerWidth(!1)],s=[h.height(),h.width()];t[0].mcs={content:u,top:e[0],left:e[1],draggerTop:a[0],draggerLeft:a[1],topPct:Math.round(100*Math.abs(e[0])/(Math.abs(i[0])-s[0])),leftPct:Math.round(100*Math.abs(e[1])/(Math.abs(i[1])-s[1])),direction:o.dir}}var r=t.data(i),l=r.opt,c={trigger:"internal",dir:"y",scrollEasing:"mcsEaseOut",drag:!1,dur:l.scrollInertia,overwrite:"all",callbacks:!0,onStart:!0,onUpdate:!0,onComplete:!0},o=e.extend(c,o),d=[o.dur,o.drag?0:o.dur],h=e("#mCSB_"+r.idx),u=e("#mCSB_"+r.idx+"_container"),f=u.parent(),m=l.callbacks.onTotalScrollOffset?F.call(t,l.callbacks.onTotalScrollOffset):[0,0],p=l.callbacks.onTotalScrollBackOffset?F.call(t,l.callbacks.onTotalScrollBackOffset):[0,0];if(r.trigger=o.trigger,0===f.scrollTop()&&0===f.scrollLeft()||(e(".mCSB_"+r.idx+"_scrollbar").css("visibility","visible"),f.scrollTop(0).scrollLeft(0)),"_resetY"!==a||r.contentReset.y||(s("onOverflowYNone")&&l.callbacks.onOverflowYNone.call(t[0]),r.contentReset.y=1),"_resetX"!==a||r.contentReset.x||(s("onOverflowXNone")&&l.callbacks.onOverflowXNone.call(t[0]),r.contentReset.x=1),"_resetY"!==a&&"_resetX"!==a){if(!r.contentReset.y&&t[0].mcs||!r.overflowed[0]||(s("onOverflowY")&&l.callbacks.onOverflowY.call(t[0]),r.contentReset.x=null),!r.contentReset.x&&t[0].mcs||!r.overflowed[1]||(s("onOverflowX")&&l.callbacks.onOverflowX.call(t[0]),r.contentReset.x=null),l.snapAmount){var g=l.snapAmount instanceof Array?"x"===o.dir?l.snapAmount[1]:l.snapAmount[0]:l.snapAmount;a=function(e,t,a){return Math.round(e/t)*t-a}(a,g,l.snapOffset)}switch(o.dir){case"x":var x=e("#mCSB_"+r.idx+"_dragger_horizontal"),v="left",w=u[0].offsetLeft,_=[h.width()-u.outerWidth(!1),x.parent().width()-x.width()],S=[a,0===a?0:a/r.scrollRatio.x],b=m[1],C=p[1],j=b>0?b/r.scrollRatio.x:0,B=C>0?C/r.scrollRatio.x:0;break;case"y":var x=e("#mCSB_"+r.idx+"_dragger_vertical"),v="top",w=u[0].offsetTop,_=[h.height()-u.outerHeight(!1),x.parent().height()-x.height()],S=[a,0===a?0:a/r.scrollRatio.y],b=m[0],C=p[0],j=b>0?b/r.scrollRatio.y:0,B=C>0?C/r.scrollRatio.y:0}S[1]<0||0===S[0]&&0===S[1]?S=[0,0]:S[1]>=_[1]?S=[_[0],_[1]]:S[0]=-S[0],t[0].mcs||(n(),s("onInit")&&l.callbacks.onInit.call(t[0])),clearTimeout(u[0].onCompleteTimeout),Z(x[0],v,Math.round(S[1]),d[1],o.scrollEasing),!r.tweenRunning&&(0===w&&S[0]>=0||w===_[0]&&S[0]<=_[0])||Z(u[0],v,Math.round(S[0]),d[0],o.scrollEasing,o.overwrite,{onStart:function(){o.callbacks&&o.onStart&&!r.tweenRunning&&(s("onScrollStart")&&(n(),l.callbacks.onScrollStart.call(t[0])),r.tweenRunning=!0,y(x),r.cbOffsets=[l.callbacks.alwaysTriggerOffsets||w>=_[0]+b,l.callbacks.alwaysTriggerOffsets||-C>=w])},onUpdate:function(){o.callbacks&&o.onUpdate&&s("whileScrolling")&&(n(),l.callbacks.whileScrolling.call(t[0]))},onComplete:function(){if(o.callbacks&&o.onComplete){"yx"===l.axis&&clearTimeout(u[0].onCompleteTimeout);var e=u[0].idleTimer||0;u[0].onCompleteTimeout=setTimeout(function(){s("onScroll")&&(n(),l.callbacks.onScroll.call(t[0])),s("onTotalScroll")&&S[1]>=_[1]-j&&r.cbOffsets[0]&&(n(),l.callbacks.onTotalScroll.call(t[0])),s("onTotalScrollBack")&&S[1]<=B&&r.cbOffsets[1]&&(n(),l.callbacks.onTotalScrollBack.call(t[0])),r.tweenRunning=!1,u[0].idleTimer=0,y(x,"hide")},e)}}})}},Z=function(e,t,a,i,o,s,n){function r(){v.stop||(p||h.call(),p=J()-m,l(),p>=v.time&&(v.time=p>v.time?p+c-(p-v.time):p+c-1,v.time<p+1&&(v.time=p+1)),v.time<i?v.id=d(r):f.call())}function l(){i>0?(v.currVal=function(e,t,a,i,o){switch(o){case"linear":case"mcsLinear":return a*e/i+t;case"mcsLinearOut":return e/=i,e--,a*Math.sqrt(1-e*e)+t;case"easeInOutSmooth":return 1>(e/=i/2)?a/2*e*e+t:-a/2*(--e*(e-2)-1)+t;case"easeInOutStrong":return 1>(e/=i/2)?a/2*Math.pow(2,10*(e-1))+t:(e--,a/2*(2-Math.pow(2,-10*e))+t);case"easeInOut":case"mcsEaseInOut":return 1>(e/=i/2)?a/2*e*e*e+t:a/2*((e-=2)*e*e+2)+t;case"easeOutSmooth":return e/=i,-a*(--e*e*e*e-1)+t;case"easeOutStrong":return a*(1-Math.pow(2,-10*e/i))+t;case"easeOut":case"mcsEaseOut":default:var s=(e/=i)*e,n=s*e;return t+a*(.499999999999997*n*s+-2.5*s*s+5.5*n+-6.5*s+4*e)}}(v.time,g,w,i,o),x[t]=Math.round(v.currVal)+"px"):x[t]=a+"px",u.call()}e._mTween||(e._mTween={top:{},left:{}});var c,d,n=n||{},h=n.onStart||function(){},u=n.onUpdate||function(){},f=n.onComplete||function(){},m=J(),p=0,g=e.offsetTop,x=e.style,v=e._mTween[t];"left"===t&&(g=e.offsetLeft);var w=a-g;v.stop=0,"none"!==s&&null!=v.id&&(window.requestAnimationFrame?window.cancelAnimationFrame(v.id):clearTimeout(v.id),v.id=null),c=1e3/60,v.time=p+c,d=window.requestAnimationFrame?window.requestAnimationFrame:function(e){return l(),setTimeout(e,.01)},v.id=d(r)},J=function(){return window.performance&&window.performance.now?window.performance.now():window.performance&&window.performance.webkitNow?window.performance.webkitNow():Date.now?Date.now():(new Date).getTime()},G=function(){var e=this;e._mTween||(e._mTween={top:{},left:{}});for(var t=["top","left"],a=0;a<t.length;a++){var i=t[a];e._mTween[i].id&&(window.requestAnimationFrame?window.cancelAnimationFrame(e._mTween[i].id):clearTimeout(e._mTween[i].id),e._mTween[i].id=null,e._mTween[i].stop=1)}},K=function(e,t){try{delete e[t]}catch(a){e[t]=null}},$=function(e){return!(e.which&&1!==e.which)},ee=function(e){var t=e.originalEvent.pointerType;return!(t&&"touch"!==t&&2!==t)},te=function(e){return!isNaN(parseFloat(e))&&isFinite(e)},ae=function(e){var t=e.parents(".mCSB_container");return[e.offset().top-t.offset().top,e.offset().left-t.offset().left]},ie=function(){var e=function(){var e=["webkit","moz","ms","o"];if("hidden"in document)return"hidden";for(var t=0;t<e.length;t++)if(e[t]+"Hidden"in document)return e[t]+"Hidden";return null}();return!!e&&document[e]};e.fn[a]=function(t){return h[t]?h[t].apply(this,Array.prototype.slice.call(arguments,1)):"object"!=typeof t&&t?void e.error("Method "+t+" does not exist"):h.init.apply(this,arguments)},e[a]=function(t){return h[t]?h[t].apply(this,Array.prototype.slice.call(arguments,1)):"object"!=typeof t&&t?void e.error("Method "+t+" does not exist"):h.init.apply(this,arguments)},e[a].defaults=s,window[a]=!0,e(window).bind("load",function(){e(o)[a](),e.extend(e.expr[":"],{mcsInView:e.expr[":"].mcsInView||function(t){var a,i,o=e(t),s=o.parents(".mCSB_container");if(s.length)return a=s.parent(),(i=[s[0].offsetTop,s[0].offsetLeft])[0]+ae(o)[0]>=0&&i[0]+ae(o)[0]<a.height()-o.outerHeight(!1)&&i[1]+ae(o)[1]>=0&&i[1]+ae(o)[1]<a.width()-o.outerWidth(!1)},mcsInSight:e.expr[":"].mcsInSight||function(t,a,i){var o,s,n,r,l=e(t),c=l.parents(".mCSB_container"),d="exact"===i[3]?[[1,0],[1,0]]:[[.9,.1],[.6,.4]];if(c.length)return o=[l.outerHeight(!1),l.outerWidth(!1)],n=[c[0].offsetTop+ae(l)[0],c[0].offsetLeft+ae(l)[1]],s=[c.parent()[0].offsetHeight,c.parent()[0].offsetWidth],n[0]-s[0]*(r=[o[0]<s[0]?d[0]:d[1],o[1]<s[1]?d[0]:d[1]])[0][0]<0&&n[0]+o[0]-s[0]*r[0][1]>=0&&n[1]-s[1]*r[1][0]<0&&n[1]+o[1]-s[1]*r[1][1]>=0},mcsOverflow:e.expr[":"].mcsOverflow||function(t){var a=e(t).data(i);if(a)return a.overflowed[0]||a.overflowed[1]}})})}()});
public/js/ivory-search.js CHANGED
@@ -1,7 +1,7 @@
1
  ( function( $ ) {
2
  'use strict';
3
 
4
- $( window ).load( function() {
5
 
6
  $( '.is-menu a' ).on( 'click', function( e ) {
7
 
@@ -85,7 +85,7 @@
85
  return false;
86
  } );
87
 
88
- $( 'form.is-search-form, form.search-form' ).on( 'hover', function( e ) {
89
  if ( $( this ).next( ".is-link-container" ).length ){
90
  $( this ).append( $( this ).next( ".is-link-container" ).remove() );
91
  }
1
  ( function( $ ) {
2
  'use strict';
3
 
4
+ $( window ).on( 'load', function() {
5
 
6
  $( '.is-menu a' ).on( 'click', function( e ) {
7
 
85
  return false;
86
  } );
87
 
88
+ $( 'form.is-search-form, form.search-form' ).on( 'mouseover', function( e ) {
89
  if ( $( this ).next( ".is-link-container" ).length ){
90
  $( this ).append( $( this ).next( ".is-link-container" ).remove() );
91
  }
public/js/ivory-search.min.js CHANGED
@@ -1 +1 @@
1
- function ivory_search_analytics(s,e,t){try{var i="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:t});!1!==i&&i("send",{hitType:"event",eventCategory:t,eventAction:"Ivory Search - "+s,eventLabel:e})}catch(s){}}!function(s){"use strict";s(window).load(function(){(s(".is-menu a").on("click",function(e){if(e.stopPropagation(),e.preventDefault(),"static"===s(this).parent().parent().css("position")&&s(this).parent().parent().css("position","relative"),s(this).closest(".is-menu-wrapper").length&&(s(this).parent().hasClass("sliding")||s(this).parent().hasClass("full-width-menu"))&&s(this).closest(".is-menu-wrapper").addClass("is-expanded"),s(this).parent().hasClass("sliding")||s(this).parent().hasClass("full-width-menu")){s(this).parent().find("button.is-search-submit").hide();var t=s(this).parent("li.is-menu").outerHeight();t/=2,s(this).parent().find("form").css({top:t-18+"px"}),s(this).parent().find(".search-close").css({top:t-10+"px"})}if(s(this).parent().hasClass("is-dropdown"))s(this).parent().find("form").fadeToggle();else if(s(this).parent().hasClass("sliding"))s(this).parent().find("form").animate({width:"310"},function(){s(this).parent().find("button.is-search-submit").show()});else if(s(this).parent().hasClass("full-width-menu")){s(this).parent().addClass("active-search");var i=s(this).parent().parent().outerWidth(),a=s(this).offset();!s(this).parent().hasClass("is-first")&&a.left<i&&(i=a.left),s(this).parent().find("form").animate({width:i+"px"},function(){s(this).parent().find("button.is-search-submit").show()})}else s(this).parent().hasClass("popup")&&(s("#is-popup-wrapper").show(),s('#is-popup-wrapper form input[type="text"], #is-popup-wrapper form input[type="search"]').focus());(s(this).parent().hasClass("sliding")||s(this).parent().hasClass("full-width-menu"))&&(s(this).parent().addClass("open"),s(this).parent().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").hide()}),"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:"")}),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("hover",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-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-menu").hasClass("is-dropdown")&&s(".is-menu form").fadeOut())})}(jQuery);
1
+ function ivory_search_analytics(s,e,t){try{var i="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:t});!1!==i&&i("send",{hitType:"event",eventCategory:t,eventAction:"Ivory Search - "+s,eventLabel:e})}catch(s){}}!function(s){"use strict";s(window).on("load",function(){(s(".is-menu a").on("click",function(e){if(e.stopPropagation(),e.preventDefault(),"static"===s(this).parent().parent().css("position")&&s(this).parent().parent().css("position","relative"),s(this).closest(".is-menu-wrapper").length&&(s(this).parent().hasClass("sliding")||s(this).parent().hasClass("full-width-menu"))&&s(this).closest(".is-menu-wrapper").addClass("is-expanded"),s(this).parent().hasClass("sliding")||s(this).parent().hasClass("full-width-menu")){s(this).parent().find("button.is-search-submit").hide();var t=s(this).parent("li.is-menu").outerHeight();t/=2,s(this).parent().find("form").css({top:t-18+"px"}),s(this).parent().find(".search-close").css({top:t-10+"px"})}if(s(this).parent().hasClass("is-dropdown"))s(this).parent().find("form").fadeToggle();else if(s(this).parent().hasClass("sliding"))s(this).parent().find("form").animate({width:"310"},function(){s(this).parent().find("button.is-search-submit").show()});else if(s(this).parent().hasClass("full-width-menu")){s(this).parent().addClass("active-search");var i=s(this).parent().parent().outerWidth(),a=s(this).offset();!s(this).parent().hasClass("is-first")&&a.left<i&&(i=a.left),s(this).parent().find("form").animate({width:i+"px"},function(){s(this).parent().find("button.is-search-submit").show()})}else s(this).parent().hasClass("popup")&&(s("#is-popup-wrapper").show(),s('#is-popup-wrapper form input[type="text"], #is-popup-wrapper form input[type="search"]').focus());(s(this).parent().hasClass("sliding")||s(this).parent().hasClass("full-width-menu"))&&(s(this).parent().addClass("open"),s(this).parent().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").hide()}),"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:"")}),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-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-menu").hasClass("is-dropdown")&&s(".is-menu form").fadeOut())})}(jQuery);
public/partials/is-ajax-results.php CHANGED
@@ -13,6 +13,7 @@ if( 1 == $page ) { ?>
13
  <div class="is-ajax-search-items <?php echo esc_attr( $posts_class ); ?>">
14
  <?php }
15
  if ( isset( $is_includes['post_type'] ) && in_array( 'product', $is_includes['post_type'] ) ) {
 
16
  // Show matching tags.
17
  if( isset( $field['show_matching_tags'] ) && $field['show_matching_tags'] && 1 == $page ) {
18
  $this->term_title_markup( array(
@@ -20,6 +21,7 @@ if( 1 == $page ) { ?>
20
  'search_term' => $search_term,
21
  'title' => __( 'Tag', 'add-search-to-menu' ),
22
  'wrapper_class' => 'is-ajax-search-tags',
 
23
  ) );
24
  }
25
 
@@ -30,6 +32,7 @@ if( 1 == $page ) { ?>
30
  'search_term' => $search_term,
31
  'title' => __( 'Category', 'add-search-to-menu' ),
32
  'wrapper_class' => 'is-ajax-search-categories',
 
33
  ) );
34
  }
35
  }
@@ -126,7 +129,7 @@ if( 1 == $page ) { ?>
126
  </div>
127
  <?php } ?>
128
  <?php
129
- if ( isset( $field['show_more_result'] ) && $field['show_more_result'] && ( count( $posts->posts ) >= $posts_per_page ) ) {
130
  $next_page = $page + 1;
131
  $show_more_class = ( isset( $field['show_more_func'] ) && $field['show_more_func'] ) ? 'redirect-tosr' : '';
132
  ?>
13
  <div class="is-ajax-search-items <?php echo esc_attr( $posts_class ); ?>">
14
  <?php }
15
  if ( isset( $is_includes['post_type'] ) && in_array( 'product', $is_includes['post_type'] ) ) {
16
+ $strict = isset( $is_settings['fuzzy_match'] ) && 1 == $is_settings['fuzzy_match'] ? true : false;
17
  // Show matching tags.
18
  if( isset( $field['show_matching_tags'] ) && $field['show_matching_tags'] && 1 == $page ) {
19
  $this->term_title_markup( array(
21
  'search_term' => $search_term,
22
  'title' => __( 'Tag', 'add-search-to-menu' ),
23
  'wrapper_class' => 'is-ajax-search-tags',
24
+ 'strict' => $strict,
25
  ) );
26
  }
27
 
32
  'search_term' => $search_term,
33
  'title' => __( 'Category', 'add-search-to-menu' ),
34
  'wrapper_class' => 'is-ajax-search-categories',
35
+ 'strict' => $strict,
36
  ) );
37
  }
38
  }
129
  </div>
130
  <?php } ?>
131
  <?php
132
+ if ( isset( $field['show_more_result'] ) && $field['show_more_result'] && ( $posts->found_posts > ( $posts_per_page * $page ) ) ) {
133
  $next_page = $page + 1;
134
  $show_more_class = ( isset( $field['show_more_func'] ) && $field['show_more_func'] ) ? 'redirect-tosr' : '';
135
  ?>
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.5
7
  Requires PHP: 5.2.4
8
- Stable tag: 4.5.4
9
  License: GPLv2 or later
10
  License URI: https://www.gnu.org/licenses/gpl-2.0.html
11
 
@@ -193,6 +193,9 @@ Yes we do. We try our best to help free users with customisation requests and we
193
 
194
  == Changelog ==
195
 
 
 
 
196
  = 4.5.4 =
197
  * Fixed - Elementor nav menu compatibility issue.
198
  * Fixed - AJAX search results scroll issue.
@@ -218,8 +221,3 @@ Yes we do. We try our best to help free users with customisation requests and we
218
 
219
  = 4.5 =
220
  * Added - Option to track searches in google search analytics.
221
-
222
- == Upgrade Notice ==
223
-
224
- = 4.5.2 =
225
- Implemented major search form UI enhancements! Please test it before upgrading
5
  Requires at least: 3.9
6
  Tested up to: 5.5
7
  Requires PHP: 5.2.4
8
+ Stable tag: 4.5.5
9
  License: GPLv2 or later
10
  License URI: https://www.gnu.org/licenses/gpl-2.0.html
11
 
193
 
194
  == Changelog ==
195
 
196
+ = 4.5.5 =
197
+ * Fixed - Latest jQuery version compatibility issue.
198
+
199
  = 4.5.4 =
200
  * Fixed - Elementor nav menu compatibility issue.
201
  * Fixed - AJAX search results scroll issue.
221
 
222
  = 4.5 =
223
  * Added - Option to track searches in google search analytics.