YITH WooCommerce Ajax Product Filter - Version 4.13.0

Version Description

  • Released on 08 August 2022 =

  • New: support for WooCommerce 6.8

  • Update: YITH plugin framework

  • Dev: minor changes

Download this release

Release Info

Developer yithemes
Plugin Icon 128x128 YITH WooCommerce Ajax Product Filter
Version 4.13.0
Comparing to
See all releases

Code changes from version 4.12.0 to 4.13.0

Files changed (65) hide show
  1. assets/css/shortcodes.css +25 -24
  2. assets/css/shortcodes.css.map +1 -1
  3. assets/js/shortcodes/config.js +2 -1
  4. assets/js/shortcodes/modules/yith-wcan-dropdown.js +27 -8
  5. assets/js/yith-wcan-shortcodes.js +30 -49
  6. assets/js/yith-wcan-shortcodes.js.map +1 -1
  7. assets/js/yith-wcan-shortcodes.min.js +1 -1
  8. assets/scss/shortcodes.scss +41 -43
  9. includes/class-yith-wcan-admin.php +41 -42
  10. includes/class-yith-wcan-filter.php +50 -8
  11. includes/class-yith-wcan-frontend.php +35 -1
  12. includes/class-yith-wcan-query.php +11 -7
  13. includes/class-yith-wcan.php +6 -37
  14. includes/compatibility/themes/hello-elementor/hello-elementor.php +1 -1
  15. includes/elementor/class-yith-wcan-elementor-filters.php +14 -1
  16. includes/elementor/class-yith-wcan-elementor-reset-button.php +26 -2
  17. includes/filters/class-yith-wcan-filter-tax.php +10 -6
  18. includes/functions-yith-wcan.php +6 -0
  19. init.php +40 -25
  20. languages/yith-woocommerce-ajax-navigation-de_DE.po +69 -69
  21. languages/yith-woocommerce-ajax-navigation-de_DE_formal.po +69 -69
  22. languages/yith-woocommerce-ajax-navigation-el.po +69 -69
  23. languages/yith-woocommerce-ajax-navigation-es_ES.po +69 -69
  24. languages/yith-woocommerce-ajax-navigation-fr_FR.po +69 -69
  25. languages/yith-woocommerce-ajax-navigation-it_IT.mo +0 -0
  26. languages/yith-woocommerce-ajax-navigation-it_IT.po +76 -71
  27. languages/yith-woocommerce-ajax-navigation-nl_NL.po +69 -69
  28. languages/yith-woocommerce-ajax-navigation-tr_TR.po +68 -68
  29. languages/yith-woocommerce-ajax-navigation.pot +68 -68
  30. plugin-fw/assets/css/yit-plugin-panel.css +43 -11
  31. plugin-fw/assets/css/yith-bh-onboarding.css +170 -0
  32. plugin-fw/assets/css/yith-fields.css +1 -5
  33. plugin-fw/assets/images/bh-onboarding/check.svg +16 -0
  34. plugin-fw/assets/images/help-tab/documentation.svg +176 -0
  35. plugin-fw/assets/images/help-tab/support-desk.svg +37 -0
  36. plugin-fw/assets/js/yit-plugin-panel.js +2 -2
  37. plugin-fw/assets/js/yit-plugin-panel.min.js +1 -1
  38. plugin-fw/assets/js/yith-bh-onboarding.js +65 -0
  39. plugin-fw/assets/js/yith-bh-onboarding.min.js +1 -0
  40. plugin-fw/includes/class-yit-assets.php +10 -0
  41. plugin-fw/includes/class-yit-plugin-panel-woocommerce.php +11 -5
  42. plugin-fw/includes/class-yit-plugin-panel.php +21 -6
  43. plugin-fw/includes/class-yith-bh-onboarding.php +110 -0
  44. plugin-fw/init.php +2 -2
  45. plugin-fw/languages/yith-plugin-fw-el.mo +0 -0
  46. plugin-fw/languages/yith-plugin-fw-el.po +119 -68
  47. plugin-fw/languages/yith-plugin-fw-es_ES.mo +0 -0
  48. plugin-fw/languages/yith-plugin-fw-es_ES.po +130 -69
  49. plugin-fw/languages/yith-plugin-fw-it_IT.mo +0 -0
  50. plugin-fw/languages/yith-plugin-fw-it_IT.po +130 -69
  51. plugin-fw/languages/yith-plugin-fw-nl_NL.mo +0 -0
  52. plugin-fw/languages/yith-plugin-fw-nl_NL.po +124 -68
  53. plugin-fw/languages/yith-plugin-fw-ru_RU.mo +0 -0
  54. plugin-fw/languages/yith-plugin-fw-ru_RU.po +125 -69
  55. plugin-fw/languages/yith-plugin-fw-zh_CN.mo +0 -0
  56. plugin-fw/languages/yith-plugin-fw-zh_CN.po +124 -67
  57. plugin-fw/languages/yith-plugin-fw.pot +119 -68
  58. plugin-fw/templates/bh-onboarding/onboarding-tabs.php +75 -0
  59. plugin-fw/templates/panel/help-tab.php +44 -6
  60. plugin-fw/templates/panel/premium-tab.php +9 -2
  61. plugin-fw/templates/panel/woocommerce/woocommerce-form.php +1 -1
  62. plugin-fw/yit-deactive-plugin.php +4 -50
  63. plugin-fw/yit-plugin.php +82 -12
  64. plugin-options/seo-options.php +62 -60
  65. readme.txt +7 -1
assets/css/shortcodes.css CHANGED
@@ -9,14 +9,14 @@
9
  .yith-wcan-filters .yith-wcan-filter {
10
  margin-bottom: 30px;
11
  }
12
- .yith-wcan-filters .yith-wcan-filter h4 {
13
  color: var(--yith-wcan-filters_colors_titles, #434343);
14
  }
15
- .yith-wcan-filters .yith-wcan-filter h4.collapsable {
16
  cursor: pointer;
17
  position: relative;
18
  }
19
- .yith-wcan-filters .yith-wcan-filter h4.collapsable:after {
20
  background-size: 100% auto;
21
  content: "";
22
  display: block;
@@ -26,16 +26,16 @@
26
  top: calc(50% - 5px);
27
  width: 10px;
28
  }
29
- .yith-wcan-filters .yith-wcan-filter h4.collapsable.closed:after {
30
  background-image: url("../images/arrow-down.svg");
31
  }
32
- .yith-wcan-filters .yith-wcan-filter h4.collapsable.open:after, .yith-wcan-filters .yith-wcan-filter h4.collapsable.opened:after {
33
  background-image: url("../images/arrow-up.svg");
34
  }
35
- .yith-wcan-filters .yith-wcan-filter h4.collapsable:after {
36
  right: 5px;
37
  }
38
- .yith-wcan-filters .yith-wcan-filter h4.collapsable.collapsable.closed + .filter-content {
39
  display: none;
40
  }
41
  .yith-wcan-filters .yith-wcan-filter .filter-items {
@@ -54,14 +54,10 @@
54
  font-size: 0;
55
  margin: 0 -5px;
56
  }
57
- .yith-wcan-filters .yith-wcan-filter .filter-items.filter-label.with-images {
58
  font-size: 0;
59
  margin: 0 -5px;
60
  }
61
- .yith-wcan-filters .yith-wcan-filter .filter-items.filter-label:not(.with-images) .filter-item {
62
- margin-right: 5px;
63
- margin-bottom: 10px;
64
- }
65
  .yith-wcan-filters .yith-wcan-filter .filter-items.filter-dropdown {
66
  display: none;
67
  }
@@ -196,6 +192,7 @@
196
  box-shadow: 0 0 0 1px #D7D7D7;
197
  border-radius: 4px;
198
  display: inline-block;
 
199
  padding: 7px;
200
  text-align: center;
201
  }
@@ -254,7 +251,6 @@
254
  background: none;
255
  box-shadow: none;
256
  display: block;
257
- margin: 0 0 10px;
258
  padding: 0;
259
  text-align: left;
260
  width: 100%;
@@ -783,10 +779,10 @@
783
  margin-bottom: 15px;
784
  padding: 15px;
785
  }
786
- .yith-wcan-filters.filters-modal .yith-wcan-filter h4 {
787
  margin: 0;
788
  }
789
- .yith-wcan-filters.filters-modal .yith-wcan-filter h4.collapsable:after {
790
  right: 5px;
791
  }
792
  .yith-wcan-filters.filters-modal .yith-wcan-filter .filter-content {
@@ -840,7 +836,7 @@
840
  position: relative;
841
  vertical-align: top;
842
  }
843
- .yith-wcan-filters.horizontal:not(.filters-modal) .yith-wcan-filter h4.collapsable {
844
  border: 1px solid #D7D7D7;
845
  border-radius: 4px;
846
  font-weight: 400;
@@ -849,21 +845,20 @@
849
  margin-right: 15px;
850
  padding: 10px 40px 10px 20px;
851
  }
852
- .yith-wcan-filters.horizontal:not(.filters-modal) .yith-wcan-filter h4.collapsable:after {
853
  right: 15px;
854
  }
855
- .yith-wcan-filters.horizontal:not(.filters-modal) .yith-wcan-filter h4.collapsable span.filter-count {
856
  border: 2px solid var(--yith-wcan-filters_colors_accent, #4e8ba2);
857
  padding: 0 5px;
858
  font-size: 0.8em;
859
  margin: 0 10px;
860
  }
861
- .yith-wcan-filters.horizontal:not(.filters-modal) .yith-wcan-filter h4.collapsable.opened,
862
- .yith-wcan-filters.horizontal:not(.filters-modal) .yith-wcan-filter h4.collapsable.opened + .filter-content {
863
  border: 1px solid rgba(var(--yith-wcan-filters_colors_accent_r, 73), var(--yith-wcan-filters_colors_accent_g, 139), var(--yith-wcan-filters_colors_accent_b, 162), 0.3);
864
  box-shadow: 0 0 7px 0 rgba(var(--yith-wcan-filters_colors_accent_r, 73), var(--yith-wcan-filters_colors_accent_g, 139), var(--yith-wcan-filters_colors_accent_b, 162), 0.3);
865
  }
866
- .yith-wcan-filters.horizontal:not(.filters-modal) .yith-wcan-filter h4.collapsable + .filter-content {
867
  background-color: #fff;
868
  border: 1px solid #D7D7D7;
869
  border-radius: 4px;
@@ -873,16 +868,16 @@
873
  width: 100%;
874
  z-index: 1001;
875
  }
876
- .yith-wcan-filters.horizontal:not(.filters-modal) .yith-wcan-filter h4.collapsable + .filter-content .filter-content-footer {
877
  background-color: #f0f0f0;
878
  margin: 20px -20px -20px;
879
  padding: 15px 20px;
880
  text-align: right;
881
  }
882
- .yith-wcan-filters.horizontal:not(.filters-modal) .yith-wcan-filter h4.collapsable + .filter-content .filter-content-footer .apply-filters {
883
  margin: 0;
884
  }
885
- .yith-wcan-filters.horizontal:not(.filters-modal) .yith-wcan-filter h4.collapsable + .filter-content .filter-content-footer .clear-selection {
886
  background: #CBCBCB;
887
  border-color: #CBCBCB;
888
  color: #434343;
@@ -943,6 +938,10 @@ body.rtl .yith-wcan-filters .yith-wcan-filter .filter-items.level-0 ul {
943
  padding-left: 0;
944
  padding-right: 15px;
945
  }
 
 
 
 
946
 
947
  @media (max-width: 991px) {
948
  body.filters-in-modal .yith-wcan-filters {
@@ -981,6 +980,7 @@ body.rtl .yith-wcan-filters .yith-wcan-filter .filter-items.level-0 ul {
981
  margin-bottom: 0;
982
  padding: 4px 15px 3px;
983
  position: relative;
 
984
  position: relative;
985
  }
986
  .yith-wcan-active-filters .active-filter .active-filter-label:after {
@@ -1028,6 +1028,7 @@ body.rtl .yith-wcan-filters .yith-wcan-filter .filter-items.level-0 ul {
1028
  margin-bottom: 0;
1029
  padding: 4px 15px 3px;
1030
  position: relative;
 
1031
  background-color: var(--yith-wcan-filters_colors_accent, #4e8ba2);
1032
  color: #fff;
1033
  }
9
  .yith-wcan-filters .yith-wcan-filter {
10
  margin-bottom: 30px;
11
  }
12
+ .yith-wcan-filters .yith-wcan-filter .filter-title {
13
  color: var(--yith-wcan-filters_colors_titles, #434343);
14
  }
15
+ .yith-wcan-filters .yith-wcan-filter .filter-title.collapsable {
16
  cursor: pointer;
17
  position: relative;
18
  }
19
+ .yith-wcan-filters .yith-wcan-filter .filter-title.collapsable:after {
20
  background-size: 100% auto;
21
  content: "";
22
  display: block;
26
  top: calc(50% - 5px);
27
  width: 10px;
28
  }
29
+ .yith-wcan-filters .yith-wcan-filter .filter-title.collapsable.closed:after {
30
  background-image: url("../images/arrow-down.svg");
31
  }
32
+ .yith-wcan-filters .yith-wcan-filter .filter-title.collapsable.open:after, .yith-wcan-filters .yith-wcan-filter .filter-title.collapsable.opened:after {
33
  background-image: url("../images/arrow-up.svg");
34
  }
35
+ .yith-wcan-filters .yith-wcan-filter .filter-title.collapsable:after {
36
  right: 5px;
37
  }
38
+ .yith-wcan-filters .yith-wcan-filter .filter-title.collapsable.collapsable.closed + .filter-content {
39
  display: none;
40
  }
41
  .yith-wcan-filters .yith-wcan-filter .filter-items {
54
  font-size: 0;
55
  margin: 0 -5px;
56
  }
57
+ .yith-wcan-filters .yith-wcan-filter .filter-items.filter-label {
58
  font-size: 0;
59
  margin: 0 -5px;
60
  }
 
 
 
 
61
  .yith-wcan-filters .yith-wcan-filter .filter-items.filter-dropdown {
62
  display: none;
63
  }
192
  box-shadow: 0 0 0 1px #D7D7D7;
193
  border-radius: 4px;
194
  display: inline-block;
195
+ margin: 0 5px 10px;
196
  padding: 7px;
197
  text-align: center;
198
  }
251
  background: none;
252
  box-shadow: none;
253
  display: block;
 
254
  padding: 0;
255
  text-align: left;
256
  width: 100%;
779
  margin-bottom: 15px;
780
  padding: 15px;
781
  }
782
+ .yith-wcan-filters.filters-modal .yith-wcan-filter .filter-title {
783
  margin: 0;
784
  }
785
+ .yith-wcan-filters.filters-modal .yith-wcan-filter .filter-title.collapsable:after {
786
  right: 5px;
787
  }
788
  .yith-wcan-filters.filters-modal .yith-wcan-filter .filter-content {
836
  position: relative;
837
  vertical-align: top;
838
  }
839
+ .yith-wcan-filters.horizontal:not(.filters-modal) .yith-wcan-filter .filter-title.collapsable {
840
  border: 1px solid #D7D7D7;
841
  border-radius: 4px;
842
  font-weight: 400;
845
  margin-right: 15px;
846
  padding: 10px 40px 10px 20px;
847
  }
848
+ .yith-wcan-filters.horizontal:not(.filters-modal) .yith-wcan-filter .filter-title.collapsable:after {
849
  right: 15px;
850
  }
851
+ .yith-wcan-filters.horizontal:not(.filters-modal) .yith-wcan-filter .filter-title.collapsable span.filter-count {
852
  border: 2px solid var(--yith-wcan-filters_colors_accent, #4e8ba2);
853
  padding: 0 5px;
854
  font-size: 0.8em;
855
  margin: 0 10px;
856
  }
857
+ .yith-wcan-filters.horizontal:not(.filters-modal) .yith-wcan-filter .filter-title.collapsable.opened, .yith-wcan-filters.horizontal:not(.filters-modal) .yith-wcan-filter .filter-title.collapsable.opened + .filter-content {
 
858
  border: 1px solid rgba(var(--yith-wcan-filters_colors_accent_r, 73), var(--yith-wcan-filters_colors_accent_g, 139), var(--yith-wcan-filters_colors_accent_b, 162), 0.3);
859
  box-shadow: 0 0 7px 0 rgba(var(--yith-wcan-filters_colors_accent_r, 73), var(--yith-wcan-filters_colors_accent_g, 139), var(--yith-wcan-filters_colors_accent_b, 162), 0.3);
860
  }
861
+ .yith-wcan-filters.horizontal:not(.filters-modal) .yith-wcan-filter .filter-title.collapsable + .filter-content {
862
  background-color: #fff;
863
  border: 1px solid #D7D7D7;
864
  border-radius: 4px;
868
  width: 100%;
869
  z-index: 1001;
870
  }
871
+ .yith-wcan-filters.horizontal:not(.filters-modal) .yith-wcan-filter .filter-title.collapsable + .filter-content .filter-content-footer {
872
  background-color: #f0f0f0;
873
  margin: 20px -20px -20px;
874
  padding: 15px 20px;
875
  text-align: right;
876
  }
877
+ .yith-wcan-filters.horizontal:not(.filters-modal) .yith-wcan-filter .filter-title.collapsable + .filter-content .filter-content-footer .apply-filters {
878
  margin: 0;
879
  }
880
+ .yith-wcan-filters.horizontal:not(.filters-modal) .yith-wcan-filter .filter-title.collapsable + .filter-content .filter-content-footer .clear-selection {
881
  background: #CBCBCB;
882
  border-color: #CBCBCB;
883
  color: #434343;
938
  padding-left: 0;
939
  padding-right: 15px;
940
  }
941
+ body.rtl .yith-wcan-filters .yith-wcan-filter .filter-title.collapsable:after {
942
+ left: 5px;
943
+ right: auto;
944
+ }
945
 
946
  @media (max-width: 991px) {
947
  body.filters-in-modal .yith-wcan-filters {
980
  margin-bottom: 0;
981
  padding: 4px 15px 3px;
982
  position: relative;
983
+ text-decoration: none;
984
  position: relative;
985
  }
986
  .yith-wcan-active-filters .active-filter .active-filter-label:after {
1028
  margin-bottom: 0;
1029
  padding: 4px 15px 3px;
1030
  position: relative;
1031
+ text-decoration: none;
1032
  background-color: var(--yith-wcan-filters_colors_accent, #4e8ba2);
1033
  color: #fff;
1034
  }
assets/css/shortcodes.css.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"sourceRoot":"","sources":["../scss/shortcodes.scss"],"names":[],"mappings":"AAwJA;AAEA;EACC;EACA;;AAGC;EACC;;AAIF;EACC;;AAGA;EACC;;AAEA;EAjJF;EACA;;AAEA;EACC;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;AAGD;EAeA;;AAXA;EAOA;;AA2HG;EACC;;AAGD;EACC;;AAMH;EACC;EACA;EACA;;AAEA;EACC;EACA;;AAEA;EACC;;AAIF;EACC;EACA;;AAGD;EACC;EACA;;AAIA;EACC;EACA;;AAIF;EACC;;AAGD;EAEC;EACA;;AAGA;EAEC,OA9NU;EA+NV;;AAGD;EAEC;;AAGD;EACC;;AAGD;EAEC,OAzOY;EA0OZ;;AAGD;EAEC;;AAID;EACC;EACA;;AAEA;EACC;EACA;;AAGD;EAEC;EACA;;AAGD;EAEC;;AAGD;EACC;EACA;EACA;;AAEA;AAAA;EAEC;EACA;;AAGD;EACC;EACA;;AAIF;EACC;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;AAEA;EACC;EACA;EACA;;AAGD;EACC;EACA;EACA;EACA;;AAGD;EACC,cArTQ;;AAyTV;EACC;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;AAEA;EACC,cArUQ;;AAwUT;EACC;EACA;;AAIF;EAEC;;AAGD;EACC;EACA;EACA;EACA;;AAGD;EACC;;AAKD;EACC,cAjWS;;AAoWV;EAlSJ,kBAlEc;EAmEd;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;AAwRG;EACC;EACA;EACA,eAzWW;EA0WX;EACA;EACA;;AAEA;EACC;EACA;EACA;;AAGD;EACC;;AAEA;EAzTL,kBAlEc;EAmEd;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EA4SM;EACA;;AAIF;EAEC;EACA,OAtYS;;AAyYV;EACC;EACA;EACA;;AAEA;AAAA;EAEC;;AAIF;EACC;EACA;EACA;;AAEA;AAAA;EAEC;;AAIF;EACC;EACA;EACA;EACA;EACA;EACA;EACA;;AAEA;EACC;EACA,OAzaQ;;AA2aR;EACC;;AAQF;EACC;;AAGD;EACC;EACA;EACA;;AAGD;EACC;EACA;;AAIF;EACC;EACA;EACA;;AAEA;EACC;EACA;;AAIF;EACC;EACA;;AAGD;EACC;;AAKF;EACC;;AAEA;EACC;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;AAGD;EAzbJ;;AA6bI;EAjcJ;;AAqcI;EACC;;AAKF;EACC,OArfY;EAsfZ;;AAID;EAjfH;EACA;EACA;EACA;;AAmfG;EACC,kBArgBU;EAsgBV,cAtgBU;;AAwgBX;EACC,kBAzgBU;;AA6Ib;EARD;EACA;EACA;EACA;;AAKC;EARD;EACA;EACA;EACA;;AAKC;EARD;EACA;EACA;EACA;;AAKC;EARD;EACA;EACA;EACA;;AAKC;EARD;EACA;EACA;EACA;;AAKC;EARD;EACA;EACA;EACA;;AAKC;EARD;EACA;EACA;EACA;;AAKC;EARD;EACA;EACA;EACA;;AAyYC;EACC;;AAID;EAjbD,kBArGc;EAsGd;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EA4aE;EACA;EACA;;AA5aF;EACC;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;AAGD;EACC;EACA;;AAgaC;AAAA;EACC;EACA;;AAIF;EACC;;AAEA;EACC;;AAMD;AAAA;EACC;EACA;EACA;EACA;EACA;;AAMD;EACC;;AAEA;EACC;EACA;EACA;;AAGD;AAAA;EAEC;EACA;;AAGD;EACC;;AAGD;EACC;;AAGD;EACC;;AAIF;EACC;;AAEA;AAAA;EAEC;EACA;EACA;;AAIF;AAAA;EAEC;EACA,eAjmBY;;AAomBb;EACC,kBAzmBW;;AA4mBZ;EACC;EACA,kBA9mBW;EA+mBX;EACA;EACA;EACA;;AAGD;AAAA;EAEC;EACA;;AAGD;AAAA;AAAA;EAthBF,kBArGc;EAsGd;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EAmhBG;;AAjhBH;AAAA;AAAA;EACC;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;AAGD;AAAA;AAAA;EACC;EACA;;AAkgBE;AAAA;AAAA;EACC;EACA;EACA;EACA;EACA;;AAMH;EACC;EACA,eA3oBa;EA4oBb;EA3nBF;EACA;;AAEA;EACC;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;AAGD;EAeA;;AAXA;EAOA;;AAsmBE;EACC;EACA;EACA,eAnpBY;EAopBZ;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;AAEA;EACC;EACA;;AAEA;EACC;EACA;;AAEA;EACC,cA1qBQ;EA2qBR;EACA,eA5qBQ;;AAgrBV;EACC;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;AAIF;EACC;EACA;EACA;;AAEA;EACC;;AAEA;EACC;EACA;;AAjpBN;EACC;EACA;;AAGD;EACC,kBA5Da;EA6Db,eAzDc;;AA0sBZ;EACC;EACA;EACA;EACA;EACA;;AAEA;EACC,OArtBS;;AA0tBZ;EACC;;AAEA;EAhtBH;EACA;EACA;EACA;;AAktBE;EACC;EACA;;AAEA;EACC;;AAMH;EACC;EACA;EACA;EACA;;AAMD;EACC;;AAEA;EACC;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;AAGD;EACC;EACA;EACA;EACA;EACA;EACA;EACA,eAzwBY;EA0wBZ;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;AAGD;EACC;EACA;EACA;EACA;EACA,kBA7xBW;EA8xBX,cA9xBW;EA+xBX;EACA;;AAIF;EACC;;AAEA;EACC;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;AAGD;EACC;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;AAGD;EACC,kBAt0BW;EAu0BX;;AAIF;EACC,OAt0BU;;AA20BZ;EACC;;AAID;EACC;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EAEA;EACA;;AAEA;EACC,YA71BU;EA81BV;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;AAEA;EACC;;AAIF;EACC;EACA;EACA;EACA;;AAn0BF;EACC;EACA;;AAGD;EACC,kBA5Da;EA6Db,eAzDc;;AAy3Bb;EACC;EACA;EACA;;AAIF;EACC;;AAGD;EACC;EACA,eAt4Ba;EAu4Bb;EACA;;AAEA;EACC;;AAEA;EACC;;AAIF;EACC;;AAIF;EACC;EACA;EACA;;AAGD;EACC,OAj6BY;EAk6BZ;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;AAEA;EACC,OAj7BW;;AAq7Bb;EACC,kBAt7BY;EAu7BZ,cAv7BY;EAw7BZ;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;AAKF;EACC;;AAEA;EACC;EACA;EACA;EACA;EACA;;AAEA;EACC;EACA,eA/8BY;EAg9BZ;EACA;EACA;EACA;EACA;;AAEA;EACC;;AAGD;EACC;EACA;EACA;EACA;;AAIF;AAAA;EAEC;EACA;;AAGD;EACC;EACA;EACA,eA3+BY;EA4+BZ;EACA;EACA;EACA;EACA,SA1+BM;;AA4+BN;EACC,kBA/+Ba;EAg/Bb;EACA;EACA;;AAEA;EACC;;AAGD;EACC;EACA;EACA;EAEA;EACA;;AAMH;EACC;EACA;EACA;EACA;;AA19BH;EACC;EACA;;AAGD;EACC,kBA5Da;EA6Db,eAzDc;;AAihCb;EACC;;AAKA;EACC;;AAEA;EACC;;AAKD;EACC;;AAMJ;EACC;;;AAKH;EACC;;;AAGD;EACC;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA,SArjCS;;AAujCT;EACC;;;AAQE;EACC;EACA;;;AAOL;EACC;IACC;;;AAIF;EACC;IACC;;;AAIF;AAEA;EACC;EACA;;AAEA;EACC;EACA;EACA;;AAEA;EACC;EACA;;AAGD;EAzhCD;EACA;EACA,OAvFc;EAwFd;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EAihCE;;AAEA;EAljCF,kBAlEc;EAmEd;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;AAsiCE;EA1mCF;EACA;EACA;EACA;EAymCG;;AAKH;EACC;;AAGD;EACC,OA9nCW;;AAioCZ;EAjjCA;EACA;EACA,OAvFc;EAwFd;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EAyiCC,kBA1oCa;EA2oCb;;AAEA;EACC;EACA;;;AAKH;AAEA;EACC;EACA,eAppCe;EAqpCf;EACA,OAzpCc;EA0pCd;EACA,eA5pCc;;AA8pCd;EACC;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;AAGD;EACC,YA3qCa;EA4qCb,cA5qCa;EA6qCb;;AAEA;EACC","file":"shortcodes.css"}
1
+ {"version":3,"sourceRoot":"","sources":["../scss/shortcodes.scss"],"names":[],"mappings":"AAyJA;AAEA;EACC;EACA;;AAGC;EACC;;AAIF;EACC;;AAGA;EACC;;AAEA;EAlJF;EACA;;AAEA;EACC;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;AAGD;EAeA;;AAXA;EAOA;;AA4HG;EACC;;AAGD;EACC;;AAMH;EACC;EACA;EACA;;AAEA;EACC;EACA;;AAEA;EACC;;AAIF;EACC;EACA;;AAGD;EACC;EACA;;AAGD;EACC;;AAGD;EAEC;EACA;;AAGA;EAEC,OAxNU;EAyNV;;AAGD;EAEC;;AAGD;EACC;;AAGD;EAEC,OAnOY;EAoOZ;;AAGD;EAEC;;AAID;EACC;EACA;;AAEA;EACC;EACA;;AAGD;EAEC;EACA;;AAGD;EAEC;;AAGD;EACC;EACA;EACA;;AAEA;AAAA;EAEC;EACA;;AAGD;EACC;EACA;;AAIF;EACC;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;AAEA;EACC;EACA;EACA;;AAGD;EACC;EACA;EACA;EACA;;AAGD;EACC,cA/SQ;;AAmTV;EACC;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;AAEA;EACC,cA/TQ;;AAkUT;EACC;EACA;;AAIF;EAEC;;AAGD;EACC;EACA;EACA;EACA;;AAGD;EACC;;AAKD;EACC,cA3VS;;AA8VV;EA5RJ,kBAlEc;EAmEd;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;AAkRG;EACC;EACA;EACA,eAnWW;EAoWX;EACA;EACA;EACA;;AAEA;EACC;EACA;EACA;;AAGD;EACC;;AAEA;EApTL,kBAlEc;EAmEd;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EAuSM;EACA;;AAIF;EAEC;EACA,OAjYS;;AAoYV;EACC;EACA;EACA;;AAEA;AAAA;EAEC;;AAIF;EACC;EACA;EACA;;AAEA;AAAA;EAEC;;AAIF;EACC;EACA;EACA;EACA;EACA;EACA;;AAEA;EACC;EACA,OAnaQ;;AAqaR;EACC;;AAQF;EACC;;AAGD;EACC;EACA;EACA;;AAGD;EACC;EACA;;AAIF;EACC;EACA;EACA;;AAEA;EACC;EACA;;AAIF;EACC;EACA;;AAGD;EACC;;AAKF;EACC;;AAEA;EACC;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;AAGD;EAnbJ;;AAubI;EA3bJ;;AA+bI;EACC;;AAKF;EACC,OA/eY;EAgfZ;;AAID;EA3eH;EACA;EACA;EACA;;AA6eG;EACC,kBA/fU;EAggBV,cAhgBU;;AAkgBX;EACC,kBAngBU;;AA8Ib;EARD;EACA;EACA;EACA;;AAKC;EARD;EACA;EACA;EACA;;AAKC;EARD;EACA;EACA;EACA;;AAKC;EARD;EACA;EACA;EACA;;AAKC;EARD;EACA;EACA;EACA;;AAKC;EARD;EACA;EACA;EACA;;AAKC;EARD;EACA;EACA;EACA;;AAKC;EARD;EACA;EACA;EACA;;AAkYC;EACC;;AAID;EA1aD,kBAtGc;EAuGd;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EAqaE;EACA;EACA;;AAraF;EACC;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;AAGD;EACC;EACA;;AAyZC;AAAA;EACC;EACA;;AAIF;EACC;;AAEA;EACC;;AAMD;AAAA;EACC;EACA;EACA;EACA;EACA;;AAMD;EACC;;AAEA;EACC;EACA;EACA;;AAGD;AAAA;EAEC;EACA;;AAGD;EACC;;AAGD;EACC;;AAGD;EACC;;AAIF;EACC;;AAEA;AAAA;EAEC;EACA;EACA;;AAIF;AAAA;EAEC;EACA,eA3lBY;;AA8lBb;EACC,kBAnmBW;;AAsmBZ;EACC;EACA,kBAxmBW;EAymBX;EACA;EACA;EACA;;AAGD;AAAA;EAEC;EACA;;AAGD;AAAA;AAAA;EA/gBF,kBAtGc;EAuGd;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EA4gBG;;AA1gBH;AAAA;AAAA;EACC;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;AAGD;AAAA;AAAA;EACC;EACA;;AA2fE;AAAA;AAAA;EACC;EACA;EACA;EACA;EACA;;AAMH;EACC;EACA,eAroBa;EAsoBb;EArnBF;EACA;;AAEA;EACC;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;AAGD;EAeA;;AAXA;EAOA;;AAgmBE;EACC;EACA;EACA,eA7oBY;EA8oBZ;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;AAEA;EACC;EACA;;AAEA;EACC;EACA;;AAEA;EACC,cApqBQ;EAqqBR;EACA,eAtqBQ;;AA0qBV;EACC;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;AAIF;EACC;EACA;EACA;;AAEA;EACC;;AAEA;EACC;EACA;;AA3oBN;EACC;EACA;;AAGD;EACC,kBA5Da;EA6Db,eAzDc;;AAosBZ;EACC;EACA;EACA;EACA;EACA;;AAEA;EACC,OA/sBS;;AAotBZ;EACC;;AAEA;EA1sBH;EACA;EACA;EACA;;AA4sBE;EACC;EACA;;AAEA;EACC;;AAMH;EACC;EACA;EACA;EACA;;AAMD;EACC;;AAEA;EACC;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;AAGD;EACC;EACA;EACA;EACA;EACA;EACA;EACA,eAnwBY;EAowBZ;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;AAGD;EACC;EACA;EACA;EACA;EACA,kBAvxBW;EAwxBX,cAxxBW;EAyxBX;EACA;;AAIF;EACC;;AAEA;EACC;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;AAGD;EACC;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;AAGD;EACC,kBAh0BW;EAi0BX;;AAIF;EACC,OAh0BU;;AAq0BZ;EACC;;AAID;EACC;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EAEA;EACA;;AAEA;EACC,YAv1BU;EAw1BV;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;AAEA;EACC;;AAIF;EACC;EACA;EACA;EACA;;AA7zBF;EACC;EACA;;AAGD;EACC,kBA5Da;EA6Db,eAzDc;;AAm3Bb;EACC;EACA;EACA;;AAIF;EACC;;AAGD;EACC;EACA,eAh4Ba;EAi4Bb;EACA;;AAEA;EACC;;AAEA;EACC;;AAIF;EACC;;AAIF;EACC;EACA;EACA;;AAGD;EACC,OA35BY;EA45BZ;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;AAEA;EACC,OA36BW;;AA+6Bb;EACC,kBAh7BY;EAi7BZ,cAj7BY;EAk7BZ;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;AAKF;EACC;;AAEA;EACC;EACA;EACA;EACA;EACA;;AAEA;EACC;EACA,eAz8BY;EA08BZ;EACA;EACA;EACA;EACA;;AAEA;EACC;;AAGD;EACC;EACA;EACA;EACA;;AAGD;EAEC;EACA;;AAGD;EACC;EACA;EACA,eAp+BW;EAq+BX;EACA;EACA;EACA;EACA,SAn+BK;;AAq+BL;EACC,kBAx+BY;EAy+BZ;EACA;EACA;;AAEA;EACC;;AAGD;EACC;EACA;EACA;EAEA;EACA;;AAOJ;EACC;EACA;EACA;EACA;;AAp9BH;EACC;EACA;;AAGD;EACC,kBA5Da;EA6Db,eAzDc;;AA2gCb;EACC;;AAKA;EACC;;AAEA;EACC;;AAKD;EACC;;AAMJ;EACC;;;AAKH;EACC;;;AAGD;EACC;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA,SA/iCS;;AAijCT;EACC;;;AAQE;EACC;EACA;;AAIH;EACU;EACA;;;AAKZ;EACC;IACC;;;AAIF;EACC;IACC;;;AAIF;AAEA;EACC;EACA;;AAEA;EACC;EACA;EACA;;AAEA;EACC;EACA;;AAGD;EAvhCD;EACA;EACA,OAvFc;EAwFd;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EA8gCE;;AAEA;EAhjCF,kBAlEc;EAmEd;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;AAoiCE;EAxmCF;EACA;EACA;EACA;EAumCG;;AAKH;EACC;;AAGD;EACC,OA5nCW;;AA+nCZ;EA/iCA;EACA;EACA,OAvFc;EAwFd;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EAsiCC,kBAxoCa;EAyoCb;;AAEA;EACC;EACA;;;AAKH;AAEA;EACC;EACA,eAlpCe;EAmpCf;EACA,OAvpCc;EAwpCd;EACA,eA1pCc;;AA4pCd;EACC;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;AAGD;EACC,YAzqCa;EA0qCb,cA1qCa;EA2qCb;;AAEA;EACC","file":"shortcodes.css"}
assets/js/shortcodes/config.js CHANGED
@@ -3,5 +3,6 @@
3
  /* global globalThis, jQuery, yith_wcan_shortcodes, accounting */
4
 
5
  const $ = jQuery; // we can do this as WebPack will compact all together inside a closure.
 
6
 
7
- export { $ };
3
  /* global globalThis, jQuery, yith_wcan_shortcodes, accounting */
4
 
5
  const $ = jQuery; // we can do this as WebPack will compact all together inside a closure.
6
+ const $body = $( 'body' );
7
 
8
+ export { $, $body };
assets/js/shortcodes/modules/yith-wcan-dropdown.js CHANGED
@@ -52,11 +52,11 @@ export default class YITH_WCAN_Dropdown {
52
  labels: {
53
  emptyLabel: defaultAll
54
  ? defaultAll
55
- : yith_wcan_shortcodes.labels.empty_option,
56
  searchPlaceholder:
57
- yith_wcan_shortcodes.labels.search_placeholder,
58
- noItemsFound: yith_wcan_shortcodes.labels.no_items,
59
- showMore: yith_wcan_shortcodes.labels.show_more,
60
  },
61
  };
62
 
@@ -128,7 +128,7 @@ export default class YITH_WCAN_Dropdown {
128
  _initShowMoreTemplate( $dropdwonSpan ) {
129
  const $showMore = $( '<a/>', {
130
  class: 'show-more',
131
- text: this.options.labels.showMore.replace(
132
  '%d',
133
  this.options.perPage
134
  ),
@@ -233,8 +233,11 @@ export default class YITH_WCAN_Dropdown {
233
  self.updateLabel();
234
  } );
235
 
236
- // close dropdown on external click
237
- $( document ).on( 'click', this.closeDropdown.bind( this ) );
 
 
 
238
  }
239
 
240
  // open dropdown
@@ -248,6 +251,21 @@ export default class YITH_WCAN_Dropdown {
248
  this.$_main?.removeClass( 'open' ).addClass( 'closed' );
249
  }
250
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
251
  // close other dropdowns
252
  _closeOtherDropdowns() {
253
  const self = this,
@@ -408,6 +426,7 @@ export default class YITH_WCAN_Dropdown {
408
  $anchor = $( '<a/>', {
409
  href: option.length ? option.data( 'filter_url' ) : '#',
410
  html: label,
 
411
  'data-title': option.length ? option.data( 'title' ) : '',
412
  } );
413
 
@@ -469,7 +488,7 @@ export default class YITH_WCAN_Dropdown {
469
 
470
  this.$_items.append( items );
471
 
472
- $( document ).trigger( 'yith_wcan_dropdown_updated' );
473
 
474
  if ( hasMore ) {
475
  this._showLoadMore();
52
  labels: {
53
  emptyLabel: defaultAll
54
  ? defaultAll
55
+ : yith_wcan_shortcodes.labels?.empty_option,
56
  searchPlaceholder:
57
+ yith_wcan_shortcodes.labels?.search_placeholder,
58
+ noItemsFound: yith_wcan_shortcodes.labels?.no_items,
59
+ showMore: yith_wcan_shortcodes.labels?.show_more,
60
  },
61
  };
62
 
128
  _initShowMoreTemplate( $dropdwonSpan ) {
129
  const $showMore = $( '<a/>', {
130
  class: 'show-more',
131
+ text: this.options.labels.showMore?.replace(
132
  '%d',
133
  this.options.perPage
134
  ),
233
  self.updateLabel();
234
  } );
235
 
236
+ // close dropdown on external click; do this handler only once for any dropdown in the page
237
+ if ( ! globalThis?.yith_wcan_dropdown_init ) {
238
+ $( document ).on( 'click', this._closeAllDropdowns );
239
+ globalThis.yith_wcan_dropdown_init = true;
240
+ }
241
  }
242
 
243
  // open dropdown
251
  this.$_main?.removeClass( 'open' ).addClass( 'closed' );
252
  }
253
 
254
+ // close all dropdowns
255
+ _closeAllDropdowns() {
256
+ const dropdowns = $( document )
257
+ .find( 'select.enhanced' )
258
+ .filter( function ( i, select ) {
259
+ const $el = $( select );
260
+
261
+ return !! $el.data( 'dropdown' );
262
+ } );
263
+
264
+ dropdowns.each( function () {
265
+ $( this ).data( 'dropdown' ).closeDropdown();
266
+ } );
267
+ }
268
+
269
  // close other dropdowns
270
  _closeOtherDropdowns() {
271
  const self = this,
426
  $anchor = $( '<a/>', {
427
  href: option.length ? option.data( 'filter_url' ) : '#',
428
  html: label,
429
+ rel: 'nofollow',
430
  'data-title': option.length ? option.data( 'title' ) : '',
431
  } );
432
 
488
 
489
  this.$_items.append( items );
490
 
491
+ this.$originalSelect.trigger( 'yith_wcan_dropdown_updated' );
492
 
493
  if ( hasMore ) {
494
  this._showLoadMore();
assets/js/yith-wcan-shortcodes.js CHANGED
@@ -1,53 +1,14 @@
1
  /******/ (() => { // webpackBootstrap
2
  /******/ "use strict";
3
- /******/ // The require scope
4
- /******/ var __webpack_require__ = {};
5
- /******/
6
- /************************************************************************/
7
- /******/ /* webpack/runtime/define property getters */
8
- /******/ (() => {
9
- /******/ // define getter functions for harmony exports
10
- /******/ __webpack_require__.d = (exports, definition) => {
11
- /******/ for(var key in definition) {
12
- /******/ if(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {
13
- /******/ Object.defineProperty(exports, key, { enumerable: true, get: definition[key] });
14
- /******/ }
15
- /******/ }
16
- /******/ };
17
- /******/ })();
18
- /******/
19
- /******/ /* webpack/runtime/hasOwnProperty shorthand */
20
- /******/ (() => {
21
- /******/ __webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop))
22
- /******/ })();
23
- /******/
24
- /******/ /* webpack/runtime/make namespace object */
25
- /******/ (() => {
26
- /******/ // define __esModule on exports
27
- /******/ __webpack_require__.r = (exports) => {
28
- /******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) {
29
- /******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
30
- /******/ }
31
- /******/ Object.defineProperty(exports, '__esModule', { value: true });
32
- /******/ };
33
- /******/ })();
34
- /******/
35
- /************************************************************************/
36
  var __webpack_exports__ = {};
37
 
38
- // NAMESPACE OBJECT: ./assets/js/shortcodes/config.js
39
- var config_namespaceObject = {};
40
- __webpack_require__.r(config_namespaceObject);
41
- __webpack_require__.d(config_namespaceObject, {
42
- "$": () => ($)
43
- });
44
-
45
  ;// CONCATENATED MODULE: ./assets/js/shortcodes/config.js
46
 
47
  /* global globalThis, jQuery, yith_wcan_shortcodes, accounting */
48
 
49
  var $ = jQuery; // we can do this as WebPack will compact all together inside a closure.
50
 
 
51
 
52
  ;// CONCATENATED MODULE: ./assets/js/shortcodes/modules/yith-wcan-filter.js
53
 
@@ -164,7 +125,7 @@ var YITH_WCAN_Filter = /*#__PURE__*/function () {
164
  $(this).closest('form').submit();
165
  });
166
  this.filtered = filters && !!Object.keys(filters).length;
167
- this.filtered ? config_namespaceObject.$body.addClass('filtered') : config_namespaceObject.$body.removeClass('filtered');
168
  $(window).trigger('scroll');
169
  $(document).trigger('yith-wcan-ajax-filtered', [response, filters]).trigger('yith_wcwl_reload_fragments');
170
  } // build url to show
@@ -467,6 +428,8 @@ var YITH_WCAN_Dropdown = /*#__PURE__*/function () {
467
  // options
468
  // init object
469
  function YITH_WCAN_Dropdown(el, opts) {
 
 
470
  yith_wcan_dropdown_classCallCheck(this, YITH_WCAN_Dropdown);
471
 
472
  yith_wcan_dropdown_defineProperty(this, "$originalSelect", null);
@@ -503,10 +466,10 @@ var YITH_WCAN_Dropdown = /*#__PURE__*/function () {
503
  order: defaultOrder ? defaultOrder : 'ASC',
504
  getElements: null,
505
  labels: {
506
- emptyLabel: defaultAll ? defaultAll : yith_wcan_shortcodes.labels.empty_option,
507
- searchPlaceholder: yith_wcan_shortcodes.labels.search_placeholder,
508
- noItemsFound: yith_wcan_shortcodes.labels.no_items,
509
- showMore: yith_wcan_shortcodes.labels.show_more
510
  }
511
  };
512
  this.options = $.extend(defaults, opts);
@@ -580,9 +543,11 @@ var YITH_WCAN_Dropdown = /*#__PURE__*/function () {
580
  }, {
581
  key: "_initShowMoreTemplate",
582
  value: function _initShowMoreTemplate($dropdwonSpan) {
 
 
583
  var $showMore = $('<a/>', {
584
  "class": 'show-more',
585
- text: this.options.labels.showMore.replace('%d', this.options.perPage)
586
  });
587
  $showMore.on('click', this.loadNextPage.bind(this)).hide();
588
  $dropdwonSpan.append($showMore);
@@ -667,9 +632,12 @@ var YITH_WCAN_Dropdown = /*#__PURE__*/function () {
667
  }
668
  });
669
  self.updateLabel();
670
- }); // close dropdown on external click
671
 
672
- $(document).on('click', this.closeDropdown.bind(this));
 
 
 
673
  } // open dropdown
674
 
675
  }, {
@@ -688,6 +656,18 @@ var YITH_WCAN_Dropdown = /*#__PURE__*/function () {
688
  var _this$$_main3;
689
 
690
  (_this$$_main3 = this.$_main) === null || _this$$_main3 === void 0 ? void 0 : _this$$_main3.removeClass('open').addClass('closed');
 
 
 
 
 
 
 
 
 
 
 
 
691
  } // close other dropdowns
692
 
693
  }, {
@@ -842,6 +822,7 @@ var YITH_WCAN_Dropdown = /*#__PURE__*/function () {
842
  $anchor = $('<a/>', {
843
  href: option.length ? option.data('filter_url') : '#',
844
  html: label,
 
845
  'data-title': option.length ? option.data('title') : ''
846
  });
847
 
@@ -913,7 +894,7 @@ var YITH_WCAN_Dropdown = /*#__PURE__*/function () {
913
 
914
  _this3.$_items.append(items);
915
 
916
- $(document).trigger('yith_wcan_dropdown_updated');
917
 
918
  if (hasMore) {
919
  _this3._showLoadMore();
1
  /******/ (() => { // webpackBootstrap
2
  /******/ "use strict";
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
3
  var __webpack_exports__ = {};
4
 
 
 
 
 
 
 
 
5
  ;// CONCATENATED MODULE: ./assets/js/shortcodes/config.js
6
 
7
  /* global globalThis, jQuery, yith_wcan_shortcodes, accounting */
8
 
9
  var $ = jQuery; // we can do this as WebPack will compact all together inside a closure.
10
 
11
+ var $body = $('body');
12
 
13
  ;// CONCATENATED MODULE: ./assets/js/shortcodes/modules/yith-wcan-filter.js
14
 
125
  $(this).closest('form').submit();
126
  });
127
  this.filtered = filters && !!Object.keys(filters).length;
128
+ this.filtered ? $body.addClass('filtered') : $body.removeClass('filtered');
129
  $(window).trigger('scroll');
130
  $(document).trigger('yith-wcan-ajax-filtered', [response, filters]).trigger('yith_wcwl_reload_fragments');
131
  } // build url to show
428
  // options
429
  // init object
430
  function YITH_WCAN_Dropdown(el, opts) {
431
+ var _yith_wcan_shortcodes, _yith_wcan_shortcodes2, _yith_wcan_shortcodes3, _yith_wcan_shortcodes4;
432
+
433
  yith_wcan_dropdown_classCallCheck(this, YITH_WCAN_Dropdown);
434
 
435
  yith_wcan_dropdown_defineProperty(this, "$originalSelect", null);
466
  order: defaultOrder ? defaultOrder : 'ASC',
467
  getElements: null,
468
  labels: {
469
+ emptyLabel: defaultAll ? defaultAll : (_yith_wcan_shortcodes = yith_wcan_shortcodes.labels) === null || _yith_wcan_shortcodes === void 0 ? void 0 : _yith_wcan_shortcodes.empty_option,
470
+ searchPlaceholder: (_yith_wcan_shortcodes2 = yith_wcan_shortcodes.labels) === null || _yith_wcan_shortcodes2 === void 0 ? void 0 : _yith_wcan_shortcodes2.search_placeholder,
471
+ noItemsFound: (_yith_wcan_shortcodes3 = yith_wcan_shortcodes.labels) === null || _yith_wcan_shortcodes3 === void 0 ? void 0 : _yith_wcan_shortcodes3.no_items,
472
+ showMore: (_yith_wcan_shortcodes4 = yith_wcan_shortcodes.labels) === null || _yith_wcan_shortcodes4 === void 0 ? void 0 : _yith_wcan_shortcodes4.show_more
473
  }
474
  };
475
  this.options = $.extend(defaults, opts);
543
  }, {
544
  key: "_initShowMoreTemplate",
545
  value: function _initShowMoreTemplate($dropdwonSpan) {
546
+ var _this$options$labels$;
547
+
548
  var $showMore = $('<a/>', {
549
  "class": 'show-more',
550
+ text: (_this$options$labels$ = this.options.labels.showMore) === null || _this$options$labels$ === void 0 ? void 0 : _this$options$labels$.replace('%d', this.options.perPage)
551
  });
552
  $showMore.on('click', this.loadNextPage.bind(this)).hide();
553
  $dropdwonSpan.append($showMore);
632
  }
633
  });
634
  self.updateLabel();
635
+ }); // close dropdown on external click; do this handler only once for any dropdown in the page
636
 
637
+ if (!(globalThis !== null && globalThis !== void 0 && globalThis.yith_wcan_dropdown_init)) {
638
+ $(document).on('click', this._closeAllDropdowns);
639
+ globalThis.yith_wcan_dropdown_init = true;
640
+ }
641
  } // open dropdown
642
 
643
  }, {
656
  var _this$$_main3;
657
 
658
  (_this$$_main3 = this.$_main) === null || _this$$_main3 === void 0 ? void 0 : _this$$_main3.removeClass('open').addClass('closed');
659
+ } // close all dropdowns
660
+
661
+ }, {
662
+ key: "_closeAllDropdowns",
663
+ value: function _closeAllDropdowns() {
664
+ var dropdowns = $(document).find('select.enhanced').filter(function (i, select) {
665
+ var $el = $(select);
666
+ return !!$el.data('dropdown');
667
+ });
668
+ dropdowns.each(function () {
669
+ $(this).data('dropdown').closeDropdown();
670
+ });
671
  } // close other dropdowns
672
 
673
  }, {
822
  $anchor = $('<a/>', {
823
  href: option.length ? option.data('filter_url') : '#',
824
  html: label,
825
+ rel: 'nofollow',
826
  'data-title': option.length ? option.data('title') : ''
827
  });
828
 
894
 
895
  _this3.$_items.append(items);
896
 
897
+ _this3.$originalSelect.trigger('yith_wcan_dropdown_updated');
898
 
899
  if (hasMore) {
900
  _this3._showLoadMore();
assets/js/yith-wcan-shortcodes.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"sources":["webpack://yith-woocommerce-ajax-navigation/webpack/bootstrap","webpack://yith-woocommerce-ajax-navigation/webpack/runtime/define property getters","webpack://yith-woocommerce-ajax-navigation/webpack/runtime/hasOwnProperty shorthand","webpack://yith-woocommerce-ajax-navigation/webpack/runtime/make namespace object","webpack://yith-woocommerce-ajax-navigation/./assets/js/shortcodes/config.js","webpack://yith-woocommerce-ajax-navigation/./assets/js/shortcodes/modules/yith-wcan-filter.js","webpack://yith-woocommerce-ajax-navigation/./assets/js/shortcodes/modules/yith-wcan-reset-button.js","webpack://yith-woocommerce-ajax-navigation/./assets/js/shortcodes/modules/yith-wcan-dropdown.js","webpack://yith-woocommerce-ajax-navigation/./assets/js/shortcodes/modules/yith-wcan-preset.js","webpack://yith-woocommerce-ajax-navigation/./assets/js/shortcodes/index.js"],"names":["$","jQuery","YITH_WCAN_Filter","location","search","initPopState","initialized","pushUrlToHistory","window","document","title","on","history","state","_yithWcan","reload","filters","target","preset","targetUrl","$target","customFilters","triggerHandler","block","buildUrl","yith_wcan_shortcodes","ajax_filters","doingAjax","_doAjax","done","response","searchAlternativeUrl","_beforeFilter","refreshFragments","pageTitle","originalSearch","unblock","_afterFilter","trigger","closest","submit","filtered","Object","keys","length","$body","queryParam","query_param","params","url","base_url","origin","pathname","self","haveFilters","session_param","replace","RegExp","searchParams","split","reduce","a","v","items","isFilterParam","i","_cleanParam","defaultUrl","matches","indexOf","match","current","change_browser_url","navigator","userAgent","method","responseDom","createElement","$response","innerHTML","$preset","$destination","find","replaceWith","first","content","param","process_sanitize","skip_sanitize","encodeURIComponent","xhr","abort","headers","$el","background","loader","message","overlayCSS","opacity","supportedParams","customParams","concat","supported_taxonomies","map","YITH_WCAN_Reset_Button","el","$reset","ev","preventDefault","each","data","deactivateAllFilters","closeModal","addClass","YITH_WCAN_Dropdown","opts","$originalSelect","is","defaultPerPage","defaultOrder","defaultAll","defaults","showSearch","paginate","perPage","order","getElements","labels","emptyLabel","empty_option","searchPlaceholder","search_placeholder","noItemsFound","no_items","showMore","show_more","options","_hideSelect","_initTemplate","_initActions","hide","$mainSpan","$labelSpan","html","getLabel","$dropdownSpan","$matchingItemsList","append","_initSearchTemplate","_initShowMoreTemplate","after","$_main","$_label","$_dropdown","$_items","$dropdwonSpan","$container","$search","name","type","placeholder","prependTo","$_search","$showMore","text","loadNextPage","bind","$_showMore","stopPropagation","toggleDropdown","_populateItems","$li","value","isActive","hasClass","isValueSelected","toggleClass","_changeItemStatus","siblings","removeClass","input","parent","prop","change","selfOriginated","_selectItem","_deselectItem","updateLabel","closeDropdown","_afterDropdownOpen","dropdowns","filter","select","_closeOtherDropdowns","val","limit","matchingElements","$options","getOptions","promise","Promise","resolve","t","label","regex","show","test","push","then","retrievedElements","_formatItems","indexes","hasMore","sort","b","mod","slice","active","option","getOptionByValue","$item","attr","$anchor","template","count","href","$checkbox","$label","prepend","page","parseInt","getMatchingElements","resultSet","matchingItems","_emptyItems","_hideLoadMore","currentPage","unshift","_generateItem","_showLoadMore","status","$option","hasSelectedValues","getSelectedLabels","join","getSelectedOptions","found","getSelectedValues","toString","values","YITH_WCAN_Preset","_regiterStatus","_initFilterButton","_initResponsive","_initFilters","getFilters","$filter","_initFilter","maybeShowClearAllFilters","$filterButtons","modal_on_mobile","media","matchMedia","mobile_media_query","isMobile","_afterLayoutChange","resize","handleChange","$currentFilter","multiple","$items","not","children","activeFilters","maybeFilter","maybeToggleClearAllFilters","maybeToggleClearFilter","delegateTarget","call","$input","_initTooltip","_initPriceSlider","_initDropdown","_initCollapsable","maybeShowClearFilter","_initCustomInput","$dropdown","$current","position","th","tooltip","wrapperWidth","outerWidth","left","width","container","css","toFixed","fadeIn","fadeOut","remove","selectWoo","_initDropdownObject","terms_per_page","$minInput","$maxInput","min","parseFloat","max","currentMin","currentMax","step","handleSliderChange","sliderTimeout","clearTimeout","setTimeout","ionRangeSlider","skin","from","to","min_interval","values_separator","prettify","formatPrice","onChange","onFinish","add","off","_initTitleCollapsable","_initHierarchyCollapsable","$title","_initToggle","parents","show_current_children","$t","$toggle","appendTo","slideToggle","containerClass","wrap","originalFilters","getFiltersProperties","_addCloseModalButton","_addApplyFiltersModalButton","_switchToCollapsables","removeAttr","_removeCloseModalButton","_removeApplyFiltersModalButton","_switchBackCollapsables","$closeButton","close","modalElements","closeButton","$filterButton","show_results","applyFiltersButton","removeData","$filters","isFilterActive","end","currentFilters","currentStr","JSON","stringify","originalStr","dirty","$initiator","maybeRegisterStatusChange","instant_filters","product_filter","doFilter","newPreset","scroll_top","targetOffset","offset","top","scroll_target","$scrollTarget","animate","scrollTop","getActiveFilters","filterType","filteredActive","Math","abs","properties","filteredProperties","$active","activeTerms","taxonomy","isAttr","relation","get","pop","glue","rating_filter","price_ranges","min_price","max_price","onsale_filter","instock_filter","featured_filter","orderby","filterProperties","getFilterProperties","mergeProperties","hasProp","includes","maybeHideClearFilter","isAnyFilterActive","maybeHideClearAllFilters","show_clear_filter","clear_selection","role","deactivateFilter","clear_all_selections","$activeItems","click","formattedRange","$priceSlider","getFiltersByProperties","toggles_open_on_modal","_openAllCollapsables","_closeAllCollapsables","price","accounting","formatMoney","symbol","currency_format","decimal","thousand","precision","format","set1","set2","hasOwnProperty","newValue","index","arr","queryTypeParam","globalThis"],"mappings":";;UAAA;UACA;;;;;WCDA;WACA;WACA;WACA;WACA,wCAAwC,yCAAyC;WACjF;WACA;WACA,E;;;;;WCPA,wF;;;;;WCAA;WACA;WACA;WACA,sDAAsD,kBAAkB;WACxE;WACA,+CAA+C,cAAc;WAC7D,E;;;;;;;;;;;;;;ACNa;AAEb;;AAEA,IAAMA,CAAC,GAAGC,MAAV,C,CAAkB;;;;ACJL;AAEb;;;;;;;;;;;;AAEA;;IAEqBC,gB;AACpB;AAGA;AAGA;AAGA;AAGA;AAGA;AACA,8BAAc;AAAA;;AAAA,iCAfR,IAeQ;;AAAA,uCAZF,KAYE;;AAAA,4CATGC,QAAQ,CAACC,MASZ;;AAAA,yCANA,KAMA;;AAAA,sCAHH,KAGG;;AACb,SAAKC,YAAL;AACA,SAAKC,WAAL,GAAmB,IAAnB;AACA,G,CAED;;;;;WACA,wBAAe;AACd,WAAKC,gBAAL,CAAuBC,MAAM,CAACL,QAA9B,EAAwCM,QAAQ,CAACC,KAAjD,EAAwD,IAAxD,EAA8D,IAA9D;AAEAV,OAAC,CAAEQ,MAAF,CAAD,CAAYG,EAAZ,CAAgB,UAAhB,EAA4B,YAAY;AAAA;;AACvC,YAAK,2BAAEH,MAAM,CAACI,OAAP,CAAeC,KA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AN,C","file":"yith-wcan-shortcodes.js","sourcesContent":["// The require scope\nvar __webpack_require__ = {};\n\n","// define getter functions for harmony exports\n__webpack_require__.d = (exports, definition) => {\n\tfor(var key in definition) {\n\t\tif(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {\n\t\t\tObject.defineProperty(exports, key, { enumerable: true, get: definition[key] });\n\t\t}\n\t}\n};","__webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop))","// define __esModule on exports\n__webpack_require__.r = (exports) => {\n\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n\t}\n\tObject.defineProperty(exports, '__esModule', { value: true });\n};","'use strict';\n\n/* global globalThis, jQuery, yith_wcan_shortcodes, accounting */\n\nconst $ = jQuery; // we can do this as WebPack will compact all together inside a closure.\n\nexport { $ };\n","'use strict';\n\n/* global globalThis, jQuery, yith_wcan_shortcodes, accounting */\n\nimport { $, $body } from '../config.js';\n\nexport default class YITH_WCAN_Filter {\n\t// currently executing xhr\n\txhr = null;\n\n\t// flag set during ajax call handling\n\tdoingAjax = false;\n\n\t// register original url search param\n\toriginalSearch = location.search;\n\n\t// flag set once init has executed\n\tinitialized = false;\n\n\t// flag set when page has at least one active filter.\n\tfiltered = false;\n\n\t// init object\n\tconstructor() {\n\t\tthis.initPopState();\n\t\tthis.initialized = true;\n\t}\n\n\t// init page reload when popstate event alter filters\n\tinitPopState() {\n\t\tthis.pushUrlToHistory( window.location, document.title, null, true );\n\n\t\t$( window ).on( 'popstate', function () {\n\t\t\tif ( ! window.history.state?._yithWcan ) {\n\t\t\t\treturn;\n\t\t\t}\n\n\t\t\twindow.location.reload( true );\n\t\t} );\n\t}\n\n\t// execute call to filter products in current view\n\tdoFilter( filters, target, preset ) {\n\t\tlet targetUrl,\n\t\t\t$target = target ? $( target ) : $( 'body' ),\n\t\t\tcustomFilters;\n\n\t\t// filter properties\n\t\tcustomFilters = $( document ).triggerHandler(\n\t\t\t'yith_wcan_filters_parameters',\n\t\t\t[ filters ]\n\t\t);\n\n\t\tif ( !! customFilters ) {\n\t\t\tfilters = customFilters;\n\t\t}\n\n\t\t// block elements before filtering\n\t\t$target && this.block( $target );\n\n\t\t// calculate target url\n\t\ttargetUrl = this.buildUrl( filters );\n\n\t\t// if no ajax, simply change page url\n\t\tif ( ! yith_wcan_shortcodes.ajax_filters ) {\n\t\t\tthis.pushUrlToHistory( targetUrl, document.title, filters );\n\n\t\t\twindow.location = targetUrl;\n\t\t\treturn;\n\t\t}\n\n\t\t// start doing ajax\n\t\tthis.doingAjax = true;\n\n\t\treturn this._doAjax( targetUrl ).done( ( response ) => {\n\t\t\ttargetUrl = this.searchAlternativeUrl( response, targetUrl );\n\n\t\t\tthis._beforeFilter( response, filters );\n\n\t\t\tthis.refreshFragments( target, preset, response );\n\t\t\tthis.pushUrlToHistory( targetUrl, response.pageTitle, filters );\n\t\t\tthis.originalSearch = location.search;\n\n\t\t\t$target && this.unblock( $target );\n\n\t\t\tthis._afterFilter( response, filters );\n\n\t\t\tthis.doingAjax = false;\n\t\t} );\n\t}\n\n\t// actions performed before filter\n\t_beforeFilter( response, filters ) {\n\t\t$( document ).trigger( 'yith-wcan-ajax-loading', [\n\t\t\tresponse,\n\t\t\tfilters,\n\t\t] );\n\t}\n\n\t// actions performed after filter\n\t_afterFilter( response, filters ) {\n\t\t$( '.woocommerce-ordering' ).on(\n\t\t\t'change',\n\t\t\t'select.orderby',\n\t\t\tfunction () {\n\t\t\t\t$( this ).closest( 'form' ).submit();\n\t\t\t}\n\t\t);\n\n\t\tthis.filtered = filters && !! Object.keys( filters ).length;\n\t\tthis.filtered\n\t\t\t? $body.addClass( 'filtered' )\n\t\t\t: $body.removeClass( 'filtered' );\n\n\t\t$( window ).trigger( 'scroll' );\n\n\t\t$( document )\n\t\t\t.trigger( 'yith-wcan-ajax-filtered', [ response, filters ] )\n\t\t\t.trigger( 'yith_wcwl_reload_fragments' );\n\t}\n\n\t// build url to show\n\tbuildUrl( filters ) {\n\t\tlet queryParam = yith_wcan_shortcodes.query_param,\n\t\t\tparams = {},\n\t\t\tlocation = window.location,\n\t\t\turl = !! yith_wcan_shortcodes.base_url\n\t\t\t\t? yith_wcan_shortcodes.base_url\n\t\t\t\t: location?.origin + location?.pathname,\n\t\t\tsearch = '',\n\t\t\tself = this;\n\n\t\tconst haveFilters =\n\t\t\ttypeof filters === 'object' && Object.keys( filters ).length;\n\n\t\t// remove filter session from current url, if any\n\t\tif ( !! yith_wcan_shortcodes.session_param ) {\n\t\t\turl = url.replace(\n\t\t\t\tnew RegExp(\n\t\t\t\t\t'/' + yith_wcan_shortcodes.session_param + '/[^/]*/'\n\t\t\t\t),\n\t\t\t\t''\n\t\t\t);\n\t\t}\n\n\t\tif ( haveFilters ) {\n\t\t\tparams[ queryParam ] = 1;\n\t\t}\n\n\t\tif ( !! this.originalSearch ) {\n\t\t\tconst searchParams = this.originalSearch\n\t\t\t\t.replace( '?', '' )\n\t\t\t\t.split( '&' )\n\t\t\t\t.reduce( ( a, v ) => {\n\t\t\t\t\tconst items = v.split( '=' );\n\n\t\t\t\t\tif ( items.length === 2 ) {\n\t\t\t\t\t\tif ( this.isFilterParam( items[ 0 ] ) ) {\n\t\t\t\t\t\t\treturn a;\n\t\t\t\t\t\t}\n\n\t\t\t\t\t\ta[ items[ 0 ] ] = items[ 1 ];\n\t\t\t\t\t}\n\n\t\t\t\t\treturn a;\n\t\t\t\t}, {} );\n\n\t\t\tparams = $.extend( params, searchParams );\n\t\t}\n\n\t\tif ( haveFilters ) {\n\t\t\tparams = $.extend( params, filters );\n\t\t}\n\n\t\tsearch = Object.keys( params )\n\t\t\t.reduce( function ( a, i ) {\n\t\t\t\tconst v = params[ i ];\n\n\t\t\t\tif ( ! v || ! i ) {\n\t\t\t\t\treturn a;\n\t\t\t\t}\n\n\t\t\t\ta += self._cleanParam( i ) + '=' + self._cleanParam( v ) + '&';\n\n\t\t\t\treturn a;\n\t\t\t}, '?' )\n\t\t\t.replace( /&$/g, '' )\n\t\t\t.replace( /%2B/g, '+' )\n\t\t\t.replace( /%2C/g, ',' );\n\n\t\tif ( search.length > 1 ) {\n\t\t\turl += search;\n\t\t}\n\n\t\treturn url;\n\t}\n\n\t// retrieves alternative sharing url in response body\n\tsearchAlternativeUrl( response, defaultUrl = '' ) {\n\t\tlet url = defaultUrl,\n\t\t\tmatches;\n\n\t\tif ( -1 === response.indexOf( 'yith_wcan:sharing_url' ) ) {\n\t\t\treturn url;\n\t\t}\n\n\t\tmatches = response.match(\n\t\t\t/<meta name=\"yith_wcan:sharing_url\" content=\"([^\"]*)\">/\n\t\t);\n\t\turl = matches && 1 in matches ? matches[ 1 ] : url;\n\n\t\treturn url;\n\t}\n\n\t// push url to browser history\n\tpushUrlToHistory( url, title, filters, current ) {\n\t\tif (\n\t\t\t! yith_wcan_shortcodes.change_browser_url ||\n\t\t\tnavigator.userAgent.match( /msie/i )\n\t\t) {\n\t\t\treturn;\n\t\t}\n\n\t\tlet method = 'pushState';\n\n\t\tif ( !! current ) {\n\t\t\tmethod = 'replaceState';\n\t\t}\n\n\t\twindow.history[ method ](\n\t\t\t{\n\t\t\t\t_yithWcan: true,\n\t\t\t\tpageTitle: title,\n\t\t\t\tfilters,\n\t\t\t},\n\t\t\t'',\n\t\t\turl\n\t\t);\n\t}\n\n\t// replaces elements in the page with refreshed ones\n\trefreshFragments( target, preset, response ) {\n\t\tconst responseDom = document.createElement( 'html' ),\n\t\t\t$response = $( responseDom );\n\n\t\tresponseDom.innerHTML = response;\n\n\t\tif ( target ) {\n\t\t\tlet $preset = $( preset ),\n\t\t\t\t$target = $( target ),\n\t\t\t\t$destination;\n\n\t\t\tif ( $preset.length ) {\n\t\t\t\t$destination = $response.find( preset );\n\n\t\t\t\tif ( $destination.length ) {\n\t\t\t\t\t$preset.replaceWith( $destination.first() );\n\t\t\t\t}\n\t\t\t}\n\n\t\t\tif ( $target.length ) {\n\t\t\t\t$destination = $response.find( target );\n\n\t\t\t\tif ( $destination.length ) {\n\t\t\t\t\t$target.replaceWith( $destination.first() );\n\t\t\t\t}\n\t\t\t}\n\t\t} else {\n\t\t\tconst content = $( yith_wcan_shortcodes.content );\n\n\t\t\tif ( content.length ) {\n\t\t\t\tcontent.replaceWith(\n\t\t\t\t\t$response.find( yith_wcan_shortcodes.content )\n\t\t\t\t);\n\t\t\t} else {\n\t\t\t\t$( 'body' ).replaceWith( $response.find( 'body' ) );\n\t\t\t}\n\t\t}\n\n\t\t$( document ).trigger( 'yith_wcan_init_shortcodes' );\n\t}\n\n\t// clean url parameters\n\t_cleanParam( param ) {\n\t\tif (\n\t\t\t! yith_wcan_shortcodes?.process_sanitize ||\n\t\t\tyith_wcan_shortcodes?.skip_sanitize\n\t\t) {\n\t\t\treturn param;\n\t\t}\n\n\t\treturn encodeURIComponent( param );\n\t}\n\n\t// executes Ajax calls\n\t_doAjax( url, params ) {\n\t\tif ( this.xhr ) {\n\t\t\tthis.xhr.abort();\n\t\t}\n\n\t\tparams = $.extend(\n\t\t\t{\n\t\t\t\turl,\n\t\t\t\theaders: {\n\t\t\t\t\t'X-YITH-WCAN': 1,\n\t\t\t\t},\n\t\t\t},\n\t\t\tparams\n\t\t);\n\n\t\tthis.xhr = $.ajax( params );\n\n\t\treturn this.xhr;\n\t}\n\n\t// block dom elements\n\tblock( $el ) {\n\t\tif ( typeof $.fn.block === 'undefined' ) {\n\t\t\treturn;\n\t\t}\n\n\t\tlet background = '#fff center center no-repeat';\n\n\t\tif ( yith_wcan_shortcodes?.loader ) {\n\t\t\tbackground = `url('${ yith_wcan_shortcodes.loader }') ${ background }`;\n\t\t}\n\n\t\t$el.block( {\n\t\t\tmessage: null,\n\t\t\toverlayCSS: {\n\t\t\t\tbackground,\n\t\t\t\topacity: 0.7,\n\t\t\t},\n\t\t} );\n\t}\n\n\t// unblock dom elements\n\tunblock( $el ) {\n\t\tif ( typeof $.fn.unblock === 'undefined' ) {\n\t\t\treturn;\n\t\t}\n\n\t\t$el.unblock();\n\t}\n\n\t// checks if param is one used by layared nav to filter products.\n\tisFilterParam( param ) {\n\t\tlet supportedParams = [\n\t\t\t\t'rating_filter',\n\t\t\t\t'min_price',\n\t\t\t\t'max_price',\n\t\t\t\t'price_ranges',\n\t\t\t\t'onsale_filter',\n\t\t\t\t'instock_filter',\n\t\t\t\t'featured_filter',\n\t\t\t\t'orderby',\n\t\t\t\t'product-page',\n\t\t\t\tyith_wcan_shortcodes.query_param,\n\t\t\t],\n\t\t\tcustomParams;\n\n\t\t// filter properties\n\t\tcustomParams = $( document ).triggerHandler(\n\t\t\t'yith_wcan_supported_filters_parameters',\n\t\t\t[ supportedParams ]\n\t\t);\n\n\t\tif ( !! customParams ) {\n\t\t\tsupportedParams = customParams;\n\t\t}\n\n\t\tsupportedParams = supportedParams.concat(\n\t\t\tyith_wcan_shortcodes.supported_taxonomies.map( ( i ) =>\n\t\t\t\ti.replace( 'pa_', 'filter_' )\n\t\t\t)\n\t\t);\n\n\t\tif ( -1 !== supportedParams.indexOf( param ) ) {\n\t\t\treturn true;\n\t\t}\n\n\t\tif ( -1 !== param.indexOf( 'filter_' ) ) {\n\t\t\treturn true;\n\t\t}\n\n\t\tif ( -1 !== param.indexOf( 'query_type_' ) ) {\n\t\t\treturn true;\n\t\t}\n\n\t\treturn false;\n\t}\n}\n","'use strict';\n\n/* global globalThis, jQuery, yith_wcan_shortcodes, accounting */\n\nimport { $ } from '../config.js';\n\nexport default class YITH_WCAN_Reset_Button {\n\t// current button\n\t$reset = null;\n\n\t// init object\n\tconstructor( el ) {\n\t\t// current button\n\t\tthis.$reset = el;\n\n\t\tthis.$reset.on( 'click', function ( ev ) {\n\t\t\tev.preventDefault();\n\n\t\t\t$( '.yith-wcan-filters' ).each( function () {\n\t\t\t\tconst preset = $( this ).data( 'preset' );\n\n\t\t\t\tpreset.deactivateAllFilters( true );\n\t\t\t\tpreset.closeModal();\n\t\t\t} );\n\t\t} );\n\n\t\tthis.$reset.data( 'reset', this ).addClass( 'enhanced' );\n\t}\n}\n","'use strict';\n\n/* global globalThis, jQuery, yith_wcan_shortcodes, accounting */\n\nimport { $ } from '../config.js';\n\nexport default class YITH_WCAN_Dropdown {\n\t// current button\n\t$originalSelect = null;\n\n\t// main element\n\t$_main = null;\n\n\t// label element\n\t$_label = null;\n\n\t// dropdown\n\t$_dropdown = null;\n\n\t// search input\n\t$_search = null;\n\n\t// show more link\n\t$_showMore = null;\n\n\t// items list\n\t$_items = null;\n\n\t// current page\n\tcurrentPage = 1;\n\n\t// options\n\toptions = {};\n\n\t// init object\n\tconstructor( el, opts ) {\n\t\tthis.$originalSelect = el;\n\n\t\tif ( ! this.$originalSelect.is( 'select' ) ) {\n\t\t\treturn;\n\t\t}\n\n\t\tconst defaultPerPage = this.$originalSelect.data( 'per_page' ),\n\t\t\tdefaultOrder = this.$originalSelect.data( 'order' ),\n\t\t\tdefaultAll = this.$originalSelect.data( 'all-label' ),\n\t\t\tdefaults = {\n\t\t\t\tshowSearch: this.$originalSelect.data( 'show_search' ),\n\t\t\t\tpaginate: this.$originalSelect.data( 'paginate' ),\n\t\t\t\tperPage: defaultPerPage ? defaultPerPage : 10,\n\t\t\t\torder: defaultOrder ? defaultOrder : 'ASC',\n\t\t\t\tgetElements: null,\n\t\t\t\tlabels: {\n\t\t\t\t\temptyLabel: defaultAll\n\t\t\t\t\t\t? defaultAll\n\t\t\t\t\t\t: yith_wcan_shortcodes.labels.empty_option,\n\t\t\t\t\tsearchPlaceholder:\n\t\t\t\t\t\tyith_wcan_shortcodes.labels.search_placeholder,\n\t\t\t\t\tnoItemsFound: yith_wcan_shortcodes.labels.no_items,\n\t\t\t\t\tshowMore: yith_wcan_shortcodes.labels.show_more,\n\t\t\t\t},\n\t\t\t};\n\n\t\tthis.options = $.extend( defaults, opts );\n\n\t\tthis._hideSelect();\n\t\tthis._initTemplate();\n\t\tthis._initActions();\n\n\t\tthis.$originalSelect.data( 'dropdown', this ).addClass( 'enhanced' );\n\t}\n\n\t// hide select\n\t_hideSelect() {\n\t\tthis.$originalSelect.hide();\n\t}\n\n\t// create dropdown\n\t_initTemplate() {\n\t\tconst $mainSpan = $( '<div/>', {\n\t\t\t\tclass: 'yith-wcan-dropdown closed',\n\t\t\t} ),\n\t\t\t$labelSpan = $( '<div/>', {\n\t\t\t\tclass: 'dropdown-label',\n\t\t\t\thtml: this.getLabel(),\n\t\t\t} ),\n\t\t\t$dropdownSpan = $( '<div>', {\n\t\t\t\tclass: 'dropdown-wrapper',\n\t\t\t} ),\n\t\t\t$matchingItemsList = $( '<ul/>', {\n\t\t\t\tclass: 'matching-items filter-items',\n\t\t\t} );\n\n\t\t$dropdownSpan.append( $matchingItemsList );\n\t\t$mainSpan.append( $labelSpan ).append( $dropdownSpan );\n\n\t\tif ( this.options.showSearch ) {\n\t\t\tthis._initSearchTemplate( $dropdownSpan );\n\t\t}\n\n\t\tif ( this.options.paginate ) {\n\t\t\tthis._initShowMoreTemplate( $dropdownSpan );\n\t\t}\n\n\t\tthis.$originalSelect.after( $mainSpan );\n\t\tthis.$_main = $mainSpan;\n\t\tthis.$_label = $labelSpan;\n\t\tthis.$_dropdown = $dropdownSpan;\n\t\tthis.$_items = $matchingItemsList;\n\t}\n\n\t// create search field\n\t_initSearchTemplate( $dropdwonSpan ) {\n\t\tconst $container = $( '<div/>', {\n\t\t\t\tclass: 'search-field-container',\n\t\t\t} ),\n\t\t\t$search = $( '<input/>', {\n\t\t\t\tname: 's',\n\t\t\t\tclass: 'search-field',\n\t\t\t\ttype: 'search',\n\t\t\t\tplaceholder: this.options.labels.searchPlaceholder,\n\t\t\t} );\n\n\t\t$container.append( $search ).prependTo( $dropdwonSpan );\n\t\tthis.$_search = $search;\n\t}\n\n\t// create showMore field\n\t_initShowMoreTemplate( $dropdwonSpan ) {\n\t\tconst $showMore = $( '<a/>', {\n\t\t\tclass: 'show-more',\n\t\t\ttext: this.options.labels.showMore.replace(\n\t\t\t\t'%d',\n\t\t\t\tthis.options.perPage\n\t\t\t),\n\t\t} );\n\n\t\t$showMore.on( 'click', this.loadNextPage.bind( this ) ).hide();\n\n\t\t$dropdwonSpan.append( $showMore );\n\t\tthis.$_showMore = $showMore;\n\t}\n\n\t// init actions performed over dropdown elements\n\t_initActions() {\n\t\tconst self = this;\n\n\t\t// main open event\n\t\tthis.$_main?.on( 'click', ( ev ) => {\n\t\t\tev.stopPropagation();\n\t\t\tself.toggleDropdown();\n\t\t} );\n\t\tthis.$_dropdown.on( 'click', ( ev ) => {\n\t\t\tev.stopPropagation();\n\t\t} );\n\n\t\t// search event\n\t\tthis.$_search?.on( 'keyup search', () => {\n\t\t\tself._populateItems();\n\t\t} );\n\n\t\t// select event\n\t\tthis.$_items.on( 'change', ':input', function () {\n\t\t\tlet $li = $( this ).closest( 'li' ),\n\t\t\t\tvalue = $li.data( 'value' ),\n\t\t\t\tisActive = false;\n\n\t\t\tif (\n\t\t\t\t$li.hasClass( 'disabled' ) &&\n\t\t\t\t! self.isValueSelected( value )\n\t\t\t) {\n\t\t\t\treturn false;\n\t\t\t}\n\n\t\t\t$li.toggleClass( 'active' );\n\t\t\tisActive = $li.hasClass( 'active' );\n\n\t\t\tself._changeItemStatus( value, isActive );\n\t\t} );\n\t\tthis.$_items.on( 'click', 'li:not(.checkbox) a', function ( ev ) {\n\t\t\tlet $li = $( this ).closest( 'li' ),\n\t\t\t\tvalue = $li.data( 'value' ),\n\t\t\t\tisActive = false;\n\n\t\t\tev.preventDefault();\n\n\t\t\tif (\n\t\t\t\t$li.hasClass( 'disabled' ) &&\n\t\t\t\t! self.isValueSelected( value )\n\t\t\t) {\n\t\t\t\treturn false;\n\t\t\t}\n\n\t\t\t$li.toggleClass( 'active' );\n\t\t\tisActive = $li.hasClass( 'active' );\n\n\t\t\tif ( isActive ) {\n\t\t\t\t$li.siblings().removeClass( 'active' );\n\t\t\t}\n\n\t\t\tself._changeItemStatus( value, isActive );\n\t\t} );\n\t\tthis.$_items.on( 'click', 'label > a', function ( ev ) {\n\t\t\tconst input = $( this ).parent().find( ':input' );\n\n\t\t\tev.preventDefault();\n\n\t\t\tif (\n\t\t\t\tinput.is( '[type=\"radio\"]' ) ||\n\t\t\t\tinput.is( '[type=\"checkbox\"]' )\n\t\t\t) {\n\t\t\t\tinput.prop( 'checked', ! input.prop( 'checked' ) );\n\t\t\t}\n\n\t\t\tinput.change();\n\t\t} );\n\n\t\t// select change\n\t\tthis.$originalSelect.on( 'change', ( ev, selfOriginated ) => {\n\t\t\tif ( selfOriginated ) {\n\t\t\t\treturn;\n\t\t\t}\n\n\t\t\tself.$_items.find( 'li' ).each( function () {\n\t\t\t\tconst value = $( this ).data( 'value' );\n\n\t\t\t\tif ( self.isValueSelected( value ) ) {\n\t\t\t\t\tself._selectItem( value );\n\t\t\t\t} else {\n\t\t\t\t\tself._deselectItem( value );\n\t\t\t\t}\n\t\t\t} );\n\n\t\t\tself.updateLabel();\n\t\t} );\n\n\t\t// close dropdown on external click\n\t\t$( document ).on( 'click', this.closeDropdown.bind( this ) );\n\t}\n\n\t// open dropdown\n\topenDropdown() {\n\t\tthis.$_main?.addClass( 'open' ).removeClass( 'closed' );\n\t\tthis._afterDropdownOpen();\n\t}\n\n\t// close dropdown\n\tcloseDropdown() {\n\t\tthis.$_main?.removeClass( 'open' ).addClass( 'closed' );\n\t}\n\n\t// close other dropdowns\n\t_closeOtherDropdowns() {\n\t\tconst self = this,\n\t\t\tdropdowns = $( document )\n\t\t\t\t.find( 'select.enhanced' )\n\t\t\t\t.filter( function ( i, select ) {\n\t\t\t\t\tconst $el = $( select );\n\n\t\t\t\t\treturn (\n\t\t\t\t\t\t!! $el.data( 'dropdown' ) &&\n\t\t\t\t\t\t! $el.is( self.$originalSelect )\n\t\t\t\t\t);\n\t\t\t\t} );\n\n\t\tdropdowns.each( function () {\n\t\t\t$( this ).data( 'dropdown' ).closeDropdown();\n\t\t} );\n\t}\n\n\t// toggle dropdown\n\ttoggleDropdown() {\n\t\tthis.$_main?.toggleClass( 'open' ).toggleClass( 'closed' );\n\n\t\tif ( this.$_main?.hasClass( 'open' ) ) {\n\t\t\tthis._afterDropdownOpen();\n\t\t}\n\t}\n\n\t// perform operations after dropdown is open\n\t_afterDropdownOpen() {\n\t\tthis._closeOtherDropdowns();\n\n\t\tif ( this.$_search?.length ) {\n\t\t\tthis.$_search.val( '' );\n\t\t}\n\n\t\tthis._populateItems();\n\t}\n\n\t// get elements\n\tgetMatchingElements( search, limit ) {\n\t\tlet matchingElements = [],\n\t\t\t$options = this.getOptions(),\n\t\t\tpromise;\n\n\t\tpromise = new Promise( ( resolve ) => {\n\t\t\t// first of all, search across select option\n\t\t\t$options.each( function () {\n\t\t\t\tconst t = $( this ),\n\t\t\t\t\tvalue = t.val(),\n\t\t\t\t\tlabel = t.html(),\n\t\t\t\t\tregex = new RegExp( '.*' + search + '.*', 'i' ),\n\t\t\t\t\tshow =\n\t\t\t\t\t\t! search || regex.test( value ) || regex.test( label );\n\n\t\t\t\tif ( show ) {\n\t\t\t\t\tmatchingElements.push( {\n\t\t\t\t\t\tvalue,\n\t\t\t\t\t\tlabel,\n\t\t\t\t\t} );\n\t\t\t\t}\n\t\t\t} );\n\n\t\t\t// then retrieve additional items\n\t\t\tif ( this.options.getElements ) {\n\t\t\t\t// we're expecting key => value pairs\n\t\t\t\tthis.options\n\t\t\t\t\t.getElements( search )\n\t\t\t\t\t.then( ( retrievedElements ) => {\n\t\t\t\t\t\tif ( retrievedElements ) {\n\t\t\t\t\t\t\t// reformat retrieved array\n\t\t\t\t\t\t\tretrievedElements = retrievedElements.reduce(\n\t\t\t\t\t\t\t\t( a, v, i ) => {\n\t\t\t\t\t\t\t\t\ta.push( { label: i, value: v } );\n\t\t\t\t\t\t\t\t\treturn a;\n\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t[]\n\t\t\t\t\t\t\t);\n\n\t\t\t\t\t\t\t// merge found results with options\n\t\t\t\t\t\t\tmatchingElements = $.extend(\n\t\t\t\t\t\t\t\tmatchingElements,\n\t\t\t\t\t\t\t\tretrievedElements\n\t\t\t\t\t\t\t);\n\t\t\t\t\t\t}\n\n\t\t\t\t\t\tresolve( this._formatItems( matchingElements, limit ) );\n\t\t\t\t\t} );\n\t\t\t} else {\n\t\t\t\tresolve( this._formatItems( matchingElements, limit ) );\n\t\t\t}\n\t\t} );\n\n\t\treturn promise;\n\t}\n\n\t// format items as key/value pairs for further processing\n\t_formatItems( items, limit ) {\n\t\tlet indexes = [],\n\t\t\thasMore = false;\n\n\t\t// remove duplicates and sort array of results\n\t\titems\n\t\t\t.filter( ( v ) => {\n\t\t\t\tif ( -1 === indexes.indexOf( v.value ) ) {\n\t\t\t\t\tindexes.push( v.value );\n\t\t\t\t\treturn true;\n\t\t\t\t}\n\n\t\t\t\treturn false;\n\t\t\t} )\n\t\t\t.sort( ( a, b ) => {\n\t\t\t\tconst order = this.options.order,\n\t\t\t\t\tmod = order === 'ASC' ? 1 : -1;\n\n\t\t\t\tif ( a.value < b.value ) {\n\t\t\t\t\treturn -1 * mod;\n\t\t\t\t} else if ( a.value > b.value ) {\n\t\t\t\t\treturn mod;\n\t\t\t\t}\n\n\t\t\t\treturn 0;\n\t\t\t} );\n\n\t\t// paginate when needed\n\t\tif ( limit ) {\n\t\t\thasMore = limit < Object.keys( items ).length;\n\t\t\titems = items.slice( 0, limit );\n\t\t}\n\n\t\treturn {\n\t\t\titems,\n\t\t\thasMore,\n\t\t};\n\t}\n\n\t// generate item to append to items list\n\t_generateItem( value, label ) {\n\t\tlet active = this.isValueSelected( value ),\n\t\t\toption = this.getOptionByValue( value ),\n\t\t\t$item = $( '<li/>', {\n\t\t\t\t'data-value': value,\n\t\t\t\tclass: option.length ? option.attr( 'class' ) : '',\n\t\t\t} ),\n\t\t\t$anchor;\n\n\t\tif ( option.length ) {\n\t\t\tconst template = option.data( 'template' ),\n\t\t\t\tcount = option.data( 'count' );\n\n\t\t\tlabel = template ? template : label;\n\n\t\t\tif ( !! count ) {\n\t\t\t\tlabel += count;\n\t\t\t}\n\t\t}\n\n\t\t$anchor = $( '<a/>', {\n\t\t\thref: option.length ? option.data( 'filter_url' ) : '#',\n\t\t\thtml: label,\n\t\t\t'data-title': option.length ? option.data( 'title' ) : '',\n\t\t} );\n\n\t\tif ( this.$originalSelect.prop( 'multiple' ) ) {\n\t\t\tconst $checkbox = $( '<input/>', {\n\t\t\t\t\ttype: 'checkbox',\n\t\t\t\t\tvalue,\n\t\t\t\t} ),\n\t\t\t\t$label = $( '<label>' );\n\n\t\t\t$checkbox.prop( 'checked', active );\n\t\t\t$label.prepend( $checkbox ).append( $anchor );\n\t\t\t$item.append( $label ).addClass( 'checkbox' );\n\t\t} else {\n\t\t\t$item.append( $anchor );\n\t\t}\n\n\t\tactive ? $item.addClass( 'active' ) : $item.removeClass( 'active' );\n\n\t\treturn $item;\n\t}\n\n\t// populate items list\n\t_populateItems( page ) {\n\t\tlet search = this.$_search?.length ? this.$_search.val() : '',\n\t\t\tperPage = this.options.paginate ? this.options.perPage : 0,\n\t\t\tlimit;\n\n\t\tpage = page ? parseInt( page ) : 1;\n\t\tlimit = page * perPage;\n\n\t\tthis.getMatchingElements( search, limit ).then( ( resultSet ) => {\n\t\t\tlet matchingItems = resultSet.items,\n\t\t\t\titems = [],\n\t\t\t\thasMore = false;\n\n\t\t\t// remove all previous items\n\t\t\tthis._emptyItems();\n\t\t\tthis._hideLoadMore();\n\n\t\t\tif ( ! matchingItems.length ) {\n\t\t\t\titems.push(\n\t\t\t\t\t$( '<li/>', { text: this.options.labels.noItemsFound } )\n\t\t\t\t);\n\n\t\t\t\tthis.currentPage = 1;\n\t\t\t} else {\n\t\t\t\tfor ( const v of matchingItems ) {\n\t\t\t\t\tif ( v.value === '' ) {\n\t\t\t\t\t\titems.unshift( this._generateItem( v.value, v.label ) );\n\t\t\t\t\t} else {\n\t\t\t\t\t\titems.push( this._generateItem( v.value, v.label ) );\n\t\t\t\t\t}\n\t\t\t\t}\n\n\t\t\t\tthis.currentPage = page;\n\t\t\t\thasMore = resultSet.hasMore;\n\t\t\t}\n\n\t\t\tthis.$_items.append( items );\n\n\t\t\t$( document ).trigger( 'yith_wcan_dropdown_updated' );\n\n\t\t\tif ( hasMore ) {\n\t\t\t\tthis._showLoadMore();\n\t\t\t}\n\t\t} );\n\t}\n\n\t// load next page of items\n\tloadNextPage() {\n\t\tconst page = this.currentPage + 1;\n\n\t\tthis._populateItems( page );\n\t}\n\n\t// set an item as active\n\t_selectItem( value ) {\n\t\treturn this._changeItemStatus( value, true );\n\t}\n\n\t// disable an item\n\t_deselectItem( value ) {\n\t\treturn this._changeItemStatus( value, false );\n\t}\n\n\t// change item status\n\t_changeItemStatus( value, status ) {\n\t\tconst $option = this.$originalSelect.find(\n\t\t\t`option[value=\"${ value }\"]`\n\t\t);\n\n\t\tif ( $option.length ) {\n\t\t\t$option.prop( 'selected', status );\n\n\t\t\tthis.closeDropdown();\n\t\t\tthis.updateLabel();\n\n\t\t\tthis.$originalSelect.trigger( 'change', [ true ] );\n\n\t\t\treturn true;\n\t\t}\n\t\treturn false;\n\t}\n\n\t// empty items list\n\t_emptyItems() {\n\t\tthis.$_items.html( '' );\n\t}\n\n\t// show \"Load more\" link\n\t_showLoadMore() {\n\t\tthis.$_showMore.show();\n\t}\n\n\t// hide \"Load more\" link\n\t_hideLoadMore() {\n\t\tthis.$_showMore.hide();\n\t}\n\n\t// returns select label\n\tgetLabel() {\n\t\treturn this.hasSelectedValues()\n\t\t\t? this.getSelectedLabels().join( ', ' )\n\t\t\t: this.options.labels.emptyLabel;\n\t}\n\n\t// update label to match new selection\n\tupdateLabel() {\n\t\tconst label = this.getLabel();\n\n\t\tthis.$_label?.html( label );\n\t}\n\n\t// returns select options\n\tgetOptions() {\n\t\treturn this.$originalSelect.find( 'option' );\n\t}\n\n\t// checks whether select has selected values\n\thasSelectedValues() {\n\t\treturn this.getSelectedOptions().length;\n\t}\n\n\t// checks whether a value is selected\n\tisValueSelected( value ) {\n\t\tconst found = this.getSelectedValues().indexOf( value.toString() );\n\n\t\treturn -1 !== found;\n\t}\n\n\t// retrieve selected options\n\tgetSelectedOptions() {\n\t\treturn this.$originalSelect.find( 'option' ).filter( ':selected' );\n\t}\n\n\t// retrieves an option node by value\n\tgetOptionByValue( value ) {\n\t\treturn this.$originalSelect.find( `option[value=\"${ value }\"]` );\n\t}\n\n\t// retrieve labels for selected options\n\tgetSelectedLabels() {\n\t\tconst labels = [];\n\n\t\tthis.getSelectedOptions().each( function () {\n\t\t\tlet $option = $( this ),\n\t\t\t\ttemplate = $option.data( 'template' );\n\n\t\t\ttemplate = template\n\t\t\t\t? template\n\t\t\t\t: $option.html().replace( /\\([0-9]*\\)/, '' );\n\n\t\t\tlabels.push( template );\n\t\t} );\n\n\t\treturn labels;\n\t}\n\n\t// retrieve values for selected options\n\tgetSelectedValues() {\n\t\tconst values = [];\n\n\t\tthis.getSelectedOptions().each( function () {\n\t\t\tvalues.push( $( this ).val() );\n\t\t} );\n\n\t\treturn values;\n\t}\n\n\tdestroy() {\n\t\t// TBD\n\t}\n}\n","'use strict';\n\n/* global globalThis, jQuery, yith_wcan_shortcodes, accounting */\n\nimport { $ } from '../config.js';\nimport YITH_WCAN_Dropdown from './yith-wcan-dropdown';\n\nexport default class YITH_WCAN_Preset {\n\t// main preset node\n\tpreset = false;\n\t$preset = false;\n\n\t// target of the filter, if any\n\ttarget = false;\n\t$target = false;\n\n\t// filters node\n\t$filters = false;\n\n\t// filter button\n\t$filterButtons = false;\n\n\t// nodes created just for modal layout\n\tmodalElements = {};\n\n\t// retains current status of filters\n\tactiveFilters = false;\n\n\t// mobile flag\n\tisMobile = false;\n\n\t// slider timeout\n\tsliderTimeout = false;\n\n\t// registers when status has changed\n\toriginalFilters = null;\n\tdirty = false;\n\n\t// init object\n\tconstructor( el ) {\n\t\t// main preset node\n\t\tthis.preset = '#' + el.attr( 'id' );\n\t\tthis.$preset = el;\n\n\t\t// target of the filter, if any\n\t\tthis.target = this.$preset.data( 'target' );\n\t\tthis.$target = this.target ? $( this.target ) : false;\n\n\t\tthis._regiterStatus();\n\t\tthis._initFilterButton();\n\t\tthis._initResponsive();\n\t\tthis._initFilters();\n\t\tthis._initActions();\n\n\t\tthis.$preset\n\t\t\t.data( 'preset', this )\n\t\t\t.addClass( 'enhanced' )\n\t\t\t.trigger( 'yith_wcan_preset_initialized', [ this ] );\n\t}\n\n\t// init filters\n\t_initFilters() {\n\t\tconst self = this;\n\n\t\tthis.getFilters().each( function () {\n\t\t\tconst $filter = $( this );\n\n\t\t\tself._initFilter( $filter );\n\t\t} );\n\n\t\tthis.maybeShowClearAllFilters();\n\t}\n\n\t// init filter button\n\t_initFilterButton() {\n\t\tthis.$filterButtons = this.$preset.find( '.apply-filters' );\n\n\t\tif ( ! this.$filterButtons.length ) {\n\t\t\treturn;\n\t\t}\n\n\t\t// manage filter button\n\t\tthis.$filterButtons\n\t\t\t.on( 'click', ( ev ) => {\n\t\t\t\tev.preventDefault();\n\t\t\t\tthis.filter();\n\t\t\t} )\n\t\t\t.hide();\n\t}\n\n\t// init generic actions\n\t_initActions() {\n\t\tthis.$preset.find( 'form' ).on( 'submit', ( ev ) => {\n\t\t\tev.preventDefault();\n\t\t} );\n\t}\n\n\t// init responsive\n\t_initResponsive() {\n\t\tif ( ! yith_wcan_shortcodes.modal_on_mobile ) {\n\t\t\treturn;\n\t\t}\n\n\t\tconst media = window.matchMedia(\n\t\t\t`(max-width: ${ yith_wcan_shortcodes.mobile_media_query }px)`\n\t\t);\n\n\t\t$( window )\n\t\t\t.on( 'resize', () => {\n\t\t\t\tconst isMobile = !! media.matches;\n\n\t\t\t\tif ( isMobile !== this.isMobile ) {\n\t\t\t\t\tthis.isMobile = isMobile;\n\t\t\t\t\tthis._afterLayoutChange();\n\t\t\t\t}\n\t\t\t} )\n\t\t\t.resize();\n\t}\n\n\t// init filter\n\t_initFilter( $filter ) {\n\t\tconst self = this,\n\t\t\thandleChange = function ( ev ) {\n\t\t\t\tconst t = $( this ),\n\t\t\t\t\t$currentFilter = t.closest( '.yith-wcan-filter' ),\n\t\t\t\t\tmultiple = $currentFilter.length\n\t\t\t\t\t\t? 'yes' === $currentFilter.data( 'multiple' )\n\t\t\t\t\t\t: false,\n\t\t\t\t\t$item = t.closest( '.filter-item' ),\n\t\t\t\t\t$items = $item.length\n\t\t\t\t\t\t? $currentFilter.find( '.filter-item' ).not( $item )\n\t\t\t\t\t\t: [];\n\n\t\t\t\tif ( $item.is( '.disabled' ) && ! $item.is( '.active' ) ) {\n\t\t\t\t\tev.preventDefault();\n\t\t\t\t\treturn false;\n\t\t\t\t}\n\n\t\t\t\tev.preventDefault();\n\n\t\t\t\t$items.length &&\n\t\t\t\t\t! multiple &&\n\t\t\t\t\t$items\n\t\t\t\t\t\t.removeClass( 'active' )\n\t\t\t\t\t\t.children( 'label' )\n\t\t\t\t\t\t.find( ':input' )\n\t\t\t\t\t\t.prop( 'checked', false )\n\t\t\t\t\t\t.parent( '.checked' )\n\t\t\t\t\t\t.removeClass( 'checked' );\n\t\t\t\t$item.length && $item.toggleClass( 'active' );\n\n\t\t\t\t// reset active filters.\n\t\t\t\tself.activeFilters = false;\n\n\t\t\t\tself.maybeFilter( $filter );\n\t\t\t\tself.maybeToggleClearAllFilters();\n\t\t\t\tself.maybeToggleClearFilter( $currentFilter );\n\t\t\t};\n\n\t\t// handle filter activation/deactivation by click on label (no input involved)\n\t\t$filter\n\t\t\t.find( '.filter-item' )\n\t\t\t.not( '.checkbox' )\n\t\t\t.not( '.radio' )\n\t\t\t.on( 'click', 'a', function ( ev ) {\n\t\t\t\tconst t = $( this ),\n\t\t\t\t\t$item = t.closest( '.filter-item' );\n\n\t\t\t\tif ( ! $( ev?.delegateTarget ).is( $item ) ) {\n\t\t\t\t\treturn false;\n\t\t\t\t}\n\n\t\t\t\thandleChange.call( this, ev );\n\t\t\t} );\n\n\t\t// handle filter activation/deactivation from input change\n\t\t$filter.find( ':input' ).on( 'change', function ( ev ) {\n\t\t\tconst t = $( this ),\n\t\t\t\t$item = t.closest( '.filter-item' );\n\n\t\t\tif ( $item.is( '.disabled' ) && ! $item.is( '.active' ) ) {\n\t\t\t\tt.prop( 'checked', false );\n\t\t\t\treturn false;\n\t\t\t}\n\n\t\t\thandleChange.call( this, ev );\n\t\t} );\n\n\t\t// handle filter activation/deactivation by click on label (there is an input whose state can be switched)\n\t\t$filter.find( 'label > a' ).on( 'click', function ( ev ) {\n\t\t\tconst t = $( this ),\n\t\t\t\t$item = t.closest( '.filter-item' );\n\n\t\t\tev.preventDefault();\n\n\t\t\tif ( $item.is( '.disabled' ) && ! $item.is( '.active' ) ) {\n\t\t\t\treturn false;\n\t\t\t}\n\n\t\t\tconst $input = t.parent().find( ':input' );\n\n\t\t\tif (\n\t\t\t\t$input.is( '[type=\"radio\"]' ) ||\n\t\t\t\t$input.is( '[type=\"checkbox\"]' )\n\t\t\t) {\n\t\t\t\t$input.prop( 'checked', ! $input.prop( 'checked' ) );\n\t\t\t}\n\n\t\t\t$input.change();\n\t\t} );\n\n\t\t// init tooltip\n\t\tthis._initTooltip( $filter );\n\n\t\t// init price slider\n\t\tthis._initPriceSlider( $filter );\n\n\t\t// init dropdown\n\t\tthis._initDropdown( $filter );\n\n\t\t// init collapsable\n\t\tthis._initCollapsable( $filter );\n\n\t\t// init clear anchors\n\t\tthis.maybeShowClearFilter( $filter );\n\n\t\t// init custom inputs\n\t\tif ( this.$preset?.hasClass( 'custom-style' ) ) {\n\t\t\tthis._initCustomInput( $filter );\n\t\t\t$filter.on( 'yith_wcan_dropdown_updated', function () {\n\t\t\t\tconst $dropdown = $( this ),\n\t\t\t\t\t$current = $dropdown.closest( '.yith-wcan-filter' );\n\n\t\t\t\tself._initCustomInput( $current );\n\t\t\t} );\n\t\t}\n\t}\n\n\t// init tooltip\n\t_initTooltip( $filter, position ) {\n\t\t$filter.find( '[data-title]' ).each( function () {\n\t\t\tconst t = $( this );\n\n\t\t\tif ( t.hasClass( 'tooltip-added' ) || ! t.data( 'title' ) ) {\n\t\t\t\treturn;\n\t\t\t}\n\n\t\t\tt.on( 'mouseenter', function () {\n\t\t\t\tlet th = $( this ),\n\t\t\t\t\ttooltip = null,\n\t\t\t\t\twrapperWidth = th.outerWidth(),\n\t\t\t\t\tleft = 0,\n\t\t\t\t\twidth = 0;\n\n\t\t\t\tif (\n\t\t\t\t\t! position ||\n\t\t\t\t\t( 'top' !== position && 'right' !== position )\n\t\t\t\t) {\n\t\t\t\t\tconst container = th.closest( '.filter-item' );\n\n\t\t\t\t\tposition =\n\t\t\t\t\t\tcontainer.hasClass( 'color' ) ||\n\t\t\t\t\t\tcontainer.hasClass( 'label' )\n\t\t\t\t\t\t\t? 'top'\n\t\t\t\t\t\t\t: 'right';\n\t\t\t\t}\n\n\t\t\t\ttooltip = $( '<span>', {\n\t\t\t\t\tclass: 'yith-wcan-tooltip',\n\t\t\t\t\thtml: th.data( 'title' ),\n\t\t\t\t} );\n\n\t\t\t\tth.append( tooltip );\n\n\t\t\t\twidth = tooltip.outerWidth() + 6;\n\t\t\t\ttooltip.outerWidth( width );\n\n\t\t\t\tif ( 'top' === position ) {\n\t\t\t\t\tleft = ( wrapperWidth - width ) / 2;\n\t\t\t\t} else {\n\t\t\t\t\tleft = wrapperWidth + 15;\n\t\t\t\t}\n\n\t\t\t\ttooltip.css( { left: left.toFixed( 0 ) + 'px' } ).fadeIn( 200 );\n\n\t\t\t\tth.addClass( 'with-tooltip' );\n\t\t\t} ).on( 'mouseleave', function () {\n\t\t\t\tconst th = $( this );\n\n\t\t\t\tth.find( '.yith-wcan-tooltip' ).fadeOut( 200, function () {\n\t\t\t\t\tth.removeClass( 'with-tooltip' )\n\t\t\t\t\t\t.find( '.yith-wcan-tooltip' )\n\t\t\t\t\t\t.remove();\n\t\t\t\t} );\n\t\t\t} );\n\n\t\t\tt.addClass( 'tooltip-added' );\n\t\t} );\n\t}\n\n\t// init dropdown\n\t_initDropdown( $filter ) {\n\t\tconst $dropdown = $filter.find( 'select.filter-dropdown' );\n\n\t\tif ( ! $dropdown.length ) {\n\t\t\treturn;\n\t\t}\n\n\t\tif (\n\t\t\t$dropdown.hasClass( 'select2-hidden-accessible' ) &&\n\t\t\t'undefined' !== typeof $.fn.selectWoo\n\t\t) {\n\t\t\t$dropdown.selectWoo( 'destroy' );\n\t\t}\n\n\t\tthis._initDropdownObject( $dropdown, {\n\t\t\tpaginate: true,\n\t\t\tperPage: yith_wcan_shortcodes.terms_per_page,\n\t\t} );\n\t}\n\n\t// init dropdown object\n\t_initDropdownObject( $dropdown, opts ) {\n\t\treturn new YITH_WCAN_Dropdown( $dropdown, opts );\n\t}\n\n\t// init price slider\n\t_initPriceSlider( $filter ) {\n\t\tif ( ! $filter.hasClass( 'filter-price-slider' ) ) {\n\t\t\treturn;\n\t\t}\n\n\t\tconst self = this,\n\t\t\t$container = $filter.find( '.price-slider' ),\n\t\t\t$minInput = $container.find( '.price-slider-min' ),\n\t\t\t$maxInput = $container.find( '.price-slider-max' ),\n\t\t\tmin = parseFloat( $container.data( 'min' ) ),\n\t\t\tmax = parseFloat( $container.data( 'max' ) ),\n\t\t\tcurrentMin = parseFloat( $minInput.val() ),\n\t\t\tcurrentMax = parseFloat( $maxInput.val() ),\n\t\t\tstep = parseFloat( $container.data( 'step' ) ),\n\t\t\thandleSliderChange = function () {\n\t\t\t\tif ( self.sliderTimeout ) {\n\t\t\t\t\tclearTimeout( self.sliderTimeout );\n\t\t\t\t}\n\n\t\t\t\tself.sliderTimeout = setTimeout( () => {\n\t\t\t\t\tself.maybeFilter( $filter );\n\t\t\t\t}, 200 );\n\t\t\t};\n\n\t\t$filter.find( '.price-slider-ui' ).ionRangeSlider( {\n\t\t\tskin: 'round',\n\t\t\ttype: 'double',\n\t\t\tmin,\n\t\t\tmax,\n\t\t\tstep,\n\t\t\tfrom: currentMin,\n\t\t\tto: currentMax,\n\t\t\tmin_interval: step,\n\t\t\tvalues_separator: ' - ',\n\t\t\tprettify: ( v ) => this.formatPrice( v ),\n\t\t\tonChange: ( data ) => {\n\t\t\t\t$minInput.val( data.from );\n\t\t\t\t$maxInput.val( data.to );\n\t\t\t},\n\t\t\tonFinish: handleSliderChange,\n\t\t} );\n\n\t\t$minInput\n\t\t\t.add( $maxInput )\n\t\t\t.off( 'change' )\n\t\t\t.on( 'keyup', () => {\n\t\t\t\tif ( ! $minInput.val() || ! $maxInput.val() ) {\n\t\t\t\t\treturn;\n\t\t\t\t}\n\n\t\t\t\thandleSliderChange();\n\t\t\t} );\n\t}\n\n\t// init collapsable\n\t_initCollapsable( $filter ) {\n\t\tthis._initTitleCollapsable( $filter );\n\t\tthis._initHierarchyCollapsable( $filter );\n\t}\n\n\t// init toggle on click of the title\n\t_initTitleCollapsable( $filter ) {\n\t\tconst $title = $filter.find( '.collapsable' );\n\n\t\tif ( ! $title.length ) {\n\t\t\treturn;\n\t\t}\n\n\t\tthis._initToggle( $title, $title, $filter.find( '.filter-content' ) );\n\t}\n\n\t// init toggle on click of the parent li\n\t_initHierarchyCollapsable( $filter ) {\n\t\tconst $items = $filter.find( '.hierarchy-collapsable' );\n\n\t\tif ( ! $items.length ) {\n\t\t\treturn;\n\t\t}\n\n\t\t// set parents of currently active term as open\n\t\tconst self = this,\n\t\t\tactive = $filter.find( '.active' );\n\n\t\tif ( active.length ) {\n\t\t\tactive\n\t\t\t\t.parents( '.hierarchy-collapsable' )\n\t\t\t\t.removeClass( 'closed' )\n\t\t\t\t.addClass( 'opened' );\n\n\t\t\tif (\n\t\t\t\tactive.hasClass( 'hierarchy-collapsable' ) &&\n\t\t\t\tyith_wcan_shortcodes.show_current_children\n\t\t\t) {\n\t\t\t\tactive.removeClass( 'closed' ).addClass( 'opened' );\n\t\t\t}\n\t\t}\n\n\t\t$items.each( function () {\n\t\t\tconst $t = $( this ),\n\t\t\t\t$toggle = $( '<span/>', {\n\t\t\t\t\tclass: 'toggle-handle',\n\t\t\t\t} );\n\n\t\t\t$toggle.appendTo( $t );\n\n\t\t\tself._initToggle( $toggle, $t, $t.children( 'ul.filter-items' ) );\n\t\t} );\n\t}\n\n\t// init toggle to generic toggle/target pair\n\t_initToggle( $toggle, $container, $target ) {\n\t\tif ( $container.hasClass( 'closed' ) ) {\n\t\t\t$target.hide();\n\t\t}\n\n\t\t$toggle.off( 'click' ).on( 'click', ( ev ) => {\n\t\t\tev.stopPropagation();\n\t\t\tev.preventDefault();\n\n\t\t\t$target.slideToggle( 400, () => {\n\t\t\t\t$container.toggleClass( 'opened' ).toggleClass( 'closed' );\n\t\t\t} );\n\t\t} );\n\t}\n\n\t// init custom input\n\t_initCustomInput( $filter ) {\n\t\t$filter.find( ':input' ).each( function () {\n\t\t\tlet input = $( this ),\n\t\t\t\ttype = input.attr( 'type' ),\n\t\t\t\tcontainerClass = `${ type }button`,\n\t\t\t\tcontainer;\n\n\t\t\tif ( 'checkbox' !== type && 'radio' !== type ) {\n\t\t\t\treturn;\n\t\t\t}\n\n\t\t\tif ( input.closest( `.${ containerClass }` ).length ) {\n\t\t\t\treturn;\n\t\t\t}\n\n\t\t\tif ( input.is( ':checked' ) ) {\n\t\t\t\tcontainerClass += ' checked';\n\t\t\t}\n\n\t\t\tcontainer = $( '<span/>', {\n\t\t\t\tclass: containerClass,\n\t\t\t} );\n\n\t\t\tinput.wrap( container ).on( 'change', function () {\n\t\t\t\tconst t = $( this );\n\n\t\t\t\tt.prop( 'checked' )\n\t\t\t\t\t? t.parent().addClass( 'checked' )\n\t\t\t\t\t: t.parent().removeClass( 'checked' );\n\t\t\t} );\n\t\t} );\n\t}\n\n\t// register initial status\n\t_regiterStatus() {\n\t\tthis.originalFilters = this.getFiltersProperties();\n\t}\n\n\t// trigger handling after layout change\n\t_afterLayoutChange() {\n\t\tif ( this.isMobile ) {\n\t\t\tthis.$preset\n\t\t\t\t.addClass( 'filters-modal' )\n\t\t\t\t.attr( 'role', 'dialog' )\n\t\t\t\t.attr( 'tabindex', '-1' )\n\t\t\t\t.hide();\n\n\t\t\tthis._addCloseModalButton();\n\t\t\tthis._addApplyFiltersModalButton();\n\t\t\tthis._switchToCollapsables();\n\n\t\t\tthis.$filterButtons?.hide();\n\t\t} else {\n\t\t\tthis.$preset\n\t\t\t\t.removeClass( 'filters-modal' )\n\t\t\t\t.removeClass( 'open' )\n\t\t\t\t.removeAttr( 'role' )\n\t\t\t\t.removeAttr( 'tabindex' )\n\t\t\t\t.show();\n\n\t\t\t$( 'body' )\n\t\t\t\t.css( 'overflow', 'auto' )\n\t\t\t\t.removeClass( 'yith-wcan-preset-modal-open' );\n\n\t\t\tthis._removeCloseModalButton();\n\t\t\tthis._removeApplyFiltersModalButton();\n\t\t\tthis._switchBackCollapsables();\n\n\t\t\tthis.$filterButtons?.show();\n\t\t}\n\t}\n\n\t// add modal close button\n\t_addCloseModalButton() {\n\t\tconst $closeButton = $( '<a/>', {\n\t\t\tclass: 'close-button',\n\t\t\thtml: '&times;',\n\t\t\t'data-dismiss': 'modal',\n\t\t\t'aria-label': yith_wcan_shortcodes.labels.close,\n\t\t} );\n\n\t\t$closeButton\n\t\t\t.prependTo( this.$preset )\n\t\t\t.on( 'click', this.closeModal.bind( this ) );\n\t\tthis.modalElements.closeButton = $closeButton;\n\t}\n\n\t// remove modal close button\n\t_removeCloseModalButton() {\n\t\tthis.modalElements?.closeButton?.remove();\n\t}\n\n\t// show main filter button for the modal\n\t_addApplyFiltersModalButton() {\n\t\tconst $filterButton = $( '<button/>', {\n\t\t\tclass: 'apply-filters main-modal-button',\n\t\t\thtml: yith_wcan_shortcodes.labels.show_results,\n\t\t\t'data-dismiss': 'modal',\n\t\t} );\n\n\t\t$filterButton.appendTo( this.$preset ).on( 'click', () => {\n\t\t\tthis.filter();\n\t\t\tthis.closeModal();\n\t\t} );\n\t\tthis.modalElements.applyFiltersButton = $filterButton;\n\t}\n\n\t// hide main filter button for the modal\n\t_removeApplyFiltersModalButton() {\n\t\tthis.modalElements?.applyFiltersButton?.remove();\n\t}\n\n\t// convert all filters to collapsable\n\t_switchToCollapsables() {\n\t\tconst self = this;\n\n\t\tthis.getFilters().each( function () {\n\t\t\tconst $filter = $( this ),\n\t\t\t\t$title = $filter.find( '.filter-title' );\n\n\t\t\tif ( ! $title.length || $title.hasClass( 'collapsable' ) ) {\n\t\t\t\treturn;\n\t\t\t}\n\n\t\t\t$title.addClass( 'collapsable' ).data( 'disable-collapse', true );\n\n\t\t\tself._initTitleCollapsable( $filter );\n\t\t} );\n\t}\n\n\t// switch back filters to their previous collapsable state\n\t_switchBackCollapsables() {\n\t\tthis.getFilters().each( function () {\n\t\t\tconst $filter = $( this ),\n\t\t\t\t$title = $filter.find( '.filter-title' );\n\n\t\t\tif (\n\t\t\t\t! $title.length ||\n\t\t\t\t! $title.hasClass( 'collapsable' ) ||\n\t\t\t\t! $title.data( 'disable-collapse' )\n\t\t\t) {\n\t\t\t\treturn;\n\t\t\t}\n\n\t\t\t$title\n\t\t\t\t.removeClass( 'collapsable' )\n\t\t\t\t.removeData( 'disable-collapse', true )\n\t\t\t\t.off( 'click' );\n\n\t\t\t$filter.find( '.filter-content' ).show();\n\t\t} );\n\t}\n\n\t// close all collpasable before showing modal\n\t_openAllCollapsables() {\n\t\tthis.$filters\n\t\t\t.not( '.no-title' )\n\t\t\t.not( ( i, v ) => {\n\t\t\t\treturn this.isFilterActive( $( v ) );\n\t\t\t} )\n\t\t\t.find( '.filter-content' )\n\t\t\t.show()\n\t\t\t.end()\n\t\t\t.find( '.filter-title' )\n\t\t\t.removeClass( 'closed' )\n\t\t\t.addClass( 'opened' );\n\t}\n\n\t// close all collpasable before showing modal\n\t_closeAllCollapsables() {\n\t\tthis.$filters\n\t\t\t.not( '.no-title' )\n\t\t\t.not( ( i, v ) => {\n\t\t\t\treturn this.isFilterActive( $( v ) );\n\t\t\t} )\n\t\t\t.find( '.filter-content' )\n\t\t\t.hide()\n\t\t\t.end()\n\t\t\t.find( '.filter-title' )\n\t\t\t.addClass( 'closed' )\n\t\t\t.removeClass( 'opened' );\n\t}\n\n\t// update status change flag, if filters have changed\n\tmaybeRegisterStatusChange() {\n\t\tconst currentFilters = this.getFiltersProperties(),\n\t\t\tcurrentStr = JSON.stringify( currentFilters ),\n\t\t\toriginalStr = JSON.stringify( this.originalFilters );\n\n\t\tthis.dirty = currentStr !== originalStr;\n\t}\n\n\t// apply filters when possible\n\tmaybeFilter( $initiator ) {\n\t\t// register status change\n\t\tthis.maybeRegisterStatusChange();\n\n\t\t// filter, or show filter button.\n\t\tif ( yith_wcan_shortcodes.instant_filters && ! this.isMobile ) {\n\t\t\tthis.filter();\n\t\t} else if (\n\t\t\t! yith_wcan_shortcodes.instant_filters &&\n\t\t\t! this.isMobile\n\t\t) {\n\t\t\tthis.dirty\n\t\t\t\t? this.$filterButtons?.show()\n\t\t\t\t: this.$filterButtons?.hide();\n\t\t} else if ( this.isMobile && this.dirty ) {\n\t\t\tthis.$preset.addClass( 'with-filter-button' );\n\t\t\tthis.modalElements.applyFiltersButton?.show();\n\t\t}\n\t}\n\n\t// main filtering method\n\tfilter() {\n\t\tconst filter = window?.product_filter;\n\n\t\tfilter\n\t\t\t?.doFilter( this.getFiltersProperties(), this.target, this.preset )\n\t\t\t?.done( () => {\n\t\t\t\tlet newPreset = $( this.preset );\n\n\t\t\t\tif ( newPreset.length && yith_wcan_shortcodes.scroll_top ) {\n\t\t\t\t\t// by default, scroll till top of first preset in the page.\n\t\t\t\t\tlet targetOffset = newPreset.offset().top;\n\n\t\t\t\t\tif ( !! yith_wcan_shortcodes.scroll_target ) {\n\t\t\t\t\t\t// when we have a specific target, use that for the offset.\n\t\t\t\t\t\tconst $scrollTarget = $(\n\t\t\t\t\t\t\tyith_wcan_shortcodes.scroll_target\n\t\t\t\t\t\t);\n\n\t\t\t\t\t\ttargetOffset = $scrollTarget.length\n\t\t\t\t\t\t\t? $scrollTarget.offset().top\n\t\t\t\t\t\t\t: targetOffset;\n\t\t\t\t\t} else if ( this.isMobile ) {\n\t\t\t\t\t\t// otherwise, if we're on mobile, scroll to the top of the page\n\t\t\t\t\t\t// (preset could be in an unexpected location).\n\t\t\t\t\t\ttargetOffset = 100;\n\t\t\t\t\t}\n\n\t\t\t\t\t$( 'body, html' ).animate( {\n\t\t\t\t\t\tscrollTop: targetOffset - 100,\n\t\t\t\t\t} );\n\t\t\t\t}\n\n\t\t\t\t// register new filters, clear status flag\n\t\t\t\tthis.originalFilters = this.getFiltersProperties();\n\t\t\t\tthis.dirty = false;\n\t\t\t} );\n\n\t\tif ( this.isMobile ) {\n\t\t\tthis.$preset.removeClass( 'with-filter-button' );\n\t\t\tthis.modalElements.applyFiltersButton?.hide();\n\t\t\tthis.closeModal();\n\t\t}\n\t}\n\n\t// get all filter nodes\n\tgetFilters() {\n\t\tif ( false === this.$filters ) {\n\t\t\tthis.$filters = this.$preset.find( '.yith-wcan-filter' );\n\t\t}\n\n\t\treturn this.$filters;\n\t}\n\n\t// retrieves all filters that we want to apply\n\tgetActiveFilters() {\n\t\tif ( false === this.activeFilters ) {\n\t\t\tthis.activeFilters = this.getFiltersProperties();\n\t\t}\n\n\t\treturn this.activeFilters;\n\t}\n\n\t// check whether there is any filter active\n\tisAnyFilterActive() {\n\t\treturn !! Object.keys( this.getActiveFilters() ).length;\n\t}\n\n\t// checks whether current filter is active\n\tisFilterActive( $filter ) {\n\t\tlet filterType = $filter.data( 'filter-type' ),\n\t\t\tactive,\n\t\t\tfilteredActive;\n\n\t\tswitch ( filterType ) {\n\t\t\tcase 'tax':\n\t\t\tcase 'review':\n\t\t\tcase 'price_range':\n\t\t\t\tconst $dropdown = $filter.find( '.filter-dropdown' );\n\n\t\t\t\tif ( $dropdown.length ) {\n\t\t\t\t\tconst val = $dropdown.val();\n\n\t\t\t\t\tactive = 'object' === typeof val ? !! val?.length : !! val;\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\n\t\t\t// if we use type other than dropdown, fallthrough\n\t\t\tcase 'stock_sale':\n\t\t\t\tactive = $filter\n\t\t\t\t\t.find( '.filter-item' )\n\t\t\t\t\t.filter( '.active' ).length;\n\t\t\t\tbreak;\n\t\t\tcase 'price_slider':\n\t\t\t\tconst step = parseFloat(\n\t\t\t\t\t\t$filter.find( '.price-slider' ).data( 'step' )\n\t\t\t\t\t),\n\t\t\t\t\tmin = parseFloat(\n\t\t\t\t\t\t$filter.find( '.price-slider' ).data( 'min' )\n\t\t\t\t\t),\n\t\t\t\t\tmax = parseFloat(\n\t\t\t\t\t\t$filter.find( '.price-slider' ).data( 'max' )\n\t\t\t\t\t),\n\t\t\t\t\tcurrentMin = parseFloat(\n\t\t\t\t\t\t$filter.find( '.price-slider-min' ).val()\n\t\t\t\t\t),\n\t\t\t\t\tcurrentMax = parseFloat(\n\t\t\t\t\t\t$filter.find( '.price-slider-max' ).val()\n\t\t\t\t\t);\n\n\t\t\t\tactive =\n\t\t\t\t\tMath.abs( currentMin - min ) >= step ||\n\t\t\t\t\tMath.abs( currentMax - max ) >= step;\n\t\t\t\tbreak;\n\t\t\tcase 'orderby':\n\t\t\t\tactive =\n\t\t\t\t\t'menu_order' !== $filter.find( '.filter-order-by' ).val();\n\t\t\t\tbreak;\n\t\t\tdefault:\n\t\t\t\tactive = false;\n\t\t\t\tbreak;\n\t\t}\n\n\t\tfilteredActive = $filter.triggerHandler( 'yith_wcan_is_filter_active', [\n\t\t\tactive,\n\t\t\tthis,\n\t\t] );\n\t\tactive =\n\t\t\ttypeof filteredActive !== 'undefined' ? filteredActive : active;\n\n\t\treturn active;\n\t}\n\n\t// count the number of active items per filter\n\tcountActiveItems( $filter ) {\n\t\tlet filterType = $filter.data( 'filter-type' ),\n\t\t\tcount;\n\n\t\tswitch ( filterType ) {\n\t\t\tcase 'tax':\n\t\t\tcase 'review':\n\t\t\tcase 'price_range':\n\t\t\t\tconst $dropdown = $filter.find( '.filter-dropdown' );\n\n\t\t\t\tif ( $dropdown.length ) {\n\t\t\t\t\tconst val = $dropdown.val();\n\n\t\t\t\t\tcount = 'object' === typeof val ? val?.length : +!! val;\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\n\t\t\t// if we use type other than dropdown, fallthrough\n\t\t\tcase 'stock_sale':\n\t\t\t\tcount = $filter\n\t\t\t\t\t.find( '.filter-items' )\n\t\t\t\t\t.find( '.active' ).length;\n\t\t\t\tbreak;\n\t\t\tcase 'orderby':\n\t\t\t\tif ( this.isFilterActive( $filter ) ) {\n\t\t\t\t\tcount = 1;\n\t\t\t\t}\n\t\t\t\tbreak;\n\t\t\tcase 'price_slider':\n\t\t\tdefault:\n\t\t\t\tcount = 0;\n\t\t\t\tbreak;\n\t\t}\n\n\t\treturn count;\n\t}\n\n\t// retrieves filter properties for the filter\n\tgetFilterProperties( $filter ) {\n\t\tlet filterType = $filter.data( 'filter-type' ),\n\t\t\tmultiple = 'yes' === $filter.data( 'multiple' ),\n\t\t\t$dropdown = $filter.find( '.filter-dropdown' ),\n\t\t\tproperties = {},\n\t\t\tfilteredProperties,\n\t\t\t$active;\n\n\t\tswitch ( filterType ) {\n\t\t\tcase 'tax':\n\t\t\t\tlet activeTerms = [],\n\t\t\t\t\ttaxonomy = $filter.data( 'taxonomy' ),\n\t\t\t\t\tisAttr = 0 === taxonomy.indexOf( 'filter' ),\n\t\t\t\t\trelation = $filter.data( 'relation' );\n\n\t\t\t\tif ( $dropdown.length ) {\n\t\t\t\t\tif ( multiple ) {\n\t\t\t\t\t\tactiveTerms = $dropdown.val();\n\t\t\t\t\t} else {\n\t\t\t\t\t\tactiveTerms.push( $dropdown.val() );\n\t\t\t\t\t}\n\t\t\t\t} else {\n\t\t\t\t\t$active = $filter\n\t\t\t\t\t\t.find( '.filter-item' )\n\t\t\t\t\t\t.filter( '.active' )\n\t\t\t\t\t\t.children( 'a, label' );\n\n\t\t\t\t\tactiveTerms = $active.get().reduce( function ( a, v ) {\n\t\t\t\t\t\tlet val;\n\n\t\t\t\t\t\tv = $( v );\n\t\t\t\t\t\tval = v.is( 'label' )\n\t\t\t\t\t\t\t? v.find( ':input' ).val()\n\t\t\t\t\t\t\t: v.data( 'term-slug' );\n\n\t\t\t\t\t\tif ( ! val ) {\n\t\t\t\t\t\t\treturn a;\n\t\t\t\t\t\t}\n\n\t\t\t\t\t\ta.push( val );\n\n\t\t\t\t\t\treturn a;\n\t\t\t\t\t}, activeTerms );\n\t\t\t\t}\n\n\t\t\t\tif ( ! multiple ) {\n\t\t\t\t\tproperties[ taxonomy ] = activeTerms.pop();\n\t\t\t\t} else {\n\t\t\t\t\tconst glue = ! isAttr && 'and' === relation ? '+' : ',';\n\t\t\t\t\tproperties[ taxonomy ] = activeTerms.join( glue );\n\t\t\t\t}\n\n\t\t\t\tif ( isAttr ) {\n\t\t\t\t\tproperties[ taxonomy.replace( 'filter_', 'query_type_' ) ] =\n\t\t\t\t\t\trelation;\n\t\t\t\t}\n\n\t\t\t\tbreak;\n\t\t\tcase 'review':\n\t\t\t\tif ( $dropdown.length ) {\n\t\t\t\t\tproperties.rating_filter = $dropdown.val();\n\t\t\t\t} else {\n\t\t\t\t\t$active = $filter\n\t\t\t\t\t\t.find( '.filter-item' )\n\t\t\t\t\t\t.filter( '.active' )\n\t\t\t\t\t\t.children( 'a, label' );\n\n\t\t\t\t\tif ( ! multiple ) {\n\t\t\t\t\t\t$active = $active.first();\n\t\t\t\t\t\tproperties.rating_filter = $active.is( 'label' )\n\t\t\t\t\t\t\t? $active.find( ':input' ).val()\n\t\t\t\t\t\t\t: $active.data( 'rating' );\n\t\t\t\t\t} else {\n\t\t\t\t\t\tproperties.rating_filter = $active\n\t\t\t\t\t\t\t.get()\n\t\t\t\t\t\t\t.reduce( function ( a, v ) {\n\t\t\t\t\t\t\t\tlet val;\n\n\t\t\t\t\t\t\t\tv = $( v );\n\t\t\t\t\t\t\t\tval = v.is( 'label' )\n\t\t\t\t\t\t\t\t\t? v.find( ':input' ).val()\n\t\t\t\t\t\t\t\t\t: v.data( 'rating' );\n\n\t\t\t\t\t\t\t\tif ( ! val ) {\n\t\t\t\t\t\t\t\t\treturn a;\n\t\t\t\t\t\t\t\t}\n\n\t\t\t\t\t\t\t\ta.push( val );\n\n\t\t\t\t\t\t\t\treturn a;\n\t\t\t\t\t\t\t}, [] )\n\t\t\t\t\t\t\t.join( ',' );\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\tbreak;\n\t\t\tcase 'price_range':\n\t\t\t\tif ( $dropdown.length ) {\n\t\t\t\t\tif ( multiple ) {\n\t\t\t\t\t\tproperties.price_ranges = $dropdown.val().join( ',' );\n\t\t\t\t\t} else {\n\t\t\t\t\t\tproperties.min_price = $dropdown\n\t\t\t\t\t\t\t.val()\n\t\t\t\t\t\t\t.split( '-' )[ 0 ];\n\t\t\t\t\t\tproperties.max_price = $dropdown\n\t\t\t\t\t\t\t.val()\n\t\t\t\t\t\t\t.split( '-' )[ 1 ];\n\t\t\t\t\t}\n\t\t\t\t} else {\n\t\t\t\t\t$active = $filter\n\t\t\t\t\t\t.find( '.filter-item' )\n\t\t\t\t\t\t.filter( '.active' )\n\t\t\t\t\t\t.children( 'a, label' );\n\n\t\t\t\t\tif ( multiple ) {\n\t\t\t\t\t\tproperties.price_ranges = $active\n\t\t\t\t\t\t\t.get()\n\t\t\t\t\t\t\t.reduce( ( a, v ) => {\n\t\t\t\t\t\t\t\tlet min = $( v ).data( 'range-min' ),\n\t\t\t\t\t\t\t\t\tmax = $( v ).data( 'range-max' );\n\n\t\t\t\t\t\t\t\ta += ( max ? `${ min }-${ max }` : min ) + ',';\n\n\t\t\t\t\t\t\t\treturn a;\n\t\t\t\t\t\t\t}, '' )\n\t\t\t\t\t\t\t.replace( /^(.*),$/, '$1' );\n\t\t\t\t\t} else {\n\t\t\t\t\t\tproperties.min_price = parseFloat(\n\t\t\t\t\t\t\t$active.first().data( 'range-min' )\n\t\t\t\t\t\t);\n\t\t\t\t\t\tproperties.max_price = parseFloat(\n\t\t\t\t\t\t\t$active.first().data( 'range-max' )\n\t\t\t\t\t\t);\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\tbreak;\n\t\t\tcase 'price_slider':\n\t\t\t\tproperties.min_price = parseFloat(\n\t\t\t\t\t$filter.find( '.price-slider-min' ).val()\n\t\t\t\t);\n\t\t\t\tproperties.max_price = parseFloat(\n\t\t\t\t\t$filter.find( '.price-slider-max' ).val()\n\t\t\t\t);\n\t\t\t\tbreak;\n\t\t\tcase 'stock_sale':\n\t\t\t\tif ( $filter.find( '.filter-on-sale' ).is( '.active' ) ) {\n\t\t\t\t\tproperties.onsale_filter = 1;\n\t\t\t\t}\n\t\t\t\tif ( $filter.find( '.filter-in-stock' ).is( '.active' ) ) {\n\t\t\t\t\tproperties.instock_filter = 1;\n\t\t\t\t}\n\t\t\t\tif ( $filter.find( '.filter-featured' ).is( '.active' ) ) {\n\t\t\t\t\tproperties.featured_filter = 1;\n\t\t\t\t}\n\t\t\t\tbreak;\n\t\t\tcase 'orderby':\n\t\t\t\tproperties.orderby = $filter.find( '.filter-order-by' ).val();\n\t\t\t\tbreak;\n\t\t\tdefault:\n\t\t\t\tbreak;\n\t\t}\n\n\t\tfilteredProperties = $filter.triggerHandler(\n\t\t\t'yith_wcan_filter_properties',\n\t\t\t[ properties, self ]\n\t\t);\n\t\tproperties =\n\t\t\ttypeof filteredProperties !== 'undefined'\n\t\t\t\t? filteredProperties\n\t\t\t\t: properties;\n\n\t\treturn properties;\n\t}\n\n\t// retrieves properties for all filters of the preset\n\tgetFiltersProperties() {\n\t\tlet properties = {};\n\t\tconst self = this;\n\n\t\tthis.getFilters().each( function () {\n\t\t\tconst $filter = $( this );\n\n\t\t\tif ( self.isFilterActive( $filter ) ) {\n\t\t\t\tconst filterProperties = self.getFilterProperties( $filter );\n\n\t\t\t\tproperties = self.mergeProperties(\n\t\t\t\t\tproperties,\n\t\t\t\t\tfilterProperties,\n\t\t\t\t\t$filter\n\t\t\t\t);\n\t\t\t}\n\t\t} );\n\n\t\treturn properties;\n\t}\n\n\t// retrieve filters matching any of the properties passed\n\tgetFiltersByProperties( properties ) {\n\t\tconst self = this;\n\n\t\treturn this.getFilters().filter( function () {\n\t\t\tconst $filter = $( this );\n\n\t\t\tif ( self.isFilterActive( $filter ) ) {\n\t\t\t\tlet filterProperties = self.getFilterProperties( $filter ),\n\t\t\t\t\thasProp = false;\n\n\t\t\t\tfor ( const prop in properties ) {\n\t\t\t\t\tif (\n\t\t\t\t\t\t[ 'min_price', 'max_price', 'price_ranges' ].includes(\n\t\t\t\t\t\t\tprop\n\t\t\t\t\t\t) &&\n\t\t\t\t\t\t( filterProperties.min_price ||\n\t\t\t\t\t\t\tfilterProperties.price_ranges )\n\t\t\t\t\t) {\n\t\t\t\t\t\thasProp = true;\n\t\t\t\t\t\tbreak;\n\t\t\t\t\t} else if ( filterProperties[ prop ] ) {\n\t\t\t\t\t\thasProp = true;\n\t\t\t\t\t\tbreak;\n\t\t\t\t\t}\n\t\t\t\t}\n\n\t\t\t\treturn hasProp;\n\t\t\t}\n\n\t\t\treturn false;\n\t\t} );\n\t}\n\n\t// show clear selection anchor\n\tmaybeToggleClearFilter( $filter ) {\n\t\tif ( ! this.isFilterActive( $filter ) ) {\n\t\t\tthis.maybeHideClearFilter( $filter );\n\t\t} else {\n\t\t\tthis.maybeShowClearFilter( $filter );\n\t\t}\n\t}\n\n\t// show clear all selections anchor\n\tmaybeToggleClearAllFilters() {\n\t\tif ( ! this.isAnyFilterActive() ) {\n\t\t\tthis.maybeHideClearAllFilters();\n\t\t} else {\n\t\t\tthis.maybeShowClearAllFilters();\n\t\t}\n\t}\n\n\t// show clear selection anchor\n\tmaybeShowClearFilter( $filter ) {\n\t\tif (\n\t\t\t! this.isFilterActive( $filter ) ||\n\t\t\t! yith_wcan_shortcodes.show_clear_filter\n\t\t) {\n\t\t\treturn;\n\t\t}\n\n\t\t// remove clear selection link if already added.\n\t\t$filter.find( '.clear-selection' ).remove();\n\n\t\t// add new clear selection link.\n\t\t$( '<a/>', {\n\t\t\tclass: 'clear-selection',\n\t\t\ttext: yith_wcan_shortcodes.labels.clear_selection,\n\t\t\trole: 'button',\n\t\t} )\n\t\t\t.prependTo( $filter.find( '.filter-content' ) )\n\t\t\t.on( 'click', ( ev ) => {\n\t\t\t\tev.preventDefault();\n\n\t\t\t\tthis.deactivateFilter(\n\t\t\t\t\t$filter,\n\t\t\t\t\tfalse,\n\t\t\t\t\tyith_wcan_shortcodes.instant_filters\n\t\t\t\t);\n\t\t\t\tthis.maybeHideClearFilter( $filter );\n\n\t\t\t\tif ( yith_wcan_shortcodes.instant_filters ) {\n\t\t\t\t\tthis.closeModal();\n\t\t\t\t}\n\t\t\t} );\n\t}\n\n\t// show clearAll anchor, when on mobile layout\n\tmaybeShowClearAllFilters() {\n\t\tif ( ! this.isAnyFilterActive() || ! this.isMobile ) {\n\t\t\treturn;\n\t\t}\n\n\t\t// remove clear selection link if already added.\n\t\tthis.$preset.find( '.clear-selection' ).remove();\n\n\t\t// add new clear selection link.\n\t\t$( '<a/>', {\n\t\t\tclass: 'clear-selection',\n\t\t\ttext: yith_wcan_shortcodes.labels.clear_all_selections,\n\t\t\trole: 'button',\n\t\t} )\n\t\t\t.prependTo( this.$preset.find( '.filters-container' ) )\n\t\t\t.on( 'click', ( ev ) => {\n\t\t\t\tev.preventDefault();\n\n\t\t\t\tthis.deactivateAllFilters(\n\t\t\t\t\tyith_wcan_shortcodes.instant_filters\n\t\t\t\t);\n\t\t\t\tthis.maybeHideClearAllFilters();\n\n\t\t\t\tif ( yith_wcan_shortcodes.instant_filters ) {\n\t\t\t\t\tthis.closeModal();\n\t\t\t\t}\n\t\t\t} );\n\t}\n\n\t// hide clear selection anchor\n\tmaybeHideClearFilter( $filter ) {\n\t\tif (\n\t\t\tthis.isFilterActive( $filter ) ||\n\t\t\t! yith_wcan_shortcodes.show_clear_filter\n\t\t) {\n\t\t\treturn;\n\t\t}\n\n\t\t// remove clear selection link.\n\t\t$filter.find( '.clear-selection' ).remove();\n\t}\n\n\t// show clearAll anchor, when on mobile layout\n\tmaybeHideClearAllFilters() {\n\t\tif ( this.isAnyFilterActive() ) {\n\t\t\treturn;\n\t\t}\n\n\t\t// remove clear selection link.\n\t\tthis.$preset\n\t\t\t.find( '.filters-container' )\n\t\t\t.children( '.clear-selection' )\n\t\t\t.remove();\n\t}\n\n\t// deactivate filter\n\tdeactivateFilter( $filter, properties, doFilter ) {\n\t\tconst filterType = $filter.data( 'filter-type' ),\n\t\t\t$items = $filter.find( '.filter-item' ),\n\t\t\t$activeItems = $items.filter( '.active' ),\n\t\t\t$dropdown = $filter.find( '.filter-dropdown' );\n\n\t\tswitch ( filterType ) {\n\t\t\tcase 'tax':\n\t\t\t\tconst taxonomy = $filter.data( 'taxonomy' );\n\n\t\t\t\tif ( $dropdown.length ) {\n\t\t\t\t\tif ( ! properties ) {\n\t\t\t\t\t\t$dropdown.find( 'option' ).prop( 'selected', false );\n\t\t\t\t\t} else {\n\t\t\t\t\t\t$dropdown.find( 'option' ).each( function () {\n\t\t\t\t\t\t\tconst $option = $( this );\n\n\t\t\t\t\t\t\tif (\n\t\t\t\t\t\t\t\t$option.val().toString() ===\n\t\t\t\t\t\t\t\tproperties[ taxonomy ].toString()\n\t\t\t\t\t\t\t) {\n\t\t\t\t\t\t\t\t$option.prop( 'selected', false );\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t} );\n\t\t\t\t\t}\n\n\t\t\t\t\t$dropdown.change();\n\t\t\t\t} else if ( ! properties ) {\n\t\t\t\t\t$activeItems.children( 'label' ).children( 'a' ).click();\n\t\t\t\t\t$activeItems.removeClass( 'active' );\n\t\t\t\t} else {\n\t\t\t\t\t$activeItems.each( function () {\n\t\t\t\t\t\tlet $item = $( this ),\n\t\t\t\t\t\t\t$label = $item.children( 'label' ),\n\t\t\t\t\t\t\t$anchor = $item.children( 'a' ),\n\t\t\t\t\t\t\tvalue;\n\n\t\t\t\t\t\tvalue = $label.length\n\t\t\t\t\t\t\t? $label.find( ':input' ).val()\n\t\t\t\t\t\t\t: $anchor.data( 'term-slug' );\n\n\t\t\t\t\t\tif (\n\t\t\t\t\t\t\tvalue.toString() ===\n\t\t\t\t\t\t\tproperties[ taxonomy ].toString()\n\t\t\t\t\t\t) {\n\t\t\t\t\t\t\t$item.children( 'label' ).children( 'a' ).click();\n\t\t\t\t\t\t\t$item.removeClass( 'active' );\n\t\t\t\t\t\t}\n\t\t\t\t\t} );\n\t\t\t\t}\n\t\t\t\tbreak;\n\t\t\tcase 'review':\n\t\t\t\tif ( $dropdown.length ) {\n\t\t\t\t\tif ( ! properties ) {\n\t\t\t\t\t\t$dropdown.find( 'option' ).prop( 'selected', false );\n\t\t\t\t\t} else {\n\t\t\t\t\t\t$dropdown.find( 'option' ).each( function () {\n\t\t\t\t\t\t\tconst $option = $( this );\n\n\t\t\t\t\t\t\tif ( $option.val() === properties.rating_filter ) {\n\t\t\t\t\t\t\t\t$option.prop( 'selected', false );\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t} );\n\t\t\t\t\t}\n\n\t\t\t\t\t$dropdown.change();\n\t\t\t\t} else if ( ! properties ) {\n\t\t\t\t\t$activeItems.children( 'label' ).children( 'a' ).click();\n\t\t\t\t\t$activeItems.removeClass( 'active' );\n\t\t\t\t} else {\n\t\t\t\t\t$activeItems.each( function () {\n\t\t\t\t\t\tlet $item = $( this ),\n\t\t\t\t\t\t\t$label = $item.children( 'label' ),\n\t\t\t\t\t\t\t$anchor = $item.children( 'a' ),\n\t\t\t\t\t\t\tvalue;\n\n\t\t\t\t\t\tvalue = $label.length\n\t\t\t\t\t\t\t? $label.find( ':input' ).val()\n\t\t\t\t\t\t\t: $anchor.data( 'rating' );\n\n\t\t\t\t\t\tif ( value === properties.rating_filter ) {\n\t\t\t\t\t\t\t$item.children( 'label' ).children( 'a' ).click();\n\t\t\t\t\t\t\t$item.removeClass( 'active' );\n\t\t\t\t\t\t}\n\t\t\t\t\t} );\n\t\t\t\t}\n\t\t\t\tbreak;\n\t\t\tcase 'price_range':\n\t\t\t\tif ( $dropdown.length ) {\n\t\t\t\t\tif ( ! properties ) {\n\t\t\t\t\t\t$dropdown.find( 'option' ).prop( 'selected', false );\n\t\t\t\t\t} else {\n\t\t\t\t\t\t$dropdown.find( 'option' ).each( function () {\n\t\t\t\t\t\t\tconst $option = $( this ),\n\t\t\t\t\t\t\t\tformattedRange =\n\t\t\t\t\t\t\t\t\tproperties.min_price +\n\t\t\t\t\t\t\t\t\t( properties.max_price\n\t\t\t\t\t\t\t\t\t\t? `-${ properties.max_price }`\n\t\t\t\t\t\t\t\t\t\t: '' );\n\n\t\t\t\t\t\t\tif ( $option.val() === formattedRange ) {\n\t\t\t\t\t\t\t\t$option.prop( 'selected', false );\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t} );\n\t\t\t\t\t}\n\n\t\t\t\t\t$dropdown.change();\n\t\t\t\t} else if ( ! properties ) {\n\t\t\t\t\t$activeItems.children( 'label' ).children( 'a' ).click();\n\t\t\t\t\t$activeItems.removeClass( 'active' );\n\t\t\t\t} else {\n\t\t\t\t\t$activeItems.each( function () {\n\t\t\t\t\t\tlet $item = $( this ),\n\t\t\t\t\t\t\t$label = $item.children( 'label' ),\n\t\t\t\t\t\t\t$anchor = $item.children( 'a' ),\n\t\t\t\t\t\t\tformattedRange,\n\t\t\t\t\t\t\tvalue;\n\n\t\t\t\t\t\tvalue = $label.length\n\t\t\t\t\t\t\t? $label.find( ':input' ).val()\n\t\t\t\t\t\t\t: $anchor.data( 'min_price' ) +\n\t\t\t\t\t\t\t ( $anchor.data( 'max_price' )\n\t\t\t\t\t\t\t\t\t? '-' + $anchor.data( 'max_price' )\n\t\t\t\t\t\t\t\t\t: '' );\n\n\t\t\t\t\t\tif ( properties.min_price ) {\n\t\t\t\t\t\t\tformattedRange =\n\t\t\t\t\t\t\t\tproperties.min_price +\n\t\t\t\t\t\t\t\t( properties.max_price\n\t\t\t\t\t\t\t\t\t? '-' + properties.max_price\n\t\t\t\t\t\t\t\t\t: '' );\n\t\t\t\t\t\t} else if ( properties.price_ranges ) {\n\t\t\t\t\t\t\tformattedRange = properties.price_ranges;\n\t\t\t\t\t\t}\n\n\t\t\t\t\t\tif ( value === formattedRange ) {\n\t\t\t\t\t\t\t$item.children( 'label' ).children( 'a' ).click();\n\t\t\t\t\t\t\t$item.removeClass( 'active' );\n\t\t\t\t\t\t}\n\t\t\t\t\t} );\n\t\t\t\t}\n\t\t\t\tbreak;\n\t\t\tcase 'price_slider':\n\t\t\t\tconst $priceSlider = $filter.find( '.price-slider' );\n\n\t\t\t\t$filter\n\t\t\t\t\t.find( '.price-slider-min' )\n\t\t\t\t\t.val( $priceSlider.data( 'min' ) );\n\t\t\t\t$filter\n\t\t\t\t\t.find( '.price-slider-max' )\n\t\t\t\t\t.val( $priceSlider.data( 'max' ) )\n\t\t\t\t\t.change();\n\t\t\t\tbreak;\n\t\t\tcase 'orderby':\n\t\t\t\t$filter.find( 'select' ).val( 'menu_order' );\n\t\t\t\tbreak;\n\t\t\tcase 'stock_sale':\n\t\t\t\tif ( ! properties ) {\n\t\t\t\t\t$filter\n\t\t\t\t\t\t.find( '.filter-in-stock' )\n\t\t\t\t\t\t.find( ':input' )\n\t\t\t\t\t\t.prop( 'checked', false )\n\t\t\t\t\t\t.change();\n\t\t\t\t\t$filter\n\t\t\t\t\t\t.find( '.filter-on-sale' )\n\t\t\t\t\t\t.find( ':input' )\n\t\t\t\t\t\t.prop( 'checked', false )\n\t\t\t\t\t\t.change();\n\t\t\t\t\t$filter\n\t\t\t\t\t\t.find( '.filter-featured' )\n\t\t\t\t\t\t.find( ':input' )\n\t\t\t\t\t\t.prop( 'checked', false )\n\t\t\t\t\t\t.change();\n\n\t\t\t\t\t$items.removeClass( 'active' );\n\t\t\t\t} else {\n\t\t\t\t\tif ( properties?.instock_filter ) {\n\t\t\t\t\t\t$filter\n\t\t\t\t\t\t\t.find( '.filter-in-stock' )\n\t\t\t\t\t\t\t.find( ':input' )\n\t\t\t\t\t\t\t.prop( 'checked', false )\n\t\t\t\t\t\t\t.change()\n\t\t\t\t\t\t\t.closest( '.filter-item' )\n\t\t\t\t\t\t\t.removeClass( 'active' );\n\t\t\t\t\t}\n\n\t\t\t\t\tif ( properties?.onsale_filter ) {\n\t\t\t\t\t\t$filter\n\t\t\t\t\t\t\t.find( '.filter-on-sale' )\n\t\t\t\t\t\t\t.find( ':input' )\n\t\t\t\t\t\t\t.prop( 'checked', false )\n\t\t\t\t\t\t\t.change()\n\t\t\t\t\t\t\t.closest( '.filter-item' )\n\t\t\t\t\t\t\t.removeClass( 'active' );\n\t\t\t\t\t}\n\n\t\t\t\t\tif ( properties?.featured_filter ) {\n\t\t\t\t\t\t$filter\n\t\t\t\t\t\t\t.find( '.filter-featured' )\n\t\t\t\t\t\t\t.find( ':input' )\n\t\t\t\t\t\t\t.prop( 'checked', false )\n\t\t\t\t\t\t\t.change()\n\t\t\t\t\t\t\t.closest( '.filter-item' )\n\t\t\t\t\t\t\t.removeClass( 'active' );\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\tbreak;\n\t\t\tdefault:\n\t\t\t\t$items.removeClass( 'active' );\n\t\t\t\tbreak;\n\t\t}\n\n\t\tthis.activeFilters = false;\n\n\t\tif ( doFilter ) {\n\t\t\tthis.filter();\n\t\t}\n\t}\n\n\t// deactivate all filters\n\tdeactivateAllFilters( doFilter ) {\n\t\tconst self = this,\n\t\t\t$filters = this.getFilters();\n\n\t\t$filters.each( function () {\n\t\t\tconst $filter = $( this );\n\n\t\t\tself.deactivateFilter( $filter );\n\t\t} );\n\n\t\tthis.activeFilters = false;\n\n\t\tif ( doFilter ) {\n\t\t\tthis.filter();\n\t\t}\n\n\t\treturn true;\n\t}\n\n\t// deactivate filters that matches a specific set of properties\n\tdeactivateFilterByProperties( properties, doFilter ) {\n\t\tconst self = this,\n\t\t\t$filters = this.getFiltersByProperties( properties );\n\n\t\tif ( ! $filters.length ) {\n\t\t\treturn false;\n\t\t}\n\n\t\t$filters.each( function () {\n\t\t\tconst $filter = $( this );\n\n\t\t\tself.deactivateFilter( $filter, properties, doFilter );\n\t\t} );\n\n\t\treturn true;\n\t}\n\n\t// open filters as a modal, when in mobile layout\n\topenModal() {\n\t\tif ( ! this.isMobile ) {\n\t\t\treturn;\n\t\t}\n\n\t\tif ( yith_wcan_shortcodes.toggles_open_on_modal ) {\n\t\t\tthis._openAllCollapsables();\n\t\t} else {\n\t\t\tthis._closeAllCollapsables();\n\t\t}\n\n\t\t$( 'body' )\n\t\t\t.css( 'overflow', 'hidden' )\n\t\t\t.addClass( 'yith-wcan-preset-modal-open' );\n\n\t\tthis.$preset.show();\n\n\t\tsetTimeout( () => {\n\t\t\tthis.$preset.addClass( 'open' );\n\t\t}, 100 );\n\t}\n\n\t// close filters modal, when in mobile layout\n\tcloseModal() {\n\t\tif ( ! this.isMobile ) {\n\t\t\treturn;\n\t\t}\n\n\t\tthis.$preset.removeClass( 'open' );\n\n\t\tsetTimeout( () => {\n\t\t\tthis.$preset.hide();\n\t\t\t$( 'body' )\n\t\t\t\t.css( 'overflow', 'auto' )\n\t\t\t\t.removeClass( 'yith-wcan-preset-modal-open' );\n\t\t}, 300 );\n\t}\n\n\t// utility that formats the price according to store configuration.\n\tformatPrice( price ) {\n\t\tif ( 'undefined' !== typeof accounting ) {\n\t\t\tprice = accounting.formatMoney( price, {\n\t\t\t\tsymbol: yith_wcan_shortcodes.currency_format?.symbol,\n\t\t\t\tdecimal: yith_wcan_shortcodes.currency_format?.decimal,\n\t\t\t\tthousand: yith_wcan_shortcodes.currency_format?.thousand,\n\t\t\t\tprecision: 0,\n\t\t\t\tformat: yith_wcan_shortcodes.currency_format?.format,\n\t\t\t} );\n\t\t}\n\n\t\treturn price;\n\t}\n\n\t// utility that merges together sets of filter properties\n\tmergeProperties( set1, set2, $filter ) {\n\t\t// search for common properties\n\t\tfor ( const prop in set2 ) {\n\t\t\tif ( ! set2.hasOwnProperty( prop ) ) {\n\t\t\t\tcontinue;\n\t\t\t}\n\n\t\t\tif ( !! set1[ prop ] ) {\n\t\t\t\tswitch ( prop ) {\n\t\t\t\t\tcase 'rating_filter':\n\t\t\t\t\tcase 'min_price':\n\t\t\t\t\tcase 'max_price':\n\t\t\t\t\tcase 'onsale_filter':\n\t\t\t\t\tcase 'instock_filter':\n\t\t\t\t\tcase 'orderby':\n\t\t\t\t\t\t// just override default value\n\t\t\t\t\t\tset1[ prop ] = set2[ prop ];\n\t\t\t\t\t\tbreak;\n\t\t\t\t\tdefault:\n\t\t\t\t\t\tif ( 0 === prop.indexOf( 'query_type_' ) ) {\n\t\t\t\t\t\t\t// query_type param\n\t\t\t\t\t\t\tset1[ prop ] = set2[ prop ];\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t// we're dealing with taxonomy\n\t\t\t\t\t\t\tconst isAttr = 0 === prop.indexOf( 'filter_' ),\n\t\t\t\t\t\t\t\tglue = isAttr ? ',' : '+';\n\n\t\t\t\t\t\t\tlet newValue =\n\t\t\t\t\t\t\t\tset1[ prop ].replace( ',', glue ) +\n\t\t\t\t\t\t\t\tglue +\n\t\t\t\t\t\t\t\tset2[ prop ].replace( ',', glue );\n\n\t\t\t\t\t\t\tnewValue = newValue\n\t\t\t\t\t\t\t\t.split( glue )\n\t\t\t\t\t\t\t\t.filter(\n\t\t\t\t\t\t\t\t\t( value, index, arr ) =>\n\t\t\t\t\t\t\t\t\t\tarr.indexOf( value ) === index\n\t\t\t\t\t\t\t\t)\n\t\t\t\t\t\t\t\t.join( glue );\n\n\t\t\t\t\t\t\tset1[ prop ] = newValue;\n\n\t\t\t\t\t\t\tif ( isAttr ) {\n\t\t\t\t\t\t\t\tconst queryTypeParam = prop.replace(\n\t\t\t\t\t\t\t\t\t'filter_',\n\t\t\t\t\t\t\t\t\t'query_type_'\n\t\t\t\t\t\t\t\t);\n\n\t\t\t\t\t\t\t\tset1[ queryTypeParam ] = 'and';\n\t\t\t\t\t\t\t\tset2[ queryTypeParam ] = 'and';\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t}\n\n\t\t\t\tdelete set2[ prop ];\n\t\t\t}\n\t\t}\n\n\t\t$.extend( set1, set2 );\n\n\t\treturn set1;\n\t}\n}\n","'use strict';\n\n/* global globalThis, jQuery, yith_wcan_shortcodes, accounting */\n\nimport YITH_WCAN_Filter from './modules/yith-wcan-filter';\nimport YITH_WCAN_Reset_Button from './modules/yith-wcan-reset-button';\nimport YITH_WCAN_Preset from './modules/yith-wcan-preset';\n\njQuery( function ( $ ) {\n\t$( document )\n\t\t.on(\n\t\t\t'yith_wcan_init_shortcodes yith_plugin_fw_gutenberg_success_do_shortcode',\n\t\t\tfunction () {\n\t\t\t\t$( '.yith-wcan-filters' )\n\t\t\t\t\t.not( '.enhanced' )\n\t\t\t\t\t.each( function () {\n\t\t\t\t\t\tnew YITH_WCAN_Preset( $( this ) );\n\t\t\t\t\t} );\n\n\t\t\t\t$( '.yith-wcan-reset-filters' )\n\t\t\t\t\t.not( '.enhanced' )\n\t\t\t\t\t.each( function () {\n\t\t\t\t\t\tnew YITH_WCAN_Reset_Button( $( this ) );\n\t\t\t\t\t} );\n\t\t\t}\n\t\t)\n\t\t.trigger( 'yith_wcan_init_shortcodes' );\n\n\tglobalThis.product_filter = new YITH_WCAN_Filter();\n} );\n"],"sourceRoot":""}
1
+ {"version":3,"sources":["webpack://yith-woocommerce-ajax-navigation/./assets/js/shortcodes/config.js","webpack://yith-woocommerce-ajax-navigation/./assets/js/shortcodes/modules/yith-wcan-filter.js","webpack://yith-woocommerce-ajax-navigation/./assets/js/shortcodes/modules/yith-wcan-reset-button.js","webpack://yith-woocommerce-ajax-navigation/./assets/js/shortcodes/modules/yith-wcan-dropdown.js","webpack://yith-woocommerce-ajax-navigation/./assets/js/shortcodes/modules/yith-wcan-preset.js","webpack://yith-woocommerce-ajax-navigation/./assets/js/shortcodes/index.js"],"names":["$","jQuery","$body","YITH_WCAN_Filter","location","search","initPopState","initialized","pushUrlToHistory","window","document","title","on","history","state","_yithWcan","reload","filters","target","preset","targetUrl","$target","customFilters","triggerHandler","block","buildUrl","yith_wcan_shortcodes","ajax_filters","doingAjax","_doAjax","done","response","searchAlternativeUrl","_beforeFilter","refreshFragments","pageTitle","originalSearch","unblock","_afterFilter","trigger","closest","submit","filtered","Object","keys","length","queryParam","query_param","params","url","base_url","origin","pathname","self","haveFilters","session_param","replace","RegExp","searchParams","split","reduce","a","v","items","isFilterParam","i","_cleanParam","defaultUrl","matches","indexOf","match","current","change_browser_url","navigator","userAgent","method","responseDom","createElement","$response","innerHTML","$preset","$destination","find","replaceWith","first","content","param","process_sanitize","skip_sanitize","encodeURIComponent","xhr","abort","headers","$el","background","loader","message","overlayCSS","opacity","supportedParams","customParams","concat","supported_taxonomies","map","YITH_WCAN_Reset_Button","el","$reset","ev","preventDefault","each","data","deactivateAllFilters","closeModal","addClass","YITH_WCAN_Dropdown","opts","$originalSelect","is","defaultPerPage","defaultOrder","defaultAll","defaults","showSearch","paginate","perPage","order","getElements","labels","emptyLabel","empty_option","searchPlaceholder","search_placeholder","noItemsFound","no_items","showMore","show_more","options","_hideSelect","_initTemplate","_initActions","hide","$mainSpan","$labelSpan","html","getLabel","$dropdownSpan","$matchingItemsList","append","_initSearchTemplate","_initShowMoreTemplate","after","$_main","$_label","$_dropdown","$_items","$dropdwonSpan","$container","$search","name","type","placeholder","prependTo","$_search","$showMore","text","loadNextPage","bind","$_showMore","stopPropagation","toggleDropdown","_populateItems","$li","value","isActive","hasClass","isValueSelected","toggleClass","_changeItemStatus","siblings","removeClass","input","parent","prop","change","selfOriginated","_selectItem","_deselectItem","updateLabel","globalThis","yith_wcan_dropdown_init","_closeAllDropdowns","_afterDropdownOpen","dropdowns","filter","select","closeDropdown","_closeOtherDropdowns","val","limit","matchingElements","$options","getOptions","promise","Promise","resolve","t","label","regex","show","test","push","then","retrievedElements","_formatItems","indexes","hasMore","sort","b","mod","slice","active","option","getOptionByValue","$item","attr","$anchor","template","count","href","rel","$checkbox","$label","prepend","page","parseInt","getMatchingElements","resultSet","matchingItems","_emptyItems","_hideLoadMore","currentPage","unshift","_generateItem","_showLoadMore","status","$option","hasSelectedValues","getSelectedLabels","join","getSelectedOptions","found","getSelectedValues","toString","values","YITH_WCAN_Preset","_regiterStatus","_initFilterButton","_initResponsive","_initFilters","getFilters","$filter","_initFilter","maybeShowClearAllFilters","$filterButtons","modal_on_mobile","media","matchMedia","mobile_media_query","isMobile","_afterLayoutChange","resize","handleChange","$currentFilter","multiple","$items","not","children","activeFilters","maybeFilter","maybeToggleClearAllFilters","maybeToggleClearFilter","delegateTarget","call","$input","_initTooltip","_initPriceSlider","_initDropdown","_initCollapsable","maybeShowClearFilter","_initCustomInput","$dropdown","$current","position","th","tooltip","wrapperWidth","outerWidth","left","width","container","css","toFixed","fadeIn","fadeOut","remove","selectWoo","_initDropdownObject","terms_per_page","$minInput","$maxInput","min","parseFloat","max","currentMin","currentMax","step","handleSliderChange","sliderTimeout","clearTimeout","setTimeout","ionRangeSlider","skin","from","to","min_interval","values_separator","prettify","formatPrice","onChange","onFinish","add","off","_initTitleCollapsable","_initHierarchyCollapsable","$title","_initToggle","parents","show_current_children","$t","$toggle","appendTo","slideToggle","containerClass","wrap","originalFilters","getFiltersProperties","_addCloseModalButton","_addApplyFiltersModalButton","_switchToCollapsables","removeAttr","_removeCloseModalButton","_removeApplyFiltersModalButton","_switchBackCollapsables","$closeButton","close","modalElements","closeButton","$filterButton","show_results","applyFiltersButton","removeData","$filters","isFilterActive","end","currentFilters","currentStr","JSON","stringify","originalStr","dirty","$initiator","maybeRegisterStatusChange","instant_filters","product_filter","doFilter","newPreset","scroll_top","targetOffset","offset","top","scroll_target","$scrollTarget","animate","scrollTop","getActiveFilters","filterType","filteredActive","Math","abs","properties","filteredProperties","$active","activeTerms","taxonomy","isAttr","relation","get","pop","glue","rating_filter","price_ranges","min_price","max_price","onsale_filter","instock_filter","featured_filter","orderby","filterProperties","getFilterProperties","mergeProperties","hasProp","includes","maybeHideClearFilter","isAnyFilterActive","maybeHideClearAllFilters","show_clear_filter","clear_selection","role","deactivateFilter","clear_all_selections","$activeItems","click","formattedRange","$priceSlider","getFiltersByProperties","toggles_open_on_modal","_openAllCollapsables","_closeAllCollapsables","price","accounting","formatMoney","symbol","currency_format","decimal","thousand","precision","format","set1","set2","hasOwnProperty","newValue","index","arr","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AN,C","file":"yith-wcan-shortcodes.js","sourcesContent":["'use strict';\n\n/* global globalThis, jQuery, yith_wcan_shortcodes, accounting */\n\nconst $ = jQuery; // we can do this as WebPack will compact all together inside a closure.\nconst $body = $( 'body' );\n\nexport { $, $body };\n","'use strict';\n\n/* global globalThis, jQuery, yith_wcan_shortcodes, accounting */\n\nimport { $, $body } from '../config.js';\n\nexport default class YITH_WCAN_Filter {\n\t// currently executing xhr\n\txhr = null;\n\n\t// flag set during ajax call handling\n\tdoingAjax = false;\n\n\t// register original url search param\n\toriginalSearch = location.search;\n\n\t// flag set once init has executed\n\tinitialized = false;\n\n\t// flag set when page has at least one active filter.\n\tfiltered = false;\n\n\t// init object\n\tconstructor() {\n\t\tthis.initPopState();\n\t\tthis.initialized = true;\n\t}\n\n\t// init page reload when popstate event alter filters\n\tinitPopState() {\n\t\tthis.pushUrlToHistory( window.location, document.title, null, true );\n\n\t\t$( window ).on( 'popstate', function () {\n\t\t\tif ( ! window.history.state?._yithWcan ) {\n\t\t\t\treturn;\n\t\t\t}\n\n\t\t\twindow.location.reload( true );\n\t\t} );\n\t}\n\n\t// execute call to filter products in current view\n\tdoFilter( filters, target, preset ) {\n\t\tlet targetUrl,\n\t\t\t$target = target ? $( target ) : $( 'body' ),\n\t\t\tcustomFilters;\n\n\t\t// filter properties\n\t\tcustomFilters = $( document ).triggerHandler(\n\t\t\t'yith_wcan_filters_parameters',\n\t\t\t[ filters ]\n\t\t);\n\n\t\tif ( !! customFilters ) {\n\t\t\tfilters = customFilters;\n\t\t}\n\n\t\t// block elements before filtering\n\t\t$target && this.block( $target );\n\n\t\t// calculate target url\n\t\ttargetUrl = this.buildUrl( filters );\n\n\t\t// if no ajax, simply change page url\n\t\tif ( ! yith_wcan_shortcodes.ajax_filters ) {\n\t\t\tthis.pushUrlToHistory( targetUrl, document.title, filters );\n\n\t\t\twindow.location = targetUrl;\n\t\t\treturn;\n\t\t}\n\n\t\t// start doing ajax\n\t\tthis.doingAjax = true;\n\n\t\treturn this._doAjax( targetUrl ).done( ( response ) => {\n\t\t\ttargetUrl = this.searchAlternativeUrl( response, targetUrl );\n\n\t\t\tthis._beforeFilter( response, filters );\n\n\t\t\tthis.refreshFragments( target, preset, response );\n\t\t\tthis.pushUrlToHistory( targetUrl, response.pageTitle, filters );\n\t\t\tthis.originalSearch = location.search;\n\n\t\t\t$target && this.unblock( $target );\n\n\t\t\tthis._afterFilter( response, filters );\n\n\t\t\tthis.doingAjax = false;\n\t\t} );\n\t}\n\n\t// actions performed before filter\n\t_beforeFilter( response, filters ) {\n\t\t$( document ).trigger( 'yith-wcan-ajax-loading', [\n\t\t\tresponse,\n\t\t\tfilters,\n\t\t] );\n\t}\n\n\t// actions performed after filter\n\t_afterFilter( response, filters ) {\n\t\t$( '.woocommerce-ordering' ).on(\n\t\t\t'change',\n\t\t\t'select.orderby',\n\t\t\tfunction () {\n\t\t\t\t$( this ).closest( 'form' ).submit();\n\t\t\t}\n\t\t);\n\n\t\tthis.filtered = filters && !! Object.keys( filters ).length;\n\t\tthis.filtered\n\t\t\t? $body.addClass( 'filtered' )\n\t\t\t: $body.removeClass( 'filtered' );\n\n\t\t$( window ).trigger( 'scroll' );\n\n\t\t$( document )\n\t\t\t.trigger( 'yith-wcan-ajax-filtered', [ response, filters ] )\n\t\t\t.trigger( 'yith_wcwl_reload_fragments' );\n\t}\n\n\t// build url to show\n\tbuildUrl( filters ) {\n\t\tlet queryParam = yith_wcan_shortcodes.query_param,\n\t\t\tparams = {},\n\t\t\tlocation = window.location,\n\t\t\turl = !! yith_wcan_shortcodes.base_url\n\t\t\t\t? yith_wcan_shortcodes.base_url\n\t\t\t\t: location?.origin + location?.pathname,\n\t\t\tsearch = '',\n\t\t\tself = this;\n\n\t\tconst haveFilters =\n\t\t\ttypeof filters === 'object' && Object.keys( filters ).length;\n\n\t\t// remove filter session from current url, if any\n\t\tif ( !! yith_wcan_shortcodes.session_param ) {\n\t\t\turl = url.replace(\n\t\t\t\tnew RegExp(\n\t\t\t\t\t'/' + yith_wcan_shortcodes.session_param + '/[^/]*/'\n\t\t\t\t),\n\t\t\t\t''\n\t\t\t);\n\t\t}\n\n\t\tif ( haveFilters ) {\n\t\t\tparams[ queryParam ] = 1;\n\t\t}\n\n\t\tif ( !! this.originalSearch ) {\n\t\t\tconst searchParams = this.originalSearch\n\t\t\t\t.replace( '?', '' )\n\t\t\t\t.split( '&' )\n\t\t\t\t.reduce( ( a, v ) => {\n\t\t\t\t\tconst items = v.split( '=' );\n\n\t\t\t\t\tif ( items.length === 2 ) {\n\t\t\t\t\t\tif ( this.isFilterParam( items[ 0 ] ) ) {\n\t\t\t\t\t\t\treturn a;\n\t\t\t\t\t\t}\n\n\t\t\t\t\t\ta[ items[ 0 ] ] = items[ 1 ];\n\t\t\t\t\t}\n\n\t\t\t\t\treturn a;\n\t\t\t\t}, {} );\n\n\t\t\tparams = $.extend( params, searchParams );\n\t\t}\n\n\t\tif ( haveFilters ) {\n\t\t\tparams = $.extend( params, filters );\n\t\t}\n\n\t\tsearch = Object.keys( params )\n\t\t\t.reduce( function ( a, i ) {\n\t\t\t\tconst v = params[ i ];\n\n\t\t\t\tif ( ! v || ! i ) {\n\t\t\t\t\treturn a;\n\t\t\t\t}\n\n\t\t\t\ta += self._cleanParam( i ) + '=' + self._cleanParam( v ) + '&';\n\n\t\t\t\treturn a;\n\t\t\t}, '?' )\n\t\t\t.replace( /&$/g, '' )\n\t\t\t.replace( /%2B/g, '+' )\n\t\t\t.replace( /%2C/g, ',' );\n\n\t\tif ( search.length > 1 ) {\n\t\t\turl += search;\n\t\t}\n\n\t\treturn url;\n\t}\n\n\t// retrieves alternative sharing url in response body\n\tsearchAlternativeUrl( response, defaultUrl = '' ) {\n\t\tlet url = defaultUrl,\n\t\t\tmatches;\n\n\t\tif ( -1 === response.indexOf( 'yith_wcan:sharing_url' ) ) {\n\t\t\treturn url;\n\t\t}\n\n\t\tmatches = response.match(\n\t\t\t/<meta name=\"yith_wcan:sharing_url\" content=\"([^\"]*)\">/\n\t\t);\n\t\turl = matches && 1 in matches ? matches[ 1 ] : url;\n\n\t\treturn url;\n\t}\n\n\t// push url to browser history\n\tpushUrlToHistory( url, title, filters, current ) {\n\t\tif (\n\t\t\t! yith_wcan_shortcodes.change_browser_url ||\n\t\t\tnavigator.userAgent.match( /msie/i )\n\t\t) {\n\t\t\treturn;\n\t\t}\n\n\t\tlet method = 'pushState';\n\n\t\tif ( !! current ) {\n\t\t\tmethod = 'replaceState';\n\t\t}\n\n\t\twindow.history[ method ](\n\t\t\t{\n\t\t\t\t_yithWcan: true,\n\t\t\t\tpageTitle: title,\n\t\t\t\tfilters,\n\t\t\t},\n\t\t\t'',\n\t\t\turl\n\t\t);\n\t}\n\n\t// replaces elements in the page with refreshed ones\n\trefreshFragments( target, preset, response ) {\n\t\tconst responseDom = document.createElement( 'html' ),\n\t\t\t$response = $( responseDom );\n\n\t\tresponseDom.innerHTML = response;\n\n\t\tif ( target ) {\n\t\t\tlet $preset = $( preset ),\n\t\t\t\t$target = $( target ),\n\t\t\t\t$destination;\n\n\t\t\tif ( $preset.length ) {\n\t\t\t\t$destination = $response.find( preset );\n\n\t\t\t\tif ( $destination.length ) {\n\t\t\t\t\t$preset.replaceWith( $destination.first() );\n\t\t\t\t}\n\t\t\t}\n\n\t\t\tif ( $target.length ) {\n\t\t\t\t$destination = $response.find( target );\n\n\t\t\t\tif ( $destination.length ) {\n\t\t\t\t\t$target.replaceWith( $destination.first() );\n\t\t\t\t}\n\t\t\t}\n\t\t} else {\n\t\t\tconst content = $( yith_wcan_shortcodes.content );\n\n\t\t\tif ( content.length ) {\n\t\t\t\tcontent.replaceWith(\n\t\t\t\t\t$response.find( yith_wcan_shortcodes.content )\n\t\t\t\t);\n\t\t\t} else {\n\t\t\t\t$( 'body' ).replaceWith( $response.find( 'body' ) );\n\t\t\t}\n\t\t}\n\n\t\t$( document ).trigger( 'yith_wcan_init_shortcodes' );\n\t}\n\n\t// clean url parameters\n\t_cleanParam( param ) {\n\t\tif (\n\t\t\t! yith_wcan_shortcodes?.process_sanitize ||\n\t\t\tyith_wcan_shortcodes?.skip_sanitize\n\t\t) {\n\t\t\treturn param;\n\t\t}\n\n\t\treturn encodeURIComponent( param );\n\t}\n\n\t// executes Ajax calls\n\t_doAjax( url, params ) {\n\t\tif ( this.xhr ) {\n\t\t\tthis.xhr.abort();\n\t\t}\n\n\t\tparams = $.extend(\n\t\t\t{\n\t\t\t\turl,\n\t\t\t\theaders: {\n\t\t\t\t\t'X-YITH-WCAN': 1,\n\t\t\t\t},\n\t\t\t},\n\t\t\tparams\n\t\t);\n\n\t\tthis.xhr = $.ajax( params );\n\n\t\treturn this.xhr;\n\t}\n\n\t// block dom elements\n\tblock( $el ) {\n\t\tif ( typeof $.fn.block === 'undefined' ) {\n\t\t\treturn;\n\t\t}\n\n\t\tlet background = '#fff center center no-repeat';\n\n\t\tif ( yith_wcan_shortcodes?.loader ) {\n\t\t\tbackground = `url('${ yith_wcan_shortcodes.loader }') ${ background }`;\n\t\t}\n\n\t\t$el.block( {\n\t\t\tmessage: null,\n\t\t\toverlayCSS: {\n\t\t\t\tbackground,\n\t\t\t\topacity: 0.7,\n\t\t\t},\n\t\t} );\n\t}\n\n\t// unblock dom elements\n\tunblock( $el ) {\n\t\tif ( typeof $.fn.unblock === 'undefined' ) {\n\t\t\treturn;\n\t\t}\n\n\t\t$el.unblock();\n\t}\n\n\t// checks if param is one used by layared nav to filter products.\n\tisFilterParam( param ) {\n\t\tlet supportedParams = [\n\t\t\t\t'rating_filter',\n\t\t\t\t'min_price',\n\t\t\t\t'max_price',\n\t\t\t\t'price_ranges',\n\t\t\t\t'onsale_filter',\n\t\t\t\t'instock_filter',\n\t\t\t\t'featured_filter',\n\t\t\t\t'orderby',\n\t\t\t\t'product-page',\n\t\t\t\tyith_wcan_shortcodes.query_param,\n\t\t\t],\n\t\t\tcustomParams;\n\n\t\t// filter properties\n\t\tcustomParams = $( document ).triggerHandler(\n\t\t\t'yith_wcan_supported_filters_parameters',\n\t\t\t[ supportedParams ]\n\t\t);\n\n\t\tif ( !! customParams ) {\n\t\t\tsupportedParams = customParams;\n\t\t}\n\n\t\tsupportedParams = supportedParams.concat(\n\t\t\tyith_wcan_shortcodes.supported_taxonomies.map( ( i ) =>\n\t\t\t\ti.replace( 'pa_', 'filter_' )\n\t\t\t)\n\t\t);\n\n\t\tif ( -1 !== supportedParams.indexOf( param ) ) {\n\t\t\treturn true;\n\t\t}\n\n\t\tif ( -1 !== param.indexOf( 'filter_' ) ) {\n\t\t\treturn true;\n\t\t}\n\n\t\tif ( -1 !== param.indexOf( 'query_type_' ) ) {\n\t\t\treturn true;\n\t\t}\n\n\t\treturn false;\n\t}\n}\n","'use strict';\n\n/* global globalThis, jQuery, yith_wcan_shortcodes, accounting */\n\nimport { $ } from '../config.js';\n\nexport default class YITH_WCAN_Reset_Button {\n\t// current button\n\t$reset = null;\n\n\t// init object\n\tconstructor( el ) {\n\t\t// current button\n\t\tthis.$reset = el;\n\n\t\tthis.$reset.on( 'click', function ( ev ) {\n\t\t\tev.preventDefault();\n\n\t\t\t$( '.yith-wcan-filters' ).each( function () {\n\t\t\t\tconst preset = $( this ).data( 'preset' );\n\n\t\t\t\tpreset.deactivateAllFilters( true );\n\t\t\t\tpreset.closeModal();\n\t\t\t} );\n\t\t} );\n\n\t\tthis.$reset.data( 'reset', this ).addClass( 'enhanced' );\n\t}\n}\n","'use strict';\n\n/* global globalThis, jQuery, yith_wcan_shortcodes, accounting */\n\nimport { $ } from '../config.js';\n\nexport default class YITH_WCAN_Dropdown {\n\t// current button\n\t$originalSelect = null;\n\n\t// main element\n\t$_main = null;\n\n\t// label element\n\t$_label = null;\n\n\t// dropdown\n\t$_dropdown = null;\n\n\t// search input\n\t$_search = null;\n\n\t// show more link\n\t$_showMore = null;\n\n\t// items list\n\t$_items = null;\n\n\t// current page\n\tcurrentPage = 1;\n\n\t// options\n\toptions = {};\n\n\t// init object\n\tconstructor( el, opts ) {\n\t\tthis.$originalSelect = el;\n\n\t\tif ( ! this.$originalSelect.is( 'select' ) ) {\n\t\t\treturn;\n\t\t}\n\n\t\tconst defaultPerPage = this.$originalSelect.data( 'per_page' ),\n\t\t\tdefaultOrder = this.$originalSelect.data( 'order' ),\n\t\t\tdefaultAll = this.$originalSelect.data( 'all-label' ),\n\t\t\tdefaults = {\n\t\t\t\tshowSearch: this.$originalSelect.data( 'show_search' ),\n\t\t\t\tpaginate: this.$originalSelect.data( 'paginate' ),\n\t\t\t\tperPage: defaultPerPage ? defaultPerPage : 10,\n\t\t\t\torder: defaultOrder ? defaultOrder : 'ASC',\n\t\t\t\tgetElements: null,\n\t\t\t\tlabels: {\n\t\t\t\t\temptyLabel: defaultAll\n\t\t\t\t\t\t? defaultAll\n\t\t\t\t\t\t: yith_wcan_shortcodes.labels?.empty_option,\n\t\t\t\t\tsearchPlaceholder:\n\t\t\t\t\t\tyith_wcan_shortcodes.labels?.search_placeholder,\n\t\t\t\t\tnoItemsFound: yith_wcan_shortcodes.labels?.no_items,\n\t\t\t\t\tshowMore: yith_wcan_shortcodes.labels?.show_more,\n\t\t\t\t},\n\t\t\t};\n\n\t\tthis.options = $.extend( defaults, opts );\n\n\t\tthis._hideSelect();\n\t\tthis._initTemplate();\n\t\tthis._initActions();\n\n\t\tthis.$originalSelect.data( 'dropdown', this ).addClass( 'enhanced' );\n\t}\n\n\t// hide select\n\t_hideSelect() {\n\t\tthis.$originalSelect.hide();\n\t}\n\n\t// create dropdown\n\t_initTemplate() {\n\t\tconst $mainSpan = $( '<div/>', {\n\t\t\t\tclass: 'yith-wcan-dropdown closed',\n\t\t\t} ),\n\t\t\t$labelSpan = $( '<div/>', {\n\t\t\t\tclass: 'dropdown-label',\n\t\t\t\thtml: this.getLabel(),\n\t\t\t} ),\n\t\t\t$dropdownSpan = $( '<div>', {\n\t\t\t\tclass: 'dropdown-wrapper',\n\t\t\t} ),\n\t\t\t$matchingItemsList = $( '<ul/>', {\n\t\t\t\tclass: 'matching-items filter-items',\n\t\t\t} );\n\n\t\t$dropdownSpan.append( $matchingItemsList );\n\t\t$mainSpan.append( $labelSpan ).append( $dropdownSpan );\n\n\t\tif ( this.options.showSearch ) {\n\t\t\tthis._initSearchTemplate( $dropdownSpan );\n\t\t}\n\n\t\tif ( this.options.paginate ) {\n\t\t\tthis._initShowMoreTemplate( $dropdownSpan );\n\t\t}\n\n\t\tthis.$originalSelect.after( $mainSpan );\n\t\tthis.$_main = $mainSpan;\n\t\tthis.$_label = $labelSpan;\n\t\tthis.$_dropdown = $dropdownSpan;\n\t\tthis.$_items = $matchingItemsList;\n\t}\n\n\t// create search field\n\t_initSearchTemplate( $dropdwonSpan ) {\n\t\tconst $container = $( '<div/>', {\n\t\t\t\tclass: 'search-field-container',\n\t\t\t} ),\n\t\t\t$search = $( '<input/>', {\n\t\t\t\tname: 's',\n\t\t\t\tclass: 'search-field',\n\t\t\t\ttype: 'search',\n\t\t\t\tplaceholder: this.options.labels.searchPlaceholder,\n\t\t\t} );\n\n\t\t$container.append( $search ).prependTo( $dropdwonSpan );\n\t\tthis.$_search = $search;\n\t}\n\n\t// create showMore field\n\t_initShowMoreTemplate( $dropdwonSpan ) {\n\t\tconst $showMore = $( '<a/>', {\n\t\t\tclass: 'show-more',\n\t\t\ttext: this.options.labels.showMore?.replace(\n\t\t\t\t'%d',\n\t\t\t\tthis.options.perPage\n\t\t\t),\n\t\t} );\n\n\t\t$showMore.on( 'click', this.loadNextPage.bind( this ) ).hide();\n\n\t\t$dropdwonSpan.append( $showMore );\n\t\tthis.$_showMore = $showMore;\n\t}\n\n\t// init actions performed over dropdown elements\n\t_initActions() {\n\t\tconst self = this;\n\n\t\t// main open event\n\t\tthis.$_main?.on( 'click', ( ev ) => {\n\t\t\tev.stopPropagation();\n\t\t\tself.toggleDropdown();\n\t\t} );\n\t\tthis.$_dropdown.on( 'click', ( ev ) => {\n\t\t\tev.stopPropagation();\n\t\t} );\n\n\t\t// search event\n\t\tthis.$_search?.on( 'keyup search', () => {\n\t\t\tself._populateItems();\n\t\t} );\n\n\t\t// select event\n\t\tthis.$_items.on( 'change', ':input', function () {\n\t\t\tlet $li = $( this ).closest( 'li' ),\n\t\t\t\tvalue = $li.data( 'value' ),\n\t\t\t\tisActive = false;\n\n\t\t\tif (\n\t\t\t\t$li.hasClass( 'disabled' ) &&\n\t\t\t\t! self.isValueSelected( value )\n\t\t\t) {\n\t\t\t\treturn false;\n\t\t\t}\n\n\t\t\t$li.toggleClass( 'active' );\n\t\t\tisActive = $li.hasClass( 'active' );\n\n\t\t\tself._changeItemStatus( value, isActive );\n\t\t} );\n\t\tthis.$_items.on( 'click', 'li:not(.checkbox) a', function ( ev ) {\n\t\t\tlet $li = $( this ).closest( 'li' ),\n\t\t\t\tvalue = $li.data( 'value' ),\n\t\t\t\tisActive = false;\n\n\t\t\tev.preventDefault();\n\n\t\t\tif (\n\t\t\t\t$li.hasClass( 'disabled' ) &&\n\t\t\t\t! self.isValueSelected( value )\n\t\t\t) {\n\t\t\t\treturn false;\n\t\t\t}\n\n\t\t\t$li.toggleClass( 'active' );\n\t\t\tisActive = $li.hasClass( 'active' );\n\n\t\t\tif ( isActive ) {\n\t\t\t\t$li.siblings().removeClass( 'active' );\n\t\t\t}\n\n\t\t\tself._changeItemStatus( value, isActive );\n\t\t} );\n\t\tthis.$_items.on( 'click', 'label > a', function ( ev ) {\n\t\t\tconst input = $( this ).parent().find( ':input' );\n\n\t\t\tev.preventDefault();\n\n\t\t\tif (\n\t\t\t\tinput.is( '[type=\"radio\"]' ) ||\n\t\t\t\tinput.is( '[type=\"checkbox\"]' )\n\t\t\t) {\n\t\t\t\tinput.prop( 'checked', ! input.prop( 'checked' ) );\n\t\t\t}\n\n\t\t\tinput.change();\n\t\t} );\n\n\t\t// select change\n\t\tthis.$originalSelect.on( 'change', ( ev, selfOriginated ) => {\n\t\t\tif ( selfOriginated ) {\n\t\t\t\treturn;\n\t\t\t}\n\n\t\t\tself.$_items.find( 'li' ).each( function () {\n\t\t\t\tconst value = $( this ).data( 'value' );\n\n\t\t\t\tif ( self.isValueSelected( value ) ) {\n\t\t\t\t\tself._selectItem( value );\n\t\t\t\t} else {\n\t\t\t\t\tself._deselectItem( value );\n\t\t\t\t}\n\t\t\t} );\n\n\t\t\tself.updateLabel();\n\t\t} );\n\n\t\t// close dropdown on external click; do this handler only once for any dropdown in the page\n\t\tif ( ! globalThis?.yith_wcan_dropdown_init ) {\n\t\t\t$( document ).on( 'click', this._closeAllDropdowns );\n\t\t\tglobalThis.yith_wcan_dropdown_init = true;\n\t\t}\n\t}\n\n\t// open dropdown\n\topenDropdown() {\n\t\tthis.$_main?.addClass( 'open' ).removeClass( 'closed' );\n\t\tthis._afterDropdownOpen();\n\t}\n\n\t// close dropdown\n\tcloseDropdown() {\n\t\tthis.$_main?.removeClass( 'open' ).addClass( 'closed' );\n\t}\n\n\t// close all dropdowns\n\t_closeAllDropdowns() {\n\t\tconst dropdowns = $( document )\n\t\t\t.find( 'select.enhanced' )\n\t\t\t.filter( function ( i, select ) {\n\t\t\t\tconst $el = $( select );\n\n\t\t\t\treturn !! $el.data( 'dropdown' );\n\t\t\t} );\n\n\t\tdropdowns.each( function () {\n\t\t\t$( this ).data( 'dropdown' ).closeDropdown();\n\t\t} );\n\t}\n\n\t// close other dropdowns\n\t_closeOtherDropdowns() {\n\t\tconst self = this,\n\t\t\tdropdowns = $( document )\n\t\t\t\t.find( 'select.enhanced' )\n\t\t\t\t.filter( function ( i, select ) {\n\t\t\t\t\tconst $el = $( select );\n\n\t\t\t\t\treturn (\n\t\t\t\t\t\t!! $el.data( 'dropdown' ) &&\n\t\t\t\t\t\t! $el.is( self.$originalSelect )\n\t\t\t\t\t);\n\t\t\t\t} );\n\n\t\tdropdowns.each( function () {\n\t\t\t$( this ).data( 'dropdown' ).closeDropdown();\n\t\t} );\n\t}\n\n\t// toggle dropdown\n\ttoggleDropdown() {\n\t\tthis.$_main?.toggleClass( 'open' ).toggleClass( 'closed' );\n\n\t\tif ( this.$_main?.hasClass( 'open' ) ) {\n\t\t\tthis._afterDropdownOpen();\n\t\t}\n\t}\n\n\t// perform operations after dropdown is open\n\t_afterDropdownOpen() {\n\t\tthis._closeOtherDropdowns();\n\n\t\tif ( this.$_search?.length ) {\n\t\t\tthis.$_search.val( '' );\n\t\t}\n\n\t\tthis._populateItems();\n\t}\n\n\t// get elements\n\tgetMatchingElements( search, limit ) {\n\t\tlet matchingElements = [],\n\t\t\t$options = this.getOptions(),\n\t\t\tpromise;\n\n\t\tpromise = new Promise( ( resolve ) => {\n\t\t\t// first of all, search across select option\n\t\t\t$options.each( function () {\n\t\t\t\tconst t = $( this ),\n\t\t\t\t\tvalue = t.val(),\n\t\t\t\t\tlabel = t.html(),\n\t\t\t\t\tregex = new RegExp( '.*' + search + '.*', 'i' ),\n\t\t\t\t\tshow =\n\t\t\t\t\t\t! search || regex.test( value ) || regex.test( label );\n\n\t\t\t\tif ( show ) {\n\t\t\t\t\tmatchingElements.push( {\n\t\t\t\t\t\tvalue,\n\t\t\t\t\t\tlabel,\n\t\t\t\t\t} );\n\t\t\t\t}\n\t\t\t} );\n\n\t\t\t// then retrieve additional items\n\t\t\tif ( this.options.getElements ) {\n\t\t\t\t// we're expecting key => value pairs\n\t\t\t\tthis.options\n\t\t\t\t\t.getElements( search )\n\t\t\t\t\t.then( ( retrievedElements ) => {\n\t\t\t\t\t\tif ( retrievedElements ) {\n\t\t\t\t\t\t\t// reformat retrieved array\n\t\t\t\t\t\t\tretrievedElements = retrievedElements.reduce(\n\t\t\t\t\t\t\t\t( a, v, i ) => {\n\t\t\t\t\t\t\t\t\ta.push( { label: i, value: v } );\n\t\t\t\t\t\t\t\t\treturn a;\n\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t[]\n\t\t\t\t\t\t\t);\n\n\t\t\t\t\t\t\t// merge found results with options\n\t\t\t\t\t\t\tmatchingElements = $.extend(\n\t\t\t\t\t\t\t\tmatchingElements,\n\t\t\t\t\t\t\t\tretrievedElements\n\t\t\t\t\t\t\t);\n\t\t\t\t\t\t}\n\n\t\t\t\t\t\tresolve( this._formatItems( matchingElements, limit ) );\n\t\t\t\t\t} );\n\t\t\t} else {\n\t\t\t\tresolve( this._formatItems( matchingElements, limit ) );\n\t\t\t}\n\t\t} );\n\n\t\treturn promise;\n\t}\n\n\t// format items as key/value pairs for further processing\n\t_formatItems( items, limit ) {\n\t\tlet indexes = [],\n\t\t\thasMore = false;\n\n\t\t// remove duplicates and sort array of results\n\t\titems\n\t\t\t.filter( ( v ) => {\n\t\t\t\tif ( -1 === indexes.indexOf( v.value ) ) {\n\t\t\t\t\tindexes.push( v.value );\n\t\t\t\t\treturn true;\n\t\t\t\t}\n\n\t\t\t\treturn false;\n\t\t\t} )\n\t\t\t.sort( ( a, b ) => {\n\t\t\t\tconst order = this.options.order,\n\t\t\t\t\tmod = order === 'ASC' ? 1 : -1;\n\n\t\t\t\tif ( a.value < b.value ) {\n\t\t\t\t\treturn -1 * mod;\n\t\t\t\t} else if ( a.value > b.value ) {\n\t\t\t\t\treturn mod;\n\t\t\t\t}\n\n\t\t\t\treturn 0;\n\t\t\t} );\n\n\t\t// paginate when needed\n\t\tif ( limit ) {\n\t\t\thasMore = limit < Object.keys( items ).length;\n\t\t\titems = items.slice( 0, limit );\n\t\t}\n\n\t\treturn {\n\t\t\titems,\n\t\t\thasMore,\n\t\t};\n\t}\n\n\t// generate item to append to items list\n\t_generateItem( value, label ) {\n\t\tlet active = this.isValueSelected( value ),\n\t\t\toption = this.getOptionByValue( value ),\n\t\t\t$item = $( '<li/>', {\n\t\t\t\t'data-value': value,\n\t\t\t\tclass: option.length ? option.attr( 'class' ) : '',\n\t\t\t} ),\n\t\t\t$anchor;\n\n\t\tif ( option.length ) {\n\t\t\tconst template = option.data( 'template' ),\n\t\t\t\tcount = option.data( 'count' );\n\n\t\t\tlabel = template ? template : label;\n\n\t\t\tif ( !! count ) {\n\t\t\t\tlabel += count;\n\t\t\t}\n\t\t}\n\n\t\t$anchor = $( '<a/>', {\n\t\t\thref: option.length ? option.data( 'filter_url' ) : '#',\n\t\t\thtml: label,\n\t\t\trel: 'nofollow',\n\t\t\t'data-title': option.length ? option.data( 'title' ) : '',\n\t\t} );\n\n\t\tif ( this.$originalSelect.prop( 'multiple' ) ) {\n\t\t\tconst $checkbox = $( '<input/>', {\n\t\t\t\t\ttype: 'checkbox',\n\t\t\t\t\tvalue,\n\t\t\t\t} ),\n\t\t\t\t$label = $( '<label>' );\n\n\t\t\t$checkbox.prop( 'checked', active );\n\t\t\t$label.prepend( $checkbox ).append( $anchor );\n\t\t\t$item.append( $label ).addClass( 'checkbox' );\n\t\t} else {\n\t\t\t$item.append( $anchor );\n\t\t}\n\n\t\tactive ? $item.addClass( 'active' ) : $item.removeClass( 'active' );\n\n\t\treturn $item;\n\t}\n\n\t// populate items list\n\t_populateItems( page ) {\n\t\tlet search = this.$_search?.length ? this.$_search.val() : '',\n\t\t\tperPage = this.options.paginate ? this.options.perPage : 0,\n\t\t\tlimit;\n\n\t\tpage = page ? parseInt( page ) : 1;\n\t\tlimit = page * perPage;\n\n\t\tthis.getMatchingElements( search, limit ).then( ( resultSet ) => {\n\t\t\tlet matchingItems = resultSet.items,\n\t\t\t\titems = [],\n\t\t\t\thasMore = false;\n\n\t\t\t// remove all previous items\n\t\t\tthis._emptyItems();\n\t\t\tthis._hideLoadMore();\n\n\t\t\tif ( ! matchingItems.length ) {\n\t\t\t\titems.push(\n\t\t\t\t\t$( '<li/>', { text: this.options.labels.noItemsFound } )\n\t\t\t\t);\n\n\t\t\t\tthis.currentPage = 1;\n\t\t\t} else {\n\t\t\t\tfor ( const v of matchingItems ) {\n\t\t\t\t\tif ( v.value === '' ) {\n\t\t\t\t\t\titems.unshift( this._generateItem( v.value, v.label ) );\n\t\t\t\t\t} else {\n\t\t\t\t\t\titems.push( this._generateItem( v.value, v.label ) );\n\t\t\t\t\t}\n\t\t\t\t}\n\n\t\t\t\tthis.currentPage = page;\n\t\t\t\thasMore = resultSet.hasMore;\n\t\t\t}\n\n\t\t\tthis.$_items.append( items );\n\n\t\t\tthis.$originalSelect.trigger( 'yith_wcan_dropdown_updated' );\n\n\t\t\tif ( hasMore ) {\n\t\t\t\tthis._showLoadMore();\n\t\t\t}\n\t\t} );\n\t}\n\n\t// load next page of items\n\tloadNextPage() {\n\t\tconst page = this.currentPage + 1;\n\n\t\tthis._populateItems( page );\n\t}\n\n\t// set an item as active\n\t_selectItem( value ) {\n\t\treturn this._changeItemStatus( value, true );\n\t}\n\n\t// disable an item\n\t_deselectItem( value ) {\n\t\treturn this._changeItemStatus( value, false );\n\t}\n\n\t// change item status\n\t_changeItemStatus( value, status ) {\n\t\tconst $option = this.$originalSelect.find(\n\t\t\t`option[value=\"${ value }\"]`\n\t\t);\n\n\t\tif ( $option.length ) {\n\t\t\t$option.prop( 'selected', status );\n\n\t\t\tthis.closeDropdown();\n\t\t\tthis.updateLabel();\n\n\t\t\tthis.$originalSelect.trigger( 'change', [ true ] );\n\n\t\t\treturn true;\n\t\t}\n\t\treturn false;\n\t}\n\n\t// empty items list\n\t_emptyItems() {\n\t\tthis.$_items.html( '' );\n\t}\n\n\t// show \"Load more\" link\n\t_showLoadMore() {\n\t\tthis.$_showMore.show();\n\t}\n\n\t// hide \"Load more\" link\n\t_hideLoadMore() {\n\t\tthis.$_showMore.hide();\n\t}\n\n\t// returns select label\n\tgetLabel() {\n\t\treturn this.hasSelectedValues()\n\t\t\t? this.getSelectedLabels().join( ', ' )\n\t\t\t: this.options.labels.emptyLabel;\n\t}\n\n\t// update label to match new selection\n\tupdateLabel() {\n\t\tconst label = this.getLabel();\n\n\t\tthis.$_label?.html( label );\n\t}\n\n\t// returns select options\n\tgetOptions() {\n\t\treturn this.$originalSelect.find( 'option' );\n\t}\n\n\t// checks whether select has selected values\n\thasSelectedValues() {\n\t\treturn this.getSelectedOptions().length;\n\t}\n\n\t// checks whether a value is selected\n\tisValueSelected( value ) {\n\t\tconst found = this.getSelectedValues().indexOf( value.toString() );\n\n\t\treturn -1 !== found;\n\t}\n\n\t// retrieve selected options\n\tgetSelectedOptions() {\n\t\treturn this.$originalSelect.find( 'option' ).filter( ':selected' );\n\t}\n\n\t// retrieves an option node by value\n\tgetOptionByValue( value ) {\n\t\treturn this.$originalSelect.find( `option[value=\"${ value }\"]` );\n\t}\n\n\t// retrieve labels for selected options\n\tgetSelectedLabels() {\n\t\tconst labels = [];\n\n\t\tthis.getSelectedOptions().each( function () {\n\t\t\tlet $option = $( this ),\n\t\t\t\ttemplate = $option.data( 'template' );\n\n\t\t\ttemplate = template\n\t\t\t\t? template\n\t\t\t\t: $option.html().replace( /\\([0-9]*\\)/, '' );\n\n\t\t\tlabels.push( template );\n\t\t} );\n\n\t\treturn labels;\n\t}\n\n\t// retrieve values for selected options\n\tgetSelectedValues() {\n\t\tconst values = [];\n\n\t\tthis.getSelectedOptions().each( function () {\n\t\t\tvalues.push( $( this ).val() );\n\t\t} );\n\n\t\treturn values;\n\t}\n\n\tdestroy() {\n\t\t// TBD\n\t}\n}\n","'use strict';\n\n/* global globalThis, jQuery, yith_wcan_shortcodes, accounting */\n\nimport { $ } from '../config.js';\nimport YITH_WCAN_Dropdown from './yith-wcan-dropdown';\n\nexport default class YITH_WCAN_Preset {\n\t// main preset node\n\tpreset = false;\n\t$preset = false;\n\n\t// target of the filter, if any\n\ttarget = false;\n\t$target = false;\n\n\t// filters node\n\t$filters = false;\n\n\t// filter button\n\t$filterButtons = false;\n\n\t// nodes created just for modal layout\n\tmodalElements = {};\n\n\t// retains current status of filters\n\tactiveFilters = false;\n\n\t// mobile flag\n\tisMobile = false;\n\n\t// slider timeout\n\tsliderTimeout = false;\n\n\t// registers when status has changed\n\toriginalFilters = null;\n\tdirty = false;\n\n\t// init object\n\tconstructor( el ) {\n\t\t// main preset node\n\t\tthis.preset = '#' + el.attr( 'id' );\n\t\tthis.$preset = el;\n\n\t\t// target of the filter, if any\n\t\tthis.target = this.$preset.data( 'target' );\n\t\tthis.$target = this.target ? $( this.target ) : false;\n\n\t\tthis._regiterStatus();\n\t\tthis._initFilterButton();\n\t\tthis._initResponsive();\n\t\tthis._initFilters();\n\t\tthis._initActions();\n\n\t\tthis.$preset\n\t\t\t.data( 'preset', this )\n\t\t\t.addClass( 'enhanced' )\n\t\t\t.trigger( 'yith_wcan_preset_initialized', [ this ] );\n\t}\n\n\t// init filters\n\t_initFilters() {\n\t\tconst self = this;\n\n\t\tthis.getFilters().each( function () {\n\t\t\tconst $filter = $( this );\n\n\t\t\tself._initFilter( $filter );\n\t\t} );\n\n\t\tthis.maybeShowClearAllFilters();\n\t}\n\n\t// init filter button\n\t_initFilterButton() {\n\t\tthis.$filterButtons = this.$preset.find( '.apply-filters' );\n\n\t\tif ( ! this.$filterButtons.length ) {\n\t\t\treturn;\n\t\t}\n\n\t\t// manage filter button\n\t\tthis.$filterButtons\n\t\t\t.on( 'click', ( ev ) => {\n\t\t\t\tev.preventDefault();\n\t\t\t\tthis.filter();\n\t\t\t} )\n\t\t\t.hide();\n\t}\n\n\t// init generic actions\n\t_initActions() {\n\t\tthis.$preset.find( 'form' ).on( 'submit', ( ev ) => {\n\t\t\tev.preventDefault();\n\t\t} );\n\t}\n\n\t// init responsive\n\t_initResponsive() {\n\t\tif ( ! yith_wcan_shortcodes.modal_on_mobile ) {\n\t\t\treturn;\n\t\t}\n\n\t\tconst media = window.matchMedia(\n\t\t\t`(max-width: ${ yith_wcan_shortcodes.mobile_media_query }px)`\n\t\t);\n\n\t\t$( window )\n\t\t\t.on( 'resize', () => {\n\t\t\t\tconst isMobile = !! media.matches;\n\n\t\t\t\tif ( isMobile !== this.isMobile ) {\n\t\t\t\t\tthis.isMobile = isMobile;\n\t\t\t\t\tthis._afterLayoutChange();\n\t\t\t\t}\n\t\t\t} )\n\t\t\t.resize();\n\t}\n\n\t// init filter\n\t_initFilter( $filter ) {\n\t\tconst self = this,\n\t\t\thandleChange = function ( ev ) {\n\t\t\t\tconst t = $( this ),\n\t\t\t\t\t$currentFilter = t.closest( '.yith-wcan-filter' ),\n\t\t\t\t\tmultiple = $currentFilter.length\n\t\t\t\t\t\t? 'yes' === $currentFilter.data( 'multiple' )\n\t\t\t\t\t\t: false,\n\t\t\t\t\t$item = t.closest( '.filter-item' ),\n\t\t\t\t\t$items = $item.length\n\t\t\t\t\t\t? $currentFilter.find( '.filter-item' ).not( $item )\n\t\t\t\t\t\t: [];\n\n\t\t\t\tif ( $item.is( '.disabled' ) && ! $item.is( '.active' ) ) {\n\t\t\t\t\tev.preventDefault();\n\t\t\t\t\treturn false;\n\t\t\t\t}\n\n\t\t\t\tev.preventDefault();\n\n\t\t\t\t$items.length &&\n\t\t\t\t\t! multiple &&\n\t\t\t\t\t$items\n\t\t\t\t\t\t.removeClass( 'active' )\n\t\t\t\t\t\t.children( 'label' )\n\t\t\t\t\t\t.find( ':input' )\n\t\t\t\t\t\t.prop( 'checked', false )\n\t\t\t\t\t\t.parent( '.checked' )\n\t\t\t\t\t\t.removeClass( 'checked' );\n\t\t\t\t$item.length && $item.toggleClass( 'active' );\n\n\t\t\t\t// reset active filters.\n\t\t\t\tself.activeFilters = false;\n\n\t\t\t\tself.maybeFilter( $filter );\n\t\t\t\tself.maybeToggleClearAllFilters();\n\t\t\t\tself.maybeToggleClearFilter( $currentFilter );\n\t\t\t};\n\n\t\t// handle filter activation/deactivation by click on label (no input involved)\n\t\t$filter\n\t\t\t.find( '.filter-item' )\n\t\t\t.not( '.checkbox' )\n\t\t\t.not( '.radio' )\n\t\t\t.on( 'click', 'a', function ( ev ) {\n\t\t\t\tconst t = $( this ),\n\t\t\t\t\t$item = t.closest( '.filter-item' );\n\n\t\t\t\tif ( ! $( ev?.delegateTarget ).is( $item ) ) {\n\t\t\t\t\treturn false;\n\t\t\t\t}\n\n\t\t\t\thandleChange.call( this, ev );\n\t\t\t} );\n\n\t\t// handle filter activation/deactivation from input change\n\t\t$filter.find( ':input' ).on( 'change', function ( ev ) {\n\t\t\tconst t = $( this ),\n\t\t\t\t$item = t.closest( '.filter-item' );\n\n\t\t\tif ( $item.is( '.disabled' ) && ! $item.is( '.active' ) ) {\n\t\t\t\tt.prop( 'checked', false );\n\t\t\t\treturn false;\n\t\t\t}\n\n\t\t\thandleChange.call( this, ev );\n\t\t} );\n\n\t\t// handle filter activation/deactivation by click on label (there is an input whose state can be switched)\n\t\t$filter.find( 'label > a' ).on( 'click', function ( ev ) {\n\t\t\tconst t = $( this ),\n\t\t\t\t$item = t.closest( '.filter-item' );\n\n\t\t\tev.preventDefault();\n\n\t\t\tif ( $item.is( '.disabled' ) && ! $item.is( '.active' ) ) {\n\t\t\t\treturn false;\n\t\t\t}\n\n\t\t\tconst $input = t.parent().find( ':input' );\n\n\t\t\tif (\n\t\t\t\t$input.is( '[type=\"radio\"]' ) ||\n\t\t\t\t$input.is( '[type=\"checkbox\"]' )\n\t\t\t) {\n\t\t\t\t$input.prop( 'checked', ! $input.prop( 'checked' ) );\n\t\t\t}\n\n\t\t\t$input.change();\n\t\t} );\n\n\t\t// init tooltip\n\t\tthis._initTooltip( $filter );\n\n\t\t// init price slider\n\t\tthis._initPriceSlider( $filter );\n\n\t\t// init dropdown\n\t\tthis._initDropdown( $filter );\n\n\t\t// init collapsable\n\t\tthis._initCollapsable( $filter );\n\n\t\t// init clear anchors\n\t\tthis.maybeShowClearFilter( $filter );\n\n\t\t// init custom inputs\n\t\tif ( this.$preset?.hasClass( 'custom-style' ) ) {\n\t\t\tthis._initCustomInput( $filter );\n\t\t\t$filter.on( 'yith_wcan_dropdown_updated', function () {\n\t\t\t\tconst $dropdown = $( this ),\n\t\t\t\t\t$current = $dropdown.closest( '.yith-wcan-filter' );\n\n\t\t\t\tself._initCustomInput( $current );\n\t\t\t} );\n\t\t}\n\t}\n\n\t// init tooltip\n\t_initTooltip( $filter, position ) {\n\t\t$filter.find( '[data-title]' ).each( function () {\n\t\t\tconst t = $( this );\n\n\t\t\tif ( t.hasClass( 'tooltip-added' ) || ! t.data( 'title' ) ) {\n\t\t\t\treturn;\n\t\t\t}\n\n\t\t\tt.on( 'mouseenter', function () {\n\t\t\t\tlet th = $( this ),\n\t\t\t\t\ttooltip = null,\n\t\t\t\t\twrapperWidth = th.outerWidth(),\n\t\t\t\t\tleft = 0,\n\t\t\t\t\twidth = 0;\n\n\t\t\t\tif (\n\t\t\t\t\t! position ||\n\t\t\t\t\t( 'top' !== position && 'right' !== position )\n\t\t\t\t) {\n\t\t\t\t\tconst container = th.closest( '.filter-item' );\n\n\t\t\t\t\tposition =\n\t\t\t\t\t\tcontainer.hasClass( 'color' ) ||\n\t\t\t\t\t\tcontainer.hasClass( 'label' )\n\t\t\t\t\t\t\t? 'top'\n\t\t\t\t\t\t\t: 'right';\n\t\t\t\t}\n\n\t\t\t\ttooltip = $( '<span>', {\n\t\t\t\t\tclass: 'yith-wcan-tooltip',\n\t\t\t\t\thtml: th.data( 'title' ),\n\t\t\t\t} );\n\n\t\t\t\tth.append( tooltip );\n\n\t\t\t\twidth = tooltip.outerWidth() + 6;\n\t\t\t\ttooltip.outerWidth( width );\n\n\t\t\t\tif ( 'top' === position ) {\n\t\t\t\t\tleft = ( wrapperWidth - width ) / 2;\n\t\t\t\t} else {\n\t\t\t\t\tleft = wrapperWidth + 15;\n\t\t\t\t}\n\n\t\t\t\ttooltip.css( { left: left.toFixed( 0 ) + 'px' } ).fadeIn( 200 );\n\n\t\t\t\tth.addClass( 'with-tooltip' );\n\t\t\t} ).on( 'mouseleave', function () {\n\t\t\t\tconst th = $( this );\n\n\t\t\t\tth.find( '.yith-wcan-tooltip' ).fadeOut( 200, function () {\n\t\t\t\t\tth.removeClass( 'with-tooltip' )\n\t\t\t\t\t\t.find( '.yith-wcan-tooltip' )\n\t\t\t\t\t\t.remove();\n\t\t\t\t} );\n\t\t\t} );\n\n\t\t\tt.addClass( 'tooltip-added' );\n\t\t} );\n\t}\n\n\t// init dropdown\n\t_initDropdown( $filter ) {\n\t\tconst $dropdown = $filter.find( 'select.filter-dropdown' );\n\n\t\tif ( ! $dropdown.length ) {\n\t\t\treturn;\n\t\t}\n\n\t\tif (\n\t\t\t$dropdown.hasClass( 'select2-hidden-accessible' ) &&\n\t\t\t'undefined' !== typeof $.fn.selectWoo\n\t\t) {\n\t\t\t$dropdown.selectWoo( 'destroy' );\n\t\t}\n\n\t\tthis._initDropdownObject( $dropdown, {\n\t\t\tpaginate: true,\n\t\t\tperPage: yith_wcan_shortcodes.terms_per_page,\n\t\t} );\n\t}\n\n\t// init dropdown object\n\t_initDropdownObject( $dropdown, opts ) {\n\t\treturn new YITH_WCAN_Dropdown( $dropdown, opts );\n\t}\n\n\t// init price slider\n\t_initPriceSlider( $filter ) {\n\t\tif ( ! $filter.hasClass( 'filter-price-slider' ) ) {\n\t\t\treturn;\n\t\t}\n\n\t\tconst self = this,\n\t\t\t$container = $filter.find( '.price-slider' ),\n\t\t\t$minInput = $container.find( '.price-slider-min' ),\n\t\t\t$maxInput = $container.find( '.price-slider-max' ),\n\t\t\tmin = parseFloat( $container.data( 'min' ) ),\n\t\t\tmax = parseFloat( $container.data( 'max' ) ),\n\t\t\tcurrentMin = parseFloat( $minInput.val() ),\n\t\t\tcurrentMax = parseFloat( $maxInput.val() ),\n\t\t\tstep = parseFloat( $container.data( 'step' ) ),\n\t\t\thandleSliderChange = function () {\n\t\t\t\tif ( self.sliderTimeout ) {\n\t\t\t\t\tclearTimeout( self.sliderTimeout );\n\t\t\t\t}\n\n\t\t\t\tself.sliderTimeout = setTimeout( () => {\n\t\t\t\t\tself.maybeFilter( $filter );\n\t\t\t\t}, 200 );\n\t\t\t};\n\n\t\t$filter.find( '.price-slider-ui' ).ionRangeSlider( {\n\t\t\tskin: 'round',\n\t\t\ttype: 'double',\n\t\t\tmin,\n\t\t\tmax,\n\t\t\tstep,\n\t\t\tfrom: currentMin,\n\t\t\tto: currentMax,\n\t\t\tmin_interval: step,\n\t\t\tvalues_separator: ' - ',\n\t\t\tprettify: ( v ) => this.formatPrice( v ),\n\t\t\tonChange: ( data ) => {\n\t\t\t\t$minInput.val( data.from );\n\t\t\t\t$maxInput.val( data.to );\n\t\t\t},\n\t\t\tonFinish: handleSliderChange,\n\t\t} );\n\n\t\t$minInput\n\t\t\t.add( $maxInput )\n\t\t\t.off( 'change' )\n\t\t\t.on( 'keyup', () => {\n\t\t\t\tif ( ! $minInput.val() || ! $maxInput.val() ) {\n\t\t\t\t\treturn;\n\t\t\t\t}\n\n\t\t\t\thandleSliderChange();\n\t\t\t} );\n\t}\n\n\t// init collapsable\n\t_initCollapsable( $filter ) {\n\t\tthis._initTitleCollapsable( $filter );\n\t\tthis._initHierarchyCollapsable( $filter );\n\t}\n\n\t// init toggle on click of the title\n\t_initTitleCollapsable( $filter ) {\n\t\tconst $title = $filter.find( '.collapsable' );\n\n\t\tif ( ! $title.length ) {\n\t\t\treturn;\n\t\t}\n\n\t\tthis._initToggle( $title, $title, $filter.find( '.filter-content' ) );\n\t}\n\n\t// init toggle on click of the parent li\n\t_initHierarchyCollapsable( $filter ) {\n\t\tconst $items = $filter.find( '.hierarchy-collapsable' );\n\n\t\tif ( ! $items.length ) {\n\t\t\treturn;\n\t\t}\n\n\t\t// set parents of currently active term as open\n\t\tconst self = this,\n\t\t\tactive = $filter.find( '.active' );\n\n\t\tif ( active.length ) {\n\t\t\tactive\n\t\t\t\t.parents( '.hierarchy-collapsable' )\n\t\t\t\t.removeClass( 'closed' )\n\t\t\t\t.addClass( 'opened' );\n\n\t\t\tif (\n\t\t\t\tactive.hasClass( 'hierarchy-collapsable' ) &&\n\t\t\t\tyith_wcan_shortcodes.show_current_children\n\t\t\t) {\n\t\t\t\tactive.removeClass( 'closed' ).addClass( 'opened' );\n\t\t\t}\n\t\t}\n\n\t\t$items.each( function () {\n\t\t\tconst $t = $( this ),\n\t\t\t\t$toggle = $( '<span/>', {\n\t\t\t\t\tclass: 'toggle-handle',\n\t\t\t\t} );\n\n\t\t\t$toggle.appendTo( $t );\n\n\t\t\tself._initToggle( $toggle, $t, $t.children( 'ul.filter-items' ) );\n\t\t} );\n\t}\n\n\t// init toggle to generic toggle/target pair\n\t_initToggle( $toggle, $container, $target ) {\n\t\tif ( $container.hasClass( 'closed' ) ) {\n\t\t\t$target.hide();\n\t\t}\n\n\t\t$toggle.off( 'click' ).on( 'click', ( ev ) => {\n\t\t\tev.stopPropagation();\n\t\t\tev.preventDefault();\n\n\t\t\t$target.slideToggle( 400, () => {\n\t\t\t\t$container.toggleClass( 'opened' ).toggleClass( 'closed' );\n\t\t\t} );\n\t\t} );\n\t}\n\n\t// init custom input\n\t_initCustomInput( $filter ) {\n\t\t$filter.find( ':input' ).each( function () {\n\t\t\tlet input = $( this ),\n\t\t\t\ttype = input.attr( 'type' ),\n\t\t\t\tcontainerClass = `${ type }button`,\n\t\t\t\tcontainer;\n\n\t\t\tif ( 'checkbox' !== type && 'radio' !== type ) {\n\t\t\t\treturn;\n\t\t\t}\n\n\t\t\tif ( input.closest( `.${ containerClass }` ).length ) {\n\t\t\t\treturn;\n\t\t\t}\n\n\t\t\tif ( input.is( ':checked' ) ) {\n\t\t\t\tcontainerClass += ' checked';\n\t\t\t}\n\n\t\t\tcontainer = $( '<span/>', {\n\t\t\t\tclass: containerClass,\n\t\t\t} );\n\n\t\t\tinput.wrap( container ).on( 'change', function () {\n\t\t\t\tconst t = $( this );\n\n\t\t\t\tt.prop( 'checked' )\n\t\t\t\t\t? t.parent().addClass( 'checked' )\n\t\t\t\t\t: t.parent().removeClass( 'checked' );\n\t\t\t} );\n\t\t} );\n\t}\n\n\t// register initial status\n\t_regiterStatus() {\n\t\tthis.originalFilters = this.getFiltersProperties();\n\t}\n\n\t// trigger handling after layout change\n\t_afterLayoutChange() {\n\t\tif ( this.isMobile ) {\n\t\t\tthis.$preset\n\t\t\t\t.addClass( 'filters-modal' )\n\t\t\t\t.attr( 'role', 'dialog' )\n\t\t\t\t.attr( 'tabindex', '-1' )\n\t\t\t\t.hide();\n\n\t\t\tthis._addCloseModalButton();\n\t\t\tthis._addApplyFiltersModalButton();\n\t\t\tthis._switchToCollapsables();\n\n\t\t\tthis.$filterButtons?.hide();\n\t\t} else {\n\t\t\tthis.$preset\n\t\t\t\t.removeClass( 'filters-modal' )\n\t\t\t\t.removeClass( 'open' )\n\t\t\t\t.removeAttr( 'role' )\n\t\t\t\t.removeAttr( 'tabindex' )\n\t\t\t\t.show();\n\n\t\t\t$( 'body' )\n\t\t\t\t.css( 'overflow', 'auto' )\n\t\t\t\t.removeClass( 'yith-wcan-preset-modal-open' );\n\n\t\t\tthis._removeCloseModalButton();\n\t\t\tthis._removeApplyFiltersModalButton();\n\t\t\tthis._switchBackCollapsables();\n\n\t\t\tthis.$filterButtons?.show();\n\t\t}\n\t}\n\n\t// add modal close button\n\t_addCloseModalButton() {\n\t\tconst $closeButton = $( '<a/>', {\n\t\t\tclass: 'close-button',\n\t\t\thtml: '&times;',\n\t\t\t'data-dismiss': 'modal',\n\t\t\t'aria-label': yith_wcan_shortcodes.labels.close,\n\t\t} );\n\n\t\t$closeButton\n\t\t\t.prependTo( this.$preset )\n\t\t\t.on( 'click', this.closeModal.bind( this ) );\n\t\tthis.modalElements.closeButton = $closeButton;\n\t}\n\n\t// remove modal close button\n\t_removeCloseModalButton() {\n\t\tthis.modalElements?.closeButton?.remove();\n\t}\n\n\t// show main filter button for the modal\n\t_addApplyFiltersModalButton() {\n\t\tconst $filterButton = $( '<button/>', {\n\t\t\tclass: 'apply-filters main-modal-button',\n\t\t\thtml: yith_wcan_shortcodes.labels.show_results,\n\t\t\t'data-dismiss': 'modal',\n\t\t} );\n\n\t\t$filterButton.appendTo( this.$preset ).on( 'click', () => {\n\t\t\tthis.filter();\n\t\t\tthis.closeModal();\n\t\t} );\n\t\tthis.modalElements.applyFiltersButton = $filterButton;\n\t}\n\n\t// hide main filter button for the modal\n\t_removeApplyFiltersModalButton() {\n\t\tthis.modalElements?.applyFiltersButton?.remove();\n\t}\n\n\t// convert all filters to collapsable\n\t_switchToCollapsables() {\n\t\tconst self = this;\n\n\t\tthis.getFilters().each( function () {\n\t\t\tconst $filter = $( this ),\n\t\t\t\t$title = $filter.find( '.filter-title' );\n\n\t\t\tif ( ! $title.length || $title.hasClass( 'collapsable' ) ) {\n\t\t\t\treturn;\n\t\t\t}\n\n\t\t\t$title.addClass( 'collapsable' ).data( 'disable-collapse', true );\n\n\t\t\tself._initTitleCollapsable( $filter );\n\t\t} );\n\t}\n\n\t// switch back filters to their previous collapsable state\n\t_switchBackCollapsables() {\n\t\tthis.getFilters().each( function () {\n\t\t\tconst $filter = $( this ),\n\t\t\t\t$title = $filter.find( '.filter-title' );\n\n\t\t\tif (\n\t\t\t\t! $title.length ||\n\t\t\t\t! $title.hasClass( 'collapsable' ) ||\n\t\t\t\t! $title.data( 'disable-collapse' )\n\t\t\t) {\n\t\t\t\treturn;\n\t\t\t}\n\n\t\t\t$title\n\t\t\t\t.removeClass( 'collapsable' )\n\t\t\t\t.removeData( 'disable-collapse', true )\n\t\t\t\t.off( 'click' );\n\n\t\t\t$filter.find( '.filter-content' ).show();\n\t\t} );\n\t}\n\n\t// close all collpasable before showing modal\n\t_openAllCollapsables() {\n\t\tthis.$filters\n\t\t\t.not( '.no-title' )\n\t\t\t.not( ( i, v ) => {\n\t\t\t\treturn this.isFilterActive( $( v ) );\n\t\t\t} )\n\t\t\t.find( '.filter-content' )\n\t\t\t.show()\n\t\t\t.end()\n\t\t\t.find( '.filter-title' )\n\t\t\t.removeClass( 'closed' )\n\t\t\t.addClass( 'opened' );\n\t}\n\n\t// close all collpasable before showing modal\n\t_closeAllCollapsables() {\n\t\tthis.$filters\n\t\t\t.not( '.no-title' )\n\t\t\t.not( ( i, v ) => {\n\t\t\t\treturn this.isFilterActive( $( v ) );\n\t\t\t} )\n\t\t\t.find( '.filter-content' )\n\t\t\t.hide()\n\t\t\t.end()\n\t\t\t.find( '.filter-title' )\n\t\t\t.addClass( 'closed' )\n\t\t\t.removeClass( 'opened' );\n\t}\n\n\t// update status change flag, if filters have changed\n\tmaybeRegisterStatusChange() {\n\t\tconst currentFilters = this.getFiltersProperties(),\n\t\t\tcurrentStr = JSON.stringify( currentFilters ),\n\t\t\toriginalStr = JSON.stringify( this.originalFilters );\n\n\t\tthis.dirty = currentStr !== originalStr;\n\t}\n\n\t// apply filters when possible\n\tmaybeFilter( $initiator ) {\n\t\t// register status change\n\t\tthis.maybeRegisterStatusChange();\n\n\t\t// filter, or show filter button.\n\t\tif ( yith_wcan_shortcodes.instant_filters && ! this.isMobile ) {\n\t\t\tthis.filter();\n\t\t} else if (\n\t\t\t! yith_wcan_shortcodes.instant_filters &&\n\t\t\t! this.isMobile\n\t\t) {\n\t\t\tthis.dirty\n\t\t\t\t? this.$filterButtons?.show()\n\t\t\t\t: this.$filterButtons?.hide();\n\t\t} else if ( this.isMobile && this.dirty ) {\n\t\t\tthis.$preset.addClass( 'with-filter-button' );\n\t\t\tthis.modalElements.applyFiltersButton?.show();\n\t\t}\n\t}\n\n\t// main filtering method\n\tfilter() {\n\t\tconst filter = window?.product_filter;\n\n\t\tfilter\n\t\t\t?.doFilter( this.getFiltersProperties(), this.target, this.preset )\n\t\t\t?.done( () => {\n\t\t\t\tlet newPreset = $( this.preset );\n\n\t\t\t\tif ( newPreset.length && yith_wcan_shortcodes.scroll_top ) {\n\t\t\t\t\t// by default, scroll till top of first preset in the page.\n\t\t\t\t\tlet targetOffset = newPreset.offset().top;\n\n\t\t\t\t\tif ( !! yith_wcan_shortcodes.scroll_target ) {\n\t\t\t\t\t\t// when we have a specific target, use that for the offset.\n\t\t\t\t\t\tconst $scrollTarget = $(\n\t\t\t\t\t\t\tyith_wcan_shortcodes.scroll_target\n\t\t\t\t\t\t);\n\n\t\t\t\t\t\ttargetOffset = $scrollTarget.length\n\t\t\t\t\t\t\t? $scrollTarget.offset().top\n\t\t\t\t\t\t\t: targetOffset;\n\t\t\t\t\t} else if ( this.isMobile ) {\n\t\t\t\t\t\t// otherwise, if we're on mobile, scroll to the top of the page\n\t\t\t\t\t\t// (preset could be in an unexpected location).\n\t\t\t\t\t\ttargetOffset = 100;\n\t\t\t\t\t}\n\n\t\t\t\t\t$( 'body, html' ).animate( {\n\t\t\t\t\t\tscrollTop: targetOffset - 100,\n\t\t\t\t\t} );\n\t\t\t\t}\n\n\t\t\t\t// register new filters, clear status flag\n\t\t\t\tthis.originalFilters = this.getFiltersProperties();\n\t\t\t\tthis.dirty = false;\n\t\t\t} );\n\n\t\tif ( this.isMobile ) {\n\t\t\tthis.$preset.removeClass( 'with-filter-button' );\n\t\t\tthis.modalElements.applyFiltersButton?.hide();\n\t\t\tthis.closeModal();\n\t\t}\n\t}\n\n\t// get all filter nodes\n\tgetFilters() {\n\t\tif ( false === this.$filters ) {\n\t\t\tthis.$filters = this.$preset.find( '.yith-wcan-filter' );\n\t\t}\n\n\t\treturn this.$filters;\n\t}\n\n\t// retrieves all filters that we want to apply\n\tgetActiveFilters() {\n\t\tif ( false === this.activeFilters ) {\n\t\t\tthis.activeFilters = this.getFiltersProperties();\n\t\t}\n\n\t\treturn this.activeFilters;\n\t}\n\n\t// check whether there is any filter active\n\tisAnyFilterActive() {\n\t\treturn !! Object.keys( this.getActiveFilters() ).length;\n\t}\n\n\t// checks whether current filter is active\n\tisFilterActive( $filter ) {\n\t\tlet filterType = $filter.data( 'filter-type' ),\n\t\t\tactive,\n\t\t\tfilteredActive;\n\n\t\tswitch ( filterType ) {\n\t\t\tcase 'tax':\n\t\t\tcase 'review':\n\t\t\tcase 'price_range':\n\t\t\t\tconst $dropdown = $filter.find( '.filter-dropdown' );\n\n\t\t\t\tif ( $dropdown.length ) {\n\t\t\t\t\tconst val = $dropdown.val();\n\n\t\t\t\t\tactive = 'object' === typeof val ? !! val?.length : !! val;\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\n\t\t\t// if we use type other than dropdown, fallthrough\n\t\t\tcase 'stock_sale':\n\t\t\t\tactive = $filter\n\t\t\t\t\t.find( '.filter-item' )\n\t\t\t\t\t.filter( '.active' ).length;\n\t\t\t\tbreak;\n\t\t\tcase 'price_slider':\n\t\t\t\tconst step = parseFloat(\n\t\t\t\t\t\t$filter.find( '.price-slider' ).data( 'step' )\n\t\t\t\t\t),\n\t\t\t\t\tmin = parseFloat(\n\t\t\t\t\t\t$filter.find( '.price-slider' ).data( 'min' )\n\t\t\t\t\t),\n\t\t\t\t\tmax = parseFloat(\n\t\t\t\t\t\t$filter.find( '.price-slider' ).data( 'max' )\n\t\t\t\t\t),\n\t\t\t\t\tcurrentMin = parseFloat(\n\t\t\t\t\t\t$filter.find( '.price-slider-min' ).val()\n\t\t\t\t\t),\n\t\t\t\t\tcurrentMax = parseFloat(\n\t\t\t\t\t\t$filter.find( '.price-slider-max' ).val()\n\t\t\t\t\t);\n\n\t\t\t\tactive =\n\t\t\t\t\tMath.abs( currentMin - min ) >= step ||\n\t\t\t\t\tMath.abs( currentMax - max ) >= step;\n\t\t\t\tbreak;\n\t\t\tcase 'orderby':\n\t\t\t\tactive =\n\t\t\t\t\t'menu_order' !== $filter.find( '.filter-order-by' ).val();\n\t\t\t\tbreak;\n\t\t\tdefault:\n\t\t\t\tactive = false;\n\t\t\t\tbreak;\n\t\t}\n\n\t\tfilteredActive = $filter.triggerHandler( 'yith_wcan_is_filter_active', [\n\t\t\tactive,\n\t\t\tthis,\n\t\t] );\n\t\tactive =\n\t\t\ttypeof filteredActive !== 'undefined' ? filteredActive : active;\n\n\t\treturn active;\n\t}\n\n\t// count the number of active items per filter\n\tcountActiveItems( $filter ) {\n\t\tlet filterType = $filter.data( 'filter-type' ),\n\t\t\tcount;\n\n\t\tswitch ( filterType ) {\n\t\t\tcase 'tax':\n\t\t\tcase 'review':\n\t\t\tcase 'price_range':\n\t\t\t\tconst $dropdown = $filter.find( '.filter-dropdown' );\n\n\t\t\t\tif ( $dropdown.length ) {\n\t\t\t\t\tconst val = $dropdown.val();\n\n\t\t\t\t\tcount = 'object' === typeof val ? val?.length : +!! val;\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\n\t\t\t// if we use type other than dropdown, fallthrough\n\t\t\tcase 'stock_sale':\n\t\t\t\tcount = $filter\n\t\t\t\t\t.find( '.filter-items' )\n\t\t\t\t\t.find( '.active' ).length;\n\t\t\t\tbreak;\n\t\t\tcase 'orderby':\n\t\t\t\tif ( this.isFilterActive( $filter ) ) {\n\t\t\t\t\tcount = 1;\n\t\t\t\t}\n\t\t\t\tbreak;\n\t\t\tcase 'price_slider':\n\t\t\tdefault:\n\t\t\t\tcount = 0;\n\t\t\t\tbreak;\n\t\t}\n\n\t\treturn count;\n\t}\n\n\t// retrieves filter properties for the filter\n\tgetFilterProperties( $filter ) {\n\t\tlet filterType = $filter.data( 'filter-type' ),\n\t\t\tmultiple = 'yes' === $filter.data( 'multiple' ),\n\t\t\t$dropdown = $filter.find( '.filter-dropdown' ),\n\t\t\tproperties = {},\n\t\t\tfilteredProperties,\n\t\t\t$active;\n\n\t\tswitch ( filterType ) {\n\t\t\tcase 'tax':\n\t\t\t\tlet activeTerms = [],\n\t\t\t\t\ttaxonomy = $filter.data( 'taxonomy' ),\n\t\t\t\t\tisAttr = 0 === taxonomy.indexOf( 'filter' ),\n\t\t\t\t\trelation = $filter.data( 'relation' );\n\n\t\t\t\tif ( $dropdown.length ) {\n\t\t\t\t\tif ( multiple ) {\n\t\t\t\t\t\tactiveTerms = $dropdown.val();\n\t\t\t\t\t} else {\n\t\t\t\t\t\tactiveTerms.push( $dropdown.val() );\n\t\t\t\t\t}\n\t\t\t\t} else {\n\t\t\t\t\t$active = $filter\n\t\t\t\t\t\t.find( '.filter-item' )\n\t\t\t\t\t\t.filter( '.active' )\n\t\t\t\t\t\t.children( 'a, label' );\n\n\t\t\t\t\tactiveTerms = $active.get().reduce( function ( a, v ) {\n\t\t\t\t\t\tlet val;\n\n\t\t\t\t\t\tv = $( v );\n\t\t\t\t\t\tval = v.is( 'label' )\n\t\t\t\t\t\t\t? v.find( ':input' ).val()\n\t\t\t\t\t\t\t: v.data( 'term-slug' );\n\n\t\t\t\t\t\tif ( ! val ) {\n\t\t\t\t\t\t\treturn a;\n\t\t\t\t\t\t}\n\n\t\t\t\t\t\ta.push( val );\n\n\t\t\t\t\t\treturn a;\n\t\t\t\t\t}, activeTerms );\n\t\t\t\t}\n\n\t\t\t\tif ( ! multiple ) {\n\t\t\t\t\tproperties[ taxonomy ] = activeTerms.pop();\n\t\t\t\t} else {\n\t\t\t\t\tconst glue = ! isAttr && 'and' === relation ? '+' : ',';\n\t\t\t\t\tproperties[ taxonomy ] = activeTerms.join( glue );\n\t\t\t\t}\n\n\t\t\t\tif ( isAttr ) {\n\t\t\t\t\tproperties[ taxonomy.replace( 'filter_', 'query_type_' ) ] =\n\t\t\t\t\t\trelation;\n\t\t\t\t}\n\n\t\t\t\tbreak;\n\t\t\tcase 'review':\n\t\t\t\tif ( $dropdown.length ) {\n\t\t\t\t\tproperties.rating_filter = $dropdown.val();\n\t\t\t\t} else {\n\t\t\t\t\t$active = $filter\n\t\t\t\t\t\t.find( '.filter-item' )\n\t\t\t\t\t\t.filter( '.active' )\n\t\t\t\t\t\t.children( 'a, label' );\n\n\t\t\t\t\tif ( ! multiple ) {\n\t\t\t\t\t\t$active = $active.first();\n\t\t\t\t\t\tproperties.rating_filter = $active.is( 'label' )\n\t\t\t\t\t\t\t? $active.find( ':input' ).val()\n\t\t\t\t\t\t\t: $active.data( 'rating' );\n\t\t\t\t\t} else {\n\t\t\t\t\t\tproperties.rating_filter = $active\n\t\t\t\t\t\t\t.get()\n\t\t\t\t\t\t\t.reduce( function ( a, v ) {\n\t\t\t\t\t\t\t\tlet val;\n\n\t\t\t\t\t\t\t\tv = $( v );\n\t\t\t\t\t\t\t\tval = v.is( 'label' )\n\t\t\t\t\t\t\t\t\t? v.find( ':input' ).val()\n\t\t\t\t\t\t\t\t\t: v.data( 'rating' );\n\n\t\t\t\t\t\t\t\tif ( ! val ) {\n\t\t\t\t\t\t\t\t\treturn a;\n\t\t\t\t\t\t\t\t}\n\n\t\t\t\t\t\t\t\ta.push( val );\n\n\t\t\t\t\t\t\t\treturn a;\n\t\t\t\t\t\t\t}, [] )\n\t\t\t\t\t\t\t.join( ',' );\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\tbreak;\n\t\t\tcase 'price_range':\n\t\t\t\tif ( $dropdown.length ) {\n\t\t\t\t\tif ( multiple ) {\n\t\t\t\t\t\tproperties.price_ranges = $dropdown.val().join( ',' );\n\t\t\t\t\t} else {\n\t\t\t\t\t\tproperties.min_price = $dropdown\n\t\t\t\t\t\t\t.val()\n\t\t\t\t\t\t\t.split( '-' )[ 0 ];\n\t\t\t\t\t\tproperties.max_price = $dropdown\n\t\t\t\t\t\t\t.val()\n\t\t\t\t\t\t\t.split( '-' )[ 1 ];\n\t\t\t\t\t}\n\t\t\t\t} else {\n\t\t\t\t\t$active = $filter\n\t\t\t\t\t\t.find( '.filter-item' )\n\t\t\t\t\t\t.filter( '.active' )\n\t\t\t\t\t\t.children( 'a, label' );\n\n\t\t\t\t\tif ( multiple ) {\n\t\t\t\t\t\tproperties.price_ranges = $active\n\t\t\t\t\t\t\t.get()\n\t\t\t\t\t\t\t.reduce( ( a, v ) => {\n\t\t\t\t\t\t\t\tlet min = $( v ).data( 'range-min' ),\n\t\t\t\t\t\t\t\t\tmax = $( v ).data( 'range-max' );\n\n\t\t\t\t\t\t\t\ta += ( max ? `${ min }-${ max }` : min ) + ',';\n\n\t\t\t\t\t\t\t\treturn a;\n\t\t\t\t\t\t\t}, '' )\n\t\t\t\t\t\t\t.replace( /^(.*),$/, '$1' );\n\t\t\t\t\t} else {\n\t\t\t\t\t\tproperties.min_price = parseFloat(\n\t\t\t\t\t\t\t$active.first().data( 'range-min' )\n\t\t\t\t\t\t);\n\t\t\t\t\t\tproperties.max_price = parseFloat(\n\t\t\t\t\t\t\t$active.first().data( 'range-max' )\n\t\t\t\t\t\t);\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\tbreak;\n\t\t\tcase 'price_slider':\n\t\t\t\tproperties.min_price = parseFloat(\n\t\t\t\t\t$filter.find( '.price-slider-min' ).val()\n\t\t\t\t);\n\t\t\t\tproperties.max_price = parseFloat(\n\t\t\t\t\t$filter.find( '.price-slider-max' ).val()\n\t\t\t\t);\n\t\t\t\tbreak;\n\t\t\tcase 'stock_sale':\n\t\t\t\tif ( $filter.find( '.filter-on-sale' ).is( '.active' ) ) {\n\t\t\t\t\tproperties.onsale_filter = 1;\n\t\t\t\t}\n\t\t\t\tif ( $filter.find( '.filter-in-stock' ).is( '.active' ) ) {\n\t\t\t\t\tproperties.instock_filter = 1;\n\t\t\t\t}\n\t\t\t\tif ( $filter.find( '.filter-featured' ).is( '.active' ) ) {\n\t\t\t\t\tproperties.featured_filter = 1;\n\t\t\t\t}\n\t\t\t\tbreak;\n\t\t\tcase 'orderby':\n\t\t\t\tproperties.orderby = $filter.find( '.filter-order-by' ).val();\n\t\t\t\tbreak;\n\t\t\tdefault:\n\t\t\t\tbreak;\n\t\t}\n\n\t\tfilteredProperties = $filter.triggerHandler(\n\t\t\t'yith_wcan_filter_properties',\n\t\t\t[ properties, self ]\n\t\t);\n\t\tproperties =\n\t\t\ttypeof filteredProperties !== 'undefined'\n\t\t\t\t? filteredProperties\n\t\t\t\t: properties;\n\n\t\treturn properties;\n\t}\n\n\t// retrieves properties for all filters of the preset\n\tgetFiltersProperties() {\n\t\tlet properties = {};\n\t\tconst self = this;\n\n\t\tthis.getFilters().each( function () {\n\t\t\tconst $filter = $( this );\n\n\t\t\tif ( self.isFilterActive( $filter ) ) {\n\t\t\t\tconst filterProperties = self.getFilterProperties( $filter );\n\n\t\t\t\tproperties = self.mergeProperties(\n\t\t\t\t\tproperties,\n\t\t\t\t\tfilterProperties,\n\t\t\t\t\t$filter\n\t\t\t\t);\n\t\t\t}\n\t\t} );\n\n\t\treturn properties;\n\t}\n\n\t// retrieve filters matching any of the properties passed\n\tgetFiltersByProperties( properties ) {\n\t\tconst self = this;\n\n\t\treturn this.getFilters().filter( function () {\n\t\t\tconst $filter = $( this );\n\n\t\t\tif ( self.isFilterActive( $filter ) ) {\n\t\t\t\tlet filterProperties = self.getFilterProperties( $filter ),\n\t\t\t\t\thasProp = false;\n\n\t\t\t\tfor ( const prop in properties ) {\n\t\t\t\t\tif (\n\t\t\t\t\t\t[ 'min_price', 'max_price', 'price_ranges' ].includes(\n\t\t\t\t\t\t\tprop\n\t\t\t\t\t\t) &&\n\t\t\t\t\t\t( filterProperties.min_price ||\n\t\t\t\t\t\t\tfilterProperties.price_ranges )\n\t\t\t\t\t) {\n\t\t\t\t\t\thasProp = true;\n\t\t\t\t\t\tbreak;\n\t\t\t\t\t} else if ( filterProperties[ prop ] ) {\n\t\t\t\t\t\thasProp = true;\n\t\t\t\t\t\tbreak;\n\t\t\t\t\t}\n\t\t\t\t}\n\n\t\t\t\treturn hasProp;\n\t\t\t}\n\n\t\t\treturn false;\n\t\t} );\n\t}\n\n\t// show clear selection anchor\n\tmaybeToggleClearFilter( $filter ) {\n\t\tif ( ! this.isFilterActive( $filter ) ) {\n\t\t\tthis.maybeHideClearFilter( $filter );\n\t\t} else {\n\t\t\tthis.maybeShowClearFilter( $filter );\n\t\t}\n\t}\n\n\t// show clear all selections anchor\n\tmaybeToggleClearAllFilters() {\n\t\tif ( ! this.isAnyFilterActive() ) {\n\t\t\tthis.maybeHideClearAllFilters();\n\t\t} else {\n\t\t\tthis.maybeShowClearAllFilters();\n\t\t}\n\t}\n\n\t// show clear selection anchor\n\tmaybeShowClearFilter( $filter ) {\n\t\tif (\n\t\t\t! this.isFilterActive( $filter ) ||\n\t\t\t! yith_wcan_shortcodes.show_clear_filter\n\t\t) {\n\t\t\treturn;\n\t\t}\n\n\t\t// remove clear selection link if already added.\n\t\t$filter.find( '.clear-selection' ).remove();\n\n\t\t// add new clear selection link.\n\t\t$( '<a/>', {\n\t\t\tclass: 'clear-selection',\n\t\t\ttext: yith_wcan_shortcodes.labels.clear_selection,\n\t\t\trole: 'button',\n\t\t} )\n\t\t\t.prependTo( $filter.find( '.filter-content' ) )\n\t\t\t.on( 'click', ( ev ) => {\n\t\t\t\tev.preventDefault();\n\n\t\t\t\tthis.deactivateFilter(\n\t\t\t\t\t$filter,\n\t\t\t\t\tfalse,\n\t\t\t\t\tyith_wcan_shortcodes.instant_filters\n\t\t\t\t);\n\t\t\t\tthis.maybeHideClearFilter( $filter );\n\n\t\t\t\tif ( yith_wcan_shortcodes.instant_filters ) {\n\t\t\t\t\tthis.closeModal();\n\t\t\t\t}\n\t\t\t} );\n\t}\n\n\t// show clearAll anchor, when on mobile layout\n\tmaybeShowClearAllFilters() {\n\t\tif ( ! this.isAnyFilterActive() || ! this.isMobile ) {\n\t\t\treturn;\n\t\t}\n\n\t\t// remove clear selection link if already added.\n\t\tthis.$preset.find( '.clear-selection' ).remove();\n\n\t\t// add new clear selection link.\n\t\t$( '<a/>', {\n\t\t\tclass: 'clear-selection',\n\t\t\ttext: yith_wcan_shortcodes.labels.clear_all_selections,\n\t\t\trole: 'button',\n\t\t} )\n\t\t\t.prependTo( this.$preset.find( '.filters-container' ) )\n\t\t\t.on( 'click', ( ev ) => {\n\t\t\t\tev.preventDefault();\n\n\t\t\t\tthis.deactivateAllFilters(\n\t\t\t\t\tyith_wcan_shortcodes.instant_filters\n\t\t\t\t);\n\t\t\t\tthis.maybeHideClearAllFilters();\n\n\t\t\t\tif ( yith_wcan_shortcodes.instant_filters ) {\n\t\t\t\t\tthis.closeModal();\n\t\t\t\t}\n\t\t\t} );\n\t}\n\n\t// hide clear selection anchor\n\tmaybeHideClearFilter( $filter ) {\n\t\tif (\n\t\t\tthis.isFilterActive( $filter ) ||\n\t\t\t! yith_wcan_shortcodes.show_clear_filter\n\t\t) {\n\t\t\treturn;\n\t\t}\n\n\t\t// remove clear selection link.\n\t\t$filter.find( '.clear-selection' ).remove();\n\t}\n\n\t// show clearAll anchor, when on mobile layout\n\tmaybeHideClearAllFilters() {\n\t\tif ( this.isAnyFilterActive() ) {\n\t\t\treturn;\n\t\t}\n\n\t\t// remove clear selection link.\n\t\tthis.$preset\n\t\t\t.find( '.filters-container' )\n\t\t\t.children( '.clear-selection' )\n\t\t\t.remove();\n\t}\n\n\t// deactivate filter\n\tdeactivateFilter( $filter, properties, doFilter ) {\n\t\tconst filterType = $filter.data( 'filter-type' ),\n\t\t\t$items = $filter.find( '.filter-item' ),\n\t\t\t$activeItems = $items.filter( '.active' ),\n\t\t\t$dropdown = $filter.find( '.filter-dropdown' );\n\n\t\tswitch ( filterType ) {\n\t\t\tcase 'tax':\n\t\t\t\tconst taxonomy = $filter.data( 'taxonomy' );\n\n\t\t\t\tif ( $dropdown.length ) {\n\t\t\t\t\tif ( ! properties ) {\n\t\t\t\t\t\t$dropdown.find( 'option' ).prop( 'selected', false );\n\t\t\t\t\t} else {\n\t\t\t\t\t\t$dropdown.find( 'option' ).each( function () {\n\t\t\t\t\t\t\tconst $option = $( this );\n\n\t\t\t\t\t\t\tif (\n\t\t\t\t\t\t\t\t$option.val().toString() ===\n\t\t\t\t\t\t\t\tproperties[ taxonomy ].toString()\n\t\t\t\t\t\t\t) {\n\t\t\t\t\t\t\t\t$option.prop( 'selected', false );\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t} );\n\t\t\t\t\t}\n\n\t\t\t\t\t$dropdown.change();\n\t\t\t\t} else if ( ! properties ) {\n\t\t\t\t\t$activeItems.children( 'label' ).children( 'a' ).click();\n\t\t\t\t\t$activeItems.removeClass( 'active' );\n\t\t\t\t} else {\n\t\t\t\t\t$activeItems.each( function () {\n\t\t\t\t\t\tlet $item = $( this ),\n\t\t\t\t\t\t\t$label = $item.children( 'label' ),\n\t\t\t\t\t\t\t$anchor = $item.children( 'a' ),\n\t\t\t\t\t\t\tvalue;\n\n\t\t\t\t\t\tvalue = $label.length\n\t\t\t\t\t\t\t? $label.find( ':input' ).val()\n\t\t\t\t\t\t\t: $anchor.data( 'term-slug' );\n\n\t\t\t\t\t\tif (\n\t\t\t\t\t\t\tvalue.toString() ===\n\t\t\t\t\t\t\tproperties[ taxonomy ].toString()\n\t\t\t\t\t\t) {\n\t\t\t\t\t\t\t$item.children( 'label' ).children( 'a' ).click();\n\t\t\t\t\t\t\t$item.removeClass( 'active' );\n\t\t\t\t\t\t}\n\t\t\t\t\t} );\n\t\t\t\t}\n\t\t\t\tbreak;\n\t\t\tcase 'review':\n\t\t\t\tif ( $dropdown.length ) {\n\t\t\t\t\tif ( ! properties ) {\n\t\t\t\t\t\t$dropdown.find( 'option' ).prop( 'selected', false );\n\t\t\t\t\t} else {\n\t\t\t\t\t\t$dropdown.find( 'option' ).each( function () {\n\t\t\t\t\t\t\tconst $option = $( this );\n\n\t\t\t\t\t\t\tif ( $option.val() === properties.rating_filter ) {\n\t\t\t\t\t\t\t\t$option.prop( 'selected', false );\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t} );\n\t\t\t\t\t}\n\n\t\t\t\t\t$dropdown.change();\n\t\t\t\t} else if ( ! properties ) {\n\t\t\t\t\t$activeItems.children( 'label' ).children( 'a' ).click();\n\t\t\t\t\t$activeItems.removeClass( 'active' );\n\t\t\t\t} else {\n\t\t\t\t\t$activeItems.each( function () {\n\t\t\t\t\t\tlet $item = $( this ),\n\t\t\t\t\t\t\t$label = $item.children( 'label' ),\n\t\t\t\t\t\t\t$anchor = $item.children( 'a' ),\n\t\t\t\t\t\t\tvalue;\n\n\t\t\t\t\t\tvalue = $label.length\n\t\t\t\t\t\t\t? $label.find( ':input' ).val()\n\t\t\t\t\t\t\t: $anchor.data( 'rating' );\n\n\t\t\t\t\t\tif ( value === properties.rating_filter ) {\n\t\t\t\t\t\t\t$item.children( 'label' ).children( 'a' ).click();\n\t\t\t\t\t\t\t$item.removeClass( 'active' );\n\t\t\t\t\t\t}\n\t\t\t\t\t} );\n\t\t\t\t}\n\t\t\t\tbreak;\n\t\t\tcase 'price_range':\n\t\t\t\tif ( $dropdown.length ) {\n\t\t\t\t\tif ( ! properties ) {\n\t\t\t\t\t\t$dropdown.find( 'option' ).prop( 'selected', false );\n\t\t\t\t\t} else {\n\t\t\t\t\t\t$dropdown.find( 'option' ).each( function () {\n\t\t\t\t\t\t\tconst $option = $( this ),\n\t\t\t\t\t\t\t\tformattedRange =\n\t\t\t\t\t\t\t\t\tproperties.min_price +\n\t\t\t\t\t\t\t\t\t( properties.max_price\n\t\t\t\t\t\t\t\t\t\t? `-${ properties.max_price }`\n\t\t\t\t\t\t\t\t\t\t: '' );\n\n\t\t\t\t\t\t\tif ( $option.val() === formattedRange ) {\n\t\t\t\t\t\t\t\t$option.prop( 'selected', false );\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t} );\n\t\t\t\t\t}\n\n\t\t\t\t\t$dropdown.change();\n\t\t\t\t} else if ( ! properties ) {\n\t\t\t\t\t$activeItems.children( 'label' ).children( 'a' ).click();\n\t\t\t\t\t$activeItems.removeClass( 'active' );\n\t\t\t\t} else {\n\t\t\t\t\t$activeItems.each( function () {\n\t\t\t\t\t\tlet $item = $( this ),\n\t\t\t\t\t\t\t$label = $item.children( 'label' ),\n\t\t\t\t\t\t\t$anchor = $item.children( 'a' ),\n\t\t\t\t\t\t\tformattedRange,\n\t\t\t\t\t\t\tvalue;\n\n\t\t\t\t\t\tvalue = $label.length\n\t\t\t\t\t\t\t? $label.find( ':input' ).val()\n\t\t\t\t\t\t\t: $anchor.data( 'min_price' ) +\n\t\t\t\t\t\t\t ( $anchor.data( 'max_price' )\n\t\t\t\t\t\t\t\t\t? '-' + $anchor.data( 'max_price' )\n\t\t\t\t\t\t\t\t\t: '' );\n\n\t\t\t\t\t\tif ( properties.min_price ) {\n\t\t\t\t\t\t\tformattedRange =\n\t\t\t\t\t\t\t\tproperties.min_price +\n\t\t\t\t\t\t\t\t( properties.max_price\n\t\t\t\t\t\t\t\t\t? '-' + properties.max_price\n\t\t\t\t\t\t\t\t\t: '' );\n\t\t\t\t\t\t} else if ( properties.price_ranges ) {\n\t\t\t\t\t\t\tformattedRange = properties.price_ranges;\n\t\t\t\t\t\t}\n\n\t\t\t\t\t\tif ( value === formattedRange ) {\n\t\t\t\t\t\t\t$item.children( 'label' ).children( 'a' ).click();\n\t\t\t\t\t\t\t$item.removeClass( 'active' );\n\t\t\t\t\t\t}\n\t\t\t\t\t} );\n\t\t\t\t}\n\t\t\t\tbreak;\n\t\t\tcase 'price_slider':\n\t\t\t\tconst $priceSlider = $filter.find( '.price-slider' );\n\n\t\t\t\t$filter\n\t\t\t\t\t.find( '.price-slider-min' )\n\t\t\t\t\t.val( $priceSlider.data( 'min' ) );\n\t\t\t\t$filter\n\t\t\t\t\t.find( '.price-slider-max' )\n\t\t\t\t\t.val( $priceSlider.data( 'max' ) )\n\t\t\t\t\t.change();\n\t\t\t\tbreak;\n\t\t\tcase 'orderby':\n\t\t\t\t$filter.find( 'select' ).val( 'menu_order' );\n\t\t\t\tbreak;\n\t\t\tcase 'stock_sale':\n\t\t\t\tif ( ! properties ) {\n\t\t\t\t\t$filter\n\t\t\t\t\t\t.find( '.filter-in-stock' )\n\t\t\t\t\t\t.find( ':input' )\n\t\t\t\t\t\t.prop( 'checked', false )\n\t\t\t\t\t\t.change();\n\t\t\t\t\t$filter\n\t\t\t\t\t\t.find( '.filter-on-sale' )\n\t\t\t\t\t\t.find( ':input' )\n\t\t\t\t\t\t.prop( 'checked', false )\n\t\t\t\t\t\t.change();\n\t\t\t\t\t$filter\n\t\t\t\t\t\t.find( '.filter-featured' )\n\t\t\t\t\t\t.find( ':input' )\n\t\t\t\t\t\t.prop( 'checked', false )\n\t\t\t\t\t\t.change();\n\n\t\t\t\t\t$items.removeClass( 'active' );\n\t\t\t\t} else {\n\t\t\t\t\tif ( properties?.instock_filter ) {\n\t\t\t\t\t\t$filter\n\t\t\t\t\t\t\t.find( '.filter-in-stock' )\n\t\t\t\t\t\t\t.find( ':input' )\n\t\t\t\t\t\t\t.prop( 'checked', false )\n\t\t\t\t\t\t\t.change()\n\t\t\t\t\t\t\t.closest( '.filter-item' )\n\t\t\t\t\t\t\t.removeClass( 'active' );\n\t\t\t\t\t}\n\n\t\t\t\t\tif ( properties?.onsale_filter ) {\n\t\t\t\t\t\t$filter\n\t\t\t\t\t\t\t.find( '.filter-on-sale' )\n\t\t\t\t\t\t\t.find( ':input' )\n\t\t\t\t\t\t\t.prop( 'checked', false )\n\t\t\t\t\t\t\t.change()\n\t\t\t\t\t\t\t.closest( '.filter-item' )\n\t\t\t\t\t\t\t.removeClass( 'active' );\n\t\t\t\t\t}\n\n\t\t\t\t\tif ( properties?.featured_filter ) {\n\t\t\t\t\t\t$filter\n\t\t\t\t\t\t\t.find( '.filter-featured' )\n\t\t\t\t\t\t\t.find( ':input' )\n\t\t\t\t\t\t\t.prop( 'checked', false )\n\t\t\t\t\t\t\t.change()\n\t\t\t\t\t\t\t.closest( '.filter-item' )\n\t\t\t\t\t\t\t.removeClass( 'active' );\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\tbreak;\n\t\t\tdefault:\n\t\t\t\t$items.removeClass( 'active' );\n\t\t\t\tbreak;\n\t\t}\n\n\t\tthis.activeFilters = false;\n\n\t\tif ( doFilter ) {\n\t\t\tthis.filter();\n\t\t}\n\t}\n\n\t// deactivate all filters\n\tdeactivateAllFilters( doFilter ) {\n\t\tconst self = this,\n\t\t\t$filters = this.getFilters();\n\n\t\t$filters.each( function () {\n\t\t\tconst $filter = $( this );\n\n\t\t\tself.deactivateFilter( $filter );\n\t\t} );\n\n\t\tthis.activeFilters = false;\n\n\t\tif ( doFilter ) {\n\t\t\tthis.filter();\n\t\t}\n\n\t\treturn true;\n\t}\n\n\t// deactivate filters that matches a specific set of properties\n\tdeactivateFilterByProperties( properties, doFilter ) {\n\t\tconst self = this,\n\t\t\t$filters = this.getFiltersByProperties( properties );\n\n\t\tif ( ! $filters.length ) {\n\t\t\treturn false;\n\t\t}\n\n\t\t$filters.each( function () {\n\t\t\tconst $filter = $( this );\n\n\t\t\tself.deactivateFilter( $filter, properties, doFilter );\n\t\t} );\n\n\t\treturn true;\n\t}\n\n\t// open filters as a modal, when in mobile layout\n\topenModal() {\n\t\tif ( ! this.isMobile ) {\n\t\t\treturn;\n\t\t}\n\n\t\tif ( yith_wcan_shortcodes.toggles_open_on_modal ) {\n\t\t\tthis._openAllCollapsables();\n\t\t} else {\n\t\t\tthis._closeAllCollapsables();\n\t\t}\n\n\t\t$( 'body' )\n\t\t\t.css( 'overflow', 'hidden' )\n\t\t\t.addClass( 'yith-wcan-preset-modal-open' );\n\n\t\tthis.$preset.show();\n\n\t\tsetTimeout( () => {\n\t\t\tthis.$preset.addClass( 'open' );\n\t\t}, 100 );\n\t}\n\n\t// close filters modal, when in mobile layout\n\tcloseModal() {\n\t\tif ( ! this.isMobile ) {\n\t\t\treturn;\n\t\t}\n\n\t\tthis.$preset.removeClass( 'open' );\n\n\t\tsetTimeout( () => {\n\t\t\tthis.$preset.hide();\n\t\t\t$( 'body' )\n\t\t\t\t.css( 'overflow', 'auto' )\n\t\t\t\t.removeClass( 'yith-wcan-preset-modal-open' );\n\t\t}, 300 );\n\t}\n\n\t// utility that formats the price according to store configuration.\n\tformatPrice( price ) {\n\t\tif ( 'undefined' !== typeof accounting ) {\n\t\t\tprice = accounting.formatMoney( price, {\n\t\t\t\tsymbol: yith_wcan_shortcodes.currency_format?.symbol,\n\t\t\t\tdecimal: yith_wcan_shortcodes.currency_format?.decimal,\n\t\t\t\tthousand: yith_wcan_shortcodes.currency_format?.thousand,\n\t\t\t\tprecision: 0,\n\t\t\t\tformat: yith_wcan_shortcodes.currency_format?.format,\n\t\t\t} );\n\t\t}\n\n\t\treturn price;\n\t}\n\n\t// utility that merges together sets of filter properties\n\tmergeProperties( set1, set2, $filter ) {\n\t\t// search for common properties\n\t\tfor ( const prop in set2 ) {\n\t\t\tif ( ! set2.hasOwnProperty( prop ) ) {\n\t\t\t\tcontinue;\n\t\t\t}\n\n\t\t\tif ( !! set1[ prop ] ) {\n\t\t\t\tswitch ( prop ) {\n\t\t\t\t\tcase 'rating_filter':\n\t\t\t\t\tcase 'min_price':\n\t\t\t\t\tcase 'max_price':\n\t\t\t\t\tcase 'onsale_filter':\n\t\t\t\t\tcase 'instock_filter':\n\t\t\t\t\tcase 'orderby':\n\t\t\t\t\t\t// just override default value\n\t\t\t\t\t\tset1[ prop ] = set2[ prop ];\n\t\t\t\t\t\tbreak;\n\t\t\t\t\tdefault:\n\t\t\t\t\t\tif ( 0 === prop.indexOf( 'query_type_' ) ) {\n\t\t\t\t\t\t\t// query_type param\n\t\t\t\t\t\t\tset1[ prop ] = set2[ prop ];\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t// we're dealing with taxonomy\n\t\t\t\t\t\t\tconst isAttr = 0 === prop.indexOf( 'filter_' ),\n\t\t\t\t\t\t\t\tglue = isAttr ? ',' : '+';\n\n\t\t\t\t\t\t\tlet newValue =\n\t\t\t\t\t\t\t\tset1[ prop ].replace( ',', glue ) +\n\t\t\t\t\t\t\t\tglue +\n\t\t\t\t\t\t\t\tset2[ prop ].replace( ',', glue );\n\n\t\t\t\t\t\t\tnewValue = newValue\n\t\t\t\t\t\t\t\t.split( glue )\n\t\t\t\t\t\t\t\t.filter(\n\t\t\t\t\t\t\t\t\t( value, index, arr ) =>\n\t\t\t\t\t\t\t\t\t\tarr.indexOf( value ) === index\n\t\t\t\t\t\t\t\t)\n\t\t\t\t\t\t\t\t.join( glue );\n\n\t\t\t\t\t\t\tset1[ prop ] = newValue;\n\n\t\t\t\t\t\t\tif ( isAttr ) {\n\t\t\t\t\t\t\t\tconst queryTypeParam = prop.replace(\n\t\t\t\t\t\t\t\t\t'filter_',\n\t\t\t\t\t\t\t\t\t'query_type_'\n\t\t\t\t\t\t\t\t);\n\n\t\t\t\t\t\t\t\tset1[ queryTypeParam ] = 'and';\n\t\t\t\t\t\t\t\tset2[ queryTypeParam ] = 'and';\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t}\n\n\t\t\t\tdelete set2[ prop ];\n\t\t\t}\n\t\t}\n\n\t\t$.extend( set1, set2 );\n\n\t\treturn set1;\n\t}\n}\n","'use strict';\n\n/* global globalThis, jQuery, yith_wcan_shortcodes, accounting */\n\nimport YITH_WCAN_Filter from './modules/yith-wcan-filter';\nimport YITH_WCAN_Reset_Button from './modules/yith-wcan-reset-button';\nimport YITH_WCAN_Preset from './modules/yith-wcan-preset';\n\njQuery( function ( $ ) {\n\t$( document )\n\t\t.on(\n\t\t\t'yith_wcan_init_shortcodes yith_plugin_fw_gutenberg_success_do_shortcode',\n\t\t\tfunction () {\n\t\t\t\t$( '.yith-wcan-filters' )\n\t\t\t\t\t.not( '.enhanced' )\n\t\t\t\t\t.each( function () {\n\t\t\t\t\t\tnew YITH_WCAN_Preset( $( this ) );\n\t\t\t\t\t} );\n\n\t\t\t\t$( '.yith-wcan-reset-filters' )\n\t\t\t\t\t.not( '.enhanced' )\n\t\t\t\t\t.each( function () {\n\t\t\t\t\t\tnew YITH_WCAN_Reset_Button( $( this ) );\n\t\t\t\t\t} );\n\t\t\t}\n\t\t)\n\t\t.trigger( 'yith_wcan_init_shortcodes' );\n\n\tglobalThis.product_filter = new YITH_WCAN_Filter();\n} );\n"],"sourceRoot":""}
assets/js/yith-wcan-shortcodes.min.js CHANGED
@@ -1 +1 @@
1
- (()=>{"use strict";var e={d:(t,i)=>{for(var a in i)e.o(i,a)&&!e.o(t,a)&&Object.defineProperty(t,a,{enumerable:!0,get:i[a]})},o:(e,t)=>Object.prototype.hasOwnProperty.call(e,t),r:e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})}},t={};e.r(t),e.d(t,{$:()=>i});var i=jQuery;function a(e){return(a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function n(e,t){for(var i=0;i<t.length;i++){var a=t[i];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}function r(e,t,i){return t in e?Object.defineProperty(e,t,{value:i,enumerable:!0,configurable:!0,writable:!0}):e[t]=i,e}var l=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),r(this,"xhr",null),r(this,"doingAjax",!1),r(this,"originalSearch",location.search),r(this,"initialized",!1),r(this,"filtered",!1),this.initPopState(),this.initialized=!0}var l,s,o;return l=e,(s=[{key:"initPopState",value:function(){this.pushUrlToHistory(window.location,document.title,null,!0),i(window).on("popstate",(function(){var e;null!==(e=window.history.state)&&void 0!==e&&e._yithWcan&&window.location.reload(!0)}))}},{key:"doFilter",value:function(e,t,a){var n,r,l=this,s=i(t||"body");return(r=i(document).triggerHandler("yith_wcan_filters_parameters",[e]))&&(e=r),s&&this.block(s),n=this.buildUrl(e),yith_wcan_shortcodes.ajax_filters?(this.doingAjax=!0,this._doAjax(n).done((function(i){n=l.searchAlternativeUrl(i,n),l._beforeFilter(i,e),l.refreshFragments(t,a,i),l.pushUrlToHistory(n,i.pageTitle,e),l.originalSearch=location.search,s&&l.unblock(s),l._afterFilter(i,e),l.doingAjax=!1}))):(this.pushUrlToHistory(n,document.title,e),void(window.location=n))}},{key:"_beforeFilter",value:function(e,t){i(document).trigger("yith-wcan-ajax-loading",[e,t])}},{key:"_afterFilter",value:function(e,a){i(".woocommerce-ordering").on("change","select.orderby",(function(){i(this).closest("form").submit()})),this.filtered=a&&!!Object.keys(a).length,this.filtered?t.$body.addClass("filtered"):t.$body.removeClass("filtered"),i(window).trigger("scroll"),i(document).trigger("yith-wcan-ajax-filtered",[e,a]).trigger("yith_wcwl_reload_fragments")}},{key:"buildUrl",value:function(e){var t,n=this,r=yith_wcan_shortcodes.query_param,l={},s=window.location,o=yith_wcan_shortcodes.base_url?yith_wcan_shortcodes.base_url:(null==s?void 0:s.origin)+(null==s?void 0:s.pathname),c=this,h="object"===a(e)&&Object.keys(e).length;if(yith_wcan_shortcodes.session_param&&(o=o.replace(new RegExp("/"+yith_wcan_shortcodes.session_param+"/[^/]*/"),"")),h&&(l[r]=1),this.originalSearch){var d=this.originalSearch.replace("?","").split("&").reduce((function(e,t){var i=t.split("=");if(2===i.length){if(n.isFilterParam(i[0]))return e;e[i[0]]=i[1]}return e}),{});l=i.extend(l,d)}return h&&(l=i.extend(l,e)),(t=Object.keys(l).reduce((function(e,t){var i=l[t];return i&&t?e+=c._cleanParam(t)+"="+c._cleanParam(i)+"&":e}),"?").replace(/&$/g,"").replace(/%2B/g,"+").replace(/%2C/g,",")).length>1&&(o+=t),o}},{key:"searchAlternativeUrl",value:function(e){var t,i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",a=i;return-1===e.indexOf("yith_wcan:sharing_url")?a:a=(t=e.match(/<meta name="yith_wcan:sharing_url" content="([^"]*)">/))&&1 in t?t[1]:a}},{key:"pushUrlToHistory",value:function(e,t,i,a){if(yith_wcan_shortcodes.change_browser_url&&!navigator.userAgent.match(/msie/i)){var n="pushState";a&&(n="replaceState"),window.history[n]({_yithWcan:!0,pageTitle:t,filters:i},"",e)}}},{key:"refreshFragments",value:function(e,t,a){var n=document.createElement("html"),r=i(n);if(n.innerHTML=a,e){var l,s=i(t),o=i(e);s.length&&(l=r.find(t)).length&&s.replaceWith(l.first()),o.length&&(l=r.find(e)).length&&o.replaceWith(l.first())}else{var c=i(yith_wcan_shortcodes.content);c.length?c.replaceWith(r.find(yith_wcan_shortcodes.content)):i("body").replaceWith(r.find("body"))}i(document).trigger("yith_wcan_init_shortcodes")}},{key:"_cleanParam",value:function(e){var t,i;return null===(t=yith_wcan_shortcodes)||void 0===t||!t.process_sanitize||null!==(i=yith_wcan_shortcodes)&&void 0!==i&&i.skip_sanitize?e:encodeURIComponent(e)}},{key:"_doAjax",value:function(e,t){return this.xhr&&this.xhr.abort(),t=i.extend({url:e,headers:{"X-YITH-WCAN":1}},t),this.xhr=i.ajax(t),this.xhr}},{key:"block",value:function(e){var t;if(void 0!==i.fn.block){var a="#fff center center no-repeat";null!==(t=yith_wcan_shortcodes)&&void 0!==t&&t.loader&&(a="url('".concat(yith_wcan_shortcodes.loader,"') ").concat(a)),e.block({message:null,overlayCSS:{background:a,opacity:.7}})}}},{key:"unblock",value:function(e){void 0!==i.fn.unblock&&e.unblock()}},{key:"isFilterParam",value:function(e){var t,a=["rating_filter","min_price","max_price","price_ranges","onsale_filter","instock_filter","featured_filter","orderby","product-page",yith_wcan_shortcodes.query_param];return(t=i(document).triggerHandler("yith_wcan_supported_filters_parameters",[a]))&&(a=t),-1!==(a=a.concat(yith_wcan_shortcodes.supported_taxonomies.map((function(e){return e.replace("pa_","filter_")})))).indexOf(e)||-1!==e.indexOf("filter_")||-1!==e.indexOf("query_type_")}}])&&n(l.prototype,s),o&&n(l,o),e}();var s=function e(t){var a,n,r;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),r=null,(n="$reset")in(a=this)?Object.defineProperty(a,n,{value:r,enumerable:!0,configurable:!0,writable:!0}):a[n]=r,this.$reset=t,this.$reset.on("click",(function(e){e.preventDefault(),i(".yith-wcan-filters").each((function(){var e=i(this).data("preset");e.deactivateAllFilters(!0),e.closeModal()}))})),this.$reset.data("reset",this).addClass("enhanced")};function o(e,t){var i="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!i){if(Array.isArray(e)||(i=function(e,t){if(!e)return;if("string"==typeof e)return c(e,t);var i=Object.prototype.toString.call(e).slice(8,-1);"Object"===i&&e.constructor&&(i=e.constructor.name);if("Map"===i||"Set"===i)return Array.from(e);if("Arguments"===i||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(i))return c(e,t)}(e))||t&&e&&"number"==typeof e.length){i&&(e=i);var a=0,n=function(){};return{s:n,n:function(){return a>=e.length?{done:!0}:{done:!1,value:e[a++]}},e:function(e){throw e},f:n}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var r,l=!0,s=!1;return{s:function(){i=i.call(e)},n:function(){var e=i.next();return l=e.done,e},e:function(e){s=!0,r=e},f:function(){try{l||null==i.return||i.return()}finally{if(s)throw r}}}}function c(e,t){(null==t||t>e.length)&&(t=e.length);for(var i=0,a=new Array(t);i<t;i++)a[i]=e[i];return a}function h(e,t){for(var i=0;i<t.length;i++){var a=t[i];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}function d(e,t,i){return t in e?Object.defineProperty(e,t,{value:i,enumerable:!0,configurable:!0,writable:!0}):e[t]=i,e}var u=function(){function e(t,a){if(function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),d(this,"$originalSelect",null),d(this,"$_main",null),d(this,"$_label",null),d(this,"$_dropdown",null),d(this,"$_search",null),d(this,"$_showMore",null),d(this,"$_items",null),d(this,"currentPage",1),d(this,"options",{}),this.$originalSelect=t,this.$originalSelect.is("select")){var n=this.$originalSelect.data("per_page"),r=this.$originalSelect.data("order"),l=this.$originalSelect.data("all-label"),s={showSearch:this.$originalSelect.data("show_search"),paginate:this.$originalSelect.data("paginate"),perPage:n||10,order:r||"ASC",getElements:null,labels:{emptyLabel:l||yith_wcan_shortcodes.labels.empty_option,searchPlaceholder:yith_wcan_shortcodes.labels.search_placeholder,noItemsFound:yith_wcan_shortcodes.labels.no_items,showMore:yith_wcan_shortcodes.labels.show_more}};this.options=i.extend(s,a),this._hideSelect(),this._initTemplate(),this._initActions(),this.$originalSelect.data("dropdown",this).addClass("enhanced")}}var t,a,n;return t=e,(a=[{key:"_hideSelect",value:function(){this.$originalSelect.hide()}},{key:"_initTemplate",value:function(){var e=i("<div/>",{class:"yith-wcan-dropdown closed"}),t=i("<div/>",{class:"dropdown-label",html:this.getLabel()}),a=i("<div>",{class:"dropdown-wrapper"}),n=i("<ul/>",{class:"matching-items filter-items"});a.append(n),e.append(t).append(a),this.options.showSearch&&this._initSearchTemplate(a),this.options.paginate&&this._initShowMoreTemplate(a),this.$originalSelect.after(e),this.$_main=e,this.$_label=t,this.$_dropdown=a,this.$_items=n}},{key:"_initSearchTemplate",value:function(e){var t=i("<div/>",{class:"search-field-container"}),a=i("<input/>",{name:"s",class:"search-field",type:"search",placeholder:this.options.labels.searchPlaceholder});t.append(a).prependTo(e),this.$_search=a}},{key:"_initShowMoreTemplate",value:function(e){var t=i("<a/>",{class:"show-more",text:this.options.labels.showMore.replace("%d",this.options.perPage)});t.on("click",this.loadNextPage.bind(this)).hide(),e.append(t),this.$_showMore=t}},{key:"_initActions",value:function(){var e,t,a=this;null===(e=this.$_main)||void 0===e||e.on("click",(function(e){e.stopPropagation(),a.toggleDropdown()})),this.$_dropdown.on("click",(function(e){e.stopPropagation()})),null===(t=this.$_search)||void 0===t||t.on("keyup search",(function(){a._populateItems()})),this.$_items.on("change",":input",(function(){var e,t=i(this).closest("li"),n=t.data("value");if(t.hasClass("disabled")&&!a.isValueSelected(n))return!1;t.toggleClass("active"),e=t.hasClass("active"),a._changeItemStatus(n,e)})),this.$_items.on("click","li:not(.checkbox) a",(function(e){var t,n=i(this).closest("li"),r=n.data("value");if(e.preventDefault(),n.hasClass("disabled")&&!a.isValueSelected(r))return!1;n.toggleClass("active"),(t=n.hasClass("active"))&&n.siblings().removeClass("active"),a._changeItemStatus(r,t)})),this.$_items.on("click","label > a",(function(e){var t=i(this).parent().find(":input");e.preventDefault(),(t.is('[type="radio"]')||t.is('[type="checkbox"]'))&&t.prop("checked",!t.prop("checked")),t.change()})),this.$originalSelect.on("change",(function(e,t){t||(a.$_items.find("li").each((function(){var e=i(this).data("value");a.isValueSelected(e)?a._selectItem(e):a._deselectItem(e)})),a.updateLabel())})),i(document).on("click",this.closeDropdown.bind(this))}},{key:"openDropdown",value:function(){var e;null===(e=this.$_main)||void 0===e||e.addClass("open").removeClass("closed"),this._afterDropdownOpen()}},{key:"closeDropdown",value:function(){var e;null===(e=this.$_main)||void 0===e||e.removeClass("open").addClass("closed")}},{key:"_closeOtherDropdowns",value:function(){var e=this;i(document).find("select.enhanced").filter((function(t,a){var n=i(a);return!!n.data("dropdown")&&!n.is(e.$originalSelect)})).each((function(){i(this).data("dropdown").closeDropdown()}))}},{key:"toggleDropdown",value:function(){var e,t;null===(e=this.$_main)||void 0===e||e.toggleClass("open").toggleClass("closed"),null!==(t=this.$_main)&&void 0!==t&&t.hasClass("open")&&this._afterDropdownOpen()}},{key:"_afterDropdownOpen",value:function(){var e;this._closeOtherDropdowns(),null!==(e=this.$_search)&&void 0!==e&&e.length&&this.$_search.val(""),this._populateItems()}},{key:"getMatchingElements",value:function(e,t){var a=this,n=[],r=this.getOptions();return new Promise((function(l){r.each((function(){var t=i(this),a=t.val(),r=t.html(),l=new RegExp(".*"+e+".*","i");(!e||l.test(a)||l.test(r))&&n.push({value:a,label:r})})),a.options.getElements?a.options.getElements(e).then((function(e){e&&(e=e.reduce((function(e,t,i){return e.push({label:i,value:t}),e}),[]),n=i.extend(n,e)),l(a._formatItems(n,t))})):l(a._formatItems(n,t))}))}},{key:"_formatItems",value:function(e,t){var i=this,a=[],n=!1;return e.filter((function(e){return-1===a.indexOf(e.value)&&(a.push(e.value),!0)})).sort((function(e,t){var a="ASC"===i.options.order?1:-1;return e.value<t.value?-1*a:e.value>t.value?a:0})),t&&(n=t<Object.keys(e).length,e=e.slice(0,t)),{items:e,hasMore:n}}},{key:"_generateItem",value:function(e,t){var a,n=this.isValueSelected(e),r=this.getOptionByValue(e),l=i("<li/>",{"data-value":e,class:r.length?r.attr("class"):""});if(r.length){var s=r.data("template"),o=r.data("count");t=s||t,o&&(t+=o)}if(a=i("<a/>",{href:r.length?r.data("filter_url"):"#",html:t,"data-title":r.length?r.data("title"):""}),this.$originalSelect.prop("multiple")){var c=i("<input/>",{type:"checkbox",value:e}),h=i("<label>");c.prop("checked",n),h.prepend(c).append(a),l.append(h).addClass("checkbox")}else l.append(a);return n?l.addClass("active"):l.removeClass("active"),l}},{key:"_populateItems",value:function(e){var t,a,n=this,r=null!==(t=this.$_search)&&void 0!==t&&t.length?this.$_search.val():"",l=this.options.paginate?this.options.perPage:0;a=(e=e?parseInt(e):1)*l,this.getMatchingElements(r,a).then((function(t){var a=t.items,r=[],l=!1;if(n._emptyItems(),n._hideLoadMore(),a.length){var s,c=o(a);try{for(c.s();!(s=c.n()).done;){var h=s.value;""===h.value?r.unshift(n._generateItem(h.value,h.label)):r.push(n._generateItem(h.value,h.label))}}catch(e){c.e(e)}finally{c.f()}n.currentPage=e,l=t.hasMore}else r.push(i("<li/>",{text:n.options.labels.noItemsFound})),n.currentPage=1;n.$_items.append(r),i(document).trigger("yith_wcan_dropdown_updated"),l&&n._showLoadMore()}))}},{key:"loadNextPage",value:function(){var e=this.currentPage+1;this._populateItems(e)}},{key:"_selectItem",value:function(e){return this._changeItemStatus(e,!0)}},{key:"_deselectItem",value:function(e){return this._changeItemStatus(e,!1)}},{key:"_changeItemStatus",value:function(e,t){var i=this.$originalSelect.find('option[value="'.concat(e,'"]'));return!!i.length&&(i.prop("selected",t),this.closeDropdown(),this.updateLabel(),this.$originalSelect.trigger("change",[!0]),!0)}},{key:"_emptyItems",value:function(){this.$_items.html("")}},{key:"_showLoadMore",value:function(){this.$_showMore.show()}},{key:"_hideLoadMore",value:function(){this.$_showMore.hide()}},{key:"getLabel",value:function(){return this.hasSelectedValues()?this.getSelectedLabels().join(", "):this.options.labels.emptyLabel}},{key:"updateLabel",value:function(){var e,t=this.getLabel();null===(e=this.$_label)||void 0===e||e.html(t)}},{key:"getOptions",value:function(){return this.$originalSelect.find("option")}},{key:"hasSelectedValues",value:function(){return this.getSelectedOptions().length}},{key:"isValueSelected",value:function(e){return-1!==this.getSelectedValues().indexOf(e.toString())}},{key:"getSelectedOptions",value:function(){return this.$originalSelect.find("option").filter(":selected")}},{key:"getOptionByValue",value:function(e){return this.$originalSelect.find('option[value="'.concat(e,'"]'))}},{key:"getSelectedLabels",value:function(){var e=[];return this.getSelectedOptions().each((function(){var t=i(this),a=t.data("template");a=a||t.html().replace(/\([0-9]*\)/,""),e.push(a)})),e}},{key:"getSelectedValues",value:function(){var e=[];return this.getSelectedOptions().each((function(){e.push(i(this).val())})),e}},{key:"destroy",value:function(){}}])&&h(t.prototype,a),n&&h(t,n),e}();function f(e){return(f="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function p(e,t){for(var i=0;i<t.length;i++){var a=t[i];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}function v(e,t,i){return t in e?Object.defineProperty(e,t,{value:i,enumerable:!0,configurable:!0,writable:!0}):e[t]=i,e}var _=function(){function e(t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),v(this,"preset",!1),v(this,"$preset",!1),v(this,"target",!1),v(this,"$target",!1),v(this,"$filters",!1),v(this,"$filterButtons",!1),v(this,"modalElements",{}),v(this,"activeFilters",!1),v(this,"isMobile",!1),v(this,"sliderTimeout",!1),v(this,"originalFilters",null),v(this,"dirty",!1),this.preset="#"+t.attr("id"),this.$preset=t,this.target=this.$preset.data("target"),this.$target=!!this.target&&i(this.target),this._regiterStatus(),this._initFilterButton(),this._initResponsive(),this._initFilters(),this._initActions(),this.$preset.data("preset",this).addClass("enhanced").trigger("yith_wcan_preset_initialized",[this])}var t,a,n;return t=e,(a=[{key:"_initFilters",value:function(){var e=this;this.getFilters().each((function(){var t=i(this);e._initFilter(t)})),this.maybeShowClearAllFilters()}},{key:"_initFilterButton",value:function(){var e=this;this.$filterButtons=this.$preset.find(".apply-filters"),this.$filterButtons.length&&this.$filterButtons.on("click",(function(t){t.preventDefault(),e.filter()})).hide()}},{key:"_initActions",value:function(){this.$preset.find("form").on("submit",(function(e){e.preventDefault()}))}},{key:"_initResponsive",value:function(){var e=this;if(yith_wcan_shortcodes.modal_on_mobile){var t=window.matchMedia("(max-width: ".concat(yith_wcan_shortcodes.mobile_media_query,"px)"));i(window).on("resize",(function(){var i=!!t.matches;i!==e.isMobile&&(e.isMobile=i,e._afterLayoutChange())})).resize()}}},{key:"_initFilter",value:function(e){var t,a=this,n=function(t){var n=i(this),r=n.closest(".yith-wcan-filter"),l=!!r.length&&"yes"===r.data("multiple"),s=n.closest(".filter-item"),o=s.length?r.find(".filter-item").not(s):[];if(s.is(".disabled")&&!s.is(".active"))return t.preventDefault(),!1;t.preventDefault(),o.length&&!l&&o.removeClass("active").children("label").find(":input").prop("checked",!1).parent(".checked").removeClass("checked"),s.length&&s.toggleClass("active"),a.activeFilters=!1,a.maybeFilter(e),a.maybeToggleClearAllFilters(),a.maybeToggleClearFilter(r)};e.find(".filter-item").not(".checkbox").not(".radio").on("click","a",(function(e){var t=i(this).closest(".filter-item");if(!i(null==e?void 0:e.delegateTarget).is(t))return!1;n.call(this,e)})),e.find(":input").on("change",(function(e){var t=i(this),a=t.closest(".filter-item");if(a.is(".disabled")&&!a.is(".active"))return t.prop("checked",!1),!1;n.call(this,e)})),e.find("label > a").on("click",(function(e){var t=i(this),a=t.closest(".filter-item");if(e.preventDefault(),a.is(".disabled")&&!a.is(".active"))return!1;var n=t.parent().find(":input");(n.is('[type="radio"]')||n.is('[type="checkbox"]'))&&n.prop("checked",!n.prop("checked")),n.change()})),this._initTooltip(e),this._initPriceSlider(e),this._initDropdown(e),this._initCollapsable(e),this.maybeShowClearFilter(e),null!==(t=this.$preset)&&void 0!==t&&t.hasClass("custom-style")&&(this._initCustomInput(e),e.on("yith_wcan_dropdown_updated",(function(){var e=i(this).closest(".yith-wcan-filter");a._initCustomInput(e)})))}},{key:"_initTooltip",value:function(e,t){e.find("[data-title]").each((function(){var e=i(this);!e.hasClass("tooltip-added")&&e.data("title")&&(e.on("mouseenter",(function(){var e,a=i(this),n=null,r=a.outerWidth(),l=0;if(!t||"top"!==t&&"right"!==t){var s=a.closest(".filter-item");t=s.hasClass("color")||s.hasClass("label")?"top":"right"}n=i("<span>",{class:"yith-wcan-tooltip",html:a.data("title")}),a.append(n),e=n.outerWidth()+6,n.outerWidth(e),l="top"===t?(r-e)/2:r+15,n.css({left:l.toFixed(0)+"px"}).fadeIn(200),a.addClass("with-tooltip")})).on("mouseleave",(function(){var e=i(this);e.find(".yith-wcan-tooltip").fadeOut(200,(function(){e.removeClass("with-tooltip").find(".yith-wcan-tooltip").remove()}))})),e.addClass("tooltip-added"))}))}},{key:"_initDropdown",value:function(e){var t=e.find("select.filter-dropdown");t.length&&(t.hasClass("select2-hidden-accessible")&&void 0!==i.fn.selectWoo&&t.selectWoo("destroy"),this._initDropdownObject(t,{paginate:!0,perPage:yith_wcan_shortcodes.terms_per_page}))}},{key:"_initDropdownObject",value:function(e,t){return new u(e,t)}},{key:"_initPriceSlider",value:function(e){var t=this;if(e.hasClass("filter-price-slider")){var i=this,a=e.find(".price-slider"),n=a.find(".price-slider-min"),r=a.find(".price-slider-max"),l=parseFloat(a.data("min")),s=parseFloat(a.data("max")),o=parseFloat(n.val()),c=parseFloat(r.val()),h=parseFloat(a.data("step")),d=function(){i.sliderTimeout&&clearTimeout(i.sliderTimeout),i.sliderTimeout=setTimeout((function(){i.maybeFilter(e)}),200)};e.find(".price-slider-ui").ionRangeSlider({skin:"round",type:"double",min:l,max:s,step:h,from:o,to:c,min_interval:h,values_separator:" - ",prettify:function(e){return t.formatPrice(e)},onChange:function(e){n.val(e.from),r.val(e.to)},onFinish:d}),n.add(r).off("change").on("keyup",(function(){n.val()&&r.val()&&d()}))}}},{key:"_initCollapsable",value:function(e){this._initTitleCollapsable(e),this._initHierarchyCollapsable(e)}},{key:"_initTitleCollapsable",value:function(e){var t=e.find(".collapsable");t.length&&this._initToggle(t,t,e.find(".filter-content"))}},{key:"_initHierarchyCollapsable",value:function(e){var t=e.find(".hierarchy-collapsable");if(t.length){var a=this,n=e.find(".active");n.length&&(n.parents(".hierarchy-collapsable").removeClass("closed").addClass("opened"),n.hasClass("hierarchy-collapsable")&&yith_wcan_shortcodes.show_current_children&&n.removeClass("closed").addClass("opened")),t.each((function(){var e=i(this),t=i("<span/>",{class:"toggle-handle"});t.appendTo(e),a._initToggle(t,e,e.children("ul.filter-items"))}))}}},{key:"_initToggle",value:function(e,t,i){t.hasClass("closed")&&i.hide(),e.off("click").on("click",(function(e){e.stopPropagation(),e.preventDefault(),i.slideToggle(400,(function(){t.toggleClass("opened").toggleClass("closed")}))}))}},{key:"_initCustomInput",value:function(e){e.find(":input").each((function(){var e,t=i(this),a=t.attr("type"),n="".concat(a,"button");"checkbox"!==a&&"radio"!==a||t.closest(".".concat(n)).length||(t.is(":checked")&&(n+=" checked"),e=i("<span/>",{class:n}),t.wrap(e).on("change",(function(){var e=i(this);e.prop("checked")?e.parent().addClass("checked"):e.parent().removeClass("checked")})))}))}},{key:"_regiterStatus",value:function(){this.originalFilters=this.getFiltersProperties()}},{key:"_afterLayoutChange",value:function(){var e,t;this.isMobile?(this.$preset.addClass("filters-modal").attr("role","dialog").attr("tabindex","-1").hide(),this._addCloseModalButton(),this._addApplyFiltersModalButton(),this._switchToCollapsables(),null===(e=this.$filterButtons)||void 0===e||e.hide()):(this.$preset.removeClass("filters-modal").removeClass("open").removeAttr("role").removeAttr("tabindex").show(),i("body").css("overflow","auto").removeClass("yith-wcan-preset-modal-open"),this._removeCloseModalButton(),this._removeApplyFiltersModalButton(),this._switchBackCollapsables(),null===(t=this.$filterButtons)||void 0===t||t.show())}},{key:"_addCloseModalButton",value:function(){var e=i("<a/>",{class:"close-button",html:"&times;","data-dismiss":"modal","aria-label":yith_wcan_shortcodes.labels.close});e.prependTo(this.$preset).on("click",this.closeModal.bind(this)),this.modalElements.closeButton=e}},{key:"_removeCloseModalButton",value:function(){var e,t;null===(e=this.modalElements)||void 0===e||null===(t=e.closeButton)||void 0===t||t.remove()}},{key:"_addApplyFiltersModalButton",value:function(){var e=this,t=i("<button/>",{class:"apply-filters main-modal-button",html:yith_wcan_shortcodes.labels.show_results,"data-dismiss":"modal"});t.appendTo(this.$preset).on("click",(function(){e.filter(),e.closeModal()})),this.modalElements.applyFiltersButton=t}},{key:"_removeApplyFiltersModalButton",value:function(){var e,t;null===(e=this.modalElements)||void 0===e||null===(t=e.applyFiltersButton)||void 0===t||t.remove()}},{key:"_switchToCollapsables",value:function(){var e=this;this.getFilters().each((function(){var t=i(this),a=t.find(".filter-title");a.length&&!a.hasClass("collapsable")&&(a.addClass("collapsable").data("disable-collapse",!0),e._initTitleCollapsable(t))}))}},{key:"_switchBackCollapsables",value:function(){this.getFilters().each((function(){var e=i(this),t=e.find(".filter-title");t.length&&t.hasClass("collapsable")&&t.data("disable-collapse")&&(t.removeClass("collapsable").removeData("disable-collapse",!0).off("click"),e.find(".filter-content").show())}))}},{key:"_openAllCollapsables",value:function(){var e=this;this.$filters.not(".no-title").not((function(t,a){return e.isFilterActive(i(a))})).find(".filter-content").show().end().find(".filter-title").removeClass("closed").addClass("opened")}},{key:"_closeAllCollapsables",value:function(){var e=this;this.$filters.not(".no-title").not((function(t,a){return e.isFilterActive(i(a))})).find(".filter-content").hide().end().find(".filter-title").addClass("closed").removeClass("opened")}},{key:"maybeRegisterStatusChange",value:function(){var e=this.getFiltersProperties(),t=JSON.stringify(e),i=JSON.stringify(this.originalFilters);this.dirty=t!==i}},{key:"maybeFilter",value:function(e){if(this.maybeRegisterStatusChange(),yith_wcan_shortcodes.instant_filters&&!this.isMobile)this.filter();else if(yith_wcan_shortcodes.instant_filters||this.isMobile){if(this.isMobile&&this.dirty){var t;this.$preset.addClass("with-filter-button"),null===(t=this.modalElements.applyFiltersButton)||void 0===t||t.show()}}else{var i,a;this.dirty?null===(i=this.$filterButtons)||void 0===i||i.show():null===(a=this.$filterButtons)||void 0===a||a.hide()}}},{key:"filter",value:function(){var e,t,a,n=this,r=null===(e=window)||void 0===e?void 0:e.product_filter;null==r||null===(t=r.doFilter(this.getFiltersProperties(),this.target,this.preset))||void 0===t||t.done((function(){var e=i(n.preset);if(e.length&&yith_wcan_shortcodes.scroll_top){var t=e.offset().top;if(yith_wcan_shortcodes.scroll_target){var a=i(yith_wcan_shortcodes.scroll_target);t=a.length?a.offset().top:t}else n.isMobile&&(t=100);i("body, html").animate({scrollTop:t-100})}n.originalFilters=n.getFiltersProperties(),n.dirty=!1})),this.isMobile&&(this.$preset.removeClass("with-filter-button"),null===(a=this.modalElements.applyFiltersButton)||void 0===a||a.hide(),this.closeModal())}},{key:"getFilters",value:function(){return!1===this.$filters&&(this.$filters=this.$preset.find(".yith-wcan-filter")),this.$filters}},{key:"getActiveFilters",value:function(){return!1===this.activeFilters&&(this.activeFilters=this.getFiltersProperties()),this.activeFilters}},{key:"isAnyFilterActive",value:function(){return!!Object.keys(this.getActiveFilters()).length}},{key:"isFilterActive",value:function(e){var t,i;switch(e.data("filter-type")){case"tax":case"review":case"price_range":var a=e.find(".filter-dropdown");if(a.length){var n=a.val();t="object"===f(n)?!(null==n||!n.length):!!n;break}case"stock_sale":t=e.find(".filter-item").filter(".active").length;break;case"price_slider":var r=parseFloat(e.find(".price-slider").data("step")),l=parseFloat(e.find(".price-slider").data("min")),s=parseFloat(e.find(".price-slider").data("max")),o=parseFloat(e.find(".price-slider-min").val()),c=parseFloat(e.find(".price-slider-max").val());t=Math.abs(o-l)>=r||Math.abs(c-s)>=r;break;case"orderby":t="menu_order"!==e.find(".filter-order-by").val();break;default:t=!1}return t=void 0!==(i=e.triggerHandler("yith_wcan_is_filter_active",[t,this]))?i:t}},{key:"countActiveItems",value:function(e){var t;switch(e.data("filter-type")){case"tax":case"review":case"price_range":var i=e.find(".filter-dropdown");if(i.length){var a=i.val();t="object"===f(a)?null==a?void 0:a.length:+!!a;break}case"stock_sale":t=e.find(".filter-items").find(".active").length;break;case"orderby":this.isFilterActive(e)&&(t=1);break;case"price_slider":default:t=0}return t}},{key:"getFilterProperties",value:function(e){var t,a,n=e.data("filter-type"),r="yes"===e.data("multiple"),l=e.find(".filter-dropdown"),s={};switch(n){case"tax":var o=[],c=e.data("taxonomy"),h=0===c.indexOf("filter"),d=e.data("relation");if(l.length?r?o=l.val():o.push(l.val()):o=(a=e.find(".filter-item").filter(".active").children("a, label")).get().reduce((function(e,t){var a;return(a=(t=i(t)).is("label")?t.find(":input").val():t.data("term-slug"))?(e.push(a),e):e}),o),r){var u=h||"and"!==d?",":"+";s[c]=o.join(u)}else s[c]=o.pop();h&&(s[c.replace("filter_","query_type_")]=d);break;case"review":l.length?s.rating_filter=l.val():(a=e.find(".filter-item").filter(".active").children("a, label"),r?s.rating_filter=a.get().reduce((function(e,t){var a;return(a=(t=i(t)).is("label")?t.find(":input").val():t.data("rating"))?(e.push(a),e):e}),[]).join(","):(a=a.first(),s.rating_filter=a.is("label")?a.find(":input").val():a.data("rating")));break;case"price_range":l.length?r?s.price_ranges=l.val().join(","):(s.min_price=l.val().split("-")[0],s.max_price=l.val().split("-")[1]):(a=e.find(".filter-item").filter(".active").children("a, label"),r?s.price_ranges=a.get().reduce((function(e,t){var a=i(t).data("range-min"),n=i(t).data("range-max");return e+=(n?"".concat(a,"-").concat(n):a)+","}),"").replace(/^(.*),$/,"$1"):(s.min_price=parseFloat(a.first().data("range-min")),s.max_price=parseFloat(a.first().data("range-max"))));break;case"price_slider":s.min_price=parseFloat(e.find(".price-slider-min").val()),s.max_price=parseFloat(e.find(".price-slider-max").val());break;case"stock_sale":e.find(".filter-on-sale").is(".active")&&(s.onsale_filter=1),e.find(".filter-in-stock").is(".active")&&(s.instock_filter=1),e.find(".filter-featured").is(".active")&&(s.featured_filter=1);break;case"orderby":s.orderby=e.find(".filter-order-by").val()}return s=void 0!==(t=e.triggerHandler("yith_wcan_filter_properties",[s,self]))?t:s}},{key:"getFiltersProperties",value:function(){var e={},t=this;return this.getFilters().each((function(){var a=i(this);if(t.isFilterActive(a)){var n=t.getFilterProperties(a);e=t.mergeProperties(e,n,a)}})),e}},{key:"getFiltersByProperties",value:function(e){var t=this;return this.getFilters().filter((function(){var a=i(this);if(t.isFilterActive(a)){var n=t.getFilterProperties(a),r=!1;for(var l in e){if(["min_price","max_price","price_ranges"].includes(l)&&(n.min_price||n.price_ranges)){r=!0;break}if(n[l]){r=!0;break}}return r}return!1}))}},{key:"maybeToggleClearFilter",value:function(e){this.isFilterActive(e)?this.maybeShowClearFilter(e):this.maybeHideClearFilter(e)}},{key:"maybeToggleClearAllFilters",value:function(){this.isAnyFilterActive()?this.maybeShowClearAllFilters():this.maybeHideClearAllFilters()}},{key:"maybeShowClearFilter",value:function(e){var t=this;this.isFilterActive(e)&&yith_wcan_shortcodes.show_clear_filter&&(e.find(".clear-selection").remove(),i("<a/>",{class:"clear-selection",text:yith_wcan_shortcodes.labels.clear_selection,role:"button"}).prependTo(e.find(".filter-content")).on("click",(function(i){i.preventDefault(),t.deactivateFilter(e,!1,yith_wcan_shortcodes.instant_filters),t.maybeHideClearFilter(e),yith_wcan_shortcodes.instant_filters&&t.closeModal()})))}},{key:"maybeShowClearAllFilters",value:function(){var e=this;this.isAnyFilterActive()&&this.isMobile&&(this.$preset.find(".clear-selection").remove(),i("<a/>",{class:"clear-selection",text:yith_wcan_shortcodes.labels.clear_all_selections,role:"button"}).prependTo(this.$preset.find(".filters-container")).on("click",(function(t){t.preventDefault(),e.deactivateAllFilters(yith_wcan_shortcodes.instant_filters),e.maybeHideClearAllFilters(),yith_wcan_shortcodes.instant_filters&&e.closeModal()})))}},{key:"maybeHideClearFilter",value:function(e){!this.isFilterActive(e)&&yith_wcan_shortcodes.show_clear_filter&&e.find(".clear-selection").remove()}},{key:"maybeHideClearAllFilters",value:function(){this.isAnyFilterActive()||this.$preset.find(".filters-container").children(".clear-selection").remove()}},{key:"deactivateFilter",value:function(e,t,a){var n=e.data("filter-type"),r=e.find(".filter-item"),l=r.filter(".active"),s=e.find(".filter-dropdown");switch(n){case"tax":var o=e.data("taxonomy");s.length?(t?s.find("option").each((function(){var e=i(this);e.val().toString()===t[o].toString()&&e.prop("selected",!1)})):s.find("option").prop("selected",!1),s.change()):t?l.each((function(){var e=i(this),a=e.children("label"),n=e.children("a");(a.length?a.find(":input").val():n.data("term-slug")).toString()===t[o].toString()&&(e.children("label").children("a").click(),e.removeClass("active"))})):(l.children("label").children("a").click(),l.removeClass("active"));break;case"review":s.length?(t?s.find("option").each((function(){var e=i(this);e.val()===t.rating_filter&&e.prop("selected",!1)})):s.find("option").prop("selected",!1),s.change()):t?l.each((function(){var e=i(this),a=e.children("label"),n=e.children("a");(a.length?a.find(":input").val():n.data("rating"))===t.rating_filter&&(e.children("label").children("a").click(),e.removeClass("active"))})):(l.children("label").children("a").click(),l.removeClass("active"));break;case"price_range":s.length?(t?s.find("option").each((function(){var e=i(this),a=t.min_price+(t.max_price?"-".concat(t.max_price):"");e.val()===a&&e.prop("selected",!1)})):s.find("option").prop("selected",!1),s.change()):t?l.each((function(){var e,a,n=i(this),r=n.children("label"),l=n.children("a");a=r.length?r.find(":input").val():l.data("min_price")+(l.data("max_price")?"-"+l.data("max_price"):""),t.min_price?e=t.min_price+(t.max_price?"-"+t.max_price:""):t.price_ranges&&(e=t.price_ranges),a===e&&(n.children("label").children("a").click(),n.removeClass("active"))})):(l.children("label").children("a").click(),l.removeClass("active"));break;case"price_slider":var c=e.find(".price-slider");e.find(".price-slider-min").val(c.data("min")),e.find(".price-slider-max").val(c.data("max")).change();break;case"orderby":e.find("select").val("menu_order");break;case"stock_sale":t?(null!=t&&t.instock_filter&&e.find(".filter-in-stock").find(":input").prop("checked",!1).change().closest(".filter-item").removeClass("active"),null!=t&&t.onsale_filter&&e.find(".filter-on-sale").find(":input").prop("checked",!1).change().closest(".filter-item").removeClass("active"),null!=t&&t.featured_filter&&e.find(".filter-featured").find(":input").prop("checked",!1).change().closest(".filter-item").removeClass("active")):(e.find(".filter-in-stock").find(":input").prop("checked",!1).change(),e.find(".filter-on-sale").find(":input").prop("checked",!1).change(),e.find(".filter-featured").find(":input").prop("checked",!1).change(),r.removeClass("active"));break;default:r.removeClass("active")}this.activeFilters=!1,a&&this.filter()}},{key:"deactivateAllFilters",value:function(e){var t=this;return this.getFilters().each((function(){var e=i(this);t.deactivateFilter(e)})),this.activeFilters=!1,e&&this.filter(),!0}},{key:"deactivateFilterByProperties",value:function(e,t){var a=this,n=this.getFiltersByProperties(e);return!!n.length&&(n.each((function(){var n=i(this);a.deactivateFilter(n,e,t)})),!0)}},{key:"openModal",value:function(){var e=this;this.isMobile&&(yith_wcan_shortcodes.toggles_open_on_modal?this._openAllCollapsables():this._closeAllCollapsables(),i("body").css("overflow","hidden").addClass("yith-wcan-preset-modal-open"),this.$preset.show(),setTimeout((function(){e.$preset.addClass("open")}),100))}},{key:"closeModal",value:function(){var e=this;this.isMobile&&(this.$preset.removeClass("open"),setTimeout((function(){e.$preset.hide(),i("body").css("overflow","auto").removeClass("yith-wcan-preset-modal-open")}),300))}},{key:"formatPrice",value:function(e){var t,i,a,n;return"undefined"!=typeof accounting&&(e=accounting.formatMoney(e,{symbol:null===(t=yith_wcan_shortcodes.currency_format)||void 0===t?void 0:t.symbol,decimal:null===(i=yith_wcan_shortcodes.currency_format)||void 0===i?void 0:i.decimal,thousand:null===(a=yith_wcan_shortcodes.currency_format)||void 0===a?void 0:a.thousand,precision:0,format:null===(n=yith_wcan_shortcodes.currency_format)||void 0===n?void 0:n.format})),e}},{key:"mergeProperties",value:function(e,t,a){for(var n in t)if(t.hasOwnProperty(n)&&e[n]){switch(n){case"rating_filter":case"min_price":case"max_price":case"onsale_filter":case"instock_filter":case"orderby":e[n]=t[n];break;default:if(0===n.indexOf("query_type_"))e[n]=t[n];else{var r=0===n.indexOf("filter_"),l=r?",":"+",s=e[n].replace(",",l)+l+t[n].replace(",",l);if(s=s.split(l).filter((function(e,t,i){return i.indexOf(e)===t})).join(l),e[n]=s,r){var o=n.replace("filter_","query_type_");e[o]="and",t[o]="and"}}}delete t[n]}return i.extend(e,t),e}}])&&p(t.prototype,a),n&&p(t,n),e}();jQuery((function(e){e(document).on("yith_wcan_init_shortcodes yith_plugin_fw_gutenberg_success_do_shortcode",(function(){e(".yith-wcan-filters").not(".enhanced").each((function(){new _(e(this))})),e(".yith-wcan-reset-filters").not(".enhanced").each((function(){new s(e(this))}))})).trigger("yith_wcan_init_shortcodes"),globalThis.product_filter=new l}))})();
1
+ (()=>{"use strict";var e=jQuery,t=e("body");function i(e){return(i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function a(e,t){for(var i=0;i<t.length;i++){var a=t[i];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}function n(e,t,i){return t in e?Object.defineProperty(e,t,{value:i,enumerable:!0,configurable:!0,writable:!0}):e[t]=i,e}var l=function(){function l(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,l),n(this,"xhr",null),n(this,"doingAjax",!1),n(this,"originalSearch",location.search),n(this,"initialized",!1),n(this,"filtered",!1),this.initPopState(),this.initialized=!0}var r,s,o;return r=l,(s=[{key:"initPopState",value:function(){this.pushUrlToHistory(window.location,document.title,null,!0),e(window).on("popstate",(function(){var e;null!==(e=window.history.state)&&void 0!==e&&e._yithWcan&&window.location.reload(!0)}))}},{key:"doFilter",value:function(t,i,a){var n,l,r=this,s=e(i||"body");return(l=e(document).triggerHandler("yith_wcan_filters_parameters",[t]))&&(t=l),s&&this.block(s),n=this.buildUrl(t),yith_wcan_shortcodes.ajax_filters?(this.doingAjax=!0,this._doAjax(n).done((function(e){n=r.searchAlternativeUrl(e,n),r._beforeFilter(e,t),r.refreshFragments(i,a,e),r.pushUrlToHistory(n,e.pageTitle,t),r.originalSearch=location.search,s&&r.unblock(s),r._afterFilter(e,t),r.doingAjax=!1}))):(this.pushUrlToHistory(n,document.title,t),void(window.location=n))}},{key:"_beforeFilter",value:function(t,i){e(document).trigger("yith-wcan-ajax-loading",[t,i])}},{key:"_afterFilter",value:function(i,a){e(".woocommerce-ordering").on("change","select.orderby",(function(){e(this).closest("form").submit()})),this.filtered=a&&!!Object.keys(a).length,this.filtered?t.addClass("filtered"):t.removeClass("filtered"),e(window).trigger("scroll"),e(document).trigger("yith-wcan-ajax-filtered",[i,a]).trigger("yith_wcwl_reload_fragments")}},{key:"buildUrl",value:function(t){var a,n=this,l=yith_wcan_shortcodes.query_param,r={},s=window.location,o=yith_wcan_shortcodes.base_url?yith_wcan_shortcodes.base_url:(null==s?void 0:s.origin)+(null==s?void 0:s.pathname),c=this,h="object"===i(t)&&Object.keys(t).length;if(yith_wcan_shortcodes.session_param&&(o=o.replace(new RegExp("/"+yith_wcan_shortcodes.session_param+"/[^/]*/"),"")),h&&(r[l]=1),this.originalSearch){var d=this.originalSearch.replace("?","").split("&").reduce((function(e,t){var i=t.split("=");if(2===i.length){if(n.isFilterParam(i[0]))return e;e[i[0]]=i[1]}return e}),{});r=e.extend(r,d)}return h&&(r=e.extend(r,t)),(a=Object.keys(r).reduce((function(e,t){var i=r[t];return i&&t?e+=c._cleanParam(t)+"="+c._cleanParam(i)+"&":e}),"?").replace(/&$/g,"").replace(/%2B/g,"+").replace(/%2C/g,",")).length>1&&(o+=a),o}},{key:"searchAlternativeUrl",value:function(e){var t,i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",a=i;return-1===e.indexOf("yith_wcan:sharing_url")?a:a=(t=e.match(/<meta name="yith_wcan:sharing_url" content="([^"]*)">/))&&1 in t?t[1]:a}},{key:"pushUrlToHistory",value:function(e,t,i,a){if(yith_wcan_shortcodes.change_browser_url&&!navigator.userAgent.match(/msie/i)){var n="pushState";a&&(n="replaceState"),window.history[n]({_yithWcan:!0,pageTitle:t,filters:i},"",e)}}},{key:"refreshFragments",value:function(t,i,a){var n=document.createElement("html"),l=e(n);if(n.innerHTML=a,t){var r,s=e(i),o=e(t);s.length&&(r=l.find(i)).length&&s.replaceWith(r.first()),o.length&&(r=l.find(t)).length&&o.replaceWith(r.first())}else{var c=e(yith_wcan_shortcodes.content);c.length?c.replaceWith(l.find(yith_wcan_shortcodes.content)):e("body").replaceWith(l.find("body"))}e(document).trigger("yith_wcan_init_shortcodes")}},{key:"_cleanParam",value:function(e){var t,i;return null===(t=yith_wcan_shortcodes)||void 0===t||!t.process_sanitize||null!==(i=yith_wcan_shortcodes)&&void 0!==i&&i.skip_sanitize?e:encodeURIComponent(e)}},{key:"_doAjax",value:function(t,i){return this.xhr&&this.xhr.abort(),i=e.extend({url:t,headers:{"X-YITH-WCAN":1}},i),this.xhr=e.ajax(i),this.xhr}},{key:"block",value:function(t){var i;if(void 0!==e.fn.block){var a="#fff center center no-repeat";null!==(i=yith_wcan_shortcodes)&&void 0!==i&&i.loader&&(a="url('".concat(yith_wcan_shortcodes.loader,"') ").concat(a)),t.block({message:null,overlayCSS:{background:a,opacity:.7}})}}},{key:"unblock",value:function(t){void 0!==e.fn.unblock&&t.unblock()}},{key:"isFilterParam",value:function(t){var i,a=["rating_filter","min_price","max_price","price_ranges","onsale_filter","instock_filter","featured_filter","orderby","product-page",yith_wcan_shortcodes.query_param];return(i=e(document).triggerHandler("yith_wcan_supported_filters_parameters",[a]))&&(a=i),-1!==(a=a.concat(yith_wcan_shortcodes.supported_taxonomies.map((function(e){return e.replace("pa_","filter_")})))).indexOf(t)||-1!==t.indexOf("filter_")||-1!==t.indexOf("query_type_")}}])&&a(r.prototype,s),o&&a(r,o),l}();var r=function t(i){var a,n,l;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),l=null,(n="$reset")in(a=this)?Object.defineProperty(a,n,{value:l,enumerable:!0,configurable:!0,writable:!0}):a[n]=l,this.$reset=i,this.$reset.on("click",(function(t){t.preventDefault(),e(".yith-wcan-filters").each((function(){var t=e(this).data("preset");t.deactivateAllFilters(!0),t.closeModal()}))})),this.$reset.data("reset",this).addClass("enhanced")};function s(e,t){var i="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!i){if(Array.isArray(e)||(i=function(e,t){if(!e)return;if("string"==typeof e)return o(e,t);var i=Object.prototype.toString.call(e).slice(8,-1);"Object"===i&&e.constructor&&(i=e.constructor.name);if("Map"===i||"Set"===i)return Array.from(e);if("Arguments"===i||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(i))return o(e,t)}(e))||t&&e&&"number"==typeof e.length){i&&(e=i);var a=0,n=function(){};return{s:n,n:function(){return a>=e.length?{done:!0}:{done:!1,value:e[a++]}},e:function(e){throw e},f:n}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var l,r=!0,s=!1;return{s:function(){i=i.call(e)},n:function(){var e=i.next();return r=e.done,e},e:function(e){s=!0,l=e},f:function(){try{r||null==i.return||i.return()}finally{if(s)throw l}}}}function o(e,t){(null==t||t>e.length)&&(t=e.length);for(var i=0,a=new Array(t);i<t;i++)a[i]=e[i];return a}function c(e,t){for(var i=0;i<t.length;i++){var a=t[i];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}function h(e,t,i){return t in e?Object.defineProperty(e,t,{value:i,enumerable:!0,configurable:!0,writable:!0}):e[t]=i,e}var d=function(){function t(i,a){var n,l,r,s;if(function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),h(this,"$originalSelect",null),h(this,"$_main",null),h(this,"$_label",null),h(this,"$_dropdown",null),h(this,"$_search",null),h(this,"$_showMore",null),h(this,"$_items",null),h(this,"currentPage",1),h(this,"options",{}),this.$originalSelect=i,this.$originalSelect.is("select")){var o=this.$originalSelect.data("per_page"),c=this.$originalSelect.data("order"),d=this.$originalSelect.data("all-label"),u={showSearch:this.$originalSelect.data("show_search"),paginate:this.$originalSelect.data("paginate"),perPage:o||10,order:c||"ASC",getElements:null,labels:{emptyLabel:d||(null===(n=yith_wcan_shortcodes.labels)||void 0===n?void 0:n.empty_option),searchPlaceholder:null===(l=yith_wcan_shortcodes.labels)||void 0===l?void 0:l.search_placeholder,noItemsFound:null===(r=yith_wcan_shortcodes.labels)||void 0===r?void 0:r.no_items,showMore:null===(s=yith_wcan_shortcodes.labels)||void 0===s?void 0:s.show_more}};this.options=e.extend(u,a),this._hideSelect(),this._initTemplate(),this._initActions(),this.$originalSelect.data("dropdown",this).addClass("enhanced")}}var i,a,n;return i=t,(a=[{key:"_hideSelect",value:function(){this.$originalSelect.hide()}},{key:"_initTemplate",value:function(){var t=e("<div/>",{class:"yith-wcan-dropdown closed"}),i=e("<div/>",{class:"dropdown-label",html:this.getLabel()}),a=e("<div>",{class:"dropdown-wrapper"}),n=e("<ul/>",{class:"matching-items filter-items"});a.append(n),t.append(i).append(a),this.options.showSearch&&this._initSearchTemplate(a),this.options.paginate&&this._initShowMoreTemplate(a),this.$originalSelect.after(t),this.$_main=t,this.$_label=i,this.$_dropdown=a,this.$_items=n}},{key:"_initSearchTemplate",value:function(t){var i=e("<div/>",{class:"search-field-container"}),a=e("<input/>",{name:"s",class:"search-field",type:"search",placeholder:this.options.labels.searchPlaceholder});i.append(a).prependTo(t),this.$_search=a}},{key:"_initShowMoreTemplate",value:function(t){var i,a=e("<a/>",{class:"show-more",text:null===(i=this.options.labels.showMore)||void 0===i?void 0:i.replace("%d",this.options.perPage)});a.on("click",this.loadNextPage.bind(this)).hide(),t.append(a),this.$_showMore=a}},{key:"_initActions",value:function(){var t,i,a=this;null===(t=this.$_main)||void 0===t||t.on("click",(function(e){e.stopPropagation(),a.toggleDropdown()})),this.$_dropdown.on("click",(function(e){e.stopPropagation()})),null===(i=this.$_search)||void 0===i||i.on("keyup search",(function(){a._populateItems()})),this.$_items.on("change",":input",(function(){var t,i=e(this).closest("li"),n=i.data("value");if(i.hasClass("disabled")&&!a.isValueSelected(n))return!1;i.toggleClass("active"),t=i.hasClass("active"),a._changeItemStatus(n,t)})),this.$_items.on("click","li:not(.checkbox) a",(function(t){var i,n=e(this).closest("li"),l=n.data("value");if(t.preventDefault(),n.hasClass("disabled")&&!a.isValueSelected(l))return!1;n.toggleClass("active"),(i=n.hasClass("active"))&&n.siblings().removeClass("active"),a._changeItemStatus(l,i)})),this.$_items.on("click","label > a",(function(t){var i=e(this).parent().find(":input");t.preventDefault(),(i.is('[type="radio"]')||i.is('[type="checkbox"]'))&&i.prop("checked",!i.prop("checked")),i.change()})),this.$originalSelect.on("change",(function(t,i){i||(a.$_items.find("li").each((function(){var t=e(this).data("value");a.isValueSelected(t)?a._selectItem(t):a._deselectItem(t)})),a.updateLabel())})),null!==globalThis&&void 0!==globalThis&&globalThis.yith_wcan_dropdown_init||(e(document).on("click",this._closeAllDropdowns),globalThis.yith_wcan_dropdown_init=!0)}},{key:"openDropdown",value:function(){var e;null===(e=this.$_main)||void 0===e||e.addClass("open").removeClass("closed"),this._afterDropdownOpen()}},{key:"closeDropdown",value:function(){var e;null===(e=this.$_main)||void 0===e||e.removeClass("open").addClass("closed")}},{key:"_closeAllDropdowns",value:function(){e(document).find("select.enhanced").filter((function(t,i){return!!e(i).data("dropdown")})).each((function(){e(this).data("dropdown").closeDropdown()}))}},{key:"_closeOtherDropdowns",value:function(){var t=this;e(document).find("select.enhanced").filter((function(i,a){var n=e(a);return!!n.data("dropdown")&&!n.is(t.$originalSelect)})).each((function(){e(this).data("dropdown").closeDropdown()}))}},{key:"toggleDropdown",value:function(){var e,t;null===(e=this.$_main)||void 0===e||e.toggleClass("open").toggleClass("closed"),null!==(t=this.$_main)&&void 0!==t&&t.hasClass("open")&&this._afterDropdownOpen()}},{key:"_afterDropdownOpen",value:function(){var e;this._closeOtherDropdowns(),null!==(e=this.$_search)&&void 0!==e&&e.length&&this.$_search.val(""),this._populateItems()}},{key:"getMatchingElements",value:function(t,i){var a=this,n=[],l=this.getOptions();return new Promise((function(r){l.each((function(){var i=e(this),a=i.val(),l=i.html(),r=new RegExp(".*"+t+".*","i");(!t||r.test(a)||r.test(l))&&n.push({value:a,label:l})})),a.options.getElements?a.options.getElements(t).then((function(t){t&&(t=t.reduce((function(e,t,i){return e.push({label:i,value:t}),e}),[]),n=e.extend(n,t)),r(a._formatItems(n,i))})):r(a._formatItems(n,i))}))}},{key:"_formatItems",value:function(e,t){var i=this,a=[],n=!1;return e.filter((function(e){return-1===a.indexOf(e.value)&&(a.push(e.value),!0)})).sort((function(e,t){var a="ASC"===i.options.order?1:-1;return e.value<t.value?-1*a:e.value>t.value?a:0})),t&&(n=t<Object.keys(e).length,e=e.slice(0,t)),{items:e,hasMore:n}}},{key:"_generateItem",value:function(t,i){var a,n=this.isValueSelected(t),l=this.getOptionByValue(t),r=e("<li/>",{"data-value":t,class:l.length?l.attr("class"):""});if(l.length){var s=l.data("template"),o=l.data("count");i=s||i,o&&(i+=o)}if(a=e("<a/>",{href:l.length?l.data("filter_url"):"#",html:i,rel:"nofollow","data-title":l.length?l.data("title"):""}),this.$originalSelect.prop("multiple")){var c=e("<input/>",{type:"checkbox",value:t}),h=e("<label>");c.prop("checked",n),h.prepend(c).append(a),r.append(h).addClass("checkbox")}else r.append(a);return n?r.addClass("active"):r.removeClass("active"),r}},{key:"_populateItems",value:function(t){var i,a,n=this,l=null!==(i=this.$_search)&&void 0!==i&&i.length?this.$_search.val():"",r=this.options.paginate?this.options.perPage:0;a=(t=t?parseInt(t):1)*r,this.getMatchingElements(l,a).then((function(i){var a=i.items,l=[],r=!1;if(n._emptyItems(),n._hideLoadMore(),a.length){var o,c=s(a);try{for(c.s();!(o=c.n()).done;){var h=o.value;""===h.value?l.unshift(n._generateItem(h.value,h.label)):l.push(n._generateItem(h.value,h.label))}}catch(e){c.e(e)}finally{c.f()}n.currentPage=t,r=i.hasMore}else l.push(e("<li/>",{text:n.options.labels.noItemsFound})),n.currentPage=1;n.$_items.append(l),n.$originalSelect.trigger("yith_wcan_dropdown_updated"),r&&n._showLoadMore()}))}},{key:"loadNextPage",value:function(){var e=this.currentPage+1;this._populateItems(e)}},{key:"_selectItem",value:function(e){return this._changeItemStatus(e,!0)}},{key:"_deselectItem",value:function(e){return this._changeItemStatus(e,!1)}},{key:"_changeItemStatus",value:function(e,t){var i=this.$originalSelect.find('option[value="'.concat(e,'"]'));return!!i.length&&(i.prop("selected",t),this.closeDropdown(),this.updateLabel(),this.$originalSelect.trigger("change",[!0]),!0)}},{key:"_emptyItems",value:function(){this.$_items.html("")}},{key:"_showLoadMore",value:function(){this.$_showMore.show()}},{key:"_hideLoadMore",value:function(){this.$_showMore.hide()}},{key:"getLabel",value:function(){return this.hasSelectedValues()?this.getSelectedLabels().join(", "):this.options.labels.emptyLabel}},{key:"updateLabel",value:function(){var e,t=this.getLabel();null===(e=this.$_label)||void 0===e||e.html(t)}},{key:"getOptions",value:function(){return this.$originalSelect.find("option")}},{key:"hasSelectedValues",value:function(){return this.getSelectedOptions().length}},{key:"isValueSelected",value:function(e){return-1!==this.getSelectedValues().indexOf(e.toString())}},{key:"getSelectedOptions",value:function(){return this.$originalSelect.find("option").filter(":selected")}},{key:"getOptionByValue",value:function(e){return this.$originalSelect.find('option[value="'.concat(e,'"]'))}},{key:"getSelectedLabels",value:function(){var t=[];return this.getSelectedOptions().each((function(){var i=e(this),a=i.data("template");a=a||i.html().replace(/\([0-9]*\)/,""),t.push(a)})),t}},{key:"getSelectedValues",value:function(){var t=[];return this.getSelectedOptions().each((function(){t.push(e(this).val())})),t}},{key:"destroy",value:function(){}}])&&c(i.prototype,a),n&&c(i,n),t}();function u(e){return(u="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function f(e,t){for(var i=0;i<t.length;i++){var a=t[i];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}function p(e,t,i){return t in e?Object.defineProperty(e,t,{value:i,enumerable:!0,configurable:!0,writable:!0}):e[t]=i,e}var v=function(){function t(i){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),p(this,"preset",!1),p(this,"$preset",!1),p(this,"target",!1),p(this,"$target",!1),p(this,"$filters",!1),p(this,"$filterButtons",!1),p(this,"modalElements",{}),p(this,"activeFilters",!1),p(this,"isMobile",!1),p(this,"sliderTimeout",!1),p(this,"originalFilters",null),p(this,"dirty",!1),this.preset="#"+i.attr("id"),this.$preset=i,this.target=this.$preset.data("target"),this.$target=!!this.target&&e(this.target),this._regiterStatus(),this._initFilterButton(),this._initResponsive(),this._initFilters(),this._initActions(),this.$preset.data("preset",this).addClass("enhanced").trigger("yith_wcan_preset_initialized",[this])}var i,a,n;return i=t,(a=[{key:"_initFilters",value:function(){var t=this;this.getFilters().each((function(){var i=e(this);t._initFilter(i)})),this.maybeShowClearAllFilters()}},{key:"_initFilterButton",value:function(){var e=this;this.$filterButtons=this.$preset.find(".apply-filters"),this.$filterButtons.length&&this.$filterButtons.on("click",(function(t){t.preventDefault(),e.filter()})).hide()}},{key:"_initActions",value:function(){this.$preset.find("form").on("submit",(function(e){e.preventDefault()}))}},{key:"_initResponsive",value:function(){var t=this;if(yith_wcan_shortcodes.modal_on_mobile){var i=window.matchMedia("(max-width: ".concat(yith_wcan_shortcodes.mobile_media_query,"px)"));e(window).on("resize",(function(){var e=!!i.matches;e!==t.isMobile&&(t.isMobile=e,t._afterLayoutChange())})).resize()}}},{key:"_initFilter",value:function(t){var i,a=this,n=function(i){var n=e(this),l=n.closest(".yith-wcan-filter"),r=!!l.length&&"yes"===l.data("multiple"),s=n.closest(".filter-item"),o=s.length?l.find(".filter-item").not(s):[];if(s.is(".disabled")&&!s.is(".active"))return i.preventDefault(),!1;i.preventDefault(),o.length&&!r&&o.removeClass("active").children("label").find(":input").prop("checked",!1).parent(".checked").removeClass("checked"),s.length&&s.toggleClass("active"),a.activeFilters=!1,a.maybeFilter(t),a.maybeToggleClearAllFilters(),a.maybeToggleClearFilter(l)};t.find(".filter-item").not(".checkbox").not(".radio").on("click","a",(function(t){var i=e(this).closest(".filter-item");if(!e(null==t?void 0:t.delegateTarget).is(i))return!1;n.call(this,t)})),t.find(":input").on("change",(function(t){var i=e(this),a=i.closest(".filter-item");if(a.is(".disabled")&&!a.is(".active"))return i.prop("checked",!1),!1;n.call(this,t)})),t.find("label > a").on("click",(function(t){var i=e(this),a=i.closest(".filter-item");if(t.preventDefault(),a.is(".disabled")&&!a.is(".active"))return!1;var n=i.parent().find(":input");(n.is('[type="radio"]')||n.is('[type="checkbox"]'))&&n.prop("checked",!n.prop("checked")),n.change()})),this._initTooltip(t),this._initPriceSlider(t),this._initDropdown(t),this._initCollapsable(t),this.maybeShowClearFilter(t),null!==(i=this.$preset)&&void 0!==i&&i.hasClass("custom-style")&&(this._initCustomInput(t),t.on("yith_wcan_dropdown_updated",(function(){var t=e(this).closest(".yith-wcan-filter");a._initCustomInput(t)})))}},{key:"_initTooltip",value:function(t,i){t.find("[data-title]").each((function(){var t=e(this);!t.hasClass("tooltip-added")&&t.data("title")&&(t.on("mouseenter",(function(){var t,a=e(this),n=null,l=a.outerWidth(),r=0;if(!i||"top"!==i&&"right"!==i){var s=a.closest(".filter-item");i=s.hasClass("color")||s.hasClass("label")?"top":"right"}n=e("<span>",{class:"yith-wcan-tooltip",html:a.data("title")}),a.append(n),t=n.outerWidth()+6,n.outerWidth(t),r="top"===i?(l-t)/2:l+15,n.css({left:r.toFixed(0)+"px"}).fadeIn(200),a.addClass("with-tooltip")})).on("mouseleave",(function(){var t=e(this);t.find(".yith-wcan-tooltip").fadeOut(200,(function(){t.removeClass("with-tooltip").find(".yith-wcan-tooltip").remove()}))})),t.addClass("tooltip-added"))}))}},{key:"_initDropdown",value:function(t){var i=t.find("select.filter-dropdown");i.length&&(i.hasClass("select2-hidden-accessible")&&void 0!==e.fn.selectWoo&&i.selectWoo("destroy"),this._initDropdownObject(i,{paginate:!0,perPage:yith_wcan_shortcodes.terms_per_page}))}},{key:"_initDropdownObject",value:function(e,t){return new d(e,t)}},{key:"_initPriceSlider",value:function(e){var t=this;if(e.hasClass("filter-price-slider")){var i=this,a=e.find(".price-slider"),n=a.find(".price-slider-min"),l=a.find(".price-slider-max"),r=parseFloat(a.data("min")),s=parseFloat(a.data("max")),o=parseFloat(n.val()),c=parseFloat(l.val()),h=parseFloat(a.data("step")),d=function(){i.sliderTimeout&&clearTimeout(i.sliderTimeout),i.sliderTimeout=setTimeout((function(){i.maybeFilter(e)}),200)};e.find(".price-slider-ui").ionRangeSlider({skin:"round",type:"double",min:r,max:s,step:h,from:o,to:c,min_interval:h,values_separator:" - ",prettify:function(e){return t.formatPrice(e)},onChange:function(e){n.val(e.from),l.val(e.to)},onFinish:d}),n.add(l).off("change").on("keyup",(function(){n.val()&&l.val()&&d()}))}}},{key:"_initCollapsable",value:function(e){this._initTitleCollapsable(e),this._initHierarchyCollapsable(e)}},{key:"_initTitleCollapsable",value:function(e){var t=e.find(".collapsable");t.length&&this._initToggle(t,t,e.find(".filter-content"))}},{key:"_initHierarchyCollapsable",value:function(t){var i=t.find(".hierarchy-collapsable");if(i.length){var a=this,n=t.find(".active");n.length&&(n.parents(".hierarchy-collapsable").removeClass("closed").addClass("opened"),n.hasClass("hierarchy-collapsable")&&yith_wcan_shortcodes.show_current_children&&n.removeClass("closed").addClass("opened")),i.each((function(){var t=e(this),i=e("<span/>",{class:"toggle-handle"});i.appendTo(t),a._initToggle(i,t,t.children("ul.filter-items"))}))}}},{key:"_initToggle",value:function(e,t,i){t.hasClass("closed")&&i.hide(),e.off("click").on("click",(function(e){e.stopPropagation(),e.preventDefault(),i.slideToggle(400,(function(){t.toggleClass("opened").toggleClass("closed")}))}))}},{key:"_initCustomInput",value:function(t){t.find(":input").each((function(){var t,i=e(this),a=i.attr("type"),n="".concat(a,"button");"checkbox"!==a&&"radio"!==a||i.closest(".".concat(n)).length||(i.is(":checked")&&(n+=" checked"),t=e("<span/>",{class:n}),i.wrap(t).on("change",(function(){var t=e(this);t.prop("checked")?t.parent().addClass("checked"):t.parent().removeClass("checked")})))}))}},{key:"_regiterStatus",value:function(){this.originalFilters=this.getFiltersProperties()}},{key:"_afterLayoutChange",value:function(){var t,i;this.isMobile?(this.$preset.addClass("filters-modal").attr("role","dialog").attr("tabindex","-1").hide(),this._addCloseModalButton(),this._addApplyFiltersModalButton(),this._switchToCollapsables(),null===(t=this.$filterButtons)||void 0===t||t.hide()):(this.$preset.removeClass("filters-modal").removeClass("open").removeAttr("role").removeAttr("tabindex").show(),e("body").css("overflow","auto").removeClass("yith-wcan-preset-modal-open"),this._removeCloseModalButton(),this._removeApplyFiltersModalButton(),this._switchBackCollapsables(),null===(i=this.$filterButtons)||void 0===i||i.show())}},{key:"_addCloseModalButton",value:function(){var t=e("<a/>",{class:"close-button",html:"&times;","data-dismiss":"modal","aria-label":yith_wcan_shortcodes.labels.close});t.prependTo(this.$preset).on("click",this.closeModal.bind(this)),this.modalElements.closeButton=t}},{key:"_removeCloseModalButton",value:function(){var e,t;null===(e=this.modalElements)||void 0===e||null===(t=e.closeButton)||void 0===t||t.remove()}},{key:"_addApplyFiltersModalButton",value:function(){var t=this,i=e("<button/>",{class:"apply-filters main-modal-button",html:yith_wcan_shortcodes.labels.show_results,"data-dismiss":"modal"});i.appendTo(this.$preset).on("click",(function(){t.filter(),t.closeModal()})),this.modalElements.applyFiltersButton=i}},{key:"_removeApplyFiltersModalButton",value:function(){var e,t;null===(e=this.modalElements)||void 0===e||null===(t=e.applyFiltersButton)||void 0===t||t.remove()}},{key:"_switchToCollapsables",value:function(){var t=this;this.getFilters().each((function(){var i=e(this),a=i.find(".filter-title");a.length&&!a.hasClass("collapsable")&&(a.addClass("collapsable").data("disable-collapse",!0),t._initTitleCollapsable(i))}))}},{key:"_switchBackCollapsables",value:function(){this.getFilters().each((function(){var t=e(this),i=t.find(".filter-title");i.length&&i.hasClass("collapsable")&&i.data("disable-collapse")&&(i.removeClass("collapsable").removeData("disable-collapse",!0).off("click"),t.find(".filter-content").show())}))}},{key:"_openAllCollapsables",value:function(){var t=this;this.$filters.not(".no-title").not((function(i,a){return t.isFilterActive(e(a))})).find(".filter-content").show().end().find(".filter-title").removeClass("closed").addClass("opened")}},{key:"_closeAllCollapsables",value:function(){var t=this;this.$filters.not(".no-title").not((function(i,a){return t.isFilterActive(e(a))})).find(".filter-content").hide().end().find(".filter-title").addClass("closed").removeClass("opened")}},{key:"maybeRegisterStatusChange",value:function(){var e=this.getFiltersProperties(),t=JSON.stringify(e),i=JSON.stringify(this.originalFilters);this.dirty=t!==i}},{key:"maybeFilter",value:function(e){if(this.maybeRegisterStatusChange(),yith_wcan_shortcodes.instant_filters&&!this.isMobile)this.filter();else if(yith_wcan_shortcodes.instant_filters||this.isMobile){if(this.isMobile&&this.dirty){var t;this.$preset.addClass("with-filter-button"),null===(t=this.modalElements.applyFiltersButton)||void 0===t||t.show()}}else{var i,a;this.dirty?null===(i=this.$filterButtons)||void 0===i||i.show():null===(a=this.$filterButtons)||void 0===a||a.hide()}}},{key:"filter",value:function(){var t,i,a,n=this,l=null===(t=window)||void 0===t?void 0:t.product_filter;null==l||null===(i=l.doFilter(this.getFiltersProperties(),this.target,this.preset))||void 0===i||i.done((function(){var t=e(n.preset);if(t.length&&yith_wcan_shortcodes.scroll_top){var i=t.offset().top;if(yith_wcan_shortcodes.scroll_target){var a=e(yith_wcan_shortcodes.scroll_target);i=a.length?a.offset().top:i}else n.isMobile&&(i=100);e("body, html").animate({scrollTop:i-100})}n.originalFilters=n.getFiltersProperties(),n.dirty=!1})),this.isMobile&&(this.$preset.removeClass("with-filter-button"),null===(a=this.modalElements.applyFiltersButton)||void 0===a||a.hide(),this.closeModal())}},{key:"getFilters",value:function(){return!1===this.$filters&&(this.$filters=this.$preset.find(".yith-wcan-filter")),this.$filters}},{key:"getActiveFilters",value:function(){return!1===this.activeFilters&&(this.activeFilters=this.getFiltersProperties()),this.activeFilters}},{key:"isAnyFilterActive",value:function(){return!!Object.keys(this.getActiveFilters()).length}},{key:"isFilterActive",value:function(e){var t,i;switch(e.data("filter-type")){case"tax":case"review":case"price_range":var a=e.find(".filter-dropdown");if(a.length){var n=a.val();t="object"===u(n)?!(null==n||!n.length):!!n;break}case"stock_sale":t=e.find(".filter-item").filter(".active").length;break;case"price_slider":var l=parseFloat(e.find(".price-slider").data("step")),r=parseFloat(e.find(".price-slider").data("min")),s=parseFloat(e.find(".price-slider").data("max")),o=parseFloat(e.find(".price-slider-min").val()),c=parseFloat(e.find(".price-slider-max").val());t=Math.abs(o-r)>=l||Math.abs(c-s)>=l;break;case"orderby":t="menu_order"!==e.find(".filter-order-by").val();break;default:t=!1}return t=void 0!==(i=e.triggerHandler("yith_wcan_is_filter_active",[t,this]))?i:t}},{key:"countActiveItems",value:function(e){var t;switch(e.data("filter-type")){case"tax":case"review":case"price_range":var i=e.find(".filter-dropdown");if(i.length){var a=i.val();t="object"===u(a)?null==a?void 0:a.length:+!!a;break}case"stock_sale":t=e.find(".filter-items").find(".active").length;break;case"orderby":this.isFilterActive(e)&&(t=1);break;case"price_slider":default:t=0}return t}},{key:"getFilterProperties",value:function(t){var i,a,n=t.data("filter-type"),l="yes"===t.data("multiple"),r=t.find(".filter-dropdown"),s={};switch(n){case"tax":var o=[],c=t.data("taxonomy"),h=0===c.indexOf("filter"),d=t.data("relation");if(r.length?l?o=r.val():o.push(r.val()):o=(a=t.find(".filter-item").filter(".active").children("a, label")).get().reduce((function(t,i){var a;return(a=(i=e(i)).is("label")?i.find(":input").val():i.data("term-slug"))?(t.push(a),t):t}),o),l){var u=h||"and"!==d?",":"+";s[c]=o.join(u)}else s[c]=o.pop();h&&(s[c.replace("filter_","query_type_")]=d);break;case"review":r.length?s.rating_filter=r.val():(a=t.find(".filter-item").filter(".active").children("a, label"),l?s.rating_filter=a.get().reduce((function(t,i){var a;return(a=(i=e(i)).is("label")?i.find(":input").val():i.data("rating"))?(t.push(a),t):t}),[]).join(","):(a=a.first(),s.rating_filter=a.is("label")?a.find(":input").val():a.data("rating")));break;case"price_range":r.length?l?s.price_ranges=r.val().join(","):(s.min_price=r.val().split("-")[0],s.max_price=r.val().split("-")[1]):(a=t.find(".filter-item").filter(".active").children("a, label"),l?s.price_ranges=a.get().reduce((function(t,i){var a=e(i).data("range-min"),n=e(i).data("range-max");return t+=(n?"".concat(a,"-").concat(n):a)+","}),"").replace(/^(.*),$/,"$1"):(s.min_price=parseFloat(a.first().data("range-min")),s.max_price=parseFloat(a.first().data("range-max"))));break;case"price_slider":s.min_price=parseFloat(t.find(".price-slider-min").val()),s.max_price=parseFloat(t.find(".price-slider-max").val());break;case"stock_sale":t.find(".filter-on-sale").is(".active")&&(s.onsale_filter=1),t.find(".filter-in-stock").is(".active")&&(s.instock_filter=1),t.find(".filter-featured").is(".active")&&(s.featured_filter=1);break;case"orderby":s.orderby=t.find(".filter-order-by").val()}return s=void 0!==(i=t.triggerHandler("yith_wcan_filter_properties",[s,self]))?i:s}},{key:"getFiltersProperties",value:function(){var t={},i=this;return this.getFilters().each((function(){var a=e(this);if(i.isFilterActive(a)){var n=i.getFilterProperties(a);t=i.mergeProperties(t,n,a)}})),t}},{key:"getFiltersByProperties",value:function(t){var i=this;return this.getFilters().filter((function(){var a=e(this);if(i.isFilterActive(a)){var n=i.getFilterProperties(a),l=!1;for(var r in t){if(["min_price","max_price","price_ranges"].includes(r)&&(n.min_price||n.price_ranges)){l=!0;break}if(n[r]){l=!0;break}}return l}return!1}))}},{key:"maybeToggleClearFilter",value:function(e){this.isFilterActive(e)?this.maybeShowClearFilter(e):this.maybeHideClearFilter(e)}},{key:"maybeToggleClearAllFilters",value:function(){this.isAnyFilterActive()?this.maybeShowClearAllFilters():this.maybeHideClearAllFilters()}},{key:"maybeShowClearFilter",value:function(t){var i=this;this.isFilterActive(t)&&yith_wcan_shortcodes.show_clear_filter&&(t.find(".clear-selection").remove(),e("<a/>",{class:"clear-selection",text:yith_wcan_shortcodes.labels.clear_selection,role:"button"}).prependTo(t.find(".filter-content")).on("click",(function(e){e.preventDefault(),i.deactivateFilter(t,!1,yith_wcan_shortcodes.instant_filters),i.maybeHideClearFilter(t),yith_wcan_shortcodes.instant_filters&&i.closeModal()})))}},{key:"maybeShowClearAllFilters",value:function(){var t=this;this.isAnyFilterActive()&&this.isMobile&&(this.$preset.find(".clear-selection").remove(),e("<a/>",{class:"clear-selection",text:yith_wcan_shortcodes.labels.clear_all_selections,role:"button"}).prependTo(this.$preset.find(".filters-container")).on("click",(function(e){e.preventDefault(),t.deactivateAllFilters(yith_wcan_shortcodes.instant_filters),t.maybeHideClearAllFilters(),yith_wcan_shortcodes.instant_filters&&t.closeModal()})))}},{key:"maybeHideClearFilter",value:function(e){!this.isFilterActive(e)&&yith_wcan_shortcodes.show_clear_filter&&e.find(".clear-selection").remove()}},{key:"maybeHideClearAllFilters",value:function(){this.isAnyFilterActive()||this.$preset.find(".filters-container").children(".clear-selection").remove()}},{key:"deactivateFilter",value:function(t,i,a){var n=t.data("filter-type"),l=t.find(".filter-item"),r=l.filter(".active"),s=t.find(".filter-dropdown");switch(n){case"tax":var o=t.data("taxonomy");s.length?(i?s.find("option").each((function(){var t=e(this);t.val().toString()===i[o].toString()&&t.prop("selected",!1)})):s.find("option").prop("selected",!1),s.change()):i?r.each((function(){var t=e(this),a=t.children("label"),n=t.children("a");(a.length?a.find(":input").val():n.data("term-slug")).toString()===i[o].toString()&&(t.children("label").children("a").click(),t.removeClass("active"))})):(r.children("label").children("a").click(),r.removeClass("active"));break;case"review":s.length?(i?s.find("option").each((function(){var t=e(this);t.val()===i.rating_filter&&t.prop("selected",!1)})):s.find("option").prop("selected",!1),s.change()):i?r.each((function(){var t=e(this),a=t.children("label"),n=t.children("a");(a.length?a.find(":input").val():n.data("rating"))===i.rating_filter&&(t.children("label").children("a").click(),t.removeClass("active"))})):(r.children("label").children("a").click(),r.removeClass("active"));break;case"price_range":s.length?(i?s.find("option").each((function(){var t=e(this),a=i.min_price+(i.max_price?"-".concat(i.max_price):"");t.val()===a&&t.prop("selected",!1)})):s.find("option").prop("selected",!1),s.change()):i?r.each((function(){var t,a,n=e(this),l=n.children("label"),r=n.children("a");a=l.length?l.find(":input").val():r.data("min_price")+(r.data("max_price")?"-"+r.data("max_price"):""),i.min_price?t=i.min_price+(i.max_price?"-"+i.max_price:""):i.price_ranges&&(t=i.price_ranges),a===t&&(n.children("label").children("a").click(),n.removeClass("active"))})):(r.children("label").children("a").click(),r.removeClass("active"));break;case"price_slider":var c=t.find(".price-slider");t.find(".price-slider-min").val(c.data("min")),t.find(".price-slider-max").val(c.data("max")).change();break;case"orderby":t.find("select").val("menu_order");break;case"stock_sale":i?(null!=i&&i.instock_filter&&t.find(".filter-in-stock").find(":input").prop("checked",!1).change().closest(".filter-item").removeClass("active"),null!=i&&i.onsale_filter&&t.find(".filter-on-sale").find(":input").prop("checked",!1).change().closest(".filter-item").removeClass("active"),null!=i&&i.featured_filter&&t.find(".filter-featured").find(":input").prop("checked",!1).change().closest(".filter-item").removeClass("active")):(t.find(".filter-in-stock").find(":input").prop("checked",!1).change(),t.find(".filter-on-sale").find(":input").prop("checked",!1).change(),t.find(".filter-featured").find(":input").prop("checked",!1).change(),l.removeClass("active"));break;default:l.removeClass("active")}this.activeFilters=!1,a&&this.filter()}},{key:"deactivateAllFilters",value:function(t){var i=this;return this.getFilters().each((function(){var t=e(this);i.deactivateFilter(t)})),this.activeFilters=!1,t&&this.filter(),!0}},{key:"deactivateFilterByProperties",value:function(t,i){var a=this,n=this.getFiltersByProperties(t);return!!n.length&&(n.each((function(){var n=e(this);a.deactivateFilter(n,t,i)})),!0)}},{key:"openModal",value:function(){var t=this;this.isMobile&&(yith_wcan_shortcodes.toggles_open_on_modal?this._openAllCollapsables():this._closeAllCollapsables(),e("body").css("overflow","hidden").addClass("yith-wcan-preset-modal-open"),this.$preset.show(),setTimeout((function(){t.$preset.addClass("open")}),100))}},{key:"closeModal",value:function(){var t=this;this.isMobile&&(this.$preset.removeClass("open"),setTimeout((function(){t.$preset.hide(),e("body").css("overflow","auto").removeClass("yith-wcan-preset-modal-open")}),300))}},{key:"formatPrice",value:function(e){var t,i,a,n;return"undefined"!=typeof accounting&&(e=accounting.formatMoney(e,{symbol:null===(t=yith_wcan_shortcodes.currency_format)||void 0===t?void 0:t.symbol,decimal:null===(i=yith_wcan_shortcodes.currency_format)||void 0===i?void 0:i.decimal,thousand:null===(a=yith_wcan_shortcodes.currency_format)||void 0===a?void 0:a.thousand,precision:0,format:null===(n=yith_wcan_shortcodes.currency_format)||void 0===n?void 0:n.format})),e}},{key:"mergeProperties",value:function(t,i,a){for(var n in i)if(i.hasOwnProperty(n)&&t[n]){switch(n){case"rating_filter":case"min_price":case"max_price":case"onsale_filter":case"instock_filter":case"orderby":t[n]=i[n];break;default:if(0===n.indexOf("query_type_"))t[n]=i[n];else{var l=0===n.indexOf("filter_"),r=l?",":"+",s=t[n].replace(",",r)+r+i[n].replace(",",r);if(s=s.split(r).filter((function(e,t,i){return i.indexOf(e)===t})).join(r),t[n]=s,l){var o=n.replace("filter_","query_type_");t[o]="and",i[o]="and"}}}delete i[n]}return e.extend(t,i),t}}])&&f(i.prototype,a),n&&f(i,n),t}();jQuery((function(e){e(document).on("yith_wcan_init_shortcodes yith_plugin_fw_gutenberg_success_do_shortcode",(function(){e(".yith-wcan-filters").not(".enhanced").each((function(){new v(e(this))})),e(".yith-wcan-reset-filters").not(".enhanced").each((function(){new r(e(this))}))})).trigger("yith_wcan_init_shortcodes"),globalThis.product_filter=new l}))})();
assets/scss/shortcodes.scss CHANGED
@@ -101,6 +101,7 @@ $z-index: 1001; // value is this high since modal must be on top of Proteo's sti
101
  margin-bottom: 0;
102
  padding: 4px 15px 3px;
103
  position: relative;
 
104
  }
105
 
106
  @mixin tooltip {
@@ -166,7 +167,7 @@ $z-index: 1001; // value is this high since modal must be on top of Proteo's sti
166
  margin-bottom: 30px;
167
 
168
  // filter area titles
169
- h4 {
170
  color: var( --yith-wcan-filters_colors_titles, #434343 );
171
 
172
  &.collapsable {
@@ -202,18 +203,11 @@ $z-index: 1001; // value is this high since modal must be on top of Proteo's sti
202
  margin: 0 -5px;
203
  }
204
 
205
- &.filter-label.with-images {
206
  font-size: 0;
207
  margin: 0 -5px;
208
  }
209
 
210
- &.filter-label:not(.with-images) {
211
- .filter-item {
212
- margin-right: 5px;
213
- margin-bottom: 10px;
214
- }
215
- }
216
-
217
  &.filter-dropdown {
218
  display: none;
219
  }
@@ -370,6 +364,7 @@ $z-index: 1001; // value is this high since modal must be on top of Proteo's sti
370
  box-shadow: 0 0 0 1px $border-color;
371
  border-radius: $border-radius;
372
  display: inline-block;
 
373
  padding: 7px;
374
  text-align: center;
375
 
@@ -422,7 +417,6 @@ $z-index: 1001; // value is this high since modal must be on top of Proteo's sti
422
  background: none;
423
  box-shadow: none;
424
  display: block;
425
- margin: 0 0 10px;
426
  padding: 0;
427
  text-align: left;
428
  width: 100%;
@@ -913,7 +907,7 @@ $z-index: 1001; // value is this high since modal must be on top of Proteo's sti
913
  margin-bottom: 15px;
914
  padding: 15px;
915
 
916
- h4 {
917
  margin: 0;
918
 
919
  &.collapsable:after{
@@ -980,7 +974,7 @@ $z-index: 1001; // value is this high since modal must be on top of Proteo's sti
980
  position: relative;
981
  vertical-align: top;
982
 
983
- h4.collapsable {
984
  border: 1px solid $border-color;
985
  border-radius: $border-radius;
986
  font-weight: 400;
@@ -999,41 +993,41 @@ $z-index: 1001; // value is this high since modal must be on top of Proteo's sti
999
  font-size: .8em;
1000
  margin: 0 10px;
1001
  }
1002
- }
1003
 
1004
- h4.collapsable.opened,
1005
- h4.collapsable.opened + .filter-content {
1006
- border: 1px solid rgba( var( --yith-wcan-filters_colors_accent_r, 73 ), var( --yith-wcan-filters_colors_accent_g, 139 ), var( --yith-wcan-filters_colors_accent_b, 162 ), .3 );
1007
- box-shadow: 0 0 7px 0 rgba( var( --yith-wcan-filters_colors_accent_r, 73 ), var( --yith-wcan-filters_colors_accent_g, 139 ), var( --yith-wcan-filters_colors_accent_b, 162 ), .3 );
1008
- }
1009
 
1010
- h4.collapsable + .filter-content {
1011
- background-color: #fff;
1012
- border: 1px solid $border-color;
1013
- border-radius: $border-radius;
1014
- min-width: 300px;
1015
- position: absolute;
1016
- padding: 20px;
1017
- width: 100%;
1018
- z-index: $z-index;
1019
-
1020
- .filter-content-footer {
1021
- background-color: $background-gray;
1022
- margin: 20px -20px -20px;
1023
- padding: 15px 20px;
1024
- text-align: right;
1025
-
1026
- .apply-filters {
1027
- margin: 0;
1028
- }
1029
 
1030
- .clear-selection {
1031
- background: #CBCBCB; // To be removed
1032
- border-color: #CBCBCB; // To be removed
1033
- color: #434343; // To be removed
1034
 
1035
- margin-bottom: 0;
1036
- margin-right: 15px;
 
1037
  }
1038
  }
1039
  }
@@ -1107,6 +1101,10 @@ body.rtl .yith-wcan-filters {
1107
  }
1108
  }
1109
  }
 
 
 
 
1110
  }
1111
  }
1112
 
101
  margin-bottom: 0;
102
  padding: 4px 15px 3px;
103
  position: relative;
104
+ text-decoration: none;
105
  }
106
 
107
  @mixin tooltip {
167
  margin-bottom: 30px;
168
 
169
  // filter area titles
170
+ .filter-title {
171
  color: var( --yith-wcan-filters_colors_titles, #434343 );
172
 
173
  &.collapsable {
203
  margin: 0 -5px;
204
  }
205
 
206
+ &.filter-label {
207
  font-size: 0;
208
  margin: 0 -5px;
209
  }
210
 
 
 
 
 
 
 
 
211
  &.filter-dropdown {
212
  display: none;
213
  }
364
  box-shadow: 0 0 0 1px $border-color;
365
  border-radius: $border-radius;
366
  display: inline-block;
367
+ margin: 0 5px 10px;
368
  padding: 7px;
369
  text-align: center;
370
 
417
  background: none;
418
  box-shadow: none;
419
  display: block;
 
420
  padding: 0;
421
  text-align: left;
422
  width: 100%;
907
  margin-bottom: 15px;
908
  padding: 15px;
909
 
910
+ .filter-title {
911
  margin: 0;
912
 
913
  &.collapsable:after{
974
  position: relative;
975
  vertical-align: top;
976
 
977
+ .filter-title.collapsable {
978
  border: 1px solid $border-color;
979
  border-radius: $border-radius;
980
  font-weight: 400;
993
  font-size: .8em;
994
  margin: 0 10px;
995
  }
 
996
 
997
+ &.opened,
998
+ &.opened + .filter-content {
999
+ border: 1px solid rgba( var( --yith-wcan-filters_colors_accent_r, 73 ), var( --yith-wcan-filters_colors_accent_g, 139 ), var( --yith-wcan-filters_colors_accent_b, 162 ), .3 );
1000
+ box-shadow: 0 0 7px 0 rgba( var( --yith-wcan-filters_colors_accent_r, 73 ), var( --yith-wcan-filters_colors_accent_g, 139 ), var( --yith-wcan-filters_colors_accent_b, 162 ), .3 );
1001
+ }
1002
 
1003
+ & + .filter-content {
1004
+ background-color: #fff;
1005
+ border: 1px solid $border-color;
1006
+ border-radius: $border-radius;
1007
+ min-width: 300px;
1008
+ position: absolute;
1009
+ padding: 20px;
1010
+ width: 100%;
1011
+ z-index: $z-index;
1012
+
1013
+ .filter-content-footer {
1014
+ background-color: $background-gray;
1015
+ margin: 20px -20px -20px;
1016
+ padding: 15px 20px;
1017
+ text-align: right;
1018
+
1019
+ .apply-filters {
1020
+ margin: 0;
1021
+ }
1022
 
1023
+ .clear-selection {
1024
+ background: #CBCBCB; // To be removed
1025
+ border-color: #CBCBCB; // To be removed
1026
+ color: #434343; // To be removed
1027
 
1028
+ margin-bottom: 0;
1029
+ margin-right: 15px;
1030
+ }
1031
  }
1032
  }
1033
  }
1101
  }
1102
  }
1103
  }
1104
+ .filter-title.collapsable:after{
1105
+ left: 5px;
1106
+ right: auto;
1107
+ }
1108
  }
1109
  }
1110
 
includes/class-yith-wcan-admin.php CHANGED
@@ -56,10 +56,8 @@ if ( ! class_exists( 'YITH_WCAN_Admin' ) ) {
56
 
57
  // admin panel.
58
  add_action( 'admin_menu', array( $this, 'register_panel' ), 5 );
59
- add_action( 'yith_wcan_premium_tab', array( $this, 'premium_tab' ) );
60
  add_action( 'yith_wcan_preset_details', array( $this, 'preset_edit_tab' ) );
61
  add_action( 'yith_wcan_terms_options', array( $this, 'filter_terms_field' ), 10, 1 );
62
- add_action( 'yith_wcan_price_ranges', array( $this, 'filter_ranges_field' ), 10, 1 );
63
 
64
  // ajax handling.
65
  add_action( 'wp_ajax_yith_wcan_search_term', array( $this, 'json_search_term' ) );
@@ -157,7 +155,7 @@ if ( ! class_exists( 'YITH_WCAN_Admin' ) ) {
157
  * @return string The premium landing link
158
  */
159
  public function get_premium_landing_uri() {
160
- return apply_filters( 'yith_plugin_fw_premium_landing_uri', $this->premium_landing_url, YITH_WCAN_SLUG );
161
  }
162
 
163
  /**
@@ -190,8 +188,7 @@ if ( ! class_exists( 'YITH_WCAN_Admin' ) ) {
190
  'premium_features' => array(
191
  __( '<b>100% mobile friendly:</b> Show filters in a modal view which is purposely designed for users visiting your site by smartphones or tablets', 'yith-woocommerce-ajax-navigation' ),
192
  __( 'Show filters in the default layout or also in an <b>horizontal toolbar above products</b> (like Zalando)', 'yith-woocommerce-ajax-navigation' ),
193
- __( 'Allow customers to <b>filter for price ranges</b> (unlimited ranges and the last range can show: “& above”) or using the <b>price slider</b>
194
- ', 'yith-woocommerce-ajax-navigation' ),
195
  __( 'Allow customers to <b>filter for review</b> and <b>for brand</b> (with the support to YITH WooCommerce Brands plugin)', 'yith-woocommerce-ajax-navigation' ),
196
  __( 'Allow users to <b>order products</b> (by popularity, date, price, date of publishing, average rating, etc) and see only products in stock/featured/on sale', 'yith-woocommerce-ajax-navigation' ),
197
  __( '<b>Show the active filters</b> (with X to remove them) and choose their position (above products, above or under filters area)', 'yith-woocommerce-ajax-navigation' ),
@@ -199,28 +196,13 @@ if ( ! class_exists( 'YITH_WCAN_Admin' ) ) {
199
  __( 'Show the options using <b>custom images or icons</b>', 'yith-woocommerce-ajax-navigation' ),
200
  __( 'Choose the <b>order of the options</b> (alphabetical, terms order, terms count, etc.), enable tooltips and show each set of filters in toggle', 'yith-woocommerce-ajax-navigation' ),
201
  __( 'Choose how to manage terms not availables: hide them OR shown them in grey color and not clickables ', 'yith-woocommerce-ajax-navigation' ),
202
- __( '<b>Regular updates, Translations and Premium Support</b>', 'yith-woocommerce-ajax-navigation' ),
203
  ),
204
  'main_image_url' => YITH_WCAN_ASSETS . 'images/get-premium-ajax-product-filter.jpg',
205
  );
206
 
207
- $args = array(
208
- 'create_menu_page' => true,
209
- 'parent_slug' => '',
210
- 'page_title' => 'YITH WooCommerce Ajax Product Filter',
211
- 'menu_title' => 'Ajax Product Filter',
212
- 'plugin_description' => _x( 'It allows your users to find the product they are looking for as quickly as possible.', '[Admin] Plugin description', 'yith-woocommerce-ajax-navigation' ),
213
- 'capability' => apply_filters( 'yith_wcan_panel_capability', 'manage_woocommerce' ),
214
- 'parent' => '',
215
- 'class' => function_exists( 'yith_set_wrapper_class' ) ? yith_set_wrapper_class() : '',
216
- 'parent_page' => 'yit_plugin_panel',
217
- 'admin-tabs' => apply_filters( 'yith_wcan_settings_tabs', $admin_tabs ),
218
- 'options-path' => YITH_WCAN_DIR . '/plugin-options',
219
- 'plugin_slug' => YITH_WCAN_SLUG,
220
- 'plugin-url' => YITH_WCAN_URL,
221
- 'page' => $this->panel_page,
222
- 'premium_tab' => $premium_tab,
223
- 'help_tab' => array(
224
  'main_video' => array(
225
  'desc' => _x( 'Check this video to learn how to <b>create a filter preset and show it on the shop page:</b>', '[HELP TAB] Video title', 'yith-woocommerce-ajax-navigation' ),
226
  'url' => array(
@@ -235,9 +217,31 @@ if ( ! class_exists( 'YITH_WCAN_Admin' ) ) {
235
  'es' => 'https://www.youtube.com/watch?v=7kX7nxBD2BA&list=PL9Ka3j92PYJOyeFNJRdW9oLPkhfyrXmL1',
236
  ),
237
  'hc_url' => 'https://support.yithemes.com/hc/en-us/categories/360003474618-YITH-WOOCOMMERCE-AJAX-PRODUCT-FILTER',
238
- 'doc_url' => 'https://docs.yithemes.com/yith-woocommerce-ajax-product-filter/',
239
  ),
 
 
240
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
241
  );
242
 
243
  $this->panel = new YIT_Plugin_Panel_WooCommerce( $args );
@@ -356,15 +360,6 @@ if ( ! class_exists( 'YITH_WCAN_Admin' ) ) {
356
  include YITH_WCAN_DIR . 'templates/admin/preset-empty-content.php';
357
  }
358
 
359
- /**
360
- * Prints premium tab
361
- *
362
- * @return void
363
- */
364
- public function premium_tab() {
365
- require_once YITH_WCAN_DIR . 'templates/admin/premium.php';
366
- }
367
-
368
  /**
369
  * Prints "Edit existing preset/Create new preset" tab
370
  *
@@ -546,15 +541,19 @@ if ( ! class_exists( 'YITH_WCAN_Admin' ) ) {
546
  * @author Andrea Grillo <andrea.grillo@yithemes.com>
547
  * @use plugin_row_meta
548
  */
549
- public function plugin_row_meta( $new_row_meta_args, $plugin_meta, $plugin_file, $plugin_data, $status, $init_file = 'YITH_WCAN_FREE_INIT' ) {
550
- if ( defined( $init_file ) && constant( $init_file ) === $plugin_file ) {
551
- $new_row_meta_args['slug'] = 'yith-woocommerce-ajax-product-filter';
552
-
553
- if ( 'YITH_WCAN_FREE_INIT' === $init_file ) {
554
- $new_row_meta_args['support'] = array(
555
- 'url' => 'https://wordpress.org/support/plugin/yith-woocommerce-ajax-navigation',
556
- );
557
- }
 
 
 
 
558
  }
559
 
560
  return $new_row_meta_args;
56
 
57
  // admin panel.
58
  add_action( 'admin_menu', array( $this, 'register_panel' ), 5 );
 
59
  add_action( 'yith_wcan_preset_details', array( $this, 'preset_edit_tab' ) );
60
  add_action( 'yith_wcan_terms_options', array( $this, 'filter_terms_field' ), 10, 1 );
 
61
 
62
  // ajax handling.
63
  add_action( 'wp_ajax_yith_wcan_search_term', array( $this, 'json_search_term' ) );
155
  * @return string The premium landing link
156
  */
157
  public function get_premium_landing_uri() {
158
+ return $this->premium_landing_url;
159
  }
160
 
161
  /**
188
  'premium_features' => array(
189
  __( '<b>100% mobile friendly:</b> Show filters in a modal view which is purposely designed for users visiting your site by smartphones or tablets', 'yith-woocommerce-ajax-navigation' ),
190
  __( 'Show filters in the default layout or also in an <b>horizontal toolbar above products</b> (like Zalando)', 'yith-woocommerce-ajax-navigation' ),
191
+ __( 'Allow customers to <b>filter for price ranges</b> (unlimited ranges and the last range can show: “& above”) or using the <b>price slider</b>', 'yith-woocommerce-ajax-navigation' ),
 
192
  __( 'Allow customers to <b>filter for review</b> and <b>for brand</b> (with the support to YITH WooCommerce Brands plugin)', 'yith-woocommerce-ajax-navigation' ),
193
  __( 'Allow users to <b>order products</b> (by popularity, date, price, date of publishing, average rating, etc) and see only products in stock/featured/on sale', 'yith-woocommerce-ajax-navigation' ),
194
  __( '<b>Show the active filters</b> (with X to remove them) and choose their position (above products, above or under filters area)', 'yith-woocommerce-ajax-navigation' ),
196
  __( 'Show the options using <b>custom images or icons</b>', 'yith-woocommerce-ajax-navigation' ),
197
  __( 'Choose the <b>order of the options</b> (alphabetical, terms order, terms count, etc.), enable tooltips and show each set of filters in toggle', 'yith-woocommerce-ajax-navigation' ),
198
  __( 'Choose how to manage terms not availables: hide them OR shown them in grey color and not clickables ', 'yith-woocommerce-ajax-navigation' ),
199
+ __( '<b>Regular updates, Translations and Premium Support</b>', 'yith-woocommerce-ajax-navigation' ), // phpcs:ignore
200
  ),
201
  'main_image_url' => YITH_WCAN_ASSETS . 'images/get-premium-ajax-product-filter.jpg',
202
  );
203
 
204
+ $help_tab = array_merge(
205
+ array(
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
206
  'main_video' => array(
207
  'desc' => _x( 'Check this video to learn how to <b>create a filter preset and show it on the shop page:</b>', '[HELP TAB] Video title', 'yith-woocommerce-ajax-navigation' ),
208
  'url' => array(
217
  'es' => 'https://www.youtube.com/watch?v=7kX7nxBD2BA&list=PL9Ka3j92PYJOyeFNJRdW9oLPkhfyrXmL1',
218
  ),
219
  'hc_url' => 'https://support.yithemes.com/hc/en-us/categories/360003474618-YITH-WOOCOMMERCE-AJAX-PRODUCT-FILTER',
 
220
  ),
221
+ defined( 'YITH_WCAN_PREMIUM_INIT' ) ? array( 'doc_url' => 'https://docs.yithemes.com/yith-woocommerce-ajax-product-filter/' ) : array()
222
+ );
223
 
224
+ $args = array_merge(
225
+ array(
226
+ 'create_menu_page' => true,
227
+ 'parent_slug' => '',
228
+ 'page_title' => 'YITH WooCommerce Ajax Product Filter',
229
+ 'menu_title' => 'Ajax Product Filter',
230
+ 'plugin_description' => _x( 'It allows your users to find the product they are looking for as quickly as possible.', '[Admin] Plugin description', 'yith-woocommerce-ajax-navigation' ),
231
+ 'capability' => apply_filters( 'yith_wcan_panel_capability', 'manage_woocommerce' ),
232
+ 'parent' => '',
233
+ 'class' => function_exists( 'yith_set_wrapper_class' ) ? yith_set_wrapper_class() : '',
234
+ 'parent_page' => 'yit_plugin_panel',
235
+ 'admin-tabs' => apply_filters( 'yith_wcan_settings_tabs', $admin_tabs ),
236
+ 'options-path' => YITH_WCAN_DIR . '/plugin-options',
237
+ 'plugin_slug' => YITH_WCAN_SLUG,
238
+ 'plugin-url' => YITH_WCAN_URL,
239
+ 'is_extended' => defined( 'YITH_WCAN_EXTENDED' ),
240
+ 'is_premium' => defined( 'YITH_WCAN_PREMIUM' ),
241
+ 'page' => $this->panel_page,
242
+ 'help_tab' => $help_tab,
243
+ ),
244
+ ! defined( 'YITH_WCAN_PREMIUM' ) ? array( 'premium_tab' => $premium_tab ) : array()
245
  );
246
 
247
  $this->panel = new YIT_Plugin_Panel_WooCommerce( $args );
360
  include YITH_WCAN_DIR . 'templates/admin/preset-empty-content.php';
361
  }
362
 
 
 
 
 
 
 
 
 
 
363
  /**
364
  * Prints "Edit existing preset/Create new preset" tab
365
  *
541
  * @author Andrea Grillo <andrea.grillo@yithemes.com>
542
  * @use plugin_row_meta
543
  */
544
+ public function plugin_row_meta( $new_row_meta_args, $plugin_meta, $plugin_file, $plugin_data, $status, $init_file = 'YITH_WCAN_INIT' ) {
545
+ if ( ! defined( $init_file ) || constant( $init_file ) !== $plugin_file ) {
546
+ return $new_row_meta_args;
547
+ }
548
+
549
+ $new_row_meta_args['slug'] = 'yith-woocommerce-ajax-product-filter';
550
+ $new_row_meta_args['is_premium'] = defined( 'YITH_WCAN_PREMIUM' );
551
+ $new_row_meta_args['is_extended'] = defined( 'YITH_WCAN_EXTENDED' );
552
+
553
+ if ( defined( 'YITH_WCAN_FREE_INIT' ) ) {
554
+ $new_row_meta_args['support'] = array(
555
+ 'url' => 'https://wordpress.org/support/plugin/yith-woocommerce-ajax-navigation',
556
+ );
557
  }
558
 
559
  return $new_row_meta_args;
includes/class-yith-wcan-filter.php CHANGED
@@ -373,9 +373,35 @@ if ( ! class_exists( 'YITH_WCAN_Filter' ) ) {
373
  case 'names':
374
  case 'slugs':
375
  case 'count':
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
376
  case 'id=>parent':
377
  case 'id=>name':
378
  case 'id=>slug':
 
 
 
 
379
  $terms = get_terms(
380
  array_merge(
381
  array(
@@ -383,7 +409,7 @@ if ( ! class_exists( 'YITH_WCAN_Filter' ) ) {
383
  'fields' => $fields,
384
  'hide_empty' => false,
385
  ),
386
- $this->use_all_terms() ? array() : array(
387
  'include' => $term_ids,
388
  )
389
  )
@@ -393,6 +419,19 @@ if ( ! class_exists( 'YITH_WCAN_Filter' ) ) {
393
  return array();
394
  }
395
 
 
 
 
 
 
 
 
 
 
 
 
 
 
396
  return $terms;
397
  case 'id=>options':
398
  if ( ! $this->use_all_terms() ) {
@@ -996,13 +1035,16 @@ if ( ! class_exists( 'YITH_WCAN_Filter' ) ) {
996
  * @param string $filter_design Design of the filter.
997
  */
998
  public function set_filter_design( $filter_design ) {
999
- $supported_designs = array(
1000
- 'checkbox',
1001
- 'radio',
1002
- 'select',
1003
- 'text',
1004
- 'color',
1005
- 'label',
 
 
 
1006
  );
1007
 
1008
  if ( ! in_array( $filter_design, $supported_designs, true ) ) {
373
  case 'names':
374
  case 'slugs':
375
  case 'count':
376
+ if ( ! $term_ids && ! ( 'view' === $context && $this->use_all_terms() ) ) {
377
+ return array();
378
+ }
379
+
380
+ $terms = get_terms(
381
+ array_merge(
382
+ array(
383
+ 'taxonomy' => $taxonomy,
384
+ 'fields' => $fields,
385
+ 'hide_empty' => false,
386
+ ),
387
+ 'view' === $context && $this->use_all_terms() ? array() : array(
388
+ 'include' => $term_ids,
389
+ )
390
+ )
391
+ );
392
+
393
+ if ( is_wp_error( $terms ) ) {
394
+ return array();
395
+ }
396
+
397
+ return $terms;
398
  case 'id=>parent':
399
  case 'id=>name':
400
  case 'id=>slug':
401
+ if ( ! $term_ids && ! ( 'view' === $context && $this->use_all_terms() ) ) {
402
+ return array();
403
+ }
404
+
405
  $terms = get_terms(
406
  array_merge(
407
  array(
409
  'fields' => $fields,
410
  'hide_empty' => false,
411
  ),
412
+ 'view' === $context && $this->use_all_terms() ? array() : array(
413
  'include' => $term_ids,
414
  )
415
  )
419
  return array();
420
  }
421
 
422
+ if ( ! $this->use_all_terms() && $term_ids ) {
423
+ $sorted_terms = array();
424
+ foreach ( $term_ids as $term_id ) {
425
+ if ( ! isset( $terms[ $term_id ] ) ) {
426
+ continue;
427
+ }
428
+
429
+ $sorted_terms[ $term_id ] = $terms[ $term_id ];
430
+ }
431
+
432
+ $terms = $sorted_terms;
433
+ }
434
+
435
  return $terms;
436
  case 'id=>options':
437
  if ( ! $this->use_all_terms() ) {
1035
  * @param string $filter_design Design of the filter.
1036
  */
1037
  public function set_filter_design( $filter_design ) {
1038
+ $supported_designs = apply_filters(
1039
+ 'yith_wcan_set_supported_filter_design',
1040
+ array(
1041
+ 'checkbox',
1042
+ 'radio',
1043
+ 'select',
1044
+ 'text',
1045
+ 'color',
1046
+ 'label',
1047
+ )
1048
  );
1049
 
1050
  if ( ! in_array( $filter_design, $supported_designs, true ) ) {
includes/class-yith-wcan-frontend.php CHANGED
@@ -95,6 +95,7 @@ if ( ! class_exists( 'YITH_WCAN_Frontend' ) ) {
95
  add_action( 'wp_enqueue_scripts', array( $this, 'enqueue_styles_scripts' ) );
96
  add_action( 'body_class', array( $this, 'body_class' ) );
97
  add_action( 'wp_head', array( $this, 'add_meta' ) );
 
98
 
99
  // Template methods.
100
  add_action( 'init', array( $this, 'add_reset_button' ) );
@@ -491,6 +492,35 @@ if ( ! class_exists( 'YITH_WCAN_Frontend' ) ) {
491
  return $classes;
492
  }
493
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
494
  /**
495
  * Add custom meta to filtered page
496
  *
@@ -500,6 +530,10 @@ if ( ! class_exists( 'YITH_WCAN_Frontend' ) ) {
500
  $enable_seo = 'yes' === yith_wcan_get_option( 'yith_wcan_enable_seo' );
501
  $meta_options = yith_wcan_get_option( 'yith_wcan_seo_value', 'noindex-follow' );
502
 
 
 
 
 
503
  if ( $enable_seo && 'disabled' !== $meta_options && ( YITH_WCAN_Query()->is_filtered() || yith_wcan_can_be_displayed() && yit_is_filtered_uri() ) ) {
504
  $content = str_replace( '-', ', ', $meta_options );
505
  ?>
@@ -708,7 +742,7 @@ if ( ! class_exists( 'YITH_WCAN_Frontend' ) ) {
708
  // close :root directive.
709
  $template .= '}';
710
 
711
- return $template;
712
  }
713
 
714
  /* === TEMPLATE METHODS === */
95
  add_action( 'wp_enqueue_scripts', array( $this, 'enqueue_styles_scripts' ) );
96
  add_action( 'body_class', array( $this, 'body_class' ) );
97
  add_action( 'wp_head', array( $this, 'add_meta' ) );
98
+ add_action( 'wp_robots', array( $this, 'add_robots_directives' ) );
99
 
100
  // Template methods.
101
  add_action( 'init', array( $this, 'add_reset_button' ) );
492
  return $classes;
493
  }
494
 
495
+ /**
496
+ * Add robots directives to filtered pages
497
+ *
498
+ * @param array $directives Array of directives.
499
+ * @return array Filtered array of directives
500
+ */
501
+ public function add_robots_directives( $directives ) {
502
+ $enable_seo = 'yes' === yith_wcan_get_option( 'yith_wcan_enable_seo' );
503
+ $meta_options = yith_wcan_get_option( 'yith_wcan_seo_value', 'noindex-follow' );
504
+
505
+ if ( $enable_seo && 'disabled' !== $meta_options && ( YITH_WCAN_Query()->is_filtered() || yith_wcan_can_be_displayed() && yit_is_filtered_uri() ) ) {
506
+ $meta_options = explode( '-', $meta_options );
507
+
508
+ foreach ( $meta_options as $directive ) {
509
+ $directives[ $directive ] = true;
510
+
511
+ if ( 'follow' === $directive && ! empty( $directives['nofollow'] ) ) {
512
+ $directives['nofollow'] = false;
513
+ }
514
+
515
+ if ( 'nofollow' === $directive && ! empty( $directives['follow'] ) ) {
516
+ $directives['follow'] = false;
517
+ }
518
+ }
519
+ }
520
+
521
+ return $directives;
522
+ }
523
+
524
  /**
525
  * Add custom meta to filtered page
526
  *
530
  $enable_seo = 'yes' === yith_wcan_get_option( 'yith_wcan_enable_seo' );
531
  $meta_options = yith_wcan_get_option( 'yith_wcan_seo_value', 'noindex-follow' );
532
 
533
+ if ( function_exists( 'wp_robots_no_robots' ) ) {
534
+ return;
535
+ }
536
+
537
  if ( $enable_seo && 'disabled' !== $meta_options && ( YITH_WCAN_Query()->is_filtered() || yith_wcan_can_be_displayed() && yit_is_filtered_uri() ) ) {
538
  $content = str_replace( '-', ', ', $meta_options );
539
  ?>
742
  // close :root directive.
743
  $template .= '}';
744
 
745
+ return apply_filters( 'yith_wcan_custom_css', $template );
746
  }
747
 
748
  /* === TEMPLATE METHODS === */
includes/class-yith-wcan-query.php CHANGED
@@ -490,7 +490,7 @@ if ( ! class_exists( 'YITH_WCAN_Query' ) ) {
490
  * @return void
491
  */
492
  public function fill_query_vars( &$query ) {
493
- $query_vars = $this->get_query_vars();
494
 
495
  if ( empty( $query_vars ) ) {
496
  return;
@@ -786,7 +786,7 @@ if ( ! class_exists( 'YITH_WCAN_Query' ) ) {
786
  public function suppress_default_query_vars() {
787
  global $wp;
788
 
789
- if ( empty( $wp->request ) && $this->should_filter() && apply_filters( 'yith_wcan_suppress_default_query_vars', true ) ) {
790
  $wp->query_vars = array();
791
  }
792
  }
@@ -912,7 +912,7 @@ if ( ! class_exists( 'YITH_WCAN_Query' ) ) {
912
  * @return bool
913
  */
914
  public function is_filtered() {
915
- return $this->should_filter() && ! empty( $this->get_query_vars() );
916
  }
917
 
918
  /**
@@ -1222,7 +1222,9 @@ if ( ! class_exists( 'YITH_WCAN_Query' ) ) {
1222
  // perform basic sanitization.
1223
  $query = array_map(
1224
  function ( $string ) {
1225
- $string = str_replace( ' ', '+', $string );
 
 
1226
 
1227
  return wc_clean( $string );
1228
  },
@@ -1294,11 +1296,11 @@ if ( ! class_exists( 'YITH_WCAN_Query' ) ) {
1294
  * @author Antonio La Rocca <antonio.larocca@yithemes.com>
1295
  */
1296
  public static function instance() {
1297
- if ( is_null( self::$instance ) ) {
1298
- self::$instance = new self();
1299
  }
1300
 
1301
- return self::$instance;
1302
  }
1303
  }
1304
  }
@@ -1312,6 +1314,8 @@ if ( ! function_exists( 'YITH_WCAN_Query' ) ) {
1312
  function YITH_WCAN_Query() { // phpcs:ignore WordPress.NamingConventions.ValidFunctionName.FunctionNameInvalid
1313
  if ( defined( 'YITH_WCAN_PREMIUM' ) ) {
1314
  return YITH_WCAN_Query_Premium::instance();
 
 
1315
  }
1316
 
1317
  return YITH_WCAN_Query::instance();
490
  * @return void
491
  */
492
  public function fill_query_vars( &$query ) {
493
+ $query_vars = apply_filters( 'yith_wcan_query_vars_to_merge', $this->get_query_vars() );
494
 
495
  if ( empty( $query_vars ) ) {
496
  return;
786
  public function suppress_default_query_vars() {
787
  global $wp;
788
 
789
+ if ( empty( $wp->request ) && $this->should_filter() && get_option( 'permalink_structure' ) && apply_filters( 'yith_wcan_suppress_default_query_vars', true ) ) {
790
  $wp->query_vars = array();
791
  }
792
  }
912
  * @return bool
913
  */
914
  public function is_filtered() {
915
+ return apply_filters( 'yith_wcan_is_filtered', $this->should_filter() && ! empty( $this->get_query_vars() ) );
916
  }
917
 
918
  /**
1222
  // perform basic sanitization.
1223
  $query = array_map(
1224
  function ( $string ) {
1225
+ if ( is_scalar( $string ) ) {
1226
+ $string = str_replace( ' ', '+', $string );
1227
+ }
1228
 
1229
  return wc_clean( $string );
1230
  },
1296
  * @author Antonio La Rocca <antonio.larocca@yithemes.com>
1297
  */
1298
  public static function instance() {
1299
+ if ( is_null( static::$instance ) ) {
1300
+ static::$instance = new static();
1301
  }
1302
 
1303
+ return static::$instance;
1304
  }
1305
  }
1306
  }
1314
  function YITH_WCAN_Query() { // phpcs:ignore WordPress.NamingConventions.ValidFunctionName.FunctionNameInvalid
1315
  if ( defined( 'YITH_WCAN_PREMIUM' ) ) {
1316
  return YITH_WCAN_Query_Premium::instance();
1317
+ } elseif ( defined( 'YITH_WCAN_EXTENDED' ) ) {
1318
+ return YITH_WCAN_Query_Extended::instance();
1319
  }
1320
 
1321
  return YITH_WCAN_Query::instance();
includes/class-yith-wcan.php CHANGED
@@ -85,12 +85,6 @@ if ( ! class_exists( 'YITH_WCAN' ) ) {
85
 
86
  // register assets needed both on backend and frontend.
87
  add_action( 'init', array( $this, 'register_assets' ) );
88
-
89
- // register plugin to licence/update system.
90
- if ( defined( 'YITH_WCAN_INIT' ) ) {
91
- add_action( 'wp_loaded', array( $this, 'register_plugin_for_activation' ), 99 );
92
- add_action( 'admin_init', array( $this, 'register_plugin_for_updates' ) );
93
- }
94
  }
95
 
96
  /**
@@ -300,6 +294,10 @@ if ( ! class_exists( 'YITH_WCAN' ) ) {
300
 
301
  wp_register_style( 'yith-wcan-shortcodes', YITH_WCAN_URL . 'assets/css/shortcodes.css', array(), YITH_WCAN_VERSION );
302
  wp_register_script( 'yith-wcan-shortcodes', YITH_WCAN_URL . 'assets/js/yith-wcan-shortcodes' . $suffix . '.js', array( 'jquery', 'accounting', 'selectWoo' ), YITH_WCAN_VERSION, true );
 
 
 
 
303
  }
304
 
305
  /**
@@ -313,36 +311,6 @@ if ( ! class_exists( 'YITH_WCAN' ) ) {
313
  return WC_Query::get_layered_nav_chosen_attributes();
314
  }
315
 
316
- /**
317
- * Register plugins for activation tab
318
- *
319
- * @return void
320
- * @since 2.0.0
321
- * @author Andrea Grillo <andrea.grillo@yithemes.com>
322
- */
323
- public function register_plugin_for_activation() {
324
- if ( ! class_exists( 'YIT_Plugin_Licence' ) ) {
325
- require_once YITH_WCAN_DIR . 'plugin-fw/lib/yit-plugin-licence.php';
326
- }
327
-
328
- YIT_Plugin_Licence()->register( YITH_WCAN_INIT, YITH_WCAN_SECRET_KEY, YITH_WCAN_SLUG );
329
- }
330
-
331
- /**
332
- * Register plugins for update tab
333
- *
334
- * @return void
335
- * @since 2.0.0
336
- * @author Andrea Grillo <andrea.grillo@yithemes.com>
337
- */
338
- public function register_plugin_for_updates() {
339
- if ( ! class_exists( 'YIT_Upgrade' ) ) {
340
- require_once YITH_WCAN_DIR . 'plugin-fw/lib/yit-upgrade.php';
341
- }
342
-
343
- YIT_Upgrade()->register( YITH_WCAN_SLUG, YITH_WCAN_INIT );
344
- }
345
-
346
  /**
347
  * Return list of compatible plugins
348
  *
@@ -382,9 +350,10 @@ if ( ! class_exists( 'YITH_WCAN' ) ) {
382
  * @author Andrea Grillo <andrea.grillo@yithemes.com>
383
  */
384
  public static function instance() {
385
-
386
  if ( class_exists( 'YITH_WCAN_Premium' ) ) {
387
  return YITH_WCAN_Premium::instance();
 
 
388
  } else {
389
  if ( is_null( self::$instance ) ) {
390
  self::$instance = new self();
85
 
86
  // register assets needed both on backend and frontend.
87
  add_action( 'init', array( $this, 'register_assets' ) );
 
 
 
 
 
 
88
  }
89
 
90
  /**
294
 
295
  wp_register_style( 'yith-wcan-shortcodes', YITH_WCAN_URL . 'assets/css/shortcodes.css', array(), YITH_WCAN_VERSION );
296
  wp_register_script( 'yith-wcan-shortcodes', YITH_WCAN_URL . 'assets/js/yith-wcan-shortcodes' . $suffix . '.js', array( 'jquery', 'accounting', 'selectWoo' ), YITH_WCAN_VERSION, true );
297
+
298
+ if ( is_admin() ) {
299
+ wp_localize_script( 'yith-wcan-shortcodes', 'yith_wcan_shortcodes', array() );
300
+ }
301
  }
302
 
303
  /**
311
  return WC_Query::get_layered_nav_chosen_attributes();
312
  }
313
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
314
  /**
315
  * Return list of compatible plugins
316
  *
350
  * @author Andrea Grillo <andrea.grillo@yithemes.com>
351
  */
352
  public static function instance() {
 
353
  if ( class_exists( 'YITH_WCAN_Premium' ) ) {
354
  return YITH_WCAN_Premium::instance();
355
+ } elseif ( class_exists( 'YITH_WCAN_Extended' ) ) {
356
+ return YITH_WCAN_Extended::instance();
357
  } else {
358
  if ( is_null( self::$instance ) ) {
359
  self::$instance = new self();
includes/compatibility/themes/hello-elementor/hello-elementor.php CHANGED
@@ -19,7 +19,7 @@ if ( ! function_exists( 'yith_wcan_hello_elementor_content_selector' ) ) {
19
  * @return string Content selector.
20
  */
21
  function yith_wcan_hello_elementor_content_selector( $selector ) {
22
- $selector = 'main';
23
 
24
  return $selector;
25
  }
19
  * @return string Content selector.
20
  */
21
  function yith_wcan_hello_elementor_content_selector( $selector ) {
22
+ $selector = '#main';
23
 
24
  return $selector;
25
  }
includes/elementor/class-yith-wcan-elementor-filters.php CHANGED
@@ -81,8 +81,21 @@ if ( ! class_exists( 'YITH_WCAN_Elementor_Filters' ) ) {
81
  *
82
  * @since 1.0.0
83
  * @access protected
 
84
  */
85
- protected function register_controls() { // phpcs:ignore PSR2.Methods.MethodDeclaration.Underscore
 
 
 
 
 
 
 
 
 
 
 
 
86
  $presets = YITH_WCAN_Preset_Factory::list_presets();
87
  $presets_options = array_merge(
88
  array(
81
  *
82
  * @since 1.0.0
83
  * @access protected
84
+ * @deprecated Elementor 2.9.0
85
  */
86
+ protected function _register_controls() { // phpcs:ignore PSR2.Methods.MethodDeclaration.Underscore
87
+ $this->register_controls();
88
+ }
89
+
90
+ /**
91
+ * Register YITH_WCAN_Elementor_Filters widget controls.
92
+ *
93
+ * Adds different input fields to allow the user to change and customize the widget settings.
94
+ *
95
+ * @since 1.0.0
96
+ * @access protected
97
+ */
98
+ protected function register_controls() {
99
  $presets = YITH_WCAN_Preset_Factory::list_presets();
100
  $presets_options = array_merge(
101
  array(
includes/elementor/class-yith-wcan-elementor-reset-button.php CHANGED
@@ -81,8 +81,21 @@ if ( ! class_exists( 'YITH_WCAN_Elementor_Reset_Button' ) ) {
81
  *
82
  * @since 1.0.0
83
  * @access protected
 
84
  */
85
- protected function register_controls() { // phpcs:ignore PSR2.Methods.MethodDeclaration.Underscore
 
 
 
 
 
 
 
 
 
 
 
 
86
  $this->start_controls_section(
87
  'fields_section',
88
  array(
@@ -122,13 +135,24 @@ if ( ! class_exists( 'YITH_WCAN_Elementor_Reset_Button' ) ) {
122
  echo do_shortcode( '[yith_wcan_reset_button]' );
123
  }
124
 
 
 
 
 
 
 
 
 
 
 
 
125
  /**
126
  * Render YITH_WCAN_Elementor_Reset_Button widget output on the Elementor editor.
127
  *
128
  * @since 1.0.0
129
  * @access protected
130
  */
131
- protected function content_template() { // phpcs:ignore PSR2.Methods.MethodDeclaration.Underscore
132
  $frontend = new YITH_WCAN_Frontend();
133
 
134
  $_GET['min_price'] = 10;
81
  *
82
  * @since 1.0.0
83
  * @access protected
84
+ * @deprecated Elementor 2.9.0
85
  */
86
+ protected function _register_controls() { // phpcs:ignore PSR2.Methods.MethodDeclaration.Underscore
87
+ $this->register_controls();
88
+ }
89
+
90
+ /**
91
+ * Register YITH_WCAN_Elementor_Reset_Button widget controls.
92
+ *
93
+ * Adds different input fields to allow the user to change and customize the widget settings.
94
+ *
95
+ * @since 1.0.0
96
+ * @access protected
97
+ */
98
+ protected function register_controls() {
99
  $this->start_controls_section(
100
  'fields_section',
101
  array(
135
  echo do_shortcode( '[yith_wcan_reset_button]' );
136
  }
137
 
138
+ /**
139
+ * Render YITH_WCAN_Elementor_Reset_Button widget output on the Elementor editor.
140
+ *
141
+ * @since 1.0.0
142
+ * @access protected
143
+ * @deprecated Elementor 2.9.0
144
+ */
145
+ protected function _content_template() { // phpcs:ignore PSR2.Methods.MethodDeclaration.Underscore
146
+ $this->content_template();
147
+ }
148
+
149
  /**
150
  * Render YITH_WCAN_Elementor_Reset_Button widget output on the Elementor editor.
151
  *
152
  * @since 1.0.0
153
  * @access protected
154
  */
155
+ protected function content_template() {
156
  $frontend = new YITH_WCAN_Frontend();
157
 
158
  $_GET['min_price'] = 10;
includes/filters/class-yith-wcan-filter-tax.php CHANGED
@@ -341,7 +341,7 @@ if ( ! class_exists( 'YITH_WCAN_Filter_Tax' ) ) {
341
  * @return bool
342
  */
343
  public function has_relevant_terms() {
344
- return ! ! $this->get_formatted_terms();
345
  }
346
 
347
  /**
@@ -355,6 +355,7 @@ if ( ! class_exists( 'YITH_WCAN_Filter_Tax' ) ) {
355
  }
356
 
357
  $hide_empty = 'yes' === yith_wcan_get_option( 'yith_wcan_hide_empty_terms', 'no' );
 
358
  $terms = $this->get_terms_options();
359
  $children = array();
360
  $result = array();
@@ -362,7 +363,7 @@ if ( ! class_exists( 'YITH_WCAN_Filter_Tax' ) ) {
362
  $sorted_terms = get_terms(
363
  array_merge(
364
  array(
365
- 'taxonomy' => $this->get_taxonomy(),
366
  'order' => $this->get_order(),
367
  'number' => apply_filters( 'yith_wcan_filter_tax_term_limit', 0 ),
368
  'fields' => 'ids',
@@ -469,7 +470,8 @@ if ( ! class_exists( 'YITH_WCAN_Filter_Tax' ) ) {
469
  'include' => array_keys( $terms ),
470
  ),
471
  'term_order' === $this->get_order_by() ? array(
472
- 'orderby' => 'include',
 
473
  ) : array(
474
  'orderby' => $this->get_order_by(),
475
  )
@@ -535,15 +537,17 @@ if ( ! class_exists( 'YITH_WCAN_Filter_Tax' ) ) {
535
  * Checks whether term should be hidden
536
  *
537
  * @param array $term_options Array describing term and its options.
538
- * @return bool Whther to hide term or not
539
  */
540
  protected function is_term_hidden( $term_options ) {
 
 
541
  // hide when term doesn't match current selection.
542
  if ( 'hide' === $this->get_adoptive() && ! $term_options['count'] && empty( $term_options['children'] ) ) {
543
- return true;
544
  }
545
 
546
- return false;
547
  }
548
  }
549
  }
341
  * @return bool
342
  */
343
  public function has_relevant_terms() {
344
+ return apply_filters( 'yith_wcan_filter_has_relevant_terms', ! ! $this->get_formatted_terms(), $this );
345
  }
346
 
347
  /**
355
  }
356
 
357
  $hide_empty = 'yes' === yith_wcan_get_option( 'yith_wcan_hide_empty_terms', 'no' );
358
+ $taxonomy = $this->get_taxonomy();
359
  $terms = $this->get_terms_options();
360
  $children = array();
361
  $result = array();
363
  $sorted_terms = get_terms(
364
  array_merge(
365
  array(
366
+ 'taxonomy' => $taxonomy,
367
  'order' => $this->get_order(),
368
  'number' => apply_filters( 'yith_wcan_filter_tax_term_limit', 0 ),
369
  'fields' => 'ids',
470
  'include' => array_keys( $terms ),
471
  ),
472
  'term_order' === $this->get_order_by() ? array(
473
+ 'orderby' => 'meta_value_num',
474
+ 'meta_key' => 'order', // phpcs:ignore WordPress.DB.SlowDBQuery.slow_db_query_meta_key
475
  ) : array(
476
  'orderby' => $this->get_order_by(),
477
  )
537
  * Checks whether term should be hidden
538
  *
539
  * @param array $term_options Array describing term and its options.
540
+ * @return bool Whether to hide term or not
541
  */
542
  protected function is_term_hidden( $term_options ) {
543
+ $hidden = false;
544
+
545
  // hide when term doesn't match current selection.
546
  if ( 'hide' === $this->get_adoptive() && ! $term_options['count'] && empty( $term_options['children'] ) ) {
547
+ $hidden = true;
548
  }
549
 
550
+ return apply_filters( 'yith_wcan_filter_tax_is_term_hidden', $hidden, $term_options );
551
  }
552
  }
553
  }
includes/functions-yith-wcan.php CHANGED
@@ -805,6 +805,12 @@ if ( ! function_exists( 'yith_wcan_is_product_attribute' ) ) {
805
  * @return bool
806
  */
807
  function yith_wcan_is_product_attribute( $attribute = '' ) {
 
 
 
 
 
 
808
  return preg_match( '/pa_' . $attribute . '.*/', get_query_var( 'taxonomy' ) );
809
  }
810
  }
805
  * @return bool
806
  */
807
  function yith_wcan_is_product_attribute( $attribute = '' ) {
808
+ global $wp_query;
809
+
810
+ if ( ! $wp_query ) {
811
+ return false;
812
+ }
813
+
814
  return preg_match( '/pa_' . $attribute . '.*/', get_query_var( 'taxonomy' ) );
815
  }
816
  }
init.php CHANGED
@@ -3,14 +3,14 @@
3
  * Plugin Name: YITH WooCommerce Ajax Product Filter
4
  * Plugin URI: https://wordpress.org/plugins/yith-woocommerce-ajax-navigation/
5
  * Description: <code><strong>YITH WooCommerce AJAX Product Filter</strong></code> allows your users to find the product they are looking for as quickly as possible. Thanks to the plugin you will be able to set up one or more search filters for your WooCommerce products and improve the user experience of your shop. <a href="https://yithemes.com/" target="_blank">Get more plugins for your e-commerce shop on <strong>YITH</strong></a>
6
- * Version: 4.12.0
7
  * Author: YITH
8
  * Author URI: https://yithemes.com/
9
  * Text Domain: yith-woocommerce-ajax-navigation
10
  * Domain Path: /languages/
11
  *
12
- * WC requires at least: 6.5
13
- * WC tested up to: 6.7
14
  *
15
  * @author YITH
16
  * @package YITH\AjaxProductFilter
@@ -45,10 +45,11 @@ if ( ! defined( 'ABSPATH' ) ) {
45
  ! defined( 'YITH_WCAN_DIR' ) && define( 'YITH_WCAN_DIR', plugin_dir_path( __FILE__ ) );
46
  ! defined( 'YITH_WCAN_INC' ) && define( 'YITH_WCAN_INC', YITH_WCAN_DIR . 'includes/' );
47
  ! defined( 'YITH_WCAN_ASSETS' ) && define( 'YITH_WCAN_ASSETS', YITH_WCAN_URL . 'assets/' );
48
- ! defined( 'YITH_WCAN_VERSION' ) && define( 'YITH_WCAN_VERSION', '4.12.0' );
49
- ! defined( 'YITH_WCAN_FREE_INIT' ) && define( 'YITH_WCAN_FREE_INIT', plugin_basename( __FILE__ ) );
50
  ! defined( 'YITH_WCAN_FILE' ) && define( 'YITH_WCAN_FILE', __FILE__ );
51
  ! defined( 'YITH_WCAN_SLUG' ) && define( 'YITH_WCAN_SLUG', 'yith-woocommerce-ajax-navigation' );
 
 
52
 
53
  // define required functions.
54
 
@@ -66,7 +67,7 @@ if ( ! function_exists( 'yith_wcan_register_activation' ) ) {
66
  require_once 'plugin-fw/yit-plugin-registration-hook.php';
67
  }
68
 
69
- register_activation_hook( YITH_WCAN_FILE, 'yith_plugin_registration_hook' );
70
  }
71
  }
72
 
@@ -77,24 +78,23 @@ if ( ! function_exists( 'yith_wcan_free_install' ) ) {
77
  * @return void
78
  *
79
  * @since 4.0
80
- * @author Andrea Grillo <andrea.grillo@yithemes.com>
81
  */
82
  function yith_wcan_free_install() {
 
 
 
83
 
84
  if ( ! function_exists( 'WC' ) ) {
85
  add_action( 'admin_notices', 'yith_wcan_install_woocommerce_admin_notice' );
86
- } elseif ( defined( 'YITH_WCAN_PREMIUM' ) ) {
87
- add_action( 'admin_notices', 'yith_wcan_deactivate_free_version' );
88
- deactivate_plugins( plugin_basename( __FILE__ ) );
89
  } else {
90
  /**
91
  * Instance main plugin class
92
  */
93
  global $yith_wcan;
94
 
95
- // load plugin text domain.
96
- load_plugin_textdomain( 'yith-woocommerce-ajax-navigation', false, dirname( plugin_basename( __FILE__ ) ) . '/languages/' );
97
-
98
  $yith_wcan = yith_wcan_initialize();
99
  }
100
  }
@@ -108,9 +108,21 @@ if ( ! function_exists( 'yith_wcan_initialize' ) ) {
108
  * @since 1.0.0
109
  */
110
  function yith_wcan_initialize() {
111
- // Load required classes and functions.
 
 
 
112
  require_once YITH_WCAN_INC . 'class-yith-wcan.php';
113
 
 
 
 
 
 
 
 
 
 
114
  return YITH_WCAN();
115
  }
116
  }
@@ -134,37 +146,40 @@ if ( ! function_exists( 'yith_wcan_install_plugin_framework' ) ) {
134
  }
135
  }
136
 
137
- if ( ! function_exists( 'yith_wcan_deactivate_free_version' ) ) {
138
  /**
139
- * Print an admin notice if trying to activate free version when premium is already enabled
140
  *
141
  * @return void
142
- * @use admin_notices hooks
143
- * @since 1.0
144
  * @author Andrea Grillo <andrea.grillo@yithemes.com>
 
 
145
  */
146
- function yith_wcan_deactivate_free_version() {
147
  ?>
148
  <div class="error">
149
- <p><?php esc_html_e( 'You can\'t activate the free version of YITH WooCommerce Ajax Product Filter while you are using the premium one.', 'yith-wocc' ); ?></p>
150
  </div>
151
  <?php
152
  }
153
  }
154
 
155
- if ( ! function_exists( 'yith_wcan_install_woocommerce_admin_notice' ) ) {
156
  /**
157
- * Print an admin notice if woocommerce is deactivated
158
  *
159
  * @return void
160
  * @use admin_notices hooks
161
  * @since 1.0
162
  * @author Andrea Grillo <andrea.grillo@yithemes.com>
163
  */
164
- function yith_wcan_install_woocommerce_admin_notice() {
165
  ?>
166
- <div class="error">
167
- <p><?php esc_html_e( 'YITH WooCommerce Ajax Product Filter is enabled but not effective. It requires WooCommerce in order to work.', 'yith-woocommerce-ajax-navigation' ); ?></p>
 
 
168
  </div>
169
  <?php
170
  }
3
  * Plugin Name: YITH WooCommerce Ajax Product Filter
4
  * Plugin URI: https://wordpress.org/plugins/yith-woocommerce-ajax-navigation/
5
  * Description: <code><strong>YITH WooCommerce AJAX Product Filter</strong></code> allows your users to find the product they are looking for as quickly as possible. Thanks to the plugin you will be able to set up one or more search filters for your WooCommerce products and improve the user experience of your shop. <a href="https://yithemes.com/" target="_blank">Get more plugins for your e-commerce shop on <strong>YITH</strong></a>
6
+ * Version: 4.13.0
7
  * Author: YITH
8
  * Author URI: https://yithemes.com/
9
  * Text Domain: yith-woocommerce-ajax-navigation
10
  * Domain Path: /languages/
11
  *
12
+ * WC requires at least: 6.6
13
+ * WC tested up to: 6.8
14
  *
15
  * @author YITH
16
  * @package YITH\AjaxProductFilter
45
  ! defined( 'YITH_WCAN_DIR' ) && define( 'YITH_WCAN_DIR', plugin_dir_path( __FILE__ ) );
46
  ! defined( 'YITH_WCAN_INC' ) && define( 'YITH_WCAN_INC', YITH_WCAN_DIR . 'includes/' );
47
  ! defined( 'YITH_WCAN_ASSETS' ) && define( 'YITH_WCAN_ASSETS', YITH_WCAN_URL . 'assets/' );
48
+ ! defined( 'YITH_WCAN_VERSION' ) && define( 'YITH_WCAN_VERSION', '4.13.0' );
 
49
  ! defined( 'YITH_WCAN_FILE' ) && define( 'YITH_WCAN_FILE', __FILE__ );
50
  ! defined( 'YITH_WCAN_SLUG' ) && define( 'YITH_WCAN_SLUG', 'yith-woocommerce-ajax-navigation' );
51
+ ! defined( 'YITH_WCAN_INIT' ) && define( 'YITH_WCAN_INIT', plugin_basename( __FILE__ ) );
52
+ ! defined( 'YITH_WCAN_FREE_INIT' ) && define( 'YITH_WCAN_FREE_INIT', plugin_basename( __FILE__ ) );
53
 
54
  // define required functions.
55
 
67
  require_once 'plugin-fw/yit-plugin-registration-hook.php';
68
  }
69
 
70
+ register_activation_hook( __FILE__, 'yith_plugin_registration_hook' );
71
  }
72
  }
73
 
78
  * @return void
79
  *
80
  * @since 4.0
81
+ * @author Antonio La Rocca <antonio.larocca@yithemes.com>
82
  */
83
  function yith_wcan_free_install() {
84
+ if ( ! function_exists( 'yith_deactivate_plugins' ) ) {
85
+ require_once 'plugin-fw/yit-deactive-plugin.php';
86
+ }
87
 
88
  if ( ! function_exists( 'WC' ) ) {
89
  add_action( 'admin_notices', 'yith_wcan_install_woocommerce_admin_notice' );
90
+ } elseif ( defined( 'YITH_WCAN_PREMIUM' ) || defined( 'YITH_WCAN_EXTENDED' ) ) {
91
+ yith_deactivate_plugins( 'YITH_WCAN_FREE_INIT' );
 
92
  } else {
93
  /**
94
  * Instance main plugin class
95
  */
96
  global $yith_wcan;
97
 
 
 
 
98
  $yith_wcan = yith_wcan_initialize();
99
  }
100
  }
108
  * @since 1.0.0
109
  */
110
  function yith_wcan_initialize() {
111
+ // load plugin text domain.
112
+ load_plugin_textdomain( 'yith-woocommerce-ajax-navigation', false, dirname( plugin_basename( __FILE__ ) ) . '/languages/' );
113
+
114
+ // load required classes and functions.
115
  require_once YITH_WCAN_INC . 'class-yith-wcan.php';
116
 
117
+ if ( defined( 'YITH_WCAN_PREMIUM' ) && file_exists( YITH_WCAN_DIR . 'includes/class-yith-wcan-premium.php' ) ) {
118
+ require_once YITH_WCAN_INC . 'class-yith-wcan-extended.php';
119
+ require_once YITH_WCAN_INC . 'class-yith-wcan-premium.php';
120
+ return YITH_WCAN_Premium();
121
+ } elseif ( defined( 'YITH_WCAN_EXTENDED' ) && file_exists( YITH_WCAN_DIR . 'includes/class-yith-wcan-extended.php' ) ) {
122
+ require_once YITH_WCAN_INC . 'class-yith-wcan-extended.php';
123
+ return YITH_WCAN_Extended();
124
+ }
125
+
126
  return YITH_WCAN();
127
  }
128
  }
146
  }
147
  }
148
 
149
+ if ( ! function_exists( 'yith_wcan_install_woocommerce_admin_notice' ) ) {
150
  /**
151
+ * Print an admin notice if woocommerce is deactivated
152
  *
153
  * @return void
154
+ *
 
155
  * @author Andrea Grillo <andrea.grillo@yithemes.com>
156
+ * @since 1.0
157
+ * @use admin_notices hooks
158
  */
159
+ function yith_wcan_install_woocommerce_admin_notice() {
160
  ?>
161
  <div class="error">
162
+ <p><?php esc_html_e( 'YITH WooCommerce Ajax Product Filter is enabled but not effective. It requires WooCommerce in order to work.', 'yith-woocommerce-ajax-navigation' ); ?></p>
163
  </div>
164
  <?php
165
  }
166
  }
167
 
168
+ if ( ! function_exists( 'yith_wcan_deactivate_lower_tier_notice' ) ) {
169
  /**
170
+ * Print an admin notice if trying to activate this version when an higher tier is already enabled
171
  *
172
  * @return void
173
  * @use admin_notices hooks
174
  * @since 1.0
175
  * @author Andrea Grillo <andrea.grillo@yithemes.com>
176
  */
177
+ function yith_wcan_deactivate_lower_tier_notice() {
178
  ?>
179
+ <div class="notice">
180
+ <p>
181
+ <?php esc_html_e( 'YITH WooCommerce Ajax Product Filter was deactivated as you\'re running an higher tier version of the same plugin.', 'yith-woocommerce-ajax-navigation' ); ?>
182
+ </p>
183
  </div>
184
  <?php
185
  }
languages/yith-woocommerce-ajax-navigation-de_DE.po CHANGED
@@ -5,7 +5,7 @@ msgstr ""
5
  "Project-Id-Version: YITH WooCommerce Ajax Product Filter\n"
6
  "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/yith-woocommerce-"
7
  "ajax-product-filter\n"
8
- "POT-Creation-Date: 2022-06-16 10:00:28+00:00\n"
9
  "PO-Revision-Date: 2021-03-02 11:03+0100\n"
10
  "Last-Translator: \n"
11
  "Language-Team: \n"
@@ -16,66 +16,66 @@ msgstr ""
16
  "Plural-Forms: nplurals=2; plural=n != 1;\n"
17
  "X-Generator: Poedit 2.4.2\n"
18
 
19
- #: includes/class-yith-wcan-admin.php:191
20
  msgid ""
21
  "<b>100% mobile friendly:</b> Show filters in a modal view which is purposely "
22
  "designed for users visiting your site by smartphones or tablets"
23
  msgstr ""
24
 
25
- #: includes/class-yith-wcan-admin.php:192
26
  msgid ""
27
  "Show filters in the default layout or also in an <b>horizontal toolbar above "
28
  "products</b> (like Zalando)"
29
  msgstr ""
30
 
31
- #: includes/class-yith-wcan-admin.php:193
32
  msgid ""
33
  "Allow customers to <b>filter for price ranges</b> (unlimited ranges and the "
34
- "last range can show: “& above”) or using the <b>price slider</b>\n"
35
  msgstr ""
36
 
37
- #: includes/class-yith-wcan-admin.php:195
38
  msgid ""
39
  "Allow customers to <b>filter for review</b> and <b>for brand</b> (with the "
40
  "support to YITH WooCommerce Brands plugin)"
41
  msgstr ""
42
 
43
- #: includes/class-yith-wcan-admin.php:196
44
  msgid ""
45
  "Allow users to <b>order products</b> (by popularity, date, price, date of "
46
  "publishing, average rating, etc) and see only \tproducts in stock/featured/"
47
  "on sale"
48
  msgstr ""
49
 
50
- #: includes/class-yith-wcan-admin.php:197
51
  msgid ""
52
  "<b>Show the active filters</b> (with X to remove them) and choose their "
53
  "position (above products, above or under filters area)"
54
  msgstr ""
55
 
56
- #: includes/class-yith-wcan-admin.php:198
57
  msgid ""
58
  "Create <b>color swatches with image support</b> (to better identify "
59
  "gradients, textures, patterns, etc.) and with 2 colors"
60
  msgstr ""
61
 
62
- #: includes/class-yith-wcan-admin.php:199
63
  msgid "Show the options using <b>custom images or icons</b>"
64
  msgstr ""
65
 
66
- #: includes/class-yith-wcan-admin.php:200
67
  msgid ""
68
  "Choose the <b>order of the options</b> (alphabetical, terms order, terms "
69
  "count, etc.), enable tooltips and show each set of filters in toggle"
70
  msgstr ""
71
 
72
- #: includes/class-yith-wcan-admin.php:201
73
  msgid ""
74
  "Choose how to manage terms not availables: hide them OR shown them in grey "
75
  "color and not clickables "
76
  msgstr ""
77
 
78
- #: includes/class-yith-wcan-admin.php:202
79
  msgid "<b>Regular updates, Translations and Premium Support</b>"
80
  msgstr ""
81
 
@@ -170,13 +170,7 @@ msgstr "Alle Filter zurücksetzen"
170
  msgid "Button Label"
171
  msgstr "Button-Beschriftung"
172
 
173
- #: init.php:149
174
- msgid ""
175
- "You can't activate the free version of YITH WooCommerce Ajax Product Filter "
176
- "while you are using the premium one."
177
- msgstr ""
178
-
179
- #: init.php:167
180
  #, fuzzy
181
  msgid ""
182
  "YITH WooCommerce Ajax Product Filter is enabled but not effective. It "
@@ -185,6 +179,12 @@ msgstr ""
185
  "YITH WooCommerce AJAX Product Filter ist aktiviert, aber nicht nutzbar. Es "
186
  "wird WooCommerce benötigt."
187
 
 
 
 
 
 
 
188
  #. Description of the plugin/theme
189
  msgid ""
190
  "<code><strong>YITH WooCommerce AJAX Product Filter</strong></code> allows "
@@ -202,66 +202,73 @@ msgstr ""
202
  "\"https://yithemes.com/\" target=\"_blank\">Weitere Plugins für deinen E-"
203
  "Commerce-Shop erhältst du bei <strong>YITH</strong></a>"
204
 
205
- #: includes/class-yith-wcan-admin.php:106
206
  msgctxt "[Admin] Copy confirmation message"
207
  msgid "Content copied to your clipboard"
208
  msgstr "Inhalt in die Zwischenablage kopiert"
209
 
210
- #: includes/class-yith-wcan-admin.php:107
211
  msgctxt "[Admin] Confirm filter delete message"
212
  msgid "Are you sure you want to delete this item?"
213
  msgstr "Bist du sicher, dass du dieses Element löschen möchtest?"
214
 
215
  #. translators: 1. Number of items that will be added.
216
- #: includes/class-yith-wcan-admin.php:109
217
  msgctxt "[Admin] Confirm add all terms message"
218
  msgid "Are you sure you want to proceed? This operation will add %s items"
219
  msgstr ""
220
  "Bist du sicher, dass du fortfahren möchtest? Dieser Vorgang wird %s Elemente "
221
  "hinzufügen"
222
 
223
- #: includes/class-yith-wcan-admin.php:110
224
  msgctxt "[Admin] Error message"
225
  msgid "\"Filter title\" is a required field"
226
  msgstr ""
227
 
228
- #: includes/class-yith-wcan-admin.php:113 templates/admin/preset-filter.php:33
229
  msgctxt "[Admin] Message shown when filter has empty title"
230
  msgid "&lt; no title &gt;"
231
  msgstr "&lt; Kein Titel &gt;"
232
 
233
- #: includes/class-yith-wcan-admin.php:114
234
  msgctxt "[Admin] Media library title, when selecting images"
235
  msgid "Select media you want to use"
236
  msgstr "Die zu verwendenden Medien auswählen"
237
 
238
- #: includes/class-yith-wcan-admin.php:115
239
  msgctxt "[Admin] Media library confirm button, when selecting images"
240
  msgid "Use this media"
241
  msgstr "Dieses Medium verwenden"
242
 
243
- #: includes/class-yith-wcan-admin.php:179
244
  msgctxt "[Admin] tab name"
245
  msgid "Filter presets"
246
  msgstr "Filter-Presets"
247
 
248
- #: includes/class-yith-wcan-admin.php:180
249
  msgctxt "[Admin] tab name"
250
  msgid "General settings"
251
  msgstr "Allgemeine Einstellungen"
252
 
253
- #: includes/class-yith-wcan-admin.php:181
254
  #, fuzzy
255
  msgctxt "[Admin] tab name"
256
  msgid "SEO"
257
  msgstr "SEO"
258
 
259
- #: includes/class-yith-wcan-admin.php:185
260
  msgctxt "[Admin] tab name"
261
  msgid "Legacy"
262
  msgstr "Legacy"
263
 
264
- #: includes/class-yith-wcan-admin.php:212
 
 
 
 
 
 
 
265
  msgctxt "[Admin] Plugin description"
266
  msgid ""
267
  "It allows your users to find the product they are looking for as quickly as "
@@ -270,44 +277,37 @@ msgstr ""
270
  "Ermöglicht deinen Benutzern, das gesuchte Produkt so schnell wie möglich zu "
271
  "finden."
272
 
273
- #: includes/class-yith-wcan-admin.php:225
274
- msgctxt "[HELP TAB] Video title"
275
- msgid ""
276
- "Check this video to learn how to <b>create a filter preset and show it on "
277
- "the shop page:</b>"
278
- msgstr ""
279
-
280
- #: includes/class-yith-wcan-admin.php:344
281
  msgctxt "[Admin] Generic item name, in \"You have no x yet\""
282
  msgid "item"
283
  msgstr "Artikel"
284
 
285
- #: includes/class-yith-wcan-admin.php:345
286
  msgctxt "[Admin] Preset table empty message second line"
287
  msgid "But don't worry, here you can create your first one!"
288
  msgstr "Aber keine Sorge, hier kannst du deine erste erstellen!"
289
 
290
- #: includes/class-yith-wcan-admin.php:495
291
  msgctxt "[ADMIN] WooCommerce Tools tab, name of the tool"
292
  msgid "Clear Product Filter transients"
293
  msgstr "Produktfilter-Tansients löschen"
294
 
295
- #: includes/class-yith-wcan-admin.php:501
296
  msgctxt "[ADMIN] WooCommerce Tools tab, name of the tool"
297
  msgid "Run filter widgets upgrade"
298
  msgstr "Upgrade der Filter-Widgets ausführen"
299
 
300
- #: includes/class-yith-wcan-admin.php:496
301
  msgctxt "[ADMIN] WooCommerce Tools tab, button for the tool"
302
  msgid "Clear"
303
  msgstr "Löschen"
304
 
305
- #: includes/class-yith-wcan-admin.php:502
306
  msgctxt "[ADMIN] WooCommerce Tools tab, button for the tool"
307
  msgid "Run"
308
  msgstr "Start"
309
 
310
- #: includes/class-yith-wcan-admin.php:497
311
  msgctxt "[ADMIN] WooCommerce Tools tab, description of the tool"
312
  msgid ""
313
  "This will clear all transients related to the YITH WooCommerce AJAX Product "
@@ -319,7 +319,7 @@ msgstr ""
319
  "Konfiguration deines Produkts geändert hast und die Filter nicht die "
320
  "erwarteten Ergebnisse anzeigen. "
321
 
322
- #: includes/class-yith-wcan-admin.php:503
323
  msgctxt "[ADMIN] WooCommerce Tools tab, description of the tool"
324
  msgid ""
325
  "This will create a preset for any sidebar of your shop containing filter "
@@ -571,51 +571,51 @@ msgctxt "[Admin] Default filter title"
571
  msgid "New filter"
572
  msgstr "Neuer Filter"
573
 
574
- #: includes/class-yith-wcan-frontend.php:591
575
  #: includes/filters/class-yith-wcan-filter-tax.php:62
576
  msgctxt "[FRONTEND] \"All\" label shown when no term is selected"
577
  msgid "All"
578
  msgstr "Alle"
579
 
580
- #: includes/class-yith-wcan-frontend.php:592
581
  msgctxt "[FRONTEND] Search placeholder shown in terms dropdown"
582
  msgid "Search..."
583
  msgstr "Suchen..."
584
 
585
- #: includes/class-yith-wcan-frontend.php:593
586
  msgctxt "[FRONTEND] Empty items list in the dropdown"
587
  msgid "No item found"
588
  msgstr "Kein Artikel gefunden"
589
 
590
  #. translators: 1. Number of items to show.
591
- #: includes/class-yith-wcan-frontend.php:595
592
  msgctxt "[FRONTEND] Show more link on terms dropdown"
593
  msgid "Show %d more"
594
  msgstr "%d mehr anzeigen"
595
 
596
- #: includes/class-yith-wcan-frontend.php:596
597
  msgctxt "[FRONTEND] Alt text for modal close button on mobile"
598
  msgid "Close"
599
  msgstr "Schließen"
600
 
601
- #: includes/class-yith-wcan-frontend.php:597
602
  msgctxt "[FRONTEND] Label for filter button, on horizontal layout"
603
  msgid "Save"
604
  msgstr ""
605
 
606
- #: includes/class-yith-wcan-frontend.php:598
607
  msgctxt "[FRONTEND] Label for filter button, on mobile modal"
608
  msgid "Show results"
609
  msgstr "Ergebnisse anzeigen"
610
 
611
- #: includes/class-yith-wcan-frontend.php:599
612
  msgctxt ""
613
  "[FRONTEND] Label for clear selection link, that appears above filter after "
614
  "selection"
615
  msgid "Clear"
616
  msgstr "Löschen"
617
 
618
- #: includes/class-yith-wcan-frontend.php:600
619
  msgctxt ""
620
  "[FRONTEND] Label for clear selection link, that appears above filter after "
621
  "selection"
@@ -698,28 +698,28 @@ msgctxt "[ADMIN] Name of the preset elementor widget"
698
  msgid "YITH AJAX Filters Reset Button"
699
  msgstr "YITH AJAX-Filter Reset-Button"
700
 
701
- #: includes/elementor/class-yith-wcan-elementor-filters.php:89
702
  #: includes/shortcodes/class-yith-wcan-shortcode-filters.php:60
703
  msgctxt "[ELEMENTOR] Default preset option"
704
  msgid "Choose an option"
705
  msgstr "Wähle eine Option"
706
 
707
- #: includes/elementor/class-yith-wcan-elementor-filters.php:97
708
  msgctxt "[ELEMENTOR] Section title"
709
  msgid "Filters"
710
  msgstr "Filter"
711
 
712
- #: includes/elementor/class-yith-wcan-elementor-reset-button.php:89
713
  msgctxt "[ELEMENTOR] Section title"
714
  msgid "General"
715
  msgstr "Allgemein"
716
 
717
- #: includes/elementor/class-yith-wcan-elementor-filters.php:105
718
  msgctxt "[ELEMENTOR] Control label"
719
  msgid "Preset"
720
  msgstr "Preset"
721
 
722
- #: includes/elementor/class-yith-wcan-elementor-reset-button.php:100
723
  msgctxt "[ELEMENTOR] Widget description"
724
  msgid ""
725
  "This widget will display \"Filters reset\" button, wherever it is placed"
@@ -727,7 +727,7 @@ msgstr ""
727
  "Dieses Widget zeigt den Button \"Filter zurücksetzen\" an, wo immer es "
728
  "platziert wird"
729
 
730
- #: includes/elementor/class-yith-wcan-elementor-reset-button.php:103
731
  msgctxt "[ELEMENTOR] Widget description"
732
  msgid ""
733
  "It will allow users to reset the filer selection; it will only appear when "
@@ -736,7 +736,7 @@ msgstr ""
736
  "Wird es dem Benutzer ermöglichen, die Auswahl des Filters zurückzusetzen; es "
737
  "erscheint nur, wenn ein Filter aktiv ist. "
738
 
739
- #: includes/elementor/class-yith-wcan-elementor-reset-button.php:107
740
  msgctxt "[ELEMENTOR] Widget description"
741
  msgid ""
742
  "You can use this block to place \"Reset filters\" button inside your page, "
@@ -756,7 +756,7 @@ msgctxt "For multicolor: I.E. white and red T-Shirt"
756
  msgid "Color 2"
757
  msgstr "Farbe 2"
758
 
759
- #: includes/functions-yith-wcan.php:1026
760
  msgctxt "[FRONTEND] Star rating template"
761
  msgid "star"
762
  msgid_plural "stars"
@@ -764,7 +764,7 @@ msgstr[0] "Stern"
764
  msgstr[1] "Sternen"
765
 
766
  #. translators: 1. Rating.
767
- #: includes/functions-yith-wcan.php:1041
768
  msgctxt "[FRONTEND] Star rating label"
769
  msgid "Rated %s out of 5"
770
  msgstr "Bewertet mit %s von 5"
@@ -1112,23 +1112,23 @@ msgstr ""
1112
  "Wenn aktiviert wird das Attribut rel=\"nofollow\"für alle Filter-Links des "
1113
  "Plugins gesetzt"
1114
 
1115
- #: plugin-options/seo-options.php:63
1116
  msgctxt "[ADMIN] Seo settings page"
1117
  msgid "URL permalinks"
1118
  msgstr "URL Permalinks"
1119
 
1120
- #: plugin-options/seo-options.php:64
1121
  msgctxt "[ADMIN] Seo settings page"
1122
  msgid "Choose how to manage browser URL during filtering"
1123
  msgstr ""
1124
  "Wähle, wie die Browser-URL während der Filterung verwaltet werden soll "
1125
 
1126
- #: plugin-options/seo-options.php:70
1127
  msgctxt "[ADMIN] Seo settings page"
1128
  msgid "Add filters parameters to default URL"
1129
  msgstr "Filterparameter zur Standard-URL hinzufügen "
1130
 
1131
- #: plugin-options/seo-options.php:71
1132
  msgctxt "[ADMIN] Seo settings page"
1133
  msgid "Don't change URL"
1134
  msgstr "URL nicht ändern"
5
  "Project-Id-Version: YITH WooCommerce Ajax Product Filter\n"
6
  "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/yith-woocommerce-"
7
  "ajax-product-filter\n"
8
+ "POT-Creation-Date: 2022-08-08 08:50:46+00:00\n"
9
  "PO-Revision-Date: 2021-03-02 11:03+0100\n"
10
  "Last-Translator: \n"
11
  "Language-Team: \n"
16
  "Plural-Forms: nplurals=2; plural=n != 1;\n"
17
  "X-Generator: Poedit 2.4.2\n"
18
 
19
+ #: includes/class-yith-wcan-admin.php:189
20
  msgid ""
21
  "<b>100% mobile friendly:</b> Show filters in a modal view which is purposely "
22
  "designed for users visiting your site by smartphones or tablets"
23
  msgstr ""
24
 
25
+ #: includes/class-yith-wcan-admin.php:190
26
  msgid ""
27
  "Show filters in the default layout or also in an <b>horizontal toolbar above "
28
  "products</b> (like Zalando)"
29
  msgstr ""
30
 
31
+ #: includes/class-yith-wcan-admin.php:191
32
  msgid ""
33
  "Allow customers to <b>filter for price ranges</b> (unlimited ranges and the "
34
+ "last range can show: “& above”) or using the <b>price slider</b>"
35
  msgstr ""
36
 
37
+ #: includes/class-yith-wcan-admin.php:192
38
  msgid ""
39
  "Allow customers to <b>filter for review</b> and <b>for brand</b> (with the "
40
  "support to YITH WooCommerce Brands plugin)"
41
  msgstr ""
42
 
43
+ #: includes/class-yith-wcan-admin.php:193
44
  msgid ""
45
  "Allow users to <b>order products</b> (by popularity, date, price, date of "
46
  "publishing, average rating, etc) and see only \tproducts in stock/featured/"
47
  "on sale"
48
  msgstr ""
49
 
50
+ #: includes/class-yith-wcan-admin.php:194
51
  msgid ""
52
  "<b>Show the active filters</b> (with X to remove them) and choose their "
53
  "position (above products, above or under filters area)"
54
  msgstr ""
55
 
56
+ #: includes/class-yith-wcan-admin.php:195
57
  msgid ""
58
  "Create <b>color swatches with image support</b> (to better identify "
59
  "gradients, textures, patterns, etc.) and with 2 colors"
60
  msgstr ""
61
 
62
+ #: includes/class-yith-wcan-admin.php:196
63
  msgid "Show the options using <b>custom images or icons</b>"
64
  msgstr ""
65
 
66
+ #: includes/class-yith-wcan-admin.php:197
67
  msgid ""
68
  "Choose the <b>order of the options</b> (alphabetical, terms order, terms "
69
  "count, etc.), enable tooltips and show each set of filters in toggle"
70
  msgstr ""
71
 
72
+ #: includes/class-yith-wcan-admin.php:198
73
  msgid ""
74
  "Choose how to manage terms not availables: hide them OR shown them in grey "
75
  "color and not clickables "
76
  msgstr ""
77
 
78
+ #: includes/class-yith-wcan-admin.php:199
79
  msgid "<b>Regular updates, Translations and Premium Support</b>"
80
  msgstr ""
81
 
170
  msgid "Button Label"
171
  msgstr "Button-Beschriftung"
172
 
173
+ #: init.php:162
 
 
 
 
 
 
174
  #, fuzzy
175
  msgid ""
176
  "YITH WooCommerce Ajax Product Filter is enabled but not effective. It "
179
  "YITH WooCommerce AJAX Product Filter ist aktiviert, aber nicht nutzbar. Es "
180
  "wird WooCommerce benötigt."
181
 
182
+ #: init.php:181
183
+ msgid ""
184
+ "YITH WooCommerce Ajax Product Filter was deactivated as you're running an "
185
+ "higher tier version of the same plugin."
186
+ msgstr ""
187
+
188
  #. Description of the plugin/theme
189
  msgid ""
190
  "<code><strong>YITH WooCommerce AJAX Product Filter</strong></code> allows "
202
  "\"https://yithemes.com/\" target=\"_blank\">Weitere Plugins für deinen E-"
203
  "Commerce-Shop erhältst du bei <strong>YITH</strong></a>"
204
 
205
+ #: includes/class-yith-wcan-admin.php:104
206
  msgctxt "[Admin] Copy confirmation message"
207
  msgid "Content copied to your clipboard"
208
  msgstr "Inhalt in die Zwischenablage kopiert"
209
 
210
+ #: includes/class-yith-wcan-admin.php:105
211
  msgctxt "[Admin] Confirm filter delete message"
212
  msgid "Are you sure you want to delete this item?"
213
  msgstr "Bist du sicher, dass du dieses Element löschen möchtest?"
214
 
215
  #. translators: 1. Number of items that will be added.
216
+ #: includes/class-yith-wcan-admin.php:107
217
  msgctxt "[Admin] Confirm add all terms message"
218
  msgid "Are you sure you want to proceed? This operation will add %s items"
219
  msgstr ""
220
  "Bist du sicher, dass du fortfahren möchtest? Dieser Vorgang wird %s Elemente "
221
  "hinzufügen"
222
 
223
+ #: includes/class-yith-wcan-admin.php:108
224
  msgctxt "[Admin] Error message"
225
  msgid "\"Filter title\" is a required field"
226
  msgstr ""
227
 
228
+ #: includes/class-yith-wcan-admin.php:111 templates/admin/preset-filter.php:33
229
  msgctxt "[Admin] Message shown when filter has empty title"
230
  msgid "&lt; no title &gt;"
231
  msgstr "&lt; Kein Titel &gt;"
232
 
233
+ #: includes/class-yith-wcan-admin.php:112
234
  msgctxt "[Admin] Media library title, when selecting images"
235
  msgid "Select media you want to use"
236
  msgstr "Die zu verwendenden Medien auswählen"
237
 
238
+ #: includes/class-yith-wcan-admin.php:113
239
  msgctxt "[Admin] Media library confirm button, when selecting images"
240
  msgid "Use this media"
241
  msgstr "Dieses Medium verwenden"
242
 
243
+ #: includes/class-yith-wcan-admin.php:177
244
  msgctxt "[Admin] tab name"
245
  msgid "Filter presets"
246
  msgstr "Filter-Presets"
247
 
248
+ #: includes/class-yith-wcan-admin.php:178
249
  msgctxt "[Admin] tab name"
250
  msgid "General settings"
251
  msgstr "Allgemeine Einstellungen"
252
 
253
+ #: includes/class-yith-wcan-admin.php:179
254
  #, fuzzy
255
  msgctxt "[Admin] tab name"
256
  msgid "SEO"
257
  msgstr "SEO"
258
 
259
+ #: includes/class-yith-wcan-admin.php:183
260
  msgctxt "[Admin] tab name"
261
  msgid "Legacy"
262
  msgstr "Legacy"
263
 
264
+ #: includes/class-yith-wcan-admin.php:207
265
+ msgctxt "[HELP TAB] Video title"
266
+ msgid ""
267
+ "Check this video to learn how to <b>create a filter preset and show it on "
268
+ "the shop page:</b>"
269
+ msgstr ""
270
+
271
+ #: includes/class-yith-wcan-admin.php:230
272
  msgctxt "[Admin] Plugin description"
273
  msgid ""
274
  "It allows your users to find the product they are looking for as quickly as "
277
  "Ermöglicht deinen Benutzern, das gesuchte Produkt so schnell wie möglich zu "
278
  "finden."
279
 
280
+ #: includes/class-yith-wcan-admin.php:348
 
 
 
 
 
 
 
281
  msgctxt "[Admin] Generic item name, in \"You have no x yet\""
282
  msgid "item"
283
  msgstr "Artikel"
284
 
285
+ #: includes/class-yith-wcan-admin.php:349
286
  msgctxt "[Admin] Preset table empty message second line"
287
  msgid "But don't worry, here you can create your first one!"
288
  msgstr "Aber keine Sorge, hier kannst du deine erste erstellen!"
289
 
290
+ #: includes/class-yith-wcan-admin.php:490
291
  msgctxt "[ADMIN] WooCommerce Tools tab, name of the tool"
292
  msgid "Clear Product Filter transients"
293
  msgstr "Produktfilter-Tansients löschen"
294
 
295
+ #: includes/class-yith-wcan-admin.php:496
296
  msgctxt "[ADMIN] WooCommerce Tools tab, name of the tool"
297
  msgid "Run filter widgets upgrade"
298
  msgstr "Upgrade der Filter-Widgets ausführen"
299
 
300
+ #: includes/class-yith-wcan-admin.php:491
301
  msgctxt "[ADMIN] WooCommerce Tools tab, button for the tool"
302
  msgid "Clear"
303
  msgstr "Löschen"
304
 
305
+ #: includes/class-yith-wcan-admin.php:497
306
  msgctxt "[ADMIN] WooCommerce Tools tab, button for the tool"
307
  msgid "Run"
308
  msgstr "Start"
309
 
310
+ #: includes/class-yith-wcan-admin.php:492
311
  msgctxt "[ADMIN] WooCommerce Tools tab, description of the tool"
312
  msgid ""
313
  "This will clear all transients related to the YITH WooCommerce AJAX Product "
319
  "Konfiguration deines Produkts geändert hast und die Filter nicht die "
320
  "erwarteten Ergebnisse anzeigen. "
321
 
322
+ #: includes/class-yith-wcan-admin.php:498
323
  msgctxt "[ADMIN] WooCommerce Tools tab, description of the tool"
324
  msgid ""
325
  "This will create a preset for any sidebar of your shop containing filter "
571
  msgid "New filter"
572
  msgstr "Neuer Filter"
573
 
574
+ #: includes/class-yith-wcan-frontend.php:625
575
  #: includes/filters/class-yith-wcan-filter-tax.php:62
576
  msgctxt "[FRONTEND] \"All\" label shown when no term is selected"
577
  msgid "All"
578
  msgstr "Alle"
579
 
580
+ #: includes/class-yith-wcan-frontend.php:626
581
  msgctxt "[FRONTEND] Search placeholder shown in terms dropdown"
582
  msgid "Search..."
583
  msgstr "Suchen..."
584
 
585
+ #: includes/class-yith-wcan-frontend.php:627
586
  msgctxt "[FRONTEND] Empty items list in the dropdown"
587
  msgid "No item found"
588
  msgstr "Kein Artikel gefunden"
589
 
590
  #. translators: 1. Number of items to show.
591
+ #: includes/class-yith-wcan-frontend.php:629
592
  msgctxt "[FRONTEND] Show more link on terms dropdown"
593
  msgid "Show %d more"
594
  msgstr "%d mehr anzeigen"
595
 
596
+ #: includes/class-yith-wcan-frontend.php:630
597
  msgctxt "[FRONTEND] Alt text for modal close button on mobile"
598
  msgid "Close"
599
  msgstr "Schließen"
600
 
601
+ #: includes/class-yith-wcan-frontend.php:631
602
  msgctxt "[FRONTEND] Label for filter button, on horizontal layout"
603
  msgid "Save"
604
  msgstr ""
605
 
606
+ #: includes/class-yith-wcan-frontend.php:632
607
  msgctxt "[FRONTEND] Label for filter button, on mobile modal"
608
  msgid "Show results"
609
  msgstr "Ergebnisse anzeigen"
610
 
611
+ #: includes/class-yith-wcan-frontend.php:633
612
  msgctxt ""
613
  "[FRONTEND] Label for clear selection link, that appears above filter after "
614
  "selection"
615
  msgid "Clear"
616
  msgstr "Löschen"
617
 
618
+ #: includes/class-yith-wcan-frontend.php:634
619
  msgctxt ""
620
  "[FRONTEND] Label for clear selection link, that appears above filter after "
621
  "selection"
698
  msgid "YITH AJAX Filters Reset Button"
699
  msgstr "YITH AJAX-Filter Reset-Button"
700
 
701
+ #: includes/elementor/class-yith-wcan-elementor-filters.php:102
702
  #: includes/shortcodes/class-yith-wcan-shortcode-filters.php:60
703
  msgctxt "[ELEMENTOR] Default preset option"
704
  msgid "Choose an option"
705
  msgstr "Wähle eine Option"
706
 
707
+ #: includes/elementor/class-yith-wcan-elementor-filters.php:110
708
  msgctxt "[ELEMENTOR] Section title"
709
  msgid "Filters"
710
  msgstr "Filter"
711
 
712
+ #: includes/elementor/class-yith-wcan-elementor-reset-button.php:102
713
  msgctxt "[ELEMENTOR] Section title"
714
  msgid "General"
715
  msgstr "Allgemein"
716
 
717
+ #: includes/elementor/class-yith-wcan-elementor-filters.php:118
718
  msgctxt "[ELEMENTOR] Control label"
719
  msgid "Preset"
720
  msgstr "Preset"
721
 
722
+ #: includes/elementor/class-yith-wcan-elementor-reset-button.php:113
723
  msgctxt "[ELEMENTOR] Widget description"
724
  msgid ""
725
  "This widget will display \"Filters reset\" button, wherever it is placed"
727
  "Dieses Widget zeigt den Button \"Filter zurücksetzen\" an, wo immer es "
728
  "platziert wird"
729
 
730
+ #: includes/elementor/class-yith-wcan-elementor-reset-button.php:116
731
  msgctxt "[ELEMENTOR] Widget description"
732
  msgid ""
733
  "It will allow users to reset the filer selection; it will only appear when "
736
  "Wird es dem Benutzer ermöglichen, die Auswahl des Filters zurückzusetzen; es "
737
  "erscheint nur, wenn ein Filter aktiv ist. "
738
 
739
+ #: includes/elementor/class-yith-wcan-elementor-reset-button.php:120
740
  msgctxt "[ELEMENTOR] Widget description"
741
  msgid ""
742
  "You can use this block to place \"Reset filters\" button inside your page, "
756
  msgid "Color 2"
757
  msgstr "Farbe 2"
758
 
759
+ #: includes/functions-yith-wcan.php:1032
760
  msgctxt "[FRONTEND] Star rating template"
761
  msgid "star"
762
  msgid_plural "stars"
764
  msgstr[1] "Sternen"
765
 
766
  #. translators: 1. Rating.
767
+ #: includes/functions-yith-wcan.php:1047
768
  msgctxt "[FRONTEND] Star rating label"
769
  msgid "Rated %s out of 5"
770
  msgstr "Bewertet mit %s von 5"
1112
  "Wenn aktiviert wird das Attribut rel=\"nofollow\"für alle Filter-Links des "
1113
  "Plugins gesetzt"
1114
 
1115
+ #: plugin-options/seo-options.php:64
1116
  msgctxt "[ADMIN] Seo settings page"
1117
  msgid "URL permalinks"
1118
  msgstr "URL Permalinks"
1119
 
1120
+ #: plugin-options/seo-options.php:65
1121
  msgctxt "[ADMIN] Seo settings page"
1122
  msgid "Choose how to manage browser URL during filtering"
1123
  msgstr ""
1124
  "Wähle, wie die Browser-URL während der Filterung verwaltet werden soll "
1125
 
1126
+ #: plugin-options/seo-options.php:71
1127
  msgctxt "[ADMIN] Seo settings page"
1128
  msgid "Add filters parameters to default URL"
1129
  msgstr "Filterparameter zur Standard-URL hinzufügen "
1130
 
1131
+ #: plugin-options/seo-options.php:72
1132
  msgctxt "[ADMIN] Seo settings page"
1133
  msgid "Don't change URL"
1134
  msgstr "URL nicht ändern"
languages/yith-woocommerce-ajax-navigation-de_DE_formal.po CHANGED
@@ -5,7 +5,7 @@ msgstr ""
5
  "Project-Id-Version: YITH WooCommerce Ajax Product Filter\n"
6
  "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/yith-woocommerce-"
7
  "ajax-product-filter\n"
8
- "POT-Creation-Date: 2022-06-16 10:00:28+00:00\n"
9
  "PO-Revision-Date: 2021-03-02 11:03+0100\n"
10
  "Last-Translator: \n"
11
  "Language-Team: \n"
@@ -16,66 +16,66 @@ msgstr ""
16
  "Plural-Forms: nplurals=2; plural=n != 1;\n"
17
  "X-Generator: Poedit 2.4.2\n"
18
 
19
- #: includes/class-yith-wcan-admin.php:191
20
  msgid ""
21
  "<b>100% mobile friendly:</b> Show filters in a modal view which is purposely "
22
  "designed for users visiting your site by smartphones or tablets"
23
  msgstr ""
24
 
25
- #: includes/class-yith-wcan-admin.php:192
26
  msgid ""
27
  "Show filters in the default layout or also in an <b>horizontal toolbar above "
28
  "products</b> (like Zalando)"
29
  msgstr ""
30
 
31
- #: includes/class-yith-wcan-admin.php:193
32
  msgid ""
33
  "Allow customers to <b>filter for price ranges</b> (unlimited ranges and the "
34
- "last range can show: “& above”) or using the <b>price slider</b>\n"
35
  msgstr ""
36
 
37
- #: includes/class-yith-wcan-admin.php:195
38
  msgid ""
39
  "Allow customers to <b>filter for review</b> and <b>for brand</b> (with the "
40
  "support to YITH WooCommerce Brands plugin)"
41
  msgstr ""
42
 
43
- #: includes/class-yith-wcan-admin.php:196
44
  msgid ""
45
  "Allow users to <b>order products</b> (by popularity, date, price, date of "
46
  "publishing, average rating, etc) and see only \tproducts in stock/featured/"
47
  "on sale"
48
  msgstr ""
49
 
50
- #: includes/class-yith-wcan-admin.php:197
51
  msgid ""
52
  "<b>Show the active filters</b> (with X to remove them) and choose their "
53
  "position (above products, above or under filters area)"
54
  msgstr ""
55
 
56
- #: includes/class-yith-wcan-admin.php:198
57
  msgid ""
58
  "Create <b>color swatches with image support</b> (to better identify "
59
  "gradients, textures, patterns, etc.) and with 2 colors"
60
  msgstr ""
61
 
62
- #: includes/class-yith-wcan-admin.php:199
63
  msgid "Show the options using <b>custom images or icons</b>"
64
  msgstr ""
65
 
66
- #: includes/class-yith-wcan-admin.php:200
67
  msgid ""
68
  "Choose the <b>order of the options</b> (alphabetical, terms order, terms "
69
  "count, etc.), enable tooltips and show each set of filters in toggle"
70
  msgstr ""
71
 
72
- #: includes/class-yith-wcan-admin.php:201
73
  msgid ""
74
  "Choose how to manage terms not availables: hide them OR shown them in grey "
75
  "color and not clickables "
76
  msgstr ""
77
 
78
- #: includes/class-yith-wcan-admin.php:202
79
  msgid "<b>Regular updates, Translations and Premium Support</b>"
80
  msgstr ""
81
 
@@ -170,13 +170,7 @@ msgstr "Alle Filter zurücksetzen"
170
  msgid "Button Label"
171
  msgstr "Button-Beschriftung"
172
 
173
- #: init.php:149
174
- msgid ""
175
- "You can't activate the free version of YITH WooCommerce Ajax Product Filter "
176
- "while you are using the premium one."
177
- msgstr ""
178
-
179
- #: init.php:167
180
  #, fuzzy
181
  msgid ""
182
  "YITH WooCommerce Ajax Product Filter is enabled but not effective. It "
@@ -185,6 +179,12 @@ msgstr ""
185
  "YITH WooCommerce AJAX Product Filter ist aktiviert, aber nicht nutzbar. Es "
186
  "wird WooCommerce benötigt."
187
 
 
 
 
 
 
 
188
  #. Description of the plugin/theme
189
  msgid ""
190
  "<code><strong>YITH WooCommerce AJAX Product Filter</strong></code> allows "
@@ -202,66 +202,73 @@ msgstr ""
202
  "\"https://yithemes.com/\" target=\"_blank\">Weitere Plugins für Ihren E-"
203
  "Commerce-Shop erhalten Sie bei <strong>YITH</strong></a>"
204
 
205
- #: includes/class-yith-wcan-admin.php:106
206
  msgctxt "[Admin] Copy confirmation message"
207
  msgid "Content copied to your clipboard"
208
  msgstr "Inhalt in die Zwischenablage kopiert"
209
 
210
- #: includes/class-yith-wcan-admin.php:107
211
  msgctxt "[Admin] Confirm filter delete message"
212
  msgid "Are you sure you want to delete this item?"
213
  msgstr "Sind Sie sicher, dass Sie dieses Element löschen möchten?"
214
 
215
  #. translators: 1. Number of items that will be added.
216
- #: includes/class-yith-wcan-admin.php:109
217
  msgctxt "[Admin] Confirm add all terms message"
218
  msgid "Are you sure you want to proceed? This operation will add %s items"
219
  msgstr ""
220
  "Sind Sie sicher, dass Sie fortfahren möchten? Dieser Vorgang wird %s "
221
  "Elemente hinzufügen"
222
 
223
- #: includes/class-yith-wcan-admin.php:110
224
  msgctxt "[Admin] Error message"
225
  msgid "\"Filter title\" is a required field"
226
  msgstr ""
227
 
228
- #: includes/class-yith-wcan-admin.php:113 templates/admin/preset-filter.php:33
229
  msgctxt "[Admin] Message shown when filter has empty title"
230
  msgid "&lt; no title &gt;"
231
  msgstr "&lt; Kein Titel &gt;"
232
 
233
- #: includes/class-yith-wcan-admin.php:114
234
  msgctxt "[Admin] Media library title, when selecting images"
235
  msgid "Select media you want to use"
236
  msgstr "Die zu verwendenden Medien auswählen"
237
 
238
- #: includes/class-yith-wcan-admin.php:115
239
  msgctxt "[Admin] Media library confirm button, when selecting images"
240
  msgid "Use this media"
241
  msgstr "Dieses Medium verwenden"
242
 
243
- #: includes/class-yith-wcan-admin.php:179
244
  msgctxt "[Admin] tab name"
245
  msgid "Filter presets"
246
  msgstr "Filter-Presets"
247
 
248
- #: includes/class-yith-wcan-admin.php:180
249
  msgctxt "[Admin] tab name"
250
  msgid "General settings"
251
  msgstr "Allgemeine Einstellungen"
252
 
253
- #: includes/class-yith-wcan-admin.php:181
254
  #, fuzzy
255
  msgctxt "[Admin] tab name"
256
  msgid "SEO"
257
  msgstr "SEO"
258
 
259
- #: includes/class-yith-wcan-admin.php:185
260
  msgctxt "[Admin] tab name"
261
  msgid "Legacy"
262
  msgstr "Legacy"
263
 
264
- #: includes/class-yith-wcan-admin.php:212
 
 
 
 
 
 
 
265
  msgctxt "[Admin] Plugin description"
266
  msgid ""
267
  "It allows your users to find the product they are looking for as quickly as "
@@ -270,44 +277,37 @@ msgstr ""
270
  "Ermöglicht Ihren Benutzern, das gesuchte Produkt so schnell wie möglich zu "
271
  "finden."
272
 
273
- #: includes/class-yith-wcan-admin.php:225
274
- msgctxt "[HELP TAB] Video title"
275
- msgid ""
276
- "Check this video to learn how to <b>create a filter preset and show it on "
277
- "the shop page:</b>"
278
- msgstr ""
279
-
280
- #: includes/class-yith-wcan-admin.php:344
281
  msgctxt "[Admin] Generic item name, in \"You have no x yet\""
282
  msgid "item"
283
  msgstr "Artikel"
284
 
285
- #: includes/class-yith-wcan-admin.php:345
286
  msgctxt "[Admin] Preset table empty message second line"
287
  msgid "But don't worry, here you can create your first one!"
288
  msgstr "Aber keine Sorge, hier können Sie eine erste erstellen!"
289
 
290
- #: includes/class-yith-wcan-admin.php:495
291
  msgctxt "[ADMIN] WooCommerce Tools tab, name of the tool"
292
  msgid "Clear Product Filter transients"
293
  msgstr "Produktfilter-Tansients löschen"
294
 
295
- #: includes/class-yith-wcan-admin.php:501
296
  msgctxt "[ADMIN] WooCommerce Tools tab, name of the tool"
297
  msgid "Run filter widgets upgrade"
298
  msgstr "Upgrade der Filter-Widgets ausführen"
299
 
300
- #: includes/class-yith-wcan-admin.php:496
301
  msgctxt "[ADMIN] WooCommerce Tools tab, button for the tool"
302
  msgid "Clear"
303
  msgstr "Löschen"
304
 
305
- #: includes/class-yith-wcan-admin.php:502
306
  msgctxt "[ADMIN] WooCommerce Tools tab, button for the tool"
307
  msgid "Run"
308
  msgstr "Start"
309
 
310
- #: includes/class-yith-wcan-admin.php:497
311
  msgctxt "[ADMIN] WooCommerce Tools tab, description of the tool"
312
  msgid ""
313
  "This will clear all transients related to the YITH WooCommerce AJAX Product "
@@ -319,7 +319,7 @@ msgstr ""
319
  "Konfiguration Ihres Produkts geändert haben und die Filter nicht die "
320
  "erwarteten Ergebnisse anzeigen. "
321
 
322
- #: includes/class-yith-wcan-admin.php:503
323
  msgctxt "[ADMIN] WooCommerce Tools tab, description of the tool"
324
  msgid ""
325
  "This will create a preset for any sidebar of your shop containing filter "
@@ -572,51 +572,51 @@ msgctxt "[Admin] Default filter title"
572
  msgid "New filter"
573
  msgstr "Neuer Filter"
574
 
575
- #: includes/class-yith-wcan-frontend.php:591
576
  #: includes/filters/class-yith-wcan-filter-tax.php:62
577
  msgctxt "[FRONTEND] \"All\" label shown when no term is selected"
578
  msgid "All"
579
  msgstr "Alle"
580
 
581
- #: includes/class-yith-wcan-frontend.php:592
582
  msgctxt "[FRONTEND] Search placeholder shown in terms dropdown"
583
  msgid "Search..."
584
  msgstr "Suchen..."
585
 
586
- #: includes/class-yith-wcan-frontend.php:593
587
  msgctxt "[FRONTEND] Empty items list in the dropdown"
588
  msgid "No item found"
589
  msgstr "Kein Artikel gefunden"
590
 
591
  #. translators: 1. Number of items to show.
592
- #: includes/class-yith-wcan-frontend.php:595
593
  msgctxt "[FRONTEND] Show more link on terms dropdown"
594
  msgid "Show %d more"
595
  msgstr "%d mehr anzeigen"
596
 
597
- #: includes/class-yith-wcan-frontend.php:596
598
  msgctxt "[FRONTEND] Alt text for modal close button on mobile"
599
  msgid "Close"
600
  msgstr "Schließen"
601
 
602
- #: includes/class-yith-wcan-frontend.php:597
603
  msgctxt "[FRONTEND] Label for filter button, on horizontal layout"
604
  msgid "Save"
605
  msgstr ""
606
 
607
- #: includes/class-yith-wcan-frontend.php:598
608
  msgctxt "[FRONTEND] Label for filter button, on mobile modal"
609
  msgid "Show results"
610
  msgstr "Ergebnisse anzeigen"
611
 
612
- #: includes/class-yith-wcan-frontend.php:599
613
  msgctxt ""
614
  "[FRONTEND] Label for clear selection link, that appears above filter after "
615
  "selection"
616
  msgid "Clear"
617
  msgstr "Löschen"
618
 
619
- #: includes/class-yith-wcan-frontend.php:600
620
  msgctxt ""
621
  "[FRONTEND] Label for clear selection link, that appears above filter after "
622
  "selection"
@@ -699,28 +699,28 @@ msgctxt "[ADMIN] Name of the preset elementor widget"
699
  msgid "YITH AJAX Filters Reset Button"
700
  msgstr "YITH AJAX-Filter Reset-Button"
701
 
702
- #: includes/elementor/class-yith-wcan-elementor-filters.php:89
703
  #: includes/shortcodes/class-yith-wcan-shortcode-filters.php:60
704
  msgctxt "[ELEMENTOR] Default preset option"
705
  msgid "Choose an option"
706
  msgstr "Wählen Sie eine Option"
707
 
708
- #: includes/elementor/class-yith-wcan-elementor-filters.php:97
709
  msgctxt "[ELEMENTOR] Section title"
710
  msgid "Filters"
711
  msgstr "Filter"
712
 
713
- #: includes/elementor/class-yith-wcan-elementor-reset-button.php:89
714
  msgctxt "[ELEMENTOR] Section title"
715
  msgid "General"
716
  msgstr "Allgemein"
717
 
718
- #: includes/elementor/class-yith-wcan-elementor-filters.php:105
719
  msgctxt "[ELEMENTOR] Control label"
720
  msgid "Preset"
721
  msgstr "Preset"
722
 
723
- #: includes/elementor/class-yith-wcan-elementor-reset-button.php:100
724
  msgctxt "[ELEMENTOR] Widget description"
725
  msgid ""
726
  "This widget will display \"Filters reset\" button, wherever it is placed"
@@ -728,7 +728,7 @@ msgstr ""
728
  "Dieses Widget zeigt den Button \"Filter zurücksetzen\" an, wo immer es "
729
  "platziert wird"
730
 
731
- #: includes/elementor/class-yith-wcan-elementor-reset-button.php:103
732
  msgctxt "[ELEMENTOR] Widget description"
733
  msgid ""
734
  "It will allow users to reset the filer selection; it will only appear when "
@@ -737,7 +737,7 @@ msgstr ""
737
  "Wird es dem Benutzer ermöglichen, die Auswahl des Filters zurückzusetzen; es "
738
  "erscheint nur, wenn ein Filter aktiv ist. "
739
 
740
- #: includes/elementor/class-yith-wcan-elementor-reset-button.php:107
741
  msgctxt "[ELEMENTOR] Widget description"
742
  msgid ""
743
  "You can use this block to place \"Reset filters\" button inside your page, "
@@ -757,7 +757,7 @@ msgctxt "For multicolor: I.E. white and red T-Shirt"
757
  msgid "Color 2"
758
  msgstr "Farbe 2"
759
 
760
- #: includes/functions-yith-wcan.php:1026
761
  msgctxt "[FRONTEND] Star rating template"
762
  msgid "star"
763
  msgid_plural "stars"
@@ -765,7 +765,7 @@ msgstr[0] "Stern"
765
  msgstr[1] "Sternen"
766
 
767
  #. translators: 1. Rating.
768
- #: includes/functions-yith-wcan.php:1041
769
  msgctxt "[FRONTEND] Star rating label"
770
  msgid "Rated %s out of 5"
771
  msgstr "Bewertet mit %s von 5"
@@ -1115,23 +1115,23 @@ msgstr ""
1115
  "Wenn aktiviert wird das Attribut rel=\"nofollow\"für alle Filter-Links des "
1116
  "Plugins gesetzt"
1117
 
1118
- #: plugin-options/seo-options.php:63
1119
  msgctxt "[ADMIN] Seo settings page"
1120
  msgid "URL permalinks"
1121
  msgstr "URL Permalinks"
1122
 
1123
- #: plugin-options/seo-options.php:64
1124
  msgctxt "[ADMIN] Seo settings page"
1125
  msgid "Choose how to manage browser URL during filtering"
1126
  msgstr ""
1127
  "Wählen Sie, wie die Browser-URL während der Filterung verwaltet werden soll "
1128
 
1129
- #: plugin-options/seo-options.php:70
1130
  msgctxt "[ADMIN] Seo settings page"
1131
  msgid "Add filters parameters to default URL"
1132
  msgstr "Filterparameter zur Standard-URL hinzufügen "
1133
 
1134
- #: plugin-options/seo-options.php:71
1135
  msgctxt "[ADMIN] Seo settings page"
1136
  msgid "Don't change URL"
1137
  msgstr "URL nicht ändern"
5
  "Project-Id-Version: YITH WooCommerce Ajax Product Filter\n"
6
  "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/yith-woocommerce-"
7
  "ajax-product-filter\n"
8
+ "POT-Creation-Date: 2022-08-08 08:50:46+00:00\n"
9
  "PO-Revision-Date: 2021-03-02 11:03+0100\n"
10
  "Last-Translator: \n"
11
  "Language-Team: \n"
16
  "Plural-Forms: nplurals=2; plural=n != 1;\n"
17
  "X-Generator: Poedit 2.4.2\n"
18
 
19
+ #: includes/class-yith-wcan-admin.php:189
20
  msgid ""
21
  "<b>100% mobile friendly:</b> Show filters in a modal view which is purposely "
22
  "designed for users visiting your site by smartphones or tablets"
23
  msgstr ""
24
 
25
+ #: includes/class-yith-wcan-admin.php:190
26
  msgid ""
27
  "Show filters in the default layout or also in an <b>horizontal toolbar above "
28
  "products</b> (like Zalando)"
29
  msgstr ""
30
 
31
+ #: includes/class-yith-wcan-admin.php:191
32
  msgid ""
33
  "Allow customers to <b>filter for price ranges</b> (unlimited ranges and the "
34
+ "last range can show: “& above”) or using the <b>price slider</b>"
35
  msgstr ""
36
 
37
+ #: includes/class-yith-wcan-admin.php:192
38
  msgid ""
39
  "Allow customers to <b>filter for review</b> and <b>for brand</b> (with the "
40
  "support to YITH WooCommerce Brands plugin)"
41
  msgstr ""
42
 
43
+ #: includes/class-yith-wcan-admin.php:193
44
  msgid ""
45
  "Allow users to <b>order products</b> (by popularity, date, price, date of "
46
  "publishing, average rating, etc) and see only \tproducts in stock/featured/"
47
  "on sale"
48
  msgstr ""
49
 
50
+ #: includes/class-yith-wcan-admin.php:194
51
  msgid ""
52
  "<b>Show the active filters</b> (with X to remove them) and choose their "
53
  "position (above products, above or under filters area)"
54
  msgstr ""
55
 
56
+ #: includes/class-yith-wcan-admin.php:195
57
  msgid ""
58
  "Create <b>color swatches with image support</b> (to better identify "
59
  "gradients, textures, patterns, etc.) and with 2 colors"
60
  msgstr ""
61
 
62
+ #: includes/class-yith-wcan-admin.php:196
63
  msgid "Show the options using <b>custom images or icons</b>"
64
  msgstr ""
65
 
66
+ #: includes/class-yith-wcan-admin.php:197
67
  msgid ""
68
  "Choose the <b>order of the options</b> (alphabetical, terms order, terms "
69
  "count, etc.), enable tooltips and show each set of filters in toggle"
70
  msgstr ""
71
 
72
+ #: includes/class-yith-wcan-admin.php:198
73
  msgid ""
74
  "Choose how to manage terms not availables: hide them OR shown them in grey "
75
  "color and not clickables "
76
  msgstr ""
77
 
78
+ #: includes/class-yith-wcan-admin.php:199
79
  msgid "<b>Regular updates, Translations and Premium Support</b>"
80
  msgstr ""
81
 
170
  msgid "Button Label"
171
  msgstr "Button-Beschriftung"
172
 
173
+ #: init.php:162
 
 
 
 
 
 
174
  #, fuzzy
175
  msgid ""
176
  "YITH WooCommerce Ajax Product Filter is enabled but not effective. It "
179
  "YITH WooCommerce AJAX Product Filter ist aktiviert, aber nicht nutzbar. Es "
180
  "wird WooCommerce benötigt."
181
 
182
+ #: init.php:181
183
+ msgid ""
184
+ "YITH WooCommerce Ajax Product Filter was deactivated as you're running an "
185
+ "higher tier version of the same plugin."
186
+ msgstr ""
187
+
188
  #. Description of the plugin/theme
189
  msgid ""
190
  "<code><strong>YITH WooCommerce AJAX Product Filter</strong></code> allows "
202
  "\"https://yithemes.com/\" target=\"_blank\">Weitere Plugins für Ihren E-"
203
  "Commerce-Shop erhalten Sie bei <strong>YITH</strong></a>"
204
 
205
+ #: includes/class-yith-wcan-admin.php:104
206
  msgctxt "[Admin] Copy confirmation message"
207
  msgid "Content copied to your clipboard"
208
  msgstr "Inhalt in die Zwischenablage kopiert"
209
 
210
+ #: includes/class-yith-wcan-admin.php:105
211
  msgctxt "[Admin] Confirm filter delete message"
212
  msgid "Are you sure you want to delete this item?"
213
  msgstr "Sind Sie sicher, dass Sie dieses Element löschen möchten?"
214
 
215
  #. translators: 1. Number of items that will be added.
216
+ #: includes/class-yith-wcan-admin.php:107
217
  msgctxt "[Admin] Confirm add all terms message"
218
  msgid "Are you sure you want to proceed? This operation will add %s items"
219
  msgstr ""
220
  "Sind Sie sicher, dass Sie fortfahren möchten? Dieser Vorgang wird %s "
221
  "Elemente hinzufügen"
222
 
223
+ #: includes/class-yith-wcan-admin.php:108
224
  msgctxt "[Admin] Error message"
225
  msgid "\"Filter title\" is a required field"
226
  msgstr ""
227
 
228
+ #: includes/class-yith-wcan-admin.php:111 templates/admin/preset-filter.php:33
229
  msgctxt "[Admin] Message shown when filter has empty title"
230
  msgid "&lt; no title &gt;"
231
  msgstr "&lt; Kein Titel &gt;"
232
 
233
+ #: includes/class-yith-wcan-admin.php:112
234
  msgctxt "[Admin] Media library title, when selecting images"
235
  msgid "Select media you want to use"
236
  msgstr "Die zu verwendenden Medien auswählen"
237
 
238
+ #: includes/class-yith-wcan-admin.php:113
239
  msgctxt "[Admin] Media library confirm button, when selecting images"
240
  msgid "Use this media"
241
  msgstr "Dieses Medium verwenden"
242
 
243
+ #: includes/class-yith-wcan-admin.php:177
244
  msgctxt "[Admin] tab name"
245
  msgid "Filter presets"
246
  msgstr "Filter-Presets"
247
 
248
+ #: includes/class-yith-wcan-admin.php:178
249
  msgctxt "[Admin] tab name"
250
  msgid "General settings"
251
  msgstr "Allgemeine Einstellungen"
252
 
253
+ #: includes/class-yith-wcan-admin.php:179
254
  #, fuzzy
255
  msgctxt "[Admin] tab name"
256
  msgid "SEO"
257
  msgstr "SEO"
258
 
259
+ #: includes/class-yith-wcan-admin.php:183
260
  msgctxt "[Admin] tab name"
261
  msgid "Legacy"
262
  msgstr "Legacy"
263
 
264
+ #: includes/class-yith-wcan-admin.php:207
265
+ msgctxt "[HELP TAB] Video title"
266
+ msgid ""
267
+ "Check this video to learn how to <b>create a filter preset and show it on "
268
+ "the shop page:</b>"
269
+ msgstr ""
270
+
271
+ #: includes/class-yith-wcan-admin.php:230
272
  msgctxt "[Admin] Plugin description"
273
  msgid ""
274
  "It allows your users to find the product they are looking for as quickly as "
277
  "Ermöglicht Ihren Benutzern, das gesuchte Produkt so schnell wie möglich zu "
278
  "finden."
279
 
280
+ #: includes/class-yith-wcan-admin.php:348
 
 
 
 
 
 
 
281
  msgctxt "[Admin] Generic item name, in \"You have no x yet\""
282
  msgid "item"
283
  msgstr "Artikel"
284
 
285
+ #: includes/class-yith-wcan-admin.php:349
286
  msgctxt "[Admin] Preset table empty message second line"
287
  msgid "But don't worry, here you can create your first one!"
288
  msgstr "Aber keine Sorge, hier können Sie eine erste erstellen!"
289
 
290
+ #: includes/class-yith-wcan-admin.php:490
291
  msgctxt "[ADMIN] WooCommerce Tools tab, name of the tool"
292
  msgid "Clear Product Filter transients"
293
  msgstr "Produktfilter-Tansients löschen"
294
 
295
+ #: includes/class-yith-wcan-admin.php:496
296
  msgctxt "[ADMIN] WooCommerce Tools tab, name of the tool"
297
  msgid "Run filter widgets upgrade"
298
  msgstr "Upgrade der Filter-Widgets ausführen"
299
 
300
+ #: includes/class-yith-wcan-admin.php:491
301
  msgctxt "[ADMIN] WooCommerce Tools tab, button for the tool"
302
  msgid "Clear"
303
  msgstr "Löschen"
304
 
305
+ #: includes/class-yith-wcan-admin.php:497
306
  msgctxt "[ADMIN] WooCommerce Tools tab, button for the tool"
307
  msgid "Run"
308
  msgstr "Start"
309
 
310
+ #: includes/class-yith-wcan-admin.php:492
311
  msgctxt "[ADMIN] WooCommerce Tools tab, description of the tool"
312
  msgid ""
313
  "This will clear all transients related to the YITH WooCommerce AJAX Product "
319
  "Konfiguration Ihres Produkts geändert haben und die Filter nicht die "
320
  "erwarteten Ergebnisse anzeigen. "
321
 
322
+ #: includes/class-yith-wcan-admin.php:498
323
  msgctxt "[ADMIN] WooCommerce Tools tab, description of the tool"
324
  msgid ""
325
  "This will create a preset for any sidebar of your shop containing filter "
572
  msgid "New filter"
573
  msgstr "Neuer Filter"
574
 
575
+ #: includes/class-yith-wcan-frontend.php:625
576
  #: includes/filters/class-yith-wcan-filter-tax.php:62
577
  msgctxt "[FRONTEND] \"All\" label shown when no term is selected"
578
  msgid "All"
579
  msgstr "Alle"
580
 
581
+ #: includes/class-yith-wcan-frontend.php:626
582
  msgctxt "[FRONTEND] Search placeholder shown in terms dropdown"
583
  msgid "Search..."
584
  msgstr "Suchen..."
585
 
586
+ #: includes/class-yith-wcan-frontend.php:627
587
  msgctxt "[FRONTEND] Empty items list in the dropdown"
588
  msgid "No item found"
589
  msgstr "Kein Artikel gefunden"
590
 
591
  #. translators: 1. Number of items to show.
592
+ #: includes/class-yith-wcan-frontend.php:629
593
  msgctxt "[FRONTEND] Show more link on terms dropdown"
594
  msgid "Show %d more"
595
  msgstr "%d mehr anzeigen"
596
 
597
+ #: includes/class-yith-wcan-frontend.php:630
598
  msgctxt "[FRONTEND] Alt text for modal close button on mobile"
599
  msgid "Close"
600
  msgstr "Schließen"
601
 
602
+ #: includes/class-yith-wcan-frontend.php:631
603
  msgctxt "[FRONTEND] Label for filter button, on horizontal layout"
604
  msgid "Save"
605
  msgstr ""
606
 
607
+ #: includes/class-yith-wcan-frontend.php:632
608
  msgctxt "[FRONTEND] Label for filter button, on mobile modal"
609
  msgid "Show results"
610
  msgstr "Ergebnisse anzeigen"
611
 
612
+ #: includes/class-yith-wcan-frontend.php:633
613
  msgctxt ""
614
  "[FRONTEND] Label for clear selection link, that appears above filter after "
615
  "selection"
616
  msgid "Clear"
617
  msgstr "Löschen"
618
 
619
+ #: includes/class-yith-wcan-frontend.php:634
620
  msgctxt ""
621
  "[FRONTEND] Label for clear selection link, that appears above filter after "
622
  "selection"
699
  msgid "YITH AJAX Filters Reset Button"
700
  msgstr "YITH AJAX-Filter Reset-Button"
701
 
702
+ #: includes/elementor/class-yith-wcan-elementor-filters.php:102
703
  #: includes/shortcodes/class-yith-wcan-shortcode-filters.php:60
704
  msgctxt "[ELEMENTOR] Default preset option"
705
  msgid "Choose an option"
706
  msgstr "Wählen Sie eine Option"
707
 
708
+ #: includes/elementor/class-yith-wcan-elementor-filters.php:110
709
  msgctxt "[ELEMENTOR] Section title"
710
  msgid "Filters"
711
  msgstr "Filter"
712
 
713
+ #: includes/elementor/class-yith-wcan-elementor-reset-button.php:102
714
  msgctxt "[ELEMENTOR] Section title"
715
  msgid "General"
716
  msgstr "Allgemein"
717
 
718
+ #: includes/elementor/class-yith-wcan-elementor-filters.php:118
719
  msgctxt "[ELEMENTOR] Control label"
720
  msgid "Preset"
721
  msgstr "Preset"
722
 
723
+ #: includes/elementor/class-yith-wcan-elementor-reset-button.php:113
724
  msgctxt "[ELEMENTOR] Widget description"
725
  msgid ""
726
  "This widget will display \"Filters reset\" button, wherever it is placed"
728
  "Dieses Widget zeigt den Button \"Filter zurücksetzen\" an, wo immer es "
729
  "platziert wird"
730
 
731
+ #: includes/elementor/class-yith-wcan-elementor-reset-button.php:116
732
  msgctxt "[ELEMENTOR] Widget description"
733
  msgid ""
734
  "It will allow users to reset the filer selection; it will only appear when "
737
  "Wird es dem Benutzer ermöglichen, die Auswahl des Filters zurückzusetzen; es "
738
  "erscheint nur, wenn ein Filter aktiv ist. "
739
 
740
+ #: includes/elementor/class-yith-wcan-elementor-reset-button.php:120
741
  msgctxt "[ELEMENTOR] Widget description"
742
  msgid ""
743
  "You can use this block to place \"Reset filters\" button inside your page, "
757
  msgid "Color 2"
758
  msgstr "Farbe 2"
759
 
760
+ #: includes/functions-yith-wcan.php:1032
761
  msgctxt "[FRONTEND] Star rating template"
762
  msgid "star"
763
  msgid_plural "stars"
765
  msgstr[1] "Sternen"
766
 
767
  #. translators: 1. Rating.
768
+ #: includes/functions-yith-wcan.php:1047
769
  msgctxt "[FRONTEND] Star rating label"
770
  msgid "Rated %s out of 5"
771
  msgstr "Bewertet mit %s von 5"
1115
  "Wenn aktiviert wird das Attribut rel=\"nofollow\"für alle Filter-Links des "
1116
  "Plugins gesetzt"
1117
 
1118
+ #: plugin-options/seo-options.php:64
1119
  msgctxt "[ADMIN] Seo settings page"
1120
  msgid "URL permalinks"
1121
  msgstr "URL Permalinks"
1122
 
1123
+ #: plugin-options/seo-options.php:65
1124
  msgctxt "[ADMIN] Seo settings page"
1125
  msgid "Choose how to manage browser URL during filtering"
1126
  msgstr ""
1127
  "Wählen Sie, wie die Browser-URL während der Filterung verwaltet werden soll "
1128
 
1129
+ #: plugin-options/seo-options.php:71
1130
  msgctxt "[ADMIN] Seo settings page"
1131
  msgid "Add filters parameters to default URL"
1132
  msgstr "Filterparameter zur Standard-URL hinzufügen "
1133
 
1134
+ #: plugin-options/seo-options.php:72
1135
  msgctxt "[ADMIN] Seo settings page"
1136
  msgid "Don't change URL"
1137
  msgstr "URL nicht ändern"
languages/yith-woocommerce-ajax-navigation-el.po CHANGED
@@ -5,7 +5,7 @@ msgstr ""
5
  "Project-Id-Version: YITH WooCommerce Ajax Product Filter\n"
6
  "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/yith-woocommerce-"
7
  "ajax-product-filter\n"
8
- "POT-Creation-Date: 2022-06-16 10:00:28+00:00\n"
9
  "PO-Revision-Date: 2021-02-12 13:32:43+0000\n"
10
  "Language: el_GR\n"
11
  "MIME-Version: 1.0\n"
@@ -14,66 +14,66 @@ msgstr ""
14
  "Plural-Forms: nplurals=2; plural=n != 1;\n"
15
  "X-Generator: GlotPress/3.0.0-alpha.2\n"
16
 
17
- #: includes/class-yith-wcan-admin.php:191
18
  msgid ""
19
  "<b>100% mobile friendly:</b> Show filters in a modal view which is purposely "
20
  "designed for users visiting your site by smartphones or tablets"
21
  msgstr ""
22
 
23
- #: includes/class-yith-wcan-admin.php:192
24
  msgid ""
25
  "Show filters in the default layout or also in an <b>horizontal toolbar above "
26
  "products</b> (like Zalando)"
27
  msgstr ""
28
 
29
- #: includes/class-yith-wcan-admin.php:193
30
  msgid ""
31
  "Allow customers to <b>filter for price ranges</b> (unlimited ranges and the "
32
- "last range can show: “& above”) or using the <b>price slider</b>\n"
33
  msgstr ""
34
 
35
- #: includes/class-yith-wcan-admin.php:195
36
  msgid ""
37
  "Allow customers to <b>filter for review</b> and <b>for brand</b> (with the "
38
  "support to YITH WooCommerce Brands plugin)"
39
  msgstr ""
40
 
41
- #: includes/class-yith-wcan-admin.php:196
42
  msgid ""
43
  "Allow users to <b>order products</b> (by popularity, date, price, date of "
44
  "publishing, average rating, etc) and see only \tproducts in stock/featured/"
45
  "on sale"
46
  msgstr ""
47
 
48
- #: includes/class-yith-wcan-admin.php:197
49
  msgid ""
50
  "<b>Show the active filters</b> (with X to remove them) and choose their "
51
  "position (above products, above or under filters area)"
52
  msgstr ""
53
 
54
- #: includes/class-yith-wcan-admin.php:198
55
  msgid ""
56
  "Create <b>color swatches with image support</b> (to better identify "
57
  "gradients, textures, patterns, etc.) and with 2 colors"
58
  msgstr ""
59
 
60
- #: includes/class-yith-wcan-admin.php:199
61
  msgid "Show the options using <b>custom images or icons</b>"
62
  msgstr ""
63
 
64
- #: includes/class-yith-wcan-admin.php:200
65
  msgid ""
66
  "Choose the <b>order of the options</b> (alphabetical, terms order, terms "
67
  "count, etc.), enable tooltips and show each set of filters in toggle"
68
  msgstr ""
69
 
70
- #: includes/class-yith-wcan-admin.php:201
71
  msgid ""
72
  "Choose how to manage terms not availables: hide them OR shown them in grey "
73
  "color and not clickables "
74
  msgstr ""
75
 
76
- #: includes/class-yith-wcan-admin.php:202
77
  msgid "<b>Regular updates, Translations and Premium Support</b>"
78
  msgstr ""
79
 
@@ -168,13 +168,7 @@ msgstr "Επαναφορά Όλων των Φίλτρων"
168
  msgid "Button Label"
169
  msgstr "Επιγραφή Κουμπιού"
170
 
171
- #: init.php:149
172
- msgid ""
173
- "You can't activate the free version of YITH WooCommerce Ajax Product Filter "
174
- "while you are using the premium one."
175
- msgstr ""
176
-
177
- #: init.php:167
178
  #, fuzzy
179
  msgid ""
180
  "YITH WooCommerce Ajax Product Filter is enabled but not effective. It "
@@ -183,6 +177,12 @@ msgstr ""
183
  "Το YITH WooCommerce Ajax Product Filter είναι ενεργοποιημένο αλλά "
184
  "αναποτελεσματικό. Για σωστή λειτουργία απαιτείται WooCommerce."
185
 
 
 
 
 
 
 
186
  #. Description of the plugin/theme
187
  #, fuzzy
188
  msgid ""
@@ -201,66 +201,73 @@ msgstr ""
201
  "περισσότερα πρόσθετα για το ηλεκτρονικό σας κατάστημα στο <strong>YITH</"
202
  "strong></a>"
203
 
204
- #: includes/class-yith-wcan-admin.php:106
205
  msgctxt "[Admin] Copy confirmation message"
206
  msgid "Content copied to your clipboard"
207
  msgstr "Έγινε αντιγραφή περιεχομένου σε πρόχειρο"
208
 
209
- #: includes/class-yith-wcan-admin.php:107
210
  msgctxt "[Admin] Confirm filter delete message"
211
  msgid "Are you sure you want to delete this item?"
212
  msgstr "Είστε σίγουροι ότι θέλετε να διαγράψετε αυτό το αντικείμενο;"
213
 
214
  #. translators: 1. Number of items that will be added.
215
- #: includes/class-yith-wcan-admin.php:109
216
  msgctxt "[Admin] Confirm add all terms message"
217
  msgid "Are you sure you want to proceed? This operation will add %s items"
218
  msgstr ""
219
  "Είστε σίγουροι ότι θέλετε να προχωρήσετε; Αυτή η διαδικασία θα προσθέσει %s "
220
  "αντικείμενα"
221
 
222
- #: includes/class-yith-wcan-admin.php:110
223
  msgctxt "[Admin] Error message"
224
  msgid "\"Filter title\" is a required field"
225
  msgstr ""
226
 
227
- #: includes/class-yith-wcan-admin.php:113 templates/admin/preset-filter.php:33
228
  msgctxt "[Admin] Message shown when filter has empty title"
229
  msgid "&lt; no title &gt;"
230
  msgstr "&lt; χωρίς τίτλο &gt;"
231
 
232
- #: includes/class-yith-wcan-admin.php:114
233
  msgctxt "[Admin] Media library title, when selecting images"
234
  msgid "Select media you want to use"
235
  msgstr "Επιλέξτε τα πολυμέσα που θέλετε να χρησιμοποιήσετε"
236
 
237
- #: includes/class-yith-wcan-admin.php:115
238
  msgctxt "[Admin] Media library confirm button, when selecting images"
239
  msgid "Use this media"
240
  msgstr "Χρησιμοποιήστε αυτά τα πολυμέσα"
241
 
242
- #: includes/class-yith-wcan-admin.php:179
243
  msgctxt "[Admin] tab name"
244
  msgid "Filter presets"
245
  msgstr "Προρυθμίσεις φίλτρου"
246
 
247
- #: includes/class-yith-wcan-admin.php:180
248
  msgctxt "[Admin] tab name"
249
  msgid "General settings"
250
  msgstr "Γενικές ρυθμίσεις"
251
 
252
- #: includes/class-yith-wcan-admin.php:181
253
  #, fuzzy
254
  msgctxt "[Admin] tab name"
255
  msgid "SEO"
256
  msgstr "SEO"
257
 
258
- #: includes/class-yith-wcan-admin.php:185
259
  msgctxt "[Admin] tab name"
260
  msgid "Legacy"
261
  msgstr "Σύστημα κληρονομιάς"
262
 
263
- #: includes/class-yith-wcan-admin.php:212
 
 
 
 
 
 
 
264
  msgctxt "[Admin] Plugin description"
265
  msgid ""
266
  "It allows your users to find the product they are looking for as quickly as "
@@ -269,44 +276,37 @@ msgstr ""
269
  "Επιτρέπει στους χρήστες σας να βρουν το προϊόν που επιθυμούν το συντομότερο "
270
  "δυνατό."
271
 
272
- #: includes/class-yith-wcan-admin.php:225
273
- msgctxt "[HELP TAB] Video title"
274
- msgid ""
275
- "Check this video to learn how to <b>create a filter preset and show it on "
276
- "the shop page:</b>"
277
- msgstr ""
278
-
279
- #: includes/class-yith-wcan-admin.php:344
280
  msgctxt "[Admin] Generic item name, in \"You have no x yet\""
281
  msgid "item"
282
  msgstr "αντικείμενο"
283
 
284
- #: includes/class-yith-wcan-admin.php:345
285
  msgctxt "[Admin] Preset table empty message second line"
286
  msgid "But don't worry, here you can create your first one!"
287
  msgstr "Μην ανησυχείτε, εδώ μπορείτε να δημιουργήσετε το πρώτο!"
288
 
289
- #: includes/class-yith-wcan-admin.php:495
290
  msgctxt "[ADMIN] WooCommerce Tools tab, name of the tool"
291
  msgid "Clear Product Filter transients"
292
  msgstr "Καθαρισμός μεταβάσεων φίλτρου προϊόντος"
293
 
294
- #: includes/class-yith-wcan-admin.php:501
295
  msgctxt "[ADMIN] WooCommerce Tools tab, name of the tool"
296
  msgid "Run filter widgets upgrade"
297
  msgstr "Εκτέλεση αναβάθμισης μικροεφαρμογών φίλτρου"
298
 
299
- #: includes/class-yith-wcan-admin.php:496
300
  msgctxt "[ADMIN] WooCommerce Tools tab, button for the tool"
301
  msgid "Clear"
302
  msgstr "Καθαρισμός"
303
 
304
- #: includes/class-yith-wcan-admin.php:502
305
  msgctxt "[ADMIN] WooCommerce Tools tab, button for the tool"
306
  msgid "Run"
307
  msgstr "Εκτέλεση"
308
 
309
- #: includes/class-yith-wcan-admin.php:497
310
  msgctxt "[ADMIN] WooCommerce Tools tab, description of the tool"
311
  msgid ""
312
  "This will clear all transients related to the YITH WooCommerce AJAX Product "
@@ -318,7 +318,7 @@ msgstr ""
318
  "κατα την αλλαγή της ρύθμισης του προϊόντος σας, τα φίλτρα δεν εμφανίζουν τα "
319
  "αποτελέσματα που περιμένετε. "
320
 
321
- #: includes/class-yith-wcan-admin.php:503
322
  msgctxt "[ADMIN] WooCommerce Tools tab, description of the tool"
323
  msgid ""
324
  "This will create a preset for any sidebar of your shop containing filter "
@@ -571,51 +571,51 @@ msgctxt "[Admin] Default filter title"
571
  msgid "New filter"
572
  msgstr "Νέο φίλτρο"
573
 
574
- #: includes/class-yith-wcan-frontend.php:591
575
  #: includes/filters/class-yith-wcan-filter-tax.php:62
576
  msgctxt "[FRONTEND] \"All\" label shown when no term is selected"
577
  msgid "All"
578
  msgstr "Όλα"
579
 
580
- #: includes/class-yith-wcan-frontend.php:592
581
  msgctxt "[FRONTEND] Search placeholder shown in terms dropdown"
582
  msgid "Search..."
583
  msgstr "Αναζήτηση…"
584
 
585
- #: includes/class-yith-wcan-frontend.php:593
586
  msgctxt "[FRONTEND] Empty items list in the dropdown"
587
  msgid "No item found"
588
  msgstr "Δεν βρέθηκε αντικείμενο"
589
 
590
  #. translators: 1. Number of items to show.
591
- #: includes/class-yith-wcan-frontend.php:595
592
  msgctxt "[FRONTEND] Show more link on terms dropdown"
593
  msgid "Show %d more"
594
  msgstr "Εμφάνιση %d περισσότερων"
595
 
596
- #: includes/class-yith-wcan-frontend.php:596
597
  msgctxt "[FRONTEND] Alt text for modal close button on mobile"
598
  msgid "Close"
599
  msgstr "Κλείσιμο"
600
 
601
- #: includes/class-yith-wcan-frontend.php:597
602
  msgctxt "[FRONTEND] Label for filter button, on horizontal layout"
603
  msgid "Save"
604
  msgstr ""
605
 
606
- #: includes/class-yith-wcan-frontend.php:598
607
  msgctxt "[FRONTEND] Label for filter button, on mobile modal"
608
  msgid "Show results"
609
  msgstr "Εμφάνιση αποτελεσμάτων"
610
 
611
- #: includes/class-yith-wcan-frontend.php:599
612
  msgctxt ""
613
  "[FRONTEND] Label for clear selection link, that appears above filter after "
614
  "selection"
615
  msgid "Clear"
616
  msgstr "Καθαρισμός"
617
 
618
- #: includes/class-yith-wcan-frontend.php:600
619
  msgctxt ""
620
  "[FRONTEND] Label for clear selection link, that appears above filter after "
621
  "selection"
@@ -698,28 +698,28 @@ msgctxt "[ADMIN] Name of the preset elementor widget"
698
  msgid "YITH AJAX Filters Reset Button"
699
  msgstr "Κουμπί Επαναφοράς Φίλτρων YITH AJAX"
700
 
701
- #: includes/elementor/class-yith-wcan-elementor-filters.php:89
702
  #: includes/shortcodes/class-yith-wcan-shortcode-filters.php:60
703
  msgctxt "[ELEMENTOR] Default preset option"
704
  msgid "Choose an option"
705
  msgstr "Διαλέξτε μια επιλογή"
706
 
707
- #: includes/elementor/class-yith-wcan-elementor-filters.php:97
708
  msgctxt "[ELEMENTOR] Section title"
709
  msgid "Filters"
710
  msgstr "Φίλτρα"
711
 
712
- #: includes/elementor/class-yith-wcan-elementor-reset-button.php:89
713
  msgctxt "[ELEMENTOR] Section title"
714
  msgid "General"
715
  msgstr "Γενικά"
716
 
717
- #: includes/elementor/class-yith-wcan-elementor-filters.php:105
718
  msgctxt "[ELEMENTOR] Control label"
719
  msgid "Preset"
720
  msgstr "Προρύθμιση"
721
 
722
- #: includes/elementor/class-yith-wcan-elementor-reset-button.php:100
723
  msgctxt "[ELEMENTOR] Widget description"
724
  msgid ""
725
  "This widget will display \"Filters reset\" button, wherever it is placed"
@@ -727,7 +727,7 @@ msgstr ""
727
  "Αυτή η μικροεφαρμογή θα εμφανίσει το κουμπί \"Επαναφορά φίλτρων\", όπου "
728
  "τοποθετηθεί"
729
 
730
- #: includes/elementor/class-yith-wcan-elementor-reset-button.php:103
731
  msgctxt "[ELEMENTOR] Widget description"
732
  msgid ""
733
  "It will allow users to reset the filer selection; it will only appear when "
@@ -736,7 +736,7 @@ msgstr ""
736
  "Θα επιτρέψει στους χρήστες να επαναρυθμίσουν την επιλογή φίλτρου. Θα "
737
  "εμφανιστεί μόνο όταν υπάρχει ενεργό φίλτρο."
738
 
739
- #: includes/elementor/class-yith-wcan-elementor-reset-button.php:107
740
  msgctxt "[ELEMENTOR] Widget description"
741
  msgid ""
742
  "You can use this block to place \"Reset filters\" button inside your page, "
@@ -756,7 +756,7 @@ msgctxt "For multicolor: I.E. white and red T-Shirt"
756
  msgid "Color 2"
757
  msgstr "Χρώμα 2"
758
 
759
- #: includes/functions-yith-wcan.php:1026
760
  msgctxt "[FRONTEND] Star rating template"
761
  msgid "star"
762
  msgid_plural "stars"
@@ -764,7 +764,7 @@ msgstr[0] "αστέρι"
764
  msgstr[1] "αστέρια"
765
 
766
  #. translators: 1. Rating.
767
- #: includes/functions-yith-wcan.php:1041
768
  msgctxt "[FRONTEND] Star rating label"
769
  msgid "Rated %s out of 5"
770
  msgstr "Βαθμολογήθηκε με %s από 5"
@@ -1112,23 +1112,23 @@ msgstr ""
1112
  "Όταν ενεργοποιείται, προσθέτει ιδιότητα re=“nofollow” σε όλα τα anchors "
1113
  "φίλτρου όλου του πρόσθετου"
1114
 
1115
- #: plugin-options/seo-options.php:63
1116
  msgctxt "[ADMIN] Seo settings page"
1117
  msgid "URL permalinks"
1118
  msgstr "URL permalinks"
1119
 
1120
- #: plugin-options/seo-options.php:64
1121
  msgctxt "[ADMIN] Seo settings page"
1122
  msgid "Choose how to manage browser URL during filtering"
1123
  msgstr ""
1124
  "Επιλέξτε πώς να διαχειρίζεστε την πλοήγηση URL κατα την διάρκεια ταξινόμησης"
1125
 
1126
- #: plugin-options/seo-options.php:70
1127
  msgctxt "[ADMIN] Seo settings page"
1128
  msgid "Add filters parameters to default URL"
1129
  msgstr "Προσθήκη παραμέτρων φίλτρου σε προεπιλεγμένο URL"
1130
 
1131
- #: plugin-options/seo-options.php:71
1132
  msgctxt "[ADMIN] Seo settings page"
1133
  msgid "Don't change URL"
1134
  msgstr "Να μην γίνει αλλαγή URL"
5
  "Project-Id-Version: YITH WooCommerce Ajax Product Filter\n"
6
  "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/yith-woocommerce-"
7
  "ajax-product-filter\n"
8
+ "POT-Creation-Date: 2022-08-08 08:50:46+00:00\n"
9
  "PO-Revision-Date: 2021-02-12 13:32:43+0000\n"
10
  "Language: el_GR\n"
11
  "MIME-Version: 1.0\n"
14
  "Plural-Forms: nplurals=2; plural=n != 1;\n"
15
  "X-Generator: GlotPress/3.0.0-alpha.2\n"
16
 
17
+ #: includes/class-yith-wcan-admin.php:189
18
  msgid ""
19
  "<b>100% mobile friendly:</b> Show filters in a modal view which is purposely "
20
  "designed for users visiting your site by smartphones or tablets"
21
  msgstr ""
22
 
23
+ #: includes/class-yith-wcan-admin.php:190
24
  msgid ""
25
  "Show filters in the default layout or also in an <b>horizontal toolbar above "
26
  "products</b> (like Zalando)"
27
  msgstr ""
28
 
29
+ #: includes/class-yith-wcan-admin.php:191
30
  msgid ""
31
  "Allow customers to <b>filter for price ranges</b> (unlimited ranges and the "
32
+ "last range can show: “& above”) or using the <b>price slider</b>"
33
  msgstr ""
34
 
35
+ #: includes/class-yith-wcan-admin.php:192
36
  msgid ""
37
  "Allow customers to <b>filter for review</b> and <b>for brand</b> (with the "
38
  "support to YITH WooCommerce Brands plugin)"
39
  msgstr ""
40
 
41
+ #: includes/class-yith-wcan-admin.php:193
42
  msgid ""
43
  "Allow users to <b>order products</b> (by popularity, date, price, date of "
44
  "publishing, average rating, etc) and see only \tproducts in stock/featured/"
45
  "on sale"
46
  msgstr ""
47
 
48
+ #: includes/class-yith-wcan-admin.php:194
49
  msgid ""
50
  "<b>Show the active filters</b> (with X to remove them) and choose their "
51
  "position (above products, above or under filters area)"
52
  msgstr ""
53
 
54
+ #: includes/class-yith-wcan-admin.php:195
55
  msgid ""
56
  "Create <b>color swatches with image support</b> (to better identify "
57
  "gradients, textures, patterns, etc.) and with 2 colors"
58
  msgstr ""
59
 
60
+ #: includes/class-yith-wcan-admin.php:196
61
  msgid "Show the options using <b>custom images or icons</b>"
62
  msgstr ""
63
 
64
+ #: includes/class-yith-wcan-admin.php:197
65
  msgid ""
66
  "Choose the <b>order of the options</b> (alphabetical, terms order, terms "
67
  "count, etc.), enable tooltips and show each set of filters in toggle"
68
  msgstr ""
69
 
70
+ #: includes/class-yith-wcan-admin.php:198
71
  msgid ""
72
  "Choose how to manage terms not availables: hide them OR shown them in grey "
73
  "color and not clickables "
74
  msgstr ""
75
 
76
+ #: includes/class-yith-wcan-admin.php:199
77
  msgid "<b>Regular updates, Translations and Premium Support</b>"
78
  msgstr ""
79
 
168
  msgid "Button Label"
169
  msgstr "Επιγραφή Κουμπιού"
170
 
171
+ #: init.php:162
 
 
 
 
 
 
172
  #, fuzzy
173
  msgid ""
174
  "YITH WooCommerce Ajax Product Filter is enabled but not effective. It "
177
  "Το YITH WooCommerce Ajax Product Filter είναι ενεργοποιημένο αλλά "
178
  "αναποτελεσματικό. Για σωστή λειτουργία απαιτείται WooCommerce."
179
 
180
+ #: init.php:181
181
+ msgid ""
182
+ "YITH WooCommerce Ajax Product Filter was deactivated as you're running an "
183
+ "higher tier version of the same plugin."
184
+ msgstr ""
185
+
186
  #. Description of the plugin/theme
187
  #, fuzzy
188
  msgid ""
201
  "περισσότερα πρόσθετα για το ηλεκτρονικό σας κατάστημα στο <strong>YITH</"
202
  "strong></a>"
203
 
204
+ #: includes/class-yith-wcan-admin.php:104
205
  msgctxt "[Admin] Copy confirmation message"
206
  msgid "Content copied to your clipboard"
207
  msgstr "Έγινε αντιγραφή περιεχομένου σε πρόχειρο"
208
 
209
+ #: includes/class-yith-wcan-admin.php:105
210
  msgctxt "[Admin] Confirm filter delete message"
211
  msgid "Are you sure you want to delete this item?"
212
  msgstr "Είστε σίγουροι ότι θέλετε να διαγράψετε αυτό το αντικείμενο;"
213
 
214
  #. translators: 1. Number of items that will be added.
215
+ #: includes/class-yith-wcan-admin.php:107
216
  msgctxt "[Admin] Confirm add all terms message"
217
  msgid "Are you sure you want to proceed? This operation will add %s items"
218
  msgstr ""
219
  "Είστε σίγουροι ότι θέλετε να προχωρήσετε; Αυτή η διαδικασία θα προσθέσει %s "
220
  "αντικείμενα"
221
 
222
+ #: includes/class-yith-wcan-admin.php:108
223
  msgctxt "[Admin] Error message"
224
  msgid "\"Filter title\" is a required field"
225
  msgstr ""
226
 
227
+ #: includes/class-yith-wcan-admin.php:111 templates/admin/preset-filter.php:33
228
  msgctxt "[Admin] Message shown when filter has empty title"
229
  msgid "&lt; no title &gt;"
230
  msgstr "&lt; χωρίς τίτλο &gt;"
231
 
232
+ #: includes/class-yith-wcan-admin.php:112
233
  msgctxt "[Admin] Media library title, when selecting images"
234
  msgid "Select media you want to use"
235
  msgstr "Επιλέξτε τα πολυμέσα που θέλετε να χρησιμοποιήσετε"
236
 
237
+ #: includes/class-yith-wcan-admin.php:113
238
  msgctxt "[Admin] Media library confirm button, when selecting images"
239
  msgid "Use this media"
240
  msgstr "Χρησιμοποιήστε αυτά τα πολυμέσα"
241
 
242
+ #: includes/class-yith-wcan-admin.php:177
243
  msgctxt "[Admin] tab name"
244
  msgid "Filter presets"
245
  msgstr "Προρυθμίσεις φίλτρου"
246
 
247
+ #: includes/class-yith-wcan-admin.php:178
248
  msgctxt "[Admin] tab name"
249
  msgid "General settings"
250
  msgstr "Γενικές ρυθμίσεις"
251
 
252
+ #: includes/class-yith-wcan-admin.php:179
253
  #, fuzzy
254
  msgctxt "[Admin] tab name"
255
  msgid "SEO"
256
  msgstr "SEO"
257
 
258
+ #: includes/class-yith-wcan-admin.php:183
259
  msgctxt "[Admin] tab name"
260
  msgid "Legacy"
261
  msgstr "Σύστημα κληρονομιάς"
262
 
263
+ #: includes/class-yith-wcan-admin.php:207
264
+ msgctxt "[HELP TAB] Video title"
265
+ msgid ""
266
+ "Check this video to learn how to <b>create a filter preset and show it on "
267
+ "the shop page:</b>"
268
+ msgstr ""
269
+
270
+ #: includes/class-yith-wcan-admin.php:230
271
  msgctxt "[Admin] Plugin description"
272
  msgid ""
273
  "It allows your users to find the product they are looking for as quickly as "
276
  "Επιτρέπει στους χρήστες σας να βρουν το προϊόν που επιθυμούν το συντομότερο "
277
  "δυνατό."
278
 
279
+ #: includes/class-yith-wcan-admin.php:348
 
 
 
 
 
 
 
280
  msgctxt "[Admin] Generic item name, in \"You have no x yet\""
281
  msgid "item"
282
  msgstr "αντικείμενο"
283
 
284
+ #: includes/class-yith-wcan-admin.php:349
285
  msgctxt "[Admin] Preset table empty message second line"
286
  msgid "But don't worry, here you can create your first one!"
287
  msgstr "Μην ανησυχείτε, εδώ μπορείτε να δημιουργήσετε το πρώτο!"
288
 
289
+ #: includes/class-yith-wcan-admin.php:490
290
  msgctxt "[ADMIN] WooCommerce Tools tab, name of the tool"
291
  msgid "Clear Product Filter transients"
292
  msgstr "Καθαρισμός μεταβάσεων φίλτρου προϊόντος"
293
 
294
+ #: includes/class-yith-wcan-admin.php:496
295
  msgctxt "[ADMIN] WooCommerce Tools tab, name of the tool"
296
  msgid "Run filter widgets upgrade"
297
  msgstr "Εκτέλεση αναβάθμισης μικροεφαρμογών φίλτρου"
298
 
299
+ #: includes/class-yith-wcan-admin.php:491
300
  msgctxt "[ADMIN] WooCommerce Tools tab, button for the tool"
301
  msgid "Clear"
302
  msgstr "Καθαρισμός"
303
 
304
+ #: includes/class-yith-wcan-admin.php:497
305
  msgctxt "[ADMIN] WooCommerce Tools tab, button for the tool"
306
  msgid "Run"
307
  msgstr "Εκτέλεση"
308
 
309
+ #: includes/class-yith-wcan-admin.php:492
310
  msgctxt "[ADMIN] WooCommerce Tools tab, description of the tool"
311
  msgid ""
312
  "This will clear all transients related to the YITH WooCommerce AJAX Product "
318
  "κατα την αλλαγή της ρύθμισης του προϊόντος σας, τα φίλτρα δεν εμφανίζουν τα "
319
  "αποτελέσματα που περιμένετε. "
320
 
321
+ #: includes/class-yith-wcan-admin.php:498
322
  msgctxt "[ADMIN] WooCommerce Tools tab, description of the tool"
323
  msgid ""
324
  "This will create a preset for any sidebar of your shop containing filter "
571
  msgid "New filter"
572
  msgstr "Νέο φίλτρο"
573
 
574
+ #: includes/class-yith-wcan-frontend.php:625
575
  #: includes/filters/class-yith-wcan-filter-tax.php:62
576
  msgctxt "[FRONTEND] \"All\" label shown when no term is selected"
577
  msgid "All"
578
  msgstr "Όλα"
579
 
580
+ #: includes/class-yith-wcan-frontend.php:626
581
  msgctxt "[FRONTEND] Search placeholder shown in terms dropdown"
582
  msgid "Search..."
583
  msgstr "Αναζήτηση…"
584
 
585
+ #: includes/class-yith-wcan-frontend.php:627
586
  msgctxt "[FRONTEND] Empty items list in the dropdown"
587
  msgid "No item found"
588
  msgstr "Δεν βρέθηκε αντικείμενο"
589
 
590
  #. translators: 1. Number of items to show.
591
+ #: includes/class-yith-wcan-frontend.php:629
592
  msgctxt "[FRONTEND] Show more link on terms dropdown"
593
  msgid "Show %d more"
594
  msgstr "Εμφάνιση %d περισσότερων"
595
 
596
+ #: includes/class-yith-wcan-frontend.php:630
597
  msgctxt "[FRONTEND] Alt text for modal close button on mobile"
598
  msgid "Close"
599
  msgstr "Κλείσιμο"
600
 
601
+ #: includes/class-yith-wcan-frontend.php:631
602
  msgctxt "[FRONTEND] Label for filter button, on horizontal layout"
603
  msgid "Save"
604
  msgstr ""
605
 
606
+ #: includes/class-yith-wcan-frontend.php:632
607
  msgctxt "[FRONTEND] Label for filter button, on mobile modal"
608
  msgid "Show results"
609
  msgstr "Εμφάνιση αποτελεσμάτων"
610
 
611
+ #: includes/class-yith-wcan-frontend.php:633
612
  msgctxt ""
613
  "[FRONTEND] Label for clear selection link, that appears above filter after "
614
  "selection"
615
  msgid "Clear"
616
  msgstr "Καθαρισμός"
617
 
618
+ #: includes/class-yith-wcan-frontend.php:634
619
  msgctxt ""
620
  "[FRONTEND] Label for clear selection link, that appears above filter after "
621
  "selection"
698
  msgid "YITH AJAX Filters Reset Button"
699
  msgstr "Κουμπί Επαναφοράς Φίλτρων YITH AJAX"
700
 
701
+ #: includes/elementor/class-yith-wcan-elementor-filters.php:102
702
  #: includes/shortcodes/class-yith-wcan-shortcode-filters.php:60
703
  msgctxt "[ELEMENTOR] Default preset option"
704
  msgid "Choose an option"
705
  msgstr "Διαλέξτε μια επιλογή"
706
 
707
+ #: includes/elementor/class-yith-wcan-elementor-filters.php:110
708
  msgctxt "[ELEMENTOR] Section title"
709
  msgid "Filters"
710
  msgstr "Φίλτρα"
711
 
712
+ #: includes/elementor/class-yith-wcan-elementor-reset-button.php:102
713
  msgctxt "[ELEMENTOR] Section title"
714
  msgid "General"
715
  msgstr "Γενικά"
716
 
717
+ #: includes/elementor/class-yith-wcan-elementor-filters.php:118
718
  msgctxt "[ELEMENTOR] Control label"
719
  msgid "Preset"
720
  msgstr "Προρύθμιση"
721
 
722
+ #: includes/elementor/class-yith-wcan-elementor-reset-button.php:113
723
  msgctxt "[ELEMENTOR] Widget description"
724
  msgid ""
725
  "This widget will display \"Filters reset\" button, wherever it is placed"
727
  "Αυτή η μικροεφαρμογή θα εμφανίσει το κουμπί \"Επαναφορά φίλτρων\", όπου "
728
  "τοποθετηθεί"
729
 
730
+ #: includes/elementor/class-yith-wcan-elementor-reset-button.php:116
731
  msgctxt "[ELEMENTOR] Widget description"
732
  msgid ""
733
  "It will allow users to reset the filer selection; it will only appear when "
736
  "Θα επιτρέψει στους χρήστες να επαναρυθμίσουν την επιλογή φίλτρου. Θα "
737
  "εμφανιστεί μόνο όταν υπάρχει ενεργό φίλτρο."
738
 
739
+ #: includes/elementor/class-yith-wcan-elementor-reset-button.php:120
740
  msgctxt "[ELEMENTOR] Widget description"
741
  msgid ""
742
  "You can use this block to place \"Reset filters\" button inside your page, "
756
  msgid "Color 2"
757
  msgstr "Χρώμα 2"
758
 
759
+ #: includes/functions-yith-wcan.php:1032
760
  msgctxt "[FRONTEND] Star rating template"
761
  msgid "star"
762
  msgid_plural "stars"
764
  msgstr[1] "αστέρια"
765
 
766
  #. translators: 1. Rating.
767
+ #: includes/functions-yith-wcan.php:1047
768
  msgctxt "[FRONTEND] Star rating label"
769
  msgid "Rated %s out of 5"
770
  msgstr "Βαθμολογήθηκε με %s από 5"
1112
  "Όταν ενεργοποιείται, προσθέτει ιδιότητα re=“nofollow” σε όλα τα anchors "
1113
  "φίλτρου όλου του πρόσθετου"
1114
 
1115
+ #: plugin-options/seo-options.php:64
1116
  msgctxt "[ADMIN] Seo settings page"
1117
  msgid "URL permalinks"
1118
  msgstr "URL permalinks"
1119
 
1120
+ #: plugin-options/seo-options.php:65
1121
  msgctxt "[ADMIN] Seo settings page"
1122
  msgid "Choose how to manage browser URL during filtering"
1123
  msgstr ""
1124
  "Επιλέξτε πώς να διαχειρίζεστε την πλοήγηση URL κατα την διάρκεια ταξινόμησης"
1125
 
1126
+ #: plugin-options/seo-options.php:71
1127
  msgctxt "[ADMIN] Seo settings page"
1128
  msgid "Add filters parameters to default URL"
1129
  msgstr "Προσθήκη παραμέτρων φίλτρου σε προεπιλεγμένο URL"
1130
 
1131
+ #: plugin-options/seo-options.php:72
1132
  msgctxt "[ADMIN] Seo settings page"
1133
  msgid "Don't change URL"
1134
  msgstr "Να μην γίνει αλλαγή URL"
languages/yith-woocommerce-ajax-navigation-es_ES.po CHANGED
@@ -5,7 +5,7 @@ msgstr ""
5
  "Project-Id-Version: YITH WooCommerce Ajax Product Filter\n"
6
  "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/yith-woocommerce-"
7
  "ajax-product-filter\n"
8
- "POT-Creation-Date: 2022-06-16 10:00:28+00:00\n"
9
  "PO-Revision-Date: 2021-02-12 13:30:42+0000\n"
10
  "Language: es\n"
11
  "MIME-Version: 1.0\n"
@@ -14,66 +14,66 @@ msgstr ""
14
  "Plural-Forms: nplurals=2; plural=n != 1;\n"
15
  "X-Generator: GlotPress/3.0.0-alpha.2\n"
16
 
17
- #: includes/class-yith-wcan-admin.php:191
18
  msgid ""
19
  "<b>100% mobile friendly:</b> Show filters in a modal view which is purposely "
20
  "designed for users visiting your site by smartphones or tablets"
21
  msgstr ""
22
 
23
- #: includes/class-yith-wcan-admin.php:192
24
  msgid ""
25
  "Show filters in the default layout or also in an <b>horizontal toolbar above "
26
  "products</b> (like Zalando)"
27
  msgstr ""
28
 
29
- #: includes/class-yith-wcan-admin.php:193
30
  msgid ""
31
  "Allow customers to <b>filter for price ranges</b> (unlimited ranges and the "
32
- "last range can show: “& above”) or using the <b>price slider</b>\n"
33
  msgstr ""
34
 
35
- #: includes/class-yith-wcan-admin.php:195
36
  msgid ""
37
  "Allow customers to <b>filter for review</b> and <b>for brand</b> (with the "
38
  "support to YITH WooCommerce Brands plugin)"
39
  msgstr ""
40
 
41
- #: includes/class-yith-wcan-admin.php:196
42
  msgid ""
43
  "Allow users to <b>order products</b> (by popularity, date, price, date of "
44
  "publishing, average rating, etc) and see only \tproducts in stock/featured/"
45
  "on sale"
46
  msgstr ""
47
 
48
- #: includes/class-yith-wcan-admin.php:197
49
  msgid ""
50
  "<b>Show the active filters</b> (with X to remove them) and choose their "
51
  "position (above products, above or under filters area)"
52
  msgstr ""
53
 
54
- #: includes/class-yith-wcan-admin.php:198
55
  msgid ""
56
  "Create <b>color swatches with image support</b> (to better identify "
57
  "gradients, textures, patterns, etc.) and with 2 colors"
58
  msgstr ""
59
 
60
- #: includes/class-yith-wcan-admin.php:199
61
  msgid "Show the options using <b>custom images or icons</b>"
62
  msgstr ""
63
 
64
- #: includes/class-yith-wcan-admin.php:200
65
  msgid ""
66
  "Choose the <b>order of the options</b> (alphabetical, terms order, terms "
67
  "count, etc.), enable tooltips and show each set of filters in toggle"
68
  msgstr ""
69
 
70
- #: includes/class-yith-wcan-admin.php:201
71
  msgid ""
72
  "Choose how to manage terms not availables: hide them OR shown them in grey "
73
  "color and not clickables "
74
  msgstr ""
75
 
76
- #: includes/class-yith-wcan-admin.php:202
77
  msgid "<b>Regular updates, Translations and Premium Support</b>"
78
  msgstr ""
79
 
@@ -168,13 +168,7 @@ msgstr "Restablecer todos los filtros"
168
  msgid "Button Label"
169
  msgstr "Etiqueta del botón"
170
 
171
- #: init.php:149
172
- msgid ""
173
- "You can't activate the free version of YITH WooCommerce Ajax Product Filter "
174
- "while you are using the premium one."
175
- msgstr ""
176
-
177
- #: init.php:167
178
  #, fuzzy
179
  msgid ""
180
  "YITH WooCommerce Ajax Product Filter is enabled but not effective. It "
@@ -183,6 +177,12 @@ msgstr ""
183
  "YITH WooCommerce Ajax Product Filter está activado pero no es efectivo. "
184
  "Necesita WooCommerce para funcionar. "
185
 
 
 
 
 
 
 
186
  #. Description of the plugin/theme
187
  #, fuzzy
188
  msgid ""
@@ -201,65 +201,72 @@ msgstr ""
201
  "yithemes.com/\" target=\"_blank\">Obtén más plugins para tu comercio "
202
  "electrónico en <strong>YITH</strong></a>"
203
 
204
- #: includes/class-yith-wcan-admin.php:106
205
  msgctxt "[Admin] Copy confirmation message"
206
  msgid "Content copied to your clipboard"
207
  msgstr "Contenido copiado en tu portapapeles"
208
 
209
- #: includes/class-yith-wcan-admin.php:107
210
  msgctxt "[Admin] Confirm filter delete message"
211
  msgid "Are you sure you want to delete this item?"
212
  msgstr "¿Estás seguro de que quieres eliminar este artículo?"
213
 
214
  #. translators: 1. Number of items that will be added.
215
- #: includes/class-yith-wcan-admin.php:109
216
  msgctxt "[Admin] Confirm add all terms message"
217
  msgid "Are you sure you want to proceed? This operation will add %s items"
218
  msgstr ""
219
  "¿Estás seguro de que quieres continuar? Esta operación añadirá %s artículos"
220
 
221
- #: includes/class-yith-wcan-admin.php:110
222
  msgctxt "[Admin] Error message"
223
  msgid "\"Filter title\" is a required field"
224
  msgstr ""
225
 
226
- #: includes/class-yith-wcan-admin.php:113 templates/admin/preset-filter.php:33
227
  msgctxt "[Admin] Message shown when filter has empty title"
228
  msgid "&lt; no title &gt;"
229
  msgstr "&lt; sin título &gt;"
230
 
231
- #: includes/class-yith-wcan-admin.php:114
232
  msgctxt "[Admin] Media library title, when selecting images"
233
  msgid "Select media you want to use"
234
  msgstr "Selecciona los medios que quieres usar"
235
 
236
- #: includes/class-yith-wcan-admin.php:115
237
  msgctxt "[Admin] Media library confirm button, when selecting images"
238
  msgid "Use this media"
239
  msgstr "Utiliza estos medios"
240
 
241
- #: includes/class-yith-wcan-admin.php:179
242
  msgctxt "[Admin] tab name"
243
  msgid "Filter presets"
244
  msgstr "Filtrar prestablecidos"
245
 
246
- #: includes/class-yith-wcan-admin.php:180
247
  msgctxt "[Admin] tab name"
248
  msgid "General settings"
249
  msgstr "Ajustes generales"
250
 
251
- #: includes/class-yith-wcan-admin.php:181
252
  #, fuzzy
253
  msgctxt "[Admin] tab name"
254
  msgid "SEO"
255
  msgstr "SEO"
256
 
257
- #: includes/class-yith-wcan-admin.php:185
258
  msgctxt "[Admin] tab name"
259
  msgid "Legacy"
260
  msgstr "Heredado"
261
 
262
- #: includes/class-yith-wcan-admin.php:212
 
 
 
 
 
 
 
263
  msgctxt "[Admin] Plugin description"
264
  msgid ""
265
  "It allows your users to find the product they are looking for as quickly as "
@@ -268,44 +275,37 @@ msgstr ""
268
  "Permite a tus usuarios encontrar el producto que están buscando lo más "
269
  "rápido posible."
270
 
271
- #: includes/class-yith-wcan-admin.php:225
272
- msgctxt "[HELP TAB] Video title"
273
- msgid ""
274
- "Check this video to learn how to <b>create a filter preset and show it on "
275
- "the shop page:</b>"
276
- msgstr ""
277
-
278
- #: includes/class-yith-wcan-admin.php:344
279
  msgctxt "[Admin] Generic item name, in \"You have no x yet\""
280
  msgid "item"
281
  msgstr "artículo"
282
 
283
- #: includes/class-yith-wcan-admin.php:345
284
  msgctxt "[Admin] Preset table empty message second line"
285
  msgid "But don't worry, here you can create your first one!"
286
  msgstr "¡Pero no te preocupes, aquí puedes crear el primero!"
287
 
288
- #: includes/class-yith-wcan-admin.php:495
289
  msgctxt "[ADMIN] WooCommerce Tools tab, name of the tool"
290
  msgid "Clear Product Filter transients"
291
  msgstr "Limpiar datos transitorios de filtro de producto"
292
 
293
- #: includes/class-yith-wcan-admin.php:501
294
  msgctxt "[ADMIN] WooCommerce Tools tab, name of the tool"
295
  msgid "Run filter widgets upgrade"
296
  msgstr "Activar actualización de widgets de filtro"
297
 
298
- #: includes/class-yith-wcan-admin.php:496
299
  msgctxt "[ADMIN] WooCommerce Tools tab, button for the tool"
300
  msgid "Clear"
301
  msgstr "Limpìar"
302
 
303
- #: includes/class-yith-wcan-admin.php:502
304
  msgctxt "[ADMIN] WooCommerce Tools tab, button for the tool"
305
  msgid "Run"
306
  msgstr "Activar"
307
 
308
- #: includes/class-yith-wcan-admin.php:497
309
  msgctxt "[ADMIN] WooCommerce Tools tab, description of the tool"
310
  msgid ""
311
  "This will clear all transients related to the YITH WooCommerce AJAX Product "
@@ -317,7 +317,7 @@ msgstr ""
317
  "configuración del producto y los filtros no muestran los resultados "
318
  "esperados."
319
 
320
- #: includes/class-yith-wcan-admin.php:503
321
  msgctxt "[ADMIN] WooCommerce Tools tab, description of the tool"
322
  msgid ""
323
  "This will create a preset for any sidebar of your shop containing filter "
@@ -569,51 +569,51 @@ msgctxt "[Admin] Default filter title"
569
  msgid "New filter"
570
  msgstr "Nuevo filtro"
571
 
572
- #: includes/class-yith-wcan-frontend.php:591
573
  #: includes/filters/class-yith-wcan-filter-tax.php:62
574
  msgctxt "[FRONTEND] \"All\" label shown when no term is selected"
575
  msgid "All"
576
  msgstr "Todo"
577
 
578
- #: includes/class-yith-wcan-frontend.php:592
579
  msgctxt "[FRONTEND] Search placeholder shown in terms dropdown"
580
  msgid "Search..."
581
  msgstr "Buscar..."
582
 
583
- #: includes/class-yith-wcan-frontend.php:593
584
  msgctxt "[FRONTEND] Empty items list in the dropdown"
585
  msgid "No item found"
586
  msgstr "No se han encontrado artículos."
587
 
588
  #. translators: 1. Number of items to show.
589
- #: includes/class-yith-wcan-frontend.php:595
590
  msgctxt "[FRONTEND] Show more link on terms dropdown"
591
  msgid "Show %d more"
592
  msgstr "Mostrar %d más"
593
 
594
- #: includes/class-yith-wcan-frontend.php:596
595
  msgctxt "[FRONTEND] Alt text for modal close button on mobile"
596
  msgid "Close"
597
  msgstr "Cerrar"
598
 
599
- #: includes/class-yith-wcan-frontend.php:597
600
  msgctxt "[FRONTEND] Label for filter button, on horizontal layout"
601
  msgid "Save"
602
  msgstr ""
603
 
604
- #: includes/class-yith-wcan-frontend.php:598
605
  msgctxt "[FRONTEND] Label for filter button, on mobile modal"
606
  msgid "Show results"
607
  msgstr "Mostrar resultados"
608
 
609
- #: includes/class-yith-wcan-frontend.php:599
610
  msgctxt ""
611
  "[FRONTEND] Label for clear selection link, that appears above filter after "
612
  "selection"
613
  msgid "Clear"
614
  msgstr "Limpiar"
615
 
616
- #: includes/class-yith-wcan-frontend.php:600
617
  msgctxt ""
618
  "[FRONTEND] Label for clear selection link, that appears above filter after "
619
  "selection"
@@ -696,35 +696,35 @@ msgctxt "[ADMIN] Name of the preset elementor widget"
696
  msgid "YITH AJAX Filters Reset Button"
697
  msgstr "YITH AJAX Botón de restablecimiento de filtros"
698
 
699
- #: includes/elementor/class-yith-wcan-elementor-filters.php:89
700
  #: includes/shortcodes/class-yith-wcan-shortcode-filters.php:60
701
  msgctxt "[ELEMENTOR] Default preset option"
702
  msgid "Choose an option"
703
  msgstr "Escoge una opción"
704
 
705
- #: includes/elementor/class-yith-wcan-elementor-filters.php:97
706
  msgctxt "[ELEMENTOR] Section title"
707
  msgid "Filters"
708
  msgstr "Filtros"
709
 
710
- #: includes/elementor/class-yith-wcan-elementor-reset-button.php:89
711
  msgctxt "[ELEMENTOR] Section title"
712
  msgid "General"
713
  msgstr "General"
714
 
715
- #: includes/elementor/class-yith-wcan-elementor-filters.php:105
716
  msgctxt "[ELEMENTOR] Control label"
717
  msgid "Preset"
718
  msgstr "Pre establecimiento"
719
 
720
- #: includes/elementor/class-yith-wcan-elementor-reset-button.php:100
721
  msgctxt "[ELEMENTOR] Widget description"
722
  msgid ""
723
  "This widget will display \"Filters reset\" button, wherever it is placed"
724
  msgstr ""
725
  "Este widget mostrará el botón ''Restablecer filtros'' en donde se encuentre"
726
 
727
- #: includes/elementor/class-yith-wcan-elementor-reset-button.php:103
728
  msgctxt "[ELEMENTOR] Widget description"
729
  msgid ""
730
  "It will allow users to reset the filer selection; it will only appear when "
@@ -733,7 +733,7 @@ msgstr ""
733
  "Permitirá a los usuarios restablecer la selección de filtro; solo aparecerá "
734
  "cuando haya un filtro activo."
735
 
736
- #: includes/elementor/class-yith-wcan-elementor-reset-button.php:107
737
  msgctxt "[ELEMENTOR] Widget description"
738
  msgid ""
739
  "You can use this block to place \"Reset filters\" button inside your page, "
@@ -753,7 +753,7 @@ msgctxt "For multicolor: I.E. white and red T-Shirt"
753
  msgid "Color 2"
754
  msgstr "Color 2"
755
 
756
- #: includes/functions-yith-wcan.php:1026
757
  msgctxt "[FRONTEND] Star rating template"
758
  msgid "star"
759
  msgid_plural "stars"
@@ -761,7 +761,7 @@ msgstr[0] "estrella"
761
  msgstr[1] "estrellas"
762
 
763
  #. translators: 1. Rating.
764
- #: includes/functions-yith-wcan.php:1041
765
  msgctxt "[FRONTEND] Star rating label"
766
  msgid "Rated %s out of 5"
767
  msgstr "Valorado en %s sobre 5"
@@ -1110,22 +1110,22 @@ msgstr ""
1110
  "Cuando está activado, añade re=\"nofollow\" atributos a todas las anclas de "
1111
  "filtro del plugin"
1112
 
1113
- #: plugin-options/seo-options.php:63
1114
  msgctxt "[ADMIN] Seo settings page"
1115
  msgid "URL permalinks"
1116
  msgstr "Enlaces permanentes de URL"
1117
 
1118
- #: plugin-options/seo-options.php:64
1119
  msgctxt "[ADMIN] Seo settings page"
1120
  msgid "Choose how to manage browser URL during filtering"
1121
  msgstr "Escoge cómo gestionar la búsqueda de la URL durante el filtrado"
1122
 
1123
- #: plugin-options/seo-options.php:70
1124
  msgctxt "[ADMIN] Seo settings page"
1125
  msgid "Add filters parameters to default URL"
1126
  msgstr "Añadir parámetros de filtro para la URL predeterminada"
1127
 
1128
- #: plugin-options/seo-options.php:71
1129
  msgctxt "[ADMIN] Seo settings page"
1130
  msgid "Don't change URL"
1131
  msgstr "No cambiar la URL"
5
  "Project-Id-Version: YITH WooCommerce Ajax Product Filter\n"
6
  "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/yith-woocommerce-"
7
  "ajax-product-filter\n"
8
+ "POT-Creation-Date: 2022-08-08 08:50:46+00:00\n"
9
  "PO-Revision-Date: 2021-02-12 13:30:42+0000\n"
10
  "Language: es\n"
11
  "MIME-Version: 1.0\n"
14
  "Plural-Forms: nplurals=2; plural=n != 1;\n"
15
  "X-Generator: GlotPress/3.0.0-alpha.2\n"
16
 
17
+ #: includes/class-yith-wcan-admin.php:189
18
  msgid ""
19
  "<b>100% mobile friendly:</b> Show filters in a modal view which is purposely "
20
  "designed for users visiting your site by smartphones or tablets"
21
  msgstr ""
22
 
23
+ #: includes/class-yith-wcan-admin.php:190
24
  msgid ""
25
  "Show filters in the default layout or also in an <b>horizontal toolbar above "
26
  "products</b> (like Zalando)"
27
  msgstr ""
28
 
29
+ #: includes/class-yith-wcan-admin.php:191
30
  msgid ""
31
  "Allow customers to <b>filter for price ranges</b> (unlimited ranges and the "
32
+ "last range can show: “& above”) or using the <b>price slider</b>"
33
  msgstr ""
34
 
35
+ #: includes/class-yith-wcan-admin.php:192
36
  msgid ""
37
  "Allow customers to <b>filter for review</b> and <b>for brand</b> (with the "
38
  "support to YITH WooCommerce Brands plugin)"
39
  msgstr ""
40
 
41
+ #: includes/class-yith-wcan-admin.php:193
42
  msgid ""
43
  "Allow users to <b>order products</b> (by popularity, date, price, date of "
44
  "publishing, average rating, etc) and see only \tproducts in stock/featured/"
45
  "on sale"
46
  msgstr ""
47
 
48
+ #: includes/class-yith-wcan-admin.php:194
49
  msgid ""
50
  "<b>Show the active filters</b> (with X to remove them) and choose their "
51
  "position (above products, above or under filters area)"
52
  msgstr ""
53
 
54
+ #: includes/class-yith-wcan-admin.php:195
55
  msgid ""
56
  "Create <b>color swatches with image support</b> (to better identify "
57
  "gradients, textures, patterns, etc.) and with 2 colors"
58
  msgstr ""
59
 
60
+ #: includes/class-yith-wcan-admin.php:196
61
  msgid "Show the options using <b>custom images or icons</b>"
62
  msgstr ""
63
 
64
+ #: includes/class-yith-wcan-admin.php:197
65
  msgid ""
66
  "Choose the <b>order of the options</b> (alphabetical, terms order, terms "
67
  "count, etc.), enable tooltips and show each set of filters in toggle"
68
  msgstr ""
69
 
70
+ #: includes/class-yith-wcan-admin.php:198
71
  msgid ""
72
  "Choose how to manage terms not availables: hide them OR shown them in grey "
73
  "color and not clickables "
74
  msgstr ""
75
 
76
+ #: includes/class-yith-wcan-admin.php:199
77
  msgid "<b>Regular updates, Translations and Premium Support</b>"
78
  msgstr ""
79
 
168
  msgid "Button Label"
169
  msgstr "Etiqueta del botón"
170
 
171
+ #: init.php:162
 
 
 
 
 
 
172
  #, fuzzy
173
  msgid ""
174
  "YITH WooCommerce Ajax Product Filter is enabled but not effective. It "
177
  "YITH WooCommerce Ajax Product Filter está activado pero no es efectivo. "
178
  "Necesita WooCommerce para funcionar. "
179
 
180
+ #: init.php:181
181
+ msgid ""
182
+ "YITH WooCommerce Ajax Product Filter was deactivated as you're running an "
183
+ "higher tier version of the same plugin."
184
+ msgstr ""
185
+
186
  #. Description of the plugin/theme
187
  #, fuzzy
188
  msgid ""
201
  "yithemes.com/\" target=\"_blank\">Obtén más plugins para tu comercio "
202
  "electrónico en <strong>YITH</strong></a>"
203
 
204
+ #: includes/class-yith-wcan-admin.php:104
205
  msgctxt "[Admin] Copy confirmation message"
206
  msgid "Content copied to your clipboard"
207
  msgstr "Contenido copiado en tu portapapeles"
208
 
209
+ #: includes/class-yith-wcan-admin.php:105
210
  msgctxt "[Admin] Confirm filter delete message"
211
  msgid "Are you sure you want to delete this item?"
212
  msgstr "¿Estás seguro de que quieres eliminar este artículo?"
213
 
214
  #. translators: 1. Number of items that will be added.
215
+ #: includes/class-yith-wcan-admin.php:107
216
  msgctxt "[Admin] Confirm add all terms message"
217
  msgid "Are you sure you want to proceed? This operation will add %s items"
218
  msgstr ""
219
  "¿Estás seguro de que quieres continuar? Esta operación añadirá %s artículos"
220
 
221
+ #: includes/class-yith-wcan-admin.php:108
222
  msgctxt "[Admin] Error message"
223
  msgid "\"Filter title\" is a required field"
224
  msgstr ""
225
 
226
+ #: includes/class-yith-wcan-admin.php:111 templates/admin/preset-filter.php:33
227
  msgctxt "[Admin] Message shown when filter has empty title"
228
  msgid "&lt; no title &gt;"
229
  msgstr "&lt; sin título &gt;"
230
 
231
+ #: includes/class-yith-wcan-admin.php:112
232
  msgctxt "[Admin] Media library title, when selecting images"
233
  msgid "Select media you want to use"
234
  msgstr "Selecciona los medios que quieres usar"
235
 
236
+ #: includes/class-yith-wcan-admin.php:113
237
  msgctxt "[Admin] Media library confirm button, when selecting images"
238
  msgid "Use this media"
239
  msgstr "Utiliza estos medios"
240
 
241
+ #: includes/class-yith-wcan-admin.php:177
242
  msgctxt "[Admin] tab name"
243
  msgid "Filter presets"
244
  msgstr "Filtrar prestablecidos"
245
 
246
+ #: includes/class-yith-wcan-admin.php:178
247
  msgctxt "[Admin] tab name"
248
  msgid "General settings"
249
  msgstr "Ajustes generales"
250
 
251
+ #: includes/class-yith-wcan-admin.php:179
252
  #, fuzzy
253
  msgctxt "[Admin] tab name"
254
  msgid "SEO"
255
  msgstr "SEO"
256
 
257
+ #: includes/class-yith-wcan-admin.php:183
258
  msgctxt "[Admin] tab name"
259
  msgid "Legacy"
260
  msgstr "Heredado"
261
 
262
+ #: includes/class-yith-wcan-admin.php:207
263
+ msgctxt "[HELP TAB] Video title"
264
+ msgid ""
265
+ "Check this video to learn how to <b>create a filter preset and show it on "
266
+ "the shop page:</b>"
267
+ msgstr ""
268
+
269
+ #: includes/class-yith-wcan-admin.php:230
270
  msgctxt "[Admin] Plugin description"
271
  msgid ""
272
  "It allows your users to find the product they are looking for as quickly as "
275
  "Permite a tus usuarios encontrar el producto que están buscando lo más "
276
  "rápido posible."
277
 
278
+ #: includes/class-yith-wcan-admin.php:348
 
 
 
 
 
 
 
279
  msgctxt "[Admin] Generic item name, in \"You have no x yet\""
280
  msgid "item"
281
  msgstr "artículo"
282
 
283
+ #: includes/class-yith-wcan-admin.php:349
284
  msgctxt "[Admin] Preset table empty message second line"
285
  msgid "But don't worry, here you can create your first one!"
286
  msgstr "¡Pero no te preocupes, aquí puedes crear el primero!"
287
 
288
+ #: includes/class-yith-wcan-admin.php:490
289
  msgctxt "[ADMIN] WooCommerce Tools tab, name of the tool"
290
  msgid "Clear Product Filter transients"
291
  msgstr "Limpiar datos transitorios de filtro de producto"
292
 
293
+ #: includes/class-yith-wcan-admin.php:496
294
  msgctxt "[ADMIN] WooCommerce Tools tab, name of the tool"
295
  msgid "Run filter widgets upgrade"
296
  msgstr "Activar actualización de widgets de filtro"
297
 
298
+ #: includes/class-yith-wcan-admin.php:491
299
  msgctxt "[ADMIN] WooCommerce Tools tab, button for the tool"
300
  msgid "Clear"
301
  msgstr "Limpìar"
302
 
303
+ #: includes/class-yith-wcan-admin.php:497
304
  msgctxt "[ADMIN] WooCommerce Tools tab, button for the tool"
305
  msgid "Run"
306
  msgstr "Activar"
307
 
308
+ #: includes/class-yith-wcan-admin.php:492
309
  msgctxt "[ADMIN] WooCommerce Tools tab, description of the tool"
310
  msgid ""
311
  "This will clear all transients related to the YITH WooCommerce AJAX Product "
317
  "configuración del producto y los filtros no muestran los resultados "
318
  "esperados."
319
 
320
+ #: includes/class-yith-wcan-admin.php:498
321
  msgctxt "[ADMIN] WooCommerce Tools tab, description of the tool"
322
  msgid ""
323
  "This will create a preset for any sidebar of your shop containing filter "
569
  msgid "New filter"
570
  msgstr "Nuevo filtro"
571
 
572
+ #: includes/class-yith-wcan-frontend.php:625
573
  #: includes/filters/class-yith-wcan-filter-tax.php:62
574
  msgctxt "[FRONTEND] \"All\" label shown when no term is selected"
575
  msgid "All"
576
  msgstr "Todo"
577
 
578
+ #: includes/class-yith-wcan-frontend.php:626
579
  msgctxt "[FRONTEND] Search placeholder shown in terms dropdown"
580
  msgid "Search..."
581
  msgstr "Buscar..."
582
 
583
+ #: includes/class-yith-wcan-frontend.php:627
584
  msgctxt "[FRONTEND] Empty items list in the dropdown"
585
  msgid "No item found"
586
  msgstr "No se han encontrado artículos."
587
 
588
  #. translators: 1. Number of items to show.
589
+ #: includes/class-yith-wcan-frontend.php:629
590
  msgctxt "[FRONTEND] Show more link on terms dropdown"
591
  msgid "Show %d more"
592
  msgstr "Mostrar %d más"
593
 
594
+ #: includes/class-yith-wcan-frontend.php:630
595
  msgctxt "[FRONTEND] Alt text for modal close button on mobile"
596
  msgid "Close"
597
  msgstr "Cerrar"
598
 
599
+ #: includes/class-yith-wcan-frontend.php:631
600
  msgctxt "[FRONTEND] Label for filter button, on horizontal layout"
601
  msgid "Save"
602
  msgstr ""
603
 
604
+ #: includes/class-yith-wcan-frontend.php:632
605
  msgctxt "[FRONTEND] Label for filter button, on mobile modal"
606
  msgid "Show results"
607
  msgstr "Mostrar resultados"
608
 
609
+ #: includes/class-yith-wcan-frontend.php:633
610
  msgctxt ""
611
  "[FRONTEND] Label for clear selection link, that appears above filter after "
612
  "selection"
613
  msgid "Clear"
614
  msgstr "Limpiar"
615
 
616
+ #: includes/class-yith-wcan-frontend.php:634
617
  msgctxt ""
618
  "[FRONTEND] Label for clear selection link, that appears above filter after "
619
  "selection"
696
  msgid "YITH AJAX Filters Reset Button"
697
  msgstr "YITH AJAX Botón de restablecimiento de filtros"
698
 
699
+ #: includes/elementor/class-yith-wcan-elementor-filters.php:102
700
  #: includes/shortcodes/class-yith-wcan-shortcode-filters.php:60
701
  msgctxt "[ELEMENTOR] Default preset option"
702
  msgid "Choose an option"
703
  msgstr "Escoge una opción"
704
 
705
+ #: includes/elementor/class-yith-wcan-elementor-filters.php:110
706
  msgctxt "[ELEMENTOR] Section title"
707
  msgid "Filters"
708
  msgstr "Filtros"
709
 
710
+ #: includes/elementor/class-yith-wcan-elementor-reset-button.php:102
711
  msgctxt "[ELEMENTOR] Section title"
712
  msgid "General"
713
  msgstr "General"
714
 
715
+ #: includes/elementor/class-yith-wcan-elementor-filters.php:118
716
  msgctxt "[ELEMENTOR] Control label"
717
  msgid "Preset"
718
  msgstr "Pre establecimiento"
719
 
720
+ #: includes/elementor/class-yith-wcan-elementor-reset-button.php:113
721
  msgctxt "[ELEMENTOR] Widget description"
722
  msgid ""
723
  "This widget will display \"Filters reset\" button, wherever it is placed"
724
  msgstr ""
725
  "Este widget mostrará el botón ''Restablecer filtros'' en donde se encuentre"
726
 
727
+ #: includes/elementor/class-yith-wcan-elementor-reset-button.php:116
728
  msgctxt "[ELEMENTOR] Widget description"
729
  msgid ""
730
  "It will allow users to reset the filer selection; it will only appear when "
733
  "Permitirá a los usuarios restablecer la selección de filtro; solo aparecerá "
734
  "cuando haya un filtro activo."
735
 
736
+ #: includes/elementor/class-yith-wcan-elementor-reset-button.php:120
737
  msgctxt "[ELEMENTOR] Widget description"
738
  msgid ""
739
  "You can use this block to place \"Reset filters\" button inside your page, "
753
  msgid "Color 2"
754
  msgstr "Color 2"
755
 
756
+ #: includes/functions-yith-wcan.php:1032
757
  msgctxt "[FRONTEND] Star rating template"
758
  msgid "star"
759
  msgid_plural "stars"
761
  msgstr[1] "estrellas"
762
 
763
  #. translators: 1. Rating.
764
+ #: includes/functions-yith-wcan.php:1047
765
  msgctxt "[FRONTEND] Star rating label"
766
  msgid "Rated %s out of 5"
767
  msgstr "Valorado en %s sobre 5"
1110
  "Cuando está activado, añade re=\"nofollow\" atributos a todas las anclas de "
1111
  "filtro del plugin"
1112
 
1113
+ #: plugin-options/seo-options.php:64
1114
  msgctxt "[ADMIN] Seo settings page"
1115
  msgid "URL permalinks"
1116
  msgstr "Enlaces permanentes de URL"
1117
 
1118
+ #: plugin-options/seo-options.php:65
1119
  msgctxt "[ADMIN] Seo settings page"
1120
  msgid "Choose how to manage browser URL during filtering"
1121
  msgstr "Escoge cómo gestionar la búsqueda de la URL durante el filtrado"
1122
 
1123
+ #: plugin-options/seo-options.php:71
1124
  msgctxt "[ADMIN] Seo settings page"
1125
  msgid "Add filters parameters to default URL"
1126
  msgstr "Añadir parámetros de filtro para la URL predeterminada"
1127
 
1128
+ #: plugin-options/seo-options.php:72
1129
  msgctxt "[ADMIN] Seo settings page"
1130
  msgid "Don't change URL"
1131
  msgstr "No cambiar la URL"
languages/yith-woocommerce-ajax-navigation-fr_FR.po CHANGED
@@ -5,7 +5,7 @@ msgstr ""
5
  "Project-Id-Version: YITH WooCommerce Ajax Product Filter\n"
6
  "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/yith-woocommerce-"
7
  "ajax-product-filter\n"
8
- "POT-Creation-Date: 2022-06-16 10:00:28+00:00\n"
9
  "PO-Revision-Date: 2020-12-29 14:36:56+0000\n"
10
  "Language: fr\n"
11
  "MIME-Version: 1.0\n"
@@ -14,66 +14,66 @@ msgstr ""
14
  "Plural-Forms: nplurals=2; plural=n > 1;\n"
15
  "X-Generator: GlotPress/3.0.0-alpha.2\n"
16
 
17
- #: includes/class-yith-wcan-admin.php:191
18
  msgid ""
19
  "<b>100% mobile friendly:</b> Show filters in a modal view which is purposely "
20
  "designed for users visiting your site by smartphones or tablets"
21
  msgstr ""
22
 
23
- #: includes/class-yith-wcan-admin.php:192
24
  msgid ""
25
  "Show filters in the default layout or also in an <b>horizontal toolbar above "
26
  "products</b> (like Zalando)"
27
  msgstr ""
28
 
29
- #: includes/class-yith-wcan-admin.php:193
30
  msgid ""
31
  "Allow customers to <b>filter for price ranges</b> (unlimited ranges and the "
32
- "last range can show: “& above”) or using the <b>price slider</b>\n"
33
  msgstr ""
34
 
35
- #: includes/class-yith-wcan-admin.php:195
36
  msgid ""
37
  "Allow customers to <b>filter for review</b> and <b>for brand</b> (with the "
38
  "support to YITH WooCommerce Brands plugin)"
39
  msgstr ""
40
 
41
- #: includes/class-yith-wcan-admin.php:196
42
  msgid ""
43
  "Allow users to <b>order products</b> (by popularity, date, price, date of "
44
  "publishing, average rating, etc) and see only \tproducts in stock/featured/"
45
  "on sale"
46
  msgstr ""
47
 
48
- #: includes/class-yith-wcan-admin.php:197
49
  msgid ""
50
  "<b>Show the active filters</b> (with X to remove them) and choose their "
51
  "position (above products, above or under filters area)"
52
  msgstr ""
53
 
54
- #: includes/class-yith-wcan-admin.php:198
55
  msgid ""
56
  "Create <b>color swatches with image support</b> (to better identify "
57
  "gradients, textures, patterns, etc.) and with 2 colors"
58
  msgstr ""
59
 
60
- #: includes/class-yith-wcan-admin.php:199
61
  msgid "Show the options using <b>custom images or icons</b>"
62
  msgstr ""
63
 
64
- #: includes/class-yith-wcan-admin.php:200
65
  msgid ""
66
  "Choose the <b>order of the options</b> (alphabetical, terms order, terms "
67
  "count, etc.), enable tooltips and show each set of filters in toggle"
68
  msgstr ""
69
 
70
- #: includes/class-yith-wcan-admin.php:201
71
  msgid ""
72
  "Choose how to manage terms not availables: hide them OR shown them in grey "
73
  "color and not clickables "
74
  msgstr ""
75
 
76
- #: includes/class-yith-wcan-admin.php:202
77
  msgid "<b>Regular updates, Translations and Premium Support</b>"
78
  msgstr ""
79
 
@@ -168,13 +168,7 @@ msgstr "Réinitialiser tous les filtres"
168
  msgid "Button Label"
169
  msgstr "Étiquette du bouton"
170
 
171
- #: init.php:149
172
- msgid ""
173
- "You can't activate the free version of YITH WooCommerce Ajax Product Filter "
174
- "while you are using the premium one."
175
- msgstr ""
176
-
177
- #: init.php:167
178
  #, fuzzy
179
  msgid ""
180
  "YITH WooCommerce Ajax Product Filter is enabled but not effective. It "
@@ -183,6 +177,12 @@ msgstr ""
183
  "Le filtre de produit YITH WooCommerce Ajax est activé mais pas efficace. Il "
184
  "nécessite WooCommerce pour fonctionner."
185
 
 
 
 
 
 
 
186
  #. Description of the plugin/theme
187
  msgid ""
188
  "<code><strong>YITH WooCommerce AJAX Product Filter</strong></code> allows "
@@ -193,108 +193,108 @@ msgid ""
193
  "your e-commerce shop on <strong>YITH</strong></a>"
194
  msgstr ""
195
 
196
- #: includes/class-yith-wcan-admin.php:106
197
  msgctxt "[Admin] Copy confirmation message"
198
  msgid "Content copied to your clipboard"
199
  msgstr ""
200
 
201
- #: includes/class-yith-wcan-admin.php:107
202
  msgctxt "[Admin] Confirm filter delete message"
203
  msgid "Are you sure you want to delete this item?"
204
  msgstr ""
205
 
206
  #. translators: 1. Number of items that will be added.
207
- #: includes/class-yith-wcan-admin.php:109
208
  msgctxt "[Admin] Confirm add all terms message"
209
  msgid "Are you sure you want to proceed? This operation will add %s items"
210
  msgstr ""
211
 
212
- #: includes/class-yith-wcan-admin.php:110
213
  msgctxt "[Admin] Error message"
214
  msgid "\"Filter title\" is a required field"
215
  msgstr ""
216
 
217
- #: includes/class-yith-wcan-admin.php:113 templates/admin/preset-filter.php:33
218
  msgctxt "[Admin] Message shown when filter has empty title"
219
  msgid "&lt; no title &gt;"
220
  msgstr ""
221
 
222
- #: includes/class-yith-wcan-admin.php:114
223
  msgctxt "[Admin] Media library title, when selecting images"
224
  msgid "Select media you want to use"
225
  msgstr ""
226
 
227
- #: includes/class-yith-wcan-admin.php:115
228
  msgctxt "[Admin] Media library confirm button, when selecting images"
229
  msgid "Use this media"
230
  msgstr ""
231
 
232
- #: includes/class-yith-wcan-admin.php:179
233
  msgctxt "[Admin] tab name"
234
  msgid "Filter presets"
235
  msgstr ""
236
 
237
- #: includes/class-yith-wcan-admin.php:180
238
  msgctxt "[Admin] tab name"
239
  msgid "General settings"
240
  msgstr ""
241
 
242
- #: includes/class-yith-wcan-admin.php:181
243
  #, fuzzy
244
  msgctxt "[Admin] tab name"
245
  msgid "SEO"
246
  msgstr "SEO"
247
 
248
- #: includes/class-yith-wcan-admin.php:185
249
  msgctxt "[Admin] tab name"
250
  msgid "Legacy"
251
  msgstr ""
252
 
253
- #: includes/class-yith-wcan-admin.php:212
254
- msgctxt "[Admin] Plugin description"
255
- msgid ""
256
- "It allows your users to find the product they are looking for as quickly as "
257
- "possible."
258
- msgstr ""
259
-
260
- #: includes/class-yith-wcan-admin.php:225
261
  msgctxt "[HELP TAB] Video title"
262
  msgid ""
263
  "Check this video to learn how to <b>create a filter preset and show it on "
264
  "the shop page:</b>"
265
  msgstr ""
266
 
267
- #: includes/class-yith-wcan-admin.php:344
 
 
 
 
 
 
 
268
  msgctxt "[Admin] Generic item name, in \"You have no x yet\""
269
  msgid "item"
270
  msgstr ""
271
 
272
- #: includes/class-yith-wcan-admin.php:345
273
  msgctxt "[Admin] Preset table empty message second line"
274
  msgid "But don't worry, here you can create your first one!"
275
  msgstr ""
276
 
277
- #: includes/class-yith-wcan-admin.php:495
278
  msgctxt "[ADMIN] WooCommerce Tools tab, name of the tool"
279
  msgid "Clear Product Filter transients"
280
  msgstr ""
281
 
282
- #: includes/class-yith-wcan-admin.php:501
283
  msgctxt "[ADMIN] WooCommerce Tools tab, name of the tool"
284
  msgid "Run filter widgets upgrade"
285
  msgstr ""
286
 
287
- #: includes/class-yith-wcan-admin.php:496
288
  msgctxt "[ADMIN] WooCommerce Tools tab, button for the tool"
289
  msgid "Clear"
290
  msgstr ""
291
 
292
- #: includes/class-yith-wcan-admin.php:502
293
  msgctxt "[ADMIN] WooCommerce Tools tab, button for the tool"
294
  msgid "Run"
295
  msgstr ""
296
 
297
- #: includes/class-yith-wcan-admin.php:497
298
  msgctxt "[ADMIN] WooCommerce Tools tab, description of the tool"
299
  msgid ""
300
  "This will clear all transients related to the YITH WooCommerce AJAX Product "
@@ -302,7 +302,7 @@ msgid ""
302
  "and filters do not display the expected results."
303
  msgstr ""
304
 
305
- #: includes/class-yith-wcan-admin.php:503
306
  msgctxt "[ADMIN] WooCommerce Tools tab, description of the tool"
307
  msgid ""
308
  "This will create a preset for any sidebar of your shop containing filter "
@@ -545,51 +545,51 @@ msgctxt "[Admin] Default filter title"
545
  msgid "New filter"
546
  msgstr ""
547
 
548
- #: includes/class-yith-wcan-frontend.php:591
549
  #: includes/filters/class-yith-wcan-filter-tax.php:62
550
  msgctxt "[FRONTEND] \"All\" label shown when no term is selected"
551
  msgid "All"
552
  msgstr ""
553
 
554
- #: includes/class-yith-wcan-frontend.php:592
555
  msgctxt "[FRONTEND] Search placeholder shown in terms dropdown"
556
  msgid "Search..."
557
  msgstr ""
558
 
559
- #: includes/class-yith-wcan-frontend.php:593
560
  msgctxt "[FRONTEND] Empty items list in the dropdown"
561
  msgid "No item found"
562
  msgstr ""
563
 
564
  #. translators: 1. Number of items to show.
565
- #: includes/class-yith-wcan-frontend.php:595
566
  msgctxt "[FRONTEND] Show more link on terms dropdown"
567
  msgid "Show %d more"
568
  msgstr ""
569
 
570
- #: includes/class-yith-wcan-frontend.php:596
571
  msgctxt "[FRONTEND] Alt text for modal close button on mobile"
572
  msgid "Close"
573
  msgstr ""
574
 
575
- #: includes/class-yith-wcan-frontend.php:597
576
  msgctxt "[FRONTEND] Label for filter button, on horizontal layout"
577
  msgid "Save"
578
  msgstr ""
579
 
580
- #: includes/class-yith-wcan-frontend.php:598
581
  msgctxt "[FRONTEND] Label for filter button, on mobile modal"
582
  msgid "Show results"
583
  msgstr ""
584
 
585
- #: includes/class-yith-wcan-frontend.php:599
586
  msgctxt ""
587
  "[FRONTEND] Label for clear selection link, that appears above filter after "
588
  "selection"
589
  msgid "Clear"
590
  msgstr ""
591
 
592
- #: includes/class-yith-wcan-frontend.php:600
593
  msgctxt ""
594
  "[FRONTEND] Label for clear selection link, that appears above filter after "
595
  "selection"
@@ -671,41 +671,41 @@ msgctxt "[ADMIN] Name of the preset elementor widget"
671
  msgid "YITH AJAX Filters Reset Button"
672
  msgstr ""
673
 
674
- #: includes/elementor/class-yith-wcan-elementor-filters.php:89
675
  #: includes/shortcodes/class-yith-wcan-shortcode-filters.php:60
676
  msgctxt "[ELEMENTOR] Default preset option"
677
  msgid "Choose an option"
678
  msgstr ""
679
 
680
- #: includes/elementor/class-yith-wcan-elementor-filters.php:97
681
  msgctxt "[ELEMENTOR] Section title"
682
  msgid "Filters"
683
  msgstr ""
684
 
685
- #: includes/elementor/class-yith-wcan-elementor-reset-button.php:89
686
  msgctxt "[ELEMENTOR] Section title"
687
  msgid "General"
688
  msgstr ""
689
 
690
- #: includes/elementor/class-yith-wcan-elementor-filters.php:105
691
  msgctxt "[ELEMENTOR] Control label"
692
  msgid "Preset"
693
  msgstr ""
694
 
695
- #: includes/elementor/class-yith-wcan-elementor-reset-button.php:100
696
  msgctxt "[ELEMENTOR] Widget description"
697
  msgid ""
698
  "This widget will display \"Filters reset\" button, wherever it is placed"
699
  msgstr ""
700
 
701
- #: includes/elementor/class-yith-wcan-elementor-reset-button.php:103
702
  msgctxt "[ELEMENTOR] Widget description"
703
  msgid ""
704
  "It will allow users to reset the filer selection; it will only appear when "
705
  "there is an active filter."
706
  msgstr ""
707
 
708
- #: includes/elementor/class-yith-wcan-elementor-reset-button.php:107
709
  msgctxt "[ELEMENTOR] Widget description"
710
  msgid ""
711
  "You can use this block to place \"Reset filters\" button inside your page, "
@@ -722,7 +722,7 @@ msgctxt "For multicolor: I.E. white and red T-Shirt"
722
  msgid "Color 2"
723
  msgstr "Couleur 2"
724
 
725
- #: includes/functions-yith-wcan.php:1026
726
  msgctxt "[FRONTEND] Star rating template"
727
  msgid "star"
728
  msgid_plural "stars"
@@ -730,7 +730,7 @@ msgstr[0] ""
730
  msgstr[1] ""
731
 
732
  #. translators: 1. Rating.
733
- #: includes/functions-yith-wcan.php:1041
734
  msgctxt "[FRONTEND] Star rating label"
735
  msgid "Rated %s out of 5"
736
  msgstr ""
@@ -1046,22 +1046,22 @@ msgid ""
1046
  "across the plugin"
1047
  msgstr ""
1048
 
1049
- #: plugin-options/seo-options.php:63
1050
  msgctxt "[ADMIN] Seo settings page"
1051
  msgid "URL permalinks"
1052
  msgstr ""
1053
 
1054
- #: plugin-options/seo-options.php:64
1055
  msgctxt "[ADMIN] Seo settings page"
1056
  msgid "Choose how to manage browser URL during filtering"
1057
  msgstr ""
1058
 
1059
- #: plugin-options/seo-options.php:70
1060
  msgctxt "[ADMIN] Seo settings page"
1061
  msgid "Add filters parameters to default URL"
1062
  msgstr ""
1063
 
1064
- #: plugin-options/seo-options.php:71
1065
  msgctxt "[ADMIN] Seo settings page"
1066
  msgid "Don't change URL"
1067
  msgstr ""
5
  "Project-Id-Version: YITH WooCommerce Ajax Product Filter\n"
6
  "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/yith-woocommerce-"
7
  "ajax-product-filter\n"
8
+ "POT-Creation-Date: 2022-08-08 08:50:46+00:00\n"
9
  "PO-Revision-Date: 2020-12-29 14:36:56+0000\n"
10
  "Language: fr\n"
11
  "MIME-Version: 1.0\n"
14
  "Plural-Forms: nplurals=2; plural=n > 1;\n"
15
  "X-Generator: GlotPress/3.0.0-alpha.2\n"
16
 
17
+ #: includes/class-yith-wcan-admin.php:189
18
  msgid ""
19
  "<b>100% mobile friendly:</b> Show filters in a modal view which is purposely "
20
  "designed for users visiting your site by smartphones or tablets"
21
  msgstr ""
22
 
23
+ #: includes/class-yith-wcan-admin.php:190
24
  msgid ""
25
  "Show filters in the default layout or also in an <b>horizontal toolbar above "
26
  "products</b> (like Zalando)"
27
  msgstr ""
28
 
29
+ #: includes/class-yith-wcan-admin.php:191
30
  msgid ""
31
  "Allow customers to <b>filter for price ranges</b> (unlimited ranges and the "
32
+ "last range can show: “& above”) or using the <b>price slider</b>"
33
  msgstr ""
34
 
35
+ #: includes/class-yith-wcan-admin.php:192
36
  msgid ""
37
  "Allow customers to <b>filter for review</b> and <b>for brand</b> (with the "
38
  "support to YITH WooCommerce Brands plugin)"
39
  msgstr ""
40
 
41
+ #: includes/class-yith-wcan-admin.php:193
42
  msgid ""
43
  "Allow users to <b>order products</b> (by popularity, date, price, date of "
44
  "publishing, average rating, etc) and see only \tproducts in stock/featured/"
45
  "on sale"
46
  msgstr ""
47
 
48
+ #: includes/class-yith-wcan-admin.php:194
49
  msgid ""
50
  "<b>Show the active filters</b> (with X to remove them) and choose their "
51
  "position (above products, above or under filters area)"
52
  msgstr ""
53
 
54
+ #: includes/class-yith-wcan-admin.php:195
55
  msgid ""
56
  "Create <b>color swatches with image support</b> (to better identify "
57
  "gradients, textures, patterns, etc.) and with 2 colors"
58
  msgstr ""
59
 
60
+ #: includes/class-yith-wcan-admin.php:196
61
  msgid "Show the options using <b>custom images or icons</b>"
62
  msgstr ""
63
 
64
+ #: includes/class-yith-wcan-admin.php:197
65
  msgid ""
66
  "Choose the <b>order of the options</b> (alphabetical, terms order, terms "
67
  "count, etc.), enable tooltips and show each set of filters in toggle"
68
  msgstr ""
69
 
70
+ #: includes/class-yith-wcan-admin.php:198
71
  msgid ""
72
  "Choose how to manage terms not availables: hide them OR shown them in grey "
73
  "color and not clickables "
74
  msgstr ""
75
 
76
+ #: includes/class-yith-wcan-admin.php:199
77
  msgid "<b>Regular updates, Translations and Premium Support</b>"
78
  msgstr ""
79
 
168
  msgid "Button Label"
169
  msgstr "Étiquette du bouton"
170
 
171
+ #: init.php:162
 
 
 
 
 
 
172
  #, fuzzy
173
  msgid ""
174
  "YITH WooCommerce Ajax Product Filter is enabled but not effective. It "
177
  "Le filtre de produit YITH WooCommerce Ajax est activé mais pas efficace. Il "
178
  "nécessite WooCommerce pour fonctionner."
179
 
180
+ #: init.php:181
181
+ msgid ""
182
+ "YITH WooCommerce Ajax Product Filter was deactivated as you're running an "
183
+ "higher tier version of the same plugin."
184
+ msgstr ""
185
+
186
  #. Description of the plugin/theme
187
  msgid ""
188
  "<code><strong>YITH WooCommerce AJAX Product Filter</strong></code> allows "
193
  "your e-commerce shop on <strong>YITH</strong></a>"
194
  msgstr ""
195
 
196
+ #: includes/class-yith-wcan-admin.php:104
197
  msgctxt "[Admin] Copy confirmation message"
198
  msgid "Content copied to your clipboard"
199
  msgstr ""
200
 
201
+ #: includes/class-yith-wcan-admin.php:105
202
  msgctxt "[Admin] Confirm filter delete message"
203
  msgid "Are you sure you want to delete this item?"
204
  msgstr ""
205
 
206
  #. translators: 1. Number of items that will be added.
207
+ #: includes/class-yith-wcan-admin.php:107
208
  msgctxt "[Admin] Confirm add all terms message"
209
  msgid "Are you sure you want to proceed? This operation will add %s items"
210
  msgstr ""
211
 
212
+ #: includes/class-yith-wcan-admin.php:108
213
  msgctxt "[Admin] Error message"
214
  msgid "\"Filter title\" is a required field"
215
  msgstr ""
216
 
217
+ #: includes/class-yith-wcan-admin.php:111 templates/admin/preset-filter.php:33
218
  msgctxt "[Admin] Message shown when filter has empty title"
219
  msgid "&lt; no title &gt;"
220
  msgstr ""
221
 
222
+ #: includes/class-yith-wcan-admin.php:112
223
  msgctxt "[Admin] Media library title, when selecting images"
224
  msgid "Select media you want to use"
225
  msgstr ""
226
 
227
+ #: includes/class-yith-wcan-admin.php:113
228
  msgctxt "[Admin] Media library confirm button, when selecting images"
229
  msgid "Use this media"
230
  msgstr ""
231
 
232
+ #: includes/class-yith-wcan-admin.php:177
233
  msgctxt "[Admin] tab name"
234
  msgid "Filter presets"
235
  msgstr ""
236
 
237
+ #: includes/class-yith-wcan-admin.php:178
238
  msgctxt "[Admin] tab name"
239
  msgid "General settings"
240
  msgstr ""
241
 
242
+ #: includes/class-yith-wcan-admin.php:179
243
  #, fuzzy
244
  msgctxt "[Admin] tab name"
245
  msgid "SEO"
246
  msgstr "SEO"
247
 
248
+ #: includes/class-yith-wcan-admin.php:183
249
  msgctxt "[Admin] tab name"
250
  msgid "Legacy"
251
  msgstr ""
252
 
253
+ #: includes/class-yith-wcan-admin.php:207
 
 
 
 
 
 
 
254
  msgctxt "[HELP TAB] Video title"
255
  msgid ""
256
  "Check this video to learn how to <b>create a filter preset and show it on "
257
  "the shop page:</b>"
258
  msgstr ""
259
 
260
+ #: includes/class-yith-wcan-admin.php:230
261
+ msgctxt "[Admin] Plugin description"
262
+ msgid ""
263
+ "It allows your users to find the product they are looking for as quickly as "
264
+ "possible."
265
+ msgstr ""
266
+
267
+ #: includes/class-yith-wcan-admin.php:348
268
  msgctxt "[Admin] Generic item name, in \"You have no x yet\""
269
  msgid "item"
270
  msgstr ""
271
 
272
+ #: includes/class-yith-wcan-admin.php:349
273
  msgctxt "[Admin] Preset table empty message second line"
274
  msgid "But don't worry, here you can create your first one!"
275
  msgstr ""
276
 
277
+ #: includes/class-yith-wcan-admin.php:490
278
  msgctxt "[ADMIN] WooCommerce Tools tab, name of the tool"
279
  msgid "Clear Product Filter transients"
280
  msgstr ""
281
 
282
+ #: includes/class-yith-wcan-admin.php:496
283
  msgctxt "[ADMIN] WooCommerce Tools tab, name of the tool"
284
  msgid "Run filter widgets upgrade"
285
  msgstr ""
286
 
287
+ #: includes/class-yith-wcan-admin.php:491
288
  msgctxt "[ADMIN] WooCommerce Tools tab, button for the tool"
289
  msgid "Clear"
290
  msgstr ""
291
 
292
+ #: includes/class-yith-wcan-admin.php:497
293
  msgctxt "[ADMIN] WooCommerce Tools tab, button for the tool"
294
  msgid "Run"
295
  msgstr ""
296
 
297
+ #: includes/class-yith-wcan-admin.php:492
298
  msgctxt "[ADMIN] WooCommerce Tools tab, description of the tool"
299
  msgid ""
300
  "This will clear all transients related to the YITH WooCommerce AJAX Product "
302
  "and filters do not display the expected results."
303
  msgstr ""
304
 
305
+ #: includes/class-yith-wcan-admin.php:498
306
  msgctxt "[ADMIN] WooCommerce Tools tab, description of the tool"
307
  msgid ""
308
  "This will create a preset for any sidebar of your shop containing filter "
545
  msgid "New filter"
546
  msgstr ""
547
 
548
+ #: includes/class-yith-wcan-frontend.php:625
549
  #: includes/filters/class-yith-wcan-filter-tax.php:62
550
  msgctxt "[FRONTEND] \"All\" label shown when no term is selected"
551
  msgid "All"
552
  msgstr ""
553
 
554
+ #: includes/class-yith-wcan-frontend.php:626
555
  msgctxt "[FRONTEND] Search placeholder shown in terms dropdown"
556
  msgid "Search..."
557
  msgstr ""
558
 
559
+ #: includes/class-yith-wcan-frontend.php:627
560
  msgctxt "[FRONTEND] Empty items list in the dropdown"
561
  msgid "No item found"
562
  msgstr ""
563
 
564
  #. translators: 1. Number of items to show.
565
+ #: includes/class-yith-wcan-frontend.php:629
566
  msgctxt "[FRONTEND] Show more link on terms dropdown"
567
  msgid "Show %d more"
568
  msgstr ""
569
 
570
+ #: includes/class-yith-wcan-frontend.php:630
571
  msgctxt "[FRONTEND] Alt text for modal close button on mobile"
572
  msgid "Close"
573
  msgstr ""
574
 
575
+ #: includes/class-yith-wcan-frontend.php:631
576
  msgctxt "[FRONTEND] Label for filter button, on horizontal layout"
577
  msgid "Save"
578
  msgstr ""
579
 
580
+ #: includes/class-yith-wcan-frontend.php:632
581
  msgctxt "[FRONTEND] Label for filter button, on mobile modal"
582
  msgid "Show results"
583
  msgstr ""
584
 
585
+ #: includes/class-yith-wcan-frontend.php:633
586
  msgctxt ""
587
  "[FRONTEND] Label for clear selection link, that appears above filter after "
588
  "selection"
589
  msgid "Clear"
590
  msgstr ""
591
 
592
+ #: includes/class-yith-wcan-frontend.php:634
593
  msgctxt ""
594
  "[FRONTEND] Label for clear selection link, that appears above filter after "
595
  "selection"
671
  msgid "YITH AJAX Filters Reset Button"
672
  msgstr ""
673
 
674
+ #: includes/elementor/class-yith-wcan-elementor-filters.php:102
675
  #: includes/shortcodes/class-yith-wcan-shortcode-filters.php:60
676
  msgctxt "[ELEMENTOR] Default preset option"
677
  msgid "Choose an option"
678
  msgstr ""
679
 
680
+ #: includes/elementor/class-yith-wcan-elementor-filters.php:110
681
  msgctxt "[ELEMENTOR] Section title"
682
  msgid "Filters"
683
  msgstr ""
684
 
685
+ #: includes/elementor/class-yith-wcan-elementor-reset-button.php:102
686
  msgctxt "[ELEMENTOR] Section title"
687
  msgid "General"
688
  msgstr ""
689
 
690
+ #: includes/elementor/class-yith-wcan-elementor-filters.php:118
691
  msgctxt "[ELEMENTOR] Control label"
692
  msgid "Preset"
693
  msgstr ""
694
 
695
+ #: includes/elementor/class-yith-wcan-elementor-reset-button.php:113
696
  msgctxt "[ELEMENTOR] Widget description"
697
  msgid ""
698
  "This widget will display \"Filters reset\" button, wherever it is placed"
699
  msgstr ""
700
 
701
+ #: includes/elementor/class-yith-wcan-elementor-reset-button.php:116
702
  msgctxt "[ELEMENTOR] Widget description"
703
  msgid ""
704
  "It will allow users to reset the filer selection; it will only appear when "
705
  "there is an active filter."
706
  msgstr ""
707
 
708
+ #: includes/elementor/class-yith-wcan-elementor-reset-button.php:120
709
  msgctxt "[ELEMENTOR] Widget description"
710
  msgid ""
711
  "You can use this block to place \"Reset filters\" button inside your page, "
722
  msgid "Color 2"
723
  msgstr "Couleur 2"
724
 
725
+ #: includes/functions-yith-wcan.php:1032
726
  msgctxt "[FRONTEND] Star rating template"
727
  msgid "star"
728
  msgid_plural "stars"
730
  msgstr[1] ""
731
 
732
  #. translators: 1. Rating.
733
+ #: includes/functions-yith-wcan.php:1047
734
  msgctxt "[FRONTEND] Star rating label"
735
  msgid "Rated %s out of 5"
736
  msgstr ""
1046
  "across the plugin"
1047
  msgstr ""
1048
 
1049
+ #: plugin-options/seo-options.php:64
1050
  msgctxt "[ADMIN] Seo settings page"
1051
  msgid "URL permalinks"
1052
  msgstr ""
1053
 
1054
+ #: plugin-options/seo-options.php:65
1055
  msgctxt "[ADMIN] Seo settings page"
1056
  msgid "Choose how to manage browser URL during filtering"
1057
  msgstr ""
1058
 
1059
+ #: plugin-options/seo-options.php:71
1060
  msgctxt "[ADMIN] Seo settings page"
1061
  msgid "Add filters parameters to default URL"
1062
  msgstr ""
1063
 
1064
+ #: plugin-options/seo-options.php:72
1065
  msgctxt "[ADMIN] Seo settings page"
1066
  msgid "Don't change URL"
1067
  msgstr ""
languages/yith-woocommerce-ajax-navigation-it_IT.mo CHANGED
Binary file
languages/yith-woocommerce-ajax-navigation-it_IT.po CHANGED
@@ -5,7 +5,7 @@ msgstr ""
5
  "Project-Id-Version: YITH WooCommerce Ajax Product Filter\n"
6
  "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/yith-woocommerce-"
7
  "ajax-product-filter\n"
8
- "POT-Creation-Date: 2022-06-16 10:00:28+00:00\n"
9
  "PO-Revision-Date: 2021-03-03 10:36+0100\n"
10
  "Last-Translator: \n"
11
  "Language-Team: \n"
@@ -16,7 +16,7 @@ msgstr ""
16
  "Plural-Forms: nplurals=2; plural=n != 1;\n"
17
  "X-Generator: Poedit 2.4.2\n"
18
 
19
- #: includes/class-yith-wcan-admin.php:191
20
  #, fuzzy
21
  msgid ""
22
  "<b>100% mobile friendly:</b> Show filters in a modal view which is purposely "
@@ -25,60 +25,60 @@ msgstr ""
25
  "Mostra i filtri in una modale appositamente progettata per gli utenti che "
26
  "visitano il tuo sito da smartphone o tablet"
27
 
28
- #: includes/class-yith-wcan-admin.php:192
29
  msgid ""
30
  "Show filters in the default layout or also in an <b>horizontal toolbar above "
31
  "products</b> (like Zalando)"
32
  msgstr ""
33
 
34
- #: includes/class-yith-wcan-admin.php:193
35
  msgid ""
36
  "Allow customers to <b>filter for price ranges</b> (unlimited ranges and the "
37
- "last range can show: “& above”) or using the <b>price slider</b>\n"
38
  msgstr ""
39
 
40
- #: includes/class-yith-wcan-admin.php:195
41
  msgid ""
42
  "Allow customers to <b>filter for review</b> and <b>for brand</b> (with the "
43
  "support to YITH WooCommerce Brands plugin)"
44
  msgstr ""
45
 
46
- #: includes/class-yith-wcan-admin.php:196
47
  msgid ""
48
  "Allow users to <b>order products</b> (by popularity, date, price, date of "
49
  "publishing, average rating, etc) and see only \tproducts in stock/featured/"
50
  "on sale"
51
  msgstr ""
52
 
53
- #: includes/class-yith-wcan-admin.php:197
54
  msgid ""
55
  "<b>Show the active filters</b> (with X to remove them) and choose their "
56
  "position (above products, above or under filters area)"
57
  msgstr ""
58
 
59
- #: includes/class-yith-wcan-admin.php:198
60
  msgid ""
61
  "Create <b>color swatches with image support</b> (to better identify "
62
  "gradients, textures, patterns, etc.) and with 2 colors"
63
  msgstr ""
64
 
65
- #: includes/class-yith-wcan-admin.php:199
66
  msgid "Show the options using <b>custom images or icons</b>"
67
  msgstr ""
68
 
69
- #: includes/class-yith-wcan-admin.php:200
70
  msgid ""
71
  "Choose the <b>order of the options</b> (alphabetical, terms order, terms "
72
  "count, etc.), enable tooltips and show each set of filters in toggle"
73
  msgstr ""
74
 
75
- #: includes/class-yith-wcan-admin.php:201
76
  msgid ""
77
  "Choose how to manage terms not availables: hide them OR shown them in grey "
78
  "color and not clickables "
79
  msgstr ""
80
 
81
- #: includes/class-yith-wcan-admin.php:202
82
  msgid "<b>Regular updates, Translations and Premium Support</b>"
83
  msgstr ""
84
 
@@ -173,15 +173,7 @@ msgstr "Resetta tutti i filtri"
173
  msgid "Button Label"
174
  msgstr "Etichetta Pulsante"
175
 
176
- #: init.php:149
177
- msgid ""
178
- "You can't activate the free version of YITH WooCommerce Ajax Product Filter "
179
- "while you are using the premium one."
180
- msgstr ""
181
- "Non è possibile attivare la versione gratuita di YITH WooCommerce Ajax "
182
- "Product Filter se stai già utilizzando la versione premium."
183
-
184
- #: init.php:167
185
  msgid ""
186
  "YITH WooCommerce Ajax Product Filter is enabled but not effective. It "
187
  "requires WooCommerce in order to work."
@@ -189,6 +181,12 @@ msgstr ""
189
  "YITH WooCommerce Ajax Product Filter è attivo, ma non operativo. Il suo "
190
  "funzionamento richiede WooCommerce."
191
 
 
 
 
 
 
 
192
  #. Description of the plugin/theme
193
  #, fuzzy
194
  msgid ""
@@ -207,63 +205,70 @@ msgstr ""
207
  "yithemes.com/\" target=\"_blank\">Scopri altri plugin per il tuo e-commerce "
208
  "su <strong>YITH</strong></a>"
209
 
210
- #: includes/class-yith-wcan-admin.php:106
211
  msgctxt "[Admin] Copy confirmation message"
212
  msgid "Content copied to your clipboard"
213
  msgstr "Contenuto copiato negli appunti"
214
 
215
- #: includes/class-yith-wcan-admin.php:107
216
  msgctxt "[Admin] Confirm filter delete message"
217
  msgid "Are you sure you want to delete this item?"
218
  msgstr "Sei sicuro di voler eliminare questo termine?"
219
 
220
  #. translators: 1. Number of items that will be added.
221
- #: includes/class-yith-wcan-admin.php:109
222
  msgctxt "[Admin] Confirm add all terms message"
223
  msgid "Are you sure you want to proceed? This operation will add %s items"
224
  msgstr "Sei sicuro di voler procedere? Questa azione aggiungerà %s elementi"
225
 
226
- #: includes/class-yith-wcan-admin.php:110
227
  msgctxt "[Admin] Error message"
228
  msgid "\"Filter title\" is a required field"
229
  msgstr ""
230
 
231
- #: includes/class-yith-wcan-admin.php:113 templates/admin/preset-filter.php:33
232
  msgctxt "[Admin] Message shown when filter has empty title"
233
  msgid "&lt; no title &gt;"
234
  msgstr "&lt; nessun titolo &gt;"
235
 
236
- #: includes/class-yith-wcan-admin.php:114
237
  msgctxt "[Admin] Media library title, when selecting images"
238
  msgid "Select media you want to use"
239
  msgstr "Seleziona i media da usare"
240
 
241
- #: includes/class-yith-wcan-admin.php:115
242
  msgctxt "[Admin] Media library confirm button, when selecting images"
243
  msgid "Use this media"
244
  msgstr "Usa questo media"
245
 
246
- #: includes/class-yith-wcan-admin.php:179
247
  msgctxt "[Admin] tab name"
248
  msgid "Filter presets"
249
  msgstr "Preset filtri"
250
 
251
- #: includes/class-yith-wcan-admin.php:180
252
  msgctxt "[Admin] tab name"
253
  msgid "General settings"
254
  msgstr "Impostazioni generali"
255
 
256
- #: includes/class-yith-wcan-admin.php:181
257
  msgctxt "[Admin] tab name"
258
  msgid "SEO"
259
  msgstr "SEO"
260
 
261
- #: includes/class-yith-wcan-admin.php:185
262
  msgctxt "[Admin] tab name"
263
  msgid "Legacy"
264
  msgstr "Legacy"
265
 
266
- #: includes/class-yith-wcan-admin.php:212
 
 
 
 
 
 
 
267
  msgctxt "[Admin] Plugin description"
268
  msgid ""
269
  "It allows your users to find the product they are looking for as quickly as "
@@ -272,44 +277,37 @@ msgstr ""
272
  "Permette ai tuoi utenti di trovare il prodotto che stanno cercando il più "
273
  "velocemente possibile."
274
 
275
- #: includes/class-yith-wcan-admin.php:225
276
- msgctxt "[HELP TAB] Video title"
277
- msgid ""
278
- "Check this video to learn how to <b>create a filter preset and show it on "
279
- "the shop page:</b>"
280
- msgstr ""
281
-
282
- #: includes/class-yith-wcan-admin.php:344
283
  msgctxt "[Admin] Generic item name, in \"You have no x yet\""
284
  msgid "item"
285
  msgstr "elemento"
286
 
287
- #: includes/class-yith-wcan-admin.php:345
288
  msgctxt "[Admin] Preset table empty message second line"
289
  msgid "But don't worry, here you can create your first one!"
290
  msgstr "Ma non preoccuparti. Puoi iniziare a crearli qui!"
291
 
292
- #: includes/class-yith-wcan-admin.php:495
293
  msgctxt "[ADMIN] WooCommerce Tools tab, name of the tool"
294
  msgid "Clear Product Filter transients"
295
  msgstr "Cancella i transient Product Filter"
296
 
297
- #: includes/class-yith-wcan-admin.php:501
298
  msgctxt "[ADMIN] WooCommerce Tools tab, name of the tool"
299
  msgid "Run filter widgets upgrade"
300
  msgstr "Avvia l'upgrade dei widget dei filtri"
301
 
302
- #: includes/class-yith-wcan-admin.php:496
303
  msgctxt "[ADMIN] WooCommerce Tools tab, button for the tool"
304
  msgid "Clear"
305
  msgstr "Cancella"
306
 
307
- #: includes/class-yith-wcan-admin.php:502
308
  msgctxt "[ADMIN] WooCommerce Tools tab, button for the tool"
309
  msgid "Run"
310
  msgstr "Avvia"
311
 
312
- #: includes/class-yith-wcan-admin.php:497
313
  msgctxt "[ADMIN] WooCommerce Tools tab, description of the tool"
314
  msgid ""
315
  "This will clear all transients related to the YITH WooCommerce AJAX Product "
@@ -320,7 +318,7 @@ msgstr ""
320
  "Product Filter. Utile se hai cambiato la configurazione del prodotto e i "
321
  "filtri non mostrano i risultati previsti. "
322
 
323
- #: includes/class-yith-wcan-admin.php:503
324
  msgctxt "[ADMIN] WooCommerce Tools tab, description of the tool"
325
  msgid ""
326
  "This will create a preset for any sidebar of your shop containing filter "
@@ -569,51 +567,51 @@ msgctxt "[Admin] Default filter title"
569
  msgid "New filter"
570
  msgstr "Nuovo filtro"
571
 
572
- #: includes/class-yith-wcan-frontend.php:591
573
  #: includes/filters/class-yith-wcan-filter-tax.php:62
574
  msgctxt "[FRONTEND] \"All\" label shown when no term is selected"
575
  msgid "All"
576
  msgstr "Tutte"
577
 
578
- #: includes/class-yith-wcan-frontend.php:592
579
  msgctxt "[FRONTEND] Search placeholder shown in terms dropdown"
580
  msgid "Search..."
581
  msgstr "Cerca..."
582
 
583
- #: includes/class-yith-wcan-frontend.php:593
584
  msgctxt "[FRONTEND] Empty items list in the dropdown"
585
  msgid "No item found"
586
  msgstr "Nessun elemento trovato"
587
 
588
  #. translators: 1. Number of items to show.
589
- #: includes/class-yith-wcan-frontend.php:595
590
  msgctxt "[FRONTEND] Show more link on terms dropdown"
591
  msgid "Show %d more"
592
  msgstr "Mostra altri %d"
593
 
594
- #: includes/class-yith-wcan-frontend.php:596
595
  msgctxt "[FRONTEND] Alt text for modal close button on mobile"
596
  msgid "Close"
597
  msgstr "Chiudi"
598
 
599
- #: includes/class-yith-wcan-frontend.php:597
600
  msgctxt "[FRONTEND] Label for filter button, on horizontal layout"
601
  msgid "Save"
602
  msgstr ""
603
 
604
- #: includes/class-yith-wcan-frontend.php:598
605
  msgctxt "[FRONTEND] Label for filter button, on mobile modal"
606
  msgid "Show results"
607
  msgstr "Mostra risultati"
608
 
609
- #: includes/class-yith-wcan-frontend.php:599
610
  msgctxt ""
611
  "[FRONTEND] Label for clear selection link, that appears above filter after "
612
  "selection"
613
  msgid "Clear"
614
  msgstr "Cancella"
615
 
616
- #: includes/class-yith-wcan-frontend.php:600
617
  msgctxt ""
618
  "[FRONTEND] Label for clear selection link, that appears above filter after "
619
  "selection"
@@ -696,34 +694,34 @@ msgctxt "[ADMIN] Name of the preset elementor widget"
696
  msgid "YITH AJAX Filters Reset Button"
697
  msgstr "YITH AJAX Filters Reset Button"
698
 
699
- #: includes/elementor/class-yith-wcan-elementor-filters.php:89
700
  #: includes/shortcodes/class-yith-wcan-shortcode-filters.php:60
701
  msgctxt "[ELEMENTOR] Default preset option"
702
  msgid "Choose an option"
703
  msgstr "Scegli un'opzione"
704
 
705
- #: includes/elementor/class-yith-wcan-elementor-filters.php:97
706
  msgctxt "[ELEMENTOR] Section title"
707
  msgid "Filters"
708
  msgstr "Filtri"
709
 
710
- #: includes/elementor/class-yith-wcan-elementor-reset-button.php:89
711
  msgctxt "[ELEMENTOR] Section title"
712
  msgid "General"
713
  msgstr "Generale"
714
 
715
- #: includes/elementor/class-yith-wcan-elementor-filters.php:105
716
  msgctxt "[ELEMENTOR] Control label"
717
  msgid "Preset"
718
  msgstr "Preset"
719
 
720
- #: includes/elementor/class-yith-wcan-elementor-reset-button.php:100
721
  msgctxt "[ELEMENTOR] Widget description"
722
  msgid ""
723
  "This widget will display \"Filters reset\" button, wherever it is placed"
724
  msgstr "Questo widget mostrerà il pulsante \"Filters reset\" dove posizionato"
725
 
726
- #: includes/elementor/class-yith-wcan-elementor-reset-button.php:103
727
  msgctxt "[ELEMENTOR] Widget description"
728
  msgid ""
729
  "It will allow users to reset the filer selection; it will only appear when "
@@ -732,7 +730,7 @@ msgstr ""
732
  "Permetterà ai tuoi utenti di resettare i filtri selezionati. Verrà mostrato "
733
  "solo se c'è almeno un filtro attivo. "
734
 
735
- #: includes/elementor/class-yith-wcan-elementor-reset-button.php:107
736
  msgctxt "[ELEMENTOR] Widget description"
737
  msgid ""
738
  "You can use this block to place \"Reset filters\" button inside your page, "
@@ -752,7 +750,7 @@ msgctxt "For multicolor: I.E. white and red T-Shirt"
752
  msgid "Color 2"
753
  msgstr "Colore 2"
754
 
755
- #: includes/functions-yith-wcan.php:1026
756
  msgctxt "[FRONTEND] Star rating template"
757
  msgid "star"
758
  msgid_plural "stars"
@@ -760,7 +758,7 @@ msgstr[0] "stella"
760
  msgstr[1] "stelle"
761
 
762
  #. translators: 1. Rating.
763
- #: includes/functions-yith-wcan.php:1041
764
  msgctxt "[FRONTEND] Star rating label"
765
  msgid "Rated %s out of 5"
766
  msgstr "Valutato %s su 5"
@@ -1099,22 +1097,22 @@ msgstr ""
1099
  "Se attivata, aggiunge l'attributo re=\"nofollow\" a tutte le ancore dei "
1100
  "filtri del plugin "
1101
 
1102
- #: plugin-options/seo-options.php:63
1103
  msgctxt "[ADMIN] Seo settings page"
1104
  msgid "URL permalinks"
1105
  msgstr "Permalink URL"
1106
 
1107
- #: plugin-options/seo-options.php:64
1108
  msgctxt "[ADMIN] Seo settings page"
1109
  msgid "Choose how to manage browser URL during filtering"
1110
  msgstr "Scegli come gestire l'URL del browser quando si applicano i filtri"
1111
 
1112
- #: plugin-options/seo-options.php:70
1113
  msgctxt "[ADMIN] Seo settings page"
1114
  msgid "Add filters parameters to default URL"
1115
  msgstr "Aggiungi parametri filtri all'URL di default"
1116
 
1117
- #: plugin-options/seo-options.php:71
1118
  msgctxt "[ADMIN] Seo settings page"
1119
  msgid "Don't change URL"
1120
  msgstr "Non modificare l'URL"
@@ -1534,6 +1532,13 @@ msgctxt "[FRONTEND] Reset button for preset shortcode"
1534
  msgid "Reset filters"
1535
  msgstr "Resetta filtri"
1536
 
 
 
 
 
 
 
 
1537
  #~ msgctxt "[Admin] tab name"
1538
  #~ msgid "Premium Version"
1539
  #~ msgstr "Versione Premium"
5
  "Project-Id-Version: YITH WooCommerce Ajax Product Filter\n"
6
  "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/yith-woocommerce-"
7
  "ajax-product-filter\n"
8
+ "POT-Creation-Date: 2022-08-08 08:50:46+00:00\n"
9
  "PO-Revision-Date: 2021-03-03 10:36+0100\n"
10
  "Last-Translator: \n"
11
  "Language-Team: \n"
16
  "Plural-Forms: nplurals=2; plural=n != 1;\n"
17
  "X-Generator: Poedit 2.4.2\n"
18
 
19
+ #: includes/class-yith-wcan-admin.php:189
20
  #, fuzzy
21
  msgid ""
22
  "<b>100% mobile friendly:</b> Show filters in a modal view which is purposely "
25
  "Mostra i filtri in una modale appositamente progettata per gli utenti che "
26
  "visitano il tuo sito da smartphone o tablet"
27
 
28
+ #: includes/class-yith-wcan-admin.php:190
29
  msgid ""
30
  "Show filters in the default layout or also in an <b>horizontal toolbar above "
31
  "products</b> (like Zalando)"
32
  msgstr ""
33
 
34
+ #: includes/class-yith-wcan-admin.php:191
35
  msgid ""
36
  "Allow customers to <b>filter for price ranges</b> (unlimited ranges and the "
37
+ "last range can show: “& above”) or using the <b>price slider</b>"
38
  msgstr ""
39
 
40
+ #: includes/class-yith-wcan-admin.php:192
41
  msgid ""
42
  "Allow customers to <b>filter for review</b> and <b>for brand</b> (with the "
43
  "support to YITH WooCommerce Brands plugin)"
44
  msgstr ""
45
 
46
+ #: includes/class-yith-wcan-admin.php:193
47
  msgid ""
48
  "Allow users to <b>order products</b> (by popularity, date, price, date of "
49
  "publishing, average rating, etc) and see only \tproducts in stock/featured/"
50
  "on sale"
51
  msgstr ""
52
 
53
+ #: includes/class-yith-wcan-admin.php:194
54
  msgid ""
55
  "<b>Show the active filters</b> (with X to remove them) and choose their "
56
  "position (above products, above or under filters area)"
57
  msgstr ""
58
 
59
+ #: includes/class-yith-wcan-admin.php:195
60
  msgid ""
61
  "Create <b>color swatches with image support</b> (to better identify "
62
  "gradients, textures, patterns, etc.) and with 2 colors"
63
  msgstr ""
64
 
65
+ #: includes/class-yith-wcan-admin.php:196
66
  msgid "Show the options using <b>custom images or icons</b>"
67
  msgstr ""
68
 
69
+ #: includes/class-yith-wcan-admin.php:197
70
  msgid ""
71
  "Choose the <b>order of the options</b> (alphabetical, terms order, terms "
72
  "count, etc.), enable tooltips and show each set of filters in toggle"
73
  msgstr ""
74
 
75
+ #: includes/class-yith-wcan-admin.php:198
76
  msgid ""
77
  "Choose how to manage terms not availables: hide them OR shown them in grey "
78
  "color and not clickables "
79
  msgstr ""
80
 
81
+ #: includes/class-yith-wcan-admin.php:199
82
  msgid "<b>Regular updates, Translations and Premium Support</b>"
83
  msgstr ""
84
 
173
  msgid "Button Label"
174
  msgstr "Etichetta Pulsante"
175
 
176
+ #: init.php:162
 
 
 
 
 
 
 
 
177
  msgid ""
178
  "YITH WooCommerce Ajax Product Filter is enabled but not effective. It "
179
  "requires WooCommerce in order to work."
181
  "YITH WooCommerce Ajax Product Filter è attivo, ma non operativo. Il suo "
182
  "funzionamento richiede WooCommerce."
183
 
184
+ #: init.php:181
185
+ msgid ""
186
+ "YITH WooCommerce Ajax Product Filter was deactivated as you're running an "
187
+ "higher tier version of the same plugin."
188
+ msgstr ""
189
+
190
  #. Description of the plugin/theme
191
  #, fuzzy
192
  msgid ""
205
  "yithemes.com/\" target=\"_blank\">Scopri altri plugin per il tuo e-commerce "
206
  "su <strong>YITH</strong></a>"
207
 
208
+ #: includes/class-yith-wcan-admin.php:104
209
  msgctxt "[Admin] Copy confirmation message"
210
  msgid "Content copied to your clipboard"
211
  msgstr "Contenuto copiato negli appunti"
212
 
213
+ #: includes/class-yith-wcan-admin.php:105
214
  msgctxt "[Admin] Confirm filter delete message"
215
  msgid "Are you sure you want to delete this item?"
216
  msgstr "Sei sicuro di voler eliminare questo termine?"
217
 
218
  #. translators: 1. Number of items that will be added.
219
+ #: includes/class-yith-wcan-admin.php:107
220
  msgctxt "[Admin] Confirm add all terms message"
221
  msgid "Are you sure you want to proceed? This operation will add %s items"
222
  msgstr "Sei sicuro di voler procedere? Questa azione aggiungerà %s elementi"
223
 
224
+ #: includes/class-yith-wcan-admin.php:108
225
  msgctxt "[Admin] Error message"
226
  msgid "\"Filter title\" is a required field"
227
  msgstr ""
228
 
229
+ #: includes/class-yith-wcan-admin.php:111 templates/admin/preset-filter.php:33
230
  msgctxt "[Admin] Message shown when filter has empty title"
231
  msgid "&lt; no title &gt;"
232
  msgstr "&lt; nessun titolo &gt;"
233
 
234
+ #: includes/class-yith-wcan-admin.php:112
235
  msgctxt "[Admin] Media library title, when selecting images"
236
  msgid "Select media you want to use"
237
  msgstr "Seleziona i media da usare"
238
 
239
+ #: includes/class-yith-wcan-admin.php:113
240
  msgctxt "[Admin] Media library confirm button, when selecting images"
241
  msgid "Use this media"
242
  msgstr "Usa questo media"
243
 
244
+ #: includes/class-yith-wcan-admin.php:177
245
  msgctxt "[Admin] tab name"
246
  msgid "Filter presets"
247
  msgstr "Preset filtri"
248
 
249
+ #: includes/class-yith-wcan-admin.php:178
250
  msgctxt "[Admin] tab name"
251
  msgid "General settings"
252
  msgstr "Impostazioni generali"
253
 
254
+ #: includes/class-yith-wcan-admin.php:179
255
  msgctxt "[Admin] tab name"
256
  msgid "SEO"
257
  msgstr "SEO"
258
 
259
+ #: includes/class-yith-wcan-admin.php:183
260
  msgctxt "[Admin] tab name"
261
  msgid "Legacy"
262
  msgstr "Legacy"
263
 
264
+ #: includes/class-yith-wcan-admin.php:207
265
+ msgctxt "[HELP TAB] Video title"
266
+ msgid ""
267
+ "Check this video to learn how to <b>create a filter preset and show it on "
268
+ "the shop page:</b>"
269
+ msgstr ""
270
+
271
+ #: includes/class-yith-wcan-admin.php:230
272
  msgctxt "[Admin] Plugin description"
273
  msgid ""
274
  "It allows your users to find the product they are looking for as quickly as "
277
  "Permette ai tuoi utenti di trovare il prodotto che stanno cercando il più "
278
  "velocemente possibile."
279
 
280
+ #: includes/class-yith-wcan-admin.php:348
 
 
 
 
 
 
 
281
  msgctxt "[Admin] Generic item name, in \"You have no x yet\""
282
  msgid "item"
283
  msgstr "elemento"
284
 
285
+ #: includes/class-yith-wcan-admin.php:349
286
  msgctxt "[Admin] Preset table empty message second line"
287
  msgid "But don't worry, here you can create your first one!"
288
  msgstr "Ma non preoccuparti. Puoi iniziare a crearli qui!"
289
 
290
+ #: includes/class-yith-wcan-admin.php:490
291
  msgctxt "[ADMIN] WooCommerce Tools tab, name of the tool"
292
  msgid "Clear Product Filter transients"
293
  msgstr "Cancella i transient Product Filter"
294
 
295
+ #: includes/class-yith-wcan-admin.php:496
296
  msgctxt "[ADMIN] WooCommerce Tools tab, name of the tool"
297
  msgid "Run filter widgets upgrade"
298
  msgstr "Avvia l'upgrade dei widget dei filtri"
299
 
300
+ #: includes/class-yith-wcan-admin.php:491
301
  msgctxt "[ADMIN] WooCommerce Tools tab, button for the tool"
302
  msgid "Clear"
303
  msgstr "Cancella"
304
 
305
+ #: includes/class-yith-wcan-admin.php:497
306
  msgctxt "[ADMIN] WooCommerce Tools tab, button for the tool"
307
  msgid "Run"
308
  msgstr "Avvia"
309
 
310
+ #: includes/class-yith-wcan-admin.php:492
311
  msgctxt "[ADMIN] WooCommerce Tools tab, description of the tool"
312
  msgid ""
313
  "This will clear all transients related to the YITH WooCommerce AJAX Product "
318
  "Product Filter. Utile se hai cambiato la configurazione del prodotto e i "
319
  "filtri non mostrano i risultati previsti. "
320
 
321
+ #: includes/class-yith-wcan-admin.php:498
322
  msgctxt "[ADMIN] WooCommerce Tools tab, description of the tool"
323
  msgid ""
324
  "This will create a preset for any sidebar of your shop containing filter "
567
  msgid "New filter"
568
  msgstr "Nuovo filtro"
569
 
570
+ #: includes/class-yith-wcan-frontend.php:625
571
  #: includes/filters/class-yith-wcan-filter-tax.php:62
572
  msgctxt "[FRONTEND] \"All\" label shown when no term is selected"
573
  msgid "All"
574
  msgstr "Tutte"
575
 
576
+ #: includes/class-yith-wcan-frontend.php:626
577
  msgctxt "[FRONTEND] Search placeholder shown in terms dropdown"
578
  msgid "Search..."
579
  msgstr "Cerca..."
580
 
581
+ #: includes/class-yith-wcan-frontend.php:627
582
  msgctxt "[FRONTEND] Empty items list in the dropdown"
583
  msgid "No item found"
584
  msgstr "Nessun elemento trovato"
585
 
586
  #. translators: 1. Number of items to show.
587
+ #: includes/class-yith-wcan-frontend.php:629
588
  msgctxt "[FRONTEND] Show more link on terms dropdown"
589
  msgid "Show %d more"
590
  msgstr "Mostra altri %d"
591
 
592
+ #: includes/class-yith-wcan-frontend.php:630
593
  msgctxt "[FRONTEND] Alt text for modal close button on mobile"
594
  msgid "Close"
595
  msgstr "Chiudi"
596
 
597
+ #: includes/class-yith-wcan-frontend.php:631
598
  msgctxt "[FRONTEND] Label for filter button, on horizontal layout"
599
  msgid "Save"
600
  msgstr ""
601
 
602
+ #: includes/class-yith-wcan-frontend.php:632
603
  msgctxt "[FRONTEND] Label for filter button, on mobile modal"
604
  msgid "Show results"
605
  msgstr "Mostra risultati"
606
 
607
+ #: includes/class-yith-wcan-frontend.php:633
608
  msgctxt ""
609
  "[FRONTEND] Label for clear selection link, that appears above filter after "
610
  "selection"
611
  msgid "Clear"
612
  msgstr "Cancella"
613
 
614
+ #: includes/class-yith-wcan-frontend.php:634
615
  msgctxt ""
616
  "[FRONTEND] Label for clear selection link, that appears above filter after "
617
  "selection"
694
  msgid "YITH AJAX Filters Reset Button"
695
  msgstr "YITH AJAX Filters Reset Button"
696
 
697
+ #: includes/elementor/class-yith-wcan-elementor-filters.php:102
698
  #: includes/shortcodes/class-yith-wcan-shortcode-filters.php:60
699
  msgctxt "[ELEMENTOR] Default preset option"
700
  msgid "Choose an option"
701
  msgstr "Scegli un'opzione"
702
 
703
+ #: includes/elementor/class-yith-wcan-elementor-filters.php:110
704
  msgctxt "[ELEMENTOR] Section title"
705
  msgid "Filters"
706
  msgstr "Filtri"
707
 
708
+ #: includes/elementor/class-yith-wcan-elementor-reset-button.php:102
709
  msgctxt "[ELEMENTOR] Section title"
710
  msgid "General"
711
  msgstr "Generale"
712
 
713
+ #: includes/elementor/class-yith-wcan-elementor-filters.php:118
714
  msgctxt "[ELEMENTOR] Control label"
715
  msgid "Preset"
716
  msgstr "Preset"
717
 
718
+ #: includes/elementor/class-yith-wcan-elementor-reset-button.php:113
719
  msgctxt "[ELEMENTOR] Widget description"
720
  msgid ""
721
  "This widget will display \"Filters reset\" button, wherever it is placed"
722
  msgstr "Questo widget mostrerà il pulsante \"Filters reset\" dove posizionato"
723
 
724
+ #: includes/elementor/class-yith-wcan-elementor-reset-button.php:116
725
  msgctxt "[ELEMENTOR] Widget description"
726
  msgid ""
727
  "It will allow users to reset the filer selection; it will only appear when "
730
  "Permetterà ai tuoi utenti di resettare i filtri selezionati. Verrà mostrato "
731
  "solo se c'è almeno un filtro attivo. "
732
 
733
+ #: includes/elementor/class-yith-wcan-elementor-reset-button.php:120
734
  msgctxt "[ELEMENTOR] Widget description"
735
  msgid ""
736
  "You can use this block to place \"Reset filters\" button inside your page, "
750
  msgid "Color 2"
751
  msgstr "Colore 2"
752
 
753
+ #: includes/functions-yith-wcan.php:1032
754
  msgctxt "[FRONTEND] Star rating template"
755
  msgid "star"
756
  msgid_plural "stars"
758
  msgstr[1] "stelle"
759
 
760
  #. translators: 1. Rating.
761
+ #: includes/functions-yith-wcan.php:1047
762
  msgctxt "[FRONTEND] Star rating label"
763
  msgid "Rated %s out of 5"
764
  msgstr "Valutato %s su 5"
1097
  "Se attivata, aggiunge l'attributo re=\"nofollow\" a tutte le ancore dei "
1098
  "filtri del plugin "
1099
 
1100
+ #: plugin-options/seo-options.php:64
1101
  msgctxt "[ADMIN] Seo settings page"
1102
  msgid "URL permalinks"
1103
  msgstr "Permalink URL"
1104
 
1105
+ #: plugin-options/seo-options.php:65
1106
  msgctxt "[ADMIN] Seo settings page"
1107
  msgid "Choose how to manage browser URL during filtering"
1108
  msgstr "Scegli come gestire l'URL del browser quando si applicano i filtri"
1109
 
1110
+ #: plugin-options/seo-options.php:71
1111
  msgctxt "[ADMIN] Seo settings page"
1112
  msgid "Add filters parameters to default URL"
1113
  msgstr "Aggiungi parametri filtri all'URL di default"
1114
 
1115
+ #: plugin-options/seo-options.php:72
1116
  msgctxt "[ADMIN] Seo settings page"
1117
  msgid "Don't change URL"
1118
  msgstr "Non modificare l'URL"
1532
  msgid "Reset filters"
1533
  msgstr "Resetta filtri"
1534
 
1535
+ #~ msgid ""
1536
+ #~ "You can't activate the free version of YITH WooCommerce Ajax Product "
1537
+ #~ "Filter while you are using the premium one."
1538
+ #~ msgstr ""
1539
+ #~ "Non è possibile attivare la versione gratuita di YITH WooCommerce Ajax "
1540
+ #~ "Product Filter se stai già utilizzando la versione premium."
1541
+
1542
  #~ msgctxt "[Admin] tab name"
1543
  #~ msgid "Premium Version"
1544
  #~ msgstr "Versione Premium"
languages/yith-woocommerce-ajax-navigation-nl_NL.po CHANGED
@@ -5,7 +5,7 @@ msgstr ""
5
  "Project-Id-Version: YITH WooCommerce Ajax Product Filter\n"
6
  "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/yith-woocommerce-"
7
  "ajax-product-filter\n"
8
- "POT-Creation-Date: 2022-06-16 10:00:28+00:00\n"
9
  "PO-Revision-Date: 2021-02-12 13:32:05+0000\n"
10
  "Language: nl\n"
11
  "MIME-Version: 1.0\n"
@@ -14,66 +14,66 @@ msgstr ""
14
  "Plural-Forms: nplurals=2; plural=n != 1;\n"
15
  "X-Generator: GlotPress/3.0.0-alpha.2\n"
16
 
17
- #: includes/class-yith-wcan-admin.php:191
18
  msgid ""
19
  "<b>100% mobile friendly:</b> Show filters in a modal view which is purposely "
20
  "designed for users visiting your site by smartphones or tablets"
21
  msgstr ""
22
 
23
- #: includes/class-yith-wcan-admin.php:192
24
  msgid ""
25
  "Show filters in the default layout or also in an <b>horizontal toolbar above "
26
  "products</b> (like Zalando)"
27
  msgstr ""
28
 
29
- #: includes/class-yith-wcan-admin.php:193
30
  msgid ""
31
  "Allow customers to <b>filter for price ranges</b> (unlimited ranges and the "
32
- "last range can show: “& above”) or using the <b>price slider</b>\n"
33
  msgstr ""
34
 
35
- #: includes/class-yith-wcan-admin.php:195
36
  msgid ""
37
  "Allow customers to <b>filter for review</b> and <b>for brand</b> (with the "
38
  "support to YITH WooCommerce Brands plugin)"
39
  msgstr ""
40
 
41
- #: includes/class-yith-wcan-admin.php:196
42
  msgid ""
43
  "Allow users to <b>order products</b> (by popularity, date, price, date of "
44
  "publishing, average rating, etc) and see only \tproducts in stock/featured/"
45
  "on sale"
46
  msgstr ""
47
 
48
- #: includes/class-yith-wcan-admin.php:197
49
  msgid ""
50
  "<b>Show the active filters</b> (with X to remove them) and choose their "
51
  "position (above products, above or under filters area)"
52
  msgstr ""
53
 
54
- #: includes/class-yith-wcan-admin.php:198
55
  msgid ""
56
  "Create <b>color swatches with image support</b> (to better identify "
57
  "gradients, textures, patterns, etc.) and with 2 colors"
58
  msgstr ""
59
 
60
- #: includes/class-yith-wcan-admin.php:199
61
  msgid "Show the options using <b>custom images or icons</b>"
62
  msgstr ""
63
 
64
- #: includes/class-yith-wcan-admin.php:200
65
  msgid ""
66
  "Choose the <b>order of the options</b> (alphabetical, terms order, terms "
67
  "count, etc.), enable tooltips and show each set of filters in toggle"
68
  msgstr ""
69
 
70
- #: includes/class-yith-wcan-admin.php:201
71
  msgid ""
72
  "Choose how to manage terms not availables: hide them OR shown them in grey "
73
  "color and not clickables "
74
  msgstr ""
75
 
76
- #: includes/class-yith-wcan-admin.php:202
77
  msgid "<b>Regular updates, Translations and Premium Support</b>"
78
  msgstr ""
79
 
@@ -168,13 +168,7 @@ msgstr "Alle filters resetten"
168
  msgid "Button Label"
169
  msgstr "Labelknop"
170
 
171
- #: init.php:149
172
- msgid ""
173
- "You can't activate the free version of YITH WooCommerce Ajax Product Filter "
174
- "while you are using the premium one."
175
- msgstr ""
176
-
177
- #: init.php:167
178
  #, fuzzy
179
  msgid ""
180
  "YITH WooCommerce Ajax Product Filter is enabled but not effective. It "
@@ -183,6 +177,12 @@ msgstr ""
183
  "YITH WooCommerce Ajax Productfilter is ingeschakeld maar niet effectief. Het "
184
  "vereist WooCommerce om te kunnen werken."
185
 
 
 
 
 
 
 
186
  #. Description of the plugin/theme
187
  #, fuzzy
188
  msgid ""
@@ -200,64 +200,71 @@ msgstr ""
200
  "yithemes.com/\" target=\"_blank\">Verkrijg meer plugins voor je e-commerce "
201
  "winkel op <strong>YITH</strong></a>"
202
 
203
- #: includes/class-yith-wcan-admin.php:106
204
  msgctxt "[Admin] Copy confirmation message"
205
  msgid "Content copied to your clipboard"
206
  msgstr "Inhoud gekopieerd naar je klembord"
207
 
208
- #: includes/class-yith-wcan-admin.php:107
209
  msgctxt "[Admin] Confirm filter delete message"
210
  msgid "Are you sure you want to delete this item?"
211
  msgstr "Weet je zeker dat je dit item wilt verwijderen?"
212
 
213
  #. translators: 1. Number of items that will be added.
214
- #: includes/class-yith-wcan-admin.php:109
215
  msgctxt "[Admin] Confirm add all terms message"
216
  msgid "Are you sure you want to proceed? This operation will add %s items"
217
  msgstr "Weet je zeker dat je door wilt gaan? Deze operatie voegt %s items toe"
218
 
219
- #: includes/class-yith-wcan-admin.php:110
220
  msgctxt "[Admin] Error message"
221
  msgid "\"Filter title\" is a required field"
222
  msgstr ""
223
 
224
- #: includes/class-yith-wcan-admin.php:113 templates/admin/preset-filter.php:33
225
  msgctxt "[Admin] Message shown when filter has empty title"
226
  msgid "&lt; no title &gt;"
227
  msgstr "&lt; geen titel &gt;"
228
 
229
- #: includes/class-yith-wcan-admin.php:114
230
  msgctxt "[Admin] Media library title, when selecting images"
231
  msgid "Select media you want to use"
232
  msgstr "Selecteer de media die je wilt gebruiken"
233
 
234
- #: includes/class-yith-wcan-admin.php:115
235
  msgctxt "[Admin] Media library confirm button, when selecting images"
236
  msgid "Use this media"
237
  msgstr "Gebruik deze media"
238
 
239
- #: includes/class-yith-wcan-admin.php:179
240
  msgctxt "[Admin] tab name"
241
  msgid "Filter presets"
242
  msgstr "Filter pre-set"
243
 
244
- #: includes/class-yith-wcan-admin.php:180
245
  msgctxt "[Admin] tab name"
246
  msgid "General settings"
247
  msgstr "Algemene instellingen"
248
 
249
- #: includes/class-yith-wcan-admin.php:181
250
  #, fuzzy
251
  msgctxt "[Admin] tab name"
252
  msgid "SEO"
253
  msgstr "SEO"
254
 
255
- #: includes/class-yith-wcan-admin.php:185
256
  msgctxt "[Admin] tab name"
257
  msgid "Legacy"
258
  msgstr "Nalatenschap"
259
 
260
- #: includes/class-yith-wcan-admin.php:212
 
 
 
 
 
 
 
261
  msgctxt "[Admin] Plugin description"
262
  msgid ""
263
  "It allows your users to find the product they are looking for as quickly as "
@@ -266,44 +273,37 @@ msgstr ""
266
  "Het laat je gebruikers het product het product dat ze zoeken, zo snel "
267
  "mogelijk vinden."
268
 
269
- #: includes/class-yith-wcan-admin.php:225
270
- msgctxt "[HELP TAB] Video title"
271
- msgid ""
272
- "Check this video to learn how to <b>create a filter preset and show it on "
273
- "the shop page:</b>"
274
- msgstr ""
275
-
276
- #: includes/class-yith-wcan-admin.php:344
277
  msgctxt "[Admin] Generic item name, in \"You have no x yet\""
278
  msgid "item"
279
  msgstr "Item"
280
 
281
- #: includes/class-yith-wcan-admin.php:345
282
  msgctxt "[Admin] Preset table empty message second line"
283
  msgid "But don't worry, here you can create your first one!"
284
  msgstr "Maar geen zorgen, je kunt hier je eerste aanmaken!"
285
 
286
- #: includes/class-yith-wcan-admin.php:495
287
  msgctxt "[ADMIN] WooCommerce Tools tab, name of the tool"
288
  msgid "Clear Product Filter transients"
289
  msgstr "Product Filter transients legen"
290
 
291
- #: includes/class-yith-wcan-admin.php:501
292
  msgctxt "[ADMIN] WooCommerce Tools tab, name of the tool"
293
  msgid "Run filter widgets upgrade"
294
  msgstr "Filter widgets upgrade uitvoeren"
295
 
296
- #: includes/class-yith-wcan-admin.php:496
297
  msgctxt "[ADMIN] WooCommerce Tools tab, button for the tool"
298
  msgid "Clear"
299
  msgstr "Wissen"
300
 
301
- #: includes/class-yith-wcan-admin.php:502
302
  msgctxt "[ADMIN] WooCommerce Tools tab, button for the tool"
303
  msgid "Run"
304
  msgstr "Uitvoeren"
305
 
306
- #: includes/class-yith-wcan-admin.php:497
307
  msgctxt "[ADMIN] WooCommerce Tools tab, description of the tool"
308
  msgid ""
309
  "This will clear all transients related to the YITH WooCommerce AJAX Product "
@@ -315,7 +315,7 @@ msgstr ""
315
  "configuratie van je product hebt gewijzigd en filters niet de verwachte "
316
  "resultaten weergeven."
317
 
318
- #: includes/class-yith-wcan-admin.php:503
319
  msgctxt "[ADMIN] WooCommerce Tools tab, description of the tool"
320
  msgid ""
321
  "This will create a preset for any sidebar of your shop containing filter "
@@ -565,51 +565,51 @@ msgctxt "[Admin] Default filter title"
565
  msgid "New filter"
566
  msgstr "Nieuwe filter"
567
 
568
- #: includes/class-yith-wcan-frontend.php:591
569
  #: includes/filters/class-yith-wcan-filter-tax.php:62
570
  msgctxt "[FRONTEND] \"All\" label shown when no term is selected"
571
  msgid "All"
572
  msgstr "Alle"
573
 
574
- #: includes/class-yith-wcan-frontend.php:592
575
  msgctxt "[FRONTEND] Search placeholder shown in terms dropdown"
576
  msgid "Search..."
577
  msgstr "Zoeken..."
578
 
579
- #: includes/class-yith-wcan-frontend.php:593
580
  msgctxt "[FRONTEND] Empty items list in the dropdown"
581
  msgid "No item found"
582
  msgstr "Geen item gevonden"
583
 
584
  #. translators: 1. Number of items to show.
585
- #: includes/class-yith-wcan-frontend.php:595
586
  msgctxt "[FRONTEND] Show more link on terms dropdown"
587
  msgid "Show %d more"
588
  msgstr "Toon %d meer"
589
 
590
- #: includes/class-yith-wcan-frontend.php:596
591
  msgctxt "[FRONTEND] Alt text for modal close button on mobile"
592
  msgid "Close"
593
  msgstr "Sluiten"
594
 
595
- #: includes/class-yith-wcan-frontend.php:597
596
  msgctxt "[FRONTEND] Label for filter button, on horizontal layout"
597
  msgid "Save"
598
  msgstr ""
599
 
600
- #: includes/class-yith-wcan-frontend.php:598
601
  msgctxt "[FRONTEND] Label for filter button, on mobile modal"
602
  msgid "Show results"
603
  msgstr "Resultaten weergeven"
604
 
605
- #: includes/class-yith-wcan-frontend.php:599
606
  msgctxt ""
607
  "[FRONTEND] Label for clear selection link, that appears above filter after "
608
  "selection"
609
  msgid "Clear"
610
  msgstr "Wissen"
611
 
612
- #: includes/class-yith-wcan-frontend.php:600
613
  msgctxt ""
614
  "[FRONTEND] Label for clear selection link, that appears above filter after "
615
  "selection"
@@ -692,28 +692,28 @@ msgctxt "[ADMIN] Name of the preset elementor widget"
692
  msgid "YITH AJAX Filters Reset Button"
693
  msgstr "YITH AJAX Filters Reset Knop"
694
 
695
- #: includes/elementor/class-yith-wcan-elementor-filters.php:89
696
  #: includes/shortcodes/class-yith-wcan-shortcode-filters.php:60
697
  msgctxt "[ELEMENTOR] Default preset option"
698
  msgid "Choose an option"
699
  msgstr "Kies een optie"
700
 
701
- #: includes/elementor/class-yith-wcan-elementor-filters.php:97
702
  msgctxt "[ELEMENTOR] Section title"
703
  msgid "Filters"
704
  msgstr "Filters"
705
 
706
- #: includes/elementor/class-yith-wcan-elementor-reset-button.php:89
707
  msgctxt "[ELEMENTOR] Section title"
708
  msgid "General"
709
  msgstr "Algemeen"
710
 
711
- #: includes/elementor/class-yith-wcan-elementor-filters.php:105
712
  msgctxt "[ELEMENTOR] Control label"
713
  msgid "Preset"
714
  msgstr "Pre-set"
715
 
716
- #: includes/elementor/class-yith-wcan-elementor-reset-button.php:100
717
  msgctxt "[ELEMENTOR] Widget description"
718
  msgid ""
719
  "This widget will display \"Filters reset\" button, wherever it is placed"
@@ -721,7 +721,7 @@ msgstr ""
721
  "Deze widget zal de \"Filters resetten\" knop weergeven, waar deze ook "
722
  "geplaatst is"
723
 
724
- #: includes/elementor/class-yith-wcan-elementor-reset-button.php:103
725
  msgctxt "[ELEMENTOR] Widget description"
726
  msgid ""
727
  "It will allow users to reset the filer selection; it will only appear when "
@@ -730,7 +730,7 @@ msgstr ""
730
  "Het laat gebruikers de filter selectie resetten; het verschijnt alleen "
731
  "wanneer er een actieve filter is."
732
 
733
- #: includes/elementor/class-yith-wcan-elementor-reset-button.php:107
734
  msgctxt "[ELEMENTOR] Widget description"
735
  msgid ""
736
  "You can use this block to place \"Reset filters\" button inside your page, "
@@ -750,7 +750,7 @@ msgctxt "For multicolor: I.E. white and red T-Shirt"
750
  msgid "Color 2"
751
  msgstr "Kleur 2"
752
 
753
- #: includes/functions-yith-wcan.php:1026
754
  msgctxt "[FRONTEND] Star rating template"
755
  msgid "star"
756
  msgid_plural "stars"
@@ -758,7 +758,7 @@ msgstr[0] "ster"
758
  msgstr[1] "sterren"
759
 
760
  #. translators: 1. Rating.
761
- #: includes/functions-yith-wcan.php:1041
762
  msgctxt "[FRONTEND] Star rating label"
763
  msgid "Rated %s out of 5"
764
  msgstr "Waardering %s van de 5"
@@ -1103,22 +1103,22 @@ msgstr ""
1103
  "Wanneer dit is ingeschakeld, wordt een re=\"nofollow\" eigenschap toegevoegd "
1104
  "aan alle filter ankers over de gehele plugin"
1105
 
1106
- #: plugin-options/seo-options.php:63
1107
  msgctxt "[ADMIN] Seo settings page"
1108
  msgid "URL permalinks"
1109
  msgstr "URL permalinks"
1110
 
1111
- #: plugin-options/seo-options.php:64
1112
  msgctxt "[ADMIN] Seo settings page"
1113
  msgid "Choose how to manage browser URL during filtering"
1114
  msgstr "Bepaal hoe je de browser-URL wilt beheren tijdens het filteren"
1115
 
1116
- #: plugin-options/seo-options.php:70
1117
  msgctxt "[ADMIN] Seo settings page"
1118
  msgid "Add filters parameters to default URL"
1119
  msgstr "Filter parameters aan standaard URL toevoegen"
1120
 
1121
- #: plugin-options/seo-options.php:71
1122
  msgctxt "[ADMIN] Seo settings page"
1123
  msgid "Don't change URL"
1124
  msgstr "URN niet wijzigen"
5
  "Project-Id-Version: YITH WooCommerce Ajax Product Filter\n"
6
  "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/yith-woocommerce-"
7
  "ajax-product-filter\n"
8
+ "POT-Creation-Date: 2022-08-08 08:50:46+00:00\n"
9
  "PO-Revision-Date: 2021-02-12 13:32:05+0000\n"
10
  "Language: nl\n"
11
  "MIME-Version: 1.0\n"
14
  "Plural-Forms: nplurals=2; plural=n != 1;\n"
15
  "X-Generator: GlotPress/3.0.0-alpha.2\n"
16
 
17
+ #: includes/class-yith-wcan-admin.php:189
18
  msgid ""
19
  "<b>100% mobile friendly:</b> Show filters in a modal view which is purposely "
20
  "designed for users visiting your site by smartphones or tablets"
21
  msgstr ""
22
 
23
+ #: includes/class-yith-wcan-admin.php:190
24
  msgid ""
25
  "Show filters in the default layout or also in an <b>horizontal toolbar above "
26
  "products</b> (like Zalando)"
27
  msgstr ""
28
 
29
+ #: includes/class-yith-wcan-admin.php:191
30
  msgid ""
31
  "Allow customers to <b>filter for price ranges</b> (unlimited ranges and the "
32
+ "last range can show: “& above”) or using the <b>price slider</b>"
33
  msgstr ""
34
 
35
+ #: includes/class-yith-wcan-admin.php:192
36
  msgid ""
37
  "Allow customers to <b>filter for review</b> and <b>for brand</b> (with the "
38
  "support to YITH WooCommerce Brands plugin)"
39
  msgstr ""
40
 
41
+ #: includes/class-yith-wcan-admin.php:193
42
  msgid ""
43
  "Allow users to <b>order products</b> (by popularity, date, price, date of "
44
  "publishing, average rating, etc) and see only \tproducts in stock/featured/"
45
  "on sale"
46
  msgstr ""
47
 
48
+ #: includes/class-yith-wcan-admin.php:194
49
  msgid ""
50
  "<b>Show the active filters</b> (with X to remove them) and choose their "
51
  "position (above products, above or under filters area)"
52
  msgstr ""
53
 
54
+ #: includes/class-yith-wcan-admin.php:195
55
  msgid ""
56
  "Create <b>color swatches with image support</b> (to better identify "
57
  "gradients, textures, patterns, etc.) and with 2 colors"
58
  msgstr ""
59
 
60
+ #: includes/class-yith-wcan-admin.php:196
61
  msgid "Show the options using <b>custom images or icons</b>"
62
  msgstr ""
63
 
64
+ #: includes/class-yith-wcan-admin.php:197
65
  msgid ""
66
  "Choose the <b>order of the options</b> (alphabetical, terms order, terms "
67
  "count, etc.), enable tooltips and show each set of filters in toggle"
68
  msgstr ""
69
 
70
+ #: includes/class-yith-wcan-admin.php:198
71
  msgid ""
72
  "Choose how to manage terms not availables: hide them OR shown them in grey "
73
  "color and not clickables "
74
  msgstr ""
75
 
76
+ #: includes/class-yith-wcan-admin.php:199
77
  msgid "<b>Regular updates, Translations and Premium Support</b>"
78
  msgstr ""
79
 
168
  msgid "Button Label"
169
  msgstr "Labelknop"
170
 
171
+ #: init.php:162
 
 
 
 
 
 
172
  #, fuzzy
173
  msgid ""
174
  "YITH WooCommerce Ajax Product Filter is enabled but not effective. It "
177
  "YITH WooCommerce Ajax Productfilter is ingeschakeld maar niet effectief. Het "
178
  "vereist WooCommerce om te kunnen werken."
179
 
180
+ #: init.php:181
181
+ msgid ""
182
+ "YITH WooCommerce Ajax Product Filter was deactivated as you're running an "
183
+ "higher tier version of the same plugin."
184
+ msgstr ""
185
+
186
  #. Description of the plugin/theme
187
  #, fuzzy
188
  msgid ""
200
  "yithemes.com/\" target=\"_blank\">Verkrijg meer plugins voor je e-commerce "
201
  "winkel op <strong>YITH</strong></a>"
202
 
203
+ #: includes/class-yith-wcan-admin.php:104
204
  msgctxt "[Admin] Copy confirmation message"
205
  msgid "Content copied to your clipboard"
206
  msgstr "Inhoud gekopieerd naar je klembord"
207
 
208
+ #: includes/class-yith-wcan-admin.php:105
209
  msgctxt "[Admin] Confirm filter delete message"
210
  msgid "Are you sure you want to delete this item?"
211
  msgstr "Weet je zeker dat je dit item wilt verwijderen?"
212
 
213
  #. translators: 1. Number of items that will be added.
214
+ #: includes/class-yith-wcan-admin.php:107
215
  msgctxt "[Admin] Confirm add all terms message"
216
  msgid "Are you sure you want to proceed? This operation will add %s items"
217
  msgstr "Weet je zeker dat je door wilt gaan? Deze operatie voegt %s items toe"
218
 
219
+ #: includes/class-yith-wcan-admin.php:108
220
  msgctxt "[Admin] Error message"
221
  msgid "\"Filter title\" is a required field"
222
  msgstr ""
223
 
224
+ #: includes/class-yith-wcan-admin.php:111 templates/admin/preset-filter.php:33
225
  msgctxt "[Admin] Message shown when filter has empty title"
226
  msgid "&lt; no title &gt;"
227
  msgstr "&lt; geen titel &gt;"
228
 
229
+ #: includes/class-yith-wcan-admin.php:112
230
  msgctxt "[Admin] Media library title, when selecting images"
231
  msgid "Select media you want to use"
232
  msgstr "Selecteer de media die je wilt gebruiken"
233
 
234
+ #: includes/class-yith-wcan-admin.php:113
235
  msgctxt "[Admin] Media library confirm button, when selecting images"
236
  msgid "Use this media"
237
  msgstr "Gebruik deze media"
238
 
239
+ #: includes/class-yith-wcan-admin.php:177
240
  msgctxt "[Admin] tab name"
241
  msgid "Filter presets"
242
  msgstr "Filter pre-set"
243
 
244
+ #: includes/class-yith-wcan-admin.php:178
245
  msgctxt "[Admin] tab name"
246
  msgid "General settings"
247
  msgstr "Algemene instellingen"
248
 
249
+ #: includes/class-yith-wcan-admin.php:179
250
  #, fuzzy
251
  msgctxt "[Admin] tab name"
252
  msgid "SEO"
253
  msgstr "SEO"
254
 
255
+ #: includes/class-yith-wcan-admin.php:183
256
  msgctxt "[Admin] tab name"
257
  msgid "Legacy"
258
  msgstr "Nalatenschap"
259
 
260
+ #: includes/class-yith-wcan-admin.php:207
261
+ msgctxt "[HELP TAB] Video title"
262
+ msgid ""
263
+ "Check this video to learn how to <b>create a filter preset and show it on "
264
+ "the shop page:</b>"
265
+ msgstr ""
266
+
267
+ #: includes/class-yith-wcan-admin.php:230
268
  msgctxt "[Admin] Plugin description"
269
  msgid ""
270
  "It allows your users to find the product they are looking for as quickly as "
273
  "Het laat je gebruikers het product het product dat ze zoeken, zo snel "
274
  "mogelijk vinden."
275
 
276
+ #: includes/class-yith-wcan-admin.php:348
 
 
 
 
 
 
 
277
  msgctxt "[Admin] Generic item name, in \"You have no x yet\""
278
  msgid "item"
279
  msgstr "Item"
280
 
281
+ #: includes/class-yith-wcan-admin.php:349
282
  msgctxt "[Admin] Preset table empty message second line"
283
  msgid "But don't worry, here you can create your first one!"
284
  msgstr "Maar geen zorgen, je kunt hier je eerste aanmaken!"
285
 
286
+ #: includes/class-yith-wcan-admin.php:490
287
  msgctxt "[ADMIN] WooCommerce Tools tab, name of the tool"
288
  msgid "Clear Product Filter transients"
289
  msgstr "Product Filter transients legen"
290
 
291
+ #: includes/class-yith-wcan-admin.php:496
292
  msgctxt "[ADMIN] WooCommerce Tools tab, name of the tool"
293
  msgid "Run filter widgets upgrade"
294
  msgstr "Filter widgets upgrade uitvoeren"
295
 
296
+ #: includes/class-yith-wcan-admin.php:491
297
  msgctxt "[ADMIN] WooCommerce Tools tab, button for the tool"
298
  msgid "Clear"
299
  msgstr "Wissen"
300
 
301
+ #: includes/class-yith-wcan-admin.php:497
302
  msgctxt "[ADMIN] WooCommerce Tools tab, button for the tool"
303
  msgid "Run"
304
  msgstr "Uitvoeren"
305
 
306
+ #: includes/class-yith-wcan-admin.php:492
307
  msgctxt "[ADMIN] WooCommerce Tools tab, description of the tool"
308
  msgid ""
309
  "This will clear all transients related to the YITH WooCommerce AJAX Product "
315
  "configuratie van je product hebt gewijzigd en filters niet de verwachte "
316
  "resultaten weergeven."
317
 
318
+ #: includes/class-yith-wcan-admin.php:498
319
  msgctxt "[ADMIN] WooCommerce Tools tab, description of the tool"
320
  msgid ""
321
  "This will create a preset for any sidebar of your shop containing filter "
565
  msgid "New filter"
566
  msgstr "Nieuwe filter"
567
 
568
+ #: includes/class-yith-wcan-frontend.php:625
569
  #: includes/filters/class-yith-wcan-filter-tax.php:62
570
  msgctxt "[FRONTEND] \"All\" label shown when no term is selected"
571
  msgid "All"
572
  msgstr "Alle"
573
 
574
+ #: includes/class-yith-wcan-frontend.php:626
575
  msgctxt "[FRONTEND] Search placeholder shown in terms dropdown"
576
  msgid "Search..."
577
  msgstr "Zoeken..."
578
 
579
+ #: includes/class-yith-wcan-frontend.php:627
580
  msgctxt "[FRONTEND] Empty items list in the dropdown"
581
  msgid "No item found"
582
  msgstr "Geen item gevonden"
583
 
584
  #. translators: 1. Number of items to show.
585
+ #: includes/class-yith-wcan-frontend.php:629
586
  msgctxt "[FRONTEND] Show more link on terms dropdown"
587
  msgid "Show %d more"
588
  msgstr "Toon %d meer"
589
 
590
+ #: includes/class-yith-wcan-frontend.php:630
591
  msgctxt "[FRONTEND] Alt text for modal close button on mobile"
592
  msgid "Close"
593
  msgstr "Sluiten"
594
 
595
+ #: includes/class-yith-wcan-frontend.php:631
596
  msgctxt "[FRONTEND] Label for filter button, on horizontal layout"
597
  msgid "Save"
598
  msgstr ""
599
 
600
+ #: includes/class-yith-wcan-frontend.php:632
601
  msgctxt "[FRONTEND] Label for filter button, on mobile modal"
602
  msgid "Show results"
603
  msgstr "Resultaten weergeven"
604
 
605
+ #: includes/class-yith-wcan-frontend.php:633
606
  msgctxt ""
607
  "[FRONTEND] Label for clear selection link, that appears above filter after "
608
  "selection"
609
  msgid "Clear"
610
  msgstr "Wissen"
611
 
612
+ #: includes/class-yith-wcan-frontend.php:634
613
  msgctxt ""
614
  "[FRONTEND] Label for clear selection link, that appears above filter after "
615
  "selection"
692
  msgid "YITH AJAX Filters Reset Button"
693
  msgstr "YITH AJAX Filters Reset Knop"
694
 
695
+ #: includes/elementor/class-yith-wcan-elementor-filters.php:102
696
  #: includes/shortcodes/class-yith-wcan-shortcode-filters.php:60
697
  msgctxt "[ELEMENTOR] Default preset option"
698
  msgid "Choose an option"
699
  msgstr "Kies een optie"
700
 
701
+ #: includes/elementor/class-yith-wcan-elementor-filters.php:110
702
  msgctxt "[ELEMENTOR] Section title"
703
  msgid "Filters"
704
  msgstr "Filters"
705
 
706
+ #: includes/elementor/class-yith-wcan-elementor-reset-button.php:102
707
  msgctxt "[ELEMENTOR] Section title"
708
  msgid "General"
709
  msgstr "Algemeen"
710
 
711
+ #: includes/elementor/class-yith-wcan-elementor-filters.php:118
712
  msgctxt "[ELEMENTOR] Control label"
713
  msgid "Preset"
714
  msgstr "Pre-set"
715
 
716
+ #: includes/elementor/class-yith-wcan-elementor-reset-button.php:113
717
  msgctxt "[ELEMENTOR] Widget description"
718
  msgid ""
719
  "This widget will display \"Filters reset\" button, wherever it is placed"
721
  "Deze widget zal de \"Filters resetten\" knop weergeven, waar deze ook "
722
  "geplaatst is"
723
 
724
+ #: includes/elementor/class-yith-wcan-elementor-reset-button.php:116
725
  msgctxt "[ELEMENTOR] Widget description"
726
  msgid ""
727
  "It will allow users to reset the filer selection; it will only appear when "
730
  "Het laat gebruikers de filter selectie resetten; het verschijnt alleen "
731
  "wanneer er een actieve filter is."
732
 
733
+ #: includes/elementor/class-yith-wcan-elementor-reset-button.php:120
734
  msgctxt "[ELEMENTOR] Widget description"
735
  msgid ""
736
  "You can use this block to place \"Reset filters\" button inside your page, "
750
  msgid "Color 2"
751
  msgstr "Kleur 2"
752
 
753
+ #: includes/functions-yith-wcan.php:1032
754
  msgctxt "[FRONTEND] Star rating template"
755
  msgid "star"
756
  msgid_plural "stars"
758
  msgstr[1] "sterren"
759
 
760
  #. translators: 1. Rating.
761
+ #: includes/functions-yith-wcan.php:1047
762
  msgctxt "[FRONTEND] Star rating label"
763
  msgid "Rated %s out of 5"
764
  msgstr "Waardering %s van de 5"
1103
  "Wanneer dit is ingeschakeld, wordt een re=\"nofollow\" eigenschap toegevoegd "
1104
  "aan alle filter ankers over de gehele plugin"
1105
 
1106
+ #: plugin-options/seo-options.php:64
1107
  msgctxt "[ADMIN] Seo settings page"
1108
  msgid "URL permalinks"
1109
  msgstr "URL permalinks"
1110
 
1111
+ #: plugin-options/seo-options.php:65
1112
  msgctxt "[ADMIN] Seo settings page"
1113
  msgid "Choose how to manage browser URL during filtering"
1114
  msgstr "Bepaal hoe je de browser-URL wilt beheren tijdens het filteren"
1115
 
1116
+ #: plugin-options/seo-options.php:71
1117
  msgctxt "[ADMIN] Seo settings page"
1118
  msgid "Add filters parameters to default URL"
1119
  msgstr "Filter parameters aan standaard URL toevoegen"
1120
 
1121
+ #: plugin-options/seo-options.php:72
1122
  msgctxt "[ADMIN] Seo settings page"
1123
  msgid "Don't change URL"
1124
  msgstr "URN niet wijzigen"
languages/yith-woocommerce-ajax-navigation-tr_TR.po CHANGED
@@ -3,7 +3,7 @@ msgstr ""
3
  "Project-Id-Version: YITH WooCommerce Ajax Product filter\n"
4
  "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/yith-woocommerce-"
5
  "ajax-product-filter\n"
6
- "POT-Creation-Date: 2022-06-16 10:00:28+00:00\n"
7
  "PO-Revision-Date: 2019-06-06 10:16+0200\n"
8
  "Last-Translator: Caner Öncel <caneroncel@gmail.com>\n"
9
  "Language-Team: Caner Öncel <caneroncel@gmail.com>\n"
@@ -21,66 +21,66 @@ msgstr ""
21
  "X-Poedit-SearchPath-0: .\n"
22
  "X-Poedit-SearchPathExcluded-0: plugin-fw\n"
23
 
24
- #: includes/class-yith-wcan-admin.php:191
25
  msgid ""
26
  "<b>100% mobile friendly:</b> Show filters in a modal view which is purposely "
27
  "designed for users visiting your site by smartphones or tablets"
28
  msgstr ""
29
 
30
- #: includes/class-yith-wcan-admin.php:192
31
  msgid ""
32
  "Show filters in the default layout or also in an <b>horizontal toolbar above "
33
  "products</b> (like Zalando)"
34
  msgstr ""
35
 
36
- #: includes/class-yith-wcan-admin.php:193
37
  msgid ""
38
  "Allow customers to <b>filter for price ranges</b> (unlimited ranges and the "
39
- "last range can show: “& above”) or using the <b>price slider</b>\n"
40
  msgstr ""
41
 
42
- #: includes/class-yith-wcan-admin.php:195
43
  msgid ""
44
  "Allow customers to <b>filter for review</b> and <b>for brand</b> (with the "
45
  "support to YITH WooCommerce Brands plugin)"
46
  msgstr ""
47
 
48
- #: includes/class-yith-wcan-admin.php:196
49
  msgid ""
50
  "Allow users to <b>order products</b> (by popularity, date, price, date of "
51
  "publishing, average rating, etc) and see only \tproducts in stock/featured/"
52
  "on sale"
53
  msgstr ""
54
 
55
- #: includes/class-yith-wcan-admin.php:197
56
  msgid ""
57
  "<b>Show the active filters</b> (with X to remove them) and choose their "
58
  "position (above products, above or under filters area)"
59
  msgstr ""
60
 
61
- #: includes/class-yith-wcan-admin.php:198
62
  msgid ""
63
  "Create <b>color swatches with image support</b> (to better identify "
64
  "gradients, textures, patterns, etc.) and with 2 colors"
65
  msgstr ""
66
 
67
- #: includes/class-yith-wcan-admin.php:199
68
  msgid "Show the options using <b>custom images or icons</b>"
69
  msgstr ""
70
 
71
- #: includes/class-yith-wcan-admin.php:200
72
  msgid ""
73
  "Choose the <b>order of the options</b> (alphabetical, terms order, terms "
74
  "count, etc.), enable tooltips and show each set of filters in toggle"
75
  msgstr ""
76
 
77
- #: includes/class-yith-wcan-admin.php:201
78
  msgid ""
79
  "Choose how to manage terms not availables: hide them OR shown them in grey "
80
  "color and not clickables "
81
  msgstr ""
82
 
83
- #: includes/class-yith-wcan-admin.php:202
84
  msgid "<b>Regular updates, Translations and Premium Support</b>"
85
  msgstr ""
86
 
@@ -187,16 +187,16 @@ msgstr "Tüm Filtreleri Sıfırla"
187
  msgid "Button Label"
188
  msgstr "Buton Metni"
189
 
190
- #: init.php:149
191
  msgid ""
192
- "You can't activate the free version of YITH WooCommerce Ajax Product Filter "
193
- "while you are using the premium one."
194
  msgstr ""
195
 
196
- #: init.php:167
197
  msgid ""
198
- "YITH WooCommerce Ajax Product Filter is enabled but not effective. It "
199
- "requires WooCommerce in order to work."
200
  msgstr ""
201
 
202
  #. Description of the plugin/theme
@@ -209,108 +209,108 @@ msgid ""
209
  "your e-commerce shop on <strong>YITH</strong></a>"
210
  msgstr ""
211
 
212
- #: includes/class-yith-wcan-admin.php:106
213
  msgctxt "[Admin] Copy confirmation message"
214
  msgid "Content copied to your clipboard"
215
  msgstr ""
216
 
217
- #: includes/class-yith-wcan-admin.php:107
218
  msgctxt "[Admin] Confirm filter delete message"
219
  msgid "Are you sure you want to delete this item?"
220
  msgstr ""
221
 
222
  #. translators: 1. Number of items that will be added.
223
- #: includes/class-yith-wcan-admin.php:109
224
  msgctxt "[Admin] Confirm add all terms message"
225
  msgid "Are you sure you want to proceed? This operation will add %s items"
226
  msgstr ""
227
 
228
- #: includes/class-yith-wcan-admin.php:110
229
  msgctxt "[Admin] Error message"
230
  msgid "\"Filter title\" is a required field"
231
  msgstr ""
232
 
233
- #: includes/class-yith-wcan-admin.php:113 templates/admin/preset-filter.php:33
234
  msgctxt "[Admin] Message shown when filter has empty title"
235
  msgid "&lt; no title &gt;"
236
  msgstr ""
237
 
238
- #: includes/class-yith-wcan-admin.php:114
239
  msgctxt "[Admin] Media library title, when selecting images"
240
  msgid "Select media you want to use"
241
  msgstr ""
242
 
243
- #: includes/class-yith-wcan-admin.php:115
244
  msgctxt "[Admin] Media library confirm button, when selecting images"
245
  msgid "Use this media"
246
  msgstr ""
247
 
248
- #: includes/class-yith-wcan-admin.php:179
249
  #, fuzzy
250
  msgctxt "[Admin] tab name"
251
  msgid "Filter presets"
252
  msgstr "Filtre Listesi:"
253
 
254
- #: includes/class-yith-wcan-admin.php:180
255
  msgctxt "[Admin] tab name"
256
  msgid "General settings"
257
  msgstr ""
258
 
259
- #: includes/class-yith-wcan-admin.php:181
260
  msgctxt "[Admin] tab name"
261
  msgid "SEO"
262
  msgstr ""
263
 
264
- #: includes/class-yith-wcan-admin.php:185
265
  msgctxt "[Admin] tab name"
266
  msgid "Legacy"
267
  msgstr ""
268
 
269
- #: includes/class-yith-wcan-admin.php:212
270
- msgctxt "[Admin] Plugin description"
271
- msgid ""
272
- "It allows your users to find the product they are looking for as quickly as "
273
- "possible."
274
- msgstr ""
275
-
276
- #: includes/class-yith-wcan-admin.php:225
277
  msgctxt "[HELP TAB] Video title"
278
  msgid ""
279
  "Check this video to learn how to <b>create a filter preset and show it on "
280
  "the shop page:</b>"
281
  msgstr ""
282
 
283
- #: includes/class-yith-wcan-admin.php:344
 
 
 
 
 
 
 
284
  msgctxt "[Admin] Generic item name, in \"You have no x yet\""
285
  msgid "item"
286
  msgstr ""
287
 
288
- #: includes/class-yith-wcan-admin.php:345
289
  msgctxt "[Admin] Preset table empty message second line"
290
  msgid "But don't worry, here you can create your first one!"
291
  msgstr ""
292
 
293
- #: includes/class-yith-wcan-admin.php:495
294
  msgctxt "[ADMIN] WooCommerce Tools tab, name of the tool"
295
  msgid "Clear Product Filter transients"
296
  msgstr ""
297
 
298
- #: includes/class-yith-wcan-admin.php:501
299
  msgctxt "[ADMIN] WooCommerce Tools tab, name of the tool"
300
  msgid "Run filter widgets upgrade"
301
  msgstr ""
302
 
303
- #: includes/class-yith-wcan-admin.php:496
304
  msgctxt "[ADMIN] WooCommerce Tools tab, button for the tool"
305
  msgid "Clear"
306
  msgstr ""
307
 
308
- #: includes/class-yith-wcan-admin.php:502
309
  msgctxt "[ADMIN] WooCommerce Tools tab, button for the tool"
310
  msgid "Run"
311
  msgstr ""
312
 
313
- #: includes/class-yith-wcan-admin.php:497
314
  msgctxt "[ADMIN] WooCommerce Tools tab, description of the tool"
315
  msgid ""
316
  "This will clear all transients related to the YITH WooCommerce AJAX Product "
@@ -318,7 +318,7 @@ msgid ""
318
  "and filters do not display the expected results."
319
  msgstr ""
320
 
321
- #: includes/class-yith-wcan-admin.php:503
322
  msgctxt "[ADMIN] WooCommerce Tools tab, description of the tool"
323
  msgid ""
324
  "This will create a preset for any sidebar of your shop containing filter "
@@ -566,51 +566,51 @@ msgctxt "[Admin] Default filter title"
566
  msgid "New filter"
567
  msgstr ""
568
 
569
- #: includes/class-yith-wcan-frontend.php:591
570
  #: includes/filters/class-yith-wcan-filter-tax.php:62
571
  msgctxt "[FRONTEND] \"All\" label shown when no term is selected"
572
  msgid "All"
573
  msgstr ""
574
 
575
- #: includes/class-yith-wcan-frontend.php:592
576
  msgctxt "[FRONTEND] Search placeholder shown in terms dropdown"
577
  msgid "Search..."
578
  msgstr ""
579
 
580
- #: includes/class-yith-wcan-frontend.php:593
581
  msgctxt "[FRONTEND] Empty items list in the dropdown"
582
  msgid "No item found"
583
  msgstr ""
584
 
585
  #. translators: 1. Number of items to show.
586
- #: includes/class-yith-wcan-frontend.php:595
587
  msgctxt "[FRONTEND] Show more link on terms dropdown"
588
  msgid "Show %d more"
589
  msgstr ""
590
 
591
- #: includes/class-yith-wcan-frontend.php:596
592
  msgctxt "[FRONTEND] Alt text for modal close button on mobile"
593
  msgid "Close"
594
  msgstr ""
595
 
596
- #: includes/class-yith-wcan-frontend.php:597
597
  msgctxt "[FRONTEND] Label for filter button, on horizontal layout"
598
  msgid "Save"
599
  msgstr ""
600
 
601
- #: includes/class-yith-wcan-frontend.php:598
602
  msgctxt "[FRONTEND] Label for filter button, on mobile modal"
603
  msgid "Show results"
604
  msgstr ""
605
 
606
- #: includes/class-yith-wcan-frontend.php:599
607
  msgctxt ""
608
  "[FRONTEND] Label for clear selection link, that appears above filter after "
609
  "selection"
610
  msgid "Clear"
611
  msgstr ""
612
 
613
- #: includes/class-yith-wcan-frontend.php:600
614
  msgctxt ""
615
  "[FRONTEND] Label for clear selection link, that appears above filter after "
616
  "selection"
@@ -696,42 +696,42 @@ msgctxt "[ADMIN] Name of the preset elementor widget"
696
  msgid "YITH AJAX Filters Reset Button"
697
  msgstr ""
698
 
699
- #: includes/elementor/class-yith-wcan-elementor-filters.php:89
700
  #: includes/shortcodes/class-yith-wcan-shortcode-filters.php:60
701
  msgctxt "[ELEMENTOR] Default preset option"
702
  msgid "Choose an option"
703
  msgstr ""
704
 
705
- #: includes/elementor/class-yith-wcan-elementor-filters.php:97
706
  #, fuzzy
707
  msgctxt "[ELEMENTOR] Section title"
708
  msgid "Filters"
709
  msgstr "Filtre Listesi:"
710
 
711
- #: includes/elementor/class-yith-wcan-elementor-reset-button.php:89
712
  msgctxt "[ELEMENTOR] Section title"
713
  msgid "General"
714
  msgstr ""
715
 
716
- #: includes/elementor/class-yith-wcan-elementor-filters.php:105
717
  msgctxt "[ELEMENTOR] Control label"
718
  msgid "Preset"
719
  msgstr ""
720
 
721
- #: includes/elementor/class-yith-wcan-elementor-reset-button.php:100
722
  msgctxt "[ELEMENTOR] Widget description"
723
  msgid ""
724
  "This widget will display \"Filters reset\" button, wherever it is placed"
725
  msgstr ""
726
 
727
- #: includes/elementor/class-yith-wcan-elementor-reset-button.php:103
728
  msgctxt "[ELEMENTOR] Widget description"
729
  msgid ""
730
  "It will allow users to reset the filer selection; it will only appear when "
731
  "there is an active filter."
732
  msgstr ""
733
 
734
- #: includes/elementor/class-yith-wcan-elementor-reset-button.php:107
735
  msgctxt "[ELEMENTOR] Widget description"
736
  msgid ""
737
  "You can use this block to place \"Reset filters\" button inside your page, "
@@ -748,7 +748,7 @@ msgctxt "For multicolor: I.E. white and red T-Shirt"
748
  msgid "Color 2"
749
  msgstr ""
750
 
751
- #: includes/functions-yith-wcan.php:1026
752
  msgctxt "[FRONTEND] Star rating template"
753
  msgid "star"
754
  msgid_plural "stars"
@@ -756,7 +756,7 @@ msgstr[0] ""
756
  msgstr[1] ""
757
 
758
  #. translators: 1. Rating.
759
- #: includes/functions-yith-wcan.php:1041
760
  msgctxt "[FRONTEND] Star rating label"
761
  msgid "Rated %s out of 5"
762
  msgstr ""
@@ -1083,22 +1083,22 @@ msgid ""
1083
  "across the plugin"
1084
  msgstr ""
1085
 
1086
- #: plugin-options/seo-options.php:63
1087
  msgctxt "[ADMIN] Seo settings page"
1088
  msgid "URL permalinks"
1089
  msgstr ""
1090
 
1091
- #: plugin-options/seo-options.php:64
1092
  msgctxt "[ADMIN] Seo settings page"
1093
  msgid "Choose how to manage browser URL during filtering"
1094
  msgstr ""
1095
 
1096
- #: plugin-options/seo-options.php:70
1097
  msgctxt "[ADMIN] Seo settings page"
1098
  msgid "Add filters parameters to default URL"
1099
  msgstr ""
1100
 
1101
- #: plugin-options/seo-options.php:71
1102
  msgctxt "[ADMIN] Seo settings page"
1103
  msgid "Don't change URL"
1104
  msgstr ""
3
  "Project-Id-Version: YITH WooCommerce Ajax Product filter\n"
4
  "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/yith-woocommerce-"
5
  "ajax-product-filter\n"
6
+ "POT-Creation-Date: 2022-08-08 08:50:46+00:00\n"
7
  "PO-Revision-Date: 2019-06-06 10:16+0200\n"
8
  "Last-Translator: Caner Öncel <caneroncel@gmail.com>\n"
9
  "Language-Team: Caner Öncel <caneroncel@gmail.com>\n"
21
  "X-Poedit-SearchPath-0: .\n"
22
  "X-Poedit-SearchPathExcluded-0: plugin-fw\n"
23
 
24
+ #: includes/class-yith-wcan-admin.php:189
25
  msgid ""
26
  "<b>100% mobile friendly:</b> Show filters in a modal view which is purposely "
27
  "designed for users visiting your site by smartphones or tablets"
28
  msgstr ""
29
 
30
+ #: includes/class-yith-wcan-admin.php:190
31
  msgid ""
32
  "Show filters in the default layout or also in an <b>horizontal toolbar above "
33
  "products</b> (like Zalando)"
34
  msgstr ""
35
 
36
+ #: includes/class-yith-wcan-admin.php:191
37
  msgid ""
38
  "Allow customers to <b>filter for price ranges</b> (unlimited ranges and the "
39
+ "last range can show: “& above”) or using the <b>price slider</b>"
40
  msgstr ""
41
 
42
+ #: includes/class-yith-wcan-admin.php:192
43
  msgid ""
44
  "Allow customers to <b>filter for review</b> and <b>for brand</b> (with the "
45
  "support to YITH WooCommerce Brands plugin)"
46
  msgstr ""
47
 
48
+ #: includes/class-yith-wcan-admin.php:193
49
  msgid ""
50
  "Allow users to <b>order products</b> (by popularity, date, price, date of "
51
  "publishing, average rating, etc) and see only \tproducts in stock/featured/"
52
  "on sale"
53
  msgstr ""
54
 
55
+ #: includes/class-yith-wcan-admin.php:194
56
  msgid ""
57
  "<b>Show the active filters</b> (with X to remove them) and choose their "
58
  "position (above products, above or under filters area)"
59
  msgstr ""
60
 
61
+ #: includes/class-yith-wcan-admin.php:195
62
  msgid ""
63
  "Create <b>color swatches with image support</b> (to better identify "
64
  "gradients, textures, patterns, etc.) and with 2 colors"
65
  msgstr ""
66
 
67
+ #: includes/class-yith-wcan-admin.php:196
68
  msgid "Show the options using <b>custom images or icons</b>"
69
  msgstr ""
70
 
71
+ #: includes/class-yith-wcan-admin.php:197
72
  msgid ""
73
  "Choose the <b>order of the options</b> (alphabetical, terms order, terms "
74
  "count, etc.), enable tooltips and show each set of filters in toggle"
75
  msgstr ""
76
 
77
+ #: includes/class-yith-wcan-admin.php:198
78
  msgid ""
79
  "Choose how to manage terms not availables: hide them OR shown them in grey "
80
  "color and not clickables "
81
  msgstr ""
82
 
83
+ #: includes/class-yith-wcan-admin.php:199
84
  msgid "<b>Regular updates, Translations and Premium Support</b>"
85
  msgstr ""
86
 
187
  msgid "Button Label"
188
  msgstr "Buton Metni"
189
 
190
+ #: init.php:162
191
  msgid ""
192
+ "YITH WooCommerce Ajax Product Filter is enabled but not effective. It "
193
+ "requires WooCommerce in order to work."
194
  msgstr ""
195
 
196
+ #: init.php:181
197
  msgid ""
198
+ "YITH WooCommerce Ajax Product Filter was deactivated as you're running an "
199
+ "higher tier version of the same plugin."
200
  msgstr ""
201
 
202
  #. Description of the plugin/theme
209
  "your e-commerce shop on <strong>YITH</strong></a>"
210
  msgstr ""
211
 
212
+ #: includes/class-yith-wcan-admin.php:104
213
  msgctxt "[Admin] Copy confirmation message"
214
  msgid "Content copied to your clipboard"
215
  msgstr ""
216
 
217
+ #: includes/class-yith-wcan-admin.php:105
218
  msgctxt "[Admin] Confirm filter delete message"
219
  msgid "Are you sure you want to delete this item?"
220
  msgstr ""
221
 
222
  #. translators: 1. Number of items that will be added.
223
+ #: includes/class-yith-wcan-admin.php:107
224
  msgctxt "[Admin] Confirm add all terms message"
225
  msgid "Are you sure you want to proceed? This operation will add %s items"
226
  msgstr ""
227
 
228
+ #: includes/class-yith-wcan-admin.php:108
229
  msgctxt "[Admin] Error message"
230
  msgid "\"Filter title\" is a required field"
231
  msgstr ""
232
 
233
+ #: includes/class-yith-wcan-admin.php:111 templates/admin/preset-filter.php:33
234
  msgctxt "[Admin] Message shown when filter has empty title"
235
  msgid "&lt; no title &gt;"
236
  msgstr ""
237
 
238
+ #: includes/class-yith-wcan-admin.php:112
239
  msgctxt "[Admin] Media library title, when selecting images"
240
  msgid "Select media you want to use"
241
  msgstr ""
242
 
243
+ #: includes/class-yith-wcan-admin.php:113
244
  msgctxt "[Admin] Media library confirm button, when selecting images"
245
  msgid "Use this media"
246
  msgstr ""
247
 
248
+ #: includes/class-yith-wcan-admin.php:177
249
  #, fuzzy
250
  msgctxt "[Admin] tab name"
251
  msgid "Filter presets"
252
  msgstr "Filtre Listesi:"
253
 
254
+ #: includes/class-yith-wcan-admin.php:178
255
  msgctxt "[Admin] tab name"
256
  msgid "General settings"
257
  msgstr ""
258
 
259
+ #: includes/class-yith-wcan-admin.php:179
260
  msgctxt "[Admin] tab name"
261
  msgid "SEO"
262
  msgstr ""
263
 
264
+ #: includes/class-yith-wcan-admin.php:183
265
  msgctxt "[Admin] tab name"
266
  msgid "Legacy"
267
  msgstr ""
268
 
269
+ #: includes/class-yith-wcan-admin.php:207
 
 
 
 
 
 
 
270
  msgctxt "[HELP TAB] Video title"
271
  msgid ""
272
  "Check this video to learn how to <b>create a filter preset and show it on "
273
  "the shop page:</b>"
274
  msgstr ""
275
 
276
+ #: includes/class-yith-wcan-admin.php:230
277
+ msgctxt "[Admin] Plugin description"
278
+ msgid ""
279
+ "It allows your users to find the product they are looking for as quickly as "
280
+ "possible."
281
+ msgstr ""
282
+
283
+ #: includes/class-yith-wcan-admin.php:348
284
  msgctxt "[Admin] Generic item name, in \"You have no x yet\""
285
  msgid "item"
286
  msgstr ""
287
 
288
+ #: includes/class-yith-wcan-admin.php:349
289
  msgctxt "[Admin] Preset table empty message second line"
290
  msgid "But don't worry, here you can create your first one!"
291
  msgstr ""
292
 
293
+ #: includes/class-yith-wcan-admin.php:490
294
  msgctxt "[ADMIN] WooCommerce Tools tab, name of the tool"
295
  msgid "Clear Product Filter transients"
296
  msgstr ""
297
 
298
+ #: includes/class-yith-wcan-admin.php:496
299
  msgctxt "[ADMIN] WooCommerce Tools tab, name of the tool"
300
  msgid "Run filter widgets upgrade"
301
  msgstr ""
302
 
303
+ #: includes/class-yith-wcan-admin.php:491
304
  msgctxt "[ADMIN] WooCommerce Tools tab, button for the tool"
305
  msgid "Clear"
306
  msgstr ""
307
 
308
+ #: includes/class-yith-wcan-admin.php:497
309
  msgctxt "[ADMIN] WooCommerce Tools tab, button for the tool"
310
  msgid "Run"
311
  msgstr ""
312
 
313
+ #: includes/class-yith-wcan-admin.php:492
314
  msgctxt "[ADMIN] WooCommerce Tools tab, description of the tool"
315
  msgid ""
316
  "This will clear all transients related to the YITH WooCommerce AJAX Product "
318
  "and filters do not display the expected results."
319
  msgstr ""
320
 
321
+ #: includes/class-yith-wcan-admin.php:498
322
  msgctxt "[ADMIN] WooCommerce Tools tab, description of the tool"
323
  msgid ""
324
  "This will create a preset for any sidebar of your shop containing filter "
566
  msgid "New filter"
567
  msgstr ""
568
 
569
+ #: includes/class-yith-wcan-frontend.php:625
570
  #: includes/filters/class-yith-wcan-filter-tax.php:62
571
  msgctxt "[FRONTEND] \"All\" label shown when no term is selected"
572
  msgid "All"
573
  msgstr ""
574
 
575
+ #: includes/class-yith-wcan-frontend.php:626
576
  msgctxt "[FRONTEND] Search placeholder shown in terms dropdown"
577
  msgid "Search..."
578
  msgstr ""
579
 
580
+ #: includes/class-yith-wcan-frontend.php:627
581
  msgctxt "[FRONTEND] Empty items list in the dropdown"
582
  msgid "No item found"
583
  msgstr ""
584
 
585
  #. translators: 1. Number of items to show.
586
+ #: includes/class-yith-wcan-frontend.php:629
587
  msgctxt "[FRONTEND] Show more link on terms dropdown"
588
  msgid "Show %d more"
589
  msgstr ""
590
 
591
+ #: includes/class-yith-wcan-frontend.php:630
592
  msgctxt "[FRONTEND] Alt text for modal close button on mobile"
593
  msgid "Close"
594
  msgstr ""
595
 
596
+ #: includes/class-yith-wcan-frontend.php:631
597
  msgctxt "[FRONTEND] Label for filter button, on horizontal layout"
598
  msgid "Save"
599
  msgstr ""
600
 
601
+ #: includes/class-yith-wcan-frontend.php:632
602
  msgctxt "[FRONTEND] Label for filter button, on mobile modal"
603
  msgid "Show results"
604
  msgstr ""
605
 
606
+ #: includes/class-yith-wcan-frontend.php:633
607
  msgctxt ""
608
  "[FRONTEND] Label for clear selection link, that appears above filter after "
609
  "selection"
610
  msgid "Clear"
611
  msgstr ""
612
 
613
+ #: includes/class-yith-wcan-frontend.php:634
614
  msgctxt ""
615
  "[FRONTEND] Label for clear selection link, that appears above filter after "
616
  "selection"
696
  msgid "YITH AJAX Filters Reset Button"
697
  msgstr ""
698
 
699
+ #: includes/elementor/class-yith-wcan-elementor-filters.php:102
700
  #: includes/shortcodes/class-yith-wcan-shortcode-filters.php:60
701
  msgctxt "[ELEMENTOR] Default preset option"
702
  msgid "Choose an option"
703
  msgstr ""
704
 
705
+ #: includes/elementor/class-yith-wcan-elementor-filters.php:110
706
  #, fuzzy
707
  msgctxt "[ELEMENTOR] Section title"
708
  msgid "Filters"
709
  msgstr "Filtre Listesi:"
710
 
711
+ #: includes/elementor/class-yith-wcan-elementor-reset-button.php:102
712
  msgctxt "[ELEMENTOR] Section title"
713
  msgid "General"
714
  msgstr ""
715
 
716
+ #: includes/elementor/class-yith-wcan-elementor-filters.php:118
717
  msgctxt "[ELEMENTOR] Control label"
718
  msgid "Preset"
719
  msgstr ""
720
 
721
+ #: includes/elementor/class-yith-wcan-elementor-reset-button.php:113
722
  msgctxt "[ELEMENTOR] Widget description"
723
  msgid ""
724
  "This widget will display \"Filters reset\" button, wherever it is placed"
725
  msgstr ""
726
 
727
+ #: includes/elementor/class-yith-wcan-elementor-reset-button.php:116
728
  msgctxt "[ELEMENTOR] Widget description"
729
  msgid ""
730
  "It will allow users to reset the filer selection; it will only appear when "
731
  "there is an active filter."
732
  msgstr ""
733
 
734
+ #: includes/elementor/class-yith-wcan-elementor-reset-button.php:120
735
  msgctxt "[ELEMENTOR] Widget description"
736
  msgid ""
737
  "You can use this block to place \"Reset filters\" button inside your page, "
748
  msgid "Color 2"
749
  msgstr ""
750
 
751
+ #: includes/functions-yith-wcan.php:1032
752
  msgctxt "[FRONTEND] Star rating template"
753
  msgid "star"
754
  msgid_plural "stars"
756
  msgstr[1] ""
757
 
758
  #. translators: 1. Rating.
759
+ #: includes/functions-yith-wcan.php:1047
760
  msgctxt "[FRONTEND] Star rating label"
761
  msgid "Rated %s out of 5"
762
  msgstr ""
1083
  "across the plugin"
1084
  msgstr ""
1085
 
1086
+ #: plugin-options/seo-options.php:64
1087
  msgctxt "[ADMIN] Seo settings page"
1088
  msgid "URL permalinks"
1089
  msgstr ""
1090
 
1091
+ #: plugin-options/seo-options.php:65
1092
  msgctxt "[ADMIN] Seo settings page"
1093
  msgid "Choose how to manage browser URL during filtering"
1094
  msgstr ""
1095
 
1096
+ #: plugin-options/seo-options.php:71
1097
  msgctxt "[ADMIN] Seo settings page"
1098
  msgid "Add filters parameters to default URL"
1099
  msgstr ""
1100
 
1101
+ #: plugin-options/seo-options.php:72
1102
  msgctxt "[ADMIN] Seo settings page"
1103
  msgid "Don't change URL"
1104
  msgstr ""
languages/yith-woocommerce-ajax-navigation.pot CHANGED
@@ -5,7 +5,7 @@ msgstr ""
5
  "Project-Id-Version: YITH WooCommerce Ajax Navigation\n"
6
  "Report-Msgid-Bugs-To: "
7
  "https://wordpress.org/support/plugin/yith-woocommerce-ajax-product-filter\n"
8
- "POT-Creation-Date: 2022-07-07 14:00:17+00:00\n"
9
  "MIME-Version: 1.0\n"
10
  "Content-Type: text/plain; charset=utf-8\n"
11
  "Content-Transfer-Encoding: 8bit\n"
@@ -29,66 +29,66 @@ msgstr ""
29
  "X-Poedit-SearchPathExcluded-2: node_modules\n"
30
  "X-Generator: grunt-wp-i18n 1.0.3\n"
31
 
32
- #: includes/class-yith-wcan-admin.php:191
33
  msgid ""
34
  "<b>100% mobile friendly:</b> Show filters in a modal view which is "
35
  "purposely designed for users visiting your site by smartphones or tablets"
36
  msgstr ""
37
 
38
- #: includes/class-yith-wcan-admin.php:192
39
  msgid ""
40
  "Show filters in the default layout or also in an <b>horizontal toolbar "
41
  "above products</b> (like Zalando)"
42
  msgstr ""
43
 
44
- #: includes/class-yith-wcan-admin.php:193
45
  msgid ""
46
  "Allow customers to <b>filter for price ranges</b> (unlimited ranges and the "
47
- "last range can show: “& above”) or using the <b>price slider</b>\n"
48
  msgstr ""
49
 
50
- #: includes/class-yith-wcan-admin.php:195
51
  msgid ""
52
  "Allow customers to <b>filter for review</b> and <b>for brand</b> (with the "
53
  "support to YITH WooCommerce Brands plugin)"
54
  msgstr ""
55
 
56
- #: includes/class-yith-wcan-admin.php:196
57
  msgid ""
58
  "Allow users to <b>order products</b> (by popularity, date, price, date of "
59
  "publishing, average rating, etc) and see only \tproducts in "
60
  "stock/featured/on sale"
61
  msgstr ""
62
 
63
- #: includes/class-yith-wcan-admin.php:197
64
  msgid ""
65
  "<b>Show the active filters</b> (with X to remove them) and choose their "
66
  "position (above products, above or under filters area)"
67
  msgstr ""
68
 
69
- #: includes/class-yith-wcan-admin.php:198
70
  msgid ""
71
  "Create <b>color swatches with image support</b> (to better identify "
72
  "gradients, textures, patterns, etc.) and with 2 colors"
73
  msgstr ""
74
 
75
- #: includes/class-yith-wcan-admin.php:199
76
  msgid "Show the options using <b>custom images or icons</b>"
77
  msgstr ""
78
 
79
- #: includes/class-yith-wcan-admin.php:200
80
  msgid ""
81
  "Choose the <b>order of the options</b> (alphabetical, terms order, terms "
82
  "count, etc.), enable tooltips and show each set of filters in toggle"
83
  msgstr ""
84
 
85
- #: includes/class-yith-wcan-admin.php:201
86
  msgid ""
87
  "Choose how to manage terms not availables: hide them OR shown them in grey "
88
  "color and not clickables "
89
  msgstr ""
90
 
91
- #: includes/class-yith-wcan-admin.php:202
92
  msgid "<b>Regular updates, Translations and Premium Support</b>"
93
  msgstr ""
94
 
@@ -183,16 +183,16 @@ msgstr ""
183
  msgid "Button Label"
184
  msgstr ""
185
 
186
- #: init.php:149
187
  msgid ""
188
- "You can't activate the free version of YITH WooCommerce Ajax Product Filter "
189
- "while you are using the premium one."
190
  msgstr ""
191
 
192
- #: init.php:167
193
  msgid ""
194
- "YITH WooCommerce Ajax Product Filter is enabled but not effective. It "
195
- "requires WooCommerce in order to work."
196
  msgstr ""
197
 
198
  #. Description of the plugin/theme
@@ -205,107 +205,107 @@ msgid ""
205
  "your e-commerce shop on <strong>YITH</strong></a>"
206
  msgstr ""
207
 
208
- #: includes/class-yith-wcan-admin.php:106
209
  msgctxt "[Admin] Copy confirmation message"
210
  msgid "Content copied to your clipboard"
211
  msgstr ""
212
 
213
- #: includes/class-yith-wcan-admin.php:107
214
  msgctxt "[Admin] Confirm filter delete message"
215
  msgid "Are you sure you want to delete this item?"
216
  msgstr ""
217
 
218
- #: includes/class-yith-wcan-admin.php:109
219
  #. translators: 1. Number of items that will be added.
220
  msgctxt "[Admin] Confirm add all terms message"
221
  msgid "Are you sure you want to proceed? This operation will add %s items"
222
  msgstr ""
223
 
224
- #: includes/class-yith-wcan-admin.php:110
225
  msgctxt "[Admin] Error message"
226
  msgid "\"Filter title\" is a required field"
227
  msgstr ""
228
 
229
- #: includes/class-yith-wcan-admin.php:113 templates/admin/preset-filter.php:33
230
  msgctxt "[Admin] Message shown when filter has empty title"
231
  msgid "&lt; no title &gt;"
232
  msgstr ""
233
 
234
- #: includes/class-yith-wcan-admin.php:114
235
  msgctxt "[Admin] Media library title, when selecting images"
236
  msgid "Select media you want to use"
237
  msgstr ""
238
 
239
- #: includes/class-yith-wcan-admin.php:115
240
  msgctxt "[Admin] Media library confirm button, when selecting images"
241
  msgid "Use this media"
242
  msgstr ""
243
 
244
- #: includes/class-yith-wcan-admin.php:179
245
  msgctxt "[Admin] tab name"
246
  msgid "Filter presets"
247
  msgstr ""
248
 
249
- #: includes/class-yith-wcan-admin.php:180
250
  msgctxt "[Admin] tab name"
251
  msgid "General settings"
252
  msgstr ""
253
 
254
- #: includes/class-yith-wcan-admin.php:181
255
  msgctxt "[Admin] tab name"
256
  msgid "SEO"
257
  msgstr ""
258
 
259
- #: includes/class-yith-wcan-admin.php:185
260
  msgctxt "[Admin] tab name"
261
  msgid "Legacy"
262
  msgstr ""
263
 
264
- #: includes/class-yith-wcan-admin.php:212
265
- msgctxt "[Admin] Plugin description"
266
- msgid ""
267
- "It allows your users to find the product they are looking for as quickly as "
268
- "possible."
269
- msgstr ""
270
-
271
- #: includes/class-yith-wcan-admin.php:225
272
  msgctxt "[HELP TAB] Video title"
273
  msgid ""
274
  "Check this video to learn how to <b>create a filter preset and show it on "
275
  "the shop page:</b>"
276
  msgstr ""
277
 
278
- #: includes/class-yith-wcan-admin.php:344
 
 
 
 
 
 
 
279
  msgctxt "[Admin] Generic item name, in \"You have no x yet\""
280
  msgid "item"
281
  msgstr ""
282
 
283
- #: includes/class-yith-wcan-admin.php:345
284
  msgctxt "[Admin] Preset table empty message second line"
285
  msgid "But don't worry, here you can create your first one!"
286
  msgstr ""
287
 
288
- #: includes/class-yith-wcan-admin.php:495
289
  msgctxt "[ADMIN] WooCommerce Tools tab, name of the tool"
290
  msgid "Clear Product Filter transients"
291
  msgstr ""
292
 
293
- #: includes/class-yith-wcan-admin.php:501
294
  msgctxt "[ADMIN] WooCommerce Tools tab, name of the tool"
295
  msgid "Run filter widgets upgrade"
296
  msgstr ""
297
 
298
- #: includes/class-yith-wcan-admin.php:496
299
  msgctxt "[ADMIN] WooCommerce Tools tab, button for the tool"
300
  msgid "Clear"
301
  msgstr ""
302
 
303
- #: includes/class-yith-wcan-admin.php:502
304
  msgctxt "[ADMIN] WooCommerce Tools tab, button for the tool"
305
  msgid "Run"
306
  msgstr ""
307
 
308
- #: includes/class-yith-wcan-admin.php:497
309
  msgctxt "[ADMIN] WooCommerce Tools tab, description of the tool"
310
  msgid ""
311
  "This will clear all transients related to the YITH WooCommerce AJAX Product "
@@ -313,7 +313,7 @@ msgid ""
313
  "configuration, and filters do not display the expected results."
314
  msgstr ""
315
 
316
- #: includes/class-yith-wcan-admin.php:503
317
  msgctxt "[ADMIN] WooCommerce Tools tab, description of the tool"
318
  msgid ""
319
  "This will create a preset for any sidebar of your shop containing filter "
@@ -553,51 +553,51 @@ msgctxt "[Admin] Default filter title"
553
  msgid "New filter"
554
  msgstr ""
555
 
556
- #: includes/class-yith-wcan-frontend.php:591
557
  #: includes/filters/class-yith-wcan-filter-tax.php:62
558
  msgctxt "[FRONTEND] \"All\" label shown when no term is selected"
559
  msgid "All"
560
  msgstr ""
561
 
562
- #: includes/class-yith-wcan-frontend.php:592
563
  msgctxt "[FRONTEND] Search placeholder shown in terms dropdown"
564
  msgid "Search..."
565
  msgstr ""
566
 
567
- #: includes/class-yith-wcan-frontend.php:593
568
  msgctxt "[FRONTEND] Empty items list in the dropdown"
569
  msgid "No item found"
570
  msgstr ""
571
 
572
- #: includes/class-yith-wcan-frontend.php:595
573
  #. translators: 1. Number of items to show.
574
  msgctxt "[FRONTEND] Show more link on terms dropdown"
575
  msgid "Show %d more"
576
  msgstr ""
577
 
578
- #: includes/class-yith-wcan-frontend.php:596
579
  msgctxt "[FRONTEND] Alt text for modal close button on mobile"
580
  msgid "Close"
581
  msgstr ""
582
 
583
- #: includes/class-yith-wcan-frontend.php:597
584
  msgctxt "[FRONTEND] Label for filter button, on horizontal layout"
585
  msgid "Save"
586
  msgstr ""
587
 
588
- #: includes/class-yith-wcan-frontend.php:598
589
  msgctxt "[FRONTEND] Label for filter button, on mobile modal"
590
  msgid "Show results"
591
  msgstr ""
592
 
593
- #: includes/class-yith-wcan-frontend.php:599
594
  msgctxt ""
595
  "[FRONTEND] Label for clear selection link, that appears above filter after "
596
  "selection"
597
  msgid "Clear"
598
  msgstr ""
599
 
600
- #: includes/class-yith-wcan-frontend.php:600
601
  msgctxt ""
602
  "[FRONTEND] Label for clear selection link, that appears above filter after "
603
  "selection"
@@ -679,40 +679,40 @@ msgctxt "[ADMIN] Name of the preset elementor widget"
679
  msgid "YITH AJAX Filters Reset Button"
680
  msgstr ""
681
 
682
- #: includes/elementor/class-yith-wcan-elementor-filters.php:89
683
  #: includes/shortcodes/class-yith-wcan-shortcode-filters.php:60
684
  msgctxt "[ELEMENTOR] Default preset option"
685
  msgid "Choose an option"
686
  msgstr ""
687
 
688
- #: includes/elementor/class-yith-wcan-elementor-filters.php:97
689
  msgctxt "[ELEMENTOR] Section title"
690
  msgid "Filters"
691
  msgstr ""
692
 
693
- #: includes/elementor/class-yith-wcan-elementor-reset-button.php:89
694
  msgctxt "[ELEMENTOR] Section title"
695
  msgid "General"
696
  msgstr ""
697
 
698
- #: includes/elementor/class-yith-wcan-elementor-filters.php:105
699
  msgctxt "[ELEMENTOR] Control label"
700
  msgid "Preset"
701
  msgstr ""
702
 
703
- #: includes/elementor/class-yith-wcan-elementor-reset-button.php:100
704
  msgctxt "[ELEMENTOR] Widget description"
705
  msgid "This widget will display \"Filters reset\" button, wherever it is placed"
706
  msgstr ""
707
 
708
- #: includes/elementor/class-yith-wcan-elementor-reset-button.php:103
709
  msgctxt "[ELEMENTOR] Widget description"
710
  msgid ""
711
  "It will allow users to reset the filer selection; it will only appear when "
712
  "there is an active filter."
713
  msgstr ""
714
 
715
- #: includes/elementor/class-yith-wcan-elementor-reset-button.php:107
716
  msgctxt "[ELEMENTOR] Widget description"
717
  msgid ""
718
  "You can use this block to place \"Reset filters\" button inside your page, "
@@ -729,14 +729,14 @@ msgctxt "For multicolor: I.E. white and red T-Shirt"
729
  msgid "Color 2"
730
  msgstr ""
731
 
732
- #: includes/functions-yith-wcan.php:1026
733
  msgctxt "[FRONTEND] Star rating template"
734
  msgid "star"
735
  msgid_plural "stars"
736
  msgstr[0] ""
737
  msgstr[1] ""
738
 
739
- #: includes/functions-yith-wcan.php:1041
740
  #. translators: 1. Rating.
741
  msgctxt "[FRONTEND] Star rating label"
742
  msgid "Rated %s out of 5"
@@ -1044,22 +1044,22 @@ msgid ""
1044
  "across the plugin"
1045
  msgstr ""
1046
 
1047
- #: plugin-options/seo-options.php:63
1048
  msgctxt "[ADMIN] Seo settings page"
1049
  msgid "URL permalinks"
1050
  msgstr ""
1051
 
1052
- #: plugin-options/seo-options.php:64
1053
  msgctxt "[ADMIN] Seo settings page"
1054
  msgid "Choose how to manage browser URL during filtering"
1055
  msgstr ""
1056
 
1057
- #: plugin-options/seo-options.php:70
1058
  msgctxt "[ADMIN] Seo settings page"
1059
  msgid "Add filters parameters to default URL"
1060
  msgstr ""
1061
 
1062
- #: plugin-options/seo-options.php:71
1063
  msgctxt "[ADMIN] Seo settings page"
1064
  msgid "Don't change URL"
1065
  msgstr ""
5
  "Project-Id-Version: YITH WooCommerce Ajax Navigation\n"
6
  "Report-Msgid-Bugs-To: "
7
  "https://wordpress.org/support/plugin/yith-woocommerce-ajax-product-filter\n"
8
+ "POT-Creation-Date: 2022-08-08 08:50:46+00:00\n"
9
  "MIME-Version: 1.0\n"
10
  "Content-Type: text/plain; charset=utf-8\n"
11
  "Content-Transfer-Encoding: 8bit\n"
29
  "X-Poedit-SearchPathExcluded-2: node_modules\n"
30
  "X-Generator: grunt-wp-i18n 1.0.3\n"
31
 
32
+ #: includes/class-yith-wcan-admin.php:189
33
  msgid ""
34
  "<b>100% mobile friendly:</b> Show filters in a modal view which is "
35
  "purposely designed for users visiting your site by smartphones or tablets"
36
  msgstr ""
37
 
38
+ #: includes/class-yith-wcan-admin.php:190
39
  msgid ""
40
  "Show filters in the default layout or also in an <b>horizontal toolbar "
41
  "above products</b> (like Zalando)"
42
  msgstr ""
43
 
44
+ #: includes/class-yith-wcan-admin.php:191
45
  msgid ""
46
  "Allow customers to <b>filter for price ranges</b> (unlimited ranges and the "
47
+ "last range can show: “& above”) or using the <b>price slider</b>"
48
  msgstr ""
49
 
50
+ #: includes/class-yith-wcan-admin.php:192
51
  msgid ""
52
  "Allow customers to <b>filter for review</b> and <b>for brand</b> (with the "
53
  "support to YITH WooCommerce Brands plugin)"
54
  msgstr ""
55
 
56
+ #: includes/class-yith-wcan-admin.php:193
57
  msgid ""
58
  "Allow users to <b>order products</b> (by popularity, date, price, date of "
59
  "publishing, average rating, etc) and see only \tproducts in "
60
  "stock/featured/on sale"
61
  msgstr ""
62
 
63
+ #: includes/class-yith-wcan-admin.php:194
64
  msgid ""
65
  "<b>Show the active filters</b> (with X to remove them) and choose their "
66
  "position (above products, above or under filters area)"
67
  msgstr ""
68
 
69
+ #: includes/class-yith-wcan-admin.php:195
70
  msgid ""
71
  "Create <b>color swatches with image support</b> (to better identify "
72
  "gradients, textures, patterns, etc.) and with 2 colors"
73
  msgstr ""
74
 
75
+ #: includes/class-yith-wcan-admin.php:196
76
  msgid "Show the options using <b>custom images or icons</b>"
77
  msgstr ""
78
 
79
+ #: includes/class-yith-wcan-admin.php:197
80
  msgid ""
81
  "Choose the <b>order of the options</b> (alphabetical, terms order, terms "
82
  "count, etc.), enable tooltips and show each set of filters in toggle"
83
  msgstr ""
84
 
85
+ #: includes/class-yith-wcan-admin.php:198
86
  msgid ""
87
  "Choose how to manage terms not availables: hide them OR shown them in grey "
88
  "color and not clickables "
89
  msgstr ""
90
 
91
+ #: includes/class-yith-wcan-admin.php:199
92
  msgid "<b>Regular updates, Translations and Premium Support</b>"
93
  msgstr ""
94
 
183
  msgid "Button Label"
184
  msgstr ""
185
 
186
+ #: init.php:162
187
  msgid ""
188
+ "YITH WooCommerce Ajax Product Filter is enabled but not effective. It "
189
+ "requires WooCommerce in order to work."
190
  msgstr ""
191
 
192
+ #: init.php:181
193
  msgid ""
194
+ "YITH WooCommerce Ajax Product Filter was deactivated as you're running an "
195
+ "higher tier version of the same plugin."
196
  msgstr ""
197
 
198
  #. Description of the plugin/theme
205
  "your e-commerce shop on <strong>YITH</strong></a>"
206
  msgstr ""
207
 
208
+ #: includes/class-yith-wcan-admin.php:104
209
  msgctxt "[Admin] Copy confirmation message"
210
  msgid "Content copied to your clipboard"
211
  msgstr ""
212
 
213
+ #: includes/class-yith-wcan-admin.php:105
214
  msgctxt "[Admin] Confirm filter delete message"
215
  msgid "Are you sure you want to delete this item?"
216
  msgstr ""
217
 
218
+ #: includes/class-yith-wcan-admin.php:107
219
  #. translators: 1. Number of items that will be added.
220
  msgctxt "[Admin] Confirm add all terms message"
221
  msgid "Are you sure you want to proceed? This operation will add %s items"
222
  msgstr ""
223
 
224
+ #: includes/class-yith-wcan-admin.php:108
225
  msgctxt "[Admin] Error message"
226
  msgid "\"Filter title\" is a required field"
227
  msgstr ""
228
 
229
+ #: includes/class-yith-wcan-admin.php:111 templates/admin/preset-filter.php:33
230
  msgctxt "[Admin] Message shown when filter has empty title"
231
  msgid "&lt; no title &gt;"
232
  msgstr ""
233
 
234
+ #: includes/class-yith-wcan-admin.php:112
235
  msgctxt "[Admin] Media library title, when selecting images"
236
  msgid "Select media you want to use"
237
  msgstr ""
238
 
239
+ #: includes/class-yith-wcan-admin.php:113
240
  msgctxt "[Admin] Media library confirm button, when selecting images"
241
  msgid "Use this media"
242
  msgstr ""
243
 
244
+ #: includes/class-yith-wcan-admin.php:177
245
  msgctxt "[Admin] tab name"
246
  msgid "Filter presets"
247
  msgstr ""
248
 
249
+ #: includes/class-yith-wcan-admin.php:178
250
  msgctxt "[Admin] tab name"
251
  msgid "General settings"
252
  msgstr ""
253
 
254
+ #: includes/class-yith-wcan-admin.php:179
255
  msgctxt "[Admin] tab name"
256
  msgid "SEO"
257
  msgstr ""
258
 
259
+ #: includes/class-yith-wcan-admin.php:183
260
  msgctxt "[Admin] tab name"
261
  msgid "Legacy"
262
  msgstr ""
263
 
264
+ #: includes/class-yith-wcan-admin.php:207
 
 
 
 
 
 
 
265
  msgctxt "[HELP TAB] Video title"
266
  msgid ""
267
  "Check this video to learn how to <b>create a filter preset and show it on "
268
  "the shop page:</b>"
269
  msgstr ""
270
 
271
+ #: includes/class-yith-wcan-admin.php:230
272
+ msgctxt "[Admin] Plugin description"
273
+ msgid ""
274
+ "It allows your users to find the product they are looking for as quickly as "
275
+ "possible."
276
+ msgstr ""
277
+
278
+ #: includes/class-yith-wcan-admin.php:348
279
  msgctxt "[Admin] Generic item name, in \"You have no x yet\""
280
  msgid "item"
281
  msgstr ""
282
 
283
+ #: includes/class-yith-wcan-admin.php:349
284
  msgctxt "[Admin] Preset table empty message second line"
285
  msgid "But don't worry, here you can create your first one!"
286
  msgstr ""
287
 
288
+ #: includes/class-yith-wcan-admin.php:490
289
  msgctxt "[ADMIN] WooCommerce Tools tab, name of the tool"
290
  msgid "Clear Product Filter transients"
291
  msgstr ""
292
 
293
+ #: includes/class-yith-wcan-admin.php:496
294
  msgctxt "[ADMIN] WooCommerce Tools tab, name of the tool"
295
  msgid "Run filter widgets upgrade"
296
  msgstr ""
297
 
298
+ #: includes/class-yith-wcan-admin.php:491
299
  msgctxt "[ADMIN] WooCommerce Tools tab, button for the tool"
300
  msgid "Clear"
301
  msgstr ""
302
 
303
+ #: includes/class-yith-wcan-admin.php:497
304
  msgctxt "[ADMIN] WooCommerce Tools tab, button for the tool"
305
  msgid "Run"
306
  msgstr ""
307
 
308
+ #: includes/class-yith-wcan-admin.php:492
309
  msgctxt "[ADMIN] WooCommerce Tools tab, description of the tool"
310
  msgid ""
311
  "This will clear all transients related to the YITH WooCommerce AJAX Product "
313
  "configuration, and filters do not display the expected results."
314
  msgstr ""
315
 
316
+ #: includes/class-yith-wcan-admin.php:498
317
  msgctxt "[ADMIN] WooCommerce Tools tab, description of the tool"
318
  msgid ""
319
  "This will create a preset for any sidebar of your shop containing filter "
553
  msgid "New filter"
554
  msgstr ""
555
 
556
+ #: includes/class-yith-wcan-frontend.php:625
557
  #: includes/filters/class-yith-wcan-filter-tax.php:62
558
  msgctxt "[FRONTEND] \"All\" label shown when no term is selected"
559
  msgid "All"
560
  msgstr ""
561
 
562
+ #: includes/class-yith-wcan-frontend.php:626
563
  msgctxt "[FRONTEND] Search placeholder shown in terms dropdown"
564
  msgid "Search..."
565
  msgstr ""
566
 
567
+ #: includes/class-yith-wcan-frontend.php:627
568
  msgctxt "[FRONTEND] Empty items list in the dropdown"
569
  msgid "No item found"
570
  msgstr ""
571
 
572
+ #: includes/class-yith-wcan-frontend.php:629
573
  #. translators: 1. Number of items to show.
574
  msgctxt "[FRONTEND] Show more link on terms dropdown"
575
  msgid "Show %d more"
576
  msgstr ""
577
 
578
+ #: includes/class-yith-wcan-frontend.php:630
579
  msgctxt "[FRONTEND] Alt text for modal close button on mobile"
580
  msgid "Close"
581
  msgstr ""
582
 
583
+ #: includes/class-yith-wcan-frontend.php:631
584
  msgctxt "[FRONTEND] Label for filter button, on horizontal layout"
585
  msgid "Save"
586
  msgstr ""
587
 
588
+ #: includes/class-yith-wcan-frontend.php:632
589
  msgctxt "[FRONTEND] Label for filter button, on mobile modal"
590
  msgid "Show results"
591
  msgstr ""
592
 
593
+ #: includes/class-yith-wcan-frontend.php:633
594
  msgctxt ""
595
  "[FRONTEND] Label for clear selection link, that appears above filter after "
596
  "selection"
597
  msgid "Clear"
598
  msgstr ""
599
 
600
+ #: includes/class-yith-wcan-frontend.php:634
601
  msgctxt ""
602
  "[FRONTEND] Label for clear selection link, that appears above filter after "
603
  "selection"
679
  msgid "YITH AJAX Filters Reset Button"
680
  msgstr ""
681
 
682
+ #: includes/elementor/class-yith-wcan-elementor-filters.php:102
683
  #: includes/shortcodes/class-yith-wcan-shortcode-filters.php:60
684
  msgctxt "[ELEMENTOR] Default preset option"
685
  msgid "Choose an option"
686
  msgstr ""
687
 
688
+ #: includes/elementor/class-yith-wcan-elementor-filters.php:110
689
  msgctxt "[ELEMENTOR] Section title"
690
  msgid "Filters"
691
  msgstr ""
692
 
693
+ #: includes/elementor/class-yith-wcan-elementor-reset-button.php:102
694
  msgctxt "[ELEMENTOR] Section title"
695
  msgid "General"
696
  msgstr ""
697
 
698
+ #: includes/elementor/class-yith-wcan-elementor-filters.php:118
699
  msgctxt "[ELEMENTOR] Control label"
700
  msgid "Preset"
701
  msgstr ""
702
 
703
+ #: includes/elementor/class-yith-wcan-elementor-reset-button.php:113
704
  msgctxt "[ELEMENTOR] Widget description"
705
  msgid "This widget will display \"Filters reset\" button, wherever it is placed"
706
  msgstr ""
707
 
708
+ #: includes/elementor/class-yith-wcan-elementor-reset-button.php:116
709
  msgctxt "[ELEMENTOR] Widget description"
710
  msgid ""
711
  "It will allow users to reset the filer selection; it will only appear when "
712
  "there is an active filter."
713
  msgstr ""
714
 
715
+ #: includes/elementor/class-yith-wcan-elementor-reset-button.php:120
716
  msgctxt "[ELEMENTOR] Widget description"
717
  msgid ""
718
  "You can use this block to place \"Reset filters\" button inside your page, "
729
  msgid "Color 2"
730
  msgstr ""
731
 
732
+ #: includes/functions-yith-wcan.php:1032
733
  msgctxt "[FRONTEND] Star rating template"
734
  msgid "star"
735
  msgid_plural "stars"
736
  msgstr[0] ""
737
  msgstr[1] ""
738
 
739
+ #: includes/functions-yith-wcan.php:1047
740
  #. translators: 1. Rating.
741
  msgctxt "[FRONTEND] Star rating label"
742
  msgid "Rated %s out of 5"
1044
  "across the plugin"
1045
  msgstr ""
1046
 
1047
+ #: plugin-options/seo-options.php:64
1048
  msgctxt "[ADMIN] Seo settings page"
1049
  msgid "URL permalinks"
1050
  msgstr ""
1051
 
1052
+ #: plugin-options/seo-options.php:65
1053
  msgctxt "[ADMIN] Seo settings page"
1054
  msgid "Choose how to manage browser URL during filtering"
1055
  msgstr ""
1056
 
1057
+ #: plugin-options/seo-options.php:71
1058
  msgctxt "[ADMIN] Seo settings page"
1059
  msgid "Add filters parameters to default URL"
1060
  msgstr ""
1061
 
1062
+ #: plugin-options/seo-options.php:72
1063
  msgctxt "[ADMIN] Seo settings page"
1064
  msgid "Don't change URL"
1065
  msgstr ""
plugin-fw/assets/css/yit-plugin-panel.css CHANGED
@@ -185,6 +185,35 @@
185
  transition : all .2s ease;
186
  }
187
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
188
  .yith-plugin-fw-panel-help-tab-content ul.yith-plugin-fw-help-tab-actions,
189
  .yith-plugin-fw-panel-help-tab-content .yith-plugin-fw-submit-ticket {
190
  margin : 0 auto;
@@ -1159,11 +1188,6 @@ button#yith-plugin-fw-float-save-button.visible {
1159
  display : flex;
1160
  }
1161
 
1162
- button#yith-plugin-fw-float-save-button i {
1163
- font-size : 15px;
1164
- margin-right : 8px;
1165
- }
1166
-
1167
  button#yith-plugin-fw-float-save-button:hover {
1168
  box-shadow : 0px 1px 6px 3px rgba(0, 121, 159, .3);
1169
  }
@@ -1180,12 +1204,6 @@ button#yith-plugin-fw-float-save-button.green {
1180
  left : 70px;
1181
  }
1182
 
1183
- .rtl button#yith-plugin-fw-float-save-button i {
1184
- margin-left : 8px;
1185
- margin-right : 0;
1186
- }
1187
-
1188
-
1189
  /* === Responsive === */
1190
 
1191
  @media (max-width : 1210px) {
@@ -1201,6 +1219,10 @@ button#yith-plugin-fw-float-save-button.green {
1201
  #yith_plugin_fw_panel_premium_tab .yith-plugin-fw-panel-premium-tab__features {
1202
  padding-top : 15px;
1203
  }
 
 
 
 
1204
  }
1205
 
1206
  @media (max-width : 600px) {
@@ -1237,6 +1259,11 @@ button#yith-plugin-fw-float-save-button.green {
1237
  #yith_plugin_fw_panel_premium_tab .yith-plugin-fw-panel-premium-tab__cta-button {
1238
  white-space : unset;
1239
  }
 
 
 
 
 
1240
  }
1241
 
1242
  @media (max-width : 992px) {
@@ -1254,6 +1281,11 @@ button#yith-plugin-fw-float-save-button.green {
1254
  .yith-plugin-fw-panel-help-tab-content ul.yith-plugin-fw-help-tab-actions {
1255
  padding-top : 0 !important;
1256
  }
 
 
 
 
 
1257
  }
1258
 
1259
  @media (min-width : 768px) and (max-width : 992px) {
185
  transition : all .2s ease;
186
  }
187
 
188
+ .yith-plugin-fw-panel-help-tab-content .box-with-image {
189
+ display : grid;
190
+ grid-template-columns: repeat(2, 1fr);
191
+ column-gap : 40px;
192
+ background-color : #fff;
193
+ border : 1px solid #ebebeb;
194
+ padding : 30px 40px;
195
+ max-width : 60%;
196
+ margin : 0 auto 40px;
197
+ }
198
+
199
+ .yith-plugin-fw-panel-help-tab-content .box-with-image img{
200
+ margin : 0 auto;
201
+ max-width: 100%;
202
+ }
203
+
204
+ .yith-plugin-fw-panel-help-tab-content .box-with-image .box-content {
205
+ white-space: initial;
206
+ }
207
+
208
+ .yith-plugin-fw-panel-help-tab-content .box-with-image .box-content .button {
209
+ border-radius: 0;
210
+ padding : 10px 20px;
211
+ min-width : 230px;
212
+ margin-top : 20px;
213
+ text-align : center;
214
+ white-space: initial;
215
+ }
216
+
217
  .yith-plugin-fw-panel-help-tab-content ul.yith-plugin-fw-help-tab-actions,
218
  .yith-plugin-fw-panel-help-tab-content .yith-plugin-fw-submit-ticket {
219
  margin : 0 auto;
1188
  display : flex;
1189
  }
1190
 
 
 
 
 
 
1191
  button#yith-plugin-fw-float-save-button:hover {
1192
  box-shadow : 0px 1px 6px 3px rgba(0, 121, 159, .3);
1193
  }
1204
  left : 70px;
1205
  }
1206
 
 
 
 
 
 
 
1207
  /* === Responsive === */
1208
 
1209
  @media (max-width : 1210px) {
1219
  #yith_plugin_fw_panel_premium_tab .yith-plugin-fw-panel-premium-tab__features {
1220
  padding-top : 15px;
1221
  }
1222
+
1223
+ .yith-plugin-fw-panel-help-tab-content .box-with-image {
1224
+ max-width: 100%;
1225
+ }
1226
  }
1227
 
1228
  @media (max-width : 600px) {
1259
  #yith_plugin_fw_panel_premium_tab .yith-plugin-fw-panel-premium-tab__cta-button {
1260
  white-space : unset;
1261
  }
1262
+
1263
+ .yith-plugin-fw-panel-help-tab-content .box-with-image .box-content a.button {
1264
+ min-width: 0;
1265
+ max-width: 100%;
1266
+ }
1267
  }
1268
 
1269
  @media (max-width : 992px) {
1281
  .yith-plugin-fw-panel-help-tab-content ul.yith-plugin-fw-help-tab-actions {
1282
  padding-top : 0 !important;
1283
  }
1284
+
1285
+ .yith-plugin-fw-panel-help-tab-content .box-with-image {
1286
+ display: block;
1287
+ text-align: center;
1288
+ }
1289
  }
1290
 
1291
  @media (min-width : 768px) and (max-width : 992px) {
plugin-fw/assets/css/yith-bh-onboarding.css ADDED
@@ -0,0 +1,170 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /* === YITH BH Onboarding Modal Style === */
2
+ #nfd-ecommerce {
3
+ overflow-x: hidden;
4
+ }
5
+
6
+ #yith-bh-onboarding {
7
+ max-width: 800px;
8
+ margin: 20px auto;
9
+ padding: 30px 20px;
10
+ background-color: #fff;
11
+ box-sizing: border-box;
12
+ }
13
+
14
+ #yith-bh-onboarding header {
15
+ display: flex;
16
+ align-items: flex-end;
17
+ margin-bottom: 40px;
18
+ }
19
+ #yith-bh-onboarding header .logo{
20
+ margin-bottom: 10px;
21
+ }
22
+ #yith-bh-onboarding .yith-bh-onboarding-plugin-description {
23
+ flex: 1;
24
+ }
25
+
26
+ #yith-bh-onboarding header div .claim {
27
+ color: #2C5DB4;
28
+ width: 100%;
29
+ font-weight: 600;
30
+ font-size: 15px;
31
+ }
32
+
33
+ #yith-bh-onboarding header div .plugin-description {
34
+ width: 100%;
35
+ text-align: right;
36
+ font-size: 10px;
37
+ }
38
+
39
+ #yith-bh-onboarding table {
40
+ margin-bottom: 20px !important;
41
+ }
42
+
43
+ #yith-bh-onboarding .submit-area {
44
+ padding: 0 30px 30px;
45
+ text-align: right;
46
+ }
47
+
48
+ #yith-bh-onboarding .submit-area button {
49
+ padding: 3px 50px;
50
+ background-color: #2C5DB4;
51
+ }
52
+
53
+ #yith-bh-onboarding .yith-bh-onboarding-tabs.yith-plugin-ui {
54
+ border: 1px solid #ccc;
55
+ border-radius: 10px;
56
+ }
57
+
58
+ #yith-bh-onboarding ul.yith-bh-onboarding-tabs__nav {
59
+ display: flex;
60
+ align-items: baseline;
61
+ justify-content: center;
62
+ margin-top: 0;
63
+ overflow: hidden;
64
+ }
65
+
66
+ #yith-bh-onboarding ul.yith-bh-onboarding-tabs__nav li {
67
+ width: 50%;
68
+ background-color: #536E8B;
69
+ color: #fff;
70
+ padding: 13px;
71
+ text-align: center;
72
+ cursor: pointer;
73
+ font-weight: 600;
74
+ }
75
+
76
+ #yith-bh-onboarding ul.yith-bh-onboarding-tabs__nav li:first-child {
77
+ border-top-left-radius: 10px;
78
+ }
79
+
80
+ #yith-bh-onboarding ul.yith-bh-onboarding-tabs__nav li:last-child {
81
+ border-top-right-radius: 10px;
82
+ }
83
+
84
+ #yith-bh-onboarding ul.yith-bh-onboarding-tabs__nav li a {
85
+ text-decoration: none;
86
+ }
87
+
88
+ #yith-bh-onboarding ul.yith-bh-onboarding-tabs__nav li.selected {
89
+ background-color: #fff;
90
+ color: #2C5DB4;
91
+ }
92
+
93
+ #yith-bh-onboarding .yith-bh-onboarding-tabs__content .yith-bh-onboarding-tabs__tab {
94
+ display: none;
95
+ }
96
+
97
+ #yith-bh-onboarding .yith-bh-onboarding-tabs__content p.yith-bh-onboarding-tab-description {
98
+ padding: 9px 20px;
99
+ }
100
+
101
+ #yith-bh-onboarding .yith-bh-onboarding-tabs__content .form-table {
102
+ border: 0 !important;
103
+ }
104
+
105
+ #yith-bh-onboarding ul.yith-bh-onboarding-connect-list {
106
+ width: 70%;
107
+ margin: 0 auto 60px;
108
+ }
109
+
110
+ #yith-bh-onboarding ul.yith-bh-onboarding-connect-list li {
111
+ padding-left: 35px;
112
+ margin: 0 auto 40px;
113
+ position: relative;
114
+ }
115
+
116
+ #yith-bh-onboarding ul.yith-bh-onboarding-connect-list li h3 {
117
+ font-size: 13px;
118
+ font-weight: bold;
119
+ margin-bottom: 20px;
120
+ }
121
+
122
+ #yith-bh-onboarding ul.yith-bh-onboarding-connect-list li:before {
123
+ content: "";
124
+ width: 35px;
125
+ height: 35px;
126
+ display: block;
127
+ position: absolute;
128
+ left: -35px;
129
+ top: -5px;
130
+ background: url("../images/bh-onboarding/check.svg") no-repeat center center;
131
+ }
132
+
133
+ #yith-bh-onboarding ul.yith-bh-onboarding-connect-list p {
134
+ font-size: 13px;
135
+ line-height: 1.6em;
136
+ }
137
+
138
+ #yith-bh-onboarding .yith-bh-onboarding-connect-cta {
139
+ width: calc(70% + 70px);
140
+ margin: 20px auto;
141
+ border-radius: 10px;
142
+ background-color: #f6f6f6;
143
+ padding: 30px 0 45px;
144
+ text-align: center;
145
+ }
146
+
147
+ #yith-bh-onboarding .yith-bh-onboarding-connect-cta p {
148
+ font-size: 16px;
149
+ margin-bottom: 30px;
150
+ }
151
+
152
+ #yith-bh-onboarding .yith-bh-onboarding-connect-cta a {
153
+ text-decoration: none;
154
+ font-size: 13px;
155
+ color: white;
156
+ background-color: #2C5DB4;
157
+ padding: 10px 30px;
158
+ border-radius: 5px;
159
+ }
160
+
161
+ @media screen and (max-width: 782px){
162
+
163
+ #yith-bh-onboarding header {
164
+ display: block;
165
+ }
166
+ #yith-bh-onboarding header div .plugin-description{
167
+ text-align: left;
168
+ margin-top: 20px;
169
+ }
170
+ }
plugin-fw/assets/css/yith-fields.css CHANGED
@@ -969,11 +969,7 @@ span.select2.select2-container.select2-container--default.yith-plugin-fw-select2
969
  border : 0;
970
  }
971
 
972
- .yith-plugin-fw-select2-container.select2-container--default .select2-results__option[data-selected=true] {
973
- background-color : #fff;
974
- outline : none;
975
- }
976
-
977
  .yith-plugin-fw-select2-container.select2-container--default .select2-results__option--highlighted[aria-selected] {
978
  background-color : #e8eff1;
979
  color : #4e8ba2;
969
  border : 0;
970
  }
971
 
972
+ .yith-plugin-fw-select2-container.select2-container--default .select2-results__option[data-selected=true],
 
 
 
 
973
  .yith-plugin-fw-select2-container.select2-container--default .select2-results__option--highlighted[aria-selected] {
974
  background-color : #e8eff1;
975
  color : #4e8ba2;
plugin-fw/assets/images/bh-onboarding/check.svg ADDED
@@ -0,0 +1,16 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?xml version="1.0" encoding="UTF-8" standalone="no"?>
2
+ <!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
3
+ <svg width="100%" height="100%" viewBox="0 0 35 35" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xml:space="preserve" xmlns:serif="http://www.serif.com/" style="fill-rule:evenodd;clip-rule:evenodd;stroke-linejoin:round;stroke-miterlimit:2;">
4
+ <g transform="matrix(2.0825,0,0,3.04444,-3.82583,-18.2777)">
5
+ <ellipse cx="10.24" cy="11.752" rx="8.403" ry="5.748" style="fill:rgb(226,235,252);"/>
6
+ </g>
7
+ <g transform="matrix(0.805374,0,0,0.805374,7.56329,9.79297)">
8
+ <g id="Plugin-onboarding---Step-2">
9
+ <g id="Group">
10
+ <g id="check-verde--1-" serif:id="check-verde-(1)">
11
+ <path id="Path" d="M4.705,4.608L10.178,9.985L20.163,0L24.676,4.449L10.146,19.139L0,9.249L4.705,4.608Z" style="fill:rgb(115,161,239);fill-rule:nonzero;"/>
12
+ </g>
13
+ </g>
14
+ </g>
15
+ </g>
16
+ </svg>
plugin-fw/assets/images/help-tab/documentation.svg ADDED
@@ -0,0 +1,176 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <svg width="274px" height="200px" viewBox="0 0 197 144" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
3
+ <title>documentation-bluehost</title>
4
+ <g id="Page-1" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
5
+ <g id="Help-Bluehost" transform="translate(-358.000000, -322.000000)" fill-rule="nonzero">
6
+ <g id="documentation-bluehost" transform="translate(358.000000, 322.000000)">
7
+ <g id="Group" transform="translate(110.000000, 0.000000)" fill="#E3F6FF">
8
+ <path d="M6.3766672,35.9266104 C6.44826487,35.8558364 6.475114,35.7496756 6.43931516,35.6523614 C6.42141575,35.6081277 4.85074193,31.2643785 5.39219929,25.3016759 C5.89338295,19.8078504 8.34112819,11.7705873 17.1744903,4.67992536 C17.2863617,4.59145796 17.3042611,4.42779327 17.214764,4.31278566 C17.1252669,4.20220141 16.9552225,4.18450793 16.8433511,4.27297533 C7.85784394,11.4830683 5.37429987,19.6751493 4.86864135,25.2751356 C4.32270914,31.3484225 5.92918179,35.7850625 5.9470812,35.8292962 C5.9963046,35.9664207 6.14844964,36.0327712 6.28269527,35.9841142 C6.3184941,35.9708441 6.35429293,35.9487272 6.3766672,35.922187 L6.3766672,35.9266104 Z" id="Path"></path>
9
+ <path d="M11.1289623,4.62242155 C11.1065881,6.29445537 11.9389109,7.26317338 12.981552,7.27644349 C14.024193,7.2897136 14.8788901,6.34311244 14.9012644,4.66665525 C14.9236387,2.99462143 13.0576245,1.21200335 13.0576245,1.21200335 C13.0576245,1.21200335 11.1513366,2.94596436 11.1289623,4.61799818 L11.1289623,4.62242155 Z" id="Path"></path>
10
+ <path d="M7.28953746,9.36869746 C7.73254802,10.9832275 8.80203817,11.6909667 9.80440551,11.4211411 C10.8112477,11.1513155 11.3706045,10.0100861 10.9275939,8.39555608 C10.4845833,6.78102606 8.19793286,5.57344608 8.19793286,5.57344608 C8.19793286,5.57344608 6.84205204,7.75859081 7.2850626,9.37312083 L7.28953746,9.36869746 Z" id="Path"></path>
11
+ <path d="M4.34060855,14.3582587 C5.15950687,15.8223941 6.36324264,16.2603078 7.27611289,15.7648903 C8.18898315,15.2694729 8.46194925,14.026506 7.64305094,12.5623705 C6.82415262,11.0982351 4.31823428,10.4568465 4.31823428,10.4568465 C4.31823428,10.4568465 3.52171024,12.8941233 4.34060855,14.3626821 L4.34060855,14.3582587 Z" id="Path"></path>
12
+ <path d="M2.33587388,19.6574559 C3.2621687,21.0596641 4.49722845,21.404687 5.36982501,20.842919 C6.24242158,20.281151 6.42141575,19.0204906 5.49512093,17.6227057 C4.56882612,16.2204974 2.01815923,15.7693137 2.01815923,15.7693137 C2.01815923,15.7693137 1.40957907,18.259671 2.33587388,19.6618792 L2.33587388,19.6574559 Z" id="Path"></path>
13
+ <path d="M1.37378023,25.4255302 C2.64911367,26.5269493 3.93339682,26.5269493 4.61804951,25.7484362 C5.3027022,24.9743465 5.12818289,23.7136861 3.85284945,22.6122669 C2.57751601,21.5108478 0,21.7629799 0,21.7629799 C0,21.7629799 0.0984467919,24.3241111 1.37825509,25.4211068 L1.37378023,25.4255302 Z" id="Path"></path>
14
+ <path d="M17.2729371,1.37124467 C16.1631733,2.63632846 16.1676481,3.90583563 16.9552225,4.57818785 C17.7427968,5.25054008 19.0136554,5.07802865 20.1234192,3.81294486 C21.2331831,2.54786106 20.9736415,0 20.9736415,0 C20.9736415,0 18.382701,0.106160878 17.277412,1.37124467 L17.2729371,1.37124467 Z" id="Path"></path>
15
+ <path d="M16.2392458,6.25022167 C14.5567006,6.42715647 13.6841041,7.36048752 13.7915006,8.38228597 C13.9033719,9.40408442 14.9549627,10.1339405 16.6375078,9.95700565 C18.320053,9.78007086 19.886252,7.73647396 19.886252,7.73647396 C19.886252,7.73647396 17.9173161,6.06886351 16.234771,6.25022167 L16.2392458,6.25022167 Z" id="Path"></path>
16
+ <path d="M12.8294069,10.2622182 C11.1468618,10.439153 10.2742652,11.372484 10.3816617,12.3942825 C10.493533,13.4160809 11.5451238,14.145937 13.227669,13.9690022 C14.9102141,13.7920674 16.4764131,11.7484705 16.4764131,11.7484705 C16.4764131,11.7484705 14.5074772,10.08086 12.8249321,10.2577948 L12.8294069,10.2622182 Z" id="Path"></path>
17
+ <path d="M10.2876898,14.3847989 C8.60514459,14.5617337 7.73254802,15.4950648 7.83994452,16.5168632 C7.95181588,17.5386617 9.00340661,18.2685177 10.6859518,18.0915829 C12.368497,17.9146481 13.9346959,15.8710512 13.9346959,15.8710512 C13.9346959,15.8710512 11.9657601,14.2034408 10.2832149,14.3803756 L10.2876898,14.3847989 Z" id="Path"></path>
18
+ <path d="M8.65884284,18.8568259 C6.97629766,19.0337607 6.1037011,19.9670917 6.2110976,20.9888902 C6.32296895,22.0106886 7.37455969,22.7405447 9.05710486,22.5636099 C10.73965,22.3866751 12.305849,20.3430782 12.305849,20.3430782 C12.305849,20.3430782 10.3369132,18.6754677 8.65436798,18.8524025 L8.65884284,18.8568259 Z" id="Path"></path>
19
+ <path d="M7.79519598,23.4482839 C6.11265081,23.6252187 5.24005424,24.5585497 5.34745074,25.5803482 C5.4593221,26.6021466 6.51091283,27.3320026 8.193458,27.1550678 C9.87600317,26.978133 11.4422021,24.9345361 11.4422021,24.9345361 C11.4422021,24.9345361 9.4732663,23.2669257 7.79072113,23.4482839 L7.79519598,23.4482839 Z" id="Path"></path>
20
+ </g>
21
+ <path d="M25.1177429,16.7436106 C15.8345531,17.6803268 6.71594304,25.7112261 7.13406467,35.4779361 C7.50770528,44.1836262 14.8025933,51.007005 16.2749152,59.5839521 C18.4500373,72.2629175 7.61890784,83.259345 5.39930471,95.9294315 C3.94032711,104.262211 6.54246705,113.269781 12.1737648,119.347338 C17.8050625,125.429335 26.3142825,128.425939 34.3075226,127.142949 C44.8495254,125.451532 54.0215127,116.936737 64.6747181,117.393996 C73.2551078,117.762468 80.4610337,123.844464 87.9249497,128.306075 C95.3888656,132.763246 105.45937,135.489046 112.060354,129.726688 C116.517352,125.833322 117.851783,119.316263 121.134483,114.299725 C126.067428,106.761601 135.86215,103.152358 144.211238,105.798248 C151.261481,108.031273 157.12408,114.162103 164.476793,114.637121 C171.736096,115.107698 178.657344,109.269869 180.570028,101.918201 C182.48716,94.5665315 179.769369,86.3491769 174.498368,81.0973506 C171.157843,77.7677904 166.620778,75.0686269 165.56213,70.3672878 C164.583547,66.0299807 167.065589,61.6172036 170.134779,58.5318111 C173.20397,55.4464186 176.95372,53.1068476 179.675959,49.6796203 C185.86327,41.8928888 184.964753,31.4513879 179.800506,23.3672157 C177.09606,19.1364545 174.062454,16.4772458 169.787827,14.0710836 C165.495408,11.6560425 160.887174,9.85808003 156.141049,8.71271131 C145.523428,6.15116964 129.34568,5.32543871 121.276822,14.5416614 C117.260185,19.1320151 113.172379,24.8721769 106.500226,24.0952795 C102.385731,23.6158229 99.8369681,20.4860363 96.5453722,18.2219353 C92.2929863,15.3008011 87.9872231,16.9123083 83.9527942,19.4338952 C79.7938184,22.039831 76.4310529,25.8577268 72.3254543,28.5480114 C63.0867455,34.5989322 56.6236527,28.7966186 48.7149265,23.8688695 C41.6246512,19.4516529 33.5513452,15.8779249 25.1266391,16.7302923 L25.1177429,16.7436106 Z" id="Path" fill="#ECF7FA"></path>
22
+ <path d="M38.1177429,27.7436106 C28.8345531,28.6803268 19.715943,36.7112261 20.1340647,46.4779361 C20.5077053,55.1836262 27.8025933,62.007005 29.2749152,70.5839521 C31.4500373,83.2629175 20.6189078,94.259345 18.3993047,106.929432 C16.9403271,115.262211 19.542467,124.269781 25.1737648,130.347338 C30.8050625,136.429335 39.3142825,139.425939 47.3075226,138.142949 C57.8495254,136.451532 67.0215127,127.936737 77.6747181,128.393996 C86.2551078,128.762468 93.4610337,134.844464 100.92495,139.306075 C108.388866,143.763246 118.45937,146.489046 125.060354,140.726688 C129.517352,136.833322 130.851783,130.316263 134.134483,125.299725 C139.067428,117.761601 148.86215,114.152358 157.211238,116.798248 C164.261481,119.031273 170.12408,125.162103 177.476793,125.637121 C184.736096,126.107698 191.657344,120.269869 193.570028,112.918201 C195.48716,105.566532 192.769369,97.3491769 187.498368,92.0973506 C184.157843,88.7677904 179.620778,86.0686269 178.56213,81.3672878 C177.583547,77.0299807 180.065589,72.6172036 183.134779,69.5318111 C186.20397,66.4464186 189.95372,64.1068476 192.675959,60.6796203 C198.86327,52.8928888 197.964753,42.4513879 192.800506,34.3672157 C190.09606,30.1364545 187.062454,27.4772458 182.787827,25.0710836 C178.495408,22.6560425 173.887174,20.85808 169.141049,19.7127113 C158.523428,17.1511696 142.34568,16.3254387 134.276822,25.5416614 C130.260185,30.1320151 126.172379,35.8721769 119.500226,35.0952795 C115.385731,34.6158229 112.836968,31.4860363 109.545372,29.2219353 C105.292986,26.3008011 100.987223,27.9123083 96.9527942,30.4338952 C92.7938184,33.039831 89.4310529,36.8577268 85.3254543,39.5480114 C76.0867455,45.5989322 69.6236527,39.7966186 61.7149265,34.8688695 C54.6246512,30.4516529 46.5513452,26.8779249 38.1266391,27.7302923 L38.1177429,27.7436106 Z" id="Path" fill="#DDEFF7"></path>
23
+ <g id="Group" transform="translate(41.000000, 35.000000)" fill="#B2E4F9">
24
+ <path d="M30.6678034,26.9903235 C30.5748169,26.963378 30.4951143,26.8870327 30.4774026,26.7837419 C30.4685468,26.7388329 29.6051015,22.135658 26.1203252,17.1911744 C22.9056521,12.6329085 16.7419816,6.84413526 5.61460795,5.12861055 C5.47291437,5.10615603 5.37550004,4.97142896 5.39763966,4.82772008 C5.41977928,4.68401121 5.55261701,4.58521135 5.69431059,4.60766587 C17.0165129,6.350136 23.2908816,12.2556727 26.5631176,16.9037566 C30.1098849,21.9425491 30.9866139,26.6400331 30.9954698,26.689433 C31.0220373,26.8331419 30.9290509,26.9723598 30.7873573,26.9948144 C30.747506,27.0037962 30.7120826,26.9993053 30.6766592,26.9948144 L30.6678034,26.9903235 Z" id="Path"></path>
25
+ <path d="M10.7377163,2.00294247 C11.6055895,3.45799485 11.3841932,4.72892023 10.5030363,5.26782852 C9.6218794,5.80673681 8.40862815,5.4160283 7.54518292,3.96097592 C6.67730977,2.50592354 7.36806595,0 7.36806595,0 C7.36806595,0 9.87427108,0.547890093 10.7421442,2.00294247 L10.7377163,2.00294247 Z" id="Path"></path>
26
+ <path d="M16.4187431,4.20348465 C16.8615355,5.84266403 16.308045,7.00131685 15.3117621,7.2797528 C14.3154791,7.55369784 13.2572052,6.83964436 12.8188407,5.20046498 C12.3760483,3.56128561 13.7132814,1.34277982 13.7132814,1.34277982 C13.7132814,1.34277982 15.9759507,2.56430527 16.4187431,4.20348465 Z" id="Path"></path>
27
+ <path d="M21.4665768,7.07317129 C21.510856,8.7707324 20.7049738,9.76771273 19.6732674,9.79465814 C18.6415611,9.82160356 17.7825438,8.87402315 17.7338366,7.17646204 C17.6895574,5.47890093 19.5050063,3.64212185 19.5050063,3.64212185 C19.5050063,3.64212185 21.4178696,5.37111928 21.4665768,7.07317129 Z" id="Path"></path>
28
+ <path d="M25.8635055,10.6928386 C25.7838029,12.3903997 24.9070739,13.3200165 23.8753676,13.2706166 C22.8436612,13.2212167 22.0554907,12.2107636 22.1351933,10.5132025 C22.214896,8.81564142 24.1587547,7.12257121 24.1587547,7.12257121 C24.1587547,7.12257121 25.9387803,8.99078661 25.8635055,10.6883477 L25.8635055,10.6928386 Z" id="Path"></path>
29
+ <path d="M29.6095295,15.2511046 C29.0781786,16.8633385 27.9800533,17.5145194 27.00591,17.1821926 C26.0273387,16.8498658 25.5402671,15.6597767 26.071618,14.0475427 C26.6029689,12.4353088 28.932057,11.3440195 28.932057,11.3440195 C28.932057,11.3440195 30.1453083,13.6343797 29.6139574,15.2466137 L29.6095295,15.2511046 Z" id="Path"></path>
30
+ <path d="M3.84786617,2.27688752 C5.43749098,2.82028671 6.07511207,3.93403051 5.74744568,4.92202904 C5.41977928,5.91451847 4.24195143,6.40402683 2.65675455,5.86062764 C1.06712974,5.31722845 0,2.95501378 0,2.95501378 C0,2.95501378 2.26266929,1.73348833 3.84786617,2.27239662 L3.84786617,2.27688752 Z" id="Path"></path>
31
+ <path d="M7.20423275,6.02230012 C8.73186662,5.32171935 9.94954579,5.69446425 10.3746265,6.64653556 C10.7997072,7.59860687 10.2683563,8.7707324 8.74515039,9.47131317 C7.21751653,10.1718939 4.84857705,9.17940451 4.84857705,9.17940451 C4.84857705,9.17940451 5.68102681,6.71839 7.20866068,6.02230012 L7.20423275,6.02230012 Z" id="Path"></path>
32
+ <path d="M12.1457962,7.80069748 C13.6734301,7.1001167 14.8911093,7.4728616 15.31619,8.42493291 C15.7412707,9.37700422 15.2099198,10.5491297 13.6867139,11.2497105 C12.15908,11.9502913 9.79014052,10.9578019 9.79014052,10.9578019 C9.79014052,10.9578019 10.6225903,8.49678735 12.1502241,7.80069748 L12.1457962,7.80069748 Z" id="Path"></path>
33
+ <path d="M16.4054593,10.1180031 C17.9330932,9.41742234 19.1507724,9.79016724 19.5758531,10.7422386 C20.0009338,11.6943099 19.4695829,12.8664354 17.946377,13.5670162 C16.4187431,14.2675969 14.0498036,13.2751075 14.0498036,13.2751075 C14.0498036,13.2751075 14.8822534,10.814093 16.4098873,10.1180031 L16.4054593,10.1180031 Z" id="Path"></path>
34
+ <path d="M20.0629248,13.2032531 C21.5905586,12.5026723 22.8082378,12.8754172 23.2333185,13.8274885 C23.6583993,14.7795598 23.1270484,15.9516853 21.6038424,16.6522661 C20.0762085,17.3528469 17.7072691,16.3603575 17.7072691,16.3603575 C17.7072691,16.3603575 18.5397188,13.8993429 20.0673527,13.2032531 L20.0629248,13.2032531 Z" id="Path"></path>
35
+ <path d="M23.1314763,16.7869932 C24.6591101,16.0864124 25.8767893,16.4591573 26.30187,17.4112286 C26.7269508,18.3632999 26.1955999,19.5354255 24.6723939,20.2360062 C23.1447601,20.936587 20.7758206,19.9440976 20.7758206,19.9440976 C20.7758206,19.9440976 21.6082703,17.4830831 23.1359042,16.7869932 L23.1314763,16.7869932 Z" id="Path"></path>
36
+ </g>
37
+ <g id="Group" transform="translate(133.000000, 38.000000)" fill="#B2E4F9">
38
+ <path d="M0.332244101,26.9903218 C0.425243793,26.9633719 0.504957816,26.8870139 0.522672043,26.783706 C0.531529157,26.7387895 1.39509773,22.1348487 4.88037194,17.1895426 C8.09550419,12.6305184 14.2600553,6.84078219 25.3890185,5.12497208 C25.5307323,5.10251383 25.6281606,4.96776435 25.6060178,4.82403156 C25.583875,4.68029878 25.4510183,4.58148249 25.3093045,4.60394074 C13.9854847,6.34670074 7.71021974,12.2532198 4.43751626,16.9020771 C0.890242258,21.9417078 0.0133880103,26.6399732 0.00453089667,26.6893813 C-0.0220404442,26.8331141 0.0709592488,26.9723552 0.212673067,26.9948135 C0.252530078,27.0037968 0.287958532,26.9993051 0.323386987,26.9948135 L0.332244101,26.9903218 Z" id="Path"></path>
39
+ <path d="M20.2651783,2.00327568 C19.3971812,3.45857011 19.618609,4.72970692 20.4998918,5.26870486 C21.3811746,5.8077028 22.5945992,5.4169293 23.4581678,3.96163486 C24.3217363,2.50634042 23.63531,0 23.63531,0 C23.63531,0 21.1287469,0.547981239 20.2607497,2.00327568 L20.2651783,2.00327568 Z" id="Path"></path>
40
+ <path d="M14.5789114,4.19969228 C14.1360557,5.83914435 14.6896253,6.99798992 15.6860506,7.27647219 C16.6824758,7.55046281 17.7409009,6.83629054 18.179328,5.19683847 C18.6177552,3.5573864 17.2847596,1.33851155 17.2847596,1.33851155 C17.2847596,1.33851155 15.021767,2.56024021 14.5789114,4.19969228 Z" id="Path"></path>
41
+ <path d="M9.53478515,7.06985631 C9.49049958,8.76769982 10.2964969,9.76484601 11.3283507,9.79179591 C12.3602044,9.81874581 13.2193444,8.87100776 13.2680585,7.17316425 C13.3123441,5.47532074 11.4966358,3.63823609 11.4966358,3.63823609 C11.4966358,3.63823609 9.58349927,5.36752115 9.53478515,7.06985631 Z" id="Path"></path>
42
+ <path d="M5.13722824,10.6901258 C5.21694226,12.3879693 6.09379651,13.3177408 7.12565024,13.2683326 C8.15750398,13.2189245 8.94578709,12.2083033 8.86607307,10.5104598 C8.78635905,8.81261632 6.84222261,7.11926446 6.84222261,7.11926446 C6.84222261,7.11926446 5.06194277,8.98779065 5.13722824,10.6856342 L5.13722824,10.6901258 Z" id="Path"></path>
43
+ <path d="M1.39066918,15.24915 C1.92209599,16.8616522 3.02037808,17.5129414 3.99466058,17.1805593 C4.96894308,16.8481773 5.46051288,15.6578902 4.92908607,14.045388 C4.39765925,12.4328858 2.06823837,11.341415 2.06823837,11.341415 C2.06823837,11.341415 0.854813804,13.6321562 1.38624062,15.2446584 L1.39066918,15.24915 Z" id="Path"></path>
44
+ <path d="M27.1515841,2.27277465 C25.5617322,2.81626424 24.9240201,3.93019331 25.2517333,4.9183562 C25.5794465,5.91101074 26.7574426,6.40060054 28.3428659,5.85711095 C29.9327178,5.31362136 31,2.95101372 31,2.95101372 C31,2.95101372 28.7370075,1.72928506 27.1515841,2.268283 L27.1515841,2.27277465 Z" id="Path"></path>
45
+ <path d="M23.7991666,6.02330198 C22.2713145,5.32260466 21.0534614,5.69541156 20.62832,6.64764126 C20.2031785,7.59987095 20.7346053,8.77219147 22.2580289,9.47288879 C23.785881,10.1735861 26.1551589,9.18093158 26.1551589,9.18093158 C26.1551589,9.18093158 25.3225902,6.71950765 23.7947381,6.02330198 L23.7991666,6.02330198 Z" id="Path"></path>
46
+ <path d="M18.8568972,7.79750353 C17.3290451,7.09680621 16.111192,7.46961312 15.6860506,8.42184281 C15.2609091,9.3740725 15.7923359,10.546393 17.3157595,11.2470903 C18.8436116,11.9477877 21.2128895,10.9551331 21.2128895,10.9551331 C21.2128895,10.9551331 20.3803208,8.4937092 18.8524687,7.79750353 L18.8568972,7.79750353 Z" id="Path"></path>
47
+ <path d="M14.592197,10.1151947 C13.0643449,9.41449735 11.8464918,9.78730426 11.4213503,10.739534 C10.9962089,11.6917636 11.5276357,12.8640842 13.0510593,13.5647815 C14.5789114,14.2654788 16.9481892,13.2728243 16.9481892,13.2728243 C16.9481892,13.2728243 16.1156206,10.8114003 14.5877685,10.1151947 L14.592197,10.1151947 Z" id="Path"></path>
48
+ <path d="M10.9342091,13.2054495 C9.406357,12.5047522 8.18850388,12.8775591 7.76336243,13.8297888 C7.33822097,14.7820185 7.86964779,15.954339 9.39307133,16.6550363 C10.9209234,17.3557337 13.2902013,16.3630791 13.2902013,16.3630791 C13.2902013,16.3630791 12.4576326,13.9016552 10.9297805,13.2054495 L10.9342091,13.2054495 Z" id="Path"></path>
49
+ <path d="M7.86964779,16.7852942 C6.34179569,16.0845969 5.12394257,16.4574038 4.69880111,17.4096335 C4.27365966,18.3618632 4.80508648,19.5341837 6.32851002,20.234881 C7.85636212,20.9355783 10.22564,19.9429238 10.22564,19.9429238 C10.22564,19.9429238 9.39307133,17.4814999 7.86521923,16.7852942 L7.86964779,16.7852942 Z" id="Path"></path>
50
+ </g>
51
+ <path d="M69.9135227,28 L140.086477,28 C141.144068,28 142,28.850578 142,29.9015539 L142,120.098446 C142,121.149422 141.144068,122 140.086477,122 L69.9135227,122 C68.8559317,122 68,121.149422 68,120.098446 L68,29.9015539 C68,28.850578 68.8559317,28 69.9135227,28 Z" id="Path" fill="#414A59"></path>
52
+ <rect id="Rectangle" fill="#FFFFFF" x="71" y="32" width="67" height="87"></rect>
53
+ <g id="Group" transform="translate(82.000000, 40.000000)" fill="#E5E5E5">
54
+ <g>
55
+ <rect id="Rectangle" x="0" y="6.49645752" width="47" height="1.69783622" rx="0.848918108"></rect>
56
+ <path d="M46.1601618,12.3763324 L0.839838239,12.3763324 C0.375717107,12.3763324 0,11.9965533 0,11.5274143 L0,11.5274143 C0,11.0582754 0.375717107,10.6784962 0.839838239,10.6784962 L46.1601618,10.6784962 C46.6242829,10.6784962 47,11.0582754 47,11.5274143 L47,11.5274143 C47,11.9965533 46.6242829,12.3763324 46.1601618,12.3763324 Z" id="Path"></path>
57
+ <path d="M31.9978369,1.69783622 L15.0065833,1.69783622 C14.5424621,1.69783622 14.166745,1.31805706 14.166745,0.848918108 L14.166745,0.848918108 C14.166745,0.379779154 14.5424621,0 15.0065833,0 L31.9978369,0 C32.4619581,0 32.8376752,0.379779154 32.8376752,0.848918108 L32.8376752,0.848918108 C32.8376752,1.31805706 32.4619581,1.69783622 31.9978369,1.69783622 Z" id="Path"></path>
58
+ <rect id="Rectangle" x="0" y="14.8605349" width="37.2799774" height="1.69783622" rx="0.848918108"></rect>
59
+ <rect id="Rectangle" x="0" y="19.0470416" width="47" height="1.69783622" rx="0.848918108"></rect>
60
+ </g>
61
+ <g transform="translate(0.000000, 25.391587)" id="Rectangle">
62
+ <rect x="0" y="0" width="30.2076554" height="1.69783622" rx="0.848918108"></rect>
63
+ <rect x="37.2799774" y="0" width="9.72002257" height="1.69783622" rx="0.848918108"></rect>
64
+ <rect x="0" y="4.18203868" width="47" height="1.69783622" rx="0.848918108"></rect>
65
+ </g>
66
+ <g transform="translate(0.000000, 44.657560)" id="Rectangle">
67
+ <rect x="0" y="0" width="30.2076554" height="1.69783622" rx="0.848918108"></rect>
68
+ <rect x="37.2799774" y="0" width="9.72002257" height="1.69783622" rx="0.848918108"></rect>
69
+ <rect x="0" y="4.18203868" width="47" height="1.69783622" rx="0.848918108"></rect>
70
+ </g>
71
+ <g transform="translate(0.000000, 35.024574)" id="Rectangle">
72
+ <rect x="16.7923446" y="4.18203868" width="30.2076554" height="1.69783622" rx="0.848918108"></rect>
73
+ <rect x="0" y="4.18203868" width="9.72002257" height="1.69783622" rx="0.848918108"></rect>
74
+ <rect x="0" y="0" width="47" height="1.69783622" rx="0.848918108"></rect>
75
+ </g>
76
+ <g transform="translate(0.000000, 55.751580)" id="Path">
77
+ <path d="M1.37468259,1.69783622 L45.6253174,1.69783622 C46.385592,1.69783622 47,1.31805706 47,0.848918108 L47,0.848918108 C47,0.379779154 46.385592,0 45.6253174,0 L1.37468259,0 C0.614407975,0 0,0.379779154 0,0.848918108 L0,0.848918108 C0,1.31805706 0.614407975,1.69783622 1.37468259,1.69783622 Z"></path>
78
+ <path d="M1.37468259,5.88434289 L45.6253174,5.88434289 C46.385592,5.88434289 47,5.50456373 47,5.03542478 L47,5.03542478 C47,4.56628582 46.385592,4.18650667 45.6253174,4.18650667 L1.37468259,4.18650667 C0.614407975,4.18650667 0,4.56628582 0,5.03542478 L0,5.03542478 C0,5.50456373 0.614407975,5.88434289 1.37468259,5.88434289 Z"></path>
79
+ <path d="M22.8347597,10.0663816 L45.6253174,10.0663816 C46.385592,10.0663816 47,9.68660241 47,9.21746346 L47,9.21746346 C47,8.7483245 46.385592,8.36854535 45.6253174,8.36854535 L22.8347597,8.36854535 C22.0744851,8.36854535 21.4600771,8.7483245 21.4600771,9.21746346 L21.4600771,9.21746346 C21.4600771,9.68660241 22.0744851,10.0663816 22.8347597,10.0663816 Z"></path>
80
+ <path d="M22.8347597,14.2484202 L45.6253174,14.2484202 C46.385592,14.2484202 47,13.8686411 47,13.3995021 L47,13.3995021 C47,12.9303632 46.385592,12.550584 45.6253174,12.550584 L22.8347597,12.550584 C22.0744851,12.550584 21.4600771,12.9303632 21.4600771,13.3995021 L21.4600771,13.3995021 C21.4600771,13.8686411 22.0744851,14.2484202 22.8347597,14.2484202 Z"></path>
81
+ </g>
82
+ </g>
83
+ <path d="M107,23.5 C107,24.8841808 105.879473,26 104.5,26 C103.120527,26 102,24.8794727 102,23.5 C102,22.1205273 103.120527,21 104.5,21 C105.879473,21 107,22.1205273 107,23.5 Z" id="Path" fill="#FFFFFF"></path>
84
+ <g id="Group" transform="translate(4.000000, 55.939667)" fill="#C2EBFF">
85
+ <path d="M2.93251152,0.852687558 L3.1881558,0.845135567 C4.19439556,0.815410223 5.03421121,1.60703157 5.06393656,2.61327133 C5.06501135,2.64965454 5.06499609,2.68606177 5.06389078,2.72244406 L5.05946074,2.86826367 C5.02893766,3.87296381 4.22116579,4.68005863 3.2164404,4.70973923 L2.96079613,4.71729123 C1.95455637,4.74701657 1.11474071,3.95539522 1.08501537,2.94915546 C1.08394057,2.91277226 1.08395584,2.87636502 1.08506114,2.83998273 L1.08949119,2.69416312 C1.12001427,1.68946298 1.92778614,0.882368165 2.93251152,0.852687558 Z" id="Rectangle" transform="translate(3.074476, 2.781213) rotate(32.470000) translate(-3.074476, -2.781213) "></path>
86
+ <path d="M5.92505754,7.55668777 C6.105641,7.90807732 5.94881852,8.32618641 5.573395,8.49520923 C5.19797148,8.66423205 4.75126502,8.51744907 4.57068156,8.16605952 C4.3900981,7.81466997 4.54692058,7.39656089 4.92234409,7.22753807 C5.29776761,7.05851525 5.74447407,7.20529822 5.92505754,7.55668777 Z" id="Path"></path>
87
+ <path d="M2.71257276,14.1441298 C3.0547309,14.8068772 2.75534253,15.6075116 2.04726526,15.9277654 C1.339188,16.2480192 0.483792646,15.9677971 0.141634505,15.3050497 C-0.200523637,14.6423024 0.0988647369,13.8416679 0.806942002,13.5214142 C1.51501927,13.2011604 2.37041462,13.4813825 2.71257276,14.1441298 Z" id="Path"></path>
88
+ </g>
89
+ <g id="Group" transform="translate(20.000000, 61.000000)">
90
+ <g>
91
+ <path d="M9.8410596,9.33125285 C9.8410596,9.33125285 13.4701987,9.88611482 13.9116998,14.0764325 C14.3532009,18.2667501 14.8918322,28.9334167 14.8918322,28.9334167 C14.8918322,28.9334167 15.0198675,32.1072272 12.2384106,33.438896 L9.39514349,23.4069914 L9.83664459,9.33125285 L9.8410596,9.33125285 Z" id="Path" fill="#3B4956"></path>
92
+ <path d="M9.8410596,9.33125285 C9.8410596,9.33125285 12.8565121,9.75738685 13.7704194,13.2197256 C13.7704194,13.2197256 15.1434879,17.077126 14.6225166,22.3150231 C14.6225166,22.3150231 15.4746137,10.5253158 9.98233996,10.1435708 L9.8410596,9.33569175 L9.8410596,9.33125285 Z" id="Path" fill="#3B4956"></path>
93
+ <rect id="Rectangle" fill="#FE9E80" x="10.397351" y="57.1736718" width="1.64238411" height="2.18837563"></rect>
94
+ <path d="M7.11258278,31.0995979 L10.8653422,43.8614233 L10.1059603,59.8725205 L12.0838852,59.9479817 L15.0286976,43.6705508 C15.0286976,43.6705508 13.5143488,28.3741158 11.6203091,25.5776115 L5.68653422,26.3411016 L7.11258278,31.0995979 L7.11258278,31.0995979 Z" id="Path" fill="#062E5B"></path>
95
+ <rect id="Rectangle" fill="#FE9E80" x="3.22295806" y="57.1736718" width="1.64238411" height="2.18837563"></rect>
96
+ <path d="M2.6401766,23.0873909 C2.6401766,23.0873909 -0.136865342,21.0233044 3.200883,58.8471355 L4.92715232,59.1001526 L8.24724062,24.5122765 L2.6401766,23.0873909 L2.6401766,23.0873909 Z" id="Path" fill="#062E5B"></path>
97
+ <path d="M1.94701987,15.4125401 C1.94701987,15.4125401 0.812362031,12.1277572 2.89624724,10.6984328 C4.98013245,9.26910831 10.9845475,9.14481923 12.781457,11.8081567 C14.4415011,14.267305 13.5011038,24.3302818 13.1258278,28.9955613 C13.1258278,28.9955613 7.19205298,30.32723 1.50993377,28.6138162 C1.50993377,28.6138162 2.90066225,23.3137746 1.95143488,15.4081012 L1.94701987,15.4125401 Z" id="Path" fill="#FFFFFF"></path>
98
+ <g transform="translate(6.374388, 0.081227)" id="Path">
99
+ <path d="M3.61236745,6.60888275 C3.61236745,6.60888275 3.31656171,8.36668548 4.01413346,10.2487773 C4.82649549,12.4415918 0.61898997,12.0687246 0.0891886455,10.8968561 C0.0891886455,10.8968561 -0.180127028,10.5284277 0.217223966,9.82264331 C0.610159948,9.11685887 1.45342706,6.24489329 0.504199683,4.69571865 L3.61236745,6.60444385 L3.61236745,6.60888275 Z" fill="#FE9E80"></path>
100
+ <path d="M0.870645599,5.71222579 C0.848570544,5.6012534 0.826495489,5.490281 0.795590411,5.3837475 L3.59912242,6.72429404 C3.56821734,6.95955551 3.51965222,7.54992866 3.58587739,8.30897984 C2.10243368,7.62095099 1.2326765,6.34698789 0.870645599,5.71222579 Z" fill="#F0736D"></path>
101
+ <path d="M5.9920584,4.14529558 C5.60353743,6.16943206 4.2702041,7.6120732 3.02075597,7.36793393 C1.76689284,7.12379466 0.221638977,4.88659117 0.614574959,2.86245469 C1.00751094,0.838318202 3.17969637,-0.209261208 4.43355951,0.0348780613 C5.68742264,0.27901733 6.38499438,2.11672019 5.99647341,4.14085668 L5.9920584,4.14529558 Z" fill="#FE9E80"></path>
102
+ </g>
103
+ <path d="M13.2362031,2.20682509 C13.2362031,2.20682509 13.218543,3.36093799 9.00220751,1.85615232 C9.00220751,1.85615232 7.85871965,1.46552949 8.13686534,4.23983936 L7.8013245,4.6260233 C7.8013245,4.6260233 7.77041943,3.47191039 7.29801325,3.68497739 C6.82560706,3.89804439 6.93156733,4.40407851 7.36423841,5.45609681 C7.36423841,5.45609681 7.41721854,6.2062702 7.27152318,6.45928726 C7.27152318,6.45928726 5.83664459,6.79220445 6.57836645,5.0477184 C6.57836645,5.0477184 4.20750552,0.631017075 7.63355408,0.355805535 C7.63355408,0.355805535 12.3399558,-1.20224689 13.2362031,2.20238619 L13.2362031,2.20682509 Z" id="Path" fill="#282F39"></path>
104
+ <path d="M6.75055188,9.3800807 C6.75055188,9.3800807 8.07505519,11.7282566 7.3200883,17.8850051 L6.43708609,27.5662368 C6.43708609,27.5662368 6.38852097,32.2315163 3.02869757,32.5644335 L0,32.5644335 C0,32.5644335 1.70419426,20.6770705 1.58057395,13.756832 C1.58057395,13.756832 1.26269316,9.18476929 6.7593819,9.37564181 L6.75055188,9.3800807 Z" id="Path" fill="#3B4956"></path>
105
+ <path d="M6.75055188,9.3800807 C6.75055188,9.3800807 8.20309051,11.9191291 7.3200883,17.8850051 L6.8785872,22.8343739 C6.8785872,22.8343739 6.81677704,11.328756 4.77704194,9.47329752 C4.77704194,9.47329752 6.02207506,9.23359714 6.75055188,9.3800807 Z" id="Path" fill="#282F39"></path>
106
+ <path d="M10,14.1430159 C9.598234,14.0453602 9.29801325,13.6858096 9.29801325,13.2507978 C9.29801325,12.7403248 9.70860927,12.3319464 10.2119205,12.3319464 C10.7152318,12.3319464 11.1258278,12.7447637 11.1258278,13.2507978 C11.1258278,13.4638648 11.0507726,13.6547374 10.9315673,13.8145376 C11.2317881,14.6890001 11.8233996,17.077126 11.5717439,21.8666946 L10.5386313,22.7722293 L9.36865342,21.8311834 C9.36865342,21.8311834 10.3311258,16.4956307 9.99558499,14.1430159 L10,14.1430159 Z" id="Path" fill="#64C4FF"></path>
107
+ <polygon id="Path" fill="#FFFFFF" points="10.0573951 12.2831186 9.3200883 14.4049108 8.39735099 13.6636152 8.86975717 12.5006245 9.77041943 12.0700516"></polygon>
108
+ <path d="M9.96909492,12.349702 L11.2935982,13.5881539 L11.7969095,12.860175 C11.7969095,12.860175 11.4966887,12.2254129 11.214128,12.1943406 C10.9315673,12.1632684 10.1236203,12.1144405 10.1236203,12.1144405 L9.96467991,12.3541409 L9.96909492,12.349702 Z" id="Path" fill="#FFFFFF"></path>
109
+ <path d="M11.1434879,22.9453463 C11.3863135,23.6422529 12.1412804,24.0062424 12.8344371,23.766542 C13.5275938,23.5224027 13.8896247,22.7633516 13.6512141,22.0664449 C13.4083885,21.3695383 12.6534216,21.0055488 11.9602649,21.2452492 C11.2671082,21.4893885 10.9050773,22.2484396 11.1434879,22.9453463 Z" id="Path" fill="#FE9E80"></path>
110
+ <polygon id="Path" fill="#3B4956" points="2.30463576 12.988903 1.34657837 24.9384105 11.3863135 23.682203 11.187638 21.5914831 4.7593819 21.4583162 5.1611479 15.7454573"></polygon>
111
+ <g transform="translate(11.395143, 6.710623)">
112
+ <path d="M0.348785872,2.50521853 C-0.0529801325,3.18880848 0.799116998,3.56611462 1.49227373,3.51284787 C2.18543046,3.45958112 2.59161148,2.56736307 2.53863135,1.87045643 C2.48565121,1.17354979 1.2803532,-0.051585456 0.587196468,0.00168129364 C-0.105960265,0.0549480433 1.22737307,1.00931064 0.348785872,2.50077963 L0.348785872,2.50521853 Z" id="Path" fill="#FE9E80"></path>
113
+ <polygon id="Rectangle" fill="#FE9E80" transform="translate(1.162557, 3.583125) rotate(167.890000) translate(-1.162557, -3.583125) " points="0.472204732 2.89380735 1.85443221 2.89227388 1.85290854 4.27244355 0.470681062 4.27397702"></polygon>
114
+ <path d="M2.00883002,3.55723683 L4.36644592,14.2816091 C4.36644592,14.2816091 4.82560706,15.9950229 3.78807947,16.5099348 C2.75055188,17.0248467 1.17880795,16.8384131 1.13465784,14.8897378 L0,3.77918162 L2.01324503,3.55723683 L2.00883002,3.55723683 Z" id="Path" fill="#3B4956"></path>
115
+ </g>
116
+ <polygon id="Path" fill="#282F39" points="6.74172185 24.2548205 2.93156733 24.405743 1.88962472 15.1728397 1.55408389 25.8838953 6.62251656 25.6441949"></polygon>
117
+ <path d="M6.98896247,21.5027051 L5.48344371,21.5027051 C5.48344371,21.5027051 6.90507726,13.6946874 4.77262693,9.47329752 C4.77262693,9.47329752 6.08388521,9.1714526 6.74613687,9.3800807 C6.74613687,9.3800807 7.74392936,18.0758776 6.98896247,21.5027051 Z" id="Path" fill="#282F39"></path>
118
+ </g>
119
+ <path d="M10.384106,58.2700791 C10.384106,58.2700791 9.37306843,59.4774587 10.2560706,61 L16,61 C16,61 15.9381898,59.0024969 12.781457,59.4774587 L12.1236203,58.7317242 C12.1236203,58.7317242 10.9183223,59.508531 10.384106,58.2700791 L10.384106,58.2700791 Z" id="Path" fill="#282F39"></path>
120
+ <path d="M3.20971302,58.2700791 C3.20971302,58.2700791 2.1986755,59.4774587 3.0816777,61 L8.82560706,61 C8.82560706,61 8.76379691,59.0024969 5.60706402,59.4774587 L4.94922737,58.7317242 C4.94922737,58.7317242 3.74392936,59.508531 3.20971302,58.2700791 L3.20971302,58.2700791 Z" id="Path" fill="#282F39"></path>
121
+ </g>
122
+ <g id="Group" transform="translate(44.000000, 59.000000)">
123
+ <g transform="translate(0.000000, 10.153651)">
124
+ <g transform="translate(3.686949, 13.722670)" fill="#FE9E80">
125
+ <polygon id="Rectangle" transform="translate(0.850467, 0.947390) rotate(-29.400000) translate(-0.850467, -0.947390) " points="0.317943382 0.160015062 1.36739467 0.170352929 1.38299137 1.73476414 0.333540078 1.72442627"></polygon>
126
+ <path d="M0.644272177,2.69879007 C0.35980637,2.20117005 0.538744539,1.57354121 1.04344194,1.29559129 C1.5527275,1.01764137 2.19506964,1.19248084 2.47953545,1.68561779 C2.76400126,2.1832378 2.58506309,2.81086665 2.08036569,3.08881656 C1.57108013,3.36676648 0.928737985,3.19192702 0.644272177,2.69879007 Z" id="Path"></path>
127
+ </g>
128
+ <polygon id="Path" fill="#1F4C72" points="7.65304785 3.35781433 2.48678173 7.83191139 5.16167795 14.3592514 3.91369893 14.9106682 0 7.63913967 6.34083461 0"></polygon>
129
+ </g>
130
+ <g transform="translate(13.346952, 10.826111)">
131
+ <g transform="translate(1.351316, 13.726786)" fill="#FE9E80">
132
+ <polygon id="Rectangle" transform="translate(1.767504, 0.947390) rotate(-150.600000) translate(-1.767504, -0.947390) " points="1.25057627 0.170352929 2.30002756 0.160015062 2.28443086 1.72442627 1.23497957 1.73476414"></polygon>
133
+ <path d="M1.97051012,2.69019134 C2.25497592,2.19257132 2.07603776,1.56494248 1.57134036,1.28699256 C1.06664296,1.00904264 0.419712652,1.1838821 0.135246844,1.67701906 C-0.149218963,2.17463907 0.0297192063,2.80226791 0.534416606,3.08021783 C1.03911401,3.35816775 1.68604431,3.18332829 1.97051012,2.69019134 Z" id="Path"></path>
134
+ </g>
135
+ <polygon id="Path" fill="#1F4C72" points="0 3.35781433 5.16626611 7.83191139 2.48678173 14.3592514 3.73934892 14.9061851 7.65304785 7.63913967 1.31221324 0"></polygon>
136
+ </g>
137
+ <path d="M12.5761416,2.01240841 C12.3972034,2.0751713 12.2228534,2.15138337 12.0576797,2.24104463 C10.3279441,3.16455565 9.27266769,5.08778976 8.70373607,6.86756584 C8.36880052,7.92108569 8.26327289,9.06874987 8.58444396,10.1222697 C8.90561503,11.1757896 9.70395456,12.126199 10.7729954,12.4758779 C11.8420363,12.8255568 13.1588377,12.480361 13.7736509,11.561333 C14.2370548,10.8619751 14.2737601,9.95191332 14.764693,9.27048771 C15.1822154,8.69217256 15.9209089,8.26179849 15.9622023,7.55795757 C15.9943194,6.99757468 15.5446799,6.51788691 15.4620931,5.96198708 C15.3519773,5.23573084 15.8842036,4.5587883 15.9163207,3.828049 C15.9576142,2.99868231 15.315272,2.22759545 14.5123443,1.95412859 C13.8883548,1.74342462 13.2001311,1.79273832 12.5761416,2.01689148 L12.5761416,2.01240841 Z" id="Path" fill="#81CAE3"></path>
138
+ <g transform="translate(3.980125, 57.660672)" id="Path">
139
+ <path d="M0.36027273,2.22359934 L0.649326696,1.87840348 L0.603445114,0 L1.91565835,0 L1.72754387,1.80667446 C1.72754387,1.80667446 3.31963476,2.6674226 3.2049308,4.72066554 L2.40659128,4.80584374 C2.40659128,4.80584374 0.938380661,2.30877754 0.36027273,2.21911628 L0.36027273,2.22359934 Z" fill="#FE9E80"></path>
140
+ <path d="M0.36027273,2.22359934 C0.36027273,2.22359934 -0.360068104,2.86467738 0.236392459,3.65817956 L0.61262143,5.33932825 L1.02096751,5.33932825 L1.33296226,3.75232389 C1.33296226,3.75232389 2.02118599,3.81508677 1.92483467,5.33932825 L4.08126902,5.33932825 C4.08126902,5.33932825 4.42538088,4.94033563 3.17740185,4.54582607 L2.52129523,4.42478336 C2.52129523,4.42478336 1.8009544,2.56431214 0.364860888,2.2280824 L0.36027273,2.22359934 Z" fill="#282F39"></path>
141
+ </g>
142
+ <g transform="translate(12.229633, 57.660672)" id="Path">
143
+ <path d="M0.36027273,2.22359934 L0.649326696,1.87840348 L0.603445114,0 L1.91565835,0 L1.72754387,1.80667446 C1.72754387,1.80667446 3.31963476,2.6674226 3.2049308,4.72066554 L2.40659128,4.80584374 C2.40659128,4.80584374 0.938380661,2.30877754 0.36027273,2.21911628 L0.36027273,2.22359934 Z" fill="#FE9E80"></path>
144
+ <path d="M0.36027273,2.22359934 C0.36027273,2.22359934 -0.360068104,2.86467738 0.236392459,3.65817956 L0.61262143,5.33932825 L1.02096751,5.33932825 L1.33296226,3.75232389 C1.33296226,3.75232389 2.02118599,3.81508677 1.92483467,5.33932825 L4.08126902,5.33932825 C4.08126902,5.33932825 4.42538088,4.94033563 3.17740185,4.54582607 L2.52129523,4.42478336 C2.52129523,4.42478336 1.8009544,2.56431214 0.364860888,2.2280824 L0.36027273,2.22359934 Z" fill="#282F39"></path>
145
+ </g>
146
+ <path d="M6.31330566,24.0870115 C6.31330566,24.0870115 3.8953463,20.6350529 4.4872187,58.8666157 L6.02883985,58.8666157 L11.1584007,25.6695328 L6.31330566,24.0870115 L6.31330566,24.0870115 Z" id="Path" fill="#BEDAFC"></path>
147
+ <path d="M8.96067293,24.7639541 C8.96067293,24.7639541 8.82761634,26.1716359 12.617435,58.8710988 L14.2278785,58.8710988 L15.6456194,24.6698098 L8.96067293,24.7639541 Z" id="Path" fill="#BEDAFC"></path>
148
+ <path d="M9.60760323,10.6961018 C8.89185056,10.7364494 8.1852742,10.8664582 7.50622679,11.0906114 C6.80882674,11.3192476 5.85448984,11.843766 5.72602141,12.6103698 C5.56543588,13.5562961 5.9141359,14.3946289 6.30412934,15.2419279 C6.77670964,16.2730324 7.15293861,17.2413741 7.48787415,18.3217923 C7.8228097,19.4022105 7.85492681,20.6485021 7.21717282,21.5899453 C6.66200568,22.4103459 5.859078,22.9931441 5.7168451,23.9659688 C5.63425825,24.5218687 6.06554512,25.252608 7.59340179,26.0819747 C8.85514529,26.7634003 10.2728862,26.7813325 11.718156,26.7813325 C14.154468,26.7813325 15.3290365,26.0864577 15.5905615,25.4139982 C15.9071444,24.6070469 15.7052655,23.696985 15.402447,22.8810675 C15.0996286,22.0696331 14.6958707,21.2761309 14.5995193,20.4153828 C14.3471706,18.1738512 16.2191392,15.963701 15.5630326,13.7983815 C15.1730391,12.4982932 13.9342364,11.5927144 12.6357876,11.1309589 C11.6676863,10.7857631 10.6261744,10.6467881 9.59842692,10.7005849 L9.60760323,10.6961018 Z" id="Path" fill="#1F4C72"></path>
149
+ <g transform="translate(9.592915, 1.537204)" id="Path">
150
+ <path d="M2.94193266,6.73356091 C2.94193266,6.73356091 2.31794315,8.35642978 3.6072156,10.3513929 C4.89648805,12.346356 0.643265412,12.2970423 0.0926864304,11.1179967 C0.0926864304,11.1179967 -0.187191219,10.7459025 0.225743018,10.0375785 C0.634089096,9.32477143 1.50583915,6.43767874 0.5239733,4.87757275 L2.94193266,6.73356091 L2.94193266,6.73356091 Z" fill="#FE9E80"></path>
151
+ <path d="M0.817615423,5.5769306 C0.817615423,5.5769306 1.35901809,6.7828746 2.78593528,7.71983481 C2.78593528,7.71983481 2.7951116,7.27601155 2.88228661,6.98012938 L0.817615423,5.5769306 Z" fill="#F0736D"></path>
152
+ <path d="M5.48377229,3.5685183 C5.48377229,5.5410661 4.46520118,7.14151966 3.20804584,7.14151966 C1.95089049,7.14151966 0.0422166904,5.32587907 0.0422166904,3.35333126 C0.0422166904,1.38078346 1.95089049,0 3.20804584,0 C4.46520118,0 5.48377229,1.60045356 5.48377229,3.57300136 L5.48377229,3.5685183 Z" fill="#FE9E80"></path>
153
+ </g>
154
+ <path d="M14.2278785,1.64479723 C14.2324667,1.71204318 14.2370548,1.77928913 14.2278785,1.84653507 C14.1636443,2.86867348 13.0900153,3.50078539 12.1494429,3.95357477 C11.2088704,4.40636415 10.1352414,5.05192525 10.0893598,6.07406366 C10.0618309,6.73755701 10.4931178,7.32932135 10.731702,7.95246713 C11.167577,9.10461437 10.8464059,10.4674656 10.0205375,11.3730443 C9.26349137,12.197928 8.24492025,13.5338808 7.00611754,13.5518131 C6.07930959,13.5652622 5.17544243,12.9421165 4.87721215,12.0813683 C4.51474765,11.0457807 4.9919161,9.91604881 5.57920035,8.98357167 C6.1664846,8.05109452 6.89141359,7.15448189 7.08870439,6.07854672 C7.24470177,5.23124778 7.05199913,4.33911821 7.27223072,3.50078539 C7.56128468,2.42036716 8.49726895,1.62686498 9.4470177,0.999236132 C10.2866506,0.44781936 11.2409875,-0.0498006533 12.2503823,0.00399610494 C13.1909548,0.0533098 14.1452917,0.748184594 14.2278785,1.64031417 L14.2278785,1.64479723 Z" id="Path" fill="#81CAE3"></path>
155
+ <path d="M5.31767533,9.97432863 C4.80838977,10.8395598 4.7946253,11.9648087 5.27638191,12.8434891 C5.76272668,13.7221695 6.73082805,14.327383 7.74939917,14.3901459 C8.34585973,14.4260104 8.93314398,14.2915185 9.52960454,14.2466878 C10.2453572,14.1928911 10.9702862,14.2780693 11.6860389,14.2691032 C12.6266113,14.2511709 13.5809482,14.0628823 14.3838759,13.5831945 C15.1868036,13.1035067 15.8199694,12.3144876 15.9667905,11.4089089 C16.0723181,10.7498986 15.9254971,10.0774391 16.0264365,9.4184288 C16.154905,8.56664679 16.6733668,7.62968658 16.1778458,6.91239648 C16.0218484,6.68376025 15.778676,6.52236998 15.6135023,6.30269988 C15.1179812,5.65265572 15.3795062,4.73362777 15.2143325,3.94012558 C14.9711601,2.77901222 14.328818,1.73894156 13.1313087,1.56858516 C11.9337994,1.39374569 10.181123,1.96309472 9.0294953,2.32173977 C8.12103998,2.60417275 7.68516496,7.871772 6.07472143,9.27048771 C5.72143325,9.43636105 5.45073192,9.7591416 5.3543806,10.1312358 L5.31767533,9.97881169 L5.31767533,9.97432863 Z" id="Path" fill="#81CAE3"></path>
156
+ <polygon id="Path" fill="#9DC5ED" points="6.02425169 58.8710988 9.84618746 34.191836 9.09372952 28.5969731"></polygon>
157
+ </g>
158
+ <g id="Group" transform="translate(0.000000, 30.000000)" fill="#B1D8E5">
159
+ <path d="M8.05217391,11.3478261 C7.93478261,11.3478261 7.82173913,11.3 7.73913043,11.2173913 L5.83913043,9.3173913 C5.66521739,9.14347826 5.66521739,8.86086957 5.83913043,8.68695652 C5.92173913,8.60434783 6.03478261,8.55652174 6.15217391,8.55652174 C6.26956522,8.55652174 6.3826087,8.60434783 6.46521739,8.68695652 L7.69565217,9.9173913 C7.79130435,10.0130435 7.9173913,10.0652174 8.05217391,10.0652174 C8.18695652,10.0652174 8.31304348,10.0130435 8.40869565,9.9173913 L11.5391304,6.78695652 C11.6217391,6.70434783 11.7347826,6.65652174 11.8521739,6.65652174 C11.9695652,6.65652174 12.0826087,6.70434783 12.1652174,6.78695652 C12.3391304,6.96086957 12.3391304,7.24347826 12.1652174,7.4173913 L8.36086957,11.2217391 C8.27826087,11.3043478 8.16521739,11.3521739 8.04782609,11.3521739 L8.05217391,11.3478261 Z" id="Path"></path>
160
+ <path d="M9,18 C4.03478261,18 0,13.9608696 0,9 C0,4.03913043 4.03913043,0 9,0 C13.9608696,0 18,4.03913043 18,9 C18,13.9608696 13.9608696,18 9,18 Z M9,0.886956522 C4.52608696,0.886956522 0.891304348,4.52608696 0.891304348,8.99565217 C0.891304348,13.4652174 4.53043478,17.1043478 9,17.1043478 C13.4695652,17.1043478 17.1086957,13.4652174 17.1086957,8.99565217 C17.1086957,4.52608696 13.4695652,0.886956522 9,0.886956522 Z" id="Shape"></path>
161
+ </g>
162
+ <g id="Group" transform="translate(161.000000, 15.000000)" fill="#B1D8E5">
163
+ <path d="M15.0100881,14.8700481 C13.4369646,14.8700481 11.9616058,14.2569419 10.8506429,13.1462421 C9.73968001,12.0355424 9.13087233,10.5605331 9.13087233,8.9877823 C9.13087233,7.41503147 9.74412386,5.93557942 10.8506429,4.82932247 C11.9616058,3.71862273 13.4369646,3.10995927 15.0100881,3.10995927 C16.5832116,3.10995927 18.0630142,3.72306553 19.1695332,4.82932247 C20.2804962,5.94002221 20.8937477,7.41947427 20.8937477,8.9877823 C20.8937477,10.5560903 20.2804962,12.0355424 19.1695332,13.1462421 C18.0585703,14.2569419 16.5832116,14.8700481 15.0100881,14.8700481 Z M15.0100881,3.96297668 C13.663601,3.96297668 12.4015472,4.48278415 11.4550067,5.43354313 C10.5040225,6.38430211 9.98409185,7.64605702 9.98409185,8.9877823 C9.98409185,10.3295076 10.5084663,11.5912625 11.4550067,12.5420215 C12.405991,13.4927805 13.6680449,14.0125879 15.0100881,14.0125879 C16.3521313,14.0125879 17.6141852,13.4883377 18.5651694,12.5420215 C19.5161537,11.5912625 20.0360843,10.3295076 20.0360843,8.9877823 C20.0360843,7.64605702 19.5117098,6.38430211 18.5651694,5.43354313 C17.618629,4.48722695 16.3565751,3.96297668 15.0100881,3.96297668 Z" id="Shape"></path>
164
+ <path d="M2.10514284,23.9955572 C1.54966139,23.9955572 1.02084304,23.7734173 0.620896388,23.3735653 C-0.183440763,22.5694187 -0.210103873,21.2854498 0.563126316,20.50796 L7.0644813,14.0081451 L7.14002678,13.9637171 C7.29111774,13.8659756 7.34000011,13.6616068 7.24667922,13.5061088 C5.19361975,9.97852647 5.77132047,5.50907071 8.65093635,2.63013699 C10.3440438,0.937430581 12.6059643,0 15.0100881,0 C17.4142118,0 19.6716885,0.932987782 21.3692398,2.63013699 C23.0667912,4.32728619 24,6.58422806 24,8.9877823 C24,11.3913365 23.0667912,13.6482784 21.3692398,15.3454276 C19.6761323,17.0425768 17.4142118,17.9755646 15.0100881,17.9755646 C13.4325207,17.9755646 11.868285,17.5534987 10.4862471,16.7493521 C10.4329209,16.7182525 10.3751508,16.7049241 10.3129369,16.7049241 C10.1973967,16.7049241 10.0907443,16.7626805 10.0285304,16.8559793 C10.0151988,16.8781933 10.0018673,16.8959645 9.9885357,16.9181785 L3.48273686,23.4313217 C3.11834102,23.7956312 2.62507349,24 2.10069899,24 L2.10514284,23.9955572 Z M5.82909054,16.6027397 C5.73576965,16.6027397 5.65133647,16.6382821 5.58912255,16.7049241 L1.17637785,21.1166235 C0.736436531,21.5564606 0.763099641,22.298408 1.23414792,22.7693447 C1.4652282,23.0003702 1.78518552,23.1336542 2.11403055,23.1336542 C2.41176861,23.1336542 2.68728741,23.0225842 2.88726074,22.8271011 L7.30444929,18.4154017 C7.36666322,18.3532025 7.40665788,18.2643465 7.40665788,18.1754906 C7.40665788,18.0866346 7.37110707,17.9977786 7.30444929,17.9355794 L6.08239008,16.7138097 C6.01573231,16.6471677 5.93129913,16.6116253 5.84242209,16.6116253 L5.82909054,16.6027397 Z M7.82882379,14.6034802 C7.73994676,14.6034802 7.65106972,14.6390226 7.5888558,14.7056646 L6.67786621,15.6164384 C6.61565228,15.6786375 6.57565762,15.7674935 6.57565762,15.8563495 C6.57565762,15.9452055 6.61120843,16.0340615 6.67786621,16.0962606 L7.89992542,17.3180304 C7.96658319,17.3846723 8.05101637,17.4202147 8.13989341,17.4202147 C8.22877044,17.4202147 8.31764747,17.3846723 8.3798614,17.3180304 L9.29085099,16.4072566 C9.35750876,16.3406146 9.39305958,16.2473158 9.38861572,16.1495742 C9.38417187,16.0518327 9.33973336,15.9629767 9.26418788,15.9007775 C9.02421989,15.7008515 8.82424656,15.5186968 8.6464925,15.3409848 C8.46873843,15.1632729 8.29098436,14.9677897 8.08656719,14.7234358 C8.02435326,14.6479082 7.93547623,14.6034802 7.83771149,14.5990374 L7.82437994,14.5990374 L7.82882379,14.6034802 Z M15.0100881,0.861902999 C12.8370446,0.861902999 10.7928729,1.7060348 9.25974403,3.23880044 C6.09127779,6.4109589 6.09127779,11.5690485 9.25974403,14.741207 C10.7928729,16.2739726 12.8370446,17.1181044 15.0100881,17.1181044 C17.1831315,17.1181044 19.2273033,16.2739726 20.7604321,14.741207 C22.293561,13.2084413 23.1378928,11.1647538 23.1378928,8.9922251 C23.1378928,6.81969641 22.293561,4.77600889 20.7604321,3.24324324 C19.2273033,1.7104776 17.1831315,0.866345798 15.0100881,0.866345798 L15.0100881,0.861902999 Z" id="Shape"></path>
165
+ <path d="M17.8985917,8.84116994 C17.6630675,8.84116994 17.4675381,8.65012958 17.4675381,8.41021844 C17.4675381,7.37060348 16.6232062,6.52647168 15.5833449,6.52647168 C15.3478208,6.52647168 15.1522913,6.33543132 15.1522913,6.09552018 C15.1522913,5.85560903 15.343377,5.66456868 15.5833449,5.66456868 C17.0942545,5.66456868 18.3252014,6.89522399 18.3252014,8.40577564 C18.3252014,8.64124398 18.1341158,8.83672714 17.8941478,8.83672714 L17.8985917,8.84116994 Z" id="Path"></path>
166
+ </g>
167
+ <g id="Group" transform="translate(149.000000, 13.000000)" fill="#B9E9FC">
168
+ <path d="M6.75554844,1.00477209 C8.42857149,1.02711616 9.77924792,2.3782215 9.8010608,4.05125155 L9.80296982,4.19767203 C9.82405347,5.81476988 8.53022832,7.14277837 6.91313047,7.16386201 C6.88737145,7.16419786 6.86160911,7.16419377 6.8358502,7.16384974 C5.16282715,7.14150567 3.81215073,5.79040033 3.79033784,4.11737028 L3.78842882,3.9709498 C3.76734518,2.35385195 5.06117033,1.02584346 6.67826817,1.00475982 C6.7040272,1.00442397 6.72978953,1.00442806 6.75554844,1.00477209 Z" id="Rectangle" transform="translate(6.795699, 4.084311) rotate(23.820000) translate(-6.795699, -4.084311) "></path>
169
+ <path d="M14.8902685,11.6454812 C14.603398,12.3155198 13.8498279,12.6216963 13.1990174,12.3243945 C12.5524884,12.0270926 12.2570547,11.2461205 12.5439251,10.5716446 C12.8307956,9.89716877 13.5843657,9.59542956 14.2351763,9.89273143 C14.8817052,10.1900333 15.1771389,10.9710054 14.8902685,11.6454812 Z" id="Path"></path>
170
+ <path d="M4.02344479,15.7012112 C3.55246346,16.8016718 2.31506707,17.298654 1.25321826,16.8149838 C0.19136945,16.3268763 -0.288175173,15.0444847 0.178524505,13.944024 C0.645224183,12.8435634 1.88690223,12.3465812 2.94875103,12.8302514 C4.01059984,13.3183589 4.49014447,14.6007505 4.02344479,15.7012112 L4.02344479,15.7012112 Z" id="Path"></path>
171
+ </g>
172
+ <path d="M161.960187,58.8451352 C161.771932,59.6512551 160.960985,60.1484428 160.154865,59.9601873 C159.348745,59.7719317 158.851557,58.9609847 159.039813,58.1548648 C159.228068,57.3487449 160.039015,56.8515572 160.845135,57.0398127 C161.651255,57.2280683 162.148443,58.0390153 161.960187,58.8451352 Z" id="Path" fill="#C2EBFF"></path>
173
+ </g>
174
+ </g>
175
+ </g>
176
+ </svg>
plugin-fw/assets/images/help-tab/support-desk.svg ADDED
@@ -0,0 +1,37 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?xml version="1.0" encoding="utf-8"?>
2
+ <svg width="274px" height="171px" viewBox="0 0 539.47 338.14" xmlns="http://www.w3.org/2000/svg">
3
+ <defs>
4
+ <style>.cls-1{font-size:21.21px;}.cls-1,.cls-12,.cls-8{fill:#67cce6;}.cls-1,.cls-12{font-family:OpenSans-Bold, Open Sans;font-weight:700;}.cls-2{opacity:0.15;}.cls-3{fill:#68cce5;}.cls-4{fill:#4687c7;}.cls-5{fill:#f8f6f0;}.cls-6{fill:#a160a7;}.cls-7{fill:#004c75;}.cls-9{fill:#fff;stroke:#36434c;stroke-width:2.36px;}.cls-13,.cls-9{stroke-miterlimit:10;}.cls-10{fill:#f5f1f3;}.cls-11{fill:#fbb11e;}.cls-12{font-size:23.02px;}.cls-13{fill:#f5f9fd;stroke:#004c75;stroke-width:1.85px;}</style>
5
+ </defs>
6
+ <g id="Layer_2" data-name="Layer 2">
7
+ <g id="Layer_3" data-name="Layer 3">
8
+ <text class="cls-1" transform="translate(152.76 80.43)" style="white-space: pre;">HELLO</text>
9
+ <g class="cls-2">
10
+ <path class="cls-3" d="M123,23.83c11.5-15.09,31-19.38,49-21.42A382.17,382.17,0,0,1,225.83.16c17.27.51,34.79,2.26,50.85,9.13C287.3,13.83,297.13,20.54,308.09,24c20.64,6.5,42.6.79,64-1.32a189.17,189.17,0,0,1,52.79,2.24c13.52,2.5,26.94,6.53,38.9,13.78,11.07,6.72,20.63,16,29.18,26.18,10.57,12.55,19.7,26.41,28.79,40.24,7.37,11.21,14.94,22.91,17.18,36.45s-2.5,29.49-14.09,35.14c-6.79,3.31-14.62,2.62-21.87,4.48-14.18,3.64-24.69,16.61-32.08,30.2S458.16,240,449.07,252.28c-18.13,24.61-48,34.73-76.32,41.83-54.53,13.67-114.09,20.38-164.58-5.75-15.83-8.19-30.4-19.46-47.13-25.14-30.58-10.38-64.52-.91-95.28-10.61a84.15,84.15,0,0,1-33.45-20.23C21.57,221.86,13.42,208.42,8,193.9c-14.4-38.34-9-84.64,13.87-117.85S84.06,23.86,122.14,27.76"/>
11
+ </g>
12
+ <g class="cls-2">
13
+ <path class="cls-3" d="M153.73,55.81c10.58-15.09,28.51-19.38,45.06-21.41a322.81,322.81,0,0,1,49.62-2.26c15.89.51,32,2.26,46.8,9.13C305,45.81,314,52.52,324.12,56c19,6.5,39.21.79,58.91-1.31a160.49,160.49,0,0,1,48.59,2.23c12.44,2.5,24.79,6.53,35.8,13.79,10.19,6.71,19,16,26.86,26.17,9.73,12.55,18.13,26.41,26.5,40.24,6.79,11.21,13.75,22.91,15.81,36.45s-2.3,29.49-13,35.14c-6.24,3.31-13.46,2.62-20.12,4.48-13.05,3.65-22.73,16.61-29.53,30.2s-11.73,28.59-20.09,40.91c-16.69,24.61-44.17,34.73-70.25,41.83-50.19,13.67-105,20.39-151.49-5.75-14.56-8.19-28-19.46-43.37-25.14-28.15-10.38-59.39-.91-87.71-10.61a76.59,76.59,0,0,1-30.78-20.23c-9.89-10.52-17.39-24-22.41-38.47C34.61,187.54,39.62,141.24,60.63,108S117.91,55.85,153,59.74"/>
14
+ </g>
15
+ <rect class="cls-4" x="136.96" y="46.76" width="95.39" height="143" rx="16.53" transform="translate(369.32 236.51) rotate(-180)"/>
16
+ <path class="cls-5" d="M148.09,116.66v7.6h71.5v-7.6Zm71.5,14.26h-71.5v7.6h71.5Zm0,14.26h-71.5v7.6h71.5Zm0,14.26h-71.5V167h71.5ZM182.81,173.7H147.88v7.6h34.93Z"/>
17
+ <rect class="cls-4" x="54.45" y="282.58" width="383.54" height="11.78"/>
18
+ <path class="cls-6" d="M320.07,273.6h-39s20.12-3.08,40.14-6.47C320.5,271.06,320.07,273.6,320.07,273.6Z"/>
19
+ <path class="cls-7" d="M114.4,270.54V279s94,3.06,100.92,0,16.06-27.53,22.94-42.82,15.29-21.41,17.59-9.17,9.94,46.63,9.94,46.63h15.29c3.06,7.65,0,12.24,0,12.24,85.63,8.41,123.09,2.29,123.09-6.88s-31.35-94-42.81-108.57-23.71-22.94-48.17-29.82-29.82-2.29-29.82-2.29S258.14,136,236.74,152s-37.47,87.16-39.77,94S114.4,270.54,114.4,270.54Zm206.82-3.41c2.15-11.76,6.88-36,10.32-41.7,4.59-7.64,33.64,30.59,29,33.65C358.38,260.55,339.84,264,321.22,267.13Z"/>
20
+ <path class="cls-8" d="M110.51,283.26l.77-6.5s-28.61-5-34.57-4.61-4.31,11.11-4.31,11.11Z"/>
21
+ <path class="cls-9" d="M259.67,270.54c3.82-1.52,21.41,3.06,21.41,3.06s4.58,9.18,0,12.24-9.18-5.36-13-4.59-12.23,8.41-13.76,6.88a2.12,2.12,0,0,1,0-3.06s-2.3,2.29-2.3,0v-2.29s-2.29,2.29-3.05,0S255.85,272.07,259.67,270.54Z"/>
22
+ <path class="cls-9" d="M95.73,264.79a21.54,21.54,0,0,1,9.39,1.27c3.75,1.35,7.45,2.91,11.07,4.58,1.3,4.4,1.9,9.39-3.71,9.6-4.85.18-7.92-4.59-12.31-5.88-6.15-1.82-14.25-.89-20.64-1.23a11.78,11.78,0,0,1,9.22-7.45C91.38,265.31,93.6,264.94,95.73,264.79Z"/>
23
+ <path class="cls-9" d="M261.65,106a35.58,35.58,0,0,1,.62-6.65c-.77-3.13-1.15-7,.89-13.84,4.59-15.3,24.46-18.35,37.46-12.24s11.47,34.41,11.47,34.41c-2.48,11.33-7.91,19.06-13.64,23.85l-.12.11v21.91s-9.56,6.88-19.12,0v-17.2l-.81-.51a44.73,44.73,0,0,1-12.23-12.11h0a18.78,18.78,0,0,1-3.38-8.84A34.7,34.7,0,0,1,261.65,106Z"/>
24
+ <path class="cls-8" d="M266.55,48.82c21.41-8.41,30.58,0,40.52,2.3s34.41,9.94,64.22-3.06,67.28-2.29,75.69,9.17,23.71,20.65,39.76,20.65,24.47,13,19.12,31.34-26.76,9.94-39,9.18-28.29,24.46-53.52,19.11-22.17-32.87-45.1-22.17-47.52,29.8-64.36,7.85c6,6,0,0,0,0s.9-12.44,3.19-32.31c0,0-13,1.52-21.41-5.36s-6.11-8.41-14.52-3.06-6.88,4.59-6.88,4.59,0,.25,0,1,0,2.26-.12,4.66c0,1.09-.11,2.36-.2,3.88h0c-.27,4.48,1.53,9.08,4.89,14.13,2.49,3.75-6.67,7.74-2.64,12.11.26.3.54.59.81.89,0,0-1.24,4.59-7.36-6.12s-2.29-22.17-8.41-28.28S245.14,57.23,266.55,48.82Z"/>
25
+ <path class="cls-10" d="M312,87.82a3.55,3.55,0,0,1,2.75,1.5,6.69,6.69,0,0,1,1.07,3.05,60,60,0,0,1-.07,12.13,8.5,8.5,0,0,1-1,3.8c-1.54,2.58-4.39,2.45-7,2.45a9.08,9.08,0,0,1-1.42-2.29c-1.53-6.12-1.53-12.23.76-17.58A5.33,5.33,0,0,1,312,87.82Z"/>
26
+ <path class="cls-11" d="M312,87.82a5.19,5.19,0,0,0-5,3.06c-2.29,5.35-2.29,11.46-.76,17.58a9.08,9.08,0,0,0,1.42,2.29h-4.46s-3.84-.76-3.84-4.58,0-12.24,1.39-16.06C301.78,87.48,308.28,86.3,312,87.82Z"/>
27
+ <path class="cls-11" d="M264,88.23a3.49,3.49,0,0,1,.34-.15c0,.83,0,2.26-.12,4.66a12.81,12.81,0,0,1-.2,3.88h0c-.27,4.48,1.53,9.08,4.89,14.13h-4.47s-4-.76-4-4.58,0-12.24,1.44-16.06A3.82,3.82,0,0,1,264,88.23Z"/>
28
+ <path class="cls-11" d="M311.59,96.23c1.23,0,2.22,1.54,2.22,3.44s-1,3.44-2.22,3.44-2.22-1.54-2.22-3.44S310.36,96.23,311.59,96.23Z"/>
29
+ <path class="cls-10" d="M266.46,69.88c4.9-6.25,11.57-10.1,18.92-10.1,15,0,27.24,16.09,27.24,35.94,0,.17,0,.34,0,.51h-2.32c0-.17,0-.34,0-.51,0-18.16-11.16-32.88-24.92-32.88-8.56,0-19.59,5.86-21.89,25.74C263.82,86.06,262,79.41,266.46,69.88Z"/>
30
+ <path class="cls-11" d="M265.39,108a12.63,12.63,0,0,0,15.8,14l.32,1.2a13.24,13.24,0,0,1-3.5.46,13.84,13.84,0,0,1-13.86-15.87Z"/>
31
+ <path class="cls-11" d="M281.49,120.06c2,.58,3.3,2.14,2.91,3.47s-2.32,1.94-4.32,1.36-3.31-2.14-2.92-3.47S279.49,119.47,281.49,120.06Z"/>
32
+ <path d="M 15.53 -16.43 L 15.53 0 L 12.06 0 L 12.06 -7.09 L 5.55 -7.09 L 5.55 0 L 2.07 0 L 2.07 -16.43 L 5.55 -16.43 L 5.55 -9.99 L 12.06 -9.99 L 12.06 -16.43 L 15.53 -16.43 ZM 29.142 -2.88 L 29.142 0 L 19.682 0 L 19.682 -16.43 L 29.142 -16.43 L 29.142 -13.58 L 23.162 -13.58 L 23.162 -9.97 L 28.732 -9.97 L 28.732 -7.12 L 23.162 -7.12 L 23.162 -2.88 L 29.142 -2.88 ZM 42.724 0 L 32.574 0 L 32.574 -16.43 L 36.054 -16.43 L 36.054 -2.88 L 42.724 -2.88 L 42.724 0 ZM 55.728 0 L 45.578 0 L 45.578 -16.43 L 49.058 -16.43 L 49.058 -2.88 L 55.728 -2.88 L 55.728 0 ZM 73.493 -8.24 C 73.493 -5.52 72.819 -3.43 71.473 -1.97 C 70.126 -0.51 68.193 0.22 65.673 0.22 C 63.153 0.22 61.219 -0.51 59.873 -1.97 C 58.526 -3.43 57.853 -5.527 57.853 -8.26 C 57.853 -10.993 58.529 -13.083 59.883 -14.53 C 61.236 -15.97 63.173 -16.69 65.693 -16.69 C 68.219 -16.69 70.153 -15.963 71.493 -14.51 C 72.826 -13.057 73.493 -10.967 73.493 -8.24 Z M 61.503 -8.24 C 61.503 -6.407 61.853 -5.023 62.553 -4.09 C 63.246 -3.163 64.286 -2.7 65.673 -2.7 C 68.453 -2.7 69.843 -4.547 69.843 -8.24 C 69.843 -11.94 68.459 -13.79 65.693 -13.79 C 64.306 -13.79 63.263 -13.323 62.563 -12.39 C 61.856 -11.457 61.503 -10.073 61.503 -8.24 Z" transform="matrix(1, 0, 0, 1, 147.69000244140625, 82.95999908447266)" style="white-space: pre; fill: rgb(103, 204, 230);"/>
33
+ <polygon class="cls-13" points="15.09 145.9 41.83 159.27 48.76 182.04 51.77 162.75 84.41 177.59 97.78 117.18 15.09 145.9"/>
34
+ <polygon class="cls-8" points="88.29 123.74 45.95 154.56 52.64 156.42 88.29 123.74"/>
35
+ </g>
36
+ </g>
37
+ </svg>
plugin-fw/assets/js/yit-plugin-panel.js CHANGED
@@ -275,7 +275,7 @@ jQuery( function ( $ ) {
275
  floatSaveButton.unblock()
276
  .addClass( 'green' )
277
  .fadeOut( 300 )
278
- .html( '<i class="yith-icon yith-icon-check"></i>' + floatSaveButton.data( 'saved-label' ) )
279
  .fadeIn( 300 )
280
  .delay( 2500 )
281
  .queue(
@@ -284,7 +284,7 @@ jQuery( function ( $ ) {
284
  500,
285
  function () {
286
  $( this ).removeClass( 'green' );
287
- $( this ).html( '<i class="yith-icon yith-icon-save"></i>' + $( this ).data( 'default-label' ) ).fadeIn( 500 );
288
  }
289
  );
290
  next();
275
  floatSaveButton.unblock()
276
  .addClass( 'green' )
277
  .fadeOut( 300 )
278
+ .html( floatSaveButton.data( 'saved-label' ) )
279
  .fadeIn( 300 )
280
  .delay( 2500 )
281
  .queue(
284
  500,
285
  function () {
286
  $( this ).removeClass( 'green' );
287
+ $( this ).html( $( this ).data( 'default-label' ) ).fadeIn( 500 );
288
  }
289
  );
290
  next();
plugin-fw/assets/js/yit-plugin-panel.min.js CHANGED
@@ -1 +1 @@
1
- jQuery(function(e){function t(){e("[data-dep-target]:not( .deps-initialized )").each(function(){var t=e(this);if(!t.closest(".metaboxes-tab").length){t.addClass("deps-initialized");var a="#"+t.data("dep-target"),i="#"+t.data("dep-id"),n=t.data("dep-value"),o=t.data("dep-type");e(i).on("change",function(){!function(t,a,i,n){var o=!0;if("string"==typeof a){":radio"===a.substr(0,6)&&(a+=":checked");var r=e(a),d=r.attr("type"),s=r.val();switch(d){case"checkbox":s=r.is(":checked")?"yes":"no";break;case"radio":s=r.find('input[type="radio"]').filter(":checked").val()}i=i.split(",");for(var c=0;c<i.length;c++){if(s==i[c]){o=!0;break}o=!1}}var l=e(t),h=e(t+"-container").closest("tr");h.length<1&&(h=l.closest(".yith-plugin-fw-panel-wc-row, .yith-toggle-content-row"));var u,g=n.split("-");for(u in g){var f=g[u];if(o)switch(f){case"disable":h.removeClass("yith-disabled"),l.attr("disabled",!1);break;case"hide":case"hideNow":h.show();break;case"hideme":l.show();break;case"fadeOut":h.show();break;case"fadeInOut":case"fadeIn":default:h.show(500)}else switch(f){case"disable":h.addClass("yith-disabled"),l.attr("disabled",!0);break;case"hide":case"hideNow":h.hide();break;case"hideme":l.hide();break;case"fadeInOut":case"fadeOut":h.hide(500);break;case"fadeIn":default:h.hide()}}}(a,i,n.toString(),o)}).trigger("change")}})}t(),e(document).on("yith-add-box-button-toggle",t),e(".rm_connectedlist").each(function(){var t=e(this).find("ul"),a=e(this).find(":hidden");t.sortable({connectWith:t,update:function(i,n){var o={};t.each(function(){var t={};e(this).children().each(function(){t[e(this).data("option")]=e(this).text()}),o[e(this).data("list")]=t}),a.val(JSON.stringify(o).replace(/[\\"']/g,"\\$&").replace(/\u0000/g,"\\0"))}}).disableSelection()}),e(function(){e(".google-analytic-generate").click(function(){var t=e("#"+e(this).data("textarea")).data("codemirrorInstance"),a="(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){\n";a+="(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement( o ),\n",a+="m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)\n",a+="})(window,document,'script','//www.google-analytics.com/analytics.js','ga');\n\n",a+="ga('create', '"+e("#"+e(this).data("input")).val()+"', '"+e(this).data("basename")+"');\n",a+="ga('send', 'pageview');\n",t.replaceRange(a,t.getCursor("start"),t.getCursor("end"))})}),e(".yith-plugin-fw-panel .woo-nav-tab-wrapper").removeClass("woo-nav-tab-wrapper").addClass("yith-nav-tab-wrapper");var a=e(".wrap.yith-plugin-ui").first(),i=e("div.updated, div.error, div.notice");i.addClass("inline"),a.length&&a.prepend(i),function(){var t=e(".yith-nav-sub-tab.nav-tab-active"),a=e(".yith-plugin-fw-wp-page__sub-tab-wrap");if(t.length&&!a.length){var i=e(".yith-plugin-fw-wp-page-wrapper");if(i.length||(i=e("#wpbody-content > .yith-plugin-ui")),i){var n=i.find(".yit-admin-panel-content-wrap");n.length?n.addClass("has-subnav"):i.find(".wrap").wrap('<div class="yith-plugin-fw-wp-page__sub-tab-wrap"></div>')}}}(),function(){var t=e("#yith-plugin-fw-float-save-button"),a=e("#plugin-fw-wc"),i=document.querySelector("#main-save-button");function n(){var e,a;e=i.getBoundingClientRect(),a={width:window.innerWidth||document.documentElement.clientWidth,height:window.innerHeight||document.documentElement.clientHeight},e.top>=0&&e.left>=0&&e.top<=a.height&&e.left<=a.width?t.removeClass("visible"):t.addClass("visible")}t.length>0&&a.length>0&&(n(),document.addEventListener("scroll",n,{passive:!0}),e(document).on("click","#yith-plugin-fw-float-save-button",function(i){i.preventDefault(),"tinyMCE"in window&&"triggerSave"in window.tinyMCE&&window.tinyMCE.triggerSave(),e(".codemirror.codemirror--initialized").each(function(){var t=e(this).data("codemirrorInstance")||!1;t&&"codemirror"in t&&t.codemirror.save()}),t.block({message:null,overlayCSS:{background:"transparent",opacity:.6}}),e.post(document.location.href,a.serialize()).done(function(a){t.unblock().addClass("green").fadeOut(300).html('<i class="yith-icon yith-icon-check"></i>'+t.data("saved-label")).fadeIn(300).delay(2500).queue(function(a){t.fadeOut(500,function(){e(this).removeClass("green"),e(this).html('<i class="yith-icon yith-icon-save"></i>'+e(this).data("default-label")).fadeIn(500)}),a()}),window.onbeforeunload=null,e(document).trigger("yith-plugin-fw-float-save-button-after-saving",[a])})}))}()});
1
+ jQuery(function(e){function t(){e("[data-dep-target]:not( .deps-initialized )").each(function(){var t=e(this);if(!t.closest(".metaboxes-tab").length){t.addClass("deps-initialized");var a="#"+t.data("dep-target"),i="#"+t.data("dep-id"),n=t.data("dep-value"),r=t.data("dep-type");e(i).on("change",function(){!function(t,a,i,n){var r=!0;if("string"==typeof a){":radio"===a.substr(0,6)&&(a+=":checked");var d=e(a),o=d.attr("type"),s=d.val();switch(o){case"checkbox":s=d.is(":checked")?"yes":"no";break;case"radio":s=d.find('input[type="radio"]').filter(":checked").val()}i=i.split(",");for(var c=0;c<i.length;c++){if(s==i[c]){r=!0;break}r=!1}}var l=e(t),h=e(t+"-container").closest("tr");h.length<1&&(h=l.closest(".yith-plugin-fw-panel-wc-row, .yith-toggle-content-row"));var u,g=n.split("-");for(u in g){var f=g[u];if(r)switch(f){case"disable":h.removeClass("yith-disabled"),l.attr("disabled",!1);break;case"hide":case"hideNow":h.show();break;case"hideme":l.show();break;case"fadeOut":h.show();break;case"fadeInOut":case"fadeIn":default:h.show(500)}else switch(f){case"disable":h.addClass("yith-disabled"),l.attr("disabled",!0);break;case"hide":case"hideNow":h.hide();break;case"hideme":l.hide();break;case"fadeInOut":case"fadeOut":h.hide(500);break;case"fadeIn":default:h.hide()}}}(a,i,n.toString(),r)}).trigger("change")}})}t(),e(document).on("yith-add-box-button-toggle",t),e(".rm_connectedlist").each(function(){var t=e(this).find("ul"),a=e(this).find(":hidden");t.sortable({connectWith:t,update:function(i,n){var r={};t.each(function(){var t={};e(this).children().each(function(){t[e(this).data("option")]=e(this).text()}),r[e(this).data("list")]=t}),a.val(JSON.stringify(r).replace(/[\\"']/g,"\\$&").replace(/\u0000/g,"\\0"))}}).disableSelection()}),e(function(){e(".google-analytic-generate").click(function(){var t=e("#"+e(this).data("textarea")).data("codemirrorInstance"),a="(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){\n";a+="(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement( o ),\n",a+="m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)\n",a+="})(window,document,'script','//www.google-analytics.com/analytics.js','ga');\n\n",a+="ga('create', '"+e("#"+e(this).data("input")).val()+"', '"+e(this).data("basename")+"');\n",a+="ga('send', 'pageview');\n",t.replaceRange(a,t.getCursor("start"),t.getCursor("end"))})}),e(".yith-plugin-fw-panel .woo-nav-tab-wrapper").removeClass("woo-nav-tab-wrapper").addClass("yith-nav-tab-wrapper");var a=e(".wrap.yith-plugin-ui").first(),i=e("div.updated, div.error, div.notice");i.addClass("inline"),a.length&&a.prepend(i),function(){var t=e(".yith-nav-sub-tab.nav-tab-active"),a=e(".yith-plugin-fw-wp-page__sub-tab-wrap");if(t.length&&!a.length){var i=e(".yith-plugin-fw-wp-page-wrapper");if(i.length||(i=e("#wpbody-content > .yith-plugin-ui")),i){var n=i.find(".yit-admin-panel-content-wrap");n.length?n.addClass("has-subnav"):i.find(".wrap").wrap('<div class="yith-plugin-fw-wp-page__sub-tab-wrap"></div>')}}}(),function(){var t=e("#yith-plugin-fw-float-save-button"),a=e("#plugin-fw-wc"),i=document.querySelector("#main-save-button");function n(){var e,a;e=i.getBoundingClientRect(),a={width:window.innerWidth||document.documentElement.clientWidth,height:window.innerHeight||document.documentElement.clientHeight},e.top>=0&&e.left>=0&&e.top<=a.height&&e.left<=a.width?t.removeClass("visible"):t.addClass("visible")}t.length>0&&a.length>0&&(n(),document.addEventListener("scroll",n,{passive:!0}),e(document).on("click","#yith-plugin-fw-float-save-button",function(i){i.preventDefault(),"tinyMCE"in window&&"triggerSave"in window.tinyMCE&&window.tinyMCE.triggerSave(),e(".codemirror.codemirror--initialized").each(function(){var t=e(this).data("codemirrorInstance")||!1;t&&"codemirror"in t&&t.codemirror.save()}),t.block({message:null,overlayCSS:{background:"transparent",opacity:.6}}),e.post(document.location.href,a.serialize()).done(function(a){t.unblock().addClass("green").fadeOut(300).html(t.data("saved-label")).fadeIn(300).delay(2500).queue(function(a){t.fadeOut(500,function(){e(this).removeClass("green"),e(this).html(e(this).data("default-label")).fadeIn(500)}),a()}),window.onbeforeunload=null,e(document).trigger("yith-plugin-fw-float-save-button-after-saving",[a])})}))}()});
plugin-fw/assets/js/yith-bh-onboarding.js ADDED
@@ -0,0 +1,65 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ (function($) {
2
+
3
+ var init = function() {
4
+ var currentTab = $('.yith-bh-onboarding-tabs__nav li.selected').data('tab');
5
+ $('#' + currentTab).fadeIn();
6
+ };
7
+
8
+ var block = function(element) {
9
+ var blockArgs = {
10
+ message: '',
11
+ overlayCSS: {
12
+ backgroundColor: '#FFFFFF',
13
+ opacity: 0.8,
14
+ cursor: 'wait',
15
+ },
16
+ };
17
+ element.block(blockArgs);
18
+ };
19
+
20
+ var unblock = function(element) {
21
+ element.unblock();
22
+ };
23
+
24
+ $(document).on('click', '.yith-bh-onboarding-tabs__nav li', function(e) {
25
+ var $t = $(this);
26
+ //nav
27
+ $('.yith-bh-onboarding-tabs__nav li').removeClass('selected');
28
+ $t.addClass('selected');
29
+ //tab content
30
+ $('.yith-bh-onboarding-tabs__tab').hide();
31
+ $('#' + $t.data('tab')).fadeIn();
32
+ });
33
+
34
+ $(document).on('submit', 'form', function(e) {
35
+ e.preventDefault();
36
+ var form = $(this);
37
+
38
+ if (true ===
39
+ $(document).triggerHandler('yith_onboarding_form_submit_validation')) {
40
+ $(document).trigger('yith_onboarding_validate_form_submit', [form]);
41
+ return false;
42
+ }
43
+ block($('.yith-bh-onboarding-tabs__content'));
44
+ $.ajax(
45
+ {
46
+ type: 'POST',
47
+ data: form.serialize(),
48
+ url: yith_bh_onboarding.ajax_url,
49
+ success: function(response) {
50
+ if (response.success) {
51
+ var button = parent.document.querySelector(
52
+ '.components-modal__frame button');
53
+ button.click();
54
+ }
55
+ },
56
+ complete: function() {
57
+ unblock($('.yith-bh-onboarding-tabs__content'));
58
+ },
59
+ },
60
+ );
61
+
62
+ });
63
+ init();
64
+
65
+ })(jQuery);
plugin-fw/assets/js/yith-bh-onboarding.min.js ADDED
@@ -0,0 +1 @@
 
1
+ !function(t){var a;t(document).on("click",".yith-bh-onboarding-tabs__nav li",function(a){var n=t(this);t(".yith-bh-onboarding-tabs__nav li").removeClass("selected"),n.addClass("selected"),t(".yith-bh-onboarding-tabs__tab").hide(),t("#"+n.data("tab")).fadeIn()}),t(document).on("submit","form",function(a){a.preventDefault();var n=t(this);if(!0===t(document).triggerHandler("yith_onboarding_form_submit_validation"))return t(document).trigger("yith_onboarding_validate_form_submit",[n]),!1;t(".yith-bh-onboarding-tabs__content").block({message:"",overlayCSS:{backgroundColor:"#FFFFFF",opacity:.8,cursor:"wait"}}),t.ajax({type:"POST",data:n.serialize(),url:yith_bh_onboarding.ajax_url,success:function(t){t.success&&parent.document.querySelector(".components-modal__frame button").click()},complete:function(){t(".yith-bh-onboarding-tabs__content").unblock()}})}),a=t(".yith-bh-onboarding-tabs__nav li.selected").data("tab"),t("#"+a).fadeIn()}(jQuery);
plugin-fw/includes/class-yit-assets.php CHANGED
@@ -80,6 +80,7 @@ if ( ! class_exists( 'YIT_Assets' ) ) {
80
  wp_register_script( 'colorbox', YIT_CORE_PLUGIN_URL . '/assets/js/jquery.colorbox' . $suffix . '.js', array( 'jquery' ), '1.6.3', true );
81
  wp_register_script( 'yith_how_to', YIT_CORE_PLUGIN_URL . '/assets/js/how-to' . $suffix . '.js', array( 'jquery' ), $this->version, true );
82
  wp_register_script( 'yith-plugin-fw-wp-pages', YIT_CORE_PLUGIN_URL . '/assets/js/wp-pages' . $suffix . '.js', array( 'jquery' ), $this->version, false );
 
83
 
84
  // Register styles.
85
  wp_register_style( 'yith-plugin-ui', YIT_CORE_PLUGIN_URL . '/assets/css/yith-plugin-ui.css', array( 'yith-plugin-fw-icon-font' ), $this->version );
@@ -89,6 +90,7 @@ if ( ! class_exists( 'YIT_Assets' ) ) {
89
  wp_register_style( 'yit-upgrade-to-pro', YIT_CORE_PLUGIN_URL . '/assets/css/yit-upgrade-to-pro.css', array( 'colorbox' ), $this->version );
90
  wp_register_style( 'yit-plugin-metaboxes', YIT_CORE_PLUGIN_URL . '/assets/css/metaboxes.css', array( 'yith-plugin-ui' ), $this->version );
91
  wp_register_style( 'yith-plugin-fw-fields', YIT_CORE_PLUGIN_URL . '/assets/css/yith-fields.css', array( 'yith-plugin-ui' ), $this->version );
 
92
 
93
  $wc_version_suffix = '';
94
  if ( function_exists( 'WC' ) || ! empty( $woocommerce ) ) {
@@ -153,6 +155,14 @@ if ( ! class_exists( 'YIT_Assets' ) ) {
153
  )
154
  );
155
 
 
 
 
 
 
 
 
 
156
  // Localize color-picker to avoid issues with WordPress 5.5.
157
  if ( version_compare( $wp_version, '5.5-RC', '>=' ) ) {
158
  wp_localize_script(
80
  wp_register_script( 'colorbox', YIT_CORE_PLUGIN_URL . '/assets/js/jquery.colorbox' . $suffix . '.js', array( 'jquery' ), '1.6.3', true );
81
  wp_register_script( 'yith_how_to', YIT_CORE_PLUGIN_URL . '/assets/js/how-to' . $suffix . '.js', array( 'jquery' ), $this->version, true );
82
  wp_register_script( 'yith-plugin-fw-wp-pages', YIT_CORE_PLUGIN_URL . '/assets/js/wp-pages' . $suffix . '.js', array( 'jquery' ), $this->version, false );
83
+ wp_register_script( 'yith-bh-onboarding', YIT_CORE_PLUGIN_URL . '/assets/js/yith-bh-onboarding' . $suffix . '.js', array( 'jquery', 'yit-plugin-panel', 'yith-plugin-fw-fields', 'jquery-blockui' ), $this->version, true );
84
 
85
  // Register styles.
86
  wp_register_style( 'yith-plugin-ui', YIT_CORE_PLUGIN_URL . '/assets/css/yith-plugin-ui.css', array( 'yith-plugin-fw-icon-font' ), $this->version );
90
  wp_register_style( 'yit-upgrade-to-pro', YIT_CORE_PLUGIN_URL . '/assets/css/yit-upgrade-to-pro.css', array( 'colorbox' ), $this->version );
91
  wp_register_style( 'yit-plugin-metaboxes', YIT_CORE_PLUGIN_URL . '/assets/css/metaboxes.css', array( 'yith-plugin-ui' ), $this->version );
92
  wp_register_style( 'yith-plugin-fw-fields', YIT_CORE_PLUGIN_URL . '/assets/css/yith-fields.css', array( 'yith-plugin-ui' ), $this->version );
93
+ wp_register_style( 'yith-bh-onboarding', YIT_CORE_PLUGIN_URL . '/assets/css/yith-bh-onboarding.css', array( 'yith-plugin-ui', 'yith-plugin-fw-fields' ), $this->version );
94
 
95
  $wc_version_suffix = '';
96
  if ( function_exists( 'WC' ) || ! empty( $woocommerce ) ) {
155
  )
156
  );
157
 
158
+ wp_localize_script(
159
+ 'yith-bh-onboarding',
160
+ 'yith_bh_onboarding',
161
+ array(
162
+ 'ajax_url' => admin_url( 'admin-ajax.php' ),
163
+ )
164
+ );
165
+
166
  // Localize color-picker to avoid issues with WordPress 5.5.
167
  if ( version_compare( $wp_version, '5.5-RC', '>=' ) ) {
168
  wp_localize_script(
plugin-fw/includes/class-yit-plugin-panel-woocommerce.php CHANGED
@@ -374,6 +374,12 @@ if ( ! class_exists( 'YIT_Plugin_Panel_WooCommerce' ) ) {
374
  $default[ $colorpicker['id'] ] = isset( $colorpicker['default'] ) ? $colorpicker['default'] : '';
375
  }
376
  update_option( $option['id'], $default );
 
 
 
 
 
 
377
  } elseif ( isset( $option['default'] ) ) {
378
  update_option( $option['id'], $option['default'] );
379
  }
@@ -494,8 +500,8 @@ if ( ! class_exists( 'YIT_Plugin_Panel_WooCommerce' ) ) {
494
  * @param string $admin_body_classes The body classes.
495
  *
496
  * @return string Filtered body classes
497
- * @author Andrea Grillo <andrea.grillo@yithemes.com>
498
  * @since 2.0
 
499
  */
500
  public static function admin_body_class( $admin_body_classes ) {
501
  global $pagenow;
@@ -518,8 +524,8 @@ if ( ! class_exists( 'YIT_Plugin_Panel_WooCommerce' ) ) {
518
  * @param string $raw_value Raw option value.
519
  *
520
  * @return mixed Filtered return value
521
- * @author Antonio La Rocca <antonio.larocca@yithemes.com>
522
  * @since 2.0
 
523
  */
524
  public function maybe_unserialize_panel_data( $value, $option, $raw_value ) {
525
  if ( ! version_compare( WC()->version, '2.4.0', '>=' ) || ! isset( $option['type'] ) || in_array( $option['type'], self::$wc_type, true ) || 'yith-field' === $option['type'] ) {
@@ -548,8 +554,8 @@ if ( ! class_exists( 'YIT_Plugin_Panel_WooCommerce' ) ) {
548
  * @param mixed $raw_value Raw option value.
549
  *
550
  * @return mixed Filtered return value
551
- * @author Leanza Francesco <leanzafrancesco@gmail.com>
552
  * @since 3.0.0
 
553
  */
554
  public static function sanitize_option( $value, $option, $raw_value ) {
555
  if ( isset( $option['type'] ) && 'yith-field' === $option['type'] ) {
@@ -731,8 +737,8 @@ if ( ! class_exists( 'YIT_Plugin_Panel_WooCommerce' ) ) {
731
  * @param string $raw_value Raw option value.
732
  *
733
  * @return mixed Filtered return value
734
- * @author Andrea Grillo <andrea.grillo@yithemes.com>
735
  * @since 3.0.0
 
736
  */
737
  public static function sanitize_onoff_value( $value, $option, $raw_value ) {
738
  if ( isset( $option['type'] ) && in_array( $option['type'], array( 'checkbox', 'onoff' ), true ) ) {
@@ -752,8 +758,8 @@ if ( ! class_exists( 'YIT_Plugin_Panel_WooCommerce' ) ) {
752
  * @param array $yit_options Original options array.
753
  *
754
  * @return mixed|array New options array
755
- * @author Andrea Grillo <andrea.grillo@yithemes.com>
756
  * @since 3.0.0
 
757
  */
758
  public function check_for_save_single_option( $yit_options ) {
759
  foreach ( $yit_options as $key => $options_list ) {
374
  $default[ $colorpicker['id'] ] = isset( $colorpicker['default'] ) ? $colorpicker['default'] : '';
375
  }
376
  update_option( $option['id'], $default );
377
+ } elseif ( isset( $option['yith-type'] ) && 'inline-fields' === $option['yith-type'] && ! empty( $option['fields'] ) ) {
378
+ $default = array();
379
+ foreach ( $option['fields'] as $field_id => $field ) {
380
+ $default[ $field_id ] = isset( $field['default'] ) ? $field['default'] : '';
381
+ }
382
+ update_option( $option['id'], $default );
383
  } elseif ( isset( $option['default'] ) ) {
384
  update_option( $option['id'], $option['default'] );
385
  }
500
  * @param string $admin_body_classes The body classes.
501
  *
502
  * @return string Filtered body classes
 
503
  * @since 2.0
504
+ * @author Andrea Grillo <andrea.grillo@yithemes.com>
505
  */
506
  public static function admin_body_class( $admin_body_classes ) {
507
  global $pagenow;
524
  * @param string $raw_value Raw option value.
525
  *
526
  * @return mixed Filtered return value
 
527
  * @since 2.0
528
+ * @author Antonio La Rocca <antonio.larocca@yithemes.com>
529
  */
530
  public function maybe_unserialize_panel_data( $value, $option, $raw_value ) {
531
  if ( ! version_compare( WC()->version, '2.4.0', '>=' ) || ! isset( $option['type'] ) || in_array( $option['type'], self::$wc_type, true ) || 'yith-field' === $option['type'] ) {
554
  * @param mixed $raw_value Raw option value.
555
  *
556
  * @return mixed Filtered return value
 
557
  * @since 3.0.0
558
+ * @author Leanza Francesco <leanzafrancesco@gmail.com>
559
  */
560
  public static function sanitize_option( $value, $option, $raw_value ) {
561
  if ( isset( $option['type'] ) && 'yith-field' === $option['type'] ) {
737
  * @param string $raw_value Raw option value.
738
  *
739
  * @return mixed Filtered return value
 
740
  * @since 3.0.0
741
+ * @author Andrea Grillo <andrea.grillo@yithemes.com>
742
  */
743
  public static function sanitize_onoff_value( $value, $option, $raw_value ) {
744
  if ( isset( $option['type'] ) && in_array( $option['type'], array( 'checkbox', 'onoff' ), true ) ) {
758
  * @param array $yit_options Original options array.
759
  *
760
  * @return mixed|array New options array
 
761
  * @since 3.0.0
762
+ * @author Andrea Grillo <andrea.grillo@yithemes.com>
763
  */
764
  public function check_for_save_single_option( $yit_options ) {
765
  foreach ( $yit_options as $key => $options_list ) {
plugin-fw/includes/class-yit-plugin-panel.php CHANGED
@@ -769,7 +769,7 @@ if ( ! class_exists( 'YIT_Plugin_Panel' ) ) {
769
  * @return bool Whether panel has help tab or no.
770
  */
771
  public function has_help_tab() {
772
- return ! empty( $this->settings['help_tab'] ) && apply_filters( 'yith_plugin_fw_panel_has_help_tab', true, $this ) && ( ! $this->is_free() || ! empty( $this->settings['help_tab']['show_on_free'] ) );
773
  }
774
 
775
 
@@ -792,22 +792,31 @@ if ( ! class_exists( 'YIT_Plugin_Panel' ) ) {
792
  public function print_help_tab() {
793
  $options = isset( $this->settings['help_tab'] ) ? $this->settings['help_tab'] : array();
794
  $plugin_title = isset( $this->settings['plugin_title'] ) ? $this->settings['plugin_title'] : $this->settings['page_title'];
 
 
795
 
796
  if ( 0 !== strpos( $plugin_title, 'YITH' ) ) {
797
  $plugin_title = "YITH {$plugin_title}";
798
  }
799
 
 
 
 
 
 
 
 
 
800
  // parse options.
801
  $options = wp_parse_args(
802
  $options,
803
  array(
804
- // translators: 1. Plugin name.
805
- 'title' => sprintf( _x( 'Thank you for purchasing %s!', 'Help tab default title', 'yith-plugin-fw' ), $plugin_title ),
806
  'description' => _x( 'We want to help you enjoy a wonderful experience with all of our products.', 'Help tab default description', 'yith-plugin-fw' ),
807
  'main_video' => false,
808
  'playlists' => array(),
809
  'hc_url' => 'https://support.yithemes.com/hc/',
810
- 'doc_url' => isset( $this->settings['plugin_slug'] ) ? 'https://docs.yithemes.com/' . $this->settings['plugin_slug'] . '/' : '',
811
  'submit_ticket_url' => 'https://yithemes.com/my-account/support/submit-a-ticket/',
812
  'show_hc_articles' => true,
813
  'show_submit_ticket' => true,
@@ -815,7 +824,7 @@ if ( ! class_exists( 'YIT_Plugin_Panel' ) ) {
815
  );
816
 
817
  // add campaign parameters to url.
818
- if ( isset( $this->settings['plugin_slug'] ) ) {
819
  $utm_medium = $this->settings['plugin_slug'];
820
  $utm_source = yith_plugin_fw_panel_utm_source( $this );
821
  $utm_campaign = 'help-tab';
@@ -834,6 +843,10 @@ if ( ! class_exists( 'YIT_Plugin_Panel' ) ) {
834
  }
835
  }
836
 
 
 
 
 
837
  // set template variables.
838
  $current_tab = $this->get_current_tab();
839
  $current_sub_tab = $this->get_current_sub_tab();
@@ -897,12 +910,14 @@ if ( ! class_exists( 'YIT_Plugin_Panel' ) ) {
897
  * @since 3.9.0
898
  */
899
  protected function print_premium_tab() {
900
- $options = $this->settings['premium_tab'] ?? array();
 
901
 
902
  $defaults = array(
903
  'premium_features' => array(),
904
  'main_image_url' => '',
905
  'show_free_vs_premium_link' => true,
 
906
  );
907
  $options = wp_parse_args( $options, $defaults );
908
 
769
  * @return bool Whether panel has help tab or no.
770
  */
771
  public function has_help_tab() {
772
+ return apply_filters( 'yith_plugin_fw_panel_has_help_tab', ! empty( $this->settings['help_tab'] ) && ( ! $this->is_free() || ! empty( $this->settings['help_tab']['show_on_free'] ) ), $this );
773
  }
774
 
775
 
792
  public function print_help_tab() {
793
  $options = isset( $this->settings['help_tab'] ) ? $this->settings['help_tab'] : array();
794
  $plugin_title = isset( $this->settings['plugin_title'] ) ? $this->settings['plugin_title'] : $this->settings['page_title'];
795
+ $is_extended = $this->is_extended();
796
+ $is_premium = $this->is_premium() || ! $is_extended;
797
 
798
  if ( 0 !== strpos( $plugin_title, 'YITH' ) ) {
799
  $plugin_title = "YITH {$plugin_title}";
800
  }
801
 
802
+ // translators: 1. Plugin name.
803
+ $default_title = $is_premium ? _x( 'Thank you for purchasing %s!', 'Help tab default title', 'yith-plugin-fw' ) : _x( 'Thank you for using %s!', 'Help tab default title', 'yith-plugin-fw' );
804
+ $default_doc_url = '';
805
+
806
+ if ( isset( $this->settings['plugin_slug'] ) ) {
807
+ $default_doc_url = $is_extended ? "https://www.bluehost.com/help/article/{$this->settings['plugin_slug']}/" : "https://docs.yithemes.com/{$this->settings['plugin_slug']}/";
808
+ }
809
+
810
  // parse options.
811
  $options = wp_parse_args(
812
  $options,
813
  array(
814
+ 'title' => sprintf( $default_title, $plugin_title ),
 
815
  'description' => _x( 'We want to help you enjoy a wonderful experience with all of our products.', 'Help tab default description', 'yith-plugin-fw' ),
816
  'main_video' => false,
817
  'playlists' => array(),
818
  'hc_url' => 'https://support.yithemes.com/hc/',
819
+ 'doc_url' => $default_doc_url,
820
  'submit_ticket_url' => 'https://yithemes.com/my-account/support/submit-a-ticket/',
821
  'show_hc_articles' => true,
822
  'show_submit_ticket' => true,
824
  );
825
 
826
  // add campaign parameters to url.
827
+ if ( isset( $this->settings['plugin_slug'] ) && ! $is_extended ) {
828
  $utm_medium = $this->settings['plugin_slug'];
829
  $utm_source = yith_plugin_fw_panel_utm_source( $this );
830
  $utm_campaign = 'help-tab';
843
  }
844
  }
845
 
846
+ if ( $is_extended && $options['show_submit_ticket'] ) {
847
+ $options['submit_ticket_url'] = add_query_arg( array( 'page' => 'bluehost' ), admin_url( 'admin.php' ) ) . '#/help';
848
+ }
849
+
850
  // set template variables.
851
  $current_tab = $this->get_current_tab();
852
  $current_sub_tab = $this->get_current_sub_tab();
910
  * @since 3.9.0
911
  */
912
  protected function print_premium_tab() {
913
+ $options = $this->settings['premium_tab'] ?? array();
914
+ $is_extended = $this->is_extended();
915
 
916
  $defaults = array(
917
  'premium_features' => array(),
918
  'main_image_url' => '',
919
  'show_free_vs_premium_link' => true,
920
+ 'show_premium_landing_link' => $is_extended,
921
  );
922
  $options = wp_parse_args( $options, $defaults );
923
 
plugin-fw/includes/class-yith-bh-onboarding.php ADDED
@@ -0,0 +1,110 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * YITH BH Onboarding Class
4
+ *
5
+ * @class YITH_BH_Onboarding
6
+ * @package YITH\PluginFramework\Classes
7
+ */
8
+
9
+ defined( 'ABSPATH' ) || exit; // Exit if accessed directly.
10
+
11
+ if ( ! class_exists( 'YITH_BH_Onboarding' ) ) {
12
+ /**
13
+ * Main Class
14
+ */
15
+ class YITH_BH_Onboarding {
16
+ /**
17
+ * The single instance of the class.
18
+ *
19
+ * @var self
20
+ */
21
+ protected static $instance = null;
22
+
23
+ /**
24
+ * Get class instance.
25
+ *
26
+ * @return self
27
+ */
28
+ public static function get_instance() {
29
+ return ! is_null( static::$instance ) ? static::$instance : static::$instance = new static();
30
+ }
31
+
32
+ /**
33
+ * Constructor
34
+ */
35
+ protected function __construct() {
36
+ add_action( 'yith_bh_onboarding', array( $this, 'show_onboarding_content' ), 10, 1 );
37
+ add_action( 'wp_ajax_yith_bh_onboarding', array( $this, 'save_options' ) );
38
+ }
39
+
40
+ /**
41
+ * Show onboarding content
42
+ *
43
+ * @param string $slug Slug of current plugin modal.
44
+ */
45
+ public function show_onboarding_content( $slug ) {
46
+
47
+ $options = apply_filters( 'yith_bh_onboarding_' . $slug, array() );
48
+
49
+ if ( empty( $options ) || ! isset( $options['tabs'], $options['slug'] ) ) {
50
+ return;
51
+ }
52
+
53
+ define( 'DOING_YITH_BH_ONBOARDING', true );
54
+
55
+ if ( ! wp_script_is( 'yith-plugin-fw-fields', 'registered' ) || ! wp_style_is( 'yith-plugin-fw-fields', 'registered' ) ) {
56
+ YIT_Assets::instance()->register_styles_and_scripts();
57
+ }
58
+
59
+ if ( isset( $options['enqueue_script'] ) ) {
60
+ foreach ( $options['enqueue_script'] as $handle ) {
61
+ wp_enqueue_script( $handle );
62
+ }
63
+ }
64
+
65
+ if ( isset( $options['enqueue_style'] ) ) {
66
+ foreach ( $options['enqueue_style'] as $handle ) {
67
+ wp_enqueue_style( $handle );
68
+ }
69
+ }
70
+
71
+ wp_enqueue_script( 'yith-bh-onboarding' );
72
+ wp_enqueue_style( 'yith-bh-onboarding' );
73
+
74
+ include YIT_CORE_PLUGIN_TEMPLATE_PATH . '/bh-onboarding/onboarding-tabs.php';
75
+ }
76
+
77
+ /**
78
+ * Save options
79
+ *
80
+ * @return void
81
+ */
82
+ public function save_options() {
83
+ check_ajax_referer( 'yith-bh-onboarding-save-options' );
84
+ if ( ! isset( $_REQUEST['yith-plugin'], $_REQUEST['tab'] ) ) {
85
+ wp_send_json_error( __( 'It is not possible save the options', 'yith-plugin-fw' ) );
86
+ }
87
+
88
+ $slug = sanitize_text_field( wp_unslash( $_REQUEST['yith-plugin'] ) );
89
+ $posted = $_REQUEST;
90
+ // the options are filtered by each plugin.
91
+ $options = apply_filters( 'yith_bh_onboarding_' . $slug, array() );
92
+ $tab = $posted['tab'];
93
+
94
+ if ( apply_filters( 'yith_bh_onboarding_save_options_' . $slug, isset( $options['tabs'][ $tab ]['options'] ), $posted ) ) {
95
+ foreach ( $options['tabs'][ $tab ]['options'] as $single_option ) {
96
+ if ( isset( $posted[ $single_option['id'] ] ) ) {
97
+ $value = $posted[ $single_option['id'] ] ?? false;
98
+ $value = YIT_Plugin_Panel_WooCommerce::sanitize_option( $value, $single_option, $value );
99
+ $value = apply_filters( 'yith_bh_onboarding_save_option_value', $value, $single_option, $slug );
100
+ update_option( $single_option['id'], $value );
101
+ }
102
+ }
103
+ }
104
+
105
+ wp_send_json_success();
106
+ }
107
+ }
108
+ }
109
+
110
+ YITH_BH_Onboarding::get_instance();
plugin-fw/init.php CHANGED
@@ -1,13 +1,13 @@
1
  <?php
2
  /**
3
  * Framework Name: YIT Plugin Framework
4
- * Version: 3.9.8
5
  * Author: YITH
6
  * Text Domain: yith-plugin-fw
7
  * Domain Path: /languages/
8
  *
9
  * @author YITH
10
- * @version 3.9.7
11
  * @package YITH\PluginFramework
12
  */
13
 
1
  <?php
2
  /**
3
  * Framework Name: YIT Plugin Framework
4
+ * Version: 3.9.13
5
  * Author: YITH
6
  * Text Domain: yith-plugin-fw
7
  * Domain Path: /languages/
8
  *
9
  * @author YITH
10
+ * @version 3.9.13
11
  * @package YITH\PluginFramework
12
  */
13
 
plugin-fw/languages/yith-plugin-fw-el.mo CHANGED
Binary file
plugin-fw/languages/yith-plugin-fw-el.po CHANGED
@@ -4,7 +4,7 @@ msgid ""
4
  msgstr ""
5
  "Project-Id-Version: YITH Framework\n"
6
  "Report-Msgid-Bugs-To: YITH <plugins@yithemes.com>\n"
7
- "POT-Creation-Date: 2022-07-06 06:26:03+00:00\n"
8
  "PO-Revision-Date: 2021-02-11 18:07:46+0000\n"
9
  "Language: el_GR\n"
10
  "MIME-Version: 1.0\n"
@@ -13,56 +13,56 @@ msgstr ""
13
  "Plural-Forms: nplurals=2; plural=n != 1;\n"
14
  "X-Generator: GlotPress/3.0.0-alpha.2\n"
15
 
16
- #: includes/class-yit-assets.php:144 yit-functions.php:2006
17
  msgid "Confirm trash"
18
  msgstr ""
19
 
20
- #: includes/class-yit-assets.php:145
21
  msgid "Are you sure you want to trash the selected items?"
22
  msgstr ""
23
 
24
- #: includes/class-yit-assets.php:147 includes/class-yit-assets.php:151
25
  #: templates/sysinfo/tabs/main.php:42 templates/sysinfo/tabs/main.php:50
26
  #: yit-functions.php:2008 yit-functions.php:2026
27
  msgid "No"
28
  msgstr "Όχι"
29
 
30
- #: includes/class-yit-assets.php:148 yit-functions.php:2024
31
  #: yit-functions.php:2152
32
  msgid "Confirm delete"
33
  msgstr ""
34
 
35
- #: includes/class-yit-assets.php:149
36
  msgid "Are you sure you want to delete the selected items?"
37
  msgstr ""
38
 
39
- #: includes/class-yit-assets.php:149 yit-functions.php:1940
40
  #: yit-functions.php:2100
41
  msgid ""
42
  "This action cannot be undone and you will not be able to recover this data."
43
  msgstr ""
44
 
45
- #: includes/class-yit-assets.php:162
46
  msgid "Clear"
47
  msgstr "Καθαρισμός"
48
 
49
- #: includes/class-yit-assets.php:163
50
  msgid "Clear color"
51
  msgstr "Καθαρισμός χρώματος"
52
 
53
- #: includes/class-yit-assets.php:164
54
  msgid "Default"
55
  msgstr "Προεπιλεγμένο"
56
 
57
- #: includes/class-yit-assets.php:165
58
  msgid "Select default color"
59
  msgstr "Επιλογή προεπιλεγμένου χρώματος"
60
 
61
- #: includes/class-yit-assets.php:166
62
  msgid "Select Color"
63
  msgstr "Επιλογή Χρώματος"
64
 
65
- #: includes/class-yit-assets.php:167
66
  msgid "Color value"
67
  msgstr "Αξία χρώματος"
68
 
@@ -113,62 +113,62 @@ msgstr "Είστε σίγουρος;"
113
  msgid "Reset to default"
114
  msgstr "Επαναφορά σε προεπιλεγμένο"
115
 
116
- #: includes/class-yit-plugin-panel.php:1059
117
  msgid ""
118
  "The element you have entered already exists. Please, enter another name."
119
  msgstr "Το στοιχείο που εισάγατε υπάρχει ήδη. Παρακαλώ, εισάγετε άλλο όνομα."
120
 
121
- #: includes/class-yit-plugin-panel.php:1060
122
  msgid "Settings saved"
123
  msgstr "Ρυθμίσεις αποθηκεύτηκαν"
124
 
125
- #: includes/class-yit-plugin-panel.php:1061
126
  msgid "Settings reset"
127
  msgstr "Επαναφορά ρυθμίσεων"
128
 
129
- #: includes/class-yit-plugin-panel.php:1062
130
  msgid "Element deleted correctly."
131
  msgstr "Το στοιχείο διαγράφηκε επιτυχώς."
132
 
133
- #: includes/class-yit-plugin-panel.php:1063
134
- #: includes/class-yit-plugin-panel.php:1064
135
  msgid "Element updated correctly."
136
  msgstr "Το στοιχείο αναβαθμίστηκε επιτυχώς."
137
 
138
- #: includes/class-yit-plugin-panel.php:1065
139
  msgid "Database imported correctly."
140
  msgstr "Επιτυχής εισαγωγή βάσης δεδομένων."
141
 
142
- #: includes/class-yit-plugin-panel.php:1066
143
  msgid "An error has occurred during import. Please try again."
144
  msgstr "Παρουσιάστηκε σφάλμα κατά την εισαγωγή. Παρακαλώ προσπαθήστε ξανά."
145
 
146
- #: includes/class-yit-plugin-panel.php:1067
147
  msgid "The added file is not valid."
148
  msgstr "Το προστιθέμενο αρχείο δεν είναι έγκυρο."
149
 
150
- #: includes/class-yit-plugin-panel.php:1068
151
  msgid "Sorry, import is disabled."
152
  msgstr "Συγνώμη, η εισαγωγή είναι απενεργοποιημένη."
153
 
154
- #: includes/class-yit-plugin-panel.php:1069
155
  msgid "Sorting successful."
156
  msgstr "Διαλογή επιτυχής."
157
 
158
- #: includes/class-yit-plugin-panel.php:1558
159
  msgid "We need your support"
160
  msgstr "Χρειαζόμαστε την υποστήριξή σας"
161
 
162
- #: includes/class-yit-plugin-panel.php:1559
163
  msgid "to keep updating and improving the plugin. Please,"
164
  msgstr ""
165
  "για να διατηρήσετε την ενημέρωση και τη βελτίωση του πρόσθετου. Παρακαλώ,"
166
 
167
- #: includes/class-yit-plugin-panel.php:1561
168
  msgid "help us by leaving a good review"
169
  msgstr ""
170
 
171
- #: includes/class-yit-plugin-panel.php:1562
172
  msgid ":) Thanks!"
173
  msgstr ":) Ευχαριστώ!"
174
 
@@ -200,6 +200,10 @@ msgid ""
200
  "previous location to YITH menu."
201
  msgstr ""
202
 
 
 
 
 
203
  #: includes/class-yith-dashboard.php:35
204
  msgid "YITH Latest Updates"
205
  msgstr "Τελευταίες Αναβαθμίσεις YITH"
@@ -401,6 +405,10 @@ msgstr ""
401
  "εγκατασταθεί λόγω προβλήματος σύνδεσης ανάμεσα στον ιστότοπο σας και τον "
402
  "διακομιστή μας."
403
 
 
 
 
 
404
  #: templates/fields/ajax-customers.php:41
405
  msgid "Search for a customer..."
406
  msgstr ""
@@ -664,17 +672,6 @@ msgstr ""
664
  msgid "Data: %1$.2fMB | Index: %2$.2fMB | Free: %3$.2fMB | Engine: %4$s"
665
  msgstr ""
666
 
667
- #. translators: 1. Plugin(s) name(s).
668
- #: yit-deactive-plugin.php:119
669
- msgid ""
670
- "%s was deactivated as you're running an higher tier version of the same "
671
- "plugin."
672
- msgid_plural ""
673
- "%s were deactivated as you're running higher tier versions of the same "
674
- "plugins."
675
- msgstr[0] ""
676
- msgstr[1] ""
677
-
678
  #. translators: %s is the title of the post object.
679
  #: yit-functions.php:1938
680
  msgid "Are you sure you want to move \"%s\" to trash?"
@@ -689,10 +686,21 @@ msgstr ""
689
  msgid "Further actions"
690
  msgstr ""
691
 
692
- #: yit-plugin.php:213
693
  msgid "License"
694
  msgstr "Άδεια χρήσης προϊόντος"
695
 
 
 
 
 
 
 
 
 
 
 
 
696
  #. Author of the plugin/theme
697
  msgid "YITH"
698
  msgstr "YITH"
@@ -708,45 +716,50 @@ msgctxt "[gutenberg]: Category Name"
708
  msgid "YITH"
709
  msgstr "YITH"
710
 
711
- #: includes/class-yit-assets.php:132
712
  msgctxt "Button text"
713
  msgid "Confirm"
714
  msgstr ""
715
 
716
- #: includes/class-yit-assets.php:133
717
  msgctxt "Button text"
718
  msgid "Cancel"
719
  msgstr ""
720
 
721
- #: includes/class-yit-assets.php:146 yit-functions.php:2009
722
  msgctxt "Trash confirmation action"
723
  msgid "Yes, move to trash"
724
  msgstr ""
725
 
726
- #: includes/class-yit-assets.php:150 yit-functions.php:2027
727
  #: yit-functions.php:2154
728
  msgctxt "Delete confirmation action"
729
  msgid "Yes, delete"
730
  msgstr ""
731
 
732
  #. translators: 1. Plugin name.
733
- #: includes/class-yit-plugin-panel.php:805
734
  msgctxt "Help tab default title"
735
  msgid "Thank you for purchasing %s!"
736
  msgstr ""
737
 
738
- #: includes/class-yit-plugin-panel.php:806
 
 
 
 
 
739
  msgctxt "Help tab default description"
740
  msgid ""
741
  "We want to help you enjoy a wonderful experience with all of our products."
742
  msgstr ""
743
 
744
- #: includes/class-yit-plugin-panel.php:853
745
  msgctxt "Premium tab name"
746
  msgid "Get premium"
747
  msgstr ""
748
 
749
- #: includes/class-yit-plugin-panel.php:865
750
  msgctxt "Help tab name"
751
  msgid "Help"
752
  msgstr ""
@@ -866,64 +879,64 @@ msgid "NO"
866
  msgstr "ΟΧΙ"
867
 
868
  #. translators: 1. Url to EN playlist.
869
- #: templates/panel/help-tab.php:87
870
  msgctxt "Help tab view all video link"
871
  msgid ""
872
  "Check the full <a href=\"%s\" target=\"_blank\">Playlist on Youtube</a> to "
873
  "learn more >"
874
  msgstr ""
875
 
876
- #: templates/panel/help-tab.php:94
877
  msgctxt "Help tab Watch Videotutorials link"
878
  msgid "Videos are also available in:"
879
  msgstr ""
880
 
881
- #: templates/panel/help-tab.php:124
882
  msgctxt "Help tab Read Documentation link"
883
  msgid "Read the documentation"
884
  msgstr ""
885
 
886
- #: templates/panel/help-tab.php:127
887
  msgctxt "Help tab Read Documentation link"
888
  msgid "to learn how the plugin works from the basics."
889
  msgstr ""
890
 
891
- #: templates/panel/help-tab.php:137
892
  msgctxt "Help tab Watch video tutorials link"
893
  msgid "Watch our video tutorials"
894
  msgstr ""
895
 
896
- #: templates/panel/help-tab.php:140
897
  msgctxt "Help tab Watch video tutorials link"
898
  msgid "to see some helpful use cases."
899
  msgstr ""
900
 
901
- #: templates/panel/help-tab.php:150
902
  msgctxt "Help tab view FAQs link"
903
  msgid "Check the FAQs"
904
  msgstr ""
905
 
906
- #: templates/panel/help-tab.php:153
907
  msgctxt "Help tab view FAQs link"
908
  msgid "to find answers to your doubts."
909
  msgstr ""
910
 
911
- #: templates/panel/help-tab.php:169
912
  msgctxt "Help tab FAQ title"
913
  msgid "Last FAQs in our Help Center"
914
  msgstr ""
915
 
916
- #: templates/panel/help-tab.php:183
917
  msgctxt "Help tab FAQ link"
918
  msgid "View all FAQs >"
919
  msgstr ""
920
 
921
- #: templates/panel/help-tab.php:192
922
  msgctxt "Help tab submit ticket title"
923
  msgid "Need help?"
924
  msgstr ""
925
 
926
- #: templates/panel/help-tab.php:195
927
  msgctxt "Help tab submit ticket description"
928
  msgid ""
929
  "If you are experiencing any technical issues, ask for help from our "
@@ -931,11 +944,44 @@ msgid ""
931
  "soon as possible."
932
  msgstr ""
933
 
934
- #: templates/panel/help-tab.php:203
935
  msgctxt "Help tab submit ticket button"
936
  msgid "Submit a ticket"
937
  msgstr ""
938
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
939
  #: templates/panel/premium-tab.php:30
940
  msgctxt "Premium Tab"
941
  msgid "Get the premium version to unlock advanced features"
@@ -952,17 +998,22 @@ msgid "Plugin premium features images"
952
  msgstr ""
953
 
954
  #. translators: alt attribute of main image tag.
955
- #: templates/panel/premium-tab.php:51
956
  msgctxt "Premium Tab"
957
  msgid "And so much more!"
958
  msgstr ""
959
 
960
  #: templates/panel/premium-tab.php:53
961
  msgctxt "Premium Tab"
 
 
 
 
 
962
  msgid "Check the free vs premium features >"
963
  msgstr ""
964
 
965
- #: templates/panel/premium-tab.php:58
966
  msgctxt "Premium Tab"
967
  msgid "Get the premium version"
968
  msgstr ""
@@ -1022,27 +1073,27 @@ msgctxt "Term action"
1022
  msgid "Delete"
1023
  msgstr ""
1024
 
1025
- #: yit-plugin.php:84
1026
  msgctxt "Plugin Row Meta"
1027
  msgid "Live Demo"
1028
  msgstr "Live Demo"
1029
 
1030
- #: yit-plugin.php:88
1031
  msgctxt "Plugin Row Meta"
1032
  msgid "Documentation"
1033
  msgstr "Εγχειρίδιο χρήσης"
1034
 
1035
- #: yit-plugin.php:92
1036
  msgctxt "Plugin Row Meta"
1037
  msgid "Support"
1038
  msgstr "Υποστήριξη"
1039
 
1040
- #: yit-plugin.php:96
1041
  msgctxt "Plugin Row Meta"
1042
  msgid "Premium version"
1043
  msgstr "Premium έκδοση"
1044
 
1045
- #: yit-plugin.php:209
1046
  msgctxt "Action links"
1047
  msgid "Settings"
1048
  msgstr "Ρυθμίσεις"
4
  msgstr ""
5
  "Project-Id-Version: YITH Framework\n"
6
  "Report-Msgid-Bugs-To: YITH <plugins@yithemes.com>\n"
7
+ "POT-Creation-Date: 2022-08-02 12:02:23+00:00\n"
8
  "PO-Revision-Date: 2021-02-11 18:07:46+0000\n"
9
  "Language: el_GR\n"
10
  "MIME-Version: 1.0\n"
13
  "Plural-Forms: nplurals=2; plural=n != 1;\n"
14
  "X-Generator: GlotPress/3.0.0-alpha.2\n"
15
 
16
+ #: includes/class-yit-assets.php:146 yit-functions.php:2006
17
  msgid "Confirm trash"
18
  msgstr ""
19
 
20
+ #: includes/class-yit-assets.php:147
21
  msgid "Are you sure you want to trash the selected items?"
22
  msgstr ""
23
 
24
+ #: includes/class-yit-assets.php:149 includes/class-yit-assets.php:153
25
  #: templates/sysinfo/tabs/main.php:42 templates/sysinfo/tabs/main.php:50
26
  #: yit-functions.php:2008 yit-functions.php:2026
27
  msgid "No"
28
  msgstr "Όχι"
29
 
30
+ #: includes/class-yit-assets.php:150 yit-functions.php:2024
31
  #: yit-functions.php:2152
32
  msgid "Confirm delete"
33
  msgstr ""
34
 
35
+ #: includes/class-yit-assets.php:151
36
  msgid "Are you sure you want to delete the selected items?"
37
  msgstr ""
38
 
39
+ #: includes/class-yit-assets.php:151 yit-functions.php:1940
40
  #: yit-functions.php:2100
41
  msgid ""
42
  "This action cannot be undone and you will not be able to recover this data."
43
  msgstr ""
44
 
45
+ #: includes/class-yit-assets.php:172
46
  msgid "Clear"
47
  msgstr "Καθαρισμός"
48
 
49
+ #: includes/class-yit-assets.php:173
50
  msgid "Clear color"
51
  msgstr "Καθαρισμός χρώματος"
52
 
53
+ #: includes/class-yit-assets.php:174
54
  msgid "Default"
55
  msgstr "Προεπιλεγμένο"
56
 
57
+ #: includes/class-yit-assets.php:175
58
  msgid "Select default color"
59
  msgstr "Επιλογή προεπιλεγμένου χρώματος"
60
 
61
+ #: includes/class-yit-assets.php:176
62
  msgid "Select Color"
63
  msgstr "Επιλογή Χρώματος"
64
 
65
+ #: includes/class-yit-assets.php:177
66
  msgid "Color value"
67
  msgstr "Αξία χρώματος"
68
 
113
  msgid "Reset to default"
114
  msgstr "Επαναφορά σε προεπιλεγμένο"
115
 
116
+ #: includes/class-yit-plugin-panel.php:1074
117
  msgid ""
118
  "The element you have entered already exists. Please, enter another name."
119
  msgstr "Το στοιχείο που εισάγατε υπάρχει ήδη. Παρακαλώ, εισάγετε άλλο όνομα."
120
 
121
+ #: includes/class-yit-plugin-panel.php:1075
122
  msgid "Settings saved"
123
  msgstr "Ρυθμίσεις αποθηκεύτηκαν"
124
 
125
+ #: includes/class-yit-plugin-panel.php:1076
126
  msgid "Settings reset"
127
  msgstr "Επαναφορά ρυθμίσεων"
128
 
129
+ #: includes/class-yit-plugin-panel.php:1077
130
  msgid "Element deleted correctly."
131
  msgstr "Το στοιχείο διαγράφηκε επιτυχώς."
132
 
133
+ #: includes/class-yit-plugin-panel.php:1078
134
+ #: includes/class-yit-plugin-panel.php:1079
135
  msgid "Element updated correctly."
136
  msgstr "Το στοιχείο αναβαθμίστηκε επιτυχώς."
137
 
138
+ #: includes/class-yit-plugin-panel.php:1080
139
  msgid "Database imported correctly."
140
  msgstr "Επιτυχής εισαγωγή βάσης δεδομένων."
141
 
142
+ #: includes/class-yit-plugin-panel.php:1081
143
  msgid "An error has occurred during import. Please try again."
144
  msgstr "Παρουσιάστηκε σφάλμα κατά την εισαγωγή. Παρακαλώ προσπαθήστε ξανά."
145
 
146
+ #: includes/class-yit-plugin-panel.php:1082
147
  msgid "The added file is not valid."
148
  msgstr "Το προστιθέμενο αρχείο δεν είναι έγκυρο."
149
 
150
+ #: includes/class-yit-plugin-panel.php:1083
151
  msgid "Sorry, import is disabled."
152
  msgstr "Συγνώμη, η εισαγωγή είναι απενεργοποιημένη."
153
 
154
+ #: includes/class-yit-plugin-panel.php:1084
155
  msgid "Sorting successful."
156
  msgstr "Διαλογή επιτυχής."
157
 
158
+ #: includes/class-yit-plugin-panel.php:1573
159
  msgid "We need your support"
160
  msgstr "Χρειαζόμαστε την υποστήριξή σας"
161
 
162
+ #: includes/class-yit-plugin-panel.php:1574
163
  msgid "to keep updating and improving the plugin. Please,"
164
  msgstr ""
165
  "για να διατηρήσετε την ενημέρωση και τη βελτίωση του πρόσθετου. Παρακαλώ,"
166
 
167
+ #: includes/class-yit-plugin-panel.php:1576
168
  msgid "help us by leaving a good review"
169
  msgstr ""
170
 
171
+ #: includes/class-yit-plugin-panel.php:1577
172
  msgid ":) Thanks!"
173
  msgstr ":) Ευχαριστώ!"
174
 
200
  "previous location to YITH menu."
201
  msgstr ""
202
 
203
+ #: includes/class-yith-bh-onboarding.php:85
204
+ msgid "It is not possible save the options"
205
+ msgstr ""
206
+
207
  #: includes/class-yith-dashboard.php:35
208
  msgid "YITH Latest Updates"
209
  msgstr "Τελευταίες Αναβαθμίσεις YITH"
405
  "εγκατασταθεί λόγω προβλήματος σύνδεσης ανάμεσα στον ιστότοπο σας και τον "
406
  "διακομιστή μας."
407
 
408
+ #: templates/bh-onboarding/onboarding-tabs.php:63
409
+ msgid "Save"
410
+ msgstr ""
411
+
412
  #: templates/fields/ajax-customers.php:41
413
  msgid "Search for a customer..."
414
  msgstr ""
672
  msgid "Data: %1$.2fMB | Index: %2$.2fMB | Free: %3$.2fMB | Engine: %4$s"
673
  msgstr ""
674
 
 
 
 
 
 
 
 
 
 
 
 
675
  #. translators: %s is the title of the post object.
676
  #: yit-functions.php:1938
677
  msgid "Are you sure you want to move \"%s\" to trash?"
686
  msgid "Further actions"
687
  msgstr ""
688
 
689
+ #: yit-plugin.php:233
690
  msgid "License"
691
  msgstr "Άδεια χρήσης προϊόντος"
692
 
693
+ #. translators: 1. Plugin(s) name(s).
694
+ #: yit-plugin.php:272
695
+ msgid ""
696
+ "%s was deactivated as you're running an higher tier version of the same "
697
+ "plugin."
698
+ msgid_plural ""
699
+ "%s were deactivated as you're running higher tier versions of the same "
700
+ "plugins."
701
+ msgstr[0] ""
702
+ msgstr[1] ""
703
+
704
  #. Author of the plugin/theme
705
  msgid "YITH"
706
  msgstr "YITH"
716
  msgid "YITH"
717
  msgstr "YITH"
718
 
719
+ #: includes/class-yit-assets.php:134
720
  msgctxt "Button text"
721
  msgid "Confirm"
722
  msgstr ""
723
 
724
+ #: includes/class-yit-assets.php:135
725
  msgctxt "Button text"
726
  msgid "Cancel"
727
  msgstr ""
728
 
729
+ #: includes/class-yit-assets.php:148 yit-functions.php:2009
730
  msgctxt "Trash confirmation action"
731
  msgid "Yes, move to trash"
732
  msgstr ""
733
 
734
+ #: includes/class-yit-assets.php:152 yit-functions.php:2027
735
  #: yit-functions.php:2154
736
  msgctxt "Delete confirmation action"
737
  msgid "Yes, delete"
738
  msgstr ""
739
 
740
  #. translators: 1. Plugin name.
741
+ #: includes/class-yit-plugin-panel.php:803
742
  msgctxt "Help tab default title"
743
  msgid "Thank you for purchasing %s!"
744
  msgstr ""
745
 
746
+ #: includes/class-yit-plugin-panel.php:803
747
+ msgctxt "Help tab default title"
748
+ msgid "Thank you for using %s!"
749
+ msgstr ""
750
+
751
+ #: includes/class-yit-plugin-panel.php:815
752
  msgctxt "Help tab default description"
753
  msgid ""
754
  "We want to help you enjoy a wonderful experience with all of our products."
755
  msgstr ""
756
 
757
+ #: includes/class-yit-plugin-panel.php:866
758
  msgctxt "Premium tab name"
759
  msgid "Get premium"
760
  msgstr ""
761
 
762
+ #: includes/class-yit-plugin-panel.php:878
763
  msgctxt "Help tab name"
764
  msgid "Help"
765
  msgstr ""
879
  msgstr "ΟΧΙ"
880
 
881
  #. translators: 1. Url to EN playlist.
882
+ #: templates/panel/help-tab.php:89
883
  msgctxt "Help tab view all video link"
884
  msgid ""
885
  "Check the full <a href=\"%s\" target=\"_blank\">Playlist on Youtube</a> to "
886
  "learn more >"
887
  msgstr ""
888
 
889
+ #: templates/panel/help-tab.php:96
890
  msgctxt "Help tab Watch Videotutorials link"
891
  msgid "Videos are also available in:"
892
  msgstr ""
893
 
894
+ #: templates/panel/help-tab.php:126
895
  msgctxt "Help tab Read Documentation link"
896
  msgid "Read the documentation"
897
  msgstr ""
898
 
899
+ #: templates/panel/help-tab.php:129
900
  msgctxt "Help tab Read Documentation link"
901
  msgid "to learn how the plugin works from the basics."
902
  msgstr ""
903
 
904
+ #: templates/panel/help-tab.php:139
905
  msgctxt "Help tab Watch video tutorials link"
906
  msgid "Watch our video tutorials"
907
  msgstr ""
908
 
909
+ #: templates/panel/help-tab.php:142
910
  msgctxt "Help tab Watch video tutorials link"
911
  msgid "to see some helpful use cases."
912
  msgstr ""
913
 
914
+ #: templates/panel/help-tab.php:152
915
  msgctxt "Help tab view FAQs link"
916
  msgid "Check the FAQs"
917
  msgstr ""
918
 
919
+ #: templates/panel/help-tab.php:155
920
  msgctxt "Help tab view FAQs link"
921
  msgid "to find answers to your doubts."
922
  msgstr ""
923
 
924
+ #: templates/panel/help-tab.php:170
925
  msgctxt "Help tab FAQ title"
926
  msgid "Last FAQs in our Help Center"
927
  msgstr ""
928
 
929
+ #: templates/panel/help-tab.php:184
930
  msgctxt "Help tab FAQ link"
931
  msgid "View all FAQs >"
932
  msgstr ""
933
 
934
+ #: templates/panel/help-tab.php:193
935
  msgctxt "Help tab submit ticket title"
936
  msgid "Need help?"
937
  msgstr ""
938
 
939
+ #: templates/panel/help-tab.php:196
940
  msgctxt "Help tab submit ticket description"
941
  msgid ""
942
  "If you are experiencing any technical issues, ask for help from our "
944
  "soon as possible."
945
  msgstr ""
946
 
947
+ #: templates/panel/help-tab.php:204
948
  msgctxt "Help tab submit ticket button"
949
  msgid "Submit a ticket"
950
  msgstr ""
951
 
952
+ #: templates/panel/help-tab.php:216 templates/panel/help-tab.php:218
953
+ #: templates/panel/help-tab.php:223
954
+ msgctxt "Help tab documentation"
955
+ msgid "Read the plugin documentation"
956
+ msgstr ""
957
+
958
+ #: templates/panel/help-tab.php:220
959
+ msgctxt "Help tab documentation"
960
+ msgid "to learn how it works from the basics."
961
+ msgstr ""
962
+
963
+ #: templates/panel/help-tab.php:231 templates/panel/help-tab.php:233
964
+ msgctxt "Help tab support"
965
+ msgid "Need some help?"
966
+ msgstr ""
967
+
968
+ #: templates/panel/help-tab.php:235
969
+ msgctxt "Help tab support"
970
+ msgid "From DIY to full-service help"
971
+ msgstr ""
972
+
973
+ #: templates/panel/help-tab.php:238
974
+ msgctxt "Help tab support"
975
+ msgid ""
976
+ "Call or chat 24/7 with our support agents, or let our experts build your "
977
+ "site."
978
+ msgstr ""
979
+
980
+ #: templates/panel/help-tab.php:241
981
+ msgctxt "Help tab support"
982
+ msgid "Yes, I need help"
983
+ msgstr ""
984
+
985
  #: templates/panel/premium-tab.php:30
986
  msgctxt "Premium Tab"
987
  msgid "Get the premium version to unlock advanced features"
998
  msgstr ""
999
 
1000
  #. translators: alt attribute of main image tag.
1001
+ #: templates/panel/premium-tab.php:51 templates/panel/premium-tab.php:58
1002
  msgctxt "Premium Tab"
1003
  msgid "And so much more!"
1004
  msgstr ""
1005
 
1006
  #: templates/panel/premium-tab.php:53
1007
  msgctxt "Premium Tab"
1008
+ msgid "Check the premium features >"
1009
+ msgstr ""
1010
+
1011
+ #: templates/panel/premium-tab.php:60
1012
+ msgctxt "Premium Tab"
1013
  msgid "Check the free vs premium features >"
1014
  msgstr ""
1015
 
1016
+ #: templates/panel/premium-tab.php:65
1017
  msgctxt "Premium Tab"
1018
  msgid "Get the premium version"
1019
  msgstr ""
1073
  msgid "Delete"
1074
  msgstr ""
1075
 
1076
+ #: yit-plugin.php:85
1077
  msgctxt "Plugin Row Meta"
1078
  msgid "Live Demo"
1079
  msgstr "Live Demo"
1080
 
1081
+ #: yit-plugin.php:89
1082
  msgctxt "Plugin Row Meta"
1083
  msgid "Documentation"
1084
  msgstr "Εγχειρίδιο χρήσης"
1085
 
1086
+ #: yit-plugin.php:93
1087
  msgctxt "Plugin Row Meta"
1088
  msgid "Support"
1089
  msgstr "Υποστήριξη"
1090
 
1091
+ #: yit-plugin.php:97
1092
  msgctxt "Plugin Row Meta"
1093
  msgid "Premium version"
1094
  msgstr "Premium έκδοση"
1095
 
1096
+ #: yit-plugin.php:229
1097
  msgctxt "Action links"
1098
  msgid "Settings"
1099
  msgstr "Ρυθμίσεις"
plugin-fw/languages/yith-plugin-fw-es_ES.mo CHANGED
Binary file
plugin-fw/languages/yith-plugin-fw-es_ES.po CHANGED
@@ -4,8 +4,8 @@ msgid ""
4
  msgstr ""
5
  "Project-Id-Version: YITH Framework\n"
6
  "Report-Msgid-Bugs-To: YITH <plugins@yithemes.com>\n"
7
- "POT-Creation-Date: 2022-07-06 06:26:03+00:00\n"
8
- "PO-Revision-Date: 2022-03-21 12:58:47+0000\n"
9
  "Language: es\n"
10
  "MIME-Version: 1.0\n"
11
  "Content-Type: text/plain; charset=UTF-8\n"
@@ -13,57 +13,57 @@ msgstr ""
13
  "Plural-Forms: nplurals=2; plural=n != 1;\n"
14
  "X-Generator: GlotPress/3.0.0-alpha.2\n"
15
 
16
- #: includes/class-yit-assets.php:144 yit-functions.php:2006
17
  msgid "Confirm trash"
18
  msgstr "Confirmar el traslado a la papelera"
19
 
20
- #: includes/class-yit-assets.php:145
21
  msgid "Are you sure you want to trash the selected items?"
22
  msgstr ""
23
  "¿Estás seguro de que quieres mover a la papelera los elementos seleccionados?"
24
 
25
- #: includes/class-yit-assets.php:147 includes/class-yit-assets.php:151
26
  #: templates/sysinfo/tabs/main.php:42 templates/sysinfo/tabs/main.php:50
27
  #: yit-functions.php:2008 yit-functions.php:2026
28
  msgid "No"
29
  msgstr "No"
30
 
31
- #: includes/class-yit-assets.php:148 yit-functions.php:2024
32
  #: yit-functions.php:2152
33
  msgid "Confirm delete"
34
  msgstr "Confirmar el borrado"
35
 
36
- #: includes/class-yit-assets.php:149
37
  msgid "Are you sure you want to delete the selected items?"
38
  msgstr "¿Estás seguro de que quieres borrar los elementos seleccionados?"
39
 
40
- #: includes/class-yit-assets.php:149 yit-functions.php:1940
41
  #: yit-functions.php:2100
42
  msgid ""
43
  "This action cannot be undone and you will not be able to recover this data."
44
  msgstr "Esta acción no se puede revertir y no podrá recuperar estos datos."
45
 
46
- #: includes/class-yit-assets.php:162
47
  msgid "Clear"
48
  msgstr "Borrar"
49
 
50
- #: includes/class-yit-assets.php:163
51
  msgid "Clear color"
52
  msgstr "Borrar color"
53
 
54
- #: includes/class-yit-assets.php:164
55
  msgid "Default"
56
  msgstr "Predeterminado"
57
 
58
- #: includes/class-yit-assets.php:165
59
  msgid "Select default color"
60
  msgstr "Seleccionar color predeterminado"
61
 
62
- #: includes/class-yit-assets.php:166
63
  msgid "Select Color"
64
  msgstr "Seleccionar color"
65
 
66
- #: includes/class-yit-assets.php:167
67
  msgid "Color value"
68
  msgstr "Valor del color"
69
 
@@ -114,63 +114,63 @@ msgstr "¿Estás seguro?"
114
  msgid "Reset to default"
115
  msgstr "Restablecer valores predeterminados"
116
 
117
- #: includes/class-yit-plugin-panel.php:1059
118
  msgid ""
119
  "The element you have entered already exists. Please, enter another name."
120
  msgstr ""
121
  "El elemento que has introducido ya existe. Por favor, introduce otro nombre."
122
 
123
- #: includes/class-yit-plugin-panel.php:1060
124
  msgid "Settings saved"
125
  msgstr "Ajustes guardados"
126
 
127
- #: includes/class-yit-plugin-panel.php:1061
128
  msgid "Settings reset"
129
  msgstr "Restablecer ajustes"
130
 
131
- #: includes/class-yit-plugin-panel.php:1062
132
  msgid "Element deleted correctly."
133
  msgstr "Elemento eliminado correctamente."
134
 
135
- #: includes/class-yit-plugin-panel.php:1063
136
- #: includes/class-yit-plugin-panel.php:1064
137
  msgid "Element updated correctly."
138
  msgstr "Elemento actualizado correctamente."
139
 
140
- #: includes/class-yit-plugin-panel.php:1065
141
  msgid "Database imported correctly."
142
  msgstr "Base de datos importada correctamente."
143
 
144
- #: includes/class-yit-plugin-panel.php:1066
145
  msgid "An error has occurred during import. Please try again."
146
  msgstr ""
147
  "Ha ocurrido un error durante la importación. Por favor, inténtalo de nuevo."
148
 
149
- #: includes/class-yit-plugin-panel.php:1067
150
  msgid "The added file is not valid."
151
  msgstr "El archivo añadido no es válido."
152
 
153
- #: includes/class-yit-plugin-panel.php:1068
154
  msgid "Sorry, import is disabled."
155
  msgstr "Lo siento, la importación está desactivada."
156
 
157
- #: includes/class-yit-plugin-panel.php:1069
158
  msgid "Sorting successful."
159
  msgstr "Clasificación realizada con éxito"
160
 
161
- #: includes/class-yit-plugin-panel.php:1558
162
  msgid "We need your support"
163
  msgstr "Necesitamos tu apoyo"
164
 
165
- #: includes/class-yit-plugin-panel.php:1559
166
  msgid "to keep updating and improving the plugin. Please,"
167
  msgstr "para que podamos seguir actualizando y mejorando el plugin. Por favor,"
168
 
169
- #: includes/class-yit-plugin-panel.php:1561
170
  msgid "help us by leaving a good review"
171
  msgstr "ayúdanos dejando una buena valoración"
172
 
173
- #: includes/class-yit-plugin-panel.php:1562
174
  msgid ":) Thanks!"
175
  msgstr ":) ¡Gracias!"
176
 
@@ -211,6 +211,10 @@ msgstr ""
211
  "WooCommerce Ajax Search, etc.) serán movidos de la ubicación previa a la "
212
  "pestaña de YITH plugins."
213
 
 
 
 
 
214
  #: includes/class-yith-dashboard.php:35
215
  msgid "YITH Latest Updates"
216
  msgstr "Últimas actualizaciones de YITH"
@@ -410,6 +414,10 @@ msgstr ""
410
  "La comprobación del sistema no ha podido determinar qué versión de %1$s está "
411
  "instalada debido a un error entre tu sitio y nuestro servidor."
412
 
 
 
 
 
413
  #: templates/fields/ajax-customers.php:41
414
  msgid "Search for a customer..."
415
  msgstr "Buscar un cliente..."
@@ -672,17 +680,6 @@ msgstr "Espacio libre en la base de datos:"
672
  msgid "Data: %1$.2fMB | Index: %2$.2fMB | Free: %3$.2fMB | Engine: %4$s"
673
  msgstr "Datos: %1$.2fMB | Índice: %2$.2fMB | Libre: %3$.2fMB | Motor: %4$s"
674
 
675
- #. translators: 1. Plugin(s) name(s).
676
- #: yit-deactive-plugin.php:119
677
- msgid ""
678
- "%s was deactivated as you're running an higher tier version of the same "
679
- "plugin."
680
- msgid_plural ""
681
- "%s were deactivated as you're running higher tier versions of the same "
682
- "plugins."
683
- msgstr[0] ""
684
- msgstr[1] ""
685
-
686
  #. translators: %s is the title of the post object.
687
  #: yit-functions.php:1938
688
  msgid "Are you sure you want to move \"%s\" to trash?"
@@ -697,10 +694,25 @@ msgstr "¿Estás seguro de que quieres borrar \"%s\"?"
697
  msgid "Further actions"
698
  msgstr "Otras acciones"
699
 
700
- #: yit-plugin.php:213
701
  msgid "License"
702
  msgstr "Licencia"
703
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
704
  #. Author of the plugin/theme
705
  msgid "YITH"
706
  msgstr "YITH"
@@ -716,34 +728,40 @@ msgctxt "[gutenberg]: Category Name"
716
  msgid "YITH"
717
  msgstr "YITH"
718
 
719
- #: includes/class-yit-assets.php:132
720
  msgctxt "Button text"
721
  msgid "Confirm"
722
  msgstr "Confirmar"
723
 
724
- #: includes/class-yit-assets.php:133
725
  msgctxt "Button text"
726
  msgid "Cancel"
727
  msgstr "Cancelar"
728
 
729
- #: includes/class-yit-assets.php:146 yit-functions.php:2009
730
  msgctxt "Trash confirmation action"
731
  msgid "Yes, move to trash"
732
  msgstr "Sí, mover a la papelera"
733
 
734
- #: includes/class-yit-assets.php:150 yit-functions.php:2027
735
  #: yit-functions.php:2154
736
  msgctxt "Delete confirmation action"
737
  msgid "Yes, delete"
738
  msgstr "Si, borrar"
739
 
740
  #. translators: 1. Plugin name.
741
- #: includes/class-yit-plugin-panel.php:805
742
  msgctxt "Help tab default title"
743
  msgid "Thank you for purchasing %s!"
744
  msgstr "¡Gracias por comprar %s!"
745
 
746
- #: includes/class-yit-plugin-panel.php:806
 
 
 
 
 
 
747
  msgctxt "Help tab default description"
748
  msgid ""
749
  "We want to help you enjoy a wonderful experience with all of our products."
@@ -751,12 +769,12 @@ msgstr ""
751
  "Queremos ayudarte a disfrutar de una experiencia maravillosa con todos "
752
  "nuestros productos."
753
 
754
- #: includes/class-yit-plugin-panel.php:853
755
  msgctxt "Premium tab name"
756
  msgid "Get premium"
757
  msgstr "Obtén premium"
758
 
759
- #: includes/class-yit-plugin-panel.php:865
760
  msgctxt "Help tab name"
761
  msgid "Help"
762
  msgstr "Ayuda"
@@ -874,7 +892,7 @@ msgid "NO"
874
  msgstr "NO"
875
 
876
  #. translators: 1. Url to EN playlist.
877
- #: templates/panel/help-tab.php:87
878
  msgctxt "Help tab view all video link"
879
  msgid ""
880
  "Check the full <a href=\"%s\" target=\"_blank\">Playlist on Youtube</a> to "
@@ -883,57 +901,57 @@ msgstr ""
883
  "Consulta la <a href=\"%s\" target=\"_blank\">Lista de reproducción en "
884
  "Youtube</a> para saber más >"
885
 
886
- #: templates/panel/help-tab.php:94
887
  msgctxt "Help tab Watch Videotutorials link"
888
  msgid "Videos are also available in:"
889
  msgstr "Los vídeos también están disponibles en:"
890
 
891
- #: templates/panel/help-tab.php:124
892
  msgctxt "Help tab Read Documentation link"
893
  msgid "Read the documentation"
894
  msgstr "Lee la documentación"
895
 
896
- #: templates/panel/help-tab.php:127
897
  msgctxt "Help tab Read Documentation link"
898
  msgid "to learn how the plugin works from the basics."
899
  msgstr "para aprender cómo funciona el plugin desde lo más básico."
900
 
901
- #: templates/panel/help-tab.php:137
902
  msgctxt "Help tab Watch video tutorials link"
903
  msgid "Watch our video tutorials"
904
  msgstr "Ve nuestros videotutoriales"
905
 
906
- #: templates/panel/help-tab.php:140
907
  msgctxt "Help tab Watch video tutorials link"
908
  msgid "to see some helpful use cases."
909
  msgstr "para ver algunos casos de uso útiles."
910
 
911
- #: templates/panel/help-tab.php:150
912
  msgctxt "Help tab view FAQs link"
913
  msgid "Check the FAQs"
914
  msgstr "Comprueba los FAQ"
915
 
916
- #: templates/panel/help-tab.php:153
917
  msgctxt "Help tab view FAQs link"
918
  msgid "to find answers to your doubts."
919
  msgstr "para encontrar respuestas a tus dudas."
920
 
921
- #: templates/panel/help-tab.php:169
922
  msgctxt "Help tab FAQ title"
923
  msgid "Last FAQs in our Help Center"
924
  msgstr "Últimos FAQs en nuestro Centro de Ayuda"
925
 
926
- #: templates/panel/help-tab.php:183
927
  msgctxt "Help tab FAQ link"
928
  msgid "View all FAQs >"
929
  msgstr "Ver todos los FAQs >"
930
 
931
- #: templates/panel/help-tab.php:192
932
  msgctxt "Help tab submit ticket title"
933
  msgid "Need help?"
934
  msgstr "¿Necesitas ayuda?"
935
 
936
- #: templates/panel/help-tab.php:195
937
  msgctxt "Help tab submit ticket description"
938
  msgid ""
939
  "If you are experiencing any technical issues, ask for help from our "
@@ -944,11 +962,48 @@ msgstr ""
944
  "Envía un ticket a través de nuestro servicio de asistencia y te ayudaremos "
945
  "lo antes posible."
946
 
947
- #: templates/panel/help-tab.php:203
948
  msgctxt "Help tab submit ticket button"
949
  msgid "Submit a ticket"
950
  msgstr "Enviar ticket"
951
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
952
  #: templates/panel/premium-tab.php:30
953
  msgctxt "Premium Tab"
954
  msgid "Get the premium version to unlock advanced features"
@@ -965,17 +1020,23 @@ msgid "Plugin premium features images"
965
  msgstr "Imágenes de la versión premium"
966
 
967
  #. translators: alt attribute of main image tag.
968
- #: templates/panel/premium-tab.php:51
969
  msgctxt "Premium Tab"
970
  msgid "And so much more!"
971
  msgstr "¡Y mucho más!"
972
 
973
  #: templates/panel/premium-tab.php:53
 
 
 
 
 
 
974
  msgctxt "Premium Tab"
975
  msgid "Check the free vs premium features >"
976
  msgstr "Comprueba las características gratuitas frente a las premium >"
977
 
978
- #: templates/panel/premium-tab.php:58
979
  msgctxt "Premium Tab"
980
  msgid "Get the premium version"
981
  msgstr "Obtén la versión Premium"
@@ -1035,27 +1096,27 @@ msgctxt "Term action"
1035
  msgid "Delete"
1036
  msgstr "Borrar"
1037
 
1038
- #: yit-plugin.php:84
1039
  msgctxt "Plugin Row Meta"
1040
  msgid "Live Demo"
1041
  msgstr "Demostración en vivo"
1042
 
1043
- #: yit-plugin.php:88
1044
  msgctxt "Plugin Row Meta"
1045
  msgid "Documentation"
1046
  msgstr "Documentación"
1047
 
1048
- #: yit-plugin.php:92
1049
  msgctxt "Plugin Row Meta"
1050
  msgid "Support"
1051
  msgstr "Soporte"
1052
 
1053
- #: yit-plugin.php:96
1054
  msgctxt "Plugin Row Meta"
1055
  msgid "Premium version"
1056
  msgstr "Versión premium"
1057
 
1058
- #: yit-plugin.php:209
1059
  msgctxt "Action links"
1060
  msgid "Settings"
1061
  msgstr "Ajustes"
4
  msgstr ""
5
  "Project-Id-Version: YITH Framework\n"
6
  "Report-Msgid-Bugs-To: YITH <plugins@yithemes.com>\n"
7
+ "POT-Creation-Date: 2022-08-02 12:02:23+00:00\n"
8
+ "PO-Revision-Date: 2022-07-06 06:44:36+0000\n"
9
  "Language: es\n"
10
  "MIME-Version: 1.0\n"
11
  "Content-Type: text/plain; charset=UTF-8\n"
13
  "Plural-Forms: nplurals=2; plural=n != 1;\n"
14
  "X-Generator: GlotPress/3.0.0-alpha.2\n"
15
 
16
+ #: includes/class-yit-assets.php:146 yit-functions.php:2006
17
  msgid "Confirm trash"
18
  msgstr "Confirmar el traslado a la papelera"
19
 
20
+ #: includes/class-yit-assets.php:147
21
  msgid "Are you sure you want to trash the selected items?"
22
  msgstr ""
23
  "¿Estás seguro de que quieres mover a la papelera los elementos seleccionados?"
24
 
25
+ #: includes/class-yit-assets.php:149 includes/class-yit-assets.php:153
26
  #: templates/sysinfo/tabs/main.php:42 templates/sysinfo/tabs/main.php:50
27
  #: yit-functions.php:2008 yit-functions.php:2026
28
  msgid "No"
29
  msgstr "No"
30
 
31
+ #: includes/class-yit-assets.php:150 yit-functions.php:2024
32
  #: yit-functions.php:2152
33
  msgid "Confirm delete"
34
  msgstr "Confirmar el borrado"
35
 
36
+ #: includes/class-yit-assets.php:151
37
  msgid "Are you sure you want to delete the selected items?"
38
  msgstr "¿Estás seguro de que quieres borrar los elementos seleccionados?"
39
 
40
+ #: includes/class-yit-assets.php:151 yit-functions.php:1940
41
  #: yit-functions.php:2100
42
  msgid ""
43
  "This action cannot be undone and you will not be able to recover this data."
44
  msgstr "Esta acción no se puede revertir y no podrá recuperar estos datos."
45
 
46
+ #: includes/class-yit-assets.php:172
47
  msgid "Clear"
48
  msgstr "Borrar"
49
 
50
+ #: includes/class-yit-assets.php:173
51
  msgid "Clear color"
52
  msgstr "Borrar color"
53
 
54
+ #: includes/class-yit-assets.php:174
55
  msgid "Default"
56
  msgstr "Predeterminado"
57
 
58
+ #: includes/class-yit-assets.php:175
59
  msgid "Select default color"
60
  msgstr "Seleccionar color predeterminado"
61
 
62
+ #: includes/class-yit-assets.php:176
63
  msgid "Select Color"
64
  msgstr "Seleccionar color"
65
 
66
+ #: includes/class-yit-assets.php:177
67
  msgid "Color value"
68
  msgstr "Valor del color"
69
 
114
  msgid "Reset to default"
115
  msgstr "Restablecer valores predeterminados"
116
 
117
+ #: includes/class-yit-plugin-panel.php:1074
118
  msgid ""
119
  "The element you have entered already exists. Please, enter another name."
120
  msgstr ""
121
  "El elemento que has introducido ya existe. Por favor, introduce otro nombre."
122
 
123
+ #: includes/class-yit-plugin-panel.php:1075
124
  msgid "Settings saved"
125
  msgstr "Ajustes guardados"
126
 
127
+ #: includes/class-yit-plugin-panel.php:1076
128
  msgid "Settings reset"
129
  msgstr "Restablecer ajustes"
130
 
131
+ #: includes/class-yit-plugin-panel.php:1077
132
  msgid "Element deleted correctly."
133
  msgstr "Elemento eliminado correctamente."
134
 
135
+ #: includes/class-yit-plugin-panel.php:1078
136
+ #: includes/class-yit-plugin-panel.php:1079
137
  msgid "Element updated correctly."
138
  msgstr "Elemento actualizado correctamente."
139
 
140
+ #: includes/class-yit-plugin-panel.php:1080
141
  msgid "Database imported correctly."
142
  msgstr "Base de datos importada correctamente."
143
 
144
+ #: includes/class-yit-plugin-panel.php:1081
145
  msgid "An error has occurred during import. Please try again."
146
  msgstr ""
147
  "Ha ocurrido un error durante la importación. Por favor, inténtalo de nuevo."
148
 
149
+ #: includes/class-yit-plugin-panel.php:1082
150
  msgid "The added file is not valid."
151
  msgstr "El archivo añadido no es válido."
152
 
153
+ #: includes/class-yit-plugin-panel.php:1083
154
  msgid "Sorry, import is disabled."
155
  msgstr "Lo siento, la importación está desactivada."
156
 
157
+ #: includes/class-yit-plugin-panel.php:1084
158
  msgid "Sorting successful."
159
  msgstr "Clasificación realizada con éxito"
160
 
161
+ #: includes/class-yit-plugin-panel.php:1573
162
  msgid "We need your support"
163
  msgstr "Necesitamos tu apoyo"
164
 
165
+ #: includes/class-yit-plugin-panel.php:1574
166
  msgid "to keep updating and improving the plugin. Please,"
167
  msgstr "para que podamos seguir actualizando y mejorando el plugin. Por favor,"
168
 
169
+ #: includes/class-yit-plugin-panel.php:1576
170
  msgid "help us by leaving a good review"
171
  msgstr "ayúdanos dejando una buena valoración"
172
 
173
+ #: includes/class-yit-plugin-panel.php:1577
174
  msgid ":) Thanks!"
175
  msgstr ":) ¡Gracias!"
176
 
211
  "WooCommerce Ajax Search, etc.) serán movidos de la ubicación previa a la "
212
  "pestaña de YITH plugins."
213
 
214
+ #: includes/class-yith-bh-onboarding.php:85
215
+ msgid "It is not possible save the options"
216
+ msgstr ""
217
+
218
  #: includes/class-yith-dashboard.php:35
219
  msgid "YITH Latest Updates"
220
  msgstr "Últimas actualizaciones de YITH"
414
  "La comprobación del sistema no ha podido determinar qué versión de %1$s está "
415
  "instalada debido a un error entre tu sitio y nuestro servidor."
416
 
417
+ #: templates/bh-onboarding/onboarding-tabs.php:63
418
+ msgid "Save"
419
+ msgstr ""
420
+
421
  #: templates/fields/ajax-customers.php:41
422
  msgid "Search for a customer..."
423
  msgstr "Buscar un cliente..."
680
  msgid "Data: %1$.2fMB | Index: %2$.2fMB | Free: %3$.2fMB | Engine: %4$s"
681
  msgstr "Datos: %1$.2fMB | Índice: %2$.2fMB | Libre: %3$.2fMB | Motor: %4$s"
682
 
 
 
 
 
 
 
 
 
 
 
 
683
  #. translators: %s is the title of the post object.
684
  #: yit-functions.php:1938
685
  msgid "Are you sure you want to move \"%s\" to trash?"
694
  msgid "Further actions"
695
  msgstr "Otras acciones"
696
 
697
+ #: yit-plugin.php:233
698
  msgid "License"
699
  msgstr "Licencia"
700
 
701
+ #. translators: 1. Plugin(s) name(s).
702
+ #: yit-plugin.php:272
703
+ msgid ""
704
+ "%s was deactivated as you're running an higher tier version of the same "
705
+ "plugin."
706
+ msgid_plural ""
707
+ "%s were deactivated as you're running higher tier versions of the same "
708
+ "plugins."
709
+ msgstr[0] ""
710
+ "%s fue desactivado ya que estás ejecutando una versión superior del mismo "
711
+ "plugin."
712
+ msgstr[1] ""
713
+ "%s fueron desactivados ya que estás ejecutando una versión superior de los "
714
+ "mismos plugins."
715
+
716
  #. Author of the plugin/theme
717
  msgid "YITH"
718
  msgstr "YITH"
728
  msgid "YITH"
729
  msgstr "YITH"
730
 
731
+ #: includes/class-yit-assets.php:134
732
  msgctxt "Button text"
733
  msgid "Confirm"
734
  msgstr "Confirmar"
735
 
736
+ #: includes/class-yit-assets.php:135
737
  msgctxt "Button text"
738
  msgid "Cancel"
739
  msgstr "Cancelar"
740
 
741
+ #: includes/class-yit-assets.php:148 yit-functions.php:2009
742
  msgctxt "Trash confirmation action"
743
  msgid "Yes, move to trash"
744
  msgstr "Sí, mover a la papelera"
745
 
746
+ #: includes/class-yit-assets.php:152 yit-functions.php:2027
747
  #: yit-functions.php:2154
748
  msgctxt "Delete confirmation action"
749
  msgid "Yes, delete"
750
  msgstr "Si, borrar"
751
 
752
  #. translators: 1. Plugin name.
753
+ #: includes/class-yit-plugin-panel.php:803
754
  msgctxt "Help tab default title"
755
  msgid "Thank you for purchasing %s!"
756
  msgstr "¡Gracias por comprar %s!"
757
 
758
+ #: includes/class-yit-plugin-panel.php:803
759
+ #, fuzzy
760
+ msgctxt "Help tab default title"
761
+ msgid "Thank you for using %s!"
762
+ msgstr "¡Gracias por comprar %s!"
763
+
764
+ #: includes/class-yit-plugin-panel.php:815
765
  msgctxt "Help tab default description"
766
  msgid ""
767
  "We want to help you enjoy a wonderful experience with all of our products."
769
  "Queremos ayudarte a disfrutar de una experiencia maravillosa con todos "
770
  "nuestros productos."
771
 
772
+ #: includes/class-yit-plugin-panel.php:866
773
  msgctxt "Premium tab name"
774
  msgid "Get premium"
775
  msgstr "Obtén premium"
776
 
777
+ #: includes/class-yit-plugin-panel.php:878
778
  msgctxt "Help tab name"
779
  msgid "Help"
780
  msgstr "Ayuda"
892
  msgstr "NO"
893
 
894
  #. translators: 1. Url to EN playlist.
895
+ #: templates/panel/help-tab.php:89
896
  msgctxt "Help tab view all video link"
897
  msgid ""
898
  "Check the full <a href=\"%s\" target=\"_blank\">Playlist on Youtube</a> to "
901
  "Consulta la <a href=\"%s\" target=\"_blank\">Lista de reproducción en "
902
  "Youtube</a> para saber más >"
903
 
904
+ #: templates/panel/help-tab.php:96
905
  msgctxt "Help tab Watch Videotutorials link"
906
  msgid "Videos are also available in:"
907
  msgstr "Los vídeos también están disponibles en:"
908
 
909
+ #: templates/panel/help-tab.php:126
910
  msgctxt "Help tab Read Documentation link"
911
  msgid "Read the documentation"
912
  msgstr "Lee la documentación"
913
 
914
+ #: templates/panel/help-tab.php:129
915
  msgctxt "Help tab Read Documentation link"
916
  msgid "to learn how the plugin works from the basics."
917
  msgstr "para aprender cómo funciona el plugin desde lo más básico."
918
 
919
+ #: templates/panel/help-tab.php:139
920
  msgctxt "Help tab Watch video tutorials link"
921
  msgid "Watch our video tutorials"
922
  msgstr "Ve nuestros videotutoriales"
923
 
924
+ #: templates/panel/help-tab.php:142
925
  msgctxt "Help tab Watch video tutorials link"
926
  msgid "to see some helpful use cases."
927
  msgstr "para ver algunos casos de uso útiles."
928
 
929
+ #: templates/panel/help-tab.php:152
930
  msgctxt "Help tab view FAQs link"
931
  msgid "Check the FAQs"
932
  msgstr "Comprueba los FAQ"
933
 
934
+ #: templates/panel/help-tab.php:155
935
  msgctxt "Help tab view FAQs link"
936
  msgid "to find answers to your doubts."
937
  msgstr "para encontrar respuestas a tus dudas."
938
 
939
+ #: templates/panel/help-tab.php:170
940
  msgctxt "Help tab FAQ title"
941
  msgid "Last FAQs in our Help Center"
942
  msgstr "Últimos FAQs en nuestro Centro de Ayuda"
943
 
944
+ #: templates/panel/help-tab.php:184
945
  msgctxt "Help tab FAQ link"
946
  msgid "View all FAQs >"
947
  msgstr "Ver todos los FAQs >"
948
 
949
+ #: templates/panel/help-tab.php:193
950
  msgctxt "Help tab submit ticket title"
951
  msgid "Need help?"
952
  msgstr "¿Necesitas ayuda?"
953
 
954
+ #: templates/panel/help-tab.php:196
955
  msgctxt "Help tab submit ticket description"
956
  msgid ""
957
  "If you are experiencing any technical issues, ask for help from our "
962
  "Envía un ticket a través de nuestro servicio de asistencia y te ayudaremos "
963
  "lo antes posible."
964
 
965
+ #: templates/panel/help-tab.php:204
966
  msgctxt "Help tab submit ticket button"
967
  msgid "Submit a ticket"
968
  msgstr "Enviar ticket"
969
 
970
+ #: templates/panel/help-tab.php:216 templates/panel/help-tab.php:218
971
+ #: templates/panel/help-tab.php:223
972
+ #, fuzzy
973
+ msgctxt "Help tab documentation"
974
+ msgid "Read the plugin documentation"
975
+ msgstr "Lee la documentación"
976
+
977
+ #: templates/panel/help-tab.php:220
978
+ #, fuzzy
979
+ msgctxt "Help tab documentation"
980
+ msgid "to learn how it works from the basics."
981
+ msgstr "para aprender cómo funciona el plugin desde lo más básico."
982
+
983
+ #: templates/panel/help-tab.php:231 templates/panel/help-tab.php:233
984
+ #, fuzzy
985
+ msgctxt "Help tab support"
986
+ msgid "Need some help?"
987
+ msgstr "¿Necesitas ayuda?"
988
+
989
+ #: templates/panel/help-tab.php:235
990
+ msgctxt "Help tab support"
991
+ msgid "From DIY to full-service help"
992
+ msgstr ""
993
+
994
+ #: templates/panel/help-tab.php:238
995
+ msgctxt "Help tab support"
996
+ msgid ""
997
+ "Call or chat 24/7 with our support agents, or let our experts build your "
998
+ "site."
999
+ msgstr ""
1000
+
1001
+ #: templates/panel/help-tab.php:241
1002
+ #, fuzzy
1003
+ msgctxt "Help tab support"
1004
+ msgid "Yes, I need help"
1005
+ msgstr "¿Necesitas ayuda?"
1006
+
1007
  #: templates/panel/premium-tab.php:30
1008
  msgctxt "Premium Tab"
1009
  msgid "Get the premium version to unlock advanced features"
1020
  msgstr "Imágenes de la versión premium"
1021
 
1022
  #. translators: alt attribute of main image tag.
1023
+ #: templates/panel/premium-tab.php:51 templates/panel/premium-tab.php:58
1024
  msgctxt "Premium Tab"
1025
  msgid "And so much more!"
1026
  msgstr "¡Y mucho más!"
1027
 
1028
  #: templates/panel/premium-tab.php:53
1029
+ #, fuzzy
1030
+ msgctxt "Premium Tab"
1031
+ msgid "Check the premium features >"
1032
+ msgstr "Comprueba las características gratuitas frente a las premium >"
1033
+
1034
+ #: templates/panel/premium-tab.php:60
1035
  msgctxt "Premium Tab"
1036
  msgid "Check the free vs premium features >"
1037
  msgstr "Comprueba las características gratuitas frente a las premium >"
1038
 
1039
+ #: templates/panel/premium-tab.php:65
1040
  msgctxt "Premium Tab"
1041
  msgid "Get the premium version"
1042
  msgstr "Obtén la versión Premium"
1096
  msgid "Delete"
1097
  msgstr "Borrar"
1098
 
1099
+ #: yit-plugin.php:85
1100
  msgctxt "Plugin Row Meta"
1101
  msgid "Live Demo"
1102
  msgstr "Demostración en vivo"
1103
 
1104
+ #: yit-plugin.php:89
1105
  msgctxt "Plugin Row Meta"
1106
  msgid "Documentation"
1107
  msgstr "Documentación"
1108
 
1109
+ #: yit-plugin.php:93
1110
  msgctxt "Plugin Row Meta"
1111
  msgid "Support"
1112
  msgstr "Soporte"
1113
 
1114
+ #: yit-plugin.php:97
1115
  msgctxt "Plugin Row Meta"
1116
  msgid "Premium version"
1117
  msgstr "Versión premium"
1118
 
1119
+ #: yit-plugin.php:229
1120
  msgctxt "Action links"
1121
  msgid "Settings"
1122
  msgstr "Ajustes"
plugin-fw/languages/yith-plugin-fw-it_IT.mo CHANGED
Binary file
plugin-fw/languages/yith-plugin-fw-it_IT.po CHANGED
@@ -4,8 +4,8 @@ msgid ""
4
  msgstr ""
5
  "Project-Id-Version: YITH Framework\n"
6
  "Report-Msgid-Bugs-To: YITH <plugins@yithemes.com>\n"
7
- "POT-Creation-Date: 2022-07-06 06:26:03+00:00\n"
8
- "PO-Revision-Date: 2022-03-21 13:01:47+0000\n"
9
  "Language: it\n"
10
  "MIME-Version: 1.0\n"
11
  "Content-Type: text/plain; charset=UTF-8\n"
@@ -13,30 +13,30 @@ msgstr ""
13
  "Plural-Forms: nplurals=2; plural=n != 1;\n"
14
  "X-Generator: GlotPress/3.0.0-alpha.2\n"
15
 
16
- #: includes/class-yit-assets.php:144 yit-functions.php:2006
17
  msgid "Confirm trash"
18
  msgstr "Conferma eliminazione"
19
 
20
- #: includes/class-yit-assets.php:145
21
  msgid "Are you sure you want to trash the selected items?"
22
  msgstr "Se sicuro di voler spostare nel cestino gli elementi selezionati?"
23
 
24
- #: includes/class-yit-assets.php:147 includes/class-yit-assets.php:151
25
  #: templates/sysinfo/tabs/main.php:42 templates/sysinfo/tabs/main.php:50
26
  #: yit-functions.php:2008 yit-functions.php:2026
27
  msgid "No"
28
  msgstr "No"
29
 
30
- #: includes/class-yit-assets.php:148 yit-functions.php:2024
31
  #: yit-functions.php:2152
32
  msgid "Confirm delete"
33
  msgstr "Conferma eliminazione"
34
 
35
- #: includes/class-yit-assets.php:149
36
  msgid "Are you sure you want to delete the selected items?"
37
  msgstr "Se sicuro di voler eliminare gli elementi selezionati?"
38
 
39
- #: includes/class-yit-assets.php:149 yit-functions.php:1940
40
  #: yit-functions.php:2100
41
  msgid ""
42
  "This action cannot be undone and you will not be able to recover this data."
@@ -44,27 +44,27 @@ msgstr ""
44
  "Quest'azione non può essere annullata e non sarà possibile recuperare questi "
45
  "dati."
46
 
47
- #: includes/class-yit-assets.php:162
48
  msgid "Clear"
49
  msgstr "Rimuovi"
50
 
51
- #: includes/class-yit-assets.php:163
52
  msgid "Clear color"
53
  msgstr "Rimuovi colore"
54
 
55
- #: includes/class-yit-assets.php:164
56
  msgid "Default"
57
  msgstr "Predefinito"
58
 
59
- #: includes/class-yit-assets.php:165
60
  msgid "Select default color"
61
  msgstr "Seleziona il colore predefinito"
62
 
63
- #: includes/class-yit-assets.php:166
64
  msgid "Select Color"
65
  msgstr "Seleziona il colore"
66
 
67
- #: includes/class-yit-assets.php:167
68
  msgid "Color value"
69
  msgstr "Valore del colore"
70
 
@@ -114,61 +114,61 @@ msgstr "Sei sicuro?"
114
  msgid "Reset to default"
115
  msgstr "Ripristina configurazione predefinita"
116
 
117
- #: includes/class-yit-plugin-panel.php:1059
118
  msgid ""
119
  "The element you have entered already exists. Please, enter another name."
120
  msgstr "L'elemento inserito esiste già. Per favore, inserisci un altro nome."
121
 
122
- #: includes/class-yit-plugin-panel.php:1060
123
  msgid "Settings saved"
124
  msgstr "Impostazioni salvate"
125
 
126
- #: includes/class-yit-plugin-panel.php:1061
127
  msgid "Settings reset"
128
  msgstr "Impostazioni azzerate"
129
 
130
- #: includes/class-yit-plugin-panel.php:1062
131
  msgid "Element deleted correctly."
132
  msgstr "Elemento rimosso correttamente."
133
 
134
- #: includes/class-yit-plugin-panel.php:1063
135
- #: includes/class-yit-plugin-panel.php:1064
136
  msgid "Element updated correctly."
137
  msgstr "Elemento aggiornato correttamente."
138
 
139
- #: includes/class-yit-plugin-panel.php:1065
140
  msgid "Database imported correctly."
141
  msgstr "Database importato correttamente."
142
 
143
- #: includes/class-yit-plugin-panel.php:1066
144
  msgid "An error has occurred during import. Please try again."
145
  msgstr "Si è verificato un errore durante l'importazione. Prova di nuovo."
146
 
147
- #: includes/class-yit-plugin-panel.php:1067
148
  msgid "The added file is not valid."
149
  msgstr "Il file aggiunto non è valido."
150
 
151
- #: includes/class-yit-plugin-panel.php:1068
152
  msgid "Sorry, import is disabled."
153
  msgstr "Ci dispiace, l'importazione è disabilitata."
154
 
155
- #: includes/class-yit-plugin-panel.php:1069
156
  msgid "Sorting successful."
157
  msgstr "Ordinamento effettuato con successo."
158
 
159
- #: includes/class-yit-plugin-panel.php:1558
160
  msgid "We need your support"
161
  msgstr "Abbiamo bisogno del tuo sostegno"
162
 
163
- #: includes/class-yit-plugin-panel.php:1559
164
  msgid "to keep updating and improving the plugin. Please,"
165
  msgstr "per poter continuare ad aggiornare e migliorare il plugin."
166
 
167
- #: includes/class-yit-plugin-panel.php:1561
168
  msgid "help us by leaving a good review"
169
  msgstr "Puoi darci una mano lasciando una recensione positiva"
170
 
171
- #: includes/class-yit-plugin-panel.php:1562
172
  msgid ":) Thanks!"
173
  msgstr ":) Grazie!"
174
 
@@ -208,6 +208,10 @@ msgstr ""
208
  "(come per YITH WooCommerce Wishlist, YITH WooCommerce Ajax Search, etc.) "
209
  "saranno spostate dalla posizione precedente al menù YITH."
210
 
 
 
 
 
211
  #: includes/class-yith-dashboard.php:35
212
  msgid "YITH Latest Updates"
213
  msgstr "Ultimi aggiornamenti da YITH"
@@ -408,6 +412,10 @@ msgstr ""
408
  "Non ci è stato possibile determinare quale versione di %1$s è installata a "
409
  "causa di un problema di connessione fra il tuo sito e il nostro server."
410
 
 
 
 
 
411
  #: templates/fields/ajax-customers.php:41
412
  msgid "Search for a customer..."
413
  msgstr "Cerca un cliente..."
@@ -672,17 +680,6 @@ msgstr "Dimensione spazio libero database"
672
  msgid "Data: %1$.2fMB | Index: %2$.2fMB | Free: %3$.2fMB | Engine: %4$s"
673
  msgstr "Dati: %1$.2fMB | Indice: %2$.2fMB | Libero: %3$.2fMB | Engine: %4$s"
674
 
675
- #. translators: 1. Plugin(s) name(s).
676
- #: yit-deactive-plugin.php:119
677
- msgid ""
678
- "%s was deactivated as you're running an higher tier version of the same "
679
- "plugin."
680
- msgid_plural ""
681
- "%s were deactivated as you're running higher tier versions of the same "
682
- "plugins."
683
- msgstr[0] ""
684
- msgstr[1] ""
685
-
686
  #. translators: %s is the title of the post object.
687
  #: yit-functions.php:1938
688
  msgid "Are you sure you want to move \"%s\" to trash?"
@@ -697,10 +694,25 @@ msgstr "Sei sicuro di voler eliminare \"%s\"?"
697
  msgid "Further actions"
698
  msgstr "Altre azioni"
699
 
700
- #: yit-plugin.php:213
701
  msgid "License"
702
  msgstr "Chiave di licenza"
703
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
704
  #. Author of the plugin/theme
705
  msgid "YITH"
706
  msgstr "YITH"
@@ -716,34 +728,40 @@ msgctxt "[gutenberg]: Category Name"
716
  msgid "YITH"
717
  msgstr "YITH"
718
 
719
- #: includes/class-yit-assets.php:132
720
  msgctxt "Button text"
721
  msgid "Confirm"
722
  msgstr "Conferma"
723
 
724
- #: includes/class-yit-assets.php:133
725
  msgctxt "Button text"
726
  msgid "Cancel"
727
  msgstr "Annulla"
728
 
729
- #: includes/class-yit-assets.php:146 yit-functions.php:2009
730
  msgctxt "Trash confirmation action"
731
  msgid "Yes, move to trash"
732
  msgstr "Sì, sposta nel cestino"
733
 
734
- #: includes/class-yit-assets.php:150 yit-functions.php:2027
735
  #: yit-functions.php:2154
736
  msgctxt "Delete confirmation action"
737
  msgid "Yes, delete"
738
  msgstr "Sì, elimina"
739
 
740
  #. translators: 1. Plugin name.
741
- #: includes/class-yit-plugin-panel.php:805
742
  msgctxt "Help tab default title"
743
  msgid "Thank you for purchasing %s!"
744
  msgstr "Grazie per aver acquistato %s!"
745
 
746
- #: includes/class-yit-plugin-panel.php:806
 
 
 
 
 
 
747
  msgctxt "Help tab default description"
748
  msgid ""
749
  "We want to help you enjoy a wonderful experience with all of our products."
@@ -751,12 +769,12 @@ msgstr ""
751
  "Vogliamo aiutarti ad avere un'esperienza fantastica con tutti i nostri "
752
  "prodotti."
753
 
754
- #: includes/class-yit-plugin-panel.php:853
755
  msgctxt "Premium tab name"
756
  msgid "Get premium"
757
  msgstr "Diventa premium"
758
 
759
- #: includes/class-yit-plugin-panel.php:865
760
  msgctxt "Help tab name"
761
  msgid "Help"
762
  msgstr "Help"
@@ -875,7 +893,7 @@ msgid "NO"
875
  msgstr "NO"
876
 
877
  #. translators: 1. Url to EN playlist.
878
- #: templates/panel/help-tab.php:87
879
  msgctxt "Help tab view all video link"
880
  msgid ""
881
  "Check the full <a href=\"%s\" target=\"_blank\">Playlist on Youtube</a> to "
@@ -884,57 +902,57 @@ msgstr ""
884
  "Per saperne di più, vedi la <a href=\"%s\" target=\"_blank\">Playlist "
885
  "completa su Youtube</a>>"
886
 
887
- #: templates/panel/help-tab.php:94
888
  msgctxt "Help tab Watch Videotutorials link"
889
  msgid "Videos are also available in:"
890
  msgstr "I video sono disponibili anche in:"
891
 
892
- #: templates/panel/help-tab.php:124
893
  msgctxt "Help tab Read Documentation link"
894
  msgid "Read the documentation"
895
  msgstr "Consulta la documentazione"
896
 
897
- #: templates/panel/help-tab.php:127
898
  msgctxt "Help tab Read Documentation link"
899
  msgid "to learn how the plugin works from the basics."
900
  msgstr "per scoprire dalle basi come funziona il plugin."
901
 
902
- #: templates/panel/help-tab.php:137
903
  msgctxt "Help tab Watch video tutorials link"
904
  msgid "Watch our video tutorials"
905
  msgstr "Guarda i nostri video tutorial"
906
 
907
- #: templates/panel/help-tab.php:140
908
  msgctxt "Help tab Watch video tutorials link"
909
  msgid "to see some helpful use cases."
910
  msgstr "per vedere dei casi d'utilizzo utili."
911
 
912
- #: templates/panel/help-tab.php:150
913
  msgctxt "Help tab view FAQs link"
914
  msgid "Check the FAQs"
915
  msgstr "Controlla le FAQ"
916
 
917
- #: templates/panel/help-tab.php:153
918
  msgctxt "Help tab view FAQs link"
919
  msgid "to find answers to your doubts."
920
  msgstr "per trovare le risposte ai tuoi dubbi."
921
 
922
- #: templates/panel/help-tab.php:169
923
  msgctxt "Help tab FAQ title"
924
  msgid "Last FAQs in our Help Center"
925
  msgstr "Ultime FAQ nel nostro Centro Assistenza"
926
 
927
- #: templates/panel/help-tab.php:183
928
  msgctxt "Help tab FAQ link"
929
  msgid "View all FAQs >"
930
  msgstr "Vedi tutte le FAQ"
931
 
932
- #: templates/panel/help-tab.php:192
933
  msgctxt "Help tab submit ticket title"
934
  msgid "Need help?"
935
  msgstr "Ti serve aiuto?"
936
 
937
- #: templates/panel/help-tab.php:195
938
  msgctxt "Help tab submit ticket description"
939
  msgid ""
940
  "If you are experiencing any technical issues, ask for help from our "
@@ -945,11 +963,48 @@ msgstr ""
945
  "Invia un ticket dalla nostra piattaforma di supporto e ti daremo assistenza "
946
  "il più presto possibile."
947
 
948
- #: templates/panel/help-tab.php:203
949
  msgctxt "Help tab submit ticket button"
950
  msgid "Submit a ticket"
951
  msgstr "Invia un ticket"
952
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
953
  #: templates/panel/premium-tab.php:30
954
  msgctxt "Premium Tab"
955
  msgid "Get the premium version to unlock advanced features"
@@ -966,17 +1021,23 @@ msgid "Plugin premium features images"
966
  msgstr "Immagini funzionalità premium"
967
 
968
  #. translators: alt attribute of main image tag.
969
- #: templates/panel/premium-tab.php:51
970
  msgctxt "Premium Tab"
971
  msgid "And so much more!"
972
  msgstr "E molto altro!"
973
 
974
  #: templates/panel/premium-tab.php:53
 
 
 
 
 
 
975
  msgctxt "Premium Tab"
976
  msgid "Check the free vs premium features >"
977
  msgstr "Confronta le funzionalità gratuite e premium >"
978
 
979
- #: templates/panel/premium-tab.php:58
980
  msgctxt "Premium Tab"
981
  msgid "Get the premium version"
982
  msgstr "Ottieni la versione premium"
@@ -1036,27 +1097,27 @@ msgctxt "Term action"
1036
  msgid "Delete"
1037
  msgstr "Elimina"
1038
 
1039
- #: yit-plugin.php:84
1040
  msgctxt "Plugin Row Meta"
1041
  msgid "Live Demo"
1042
  msgstr "Live Demo"
1043
 
1044
- #: yit-plugin.php:88
1045
  msgctxt "Plugin Row Meta"
1046
  msgid "Documentation"
1047
  msgstr "Documentazione"
1048
 
1049
- #: yit-plugin.php:92
1050
  msgctxt "Plugin Row Meta"
1051
  msgid "Support"
1052
  msgstr "Assistenza"
1053
 
1054
- #: yit-plugin.php:96
1055
  msgctxt "Plugin Row Meta"
1056
  msgid "Premium version"
1057
  msgstr "Versione premium"
1058
 
1059
- #: yit-plugin.php:209
1060
  msgctxt "Action links"
1061
  msgid "Settings"
1062
  msgstr "Impostazioni"
4
  msgstr ""
5
  "Project-Id-Version: YITH Framework\n"
6
  "Report-Msgid-Bugs-To: YITH <plugins@yithemes.com>\n"
7
+ "POT-Creation-Date: 2022-08-02 12:02:23+00:00\n"
8
+ "PO-Revision-Date: 2022-07-06 07:17:32+0000\n"
9
  "Language: it\n"
10
  "MIME-Version: 1.0\n"
11
  "Content-Type: text/plain; charset=UTF-8\n"
13
  "Plural-Forms: nplurals=2; plural=n != 1;\n"
14
  "X-Generator: GlotPress/3.0.0-alpha.2\n"
15
 
16
+ #: includes/class-yit-assets.php:146 yit-functions.php:2006
17
  msgid "Confirm trash"
18
  msgstr "Conferma eliminazione"
19
 
20
+ #: includes/class-yit-assets.php:147
21
  msgid "Are you sure you want to trash the selected items?"
22
  msgstr "Se sicuro di voler spostare nel cestino gli elementi selezionati?"
23
 
24
+ #: includes/class-yit-assets.php:149 includes/class-yit-assets.php:153
25
  #: templates/sysinfo/tabs/main.php:42 templates/sysinfo/tabs/main.php:50
26
  #: yit-functions.php:2008 yit-functions.php:2026
27
  msgid "No"
28
  msgstr "No"
29
 
30
+ #: includes/class-yit-assets.php:150 yit-functions.php:2024
31
  #: yit-functions.php:2152
32
  msgid "Confirm delete"
33
  msgstr "Conferma eliminazione"
34
 
35
+ #: includes/class-yit-assets.php:151
36
  msgid "Are you sure you want to delete the selected items?"
37
  msgstr "Se sicuro di voler eliminare gli elementi selezionati?"
38
 
39
+ #: includes/class-yit-assets.php:151 yit-functions.php:1940
40
  #: yit-functions.php:2100
41
  msgid ""
42
  "This action cannot be undone and you will not be able to recover this data."
44
  "Quest'azione non può essere annullata e non sarà possibile recuperare questi "
45
  "dati."
46
 
47
+ #: includes/class-yit-assets.php:172
48
  msgid "Clear"
49
  msgstr "Rimuovi"
50
 
51
+ #: includes/class-yit-assets.php:173
52
  msgid "Clear color"
53
  msgstr "Rimuovi colore"
54
 
55
+ #: includes/class-yit-assets.php:174
56
  msgid "Default"
57
  msgstr "Predefinito"
58
 
59
+ #: includes/class-yit-assets.php:175
60
  msgid "Select default color"
61
  msgstr "Seleziona il colore predefinito"
62
 
63
+ #: includes/class-yit-assets.php:176
64
  msgid "Select Color"
65
  msgstr "Seleziona il colore"
66
 
67
+ #: includes/class-yit-assets.php:177
68
  msgid "Color value"
69
  msgstr "Valore del colore"
70
 
114
  msgid "Reset to default"
115
  msgstr "Ripristina configurazione predefinita"
116
 
117
+ #: includes/class-yit-plugin-panel.php:1074
118
  msgid ""
119
  "The element you have entered already exists. Please, enter another name."
120
  msgstr "L'elemento inserito esiste già. Per favore, inserisci un altro nome."
121
 
122
+ #: includes/class-yit-plugin-panel.php:1075
123
  msgid "Settings saved"
124
  msgstr "Impostazioni salvate"
125
 
126
+ #: includes/class-yit-plugin-panel.php:1076
127
  msgid "Settings reset"
128
  msgstr "Impostazioni azzerate"
129
 
130
+ #: includes/class-yit-plugin-panel.php:1077
131
  msgid "Element deleted correctly."
132
  msgstr "Elemento rimosso correttamente."
133
 
134
+ #: includes/class-yit-plugin-panel.php:1078
135
+ #: includes/class-yit-plugin-panel.php:1079
136
  msgid "Element updated correctly."
137
  msgstr "Elemento aggiornato correttamente."
138
 
139
+ #: includes/class-yit-plugin-panel.php:1080
140
  msgid "Database imported correctly."
141
  msgstr "Database importato correttamente."
142
 
143
+ #: includes/class-yit-plugin-panel.php:1081
144
  msgid "An error has occurred during import. Please try again."
145
  msgstr "Si è verificato un errore durante l'importazione. Prova di nuovo."
146
 
147
+ #: includes/class-yit-plugin-panel.php:1082
148
  msgid "The added file is not valid."
149
  msgstr "Il file aggiunto non è valido."
150
 
151
+ #: includes/class-yit-plugin-panel.php:1083
152
  msgid "Sorry, import is disabled."
153
  msgstr "Ci dispiace, l'importazione è disabilitata."
154
 
155
+ #: includes/class-yit-plugin-panel.php:1084
156
  msgid "Sorting successful."
157
  msgstr "Ordinamento effettuato con successo."
158
 
159
+ #: includes/class-yit-plugin-panel.php:1573
160
  msgid "We need your support"
161
  msgstr "Abbiamo bisogno del tuo sostegno"
162
 
163
+ #: includes/class-yit-plugin-panel.php:1574
164
  msgid "to keep updating and improving the plugin. Please,"
165
  msgstr "per poter continuare ad aggiornare e migliorare il plugin."
166
 
167
+ #: includes/class-yit-plugin-panel.php:1576
168
  msgid "help us by leaving a good review"
169
  msgstr "Puoi darci una mano lasciando una recensione positiva"
170
 
171
+ #: includes/class-yit-plugin-panel.php:1577
172
  msgid ":) Thanks!"
173
  msgstr ":) Grazie!"
174
 
208
  "(come per YITH WooCommerce Wishlist, YITH WooCommerce Ajax Search, etc.) "
209
  "saranno spostate dalla posizione precedente al menù YITH."
210
 
211
+ #: includes/class-yith-bh-onboarding.php:85
212
+ msgid "It is not possible save the options"
213
+ msgstr ""
214
+
215
  #: includes/class-yith-dashboard.php:35
216
  msgid "YITH Latest Updates"
217
  msgstr "Ultimi aggiornamenti da YITH"
412
  "Non ci è stato possibile determinare quale versione di %1$s è installata a "
413
  "causa di un problema di connessione fra il tuo sito e il nostro server."
414
 
415
+ #: templates/bh-onboarding/onboarding-tabs.php:63
416
+ msgid "Save"
417
+ msgstr ""
418
+
419
  #: templates/fields/ajax-customers.php:41
420
  msgid "Search for a customer..."
421
  msgstr "Cerca un cliente..."
680
  msgid "Data: %1$.2fMB | Index: %2$.2fMB | Free: %3$.2fMB | Engine: %4$s"
681
  msgstr "Dati: %1$.2fMB | Indice: %2$.2fMB | Libero: %3$.2fMB | Engine: %4$s"
682
 
 
 
 
 
 
 
 
 
 
 
 
683
  #. translators: %s is the title of the post object.
684
  #: yit-functions.php:1938
685
  msgid "Are you sure you want to move \"%s\" to trash?"
694
  msgid "Further actions"
695
  msgstr "Altre azioni"
696
 
697
+ #: yit-plugin.php:233
698
  msgid "License"
699
  msgstr "Chiave di licenza"
700
 
701
+ #. translators: 1. Plugin(s) name(s).
702
+ #: yit-plugin.php:272
703
+ msgid ""
704
+ "%s was deactivated as you're running an higher tier version of the same "
705
+ "plugin."
706
+ msgid_plural ""
707
+ "%s were deactivated as you're running higher tier versions of the same "
708
+ "plugins."
709
+ msgstr[0] ""
710
+ "%s è stato disattivato poiché stai usando una versione superiore dello "
711
+ "stesso plugin. "
712
+ msgstr[1] ""
713
+ "%s sono stati disattivati poiché stai usando una versione superiore degli "
714
+ "stessi plugin. "
715
+
716
  #. Author of the plugin/theme
717
  msgid "YITH"
718
  msgstr "YITH"
728
  msgid "YITH"
729
  msgstr "YITH"
730
 
731
+ #: includes/class-yit-assets.php:134
732
  msgctxt "Button text"
733
  msgid "Confirm"
734
  msgstr "Conferma"
735
 
736
+ #: includes/class-yit-assets.php:135
737
  msgctxt "Button text"
738
  msgid "Cancel"
739
  msgstr "Annulla"
740
 
741
+ #: includes/class-yit-assets.php:148 yit-functions.php:2009
742
  msgctxt "Trash confirmation action"
743
  msgid "Yes, move to trash"
744
  msgstr "Sì, sposta nel cestino"
745
 
746
+ #: includes/class-yit-assets.php:152 yit-functions.php:2027
747
  #: yit-functions.php:2154
748
  msgctxt "Delete confirmation action"
749
  msgid "Yes, delete"
750
  msgstr "Sì, elimina"
751
 
752
  #. translators: 1. Plugin name.
753
+ #: includes/class-yit-plugin-panel.php:803
754
  msgctxt "Help tab default title"
755
  msgid "Thank you for purchasing %s!"
756
  msgstr "Grazie per aver acquistato %s!"
757
 
758
+ #: includes/class-yit-plugin-panel.php:803
759
+ #, fuzzy
760
+ msgctxt "Help tab default title"
761
+ msgid "Thank you for using %s!"
762
+ msgstr "Grazie per aver acquistato %s!"
763
+
764
+ #: includes/class-yit-plugin-panel.php:815
765
  msgctxt "Help tab default description"
766
  msgid ""
767
  "We want to help you enjoy a wonderful experience with all of our products."
769
  "Vogliamo aiutarti ad avere un'esperienza fantastica con tutti i nostri "
770
  "prodotti."
771
 
772
+ #: includes/class-yit-plugin-panel.php:866
773
  msgctxt "Premium tab name"
774
  msgid "Get premium"
775
  msgstr "Diventa premium"
776
 
777
+ #: includes/class-yit-plugin-panel.php:878
778
  msgctxt "Help tab name"
779
  msgid "Help"
780
  msgstr "Help"
893
  msgstr "NO"
894
 
895
  #. translators: 1. Url to EN playlist.
896
+ #: templates/panel/help-tab.php:89
897
  msgctxt "Help tab view all video link"
898
  msgid ""
899
  "Check the full <a href=\"%s\" target=\"_blank\">Playlist on Youtube</a> to "
902
  "Per saperne di più, vedi la <a href=\"%s\" target=\"_blank\">Playlist "
903
  "completa su Youtube</a>>"
904
 
905
+ #: templates/panel/help-tab.php:96
906
  msgctxt "Help tab Watch Videotutorials link"
907
  msgid "Videos are also available in:"
908
  msgstr "I video sono disponibili anche in:"
909
 
910
+ #: templates/panel/help-tab.php:126
911
  msgctxt "Help tab Read Documentation link"
912
  msgid "Read the documentation"
913
  msgstr "Consulta la documentazione"
914
 
915
+ #: templates/panel/help-tab.php:129
916
  msgctxt "Help tab Read Documentation link"
917
  msgid "to learn how the plugin works from the basics."
918
  msgstr "per scoprire dalle basi come funziona il plugin."
919
 
920
+ #: templates/panel/help-tab.php:139
921
  msgctxt "Help tab Watch video tutorials link"
922
  msgid "Watch our video tutorials"
923
  msgstr "Guarda i nostri video tutorial"
924
 
925
+ #: templates/panel/help-tab.php:142
926
  msgctxt "Help tab Watch video tutorials link"
927
  msgid "to see some helpful use cases."
928
  msgstr "per vedere dei casi d'utilizzo utili."
929
 
930
+ #: templates/panel/help-tab.php:152
931
  msgctxt "Help tab view FAQs link"
932
  msgid "Check the FAQs"
933
  msgstr "Controlla le FAQ"
934
 
935
+ #: templates/panel/help-tab.php:155
936
  msgctxt "Help tab view FAQs link"
937
  msgid "to find answers to your doubts."
938
  msgstr "per trovare le risposte ai tuoi dubbi."
939
 
940
+ #: templates/panel/help-tab.php:170
941
  msgctxt "Help tab FAQ title"
942
  msgid "Last FAQs in our Help Center"
943
  msgstr "Ultime FAQ nel nostro Centro Assistenza"
944
 
945
+ #: templates/panel/help-tab.php:184
946
  msgctxt "Help tab FAQ link"
947
  msgid "View all FAQs >"
948
  msgstr "Vedi tutte le FAQ"
949
 
950
+ #: templates/panel/help-tab.php:193
951
  msgctxt "Help tab submit ticket title"
952
  msgid "Need help?"
953
  msgstr "Ti serve aiuto?"
954
 
955
+ #: templates/panel/help-tab.php:196
956
  msgctxt "Help tab submit ticket description"
957
  msgid ""
958
  "If you are experiencing any technical issues, ask for help from our "
963
  "Invia un ticket dalla nostra piattaforma di supporto e ti daremo assistenza "
964
  "il più presto possibile."
965
 
966
+ #: templates/panel/help-tab.php:204
967
  msgctxt "Help tab submit ticket button"
968
  msgid "Submit a ticket"
969
  msgstr "Invia un ticket"
970
 
971
+ #: templates/panel/help-tab.php:216 templates/panel/help-tab.php:218
972
+ #: templates/panel/help-tab.php:223
973
+ #, fuzzy
974
+ msgctxt "Help tab documentation"
975
+ msgid "Read the plugin documentation"
976
+ msgstr "Consulta la documentazione"
977
+
978
+ #: templates/panel/help-tab.php:220
979
+ #, fuzzy
980
+ msgctxt "Help tab documentation"
981
+ msgid "to learn how it works from the basics."
982
+ msgstr "per scoprire dalle basi come funziona il plugin."
983
+
984
+ #: templates/panel/help-tab.php:231 templates/panel/help-tab.php:233
985
+ #, fuzzy
986
+ msgctxt "Help tab support"
987
+ msgid "Need some help?"
988
+ msgstr "Ti serve aiuto?"
989
+
990
+ #: templates/panel/help-tab.php:235
991
+ msgctxt "Help tab support"
992
+ msgid "From DIY to full-service help"
993
+ msgstr ""
994
+
995
+ #: templates/panel/help-tab.php:238
996
+ msgctxt "Help tab support"
997
+ msgid ""
998
+ "Call or chat 24/7 with our support agents, or let our experts build your "
999
+ "site."
1000
+ msgstr ""
1001
+
1002
+ #: templates/panel/help-tab.php:241
1003
+ #, fuzzy
1004
+ msgctxt "Help tab support"
1005
+ msgid "Yes, I need help"
1006
+ msgstr "Ti serve aiuto?"
1007
+
1008
  #: templates/panel/premium-tab.php:30
1009
  msgctxt "Premium Tab"
1010
  msgid "Get the premium version to unlock advanced features"
1021
  msgstr "Immagini funzionalità premium"
1022
 
1023
  #. translators: alt attribute of main image tag.
1024
+ #: templates/panel/premium-tab.php:51 templates/panel/premium-tab.php:58
1025
  msgctxt "Premium Tab"
1026
  msgid "And so much more!"
1027
  msgstr "E molto altro!"
1028
 
1029
  #: templates/panel/premium-tab.php:53
1030
+ #, fuzzy
1031
+ msgctxt "Premium Tab"
1032
+ msgid "Check the premium features >"
1033
+ msgstr "Confronta le funzionalità gratuite e premium >"
1034
+
1035
+ #: templates/panel/premium-tab.php:60
1036
  msgctxt "Premium Tab"
1037
  msgid "Check the free vs premium features >"
1038
  msgstr "Confronta le funzionalità gratuite e premium >"
1039
 
1040
+ #: templates/panel/premium-tab.php:65
1041
  msgctxt "Premium Tab"
1042
  msgid "Get the premium version"
1043
  msgstr "Ottieni la versione premium"
1097
  msgid "Delete"
1098
  msgstr "Elimina"
1099
 
1100
+ #: yit-plugin.php:85
1101
  msgctxt "Plugin Row Meta"
1102
  msgid "Live Demo"
1103
  msgstr "Live Demo"
1104
 
1105
+ #: yit-plugin.php:89
1106
  msgctxt "Plugin Row Meta"
1107
  msgid "Documentation"
1108
  msgstr "Documentazione"
1109
 
1110
+ #: yit-plugin.php:93
1111
  msgctxt "Plugin Row Meta"
1112
  msgid "Support"
1113
  msgstr "Assistenza"
1114
 
1115
+ #: yit-plugin.php:97
1116
  msgctxt "Plugin Row Meta"
1117
  msgid "Premium version"
1118
  msgstr "Versione premium"
1119
 
1120
+ #: yit-plugin.php:229
1121
  msgctxt "Action links"
1122
  msgid "Settings"
1123
  msgstr "Impostazioni"
plugin-fw/languages/yith-plugin-fw-nl_NL.mo CHANGED
Binary file
plugin-fw/languages/yith-plugin-fw-nl_NL.po CHANGED
@@ -4,7 +4,7 @@ msgid ""
4
  msgstr ""
5
  "Project-Id-Version: YITH Framework\n"
6
  "Report-Msgid-Bugs-To: YITH <plugins@yithemes.com>\n"
7
- "POT-Creation-Date: 2022-07-06 06:26:03+00:00\n"
8
  "PO-Revision-Date: 2021-12-13 12:45:02+0000\n"
9
  "Language: nl\n"
10
  "MIME-Version: 1.0\n"
@@ -13,32 +13,32 @@ msgstr ""
13
  "Plural-Forms: nplurals=2; plural=n != 1;\n"
14
  "X-Generator: GlotPress/3.0.0-alpha.2\n"
15
 
16
- #: includes/class-yit-assets.php:144 yit-functions.php:2006
17
  msgid "Confirm trash"
18
  msgstr "Verplaatsen naar prullenbak bevestigen"
19
 
20
- #: includes/class-yit-assets.php:145
21
  msgid "Are you sure you want to trash the selected items?"
22
  msgstr ""
23
  "Weet je zeker dat je het geselecteerde item naar de prullenbak wilt "
24
  "verplaatsen?"
25
 
26
- #: includes/class-yit-assets.php:147 includes/class-yit-assets.php:151
27
  #: templates/sysinfo/tabs/main.php:42 templates/sysinfo/tabs/main.php:50
28
  #: yit-functions.php:2008 yit-functions.php:2026
29
  msgid "No"
30
  msgstr "Nee"
31
 
32
- #: includes/class-yit-assets.php:148 yit-functions.php:2024
33
  #: yit-functions.php:2152
34
  msgid "Confirm delete"
35
  msgstr "Verwijderen bevestigen"
36
 
37
- #: includes/class-yit-assets.php:149
38
  msgid "Are you sure you want to delete the selected items?"
39
  msgstr "Weet je zeker dat je de geselecteerde items wilt verwijderen?"
40
 
41
- #: includes/class-yit-assets.php:149 yit-functions.php:1940
42
  #: yit-functions.php:2100
43
  msgid ""
44
  "This action cannot be undone and you will not be able to recover this data."
@@ -46,27 +46,27 @@ msgstr ""
46
  "Deze actie kan niet ongedaan gemaakt worden en je zult deze gegevens niet "
47
  "kunnen herstellen."
48
 
49
- #: includes/class-yit-assets.php:162
50
  msgid "Clear"
51
  msgstr "Wissen"
52
 
53
- #: includes/class-yit-assets.php:163
54
  msgid "Clear color"
55
  msgstr "Kleur wissen"
56
 
57
- #: includes/class-yit-assets.php:164
58
  msgid "Default"
59
  msgstr "Standaard"
60
 
61
- #: includes/class-yit-assets.php:165
62
  msgid "Select default color"
63
  msgstr "Standaardkleur selecteren"
64
 
65
- #: includes/class-yit-assets.php:166
66
  msgid "Select Color"
67
  msgstr "Kleur selecteren"
68
 
69
- #: includes/class-yit-assets.php:167
70
  msgid "Color value"
71
  msgstr "Kleurwaarde"
72
 
@@ -116,61 +116,61 @@ msgstr "Weet je het zeker?"
116
  msgid "Reset to default"
117
  msgstr "Resetten naar standaard"
118
 
119
- #: includes/class-yit-plugin-panel.php:1059
120
  msgid ""
121
  "The element you have entered already exists. Please, enter another name."
122
  msgstr "Het element dat je hebt ingevoerd bestaat al. Voer een andere naam in."
123
 
124
- #: includes/class-yit-plugin-panel.php:1060
125
  msgid "Settings saved"
126
  msgstr "Instellingen opgeslagen"
127
 
128
- #: includes/class-yit-plugin-panel.php:1061
129
  msgid "Settings reset"
130
  msgstr "Instellingen resetten"
131
 
132
- #: includes/class-yit-plugin-panel.php:1062
133
  msgid "Element deleted correctly."
134
  msgstr "Element juist verwijderd."
135
 
136
- #: includes/class-yit-plugin-panel.php:1063
137
- #: includes/class-yit-plugin-panel.php:1064
138
  msgid "Element updated correctly."
139
  msgstr "Element juist geüpdatet."
140
 
141
- #: includes/class-yit-plugin-panel.php:1065
142
  msgid "Database imported correctly."
143
  msgstr "Database juist geïmporteerd."
144
 
145
- #: includes/class-yit-plugin-panel.php:1066
146
  msgid "An error has occurred during import. Please try again."
147
  msgstr "Er is een fout opgetreden tijdens importeren. Probeer opnieuw."
148
 
149
- #: includes/class-yit-plugin-panel.php:1067
150
  msgid "The added file is not valid."
151
  msgstr "Het toegevoegde bestand is niet geldig."
152
 
153
- #: includes/class-yit-plugin-panel.php:1068
154
  msgid "Sorry, import is disabled."
155
  msgstr "Sorry, importeren is uitgeschakeld."
156
 
157
- #: includes/class-yit-plugin-panel.php:1069
158
  msgid "Sorting successful."
159
  msgstr "Succesvol gesorteerd."
160
 
161
- #: includes/class-yit-plugin-panel.php:1558
162
  msgid "We need your support"
163
  msgstr "We hebben je hulp nodig"
164
 
165
- #: includes/class-yit-plugin-panel.php:1559
166
  msgid "to keep updating and improving the plugin. Please,"
167
  msgstr "om de plugin te blijven bijwerken en verbeteren. A.u.b.,"
168
 
169
- #: includes/class-yit-plugin-panel.php:1561
170
  msgid "help us by leaving a good review"
171
  msgstr "help ons door een goede beoordeling achter te laten"
172
 
173
- #: includes/class-yit-plugin-panel.php:1562
174
  msgid ":) Thanks!"
175
  msgstr ":) Bedankt!"
176
 
@@ -210,6 +210,10 @@ msgstr ""
210
  "(zoals voor YITH WooCommerce Wishlist, YITH WooCommerce Ajax Search, enz.) "
211
  "verplaatst van de vorige locatie naar het YITH menu."
212
 
 
 
 
 
213
  #: includes/class-yith-dashboard.php:35
214
  msgid "YITH Latest Updates"
215
  msgstr "YITH laatste updates"
@@ -409,6 +413,10 @@ msgstr ""
409
  "De systeemcontrole kan niet bepalen welke versie van %1$s is geïnstalleerd "
410
  "vanwege een verbindingsprobleem tussen je site en onze server."
411
 
 
 
 
 
412
  #: templates/fields/ajax-customers.php:41
413
  msgid "Search for a customer..."
414
  msgstr ""
@@ -672,17 +680,6 @@ msgstr "Database gratis grootte"
672
  msgid "Data: %1$.2fMB | Index: %2$.2fMB | Free: %3$.2fMB | Engine: %4$s"
673
  msgstr "Data: %1$.2fMB | Index: %2$.2fMB | Free: %3$.2fMB | Engine: %4$s"
674
 
675
- #. translators: 1. Plugin(s) name(s).
676
- #: yit-deactive-plugin.php:119
677
- msgid ""
678
- "%s was deactivated as you're running an higher tier version of the same "
679
- "plugin."
680
- msgid_plural ""
681
- "%s were deactivated as you're running higher tier versions of the same "
682
- "plugins."
683
- msgstr[0] ""
684
- msgstr[1] ""
685
-
686
  #. translators: %s is the title of the post object.
687
  #: yit-functions.php:1938
688
  msgid "Are you sure you want to move \"%s\" to trash?"
@@ -697,10 +694,21 @@ msgstr "Weet je zeker dat je \"%s\" wilt verwijderen?"
697
  msgid "Further actions"
698
  msgstr "Verdere acties"
699
 
700
- #: yit-plugin.php:213
701
  msgid "License"
702
  msgstr "Licentie"
703
 
 
 
 
 
 
 
 
 
 
 
 
704
  #. Author of the plugin/theme
705
  msgid "YITH"
706
  msgstr "YITH"
@@ -716,45 +724,51 @@ msgctxt "[gutenberg]: Category Name"
716
  msgid "YITH"
717
  msgstr "YITH"
718
 
719
- #: includes/class-yit-assets.php:132
720
  msgctxt "Button text"
721
  msgid "Confirm"
722
  msgstr "Bevestigen"
723
 
724
- #: includes/class-yit-assets.php:133
725
  msgctxt "Button text"
726
  msgid "Cancel"
727
  msgstr "Annuleren"
728
 
729
- #: includes/class-yit-assets.php:146 yit-functions.php:2009
730
  msgctxt "Trash confirmation action"
731
  msgid "Yes, move to trash"
732
  msgstr "Ja, verplaatsen naar prullenbak"
733
 
734
- #: includes/class-yit-assets.php:150 yit-functions.php:2027
735
  #: yit-functions.php:2154
736
  msgctxt "Delete confirmation action"
737
  msgid "Yes, delete"
738
  msgstr "Ja, verwijderen"
739
 
740
  #. translators: 1. Plugin name.
741
- #: includes/class-yit-plugin-panel.php:805
742
  msgctxt "Help tab default title"
743
  msgid "Thank you for purchasing %s!"
744
  msgstr "Bedankt voor het kopen van %s!"
745
 
746
- #: includes/class-yit-plugin-panel.php:806
 
 
 
 
 
 
747
  msgctxt "Help tab default description"
748
  msgid ""
749
  "We want to help you enjoy a wonderful experience with all of our products."
750
  msgstr ""
751
 
752
- #: includes/class-yit-plugin-panel.php:853
753
  msgctxt "Premium tab name"
754
  msgid "Get premium"
755
  msgstr "Neem premium"
756
 
757
- #: includes/class-yit-plugin-panel.php:865
758
  msgctxt "Help tab name"
759
  msgid "Help"
760
  msgstr "Help"
@@ -872,7 +886,7 @@ msgid "NO"
872
  msgstr "NEE"
873
 
874
  #. translators: 1. Url to EN playlist.
875
- #: templates/panel/help-tab.php:87
876
  msgctxt "Help tab view all video link"
877
  msgid ""
878
  "Check the full <a href=\"%s\" target=\"_blank\">Playlist on Youtube</a> to "
@@ -881,57 +895,57 @@ msgstr ""
881
  "Bekijk de volledige <a href=\"%s\" target=\"_blank\">Playlist op Youtube</a> "
882
  "om meer te weten te komen >"
883
 
884
- #: templates/panel/help-tab.php:94
885
  msgctxt "Help tab Watch Videotutorials link"
886
  msgid "Videos are also available in:"
887
  msgstr "Videos zijn ook beschikbaar in:"
888
 
889
- #: templates/panel/help-tab.php:124
890
  msgctxt "Help tab Read Documentation link"
891
  msgid "Read the documentation"
892
  msgstr "Lees de documentatie"
893
 
894
- #: templates/panel/help-tab.php:127
895
  msgctxt "Help tab Read Documentation link"
896
  msgid "to learn how the plugin works from the basics."
897
  msgstr ""
898
 
899
- #: templates/panel/help-tab.php:137
900
  msgctxt "Help tab Watch video tutorials link"
901
  msgid "Watch our video tutorials"
902
  msgstr ""
903
 
904
- #: templates/panel/help-tab.php:140
905
  msgctxt "Help tab Watch video tutorials link"
906
  msgid "to see some helpful use cases."
907
  msgstr ""
908
 
909
- #: templates/panel/help-tab.php:150
910
  msgctxt "Help tab view FAQs link"
911
  msgid "Check the FAQs"
912
  msgstr "Check de FAQs"
913
 
914
- #: templates/panel/help-tab.php:153
915
  msgctxt "Help tab view FAQs link"
916
  msgid "to find answers to your doubts."
917
  msgstr ""
918
 
919
- #: templates/panel/help-tab.php:169
920
  msgctxt "Help tab FAQ title"
921
  msgid "Last FAQs in our Help Center"
922
  msgstr "Laatste FAQs in ons Help Center"
923
 
924
- #: templates/panel/help-tab.php:183
925
  msgctxt "Help tab FAQ link"
926
  msgid "View all FAQs >"
927
  msgstr "Bekijk alle FAQs >"
928
 
929
- #: templates/panel/help-tab.php:192
930
  msgctxt "Help tab submit ticket title"
931
  msgid "Need help?"
932
  msgstr "Hulp nodig?"
933
 
934
- #: templates/panel/help-tab.php:195
935
  msgctxt "Help tab submit ticket description"
936
  msgid ""
937
  "If you are experiencing any technical issues, ask for help from our "
@@ -939,11 +953,47 @@ msgid ""
939
  "soon as possible."
940
  msgstr ""
941
 
942
- #: templates/panel/help-tab.php:203
943
  msgctxt "Help tab submit ticket button"
944
  msgid "Submit a ticket"
945
  msgstr "Verstuur een ticket"
946
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
947
  #: templates/panel/premium-tab.php:30
948
  msgctxt "Premium Tab"
949
  msgid "Get the premium version to unlock advanced features"
@@ -960,17 +1010,23 @@ msgid "Plugin premium features images"
960
  msgstr "Plugin premium opties afbeeldingen"
961
 
962
  #. translators: alt attribute of main image tag.
963
- #: templates/panel/premium-tab.php:51
964
  msgctxt "Premium Tab"
965
  msgid "And so much more!"
966
  msgstr "En zo veel meer!"
967
 
968
  #: templates/panel/premium-tab.php:53
 
 
 
 
 
 
969
  msgctxt "Premium Tab"
970
  msgid "Check the free vs premium features >"
971
  msgstr "Bekijk de gratis vs premium opties >"
972
 
973
- #: templates/panel/premium-tab.php:58
974
  msgctxt "Premium Tab"
975
  msgid "Get the premium version"
976
  msgstr "Krijg de premium versie"
@@ -1030,27 +1086,27 @@ msgctxt "Term action"
1030
  msgid "Delete"
1031
  msgstr "Verwijderen"
1032
 
1033
- #: yit-plugin.php:84
1034
  msgctxt "Plugin Row Meta"
1035
  msgid "Live Demo"
1036
  msgstr "Live Demo"
1037
 
1038
- #: yit-plugin.php:88
1039
  msgctxt "Plugin Row Meta"
1040
  msgid "Documentation"
1041
  msgstr "Documentatie"
1042
 
1043
- #: yit-plugin.php:92
1044
  msgctxt "Plugin Row Meta"
1045
  msgid "Support"
1046
  msgstr "Ondersteuning"
1047
 
1048
- #: yit-plugin.php:96
1049
  msgctxt "Plugin Row Meta"
1050
  msgid "Premium version"
1051
  msgstr "Premium versie"
1052
 
1053
- #: yit-plugin.php:209
1054
  msgctxt "Action links"
1055
  msgid "Settings"
1056
  msgstr "Instellingen"
4
  msgstr ""
5
  "Project-Id-Version: YITH Framework\n"
6
  "Report-Msgid-Bugs-To: YITH <plugins@yithemes.com>\n"
7
+ "POT-Creation-Date: 2022-08-02 12:02:23+00:00\n"
8
  "PO-Revision-Date: 2021-12-13 12:45:02+0000\n"
9
  "Language: nl\n"
10
  "MIME-Version: 1.0\n"
13
  "Plural-Forms: nplurals=2; plural=n != 1;\n"
14
  "X-Generator: GlotPress/3.0.0-alpha.2\n"
15
 
16
+ #: includes/class-yit-assets.php:146 yit-functions.php:2006
17
  msgid "Confirm trash"
18
  msgstr "Verplaatsen naar prullenbak bevestigen"
19
 
20
+ #: includes/class-yit-assets.php:147
21
  msgid "Are you sure you want to trash the selected items?"
22
  msgstr ""
23
  "Weet je zeker dat je het geselecteerde item naar de prullenbak wilt "
24
  "verplaatsen?"
25
 
26
+ #: includes/class-yit-assets.php:149 includes/class-yit-assets.php:153
27
  #: templates/sysinfo/tabs/main.php:42 templates/sysinfo/tabs/main.php:50
28
  #: yit-functions.php:2008 yit-functions.php:2026
29
  msgid "No"
30
  msgstr "Nee"
31
 
32
+ #: includes/class-yit-assets.php:150 yit-functions.php:2024
33
  #: yit-functions.php:2152
34
  msgid "Confirm delete"
35
  msgstr "Verwijderen bevestigen"
36
 
37
+ #: includes/class-yit-assets.php:151
38
  msgid "Are you sure you want to delete the selected items?"
39
  msgstr "Weet je zeker dat je de geselecteerde items wilt verwijderen?"
40
 
41
+ #: includes/class-yit-assets.php:151 yit-functions.php:1940
42
  #: yit-functions.php:2100
43
  msgid ""
44
  "This action cannot be undone and you will not be able to recover this data."
46
  "Deze actie kan niet ongedaan gemaakt worden en je zult deze gegevens niet "
47
  "kunnen herstellen."
48
 
49
+ #: includes/class-yit-assets.php:172
50
  msgid "Clear"
51
  msgstr "Wissen"
52
 
53
+ #: includes/class-yit-assets.php:173
54
  msgid "Clear color"
55
  msgstr "Kleur wissen"
56
 
57
+ #: includes/class-yit-assets.php:174
58
  msgid "Default"
59
  msgstr "Standaard"
60
 
61
+ #: includes/class-yit-assets.php:175
62
  msgid "Select default color"
63
  msgstr "Standaardkleur selecteren"
64
 
65
+ #: includes/class-yit-assets.php:176
66
  msgid "Select Color"
67
  msgstr "Kleur selecteren"
68
 
69
+ #: includes/class-yit-assets.php:177
70
  msgid "Color value"
71
  msgstr "Kleurwaarde"
72
 
116
  msgid "Reset to default"
117
  msgstr "Resetten naar standaard"
118
 
119
+ #: includes/class-yit-plugin-panel.php:1074
120
  msgid ""
121
  "The element you have entered already exists. Please, enter another name."
122
  msgstr "Het element dat je hebt ingevoerd bestaat al. Voer een andere naam in."
123
 
124
+ #: includes/class-yit-plugin-panel.php:1075
125
  msgid "Settings saved"
126
  msgstr "Instellingen opgeslagen"
127
 
128
+ #: includes/class-yit-plugin-panel.php:1076
129
  msgid "Settings reset"
130
  msgstr "Instellingen resetten"
131
 
132
+ #: includes/class-yit-plugin-panel.php:1077
133
  msgid "Element deleted correctly."
134
  msgstr "Element juist verwijderd."
135
 
136
+ #: includes/class-yit-plugin-panel.php:1078
137
+ #: includes/class-yit-plugin-panel.php:1079
138
  msgid "Element updated correctly."
139
  msgstr "Element juist geüpdatet."
140
 
141
+ #: includes/class-yit-plugin-panel.php:1080
142
  msgid "Database imported correctly."
143
  msgstr "Database juist geïmporteerd."
144
 
145
+ #: includes/class-yit-plugin-panel.php:1081
146
  msgid "An error has occurred during import. Please try again."
147
  msgstr "Er is een fout opgetreden tijdens importeren. Probeer opnieuw."
148
 
149
+ #: includes/class-yit-plugin-panel.php:1082
150
  msgid "The added file is not valid."
151
  msgstr "Het toegevoegde bestand is niet geldig."
152
 
153
+ #: includes/class-yit-plugin-panel.php:1083
154
  msgid "Sorry, import is disabled."
155
  msgstr "Sorry, importeren is uitgeschakeld."
156
 
157
+ #: includes/class-yit-plugin-panel.php:1084
158
  msgid "Sorting successful."
159
  msgstr "Succesvol gesorteerd."
160
 
161
+ #: includes/class-yit-plugin-panel.php:1573
162
  msgid "We need your support"
163
  msgstr "We hebben je hulp nodig"
164
 
165
+ #: includes/class-yit-plugin-panel.php:1574
166
  msgid "to keep updating and improving the plugin. Please,"
167
  msgstr "om de plugin te blijven bijwerken en verbeteren. A.u.b.,"
168
 
169
+ #: includes/class-yit-plugin-panel.php:1576
170
  msgid "help us by leaving a good review"
171
  msgstr "help ons door een goede beoordeling achter te laten"
172
 
173
+ #: includes/class-yit-plugin-panel.php:1577
174
  msgid ":) Thanks!"
175
  msgstr ":) Bedankt!"
176
 
210
  "(zoals voor YITH WooCommerce Wishlist, YITH WooCommerce Ajax Search, enz.) "
211
  "verplaatst van de vorige locatie naar het YITH menu."
212
 
213
+ #: includes/class-yith-bh-onboarding.php:85
214
+ msgid "It is not possible save the options"
215
+ msgstr ""
216
+
217
  #: includes/class-yith-dashboard.php:35
218
  msgid "YITH Latest Updates"
219
  msgstr "YITH laatste updates"
413
  "De systeemcontrole kan niet bepalen welke versie van %1$s is geïnstalleerd "
414
  "vanwege een verbindingsprobleem tussen je site en onze server."
415
 
416
+ #: templates/bh-onboarding/onboarding-tabs.php:63
417
+ msgid "Save"
418
+ msgstr ""
419
+
420
  #: templates/fields/ajax-customers.php:41
421
  msgid "Search for a customer..."
422
  msgstr ""
680
  msgid "Data: %1$.2fMB | Index: %2$.2fMB | Free: %3$.2fMB | Engine: %4$s"
681
  msgstr "Data: %1$.2fMB | Index: %2$.2fMB | Free: %3$.2fMB | Engine: %4$s"
682
 
 
 
 
 
 
 
 
 
 
 
 
683
  #. translators: %s is the title of the post object.
684
  #: yit-functions.php:1938
685
  msgid "Are you sure you want to move \"%s\" to trash?"
694
  msgid "Further actions"
695
  msgstr "Verdere acties"
696
 
697
+ #: yit-plugin.php:233
698
  msgid "License"
699
  msgstr "Licentie"
700
 
701
+ #. translators: 1. Plugin(s) name(s).
702
+ #: yit-plugin.php:272
703
+ msgid ""
704
+ "%s was deactivated as you're running an higher tier version of the same "
705
+ "plugin."
706
+ msgid_plural ""
707
+ "%s were deactivated as you're running higher tier versions of the same "
708
+ "plugins."
709
+ msgstr[0] ""
710
+ msgstr[1] ""
711
+
712
  #. Author of the plugin/theme
713
  msgid "YITH"
714
  msgstr "YITH"
724
  msgid "YITH"
725
  msgstr "YITH"
726
 
727
+ #: includes/class-yit-assets.php:134
728
  msgctxt "Button text"
729
  msgid "Confirm"
730
  msgstr "Bevestigen"
731
 
732
+ #: includes/class-yit-assets.php:135
733
  msgctxt "Button text"
734
  msgid "Cancel"
735
  msgstr "Annuleren"
736
 
737
+ #: includes/class-yit-assets.php:148 yit-functions.php:2009
738
  msgctxt "Trash confirmation action"
739
  msgid "Yes, move to trash"
740
  msgstr "Ja, verplaatsen naar prullenbak"
741
 
742
+ #: includes/class-yit-assets.php:152 yit-functions.php:2027
743
  #: yit-functions.php:2154
744
  msgctxt "Delete confirmation action"
745
  msgid "Yes, delete"
746
  msgstr "Ja, verwijderen"
747
 
748
  #. translators: 1. Plugin name.
749
+ #: includes/class-yit-plugin-panel.php:803
750
  msgctxt "Help tab default title"
751
  msgid "Thank you for purchasing %s!"
752
  msgstr "Bedankt voor het kopen van %s!"
753
 
754
+ #: includes/class-yit-plugin-panel.php:803
755
+ #, fuzzy
756
+ msgctxt "Help tab default title"
757
+ msgid "Thank you for using %s!"
758
+ msgstr "Bedankt voor het kopen van %s!"
759
+
760
+ #: includes/class-yit-plugin-panel.php:815
761
  msgctxt "Help tab default description"
762
  msgid ""
763
  "We want to help you enjoy a wonderful experience with all of our products."
764
  msgstr ""
765
 
766
+ #: includes/class-yit-plugin-panel.php:866
767
  msgctxt "Premium tab name"
768
  msgid "Get premium"
769
  msgstr "Neem premium"
770
 
771
+ #: includes/class-yit-plugin-panel.php:878
772
  msgctxt "Help tab name"
773
  msgid "Help"
774
  msgstr "Help"
886
  msgstr "NEE"
887
 
888
  #. translators: 1. Url to EN playlist.
889
+ #: templates/panel/help-tab.php:89
890
  msgctxt "Help tab view all video link"
891
  msgid ""
892
  "Check the full <a href=\"%s\" target=\"_blank\">Playlist on Youtube</a> to "
895
  "Bekijk de volledige <a href=\"%s\" target=\"_blank\">Playlist op Youtube</a> "
896
  "om meer te weten te komen >"
897
 
898
+ #: templates/panel/help-tab.php:96
899
  msgctxt "Help tab Watch Videotutorials link"
900
  msgid "Videos are also available in:"
901
  msgstr "Videos zijn ook beschikbaar in:"
902
 
903
+ #: templates/panel/help-tab.php:126
904
  msgctxt "Help tab Read Documentation link"
905
  msgid "Read the documentation"
906
  msgstr "Lees de documentatie"
907
 
908
+ #: templates/panel/help-tab.php:129
909
  msgctxt "Help tab Read Documentation link"
910
  msgid "to learn how the plugin works from the basics."
911
  msgstr ""
912
 
913
+ #: templates/panel/help-tab.php:139
914
  msgctxt "Help tab Watch video tutorials link"
915
  msgid "Watch our video tutorials"
916
  msgstr ""
917
 
918
+ #: templates/panel/help-tab.php:142
919
  msgctxt "Help tab Watch video tutorials link"
920
  msgid "to see some helpful use cases."
921
  msgstr ""
922
 
923
+ #: templates/panel/help-tab.php:152
924
  msgctxt "Help tab view FAQs link"
925
  msgid "Check the FAQs"
926
  msgstr "Check de FAQs"
927
 
928
+ #: templates/panel/help-tab.php:155
929
  msgctxt "Help tab view FAQs link"
930
  msgid "to find answers to your doubts."
931
  msgstr ""
932
 
933
+ #: templates/panel/help-tab.php:170
934
  msgctxt "Help tab FAQ title"
935
  msgid "Last FAQs in our Help Center"
936
  msgstr "Laatste FAQs in ons Help Center"
937
 
938
+ #: templates/panel/help-tab.php:184
939
  msgctxt "Help tab FAQ link"
940
  msgid "View all FAQs >"
941
  msgstr "Bekijk alle FAQs >"
942
 
943
+ #: templates/panel/help-tab.php:193
944
  msgctxt "Help tab submit ticket title"
945
  msgid "Need help?"
946
  msgstr "Hulp nodig?"
947
 
948
+ #: templates/panel/help-tab.php:196
949
  msgctxt "Help tab submit ticket description"
950
  msgid ""
951
  "If you are experiencing any technical issues, ask for help from our "
953
  "soon as possible."
954
  msgstr ""
955
 
956
+ #: templates/panel/help-tab.php:204
957
  msgctxt "Help tab submit ticket button"
958
  msgid "Submit a ticket"
959
  msgstr "Verstuur een ticket"
960
 
961
+ #: templates/panel/help-tab.php:216 templates/panel/help-tab.php:218
962
+ #: templates/panel/help-tab.php:223
963
+ #, fuzzy
964
+ msgctxt "Help tab documentation"
965
+ msgid "Read the plugin documentation"
966
+ msgstr "Lees de documentatie"
967
+
968
+ #: templates/panel/help-tab.php:220
969
+ msgctxt "Help tab documentation"
970
+ msgid "to learn how it works from the basics."
971
+ msgstr ""
972
+
973
+ #: templates/panel/help-tab.php:231 templates/panel/help-tab.php:233
974
+ #, fuzzy
975
+ msgctxt "Help tab support"
976
+ msgid "Need some help?"
977
+ msgstr "Hulp nodig?"
978
+
979
+ #: templates/panel/help-tab.php:235
980
+ msgctxt "Help tab support"
981
+ msgid "From DIY to full-service help"
982
+ msgstr ""
983
+
984
+ #: templates/panel/help-tab.php:238
985
+ msgctxt "Help tab support"
986
+ msgid ""
987
+ "Call or chat 24/7 with our support agents, or let our experts build your "
988
+ "site."
989
+ msgstr ""
990
+
991
+ #: templates/panel/help-tab.php:241
992
+ #, fuzzy
993
+ msgctxt "Help tab support"
994
+ msgid "Yes, I need help"
995
+ msgstr "Hulp nodig?"
996
+
997
  #: templates/panel/premium-tab.php:30
998
  msgctxt "Premium Tab"
999
  msgid "Get the premium version to unlock advanced features"
1010
  msgstr "Plugin premium opties afbeeldingen"
1011
 
1012
  #. translators: alt attribute of main image tag.
1013
+ #: templates/panel/premium-tab.php:51 templates/panel/premium-tab.php:58
1014
  msgctxt "Premium Tab"
1015
  msgid "And so much more!"
1016
  msgstr "En zo veel meer!"
1017
 
1018
  #: templates/panel/premium-tab.php:53
1019
+ #, fuzzy
1020
+ msgctxt "Premium Tab"
1021
+ msgid "Check the premium features >"
1022
+ msgstr "Bekijk de gratis vs premium opties >"
1023
+
1024
+ #: templates/panel/premium-tab.php:60
1025
  msgctxt "Premium Tab"
1026
  msgid "Check the free vs premium features >"
1027
  msgstr "Bekijk de gratis vs premium opties >"
1028
 
1029
+ #: templates/panel/premium-tab.php:65
1030
  msgctxt "Premium Tab"
1031
  msgid "Get the premium version"
1032
  msgstr "Krijg de premium versie"
1086
  msgid "Delete"
1087
  msgstr "Verwijderen"
1088
 
1089
+ #: yit-plugin.php:85
1090
  msgctxt "Plugin Row Meta"
1091
  msgid "Live Demo"
1092
  msgstr "Live Demo"
1093
 
1094
+ #: yit-plugin.php:89
1095
  msgctxt "Plugin Row Meta"
1096
  msgid "Documentation"
1097
  msgstr "Documentatie"
1098
 
1099
+ #: yit-plugin.php:93
1100
  msgctxt "Plugin Row Meta"
1101
  msgid "Support"
1102
  msgstr "Ondersteuning"
1103
 
1104
+ #: yit-plugin.php:97
1105
  msgctxt "Plugin Row Meta"
1106
  msgid "Premium version"
1107
  msgstr "Premium versie"
1108
 
1109
+ #: yit-plugin.php:229
1110
  msgctxt "Action links"
1111
  msgid "Settings"
1112
  msgstr "Instellingen"
plugin-fw/languages/yith-plugin-fw-ru_RU.mo CHANGED
Binary file
plugin-fw/languages/yith-plugin-fw-ru_RU.po CHANGED
@@ -4,7 +4,7 @@ msgid ""
4
  msgstr ""
5
  "Project-Id-Version: YITH Framework\n"
6
  "Report-Msgid-Bugs-To: YITH <plugins@yithemes.com>\n"
7
- "POT-Creation-Date: 2022-07-06 06:26:03+00:00\n"
8
  "PO-Revision-Date: 2022-04-05 17:22:32+0000\n"
9
  "Language: ru\n"
10
  "MIME-Version: 1.0\n"
@@ -14,56 +14,56 @@ msgstr ""
14
  "10 >= 2 && n % 10 <= 4 && (n % 100 < 12 || n % 100 > 14)) ? 1 : 2);\n"
15
  "X-Generator: GlotPress/3.0.0-alpha.2\n"
16
 
17
- #: includes/class-yit-assets.php:144 yit-functions.php:2006
18
  msgid "Confirm trash"
19
  msgstr "Подтвердить корзину"
20
 
21
- #: includes/class-yit-assets.php:145
22
  msgid "Are you sure you want to trash the selected items?"
23
  msgstr "Вы уверены, что хотите переместить в корзину выбранные элементы?"
24
 
25
- #: includes/class-yit-assets.php:147 includes/class-yit-assets.php:151
26
  #: templates/sysinfo/tabs/main.php:42 templates/sysinfo/tabs/main.php:50
27
  #: yit-functions.php:2008 yit-functions.php:2026
28
  msgid "No"
29
  msgstr "Нет"
30
 
31
- #: includes/class-yit-assets.php:148 yit-functions.php:2024
32
  #: yit-functions.php:2152
33
  msgid "Confirm delete"
34
  msgstr "Подтвердите удаление"
35
 
36
- #: includes/class-yit-assets.php:149
37
  msgid "Are you sure you want to delete the selected items?"
38
  msgstr "Вы уверены, что хотите удалить выбранные элементы?"
39
 
40
- #: includes/class-yit-assets.php:149 yit-functions.php:1940
41
  #: yit-functions.php:2100
42
  msgid ""
43
  "This action cannot be undone and you will not be able to recover this data."
44
  msgstr "Это действие нельзя отменить, и вы не сможете восстановить эти данные."
45
 
46
- #: includes/class-yit-assets.php:162
47
  msgid "Clear"
48
  msgstr "Очистить"
49
 
50
- #: includes/class-yit-assets.php:163
51
  msgid "Clear color"
52
  msgstr "Очистить цвет"
53
 
54
- #: includes/class-yit-assets.php:164
55
  msgid "Default"
56
  msgstr "По умолчанию"
57
 
58
- #: includes/class-yit-assets.php:165
59
  msgid "Select default color"
60
  msgstr "Выберите цвет по умолчанию"
61
 
62
- #: includes/class-yit-assets.php:166
63
  msgid "Select Color"
64
  msgstr "Выберите цвет"
65
 
66
- #: includes/class-yit-assets.php:167
67
  msgid "Color value"
68
  msgstr "Цвет значения"
69
 
@@ -115,61 +115,61 @@ msgstr "Вы уверены?"
115
  msgid "Reset to default"
116
  msgstr "Сброс до заводских настроек"
117
 
118
- #: includes/class-yit-plugin-panel.php:1059
119
  msgid ""
120
  "The element you have entered already exists. Please, enter another name."
121
  msgstr "Введенный вами элемент уже существует. Пожалуйста, введите другое имя."
122
 
123
- #: includes/class-yit-plugin-panel.php:1060
124
  msgid "Settings saved"
125
  msgstr "Настройки сохранены"
126
 
127
- #: includes/class-yit-plugin-panel.php:1061
128
  msgid "Settings reset"
129
  msgstr "Сбросить настройки"
130
 
131
- #: includes/class-yit-plugin-panel.php:1062
132
  msgid "Element deleted correctly."
133
  msgstr "Элемент удален правильно."
134
 
135
- #: includes/class-yit-plugin-panel.php:1063
136
- #: includes/class-yit-plugin-panel.php:1064
137
  msgid "Element updated correctly."
138
  msgstr "Элемент обновлен правильно."
139
 
140
- #: includes/class-yit-plugin-panel.php:1065
141
  msgid "Database imported correctly."
142
  msgstr "База данных импортирована правильно."
143
 
144
- #: includes/class-yit-plugin-panel.php:1066
145
  msgid "An error has occurred during import. Please try again."
146
  msgstr "Во время импорта произошла ошибка. Пожалуйста, попробуйте еще раз."
147
 
148
- #: includes/class-yit-plugin-panel.php:1067
149
  msgid "The added file is not valid."
150
  msgstr "Добавленный файл недействителен."
151
 
152
- #: includes/class-yit-plugin-panel.php:1068
153
  msgid "Sorry, import is disabled."
154
  msgstr "Извините, импорт отключен."
155
 
156
- #: includes/class-yit-plugin-panel.php:1069
157
  msgid "Sorting successful."
158
  msgstr "Сортировка выполнена успешно."
159
 
160
- #: includes/class-yit-plugin-panel.php:1558
161
  msgid "We need your support"
162
  msgstr "Нам нужна ваша поддержка"
163
 
164
- #: includes/class-yit-plugin-panel.php:1559
165
  msgid "to keep updating and improving the plugin. Please,"
166
  msgstr "чтобы продолжать обновлять и улучшать плагин. Пожалуйста,"
167
 
168
- #: includes/class-yit-plugin-panel.php:1561
169
  msgid "help us by leaving a good review"
170
  msgstr "помогите нам, оставив хороший отзыв"
171
 
172
- #: includes/class-yit-plugin-panel.php:1562
173
  msgid ":) Thanks!"
174
  msgstr ":) Благодарим!"
175
 
@@ -208,6 +208,10 @@ msgstr ""
208
  "как для YITH WooCommerce Wishlist, YITH WooCommerce Ajax Search и т.д.) "
209
  "будут перемещены из предыдущего места в меню YITH."
210
 
 
 
 
 
211
  #: includes/class-yith-dashboard.php:35
212
  msgid "YITH Latest Updates"
213
  msgstr "Последние обновления YITH"
@@ -408,6 +412,10 @@ msgstr ""
408
  "Системная проверка не может определить, какая версия %1$s установлена, из-за "
409
  "проблемы с соединением между вашим сайтом и нашим сервером."
410
 
 
 
 
 
411
  #: templates/fields/ajax-customers.php:41
412
  msgid "Search for a customer..."
413
  msgstr ""
@@ -671,18 +679,6 @@ msgid "Data: %1$.2fMB | Index: %2$.2fMB | Free: %3$.2fMB | Engine: %4$s"
671
  msgstr ""
672
  "Данные: %1$.2fMB | Индекс: %2$.2fMB | Свободно: %3$.2fMB | Движок: %4$s"
673
 
674
- #. translators: 1. Plugin(s) name(s).
675
- #: yit-deactive-plugin.php:119
676
- msgid ""
677
- "%s was deactivated as you're running an higher tier version of the same "
678
- "plugin."
679
- msgid_plural ""
680
- "%s were deactivated as you're running higher tier versions of the same "
681
- "plugins."
682
- msgstr[0] ""
683
- msgstr[1] ""
684
- msgstr[2] ""
685
-
686
  #. translators: %s is the title of the post object.
687
  #: yit-functions.php:1938
688
  msgid "Are you sure you want to move \"%s\" to trash?"
@@ -697,10 +693,22 @@ msgstr "Вы уверены, что хотите удалить \"%s\"?"
697
  msgid "Further actions"
698
  msgstr "Дальнейшие действия"
699
 
700
- #: yit-plugin.php:213
701
  msgid "License"
702
  msgstr "Лицензия"
703
 
 
 
 
 
 
 
 
 
 
 
 
 
704
  #. Author of the plugin/theme
705
  msgid "YITH"
706
  msgstr "YITH"
@@ -716,34 +724,40 @@ msgctxt "[gutenberg]: Category Name"
716
  msgid "YITH"
717
  msgstr "YITH"
718
 
719
- #: includes/class-yit-assets.php:132
720
  msgctxt "Button text"
721
  msgid "Confirm"
722
  msgstr "Подтвердить"
723
 
724
- #: includes/class-yit-assets.php:133
725
  msgctxt "Button text"
726
  msgid "Cancel"
727
  msgstr "Отмена"
728
 
729
- #: includes/class-yit-assets.php:146 yit-functions.php:2009
730
  msgctxt "Trash confirmation action"
731
  msgid "Yes, move to trash"
732
  msgstr "Да, удалить в корзину"
733
 
734
- #: includes/class-yit-assets.php:150 yit-functions.php:2027
735
  #: yit-functions.php:2154
736
  msgctxt "Delete confirmation action"
737
  msgid "Yes, delete"
738
  msgstr "Да, удалить"
739
 
740
  #. translators: 1. Plugin name.
741
- #: includes/class-yit-plugin-panel.php:805
742
  msgctxt "Help tab default title"
743
  msgid "Thank you for purchasing %s!"
744
  msgstr "Благодарим вас за покупку %s!"
745
 
746
- #: includes/class-yit-plugin-panel.php:806
 
 
 
 
 
 
747
  msgctxt "Help tab default description"
748
  msgid ""
749
  "We want to help you enjoy a wonderful experience with all of our products."
@@ -751,12 +765,12 @@ msgstr ""
751
  "Мы хотим помочь вам получить удовольствие от использования всех наших "
752
  "продуктов."
753
 
754
- #: includes/class-yit-plugin-panel.php:853
755
  msgctxt "Premium tab name"
756
  msgid "Get premium"
757
  msgstr "Получите премиум"
758
 
759
- #: includes/class-yit-plugin-panel.php:865
760
  msgctxt "Help tab name"
761
  msgid "Help"
762
  msgstr "Помощь"
@@ -875,7 +889,7 @@ msgid "NO"
875
  msgstr "НЕТ"
876
 
877
  #. translators: 1. Url to EN playlist.
878
- #: templates/panel/help-tab.php:87
879
  msgctxt "Help tab view all video link"
880
  msgid ""
881
  "Check the full <a href=\"%s\" target=\"_blank\">Playlist on Youtube</a> to "
@@ -884,57 +898,57 @@ msgstr ""
884
  "Посмотрите полный <a href=\"%s\" target=\"_blank\">плейлист на Youtube</a>, "
885
  "чтобы узнать больше >"
886
 
887
- #: templates/panel/help-tab.php:94
888
  msgctxt "Help tab Watch Videotutorials link"
889
  msgid "Videos are also available in:"
890
  msgstr "Видеоматериалы также доступны в:"
891
 
892
- #: templates/panel/help-tab.php:124
893
  msgctxt "Help tab Read Documentation link"
894
  msgid "Read the documentation"
895
  msgstr "Прочтите документацию"
896
 
897
- #: templates/panel/help-tab.php:127
898
  msgctxt "Help tab Read Documentation link"
899
  msgid "to learn how the plugin works from the basics."
900
  msgstr ""
901
 
902
- #: templates/panel/help-tab.php:137
903
  msgctxt "Help tab Watch video tutorials link"
904
  msgid "Watch our video tutorials"
905
  msgstr "Посмотрите наши видеоуроки"
906
 
907
- #: templates/panel/help-tab.php:140
908
  msgctxt "Help tab Watch video tutorials link"
909
  msgid "to see some helpful use cases."
910
  msgstr ""
911
 
912
- #: templates/panel/help-tab.php:150
913
  msgctxt "Help tab view FAQs link"
914
  msgid "Check the FAQs"
915
  msgstr "Проверьте ответы на часто задаваемые вопросы"
916
 
917
- #: templates/panel/help-tab.php:153
918
  msgctxt "Help tab view FAQs link"
919
  msgid "to find answers to your doubts."
920
  msgstr "найти ответы на свои сомнения."
921
 
922
- #: templates/panel/help-tab.php:169
923
  msgctxt "Help tab FAQ title"
924
  msgid "Last FAQs in our Help Center"
925
  msgstr "Последние часто задаваемые вопросы в нашем Справочном Центре"
926
 
927
- #: templates/panel/help-tab.php:183
928
  msgctxt "Help tab FAQ link"
929
  msgid "View all FAQs >"
930
  msgstr "Просмотреть все часто задаваемые вопросы >"
931
 
932
- #: templates/panel/help-tab.php:192
933
  msgctxt "Help tab submit ticket title"
934
  msgid "Need help?"
935
  msgstr "Нужна помощь?"
936
 
937
- #: templates/panel/help-tab.php:195
938
  msgctxt "Help tab submit ticket description"
939
  msgid ""
940
  "If you are experiencing any technical issues, ask for help from our "
@@ -945,11 +959,47 @@ msgstr ""
945
  "разработчикам. Отправьте заявку через нашу службу поддержки, и мы поможем "
946
  "вам как можно скорее."
947
 
948
- #: templates/panel/help-tab.php:203
949
  msgctxt "Help tab submit ticket button"
950
  msgid "Submit a ticket"
951
  msgstr "Отправить обращение"
952
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
953
  #: templates/panel/premium-tab.php:30
954
  msgctxt "Premium Tab"
955
  msgid "Get the premium version to unlock advanced features"
@@ -966,17 +1016,23 @@ msgid "Plugin premium features images"
966
  msgstr "Изображения премиум-функций плагина"
967
 
968
  #. translators: alt attribute of main image tag.
969
- #: templates/panel/premium-tab.php:51
970
  msgctxt "Premium Tab"
971
  msgid "And so much more!"
972
  msgstr "И многое другое!"
973
 
974
  #: templates/panel/premium-tab.php:53
 
 
 
 
 
 
975
  msgctxt "Premium Tab"
976
  msgid "Check the free vs premium features >"
977
  msgstr "Проверьте бесплатные и премиум функции >"
978
 
979
- #: templates/panel/premium-tab.php:58
980
  msgctxt "Premium Tab"
981
  msgid "Get the premium version"
982
  msgstr "Получите премиум-версию"
@@ -1036,27 +1092,27 @@ msgctxt "Term action"
1036
  msgid "Delete"
1037
  msgstr "Удалить"
1038
 
1039
- #: yit-plugin.php:84
1040
  msgctxt "Plugin Row Meta"
1041
  msgid "Live Demo"
1042
  msgstr "Живая Демонстрация"
1043
 
1044
- #: yit-plugin.php:88
1045
  msgctxt "Plugin Row Meta"
1046
  msgid "Documentation"
1047
  msgstr "Документация"
1048
 
1049
- #: yit-plugin.php:92
1050
  msgctxt "Plugin Row Meta"
1051
  msgid "Support"
1052
  msgstr "Поддержка"
1053
 
1054
- #: yit-plugin.php:96
1055
  msgctxt "Plugin Row Meta"
1056
  msgid "Premium version"
1057
  msgstr "Премиум версия"
1058
 
1059
- #: yit-plugin.php:209
1060
  msgctxt "Action links"
1061
  msgid "Settings"
1062
  msgstr "Настройки"
4
  msgstr ""
5
  "Project-Id-Version: YITH Framework\n"
6
  "Report-Msgid-Bugs-To: YITH <plugins@yithemes.com>\n"
7
+ "POT-Creation-Date: 2022-08-02 12:02:23+00:00\n"
8
  "PO-Revision-Date: 2022-04-05 17:22:32+0000\n"
9
  "Language: ru\n"
10
  "MIME-Version: 1.0\n"
14
  "10 >= 2 && n % 10 <= 4 && (n % 100 < 12 || n % 100 > 14)) ? 1 : 2);\n"
15
  "X-Generator: GlotPress/3.0.0-alpha.2\n"
16
 
17
+ #: includes/class-yit-assets.php:146 yit-functions.php:2006
18
  msgid "Confirm trash"
19
  msgstr "Подтвердить корзину"
20
 
21
+ #: includes/class-yit-assets.php:147
22
  msgid "Are you sure you want to trash the selected items?"
23
  msgstr "Вы уверены, что хотите переместить в корзину выбранные элементы?"
24
 
25
+ #: includes/class-yit-assets.php:149 includes/class-yit-assets.php:153
26
  #: templates/sysinfo/tabs/main.php:42 templates/sysinfo/tabs/main.php:50
27
  #: yit-functions.php:2008 yit-functions.php:2026
28
  msgid "No"
29
  msgstr "Нет"
30
 
31
+ #: includes/class-yit-assets.php:150 yit-functions.php:2024
32
  #: yit-functions.php:2152
33
  msgid "Confirm delete"
34
  msgstr "Подтвердите удаление"
35
 
36
+ #: includes/class-yit-assets.php:151
37
  msgid "Are you sure you want to delete the selected items?"
38
  msgstr "Вы уверены, что хотите удалить выбранные элементы?"
39
 
40
+ #: includes/class-yit-assets.php:151 yit-functions.php:1940
41
  #: yit-functions.php:2100
42
  msgid ""
43
  "This action cannot be undone and you will not be able to recover this data."
44
  msgstr "Это действие нельзя отменить, и вы не сможете восстановить эти данные."
45
 
46
+ #: includes/class-yit-assets.php:172
47
  msgid "Clear"
48
  msgstr "Очистить"
49
 
50
+ #: includes/class-yit-assets.php:173
51
  msgid "Clear color"
52
  msgstr "Очистить цвет"
53
 
54
+ #: includes/class-yit-assets.php:174
55
  msgid "Default"
56
  msgstr "По умолчанию"
57
 
58
+ #: includes/class-yit-assets.php:175
59
  msgid "Select default color"
60
  msgstr "Выберите цвет по умолчанию"
61
 
62
+ #: includes/class-yit-assets.php:176
63
  msgid "Select Color"
64
  msgstr "Выберите цвет"
65
 
66
+ #: includes/class-yit-assets.php:177
67
  msgid "Color value"
68
  msgstr "Цвет значения"
69
 
115
  msgid "Reset to default"
116
  msgstr "Сброс до заводских настроек"
117
 
118
+ #: includes/class-yit-plugin-panel.php:1074
119
  msgid ""
120
  "The element you have entered already exists. Please, enter another name."
121
  msgstr "Введенный вами элемент уже существует. Пожалуйста, введите другое имя."
122
 
123
+ #: includes/class-yit-plugin-panel.php:1075
124
  msgid "Settings saved"
125
  msgstr "Настройки сохранены"
126
 
127
+ #: includes/class-yit-plugin-panel.php:1076
128
  msgid "Settings reset"
129
  msgstr "Сбросить настройки"
130
 
131
+ #: includes/class-yit-plugin-panel.php:1077
132
  msgid "Element deleted correctly."
133
  msgstr "Элемент удален правильно."
134
 
135
+ #: includes/class-yit-plugin-panel.php:1078
136
+ #: includes/class-yit-plugin-panel.php:1079
137
  msgid "Element updated correctly."
138
  msgstr "Элемент обновлен правильно."
139
 
140
+ #: includes/class-yit-plugin-panel.php:1080
141
  msgid "Database imported correctly."
142
  msgstr "База данных импортирована правильно."
143
 
144
+ #: includes/class-yit-plugin-panel.php:1081
145
  msgid "An error has occurred during import. Please try again."
146
  msgstr "Во время импорта произошла ошибка. Пожалуйста, попробуйте еще раз."
147
 
148
+ #: includes/class-yit-plugin-panel.php:1082
149
  msgid "The added file is not valid."
150
  msgstr "Добавленный файл недействителен."
151
 
152
+ #: includes/class-yit-plugin-panel.php:1083
153
  msgid "Sorry, import is disabled."
154
  msgstr "Извините, импорт отключен."
155
 
156
+ #: includes/class-yit-plugin-panel.php:1084
157
  msgid "Sorting successful."
158
  msgstr "Сортировка выполнена успешно."
159
 
160
+ #: includes/class-yit-plugin-panel.php:1573
161
  msgid "We need your support"
162
  msgstr "Нам нужна ваша поддержка"
163
 
164
+ #: includes/class-yit-plugin-panel.php:1574
165
  msgid "to keep updating and improving the plugin. Please,"
166
  msgstr "чтобы продолжать обновлять и улучшать плагин. Пожалуйста,"
167
 
168
+ #: includes/class-yit-plugin-panel.php:1576
169
  msgid "help us by leaving a good review"
170
  msgstr "помогите нам, оставив хороший отзыв"
171
 
172
+ #: includes/class-yit-plugin-panel.php:1577
173
  msgid ":) Thanks!"
174
  msgstr ":) Благодарим!"
175
 
208
  "как для YITH WooCommerce Wishlist, YITH WooCommerce Ajax Search и т.д.) "
209
  "будут перемещены из предыдущего места в меню YITH."
210
 
211
+ #: includes/class-yith-bh-onboarding.php:85
212
+ msgid "It is not possible save the options"
213
+ msgstr ""
214
+
215
  #: includes/class-yith-dashboard.php:35
216
  msgid "YITH Latest Updates"
217
  msgstr "Последние обновления YITH"
412
  "Системная проверка не может определить, какая версия %1$s установлена, из-за "
413
  "проблемы с соединением между вашим сайтом и нашим сервером."
414
 
415
+ #: templates/bh-onboarding/onboarding-tabs.php:63
416
+ msgid "Save"
417
+ msgstr ""
418
+
419
  #: templates/fields/ajax-customers.php:41
420
  msgid "Search for a customer..."
421
  msgstr ""
679
  msgstr ""
680
  "Данные: %1$.2fMB | Индекс: %2$.2fMB | Свободно: %3$.2fMB | Движок: %4$s"
681
 
 
 
 
 
 
 
 
 
 
 
 
 
682
  #. translators: %s is the title of the post object.
683
  #: yit-functions.php:1938
684
  msgid "Are you sure you want to move \"%s\" to trash?"
693
  msgid "Further actions"
694
  msgstr "Дальнейшие действия"
695
 
696
+ #: yit-plugin.php:233
697
  msgid "License"
698
  msgstr "Лицензия"
699
 
700
+ #. translators: 1. Plugin(s) name(s).
701
+ #: yit-plugin.php:272
702
+ msgid ""
703
+ "%s was deactivated as you're running an higher tier version of the same "
704
+ "plugin."
705
+ msgid_plural ""
706
+ "%s were deactivated as you're running higher tier versions of the same "
707
+ "plugins."
708
+ msgstr[0] ""
709
+ msgstr[1] ""
710
+ msgstr[2] ""
711
+
712
  #. Author of the plugin/theme
713
  msgid "YITH"
714
  msgstr "YITH"
724
  msgid "YITH"
725
  msgstr "YITH"
726
 
727
+ #: includes/class-yit-assets.php:134
728
  msgctxt "Button text"
729
  msgid "Confirm"
730
  msgstr "Подтвердить"
731
 
732
+ #: includes/class-yit-assets.php:135
733
  msgctxt "Button text"
734
  msgid "Cancel"
735
  msgstr "Отмена"
736
 
737
+ #: includes/class-yit-assets.php:148 yit-functions.php:2009
738
  msgctxt "Trash confirmation action"
739
  msgid "Yes, move to trash"
740
  msgstr "Да, удалить в корзину"
741
 
742
+ #: includes/class-yit-assets.php:152 yit-functions.php:2027
743
  #: yit-functions.php:2154
744
  msgctxt "Delete confirmation action"
745
  msgid "Yes, delete"
746
  msgstr "Да, удалить"
747
 
748
  #. translators: 1. Plugin name.
749
+ #: includes/class-yit-plugin-panel.php:803
750
  msgctxt "Help tab default title"
751
  msgid "Thank you for purchasing %s!"
752
  msgstr "Благодарим вас за покупку %s!"
753
 
754
+ #: includes/class-yit-plugin-panel.php:803
755
+ #, fuzzy
756
+ msgctxt "Help tab default title"
757
+ msgid "Thank you for using %s!"
758
+ msgstr "Благодарим вас за покупку %s!"
759
+
760
+ #: includes/class-yit-plugin-panel.php:815
761
  msgctxt "Help tab default description"
762
  msgid ""
763
  "We want to help you enjoy a wonderful experience with all of our products."
765
  "Мы хотим помочь вам получить удовольствие от использования всех наших "
766
  "продуктов."
767
 
768
+ #: includes/class-yit-plugin-panel.php:866
769
  msgctxt "Premium tab name"
770
  msgid "Get premium"
771
  msgstr "Получите премиум"
772
 
773
+ #: includes/class-yit-plugin-panel.php:878
774
  msgctxt "Help tab name"
775
  msgid "Help"
776
  msgstr "Помощь"
889
  msgstr "НЕТ"
890
 
891
  #. translators: 1. Url to EN playlist.
892
+ #: templates/panel/help-tab.php:89
893
  msgctxt "Help tab view all video link"
894
  msgid ""
895
  "Check the full <a href=\"%s\" target=\"_blank\">Playlist on Youtube</a> to "
898
  "Посмотрите полный <a href=\"%s\" target=\"_blank\">плейлист на Youtube</a>, "
899
  "чтобы узнать больше >"
900
 
901
+ #: templates/panel/help-tab.php:96
902
  msgctxt "Help tab Watch Videotutorials link"
903
  msgid "Videos are also available in:"
904
  msgstr "Видеоматериалы также доступны в:"
905
 
906
+ #: templates/panel/help-tab.php:126
907
  msgctxt "Help tab Read Documentation link"
908
  msgid "Read the documentation"
909
  msgstr "Прочтите документацию"
910
 
911
+ #: templates/panel/help-tab.php:129
912
  msgctxt "Help tab Read Documentation link"
913
  msgid "to learn how the plugin works from the basics."
914
  msgstr ""
915
 
916
+ #: templates/panel/help-tab.php:139
917
  msgctxt "Help tab Watch video tutorials link"
918
  msgid "Watch our video tutorials"
919
  msgstr "Посмотрите наши видеоуроки"
920
 
921
+ #: templates/panel/help-tab.php:142
922
  msgctxt "Help tab Watch video tutorials link"
923
  msgid "to see some helpful use cases."
924
  msgstr ""
925
 
926
+ #: templates/panel/help-tab.php:152
927
  msgctxt "Help tab view FAQs link"
928
  msgid "Check the FAQs"
929
  msgstr "Проверьте ответы на часто задаваемые вопросы"
930
 
931
+ #: templates/panel/help-tab.php:155
932
  msgctxt "Help tab view FAQs link"
933
  msgid "to find answers to your doubts."
934
  msgstr "найти ответы на свои сомнения."
935
 
936
+ #: templates/panel/help-tab.php:170
937
  msgctxt "Help tab FAQ title"
938
  msgid "Last FAQs in our Help Center"
939
  msgstr "Последние часто задаваемые вопросы в нашем Справочном Центре"
940
 
941
+ #: templates/panel/help-tab.php:184
942
  msgctxt "Help tab FAQ link"
943
  msgid "View all FAQs >"
944
  msgstr "Просмотреть все часто задаваемые вопросы >"
945
 
946
+ #: templates/panel/help-tab.php:193
947
  msgctxt "Help tab submit ticket title"
948
  msgid "Need help?"
949
  msgstr "Нужна помощь?"
950
 
951
+ #: templates/panel/help-tab.php:196
952
  msgctxt "Help tab submit ticket description"
953
  msgid ""
954
  "If you are experiencing any technical issues, ask for help from our "
959
  "разработчикам. Отправьте заявку через нашу службу поддержки, и мы поможем "
960
  "вам как можно скорее."
961
 
962
+ #: templates/panel/help-tab.php:204
963
  msgctxt "Help tab submit ticket button"
964
  msgid "Submit a ticket"
965
  msgstr "Отправить обращение"
966
 
967
+ #: templates/panel/help-tab.php:216 templates/panel/help-tab.php:218
968
+ #: templates/panel/help-tab.php:223
969
+ #, fuzzy
970
+ msgctxt "Help tab documentation"
971
+ msgid "Read the plugin documentation"
972
+ msgstr "Прочтите документацию"
973
+
974
+ #: templates/panel/help-tab.php:220
975
+ msgctxt "Help tab documentation"
976
+ msgid "to learn how it works from the basics."
977
+ msgstr ""
978
+
979
+ #: templates/panel/help-tab.php:231 templates/panel/help-tab.php:233
980
+ #, fuzzy
981
+ msgctxt "Help tab support"
982
+ msgid "Need some help?"
983
+ msgstr "Нужна помощь?"
984
+
985
+ #: templates/panel/help-tab.php:235
986
+ msgctxt "Help tab support"
987
+ msgid "From DIY to full-service help"
988
+ msgstr ""
989
+
990
+ #: templates/panel/help-tab.php:238
991
+ msgctxt "Help tab support"
992
+ msgid ""
993
+ "Call or chat 24/7 with our support agents, or let our experts build your "
994
+ "site."
995
+ msgstr ""
996
+
997
+ #: templates/panel/help-tab.php:241
998
+ #, fuzzy
999
+ msgctxt "Help tab support"
1000
+ msgid "Yes, I need help"
1001
+ msgstr "Нужна помощь?"
1002
+
1003
  #: templates/panel/premium-tab.php:30
1004
  msgctxt "Premium Tab"
1005
  msgid "Get the premium version to unlock advanced features"
1016
  msgstr "Изображения премиум-функций плагина"
1017
 
1018
  #. translators: alt attribute of main image tag.
1019
+ #: templates/panel/premium-tab.php:51 templates/panel/premium-tab.php:58
1020
  msgctxt "Premium Tab"
1021
  msgid "And so much more!"
1022
  msgstr "И многое другое!"
1023
 
1024
  #: templates/panel/premium-tab.php:53
1025
+ #, fuzzy
1026
+ msgctxt "Premium Tab"
1027
+ msgid "Check the premium features >"
1028
+ msgstr "Проверьте бесплатные и премиум функции >"
1029
+
1030
+ #: templates/panel/premium-tab.php:60
1031
  msgctxt "Premium Tab"
1032
  msgid "Check the free vs premium features >"
1033
  msgstr "Проверьте бесплатные и премиум функции >"
1034
 
1035
+ #: templates/panel/premium-tab.php:65
1036
  msgctxt "Premium Tab"
1037
  msgid "Get the premium version"
1038
  msgstr "Получите премиум-версию"
1092
  msgid "Delete"
1093
  msgstr "Удалить"
1094
 
1095
+ #: yit-plugin.php:85
1096
  msgctxt "Plugin Row Meta"
1097
  msgid "Live Demo"
1098
  msgstr "Живая Демонстрация"
1099
 
1100
+ #: yit-plugin.php:89
1101
  msgctxt "Plugin Row Meta"
1102
  msgid "Documentation"
1103
  msgstr "Документация"
1104
 
1105
+ #: yit-plugin.php:93
1106
  msgctxt "Plugin Row Meta"
1107
  msgid "Support"
1108
  msgstr "Поддержка"
1109
 
1110
+ #: yit-plugin.php:97
1111
  msgctxt "Plugin Row Meta"
1112
  msgid "Premium version"
1113
  msgstr "Премиум версия"
1114
 
1115
+ #: yit-plugin.php:229
1116
  msgctxt "Action links"
1117
  msgid "Settings"
1118
  msgstr "Настройки"
plugin-fw/languages/yith-plugin-fw-zh_CN.mo CHANGED
Binary file
plugin-fw/languages/yith-plugin-fw-zh_CN.po CHANGED
@@ -4,7 +4,7 @@ msgid ""
4
  msgstr ""
5
  "Project-Id-Version: YITH Framework\n"
6
  "Report-Msgid-Bugs-To: YITH <plugins@yithemes.com>\n"
7
- "POT-Creation-Date: 2022-07-06 06:26:03+00:00\n"
8
  "PO-Revision-Date: 2022-06-29 13:12:18+0000\n"
9
  "Language: zh\n"
10
  "MIME-Version: 1.0\n"
@@ -13,56 +13,56 @@ msgstr ""
13
  "Plural-Forms: nplurals=1; plural=0;\n"
14
  "X-Generator: GlotPress/3.0.0-alpha.2\n"
15
 
16
- #: includes/class-yit-assets.php:144 yit-functions.php:2006
17
  msgid "Confirm trash"
18
  msgstr "確認丟棄"
19
 
20
- #: includes/class-yit-assets.php:145
21
  msgid "Are you sure you want to trash the selected items?"
22
  msgstr "你確定要將所選的項目移至垃圾桶嗎?"
23
 
24
- #: includes/class-yit-assets.php:147 includes/class-yit-assets.php:151
25
  #: templates/sysinfo/tabs/main.php:42 templates/sysinfo/tabs/main.php:50
26
  #: yit-functions.php:2008 yit-functions.php:2026
27
  msgid "No"
28
  msgstr "不"
29
 
30
- #: includes/class-yit-assets.php:148 yit-functions.php:2024
31
  #: yit-functions.php:2152
32
  msgid "Confirm delete"
33
  msgstr "確認刪除"
34
 
35
- #: includes/class-yit-assets.php:149
36
  msgid "Are you sure you want to delete the selected items?"
37
  msgstr "你確定要刪除所選的項目嗎?"
38
 
39
- #: includes/class-yit-assets.php:149 yit-functions.php:1940
40
  #: yit-functions.php:2100
41
  msgid ""
42
  "This action cannot be undone and you will not be able to recover this data."
43
  msgstr "此操作無法撤消,您將無法恢復此數據。"
44
 
45
- #: includes/class-yit-assets.php:162
46
  msgid "Clear"
47
  msgstr "清除"
48
 
49
- #: includes/class-yit-assets.php:163
50
  msgid "Clear color"
51
  msgstr "清除顏色"
52
 
53
- #: includes/class-yit-assets.php:164
54
  msgid "Default"
55
  msgstr "預設"
56
 
57
- #: includes/class-yit-assets.php:165
58
  msgid "Select default color"
59
  msgstr "選擇預設顏色"
60
 
61
- #: includes/class-yit-assets.php:166
62
  msgid "Select Color"
63
  msgstr "選擇顏色"
64
 
65
- #: includes/class-yit-assets.php:167
66
  msgid "Color value"
67
  msgstr "顏色數值"
68
 
@@ -110,61 +110,61 @@ msgstr "你確定嗎?"
110
  msgid "Reset to default"
111
  msgstr "重置為預設值"
112
 
113
- #: includes/class-yit-plugin-panel.php:1059
114
  msgid ""
115
  "The element you have entered already exists. Please, enter another name."
116
  msgstr "你輸入的這個元素已經存在,請輸入另一個名稱"
117
 
118
- #: includes/class-yit-plugin-panel.php:1060
119
  msgid "Settings saved"
120
  msgstr "設定已經儲存"
121
 
122
- #: includes/class-yit-plugin-panel.php:1061
123
  msgid "Settings reset"
124
  msgstr "重置設定"
125
 
126
- #: includes/class-yit-plugin-panel.php:1062
127
  msgid "Element deleted correctly."
128
  msgstr "元素已被確實刪除"
129
 
130
- #: includes/class-yit-plugin-panel.php:1063
131
- #: includes/class-yit-plugin-panel.php:1064
132
  msgid "Element updated correctly."
133
  msgstr "元素已正確更新。"
134
 
135
- #: includes/class-yit-plugin-panel.php:1065
136
  msgid "Database imported correctly."
137
  msgstr "資料庫已被正確匯入"
138
 
139
- #: includes/class-yit-plugin-panel.php:1066
140
  msgid "An error has occurred during import. Please try again."
141
  msgstr "匯入過程中發生一個錯誤,請再試一次"
142
 
143
- #: includes/class-yit-plugin-panel.php:1067
144
  msgid "The added file is not valid."
145
  msgstr "添加的檔案無效"
146
 
147
- #: includes/class-yit-plugin-panel.php:1068
148
  msgid "Sorry, import is disabled."
149
  msgstr "抱歉,匯入功能被關閉"
150
 
151
- #: includes/class-yit-plugin-panel.php:1069
152
  msgid "Sorting successful."
153
  msgstr "已順利排序"
154
 
155
- #: includes/class-yit-plugin-panel.php:1558
156
  msgid "We need your support"
157
  msgstr "我們需要你的支援"
158
 
159
- #: includes/class-yit-plugin-panel.php:1559
160
  msgid "to keep updating and improving the plugin. Please,"
161
  msgstr "請不斷保持更新與改進外掛"
162
 
163
- #: includes/class-yit-plugin-panel.php:1561
164
  msgid "help us by leaving a good review"
165
  msgstr "留下好的評論幫助我們更進步"
166
 
167
- #: includes/class-yit-plugin-panel.php:1562
168
  msgid ":) Thanks!"
169
  msgstr ":) 謝謝!"
170
 
@@ -202,6 +202,10 @@ msgstr ""
202
  "WooCommerce Wishlist、YITH WooCommerce Ajax 搜尋等)將從之前的位置移動到 "
203
  "YITH 選單。"
204
 
 
 
 
 
205
  #: includes/class-yith-dashboard.php:35
206
  msgid "YITH Latest Updates"
207
  msgstr "YITH 最新更新"
@@ -392,6 +396,10 @@ msgstr ""
392
  "由於您的網站和我們的伺服器之間的連接問題,系統檢查無法確定安裝了哪個 %1$s 版"
393
  "本。"
394
 
 
 
 
 
395
  #: templates/fields/ajax-customers.php:41
396
  msgid "Search for a customer..."
397
  msgstr "搜尋顧客..."
@@ -653,16 +661,6 @@ msgstr "資料庫可用大小"
653
  msgid "Data: %1$.2fMB | Index: %2$.2fMB | Free: %3$.2fMB | Engine: %4$s"
654
  msgstr "資料數據: %1$.2fMB | 索引: %2$.2fMB | 可用: %3$.2fMB | 引擎: %4$s"
655
 
656
- #. translators: 1. Plugin(s) name(s).
657
- #: yit-deactive-plugin.php:119
658
- msgid ""
659
- "%s was deactivated as you're running an higher tier version of the same "
660
- "plugin."
661
- msgid_plural ""
662
- "%s were deactivated as you're running higher tier versions of the same "
663
- "plugins."
664
- msgstr[0] ""
665
-
666
  #. translators: %s is the title of the post object.
667
  #: yit-functions.php:1938
668
  msgid "Are you sure you want to move \"%s\" to trash?"
@@ -677,10 +675,20 @@ msgstr "您確定要刪除 \"%s\" 嗎?"
677
  msgid "Further actions"
678
  msgstr "進一步動作"
679
 
680
- #: yit-plugin.php:213
681
  msgid "License"
682
  msgstr "授權"
683
 
 
 
 
 
 
 
 
 
 
 
684
  #. Author of the plugin/theme
685
  msgid "YITH"
686
  msgstr "YITH"
@@ -696,45 +704,51 @@ msgctxt "[gutenberg]: Category Name"
696
  msgid "YITH"
697
  msgstr "YITH"
698
 
699
- #: includes/class-yit-assets.php:132
700
  msgctxt "Button text"
701
  msgid "Confirm"
702
  msgstr "確認"
703
 
704
- #: includes/class-yit-assets.php:133
705
  msgctxt "Button text"
706
  msgid "Cancel"
707
  msgstr "取消"
708
 
709
- #: includes/class-yit-assets.php:146 yit-functions.php:2009
710
  msgctxt "Trash confirmation action"
711
  msgid "Yes, move to trash"
712
  msgstr "是的,將它移至垃圾桶"
713
 
714
- #: includes/class-yit-assets.php:150 yit-functions.php:2027
715
  #: yit-functions.php:2154
716
  msgctxt "Delete confirmation action"
717
  msgid "Yes, delete"
718
  msgstr "是的,刪除"
719
 
720
  #. translators: 1. Plugin name.
721
- #: includes/class-yit-plugin-panel.php:805
722
  msgctxt "Help tab default title"
723
  msgid "Thank you for purchasing %s!"
724
  msgstr "感謝您購買 %s !"
725
 
726
- #: includes/class-yit-plugin-panel.php:806
 
 
 
 
 
 
727
  msgctxt "Help tab default description"
728
  msgid ""
729
  "We want to help you enjoy a wonderful experience with all of our products."
730
  msgstr "我們希望幫助您享受我們所有產品的美妙體驗。"
731
 
732
- #: includes/class-yit-plugin-panel.php:853
733
  msgctxt "Premium tab name"
734
  msgid "Get premium"
735
  msgstr "取得高級版"
736
 
737
- #: includes/class-yit-plugin-panel.php:865
738
  msgctxt "Help tab name"
739
  msgid "Help"
740
  msgstr "幫助"
@@ -849,7 +863,7 @@ msgid "NO"
849
  msgstr "不"
850
 
851
  #. translators: 1. Url to EN playlist.
852
- #: templates/panel/help-tab.php:87
853
  msgctxt "Help tab view all video link"
854
  msgid ""
855
  "Check the full <a href=\"%s\" target=\"_blank\">Playlist on Youtube</a> to "
@@ -857,57 +871,57 @@ msgid ""
857
  msgstr ""
858
  "查看全部的 <a href=\"%s\" target=\"_blank\">Youtube</a> 播放清單去學習更多 >"
859
 
860
- #: templates/panel/help-tab.php:94
861
  msgctxt "Help tab Watch Videotutorials link"
862
  msgid "Videos are also available in:"
863
  msgstr "影片也可用於:"
864
 
865
- #: templates/panel/help-tab.php:124
866
  msgctxt "Help tab Read Documentation link"
867
  msgid "Read the documentation"
868
  msgstr "閱讀說明文件"
869
 
870
- #: templates/panel/help-tab.php:127
871
  msgctxt "Help tab Read Documentation link"
872
  msgid "to learn how the plugin works from the basics."
873
  msgstr "了解外掛的基礎工作原理"
874
 
875
- #: templates/panel/help-tab.php:137
876
  msgctxt "Help tab Watch video tutorials link"
877
  msgid "Watch our video tutorials"
878
  msgstr "查看我們的教學影片"
879
 
880
- #: templates/panel/help-tab.php:140
881
  msgctxt "Help tab Watch video tutorials link"
882
  msgid "to see some helpful use cases."
883
  msgstr "查看一些有用的案例"
884
 
885
- #: templates/panel/help-tab.php:150
886
  msgctxt "Help tab view FAQs link"
887
  msgid "Check the FAQs"
888
  msgstr "檢查問與答"
889
 
890
- #: templates/panel/help-tab.php:153
891
  msgctxt "Help tab view FAQs link"
892
  msgid "to find answers to your doubts."
893
  msgstr "找到你的問題答案"
894
 
895
- #: templates/panel/help-tab.php:169
896
  msgctxt "Help tab FAQ title"
897
  msgid "Last FAQs in our Help Center"
898
  msgstr "在我們的幫助中心的最新問答"
899
 
900
- #: templates/panel/help-tab.php:183
901
  msgctxt "Help tab FAQ link"
902
  msgid "View all FAQs >"
903
  msgstr "查看所有的問與答 >"
904
 
905
- #: templates/panel/help-tab.php:192
906
  msgctxt "Help tab submit ticket title"
907
  msgid "Need help?"
908
  msgstr "需要幫忙?"
909
 
910
- #: templates/panel/help-tab.php:195
911
  msgctxt "Help tab submit ticket description"
912
  msgid ""
913
  "If you are experiencing any technical issues, ask for help from our "
@@ -917,11 +931,48 @@ msgstr ""
917
  "如果您遇到任何技術問題,請向我們的開發人員尋求幫助。 通過我們的支援後台提交工"
918
  "作單,我們將盡快為您提供幫助。"
919
 
920
- #: templates/panel/help-tab.php:203
921
  msgctxt "Help tab submit ticket button"
922
  msgid "Submit a ticket"
923
  msgstr "提交一張工作單"
924
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
925
  #: templates/panel/premium-tab.php:30
926
  msgctxt "Premium Tab"
927
  msgid "Get the premium version to unlock advanced features"
@@ -938,17 +989,23 @@ msgid "Plugin premium features images"
938
  msgstr "高級版外掛特色圖片"
939
 
940
  #. translators: alt attribute of main image tag.
941
- #: templates/panel/premium-tab.php:51
942
  msgctxt "Premium Tab"
943
  msgid "And so much more!"
944
  msgstr "還有更多!"
945
 
946
  #: templates/panel/premium-tab.php:53
 
 
 
 
 
 
947
  msgctxt "Premium Tab"
948
  msgid "Check the free vs premium features >"
949
  msgstr "查看免費板與高級版的特色比較"
950
 
951
- #: templates/panel/premium-tab.php:58
952
  msgctxt "Premium Tab"
953
  msgid "Get the premium version"
954
  msgstr "取得高級版本"
@@ -1008,27 +1065,27 @@ msgctxt "Term action"
1008
  msgid "Delete"
1009
  msgstr "刪除"
1010
 
1011
- #: yit-plugin.php:84
1012
  msgctxt "Plugin Row Meta"
1013
  msgid "Live Demo"
1014
  msgstr "即時演示"
1015
 
1016
- #: yit-plugin.php:88
1017
  msgctxt "Plugin Row Meta"
1018
  msgid "Documentation"
1019
  msgstr "說明文件"
1020
 
1021
- #: yit-plugin.php:92
1022
  msgctxt "Plugin Row Meta"
1023
  msgid "Support"
1024
  msgstr "支援"
1025
 
1026
- #: yit-plugin.php:96
1027
  msgctxt "Plugin Row Meta"
1028
  msgid "Premium version"
1029
  msgstr "高級版本"
1030
 
1031
- #: yit-plugin.php:209
1032
  msgctxt "Action links"
1033
  msgid "Settings"
1034
  msgstr "設定"
4
  msgstr ""
5
  "Project-Id-Version: YITH Framework\n"
6
  "Report-Msgid-Bugs-To: YITH <plugins@yithemes.com>\n"
7
+ "POT-Creation-Date: 2022-08-02 12:02:23+00:00\n"
8
  "PO-Revision-Date: 2022-06-29 13:12:18+0000\n"
9
  "Language: zh\n"
10
  "MIME-Version: 1.0\n"
13
  "Plural-Forms: nplurals=1; plural=0;\n"
14
  "X-Generator: GlotPress/3.0.0-alpha.2\n"
15
 
16
+ #: includes/class-yit-assets.php:146 yit-functions.php:2006
17
  msgid "Confirm trash"
18
  msgstr "確認丟棄"
19
 
20
+ #: includes/class-yit-assets.php:147
21
  msgid "Are you sure you want to trash the selected items?"
22
  msgstr "你確定要將所選的項目移至垃圾桶嗎?"
23
 
24
+ #: includes/class-yit-assets.php:149 includes/class-yit-assets.php:153
25
  #: templates/sysinfo/tabs/main.php:42 templates/sysinfo/tabs/main.php:50
26
  #: yit-functions.php:2008 yit-functions.php:2026
27
  msgid "No"
28
  msgstr "不"
29
 
30
+ #: includes/class-yit-assets.php:150 yit-functions.php:2024
31
  #: yit-functions.php:2152
32
  msgid "Confirm delete"
33
  msgstr "確認刪除"
34
 
35
+ #: includes/class-yit-assets.php:151
36
  msgid "Are you sure you want to delete the selected items?"
37
  msgstr "你確定要刪除所選的項目嗎?"
38
 
39
+ #: includes/class-yit-assets.php:151 yit-functions.php:1940
40
  #: yit-functions.php:2100
41
  msgid ""
42
  "This action cannot be undone and you will not be able to recover this data."
43
  msgstr "此操作無法撤消,您將無法恢復此數據。"
44
 
45
+ #: includes/class-yit-assets.php:172
46
  msgid "Clear"
47
  msgstr "清除"
48
 
49
+ #: includes/class-yit-assets.php:173
50
  msgid "Clear color"
51
  msgstr "清除顏色"
52
 
53
+ #: includes/class-yit-assets.php:174
54
  msgid "Default"
55
  msgstr "預設"
56
 
57
+ #: includes/class-yit-assets.php:175
58
  msgid "Select default color"
59
  msgstr "選擇預設顏色"
60
 
61
+ #: includes/class-yit-assets.php:176
62
  msgid "Select Color"
63
  msgstr "選擇顏色"
64
 
65
+ #: includes/class-yit-assets.php:177
66
  msgid "Color value"
67
  msgstr "顏色數值"
68
 
110
  msgid "Reset to default"
111
  msgstr "重置為預設值"
112
 
113
+ #: includes/class-yit-plugin-panel.php:1074
114
  msgid ""
115
  "The element you have entered already exists. Please, enter another name."
116
  msgstr "你輸入的這個元素已經存在,請輸入另一個名稱"
117
 
118
+ #: includes/class-yit-plugin-panel.php:1075
119
  msgid "Settings saved"
120
  msgstr "設定已經儲存"
121
 
122
+ #: includes/class-yit-plugin-panel.php:1076
123
  msgid "Settings reset"
124
  msgstr "重置設定"
125
 
126
+ #: includes/class-yit-plugin-panel.php:1077
127
  msgid "Element deleted correctly."
128
  msgstr "元素已被確實刪除"
129
 
130
+ #: includes/class-yit-plugin-panel.php:1078
131
+ #: includes/class-yit-plugin-panel.php:1079
132
  msgid "Element updated correctly."
133
  msgstr "元素已正確更新。"
134
 
135
+ #: includes/class-yit-plugin-panel.php:1080
136
  msgid "Database imported correctly."
137
  msgstr "資料庫已被正確匯入"
138
 
139
+ #: includes/class-yit-plugin-panel.php:1081
140
  msgid "An error has occurred during import. Please try again."
141
  msgstr "匯入過程中發生一個錯誤,請再試一次"
142
 
143
+ #: includes/class-yit-plugin-panel.php:1082
144
  msgid "The added file is not valid."
145
  msgstr "添加的檔案無效"
146
 
147
+ #: includes/class-yit-plugin-panel.php:1083
148
  msgid "Sorry, import is disabled."
149
  msgstr "抱歉,匯入功能被關閉"
150
 
151
+ #: includes/class-yit-plugin-panel.php:1084
152
  msgid "Sorting successful."
153
  msgstr "已順利排序"
154
 
155
+ #: includes/class-yit-plugin-panel.php:1573
156
  msgid "We need your support"
157
  msgstr "我們需要你的支援"
158
 
159
+ #: includes/class-yit-plugin-panel.php:1574
160
  msgid "to keep updating and improving the plugin. Please,"
161
  msgstr "請不斷保持更新與改進外掛"
162
 
163
+ #: includes/class-yit-plugin-panel.php:1576
164
  msgid "help us by leaving a good review"
165
  msgstr "留下好的評論幫助我們更進步"
166
 
167
+ #: includes/class-yit-plugin-panel.php:1577
168
  msgid ":) Thanks!"
169
  msgstr ":) 謝謝!"
170
 
202
  "WooCommerce Wishlist、YITH WooCommerce Ajax 搜尋等)將從之前的位置移動到 "
203
  "YITH 選單。"
204
 
205
+ #: includes/class-yith-bh-onboarding.php:85
206
+ msgid "It is not possible save the options"
207
+ msgstr ""
208
+
209
  #: includes/class-yith-dashboard.php:35
210
  msgid "YITH Latest Updates"
211
  msgstr "YITH 最新更新"
396
  "由於您的網站和我們的伺服器之間的連接問題,系統檢查無法確定安裝了哪個 %1$s 版"
397
  "本。"
398
 
399
+ #: templates/bh-onboarding/onboarding-tabs.php:63
400
+ msgid "Save"
401
+ msgstr ""
402
+
403
  #: templates/fields/ajax-customers.php:41
404
  msgid "Search for a customer..."
405
  msgstr "搜尋顧客..."
661
  msgid "Data: %1$.2fMB | Index: %2$.2fMB | Free: %3$.2fMB | Engine: %4$s"
662
  msgstr "資料數據: %1$.2fMB | 索引: %2$.2fMB | 可用: %3$.2fMB | 引擎: %4$s"
663
 
 
 
 
 
 
 
 
 
 
 
664
  #. translators: %s is the title of the post object.
665
  #: yit-functions.php:1938
666
  msgid "Are you sure you want to move \"%s\" to trash?"
675
  msgid "Further actions"
676
  msgstr "進一步動作"
677
 
678
+ #: yit-plugin.php:233
679
  msgid "License"
680
  msgstr "授權"
681
 
682
+ #. translators: 1. Plugin(s) name(s).
683
+ #: yit-plugin.php:272
684
+ msgid ""
685
+ "%s was deactivated as you're running an higher tier version of the same "
686
+ "plugin."
687
+ msgid_plural ""
688
+ "%s were deactivated as you're running higher tier versions of the same "
689
+ "plugins."
690
+ msgstr[0] ""
691
+
692
  #. Author of the plugin/theme
693
  msgid "YITH"
694
  msgstr "YITH"
704
  msgid "YITH"
705
  msgstr "YITH"
706
 
707
+ #: includes/class-yit-assets.php:134
708
  msgctxt "Button text"
709
  msgid "Confirm"
710
  msgstr "確認"
711
 
712
+ #: includes/class-yit-assets.php:135
713
  msgctxt "Button text"
714
  msgid "Cancel"
715
  msgstr "取消"
716
 
717
+ #: includes/class-yit-assets.php:148 yit-functions.php:2009
718
  msgctxt "Trash confirmation action"
719
  msgid "Yes, move to trash"
720
  msgstr "是的,將它移至垃圾桶"
721
 
722
+ #: includes/class-yit-assets.php:152 yit-functions.php:2027
723
  #: yit-functions.php:2154
724
  msgctxt "Delete confirmation action"
725
  msgid "Yes, delete"
726
  msgstr "是的,刪除"
727
 
728
  #. translators: 1. Plugin name.
729
+ #: includes/class-yit-plugin-panel.php:803
730
  msgctxt "Help tab default title"
731
  msgid "Thank you for purchasing %s!"
732
  msgstr "感謝您購買 %s !"
733
 
734
+ #: includes/class-yit-plugin-panel.php:803
735
+ #, fuzzy
736
+ msgctxt "Help tab default title"
737
+ msgid "Thank you for using %s!"
738
+ msgstr "感謝您購買 %s !"
739
+
740
+ #: includes/class-yit-plugin-panel.php:815
741
  msgctxt "Help tab default description"
742
  msgid ""
743
  "We want to help you enjoy a wonderful experience with all of our products."
744
  msgstr "我們希望幫助您享受我們所有產品的美妙體驗。"
745
 
746
+ #: includes/class-yit-plugin-panel.php:866
747
  msgctxt "Premium tab name"
748
  msgid "Get premium"
749
  msgstr "取得高級版"
750
 
751
+ #: includes/class-yit-plugin-panel.php:878
752
  msgctxt "Help tab name"
753
  msgid "Help"
754
  msgstr "幫助"
863
  msgstr "不"
864
 
865
  #. translators: 1. Url to EN playlist.
866
+ #: templates/panel/help-tab.php:89
867
  msgctxt "Help tab view all video link"
868
  msgid ""
869
  "Check the full <a href=\"%s\" target=\"_blank\">Playlist on Youtube</a> to "
871
  msgstr ""
872
  "查看全部的 <a href=\"%s\" target=\"_blank\">Youtube</a> 播放清單去學習更多 >"
873
 
874
+ #: templates/panel/help-tab.php:96
875
  msgctxt "Help tab Watch Videotutorials link"
876
  msgid "Videos are also available in:"
877
  msgstr "影片也可用於:"
878
 
879
+ #: templates/panel/help-tab.php:126
880
  msgctxt "Help tab Read Documentation link"
881
  msgid "Read the documentation"
882
  msgstr "閱讀說明文件"
883
 
884
+ #: templates/panel/help-tab.php:129
885
  msgctxt "Help tab Read Documentation link"
886
  msgid "to learn how the plugin works from the basics."
887
  msgstr "了解外掛的基礎工作原理"
888
 
889
+ #: templates/panel/help-tab.php:139
890
  msgctxt "Help tab Watch video tutorials link"
891
  msgid "Watch our video tutorials"
892
  msgstr "查看我們的教學影片"
893
 
894
+ #: templates/panel/help-tab.php:142
895
  msgctxt "Help tab Watch video tutorials link"
896
  msgid "to see some helpful use cases."
897
  msgstr "查看一些有用的案例"
898
 
899
+ #: templates/panel/help-tab.php:152
900
  msgctxt "Help tab view FAQs link"
901
  msgid "Check the FAQs"
902
  msgstr "檢查問與答"
903
 
904
+ #: templates/panel/help-tab.php:155
905
  msgctxt "Help tab view FAQs link"
906
  msgid "to find answers to your doubts."
907
  msgstr "找到你的問題答案"
908
 
909
+ #: templates/panel/help-tab.php:170
910
  msgctxt "Help tab FAQ title"
911
  msgid "Last FAQs in our Help Center"
912
  msgstr "在我們的幫助中心的最新問答"
913
 
914
+ #: templates/panel/help-tab.php:184
915
  msgctxt "Help tab FAQ link"
916
  msgid "View all FAQs >"
917
  msgstr "查看所有的問與答 >"
918
 
919
+ #: templates/panel/help-tab.php:193
920
  msgctxt "Help tab submit ticket title"
921
  msgid "Need help?"
922
  msgstr "需要幫忙?"
923
 
924
+ #: templates/panel/help-tab.php:196
925
  msgctxt "Help tab submit ticket description"
926
  msgid ""
927
  "If you are experiencing any technical issues, ask for help from our "
931
  "如果您遇到任何技術問題,請向我們的開發人員尋求幫助。 通過我們的支援後台提交工"
932
  "作單,我們將盡快為您提供幫助。"
933
 
934
+ #: templates/panel/help-tab.php:204
935
  msgctxt "Help tab submit ticket button"
936
  msgid "Submit a ticket"
937
  msgstr "提交一張工作單"
938
 
939
+ #: templates/panel/help-tab.php:216 templates/panel/help-tab.php:218
940
+ #: templates/panel/help-tab.php:223
941
+ #, fuzzy
942
+ msgctxt "Help tab documentation"
943
+ msgid "Read the plugin documentation"
944
+ msgstr "閱讀說明文件"
945
+
946
+ #: templates/panel/help-tab.php:220
947
+ #, fuzzy
948
+ msgctxt "Help tab documentation"
949
+ msgid "to learn how it works from the basics."
950
+ msgstr "了解外掛的基礎工作原理"
951
+
952
+ #: templates/panel/help-tab.php:231 templates/panel/help-tab.php:233
953
+ #, fuzzy
954
+ msgctxt "Help tab support"
955
+ msgid "Need some help?"
956
+ msgstr "需要幫忙?"
957
+
958
+ #: templates/panel/help-tab.php:235
959
+ msgctxt "Help tab support"
960
+ msgid "From DIY to full-service help"
961
+ msgstr ""
962
+
963
+ #: templates/panel/help-tab.php:238
964
+ msgctxt "Help tab support"
965
+ msgid ""
966
+ "Call or chat 24/7 with our support agents, or let our experts build your "
967
+ "site."
968
+ msgstr ""
969
+
970
+ #: templates/panel/help-tab.php:241
971
+ #, fuzzy
972
+ msgctxt "Help tab support"
973
+ msgid "Yes, I need help"
974
+ msgstr "需要幫忙?"
975
+
976
  #: templates/panel/premium-tab.php:30
977
  msgctxt "Premium Tab"
978
  msgid "Get the premium version to unlock advanced features"
989
  msgstr "高級版外掛特色圖片"
990
 
991
  #. translators: alt attribute of main image tag.
992
+ #: templates/panel/premium-tab.php:51 templates/panel/premium-tab.php:58
993
  msgctxt "Premium Tab"
994
  msgid "And so much more!"
995
  msgstr "還有更多!"
996
 
997
  #: templates/panel/premium-tab.php:53
998
+ #, fuzzy
999
+ msgctxt "Premium Tab"
1000
+ msgid "Check the premium features >"
1001
+ msgstr "查看免費板與高級版的特色比較"
1002
+
1003
+ #: templates/panel/premium-tab.php:60
1004
  msgctxt "Premium Tab"
1005
  msgid "Check the free vs premium features >"
1006
  msgstr "查看免費板與高級版的特色比較"
1007
 
1008
+ #: templates/panel/premium-tab.php:65
1009
  msgctxt "Premium Tab"
1010
  msgid "Get the premium version"
1011
  msgstr "取得高級版本"
1065
  msgid "Delete"
1066
  msgstr "刪除"
1067
 
1068
+ #: yit-plugin.php:85
1069
  msgctxt "Plugin Row Meta"
1070
  msgid "Live Demo"
1071
  msgstr "即時演示"
1072
 
1073
+ #: yit-plugin.php:89
1074
  msgctxt "Plugin Row Meta"
1075
  msgid "Documentation"
1076
  msgstr "說明文件"
1077
 
1078
+ #: yit-plugin.php:93
1079
  msgctxt "Plugin Row Meta"
1080
  msgid "Support"
1081
  msgstr "支援"
1082
 
1083
+ #: yit-plugin.php:97
1084
  msgctxt "Plugin Row Meta"
1085
  msgid "Premium version"
1086
  msgstr "高級版本"
1087
 
1088
+ #: yit-plugin.php:229
1089
  msgctxt "Action links"
1090
  msgid "Settings"
1091
  msgstr "設定"
plugin-fw/languages/yith-plugin-fw.pot CHANGED
@@ -4,7 +4,7 @@ msgid ""
4
  msgstr ""
5
  "Project-Id-Version: \n"
6
  "Report-Msgid-Bugs-To: YITH <plugins@yithemes.com>\n"
7
- "POT-Creation-Date: 2022-07-06 06:26:03+00:00\n"
8
  "MIME-Version: 1.0\n"
9
  "Content-Type: text/plain; charset=utf-8\n"
10
  "Content-Transfer-Encoding: 8bit\n"
@@ -24,55 +24,55 @@ msgstr ""
24
  "X-Textdomain-Support: yes\n"
25
  "X-Generator: grunt-wp-i18n 1.0.3\n"
26
 
27
- #: includes/class-yit-assets.php:144 yit-functions.php:2006
28
  msgid "Confirm trash"
29
  msgstr ""
30
 
31
- #: includes/class-yit-assets.php:145
32
  msgid "Are you sure you want to trash the selected items?"
33
  msgstr ""
34
 
35
- #: includes/class-yit-assets.php:147 includes/class-yit-assets.php:151
36
  #: templates/sysinfo/tabs/main.php:42 templates/sysinfo/tabs/main.php:50
37
  #: yit-functions.php:2008 yit-functions.php:2026
38
  msgid "No"
39
  msgstr ""
40
 
41
- #: includes/class-yit-assets.php:148 yit-functions.php:2024
42
  #: yit-functions.php:2152
43
  msgid "Confirm delete"
44
  msgstr ""
45
 
46
- #: includes/class-yit-assets.php:149
47
  msgid "Are you sure you want to delete the selected items?"
48
  msgstr ""
49
 
50
- #: includes/class-yit-assets.php:149 yit-functions.php:1940
51
  #: yit-functions.php:2100
52
  msgid "This action cannot be undone and you will not be able to recover this data."
53
  msgstr ""
54
 
55
- #: includes/class-yit-assets.php:162
56
  msgid "Clear"
57
  msgstr ""
58
 
59
- #: includes/class-yit-assets.php:163
60
  msgid "Clear color"
61
  msgstr ""
62
 
63
- #: includes/class-yit-assets.php:164
64
  msgid "Default"
65
  msgstr ""
66
 
67
- #: includes/class-yit-assets.php:165
68
  msgid "Select default color"
69
  msgstr ""
70
 
71
- #: includes/class-yit-assets.php:166
72
  msgid "Select Color"
73
  msgstr ""
74
 
75
- #: includes/class-yit-assets.php:167
76
  msgid "Color value"
77
  msgstr ""
78
 
@@ -119,60 +119,60 @@ msgstr ""
119
  msgid "Reset to default"
120
  msgstr ""
121
 
122
- #: includes/class-yit-plugin-panel.php:1059
123
  msgid "The element you have entered already exists. Please, enter another name."
124
  msgstr ""
125
 
126
- #: includes/class-yit-plugin-panel.php:1060
127
  msgid "Settings saved"
128
  msgstr ""
129
 
130
- #: includes/class-yit-plugin-panel.php:1061
131
  msgid "Settings reset"
132
  msgstr ""
133
 
134
- #: includes/class-yit-plugin-panel.php:1062
135
  msgid "Element deleted correctly."
136
  msgstr ""
137
 
138
- #: includes/class-yit-plugin-panel.php:1063
139
- #: includes/class-yit-plugin-panel.php:1064
140
  msgid "Element updated correctly."
141
  msgstr ""
142
 
143
- #: includes/class-yit-plugin-panel.php:1065
144
  msgid "Database imported correctly."
145
  msgstr ""
146
 
147
- #: includes/class-yit-plugin-panel.php:1066
148
  msgid "An error has occurred during import. Please try again."
149
  msgstr ""
150
 
151
- #: includes/class-yit-plugin-panel.php:1067
152
  msgid "The added file is not valid."
153
  msgstr ""
154
 
155
- #: includes/class-yit-plugin-panel.php:1068
156
  msgid "Sorry, import is disabled."
157
  msgstr ""
158
 
159
- #: includes/class-yit-plugin-panel.php:1069
160
  msgid "Sorting successful."
161
  msgstr ""
162
 
163
- #: includes/class-yit-plugin-panel.php:1558
164
  msgid "We need your support"
165
  msgstr ""
166
 
167
- #: includes/class-yit-plugin-panel.php:1559
168
  msgid "to keep updating and improving the plugin. Please,"
169
  msgstr ""
170
 
171
- #: includes/class-yit-plugin-panel.php:1561
172
  msgid "help us by leaving a good review"
173
  msgstr ""
174
 
175
- #: includes/class-yit-plugin-panel.php:1562
176
  msgid ":) Thanks!"
177
  msgstr ""
178
 
@@ -204,6 +204,10 @@ msgid ""
204
  "from previous location to YITH menu."
205
  msgstr ""
206
 
 
 
 
 
207
  #: includes/class-yith-dashboard.php:35
208
  msgid "YITH Latest Updates"
209
  msgstr ""
@@ -389,6 +393,10 @@ msgid ""
389
  "connection issue between your site and our server."
390
  msgstr ""
391
 
 
 
 
 
392
  #: templates/fields/ajax-customers.php:41
393
  msgid "Search for a customer..."
394
  msgstr ""
@@ -649,17 +657,6 @@ msgstr ""
649
  msgid "Data: %1$.2fMB | Index: %2$.2fMB | Free: %3$.2fMB | Engine: %4$s"
650
  msgstr ""
651
 
652
- #: yit-deactive-plugin.php:119
653
- #. translators: 1. Plugin(s) name(s).
654
- msgid ""
655
- "%s was deactivated as you're running an higher tier version of the same "
656
- "plugin."
657
- msgid_plural ""
658
- "%s were deactivated as you're running higher tier versions of the same "
659
- "plugins."
660
- msgstr[0] ""
661
- msgstr[1] ""
662
-
663
  #: yit-functions.php:1938
664
  #. translators: %s is the title of the post object.
665
  msgid "Are you sure you want to move \"%s\" to trash?"
@@ -674,10 +671,21 @@ msgstr ""
674
  msgid "Further actions"
675
  msgstr ""
676
 
677
- #: yit-plugin.php:213
678
  msgid "License"
679
  msgstr ""
680
 
 
 
 
 
 
 
 
 
 
 
 
681
  #. Author of the plugin/theme
682
  msgid "YITH"
683
  msgstr ""
@@ -693,44 +701,49 @@ msgctxt "[gutenberg]: Category Name"
693
  msgid "YITH"
694
  msgstr ""
695
 
696
- #: includes/class-yit-assets.php:132
697
  msgctxt "Button text"
698
  msgid "Confirm"
699
  msgstr ""
700
 
701
- #: includes/class-yit-assets.php:133
702
  msgctxt "Button text"
703
  msgid "Cancel"
704
  msgstr ""
705
 
706
- #: includes/class-yit-assets.php:146 yit-functions.php:2009
707
  msgctxt "Trash confirmation action"
708
  msgid "Yes, move to trash"
709
  msgstr ""
710
 
711
- #: includes/class-yit-assets.php:150 yit-functions.php:2027
712
  #: yit-functions.php:2154
713
  msgctxt "Delete confirmation action"
714
  msgid "Yes, delete"
715
  msgstr ""
716
 
717
- #: includes/class-yit-plugin-panel.php:805
718
  #. translators: 1. Plugin name.
719
  msgctxt "Help tab default title"
720
  msgid "Thank you for purchasing %s!"
721
  msgstr ""
722
 
723
- #: includes/class-yit-plugin-panel.php:806
 
 
 
 
 
724
  msgctxt "Help tab default description"
725
  msgid "We want to help you enjoy a wonderful experience with all of our products."
726
  msgstr ""
727
 
728
- #: includes/class-yit-plugin-panel.php:853
729
  msgctxt "Premium tab name"
730
  msgid "Get premium"
731
  msgstr ""
732
 
733
- #: includes/class-yit-plugin-panel.php:865
734
  msgctxt "Help tab name"
735
  msgid "Help"
736
  msgstr ""
@@ -841,7 +854,7 @@ msgctxt "YES/NO button: use MAX 4 characters!"
841
  msgid "NO"
842
  msgstr ""
843
 
844
- #: templates/panel/help-tab.php:87
845
  #. translators: 1. Url to EN playlist.
846
  msgctxt "Help tab view all video link"
847
  msgid ""
@@ -849,57 +862,57 @@ msgid ""
849
  "learn more >"
850
  msgstr ""
851
 
852
- #: templates/panel/help-tab.php:94
853
  msgctxt "Help tab Watch Videotutorials link"
854
  msgid "Videos are also available in:"
855
  msgstr ""
856
 
857
- #: templates/panel/help-tab.php:124
858
  msgctxt "Help tab Read Documentation link"
859
  msgid "Read the documentation"
860
  msgstr ""
861
 
862
- #: templates/panel/help-tab.php:127
863
  msgctxt "Help tab Read Documentation link"
864
  msgid "to learn how the plugin works from the basics."
865
  msgstr ""
866
 
867
- #: templates/panel/help-tab.php:137
868
  msgctxt "Help tab Watch video tutorials link"
869
  msgid "Watch our video tutorials"
870
  msgstr ""
871
 
872
- #: templates/panel/help-tab.php:140
873
  msgctxt "Help tab Watch video tutorials link"
874
  msgid "to see some helpful use cases."
875
  msgstr ""
876
 
877
- #: templates/panel/help-tab.php:150
878
  msgctxt "Help tab view FAQs link"
879
  msgid "Check the FAQs"
880
  msgstr ""
881
 
882
- #: templates/panel/help-tab.php:153
883
  msgctxt "Help tab view FAQs link"
884
  msgid "to find answers to your doubts."
885
  msgstr ""
886
 
887
- #: templates/panel/help-tab.php:169
888
  msgctxt "Help tab FAQ title"
889
  msgid "Last FAQs in our Help Center"
890
  msgstr ""
891
 
892
- #: templates/panel/help-tab.php:183
893
  msgctxt "Help tab FAQ link"
894
  msgid "View all FAQs >"
895
  msgstr ""
896
 
897
- #: templates/panel/help-tab.php:192
898
  msgctxt "Help tab submit ticket title"
899
  msgid "Need help?"
900
  msgstr ""
901
 
902
- #: templates/panel/help-tab.php:195
903
  msgctxt "Help tab submit ticket description"
904
  msgid ""
905
  "If you are experiencing any technical issues, ask for help from our "
@@ -907,11 +920,44 @@ msgid ""
907
  "as soon as possible."
908
  msgstr ""
909
 
910
- #: templates/panel/help-tab.php:203
911
  msgctxt "Help tab submit ticket button"
912
  msgid "Submit a ticket"
913
  msgstr ""
914
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
915
  #: templates/panel/premium-tab.php:30
916
  msgctxt "Premium Tab"
917
  msgid "Get the premium version to unlock advanced features"
@@ -927,7 +973,7 @@ msgctxt "Premium Tab"
927
  msgid "Plugin premium features images"
928
  msgstr ""
929
 
930
- #: templates/panel/premium-tab.php:51
931
  #. translators: alt attribute of main image tag.
932
  msgctxt "Premium Tab"
933
  msgid "And so much more!"
@@ -935,10 +981,15 @@ msgstr ""
935
 
936
  #: templates/panel/premium-tab.php:53
937
  msgctxt "Premium Tab"
 
 
 
 
 
938
  msgid "Check the free vs premium features >"
939
  msgstr ""
940
 
941
- #: templates/panel/premium-tab.php:58
942
  msgctxt "Premium Tab"
943
  msgid "Get the premium version"
944
  msgstr ""
@@ -998,27 +1049,27 @@ msgctxt "Term action"
998
  msgid "Delete"
999
  msgstr ""
1000
 
1001
- #: yit-plugin.php:84
1002
  msgctxt "Plugin Row Meta"
1003
  msgid "Live Demo"
1004
  msgstr ""
1005
 
1006
- #: yit-plugin.php:88
1007
  msgctxt "Plugin Row Meta"
1008
  msgid "Documentation"
1009
  msgstr ""
1010
 
1011
- #: yit-plugin.php:92
1012
  msgctxt "Plugin Row Meta"
1013
  msgid "Support"
1014
  msgstr ""
1015
 
1016
- #: yit-plugin.php:96
1017
  msgctxt "Plugin Row Meta"
1018
  msgid "Premium version"
1019
  msgstr ""
1020
 
1021
- #: yit-plugin.php:209
1022
  msgctxt "Action links"
1023
  msgid "Settings"
1024
  msgstr ""
4
  msgstr ""
5
  "Project-Id-Version: \n"
6
  "Report-Msgid-Bugs-To: YITH <plugins@yithemes.com>\n"
7
+ "POT-Creation-Date: 2022-08-02 12:02:23+00:00\n"
8
  "MIME-Version: 1.0\n"
9
  "Content-Type: text/plain; charset=utf-8\n"
10
  "Content-Transfer-Encoding: 8bit\n"
24
  "X-Textdomain-Support: yes\n"
25
  "X-Generator: grunt-wp-i18n 1.0.3\n"
26
 
27
+ #: includes/class-yit-assets.php:146 yit-functions.php:2006
28
  msgid "Confirm trash"
29
  msgstr ""
30
 
31
+ #: includes/class-yit-assets.php:147
32
  msgid "Are you sure you want to trash the selected items?"
33
  msgstr ""
34
 
35
+ #: includes/class-yit-assets.php:149 includes/class-yit-assets.php:153
36
  #: templates/sysinfo/tabs/main.php:42 templates/sysinfo/tabs/main.php:50
37
  #: yit-functions.php:2008 yit-functions.php:2026
38
  msgid "No"
39
  msgstr ""
40
 
41
+ #: includes/class-yit-assets.php:150 yit-functions.php:2024
42
  #: yit-functions.php:2152
43
  msgid "Confirm delete"
44
  msgstr ""
45
 
46
+ #: includes/class-yit-assets.php:151
47
  msgid "Are you sure you want to delete the selected items?"
48
  msgstr ""
49
 
50
+ #: includes/class-yit-assets.php:151 yit-functions.php:1940
51
  #: yit-functions.php:2100
52
  msgid "This action cannot be undone and you will not be able to recover this data."
53
  msgstr ""
54
 
55
+ #: includes/class-yit-assets.php:172
56
  msgid "Clear"
57
  msgstr ""
58
 
59
+ #: includes/class-yit-assets.php:173
60
  msgid "Clear color"
61
  msgstr ""
62
 
63
+ #: includes/class-yit-assets.php:174
64
  msgid "Default"
65
  msgstr ""
66
 
67
+ #: includes/class-yit-assets.php:175
68
  msgid "Select default color"
69
  msgstr ""
70
 
71
+ #: includes/class-yit-assets.php:176
72
  msgid "Select Color"
73
  msgstr ""
74
 
75
+ #: includes/class-yit-assets.php:177
76
  msgid "Color value"
77
  msgstr ""
78
 
119
  msgid "Reset to default"
120
  msgstr ""
121
 
122
+ #: includes/class-yit-plugin-panel.php:1074
123
  msgid "The element you have entered already exists. Please, enter another name."
124
  msgstr ""
125
 
126
+ #: includes/class-yit-plugin-panel.php:1075
127
  msgid "Settings saved"
128
  msgstr ""
129
 
130
+ #: includes/class-yit-plugin-panel.php:1076
131
  msgid "Settings reset"
132
  msgstr ""
133
 
134
+ #: includes/class-yit-plugin-panel.php:1077
135
  msgid "Element deleted correctly."
136
  msgstr ""
137
 
138
+ #: includes/class-yit-plugin-panel.php:1078
139
+ #: includes/class-yit-plugin-panel.php:1079
140
  msgid "Element updated correctly."
141
  msgstr ""
142
 
143
+ #: includes/class-yit-plugin-panel.php:1080
144
  msgid "Database imported correctly."
145
  msgstr ""
146
 
147
+ #: includes/class-yit-plugin-panel.php:1081
148
  msgid "An error has occurred during import. Please try again."
149
  msgstr ""
150
 
151
+ #: includes/class-yit-plugin-panel.php:1082
152
  msgid "The added file is not valid."
153
  msgstr ""
154
 
155
+ #: includes/class-yit-plugin-panel.php:1083
156
  msgid "Sorry, import is disabled."
157
  msgstr ""
158
 
159
+ #: includes/class-yit-plugin-panel.php:1084
160
  msgid "Sorting successful."
161
  msgstr ""
162
 
163
+ #: includes/class-yit-plugin-panel.php:1573
164
  msgid "We need your support"
165
  msgstr ""
166
 
167
+ #: includes/class-yit-plugin-panel.php:1574
168
  msgid "to keep updating and improving the plugin. Please,"
169
  msgstr ""
170
 
171
+ #: includes/class-yit-plugin-panel.php:1576
172
  msgid "help us by leaving a good review"
173
  msgstr ""
174
 
175
+ #: includes/class-yit-plugin-panel.php:1577
176
  msgid ":) Thanks!"
177
  msgstr ""
178
 
204
  "from previous location to YITH menu."
205
  msgstr ""
206
 
207
+ #: includes/class-yith-bh-onboarding.php:85
208
+ msgid "It is not possible save the options"
209
+ msgstr ""
210
+
211
  #: includes/class-yith-dashboard.php:35
212
  msgid "YITH Latest Updates"
213
  msgstr ""
393
  "connection issue between your site and our server."
394
  msgstr ""
395
 
396
+ #: templates/bh-onboarding/onboarding-tabs.php:63
397
+ msgid "Save"
398
+ msgstr ""
399
+
400
  #: templates/fields/ajax-customers.php:41
401
  msgid "Search for a customer..."
402
  msgstr ""
657
  msgid "Data: %1$.2fMB | Index: %2$.2fMB | Free: %3$.2fMB | Engine: %4$s"
658
  msgstr ""
659
 
 
 
 
 
 
 
 
 
 
 
 
660
  #: yit-functions.php:1938
661
  #. translators: %s is the title of the post object.
662
  msgid "Are you sure you want to move \"%s\" to trash?"
671
  msgid "Further actions"
672
  msgstr ""
673
 
674
+ #: yit-plugin.php:233
675
  msgid "License"
676
  msgstr ""
677
 
678
+ #: yit-plugin.php:272
679
+ #. translators: 1. Plugin(s) name(s).
680
+ msgid ""
681
+ "%s was deactivated as you're running an higher tier version of the same "
682
+ "plugin."
683
+ msgid_plural ""
684
+ "%s were deactivated as you're running higher tier versions of the same "
685
+ "plugins."
686
+ msgstr[0] ""
687
+ msgstr[1] ""
688
+
689
  #. Author of the plugin/theme
690
  msgid "YITH"
691
  msgstr ""
701
  msgid "YITH"
702
  msgstr ""
703
 
704
+ #: includes/class-yit-assets.php:134
705
  msgctxt "Button text"
706
  msgid "Confirm"
707
  msgstr ""
708
 
709
+ #: includes/class-yit-assets.php:135
710
  msgctxt "Button text"
711
  msgid "Cancel"
712
  msgstr ""
713
 
714
+ #: includes/class-yit-assets.php:148 yit-functions.php:2009
715
  msgctxt "Trash confirmation action"
716
  msgid "Yes, move to trash"
717
  msgstr ""
718
 
719
+ #: includes/class-yit-assets.php:152 yit-functions.php:2027
720
  #: yit-functions.php:2154
721
  msgctxt "Delete confirmation action"
722
  msgid "Yes, delete"
723
  msgstr ""
724
 
725
+ #: includes/class-yit-plugin-panel.php:803
726
  #. translators: 1. Plugin name.
727
  msgctxt "Help tab default title"
728
  msgid "Thank you for purchasing %s!"
729
  msgstr ""
730
 
731
+ #: includes/class-yit-plugin-panel.php:803
732
+ msgctxt "Help tab default title"
733
+ msgid "Thank you for using %s!"
734
+ msgstr ""
735
+
736
+ #: includes/class-yit-plugin-panel.php:815
737
  msgctxt "Help tab default description"
738
  msgid "We want to help you enjoy a wonderful experience with all of our products."
739
  msgstr ""
740
 
741
+ #: includes/class-yit-plugin-panel.php:866
742
  msgctxt "Premium tab name"
743
  msgid "Get premium"
744
  msgstr ""
745
 
746
+ #: includes/class-yit-plugin-panel.php:878
747
  msgctxt "Help tab name"
748
  msgid "Help"
749
  msgstr ""
854
  msgid "NO"
855
  msgstr ""
856
 
857
+ #: templates/panel/help-tab.php:89
858
  #. translators: 1. Url to EN playlist.
859
  msgctxt "Help tab view all video link"
860
  msgid ""
862
  "learn more >"
863
  msgstr ""
864
 
865
+ #: templates/panel/help-tab.php:96
866
  msgctxt "Help tab Watch Videotutorials link"
867
  msgid "Videos are also available in:"
868
  msgstr ""
869
 
870
+ #: templates/panel/help-tab.php:126
871
  msgctxt "Help tab Read Documentation link"
872
  msgid "Read the documentation"
873
  msgstr ""
874
 
875
+ #: templates/panel/help-tab.php:129
876
  msgctxt "Help tab Read Documentation link"
877
  msgid "to learn how the plugin works from the basics."
878
  msgstr ""
879
 
880
+ #: templates/panel/help-tab.php:139
881
  msgctxt "Help tab Watch video tutorials link"
882
  msgid "Watch our video tutorials"
883
  msgstr ""
884
 
885
+ #: templates/panel/help-tab.php:142
886
  msgctxt "Help tab Watch video tutorials link"
887
  msgid "to see some helpful use cases."
888
  msgstr ""
889
 
890
+ #: templates/panel/help-tab.php:152
891
  msgctxt "Help tab view FAQs link"
892
  msgid "Check the FAQs"
893
  msgstr ""
894
 
895
+ #: templates/panel/help-tab.php:155
896
  msgctxt "Help tab view FAQs link"
897
  msgid "to find answers to your doubts."
898
  msgstr ""
899
 
900
+ #: templates/panel/help-tab.php:170
901
  msgctxt "Help tab FAQ title"
902
  msgid "Last FAQs in our Help Center"
903
  msgstr ""
904
 
905
+ #: templates/panel/help-tab.php:184
906
  msgctxt "Help tab FAQ link"
907
  msgid "View all FAQs >"
908
  msgstr ""
909
 
910
+ #: templates/panel/help-tab.php:193
911
  msgctxt "Help tab submit ticket title"
912
  msgid "Need help?"
913
  msgstr ""
914
 
915
+ #: templates/panel/help-tab.php:196
916
  msgctxt "Help tab submit ticket description"
917
  msgid ""
918
  "If you are experiencing any technical issues, ask for help from our "
920
  "as soon as possible."
921
  msgstr ""
922
 
923
+ #: templates/panel/help-tab.php:204
924
  msgctxt "Help tab submit ticket button"
925
  msgid "Submit a ticket"
926
  msgstr ""
927
 
928
+ #: templates/panel/help-tab.php:216 templates/panel/help-tab.php:218
929
+ #: templates/panel/help-tab.php:223
930
+ msgctxt "Help tab documentation"
931
+ msgid "Read the plugin documentation"
932
+ msgstr ""
933
+
934
+ #: templates/panel/help-tab.php:220
935
+ msgctxt "Help tab documentation"
936
+ msgid "to learn how it works from the basics."
937
+ msgstr ""
938
+
939
+ #: templates/panel/help-tab.php:231 templates/panel/help-tab.php:233
940
+ msgctxt "Help tab support"
941
+ msgid "Need some help?"
942
+ msgstr ""
943
+
944
+ #: templates/panel/help-tab.php:235
945
+ msgctxt "Help tab support"
946
+ msgid "From DIY to full-service help"
947
+ msgstr ""
948
+
949
+ #: templates/panel/help-tab.php:238
950
+ msgctxt "Help tab support"
951
+ msgid ""
952
+ "Call or chat 24/7 with our support agents, or let our experts build your "
953
+ "site."
954
+ msgstr ""
955
+
956
+ #: templates/panel/help-tab.php:241
957
+ msgctxt "Help tab support"
958
+ msgid "Yes, I need help"
959
+ msgstr ""
960
+
961
  #: templates/panel/premium-tab.php:30
962
  msgctxt "Premium Tab"
963
  msgid "Get the premium version to unlock advanced features"
973
  msgid "Plugin premium features images"
974
  msgstr ""
975
 
976
+ #: templates/panel/premium-tab.php:51 templates/panel/premium-tab.php:58
977
  #. translators: alt attribute of main image tag.
978
  msgctxt "Premium Tab"
979
  msgid "And so much more!"
981
 
982
  #: templates/panel/premium-tab.php:53
983
  msgctxt "Premium Tab"
984
+ msgid "Check the premium features >"
985
+ msgstr ""
986
+
987
+ #: templates/panel/premium-tab.php:60
988
+ msgctxt "Premium Tab"
989
  msgid "Check the free vs premium features >"
990
  msgstr ""
991
 
992
+ #: templates/panel/premium-tab.php:65
993
  msgctxt "Premium Tab"
994
  msgid "Get the premium version"
995
  msgstr ""
1049
  msgid "Delete"
1050
  msgstr ""
1051
 
1052
+ #: yit-plugin.php:85
1053
  msgctxt "Plugin Row Meta"
1054
  msgid "Live Demo"
1055
  msgstr ""
1056
 
1057
+ #: yit-plugin.php:89
1058
  msgctxt "Plugin Row Meta"
1059
  msgid "Documentation"
1060
  msgstr ""
1061
 
1062
+ #: yit-plugin.php:93
1063
  msgctxt "Plugin Row Meta"
1064
  msgid "Support"
1065
  msgstr ""
1066
 
1067
+ #: yit-plugin.php:97
1068
  msgctxt "Plugin Row Meta"
1069
  msgid "Premium version"
1070
  msgstr ""
1071
 
1072
+ #: yit-plugin.php:229
1073
  msgctxt "Action links"
1074
  msgid "Settings"
1075
  msgstr ""
plugin-fw/templates/bh-onboarding/onboarding-tabs.php ADDED
@@ -0,0 +1,75 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * The Template for displaying the BH Onboarding tabs.
4
+ *
5
+ * @var array $options The premium tab options array.
6
+ *
7
+ * @package YITH\PluginFramework\Templates
8
+ * @author Emanuela Castorina <emanuela.castorina@yithemes.com>
9
+ * @since 3.9.11
10
+ */
11
+
12
+ defined( 'ABSPATH' ) || exit; // Exit if accessed directly.
13
+ $tabs = $options['tabs'];
14
+ ?>
15
+ <div class="woocommerce yith-plugin-fw-panel" id="yith-bh-onboarding">
16
+ <header>
17
+ <div class="yith-bh-onboarding-logo">
18
+ <?php if ( isset( $options['logo'] ) ) : ?>
19
+ <div class="logo">
20
+ <img src="<?php echo esc_url( $options['logo'] ); ?>" width="150"/>
21
+ </div>
22
+ <?php endif; ?>
23
+ <?php if ( isset( $options['claim'] ) ) : ?>
24
+ <div class="claim"><?php echo esc_html( $options['claim'] ); ?></div>
25
+ <?php endif; ?>
26
+ </div>
27
+ <div class="yith-bh-onboarding-plugin-description">
28
+ <?php if ( isset( $options['plugin-description'] ) ) : ?>
29
+ <div class="plugin-description"><?php echo wp_kses_post( $options['plugin-description'] ); ?></div>
30
+ <?php endif; ?>
31
+ </div>
32
+ </header>
33
+ <div class="yith-bh-onboarding-tabs yith-plugin-ui">
34
+ <ul class="yith-bh-onboarding-tabs__nav">
35
+ <?php
36
+ $c = 0;
37
+ foreach ( $tabs as $key => $tab ) :
38
+ ?>
39
+ <li class="yith-bh-onboarding-tabs__nav__link <?php echo ! ( $c ++ ) ? 'selected' : ''; ?>" data-tab="<?php esc_attr_e( $key ); ?>"><?php echo esc_html( $tab['title'] ); ?></li>
40
+ <?php
41
+ endforeach;
42
+ ?>
43
+ </ul>
44
+ <div class="yith-bh-onboarding-tabs__content yith-plugin-fw yit-admin-panel-container">
45
+ <?php foreach ( $tabs as $key => $tab ) : ?>
46
+ <?php if ( isset( $tab['options'] ) ) : ?>
47
+ <div class="yith-bh-onboarding-tabs__tab" id="<?php echo esc_attr( $key ); ?>">
48
+ <p class="yith-bh-onboarding-tab-description"><?php echo wp_kses_post( $tab['description'] ); ?></p>
49
+ <form class="yith-bh-onboarding-tabs__form" id="plugin-fw-wc">
50
+ <table class="form-table">
51
+ <?php
52
+ foreach ( $tab['options'] as $name => $option ) {
53
+ YIT_Plugin_Panel_WooCommerce::add_yith_field( $option );
54
+ }
55
+ ?>
56
+ </table>
57
+ <?php if ( isset( $tab['show_save_button'] ) && $tab['show_save_button'] ) : ?>
58
+ <input type="hidden" name="yith-plugin" value="<?php echo esc_attr( $options['slug'] ); ?>">
59
+ <input type="hidden" name="action" value="yith_bh_onboarding">
60
+ <input type="hidden" name="tab" value="<?php echo esc_attr( $key ); ?>">
61
+ <?php wp_nonce_field( 'yith-bh-onboarding-save-options' ); ?>
62
+ <div class="submit-area">
63
+ <button id="yith-bh-save-button" class="button button-primary"><?php echo esc_html__( 'Save', 'yith-plugin-fw' ); ?></button>
64
+ </div>
65
+ <?php endif; ?>
66
+ </form>
67
+ </div>
68
+ <?php
69
+ endif;
70
+ endforeach;
71
+
72
+ ?>
73
+ </div>
74
+
75
+ </div>
plugin-fw/templates/panel/help-tab.php CHANGED
@@ -6,6 +6,8 @@
6
  * @var string $current_tab The current tab.
7
  * @var string $current_sub_tab The current sub-tab.
8
  * @var array $latest_articles Latest HC articles.
 
 
9
  *
10
  * @package YITH\PluginFramework\Templates
11
  */
@@ -54,7 +56,7 @@ if ( $has_default_playlist ) {
54
  }
55
  ?>
56
 
57
- <div id='yith_plugin_fw_panel_help_tab' class='yith-plugin-fw-panel-help-tab-container'>
58
  <div class="yith-plugin-fw-panel-help-tab-content">
59
  <?php if ( $the_title ) : ?>
60
  <h2 class="yith-plugin-fw-panel-help-tab-title"><?php echo wp_kses_post( $the_title ); ?></h2>
@@ -66,7 +68,7 @@ if ( $has_default_playlist ) {
66
  </p>
67
  <?php endif; ?>
68
 
69
- <?php if ( $has_video || $has_additional_links ) : ?>
70
  <div class="row">
71
  <?php if ( $video_url ) : ?>
72
  <div class="yith-plugin-fw-help-tab-video <?php echo $has_additional_links ? 'column-left' : 'full-width'; ?>">
@@ -161,8 +163,7 @@ if ( $has_default_playlist ) {
161
  </div>
162
  <?php endif; ?>
163
 
164
-
165
- <?php if ( $show_articles || $show_submit_ticket ) : ?>
166
  <div class="row">
167
  <?php if ( $show_articles ) : ?>
168
  <div class="yith-plugin-fw-hc-articles <?php echo $show_submit_ticket ? 'column-left' : 'full-width'; ?>">
@@ -205,7 +206,44 @@ if ( $has_default_playlist ) {
205
  </div>
206
  </div>
207
  <?php endif; ?>
208
- <?php endif; ?>
209
- </div>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
210
  </div>
211
  </div>
6
  * @var string $current_tab The current tab.
7
  * @var string $current_sub_tab The current sub-tab.
8
  * @var array $latest_articles Latest HC articles.
9
+ * @var bool $is_extended Whether current plugin is an Extended version.
10
+ * @var bool $is_premium Whether current plugin is a Premium version.
11
  *
12
  * @package YITH\PluginFramework\Templates
13
  */
56
  }
57
  ?>
58
 
59
+ <div id='yith_plugin_fw_panel_help_tab' class='yith-plugin-fw-panel-help-tab-container <?php echo esc_attr( $is_extended ? 'extended' : '' ); ?>'>
60
  <div class="yith-plugin-fw-panel-help-tab-content">
61
  <?php if ( $the_title ) : ?>
62
  <h2 class="yith-plugin-fw-panel-help-tab-title"><?php echo wp_kses_post( $the_title ); ?></h2>
68
  </p>
69
  <?php endif; ?>
70
 
71
+ <?php if ( $is_premium && ( $has_video || $has_additional_links ) ) : ?>
72
  <div class="row">
73
  <?php if ( $video_url ) : ?>
74
  <div class="yith-plugin-fw-help-tab-video <?php echo $has_additional_links ? 'column-left' : 'full-width'; ?>">
163
  </div>
164
  <?php endif; ?>
165
 
166
+ <?php if ( $is_premium && ( $show_articles || $show_submit_ticket ) ) : ?>
 
167
  <div class="row">
168
  <?php if ( $show_articles ) : ?>
169
  <div class="yith-plugin-fw-hc-articles <?php echo $show_submit_ticket ? 'column-left' : 'full-width'; ?>">
206
  </div>
207
  </div>
208
  <?php endif; ?>
209
+ </div>
210
+ <?php endif; ?>
211
+
212
+ <?php if ( $is_extended ) : ?>
213
+ <div class="row">
214
+ <?php if ( $options['doc_url'] ) : ?>
215
+ <div class="box-with-image">
216
+ <img src="<?php echo esc_url( YIT_CORE_PLUGIN_URL ); ?>/assets/images/help-tab/documentation.svg" alt="<?php echo esc_attr_x( 'Read the plugin documentation', 'Help tab documentation', 'yith-plugin-fw' ); ?>">
217
+ <div class="box-content">
218
+ <h3><?php echo esc_html_x( 'Read the plugin documentation', 'Help tab documentation', 'yith-plugin-fw' ); ?></h3>
219
+ <p>
220
+ <?php echo esc_html_x( 'to learn how it works from the basics.', 'Help tab documentation', 'yith-plugin-fw' ); ?>
221
+ </p>
222
+ <a target="_blank" href="<?php echo esc_url( $options['doc_url'] ); ?>" class="button yith-plugin-fw__button--secondary">
223
+ <?php echo esc_html_x( 'Read the plugin documentation', 'Help tab documentation', 'yith-plugin-fw' ); ?>
224
+ </a>
225
+ </div>
226
+ </div>
227
+ <?php endif; ?>
228
+
229
+ <?php if ( $show_submit_ticket ) : ?>
230
+ <div class="box-with-image">
231
+ <img src="<?php echo esc_url( YIT_CORE_PLUGIN_URL ); ?>/assets/images/help-tab/support-desk.svg" alt="<?php echo esc_attr_x( 'Need some help?', 'Help tab support', 'yith-plugin-fw' ); ?>">
232
+ <div class="box-content">
233
+ <h3><?php echo esc_html_x( 'Need some help?', 'Help tab support', 'yith-plugin-fw' ); ?></h3>
234
+ <p>
235
+ <b><?php echo esc_html_x( 'From DIY to full-service help', 'Help tab support', 'yith-plugin-fw' ); ?></b>
236
+ </p>
237
+ <p>
238
+ <?php echo esc_html_x( 'Call or chat 24/7 with our support agents, or let our experts build your site.', 'Help tab support', 'yith-plugin-fw' ); ?>
239
+ </p>
240
+ <a href="<?php echo esc_url( $options['submit_ticket_url'] ); ?>" class="yit-plugin-fw-submit-ticket-button button yith-plugin-fw__button--secondary">
241
+ <?php echo esc_html_x( 'Yes, I need help', 'Help tab support', 'yith-plugin-fw' ); ?>
242
+ </a>
243
+ </div>
244
+ </div>
245
+ <?php endif; ?>
246
+ </div>
247
+ <?php endif; ?>
248
  </div>
249
  </div>
plugin-fw/templates/panel/premium-tab.php CHANGED
@@ -13,7 +13,7 @@
13
 
14
  defined( 'ABSPATH' ) || exit; // Exit if accessed directly.
15
 
16
- list( $premium_features, $main_image_url, $show_free_vs_premium ) = yith_plugin_fw_extract( $options, 'premium_features', 'main_image_url', 'show_free_vs_premium_link' );
17
 
18
  $get_premium_url = yith_plugin_fw_add_utm_data( $premium_url, $plugin_slug, 'button-upgrade', yith_plugin_fw_panel_utm_source( $this ) );
19
 
@@ -46,7 +46,14 @@ if ( $show_free_vs_premium ) {
46
  </span>
47
  </div>
48
  <?php endforeach; ?>
49
- <?php if ( $show_free_vs_premium ) : ?>
 
 
 
 
 
 
 
50
  <span class="yith-plugin-fw-panel-premium-tab__free-vs-premium">
51
  <?php echo esc_html_x( 'And so much more!', 'Premium Tab', 'yith-plugin-fw' ); ?>
52
  <a href="<?php echo esc_url( $free_vs_premium_url . '#tab-free_vs_premium_tab' ); ?>" target="_blank">
13
 
14
  defined( 'ABSPATH' ) || exit; // Exit if accessed directly.
15
 
16
+ list( $premium_features, $main_image_url, $show_free_vs_premium, $show_premium_landing_link ) = yith_plugin_fw_extract( $options, 'premium_features', 'main_image_url', 'show_free_vs_premium_link', 'show_premium_landing_link' );
17
 
18
  $get_premium_url = yith_plugin_fw_add_utm_data( $premium_url, $plugin_slug, 'button-upgrade', yith_plugin_fw_panel_utm_source( $this ) );
19
 
46
  </span>
47
  </div>
48
  <?php endforeach; ?>
49
+ <?php if ( $show_premium_landing_link ) : ?>
50
+ <span class="yith-plugin-fw-panel-premium-tab__free-vs-premium">
51
+ <?php echo esc_html_x( 'And so much more!', 'Premium Tab', 'yith-plugin-fw' ); ?>
52
+ <a href="<?php echo esc_url( $get_premium_url ); ?>" target="_blank">
53
+ <?php echo esc_html_x( 'Check the premium features >', 'Premium Tab', 'yith-plugin-fw' ); ?>
54
+ </a>
55
+ </span>
56
+ <?php elseif ( $show_free_vs_premium ) : ?>
57
  <span class="yith-plugin-fw-panel-premium-tab__free-vs-premium">
58
  <?php echo esc_html_x( 'And so much more!', 'Premium Tab', 'yith-plugin-fw' ); ?>
59
  <a href="<?php echo esc_url( $free_vs_premium_url . '#tab-free_vs_premium_tab' ); ?>" target="_blank">
plugin-fw/templates/panel/woocommerce/woocommerce-form.php CHANGED
@@ -30,7 +30,7 @@ $reset_warning = __( 'If you continue with this action, you will reset all optio
30
  </p>
31
 
32
  <?php if ( apply_filters( 'yit_framework_show_float_save_button', true ) ) : ?>
33
- <button id="yith-plugin-fw-float-save-button" class="button button-primary yith-plugin-fw-animate__appear-from-bottom" data-default-label="<?php esc_attr_e( 'Save Options', 'yith-plugin-fw' ); ?>" data-saved-label="<?php esc_attr_e( 'Options Saved', 'yith-plugin-fw' ); ?>"><i class="yith-icon yith-icon-save"></i> <?php esc_html_e( 'Save Options', 'yith-plugin-fw' ); ?></button>
34
  <?php endif; ?>
35
 
36
  <input type="hidden" name="page" value="<?php echo esc_attr( $this->settings['page'] ); ?>"/>
30
  </p>
31
 
32
  <?php if ( apply_filters( 'yit_framework_show_float_save_button', true ) ) : ?>
33
+ <button id="yith-plugin-fw-float-save-button" class="button button-primary yith-plugin-fw-animate__appear-from-bottom" data-default-label="<?php esc_attr_e( 'Save Options', 'yith-plugin-fw' ); ?>" data-saved-label="<?php esc_attr_e( 'Options Saved', 'yith-plugin-fw' ); ?>"><?php esc_html_e( 'Save Options', 'yith-plugin-fw' ); ?></button>
34
  <?php endif; ?>
35
 
36
  <input type="hidden" name="page" value="<?php echo esc_attr( $this->settings['page'] ); ?>"/>
plugin-fw/yit-deactive-plugin.php CHANGED
@@ -59,10 +59,10 @@ if ( ! function_exists( 'yith_deactivate_plugins' ) ) {
59
  global $status, $page, $s;
60
 
61
  $query_params = array(
62
- 'deactivated_plugins' => implode( ',', $deactivated ),
63
- 'plugin_status' => $status,
64
- 'paged' => $page,
65
- 's' => $s,
66
  );
67
 
68
  if ( $to_activate && function_exists( 'wp_create_nonce' ) ) {
@@ -87,49 +87,3 @@ if ( ! function_exists( 'yith_deactivate_plugins' ) ) {
87
  die;
88
  }
89
  }
90
-
91
- if ( ! function_exists( 'yith_print_deactivation_message' ) ) {
92
- /**
93
- * Prints message about plugins deactivation, due to multiple versions active of the same software active at the same time
94
- *
95
- * @return void
96
- * @since 3.9.8
97
- */
98
- function yith_print_deactivation_message() {
99
- global $pagenow;
100
-
101
- // phpcs:disable WordPress.Security.NonceVerification
102
- if ( 'plugins.php' !== $pagenow || ! isset( $_GET['deactivated_plugins'] ) ) {
103
- return;
104
- }
105
-
106
- $names = sanitize_text_field( wp_unslash( $_GET['deactivated_plugins'] ) );
107
- $names = explode( ',', $names );
108
- $names = array_map(
109
- function( $name ) {
110
- $name = str_replace( array( '-', 'init.php', '/' ), ' ', $name );
111
- $name = str_replace( array( 'yith', 'woocommerce', 'wordpress' ), array( 'YITH', 'WooCommerce', 'WordPress' ), $name );
112
-
113
- return trim( ucwords( $name ) );
114
- },
115
- $names
116
- );
117
-
118
- // translators: 1. Plugin(s) name(s).
119
- $message = _n(
120
- '%s was deactivated as you\'re running an higher tier version of the same plugin.',
121
- '%s were deactivated as you\'re running higher tier versions of the same plugins.',
122
- count( $names ),
123
- 'yit-plugin-fw'
124
- );
125
- $message = sprintf( $message, implode( ', ', $names ) );
126
- ?>
127
- <div class="notice">
128
- <p><?php echo esc_html( $message ); ?></p>
129
- </div>
130
- <?php
131
- // phpcs:enable WordPress.Security.NonceVerification
132
- }
133
- }
134
-
135
- add_action( 'admin_notices', 'yith_print_deactivation_message' );
59
  global $status, $page, $s;
60
 
61
  $query_params = array(
62
+ 'yith_deactivated_plugins' => implode( ',', $deactivated ),
63
+ 'plugin_status' => $status,
64
+ 'paged' => $page,
65
+ 's' => $s,
66
  );
67
 
68
  if ( $to_activate && function_exists( 'wp_create_nonce' ) ) {
87
  die;
88
  }
89
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
plugin-fw/yit-plugin.php CHANGED
@@ -37,6 +37,7 @@ require_once 'includes/privacy/class-yith-privacy.php';
37
  require_once 'includes/privacy/class-yith-privacy-plugin-abstract.php';
38
  require_once 'includes/class-yith-system-status.php';
39
  require_once 'includes/class-yith-post-type-admin.php';
 
40
 
41
  // Gutenberg Support.
42
  if ( class_exists( 'WP_Block_Type_Registry' ) ) {
@@ -110,25 +111,36 @@ if ( ! function_exists( 'yit_plugin_fw_row_meta' ) ) {
110
  $plugin_data,
111
  $status
112
  );
113
- $fields = isset( $new_row_meta_args['to_show'] ) ? $new_row_meta_args['to_show'] : array();
114
- $slug = isset( $new_row_meta_args['slug'] ) ? $new_row_meta_args['slug'] : '';
115
- $is_extended = ! empty( $new_row_meta_args['is_extended'] ) || false !== strpos( $plugin_file, '-extended' );
116
- $is_premium = ! empty( $new_row_meta_args['is_premium'] ) || false !== strpos( $plugin_file, '-premium' );
117
  $utm_campaign = 'plugin-version-author-uri';
118
 
119
  if ( $is_premium ) {
120
  $utm_source = 'wp-premium-dashboard';
 
121
  } elseif ( $is_extended ) {
122
  $utm_source = 'wp-extended-dashboard';
 
 
 
 
 
123
  } else {
124
  $utm_source = 'wp-free-dashboard';
125
  }
126
 
127
- if ( ! ! $is_premium ) {
128
- $to_remove = array_search( 'premium_version', $fields, true );
 
 
 
 
 
 
129
 
130
- if ( false !== $to_remove ) {
131
- unset( $fields[ $to_remove ] );
132
  }
133
  }
134
 
@@ -155,11 +167,12 @@ if ( ! function_exists( 'yit_plugin_fw_row_meta' ) ) {
155
  if ( ! empty( $slug ) ) {
156
  if ( 'support' === $field ) {
157
  $support_field = true === $is_premium ? 'premium_support' : 'free_support';
 
158
  if ( ! empty( $base_uri[ $support_field ] ) ) {
159
  $url = $base_uri[ $support_field ];
160
  }
161
 
162
- if ( 'free_support' === $support_field ) {
163
  $url = $url . $slug;
164
  }
165
  } else {
@@ -171,7 +184,10 @@ if ( ! function_exists( 'yit_plugin_fw_row_meta' ) ) {
171
  }
172
 
173
  if ( ! empty( $url ) && ! empty( $label ) ) {
174
- $url = yith_plugin_fw_add_utm_data( $url, $slug, $utm_campaign, $utm_source );
 
 
 
175
  $plugin_meta[] = sprintf( '<a href="%s" target="_blank"><span class="%s"></span>%s</a>', $url, $icon, $label );
176
  }
177
  }
@@ -182,8 +198,12 @@ if ( ! function_exists( 'yit_plugin_fw_row_meta' ) ) {
182
  }
183
 
184
  if ( isset( $plugin_meta[2] ) ) {
185
- $utm_plugin_uri = yith_plugin_fw_add_utm_data( $plugin_data['PluginURI'], $slug, $utm_campaign, $utm_source );
186
- $plugin_meta[2] = str_replace( $plugin_data['PluginURI'], $utm_plugin_uri, $plugin_meta[2] );
 
 
 
 
187
  }
188
 
189
  return $plugin_meta;
@@ -216,3 +236,53 @@ if ( ! function_exists( 'yith_add_action_links' ) ) {
216
  return $links;
217
  }
218
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
37
  require_once 'includes/privacy/class-yith-privacy-plugin-abstract.php';
38
  require_once 'includes/class-yith-system-status.php';
39
  require_once 'includes/class-yith-post-type-admin.php';
40
+ require_once 'includes/class-yith-bh-onboarding.php';
41
 
42
  // Gutenberg Support.
43
  if ( class_exists( 'WP_Block_Type_Registry' ) ) {
111
  $plugin_data,
112
  $status
113
  );
114
+ $fields = $new_row_meta_args['to_show'] ?? array();
115
+ $slug = $new_row_meta_args['slug'] ?? '';
116
+ $is_extended = $new_row_meta_args['is_extended'] ?? ( false !== strpos( $plugin_file, '-extended' ) );
117
+ $is_premium = $new_row_meta_args['is_premium'] ?? ( false !== strpos( $plugin_file, '-premium' ) );
118
  $utm_campaign = 'plugin-version-author-uri';
119
 
120
  if ( $is_premium ) {
121
  $utm_source = 'wp-premium-dashboard';
122
+ $to_remove = array( 'premium_version' );
123
  } elseif ( $is_extended ) {
124
  $utm_source = 'wp-extended-dashboard';
125
+ $to_remove = array( 'live_demo' );
126
+
127
+ // set custom base uri.
128
+ $base_uri['documentation'] = 'https://www.bluehost.com/help/article/';
129
+ $base_uri['free_support'] = add_query_arg( array( 'page' => 'bluehost' ), admin_url( 'admin.php' ) ) . '#/help';
130
  } else {
131
  $utm_source = 'wp-free-dashboard';
132
  }
133
 
134
+ // remove meta not required for current plugin.
135
+ if ( ! empty( $to_remove ) ) {
136
+ foreach ( $to_remove as $item_to_remove ) {
137
+ $item_to_remove_pos = array_search( $item_to_remove, $fields, true );
138
+
139
+ if ( false === $item_to_remove_pos ) {
140
+ continue;
141
+ }
142
 
143
+ unset( $fields[ $item_to_remove_pos ] );
 
144
  }
145
  }
146
 
167
  if ( ! empty( $slug ) ) {
168
  if ( 'support' === $field ) {
169
  $support_field = true === $is_premium ? 'premium_support' : 'free_support';
170
+
171
  if ( ! empty( $base_uri[ $support_field ] ) ) {
172
  $url = $base_uri[ $support_field ];
173
  }
174
 
175
+ if ( 'free_support' === $support_field && ! $is_extended ) {
176
  $url = $url . $slug;
177
  }
178
  } else {
184
  }
185
 
186
  if ( ! empty( $url ) && ! empty( $label ) ) {
187
+ if ( ! ( $is_extended && in_array( $field, array( 'support', 'documentation' ), true ) ) ) {
188
+ $url = yith_plugin_fw_add_utm_data( $url, $slug, $utm_campaign, $utm_source );
189
+ }
190
+
191
  $plugin_meta[] = sprintf( '<a href="%s" target="_blank"><span class="%s"></span>%s</a>', $url, $icon, $label );
192
  }
193
  }
198
  }
199
 
200
  if ( isset( $plugin_meta[2] ) ) {
201
+ if ( $is_extended ) {
202
+ unset( $plugin_meta[2] );
203
+ } else {
204
+ $utm_plugin_uri = yith_plugin_fw_add_utm_data( $plugin_data['PluginURI'], $slug, $utm_campaign, $utm_source );
205
+ $plugin_meta[2] = str_replace( $plugin_data['PluginURI'], $utm_plugin_uri, $plugin_meta[2] );
206
+ }
207
  }
208
 
209
  return $plugin_meta;
236
  return $links;
237
  }
238
  }
239
+
240
+ if ( ! function_exists( 'yith_plugin_fw_print_deactivation_message' ) ) {
241
+ /**
242
+ * Prints message about plugins deactivation, due to multiple versions active of the same software active at the same time
243
+ *
244
+ * @return void
245
+ * @since 3.9.8
246
+ */
247
+ function yith_plugin_fw_print_deactivation_message() {
248
+ global $pagenow;
249
+
250
+ // phpcs:disable WordPress.Security.NonceVerification
251
+ if ( 'plugins.php' !== $pagenow || ! isset( $_GET['yith_deactivated_plugins'] ) ) {
252
+ return;
253
+ }
254
+
255
+ $names = sanitize_text_field( wp_unslash( $_GET['yith_deactivated_plugins'] ) );
256
+ $names = explode( ',', $names );
257
+ $names = array_map(
258
+ function ( $init_file ) {
259
+ $name = get_plugin_data( WP_PLUGIN_DIR . '/' . $init_file )['Name'] ?? '';
260
+ if ( ! $name ) {
261
+ $name = str_replace( array( '-', 'init.php', '/' ), ' ', $init_file );
262
+ $name = str_replace( array( 'yith', 'woocommerce', 'wordpress' ), array( 'YITH', 'WooCommerce', 'WordPress' ), $name );
263
+ $name = trim( ucwords( $name ) );
264
+ }
265
+
266
+ return $name;
267
+ },
268
+ $names
269
+ );
270
+
271
+ // translators: 1. Plugin(s) name(s).
272
+ $message = _n(
273
+ '%s was deactivated as you\'re running an higher tier version of the same plugin.',
274
+ '%s were deactivated as you\'re running higher tier versions of the same plugins.',
275
+ count( $names ),
276
+ 'yit-plugin-fw'
277
+ );
278
+ $message = sprintf( $message, implode( ', ', $names ) );
279
+ ?>
280
+ <div class="notice">
281
+ <p><?php echo esc_html( $message ); ?></p>
282
+ </div>
283
+ <?php
284
+ // phpcs:enable
285
+ }
286
+ }
287
+
288
+ add_action( 'admin_notices', 'yith_plugin_fw_print_deactivation_message' );
plugin-options/seo-options.php CHANGED
@@ -10,73 +10,75 @@
10
  return apply_filters(
11
  'yith_wcan_panel_seo_options',
12
  array(
13
-
14
- 'seo' => array(
15
- 'seo_section_start' => array(
16
- 'name' => _x( 'SEO', '[ADMIN] Seo settings page', 'yith-woocommerce-ajax-navigation' ),
17
- 'type' => 'title',
18
- 'desc' => '',
19
- 'id' => 'yith_wcan_seo_settings',
20
- ),
21
-
22
- 'enable_seo' => array(
23
- 'name' => _x( 'Enable SEO option', '[ADMIN] Seo settings page', 'yith-woocommerce-ajax-navigation' ),
24
- 'desc' => _x( 'Add "robots" meta tag in head tag of HTML page if filters have been activated.', '[ADMIN] Seo settings page', 'yith-woocommerce-ajax-navigation' ),
25
- 'id' => 'yith_wcan_enable_seo',
26
- 'type' => 'yith-field',
27
- 'yith-type' => 'onoff',
28
- ),
29
-
30
- 'meta_tag' => array(
31
- 'name' => _x( 'Meta tag', '[ADMIN] Seo settings page', 'yith-woocommerce-ajax-navigation' ),
32
- 'desc' => _x( 'Select which tag to use on filtered pages', '[ADMIN] Seo settings page', 'yith-woocommerce-ajax-navigation' ),
33
- 'id' => 'yith_wcan_seo_value',
34
- 'type' => 'yith-field',
35
- 'yith-type' => 'select',
36
- 'class' => 'wc-enhanced-select',
37
- 'options' => array(
38
- 'disabled' => _x( 'Disabled', '[ADMIN] Seo settings page', 'yith-woocommerce-ajax-navigation' ),
39
- 'noindex-nofollow' => 'noindex, nofollow',
40
- 'noindex-follow' => 'noindex, follow',
41
- 'index-nofollow' => 'index, nofollow',
42
- 'index-follow' => 'index, follow',
43
- ),
44
- 'deps' => array(
45
- 'ids' => 'yith_wcan_enable_seo',
46
- 'values' => 'yes',
47
  ),
48
- ),
49
 
50
- 'nofollow' => array(
51
- 'name' => _x( 'Add "nofollow" to filter anchors', '[ADMIN] Seo settings page', 'yith-woocommerce-ajax-navigation' ),
52
- 'desc' => _x( 'When enabled, adds re="nofollow" attribute to all the filter anchors across the plugin', '[ADMIN] Seo settings page', 'yith-woocommerce-ajax-navigation' ),
53
- 'id' => 'yith_wcan_seo_rel_nofollow',
54
- 'type' => 'yith-field',
55
- 'yith-type' => 'onoff',
56
- 'deps' => array(
57
- 'ids' => 'yith_wcan_enable_seo',
58
- 'values' => 'yes',
59
  ),
60
- ),
61
 
62
- 'change_url' => array(
63
- 'name' => _x( 'URL permalinks', '[ADMIN] Seo settings page', 'yith-woocommerce-ajax-navigation' ),
64
- 'desc' => _x( 'Choose how to manage browser URL during filtering', '[ADMIN] Seo settings page', 'yith-woocommerce-ajax-navigation' ),
65
- 'id' => 'yith_wcan_change_browser_url',
66
- 'type' => 'yith-field',
67
- 'yith-type' => 'radio',
68
- 'default' => 'yes',
69
- 'options' => array(
70
- 'yes' => _x( 'Add filters parameters to default URL', '[ADMIN] Seo settings page', 'yith-woocommerce-ajax-navigation' ),
71
- 'no' => _x( 'Don\'t change URL', '[ADMIN] Seo settings page', 'yith-woocommerce-ajax-navigation' ),
 
 
 
 
 
 
 
 
72
  ),
73
- ),
74
 
75
- 'seo_section_end' => array(
76
- 'type' => 'sectionend',
77
- 'id' => 'yith_wcan_seo_settings',
 
 
 
 
 
 
 
 
78
  ),
79
-
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
80
  ),
81
  )
82
  );
10
  return apply_filters(
11
  'yith_wcan_panel_seo_options',
12
  array(
13
+ 'seo' => array_merge(
14
+ array(
15
+ 'seo_section_start' => array(
16
+ 'name' => _x( 'SEO', '[ADMIN] Seo settings page', 'yith-woocommerce-ajax-navigation' ),
17
+ 'type' => 'title',
18
+ 'desc' => '',
19
+ 'id' => 'yith_wcan_seo_settings',
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
20
  ),
 
21
 
22
+ 'enable_seo' => array(
23
+ 'name' => _x( 'Enable SEO option', '[ADMIN] Seo settings page', 'yith-woocommerce-ajax-navigation' ),
24
+ 'desc' => _x( 'Add "robots" meta tag in head tag of HTML page if filters have been activated.', '[ADMIN] Seo settings page', 'yith-woocommerce-ajax-navigation' ),
25
+ 'id' => 'yith_wcan_enable_seo',
26
+ 'type' => 'yith-field',
27
+ 'yith-type' => 'onoff',
 
 
 
28
  ),
 
29
 
30
+ 'meta_tag' => array(
31
+ 'name' => _x( 'Meta tag', '[ADMIN] Seo settings page', 'yith-woocommerce-ajax-navigation' ),
32
+ 'desc' => _x( 'Select which tag to use on filtered pages', '[ADMIN] Seo settings page', 'yith-woocommerce-ajax-navigation' ),
33
+ 'id' => 'yith_wcan_seo_value',
34
+ 'type' => 'yith-field',
35
+ 'yith-type' => 'select',
36
+ 'class' => 'wc-enhanced-select',
37
+ 'options' => array(
38
+ 'disabled' => _x( 'Disabled', '[ADMIN] Seo settings page', 'yith-woocommerce-ajax-navigation' ),
39
+ 'noindex-nofollow' => 'noindex, nofollow',
40
+ 'noindex-follow' => 'noindex, follow',
41
+ 'index-nofollow' => 'index, nofollow',
42
+ 'index-follow' => 'index, follow',
43
+ ),
44
+ 'deps' => array(
45
+ 'ids' => 'yith_wcan_enable_seo',
46
+ 'values' => 'yes',
47
+ ),
48
  ),
 
49
 
50
+ 'nofollow' => array(
51
+ 'name' => _x( 'Add "nofollow" to filter anchors', '[ADMIN] Seo settings page', 'yith-woocommerce-ajax-navigation' ),
52
+ 'desc' => _x( 'When enabled, adds re="nofollow" attribute to all the filter anchors across the plugin', '[ADMIN] Seo settings page', 'yith-woocommerce-ajax-navigation' ),
53
+ 'id' => 'yith_wcan_seo_rel_nofollow',
54
+ 'type' => 'yith-field',
55
+ 'yith-type' => 'onoff',
56
+ 'deps' => array(
57
+ 'ids' => 'yith_wcan_enable_seo',
58
+ 'values' => 'yes',
59
+ ),
60
+ ),
61
  ),
62
+ 'yes' === get_option( 'yith_wcan_ajax_filters', 'yes' ) ? array(
63
+ 'change_url' => array(
64
+ 'name' => _x( 'URL permalinks', '[ADMIN] Seo settings page', 'yith-woocommerce-ajax-navigation' ),
65
+ 'desc' => _x( 'Choose how to manage browser URL during filtering', '[ADMIN] Seo settings page', 'yith-woocommerce-ajax-navigation' ),
66
+ 'id' => 'yith_wcan_change_browser_url',
67
+ 'type' => 'yith-field',
68
+ 'yith-type' => 'radio',
69
+ 'default' => 'yes',
70
+ 'options' => array(
71
+ 'yes' => _x( 'Add filters parameters to default URL', '[ADMIN] Seo settings page', 'yith-woocommerce-ajax-navigation' ),
72
+ 'no' => _x( 'Don\'t change URL', '[ADMIN] Seo settings page', 'yith-woocommerce-ajax-navigation' ),
73
+ ),
74
+ ),
75
+ ) : array(),
76
+ array(
77
+ 'seo_section_end' => array(
78
+ 'type' => 'sectionend',
79
+ 'id' => 'yith_wcan_seo_settings',
80
+ ),
81
+ )
82
  ),
83
  )
84
  );
readme.txt CHANGED
@@ -4,7 +4,7 @@ Contributors: yithemes
4
  Tags: woocommerce ajax product filter download, woocommerce, widget, ajax, ajax filtered nav, ajax navigation, ajax filtered navigation, woocommerce layered navigation, woocommerce layered nav, product filter, product filters, ajax product filter, woocommerce ajax product filter, woocommerce filters, sidebar filter, sidebar ajax filter, ajax price filter, price filter, product sorting, woocommerce filter, taxonomy filter, attribute filter, attributes filter, woocommerce product sort, ajax sort, woocommerce ajax product filter, advanced product filters, ajax product filters, filters, woocommerce ajax product filters, woocommerce product filters, woocommerce product filters, category filter, attribute filters, woocommerce products filter, woocommerce price filter, yit, yith, yithemes
5
  Requires at least: 5.7
6
  Tested up to: 6.0
7
- Stable tag: 4.12.0
8
  License: GPLv3 or later
9
  License URI: http://www.gnu.org/licenses/gpl-3.0.html
10
 
@@ -152,6 +152,12 @@ If none of the previous listed actions helps you solve the problem, then, submit
152
 
153
  == Changelog ==
154
 
 
 
 
 
 
 
155
  = 4.12.0 - Released on 07 July 2022 =
156
 
157
  * New: support for WooCommerce 6.7
4
  Tags: woocommerce ajax product filter download, woocommerce, widget, ajax, ajax filtered nav, ajax navigation, ajax filtered navigation, woocommerce layered navigation, woocommerce layered nav, product filter, product filters, ajax product filter, woocommerce ajax product filter, woocommerce filters, sidebar filter, sidebar ajax filter, ajax price filter, price filter, product sorting, woocommerce filter, taxonomy filter, attribute filter, attributes filter, woocommerce product sort, ajax sort, woocommerce ajax product filter, advanced product filters, ajax product filters, filters, woocommerce ajax product filters, woocommerce product filters, woocommerce product filters, category filter, attribute filters, woocommerce products filter, woocommerce price filter, yit, yith, yithemes
5
  Requires at least: 5.7
6
  Tested up to: 6.0
7
+ Stable tag: 4.13.0
8
  License: GPLv3 or later
9
  License URI: http://www.gnu.org/licenses/gpl-3.0.html
10
 
152
 
153
  == Changelog ==
154
 
155
+ = 4.13.0 - Released on 08 August 2022 =
156
+
157
+ * New: support for WooCommerce 6.8
158
+ * Update: YITH plugin framework
159
+ * Dev: minor changes
160
+
161
  = 4.12.0 - Released on 07 July 2022 =
162
 
163
  * New: support for WooCommerce 6.7