Weglot Translate – Translate your WP website - Version 3.2.0

Version Description

(15/10/2020) = * Add translate slug option * Fix: auto redirect on traditional chinese and brazilian portuguese * Fix: admin-ajax bug containing language code in some case

Download this release

Release Info

Developer remyb92
Plugin Icon 128x128 Weglot Translate – Translate your WP website
Version 3.2.0
Comparing to
See all releases

Code changes from version 3.1.9 to 3.2.0

Files changed (38) hide show
  1. app/javascripts/settings/admin-change-country.js +2 -7
  2. app/styles/_flags.scss +8 -4
  3. dist/admin-css.js +1 -1
  4. dist/admin-js.js +1 -1
  5. dist/css/admin-css.css +436 -1
  6. dist/css/front-amp-css.css +181 -1
  7. dist/css/front-css.css +1107 -1
  8. dist/front-amp-css.js +1 -1
  9. dist/front-css.js +1 -1
  10. dist/front-js.js +1 -1
  11. dist/metaboxes-js.js +1 -1
  12. dist/nav-js.js +1 -1
  13. readme.txt +82 -94
  14. src/actions/admin/class-pages-weglot.php +1 -1
  15. src/actions/front/class-clean-options.php +1 -0
  16. src/actions/front/class-translate-page-weglot.php +12 -100
  17. src/helpers/class-helper-filter-url-weglot.php +10 -0
  18. src/services/class-button-service-weglot.php +1 -1
  19. src/services/class-custom-url-service-weglot.php +16 -39
  20. src/services/class-option-service-weglot.php +129 -31
  21. src/services/class-redirect-service-weglot.php +17 -5
  22. src/services/class-replace-link-service-weglot.php +7 -57
  23. src/services/class-request-url-service-weglot.php +6 -21
  24. src/services/class-translate-service-weglot.php +1 -3
  25. src/third/amp/class-amp-enqueue-weglot.php +10 -4
  26. src/third/woocommerce/class-wc-filter-urls-weglot.php +16 -4
  27. templates/admin/pages/tabs/advanced.php +1 -1
  28. templates/admin/pages/tabs/appearance.php +0 -5
  29. templates/admin/pages/tabs/custom-urls.php +19 -17
  30. vendor/autoload.php +1 -1
  31. vendor/composer/autoload_real.php +7 -7
  32. vendor/composer/autoload_static.php +5 -5
  33. vendor/composer/installed.json +6 -6
  34. vendor/weglot/translation-definitions/data/available-languages.json +6 -1
  35. vendor/weglot/translation-definitions/data/word-type.json +13 -0
  36. vendor/weglot/translation-definitions/index.js +4 -1
  37. vendor/weglot/translation-definitions/package.json +1 -1
  38. weglot.php +2 -2
app/javascripts/settings/admin-change-country.js CHANGED
@@ -8,7 +8,6 @@ const init_admin_change_country = function() {
8
  function refresh_flag_css() {
9
  var en_flags = new Array();
10
  var es_flags = new Array();
11
- var pt_flags = new Array();
12
  var fr_flags = new Array();
13
  var ar_flags = new Array();
14
  var tw_flags = new Array();
@@ -41,8 +40,6 @@ const init_admin_change_country = function() {
41
  es_flags[18] = [6870, 5953, 96, 3408];
42
  es_flags[19] = [4020, 5697, 1056, 1224];
43
 
44
- pt_flags[1] = [1740, 5921, 528, 3504];
45
-
46
  fr_flags[1] = [2760, 736, 2856, 4416];
47
  fr_flags[2] = [3840, 1280, 2712, 4224];
48
  fr_flags[3] = [5700, 7201, 5016, 2400];
@@ -71,7 +68,6 @@ const init_admin_change_country = function() {
71
 
72
  var enval = $("select.flag-en-type").val();
73
  var esval = $("select.flag-es-type").val();
74
- var ptval = $("select.flag-pt-type").val();
75
  var frval = $("select.flag-fr-type").val();
76
  var arval = $("select.flag-ar-type").val();
77
  var twval = $("select.flag-tw-type").val();
@@ -79,13 +75,12 @@ const init_admin_change_country = function() {
79
 
80
  var en_style = enval <= 0 ? "" : ".weglot-flags.en > a:before, .weglot-flags.en > span:before { background-position: -" + en_flags[enval][0] + "px 0 !important; } .weglot-flags.flag-1.en > a:before, .weglot-flags.flag-1.en > span:before { background-position: -" + en_flags[enval][1] + "px 0 !important; } .weglot-flags.flag-2.en > a:before, .weglot-flags.flag-2.en > span:before { background-position: -" + en_flags[enval][2] + "px 0 !important; } .weglot-flags.flag-3.en > a:before, .weglot-flags.flag-3.en > span:before { background-position: -" + en_flags[enval][3] + "px 0 !important; } ";
81
  var es_style = esval <= 0 ? "" : ".weglot-flags.es > a:before, .weglot-flags.es > span:before { background-position: -" + es_flags[esval][0] + "px 0 !important; } .weglot-flags.flag-1.es > a:before, .weglot-flags.flag-1.es > span:before { background-position: -" + es_flags[esval][1] + "px 0 !important; } .weglot-flags.flag-2.es > a:before, .weglot-flags.flag-2.es > span:before { background-position: -" + es_flags[esval][2] + "px 0 !important; } .weglot-flags.flag-3.es > a:before, .weglot-flags.flag-3.es > span:before { background-position: -" + es_flags[esval][3] + "px 0 !important; } ";
82
- var pt_style = ptval <= 0 ? "" : ".weglot-flags.pt > a:before, .weglot-flags.pt > span:before { background-position: -" + pt_flags[ptval][0] + "px 0 !important; } .weglot-flags.flag-1.pt > a:before, .weglot-flags.flag-1.pt > span:before { background-position: -" + pt_flags[ptval][1] + "px 0 !important; } .weglot-flags.flag-2.pt > a:before, .weglot-flags.flag-2.pt > span:before { background-position: -" + pt_flags[ptval][2] + "px 0 !important; } .weglot-flags.flag-3.pt > a:before, .weglot-flags.flag-3.pt > span:before { background-position: -" + pt_flags[ptval][3] + "px 0 !important; } ";
83
  var fr_style = frval <= 0 ? "" : ".weglot-flags.fr > a:before, .weglot-flags.fr > span:before { background-position: -" + fr_flags[frval][0] + "px 0 !important; } .weglot-flags.flag-1.fr > a:before, .weglot-flags.flag-1.fr > span:before { background-position: -" + fr_flags[frval][1] + "px 0 !important; } .weglot-flags.flag-2.fr > a:before, .weglot-flags.flag-2.fr > span:before { background-position: -" + fr_flags[frval][2] + "px 0 !important; } .weglot-flags.flag-3.fr > a:before, .weglot-flags.flag-3.fr > span:before { background-position: -" + fr_flags[frval][3] + "px 0 !important; } ";
84
  var ar_style = arval <= 0 ? "" : ".weglot-flags.ar > a:before, .weglot-flags.ar > span:before { background-position: -" + ar_flags[arval][0] + "px 0 !important; } .weglot-flags.flag-1.ar > a:before, .weglot-flags.flag-1.ar > span:before { background-position: -" + ar_flags[arval][1] + "px 0 !important; } .weglot-flags.flag-2.ar > a:before, .weglot-flags.flag-2.ar > span:before { background-position: -" + ar_flags[arval][2] + "px 0 !important; } .weglot-flags.flag-3.ar > a:before, .weglot-flags.flag-3.ar > span:before { background-position: -" + ar_flags[arval][3] + "px 0 !important; } ";
85
  var tw_style = twval <= 0 ? "" : ".weglot-flags.tw > a:before, .weglot-flags.tw > span:before { background-position: -" + tw_flags[twval][0] + "px 0 !important; } .weglot-flags.flag-1.tw > a:before, .weglot-flags.flag-1.tw > span:before { background-position: -" + tw_flags[twval][1] + "px 0 !important; } .weglot-flags.flag-2.tw > a:before, .weglot-flags.flag-2.tw > span:before { background-position: -" + tw_flags[twval][2] + "px 0 !important; } .weglot-flags.flag-3.tw > a:before, .weglot-flags.flag-3.tw > span:before { background-position: -" + tw_flags[twval][3] + "px 0 !important; } ";
86
  var zh_style = zhval <= 0 ? "" : ".weglot-flags.zh > a:before, .weglot-flags.zh > span:before { background-position: -" + zh_flags[zhval][0] + "px 0 !important; } .weglot-flags.flag-1.zh > a:before, .weglot-flags.flag-1.zh > span:before { background-position: -" + zh_flags[zhval][1] + "px 0 !important; } .weglot-flags.flag-2.zh > a:before, .weglot-flags.flag-2.zh > span:before { background-position: -" + zh_flags[zhval][2] + "px 0 !important; } .weglot-flags.flag-3.zh > a:before, .weglot-flags.flag-3.zh > span:before { background-position: -" + zh_flags[zhval][3] + "px 0 !important; } ";
87
 
88
- $("#flag_css, #weglot-css-flag-css").text(en_style + es_style + pt_style + fr_style + ar_style + tw_style + zh_style);
89
  }
90
 
91
  const execute = () => {
@@ -96,7 +91,7 @@ const init_admin_change_country = function() {
96
  }
97
  );
98
 
99
- $("select.flag-en-type, select.flag-es-type, select.flag-pt-type, select.flag-fr-type, select.flag-ar-type, select.flag-tw-type, select.flag-zh-type").on('change',
100
  function () {
101
  refresh_flag_css()
102
  }
8
  function refresh_flag_css() {
9
  var en_flags = new Array();
10
  var es_flags = new Array();
 
11
  var fr_flags = new Array();
12
  var ar_flags = new Array();
13
  var tw_flags = new Array();
40
  es_flags[18] = [6870, 5953, 96, 3408];
41
  es_flags[19] = [4020, 5697, 1056, 1224];
42
 
 
 
43
  fr_flags[1] = [2760, 736, 2856, 4416];
44
  fr_flags[2] = [3840, 1280, 2712, 4224];
45
  fr_flags[3] = [5700, 7201, 5016, 2400];
68
 
69
  var enval = $("select.flag-en-type").val();
70
  var esval = $("select.flag-es-type").val();
 
71
  var frval = $("select.flag-fr-type").val();
72
  var arval = $("select.flag-ar-type").val();
73
  var twval = $("select.flag-tw-type").val();
75
 
76
  var en_style = enval <= 0 ? "" : ".weglot-flags.en > a:before, .weglot-flags.en > span:before { background-position: -" + en_flags[enval][0] + "px 0 !important; } .weglot-flags.flag-1.en > a:before, .weglot-flags.flag-1.en > span:before { background-position: -" + en_flags[enval][1] + "px 0 !important; } .weglot-flags.flag-2.en > a:before, .weglot-flags.flag-2.en > span:before { background-position: -" + en_flags[enval][2] + "px 0 !important; } .weglot-flags.flag-3.en > a:before, .weglot-flags.flag-3.en > span:before { background-position: -" + en_flags[enval][3] + "px 0 !important; } ";
77
  var es_style = esval <= 0 ? "" : ".weglot-flags.es > a:before, .weglot-flags.es > span:before { background-position: -" + es_flags[esval][0] + "px 0 !important; } .weglot-flags.flag-1.es > a:before, .weglot-flags.flag-1.es > span:before { background-position: -" + es_flags[esval][1] + "px 0 !important; } .weglot-flags.flag-2.es > a:before, .weglot-flags.flag-2.es > span:before { background-position: -" + es_flags[esval][2] + "px 0 !important; } .weglot-flags.flag-3.es > a:before, .weglot-flags.flag-3.es > span:before { background-position: -" + es_flags[esval][3] + "px 0 !important; } ";
 
78
  var fr_style = frval <= 0 ? "" : ".weglot-flags.fr > a:before, .weglot-flags.fr > span:before { background-position: -" + fr_flags[frval][0] + "px 0 !important; } .weglot-flags.flag-1.fr > a:before, .weglot-flags.flag-1.fr > span:before { background-position: -" + fr_flags[frval][1] + "px 0 !important; } .weglot-flags.flag-2.fr > a:before, .weglot-flags.flag-2.fr > span:before { background-position: -" + fr_flags[frval][2] + "px 0 !important; } .weglot-flags.flag-3.fr > a:before, .weglot-flags.flag-3.fr > span:before { background-position: -" + fr_flags[frval][3] + "px 0 !important; } ";
79
  var ar_style = arval <= 0 ? "" : ".weglot-flags.ar > a:before, .weglot-flags.ar > span:before { background-position: -" + ar_flags[arval][0] + "px 0 !important; } .weglot-flags.flag-1.ar > a:before, .weglot-flags.flag-1.ar > span:before { background-position: -" + ar_flags[arval][1] + "px 0 !important; } .weglot-flags.flag-2.ar > a:before, .weglot-flags.flag-2.ar > span:before { background-position: -" + ar_flags[arval][2] + "px 0 !important; } .weglot-flags.flag-3.ar > a:before, .weglot-flags.flag-3.ar > span:before { background-position: -" + ar_flags[arval][3] + "px 0 !important; } ";
80
  var tw_style = twval <= 0 ? "" : ".weglot-flags.tw > a:before, .weglot-flags.tw > span:before { background-position: -" + tw_flags[twval][0] + "px 0 !important; } .weglot-flags.flag-1.tw > a:before, .weglot-flags.flag-1.tw > span:before { background-position: -" + tw_flags[twval][1] + "px 0 !important; } .weglot-flags.flag-2.tw > a:before, .weglot-flags.flag-2.tw > span:before { background-position: -" + tw_flags[twval][2] + "px 0 !important; } .weglot-flags.flag-3.tw > a:before, .weglot-flags.flag-3.tw > span:before { background-position: -" + tw_flags[twval][3] + "px 0 !important; } ";
81
  var zh_style = zhval <= 0 ? "" : ".weglot-flags.zh > a:before, .weglot-flags.zh > span:before { background-position: -" + zh_flags[zhval][0] + "px 0 !important; } .weglot-flags.flag-1.zh > a:before, .weglot-flags.flag-1.zh > span:before { background-position: -" + zh_flags[zhval][1] + "px 0 !important; } .weglot-flags.flag-2.zh > a:before, .weglot-flags.flag-2.zh > span:before { background-position: -" + zh_flags[zhval][2] + "px 0 !important; } .weglot-flags.flag-3.zh > a:before, .weglot-flags.flag-3.zh > span:before { background-position: -" + zh_flags[zhval][3] + "px 0 !important; } ";
82
 
83
+ $("#flag_css, #weglot-css-flag-css").text(en_style + es_style + fr_style + ar_style + tw_style + zh_style);
84
  }
85
 
86
  const execute = () => {
91
  }
92
  );
93
 
94
+ $("select.flag-en-type, select.flag-es-type, select.flag-fr-type, select.flag-ar-type, select.flag-tw-type, select.flag-zh-type").on('change',
95
  function () {
96
  refresh_flag_css()
97
  }
app/styles/_flags.scss CHANGED
@@ -13,6 +13,7 @@
13
  &.bn > a:before, &.bn > span:before { background-position: -5400px 0 !important; }
14
  &.bs > a:before, &.bs > span:before { background-position: -6390px 0 !important; }
15
  &.bg > a:before, &.bg > span:before { background-position: -2730px 0 !important; }
 
16
  &.my > a:before, &.my > span:before { background-position: -3299px 0 !important; }
17
  &.ca > a:before, &.ca > span:before { background-position: -7230px 0 !important; }
18
  &.zh > a:before, &.zh > span:before { background-position: -3690px 0 !important; }
@@ -70,7 +71,7 @@
70
  &.ps > a:before, &.ps > span:before { background-position: -5189px 0 !important; }
71
  &.fa > a:before, &.fa > span:before { background-position: -6690px 0 !important; }
72
  &.pl > a:before, &.pl > span:before { background-position: -2160px 0 !important; }
73
- &.pt > a:before, &.pt > span:before { background-position: -6630px 0 !important; }
74
  &.pa > a:before, &.pa > span:before { background-position: -3180px 0 !important; }
75
  &.ro > a:before, &.ro > span:before { background-position: -2070px 0 !important; }
76
  &.ru > a:before, &.ru > span:before { background-position: -2040px 0 !important; }
@@ -123,6 +124,7 @@
123
  &.bn > a:before, &.bn > span:before { background-position: -609px 0 !important; }
124
  &.bs > a:before, &.bs > span:before { background-position: -929px 0 !important; }
125
  &.bg > a:before, &.bg > span:before { background-position: -1121px 0 !important; }
 
126
  &.my > a:before, &.my > span:before { background-position: -4929px 0 !important; }
127
  &.ca > a:before, &.ca > span:before { background-position: -8321px 0 !important; }
128
  &.zh > a:before, &.zh > span:before { background-position: -1505px 0 !important; }
@@ -180,7 +182,7 @@
180
  &.ps > a:before, &.ps > span:before { background-position: -33px 0 !important; }
181
  &.fa > a:before, &.fa > span:before { background-position: -3393px 0 !important; }
182
  &.pl > a:before, &.pl > span:before { background-position: -5889px 0 !important; }
183
- &.pt > a:before, &.pt > span:before { background-position: -993px 0 !important; }
184
  &.pa > a:before, &.pa > span:before { background-position: -3329px 0 !important; }
185
  &.ro > a:before, &.ro > span:before { background-position: -6081px 0 !important; }
186
  &.ru > a:before, &.ru > span:before { background-position: -6113px 0 !important; }
@@ -233,6 +235,7 @@
233
  &.bn > a:before, &.bn > span:before { background-position: -4056px 0 !important; }
234
  &.bs > a:before, &.bs > span:before { background-position: -3984px 0 !important; }
235
  &.bg > a:before, &.bg > span:before { background-position: -5040px 0 !important; }
 
236
  &.my > a:before, &.my > span:before { background-position: -1248px 0 !important; }
237
  &.ca > a:before, &.ca > span:before { background-position: -5352px 0 !important; }
238
  &.zh > a:before, &.zh > span:before { background-position: -2592px 0 !important; }
@@ -290,7 +293,7 @@
290
  &.ps > a:before, &.ps > span:before { background-position: -4008px 0 !important; }
291
  &.fa > a:before, &.fa > span:before { background-position: -5088px 0 !important; }
292
  &.pl > a:before, &.pl > span:before { background-position: -984px 0 !important; }
293
- &.pt > a:before, &.pt > span:before { background-position: -2784px 0 !important; }
294
  &.pa > a:before, &.pa > span:before { background-position: -1728px 0 !important; }
295
  &.ro > a:before, &.ro > span:before { background-position: -960px 0 !important; }
296
  &.ru > a:before, &.ru > span:before { background-position: -936px 0 !important; }
@@ -343,6 +346,7 @@
343
  &.bn > a:before, &.bn > span:before { background-position: -4488px 0 !important; }
344
  &.bs > a:before, &.bs > span:before { background-position: -4392px 0 !important; }
345
  &.bg > a:before, &.bg > span:before { background-position: -4296px 0 !important; }
 
346
  &.my > a:before, &.my > span:before { background-position: -3769px 0 !important; }
347
  &.ca > a:before, &.ca > span:before { background-position: -5784px 0 !important; }
348
  &.zh > a:before, &.zh > span:before { background-position: -3240px 0 !important; }
@@ -400,7 +404,7 @@
400
  &.ps > a:before, &.ps > span:before { background-position: -4753px 0 !important; }
401
  &.fa > a:before, &.fa > span:before { background-position: -816px 0 !important; }
402
  &.pl > a:before, &.pl > span:before { background-position: -4944px 0 !important; }
403
- &.pt > a:before, &.pt > span:before { background-position: -4344px 0 !important; }
404
  &.pa > a:before, &.pa > span:before { background-position: -2304px 0 !important; }
405
  &.ro > a:before, &.ro > span:before { background-position: -3744px 0 !important; }
406
  &.ru > a:before, &.ru > span:before { background-position: -2664px 0 !important; }
13
  &.bn > a:before, &.bn > span:before { background-position: -5400px 0 !important; }
14
  &.bs > a:before, &.bs > span:before { background-position: -6390px 0 !important; }
15
  &.bg > a:before, &.bg > span:before { background-position: -2730px 0 !important; }
16
+ &.br > a:before, &.br > span:before { background-position: -6630px 0 !important; }
17
  &.my > a:before, &.my > span:before { background-position: -3299px 0 !important; }
18
  &.ca > a:before, &.ca > span:before { background-position: -7230px 0 !important; }
19
  &.zh > a:before, &.zh > span:before { background-position: -3690px 0 !important; }
71
  &.ps > a:before, &.ps > span:before { background-position: -5189px 0 !important; }
72
  &.fa > a:before, &.fa > span:before { background-position: -6690px 0 !important; }
73
  &.pl > a:before, &.pl > span:before { background-position: -2160px 0 !important; }
74
+ &.pt > a:before, &.pt > span:before { background-position: -1740px 0 !important; }
75
  &.pa > a:before, &.pa > span:before { background-position: -3180px 0 !important; }
76
  &.ro > a:before, &.ro > span:before { background-position: -2070px 0 !important; }
77
  &.ru > a:before, &.ru > span:before { background-position: -2040px 0 !important; }
124
  &.bn > a:before, &.bn > span:before { background-position: -609px 0 !important; }
125
  &.bs > a:before, &.bs > span:before { background-position: -929px 0 !important; }
126
  &.bg > a:before, &.bg > span:before { background-position: -1121px 0 !important; }
127
+ &.br > a:before, &.br > span:before { background-position: -993px 0 !important; }
128
  &.my > a:before, &.my > span:before { background-position: -4929px 0 !important; }
129
  &.ca > a:before, &.ca > span:before { background-position: -8321px 0 !important; }
130
  &.zh > a:before, &.zh > span:before { background-position: -1505px 0 !important; }
182
  &.ps > a:before, &.ps > span:before { background-position: -33px 0 !important; }
183
  &.fa > a:before, &.fa > span:before { background-position: -3393px 0 !important; }
184
  &.pl > a:before, &.pl > span:before { background-position: -5889px 0 !important; }
185
+ &.pt > a:before, &.pt > span:before { background-position: -5921px 0 !important; }
186
  &.pa > a:before, &.pa > span:before { background-position: -3329px 0 !important; }
187
  &.ro > a:before, &.ro > span:before { background-position: -6081px 0 !important; }
188
  &.ru > a:before, &.ru > span:before { background-position: -6113px 0 !important; }
235
  &.bn > a:before, &.bn > span:before { background-position: -4056px 0 !important; }
236
  &.bs > a:before, &.bs > span:before { background-position: -3984px 0 !important; }
237
  &.bg > a:before, &.bg > span:before { background-position: -5040px 0 !important; }
238
+ &.br > a:before, &.br > span:before { background-position: -2784px 0 !important; }
239
  &.my > a:before, &.my > span:before { background-position: -1248px 0 !important; }
240
  &.ca > a:before, &.ca > span:before { background-position: -5352px 0 !important; }
241
  &.zh > a:before, &.zh > span:before { background-position: -2592px 0 !important; }
293
  &.ps > a:before, &.ps > span:before { background-position: -4008px 0 !important; }
294
  &.fa > a:before, &.fa > span:before { background-position: -5088px 0 !important; }
295
  &.pl > a:before, &.pl > span:before { background-position: -984px 0 !important; }
296
+ &.pt > a:before, &.pt > span:before { background-position: -528px 0 !important; }
297
  &.pa > a:before, &.pa > span:before { background-position: -1728px 0 !important; }
298
  &.ro > a:before, &.ro > span:before { background-position: -960px 0 !important; }
299
  &.ru > a:before, &.ru > span:before { background-position: -936px 0 !important; }
346
  &.bn > a:before, &.bn > span:before { background-position: -4488px 0 !important; }
347
  &.bs > a:before, &.bs > span:before { background-position: -4392px 0 !important; }
348
  &.bg > a:before, &.bg > span:before { background-position: -4296px 0 !important; }
349
+ &.br > a:before, &.br > span:before { background-position: -4344px 0 !important; }
350
  &.my > a:before, &.my > span:before { background-position: -3769px 0 !important; }
351
  &.ca > a:before, &.ca > span:before { background-position: -5784px 0 !important; }
352
  &.zh > a:before, &.zh > span:before { background-position: -3240px 0 !important; }
404
  &.ps > a:before, &.ps > span:before { background-position: -4753px 0 !important; }
405
  &.fa > a:before, &.fa > span:before { background-position: -816px 0 !important; }
406
  &.pl > a:before, &.pl > span:before { background-position: -4944px 0 !important; }
407
+ &.pt > a:before, &.pt > span:before { background-position: -3504px 0 !important; }
408
  &.pa > a:before, &.pa > span:before { background-position: -2304px 0 !important; }
409
  &.ro > a:before, &.ro > span:before { background-position: -3744px 0 !important; }
410
  &.ru > a:before, &.ru > span:before { background-position: -2664px 0 !important; }
dist/admin-css.js CHANGED
@@ -1 +1 @@
1
- !function(e){var t={};function r(n){if(t[n])return t[n].exports;var o=t[n]={i:n,l:!1,exports:{}};return e[n].call(o.exports,o,o.exports,r),o.l=!0,o.exports}r.m=e,r.c=t,r.d=function(e,t,n){r.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},r.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},r.t=function(e,t){if(1&t&&(e=r(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(r.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)r.d(n,o,function(t){return e[t]}.bind(null,o));return n},r.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return r.d(t,"a",t),t},r.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},r.p="/dist/",r(r.s=12)}({12:function(e,t){}});
1
+ !function(e){var t={};function r(n){if(t[n])return t[n].exports;var o=t[n]={i:n,l:!1,exports:{}};return e[n].call(o.exports,o,o.exports,r),o.l=!0,o.exports}r.m=e,r.c=t,r.d=function(e,t,n){r.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},r.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},r.t=function(e,t){if(1&t&&(e=r(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(r.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)r.d(n,o,function(t){return e[t]}.bind(null,o));return n},r.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return r.d(t,"a",t),t},r.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},r.p="/dist/",r(r.s=11)}({11:function(e,t){}});
dist/admin-js.js CHANGED
@@ -1 +1 @@
1
- !function(e){var t={};function o(a){if(t[a])return t[a].exports;var l=t[a]={i:a,l:!1,exports:{}};return e[a].call(l.exports,l,l.exports,o),l.l=!0,l.exports}o.m=e,o.c=t,o.d=function(e,t,a){o.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:a})},o.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},o.t=function(e,t){if(1&t&&(e=o(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var a=Object.create(null);if(o.r(a),Object.defineProperty(a,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var l in e)o.d(a,l,function(t){return e[t]}.bind(null,l));return a},o.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return o.d(t,"a",t),t},o.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},o.p="/dist/",o(o.s=5)}([function(e,t){Array.prototype.find||Object.defineProperty(Array.prototype,"find",{value:function(e){if(null==this)throw new TypeError('"this" is null or not defined');var t=Object(this),o=t.length>>>0;if("function"!=typeof e)throw new TypeError("predicate must be a function");for(var a=arguments[1],l=0;l<o;){var n=t[l];if(e.call(a,n,l,t))return n;l++}},configurable:!0,writable:!0})},function(e,t){Array.prototype.filter||(Array.prototype.filter=function(e,t){"use strict";if("Function"!=typeof e&&"function"!=typeof e||!this)throw new TypeError;var o=this.length>>>0,a=new Array(o),l=this,n=0,r=-1;if(void 0===t)for(;++r!==o;)r in this&&e(l[r],r,l)&&(a[n++]=l[r]);else for(;++r!==o;)r in this&&e.call(t,l[r],r,l)&&(a[n++]=l[r]);return a.length=n,a})},,,,function(e,t,o){"use strict";o.r(t);var a=function(){const e=jQuery,t=()=>weglot_languages.available.filter(e=>e.code!==weglot_languages.original);let o;const a=()=>{let a=e("#original_language").val();e("#original_language").on("change",function(t){const l=a,n=a;a=t.target.value,o[0].selectize.removeOption(a);const r=weglot_languages.available.find(e=>e.code===n),s=weglot_languages.available.find(e=>e.code===a);o[0].selectize.addOption(r);const c=e("#is_fullname").is(":checked");let g="";e("#with_name").is(":checked")&&(g=c?s.local:s.code.toUpperCase()),e(".wgcurrent.wg-li").removeClass(l).addClass(a).attr("data-code-language",a).find("span").html(g)}),o=e(".weglot-select-destination").selectize({delimiter:"|",persist:!1,valueField:"code",labelField:"local",searchField:["code","english","local"],sortField:[{field:"english",direction:"asc"}],maxItems:weglot_languages.limit,plugins:["remove_button","drag_drop"],options:t(),render:{option:function(e,t){return'<div class="weglot__choice__language"><span class="weglot__choice__language--english">'+t(e.english)+'</span><span class="weglot__choice__language--local">'+t(e.local)+" ["+t(e.code)+"]</span></div>"}}}).on("change",t=>{const a=o[0].selectize.getValue(),l=e("#li-button-tpl");if(0===l.length)return;const n=e("#is_fullname").is(":checked"),r=e("#with_name").is(":checked"),s=e("#with_flags").is(":checked");let c="";s&&(c="weglot-flags");let g="";a.forEach(e=>{const t=weglot_languages.available.find(t=>t.code===e);let o="";r&&(o=n?t.local:e.toUpperCase()),g+=l.html().replace("{LABEL_LANGUAGE}",o).replace(new RegExp("{CODE_LANGUAGE}","g"),e).replace("{CLASSES}",c)}),e(".country-selector ul").html(g)}),window.addEventListener("weglotCheckApi",e=>{let t=1e3;const a=e.detail.plan;a<=0||weglot_languages.plans.starter_free.ids.indexOf(a)>=0?t=weglot_languages.plans.starter_free.limit_language:weglot_languages.plans.business.ids.indexOf(a)>=0&&(t=weglot_languages.plans.business.limit_language),o[0].selectize.settings.maxItems=t})};document.addEventListener("DOMContentLoaded",()=>{a()})};var l=function(){const e=jQuery;document.addEventListener("DOMContentLoaded",()=>{e("#weglot-box-first-settings .weglot-btn-close").on("click",function(t){t.preventDefault(),e("#weglot-box-first-settings").hide()})})};var n=function(){const e=()=>{document.querySelector("#tpl-exclusion-url");const e=document.querySelector("#tpl-exclusion-block"),t=document.querySelector("#container-exclude_blocks");function o(e){e.preventDefault(),this.parentNode.remove()}document.querySelector("#js-add-exclude-block")&&document.querySelector("#js-add-exclude-block").addEventListener("click",a=>{a.preventDefault(),t.insertAdjacentHTML("beforeend",e.innerHTML),document.querySelector("#container-exclude_blocks .item-exclude:last-child .js-btn-remove-exclude").addEventListener("click",o)}),document.querySelectorAll(".js-btn-remove").forEach(e=>{e.addEventListener("click",o)})};document.addEventListener("DOMContentLoaded",()=>{e()})};var r=function(){const e=jQuery,t=()=>{let t=e("#type_flags option:selected").data("value"),o=[];o.push(e(".country-selector label").data("code-language")),e(".country-selector li").each((t,a)=>{o.push(e(a).data("code-language"))});const a=weglot_languages.available.filter(e=>o.indexOf(e.code)>=0);e("#weglot-css-inline").text(weglot_css.inline),e("#is_dropdown").on("change",function(){e(".country-selector").toggleClass("weglot-inline"),e(".country-selector").toggleClass("weglot-dropdown")}),e("#with_flags").on("change",function(){e(".country-selector label, .country-selector li").toggleClass("weglot-flags")}),e("#type_flags").on("change",function(o){e(".country-selector label, .country-selector li").removeClass(`flag-${t}`);const a=e(":selected",this).data("value");e(".country-selector label, .country-selector li").addClass(`flag-${a}`),t=a});const l=()=>{const t=a.find(t=>t.code===e(".country-selector label").data("code-language")),o=e("#is_fullname").is(":checked"),l=o?t.local:t.code.toUpperCase();e(".country-selector label a, .country-selector label span").text(l),e(".country-selector li").each((t,l)=>{const n=a.find(t=>t.code===e(l).data("code-language")),r=o?n.local:n.code.toUpperCase();e(l).find("a").text(r)})};e("#with_name").on("change",function(t){t.target.checked?l():(e(".country-selector label a, .country-selector label span").text(""),e(".country-selector li a, .country-selector li span").each((t,o)=>{e(o).text("")}))}),e("#is_fullname").on("change",function(t){if(e("#with_name").is(":checked"))if(t.target.checked)l();else{const t=a.find(t=>t.code===e(".country-selector label").data("code-language"));e(".country-selector label a, .country-selector label span").text(t.code.toUpperCase()),e(".country-selector li").each((t,o)=>{const l=a.find(t=>t.code===e(o).data("code-language"));e(o).find("a").text(l.code.toUpperCase()),e(o).find("span").text(l.code.toUpperCase())})}}),e("#override_css").on("keyup",function(t){e("#weglot-css-inline").text(t.target.value)})};document.addEventListener("DOMContentLoaded",()=>{0!==e(".weglot-preview").length&&t()})};var s=function(){const e=jQuery,t=()=>{e("#api_key_private").blur(function(){var t=e(this).val();if(0===t.length)return e(".weglot-keyres").remove(),e("#api_key_private").after('<span class="weglot-keyres weglot-nokkey"></span>'),void e("#wrap-weglot #submit").prop("disabled",!0);function o(){e(".weglot-keyres").remove(),e("#api_key_private").after('<span class="weglot-keyres weglot-nokkey"></span>'),e("#wrap-weglot #submit").prop("disabled",!0)}e(".weglot-keyres").remove(),e("#api_key_private").after('<span class="weglot-keyres weglot-ckeckkey"></span>'),e.ajax({method:"POST",url:ajaxurl,data:{action:"get_user_info",api_key:t},success:({data:t,success:a})=>{e(".weglot-keyres").remove(),a?function(t){e(".weglot-keyres").remove(),e("#api_key_private").after('<span class="weglot-keyres weglot-okkey"></span>'),e("#wrap-weglot #submit").prop("disabled",!1);const o=new CustomEvent("weglotCheckApi",{detail:t});window.dispatchEvent(o)}(t):o()}}).fail(function(){o()})})};document.addEventListener("DOMContentLoaded",()=>{t()})};var c=function(){jQuery;document.addEventListener("DOMContentLoaded",()=>{jQuery(document).ready(function(e){wp.codeEditor.initialize(e("#override_css"),cm_settings)})})};var g=function(){const e=jQuery;"undefined"!=typeof weglot_css&&e("#weglot-css-flag-css").text(weglot_css.flag_css);const t=()=>{e(".flag-style-openclose").on("click",function(){e(".flag-style-wrapper").toggle()}),e("select.flag-en-type, select.flag-es-type, select.flag-pt-type, select.flag-fr-type, select.flag-ar-type, select.flag-tw-type, select.flag-zh-type").on("change",function(){!function(){var t=new Array,o=new Array,a=new Array,l=new Array,n=new Array,r=new Array,s=new Array;t[1]=[3570,7841,48,2712],t[2]=[3720,449,3048,4440],t[3]=[3840,1281,2712,4224],t[4]=[3240,5217,1224,2112],t[5]=[4050,3585,1944,2496],t[6]=[2340,3457,2016,2016],o[1]=[4320,4641,3144,3552],o[2]=[3750,353,2880,4656],o[3]=[4200,1601,2568,3192],o[4]=[3990,5793,1032,2232],o[5]=[5460,897,4104,3120],o[6]=[3810,7905,216,3888],o[7]=[3630,8065,192,2376],o[8]=[3780,1473,2496,4104],o[9]=[6120,2145,4680,2568],o[10]=[4440,3009,3240,1176],o[11]=[5280,1825,3936,2976],o[12]=[4770,2081,3624,1008],o[13]=[4080,3201,2160,2544],o[14]=[4590,5761,3432,624],o[15]=[4350,2209,3360,2688],o[16]=[5610,5249,3168,528],o[17]=[5070,1729,3792,2952],o[18]=[6870,5953,96,3408],o[19]=[4020,5697,1056,1224],a[1]=[1740,5921,528,3504],l[1]=[2760,736,2856,4416],l[2]=[3840,1280,2712,4224],l[3]=[5700,7201,5016,2400],l[4]=[2220,4160,1632,1944],n[1]=[1830,129,3096,5664],n[2]=[5100,2177,3840,2904],n[3]=[4890,3425,3648,2136],n[4]=[1320,3681,1896,4080],n[5]=[1260,3841,1824,1200],n[6]=[1020,3969,1608,312],n[7]=[4800,4065,3600,72],n[8]=[4710,4865,3504,480],n[9]=[6720,5984,5112,3792],n[10]=[4500,7233,3288,1800],n[11]=[720,7522,384,3936],n[12]=[690,7745,336,1104],n[13]=[600,8225,120,1272],n[14]=[660,5569,840,576],r[1]=[3690,1505,2592,3240],r[2]=[3600,3233,2112,48],s[1]=[2970,6369,3408,4008],s[2]=[3600,3233,2112,48];var c=e("select.flag-en-type").val(),g=e("select.flag-es-type").val(),i=e("select.flag-pt-type").val(),f=e("select.flag-fr-type").val(),p=e("select.flag-ar-type").val(),d=e("select.flag-tw-type").val(),u=e("select.flag-zh-type").val(),w=c<=0?"":".weglot-flags.en > a:before, .weglot-flags.en > span:before { background-position: -"+t[c][0]+"px 0 !important; } .weglot-flags.flag-1.en > a:before, .weglot-flags.flag-1.en > span:before { background-position: -"+t[c][1]+"px 0 !important; } .weglot-flags.flag-2.en > a:before, .weglot-flags.flag-2.en > span:before { background-position: -"+t[c][2]+"px 0 !important; } .weglot-flags.flag-3.en > a:before, .weglot-flags.flag-3.en > span:before { background-position: -"+t[c][3]+"px 0 !important; } ",b=g<=0?"":".weglot-flags.es > a:before, .weglot-flags.es > span:before { background-position: -"+o[g][0]+"px 0 !important; } .weglot-flags.flag-1.es > a:before, .weglot-flags.flag-1.es > span:before { background-position: -"+o[g][1]+"px 0 !important; } .weglot-flags.flag-2.es > a:before, .weglot-flags.flag-2.es > span:before { background-position: -"+o[g][2]+"px 0 !important; } .weglot-flags.flag-3.es > a:before, .weglot-flags.flag-3.es > span:before { background-position: -"+o[g][3]+"px 0 !important; } ",y=i<=0?"":".weglot-flags.pt > a:before, .weglot-flags.pt > span:before { background-position: -"+a[i][0]+"px 0 !important; } .weglot-flags.flag-1.pt > a:before, .weglot-flags.flag-1.pt > span:before { background-position: -"+a[i][1]+"px 0 !important; } .weglot-flags.flag-2.pt > a:before, .weglot-flags.flag-2.pt > span:before { background-position: -"+a[i][2]+"px 0 !important; } .weglot-flags.flag-3.pt > a:before, .weglot-flags.flag-3.pt > span:before { background-position: -"+a[i][3]+"px 0 !important; } ",m=f<=0?"":".weglot-flags.fr > a:before, .weglot-flags.fr > span:before { background-position: -"+l[f][0]+"px 0 !important; } .weglot-flags.flag-1.fr > a:before, .weglot-flags.flag-1.fr > span:before { background-position: -"+l[f][1]+"px 0 !important; } .weglot-flags.flag-2.fr > a:before, .weglot-flags.flag-2.fr > span:before { background-position: -"+l[f][2]+"px 0 !important; } .weglot-flags.flag-3.fr > a:before, .weglot-flags.flag-3.fr > span:before { background-position: -"+l[f][3]+"px 0 !important; } ",v=p<=0?"":".weglot-flags.ar > a:before, .weglot-flags.ar > span:before { background-position: -"+n[p][0]+"px 0 !important; } .weglot-flags.flag-1.ar > a:before, .weglot-flags.flag-1.ar > span:before { background-position: -"+n[p][1]+"px 0 !important; } .weglot-flags.flag-2.ar > a:before, .weglot-flags.flag-2.ar > span:before { background-position: -"+n[p][2]+"px 0 !important; } .weglot-flags.flag-3.ar > a:before, .weglot-flags.flag-3.ar > span:before { background-position: -"+n[p][3]+"px 0 !important; } ",h=d<=0?"":".weglot-flags.tw > a:before, .weglot-flags.tw > span:before { background-position: -"+r[d][0]+"px 0 !important; } .weglot-flags.flag-1.tw > a:before, .weglot-flags.flag-1.tw > span:before { background-position: -"+r[d][1]+"px 0 !important; } .weglot-flags.flag-2.tw > a:before, .weglot-flags.flag-2.tw > span:before { background-position: -"+r[d][2]+"px 0 !important; } .weglot-flags.flag-3.tw > a:before, .weglot-flags.flag-3.tw > span:before { background-position: -"+r[d][3]+"px 0 !important; } ",_=u<=0?"":".weglot-flags.zh > a:before, .weglot-flags.zh > span:before { background-position: -"+s[u][0]+"px 0 !important; } .weglot-flags.flag-1.zh > a:before, .weglot-flags.flag-1.zh > span:before { background-position: -"+s[u][1]+"px 0 !important; } .weglot-flags.flag-2.zh > a:before, .weglot-flags.flag-2.zh > span:before { background-position: -"+s[u][2]+"px 0 !important; } .weglot-flags.flag-3.zh > a:before, .weglot-flags.flag-3.zh > span:before { background-position: -"+s[u][3]+"px 0 !important; } ";e("#flag_css, #weglot-css-flag-css").text(w+b+y+m+v+h+_)}()});var t=e("#flag_css").text();t.trim()&&e("#weglot-css-flag-css").text(t)};document.addEventListener("DOMContentLoaded",()=>{t()})};var i=function(){jQuery;document.addEventListener("DOMContentLoaded",()=>{const e=document.querySelector("#private_mode");e&&0!=e.length&&(document.querySelector("#private_mode").addEventListener("change",function(e){document.querySelectorAll(".private-mode-lang--input").forEach(t=>{t.checked=e.target.checked})}),document.querySelectorAll(".private-mode-lang--input").forEach(e=>{e.addEventListener("change",function(e){0===document.querySelectorAll(".private-mode-lang--input:checked").length&&(document.querySelector("#private_mode").checked=!1)})}))})};o(0),o(1);a(),n(),l(),r(),s(),c(),g(),i()}]);
1
+ !function(e){var t={};function o(a){if(t[a])return t[a].exports;var n=t[a]={i:a,l:!1,exports:{}};return e[a].call(n.exports,n,n.exports,o),n.l=!0,n.exports}o.m=e,o.c=t,o.d=function(e,t,a){o.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:a})},o.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},o.t=function(e,t){if(1&t&&(e=o(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var a=Object.create(null);if(o.r(a),Object.defineProperty(a,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var n in e)o.d(a,n,function(t){return e[t]}.bind(null,n));return a},o.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return o.d(t,"a",t),t},o.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},o.p="/dist/",o(o.s=4)}([function(e,t){Array.prototype.filter||(Array.prototype.filter=function(e,t){"use strict";if("Function"!=typeof e&&"function"!=typeof e||!this)throw new TypeError;var o=this.length>>>0,a=new Array(o),n=this,l=0,r=-1;if(void 0===t)for(;++r!==o;)r in this&&e(n[r],r,n)&&(a[l++]=n[r]);else for(;++r!==o;)r in this&&e.call(t,n[r],r,n)&&(a[l++]=n[r]);return a.length=l,a})},function(e,t){Array.prototype.find||Object.defineProperty(Array.prototype,"find",{value:function(e){if(null==this)throw new TypeError('"this" is null or not defined');var t=Object(this),o=t.length>>>0;if("function"!=typeof e)throw new TypeError("predicate must be a function");for(var a=arguments[1],n=0;n<o;){var l=t[n];if(e.call(a,l,n,t))return l;n++}},configurable:!0,writable:!0})},,,function(e,t,o){"use strict";o.r(t);var a=function(){const e=jQuery;let t;const o=()=>{t=e(".weglot-select-destination").selectize({delimiter:"|",persist:!1,valueField:"code",labelField:"local",searchField:["code","english","local"],sortField:[{field:"english",direction:"asc"}],maxItems:weglot_languages.limit,plugins:["remove_button","drag_drop"],options:(()=>weglot_languages.available.filter(e=>e.code!==weglot_languages.original))(),render:{option:function(e,t){return'<div class="weglot__choice__language"><span class="weglot__choice__language--english">'+t(e.english)+'</span><span class="weglot__choice__language--local">'+t(e.local)+" ["+t(e.code)+"]</span></div>"}}}).on("change",o=>{const a=t[0].selectize.getValue(),n=e("#li-button-tpl");if(0===n.length)return;const l=e("#is_fullname").is(":checked"),r=e("#with_name").is(":checked");let s="";e("#with_flags").is(":checked")&&(s="weglot-flags");let c="";a.forEach(e=>{const t=weglot_languages.available.find(t=>t.code===e);let o="";r&&(o=l?t.local:e.toUpperCase()),c+=n.html().replace("{LABEL_LANGUAGE}",o).replace(new RegExp("{CODE_LANGUAGE}","g"),e).replace("{CLASSES}",s)}),e(".country-selector ul").html(c)})};document.addEventListener("DOMContentLoaded",()=>{(()=>{let a=e("#original_language").val();e("#original_language").on("change",function(o){const n=a,l=a;a=o.target.value,t[0].selectize.removeOption(a);const r=weglot_languages.available.find(e=>e.code===l),s=weglot_languages.available.find(e=>e.code===a);t[0].selectize.addOption(r);const c=e("#is_fullname").is(":checked");let i="";e("#with_name").is(":checked")&&(i=c?s.local:s.code.toUpperCase()),e(".wgcurrent.wg-li").removeClass(n).addClass(a).attr("data-code-language",a).find("span").html(i)}),o(),window.addEventListener("weglotCheckApi",e=>{let o=1e3;const a=e.detail.plan;a<=0||weglot_languages.plans.starter_free.ids.indexOf(a)>=0?o=weglot_languages.plans.starter_free.limit_language:weglot_languages.plans.business.ids.indexOf(a)>=0&&(o=weglot_languages.plans.business.limit_language),t[0].selectize.settings.maxItems=o})})()})};var n=function(){const e=jQuery;document.addEventListener("DOMContentLoaded",()=>{e("#weglot-box-first-settings .weglot-btn-close").on("click",function(t){t.preventDefault(),e("#weglot-box-first-settings").hide()})})};var l=function(){const e=()=>{document.querySelector("#tpl-exclusion-url");const e=document.querySelector("#tpl-exclusion-block"),t=document.querySelector("#container-exclude_blocks");function o(e){e.preventDefault(),this.parentNode.remove()}document.querySelector("#js-add-exclude-block")&&document.querySelector("#js-add-exclude-block").addEventListener("click",a=>{a.preventDefault(),t.insertAdjacentHTML("beforeend",e.innerHTML),document.querySelector("#container-exclude_blocks .item-exclude:last-child .js-btn-remove-exclude").addEventListener("click",o)}),document.querySelectorAll(".js-btn-remove").forEach(e=>{e.addEventListener("click",o)})};document.addEventListener("DOMContentLoaded",()=>{e()})};var r=function(){const e=jQuery,t=()=>{let t=e("#type_flags option:selected").data("value"),o=[];o.push(e(".country-selector label").data("code-language")),e(".country-selector li").each((t,a)=>{o.push(e(a).data("code-language"))});const a=weglot_languages.available.filter(e=>o.indexOf(e.code)>=0);e("#weglot-css-inline").text(weglot_css.inline),e("#is_dropdown").on("change",function(){e(".country-selector").toggleClass("weglot-inline"),e(".country-selector").toggleClass("weglot-dropdown")}),e("#with_flags").on("change",function(){e(".country-selector label, .country-selector li").toggleClass("weglot-flags")}),e("#type_flags").on("change",function(o){e(".country-selector label, .country-selector li").removeClass(`flag-${t}`);const a=e(":selected",this).data("value");e(".country-selector label, .country-selector li").addClass(`flag-${a}`),t=a});const n=()=>{const t=a.find(t=>t.code===e(".country-selector label").data("code-language")),o=e("#is_fullname").is(":checked"),n=o?t.local:t.code.toUpperCase();e(".country-selector label a, .country-selector label span").text(n),e(".country-selector li").each((t,n)=>{const l=a.find(t=>t.code===e(n).data("code-language")),r=o?l.local:l.code.toUpperCase();e(n).find("a").text(r)})};e("#with_name").on("change",function(t){t.target.checked?n():(e(".country-selector label a, .country-selector label span").text(""),e(".country-selector li a, .country-selector li span").each((t,o)=>{e(o).text("")}))}),e("#is_fullname").on("change",function(t){if(e("#with_name").is(":checked"))if(t.target.checked)n();else{const t=a.find(t=>t.code===e(".country-selector label").data("code-language"));e(".country-selector label a, .country-selector label span").text(t.code.toUpperCase()),e(".country-selector li").each((t,o)=>{const n=a.find(t=>t.code===e(o).data("code-language"));e(o).find("a").text(n.code.toUpperCase()),e(o).find("span").text(n.code.toUpperCase())})}}),e("#override_css").on("keyup",function(t){e("#weglot-css-inline").text(t.target.value)})};document.addEventListener("DOMContentLoaded",()=>{0!==e(".weglot-preview").length&&t()})};var s=function(){const e=jQuery,t=()=>{e("#api_key_private").blur(function(){var t=e(this).val();if(0===t.length)return e(".weglot-keyres").remove(),e("#api_key_private").after('<span class="weglot-keyres weglot-nokkey"></span>'),void e("#wrap-weglot #submit").prop("disabled",!0);function o(){e(".weglot-keyres").remove(),e("#api_key_private").after('<span class="weglot-keyres weglot-nokkey"></span>'),e("#wrap-weglot #submit").prop("disabled",!0)}e(".weglot-keyres").remove(),e("#api_key_private").after('<span class="weglot-keyres weglot-ckeckkey"></span>'),e.ajax({method:"POST",url:ajaxurl,data:{action:"get_user_info",api_key:t},success:({data:t,success:a})=>{e(".weglot-keyres").remove(),a?function(t){e(".weglot-keyres").remove(),e("#api_key_private").after('<span class="weglot-keyres weglot-okkey"></span>'),e("#wrap-weglot #submit").prop("disabled",!1);const o=new CustomEvent("weglotCheckApi",{detail:t});window.dispatchEvent(o)}(t):o()}}).fail(function(){o()})})};document.addEventListener("DOMContentLoaded",()=>{t()})};var c=function(){jQuery;document.addEventListener("DOMContentLoaded",()=>{jQuery(document).ready(function(e){wp.codeEditor.initialize(e("#override_css"),cm_settings)})})};var i=function(){const e=jQuery;"undefined"!=typeof weglot_css&&e("#weglot-css-flag-css").text(weglot_css.flag_css);const t=()=>{e(".flag-style-openclose").on("click",function(){e(".flag-style-wrapper").toggle()}),e("select.flag-en-type, select.flag-es-type, select.flag-fr-type, select.flag-ar-type, select.flag-tw-type, select.flag-zh-type").on("change",function(){!function(){var t=new Array,o=new Array,a=new Array,n=new Array,l=new Array,r=new Array;t[1]=[3570,7841,48,2712],t[2]=[3720,449,3048,4440],t[3]=[3840,1281,2712,4224],t[4]=[3240,5217,1224,2112],t[5]=[4050,3585,1944,2496],t[6]=[2340,3457,2016,2016],o[1]=[4320,4641,3144,3552],o[2]=[3750,353,2880,4656],o[3]=[4200,1601,2568,3192],o[4]=[3990,5793,1032,2232],o[5]=[5460,897,4104,3120],o[6]=[3810,7905,216,3888],o[7]=[3630,8065,192,2376],o[8]=[3780,1473,2496,4104],o[9]=[6120,2145,4680,2568],o[10]=[4440,3009,3240,1176],o[11]=[5280,1825,3936,2976],o[12]=[4770,2081,3624,1008],o[13]=[4080,3201,2160,2544],o[14]=[4590,5761,3432,624],o[15]=[4350,2209,3360,2688],o[16]=[5610,5249,3168,528],o[17]=[5070,1729,3792,2952],o[18]=[6870,5953,96,3408],o[19]=[4020,5697,1056,1224],a[1]=[2760,736,2856,4416],a[2]=[3840,1280,2712,4224],a[3]=[5700,7201,5016,2400],a[4]=[2220,4160,1632,1944],n[1]=[1830,129,3096,5664],n[2]=[5100,2177,3840,2904],n[3]=[4890,3425,3648,2136],n[4]=[1320,3681,1896,4080],n[5]=[1260,3841,1824,1200],n[6]=[1020,3969,1608,312],n[7]=[4800,4065,3600,72],n[8]=[4710,4865,3504,480],n[9]=[6720,5984,5112,3792],n[10]=[4500,7233,3288,1800],n[11]=[720,7522,384,3936],n[12]=[690,7745,336,1104],n[13]=[600,8225,120,1272],n[14]=[660,5569,840,576],l[1]=[3690,1505,2592,3240],l[2]=[3600,3233,2112,48],r[1]=[2970,6369,3408,4008],r[2]=[3600,3233,2112,48];var s=e("select.flag-en-type").val(),c=e("select.flag-es-type").val(),i=e("select.flag-fr-type").val(),g=e("select.flag-ar-type").val(),f=e("select.flag-tw-type").val(),d=e("select.flag-zh-type").val(),u=s<=0?"":".weglot-flags.en > a:before, .weglot-flags.en > span:before { background-position: -"+t[s][0]+"px 0 !important; } .weglot-flags.flag-1.en > a:before, .weglot-flags.flag-1.en > span:before { background-position: -"+t[s][1]+"px 0 !important; } .weglot-flags.flag-2.en > a:before, .weglot-flags.flag-2.en > span:before { background-position: -"+t[s][2]+"px 0 !important; } .weglot-flags.flag-3.en > a:before, .weglot-flags.flag-3.en > span:before { background-position: -"+t[s][3]+"px 0 !important; } ",p=c<=0?"":".weglot-flags.es > a:before, .weglot-flags.es > span:before { background-position: -"+o[c][0]+"px 0 !important; } .weglot-flags.flag-1.es > a:before, .weglot-flags.flag-1.es > span:before { background-position: -"+o[c][1]+"px 0 !important; } .weglot-flags.flag-2.es > a:before, .weglot-flags.flag-2.es > span:before { background-position: -"+o[c][2]+"px 0 !important; } .weglot-flags.flag-3.es > a:before, .weglot-flags.flag-3.es > span:before { background-position: -"+o[c][3]+"px 0 !important; } ",w=i<=0?"":".weglot-flags.fr > a:before, .weglot-flags.fr > span:before { background-position: -"+a[i][0]+"px 0 !important; } .weglot-flags.flag-1.fr > a:before, .weglot-flags.flag-1.fr > span:before { background-position: -"+a[i][1]+"px 0 !important; } .weglot-flags.flag-2.fr > a:before, .weglot-flags.flag-2.fr > span:before { background-position: -"+a[i][2]+"px 0 !important; } .weglot-flags.flag-3.fr > a:before, .weglot-flags.flag-3.fr > span:before { background-position: -"+a[i][3]+"px 0 !important; } ",b=g<=0?"":".weglot-flags.ar > a:before, .weglot-flags.ar > span:before { background-position: -"+n[g][0]+"px 0 !important; } .weglot-flags.flag-1.ar > a:before, .weglot-flags.flag-1.ar > span:before { background-position: -"+n[g][1]+"px 0 !important; } .weglot-flags.flag-2.ar > a:before, .weglot-flags.flag-2.ar > span:before { background-position: -"+n[g][2]+"px 0 !important; } .weglot-flags.flag-3.ar > a:before, .weglot-flags.flag-3.ar > span:before { background-position: -"+n[g][3]+"px 0 !important; } ",y=f<=0?"":".weglot-flags.tw > a:before, .weglot-flags.tw > span:before { background-position: -"+l[f][0]+"px 0 !important; } .weglot-flags.flag-1.tw > a:before, .weglot-flags.flag-1.tw > span:before { background-position: -"+l[f][1]+"px 0 !important; } .weglot-flags.flag-2.tw > a:before, .weglot-flags.flag-2.tw > span:before { background-position: -"+l[f][2]+"px 0 !important; } .weglot-flags.flag-3.tw > a:before, .weglot-flags.flag-3.tw > span:before { background-position: -"+l[f][3]+"px 0 !important; } ",m=d<=0?"":".weglot-flags.zh > a:before, .weglot-flags.zh > span:before { background-position: -"+r[d][0]+"px 0 !important; } .weglot-flags.flag-1.zh > a:before, .weglot-flags.flag-1.zh > span:before { background-position: -"+r[d][1]+"px 0 !important; } .weglot-flags.flag-2.zh > a:before, .weglot-flags.flag-2.zh > span:before { background-position: -"+r[d][2]+"px 0 !important; } .weglot-flags.flag-3.zh > a:before, .weglot-flags.flag-3.zh > span:before { background-position: -"+r[d][3]+"px 0 !important; } ";e("#flag_css, #weglot-css-flag-css").text(u+p+w+b+y+m)}()});var t=e("#flag_css").text();t.trim()&&e("#weglot-css-flag-css").text(t)};document.addEventListener("DOMContentLoaded",()=>{t()})};var g=function(){jQuery;document.addEventListener("DOMContentLoaded",()=>{const e=document.querySelector("#private_mode");e&&0!=e.length&&(document.querySelector("#private_mode").addEventListener("change",function(e){document.querySelectorAll(".private-mode-lang--input").forEach(t=>{t.checked=e.target.checked})}),document.querySelectorAll(".private-mode-lang--input").forEach(e=>{e.addEventListener("change",function(e){0===document.querySelectorAll(".private-mode-lang--input:checked").length&&(document.querySelector("#private_mode").checked=!1)})}))})};o(1),o(0);a(),l(),n(),r(),s(),c(),i(),g()}]);
dist/css/admin-css.css CHANGED
@@ -322,4 +322,439 @@
322
  opacity: 0.5;
323
  background-color: #fafafa;
324
  }
325
- #weglot-url-translate .CodeMirror-placeholder,#wrap-weglot .CodeMirror-placeholder{color:#c0c0c0}#weglot-url-translate .CodeMirror-wrap,#wrap-weglot .CodeMirror-wrap{border-radius:4px;border:1px solid #c0c0c0;width:100%;max-width:550px;height:200px}#weglot-url-translate .weglot__choice__language,#wrap-weglot .weglot__choice__language{border-bottom:1px solid #eee;margin:5px 0}#weglot-url-translate .weglot__choice__language--local,#wrap-weglot .weglot__choice__language--local{border-width:50px;color:#a6a6a6;display:block}#weglot-url-translate .weglot_text_error,#wrap-weglot .weglot_text_error{color:#dc3232}#weglot-url-translate .weglot_reset,#wrap-weglot .weglot_reset{text-decoration:underline;font-style:italic}#weglot-url-translate .weglot_reset:hover,#wrap-weglot .weglot_reset:hover{cursor:pointer}#weglot-url-translate .btn,#wrap-weglot .btn{background:#335ee2;display:inline-block;padding:8px 10px;border-radius:4px;-webkit-transition:0.2s background linear, 0.2s color linear, 0.2s border linear, 0.2s text-shadow linear;-o-transition:0.2s background linear, 0.2s color linear, 0.2s border linear, 0.2s text-shadow linear;transition:0.2s background linear, 0.2s color linear, 0.2s border linear, 0.2s text-shadow linear;outline:0;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility;font-weight:700;cursor:pointer;text-align:center;text-decoration:none;-webkit-box-shadow:none;box-shadow:none;white-space:nowrap;color:white;border:1px solid #335ee2}#weglot-url-translate .btn.btn-soft,#wrap-weglot .btn.btn-soft{background-color:#fff;color:#24284c;border-radius:4px;border:1px solid #7e8993;line-height:1.4em}#weglot-url-translate .btn.btn-primary:active,#weglot-url-translate .btn.btn-primary:focus,#weglot-url-translate .btn.btn-primary:hover,#wrap-weglot .btn.btn-primary:active,#wrap-weglot .btn.btn-primary:focus,#wrap-weglot .btn.btn-primary:hover{border-color:#446dea;background-color:#446dea}#weglot-url-translate .js-btn-remove,#wrap-weglot .js-btn-remove{border:none;background-color:#e35b5b;color:#fff;display:inline-block;width:22px;height:22px;border-radius:50%;cursor:pointer;-webkit-transform:translateY(-5%);-ms-transform:translateY(-5%);transform:translateY(-5%);-webkit-transition:opacity 175ms linear;-o-transition:opacity 175ms linear;transition:opacity 175ms linear;outline:0;padding:0;margin:4px 0;vertical-align:middle}#weglot-url-translate .js-btn-remove:hover,#wrap-weglot .js-btn-remove:hover{background-color:#c62d2d}#weglot-url-translate .item-exclude,#wrap-weglot .item-exclude{position:relative;margin-bottom:10px}#weglot-url-translate::-webkit-input-placeholder,#weglot-url-translate:-moz-placeholder,#weglot-url-translate::-moz-placeholder,#weglot-url-translate:-ms-input-placeholder,#wrap-weglot::-webkit-input-placeholder,#wrap-weglot:-moz-placeholder,#wrap-weglot::-moz-placeholder,#wrap-weglot:-ms-input-placeholder{color:#c0c0c0}#weglot-url-translate .sub-label,#wrap-weglot .sub-label{font-size:13px;font-weight:normal;margin:2px 0 0;color:#444;opacity:0.8}#weglot-url-translate .weglot-select-original,#wrap-weglot .weglot-select-original{height:36px !important;margin:0}#weglot-url-translate .original-select,#weglot-url-translate #type_flags,#wrap-weglot .original-select,#wrap-weglot #type_flags{padding:8px;height:36px !important;width:300px}#weglot-url-translate #type_flags,#wrap-weglot #type_flags{width:150px}#weglot-url-translate .selectize-control.multi .selectize-input,#wrap-weglot .selectize-control.multi .selectize-input{border:1px solid #7e8993;border-radius:4px;-webkit-box-shadow:unset;box-shadow:unset}#weglot-url-translate .selectize-control.multi .selectize-input>div,#wrap-weglot .selectize-control.multi .selectize-input>div{background-color:#eff0ff;border:1px solid #7e8993;border-radius:2px}#weglot-url-translate .selectize-control.multi .selectize-input>div .remove,#wrap-weglot .selectize-control.multi .selectize-input>div .remove{border-left-color:#7e8993}#weglot-url-translate .wg-input-textarea,#wrap-weglot .wg-input-textarea{padding:8px}#weglot-url-translate .wg-input-textarea::-webkit-input-placeholder,#wrap-weglot .wg-input-textarea::-webkit-input-placeholder{color:#c0c0c0}#weglot-url-translate .wg-input-textarea::-moz-placeholder,#wrap-weglot .wg-input-textarea::-moz-placeholder{color:#c0c0c0}#weglot-url-translate .wg-input-textarea::-ms-input-placeholder,#wrap-weglot .wg-input-textarea::-ms-input-placeholder{color:#c0c0c0}#weglot-url-translate .wg-input-textarea::placeholder,#wrap-weglot .wg-input-textarea::placeholder{color:#c0c0c0}#weglot-url-translate .weglot-select.weglot-select-original,#weglot-url-translate input[type="text"],#weglot-url-translate textarea,#weglot-url-translate select,#weglot-url-translate #type_flags,#wrap-weglot .weglot-select.weglot-select-original,#wrap-weglot input[type="text"],#wrap-weglot textarea,#wrap-weglot select,#wrap-weglot #type_flags{padding:0 8px;border-radius:4px;border:1px solid #7e8993}#weglot-url-translate .weglot-select.weglot-select-original:focus,#weglot-url-translate input[type="text"]:focus,#weglot-url-translate textarea:focus,#weglot-url-translate select:focus,#weglot-url-translate #type_flags:focus,#wrap-weglot .weglot-select.weglot-select-original:focus,#wrap-weglot input[type="text"]:focus,#wrap-weglot textarea:focus,#wrap-weglot select:focus,#wrap-weglot #type_flags:focus{border-color:#446dea !important;-webkit-box-shadow:none !important;box-shadow:none !important}#weglot-url-translate .weglot-info,#wrap-weglot .weglot-info{position:relative;color:#3741cc;font-weight:bold}#weglot-url-translate .weglot-info:hover .wg-tooltip,#wrap-weglot .weglot-info:hover .wg-tooltip{line-height:1.4;position:absolute;top:27px;display:block !important;background-color:#24292d;width:160px;padding:10px;color:white;font-weight:normal;border:1px solid #e0e0e0;font-size:12px}#weglot-url-translate .weglot-box-overlay,#wrap-weglot .weglot-box-overlay{position:fixed;top:0;left:0;display:-webkit-box;display:-ms-flexbox;display:flex;width:100%;height:100%;background-color:rgba(0,0,0,0.85);z-index:9999;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center}#weglot-url-translate .weglot-box-overlay .weglot-box,#wrap-weglot .weglot-box-overlay .weglot-box{background-color:#fff;padding:25px;text-align:center;-webkit-box-shadow:0px 0px 5px 0px rgba(0,0,0,0.75);box-shadow:0px 0px 5px 0px rgba(0,0,0,0.75)}#weglot-url-translate .weglot-box-overlay .weglot-box--title,#wrap-weglot .weglot-box-overlay .weglot-box--title{font-size:24px;line-height:1.3}#weglot-url-translate .weglot-box-overlay .weglot-box--text,#wrap-weglot .weglot-box-overlay .weglot-box--text{font-size:18px}#weglot-url-translate .weglot-box-overlay .weglot-box--subtext,#wrap-weglot .weglot-box-overlay .weglot-box--subtext{font-size:12px;font-style:italic}#weglot-url-translate .weglot-box-overlay .weglot-btn-close,#wrap-weglot .weglot-box-overlay .weglot-btn-close{float:right;cursor:pointer}#weglot-url-translate .flag-style-openclose,#wrap-weglot .flag-style-openclose{display:inline-block;font-size:12px;text-decoration:underline;cursor:default;margin:12px 15px 0 10px;color:#46b450}#weglot-url-translate .flag-style-openclose:hover,#wrap-weglot .flag-style-openclose:hover{color:#399648;cursor:pointer}#weglot-url-translate .flag-style-wrapper,#wrap-weglot .flag-style-wrapper{padding:15px 0px}#weglot-url-translate .flag-style-wrapper p,#wrap-weglot .flag-style-wrapper p{font-size:12px !important}#weglot-url-translate .flag-style-wrapper select,#wrap-weglot .flag-style-wrapper select{font-size:12px;margin:0 2px 6px 0;padding:0 26px 0 8px}#weglot-url-translate #private_mode+p+div,#wrap-weglot #private_mode+p+div{display:none}#weglot-url-translate #private_mode:checked+p+div,#wrap-weglot #private_mode:checked+p+div{display:block}#weglot-url-translate #private-mode-detail,#wrap-weglot #private-mode-detail{margin-top:20px}#weglot-url-translate #private-mode-detail .private-mode-detail-lang,#wrap-weglot #private-mode-detail .private-mode-detail-lang{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;margin-bottom:10px;margin-left:25px}#weglot-url-translate #private-mode-detail .private-mode-detail-lang input[type="checkbox"],#wrap-weglot #private-mode-detail .private-mode-detail-lang input[type="checkbox"]{margin-top:-1px}#wrap-weglot{display:-webkit-box;display:-ms-flexbox;display:flex;margin-left:15px}#wrap-weglot .wrap{-webkit-box-flex:4;-ms-flex:4;flex:4}#wrap-weglot input[type="text"]:not(#destination_language-selectized),#wrap-weglot input[type="url"]{padding:0 8px;height:36px}#wrap-weglot select{height:36px;vertical-align:top;border-radius:4px;padding:0 26px 0 8px}#wrap-weglot input[type="checkbox"]{margin-top:-4px}#wrap-weglot .weglot-ckeckkey:before{content:"\21BB";display:inline-block;color:#666;padding:0 6px 0 0;font-size:16px;padding:0 10px;line-height:1em;-webkit-animation:spin 2s infinite linear}@-webkit-keyframes spin{0%{-webkit-transform:rotate(0deg)}100%{-webkit-transform:rotate(360deg)}}#wrap-weglot .weglot-nokkey:before{content:"\274C";display:inline-block;color:#dc3232;padding:0 6px 0 0;font-size:15px;padding:0 10px}#wrap-weglot .weglot-okkey:before{content:"\2713";display:inline-block;color:#46b450;padding:0 10px;font-size:20px;font-weight:bold;padding:0 10px}#wrap-weglot .weglot-infobox{-webkit-box-flex:2;-ms-flex:2;flex:2;-ms-flex-item-align:start;align-self:start;margin:10px 20px 0 2px;background-color:white;border:1px solid #e0e0e0;border-radius:12px;overflow:hidden}#wrap-weglot .weglot-infobox h3{color:#18164c;background-color:white;padding:30px 30px 0 30px;margin:0px;font-size:23px;line-height:1.3}#wrap-weglot .weglot-infobox div{padding:15px 30px 30px 30px}#wrap-weglot .weglot-infobox .weglot-editbtn{-webkit-box-shadow:0 2px 4px 0 rgba(1,1,2,0.05);box-shadow:0 2px 4px 0 rgba(1,1,2,0.05);background-color:#3d46fb;color:#fff;height:45px;border-radius:23px;line-height:45px;font-size:14px !important;text-decoration:none;padding:0 30px;display:inline-block;-webkit-transition:all 0.2s ease-in;-o-transition:all 0.2s ease-in;transition:all 0.2s ease-in}#wrap-weglot .weglot-infobox .weglot-editbtn:hover{color:white;background:#252ed7}#wrap-weglot input[type="text"],#wrap-weglot .selectize-control,#wrap-weglot .wg-input-textarea,#wrap-weglot .weglot-select-original{width:100%;max-width:320px}#wrap-weglot #submit{height:50px;padding:0 30px !important;font-size:16px}#wrap-weglot .description{display:inline}#wrap-weglot .wg-tooltip{position:absolute;display:none}#wrap-weglot #mainform{margin-bottom:50px}#wrap-weglot .arrow-up{width:0;height:0;border-left:10px solid transparent;border-right:10px solid transparent;border-bottom:10px solid #24292d;position:absolute;top:-10px;left:36px}#wrap-weglot .question-icon{font-size:17px}#wrap-weglot .form-table{margin-bottom:50px}#wrap-weglot .country-selector{z-index:1 !important}#weglot-url-translate .weglot_custom_url{border-bottom:1px solid #ccc;margin-bottom:20px;padding-bottom:10px}#weglot-url-translate .weglot_custom_url a{margin:5px 0px;display:inline-block}#weglot-url-translate .weglot_custom_url--text_link{margin-bottom:4px}#weglot-url-translate .weglot_custom_url .weglot_custom_url--text_link input[type="text"]{min-height:24px !important;height:24px}#weglot-url-translate .weglot_custom_url .weglot_custom_url--text_link button{margin-top:-2px;font-size:11px;padding:0 8px}#weglot-url-translate .weglot_custom_url .weglot_custom_url--text_link button.button-weglot-lang .dashicons{font-size:14px;line-height:21px;margin-right:-3px;margin-left:-4px}#weglot-url-translate .weglot_custom_url a.weglot_reset{text-decoration:none}#weglot-url-translate .weglot_custom_url a.weglot_reset:link,#weglot-url-translate .weglot_custom_url a.weglot_reset:visited,#weglot-url-translate .weglot_custom_url a.weglot_reset:hover,#weglot-url-translate .weglot_custom_url a.weglot_reset:active{text-decoration:none}
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
322
  opacity: 0.5;
323
  background-color: #fafafa;
324
  }
325
+ @charset "UTF-8";
326
+ #weglot-url-translate,
327
+ #wrap-weglot {
328
+ /* Code Editor */
329
+ /* End Code Editor */ }
330
+ #weglot-url-translate .CodeMirror-placeholder,
331
+ #wrap-weglot .CodeMirror-placeholder {
332
+ color: #c0c0c0; }
333
+ #weglot-url-translate .CodeMirror-wrap,
334
+ #wrap-weglot .CodeMirror-wrap {
335
+ border-radius: 4px;
336
+ border: 1px solid #c0c0c0;
337
+ width: 100%;
338
+ max-width: 550px;
339
+ height: 200px; }
340
+ #weglot-url-translate .weglot__choice__language,
341
+ #wrap-weglot .weglot__choice__language {
342
+ border-bottom: 1px solid #eee;
343
+ margin: 5px 0; }
344
+ #weglot-url-translate .weglot__choice__language--local,
345
+ #wrap-weglot .weglot__choice__language--local {
346
+ border-width: 50px;
347
+ color: #a6a6a6;
348
+ display: block; }
349
+ #weglot-url-translate .weglot_text_error,
350
+ #wrap-weglot .weglot_text_error {
351
+ color: #dc3232; }
352
+ #weglot-url-translate .weglot_reset,
353
+ #wrap-weglot .weglot_reset {
354
+ text-decoration: underline;
355
+ font-style: italic; }
356
+ #weglot-url-translate .weglot_reset:hover,
357
+ #wrap-weglot .weglot_reset:hover {
358
+ cursor: pointer; }
359
+ #weglot-url-translate .btn,
360
+ #wrap-weglot .btn {
361
+ background: #335ee2;
362
+ display: inline-block;
363
+ padding: 8px 10px;
364
+ border-radius: 4px;
365
+ -webkit-transition: 0.2s background linear, 0.2s color linear, 0.2s border linear, 0.2s text-shadow linear;
366
+ -o-transition: 0.2s background linear, 0.2s color linear, 0.2s border linear, 0.2s text-shadow linear;
367
+ transition: 0.2s background linear, 0.2s color linear, 0.2s border linear, 0.2s text-shadow linear;
368
+ outline: 0;
369
+ -webkit-font-smoothing: antialiased;
370
+ text-rendering: optimizeLegibility;
371
+ font-weight: 700;
372
+ cursor: pointer;
373
+ text-align: center;
374
+ text-decoration: none;
375
+ -webkit-box-shadow: none;
376
+ box-shadow: none;
377
+ white-space: nowrap;
378
+ color: white;
379
+ border: 1px solid #335ee2; }
380
+ #weglot-url-translate .btn.btn-soft,
381
+ #wrap-weglot .btn.btn-soft {
382
+ background-color: #fff;
383
+ color: #24284c;
384
+ border-radius: 4px;
385
+ border: 1px solid #7e8993;
386
+ line-height: 1.4em; }
387
+ #weglot-url-translate .btn.btn-primary:active, #weglot-url-translate .btn.btn-primary:focus, #weglot-url-translate .btn.btn-primary:hover,
388
+ #wrap-weglot .btn.btn-primary:active,
389
+ #wrap-weglot .btn.btn-primary:focus,
390
+ #wrap-weglot .btn.btn-primary:hover {
391
+ border-color: #446dea;
392
+ background-color: #446dea; }
393
+ #weglot-url-translate .js-btn-remove,
394
+ #wrap-weglot .js-btn-remove {
395
+ border: none;
396
+ background-color: #e35b5b;
397
+ color: #fff;
398
+ display: inline-block;
399
+ width: 22px;
400
+ height: 22px;
401
+ border-radius: 50%;
402
+ cursor: pointer;
403
+ -webkit-transform: translateY(-5%);
404
+ -ms-transform: translateY(-5%);
405
+ transform: translateY(-5%);
406
+ -webkit-transition: opacity 175ms linear;
407
+ -o-transition: opacity 175ms linear;
408
+ transition: opacity 175ms linear;
409
+ outline: 0;
410
+ padding: 0;
411
+ margin: 4px 0;
412
+ vertical-align: middle; }
413
+ #weglot-url-translate .js-btn-remove:hover,
414
+ #wrap-weglot .js-btn-remove:hover {
415
+ background-color: #c62d2d; }
416
+ #weglot-url-translate .item-exclude,
417
+ #wrap-weglot .item-exclude {
418
+ position: relative;
419
+ margin-bottom: 10px; }
420
+ #weglot-url-translate::-webkit-input-placeholder, #weglot-url-translate:-moz-placeholder, #weglot-url-translate::-moz-placeholder, #weglot-url-translate:-ms-input-placeholder,
421
+ #wrap-weglot::-webkit-input-placeholder,
422
+ #wrap-weglot:-moz-placeholder,
423
+ #wrap-weglot::-moz-placeholder,
424
+ #wrap-weglot:-ms-input-placeholder {
425
+ color: #c0c0c0; }
426
+ #weglot-url-translate .sub-label,
427
+ #wrap-weglot .sub-label {
428
+ font-size: 13px;
429
+ font-weight: normal;
430
+ margin: 2px 0 0;
431
+ color: #444;
432
+ opacity: 0.8; }
433
+ #weglot-url-translate .weglot-select-original,
434
+ #wrap-weglot .weglot-select-original {
435
+ height: 36px !important;
436
+ margin: 0; }
437
+ #weglot-url-translate .original-select,
438
+ #weglot-url-translate #type_flags,
439
+ #wrap-weglot .original-select,
440
+ #wrap-weglot #type_flags {
441
+ padding: 8px;
442
+ height: 36px !important;
443
+ width: 300px; }
444
+ #weglot-url-translate #type_flags,
445
+ #wrap-weglot #type_flags {
446
+ width: 150px; }
447
+ #weglot-url-translate .selectize-control.multi .selectize-input,
448
+ #wrap-weglot .selectize-control.multi .selectize-input {
449
+ border: 1px solid #7e8993;
450
+ border-radius: 4px;
451
+ -webkit-box-shadow: unset;
452
+ box-shadow: unset; }
453
+ #weglot-url-translate .selectize-control.multi .selectize-input > div,
454
+ #wrap-weglot .selectize-control.multi .selectize-input > div {
455
+ background-color: #eff0ff;
456
+ border: 1px solid #7e8993;
457
+ border-radius: 2px; }
458
+ #weglot-url-translate .selectize-control.multi .selectize-input > div .remove,
459
+ #wrap-weglot .selectize-control.multi .selectize-input > div .remove {
460
+ border-left-color: #7e8993; }
461
+ #weglot-url-translate .wg-input-textarea,
462
+ #wrap-weglot .wg-input-textarea {
463
+ padding: 8px; }
464
+ #weglot-url-translate .wg-input-textarea::-webkit-input-placeholder,
465
+ #wrap-weglot .wg-input-textarea::-webkit-input-placeholder {
466
+ color: #c0c0c0; }
467
+ #weglot-url-translate .wg-input-textarea:-ms-input-placeholder,
468
+ #wrap-weglot .wg-input-textarea:-ms-input-placeholder {
469
+ color: #c0c0c0; }
470
+ #weglot-url-translate .wg-input-textarea::-ms-input-placeholder,
471
+ #wrap-weglot .wg-input-textarea::-ms-input-placeholder {
472
+ color: #c0c0c0; }
473
+ #weglot-url-translate .wg-input-textarea::placeholder,
474
+ #wrap-weglot .wg-input-textarea::placeholder {
475
+ color: #c0c0c0; }
476
+ #weglot-url-translate .weglot-select.weglot-select-original,
477
+ #weglot-url-translate input[type="text"],
478
+ #weglot-url-translate textarea,
479
+ #weglot-url-translate select,
480
+ #weglot-url-translate #type_flags,
481
+ #wrap-weglot .weglot-select.weglot-select-original,
482
+ #wrap-weglot input[type="text"],
483
+ #wrap-weglot textarea,
484
+ #wrap-weglot select,
485
+ #wrap-weglot #type_flags {
486
+ padding: 0 8px;
487
+ border-radius: 4px;
488
+ border: 1px solid #7e8993; }
489
+ #weglot-url-translate .weglot-select.weglot-select-original:focus,
490
+ #weglot-url-translate input[type="text"]:focus,
491
+ #weglot-url-translate textarea:focus,
492
+ #weglot-url-translate select:focus,
493
+ #weglot-url-translate #type_flags:focus,
494
+ #wrap-weglot .weglot-select.weglot-select-original:focus,
495
+ #wrap-weglot input[type="text"]:focus,
496
+ #wrap-weglot textarea:focus,
497
+ #wrap-weglot select:focus,
498
+ #wrap-weglot #type_flags:focus {
499
+ border-color: #446dea !important;
500
+ -webkit-box-shadow: none !important;
501
+ box-shadow: none !important; }
502
+ #weglot-url-translate .weglot-info,
503
+ #wrap-weglot .weglot-info {
504
+ position: relative;
505
+ color: #3741cc;
506
+ font-weight: bold; }
507
+ #weglot-url-translate .weglot-info:hover .wg-tooltip,
508
+ #wrap-weglot .weglot-info:hover .wg-tooltip {
509
+ line-height: 1.4;
510
+ position: absolute;
511
+ top: 27px;
512
+ display: block !important;
513
+ background-color: #24292d;
514
+ width: 160px;
515
+ padding: 10px;
516
+ color: white;
517
+ font-weight: normal;
518
+ border: 1px solid #e0e0e0;
519
+ font-size: 12px; }
520
+ #weglot-url-translate .weglot-box-overlay,
521
+ #wrap-weglot .weglot-box-overlay {
522
+ position: fixed;
523
+ top: 0;
524
+ left: 0;
525
+ display: -webkit-box;
526
+ display: -webkit-flex;
527
+ display: -ms-flexbox;
528
+ display: flex;
529
+ width: 100%;
530
+ height: 100%;
531
+ background-color: rgba(0, 0, 0, 0.85);
532
+ z-index: 9999;
533
+ -webkit-box-pack: center;
534
+ -webkit-justify-content: center;
535
+ -ms-flex-pack: center;
536
+ justify-content: center;
537
+ -webkit-box-align: center;
538
+ -webkit-align-items: center;
539
+ -ms-flex-align: center;
540
+ align-items: center; }
541
+ #weglot-url-translate .weglot-box-overlay .weglot-box,
542
+ #wrap-weglot .weglot-box-overlay .weglot-box {
543
+ background-color: #fff;
544
+ padding: 25px;
545
+ text-align: center;
546
+ -webkit-box-shadow: 0px 0px 5px 0px rgba(0, 0, 0, 0.75);
547
+ box-shadow: 0px 0px 5px 0px rgba(0, 0, 0, 0.75); }
548
+ #weglot-url-translate .weglot-box-overlay .weglot-box--title,
549
+ #wrap-weglot .weglot-box-overlay .weglot-box--title {
550
+ font-size: 24px;
551
+ line-height: 1.3; }
552
+ #weglot-url-translate .weglot-box-overlay .weglot-box--text,
553
+ #wrap-weglot .weglot-box-overlay .weglot-box--text {
554
+ font-size: 18px; }
555
+ #weglot-url-translate .weglot-box-overlay .weglot-box--subtext,
556
+ #wrap-weglot .weglot-box-overlay .weglot-box--subtext {
557
+ font-size: 12px;
558
+ font-style: italic; }
559
+ #weglot-url-translate .weglot-box-overlay .weglot-btn-close,
560
+ #wrap-weglot .weglot-box-overlay .weglot-btn-close {
561
+ float: right;
562
+ cursor: pointer; }
563
+ #weglot-url-translate .flag-style-openclose,
564
+ #wrap-weglot .flag-style-openclose {
565
+ display: inline-block;
566
+ font-size: 12px;
567
+ text-decoration: underline;
568
+ cursor: default;
569
+ margin: 12px 15px 0 10px;
570
+ color: #46b450; }
571
+ #weglot-url-translate .flag-style-openclose:hover,
572
+ #wrap-weglot .flag-style-openclose:hover {
573
+ color: #399648;
574
+ cursor: pointer; }
575
+ #weglot-url-translate .flag-style-wrapper,
576
+ #wrap-weglot .flag-style-wrapper {
577
+ padding: 15px 0px; }
578
+ #weglot-url-translate .flag-style-wrapper p,
579
+ #wrap-weglot .flag-style-wrapper p {
580
+ font-size: 12px !important; }
581
+ #weglot-url-translate .flag-style-wrapper select,
582
+ #wrap-weglot .flag-style-wrapper select {
583
+ font-size: 12px;
584
+ margin: 0 2px 6px 0;
585
+ padding: 0 26px 0 8px; }
586
+ #weglot-url-translate #private_mode + p + div,
587
+ #wrap-weglot #private_mode + p + div {
588
+ display: none; }
589
+ #weglot-url-translate #private_mode:checked + p + div,
590
+ #wrap-weglot #private_mode:checked + p + div {
591
+ display: block; }
592
+ #weglot-url-translate #private-mode-detail,
593
+ #wrap-weglot #private-mode-detail {
594
+ margin-top: 20px; }
595
+ #weglot-url-translate #private-mode-detail .private-mode-detail-lang,
596
+ #wrap-weglot #private-mode-detail .private-mode-detail-lang {
597
+ display: -webkit-box;
598
+ display: -webkit-flex;
599
+ display: -ms-flexbox;
600
+ display: flex;
601
+ -webkit-box-align: center;
602
+ -webkit-align-items: center;
603
+ -ms-flex-align: center;
604
+ align-items: center;
605
+ margin-bottom: 10px;
606
+ margin-left: 25px; }
607
+ #weglot-url-translate #private-mode-detail .private-mode-detail-lang input[type="checkbox"],
608
+ #wrap-weglot #private-mode-detail .private-mode-detail-lang input[type="checkbox"] {
609
+ margin-top: -1px; }
610
+
611
+ #wrap-weglot {
612
+ display: -webkit-box;
613
+ display: -webkit-flex;
614
+ display: -ms-flexbox;
615
+ display: flex;
616
+ margin-left: 15px; }
617
+ #wrap-weglot .wrap {
618
+ -webkit-box-flex: 4;
619
+ -webkit-flex: 4;
620
+ -ms-flex: 4;
621
+ flex: 4; }
622
+ #wrap-weglot input[type="text"]:not(#destination_language-selectized),
623
+ #wrap-weglot input[type="url"] {
624
+ padding: 0 8px;
625
+ height: 36px; }
626
+ #wrap-weglot select {
627
+ height: 36px;
628
+ vertical-align: top;
629
+ border-radius: 4px;
630
+ padding: 0 26px 0 8px; }
631
+ #wrap-weglot input[type="checkbox"] {
632
+ margin-top: -4px; }
633
+ #wrap-weglot .weglot-ckeckkey:before {
634
+ content: "\21BB";
635
+ display: inline-block;
636
+ color: #666;
637
+ padding: 0 6px 0 0;
638
+ font-size: 16px;
639
+ padding: 0 10px;
640
+ line-height: 1em;
641
+ -webkit-animation: spin 2s infinite linear; }
642
+
643
+ @-webkit-keyframes spin {
644
+ 0% {
645
+ -webkit-transform: rotate(0deg); }
646
+ 100% {
647
+ -webkit-transform: rotate(360deg); } }
648
+ #wrap-weglot .weglot-nokkey:before {
649
+ content: "\274C";
650
+ display: inline-block;
651
+ color: #dc3232;
652
+ padding: 0 6px 0 0;
653
+ font-size: 15px;
654
+ padding: 0 10px; }
655
+ #wrap-weglot .weglot-okkey:before {
656
+ content: "\2713";
657
+ display: inline-block;
658
+ color: #46b450;
659
+ padding: 0 10px;
660
+ font-size: 20px;
661
+ font-weight: bold;
662
+ padding: 0 10px; }
663
+ #wrap-weglot .weglot-infobox {
664
+ -webkit-box-flex: 2;
665
+ -webkit-flex: 2;
666
+ -ms-flex: 2;
667
+ flex: 2;
668
+ -webkit-align-self: start;
669
+ -ms-flex-item-align: start;
670
+ align-self: start;
671
+ margin: 10px 20px 0 2px;
672
+ background-color: white;
673
+ border: 1px solid #e0e0e0;
674
+ border-radius: 12px;
675
+ overflow: hidden; }
676
+ #wrap-weglot .weglot-infobox h3 {
677
+ color: #18164c;
678
+ background-color: white;
679
+ padding: 30px 30px 0 30px;
680
+ margin: 0px;
681
+ font-size: 23px;
682
+ line-height: 1.3; }
683
+ #wrap-weglot .weglot-infobox div {
684
+ padding: 15px 30px 30px 30px; }
685
+ #wrap-weglot .weglot-infobox .weglot-editbtn {
686
+ -webkit-box-shadow: 0 2px 4px 0 rgba(1, 1, 2, 0.05);
687
+ box-shadow: 0 2px 4px 0 rgba(1, 1, 2, 0.05);
688
+ background-color: #3d46fb;
689
+ color: #fff;
690
+ height: 45px;
691
+ border-radius: 23px;
692
+ line-height: 45px;
693
+ font-size: 14px !important;
694
+ text-decoration: none;
695
+ padding: 0 30px;
696
+ display: inline-block;
697
+ -webkit-transition: all 0.2s ease-in;
698
+ -o-transition: all 0.2s ease-in;
699
+ transition: all 0.2s ease-in; }
700
+ #wrap-weglot .weglot-infobox .weglot-editbtn:hover {
701
+ color: white;
702
+ background: #252ed7; }
703
+ #wrap-weglot input[type="text"],
704
+ #wrap-weglot .selectize-control,
705
+ #wrap-weglot .wg-input-textarea,
706
+ #wrap-weglot .weglot-select-original {
707
+ width: 100%;
708
+ max-width: 320px; }
709
+ #wrap-weglot #submit {
710
+ height: 50px;
711
+ padding: 0 30px !important;
712
+ font-size: 16px; }
713
+ #wrap-weglot .description {
714
+ display: inline; }
715
+ #wrap-weglot .wg-tooltip {
716
+ position: absolute;
717
+ display: none; }
718
+ #wrap-weglot #mainform {
719
+ margin-bottom: 50px; }
720
+ #wrap-weglot .arrow-up {
721
+ width: 0;
722
+ height: 0;
723
+ border-left: 10px solid transparent;
724
+ border-right: 10px solid transparent;
725
+ border-bottom: 10px solid #24292d;
726
+ position: absolute;
727
+ top: -10px;
728
+ left: 36px; }
729
+ #wrap-weglot .question-icon {
730
+ font-size: 17px; }
731
+ #wrap-weglot .form-table {
732
+ margin-bottom: 50px; }
733
+ #wrap-weglot .country-selector {
734
+ z-index: 1 !important; }
735
+
736
+ #weglot-url-translate .weglot_custom_url {
737
+ border-bottom: 1px solid #ccc;
738
+ margin-bottom: 20px;
739
+ padding-bottom: 10px; }
740
+ #weglot-url-translate .weglot_custom_url a {
741
+ margin: 5px 0px;
742
+ display: inline-block; }
743
+ #weglot-url-translate .weglot_custom_url--text_link {
744
+ margin-bottom: 4px; }
745
+ #weglot-url-translate .weglot_custom_url .weglot_custom_url--text_link input[type="text"] {
746
+ min-height: 24px !important;
747
+ height: 24px; }
748
+ #weglot-url-translate .weglot_custom_url .weglot_custom_url--text_link button {
749
+ margin-top: -2px;
750
+ font-size: 11px;
751
+ padding: 0 8px; }
752
+ #weglot-url-translate .weglot_custom_url .weglot_custom_url--text_link button.button-weglot-lang .dashicons {
753
+ font-size: 14px;
754
+ line-height: 21px;
755
+ margin-right: -3px;
756
+ margin-left: -4px; }
757
+ #weglot-url-translate .weglot_custom_url a.weglot_reset {
758
+ text-decoration: none; }
759
+ #weglot-url-translate .weglot_custom_url a.weglot_reset:link, #weglot-url-translate .weglot_custom_url a.weglot_reset:visited, #weglot-url-translate .weglot_custom_url a.weglot_reset:hover, #weglot-url-translate .weglot_custom_url a.weglot_reset:active {
760
+ text-decoration: none; }
dist/css/front-amp-css.css CHANGED
@@ -1 +1,181 @@
1
- .country-selector{z-index:9999;text-align:left;position:relative;display:inline-block;width:auto}.country-selector a{padding:0 10px;outline:none;text-decoration:none;float:none;white-space:nowrap;font-weight:normal;cursor:pointer;color:black;-webkit-touch-callout:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.country-selector a:focus{outline:none}.country-selector ul{padding:0px;z-index:1010;list-style:none;margin:0}.country-selector li{margin:0px;padding:0px}.country-selector.weglot-dropdown{background-color:white}.country-selector.weglot-dropdown a,.country-selector.weglot-dropdown span{display:block;height:37px;line-height:36px;font-size:13px;padding:0 10px;width:100%;-webkit-box-sizing:border-box;box-sizing:border-box;font-weight:normal}.country-selector.weglot-dropdown a:hover,.country-selector.weglot-dropdown span:hover{cursor:pointer}.country-selector.weglot-dropdown .wgcurrent{border:1px solid #e0e0e0;list-style:none;display:block;margin:0}.country-selector.weglot-dropdown .wgcurrent a,.country-selector.weglot-dropdown .wgcurrent span{padding-right:60px}.country-selector.weglot-dropdown .wgcurrent:after{display:inline-block;position:absolute;top:17px;right:8px;width:13px;height:7px;-ms-interpolation-mode:nearest-neighbor;image-rendering:-webkit-optimize-contrast;image-rendering:-moz-crisp-edges;image-rendering:-o-pixelated;image-rendering:pixelated;background:url("../images/wgarrowdown.png") no-repeat;content:"";-webkit-transition:all 200ms;-o-transition:all 200ms;transition:all 200ms;-webkit-transform:rotate(-90deg);-ms-transform:rotate(-90deg);transform:rotate(-90deg)}.country-selector.weglot-dropdown ul{position:absolute;min-width:100%;border:1px solid #ebeef0;background:white;left:0;top:initial;-webkit-box-sizing:border-box;box-sizing:border-box;display:none;padding:0}.country-selector.weglot-dropdown input:checked ~ ul{display:block}.country-selector.weglot-dropdown input:checked ~ .wgcurrent:after{-webkit-transform:rotate(0deg);-ms-transform:rotate(0deg);transform:rotate(0deg)}.country-selector.weglot-dropdown li{width:100%}.country-selector.weglot-dropdown.weglot-invert ul{bottom:38px}.country-selector.weglot-dropdown.weglot-invert input:checked ~ .wgcurrent:after{-webkit-transform:rotate(-180deg);-ms-transform:rotate(-180deg);transform:rotate(-180deg)}.country-selector.weglot-default{position:fixed;bottom:0px;right:40px}.country-selector.weglot-inline a:hover{text-decoration:underline;color:#00a0d2}.country-selector.weglot-inline .wgcurrent a{text-decoration:underline}.country-selector.weglot-inline label{margin-bottom:0;display:inline-block;vertical-align:middle}.country-selector.weglot-inline ul{display:inline-block;vertical-align:middle}.country-selector.weglot-inline li{line-height:1;display:inline-block;margin:2px 0px;vertical-align:middle}.country-selector.weglot-inline.weglot-default{bottom:5px}.country-selector input{display:none}.navbar .navbar-nav li.weglot-flags a.weglot-lang:before{position:static;-webkit-transform:none;-ms-transform:none;transform:none;-webkit-transition:none;-o-transition:none;transition:none}html[dir="rtl"] .weglot-flags a:before,html[dir="rtl"] .weglot-flags span:before{margin-right:0;margin-left:10px}.weglot-flags a:before,.weglot-flags span:before{background-image:url("../images/rect_mate.png");-webkit-background-size:auto 20px;background-size:auto 20px;border-radius:0px;width:30px;height:20px;content:"";vertical-align:middle;margin-right:10px;display:inline-block;overflow:hidden}.weglot-flags.flag-1 a:before,.weglot-flags.flag-1 span:before{background-image:url("../images/rect_bright.png")}.weglot-flags.flag-2 a:before,.weglot-flags.flag-2 span:before{background-image:url("../images/square_flag.png");width:24px;height:24px;-webkit-background-size:auto 24px;background-size:auto 24px}.weglot-flags.flag-3 a:before,.weglot-flags.flag-3 span:before{background-image:url("../images/circular_flag.png");width:24px;height:24px;-webkit-background-size:auto 24px;background-size:auto 24px}.weglot-flags a span:before{background-image:none;display:none}.weglot-flags span a:before{background-image:none;display:none}
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ .country-selector {
2
+ z-index: 9999;
3
+ text-align: left;
4
+ position: relative;
5
+ display: inline-block;
6
+ width: auto; }
7
+ .country-selector a {
8
+ padding: 0 10px;
9
+ outline: none;
10
+ text-decoration: none;
11
+ float: none;
12
+ white-space: nowrap;
13
+ font-weight: normal;
14
+ cursor: pointer;
15
+ color: black;
16
+ -webkit-touch-callout: none;
17
+ /* iOS Safari */
18
+ -webkit-user-select: none;
19
+ -moz-user-select: none;
20
+ -ms-user-select: none;
21
+ user-select: none; }
22
+ .country-selector a:focus {
23
+ outline: none; }
24
+ .country-selector ul {
25
+ padding: 0px;
26
+ z-index: 1010;
27
+ list-style: none;
28
+ margin: 0; }
29
+ .country-selector li {
30
+ margin: 0px;
31
+ padding: 0px; }
32
+ .country-selector.weglot-dropdown {
33
+ background-color: white; }
34
+ .country-selector.weglot-dropdown a,
35
+ .country-selector.weglot-dropdown span {
36
+ display: block;
37
+ height: 37px;
38
+ line-height: 36px;
39
+ font-size: 13px;
40
+ padding: 0 10px;
41
+ width: 100%;
42
+ -webkit-box-sizing: border-box;
43
+ box-sizing: border-box;
44
+ font-weight: normal; }
45
+ .country-selector.weglot-dropdown a:hover,
46
+ .country-selector.weglot-dropdown span:hover {
47
+ cursor: pointer; }
48
+ .country-selector.weglot-dropdown .wgcurrent {
49
+ border: 1px solid #e0e0e0;
50
+ list-style: none;
51
+ display: block;
52
+ margin: 0; }
53
+ .country-selector.weglot-dropdown .wgcurrent a,
54
+ .country-selector.weglot-dropdown .wgcurrent span {
55
+ padding-right: 60px; }
56
+ .country-selector.weglot-dropdown .wgcurrent:after {
57
+ display: inline-block;
58
+ position: absolute;
59
+ top: 17px;
60
+ right: 8px;
61
+ width: 13px;
62
+ height: 7px;
63
+ -ms-interpolation-mode: nearest-neighbor;
64
+ image-rendering: -webkit-optimize-contrast;
65
+ image-rendering: -moz-crisp-edges;
66
+ image-rendering: -o-pixelated;
67
+ image-rendering: pixelated;
68
+ background: url("../images/wgarrowdown.png") no-repeat;
69
+ content: "";
70
+ -webkit-transition: all 200ms;
71
+ -o-transition: all 200ms;
72
+ transition: all 200ms;
73
+ -webkit-transform: rotate(-90deg);
74
+ -ms-transform: rotate(-90deg);
75
+ transform: rotate(-90deg); }
76
+ .country-selector.weglot-dropdown ul {
77
+ position: absolute;
78
+ min-width: 100%;
79
+ border: 1px solid #ebeef0;
80
+ background: white;
81
+ left: 0;
82
+ top: initial;
83
+ -webkit-box-sizing: border-box;
84
+ box-sizing: border-box;
85
+ display: none;
86
+ padding: 0; }
87
+ .country-selector.weglot-dropdown input:checked ~ ul {
88
+ display: block; }
89
+ .country-selector.weglot-dropdown input:checked ~ .wgcurrent:after {
90
+ -webkit-transform: rotate(0deg);
91
+ -ms-transform: rotate(0deg);
92
+ transform: rotate(0deg); }
93
+ .country-selector.weglot-dropdown li {
94
+ width: 100%; }
95
+ .country-selector.weglot-dropdown.weglot-invert ul {
96
+ bottom: 38px; }
97
+ .country-selector.weglot-dropdown.weglot-invert input:checked ~ .wgcurrent:after {
98
+ -webkit-transform: rotate(-180deg);
99
+ -ms-transform: rotate(-180deg);
100
+ transform: rotate(-180deg); }
101
+ .country-selector.weglot-default {
102
+ position: fixed;
103
+ bottom: 0px;
104
+ right: 40px; }
105
+ .country-selector.weglot-inline a:hover {
106
+ text-decoration: underline;
107
+ color: #00a0d2; }
108
+ .country-selector.weglot-inline .wgcurrent a {
109
+ text-decoration: underline; }
110
+ .country-selector.weglot-inline label {
111
+ margin-bottom: 0;
112
+ display: inline-block;
113
+ vertical-align: middle; }
114
+ .country-selector.weglot-inline ul {
115
+ display: inline-block;
116
+ vertical-align: middle; }
117
+ .country-selector.weglot-inline li {
118
+ line-height: 1;
119
+ display: inline-block;
120
+ margin: 2px 0px;
121
+ vertical-align: middle; }
122
+ .country-selector.weglot-inline.weglot-default {
123
+ bottom: 5px; }
124
+ .country-selector input {
125
+ display: none; }
126
+
127
+ .navbar .navbar-nav li.weglot-flags a.weglot-lang:before {
128
+ position: static;
129
+ -webkit-transform: none;
130
+ -ms-transform: none;
131
+ transform: none;
132
+ -webkit-transition: none;
133
+ -o-transition: none;
134
+ transition: none; }
135
+
136
+ html[dir="rtl"] .weglot-flags a:before,
137
+ html[dir="rtl"] .weglot-flags span:before {
138
+ margin-right: 0;
139
+ margin-left: 10px; }
140
+
141
+ .weglot-flags a:before,
142
+ .weglot-flags span:before {
143
+ background-image: url("../images/rect_mate.png");
144
+ -webkit-background-size: auto 20px;
145
+ background-size: auto 20px;
146
+ border-radius: 0px;
147
+ width: 30px;
148
+ height: 20px;
149
+ content: "";
150
+ vertical-align: middle;
151
+ margin-right: 10px;
152
+ display: inline-block;
153
+ overflow: hidden; }
154
+
155
+ .weglot-flags.flag-1 a:before,
156
+ .weglot-flags.flag-1 span:before {
157
+ background-image: url("../images/rect_bright.png"); }
158
+
159
+ .weglot-flags.flag-2 a:before,
160
+ .weglot-flags.flag-2 span:before {
161
+ background-image: url("../images/square_flag.png");
162
+ width: 24px;
163
+ height: 24px;
164
+ -webkit-background-size: auto 24px;
165
+ background-size: auto 24px; }
166
+
167
+ .weglot-flags.flag-3 a:before,
168
+ .weglot-flags.flag-3 span:before {
169
+ background-image: url("../images/circular_flag.png");
170
+ width: 24px;
171
+ height: 24px;
172
+ -webkit-background-size: auto 24px;
173
+ background-size: auto 24px; }
174
+
175
+ .weglot-flags a span:before {
176
+ background-image: none;
177
+ display: none; }
178
+
179
+ .weglot-flags span a:before {
180
+ background-image: none;
181
+ display: none; }
dist/css/front-css.css CHANGED
@@ -1 +1,1107 @@
1
- .weglot-flags.hw>a:before,.weglot-flags.hw>span:before{background-position:-3570px 0 !important}.weglot-flags.af>a:before,.weglot-flags.af>span:before{background-position:-6570px 0 !important}.weglot-flags.fl>a:before,.weglot-flags.fl>span:before{background-position:-3060px 0 !important}.weglot-flags.sq>a:before,.weglot-flags.sq>span:before{background-position:-2580px 0 !important}.weglot-flags.am>a:before,.weglot-flags.am>span:before{background-position:-5130px 0 !important}.weglot-flags.ar>a:before,.weglot-flags.ar>span:before{background-position:-510px 0 !important}.weglot-flags.hy>a:before,.weglot-flags.hy>span:before{background-position:-1800px 0 !important}.weglot-flags.az>a:before,.weglot-flags.az>span:before{background-position:-6840px 0 !important}.weglot-flags.ba>a:before,.weglot-flags.ba>span:before{background-position:-2040px 0 !important}.weglot-flags.eu>a:before,.weglot-flags.eu>span:before{background-position:-7260px 0 !important}.weglot-flags.be>a:before,.weglot-flags.be>span:before{background-position:-5310px 0 !important}.weglot-flags.bn>a:before,.weglot-flags.bn>span:before{background-position:-5400px 0 !important}.weglot-flags.bs>a:before,.weglot-flags.bs>span:before{background-position:-6390px 0 !important}.weglot-flags.bg>a:before,.weglot-flags.bg>span:before{background-position:-2730px 0 !important}.weglot-flags.my>a:before,.weglot-flags.my>span:before{background-position:-3299px 0 !important}.weglot-flags.ca>a:before,.weglot-flags.ca>span:before{background-position:-7230px 0 !important}.weglot-flags.zh>a:before,.weglot-flags.zh>span:before{background-position:-3690px 0 !important}.weglot-flags.tw>a:before,.weglot-flags.tw>span:before{background-position:-2970px 0 !important}.weglot-flags.km>a:before,.weglot-flags.km>span:before{background-position:-6930px 0 !important}.weglot-flags.ny>a:before,.weglot-flags.ny>span:before{background-position:-1140px 0 !important}.weglot-flags.co>a:before,.weglot-flags.co>span:before{background-position:-2520px 0 !important}.weglot-flags.hr>a:before,.weglot-flags.hr>span:before{background-position:-5910px 0 !important}.weglot-flags.cs>a:before,.weglot-flags.cs>span:before{background-position:-2700px 0 !important}.weglot-flags.da>a:before,.weglot-flags.da>span:before{background-position:-2670px 0 !important}.weglot-flags.nl>a:before,.weglot-flags.nl>span:before{background-position:-2100px 0 !important}.weglot-flags.en>a:before,.weglot-flags.en>span:before{background-position:-1920px 0 !important}.weglot-flags.eo>a:before,.weglot-flags.eo>span:before{background-position:-1920px 0 !important}.weglot-flags.et>a:before,.weglot-flags.et>span:before{background-position:-2640px 0 !important}.weglot-flags.fj>a:before,.weglot-flags.fj>span:before{background-position:-1710px 0 !important}.weglot-flags.fi>a:before,.weglot-flags.fi>span:before{background-position:-2550px 0 !important}.weglot-flags.fr>a:before,.weglot-flags.fr>span:before{background-position:-2520px 0 !important}.weglot-flags.gl>a:before,.weglot-flags.gl>span:before{background-position:-7290px 0 !important}.weglot-flags.ka>a:before,.weglot-flags.ka>span:before{background-position:-5040px 0 !important}.weglot-flags.de>a:before,.weglot-flags.de>span:before{background-position:-2490px 0 !important}.weglot-flags.el>a:before,.weglot-flags.el>span:before{background-position:-2460px 0 !important}.weglot-flags.gu>a:before,.weglot-flags.gu>span:before{background-position:-1170px 0 !important}.weglot-flags.ht>a:before,.weglot-flags.ht>span:before{background-position:-4650px 0 !important}.weglot-flags.ha>a:before,.weglot-flags.ha>span:before{background-position:-900px 0 !important}.weglot-flags.he>a:before,.weglot-flags.he>span:before{background-position:-1050px 0 !important}.weglot-flags.hi>a:before,.weglot-flags.hi>span:before{background-position:-1170px 0 !important}.weglot-flags.hu>a:before,.weglot-flags.hu>span:before{background-position:-2430px 0 !important}.weglot-flags.is>a:before,.weglot-flags.is>span:before{background-position:-2400px 0 !important}.weglot-flags.ig>a:before,.weglot-flags.ig>span:before{background-position:-870px 0 !important}.weglot-flags.id>a:before,.weglot-flags.id>span:before{background-position:-3510px 0 !important}.weglot-flags.ga>a:before,.weglot-flags.ga>span:before{background-position:-2340px 0 !important}.weglot-flags.it>a:before,.weglot-flags.it>span:before{background-position:-2310px 0 !important}.weglot-flags.ja>a:before,.weglot-flags.ja>span:before{background-position:-3480px 0 !important}.weglot-flags.jv>a:before,.weglot-flags.jv>span:before{background-position:-3360px 0 !important}.weglot-flags.kn>a:before,.weglot-flags.kn>span:before{background-position:-1170px 0 !important}.weglot-flags.kk>a:before,.weglot-flags.kk>span:before{background-position:-3150px 0 !important}.weglot-flags.ko>a:before,.weglot-flags.ko>span:before{background-position:-6990px 0 !important}.weglot-flags.ku>a:before,.weglot-flags.ku>span:before{background-position:-2430px 0 !important}.weglot-flags.ky>a:before,.weglot-flags.ky>span:before{background-position:-3420px 0 !important}.weglot-flags.lo>a:before,.weglot-flags.lo>span:before{background-position:-3450px 0 !important}.weglot-flags.la>a:before,.weglot-flags.la>span:before{background-position:-2310px 0 !important}.weglot-flags.lv>a:before,.weglot-flags.lv>span:before{background-position:-2280px 0 !important}.weglot-flags.lt>a:before,.weglot-flags.lt>span:before{background-position:-2250px 0 !important}.weglot-flags.lb>a:before,.weglot-flags.lb>span:before{background-position:-2220px 0 !important}.weglot-flags.mk>a:before,.weglot-flags.mk>span:before{background-position:-2190px 0 !important}.weglot-flags.mg>a:before,.weglot-flags.mg>span:before{background-position:-1200px 0 !important}.weglot-flags.ms>a:before,.weglot-flags.ms>span:before{background-position:-3360px 0 !important}.weglot-flags.ml>a:before,.weglot-flags.ml>span:before{background-position:-1170px 0 !important}.weglot-flags.mt>a:before,.weglot-flags.mt>span:before{background-position:-2130px 0 !important}.weglot-flags.mi>a:before,.weglot-flags.mi>span:before{background-position:-3240px 0 !important}.weglot-flags.mr>a:before,.weglot-flags.mr>span:before{background-position:-1170px 0 !important}.weglot-flags.mn>a:before,.weglot-flags.mn>span:before{background-position:-6000px 0 !important}.weglot-flags.ne>a:before,.weglot-flags.ne>span:before{background-position:-3270px 0 !important}.weglot-flags.no>a:before,.weglot-flags.no>span:before{background-position:-5850px 0 !important}.weglot-flags.ps>a:before,.weglot-flags.ps>span:before{background-position:-5189px 0 !important}.weglot-flags.fa>a:before,.weglot-flags.fa>span:before{background-position:-6690px 0 !important}.weglot-flags.pl>a:before,.weglot-flags.pl>span:before{background-position:-2160px 0 !important}.weglot-flags.pt>a:before,.weglot-flags.pt>span:before{background-position:-6630px 0 !important}.weglot-flags.pa>a:before,.weglot-flags.pa>span:before{background-position:-3180px 0 !important}.weglot-flags.ro>a:before,.weglot-flags.ro>span:before{background-position:-2070px 0 !important}.weglot-flags.ru>a:before,.weglot-flags.ru>span:before{background-position:-2040px 0 !important}.weglot-flags.sm>a:before,.weglot-flags.sm>span:before{background-position:-4620px 0 !important}.weglot-flags.gd>a:before,.weglot-flags.gd>span:before{background-position:-30px 0 !important}.weglot-flags.sr>a:before,.weglot-flags.sr>span:before{background-position:-4290px 0 !important}.weglot-flags.sn>a:before,.weglot-flags.sn>span:before{background-position:-540px 0 !important}.weglot-flags.sd>a:before,.weglot-flags.sd>span:before{background-position:-3180px 0 !important}.weglot-flags.si>a:before,.weglot-flags.si>span:before{background-position:-2820px 0 !important}.weglot-flags.sk>a:before,.weglot-flags.sk>span:before{background-position:-6810px 0 !important}.weglot-flags.sl>a:before,.weglot-flags.sl>span:before{background-position:-2010px 0 !important}.weglot-flags.so>a:before,.weglot-flags.so>span:before{background-position:-4560px 0 !important}.weglot-flags.st>a:before,.weglot-flags.st>span:before{background-position:-4830px 0 !important}.weglot-flags.es>a:before,.weglot-flags.es>span:before{background-position:-480px 0 !important}.weglot-flags.su>a:before,.weglot-flags.su>span:before{background-position:-4530px 0 !important}.weglot-flags.sw>a:before,.weglot-flags.sw>span:before{background-position:-1290px 0 !important}.weglot-flags.sv>a:before,.weglot-flags.sv>span:before{background-position:-1980px 0 !important}.weglot-flags.tl>a:before,.weglot-flags.tl>span:before{background-position:-3060px 0 !important}.weglot-flags.ty>a:before,.weglot-flags.ty>span:before{background-position:-6270px 0 !important}.weglot-flags.tg>a:before,.weglot-flags.tg>span:before{background-position:-2940px 0 !important}.weglot-flags.ta>a:before,.weglot-flags.ta>span:before{background-position:-1170px 0 !important}.weglot-flags.tt>a:before,.weglot-flags.tt>span:before{background-position:-2040px 0 !important}.weglot-flags.te>a:before,.weglot-flags.te>span:before{background-position:-1170px 0 !important}.weglot-flags.th>a:before,.weglot-flags.th>span:before{background-position:-2910px 0 !important}.weglot-flags.to>a:before,.weglot-flags.to>span:before{background-position:-6540px 0 !important}.weglot-flags.tr>a:before,.weglot-flags.tr>span:before{background-position:-1950px 0 !important}.weglot-flags.uk>a:before,.weglot-flags.uk>span:before{background-position:-1890px 0 !important}.weglot-flags.ur>a:before,.weglot-flags.ur>span:before{background-position:-3180px 0 !important}.weglot-flags.uz>a:before,.weglot-flags.uz>span:before{background-position:-2880px 0 !important}.weglot-flags.vi>a:before,.weglot-flags.vi>span:before{background-position:-2850px 0 !important}.weglot-flags.cy>a:before,.weglot-flags.cy>span:before{background-position:-6420px 0 !important}.weglot-flags.fy>a:before,.weglot-flags.fy>span:before{background-position:-2100px 0 !important}.weglot-flags.xh>a:before,.weglot-flags.xh>span:before{background-position:-6570px 0 !important}.weglot-flags.yi>a:before,.weglot-flags.yi>span:before{background-position:-1050px 0 !important}.weglot-flags.yo>a:before,.weglot-flags.yo>span:before{background-position:-870px 0 !important}.weglot-flags.zu>a:before,.weglot-flags.zu>span:before{background-position:-6570px 0 !important}.weglot-flags.flag-1.hw>a:before,.weglot-flags.flag-1.hw>span:before{background-position:-7840px 0 !important}.weglot-flags.flag-1.fl>a:before,.weglot-flags.flag-1.fl>span:before{background-position:2560px 0 !important}.weglot-flags.flag-1.af>a:before,.weglot-flags.flag-1.af>span:before{background-position:-6848px 0 !important}.weglot-flags.flag-1.sq>a:before,.weglot-flags.flag-1.sq>span:before{background-position:-97px 0 !important}.weglot-flags.flag-1.am>a:before,.weglot-flags.flag-1.am>span:before{background-position:-2369px 0 !important}.weglot-flags.flag-1.ar>a:before,.weglot-flags.flag-1.ar>span:before{background-position:-6465px 0 !important}.weglot-flags.flag-1.hy>a:before,.weglot-flags.flag-1.hy>span:before{background-position:-385px 0 !important}.weglot-flags.flag-1.az>a:before,.weglot-flags.flag-1.az>span:before{background-position:-513px 0 !important}.weglot-flags.flag-1.ba>a:before,.weglot-flags.flag-1.ba>span:before{background-position:-6113px 0 !important}.weglot-flags.flag-1.eu>a:before,.weglot-flags.flag-1.eu>span:before{background-position:-8353px 0 !important}.weglot-flags.flag-1.be>a:before,.weglot-flags.flag-1.be>span:before{background-position:-705px 0 !important}.weglot-flags.flag-1.bn>a:before,.weglot-flags.flag-1.bn>span:before{background-position:-609px 0 !important}.weglot-flags.flag-1.bs>a:before,.weglot-flags.flag-1.bs>span:before{background-position:-929px 0 !important}.weglot-flags.flag-1.bg>a:before,.weglot-flags.flag-1.bg>span:before{background-position:-1121px 0 !important}.weglot-flags.flag-1.my>a:before,.weglot-flags.flag-1.my>span:before{background-position:-4929px 0 !important}.weglot-flags.flag-1.ca>a:before,.weglot-flags.flag-1.ca>span:before{background-position:-8321px 0 !important}.weglot-flags.flag-1.zh>a:before,.weglot-flags.flag-1.zh>span:before{background-position:-1505px 0 !important}.weglot-flags.flag-1.tw>a:before,.weglot-flags.flag-1.tw>span:before{background-position:-6369px 0 !important}.weglot-flags.flag-1.km>a:before,.weglot-flags.flag-1.km>span:before{background-position:-1217px 0 !important}.weglot-flags.flag-1.ny>a:before,.weglot-flags.flag-1.ny>span:before{background-position:-4289px 0 !important}.weglot-flags.flag-1.co>a:before,.weglot-flags.flag-1.co>span:before{background-position:-2561px 0 !important}.weglot-flags.flag-1.hr>a:before,.weglot-flags.flag-1.hr>span:before{background-position:-1793px 0 !important}.weglot-flags.flag-1.cs>a:before,.weglot-flags.flag-1.cs>span:before{background-position:-1921px 0 !important}.weglot-flags.flag-1.da>a:before,.weglot-flags.flag-1.da>span:before{background-position:-1985px 0 !important}.weglot-flags.flag-1.nl>a:before,.weglot-flags.flag-1.nl>span:before{background-position:-5121px 0 !important}.weglot-flags.flag-1.en>a:before,.weglot-flags.flag-1.en>span:before{background-position:-7777px 0 !important}.weglot-flags.flag-1.eo>a:before,.weglot-flags.flag-1.eo>span:before{background-position:-7777px 0 !important}.weglot-flags.flag-1.et>a:before,.weglot-flags.flag-1.et>span:before{background-position:-2337px 0 !important}.weglot-flags.flag-1.fj>a:before,.weglot-flags.flag-1.fj>span:before{background-position:-2497px 0 !important}.weglot-flags.flag-1.fi>a:before,.weglot-flags.flag-1.fi>span:before{background-position:-2529px 0 !important}.weglot-flags.flag-1.fr>a:before,.weglot-flags.flag-1.fr>span:before{background-position:-2561px 0 !important}.weglot-flags.flag-1.gl>a:before,.weglot-flags.flag-1.gl>span:before{background-position:-8383px 0 !important}.weglot-flags.flag-1.ka>a:before,.weglot-flags.flag-1.ka>span:before{background-position:-2721px 0 !important}.weglot-flags.flag-1.de>a:before,.weglot-flags.flag-1.de>span:before{background-position:-2753px 0 !important}.weglot-flags.flag-1.el>a:before,.weglot-flags.flag-1.el>span:before{background-position:-2881px 0 !important}.weglot-flags.flag-1.gu>a:before,.weglot-flags.flag-1.gu>span:before{background-position:-3329px 0 !important}.weglot-flags.flag-1.ht>a:before,.weglot-flags.flag-1.ht>span:before{background-position:-3169px 0 !important}.weglot-flags.flag-1.ha>a:before,.weglot-flags.flag-1.ha>span:before{background-position:-5281px 0 !important}.weglot-flags.flag-1.he>a:before,.weglot-flags.flag-1.he>span:before{background-position:-3521px 0 !important}.weglot-flags.flag-1.hi>a:before,.weglot-flags.flag-1.hi>span:before{background-position:-3329px 0 !important}.weglot-flags.flag-1.hu>a:before,.weglot-flags.flag-1.hu>span:before{background-position:-3265px 0 !important}.weglot-flags.flag-1.is>a:before,.weglot-flags.flag-1.is>span:before{background-position:-3297px 0 !important}.weglot-flags.flag-1.ig>a:before,.weglot-flags.flag-1.ig>span:before{background-position:-5313px 0 !important}.weglot-flags.flag-1.id>a:before,.weglot-flags.flag-1.id>span:before{background-position:-3361px 0 !important}.weglot-flags.flag-1.ga>a:before,.weglot-flags.flag-1.ga>span:before{background-position:-3457px 0 !important}.weglot-flags.flag-1.it>a:before,.weglot-flags.flag-1.it>span:before{background-position:-3553px 0 !important}.weglot-flags.flag-1.ja>a:before,.weglot-flags.flag-1.ja>span:before{background-position:-3617px 0 !important}.weglot-flags.flag-1.jv>a:before,.weglot-flags.flag-1.jv>span:before{background-position:-4321px 0 !important}.weglot-flags.flag-1.kn>a:before,.weglot-flags.flag-1.kn>span:before{background-position:-3329px 0 !important}.weglot-flags.flag-1.kk>a:before,.weglot-flags.flag-1.kk>span:before{background-position:-3713px 0 !important}.weglot-flags.flag-1.ko>a:before,.weglot-flags.flag-1.ko>span:before{background-position:-6913px 0 !important}.weglot-flags.flag-1.ku>a:before,.weglot-flags.flag-1.ku>span:before{background-position:-3265px 0 !important}.weglot-flags.flag-1.ky>a:before,.weglot-flags.flag-1.ky>span:before{background-position:-3873px 0 !important}.weglot-flags.flag-1.lo>a:before,.weglot-flags.flag-1.lo>span:before{background-position:-3904px 0 !important}.weglot-flags.flag-1.la>a:before,.weglot-flags.flag-1.la>span:before{background-position:-3553px 0 !important}.weglot-flags.flag-1.lv>a:before,.weglot-flags.flag-1.lv>span:before{background-position:-3937px 0 !important}.weglot-flags.flag-1.lt>a:before,.weglot-flags.flag-1.lt>span:before{background-position:-4129px 0 !important}.weglot-flags.flag-1.lb>a:before,.weglot-flags.flag-1.lb>span:before{background-position:-4161px 0 !important}.weglot-flags.flag-1.mk>a:before,.weglot-flags.flag-1.mk>span:before{background-position:-4225px 0 !important}.weglot-flags.flag-1.mg>a:before,.weglot-flags.flag-1.mg>span:before{background-position:-4257px 0 !important}.weglot-flags.flag-1.ms>a:before,.weglot-flags.flag-1.ms>span:before{background-position:-4321px 0 !important}.weglot-flags.flag-1.ml>a:before,.weglot-flags.flag-1.ml>span:before{background-position:-3329px 0 !important}.weglot-flags.flag-1.mt>a:before,.weglot-flags.flag-1.mt>span:before{background-position:-4417px 0 !important}.weglot-flags.flag-1.mi>a:before,.weglot-flags.flag-1.mi>span:before{background-position:-5217px 0 !important}.weglot-flags.flag-1.mr>a:before,.weglot-flags.flag-1.mr>span:before{background-position:-3329px 0 !important}.weglot-flags.flag-1.mn>a:before,.weglot-flags.flag-1.mn>span:before{background-position:-4769px 0 !important}.weglot-flags.flag-1.ne>a:before,.weglot-flags.flag-1.ne>span:before{background-position:-5091px 0 !important}.weglot-flags.flag-1.no>a:before,.weglot-flags.flag-1.no>span:before{background-position:-5505px 0 !important}.weglot-flags.flag-1.ps>a:before,.weglot-flags.flag-1.ps>span:before{background-position:-33px 0 !important}.weglot-flags.flag-1.fa>a:before,.weglot-flags.flag-1.fa>span:before{background-position:-3393px 0 !important}.weglot-flags.flag-1.pl>a:before,.weglot-flags.flag-1.pl>span:before{background-position:-5889px 0 !important}.weglot-flags.flag-1.pt>a:before,.weglot-flags.flag-1.pt>span:before{background-position:-993px 0 !important}.weglot-flags.flag-1.pa>a:before,.weglot-flags.flag-1.pa>span:before{background-position:-3329px 0 !important}.weglot-flags.flag-1.ro>a:before,.weglot-flags.flag-1.ro>span:before{background-position:-6081px 0 !important}.weglot-flags.flag-1.ru>a:before,.weglot-flags.flag-1.ru>span:before{background-position:-6113px 0 !important}.weglot-flags.flag-1.sm>a:before,.weglot-flags.flag-1.sm>span:before{background-position:-6369px 0 !important}.weglot-flags.flag-1.gd>a:before,.weglot-flags.flag-1.gd>span:before{background-position:-6497px 0 !important}.weglot-flags.flag-1.sr>a:before,.weglot-flags.flag-1.sr>span:before{background-position:-6561px 0 !important}.weglot-flags.flag-1.sn>a:before,.weglot-flags.flag-1.sn>span:before{background-position:-8287px 0 !important}.weglot-flags.flag-1.sd>a:before,.weglot-flags.flag-1.sd>span:before{background-position:-5601px 0 !important}.weglot-flags.flag-1.si>a:before,.weglot-flags.flag-1.si>span:before{background-position:-7039px 0 !important}.weglot-flags.flag-1.sk>a:before,.weglot-flags.flag-1.sk>span:before{background-position:-6689px 0 !important}.weglot-flags.flag-1.sl>a:before,.weglot-flags.flag-1.sl>span:before{background-position:-6721px 0 !important}.weglot-flags.flag-1.so>a:before,.weglot-flags.flag-1.so>span:before{background-position:-6785px 0 !important}.weglot-flags.flag-1.st>a:before,.weglot-flags.flag-1.st>span:before{background-position:-4001px 0 !important}.weglot-flags.flag-1.es>a:before,.weglot-flags.flag-1.es>span:before{background-position:-7009px 0 !important}.weglot-flags.flag-1.su>a:before,.weglot-flags.flag-1.su>span:before{background-position:-7073px 0 !important}.weglot-flags.flag-1.sw>a:before,.weglot-flags.flag-1.sw>span:before{background-position:-3745px 0 !important}.weglot-flags.flag-1.sv>a:before,.weglot-flags.flag-1.sv>span:before{background-position:-7169px 0 !important}.weglot-flags.flag-1.tl>a:before,.weglot-flags.flag-1.tl>span:before{background-position:-5823px 0 !important}.weglot-flags.flag-1.ty>a:before,.weglot-flags.flag-1.ty>span:before{background-position:-2593px 0 !important}.weglot-flags.flag-1.tg>a:before,.weglot-flags.flag-1.tg>span:before{background-position:-7297px 0 !important}.weglot-flags.flag-1.ta>a:before,.weglot-flags.flag-1.ta>span:before{background-position:-3329px 0 !important}.weglot-flags.flag-1.tt>a:before,.weglot-flags.flag-1.tt>span:before{background-position:-6113px 0 !important}.weglot-flags.flag-1.te>a:before,.weglot-flags.flag-1.te>span:before{background-position:-3329px 0 !important}.weglot-flags.flag-1.th>a:before,.weglot-flags.flag-1.th>span:before{background-position:-7361px 0 !important}.weglot-flags.flag-1.to>a:before,.weglot-flags.flag-1.to>span:before{background-position:-7456px 0 !important}.weglot-flags.flag-1.tr>a:before,.weglot-flags.flag-1.tr>span:before{background-position:-7553px 0 !important}.weglot-flags.flag-1.uk>a:before,.weglot-flags.flag-1.uk>span:before{background-position:-7713px 0 !important}.weglot-flags.flag-1.ur>a:before,.weglot-flags.flag-1.ur>span:before{background-position:-5600px 0 !important}.weglot-flags.flag-1.uz>a:before,.weglot-flags.flag-1.uz>span:before{background-position:-7969px 0 !important}.weglot-flags.flag-1.vi>a:before,.weglot-flags.flag-1.vi>span:before{background-position:-8097px 0 !important}.weglot-flags.flag-1.cy>a:before,.weglot-flags.flag-1.cy>span:before{background-position:-8129px 0 !important}.weglot-flags.flag-1.fy>a:before,.weglot-flags.flag-1.fy>span:before{background-position:-5121px 0 !important}.weglot-flags.flag-1.xh>a:before,.weglot-flags.flag-1.xh>span:before{background-position:-6848px 0 !important}.weglot-flags.flag-1.yi>a:before,.weglot-flags.flag-1.yi>span:before{background-position:-3521px 0 !important}.weglot-flags.flag-1.yo>a:before,.weglot-flags.flag-1.yo>span:before{background-position:-5313px 0 !important}.weglot-flags.flag-1.zu>a:before,.weglot-flags.flag-1.zu>span:before{background-position:-6848px 0 !important}.weglot-flags.flag-2.hw>a:before,.weglot-flags.flag-2.hw>span:before{background-position:-5448px 0 !important}.weglot-flags.flag-2.fl>a:before,.weglot-flags.flag-2.fl>span:before{background-position:-1008px 0 !important}.weglot-flags.flag-2.af>a:before,.weglot-flags.flag-2.af>span:before{background-position:-4968px 0 !important}.weglot-flags.flag-2.sq>a:before,.weglot-flags.flag-2.sq>span:before{background-position:-2976px 0 !important}.weglot-flags.flag-2.am>a:before,.weglot-flags.flag-2.am>span:before{background-position:-3816px 0 !important}.weglot-flags.flag-2.ar>a:before,.weglot-flags.flag-2.ar>span:before{background-position:-768px 0 !important}.weglot-flags.flag-2.hy>a:before,.weglot-flags.flag-2.hy>span:before{background-position:0 0 !important}.weglot-flags.flag-2.az>a:before,.weglot-flags.flag-2.az>span:before{background-position:-5136px 0 !important}.weglot-flags.flag-2.ba>a:before,.weglot-flags.flag-2.ba>span:before{background-position:-936px 0 !important}.weglot-flags.flag-2.eu>a:before,.weglot-flags.flag-2.eu>span:before{background-position:-5376px 0 !important}.weglot-flags.flag-2.be>a:before,.weglot-flags.flag-2.be>span:before{background-position:-4224px 0 !important}.weglot-flags.flag-2.bn>a:before,.weglot-flags.flag-2.bn>span:before{background-position:-4056px 0 !important}.weglot-flags.flag-2.bs>a:before,.weglot-flags.flag-2.bs>span:before{background-position:-3984px 0 !important}.weglot-flags.flag-2.bg>a:before,.weglot-flags.flag-2.bg>span:before{background-position:-5040px 0 !important}.weglot-flags.flag-2.my>a:before,.weglot-flags.flag-2.my>span:before{background-position:-1248px 0 !important}.weglot-flags.flag-2.ca>a:before,.weglot-flags.flag-2.ca>span:before{background-position:-5352px 0 !important}.weglot-flags.flag-2.zh>a:before,.weglot-flags.flag-2.zh>span:before{background-position:-2592px 0 !important}.weglot-flags.flag-2.tw>a:before,.weglot-flags.flag-2.tw>span:before{background-position:-3408px 0 !important}.weglot-flags.flag-2.km>a:before,.weglot-flags.flag-2.km>span:before{background-position:-5160px 0 !important}.weglot-flags.flag-2.ny>a:before,.weglot-flags.flag-2.ny>span:before{background-position:-1392px 0 !important}.weglot-flags.flag-2.co>a:before,.weglot-flags.flag-2.co>span:before{background-position:-2304px 0 !important}.weglot-flags.flag-2.hr>a:before,.weglot-flags.flag-2.hr>span:before{background-position:-4416px 0 !important}.weglot-flags.flag-2.cs>a:before,.weglot-flags.flag-2.cs>span:before{background-position:-2472px 0 !important}.weglot-flags.flag-2.da>a:before,.weglot-flags.flag-2.da>span:before{background-position:-2448px 0 !important}.weglot-flags.flag-2.nl>a:before,.weglot-flags.flag-2.nl>span:before{background-position:-1296px 0 !important}.weglot-flags.flag-2.en>a:before,.weglot-flags.flag-2.en>span:before{background-position:-312px 0 !important}.weglot-flags.flag-2.eo>a:before,.weglot-flags.flag-2.eo>span:before{background-position:-312px 0 !important}.weglot-flags.flag-2.et>a:before,.weglot-flags.flag-2.et>span:before{background-position:-2424px 0 !important}.weglot-flags.flag-2.fj>a:before,.weglot-flags.flag-2.fj>span:before{background-position:-576px 0 !important}.weglot-flags.flag-2.fi>a:before,.weglot-flags.flag-2.fi>span:before{background-position:-2328px 0 !important}.weglot-flags.flag-2.fr>a:before,.weglot-flags.flag-2.fr>span:before{background-position:-2304px 0 !important}.weglot-flags.flag-2.gl>a:before,.weglot-flags.flag-2.gl>span:before{background-position:-5400px 0 !important}.weglot-flags.flag-2.ka>a:before,.weglot-flags.flag-2.ka>span:before{background-position:-3744px 0 !important}.weglot-flags.flag-2.de>a:before,.weglot-flags.flag-2.de>span:before{background-position:-2256px 0 !important}.weglot-flags.flag-2.el>a:before,.weglot-flags.flag-2.el>span:before{background-position:-2208px 0 !important}.weglot-flags.flag-2.gu>a:before,.weglot-flags.flag-2.gu>span:before{background-position:-1728px 0 !important}.weglot-flags.flag-2.ht>a:before,.weglot-flags.flag-2.ht>span:before{background-position:-3528px 0 !important}.weglot-flags.flag-2.ha>a:before,.weglot-flags.flag-2.ha>span:before{background-position:-1176px 0 !important}.weglot-flags.flag-2.he>a:before,.weglot-flags.flag-2.he>span:before{background-position:-1992px 0 !important}.weglot-flags.flag-2.hi>a:before,.weglot-flags.flag-2.hi>span:before{background-position:-1728px 0 !important}.weglot-flags.flag-2.hu>a:before,.weglot-flags.flag-2.hu>span:before{background-position:-2088px 0 !important}.weglot-flags.flag-2.is>a:before,.weglot-flags.flag-2.is>span:before{background-position:-2064px 0 !important}.weglot-flags.flag-2.ig>a:before,.weglot-flags.flag-2.ig>span:before{background-position:-1103px 0 !important}.weglot-flags.flag-2.id>a:before,.weglot-flags.flag-2.id>span:before{background-position:-2040px 0 !important}.weglot-flags.flag-2.ga>a:before,.weglot-flags.flag-2.ga>span:before{background-position:-2016px 0 !important}.weglot-flags.flag-2.it>a:before,.weglot-flags.flag-2.it>span:before{background-position:-1968px 0 !important}.weglot-flags.flag-2.ja>a:before,.weglot-flags.flag-2.ja>span:before{background-position:-1920px 0 !important}.weglot-flags.flag-2.jv>a:before,.weglot-flags.flag-2.jv>span:before{background-position:-1536px 0 !important}.weglot-flags.flag-2.kn>a:before,.weglot-flags.flag-2.kn>span:before{background-position:-1728px 0 !important}.weglot-flags.flag-2.kk>a:before,.weglot-flags.flag-2.kk>span:before{background-position:-1704px 0 !important}.weglot-flags.flag-2.ko>a:before,.weglot-flags.flag-2.ko>span:before{background-position:-1848px 0 !important}.weglot-flags.flag-2.ku>a:before,.weglot-flags.flag-2.ku>span:before{background-position:-2088px 0 !important}.weglot-flags.flag-2.ky>a:before,.weglot-flags.flag-2.ky>span:before{background-position:-1800px 0 !important}.weglot-flags.flag-2.lo>a:before,.weglot-flags.flag-2.lo>span:before{background-position:-1776px 0 !important}.weglot-flags.flag-2.la>a:before,.weglot-flags.flag-2.la>span:before{background-position:-1968px 0 !important}.weglot-flags.flag-2.lv>a:before,.weglot-flags.flag-2.lv>span:before{background-position:-1752px 0 !important}.weglot-flags.flag-2.lt>a:before,.weglot-flags.flag-2.lt>span:before{background-position:-1656px 0 !important}.weglot-flags.flag-2.lb>a:before,.weglot-flags.flag-2.lb>span:before{background-position:-1632px 0 !important}.weglot-flags.flag-2.mk>a:before,.weglot-flags.flag-2.mk>span:before{background-position:-1440px 0 !important}.weglot-flags.flag-2.mg>a:before,.weglot-flags.flag-2.mg>span:before{background-position:-1560px 0 !important}.weglot-flags.flag-2.ms>a:before,.weglot-flags.flag-2.ms>span:before{background-position:-1536px 0 !important}.weglot-flags.flag-2.ml>a:before,.weglot-flags.flag-2.ml>span:before{background-position:-1728px 0 !important}.weglot-flags.flag-2.mt>a:before,.weglot-flags.flag-2.mt>span:before{background-position:-1200px 0 !important}.weglot-flags.flag-2.mi>a:before,.weglot-flags.flag-2.mi>span:before{background-position:-1224px 0 !important}.weglot-flags.flag-2.mr>a:before,.weglot-flags.flag-2.mr>span:before{background-position:-1728px 0 !important}.weglot-flags.flag-2.mn>a:before,.weglot-flags.flag-2.mn>span:before{background-position:-4800px 0 !important}.weglot-flags.flag-2.ne>a:before,.weglot-flags.flag-2.ne>span:before{background-position:-1320px 0 !important}.weglot-flags.flag-2.no>a:before,.weglot-flags.flag-2.no>span:before{background-position:-4776px 0 !important}.weglot-flags.flag-2.ps>a:before,.weglot-flags.flag-2.ps>span:before{background-position:-4008px 0 !important}.weglot-flags.flag-2.fa>a:before,.weglot-flags.flag-2.fa>span:before{background-position:-5088px 0 !important}.weglot-flags.flag-2.pl>a:before,.weglot-flags.flag-2.pl>span:before{background-position:-984px 0 !important}.weglot-flags.flag-2.pt>a:before,.weglot-flags.flag-2.pt>span:before{background-position:-2784px 0 !important}.weglot-flags.flag-2.pa>a:before,.weglot-flags.flag-2.pa>span:before{background-position:-1728px 0 !important}.weglot-flags.flag-2.ro>a:before,.weglot-flags.flag-2.ro>span:before{background-position:-960px 0 !important}.weglot-flags.flag-2.ru>a:before,.weglot-flags.flag-2.ru>span:before{background-position:-936px 0 !important}.weglot-flags.flag-2.sm>a:before,.weglot-flags.flag-2.sm>span:before{background-position:-3408px 0 !important}.weglot-flags.flag-2.gd>a:before,.weglot-flags.flag-2.gd>span:before{background-position:-4872px 0 !important}.weglot-flags.flag-2.sr>a:before,.weglot-flags.flag-2.sr>span:before{background-position:-3120px 0 !important}.weglot-flags.flag-2.sn>a:before,.weglot-flags.flag-2.sn>span:before{background-position:-72px 0 !important}.weglot-flags.flag-2.sd>a:before,.weglot-flags.flag-2.sd>span:before{background-position:-1128px 0 !important}.weglot-flags.flag-2.si>a:before,.weglot-flags.flag-2.si>span:before{background-position:-480px 0 !important}.weglot-flags.flag-2.sk>a:before,.weglot-flags.flag-2.sk>span:before{background-position:-4152px 0 !important}.weglot-flags.flag-2.sl>a:before,.weglot-flags.flag-2.sl>span:before{background-position:-696px 0 !important}.weglot-flags.flag-2.so>a:before,.weglot-flags.flag-2.so>span:before{background-position:-3336px 0 !important}.weglot-flags.flag-2.st>a:before,.weglot-flags.flag-2.st>span:before{background-position:-3552px 0 !important}.weglot-flags.flag-2.es>a:before,.weglot-flags.flag-2.es>span:before{background-position:-96px 0 !important}.weglot-flags.flag-2.su>a:before,.weglot-flags.flag-2.su>span:before{background-position:-3312px 0 !important}.weglot-flags.flag-2.sw>a:before,.weglot-flags.flag-2.sw>span:before{background-position:-1872px 0 !important}.weglot-flags.flag-2.sv>a:before,.weglot-flags.flag-2.sv>span:before{background-position:-552px 0 !important}.weglot-flags.flag-2.tl>a:before,.weglot-flags.flag-2.tl>span:before{background-position:-1008px 0 !important}.weglot-flags.flag-2.ty>a:before,.weglot-flags.flag-2.ty>span:before{background-position:-4512px 0 !important}.weglot-flags.flag-2.tg>a:before,.weglot-flags.flag-2.tg>span:before{background-position:-264px 0 !important}.weglot-flags.flag-2.ta>a:before,.weglot-flags.flag-2.ta>span:before{background-position:-1728px 0 !important}.weglot-flags.flag-2.tt>a:before,.weglot-flags.flag-2.tt>span:before{background-position:-936px 0 !important}.weglot-flags.flag-2.te>a:before,.weglot-flags.flag-2.te>span:before{background-position:-1728px 0 !important}.weglot-flags.flag-2.th>a:before,.weglot-flags.flag-2.th>span:before{background-position:-456px 0 !important}.weglot-flags.flag-2.to>a:before,.weglot-flags.flag-2.to>span:before{background-position:-3264px 0 !important}.weglot-flags.flag-2.tr>a:before,.weglot-flags.flag-2.tr>span:before{background-position:-360px 0 !important}.weglot-flags.flag-2.uk>a:before,.weglot-flags.flag-2.uk>span:before{background-position:-288px 0 !important}.weglot-flags.flag-2.ur>a:before,.weglot-flags.flag-2.ur>span:before{background-position:-1128px 0 !important}.weglot-flags.flag-2.uz>a:before,.weglot-flags.flag-2.uz>span:before{background-position:-240px 0 !important}.weglot-flags.flag-2.vi>a:before,.weglot-flags.flag-2.vi>span:before{background-position:-144px 0 !important}.weglot-flags.flag-2.cy>a:before,.weglot-flags.flag-2.cy>span:before{background-position:-4848px 0 !important}.weglot-flags.flag-2.fy>a:before,.weglot-flags.flag-2.fy>span:before{background-position:-1296px 0 !important}.weglot-flags.flag-2.xh>a:before,.weglot-flags.flag-2.xh>span:before{background-position:-4968px 0 !important}.weglot-flags.flag-2.yi>a:before,.weglot-flags.flag-2.yi>span:before{background-position:-1992px 0 !important}.weglot-flags.flag-2.yo>a:before,.weglot-flags.flag-2.yo>span:before{background-position:-1103px 0 !important}.weglot-flags.flag-2.zu>a:before,.weglot-flags.flag-2.zu>span:before{background-position:-4968px 0 !important}.weglot-flags.flag-3.hw>a:before,.weglot-flags.flag-3.hw>span:before{background-position:-2711px 0 !important}.weglot-flags.flag-3.fl>a:before,.weglot-flags.flag-3.fl>span:before{background-position:-5232px 0 !important}.weglot-flags.flag-3.af>a:before,.weglot-flags.flag-3.af>span:before{background-position:-5496px 0 !important}.weglot-flags.flag-3.sq>a:before,.weglot-flags.flag-3.sq>span:before{background-position:-4776px 0 !important}.weglot-flags.flag-3.am>a:before,.weglot-flags.flag-3.am>span:before{background-position:-192px 0 !important}.weglot-flags.flag-3.ar>a:before,.weglot-flags.flag-3.ar>span:before{background-position:-3336px 0 !important}.weglot-flags.flag-3.hy>a:before,.weglot-flags.flag-3.hy>span:before{background-position:-4632px 0 !important}.weglot-flags.flag-3.az>a:before,.weglot-flags.flag-3.az>span:before{background-position:-4536px 0 !important}.weglot-flags.flag-3.ba>a:before,.weglot-flags.flag-3.ba>span:before{background-position:-2664px 0 !important}.weglot-flags.flag-3.eu>a:before,.weglot-flags.flag-3.eu>span:before{background-position:-5808px 0 !important}.weglot-flags.flag-3.be>a:before,.weglot-flags.flag-3.be>span:before{background-position:-144px 0 !important}.weglot-flags.flag-3.bn>a:before,.weglot-flags.flag-3.bn>span:before{background-position:-4488px 0 !important}.weglot-flags.flag-3.bs>a:before,.weglot-flags.flag-3.bs>span:before{background-position:-4392px 0 !important}.weglot-flags.flag-3.bg>a:before,.weglot-flags.flag-3.bg>span:before{background-position:-4296px 0 !important}.weglot-flags.flag-3.my>a:before,.weglot-flags.flag-3.my>span:before{background-position:-3769px 0 !important}.weglot-flags.flag-3.ca>a:before,.weglot-flags.flag-3.ca>span:before{background-position:-5784px 0 !important}.weglot-flags.flag-3.zh>a:before,.weglot-flags.flag-3.zh>span:before{background-position:-3240px 0 !important}.weglot-flags.flag-3.tw>a:before,.weglot-flags.flag-3.tw>span:before{background-position:-4008px 0 !important}.weglot-flags.flag-3.km>a:before,.weglot-flags.flag-3.km>span:before{background-position:-4201px 0 !important}.weglot-flags.flag-3.ny>a:before,.weglot-flags.flag-3.ny>span:before{background-position:-384px 0 !important}.weglot-flags.flag-3.co>a:before,.weglot-flags.flag-3.co>span:before{background-position:-2760px 0 !important}.weglot-flags.flag-3.hr>a:before,.weglot-flags.flag-3.hr>span:before{background-position:-3048px 0 !important}.weglot-flags.flag-3.cs>a:before,.weglot-flags.flag-3.cs>span:before{background-position:-5280px 0 !important}.weglot-flags.flag-3.da>a:before,.weglot-flags.flag-3.da>span:before{background-position:-3024px 0 !important}.weglot-flags.flag-3.nl>a:before,.weglot-flags.flag-3.nl>span:before{background-position:-3360px 0 !important}.weglot-flags.flag-3.en>a:before,.weglot-flags.flag-3.en>span:before{background-position:-2520px 0 !important}.weglot-flags.flag-3.eo>a:before,.weglot-flags.flag-3.eo>span:before{background-position:-2520px 0 !important}.weglot-flags.flag-3.et>a:before,.weglot-flags.flag-3.et>span:before{background-position:-2856px 0 !important}.weglot-flags.flag-3.fj>a:before,.weglot-flags.flag-3.fj>span:before{background-position:-0px 0 !important}.weglot-flags.flag-3.fi>a:before,.weglot-flags.flag-3.fi>span:before{background-position:-2784px 0 !important}.weglot-flags.flag-3.fr>a:before,.weglot-flags.flag-3.fr>span:before{background-position:-2760px 0 !important}.weglot-flags.flag-3.gl>a:before,.weglot-flags.flag-3.gl>span:before{background-position:-5832px 0 !important}.weglot-flags.flag-3.ka>a:before,.weglot-flags.flag-3.ka>span:before{background-position:-1536px 0 !important}.weglot-flags.flag-3.de>a:before,.weglot-flags.flag-3.de>span:before{background-position:-1488px 0 !important}.weglot-flags.flag-3.el>a:before,.weglot-flags.flag-3.el>span:before{background-position:-1416px 0 !important}.weglot-flags.flag-3.gu>a:before,.weglot-flags.flag-3.gu>span:before{background-position:-2304px 0 !important}.weglot-flags.flag-3.ht>a:before,.weglot-flags.flag-3.ht>span:before{background-position:-5160px 0 !important}.weglot-flags.flag-3.ha>a:before,.weglot-flags.flag-3.ha>span:before{background-position:-361px 0 !important}.weglot-flags.flag-3.he>a:before,.weglot-flags.flag-3.he>span:before{background-position:-1608px 0 !important}.weglot-flags.flag-3.hi>a:before,.weglot-flags.flag-3.hi>span:before{background-position:-2304px 0 !important}.weglot-flags.flag-3.hu>a:before,.weglot-flags.flag-3.hu>span:before{background-position:-1920px 0 !important}.weglot-flags.flag-3.is>a:before,.weglot-flags.flag-3.is>span:before{background-position:-840px 0 !important}.weglot-flags.flag-3.ig>a:before,.weglot-flags.flag-3.ig>span:before{background-position:-3457px 0 !important}.weglot-flags.flag-3.id>a:before,.weglot-flags.flag-3.id>span:before{background-position:-4992px 0 !important}.weglot-flags.flag-3.ga>a:before,.weglot-flags.flag-3.ga>span:before{background-position:-2016px 0 !important}.weglot-flags.flag-3.it>a:before,.weglot-flags.flag-3.it>span:before{background-position:-336px 0 !important}.weglot-flags.flag-3.ja>a:before,.weglot-flags.flag-3.ja>span:before{background-position:-2448px 0 !important}.weglot-flags.flag-3.jv>a:before,.weglot-flags.flag-3.jv>span:before{background-position:-864px 0 !important}.weglot-flags.flag-3.kn>a:before,.weglot-flags.flag-3.kn>span:before{background-position:-2304px 0 !important}.weglot-flags.flag-3.kk>a:before,.weglot-flags.flag-3.kk>span:before{background-position:-3912px 0 !important}.weglot-flags.flag-3.ko>a:before,.weglot-flags.flag-3.ko>span:before{background-position:-2256px 0 !important}.weglot-flags.flag-3.ku>a:before,.weglot-flags.flag-3.ku>span:before{background-position:-1920px 0 !important}.weglot-flags.flag-3.ky>a:before,.weglot-flags.flag-3.ky>span:before{background-position:-744px 0 !important}.weglot-flags.flag-3.lo>a:before,.weglot-flags.flag-3.lo>span:before{background-position:-3816px 0 !important}.weglot-flags.flag-3.la>a:before,.weglot-flags.flag-3.la>span:before{background-position:-336px 0 !important}.weglot-flags.flag-3.lv>a:before,.weglot-flags.flag-3.lv>span:before{background-position:-216px 0 !important}.weglot-flags.flag-3.lt>a:before,.weglot-flags.flag-3.lt>span:before{background-position:-1776px 0 !important}.weglot-flags.flag-3.lb>a:before,.weglot-flags.flag-3.lb>span:before{background-position:-1945px 0 !important}.weglot-flags.flag-3.mk>a:before,.weglot-flags.flag-3.mk>span:before{background-position:-2208px 0 !important}.weglot-flags.flag-3.mg>a:before,.weglot-flags.flag-3.mg>span:before{background-position:-5064px 0 !important}.weglot-flags.flag-3.ms>a:before,.weglot-flags.flag-3.ms>span:before{background-position:-864px 0 !important}.weglot-flags.flag-3.ml>a:before,.weglot-flags.flag-3.ml>span:before{background-position:-2304px 0 !important}.weglot-flags.flag-3.mt>a:before,.weglot-flags.flag-3.mt>span:before{background-position:-4920px 0 !important}.weglot-flags.flag-3.mi>a:before,.weglot-flags.flag-3.mi>span:before{background-position:-2113px 0 !important}.weglot-flags.flag-3.mr>a:before,.weglot-flags.flag-3.mr>span:before{background-position:-2304px 0 !important}.weglot-flags.flag-3.mn>a:before,.weglot-flags.flag-3.mn>span:before{background-position:-24px 0 !important}.weglot-flags.flag-3.ne>a:before,.weglot-flags.flag-3.ne>span:before{background-position:-5642px 0 !important}.weglot-flags.flag-3.no>a:before,.weglot-flags.flag-3.no>span:before{background-position:-984px 0 !important}.weglot-flags.flag-3.ps>a:before,.weglot-flags.flag-3.ps>span:before{background-position:-4753px 0 !important}.weglot-flags.flag-3.fa>a:before,.weglot-flags.flag-3.fa>span:before{background-position:-816px 0 !important}.weglot-flags.flag-3.pl>a:before,.weglot-flags.flag-3.pl>span:before{background-position:-4944px 0 !important}.weglot-flags.flag-3.pt>a:before,.weglot-flags.flag-3.pt>span:before{background-position:-4344px 0 !important}.weglot-flags.flag-3.pa>a:before,.weglot-flags.flag-3.pa>span:before{background-position:-2304px 0 !important}.weglot-flags.flag-3.ro>a:before,.weglot-flags.flag-3.ro>span:before{background-position:-3744px 0 !important}.weglot-flags.flag-3.ru>a:before,.weglot-flags.flag-3.ru>span:before{background-position:-2664px 0 !important}.weglot-flags.flag-3.sm>a:before,.weglot-flags.flag-3.sm>span:before{background-position:-1248px 0 !important}.weglot-flags.flag-3.gd>a:before,.weglot-flags.flag-3.gd>span:before{background-position:-3841px 0 !important}.weglot-flags.flag-3.sr>a:before,.weglot-flags.flag-3.sr>span:before{background-position:-3312px 0 !important}.weglot-flags.flag-3.sn>a:before,.weglot-flags.flag-3.sn>span:before{background-position:-5521px 0 !important}.weglot-flags.flag-3.sd>a:before,.weglot-flags.flag-3.sd>span:before{background-position:-1993px 0 !important}.weglot-flags.flag-3.si>a:before,.weglot-flags.flag-3.si>span:before{background-position:-2833px 0 !important}.weglot-flags.flag-3.sk>a:before,.weglot-flags.flag-3.sk>span:before{background-position:-552px 0 !important}.weglot-flags.flag-3.sl>a:before,.weglot-flags.flag-3.sl>span:before{background-position:-936px 0 !important}.weglot-flags.flag-3.so>a:before,.weglot-flags.flag-3.so>span:before{background-position:-4032px 0 !important}.weglot-flags.flag-3.st>a:before,.weglot-flags.flag-3.st>span:before{background-position:-3961px 0 !important}.weglot-flags.flag-3.es>a:before,.weglot-flags.flag-3.es>span:before{background-position:-3576px 0 !important}.weglot-flags.flag-3.su>a:before,.weglot-flags.flag-3.su>span:before{background-position:-3985px 0 !important}.weglot-flags.flag-3.sw>a:before,.weglot-flags.flag-3.sw>span:before{background-position:-912px 0 !important}.weglot-flags.flag-3.sv>a:before,.weglot-flags.flag-3.sv>span:before{background-position:-264px 0 !important}.weglot-flags.flag-3.tl>a:before,.weglot-flags.flag-3.tl>span:before{background-position:-5232px 0 !important}.weglot-flags.flag-3.ty>a:before,.weglot-flags.flag-3.ty>span:before{background-position:-1512px 0 !important}.weglot-flags.flag-3.tg>a:before,.weglot-flags.flag-3.tg>span:before{background-position:-3720px 0 !important}.weglot-flags.flag-3.ta>a:before,.weglot-flags.flag-3.ta>span:before{background-position:-2304px 0 !important}.weglot-flags.flag-3.tt>a:before,.weglot-flags.flag-3.tt>span:before{background-position:-2664px 0 !important}.weglot-flags.flag-3.te>a:before,.weglot-flags.flag-3.te>span:before{background-position:-2304px 0 !important}.weglot-flags.flag-3.th>a:before,.weglot-flags.flag-3.th>span:before{background-position:-4848px 0 !important}.weglot-flags.flag-3.to>a:before,.weglot-flags.flag-3.to>span:before{background-position:-1680px 0 !important}.weglot-flags.flag-3.tr>a:before,.weglot-flags.flag-3.tr>span:before{background-position:-432px 0 !important}.weglot-flags.flag-3.uk>a:before,.weglot-flags.flag-3.uk>span:before{background-position:-5736px 0 !important}.weglot-flags.flag-3.ur>a:before,.weglot-flags.flag-3.ur>span:before{background-position:-1992px 0 !important}.weglot-flags.flag-3.uz>a:before,.weglot-flags.flag-3.uz>span:before{background-position:-2160px 0 !important}.weglot-flags.flag-3.vi>a:before,.weglot-flags.flag-3.vi>span:before{background-position:-3384px 0 !important}.weglot-flags.flag-3.cy>a:before,.weglot-flags.flag-3.cy>span:before{background-position:-5040px 0 !important}.weglot-flags.flag-3.fy>a:before,.weglot-flags.flag-3.fy>span:before{background-position:-3360px 0 !important}.weglot-flags.flag-3.xh>a:before,.weglot-flags.flag-3.xh>span:before{background-position:-5496px 0 !important}.weglot-flags.flag-3.yi>a:before,.weglot-flags.flag-3.yi>span:before{background-position:-1608px 0 !important}.weglot-flags.flag-3.yo>a:before,.weglot-flags.flag-3.yo>span:before{background-position:-3457px 0 !important}.weglot-flags.flag-3.zu>a:before,.weglot-flags.flag-3.zu>span:before{background-position:-5496px 0 !important}body div[id^="mega-menu-wrap"] #mega-menu-primary li.mega-menu-item.weglot-flags a.mega-menu-link:before{background-image:url("../images/rect_mate.png") !important;background-size:auto 20px !important;border-radius:0px !important;width:30px !important;height:20px !important;content:"";vertical-align:middle;margin-right:10px;display:inline-block;overflow:hidden}body div[id^="mega-menu-wrap"] #mega-menu-primary li.mega-menu-item.weglot-flags.flag-1 .mega-menu-link:before{background-image:url("../images/rect_bright.png") !important}body div[id^="mega-menu-wrap"] #mega-menu-primary li.mega-menu-item.weglot-flags.flag-2 .mega-menu-link:before{background-image:url("../images/square_flag.png") !important;width:24px !important;height:24px !important;background-size:auto 24px !important}body div[id^="mega-menu-wrap"] #mega-menu-primary li.mega-menu-item.weglot-flags.flag-3 .mega-menu-link:before{background-image:url("../images/circular_flag.png") !important;width:24px !important;height:24px !important;background-size:auto 24px !important}#wp-admin-bar-weglot>.ab-item{background-image:url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIzMDAiIGhlaWdodD0iMzAwIj48ZyBmaWxsPSIjYTBhNWFhIj48cGF0aCBkPSJNMjEuNzM5IDkyLjU2NWw1MS44MjggMTI5LjczMiAyMy42Ni02MC4yNzkgMjQuMTQ0IDYwLjI3OUwxNzMuMiA5Mi41NjVoLTI4LjAwN2wtMjMuODIyIDU4Ljc1LTIzLjkwMi01OC43NS0yMy45MDIgNTguNzUtMjMuOTAyLTU4Ljc1SDIxLjczOXoiLz48cGF0aCBkPSJNMjEwLjAwNiA5Mi43MWMtMTcuODY2IDAtMzMuMTU3IDYuMzU4LTQ1Ljg3MyAxOS4wNzQtMTIuNzE1IDEyLjcxNi0xOC45OTMgMjguMDA2LTE4Ljk5MyA0NS43OTIgMCAxNy44NjcgNi4yNzggMzMuMTU4IDE4Ljk5MyA0NS44NzMgMTIuNzE2IDEyLjcxNiAyOC4wMDcgMTguOTkzIDQ1Ljg3MyAxOC45OTMgMTcuNzg2IDAgMzMuMDc3LTYuMjc3IDQ1Ljc5My0xOC45OTMgMTIuNzE1LTEyLjcxNSAxOS4wNzMtMjguMDA2IDE5LjA3My00NS44NzMgMC00LjUwNy0uNDgzLTguODUyLTEuMjg4LTEyLjk1N2gtNjMuNTc4djI1LjkxNGgzNi42OTljLTIuNzM3IDcuNTY1LTcuNDg1IDEzLjg0My0xNC4wODQgMTguNjcxLTYuNjggNC44My0xNC4yNDUgNy4yNDQtMjIuNjE1IDcuMjQ0LTEwLjc4NCAwLTE5Ljk1OC0zLjc4My0yNy41MjMtMTEuMzQ4LTcuNTY2LTcuNTY1LTExLjM0OC0xNi43NC0xMS4zNDgtMjcuNTI0IDAtMTAuNjIzIDMuNzgyLTE5Ljc5OCAxMS4zNDgtMjcuNDQzIDcuNTY1LTcuNjQ1IDE2Ljc0LTExLjUwOCAyNy41MjMtMTEuNTA4IDEwLjYyMyAwIDE5Ljc5OCAzLjg2MyAyNy41MjQgMTEuNDI4bDE4LjM1LTE4LjM1YTY3Ljk2MyA2Ny45NjMgMCAwMC0yMC43NjQtMTMuODQyYy03Ljg4Ny0zLjM4LTE2LjI1Ny01LjE1LTI1LjExLTUuMTV6Ii8+PC9nPjwvc3ZnPg==") !important;-webkit-background-size:22px auto !important;background-size:22px auto !important;background-repeat:no-repeat !important;background-position:4px 5px !important;padding-left:30px !important}li.weglot-hide,.weglot-hide{display:none !important}.country-selector{z-index:9999;text-align:left;position:relative;display:inline-block;width:auto}.country-selector a{padding:0 10px;outline:none;text-decoration:none;float:none !important;white-space:nowrap;font-weight:normal;cursor:pointer;color:black;-webkit-touch-callout:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.country-selector a:focus{outline:none}.country-selector ul{padding:0px;z-index:1010;list-style:none;margin:0}.country-selector li{margin:0px;padding:0px}.country-selector.weglot-dropdown{background-color:white}.country-selector.weglot-dropdown a,.country-selector.weglot-dropdown span{display:block;height:37px;line-height:36px;font-size:13px;padding:0 10px;width:100%;-webkit-box-sizing:border-box;box-sizing:border-box;font-weight:normal}.country-selector.weglot-dropdown a:hover,.country-selector.weglot-dropdown span:hover{cursor:pointer}.country-selector.weglot-dropdown .wgcurrent{border:1px solid #e0e0e0;list-style:none;display:block;margin:0}.country-selector.weglot-dropdown .wgcurrent a,.country-selector.weglot-dropdown .wgcurrent span{padding-right:60px}.country-selector.weglot-dropdown .wgcurrent:after{display:inline-block;position:absolute;top:17px;right:8px;width:13px;height:7px;-ms-interpolation-mode:nearest-neighbor;image-rendering:-webkit-optimize-contrast;image-rendering:-moz-crisp-edges;image-rendering:-o-pixelated;image-rendering:pixelated;background:url("../images/wgarrowdown.png") no-repeat;content:"";-webkit-transition:all 200ms;-o-transition:all 200ms;transition:all 200ms;-webkit-transform:rotate(-90deg);-ms-transform:rotate(-90deg);transform:rotate(-90deg)}.country-selector.weglot-dropdown ul{position:absolute;min-width:100%;border:1px solid #ebeef0;background:white;left:0;top:initial;-webkit-box-sizing:border-box;box-sizing:border-box;display:none;padding:0}.country-selector.weglot-dropdown input:checked ~ ul{display:block}.country-selector.weglot-dropdown input:checked ~ .wgcurrent:after{-webkit-transform:rotate(0deg);-ms-transform:rotate(0deg);transform:rotate(0deg)}.country-selector.weglot-dropdown li{width:100%}.country-selector.weglot-dropdown.weglot-invert ul{bottom:38px}.country-selector.weglot-dropdown.weglot-invert input:checked ~ .wgcurrent:after{-webkit-transform:rotate(-180deg);-ms-transform:rotate(-180deg);transform:rotate(-180deg)}.country-selector.weglot-default{position:fixed;bottom:0px;right:40px}.country-selector.weglot-inline a:hover{text-decoration:underline;color:#00a0d2}.country-selector.weglot-inline .wgcurrent a{text-decoration:underline}.country-selector.weglot-inline label{margin-bottom:0;display:inline-block;vertical-align:middle}.country-selector.weglot-inline ul{display:inline-block;vertical-align:middle}.country-selector.weglot-inline li{line-height:1 !important;display:inline-block;margin:2px 0px;vertical-align:middle}.country-selector.weglot-inline.weglot-default{bottom:5px}.country-selector input{display:none !important}.navbar .navbar-nav li.weglot-flags a.weglot-lang:before{position:static;-webkit-transform:none;-ms-transform:none;transform:none;-webkit-transition:none;-o-transition:none;transition:none}.js .main-navigation .country-selector ul{display:none}html[dir="rtl"] .weglot-flags a:before,html[dir="rtl"] .weglot-flags span:before{margin-right:0;margin-left:10px}.weglot-flags>a:before,.weglot-flags>span:before{background-image:url("../images/rect_mate.png");-webkit-background-size:auto 20px !important;background-size:auto 20px !important;border-radius:0px !important;width:30px !important;height:20px !important;content:"";vertical-align:middle;margin-right:10px;display:inline-block;overflow:hidden}.weglot-flags.flag-1>a:before,.weglot-flags.flag-1>span:before{background-image:url("../images/rect_bright.png")}.weglot-flags.flag-2>a:before,.weglot-flags.flag-2>span:before{background-image:url("../images/square_flag.png");width:24px !important;height:24px !important;-webkit-background-size:auto 24px !important;background-size:auto 24px !important}.weglot-flags.flag-3 a:before,.weglot-flags.flag-3 span:before{background-image:url("../images/circular_flag.png");width:24px !important;height:24px !important;-webkit-background-size:auto 24px !important;background-size:auto 24px !important}.weglot-flags>a span:before{background-image:none !important;display:none !important}.weglot-flags>span a:before{background-image:none !important;display:none !important}
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ .weglot-flags {
2
+ /* TODO */
3
+ /* TODO */
4
+ /* TODO */
5
+ /* TODO */ }
6
+ .weglot-flags.hw > a:before, .weglot-flags.hw > span:before {
7
+ background-position: -3570px 0 !important; }
8
+ .weglot-flags.af > a:before, .weglot-flags.af > span:before {
9
+ background-position: -6570px 0 !important; }
10
+ .weglot-flags.fl > a:before, .weglot-flags.fl > span:before {
11
+ background-position: -3060px 0 !important; }
12
+ .weglot-flags.sq > a:before, .weglot-flags.sq > span:before {
13
+ background-position: -2580px 0 !important; }
14
+ .weglot-flags.am > a:before, .weglot-flags.am > span:before {
15
+ background-position: -5130px 0 !important; }
16
+ .weglot-flags.ar > a:before, .weglot-flags.ar > span:before {
17
+ background-position: -510px 0 !important; }
18
+ .weglot-flags.hy > a:before, .weglot-flags.hy > span:before {
19
+ background-position: -1800px 0 !important; }
20
+ .weglot-flags.az > a:before, .weglot-flags.az > span:before {
21
+ background-position: -6840px 0 !important; }
22
+ .weglot-flags.ba > a:before, .weglot-flags.ba > span:before {
23
+ background-position: -2040px 0 !important; }
24
+ .weglot-flags.eu > a:before, .weglot-flags.eu > span:before {
25
+ background-position: -7260px 0 !important; }
26
+ .weglot-flags.be > a:before, .weglot-flags.be > span:before {
27
+ background-position: -5310px 0 !important; }
28
+ .weglot-flags.bn > a:before, .weglot-flags.bn > span:before {
29
+ background-position: -5400px 0 !important; }
30
+ .weglot-flags.bs > a:before, .weglot-flags.bs > span:before {
31
+ background-position: -6390px 0 !important; }
32
+ .weglot-flags.bg > a:before, .weglot-flags.bg > span:before {
33
+ background-position: -2730px 0 !important; }
34
+ .weglot-flags.br > a:before, .weglot-flags.br > span:before {
35
+ background-position: -6630px 0 !important; }
36
+ .weglot-flags.my > a:before, .weglot-flags.my > span:before {
37
+ background-position: -3299px 0 !important; }
38
+ .weglot-flags.ca > a:before, .weglot-flags.ca > span:before {
39
+ background-position: -7230px 0 !important; }
40
+ .weglot-flags.zh > a:before, .weglot-flags.zh > span:before {
41
+ background-position: -3690px 0 !important; }
42
+ .weglot-flags.tw > a:before, .weglot-flags.tw > span:before {
43
+ background-position: -2970px 0 !important; }
44
+ .weglot-flags.km > a:before, .weglot-flags.km > span:before {
45
+ background-position: -6930px 0 !important; }
46
+ .weglot-flags.ny > a:before, .weglot-flags.ny > span:before {
47
+ background-position: -1140px 0 !important; }
48
+ .weglot-flags.co > a:before, .weglot-flags.co > span:before {
49
+ background-position: -2520px 0 !important; }
50
+ .weglot-flags.hr > a:before, .weglot-flags.hr > span:before {
51
+ background-position: -5910px 0 !important; }
52
+ .weglot-flags.cs > a:before, .weglot-flags.cs > span:before {
53
+ background-position: -2700px 0 !important; }
54
+ .weglot-flags.da > a:before, .weglot-flags.da > span:before {
55
+ background-position: -2670px 0 !important; }
56
+ .weglot-flags.nl > a:before, .weglot-flags.nl > span:before {
57
+ background-position: -2100px 0 !important; }
58
+ .weglot-flags.en > a:before, .weglot-flags.en > span:before {
59
+ background-position: -1920px 0 !important; }
60
+ .weglot-flags.eo > a:before, .weglot-flags.eo > span:before {
61
+ background-position: -1920px 0 !important; }
62
+ .weglot-flags.et > a:before, .weglot-flags.et > span:before {
63
+ background-position: -2640px 0 !important; }
64
+ .weglot-flags.fj > a:before, .weglot-flags.fj > span:before {
65
+ background-position: -1710px 0 !important; }
66
+ .weglot-flags.fi > a:before, .weglot-flags.fi > span:before {
67
+ background-position: -2550px 0 !important; }
68
+ .weglot-flags.fr > a:before, .weglot-flags.fr > span:before {
69
+ background-position: -2520px 0 !important; }
70
+ .weglot-flags.gl > a:before, .weglot-flags.gl > span:before {
71
+ background-position: -7290px 0 !important; }
72
+ .weglot-flags.ka > a:before, .weglot-flags.ka > span:before {
73
+ background-position: -5040px 0 !important; }
74
+ .weglot-flags.de > a:before, .weglot-flags.de > span:before {
75
+ background-position: -2490px 0 !important; }
76
+ .weglot-flags.el > a:before, .weglot-flags.el > span:before {
77
+ background-position: -2460px 0 !important; }
78
+ .weglot-flags.gu > a:before, .weglot-flags.gu > span:before {
79
+ background-position: -1170px 0 !important; }
80
+ .weglot-flags.ht > a:before, .weglot-flags.ht > span:before {
81
+ background-position: -4650px 0 !important; }
82
+ .weglot-flags.ha > a:before, .weglot-flags.ha > span:before {
83
+ background-position: -900px 0 !important; }
84
+ .weglot-flags.he > a:before, .weglot-flags.he > span:before {
85
+ background-position: -1050px 0 !important; }
86
+ .weglot-flags.hi > a:before, .weglot-flags.hi > span:before {
87
+ background-position: -1170px 0 !important; }
88
+ .weglot-flags.hu > a:before, .weglot-flags.hu > span:before {
89
+ background-position: -2430px 0 !important; }
90
+ .weglot-flags.is > a:before, .weglot-flags.is > span:before {
91
+ background-position: -2400px 0 !important; }
92
+ .weglot-flags.ig > a:before, .weglot-flags.ig > span:before {
93
+ background-position: -870px 0 !important; }
94
+ .weglot-flags.id > a:before, .weglot-flags.id > span:before {
95
+ background-position: -3510px 0 !important; }
96
+ .weglot-flags.ga > a:before, .weglot-flags.ga > span:before {
97
+ background-position: -2340px 0 !important; }
98
+ .weglot-flags.it > a:before, .weglot-flags.it > span:before {
99
+ background-position: -2310px 0 !important; }
100
+ .weglot-flags.ja > a:before, .weglot-flags.ja > span:before {
101
+ background-position: -3480px 0 !important; }
102
+ .weglot-flags.jv > a:before, .weglot-flags.jv > span:before {
103
+ background-position: -3360px 0 !important; }
104
+ .weglot-flags.kn > a:before, .weglot-flags.kn > span:before {
105
+ background-position: -1170px 0 !important; }
106
+ .weglot-flags.kk > a:before, .weglot-flags.kk > span:before {
107
+ background-position: -3150px 0 !important; }
108
+ .weglot-flags.ko > a:before, .weglot-flags.ko > span:before {
109
+ background-position: -6990px 0 !important; }
110
+ .weglot-flags.ku > a:before, .weglot-flags.ku > span:before {
111
+ background-position: -2430px 0 !important; }
112
+ .weglot-flags.ky > a:before, .weglot-flags.ky > span:before {
113
+ background-position: -3420px 0 !important; }
114
+ .weglot-flags.lo > a:before, .weglot-flags.lo > span:before {
115
+ background-position: -3450px 0 !important; }
116
+ .weglot-flags.la > a:before, .weglot-flags.la > span:before {
117
+ background-position: -2310px 0 !important; }
118
+ .weglot-flags.lv > a:before, .weglot-flags.lv > span:before {
119
+ background-position: -2280px 0 !important; }
120
+ .weglot-flags.lt > a:before, .weglot-flags.lt > span:before {
121
+ background-position: -2250px 0 !important; }
122
+ .weglot-flags.lb > a:before, .weglot-flags.lb > span:before {
123
+ background-position: -2220px 0 !important; }
124
+ .weglot-flags.mk > a:before, .weglot-flags.mk > span:before {
125
+ background-position: -2190px 0 !important; }
126
+ .weglot-flags.mg > a:before, .weglot-flags.mg > span:before {
127
+ background-position: -1200px 0 !important; }
128
+ .weglot-flags.ms > a:before, .weglot-flags.ms > span:before {
129
+ background-position: -3360px 0 !important; }
130
+ .weglot-flags.ml > a:before, .weglot-flags.ml > span:before {
131
+ background-position: -1170px 0 !important; }
132
+ .weglot-flags.mt > a:before, .weglot-flags.mt > span:before {
133
+ background-position: -2130px 0 !important; }
134
+ .weglot-flags.mi > a:before, .weglot-flags.mi > span:before {
135
+ background-position: -3240px 0 !important; }
136
+ .weglot-flags.mr > a:before, .weglot-flags.mr > span:before {
137
+ background-position: -1170px 0 !important; }
138
+ .weglot-flags.mn > a:before, .weglot-flags.mn > span:before {
139
+ background-position: -6000px 0 !important; }
140
+ .weglot-flags.ne > a:before, .weglot-flags.ne > span:before {
141
+ background-position: -3270px 0 !important; }
142
+ .weglot-flags.no > a:before, .weglot-flags.no > span:before {
143
+ background-position: -5850px 0 !important; }
144
+ .weglot-flags.ps > a:before, .weglot-flags.ps > span:before {
145
+ background-position: -5189px 0 !important; }
146
+ .weglot-flags.fa > a:before, .weglot-flags.fa > span:before {
147
+ background-position: -6690px 0 !important; }
148
+ .weglot-flags.pl > a:before, .weglot-flags.pl > span:before {
149
+ background-position: -2160px 0 !important; }
150
+ .weglot-flags.pt > a:before, .weglot-flags.pt > span:before {
151
+ background-position: -1740px 0 !important; }
152
+ .weglot-flags.pa > a:before, .weglot-flags.pa > span:before {
153
+ background-position: -3180px 0 !important; }
154
+ .weglot-flags.ro > a:before, .weglot-flags.ro > span:before {
155
+ background-position: -2070px 0 !important; }
156
+ .weglot-flags.ru > a:before, .weglot-flags.ru > span:before {
157
+ background-position: -2040px 0 !important; }
158
+ .weglot-flags.sm > a:before, .weglot-flags.sm > span:before {
159
+ background-position: -4620px 0 !important; }
160
+ .weglot-flags.gd > a:before, .weglot-flags.gd > span:before {
161
+ background-position: -30px 0 !important; }
162
+ .weglot-flags.sr > a:before, .weglot-flags.sr > span:before {
163
+ background-position: -4290px 0 !important; }
164
+ .weglot-flags.sn > a:before, .weglot-flags.sn > span:before {
165
+ background-position: -540px 0 !important; }
166
+ .weglot-flags.sd > a:before, .weglot-flags.sd > span:before {
167
+ background-position: -3180px 0 !important; }
168
+ .weglot-flags.si > a:before, .weglot-flags.si > span:before {
169
+ background-position: -2820px 0 !important; }
170
+ .weglot-flags.sk > a:before, .weglot-flags.sk > span:before {
171
+ background-position: -6810px 0 !important; }
172
+ .weglot-flags.sl > a:before, .weglot-flags.sl > span:before {
173
+ background-position: -2010px 0 !important; }
174
+ .weglot-flags.so > a:before, .weglot-flags.so > span:before {
175
+ background-position: -4560px 0 !important; }
176
+ .weglot-flags.st > a:before, .weglot-flags.st > span:before {
177
+ background-position: -4830px 0 !important; }
178
+ .weglot-flags.es > a:before, .weglot-flags.es > span:before {
179
+ background-position: -480px 0 !important; }
180
+ .weglot-flags.su > a:before, .weglot-flags.su > span:before {
181
+ background-position: -4530px 0 !important; }
182
+ .weglot-flags.sw > a:before, .weglot-flags.sw > span:before {
183
+ background-position: -1290px 0 !important; }
184
+ .weglot-flags.sv > a:before, .weglot-flags.sv > span:before {
185
+ background-position: -1980px 0 !important; }
186
+ .weglot-flags.tl > a:before, .weglot-flags.tl > span:before {
187
+ background-position: -3060px 0 !important; }
188
+ .weglot-flags.ty > a:before, .weglot-flags.ty > span:before {
189
+ background-position: -6270px 0 !important; }
190
+ .weglot-flags.tg > a:before, .weglot-flags.tg > span:before {
191
+ background-position: -2940px 0 !important; }
192
+ .weglot-flags.ta > a:before, .weglot-flags.ta > span:before {
193
+ background-position: -1170px 0 !important; }
194
+ .weglot-flags.tt > a:before, .weglot-flags.tt > span:before {
195
+ background-position: -2040px 0 !important; }
196
+ .weglot-flags.te > a:before, .weglot-flags.te > span:before {
197
+ background-position: -1170px 0 !important; }
198
+ .weglot-flags.th > a:before, .weglot-flags.th > span:before {
199
+ background-position: -2910px 0 !important; }
200
+ .weglot-flags.to > a:before, .weglot-flags.to > span:before {
201
+ background-position: -6540px 0 !important; }
202
+ .weglot-flags.tr > a:before, .weglot-flags.tr > span:before {
203
+ background-position: -1950px 0 !important; }
204
+ .weglot-flags.uk > a:before, .weglot-flags.uk > span:before {
205
+ background-position: -1890px 0 !important; }
206
+ .weglot-flags.ur > a:before, .weglot-flags.ur > span:before {
207
+ background-position: -3180px 0 !important; }
208
+ .weglot-flags.uz > a:before, .weglot-flags.uz > span:before {
209
+ background-position: -2880px 0 !important; }
210
+ .weglot-flags.vi > a:before, .weglot-flags.vi > span:before {
211
+ background-position: -2850px 0 !important; }
212
+ .weglot-flags.cy > a:before, .weglot-flags.cy > span:before {
213
+ background-position: -6420px 0 !important; }
214
+ .weglot-flags.fy > a:before, .weglot-flags.fy > span:before {
215
+ background-position: -2100px 0 !important; }
216
+ .weglot-flags.xh > a:before, .weglot-flags.xh > span:before {
217
+ background-position: -6570px 0 !important; }
218
+ .weglot-flags.yi > a:before, .weglot-flags.yi > span:before {
219
+ background-position: -1050px 0 !important; }
220
+ .weglot-flags.yo > a:before, .weglot-flags.yo > span:before {
221
+ background-position: -870px 0 !important; }
222
+ .weglot-flags.zu > a:before, .weglot-flags.zu > span:before {
223
+ background-position: -6570px 0 !important; }
224
+ .weglot-flags.flag-1.hw > a:before, .weglot-flags.flag-1.hw > span:before {
225
+ background-position: -7840px 0 !important; }
226
+ .weglot-flags.flag-1.fl > a:before, .weglot-flags.flag-1.fl > span:before {
227
+ background-position: 2560px 0 !important; }
228
+ .weglot-flags.flag-1.af > a:before, .weglot-flags.flag-1.af > span:before {
229
+ background-position: -6848px 0 !important; }
230
+ .weglot-flags.flag-1.sq > a:before, .weglot-flags.flag-1.sq > span:before {
231
+ background-position: -97px 0 !important; }
232
+ .weglot-flags.flag-1.am > a:before, .weglot-flags.flag-1.am > span:before {
233
+ background-position: -2369px 0 !important; }
234
+ .weglot-flags.flag-1.ar > a:before, .weglot-flags.flag-1.ar > span:before {
235
+ background-position: -6465px 0 !important; }
236
+ .weglot-flags.flag-1.hy > a:before, .weglot-flags.flag-1.hy > span:before {
237
+ background-position: -385px 0 !important; }
238
+ .weglot-flags.flag-1.az > a:before, .weglot-flags.flag-1.az > span:before {
239
+ background-position: -513px 0 !important; }
240
+ .weglot-flags.flag-1.ba > a:before, .weglot-flags.flag-1.ba > span:before {
241
+ background-position: -6113px 0 !important; }
242
+ .weglot-flags.flag-1.eu > a:before, .weglot-flags.flag-1.eu > span:before {
243
+ background-position: -8353px 0 !important; }
244
+ .weglot-flags.flag-1.be > a:before, .weglot-flags.flag-1.be > span:before {
245
+ background-position: -705px 0 !important; }
246
+ .weglot-flags.flag-1.bn > a:before, .weglot-flags.flag-1.bn > span:before {
247
+ background-position: -609px 0 !important; }
248
+ .weglot-flags.flag-1.bs > a:before, .weglot-flags.flag-1.bs > span:before {
249
+ background-position: -929px 0 !important; }
250
+ .weglot-flags.flag-1.bg > a:before, .weglot-flags.flag-1.bg > span:before {
251
+ background-position: -1121px 0 !important; }
252
+ .weglot-flags.flag-1.br > a:before, .weglot-flags.flag-1.br > span:before {
253
+ background-position: -993px 0 !important; }
254
+ .weglot-flags.flag-1.my > a:before, .weglot-flags.flag-1.my > span:before {
255
+ background-position: -4929px 0 !important; }
256
+ .weglot-flags.flag-1.ca > a:before, .weglot-flags.flag-1.ca > span:before {
257
+ background-position: -8321px 0 !important; }
258
+ .weglot-flags.flag-1.zh > a:before, .weglot-flags.flag-1.zh > span:before {
259
+ background-position: -1505px 0 !important; }
260
+ .weglot-flags.flag-1.tw > a:before, .weglot-flags.flag-1.tw > span:before {
261
+ background-position: -6369px 0 !important; }
262
+ .weglot-flags.flag-1.km > a:before, .weglot-flags.flag-1.km > span:before {
263
+ background-position: -1217px 0 !important; }
264
+ .weglot-flags.flag-1.ny > a:before, .weglot-flags.flag-1.ny > span:before {
265
+ background-position: -4289px 0 !important; }
266
+ .weglot-flags.flag-1.co > a:before, .weglot-flags.flag-1.co > span:before {
267
+ background-position: -2561px 0 !important; }
268
+ .weglot-flags.flag-1.hr > a:before, .weglot-flags.flag-1.hr > span:before {
269
+ background-position: -1793px 0 !important; }
270
+ .weglot-flags.flag-1.cs > a:before, .weglot-flags.flag-1.cs > span:before {
271
+ background-position: -1921px 0 !important; }
272
+ .weglot-flags.flag-1.da > a:before, .weglot-flags.flag-1.da > span:before {
273
+ background-position: -1985px 0 !important; }
274
+ .weglot-flags.flag-1.nl > a:before, .weglot-flags.flag-1.nl > span:before {
275
+ background-position: -5121px 0 !important; }
276
+ .weglot-flags.flag-1.en > a:before, .weglot-flags.flag-1.en > span:before {
277
+ background-position: -7777px 0 !important; }
278
+ .weglot-flags.flag-1.eo > a:before, .weglot-flags.flag-1.eo > span:before {
279
+ background-position: -7777px 0 !important; }
280
+ .weglot-flags.flag-1.et > a:before, .weglot-flags.flag-1.et > span:before {
281
+ background-position: -2337px 0 !important; }
282
+ .weglot-flags.flag-1.fj > a:before, .weglot-flags.flag-1.fj > span:before {
283
+ background-position: -2497px 0 !important; }
284
+ .weglot-flags.flag-1.fi > a:before, .weglot-flags.flag-1.fi > span:before {
285
+ background-position: -2529px 0 !important; }
286
+ .weglot-flags.flag-1.fr > a:before, .weglot-flags.flag-1.fr > span:before {
287
+ background-position: -2561px 0 !important; }
288
+ .weglot-flags.flag-1.gl > a:before, .weglot-flags.flag-1.gl > span:before {
289
+ background-position: -8383px 0 !important; }
290
+ .weglot-flags.flag-1.ka > a:before, .weglot-flags.flag-1.ka > span:before {
291
+ background-position: -2721px 0 !important; }
292
+ .weglot-flags.flag-1.de > a:before, .weglot-flags.flag-1.de > span:before {
293
+ background-position: -2753px 0 !important; }
294
+ .weglot-flags.flag-1.el > a:before, .weglot-flags.flag-1.el > span:before {
295
+ background-position: -2881px 0 !important; }
296
+ .weglot-flags.flag-1.gu > a:before, .weglot-flags.flag-1.gu > span:before {
297
+ background-position: -3329px 0 !important; }
298
+ .weglot-flags.flag-1.ht > a:before, .weglot-flags.flag-1.ht > span:before {
299
+ background-position: -3169px 0 !important; }
300
+ .weglot-flags.flag-1.ha > a:before, .weglot-flags.flag-1.ha > span:before {
301
+ background-position: -5281px 0 !important; }
302
+ .weglot-flags.flag-1.he > a:before, .weglot-flags.flag-1.he > span:before {
303
+ background-position: -3521px 0 !important; }
304
+ .weglot-flags.flag-1.hi > a:before, .weglot-flags.flag-1.hi > span:before {
305
+ background-position: -3329px 0 !important; }
306
+ .weglot-flags.flag-1.hu > a:before, .weglot-flags.flag-1.hu > span:before {
307
+ background-position: -3265px 0 !important; }
308
+ .weglot-flags.flag-1.is > a:before, .weglot-flags.flag-1.is > span:before {
309
+ background-position: -3297px 0 !important; }
310
+ .weglot-flags.flag-1.ig > a:before, .weglot-flags.flag-1.ig > span:before {
311
+ background-position: -5313px 0 !important; }
312
+ .weglot-flags.flag-1.id > a:before, .weglot-flags.flag-1.id > span:before {
313
+ background-position: -3361px 0 !important; }
314
+ .weglot-flags.flag-1.ga > a:before, .weglot-flags.flag-1.ga > span:before {
315
+ background-position: -3457px 0 !important; }
316
+ .weglot-flags.flag-1.it > a:before, .weglot-flags.flag-1.it > span:before {
317
+ background-position: -3553px 0 !important; }
318
+ .weglot-flags.flag-1.ja > a:before, .weglot-flags.flag-1.ja > span:before {
319
+ background-position: -3617px 0 !important; }
320
+ .weglot-flags.flag-1.jv > a:before, .weglot-flags.flag-1.jv > span:before {
321
+ background-position: -4321px 0 !important; }
322
+ .weglot-flags.flag-1.kn > a:before, .weglot-flags.flag-1.kn > span:before {
323
+ background-position: -3329px 0 !important; }
324
+ .weglot-flags.flag-1.kk > a:before, .weglot-flags.flag-1.kk > span:before {
325
+ background-position: -3713px 0 !important; }
326
+ .weglot-flags.flag-1.ko > a:before, .weglot-flags.flag-1.ko > span:before {
327
+ background-position: -6913px 0 !important; }
328
+ .weglot-flags.flag-1.ku > a:before, .weglot-flags.flag-1.ku > span:before {
329
+ background-position: -3265px 0 !important; }
330
+ .weglot-flags.flag-1.ky > a:before, .weglot-flags.flag-1.ky > span:before {
331
+ background-position: -3873px 0 !important; }
332
+ .weglot-flags.flag-1.lo > a:before, .weglot-flags.flag-1.lo > span:before {
333
+ background-position: -3904px 0 !important; }
334
+ .weglot-flags.flag-1.la > a:before, .weglot-flags.flag-1.la > span:before {
335
+ background-position: -3553px 0 !important; }
336
+ .weglot-flags.flag-1.lv > a:before, .weglot-flags.flag-1.lv > span:before {
337
+ background-position: -3937px 0 !important; }
338
+ .weglot-flags.flag-1.lt > a:before, .weglot-flags.flag-1.lt > span:before {
339
+ background-position: -4129px 0 !important; }
340
+ .weglot-flags.flag-1.lb > a:before, .weglot-flags.flag-1.lb > span:before {
341
+ background-position: -4161px 0 !important; }
342
+ .weglot-flags.flag-1.mk > a:before, .weglot-flags.flag-1.mk > span:before {
343
+ background-position: -4225px 0 !important; }
344
+ .weglot-flags.flag-1.mg > a:before, .weglot-flags.flag-1.mg > span:before {
345
+ background-position: -4257px 0 !important; }
346
+ .weglot-flags.flag-1.ms > a:before, .weglot-flags.flag-1.ms > span:before {
347
+ background-position: -4321px 0 !important; }
348
+ .weglot-flags.flag-1.ml > a:before, .weglot-flags.flag-1.ml > span:before {
349
+ background-position: -3329px 0 !important; }
350
+ .weglot-flags.flag-1.mt > a:before, .weglot-flags.flag-1.mt > span:before {
351
+ background-position: -4417px 0 !important; }
352
+ .weglot-flags.flag-1.mi > a:before, .weglot-flags.flag-1.mi > span:before {
353
+ background-position: -5217px 0 !important; }
354
+ .weglot-flags.flag-1.mr > a:before, .weglot-flags.flag-1.mr > span:before {
355
+ background-position: -3329px 0 !important; }
356
+ .weglot-flags.flag-1.mn > a:before, .weglot-flags.flag-1.mn > span:before {
357
+ background-position: -4769px 0 !important; }
358
+ .weglot-flags.flag-1.ne > a:before, .weglot-flags.flag-1.ne > span:before {
359
+ background-position: -5091px 0 !important; }
360
+ .weglot-flags.flag-1.no > a:before, .weglot-flags.flag-1.no > span:before {
361
+ background-position: -5505px 0 !important; }
362
+ .weglot-flags.flag-1.ps > a:before, .weglot-flags.flag-1.ps > span:before {
363
+ background-position: -33px 0 !important; }
364
+ .weglot-flags.flag-1.fa > a:before, .weglot-flags.flag-1.fa > span:before {
365
+ background-position: -3393px 0 !important; }
366
+ .weglot-flags.flag-1.pl > a:before, .weglot-flags.flag-1.pl > span:before {
367
+ background-position: -5889px 0 !important; }
368
+ .weglot-flags.flag-1.pt > a:before, .weglot-flags.flag-1.pt > span:before {
369
+ background-position: -5921px 0 !important; }
370
+ .weglot-flags.flag-1.pa > a:before, .weglot-flags.flag-1.pa > span:before {
371
+ background-position: -3329px 0 !important; }
372
+ .weglot-flags.flag-1.ro > a:before, .weglot-flags.flag-1.ro > span:before {
373
+ background-position: -6081px 0 !important; }
374
+ .weglot-flags.flag-1.ru > a:before, .weglot-flags.flag-1.ru > span:before {
375
+ background-position: -6113px 0 !important; }
376
+ .weglot-flags.flag-1.sm > a:before, .weglot-flags.flag-1.sm > span:before {
377
+ background-position: -6369px 0 !important; }
378
+ .weglot-flags.flag-1.gd > a:before, .weglot-flags.flag-1.gd > span:before {
379
+ background-position: -6497px 0 !important; }
380
+ .weglot-flags.flag-1.sr > a:before, .weglot-flags.flag-1.sr > span:before {
381
+ background-position: -6561px 0 !important; }
382
+ .weglot-flags.flag-1.sn > a:before, .weglot-flags.flag-1.sn > span:before {
383
+ background-position: -8287px 0 !important; }
384
+ .weglot-flags.flag-1.sd > a:before, .weglot-flags.flag-1.sd > span:before {
385
+ background-position: -5601px 0 !important; }
386
+ .weglot-flags.flag-1.si > a:before, .weglot-flags.flag-1.si > span:before {
387
+ background-position: -7039px 0 !important; }
388
+ .weglot-flags.flag-1.sk > a:before, .weglot-flags.flag-1.sk > span:before {
389
+ background-position: -6689px 0 !important; }
390
+ .weglot-flags.flag-1.sl > a:before, .weglot-flags.flag-1.sl > span:before {
391
+ background-position: -6721px 0 !important; }
392
+ .weglot-flags.flag-1.so > a:before, .weglot-flags.flag-1.so > span:before {
393
+ background-position: -6785px 0 !important; }
394
+ .weglot-flags.flag-1.st > a:before, .weglot-flags.flag-1.st > span:before {
395
+ background-position: -4001px 0 !important; }
396
+ .weglot-flags.flag-1.es > a:before, .weglot-flags.flag-1.es > span:before {
397
+ background-position: -7009px 0 !important; }
398
+ .weglot-flags.flag-1.su > a:before, .weglot-flags.flag-1.su > span:before {
399
+ background-position: -7073px 0 !important; }
400
+ .weglot-flags.flag-1.sw > a:before, .weglot-flags.flag-1.sw > span:before {
401
+ background-position: -3745px 0 !important; }
402
+ .weglot-flags.flag-1.sv > a:before, .weglot-flags.flag-1.sv > span:before {
403
+ background-position: -7169px 0 !important; }
404
+ .weglot-flags.flag-1.tl > a:before, .weglot-flags.flag-1.tl > span:before {
405
+ background-position: -5823px 0 !important; }
406
+ .weglot-flags.flag-1.ty > a:before, .weglot-flags.flag-1.ty > span:before {
407
+ background-position: -2593px 0 !important; }
408
+ .weglot-flags.flag-1.tg > a:before, .weglot-flags.flag-1.tg > span:before {
409
+ background-position: -7297px 0 !important; }
410
+ .weglot-flags.flag-1.ta > a:before, .weglot-flags.flag-1.ta > span:before {
411
+ background-position: -3329px 0 !important; }
412
+ .weglot-flags.flag-1.tt > a:before, .weglot-flags.flag-1.tt > span:before {
413
+ background-position: -6113px 0 !important; }
414
+ .weglot-flags.flag-1.te > a:before, .weglot-flags.flag-1.te > span:before {
415
+ background-position: -3329px 0 !important; }
416
+ .weglot-flags.flag-1.th > a:before, .weglot-flags.flag-1.th > span:before {
417
+ background-position: -7361px 0 !important; }
418
+ .weglot-flags.flag-1.to > a:before, .weglot-flags.flag-1.to > span:before {
419
+ background-position: -7456px 0 !important; }
420
+ .weglot-flags.flag-1.tr > a:before, .weglot-flags.flag-1.tr > span:before {
421
+ background-position: -7553px 0 !important; }
422
+ .weglot-flags.flag-1.uk > a:before, .weglot-flags.flag-1.uk > span:before {
423
+ background-position: -7713px 0 !important; }
424
+ .weglot-flags.flag-1.ur > a:before, .weglot-flags.flag-1.ur > span:before {
425
+ background-position: -5600px 0 !important; }
426
+ .weglot-flags.flag-1.uz > a:before, .weglot-flags.flag-1.uz > span:before {
427
+ background-position: -7969px 0 !important; }
428
+ .weglot-flags.flag-1.vi > a:before, .weglot-flags.flag-1.vi > span:before {
429
+ background-position: -8097px 0 !important; }
430
+ .weglot-flags.flag-1.cy > a:before, .weglot-flags.flag-1.cy > span:before {
431
+ background-position: -8129px 0 !important; }
432
+ .weglot-flags.flag-1.fy > a:before, .weglot-flags.flag-1.fy > span:before {
433
+ background-position: -5121px 0 !important; }
434
+ .weglot-flags.flag-1.xh > a:before, .weglot-flags.flag-1.xh > span:before {
435
+ background-position: -6848px 0 !important; }
436
+ .weglot-flags.flag-1.yi > a:before, .weglot-flags.flag-1.yi > span:before {
437
+ background-position: -3521px 0 !important; }
438
+ .weglot-flags.flag-1.yo > a:before, .weglot-flags.flag-1.yo > span:before {
439
+ background-position: -5313px 0 !important; }
440
+ .weglot-flags.flag-1.zu > a:before, .weglot-flags.flag-1.zu > span:before {
441
+ background-position: -6848px 0 !important; }
442
+ .weglot-flags.flag-2 {
443
+ /* TODO */ }
444
+ .weglot-flags.flag-2.hw > a:before, .weglot-flags.flag-2.hw > span:before {
445
+ background-position: -5448px 0 !important; }
446
+ .weglot-flags.flag-2.fl > a:before, .weglot-flags.flag-2.fl > span:before {
447
+ background-position: -1008px 0 !important; }
448
+ .weglot-flags.flag-2.af > a:before, .weglot-flags.flag-2.af > span:before {
449
+ background-position: -4968px 0 !important; }
450
+ .weglot-flags.flag-2.sq > a:before, .weglot-flags.flag-2.sq > span:before {
451
+ background-position: -2976px 0 !important; }
452
+ .weglot-flags.flag-2.am > a:before, .weglot-flags.flag-2.am > span:before {
453
+ background-position: -3816px 0 !important; }
454
+ .weglot-flags.flag-2.ar > a:before, .weglot-flags.flag-2.ar > span:before {
455
+ background-position: -768px 0 !important; }
456
+ .weglot-flags.flag-2.hy > a:before, .weglot-flags.flag-2.hy > span:before {
457
+ background-position: 0 0 !important; }
458
+ .weglot-flags.flag-2.az > a:before, .weglot-flags.flag-2.az > span:before {
459
+ background-position: -5136px 0 !important; }
460
+ .weglot-flags.flag-2.ba > a:before, .weglot-flags.flag-2.ba > span:before {
461
+ background-position: -936px 0 !important; }
462
+ .weglot-flags.flag-2.eu > a:before, .weglot-flags.flag-2.eu > span:before {
463
+ background-position: -5376px 0 !important; }
464
+ .weglot-flags.flag-2.be > a:before, .weglot-flags.flag-2.be > span:before {
465
+ background-position: -4224px 0 !important; }
466
+ .weglot-flags.flag-2.bn > a:before, .weglot-flags.flag-2.bn > span:before {
467
+ background-position: -4056px 0 !important; }
468
+ .weglot-flags.flag-2.bs > a:before, .weglot-flags.flag-2.bs > span:before {
469
+ background-position: -3984px 0 !important; }
470
+ .weglot-flags.flag-2.bg > a:before, .weglot-flags.flag-2.bg > span:before {
471
+ background-position: -5040px 0 !important; }
472
+ .weglot-flags.flag-2.br > a:before, .weglot-flags.flag-2.br > span:before {
473
+ background-position: -2784px 0 !important; }
474
+ .weglot-flags.flag-2.my > a:before, .weglot-flags.flag-2.my > span:before {
475
+ background-position: -1248px 0 !important; }
476
+ .weglot-flags.flag-2.ca > a:before, .weglot-flags.flag-2.ca > span:before {
477
+ background-position: -5352px 0 !important; }
478
+ .weglot-flags.flag-2.zh > a:before, .weglot-flags.flag-2.zh > span:before {
479
+ background-position: -2592px 0 !important; }
480
+ .weglot-flags.flag-2.tw > a:before, .weglot-flags.flag-2.tw > span:before {
481
+ background-position: -3408px 0 !important; }
482
+ .weglot-flags.flag-2.km > a:before, .weglot-flags.flag-2.km > span:before {
483
+ background-position: -5160px 0 !important; }
484
+ .weglot-flags.flag-2.ny > a:before, .weglot-flags.flag-2.ny > span:before {
485
+ background-position: -1392px 0 !important; }
486
+ .weglot-flags.flag-2.co > a:before, .weglot-flags.flag-2.co > span:before {
487
+ background-position: -2304px 0 !important; }
488
+ .weglot-flags.flag-2.hr > a:before, .weglot-flags.flag-2.hr > span:before {
489
+ background-position: -4416px 0 !important; }
490
+ .weglot-flags.flag-2.cs > a:before, .weglot-flags.flag-2.cs > span:before {
491
+ background-position: -2472px 0 !important; }
492
+ .weglot-flags.flag-2.da > a:before, .weglot-flags.flag-2.da > span:before {
493
+ background-position: -2448px 0 !important; }
494
+ .weglot-flags.flag-2.nl > a:before, .weglot-flags.flag-2.nl > span:before {
495
+ background-position: -1296px 0 !important; }
496
+ .weglot-flags.flag-2.en > a:before, .weglot-flags.flag-2.en > span:before {
497
+ background-position: -312px 0 !important; }
498
+ .weglot-flags.flag-2.eo > a:before, .weglot-flags.flag-2.eo > span:before {
499
+ background-position: -312px 0 !important; }
500
+ .weglot-flags.flag-2.et > a:before, .weglot-flags.flag-2.et > span:before {
501
+ background-position: -2424px 0 !important; }
502
+ .weglot-flags.flag-2.fj > a:before, .weglot-flags.flag-2.fj > span:before {
503
+ background-position: -576px 0 !important; }
504
+ .weglot-flags.flag-2.fi > a:before, .weglot-flags.flag-2.fi > span:before {
505
+ background-position: -2328px 0 !important; }
506
+ .weglot-flags.flag-2.fr > a:before, .weglot-flags.flag-2.fr > span:before {
507
+ background-position: -2304px 0 !important; }
508
+ .weglot-flags.flag-2.gl > a:before, .weglot-flags.flag-2.gl > span:before {
509
+ background-position: -5400px 0 !important; }
510
+ .weglot-flags.flag-2.ka > a:before, .weglot-flags.flag-2.ka > span:before {
511
+ background-position: -3744px 0 !important; }
512
+ .weglot-flags.flag-2.de > a:before, .weglot-flags.flag-2.de > span:before {
513
+ background-position: -2256px 0 !important; }
514
+ .weglot-flags.flag-2.el > a:before, .weglot-flags.flag-2.el > span:before {
515
+ background-position: -2208px 0 !important; }
516
+ .weglot-flags.flag-2.gu > a:before, .weglot-flags.flag-2.gu > span:before {
517
+ background-position: -1728px 0 !important; }
518
+ .weglot-flags.flag-2.ht > a:before, .weglot-flags.flag-2.ht > span:before {
519
+ background-position: -3528px 0 !important; }
520
+ .weglot-flags.flag-2.ha > a:before, .weglot-flags.flag-2.ha > span:before {
521
+ background-position: -1176px 0 !important; }
522
+ .weglot-flags.flag-2.he > a:before, .weglot-flags.flag-2.he > span:before {
523
+ background-position: -1992px 0 !important; }
524
+ .weglot-flags.flag-2.hi > a:before, .weglot-flags.flag-2.hi > span:before {
525
+ background-position: -1728px 0 !important; }
526
+ .weglot-flags.flag-2.hu > a:before, .weglot-flags.flag-2.hu > span:before {
527
+ background-position: -2088px 0 !important; }
528
+ .weglot-flags.flag-2.is > a:before, .weglot-flags.flag-2.is > span:before {
529
+ background-position: -2064px 0 !important; }
530
+ .weglot-flags.flag-2.ig > a:before, .weglot-flags.flag-2.ig > span:before {
531
+ background-position: -1103px 0 !important; }
532
+ .weglot-flags.flag-2.id > a:before, .weglot-flags.flag-2.id > span:before {
533
+ background-position: -2040px 0 !important; }
534
+ .weglot-flags.flag-2.ga > a:before, .weglot-flags.flag-2.ga > span:before {
535
+ background-position: -2016px 0 !important; }
536
+ .weglot-flags.flag-2.it > a:before, .weglot-flags.flag-2.it > span:before {
537
+ background-position: -1968px 0 !important; }
538
+ .weglot-flags.flag-2.ja > a:before, .weglot-flags.flag-2.ja > span:before {
539
+ background-position: -1920px 0 !important; }
540
+ .weglot-flags.flag-2.jv > a:before, .weglot-flags.flag-2.jv > span:before {
541
+ background-position: -1536px 0 !important; }
542
+ .weglot-flags.flag-2.kn > a:before, .weglot-flags.flag-2.kn > span:before {
543
+ background-position: -1728px 0 !important; }
544
+ .weglot-flags.flag-2.kk > a:before, .weglot-flags.flag-2.kk > span:before {
545
+ background-position: -1704px 0 !important; }
546
+ .weglot-flags.flag-2.ko > a:before, .weglot-flags.flag-2.ko > span:before {
547
+ background-position: -1848px 0 !important; }
548
+ .weglot-flags.flag-2.ku > a:before, .weglot-flags.flag-2.ku > span:before {
549
+ background-position: -2088px 0 !important; }
550
+ .weglot-flags.flag-2.ky > a:before, .weglot-flags.flag-2.ky > span:before {
551
+ background-position: -1800px 0 !important; }
552
+ .weglot-flags.flag-2.lo > a:before, .weglot-flags.flag-2.lo > span:before {
553
+ background-position: -1776px 0 !important; }
554
+ .weglot-flags.flag-2.la > a:before, .weglot-flags.flag-2.la > span:before {
555
+ background-position: -1968px 0 !important; }
556
+ .weglot-flags.flag-2.lv > a:before, .weglot-flags.flag-2.lv > span:before {
557
+ background-position: -1752px 0 !important; }
558
+ .weglot-flags.flag-2.lt > a:before, .weglot-flags.flag-2.lt > span:before {
559
+ background-position: -1656px 0 !important; }
560
+ .weglot-flags.flag-2.lb > a:before, .weglot-flags.flag-2.lb > span:before {
561
+ background-position: -1632px 0 !important; }
562
+ .weglot-flags.flag-2.mk > a:before, .weglot-flags.flag-2.mk > span:before {
563
+ background-position: -1440px 0 !important; }
564
+ .weglot-flags.flag-2.mg > a:before, .weglot-flags.flag-2.mg > span:before {
565
+ background-position: -1560px 0 !important; }
566
+ .weglot-flags.flag-2.ms > a:before, .weglot-flags.flag-2.ms > span:before {
567
+ background-position: -1536px 0 !important; }
568
+ .weglot-flags.flag-2.ml > a:before, .weglot-flags.flag-2.ml > span:before {
569
+ background-position: -1728px 0 !important; }
570
+ .weglot-flags.flag-2.mt > a:before, .weglot-flags.flag-2.mt > span:before {
571
+ background-position: -1200px 0 !important; }
572
+ .weglot-flags.flag-2.mi > a:before, .weglot-flags.flag-2.mi > span:before {
573
+ background-position: -1224px 0 !important; }
574
+ .weglot-flags.flag-2.mr > a:before, .weglot-flags.flag-2.mr > span:before {
575
+ background-position: -1728px 0 !important; }
576
+ .weglot-flags.flag-2.mn > a:before, .weglot-flags.flag-2.mn > span:before {
577
+ background-position: -4800px 0 !important; }
578
+ .weglot-flags.flag-2.ne > a:before, .weglot-flags.flag-2.ne > span:before {
579
+ background-position: -1320px 0 !important; }
580
+ .weglot-flags.flag-2.no > a:before, .weglot-flags.flag-2.no > span:before {
581
+ background-position: -4776px 0 !important; }
582
+ .weglot-flags.flag-2.ps > a:before, .weglot-flags.flag-2.ps > span:before {
583
+ background-position: -4008px 0 !important; }
584
+ .weglot-flags.flag-2.fa > a:before, .weglot-flags.flag-2.fa > span:before {
585
+ background-position: -5088px 0 !important; }
586
+ .weglot-flags.flag-2.pl > a:before, .weglot-flags.flag-2.pl > span:before {
587
+ background-position: -984px 0 !important; }
588
+ .weglot-flags.flag-2.pt > a:before, .weglot-flags.flag-2.pt > span:before {
589
+ background-position: -528px 0 !important; }
590
+ .weglot-flags.flag-2.pa > a:before, .weglot-flags.flag-2.pa > span:before {
591
+ background-position: -1728px 0 !important; }
592
+ .weglot-flags.flag-2.ro > a:before, .weglot-flags.flag-2.ro > span:before {
593
+ background-position: -960px 0 !important; }
594
+ .weglot-flags.flag-2.ru > a:before, .weglot-flags.flag-2.ru > span:before {
595
+ background-position: -936px 0 !important; }
596
+ .weglot-flags.flag-2.sm > a:before, .weglot-flags.flag-2.sm > span:before {
597
+ background-position: -3408px 0 !important; }
598
+ .weglot-flags.flag-2.gd > a:before, .weglot-flags.flag-2.gd > span:before {
599
+ background-position: -4872px 0 !important; }
600
+ .weglot-flags.flag-2.sr > a:before, .weglot-flags.flag-2.sr > span:before {
601
+ background-position: -3120px 0 !important; }
602
+ .weglot-flags.flag-2.sn > a:before, .weglot-flags.flag-2.sn > span:before {
603
+ background-position: -72px 0 !important; }
604
+ .weglot-flags.flag-2.sd > a:before, .weglot-flags.flag-2.sd > span:before {
605
+ background-position: -1128px 0 !important; }
606
+ .weglot-flags.flag-2.si > a:before, .weglot-flags.flag-2.si > span:before {
607
+ background-position: -480px 0 !important; }
608
+ .weglot-flags.flag-2.sk > a:before, .weglot-flags.flag-2.sk > span:before {
609
+ background-position: -4152px 0 !important; }
610
+ .weglot-flags.flag-2.sl > a:before, .weglot-flags.flag-2.sl > span:before {
611
+ background-position: -696px 0 !important; }
612
+ .weglot-flags.flag-2.so > a:before, .weglot-flags.flag-2.so > span:before {
613
+ background-position: -3336px 0 !important; }
614
+ .weglot-flags.flag-2.st > a:before, .weglot-flags.flag-2.st > span:before {
615
+ background-position: -3552px 0 !important; }
616
+ .weglot-flags.flag-2.es > a:before, .weglot-flags.flag-2.es > span:before {
617
+ background-position: -96px 0 !important; }
618
+ .weglot-flags.flag-2.su > a:before, .weglot-flags.flag-2.su > span:before {
619
+ background-position: -3312px 0 !important; }
620
+ .weglot-flags.flag-2.sw > a:before, .weglot-flags.flag-2.sw > span:before {
621
+ background-position: -1872px 0 !important; }
622
+ .weglot-flags.flag-2.sv > a:before, .weglot-flags.flag-2.sv > span:before {
623
+ background-position: -552px 0 !important; }
624
+ .weglot-flags.flag-2.tl > a:before, .weglot-flags.flag-2.tl > span:before {
625
+ background-position: -1008px 0 !important; }
626
+ .weglot-flags.flag-2.ty > a:before, .weglot-flags.flag-2.ty > span:before {
627
+ background-position: -4512px 0 !important; }
628
+ .weglot-flags.flag-2.tg > a:before, .weglot-flags.flag-2.tg > span:before {
629
+ background-position: -264px 0 !important; }
630
+ .weglot-flags.flag-2.ta > a:before, .weglot-flags.flag-2.ta > span:before {
631
+ background-position: -1728px 0 !important; }
632
+ .weglot-flags.flag-2.tt > a:before, .weglot-flags.flag-2.tt > span:before {
633
+ background-position: -936px 0 !important; }
634
+ .weglot-flags.flag-2.te > a:before, .weglot-flags.flag-2.te > span:before {
635
+ background-position: -1728px 0 !important; }
636
+ .weglot-flags.flag-2.th > a:before, .weglot-flags.flag-2.th > span:before {
637
+ background-position: -456px 0 !important; }
638
+ .weglot-flags.flag-2.to > a:before, .weglot-flags.flag-2.to > span:before {
639
+ background-position: -3264px 0 !important; }
640
+ .weglot-flags.flag-2.tr > a:before, .weglot-flags.flag-2.tr > span:before {
641
+ background-position: -360px 0 !important; }
642
+ .weglot-flags.flag-2.uk > a:before, .weglot-flags.flag-2.uk > span:before {
643
+ background-position: -288px 0 !important; }
644
+ .weglot-flags.flag-2.ur > a:before, .weglot-flags.flag-2.ur > span:before {
645
+ background-position: -1128px 0 !important; }
646
+ .weglot-flags.flag-2.uz > a:before, .weglot-flags.flag-2.uz > span:before {
647
+ background-position: -240px 0 !important; }
648
+ .weglot-flags.flag-2.vi > a:before, .weglot-flags.flag-2.vi > span:before {
649
+ background-position: -144px 0 !important; }
650
+ .weglot-flags.flag-2.cy > a:before, .weglot-flags.flag-2.cy > span:before {
651
+ background-position: -4848px 0 !important; }
652
+ .weglot-flags.flag-2.fy > a:before, .weglot-flags.flag-2.fy > span:before {
653
+ background-position: -1296px 0 !important; }
654
+ .weglot-flags.flag-2.xh > a:before, .weglot-flags.flag-2.xh > span:before {
655
+ background-position: -4968px 0 !important; }
656
+ .weglot-flags.flag-2.yi > a:before, .weglot-flags.flag-2.yi > span:before {
657
+ background-position: -1992px 0 !important; }
658
+ .weglot-flags.flag-2.yo > a:before, .weglot-flags.flag-2.yo > span:before {
659
+ background-position: -1103px 0 !important; }
660
+ .weglot-flags.flag-2.zu > a:before, .weglot-flags.flag-2.zu > span:before {
661
+ background-position: -4968px 0 !important; }
662
+ .weglot-flags.flag-3 {
663
+ /* TODO */
664
+ /* TODO */
665
+ /* TODO */ }
666
+ .weglot-flags.flag-3.hw > a:before, .weglot-flags.flag-3.hw > span:before {
667
+ background-position: -2711px 0 !important; }
668
+ .weglot-flags.flag-3.fl > a:before, .weglot-flags.flag-3.fl > span:before {
669
+ background-position: -5232px 0 !important; }
670
+ .weglot-flags.flag-3.af > a:before, .weglot-flags.flag-3.af > span:before {
671
+ background-position: -5496px 0 !important; }
672
+ .weglot-flags.flag-3.sq > a:before, .weglot-flags.flag-3.sq > span:before {
673
+ background-position: -4776px 0 !important; }
674
+ .weglot-flags.flag-3.am > a:before, .weglot-flags.flag-3.am > span:before {
675
+ background-position: -192px 0 !important; }
676
+ .weglot-flags.flag-3.ar > a:before, .weglot-flags.flag-3.ar > span:before {
677
+ background-position: -3336px 0 !important; }
678
+ .weglot-flags.flag-3.hy > a:before, .weglot-flags.flag-3.hy > span:before {
679
+ background-position: -4632px 0 !important; }
680
+ .weglot-flags.flag-3.az > a:before, .weglot-flags.flag-3.az > span:before {
681
+ background-position: -4536px 0 !important; }
682
+ .weglot-flags.flag-3.ba > a:before, .weglot-flags.flag-3.ba > span:before {
683
+ background-position: -2664px 0 !important; }
684
+ .weglot-flags.flag-3.eu > a:before, .weglot-flags.flag-3.eu > span:before {
685
+ background-position: -5808px 0 !important; }
686
+ .weglot-flags.flag-3.be > a:before, .weglot-flags.flag-3.be > span:before {
687
+ background-position: -144px 0 !important; }
688
+ .weglot-flags.flag-3.bn > a:before, .weglot-flags.flag-3.bn > span:before {
689
+ background-position: -4488px 0 !important; }
690
+ .weglot-flags.flag-3.bs > a:before, .weglot-flags.flag-3.bs > span:before {
691
+ background-position: -4392px 0 !important; }
692
+ .weglot-flags.flag-3.bg > a:before, .weglot-flags.flag-3.bg > span:before {
693
+ background-position: -4296px 0 !important; }
694
+ .weglot-flags.flag-3.br > a:before, .weglot-flags.flag-3.br > span:before {
695
+ background-position: -4344px 0 !important; }
696
+ .weglot-flags.flag-3.my > a:before, .weglot-flags.flag-3.my > span:before {
697
+ background-position: -3769px 0 !important; }
698
+ .weglot-flags.flag-3.ca > a:before, .weglot-flags.flag-3.ca > span:before {
699
+ background-position: -5784px 0 !important; }
700
+ .weglot-flags.flag-3.zh > a:before, .weglot-flags.flag-3.zh > span:before {
701
+ background-position: -3240px 0 !important; }
702
+ .weglot-flags.flag-3.tw > a:before, .weglot-flags.flag-3.tw > span:before {
703
+ background-position: -4008px 0 !important; }
704
+ .weglot-flags.flag-3.km > a:before, .weglot-flags.flag-3.km > span:before {
705
+ background-position: -4201px 0 !important; }
706
+ .weglot-flags.flag-3.ny > a:before, .weglot-flags.flag-3.ny > span:before {
707
+ background-position: -384px 0 !important; }
708
+ .weglot-flags.flag-3.co > a:before, .weglot-flags.flag-3.co > span:before {
709
+ background-position: -2760px 0 !important; }
710
+ .weglot-flags.flag-3.hr > a:before, .weglot-flags.flag-3.hr > span:before {
711
+ background-position: -3048px 0 !important; }
712
+ .weglot-flags.flag-3.cs > a:before, .weglot-flags.flag-3.cs > span:before {
713
+ background-position: -5280px 0 !important; }
714
+ .weglot-flags.flag-3.da > a:before, .weglot-flags.flag-3.da > span:before {
715
+ background-position: -3024px 0 !important; }
716
+ .weglot-flags.flag-3.nl > a:before, .weglot-flags.flag-3.nl > span:before {
717
+ background-position: -3360px 0 !important; }
718
+ .weglot-flags.flag-3.en > a:before, .weglot-flags.flag-3.en > span:before {
719
+ background-position: -2520px 0 !important; }
720
+ .weglot-flags.flag-3.eo > a:before, .weglot-flags.flag-3.eo > span:before {
721
+ background-position: -2520px 0 !important; }
722
+ .weglot-flags.flag-3.et > a:before, .weglot-flags.flag-3.et > span:before {
723
+ background-position: -2856px 0 !important; }
724
+ .weglot-flags.flag-3.fj > a:before, .weglot-flags.flag-3.fj > span:before {
725
+ background-position: -0px 0 !important; }
726
+ .weglot-flags.flag-3.fi > a:before, .weglot-flags.flag-3.fi > span:before {
727
+ background-position: -2784px 0 !important; }
728
+ .weglot-flags.flag-3.fr > a:before, .weglot-flags.flag-3.fr > span:before {
729
+ background-position: -2760px 0 !important; }
730
+ .weglot-flags.flag-3.gl > a:before, .weglot-flags.flag-3.gl > span:before {
731
+ background-position: -5832px 0 !important; }
732
+ .weglot-flags.flag-3.ka > a:before, .weglot-flags.flag-3.ka > span:before {
733
+ background-position: -1536px 0 !important; }
734
+ .weglot-flags.flag-3.de > a:before, .weglot-flags.flag-3.de > span:before {
735
+ background-position: -1488px 0 !important; }
736
+ .weglot-flags.flag-3.el > a:before, .weglot-flags.flag-3.el > span:before {
737
+ background-position: -1416px 0 !important; }
738
+ .weglot-flags.flag-3.gu > a:before, .weglot-flags.flag-3.gu > span:before {
739
+ background-position: -2304px 0 !important; }
740
+ .weglot-flags.flag-3.ht > a:before, .weglot-flags.flag-3.ht > span:before {
741
+ background-position: -5160px 0 !important; }
742
+ .weglot-flags.flag-3.ha > a:before, .weglot-flags.flag-3.ha > span:before {
743
+ background-position: -361px 0 !important; }
744
+ .weglot-flags.flag-3.he > a:before, .weglot-flags.flag-3.he > span:before {
745
+ background-position: -1608px 0 !important; }
746
+ .weglot-flags.flag-3.hi > a:before, .weglot-flags.flag-3.hi > span:before {
747
+ background-position: -2304px 0 !important; }
748
+ .weglot-flags.flag-3.hu > a:before, .weglot-flags.flag-3.hu > span:before {
749
+ background-position: -1920px 0 !important; }
750
+ .weglot-flags.flag-3.is > a:before, .weglot-flags.flag-3.is > span:before {
751
+ background-position: -840px 0 !important; }
752
+ .weglot-flags.flag-3.ig > a:before, .weglot-flags.flag-3.ig > span:before {
753
+ background-position: -3457px 0 !important; }
754
+ .weglot-flags.flag-3.id > a:before, .weglot-flags.flag-3.id > span:before {
755
+ background-position: -4992px 0 !important; }
756
+ .weglot-flags.flag-3.ga > a:before, .weglot-flags.flag-3.ga > span:before {
757
+ background-position: -2016px 0 !important; }
758
+ .weglot-flags.flag-3.it > a:before, .weglot-flags.flag-3.it > span:before {
759
+ background-position: -336px 0 !important; }
760
+ .weglot-flags.flag-3.ja > a:before, .weglot-flags.flag-3.ja > span:before {
761
+ background-position: -2448px 0 !important; }
762
+ .weglot-flags.flag-3.jv > a:before, .weglot-flags.flag-3.jv > span:before {
763
+ background-position: -864px 0 !important; }
764
+ .weglot-flags.flag-3.kn > a:before, .weglot-flags.flag-3.kn > span:before {
765
+ background-position: -2304px 0 !important; }
766
+ .weglot-flags.flag-3.kk > a:before, .weglot-flags.flag-3.kk > span:before {
767
+ background-position: -3912px 0 !important; }
768
+ .weglot-flags.flag-3.ko > a:before, .weglot-flags.flag-3.ko > span:before {
769
+ background-position: -2256px 0 !important; }
770
+ .weglot-flags.flag-3.ku > a:before, .weglot-flags.flag-3.ku > span:before {
771
+ background-position: -1920px 0 !important; }
772
+ .weglot-flags.flag-3.ky > a:before, .weglot-flags.flag-3.ky > span:before {
773
+ background-position: -744px 0 !important; }
774
+ .weglot-flags.flag-3.lo > a:before, .weglot-flags.flag-3.lo > span:before {
775
+ background-position: -3816px 0 !important; }
776
+ .weglot-flags.flag-3.la > a:before, .weglot-flags.flag-3.la > span:before {
777
+ background-position: -336px 0 !important; }
778
+ .weglot-flags.flag-3.lv > a:before, .weglot-flags.flag-3.lv > span:before {
779
+ background-position: -216px 0 !important; }
780
+ .weglot-flags.flag-3.lt > a:before, .weglot-flags.flag-3.lt > span:before {
781
+ background-position: -1776px 0 !important; }
782
+ .weglot-flags.flag-3.lb > a:before, .weglot-flags.flag-3.lb > span:before {
783
+ background-position: -1945px 0 !important; }
784
+ .weglot-flags.flag-3.mk > a:before, .weglot-flags.flag-3.mk > span:before {
785
+ background-position: -2208px 0 !important; }
786
+ .weglot-flags.flag-3.mg > a:before, .weglot-flags.flag-3.mg > span:before {
787
+ background-position: -5064px 0 !important; }
788
+ .weglot-flags.flag-3.ms > a:before, .weglot-flags.flag-3.ms > span:before {
789
+ background-position: -864px 0 !important; }
790
+ .weglot-flags.flag-3.ml > a:before, .weglot-flags.flag-3.ml > span:before {
791
+ background-position: -2304px 0 !important; }
792
+ .weglot-flags.flag-3.mt > a:before, .weglot-flags.flag-3.mt > span:before {
793
+ background-position: -4920px 0 !important; }
794
+ .weglot-flags.flag-3.mi > a:before, .weglot-flags.flag-3.mi > span:before {
795
+ background-position: -2113px 0 !important; }
796
+ .weglot-flags.flag-3.mr > a:before, .weglot-flags.flag-3.mr > span:before {
797
+ background-position: -2304px 0 !important; }
798
+ .weglot-flags.flag-3.mn > a:before, .weglot-flags.flag-3.mn > span:before {
799
+ background-position: -24px 0 !important; }
800
+ .weglot-flags.flag-3.ne > a:before, .weglot-flags.flag-3.ne > span:before {
801
+ background-position: -5642px 0 !important; }
802
+ .weglot-flags.flag-3.no > a:before, .weglot-flags.flag-3.no > span:before {
803
+ background-position: -984px 0 !important; }
804
+ .weglot-flags.flag-3.ps > a:before, .weglot-flags.flag-3.ps > span:before {
805
+ background-position: -4753px 0 !important; }
806
+ .weglot-flags.flag-3.fa > a:before, .weglot-flags.flag-3.fa > span:before {
807
+ background-position: -816px 0 !important; }
808
+ .weglot-flags.flag-3.pl > a:before, .weglot-flags.flag-3.pl > span:before {
809
+ background-position: -4944px 0 !important; }
810
+ .weglot-flags.flag-3.pt > a:before, .weglot-flags.flag-3.pt > span:before {
811
+ background-position: -3504px 0 !important; }
812
+ .weglot-flags.flag-3.pa > a:before, .weglot-flags.flag-3.pa > span:before {
813
+ background-position: -2304px 0 !important; }
814
+ .weglot-flags.flag-3.ro > a:before, .weglot-flags.flag-3.ro > span:before {
815
+ background-position: -3744px 0 !important; }
816
+ .weglot-flags.flag-3.ru > a:before, .weglot-flags.flag-3.ru > span:before {
817
+ background-position: -2664px 0 !important; }
818
+ .weglot-flags.flag-3.sm > a:before, .weglot-flags.flag-3.sm > span:before {
819
+ background-position: -1248px 0 !important; }
820
+ .weglot-flags.flag-3.gd > a:before, .weglot-flags.flag-3.gd > span:before {
821
+ background-position: -3841px 0 !important; }
822
+ .weglot-flags.flag-3.sr > a:before, .weglot-flags.flag-3.sr > span:before {
823
+ background-position: -3312px 0 !important; }
824
+ .weglot-flags.flag-3.sn > a:before, .weglot-flags.flag-3.sn > span:before {
825
+ background-position: -5521px 0 !important; }
826
+ .weglot-flags.flag-3.sd > a:before, .weglot-flags.flag-3.sd > span:before {
827
+ background-position: -1993px 0 !important; }
828
+ .weglot-flags.flag-3.si > a:before, .weglot-flags.flag-3.si > span:before {
829
+ background-position: -2833px 0 !important; }
830
+ .weglot-flags.flag-3.sk > a:before, .weglot-flags.flag-3.sk > span:before {
831
+ background-position: -552px 0 !important; }
832
+ .weglot-flags.flag-3.sl > a:before, .weglot-flags.flag-3.sl > span:before {
833
+ background-position: -936px 0 !important; }
834
+ .weglot-flags.flag-3.so > a:before, .weglot-flags.flag-3.so > span:before {
835
+ background-position: -4032px 0 !important; }
836
+ .weglot-flags.flag-3.st > a:before, .weglot-flags.flag-3.st > span:before {
837
+ background-position: -3961px 0 !important; }
838
+ .weglot-flags.flag-3.es > a:before, .weglot-flags.flag-3.es > span:before {
839
+ background-position: -3576px 0 !important; }
840
+ .weglot-flags.flag-3.su > a:before, .weglot-flags.flag-3.su > span:before {
841
+ background-position: -3985px 0 !important; }
842
+ .weglot-flags.flag-3.sw > a:before, .weglot-flags.flag-3.sw > span:before {
843
+ background-position: -912px 0 !important; }
844
+ .weglot-flags.flag-3.sv > a:before, .weglot-flags.flag-3.sv > span:before {
845
+ background-position: -264px 0 !important; }
846
+ .weglot-flags.flag-3.tl > a:before, .weglot-flags.flag-3.tl > span:before {
847
+ background-position: -5232px 0 !important; }
848
+ .weglot-flags.flag-3.ty > a:before, .weglot-flags.flag-3.ty > span:before {
849
+ background-position: -1512px 0 !important; }
850
+ .weglot-flags.flag-3.tg > a:before, .weglot-flags.flag-3.tg > span:before {
851
+ background-position: -3720px 0 !important; }
852
+ .weglot-flags.flag-3.ta > a:before, .weglot-flags.flag-3.ta > span:before {
853
+ background-position: -2304px 0 !important; }
854
+ .weglot-flags.flag-3.tt > a:before, .weglot-flags.flag-3.tt > span:before {
855
+ background-position: -2664px 0 !important; }
856
+ .weglot-flags.flag-3.te > a:before, .weglot-flags.flag-3.te > span:before {
857
+ background-position: -2304px 0 !important; }
858
+ .weglot-flags.flag-3.th > a:before, .weglot-flags.flag-3.th > span:before {
859
+ background-position: -4848px 0 !important; }
860
+ .weglot-flags.flag-3.to > a:before, .weglot-flags.flag-3.to > span:before {
861
+ background-position: -1680px 0 !important; }
862
+ .weglot-flags.flag-3.tr > a:before, .weglot-flags.flag-3.tr > span:before {
863
+ background-position: -432px 0 !important; }
864
+ .weglot-flags.flag-3.uk > a:before, .weglot-flags.flag-3.uk > span:before {
865
+ background-position: -5736px 0 !important; }
866
+ .weglot-flags.flag-3.ur > a:before, .weglot-flags.flag-3.ur > span:before {
867
+ background-position: -1992px 0 !important; }
868
+ .weglot-flags.flag-3.uz > a:before, .weglot-flags.flag-3.uz > span:before {
869
+ background-position: -2160px 0 !important; }
870
+ .weglot-flags.flag-3.vi > a:before, .weglot-flags.flag-3.vi > span:before {
871
+ background-position: -3384px 0 !important; }
872
+ .weglot-flags.flag-3.cy > a:before, .weglot-flags.flag-3.cy > span:before {
873
+ background-position: -5040px 0 !important; }
874
+ .weglot-flags.flag-3.fy > a:before, .weglot-flags.flag-3.fy > span:before {
875
+ background-position: -3360px 0 !important; }
876
+ .weglot-flags.flag-3.xh > a:before, .weglot-flags.flag-3.xh > span:before {
877
+ background-position: -5496px 0 !important; }
878
+ .weglot-flags.flag-3.yi > a:before, .weglot-flags.flag-3.yi > span:before {
879
+ background-position: -1608px 0 !important; }
880
+ .weglot-flags.flag-3.yo > a:before, .weglot-flags.flag-3.yo > span:before {
881
+ background-position: -3457px 0 !important; }
882
+ .weglot-flags.flag-3.zu > a:before, .weglot-flags.flag-3.zu > span:before {
883
+ background-position: -5496px 0 !important; }
884
+
885
+ body div[id^="mega-menu-wrap"] #mega-menu-primary li.mega-menu-item.weglot-flags a.mega-menu-link:before {
886
+ background-image: url("../images/rect_mate.png") !important;
887
+ background-size: auto 20px !important;
888
+ border-radius: 0px !important;
889
+ width: 30px !important;
890
+ height: 20px !important;
891
+ content: "";
892
+ vertical-align: middle;
893
+ margin-right: 10px;
894
+ display: inline-block;
895
+ overflow: hidden; }
896
+
897
+ body div[id^="mega-menu-wrap"] #mega-menu-primary li.mega-menu-item.weglot-flags.flag-1 .mega-menu-link:before {
898
+ background-image: url("../images/rect_bright.png") !important; }
899
+
900
+ body div[id^="mega-menu-wrap"] #mega-menu-primary li.mega-menu-item.weglot-flags.flag-2 .mega-menu-link:before {
901
+ background-image: url("../images/square_flag.png") !important;
902
+ width: 24px !important;
903
+ height: 24px !important;
904
+ background-size: auto 24px !important; }
905
+
906
+ body div[id^="mega-menu-wrap"] #mega-menu-primary li.mega-menu-item.weglot-flags.flag-3 .mega-menu-link:before {
907
+ background-image: url("../images/circular_flag.png") !important;
908
+ width: 24px !important;
909
+ height: 24px !important;
910
+ background-size: auto 24px !important; }
911
+
912
+ #wp-admin-bar-weglot > .ab-item {
913
+ background-image: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIzMDAiIGhlaWdodD0iMzAwIj48ZyBmaWxsPSIjYTBhNWFhIj48cGF0aCBkPSJNMjEuNzM5IDkyLjU2NWw1MS44MjggMTI5LjczMiAyMy42Ni02MC4yNzkgMjQuMTQ0IDYwLjI3OUwxNzMuMiA5Mi41NjVoLTI4LjAwN2wtMjMuODIyIDU4Ljc1LTIzLjkwMi01OC43NS0yMy45MDIgNTguNzUtMjMuOTAyLTU4Ljc1SDIxLjczOXoiLz48cGF0aCBkPSJNMjEwLjAwNiA5Mi43MWMtMTcuODY2IDAtMzMuMTU3IDYuMzU4LTQ1Ljg3MyAxOS4wNzQtMTIuNzE1IDEyLjcxNi0xOC45OTMgMjguMDA2LTE4Ljk5MyA0NS43OTIgMCAxNy44NjcgNi4yNzggMzMuMTU4IDE4Ljk5MyA0NS44NzMgMTIuNzE2IDEyLjcxNiAyOC4wMDcgMTguOTkzIDQ1Ljg3MyAxOC45OTMgMTcuNzg2IDAgMzMuMDc3LTYuMjc3IDQ1Ljc5My0xOC45OTMgMTIuNzE1LTEyLjcxNSAxOS4wNzMtMjguMDA2IDE5LjA3My00NS44NzMgMC00LjUwNy0uNDgzLTguODUyLTEuMjg4LTEyLjk1N2gtNjMuNTc4djI1LjkxNGgzNi42OTljLTIuNzM3IDcuNTY1LTcuNDg1IDEzLjg0My0xNC4wODQgMTguNjcxLTYuNjggNC44My0xNC4yNDUgNy4yNDQtMjIuNjE1IDcuMjQ0LTEwLjc4NCAwLTE5Ljk1OC0zLjc4My0yNy41MjMtMTEuMzQ4LTcuNTY2LTcuNTY1LTExLjM0OC0xNi43NC0xMS4zNDgtMjcuNTI0IDAtMTAuNjIzIDMuNzgyLTE5Ljc5OCAxMS4zNDgtMjcuNDQzIDcuNTY1LTcuNjQ1IDE2Ljc0LTExLjUwOCAyNy41MjMtMTEuNTA4IDEwLjYyMyAwIDE5Ljc5OCAzLjg2MyAyNy41MjQgMTEuNDI4bDE4LjM1LTE4LjM1YTY3Ljk2MyA2Ny45NjMgMCAwMC0yMC43NjQtMTMuODQyYy03Ljg4Ny0zLjM4LTE2LjI1Ny01LjE1LTI1LjExLTUuMTV6Ii8+PC9nPjwvc3ZnPg==") !important;
914
+ -webkit-background-size: 22px auto !important;
915
+ background-size: 22px auto !important;
916
+ background-repeat: no-repeat !important;
917
+ background-position: 4px 5px !important;
918
+ padding-left: 30px !important; }
919
+
920
+ li.weglot-hide,
921
+ .weglot-hide {
922
+ display: none !important; }
923
+
924
+ .country-selector {
925
+ z-index: 9999;
926
+ text-align: left;
927
+ position: relative;
928
+ display: inline-block;
929
+ width: auto; }
930
+ .country-selector a {
931
+ padding: 0 10px;
932
+ outline: none;
933
+ text-decoration: none;
934
+ float: none !important;
935
+ white-space: nowrap;
936
+ font-weight: normal;
937
+ cursor: pointer;
938
+ color: black;
939
+ -webkit-touch-callout: none;
940
+ /* iOS Safari */
941
+ -webkit-user-select: none;
942
+ -moz-user-select: none;
943
+ -ms-user-select: none;
944
+ user-select: none; }
945
+ .country-selector a:focus {
946
+ outline: none; }
947
+ .country-selector ul {
948
+ padding: 0px;
949
+ z-index: 1010;
950
+ list-style: none;
951
+ margin: 0; }
952
+ .country-selector li {
953
+ margin: 0px;
954
+ padding: 0px; }
955
+ .country-selector.weglot-dropdown {
956
+ background-color: white; }
957
+ .country-selector.weglot-dropdown a,
958
+ .country-selector.weglot-dropdown span {
959
+ display: block;
960
+ height: 37px;
961
+ line-height: 36px;
962
+ font-size: 13px;
963
+ padding: 0 10px;
964
+ width: 100%;
965
+ -webkit-box-sizing: border-box;
966
+ box-sizing: border-box;
967
+ font-weight: normal; }
968
+ .country-selector.weglot-dropdown a:hover,
969
+ .country-selector.weglot-dropdown span:hover {
970
+ cursor: pointer; }
971
+ .country-selector.weglot-dropdown .wgcurrent {
972
+ border: 1px solid #e0e0e0;
973
+ list-style: none;
974
+ display: block;
975
+ margin: 0; }
976
+ .country-selector.weglot-dropdown .wgcurrent a,
977
+ .country-selector.weglot-dropdown .wgcurrent span {
978
+ padding-right: 60px; }
979
+ .country-selector.weglot-dropdown .wgcurrent:after {
980
+ display: inline-block;
981
+ position: absolute;
982
+ top: 17px;
983
+ right: 8px;
984
+ width: 13px;
985
+ height: 7px;
986
+ -ms-interpolation-mode: nearest-neighbor;
987
+ image-rendering: -webkit-optimize-contrast;
988
+ image-rendering: -moz-crisp-edges;
989
+ image-rendering: -o-pixelated;
990
+ image-rendering: pixelated;
991
+ background: url("../images/wgarrowdown.png") no-repeat;
992
+ content: "";
993
+ -webkit-transition: all 200ms;
994
+ -o-transition: all 200ms;
995
+ transition: all 200ms;
996
+ -webkit-transform: rotate(-90deg);
997
+ -ms-transform: rotate(-90deg);
998
+ transform: rotate(-90deg); }
999
+ .country-selector.weglot-dropdown ul {
1000
+ position: absolute;
1001
+ min-width: 100%;
1002
+ border: 1px solid #ebeef0;
1003
+ background: white;
1004
+ left: 0;
1005
+ top: initial;
1006
+ -webkit-box-sizing: border-box;
1007
+ box-sizing: border-box;
1008
+ display: none;
1009
+ padding: 0; }
1010
+ .country-selector.weglot-dropdown input:checked ~ ul {
1011
+ display: block; }
1012
+ .country-selector.weglot-dropdown input:checked ~ .wgcurrent:after {
1013
+ -webkit-transform: rotate(0deg);
1014
+ -ms-transform: rotate(0deg);
1015
+ transform: rotate(0deg); }
1016
+ .country-selector.weglot-dropdown li {
1017
+ width: 100%; }
1018
+ .country-selector.weglot-dropdown.weglot-invert ul {
1019
+ bottom: 38px; }
1020
+ .country-selector.weglot-dropdown.weglot-invert input:checked ~ .wgcurrent:after {
1021
+ -webkit-transform: rotate(-180deg);
1022
+ -ms-transform: rotate(-180deg);
1023
+ transform: rotate(-180deg); }
1024
+ .country-selector.weglot-default {
1025
+ position: fixed;
1026
+ bottom: 0px;
1027
+ right: 40px; }
1028
+ .country-selector.weglot-inline a:hover {
1029
+ text-decoration: underline;
1030
+ color: #00a0d2; }
1031
+ .country-selector.weglot-inline .wgcurrent a {
1032
+ text-decoration: underline; }
1033
+ .country-selector.weglot-inline label {
1034
+ margin-bottom: 0;
1035
+ display: inline-block;
1036
+ vertical-align: middle; }
1037
+ .country-selector.weglot-inline ul {
1038
+ display: inline-block;
1039
+ vertical-align: middle; }
1040
+ .country-selector.weglot-inline li {
1041
+ line-height: 1 !important;
1042
+ display: inline-block;
1043
+ margin: 2px 0px;
1044
+ vertical-align: middle; }
1045
+ .country-selector.weglot-inline.weglot-default {
1046
+ bottom: 5px; }
1047
+ .country-selector input {
1048
+ display: none !important; }
1049
+
1050
+ .navbar .navbar-nav li.weglot-flags a.weglot-lang:before {
1051
+ position: static;
1052
+ -webkit-transform: none;
1053
+ -ms-transform: none;
1054
+ transform: none;
1055
+ -webkit-transition: none;
1056
+ -o-transition: none;
1057
+ transition: none; }
1058
+
1059
+ .js .main-navigation .country-selector ul {
1060
+ display: none; }
1061
+
1062
+ html[dir="rtl"] .weglot-flags a:before,
1063
+ html[dir="rtl"] .weglot-flags span:before {
1064
+ margin-right: 0;
1065
+ margin-left: 10px; }
1066
+
1067
+ .weglot-flags > a:before,
1068
+ .weglot-flags > span:before {
1069
+ background-image: url("../images/rect_mate.png");
1070
+ -webkit-background-size: auto 20px !important;
1071
+ background-size: auto 20px !important;
1072
+ border-radius: 0px !important;
1073
+ width: 30px !important;
1074
+ height: 20px !important;
1075
+ content: "";
1076
+ vertical-align: middle;
1077
+ margin-right: 10px;
1078
+ display: inline-block;
1079
+ overflow: hidden; }
1080
+
1081
+ .weglot-flags.flag-1 > a:before,
1082
+ .weglot-flags.flag-1 > span:before {
1083
+ background-image: url("../images/rect_bright.png"); }
1084
+
1085
+ .weglot-flags.flag-2 > a:before,
1086
+ .weglot-flags.flag-2 > span:before {
1087
+ background-image: url("../images/square_flag.png");
1088
+ width: 24px !important;
1089
+ height: 24px !important;
1090
+ -webkit-background-size: auto 24px !important;
1091
+ background-size: auto 24px !important; }
1092
+
1093
+ .weglot-flags.flag-3 a:before,
1094
+ .weglot-flags.flag-3 span:before {
1095
+ background-image: url("../images/circular_flag.png");
1096
+ width: 24px !important;
1097
+ height: 24px !important;
1098
+ -webkit-background-size: auto 24px !important;
1099
+ background-size: auto 24px !important; }
1100
+
1101
+ .weglot-flags > a span:before {
1102
+ background-image: none !important;
1103
+ display: none !important; }
1104
+
1105
+ .weglot-flags > span a:before {
1106
+ background-image: none !important;
1107
+ display: none !important; }
dist/front-amp-css.js CHANGED
@@ -1 +1 @@
1
- !function(e){var t={};function r(n){if(t[n])return t[n].exports;var o=t[n]={i:n,l:!1,exports:{}};return e[n].call(o.exports,o,o.exports,r),o.l=!0,o.exports}r.m=e,r.c=t,r.d=function(e,t,n){r.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},r.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},r.t=function(e,t){if(1&t&&(e=r(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(r.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)r.d(n,o,function(t){return e[t]}.bind(null,o));return n},r.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return r.d(t,"a",t),t},r.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},r.p="/dist/",r(r.s=15)}({15:function(e,t){}});
1
+ !function(e){var t={};function r(n){if(t[n])return t[n].exports;var o=t[n]={i:n,l:!1,exports:{}};return e[n].call(o.exports,o,o.exports,r),o.l=!0,o.exports}r.m=e,r.c=t,r.d=function(e,t,n){r.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},r.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},r.t=function(e,t){if(1&t&&(e=r(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(r.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)r.d(n,o,function(t){return e[t]}.bind(null,o));return n},r.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return r.d(t,"a",t),t},r.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},r.p="/dist/",r(r.s=8)}({8:function(e,t){}});
dist/front-css.js CHANGED
@@ -1 +1 @@
1
- !function(e){var t={};function r(n){if(t[n])return t[n].exports;var o=t[n]={i:n,l:!1,exports:{}};return e[n].call(o.exports,o,o.exports,r),o.l=!0,o.exports}r.m=e,r.c=t,r.d=function(e,t,n){r.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},r.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},r.t=function(e,t){if(1&t&&(e=r(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(r.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)r.d(n,o,function(t){return e[t]}.bind(null,o));return n},r.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return r.d(t,"a",t),t},r.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},r.p="/dist/",r(r.s=7)}({7:function(e,t){}});
1
+ !function(e){var t={};function r(n){if(t[n])return t[n].exports;var o=t[n]={i:n,l:!1,exports:{}};return e[n].call(o.exports,o,o.exports,r),o.l=!0,o.exports}r.m=e,r.c=t,r.d=function(e,t,n){r.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},r.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},r.t=function(e,t){if(1&t&&(e=r(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(r.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)r.d(n,o,function(t){return e[t]}.bind(null,o));return n},r.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return r.d(t,"a",t),t},r.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},r.p="/dist/",r(r.s=16)}({16:function(e,t){}});
dist/front-js.js CHANGED
@@ -1 +1 @@
1
- !function(e){var t={};function o(n){if(t[n])return t[n].exports;var r=t[n]={i:n,l:!1,exports:{}};return e[n].call(r.exports,r,r.exports,o),r.l=!0,r.exports}o.m=e,o.c=t,o.d=function(e,t,n){o.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},o.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},o.t=function(e,t){if(1&t&&(e=o(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(o.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var r in e)o.d(n,r,function(t){return e[t]}.bind(null,r));return n},o.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return o.d(t,"a",t),t},o.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},o.p="/dist/",o(o.s=3)}({3:function(e,t){document.addEventListener("DOMContentLoaded",function(e){const t=document.querySelector(".country-selector");if(!t)return;const o=function(e){let t=0,o=0;do{t+=e.offsetTop||0,o+=e.offsetLeft||0,e=e.offsetParent}while(e);return{top:t,left:o}}(t).top,n=document.body,r=document.documentElement,u=Math.max(n.scrollHeight,n.offsetHeight,r.clientHeight,r.scrollHeight,r.offsetHeight),i=window.getComputedStyle(t).getPropertyValue("position");window.getComputedStyle(t).getPropertyValue("bottom"),window.getComputedStyle(t).getPropertyValue("top");return("fixed"!==i&&o>u/2||"fixed"===i&&o>100)&&(t.className+=" weglot-invert"),!1})}});
1
+ !function(e){var t={};function o(n){if(t[n])return t[n].exports;var r=t[n]={i:n,l:!1,exports:{}};return e[n].call(r.exports,r,r.exports,o),r.l=!0,r.exports}o.m=e,o.c=t,o.d=function(e,t,n){o.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},o.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},o.t=function(e,t){if(1&t&&(e=o(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(o.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var r in e)o.d(n,r,function(t){return e[t]}.bind(null,r));return n},o.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return o.d(t,"a",t),t},o.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},o.p="/dist/",o(o.s=6)}({6:function(e,t){document.addEventListener("DOMContentLoaded",function(e){const t=document.querySelector(".country-selector");if(!t)return;const o=function(e){let t=0,o=0;do{t+=e.offsetTop||0,o+=e.offsetLeft||0,e=e.offsetParent}while(e);return{top:t,left:o}}(t).top,n=document.body,r=document.documentElement,u=Math.max(n.scrollHeight,n.offsetHeight,r.clientHeight,r.scrollHeight,r.offsetHeight),i=window.getComputedStyle(t).getPropertyValue("position");window.getComputedStyle(t).getPropertyValue("bottom"),window.getComputedStyle(t).getPropertyValue("top");return("fixed"!==i&&o>u/2||"fixed"===i&&o>100)&&(t.className+=" weglot-invert"),!1})}});
dist/metaboxes-js.js CHANGED
@@ -1 +1 @@
1
- !function(e){var t={};function n(a){if(t[a])return t[a].exports;var o=t[a]={i:a,l:!1,exports:{}};return e[a].call(o.exports,o,o.exports,n),o.l=!0,o.exports}n.m=e,n.c=t,n.d=function(e,t,a){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:a})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var a=Object.create(null);if(n.r(a),Object.defineProperty(a,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)n.d(a,o,function(t){return e[t]}.bind(null,o));return a},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="/dist/",n(n.s=6)}([function(e,t){Array.prototype.find||Object.defineProperty(Array.prototype,"find",{value:function(e){if(null==this)throw new TypeError('"this" is null or not defined');var t=Object(this),n=t.length>>>0;if("function"!=typeof e)throw new TypeError("predicate must be a function");for(var a=arguments[1],o=0;o<n;){var r=t[o];if(e.call(a,r,o,t))return r;o++}},configurable:!0,writable:!0})},function(e,t){Array.prototype.filter||(Array.prototype.filter=function(e,t){"use strict";if("Function"!=typeof e&&"function"!=typeof e||!this)throw new TypeError;var n=this.length>>>0,a=new Array(n),o=this,r=0,i=-1;if(void 0===t)for(;++i!==n;)i in this&&e(o[i],i,o)&&(a[r++]=o[i]);else for(;++i!==n;)i in this&&e.call(t,o[i],i,o)&&(a[r++]=o[i]);return a.length=r,a})},function(e,t,n){var a;a=function(){var e=JSON.parse('{"$":"dollar","%":"percent","&":"and","<":"less",">":"greater","|":"or","¢":"cent","£":"pound","¤":"currency","¥":"yen","©":"(c)","ª":"a","®":"(r)","º":"o","À":"A","Á":"A","Â":"A","Ã":"A","Ä":"A","Å":"A","Æ":"AE","Ç":"C","È":"E","É":"E","Ê":"E","Ë":"E","Ì":"I","Í":"I","Î":"I","Ï":"I","Ð":"D","Ñ":"N","Ò":"O","Ó":"O","Ô":"O","Õ":"O","Ö":"O","Ø":"O","Ù":"U","Ú":"U","Û":"U","Ü":"U","Ý":"Y","Þ":"TH","ß":"ss","à":"a","á":"a","â":"a","ã":"a","ä":"a","å":"a","æ":"ae","ç":"c","è":"e","é":"e","ê":"e","ë":"e","ì":"i","í":"i","î":"i","ï":"i","ð":"d","ñ":"n","ò":"o","ó":"o","ô":"o","õ":"o","ö":"o","ø":"o","ù":"u","ú":"u","û":"u","ü":"u","ý":"y","þ":"th","ÿ":"y","Ā":"A","ā":"a","Ă":"A","ă":"a","Ą":"A","ą":"a","Ć":"C","ć":"c","Č":"C","č":"c","Ď":"D","ď":"d","Đ":"DJ","đ":"dj","Ē":"E","ē":"e","Ė":"E","ė":"e","Ę":"e","ę":"e","Ě":"E","ě":"e","Ğ":"G","ğ":"g","Ģ":"G","ģ":"g","Ĩ":"I","ĩ":"i","Ī":"i","ī":"i","Į":"I","į":"i","İ":"I","ı":"i","Ķ":"k","ķ":"k","Ļ":"L","ļ":"l","Ľ":"L","ľ":"l","Ł":"L","ł":"l","Ń":"N","ń":"n","Ņ":"N","ņ":"n","Ň":"N","ň":"n","Ő":"O","ő":"o","Œ":"OE","œ":"oe","Ŕ":"R","ŕ":"r","Ř":"R","ř":"r","Ś":"S","ś":"s","Ş":"S","ş":"s","Š":"S","š":"s","Ţ":"T","ţ":"t","Ť":"T","ť":"t","Ũ":"U","ũ":"u","Ū":"u","ū":"u","Ů":"U","ů":"u","Ű":"U","ű":"u","Ų":"U","ų":"u","Ŵ":"W","ŵ":"w","Ŷ":"Y","ŷ":"y","Ÿ":"Y","Ź":"Z","ź":"z","Ż":"Z","ż":"z","Ž":"Z","ž":"z","ƒ":"f","Ơ":"O","ơ":"o","Ư":"U","ư":"u","Lj":"LJ","lj":"lj","Nj":"NJ","nj":"nj","Ș":"S","ș":"s","Ț":"T","ț":"t","˚":"o","Ά":"A","Έ":"E","Ή":"H","Ί":"I","Ό":"O","Ύ":"Y","Ώ":"W","ΐ":"i","Α":"A","Β":"B","Γ":"G","Δ":"D","Ε":"E","Ζ":"Z","Η":"H","Θ":"8","Ι":"I","Κ":"K","Λ":"L","Μ":"M","Ν":"N","Ξ":"3","Ο":"O","Π":"P","Ρ":"R","Σ":"S","Τ":"T","Υ":"Y","Φ":"F","Χ":"X","Ψ":"PS","Ω":"W","Ϊ":"I","Ϋ":"Y","ά":"a","έ":"e","ή":"h","ί":"i","ΰ":"y","α":"a","β":"b","γ":"g","δ":"d","ε":"e","ζ":"z","η":"h","θ":"8","ι":"i","κ":"k","λ":"l","μ":"m","ν":"n","ξ":"3","ο":"o","π":"p","ρ":"r","ς":"s","σ":"s","τ":"t","υ":"y","φ":"f","χ":"x","ψ":"ps","ω":"w","ϊ":"i","ϋ":"y","ό":"o","ύ":"y","ώ":"w","Ё":"Yo","Ђ":"DJ","Є":"Ye","І":"I","Ї":"Yi","Ј":"J","Љ":"LJ","Њ":"NJ","Ћ":"C","Џ":"DZ","А":"A","Б":"B","В":"V","Г":"G","Д":"D","Е":"E","Ж":"Zh","З":"Z","И":"I","Й":"J","К":"K","Л":"L","М":"M","Н":"N","О":"O","П":"P","Р":"R","С":"S","Т":"T","У":"U","Ф":"F","Х":"H","Ц":"C","Ч":"Ch","Ш":"Sh","Щ":"Sh","Ъ":"U","Ы":"Y","Ь":"","Э":"E","Ю":"Yu","Я":"Ya","а":"a","б":"b","в":"v","г":"g","д":"d","е":"e","ж":"zh","з":"z","и":"i","й":"j","к":"k","л":"l","м":"m","н":"n","о":"o","п":"p","р":"r","с":"s","т":"t","у":"u","ф":"f","х":"h","ц":"c","ч":"ch","ш":"sh","щ":"sh","ъ":"u","ы":"y","ь":"","э":"e","ю":"yu","я":"ya","ё":"yo","ђ":"dj","є":"ye","і":"i","ї":"yi","ј":"j","љ":"lj","њ":"nj","ћ":"c","ѝ":"u","џ":"dz","Ґ":"G","ґ":"g","Ғ":"GH","ғ":"gh","Қ":"KH","қ":"kh","Ң":"NG","ң":"ng","Ү":"UE","ү":"ue","Ұ":"U","ұ":"u","Һ":"H","һ":"h","Ә":"AE","ә":"ae","Ө":"OE","ө":"oe","฿":"baht","ა":"a","ბ":"b","გ":"g","დ":"d","ე":"e","ვ":"v","ზ":"z","თ":"t","ი":"i","კ":"k","ლ":"l","მ":"m","ნ":"n","ო":"o","პ":"p","ჟ":"zh","რ":"r","ს":"s","ტ":"t","უ":"u","ფ":"f","ქ":"k","ღ":"gh","ყ":"q","შ":"sh","ჩ":"ch","ც":"ts","ძ":"dz","წ":"ts","ჭ":"ch","ხ":"kh","ჯ":"j","ჰ":"h","Ẁ":"W","ẁ":"w","Ẃ":"W","ẃ":"w","Ẅ":"W","ẅ":"w","ẞ":"SS","Ạ":"A","ạ":"a","Ả":"A","ả":"a","Ấ":"A","ấ":"a","Ầ":"A","ầ":"a","Ẩ":"A","ẩ":"a","Ẫ":"A","ẫ":"a","Ậ":"A","ậ":"a","Ắ":"A","ắ":"a","Ằ":"A","ằ":"a","Ẳ":"A","ẳ":"a","Ẵ":"A","ẵ":"a","Ặ":"A","ặ":"a","Ẹ":"E","ẹ":"e","Ẻ":"E","ẻ":"e","Ẽ":"E","ẽ":"e","Ế":"E","ế":"e","Ề":"E","ề":"e","Ể":"E","ể":"e","Ễ":"E","ễ":"e","Ệ":"E","ệ":"e","Ỉ":"I","ỉ":"i","Ị":"I","ị":"i","Ọ":"O","ọ":"o","Ỏ":"O","ỏ":"o","Ố":"O","ố":"o","Ồ":"O","ồ":"o","Ổ":"O","ổ":"o","Ỗ":"O","ỗ":"o","Ộ":"O","ộ":"o","Ớ":"O","ớ":"o","Ờ":"O","ờ":"o","Ở":"O","ở":"o","Ỡ":"O","ỡ":"o","Ợ":"O","ợ":"o","Ụ":"U","ụ":"u","Ủ":"U","ủ":"u","Ứ":"U","ứ":"u","Ừ":"U","ừ":"u","Ử":"U","ử":"u","Ữ":"U","ữ":"u","Ự":"U","ự":"u","Ỳ":"Y","ỳ":"y","Ỵ":"Y","ỵ":"y","Ỷ":"Y","ỷ":"y","Ỹ":"Y","ỹ":"y","‘":"\'","’":"\'","“":"\\"","”":"\\"","†":"+","•":"*","…":"...","₠":"ecu","₢":"cruzeiro","₣":"french franc","₤":"lira","₥":"mill","₦":"naira","₧":"peseta","₨":"rupee","₩":"won","₪":"new shequel","₫":"dong","€":"euro","₭":"kip","₮":"tugrik","₯":"drachma","₰":"penny","₱":"peso","₲":"guarani","₳":"austral","₴":"hryvnia","₵":"cedi","₸":"kazakhstani tenge","₹":"indian rupee","₽":"russian ruble","₿":"bitcoin","℠":"sm","™":"tm","∂":"d","∆":"delta","∑":"sum","∞":"infinity","♥":"love","元":"yuan","円":"yen","﷼":"rial"}'),t=JSON.parse('{"vi":{"Đ":"D","đ":"d"}}');function n(n,a){if("string"!=typeof n)throw new Error("slugify: string argument expected");var o=t[(a="string"==typeof a?{replacement:a}:a||{}).locale]||{},r=a.replacement||"-",i=n.split("").reduce(function(t,n){return t+(o[n]||e[n]||n)},"").replace(a.remove||/[^\w\s$*_+~.()'"!\-:@]+/g,"").trim().replace(new RegExp("[\\s"+r+"]+","g"),r);return a.lower&&(i=i.toLowerCase()),a.strict&&(i=i.replace(new RegExp("[^a-zA-Z0-9"+r+"]","g"),"")),i}return n.extend=function(t){for(var n in t)e[n]=t[n]},n},e.exports=a(),e.exports.default=a()},,,,function(e,t,n){"use strict";n.r(t);n(0),n(1);var a=n(2),o=n.n(a);(()=>{const e=jQuery,t=()=>{let t={};const n=function(n){const a=e(this).data("lang"),r=o()(e(`#lang-${a}`).val(),{lower:!0,replacement:"-"});e(`#text-edit-${a}`).text(r),e(`#lang-${a}`).hide(),e(this).hide(),e(`.button-weglot-lang[data-lang=${a}]`).show(),e.ajax({url:ajaxurl,method:"POST",data:{action:"weglot_post_name",lang:a,id:e("#weglot_post_id").data("id"),post_name:r},success:function(n){if(n.data&&n.data.code&&"same_post_name"===n.data.code)return e(`#text-edit-${a}`).text(t[a]),void e(`#lang-${a}`).val("");n.data&&n.data.code&&"not_available"===n.data.code&&(e(`#weglot_permalink_not_available_${a}`).show(),e(`#lang-${a}`).val(""),setTimeout(()=>{e(`#weglot_permalink_not_available_${a}`).hide()},5e3)),e(`#text-edit-${a}`).text(n.data.result.slug)}})};e(".button-weglot-lang").each((a,o)=>{e(o).on("click",function(n){n.preventDefault();const a=e(this).data("lang"),o=e(`#text-edit-${a}`).text();t[a]=o,e(`#text-edit-${a}`).text(" "),e(`#lang-${a}`).val(o).show(),e(`.button-weglot-lang-submit[data-lang=${a}]`).show(),e(this).hide()});const r=e(o).data("lang");e(`.button-weglot-lang-submit[data-lang=${r}]`).on("click",n)}),e(".weglot_reset").each((t,n)=>{e(n).on("click",function(t){t.preventDefault();const n=e(this).data("lang"),a=e(this).attr("href"),o=e(this).data("id");e.ajax({url:ajaxurl,method:"POST",data:{action:"weglot_reset_custom_url",code_lang:n,id:o,custom_url:a},success:function(t){e(`#text-edit-${n}`).text(t.data.result.slug)}})})})};document.addEventListener("DOMContentLoaded",()=>{t()})})()}]);
1
+ !function(e){var t={};function n(a){if(t[a])return t[a].exports;var o=t[a]={i:a,l:!1,exports:{}};return e[a].call(o.exports,o,o.exports,n),o.l=!0,o.exports}n.m=e,n.c=t,n.d=function(e,t,a){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:a})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var a=Object.create(null);if(n.r(a),Object.defineProperty(a,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)n.d(a,o,function(t){return e[t]}.bind(null,o));return a},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="/dist/",n(n.s=3)}([function(e,t){Array.prototype.filter||(Array.prototype.filter=function(e,t){"use strict";if("Function"!=typeof e&&"function"!=typeof e||!this)throw new TypeError;var n=this.length>>>0,a=new Array(n),o=this,r=0,i=-1;if(void 0===t)for(;++i!==n;)i in this&&e(o[i],i,o)&&(a[r++]=o[i]);else for(;++i!==n;)i in this&&e.call(t,o[i],i,o)&&(a[r++]=o[i]);return a.length=r,a})},function(e,t){Array.prototype.find||Object.defineProperty(Array.prototype,"find",{value:function(e){if(null==this)throw new TypeError('"this" is null or not defined');var t=Object(this),n=t.length>>>0;if("function"!=typeof e)throw new TypeError("predicate must be a function");for(var a=arguments[1],o=0;o<n;){var r=t[o];if(e.call(a,r,o,t))return r;o++}},configurable:!0,writable:!0})},function(e,t,n){var a;a=function(){var e=JSON.parse('{"$":"dollar","&":"and","<":"less",">":"greater","|":"or","¢":"cent","£":"pound","¤":"currency","¥":"yen","©":"(c)","ª":"a","®":"(r)","º":"o","À":"A","Á":"A","Â":"A","Ã":"A","Ä":"A","Å":"A","Æ":"AE","Ç":"C","È":"E","É":"E","Ê":"E","Ë":"E","Ì":"I","Í":"I","Î":"I","Ï":"I","Ð":"D","Ñ":"N","Ò":"O","Ó":"O","Ô":"O","Õ":"O","Ö":"O","Ø":"O","Ù":"U","Ú":"U","Û":"U","Ü":"U","Ý":"Y","Þ":"TH","ß":"ss","à":"a","á":"a","â":"a","ã":"a","ä":"a","å":"a","æ":"ae","ç":"c","è":"e","é":"e","ê":"e","ë":"e","ì":"i","í":"i","î":"i","ï":"i","ð":"d","ñ":"n","ò":"o","ó":"o","ô":"o","õ":"o","ö":"o","ø":"o","ù":"u","ú":"u","û":"u","ü":"u","ý":"y","þ":"th","ÿ":"y","Ā":"A","ā":"a","Ă":"A","ă":"a","Ą":"A","ą":"a","Ć":"C","ć":"c","Č":"C","č":"c","Ď":"D","ď":"d","Đ":"DJ","đ":"dj","Ē":"E","ē":"e","Ė":"E","ė":"e","Ę":"e","ę":"e","Ě":"E","ě":"e","Ğ":"G","ğ":"g","Ģ":"G","ģ":"g","Ĩ":"I","ĩ":"i","Ī":"i","ī":"i","Į":"I","į":"i","İ":"I","ı":"i","Ķ":"k","ķ":"k","Ļ":"L","ļ":"l","Ł":"L","ł":"l","Ń":"N","ń":"n","Ņ":"N","ņ":"n","Ň":"N","ň":"n","Ő":"O","ő":"o","Œ":"OE","œ":"oe","Ř":"R","ř":"r","Ś":"S","ś":"s","Ş":"S","ş":"s","Š":"S","š":"s","Ţ":"T","ţ":"t","Ť":"T","ť":"t","Ũ":"U","ũ":"u","Ū":"u","ū":"u","Ů":"U","ů":"u","Ű":"U","ű":"u","Ų":"U","ų":"u","Ź":"Z","ź":"z","Ż":"Z","ż":"z","Ž":"Z","ž":"z","ƒ":"f","Ơ":"O","ơ":"o","Ư":"U","ư":"u","Lj":"LJ","lj":"lj","Nj":"NJ","nj":"nj","Ș":"S","ș":"s","Ț":"T","ț":"t","˚":"o","Ά":"A","Έ":"E","Ή":"H","Ί":"I","Ό":"O","Ύ":"Y","Ώ":"W","ΐ":"i","Α":"A","Β":"B","Γ":"G","Δ":"D","Ε":"E","Ζ":"Z","Η":"H","Θ":"8","Ι":"I","Κ":"K","Λ":"L","Μ":"M","Ν":"N","Ξ":"3","Ο":"O","Π":"P","Ρ":"R","Σ":"S","Τ":"T","Υ":"Y","Φ":"F","Χ":"X","Ψ":"PS","Ω":"W","Ϊ":"I","Ϋ":"Y","ά":"a","έ":"e","ή":"h","ί":"i","ΰ":"y","α":"a","β":"b","γ":"g","δ":"d","ε":"e","ζ":"z","η":"h","θ":"8","ι":"i","κ":"k","λ":"l","μ":"m","ν":"n","ξ":"3","ο":"o","π":"p","ρ":"r","ς":"s","σ":"s","τ":"t","υ":"y","φ":"f","χ":"x","ψ":"ps","ω":"w","ϊ":"i","ϋ":"y","ό":"o","ύ":"y","ώ":"w","Ё":"Yo","Ђ":"DJ","Є":"Ye","І":"I","Ї":"Yi","Ј":"J","Љ":"LJ","Њ":"NJ","Ћ":"C","Џ":"DZ","А":"A","Б":"B","В":"V","Г":"G","Д":"D","Е":"E","Ж":"Zh","З":"Z","И":"I","Й":"J","К":"K","Л":"L","М":"M","Н":"N","О":"O","П":"P","Р":"R","С":"S","Т":"T","У":"U","Ф":"F","Х":"H","Ц":"C","Ч":"Ch","Ш":"Sh","Щ":"Sh","Ъ":"U","Ы":"Y","Ь":"","Э":"E","Ю":"Yu","Я":"Ya","а":"a","б":"b","в":"v","г":"g","д":"d","е":"e","ж":"zh","з":"z","и":"i","й":"j","к":"k","л":"l","м":"m","н":"n","о":"o","п":"p","р":"r","с":"s","т":"t","у":"u","ф":"f","х":"h","ц":"c","ч":"ch","ш":"sh","щ":"sh","ъ":"u","ы":"y","ь":"","э":"e","ю":"yu","я":"ya","ё":"yo","ђ":"dj","є":"ye","і":"i","ї":"yi","ј":"j","љ":"lj","њ":"nj","ћ":"c","џ":"dz","Ґ":"G","ґ":"g","฿":"baht","ა":"a","ბ":"b","გ":"g","დ":"d","ე":"e","ვ":"v","ზ":"z","თ":"t","ი":"i","კ":"k","ლ":"l","მ":"m","ნ":"n","ო":"o","პ":"p","ჟ":"zh","რ":"r","ს":"s","ტ":"t","უ":"u","ფ":"f","ქ":"k","ღ":"gh","ყ":"q","შ":"sh","ჩ":"ch","ც":"ts","ძ":"dz","წ":"ts","ჭ":"ch","ხ":"kh","ჯ":"j","ჰ":"h","ẞ":"SS","Ạ":"A","ạ":"a","Ả":"A","ả":"a","Ấ":"A","ấ":"a","Ầ":"A","ầ":"a","Ẩ":"A","ẩ":"a","Ẫ":"A","ẫ":"a","Ậ":"A","ậ":"a","Ắ":"A","ắ":"a","Ằ":"A","ằ":"a","Ẳ":"A","ẳ":"a","Ẵ":"A","ẵ":"a","Ặ":"A","ặ":"a","Ẹ":"E","ẹ":"e","Ẻ":"E","ẻ":"e","Ẽ":"E","ẽ":"e","Ế":"E","ế":"e","Ề":"E","ề":"e","Ể":"E","ể":"e","Ễ":"E","ễ":"e","Ệ":"E","ệ":"e","Ỉ":"I","ỉ":"i","Ị":"I","ị":"i","Ọ":"O","ọ":"o","Ỏ":"O","ỏ":"o","Ố":"O","ố":"o","Ồ":"O","ồ":"o","Ổ":"O","ổ":"o","Ỗ":"O","ỗ":"o","Ộ":"O","ộ":"o","Ớ":"O","ớ":"o","Ờ":"O","ờ":"o","Ở":"O","ở":"o","Ỡ":"O","ỡ":"o","Ợ":"O","ợ":"o","Ụ":"U","ụ":"u","Ủ":"U","ủ":"u","Ứ":"U","ứ":"u","Ừ":"U","ừ":"u","Ử":"U","ử":"u","Ữ":"U","ữ":"u","Ự":"U","ự":"u","Ỳ":"Y","ỳ":"y","Ỵ":"Y","ỵ":"y","Ỷ":"Y","ỷ":"y","Ỹ":"Y","ỹ":"y","‘":"\'","’":"\'","“":"\\"","”":"\\"","†":"+","•":"*","…":"...","₠":"ecu","₢":"cruzeiro","₣":"french franc","₤":"lira","₥":"mill","₦":"naira","₧":"peseta","₨":"rupee","₩":"won","₪":"new shequel","₫":"dong","€":"euro","₭":"kip","₮":"tugrik","₯":"drachma","₰":"penny","₱":"peso","₲":"guarani","₳":"austral","₴":"hryvnia","₵":"cedi","₹":"indian rupee","₽":"russian ruble","℠":"sm","™":"tm","∂":"d","∆":"delta","∑":"sum","∞":"infinity","♥":"love","元":"yuan","円":"yen","﷼":"rial"}');function t(t,n){if("string"!=typeof t)throw new Error("slugify: string argument expected");n="string"==typeof n?{replacement:n}:n||{};var a=t.split("").reduce(function(t,a){return t+(e[a]||a).replace(n.remove||/[^\w\s$*_+~.()'"!\-:@]/g,"")},"").trim().replace(/[-\s]+/g,n.replacement||"-").replace("#{replacement}$","");return n.lower?a.toLowerCase():a}return t.extend=function(t){for(var n in t)e[n]=t[n]},t},e.exports=a(),e.exports.default=a()},function(e,t,n){"use strict";n.r(t);n(1),n(0);var a=n(2),o=n.n(a);(()=>{const e=jQuery,t=()=>{let t={};const n=function(n){const a=e(this).data("lang"),r=o()(e(`#lang-${a}`).val(),{lower:!0,replacement:"-"});e(`#text-edit-${a}`).text(r),e(`#lang-${a}`).hide(),e(this).hide(),e(`.button-weglot-lang[data-lang=${a}]`).show(),e.ajax({url:ajaxurl,method:"POST",data:{action:"weglot_post_name",lang:a,id:e("#weglot_post_id").data("id"),post_name:r},success:function(n){if(n.data&&n.data.code&&"same_post_name"===n.data.code)return e(`#text-edit-${a}`).text(t[a]),void e(`#lang-${a}`).val("");n.data&&n.data.code&&"not_available"===n.data.code&&(e(`#weglot_permalink_not_available_${a}`).show(),e(`#lang-${a}`).val(""),setTimeout(()=>{e(`#weglot_permalink_not_available_${a}`).hide()},5e3)),e(`#text-edit-${a}`).text(n.data.result.slug)}})};e(".button-weglot-lang").each((a,o)=>{e(o).on("click",function(n){n.preventDefault();const a=e(this).data("lang"),o=e(`#text-edit-${a}`).text();t[a]=o,e(`#text-edit-${a}`).text(" "),e(`#lang-${a}`).val(o).show(),e(`.button-weglot-lang-submit[data-lang=${a}]`).show(),e(this).hide()});const r=e(o).data("lang");e(`.button-weglot-lang-submit[data-lang=${r}]`).on("click",n)}),e(".weglot_reset").each((t,n)=>{e(n).on("click",function(t){t.preventDefault();const n=e(this).data("lang"),a=e(this).attr("href"),o=e(this).data("id");e.ajax({url:ajaxurl,method:"POST",data:{action:"weglot_reset_custom_url",code_lang:n,id:o,custom_url:a},success:function(t){e(`#text-edit-${n}`).text(t.data.result.slug)}})})})};document.addEventListener("DOMContentLoaded",()=>{t()})})()}]);
dist/nav-js.js CHANGED
@@ -1 +1 @@
1
- !function(e){var t={};function n(i){if(t[i])return t[i].exports;var r=t[i]={i:i,l:!1,exports:{}};return e[i].call(r.exports,r,r.exports,n),r.l=!0,r.exports}n.m=e,n.c=t,n.d=function(e,t,i){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:i})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var i=Object.create(null);if(n.r(i),Object.defineProperty(i,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var r in e)n.d(i,r,function(t){return e[t]}.bind(null,r));return i},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="/dist/",n(n.s=4)}({4:function(e,t){jQuery(document).ready(function(e){e("#update-nav-menu").bind("click",function(t){t.target&&t.target.className&&-1!=t.target.className.indexOf("item-edit")&&e("input[value='#weglot_switcher'][type=text]").parents(".menu-item-settings").each(function(){const t=e(this).attr("id").substring(19);e(this).children("p:not( .field-move )").remove(),e(this).append(e("<input>").attr({type:"hidden",id:"edit-menu-item-title-"+t,name:"menu-item-title["+t+"]",value:weglot_data.title})),e(this).append(e("<input>").attr({type:"hidden",id:"edit-menu-item-url-"+t,name:"menu-item-url["+t+"]",value:"#weglot_switcher"})),e(this).append(e("<input>").attr({type:"hidden",id:"edit-menu-item-weglot-detect-"+t,name:"menu-item-weglot-detect["+t+"]",value:1})),e.each(weglot_data.list_options,(n,i)=>{const r=e("<p>").attr("class","description"),o=e("<label>").attr("for",`edit-menu-item-${i.key}-${t}`).text(` ${i.title}`);e(this).prepend(r),r.append(o);const u=e("<input>").attr({type:"checkbox",id:`edit-menu-item-${i.key}-${t}`,name:`menu-item-weglot-${i.key}[${t}]`,value:1});weglot_data.options&&weglot_data.options[`menu-item-${t}`]&&1===weglot_data.options[`menu-item-${t}`][i.key]&&u.prop("checked",!0),o.prepend(u)})})})})}});
1
+ !function(e){var t={};function n(i){if(t[i])return t[i].exports;var r=t[i]={i:i,l:!1,exports:{}};return e[i].call(r.exports,r,r.exports,n),r.l=!0,r.exports}n.m=e,n.c=t,n.d=function(e,t,i){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:i})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var i=Object.create(null);if(n.r(i),Object.defineProperty(i,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var r in e)n.d(i,r,function(t){return e[t]}.bind(null,r));return i},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="/dist/",n(n.s=5)}({5:function(e,t){jQuery(document).ready(function(e){e("#update-nav-menu").bind("click",function(t){t.target&&t.target.className&&-1!=t.target.className.indexOf("item-edit")&&e("input[value='#weglot_switcher'][type=text]").parents(".menu-item-settings").each(function(){const t=e(this).attr("id").substring(19);e(this).children("p:not( .field-move )").remove(),e(this).append(e("<input>").attr({type:"hidden",id:"edit-menu-item-title-"+t,name:"menu-item-title["+t+"]",value:weglot_data.title})),e(this).append(e("<input>").attr({type:"hidden",id:"edit-menu-item-url-"+t,name:"menu-item-url["+t+"]",value:"#weglot_switcher"})),e(this).append(e("<input>").attr({type:"hidden",id:"edit-menu-item-weglot-detect-"+t,name:"menu-item-weglot-detect["+t+"]",value:1})),e.each(weglot_data.list_options,(n,i)=>{const r=e("<p>").attr("class","description"),o=e("<label>").attr("for",`edit-menu-item-${i.key}-${t}`).text(` ${i.title}`);e(this).prepend(r),r.append(o);const u=e("<input>").attr({type:"checkbox",id:`edit-menu-item-${i.key}-${t}`,name:`menu-item-weglot-${i.key}[${t}]`,value:1});weglot_data.options&&weglot_data.options[`menu-item-${t}`]&&1===weglot_data.options[`menu-item-${t}`][i.key]&&u.prop("checked",!0),o.prepend(u)})})})})}});
readme.txt CHANGED
@@ -1,65 +1,73 @@
1
- === Translate WP website - Weglot Translate ===
2
  Contributors: remyb92, gmulti, wysija, wpr0ck
3
  Tags: translate, multilingual, language, translation, localization
4
  Requires at least: 4.5
5
- Tested up to: 5.5
6
  Requires PHP: 5.4
7
- Stable tag: 3.1.9
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
11
- Translate your website into multiple languages without any code. Weglot Translate is fully SEO compatible and follows Google’s best practices.
12
 
13
  == Description ==
14
 
15
- Weglot Translate is the best and easiest translation plugin to translate your WordPress website and go multilingual.
16
 
17
- Weglot Translate translates all your content into any language and provides a one-stop dashboard to edit translations or outsource to professional translators, to ensure that your translations are of the highest quality.
18
- With Weglot Translate, you can translate your site into a multilingual website in minutes without coding anything.
19
 
20
- Weglot Translate is SEO compatible. Plus, Weglot Translate follows Google’s best practices for multilingual websites, serving all translated webpages with clean source code. Every translated version of your website will be indexed by Google.
21
 
22
- Weglot Translate is trusted by e-commerce (WooCommerce) companies, SaaS firms, marketplaces, corporate websites, mobile application landing pages, blogs, and more.
23
 
24
- Check Weglot Translate in video:
25
 
26
- [youtube https://www.youtube.com/watch?v=wmZLvhWX29k]
27
 
28
 
29
- = Weglot Translate benefits: =
30
 
31
- - Fully compatible with all themes and plugins: Weglot Translate will translate every string on every page of your site, no matter where it was generated. Weglot translates WooCommerce products, checkout, order emails…
32
- - 100+ translation languages available
33
- - Human and automatic translations: A single dashboard to manage and edit all of your translations
34
- - Content automatically detected and translated. You do not need to search for translation files (.po) or any other WordPress source files.
35
- - Translations are updated in real time.
36
- - Access to professional translators, if needed
37
- - Optimized SEO in new languages with dedicated URLs: translated pages will have dedicated URLs, as Google recommends for multilingual sites.
38
- - Your language switch button is completely customizable.
39
 
 
40
 
41
- = Is Weglot Translate free? =
42
 
43
- Weglot Translate is free for small websites (under 2000 words) with one translation language.
44
- Weglot Translate has Free and Premium plans available on the pricing page, depending on your needs. You can always try out the Weglot Translate 10-day free trial version.
45
- Weglot Translate offers professional support to all users to help them translate their websites, with priority accorded to premium members.
46
 
 
47
 
48
- = Can I migrate from WPML or Polylang to Weglot Translate? =
49
 
50
- Yes, you can easily migrate from Polylang or WPML to Weglot Translate. Simply deactivate whichever translation plugin—like WPML or Polylang—you already have; you’ll immediately be able to start using Weglot Translate.
51
- If you need to import any preexisting translations, feel free to contact us directly at support@weglot.com.
52
 
 
 
 
 
 
 
 
 
 
 
53
 
54
- = Does Weglot Translate provide support? =
55
 
56
- Yes, the Weglot Translate team will support everyone. Post a topic on the support forum,email us at support@weglot.com.
57
- Weglot Translate: go multilingual now.
 
58
 
59
 
60
- = Help translate the plugin =
61
 
62
- You can help make the Weglot Translate plugin available in more languages on [__translate.wordpress.org__](https://translate.wordpress.org/projects/wp-plugins/weglot).
 
 
 
 
 
 
 
 
 
63
 
64
 
65
  == Installation ==
@@ -91,104 +99,78 @@ When you’re ready, you can edit your translations directly in [your account](h
91
 
92
  = Is Weglot Translate free? =
93
 
94
- Weglot Translate is a freemium plugin: it is free for small websites (under 2000 words) with one translation language. If you need more, you can upgrade. Details of our pricing can be found [here](https://weglot.com/pricing)
95
- Anyone can try Weglot Translate free for 10 days.
96
-
97
-
98
- = Edit my translations =
99
-
100
- With Weglot Translate, you can modify translations under the « Translations » tab in your Weglot account, [here](https://dashboard.weglot.com/translations/). If you change a translation, it’s automatically saved and displayed on your website.
101
-
102
 
103
- = The translations I edited are not displayed on my website =
104
 
105
- All translations edited in your dashboard are automatically displayed in real-time on the translated versions of your website. If you can not see your new translations:
106
 
107
- 1. Clear your cache plugin: it will enable new translations to be properly displayed. If your new translations still don’t show up, then:
108
- 2. Go into your Weglot account and check you edited the right translations. Use the search bar (at the top) to easily find the translations you want to edit. It’s possible that you have 2 very similar translations, and may have simply edited the wrong one.
109
 
110
 
111
- = Change the appearance of the Weglot Translate language button =
112
-
113
- You can change any of the three pre-set button parameters in your Weglot Translate settings (display/don’t display flags, horizontal or dropdown menu, full language name or 2-letter code), or overwrite the CSS with personalized settings.
114
-
115
-
116
- = Change the position of the Weglot Translate language button =
117
-
118
- * With widget areas, you can drag and drop the Weglot Translate widget.
119
- * Alternatively, you can overwrite the existing CSS to change the Weglot Translate button position or ask the Weglot Translate team at support@weglot.com. We will help you.
120
- * You can also put the button in your site’s navigation menu by checking the option in the Weglot settings page. Be aware that putting the button in the menu might change the appearance of the button a bit, as there are already some style (CSS) rules active in the menu.
121
- * You can additionally use a shortcode: [weglot_switcher]
122
- * Finally, you can also add <div id="weglot_here"></div> anywhere in your code and a Weglot button will be positioned at this location.
123
-
124
-
125
- = SEO and translations =
126
-
127
- Weglot Translate creates a dedicated URL for each language to ensure the proper indexation of your translated content on search engines (Google, …). SEO tags are also translated and editable within your Weglot Translate account. Translated pages will each be located on a subdirectory.
128
 
 
129
 
130
- = Translated URLs =
131
 
132
- Weglot Translate does not translate URLs, as this could break URLs with non-Roman characters (for example, on sites in languages using theChinese or Cyrillic alphabets) and it has no proven impact on SEO. Rest assured: the internet’s biggest sites, likeGoogle, Amazon, Airbnb, etc… don’t do this, either.
133
 
 
 
134
 
135
- = Translate images/videos =
136
 
137
- With Weglot Translate, you can add different images for different languages. This is useful if you have text in an image and you want to display a “translated” image in your translated version. To do this, you can simply upload your other translated image into your WordPress gallery. Then, you can link it to the correct translated version of your site by going to your Weglot dashboard and searching for the original URL in the translations list; replace this URL with the newly-uploaded “translated” image’s URL in the translation column.
138
 
 
 
139
 
140
- = Translation exclusions =
 
 
 
 
 
 
141
 
142
- You can exclude pages, or parts of pages, from translation if you don’t want them to be translated, by using CSS selectors.
143
- To do this, go into the WordPress admin panel --&gt; Weglot settings,and use the field « Translation Exclusion ».
144
 
145
- = Translation exceptions =
146
 
147
- You can create your own translation rules in your Weglot dashboard by clicking on Translation Options, allowing you to:
148
 
149
- 1. Add Exception Rules, such as « Never translate » or « Always translate » a word/expression in a custom way (for example, if you do not want to translate your brand name).
150
- 2. Use the « Search and Replace » tool to easily search for a word in all your translations and replace it with the one you want.
151
 
 
152
 
153
- = Is Weglot Translate compatible with WooCommerce? =
154
 
155
- Yes, you can use Weglot Translate to translate WooCommerce store sites without any compatibility issues. Even your checkout page is translated—and the translations are editable from your Weglot Translate dashboard.
156
 
 
157
 
158
- = Support =
159
 
160
- If you have any questions about Weglot Translate, please post a topic on the [support forum](https://wordpress.org/support/plugin/weglot) or contact us at support@weglot.com.
161
 
 
162
 
163
- == Instructions ==
164
 
165
- = WEGLOT MINIMUM REQUIREMENTS =
166
 
167
- * WordPress 4.5 or greater
168
- * PHP version 5.4 or greater
169
 
170
 
171
- = WEGLOT TRANSLATE INSTRUCTIONS =
172
 
173
- Weglot Translate is easy to set up:
174
 
175
- [youtube https://www.youtube.com/watch?v=P3XZwyezkSI]
176
 
177
- 1. Go to [https://dashboard.weglot.com/register-wordpress](https://dashboard.weglot.com/register-wordpress) to set up an account.
178
- 2. Copy your API key from your Weglot dashboard. It will look something like: “wg_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx”.
179
- 3. Find the Weglot Translate settings page on the bottom left of your WordPress admin dashboard.
180
- 4. Paste your API key into the appropriate space under Weglot Translate settings, and click save. Then enter your website’s original language and the translation languages you want.
181
- 5. Now’s the fun part: personalize your translation button style (add or delete flag icons, make the language list a dropdown if you want, display each language’s full name or 2-letter language code...)
182
- 6. Click “Save.”.
183
- 7.(Optional) Go to Appearance -&gt; Widgets, then drag and drop the « Weglot Translate » widget where you want it to appear.
184
- Refresh your web page.Your website is now available in the selected translation languages. You can switch languages to see your live translated pages.
185
 
186
- When you’re ready, you can edit your translations directly in [your account](https://dashboard.weglot.com/translations/).
187
 
188
 
189
  == Screenshots ==
190
 
191
- 1. Example on front end: language switch button on page
192
  2. Weglot Translate settings page
193
  3. Weglot Translate dashboard, translation edition
194
  4. Weglot Translate visual editor
@@ -201,11 +183,16 @@ See changelog for upgrade changes.
201
 
202
  == Changelog ==
203
 
 
 
 
 
 
204
  = 3.1.9 (06/08/2020) =
205
  * Add flag choice for ZH and TW
206
  * Update plugin translation files
207
  * Translate Iframe SRC as external link
208
- * Fix: Custom URL links (empty base in correspondence table / traning slash)
209
  * Fix: Remove "!important" CSS properties on AMP
210
 
211
  = 3.1.8 (02/07/2020) =
@@ -703,3 +690,4 @@ See changelog for upgrade changes.
703
 
704
  = 0.40 =
705
  * Add PDF translate, fix simple dom limit, uninstall hook, no &lt;/body&gt; case.
 
1
+ === WordPress Translation Plugin Weglot Translate ===
2
  Contributors: remyb92, gmulti, wysija, wpr0ck
3
  Tags: translate, multilingual, language, translation, localization
4
  Requires at least: 4.5
5
+ Tested up to: 5.6
6
  Requires PHP: 5.4
7
+ Stable tag: 3.2.0
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
11
+ Translate your WordPress website in 100+ languages within minutes with Weglot Translate, without any coding.
12
 
13
  == Description ==
14
 
15
+ Weglot Translate is the leading WordPress translation plugin, trusted by 50,000+ users worldwide. Translate your WordPress website into 100+ languages within minutes, no coding required.
16
 
17
+ Increase visibility and boost conversions with ease by adding multilingual functionality. Weglot Translate is fully optimized for SEO, with every translated page automatically indexed by Google. Say hello in multiple languages to millions of new visitors.
 
18
 
19
+ Make your website multilingual in minutes with a free trial. Visit [https://weglot.com/](https://weglot.com/) to learn more!
20
 
 
21
 
22
+ ### How Weglot Translate works
23
 
24
+ [youtube https://www.youtube.com/watch?v=12k3Q4MpK_c]
25
 
26
 
27
+ ### Why Weglot Translate
28
 
29
+ **It’s easy to install:** Weglot Translate is easily installable and quick to set up. Reach out to millions of new visitors worldwide with a few clicks, without any coding.
 
 
 
 
 
 
 
30
 
31
+ **It’s built for maximum compatibility:** Weglot Translate is fully compatible with all platforms, WordPress themes, and plugins. From WooCommerce product descriptions to Elementor order forms, everything is translated into the languages of your choice. So you can focus on your content, not the technical details.
32
 
33
+ **It’s optimized for SEO:** Weglot Translate follows Google’s best practices for multilingual website translation, serving all translated web pages with clean source code. Google will automatically index every translated page with dedicated URLs.
34
 
35
+ **It’s easy to set and forget:** Weglot Translate automatically detects all your website content for easy translation. No more time-consuming manual duplication of every single line of content within your website. All translations are updated in real-time, so you don’t need to worry about maintenance.
 
 
36
 
37
+ **It takes translation seriously:** Weglot Translate gives you an edge on your translation tasks with the first layer of automatic translation provided by the best machine learning providers on the market (DeepL, Google, Microsoft, and Yandex). You can also edit the translations and collaborate with your team to work on translations together, directly within Weglot.
38
 
39
+ **It partners with the pros:** Weglot Translate lets you order from vetted professional translators directly inside your Weglot dashboard. Set [translation quality](https://weglot.com/translation-quality/) the way you want it to be, with Weglot Translate.
40
 
 
 
41
 
42
+ “Within a week of translating our site to English with Weglot, international sales doubled, by the following month – they had quadrupled.”
43
+ **Clara Champion – Director of Digital and E-Commerce, Jimmy Fairly**
44
+ [Read the case study](https://weglot.com/customers/jimmy-fairly/)
45
+
46
+
47
+ ### Multilingual functionality like no other
48
+
49
+ **Increase visibility:** All translated pages are automatically indexed following Google’s best practices with dedicated URLs.
50
+ **Reduce bounce rate:** Redirect visitors automatically to serve them in the language of their choice, based on their browser settings.
51
+ **Enhance user experience:** From the landing page to the email confirmation, get all your key conversion steps in your customers' language. You can even add different images and videos for various languages. Useful for images with text, Weglot Translate makes it easy to display “translated” images in your translated versions. Media localization is an essential aspect of any multilingual project and Weglot Translate makes it simple to do so.
52
 
 
53
 
54
+ “We really loved the localization features provided by Weglot, such as the ability to translate images and other types of media depending on the language the visitor is viewing the site in.”
55
+ **Kim Martin Senior Communications and Marketing Officer, The Challenge Initiative**
56
+ [Read the case study](https://weglot.com/customers/the-challenge-initiative/)
57
 
58
 
59
+ ### An all-in-one language translation platform
60
 
61
+ - Manage and edit all of your translations through a user-friendly interface.
62
+ - Collaborate with team members and trusted translators to translate together, directly inside Weglot.
63
+ - Is it a title? Is it a link? No more guessing the context of the text. Weglot Translate’s in-context editor lets you translate directly within the webpage.
64
+ - Make it your own. The language switcher is fully customizable for multiple design choices.
65
+ - Weglot Translate makes it easy to migrate from other WordPress multilingual plugins like Polylang or WPML. Simply deactivate your existing translation plugin and install Weglot Translate.
66
+
67
+ "Weglot removed the pain of having to manage multiple stores for multiple locales. The integration was easy, and the support is incredibly helpful. I highly recommend Weglot to anyone looking for a simple and cost-effective solution to translate their stores!"
68
+ **Mike Robertson – Director of Sales Operations, Nikon**
69
+
70
+ With an increase in site visitors and session duration, you can expect a massive boost to your conversions. See why thousands of e-commerce platforms, SaaS firms, marketplaces, corporate websites, and blogs worldwide love Weglot Translate. [Try it today for free](https://dashboard.weglot.com/register-wordpress)
71
 
72
 
73
  == Installation ==
99
 
100
  = Is Weglot Translate free? =
101
 
102
+ - Weglot Translate is free for small websites (under 2,000 words) with one translation language.
103
+ - Our WordPress multilingual plugin is cost-effective like no other, with custom paid plans to suit your needs. [Check our pricing](https://weglot.com/pricing) for more information.
104
+ - Weglot Translate also offers a [10-day free trial version](https://dashboard.weglot.com/register); try it today!
 
 
 
 
 
105
 
 
106
 
107
+ = Is Weglot compatible with SEO? =
108
 
109
+ Weglot Translate creates a dedicated URL for each language to ensure the proper indexation of your translated content on search engines like Google. SEO tags are also translated and editable within your Weglot Translate account.
 
110
 
111
 
112
+ = Is Weglot Translate compatible with WooCommerce? =
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
113
 
114
+ Yes, you can use Weglot Translate to translate WooCommerce store sites without any compatibility issues. Even your checkout page is translated—and the translations are editable from your Weglot Translate dashboard.
115
 
 
116
 
117
+ = Can I migrate from WPML or Polylang to Weglot Translate? =
118
 
119
+ - Yes, you can easily migrate from Polylang or WPML to Weglot Translate. Simply deactivate your existing translation plugin, and you’ll immediately be able to start using Weglot Translate.
120
+ - If you need to import any preexisting translations, feel free to contact us directly at support@weglot.com.
121
 
 
122
 
123
+ = How do I set up Weglot Translate? =
124
 
125
+ Weglot Translate is easy to set up.
126
+ [youtube https://www.youtube.com/watch?v=P3XZwyezkSI]
127
 
128
+ 1. Go to [https://dashboard.weglot.com/register-wordpress](https://dashboard.weglot.com/register-wordpress) to set up an account.
129
+ 2. Copy your API key from your Weglot dashboard. It will look something like: “wg_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx”.
130
+ 3. Find the Weglot Translate settings page on the bottom left of your WordPress admin dashboard.
131
+ 4. Paste your API key into the appropriate space under Weglot Translate settings, and click save. Then enter your website’s original language and the translation languages you want.
132
+ 5. Now here’s the fun part: personalize your translation button style (add or delete flag icons, make the language list a dropdown if you want, display each language’s full name or 2-letter language code…)
133
+ 6. Click “Save”.
134
+ 7. (Optional) Go to Appearance -> Widgets, then drag and drop the « Weglot Translate » widget where you want it to appear.
135
 
136
+ Refresh your web page. Your website is now available in the selected translation languages. You can switch languages to see your live translated pages.
 
137
 
138
+ When you’re ready, you can edit your translations directly in your Weglot dashboard.
139
 
 
140
 
141
+ = Can I edit my translations? =
 
142
 
143
+ With Weglot Translate, you can modify translations under the « Translations » tab in your Weglot account,[here](https://dashboard.weglot.com/translations/). If you change a translation, it’s automatically saved and displayed on your website.
144
 
 
145
 
146
+ = Can I add translated images and videos? =
147
 
148
+ Yes, you can add different images and videos for other languages. This is useful if you have text in an image, and you want to display a “translated” image in your translated version. To do this, you can simply upload your other translated image into your WordPress gallery. You can then link it to the correct translated version of your site by going to your Weglot dashboard and searching for the original URL in the translations list; replace this URL with the newly-uploaded “translated” image’s URL in the translation column.
149
 
 
150
 
151
+ = Can Weglot translate URLs? =
152
 
153
+ Yes, you can translate your URL slugs with Weglot. This is useful if you’d like an extra layer of localization. Access this feature in your Weglot Dashboard through Translations > URL Slugs and choose to edit them manually or using machine translation. Make sure you go back to the Weglot tab in your WordPress dashboard and hit refresh to finalize the translation.
154
 
 
155
 
156
+ = Can I make translation exclusions and exceptions? =
157
 
158
+ You certainly can! Exclude pages, or parts of pages, from translation if you want to stick to the original content. You can also create custom translation rules to translate pages and posts precisely the way you want it.
 
159
 
160
 
161
+ = Can I use Weglot Translate for more than one website translation? =
162
 
163
+ Yes, Pro plans and above offer multisite support. This allows you to manage several languages and several websites separately and gives access to one person per website.
164
 
 
165
 
166
+ = Does Weglot Translate provide support? =
 
 
 
 
 
 
 
167
 
168
+ Yes, and our users love us for it; just check out our reviews! The Weglot Translate team offers support for all users, with priority accorded to premium members. Be sure to checkout our [Help center](https://support.weglot.com/). Post a topic on the [support forum](https://wordpress.org/support/plugin/weglot/), or email us at support@weglot.com if you have any questions.
169
 
170
 
171
  == Screenshots ==
172
 
173
+ 1. Example of the Weglot language switcher on the front-end of a website
174
  2. Weglot Translate settings page
175
  3. Weglot Translate dashboard, translation edition
176
  4. Weglot Translate visual editor
183
 
184
  == Changelog ==
185
 
186
+ = 3.2.0 (15/10/2020) =
187
+ * Add translate slug option
188
+ * Fix: auto redirect on traditional chinese and brazilian portuguese
189
+ * Fix: admin-ajax bug containing language code in some case
190
+
191
  = 3.1.9 (06/08/2020) =
192
  * Add flag choice for ZH and TW
193
  * Update plugin translation files
194
  * Translate Iframe SRC as external link
195
+ * Fix: Custom URL links (empty base in correspondence table / trailing slash)
196
  * Fix: Remove "!important" CSS properties on AMP
197
 
198
  = 3.1.8 (02/07/2020) =
690
 
691
  = 0.40 =
692
  * Add PDF translate, fix simple dom limit, uninstall hook, no &lt;/body&gt; case.
693
+
src/actions/admin/class-pages-weglot.php CHANGED
@@ -127,7 +127,7 @@ class Pages_Weglot implements Hooks_Interface_Weglot {
127
  $this->tabs = Helper_Tabs_Admin_Weglot::get_full_tabs();
128
  $this->tab_active = Helper_Tabs_Admin_Weglot::SETTINGS;
129
 
130
- delete_transient( 'weglot_cache_cdn' );
131
 
132
  if ( isset( $_GET['tab'] ) ) { // phpcs:ignore
133
  $this->tab_active = sanitize_text_field( wp_unslash( $_GET['tab'] ) ); // phpcs:ignore
127
  $this->tabs = Helper_Tabs_Admin_Weglot::get_full_tabs();
128
  $this->tab_active = Helper_Tabs_Admin_Weglot::SETTINGS;
129
 
130
+ //delete_transient( 'weglot_cache_cdn' );
131
 
132
  if ( isset( $_GET['tab'] ) ) { // phpcs:ignore
133
  $this->tab_active = sanitize_text_field( wp_unslash( $_GET['tab'] ) ); // phpcs:ignore
src/actions/front/class-clean-options.php CHANGED
@@ -34,6 +34,7 @@ class Clean_Options implements Hooks_Interface_Weglot {
34
  public function clean_options() {
35
  if ( isset( $_GET['_weglot_clean_cache_cdn'] ) && 'true' === $_GET['_weglot_clean_cache_cdn'] ) {
36
  delete_transient( 'weglot_cache_cdn' );
 
37
  }
38
  }
39
  }
34
  public function clean_options() {
35
  if ( isset( $_GET['_weglot_clean_cache_cdn'] ) && 'true' === $_GET['_weglot_clean_cache_cdn'] ) {
36
  delete_transient( 'weglot_cache_cdn' );
37
+ delete_transient( 'weglot_slugs_cache' );
38
  }
39
  }
40
  }
src/actions/front/class-translate-page-weglot.php CHANGED
@@ -19,6 +19,10 @@ use Weglot\Util\Server;
19
  * @since 2.0
20
  */
21
  class Translate_Page_Weglot implements Hooks_Interface_Weglot {
 
 
 
 
22
 
23
  /**
24
  * @since 2.0
@@ -189,18 +193,6 @@ class Translate_Page_Weglot implements Hooks_Interface_Weglot {
189
  }
190
  }
191
 
192
- /**
193
- * @since 2.1.0
194
- * @return void
195
- */
196
- protected function request_uri_default() {
197
- $_SERVER['REQUEST_URI'] = str_replace(
198
- '/' . $this->request_url_services->get_current_language( false ) . '/',
199
- '/',
200
- $_SERVER['REQUEST_URI'] //phpcs:ignore
201
- );
202
- }
203
-
204
  /**
205
  * @since 2.0
206
  * @version 2.1.0
@@ -214,103 +206,23 @@ class Translate_Page_Weglot implements Hooks_Interface_Weglot {
214
  return;
215
  }
216
 
217
- $request_without_language = array_values(
218
- array_filter(
219
- explode(
220
- '/',
221
- str_replace(
222
- '/' . $current_language . '/',
223
- '/',
224
- strpos( $_SERVER['REQUEST_URI'], '?' ) ? substr( $_SERVER['REQUEST_URI'], 0, strpos( $_SERVER['REQUEST_URI'], '?' ) ) : $_SERVER['REQUEST_URI']
225
- )
226
- ),
227
- 'strlen'
228
- )
229
- );
230
-
231
- $index_entries = count( $request_without_language ) - 1;
232
- if ( isset( $request_without_language[ $index_entries ] ) ) {
233
- $slug_in_work = $request_without_language[ $index_entries ];
234
- }
235
-
236
- // Like is_home
237
- if ( empty( $request_without_language ) || ! isset( $slug_in_work ) ) {
238
- $this->request_uri_default();
239
- return;
240
- }
241
-
242
- $custom_urls = $this->option_services->get_option( 'custom_urls' );
243
-
244
- // No language configured
245
- $language_code_rewrited = apply_filters( 'weglot_language_code_replace', array() );
246
- $to_translate_language_iso = ( $key = array_search( $current_language, $language_code_rewrited ) ) ? $key : $current_language;
247
-
248
- if ( ! isset( $custom_urls[ $to_translate_language_iso ] ) ) {
249
- $this->request_uri_default();
250
- return;
251
- }
252
-
253
- // Get URL of original page
254
-
255
- $original_url = str_replace(
256
  '/' . $current_language . '/',
257
  '/',
258
  $_SERVER['REQUEST_URI']
259
  );
260
 
261
- // Add final slash if not set
262
- $end_with_slash = false;
263
- if ( $original_url === trailingslashit( $original_url ) ) {
264
- $end_with_slash = true;
265
- } else {
266
- $original_url = trailingslashit( $original_url );
267
- }
268
-
269
- foreach ( $custom_urls[ $to_translate_language_iso ] as $slug_translated => $slug_original ) {
270
- if ( empty( $slug_translated ) || empty( $slug_original ) ) {
271
- continue;
272
- }
273
- $original_url = str_replace( '/' . $slug_translated . '/', '/' . $slug_original . '/', $original_url );
274
- }
275
-
276
- // Remove final slash if not set before
277
- if ( false === $end_with_slash ) {
278
- $original_url = untrailingslashit( $original_url );
279
- }
280
-
281
- // Get translated URL of original URL
282
 
283
- $translated_url = $original_url;
284
- // Add final slash if not set
285
- $end_with_slash = false;
286
- if ( $translated_url === trailingslashit( $translated_url ) ) {
287
- $end_with_slash = true;
288
- } else {
289
- $translated_url = trailingslashit( $translated_url );
290
- }
291
-
292
- // Get custom URL : Original (original lang) -> Custom (to translate lang)
293
  if ( isset( $custom_urls[ $to_translate_language_iso ] ) ) {
294
- foreach ( $custom_urls[ $to_translate_language_iso ] as $slug_translated => $slug_original ) {
295
- if ( empty( $slug_translated ) || empty( $slug_original ) ) {
296
- continue;
297
- }
298
- $translated_url = str_replace( '/' . $slug_original . '/', '/' . $slug_translated . '/', $translated_url );
299
- }
300
- }
301
 
302
- // Remove final slash if not set before
303
- if ( false === $end_with_slash ) {
304
- $translated_url = untrailingslashit( $translated_url );
305
- }
306
-
307
- if ( "/$current_language$translated_url" !== $_SERVER['REQUEST_URI'] ) {
308
- wp_redirect( get_site_url() . "/$current_language$translated_url", 301 );
309
- exit;
310
  }
311
-
312
- $_SERVER['REQUEST_URI'] = $original_url;
313
-
314
  }
315
 
316
  /**
19
  * @since 2.0
20
  */
21
  class Translate_Page_Weglot implements Hooks_Interface_Weglot {
22
+ /**
23
+ * @var object
24
+ */
25
+ private $option_services;
26
 
27
  /**
28
  * @since 2.0
193
  }
194
  }
195
 
 
 
 
 
 
 
 
 
 
 
 
 
196
  /**
197
  * @since 2.0
198
  * @version 2.1.0
206
  return;
207
  }
208
 
209
+ $_SERVER['REQUEST_URI'] = str_replace(
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
210
  '/' . $current_language . '/',
211
  '/',
212
  $_SERVER['REQUEST_URI']
213
  );
214
 
215
+ $custom_urls = $this->option_services->get_option( 'custom_urls' );
216
+ $to_translate_language_iso = $this->option_services->get_iso_code_from_custom_code( $current_language );
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
217
 
 
 
 
 
 
 
 
 
 
 
218
  if ( isset( $custom_urls[ $to_translate_language_iso ] ) ) {
219
+ foreach ( $custom_urls[ $to_translate_language_iso ] as $key => $value ) {
220
+ //If we receive a not translated slug we return a 404. For example if we have /fr/products but should have /fr/produits we should have a 404
221
+ $_SERVER['REQUEST_URI'] = str_replace( '/' . $value . '/', '/404/', urldecode($_SERVER['REQUEST_URI']) );
 
 
 
 
222
 
223
+ $_SERVER['REQUEST_URI'] = str_replace( '/' . $key . '/', '/' . $value . '/', urldecode($_SERVER['REQUEST_URI']) );
224
+ }
 
 
 
 
 
 
225
  }
 
 
 
226
  }
227
 
228
  /**
src/helpers/class-helper-filter-url-weglot.php CHANGED
@@ -25,6 +25,16 @@ abstract class Helper_Filter_Url_Weglot {
25
  $url_translate = $url->getForLanguage( $current_and_original_language['current'] );
26
  $double_language = sprintf( '/%s/%s/', $current_and_original_language['current'], $current_and_original_language['current'] );
27
 
 
 
 
 
 
 
 
 
 
 
28
  if ( strpos( $url_translate, $double_language ) === false ) {
29
  return $url_translate;
30
  }
25
  $url_translate = $url->getForLanguage( $current_and_original_language['current'] );
26
  $double_language = sprintf( '/%s/%s/', $current_and_original_language['current'], $current_and_original_language['current'] );
27
 
28
+ $custom_urls = weglot_get_option( 'custom_urls' );
29
+ $language_code_rewrited = apply_filters( 'weglot_language_code_replace', array() );
30
+ $key = array_search( $current_and_original_language['current'], $language_code_rewrited, true );
31
+ $to_iso_language = $key ? $key : $current_and_original_language['current'];
32
+ if ( isset( $custom_urls[ $to_iso_language ] ) ) {
33
+ foreach ( $custom_urls[ $to_iso_language ] as $key => $value ) {
34
+ $url_translate = str_replace( '/' . $value . '/', '/' . $key . '/', $url_translate );
35
+ }
36
+ }
37
+
38
  if ( strpos( $url_translate, $double_language ) === false ) {
39
  return $url_translate;
40
  }
src/services/class-button-service-weglot.php CHANGED
@@ -110,7 +110,7 @@ class Button_Service_Weglot {
110
  $class_aside = $this->get_class_dropdown();
111
 
112
  $button_html = sprintf( '<!--Weglot %s-->', WEGLOT_VERSION );
113
- $button_html .= sprintf( "<aside data-wg-notranslate class='country-selector %s'>", $class_aside . $add_class );
114
 
115
  if ( ! empty( $original_language ) && ! empty( $destination_language ) ) {
116
  $current_language_entry = $this->language_services->get_current_language_entry_from_key( $current_language );
110
  $class_aside = $this->get_class_dropdown();
111
 
112
  $button_html = sprintf( '<!--Weglot %s-->', WEGLOT_VERSION );
113
+ $button_html .= sprintf( "<aside data-wg-notranslate class=\"country-selector %s\">", $class_aside . $add_class );
114
 
115
  if ( ! empty( $original_language ) && ! empty( $destination_language ) ) {
116
  $current_language_entry = $this->language_services->get_current_language_entry_from_key( $current_language );
src/services/class-custom-url-service-weglot.php CHANGED
@@ -34,50 +34,27 @@ class Custom_Url_Service_Weglot {
34
  wp_reset_postdata();
35
  }
36
 
37
- $weglot_url = $this->request_url_services->get_weglot_url();
38
- $request_without_language = array_filter( explode( '/', $weglot_url->getPath() ), 'strlen' );
39
- $index_entries = count( $request_without_language );
40
- $custom_urls = $this->option_services->get_option( 'custom_urls' );
41
- $url_lang = $weglot_url->getForLanguage( $key_code );
42
  $original_language = weglot_get_original_language();
43
  $current_language = weglot_get_current_language();
44
- $condition_test_custom_url = isset( $request_without_language[ $index_entries ] ) && ! is_admin() && ! empty( $custom_urls ) && ! is_front_page() && ! is_home();
45
-
46
- if ( apply_filters( 'weglot_condition_test_custom_url', $condition_test_custom_url, $url_lang, $key_code ) ) {
47
- $language_code_rewrited = apply_filters( 'weglot_language_code_replace', array() );
48
- $current_language_iso = ( $key = array_search( $current_language, $language_code_rewrited ) ) ? $key : $current_language;
49
- $to_translate_language_iso = ( $key = array_search( $key_code, $language_code_rewrited ) ) ? $key : $key_code;
50
- $end_with_slash = false;
51
-
52
- // Add final slash if not set
53
- if ( $url_lang === trailingslashit( $url_lang ) ) {
54
- $end_with_slash = true;
55
- } else {
56
- $url_lang = trailingslashit( $url_lang );
57
- }
58
 
59
- // Get original slug : Custom (current lang) -> Original (original lang)
60
- if ( isset( $custom_urls[ $current_language_iso ] ) ) {
61
- foreach ( $custom_urls[ $current_language_iso ] as $slug_translated => $slug_original ) {
62
- if ( empty( $slug_translated ) || empty( $slug_original ) ) {
63
- continue;
64
- }
65
- $url_lang = str_replace( '/' . $slug_translated . '/', '/' . $slug_original . '/', $url_lang );
66
- }
67
- }
68
- // Get custom URL : Original (original lang) -> Custom (to translate lang)
69
- if ( isset( $custom_urls[ $to_translate_language_iso ] ) ) {
70
- foreach ( $custom_urls[ $to_translate_language_iso ] as $slug_translated => $slug_original ) {
71
- if ( empty( $slug_translated ) || empty( $slug_original ) ) {
72
- continue;
73
- }
74
- $url_lang = str_replace( '/' . $slug_original . '/', '/' . $slug_translated . '/', $url_lang );
75
- }
76
  }
 
77
 
78
- // Remove final slash if not set before
79
- if ( false === $end_with_slash ) {
80
- $url_lang = untrailingslashit( $url_lang );
81
  }
82
  }
83
 
34
  wp_reset_postdata();
35
  }
36
 
 
 
 
 
 
37
  $original_language = weglot_get_original_language();
38
  $current_language = weglot_get_current_language();
 
 
 
 
 
 
 
 
 
 
 
 
 
 
39
 
40
+ $weglot_url = $this->request_url_services->get_weglot_url();
41
+ $url_lang = $weglot_url->getForLanguage( $key_code );
42
+
43
+ $custom_urls = $this->option_services->get_option( 'custom_urls' );
44
+
45
+ $language_code_rewrited = apply_filters( 'weglot_language_code_replace', array() );
46
+ $to_translate_language_iso = ( $key = array_search( $key_code, $language_code_rewrited, true ) ) ? $key : $key_code;
47
+ $current_language_iso = ( $key = array_search( $current_language, $language_code_rewrited, true ) ) ? $key : $current_language;
48
+
49
+ if ( isset( $custom_urls[ $current_language_iso ] ) ) {
50
+ foreach ( $custom_urls[ $current_language_iso ] as $key => $value ) {
51
+ $url_lang = str_replace( '/' . $key . '/', '/' . $value . '/', urldecode($url_lang) );
 
 
 
 
 
52
  }
53
+ }
54
 
55
+ if ( isset( $custom_urls[ $to_translate_language_iso ] ) ) {
56
+ foreach ( $custom_urls[ $to_translate_language_iso ] as $key => $value ) {
57
+ $url_lang = str_replace( '/' . $value . '/', '/' . $key . '/', $url_lang );
58
  }
59
  }
60
 
src/services/class-option-service-weglot.php CHANGED
@@ -21,8 +21,10 @@ use WeglotWP\Helpers\Helper_API;
21
  */
22
  class Option_Service_Weglot {
23
  protected $options_cdn = null;
 
24
 
25
  protected $options_from_api = null;
 
26
 
27
  /**
28
  * @var array
@@ -132,8 +134,6 @@ class Option_Service_Weglot {
132
  }
133
  $this->options_cdn = $body;
134
 
135
- set_transient( 'weglot_cache_cdn', $body, apply_filters( 'weglot_get_options_from_cdn_cache_duration', 300 ) );
136
-
137
  return array(
138
  'success' => true,
139
  'result' => $body,
@@ -145,6 +145,37 @@ class Option_Service_Weglot {
145
  }
146
  }
147
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
148
  /**
149
  * @since 3.0.0
150
  * @param string $api_key
@@ -191,7 +222,7 @@ class Option_Service_Weglot {
191
  $options['custom_settings']['menu_switcher'] = $menu_options_services->get_options_default();
192
  }
193
  $this->options_from_api = $options;
194
-
195
  return array(
196
  'success' => true,
197
  'result' => $options,
@@ -203,6 +234,50 @@ class Option_Service_Weglot {
203
  }
204
  }
205
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
206
  /**
207
  * @since 3.0.0
208
  * @return array
@@ -265,29 +340,55 @@ class Option_Service_Weglot {
265
  public function get_options() {
266
  $api_key = $this->get_api_key();
267
  $api_key_private = $this->get_api_key_private();
 
268
 
269
  if ( Helper_Is_Admin::is_wp_admin() && $api_key_private ) {
270
- $response = $this->get_options_from_api_with_api_key(
271
- $api_key_private
272
- );
273
  } else {
274
  if ( ! Helper_Is_Admin::is_wp_admin() && $api_key ) {
275
- $response = $this->get_options_from_cdn_with_api_key(
276
- $api_key
277
- );
278
  } else {
279
  return $this->get_options_from_v2();
280
  }
281
  }
282
  $options = $response['result'];
283
-
284
  if ( $api_key_private ) {
285
  $options['api_key_private'] = $api_key_private;
286
  }
287
 
288
  $options = apply_filters( 'weglot_get_options', array_merge( $this->options_bdd_default, $this->get_options_bdd_v3(), $options ) );
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
289
 
290
- return (array) Morphism::map( 'WeglotWP\Models\Schema_Option_V3', $options );
291
  }
292
 
293
  /**
@@ -350,6 +451,7 @@ class Option_Service_Weglot {
350
  /**
351
  * @since 2.0
352
  * @param string $key
 
353
  * @return array
354
  */
355
  public function get_option( $key ) {
@@ -461,25 +563,14 @@ class Option_Service_Weglot {
461
 
462
  $current_url = $request_url_service->url_to_relative( $current_url );
463
  $exclude_urls_by_languages = $this->get_exclude_urls_by_languages();
464
- $custom_urls = $request_url_service->option_services->get_option( 'custom_urls' );
465
  $current_language = $request_url_service->get_current_language();
466
  $language_code_rewrited = apply_filters( 'weglot_language_code_replace', array() );
 
467
  $current_language_iso = ( $key = array_search( $current_language, $language_code_rewrited ) ) ? $key : $current_language;
468
 
469
- // Add final slash if not set
470
- $end_with_slash = false;
471
- if ( trailingslashit( $current_url ) === $current_url ) {
472
- $end_with_slash = true;
473
- } else {
474
- $current_url = trailingslashit( $current_url );
475
- }
476
-
477
  if ( isset( $custom_urls[ $current_language_iso ] ) ) {
478
- foreach ( $custom_urls[ $current_language_iso ] as $slug_translated => $slug_original ) {
479
- if ( empty( $slug_translated ) || empty( $slug_original ) ) {
480
- continue;
481
- }
482
- $current_url = str_replace( '/' . $slug_translated . '/', '/' . $slug_original . '/', $current_url );
483
  }
484
  }
485
 
@@ -489,14 +580,21 @@ class Option_Service_Weglot {
489
  }
490
  }
491
 
492
- // Remove final slash if not set before
493
- if ( false === $end_with_slash ) {
494
- $current_url = untrailingslashit( $current_url );
495
- }
496
-
497
  return apply_filters( 'weglot_current_destination_languages', $destination_languages, $current_url );
498
  }
499
 
 
 
 
 
 
 
 
 
 
 
 
 
500
  /**
501
  * @since 2.0
502
  * @return array
@@ -517,7 +615,7 @@ class Option_Service_Weglot {
517
 
518
  $not_exclude = array_diff( $destination_languages, $item['excluded_languages'] );
519
  if ( empty( $not_exclude ) ) {
520
- $exclude_urls[] = $item;
521
  } else {
522
  continue;
523
  }
21
  */
22
  class Option_Service_Weglot {
23
  protected $options_cdn = null;
24
+ protected $slugs_cache = null;
25
 
26
  protected $options_from_api = null;
27
+ protected $slugs_from_api = null;
28
 
29
  /**
30
  * @var array
134
  }
135
  $this->options_cdn = $body;
136
 
 
 
137
  return array(
138
  'success' => true,
139
  'result' => $body,
145
  }
146
  }
147
 
148
+ /**
149
+ * @since 3.0.0
150
+ * @param string $api_key
151
+ * @param array $destinations_languages
152
+ * @return array
153
+ */
154
+ protected function get_slugs_from_cache_with_api_key( $api_key, $destinations_languages ) {
155
+ if ( $this->slugs_cache ) {
156
+ return $this->slugs_cache;
157
+ }
158
+
159
+ $cache_transient = apply_filters( 'weglot_get_slugs_from_cache', true );
160
+
161
+ if ( $cache_transient ) {
162
+ $slugs = get_transient( 'weglot_slugs_cache', false );
163
+ if ( false !== $slugs ) {
164
+ $this->slugs_cache = $slugs;
165
+ return $this->slugs_cache;
166
+ }
167
+ }
168
+
169
+ try {
170
+ $body = $this->get_slugs_from_api_with_api_key( $api_key, $destinations_languages );
171
+ $this->slugs_cache = $body;
172
+
173
+ return $body;
174
+ } catch ( \Exception $th ) {
175
+ return array();
176
+ }
177
+ }
178
+
179
  /**
180
  * @since 3.0.0
181
  * @param string $api_key
222
  $options['custom_settings']['menu_switcher'] = $menu_options_services->get_options_default();
223
  }
224
  $this->options_from_api = $options;
225
+ set_transient( 'weglot_cache_cdn', $options, apply_filters( 'weglot_get_options_from_cdn_cache_duration', 300 ) );
226
  return array(
227
  'success' => true,
228
  'result' => $options,
234
  }
235
  }
236
 
237
+ /**
238
+ * @since 3.0.0
239
+ * @param string $api_key
240
+ * @param string $l_to
241
+ * @return array
242
+ */
243
+ public function get_slugs_from_api_with_api_key( $api_key, $destinations_languages ) {
244
+ if ( $this->slugs_from_api ) {
245
+ return $this->slugs_from_api;
246
+ }
247
+
248
+ $slugs = array();
249
+ foreach ( $destinations_languages as $destinations_language ) {
250
+
251
+ $url = sprintf( '%s/translations/slugs?api_key=%s&&language_to=%s', Helper_API::get_api_url(), $api_key, $destinations_language );
252
+
253
+ $response = wp_remote_get( $url, array( 'timeout' => 15 ) );
254
+
255
+ if ( is_wp_error( $response ) ) {
256
+ continue;
257
+ }
258
+ try {
259
+ $body = json_decode( $response['body'], true );
260
+
261
+ if ( is_array( $body ) ) {
262
+ // We remove slug where original = translated slug
263
+ foreach ( $body as $key => $slug ) {
264
+ if ( $key === $slug ) {
265
+ unset( $body[ $key ] );
266
+ }
267
+ }
268
+ $slugs[ $destinations_language ] = array_flip( $body );
269
+
270
+ }
271
+ } catch ( \Exception $e ) {
272
+ continue;
273
+ }
274
+ }
275
+
276
+ set_transient( 'weglot_slugs_cache', $slugs, apply_filters( 'weglot_get_slugs_cache_duration', 0 ) );
277
+ $this->slugs_from_api = $slugs;
278
+ return $slugs;
279
+ }
280
+
281
  /**
282
  * @since 3.0.0
283
  * @return array
340
  public function get_options() {
341
  $api_key = $this->get_api_key();
342
  $api_key_private = $this->get_api_key_private();
343
+ $options = null;
344
 
345
  if ( Helper_Is_Admin::is_wp_admin() && $api_key_private ) {
346
+ $response = $this->get_options_from_api_with_api_key( $api_key_private );
 
 
347
  } else {
348
  if ( ! Helper_Is_Admin::is_wp_admin() && $api_key ) {
349
+ $response = $this->get_options_from_cdn_with_api_key( $api_key );
 
 
350
  } else {
351
  return $this->get_options_from_v2();
352
  }
353
  }
354
  $options = $response['result'];
 
355
  if ( $api_key_private ) {
356
  $options['api_key_private'] = $api_key_private;
357
  }
358
 
359
  $options = apply_filters( 'weglot_get_options', array_merge( $this->options_bdd_default, $this->get_options_bdd_v3(), $options ) );
360
+ $options = (array) Morphism::map( 'WeglotWP\Models\Schema_Option_V3', $options );
361
+
362
+ if ( Helper_Is_Admin::is_wp_admin() && $api_key_private ) {
363
+ $slugs = $this->get_slugs_from_api_with_api_key( $api_key_private, $options['destination_language'] );
364
+ } else {
365
+ if ( ! Helper_Is_Admin::is_wp_admin() && $api_key ) {
366
+ $slugs = $this->get_slugs_from_cache_with_api_key( $api_key_private, $options['destination_language'] );
367
+ }
368
+ }
369
+ if ( isset( $slugs ) ) {
370
+ $options['custom_urls'] = $this->array_merge_recursive_ex( $options['custom_urls'], $slugs );
371
+ }
372
+
373
+ return $options;
374
+ }
375
+
376
+ public function array_merge_recursive_ex( array $array1, array $array2 ) {
377
+ $merged = $array1;
378
+
379
+ foreach ( $array2 as $key => & $value ) {
380
+ if ( is_array( $value ) && isset( $merged[ $key ] ) && is_array( $merged[ $key ] ) ) {
381
+ $merged[ $key ] = $this->array_merge_recursive_ex( $merged[ $key ], $value );
382
+ } elseif ( is_numeric( $key ) ) {
383
+ if ( ! in_array( $value, $merged ) ) {
384
+ $merged[] = $value;
385
+ }
386
+ } else {
387
+ $merged[ $key ] = $value;
388
+ }
389
+ }
390
 
391
+ return $merged;
392
  }
393
 
394
  /**
451
  /**
452
  * @since 2.0
453
  * @param string $key
454
+ * @param string $language_to
455
  * @return array
456
  */
457
  public function get_option( $key ) {
563
 
564
  $current_url = $request_url_service->url_to_relative( $current_url );
565
  $exclude_urls_by_languages = $this->get_exclude_urls_by_languages();
 
566
  $current_language = $request_url_service->get_current_language();
567
  $language_code_rewrited = apply_filters( 'weglot_language_code_replace', array() );
568
+ $custom_urls = $request_url_service->option_services->get_option( 'custom_urls' );
569
  $current_language_iso = ( $key = array_search( $current_language, $language_code_rewrited ) ) ? $key : $current_language;
570
 
 
 
 
 
 
 
 
 
571
  if ( isset( $custom_urls[ $current_language_iso ] ) ) {
572
+ foreach ( $custom_urls[ $current_language_iso ] as $key => $value ) {
573
+ $current_url = str_replace( '/' . $key . '/', '/' . $value . '/', $current_url );
 
 
 
574
  }
575
  }
576
 
580
  }
581
  }
582
 
 
 
 
 
 
583
  return apply_filters( 'weglot_current_destination_languages', $destination_languages, $current_url );
584
  }
585
 
586
+
587
+ /**
588
+ * @param $custom_code
589
+ * @return string
590
+ * @since 3.2.0
591
+ */
592
+ public function get_iso_code_from_custom_code( $custom_code ) {
593
+ $language_code_rewrited = apply_filters( 'weglot_language_code_replace', array() );
594
+ $key = array_search( $custom_code, $language_code_rewrited, true );
595
+ return $key ? $key : $custom_code;
596
+ }
597
+
598
  /**
599
  * @since 2.0
600
  * @return array
615
 
616
  $not_exclude = array_diff( $destination_languages, $item['excluded_languages'] );
617
  if ( empty( $not_exclude ) ) {
618
+ //$exclude_urls[] = $item;
619
  } else {
620
  continue;
621
  }
src/services/class-redirect-service-weglot.php CHANGED
@@ -53,6 +53,17 @@ class Redirect_Service_Weglot {
53
  * @return string
54
  */
55
  protected function language_exception( $server_lang ) {
 
 
 
 
 
 
 
 
 
 
 
56
  if ( in_array( $server_lang, ['nb', 'nn', ] ) ) { //phpcs:ignore
57
  // Case Norwegian
58
  $server_lang = 'no';
@@ -72,7 +83,8 @@ class Redirect_Service_Weglot {
72
  }
73
 
74
  if ( isset( $_SERVER['HTTP_ACCEPT_LANGUAGE'] ) ) { //phpcs:ignore
75
- $server_lang = substr( $_SERVER['HTTP_ACCEPT_LANGUAGE'], 0, apply_filters( 'weglot_number_of_character_for_language', 2 ) );
 
76
  } else {
77
  if ( isset( $_SERVER['HTTP_CF_IPCOUNTRY'] ) ) { // phpcs:ignore
78
  // Compatibility Cloudfare
@@ -80,16 +92,16 @@ class Redirect_Service_Weglot {
80
  }
81
  }
82
 
83
- $server_lang = $this->language_exception( $server_lang );
84
-
85
- $destination_languages = weglot_get_destination_languages();
86
 
 
 
87
  if (
88
  in_array( $server_lang, $destination_languages ) && // phpcs:ignore
89
  weglot_get_original_language() === $this->request_url_services->get_current_language() &&
90
  ! $this->private_services->is_active_private_mode_for_lang( $server_lang )
91
  ) {
92
- $url_auto_redirect = apply_filters( 'weglot_url_auto_redirect', $this->request_url_services->get_weglot_url()->getForLanguage( $server_lang ) );
93
  header( "Location: $url_auto_redirect", true, 302 );
94
  exit();
95
  }
53
  * @return string
54
  */
55
  protected function language_exception( $server_lang ) {
56
+
57
+ if(in_array( $server_lang, ['zh-TW', 'zh-HK' ])) {
58
+ $server_lang = "tw";
59
+ }
60
+
61
+ if(in_array( $server_lang, ['pt-BR'])) {
62
+ $server_lang = "br";
63
+ }
64
+
65
+ $server_lang = substr($server_lang, 0, 2);
66
+
67
  if ( in_array( $server_lang, ['nb', 'nn', ] ) ) { //phpcs:ignore
68
  // Case Norwegian
69
  $server_lang = 'no';
83
  }
84
 
85
  if ( isset( $_SERVER['HTTP_ACCEPT_LANGUAGE'] ) ) { //phpcs:ignore
86
+ $server_lang = substr( $_SERVER['HTTP_ACCEPT_LANGUAGE'], 0, apply_filters( 'weglot_number_of_character_for_language', 5 ) );
87
+ $server_lang = $this->language_exception( $server_lang );
88
  } else {
89
  if ( isset( $_SERVER['HTTP_CF_IPCOUNTRY'] ) ) { // phpcs:ignore
90
  // Compatibility Cloudfare
92
  }
93
  }
94
 
95
+ $destination_languages = $this->option_services->get_destination_languages( true );
 
 
96
 
97
+ $language_code_rewrited = apply_filters( 'weglot_language_code_replace', array() );
98
+ $server_lang_modified = array_key_exists($server_lang, $language_code_rewrited) ? $language_code_rewrited[$server_lang] : $server_lang;
99
  if (
100
  in_array( $server_lang, $destination_languages ) && // phpcs:ignore
101
  weglot_get_original_language() === $this->request_url_services->get_current_language() &&
102
  ! $this->private_services->is_active_private_mode_for_lang( $server_lang )
103
  ) {
104
+ $url_auto_redirect = apply_filters( 'weglot_url_auto_redirect', $this->request_url_services->get_weglot_url()->getForLanguage( $server_lang_modified ) );
105
  header( "Location: $url_auto_redirect", true, 302 );
106
  exit();
107
  }
src/services/class-replace-link-service-weglot.php CHANGED
@@ -21,7 +21,7 @@ class Replace_Link_Service_Weglot {
21
  }
22
 
23
  /**
24
- * Replace an URL
25
  * @since 2.0
26
  * @param string $url
27
  * @return string
@@ -68,69 +68,19 @@ class Replace_Link_Service_Weglot {
68
  $current_language = $default_language;
69
  }
70
 
71
- $request_without_language = array_filter( explode( '/', $path ), 'strlen' );
72
- $index_entries = count( $request_without_language );
73
-
74
- $language_code_rewrited = apply_filters( 'weglot_language_code_replace', array() );
75
- $to_translate_language_iso = ( $key = array_search( $current_language, $language_code_rewrited ) ) ? $key : $current_language;
76
-
77
- if (
78
- isset( $request_without_language[ $index_entries ] )
79
- && ! is_admin()
80
- && ! empty( $custom_urls )
81
- && isset( $custom_urls[ $to_translate_language_iso ] )
82
- ) {
83
-
84
- // Add final slash if not set
85
- $end_with_slash = false;
86
- if ( $path === trailingslashit( $path ) ) {
87
- $end_with_slash = true;
88
- } else {
89
- $path = trailingslashit( $path );
90
- }
91
-
92
- foreach ( $custom_urls[ $to_translate_language_iso ] as $slug_translated => $slug_original ) {
93
- if ( empty( $slug_translated ) || empty( $slug_original ) ) {
94
- continue;
95
- }
96
- $path = str_replace( '/' . $slug_translated . '/', '/' . $slug_original . '/', $path );
97
- }
98
-
99
- // Remove final slash if not set before
100
- if ( false === $end_with_slash ) {
101
- $path = untrailingslashit( $path );
102
- }
103
-
104
- // Get translated URL of original URL
105
 
106
- // Add final slash if not set
107
- $end_with_slash = false;
108
- if ( $path === trailingslashit( $path ) ) {
109
- $end_with_slash = true;
110
- } else {
111
- $path = trailingslashit( $path );
112
  }
113
-
114
- // Get custom URL : Original (original lang) -> Custom (to translate lang)
115
- if ( isset( $custom_urls[ $to_translate_language_iso ] ) ) {
116
- foreach ( $custom_urls[ $to_translate_language_iso ] as $slug_translated => $slug_original ) {
117
- if ( empty( $slug_translated ) || empty( $slug_original ) ) {
118
- continue;
119
- }
120
- $path = str_replace( '/' . $slug_original . '/', '/' . $slug_translated . '/', $path );
121
- }
122
- }
123
-
124
- // Remove final slash if not set before
125
- if ( false === $end_with_slash ) {
126
- $path = untrailingslashit( $path );
127
- }
128
-
129
  }
130
 
131
  $url_translated = ( strlen( $path ) > 2 && strpos( $path, "/$current_language/" ) !== false ) ?
132
  "$scheme$user$pass$host$port$path$query$fragment" : "$scheme$user$pass$host$port/$current_language$path$query$fragment";
133
 
 
 
134
  foreach ( array_reverse( $this->multisite_service->get_list_of_network_path() ) as $np ) {
135
  if ( strlen( $np ) > 2 && strpos( $url_translated, $np ) !== false ) {
136
  $url_translated = str_replace(
21
  }
22
 
23
  /**
24
+ * Replace an original URL into the current language
25
  * @since 2.0
26
  * @param string $url
27
  * @return string
68
  $current_language = $default_language;
69
  }
70
 
71
+ $to_translate_language_iso = $this->option_service->get_iso_code_from_custom_code( $current_language );
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
72
 
73
+ if ( isset( $custom_urls[ $to_translate_language_iso ] ) ) {
74
+ foreach ( $custom_urls[ $to_translate_language_iso ] as $key => $value ) {
75
+ $path = str_replace( '/' . $value . '/', '/' . $key . '/', $path );
 
 
 
76
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
77
  }
78
 
79
  $url_translated = ( strlen( $path ) > 2 && strpos( $path, "/$current_language/" ) !== false ) ?
80
  "$scheme$user$pass$host$port$path$query$fragment" : "$scheme$user$pass$host$port/$current_language$path$query$fragment";
81
 
82
+
83
+ // We displace the multi-site path before the language code
84
  foreach ( array_reverse( $this->multisite_service->get_list_of_network_path() ) as $np ) {
85
  if ( strlen( $np ) > 2 && strpos( $url_translated, $np ) !== false ) {
86
  $url_translated = str_replace(
src/services/class-request-url-service-weglot.php CHANGED
@@ -221,7 +221,7 @@ class Request_Url_Service_Weglot {
221
  * @param string $url
222
  * @return boolean
223
  */
224
- public function is_eligible_url( $url ) {
225
  $destinations = weglot_get_current_destination_languages();
226
  if ( empty( $destinations ) ) {
227
  return true;
@@ -231,29 +231,14 @@ class Request_Url_Service_Weglot {
231
  $exclude_urls_option = $this->option_services->get_exclude_urls();
232
  $custom_urls = $this->option_services->get_option( 'custom_urls' );
233
  $current_language = $this->get_current_language();
234
- $end_with_slash = false;
235
-
236
- // Add final slash if not set
237
- if ( trailingslashit( $url_relative ) === $url_relative ) {
238
- $end_with_slash = true;
239
- } else {
240
- $url_relative = trailingslashit( $url_relative );
241
- }
242
 
243
  if ( isset( $custom_urls[ $current_language ] ) ) {
244
- foreach ( $custom_urls[ $current_language ] as $slug_translated => $slug_original ) {
245
- if ( empty( $slug_translated ) || empty( $slug_original ) ) {
246
- continue;
247
- }
248
- $url_relative = str_replace( '/' . $slug_translated . '/', '/' . $slug_original . '/', $url_relative );
249
  }
250
  }
251
 
252
- // Remove final slash if not set before
253
- if ( false === $end_with_slash ) {
254
- $url_relative = untrailingslashit( $url_relative );
255
- }
256
-
257
  $weglot_url = $this->create_url_object( $url );
258
  $weglot_url->setExcludedUrls( $exclude_urls_option );
259
 
@@ -265,8 +250,8 @@ class Request_Url_Service_Weglot {
265
  return apply_filters( 'weglot_is_eligible_url', false, $weglot_url );
266
  }
267
 
268
- if ( $url_relative ) {
269
- $weglot_url = $this->create_url_object( $url_relative );
270
  $weglot_url->setExcludedUrls( $exclude_urls_option );
271
  if ( ! $weglot_url->isTranslable() ) {
272
  return apply_filters( 'weglot_is_eligible_url', false, $weglot_url );
221
  * @param string $url
222
  * @return boolean
223
  */
224
+ public function is_eligible_url( $url ) {
225
  $destinations = weglot_get_current_destination_languages();
226
  if ( empty( $destinations ) ) {
227
  return true;
231
  $exclude_urls_option = $this->option_services->get_exclude_urls();
232
  $custom_urls = $this->option_services->get_option( 'custom_urls' );
233
  $current_language = $this->get_current_language();
234
+ $url_path_custom = null;
 
 
 
 
 
 
 
235
 
236
  if ( isset( $custom_urls[ $current_language ] ) ) {
237
+ foreach ( $custom_urls[ $current_language ] as $key => $value ) {
238
+ $url_path_custom = str_replace( '/' . $key . '/', '/' . $value . '/', $url_relative );
 
 
 
239
  }
240
  }
241
 
 
 
 
 
 
242
  $weglot_url = $this->create_url_object( $url );
243
  $weglot_url->setExcludedUrls( $exclude_urls_option );
244
 
250
  return apply_filters( 'weglot_is_eligible_url', false, $weglot_url );
251
  }
252
 
253
+ if ( $url_path_custom ) {
254
+ $weglot_url = $this->create_url_object( $url_path_custom );
255
  $weglot_url->setExcludedUrls( $exclude_urls_option );
256
  if ( ! $weglot_url->isTranslable() ) {
257
  return apply_filters( 'weglot_is_eligible_url', false, $weglot_url );
src/services/class-translate-service-weglot.php CHANGED
@@ -82,9 +82,7 @@ class Translate_Service_Weglot {
82
  $parser = $this->parser_services->get_parser();
83
 
84
  try {
85
-
86
- $language_code_rewrited = apply_filters( 'weglot_language_code_replace', array() );
87
- $to_translate_language_iso = ( $key = array_search( $this->current_language, $language_code_rewrited ) ) ? $key : $this->current_language;
88
 
89
  switch ( $type ) {
90
  case 'json':
82
  $parser = $this->parser_services->get_parser();
83
 
84
  try {
85
+ $to_translate_language_iso = $this->option_services->get_iso_code_from_custom_code( $this->current_language );
 
 
86
 
87
  switch ( $type ) {
88
  case 'json':
src/third/amp/class-amp-enqueue-weglot.php CHANGED
@@ -81,6 +81,8 @@ class Amp_Enqueue_Weglot implements Hooks_Interface_Weglot {
81
 
82
  if ( $with_flags ) {
83
  foreach ( $languages_configured as $lang ) {
 
 
84
  if ( ! empty( $flags_positions[ $type_flags ][ $lang ] ) ) {
85
  $css .= '.weglot-flags.flag-' . $type_flags . '.' . $lang . ' > a:before, .weglot-flags.flag-' . $type_flags . '.' . $lang . ' > span:before { background-position: ' . $flags_positions[ $type_flags ][ $lang ] . 'px 0; }';
86
  }
@@ -166,7 +168,7 @@ class Amp_Enqueue_Weglot implements Hooks_Interface_Weglot {
166
  'ps' => -5189,
167
  'fa' => -6690,
168
  'pl' => -2160,
169
- 'pt' => -6630,
170
  'pa' => -3180,
171
  'ro' => -2070,
172
  'ru' => -2040,
@@ -203,6 +205,7 @@ class Amp_Enqueue_Weglot implements Hooks_Interface_Weglot {
203
  'yi' => -1050,
204
  'yo' => -870,
205
  'zu' => -6570,
 
206
  ),
207
  array(
208
  'hw' => -7840,
@@ -276,7 +279,7 @@ class Amp_Enqueue_Weglot implements Hooks_Interface_Weglot {
276
  'ps' => -33,
277
  'fa' => -3393,
278
  'pl' => -5889,
279
- 'pt' => -993,
280
  'pa' => -3329,
281
  'ro' => -6081,
282
  'ru' => -6113,
@@ -313,6 +316,7 @@ class Amp_Enqueue_Weglot implements Hooks_Interface_Weglot {
313
  'yi' => -3521,
314
  'yo' => -5313,
315
  'zu' => -6848,
 
316
  ),
317
  array(
318
  'hw' => -5448,
@@ -386,7 +390,7 @@ class Amp_Enqueue_Weglot implements Hooks_Interface_Weglot {
386
  'ps' => -4008,
387
  'fa' => -5088,
388
  'pl' => -984,
389
- 'pt' => -2784,
390
  'pa' => -1728,
391
  'ro' => -960,
392
  'ru' => -936,
@@ -423,6 +427,7 @@ class Amp_Enqueue_Weglot implements Hooks_Interface_Weglot {
423
  'yi' => -1992,
424
  'yo' => -1103,
425
  'zu' => -4968,
 
426
  ),
427
  array(
428
  'hw' => -2711,
@@ -496,7 +501,7 @@ class Amp_Enqueue_Weglot implements Hooks_Interface_Weglot {
496
  'ps' => -4753,
497
  'fa' => -816,
498
  'pl' => -4944,
499
- 'pt' => -4344,
500
  'pa' => -2304,
501
  'ro' => -3744,
502
  'ru' => -2664,
@@ -533,6 +538,7 @@ class Amp_Enqueue_Weglot implements Hooks_Interface_Weglot {
533
  'yi' => -1608,
534
  'yo' => -3457,
535
  'zu' => -5496,
 
536
  ),
537
  );
538
  }
81
 
82
  if ( $with_flags ) {
83
  foreach ( $languages_configured as $lang ) {
84
+
85
+ $lang = $this->option_services->get_iso_code_from_custom_code( $lang );
86
  if ( ! empty( $flags_positions[ $type_flags ][ $lang ] ) ) {
87
  $css .= '.weglot-flags.flag-' . $type_flags . '.' . $lang . ' > a:before, .weglot-flags.flag-' . $type_flags . '.' . $lang . ' > span:before { background-position: ' . $flags_positions[ $type_flags ][ $lang ] . 'px 0; }';
88
  }
168
  'ps' => -5189,
169
  'fa' => -6690,
170
  'pl' => -2160,
171
+ 'pt' => -1740,
172
  'pa' => -3180,
173
  'ro' => -2070,
174
  'ru' => -2040,
205
  'yi' => -1050,
206
  'yo' => -870,
207
  'zu' => -6570,
208
+ 'br' => -6630,
209
  ),
210
  array(
211
  'hw' => -7840,
279
  'ps' => -33,
280
  'fa' => -3393,
281
  'pl' => -5889,
282
+ 'pt' => -5921,
283
  'pa' => -3329,
284
  'ro' => -6081,
285
  'ru' => -6113,
316
  'yi' => -3521,
317
  'yo' => -5313,
318
  'zu' => -6848,
319
+ 'br' => -993,
320
  ),
321
  array(
322
  'hw' => -5448,
390
  'ps' => -4008,
391
  'fa' => -5088,
392
  'pl' => -984,
393
+ 'pt' => -528,
394
  'pa' => -1728,
395
  'ro' => -960,
396
  'ru' => -936,
427
  'yi' => -1992,
428
  'yo' => -1103,
429
  'zu' => -4968,
430
+ 'br' => -2784,
431
  ),
432
  array(
433
  'hw' => -2711,
501
  'ps' => -4753,
502
  'fa' => -816,
503
  'pl' => -4944,
504
+ 'pt' => -3504,
505
  'pa' => -2304,
506
  'ro' => -3744,
507
  'ru' => -2664,
538
  'yi' => -1608,
539
  'yo' => -3457,
540
  'zu' => -5496,
541
+ 'br' => -4344,
542
  ),
543
  );
544
  }
src/third/woocommerce/class-wc-filter-urls-weglot.php CHANGED
@@ -70,12 +70,24 @@ class WC_Filter_Urls_Weglot implements Hooks_Interface_Weglot {
70
  $current_and_original_language = weglot_get_current_and_original_language();
71
  $choose_current_language = $current_and_original_language['current'];
72
  $url = $this->request_url_services->create_url_object( $url_filter );
 
 
 
 
 
 
 
 
 
 
 
 
73
  if ( $current_and_original_language['current'] !== $current_and_original_language['original'] ) { // Not ajax
74
 
75
  if ( substr( get_option( 'permalink_structure' ), -1 ) !== '/' ) {
76
- return str_replace( '/?key', '?key', $url->getForLanguage( $choose_current_language ) );
77
  } else {
78
- return str_replace( '//?key', '/?key', str_replace( '?key', '/?key', $url->getForLanguage( $choose_current_language ) ) );
79
  }
80
  } else {
81
  if ( isset( $_SERVER['HTTP_REFERER'] ) ) { //phpcs:ignore
@@ -83,9 +95,9 @@ class WC_Filter_Urls_Weglot implements Hooks_Interface_Weglot {
83
  $choose_current_language = $url->detectCurrentLanguage();
84
  if ( $choose_current_language && $choose_current_language !== $current_and_original_language['original'] ) {
85
  if ( substr( get_option( 'permalink_structure' ), -1 ) !== '/' ) {
86
- return str_replace( '/?key', '?key', $url->getForLanguage( $choose_current_language ) );
87
  } else {
88
- return str_replace( '//?key', '/?key', str_replace( '?key', '/?key', $url->getForLanguage( $choose_current_language ) ) );
89
  }
90
  }
91
  }
70
  $current_and_original_language = weglot_get_current_and_original_language();
71
  $choose_current_language = $current_and_original_language['current'];
72
  $url = $this->request_url_services->create_url_object( $url_filter );
73
+
74
+ $url_translated = $url->getForLanguage( $choose_current_language );
75
+ $custom_urls = $this->option_services->get_option( 'custom_urls' );
76
+ $language_code_rewrited = apply_filters( 'weglot_language_code_replace', array() );
77
+ $key = array_search( $current_and_original_language['current'], $language_code_rewrited, true );
78
+ $to_iso_language = $key ? $key : $current_and_original_language['current'];
79
+ if ( isset( $custom_urls[ $to_iso_language ] ) ) {
80
+ foreach ( $custom_urls[ $to_iso_language ] as $key => $value ) {
81
+ $url_translated = str_replace( '/' . $value . '/', '/' . $key . '/', $url_translated );
82
+ }
83
+ }
84
+
85
  if ( $current_and_original_language['current'] !== $current_and_original_language['original'] ) { // Not ajax
86
 
87
  if ( substr( get_option( 'permalink_structure' ), -1 ) !== '/' ) {
88
+ return str_replace( '/?key', '?key', $url_translated );
89
  } else {
90
+ return str_replace( '//?key', '/?key', str_replace( '?key', '/?key', $url_translated ) );
91
  }
92
  } else {
93
  if ( isset( $_SERVER['HTTP_REFERER'] ) ) { //phpcs:ignore
95
  $choose_current_language = $url->detectCurrentLanguage();
96
  if ( $choose_current_language && $choose_current_language !== $current_and_original_language['original'] ) {
97
  if ( substr( get_option( 'permalink_structure' ), -1 ) !== '/' ) {
98
+ return str_replace( '/?key', '?key', $url_translated );
99
  } else {
100
+ return str_replace( '//?key', '/?key', str_replace( '?key', '/?key', $url_translated ) );
101
  }
102
  }
103
  }
templates/admin/pages/tabs/advanced.php CHANGED
@@ -223,7 +223,7 @@ $languages = array_values( $languages );
223
  <?php
224
  // translators: 1 Local name language
225
  $str = __( 'Make "%s" a private language', 'weglot' );
226
- echo esc_html( sprintf( $str, $lang->getLocalName() ), 'weglot' );
227
  ?>
228
  </label>
229
  </div>
223
  <?php
224
  // translators: 1 Local name language
225
  $str = __( 'Make "%s" a private language', 'weglot' );
226
+ echo esc_html( sprintf( $str, $lang->getEnglishName() ), 'weglot' );
227
  ?>
228
  </label>
229
  </div>
templates/admin/pages/tabs/appearance.php CHANGED
@@ -171,11 +171,6 @@ $options_available = [
171
  <option value=18><?php esc_html_e( 'Puerto Rico', 'weglot' ); ?></option>
172
  <option value=19><?php esc_html_e( 'Panama', 'weglot' ); ?></option>
173
  </select>
174
- <select class="flag-pt-type wg-input-select">
175
- <option value=0><?php esc_html_e( 'Choose Portuguese flag:', 'weglot' ); ?></option>
176
- <option value=0><?php esc_html_e( 'Brazil (default)', 'weglot' ); ?></option>
177
- <option value=1><?php esc_html_e( 'Portugal', 'weglot' ); ?></option>
178
- </select>
179
  <select class="flag-fr-type wg-input-select">
180
  <option value=0><?php esc_html_e( 'Choose French flag:', 'weglot' ); ?></option>
181
  <option value=0><?php esc_html_e( 'France (default)', 'weglot' ); ?></option>
171
  <option value=18><?php esc_html_e( 'Puerto Rico', 'weglot' ); ?></option>
172
  <option value=19><?php esc_html_e( 'Panama', 'weglot' ); ?></option>
173
  </select>
 
 
 
 
 
174
  <select class="flag-fr-type wg-input-select">
175
  <option value=0><?php esc_html_e( 'Choose French flag:', 'weglot' ); ?></option>
176
  <option value=0><?php esc_html_e( 'France (default)', 'weglot' ); ?></option>
templates/admin/pages/tabs/custom-urls.php CHANGED
@@ -46,24 +46,26 @@ if ( ! empty( $_GET['reset-all-custom-urls'] ) && 'true' === $_GET['reset-all-cu
46
  <div style="flex:1;"></div>
47
  </div>
48
  <?php
49
- foreach ( $urls as $key => $value ) :
50
- $keyGenerate = sprintf( '%s-%s-%s', $lang, $key, $value );
51
- ?>
52
- <div style="display:flex;" id="<?php echo $keyGenerate; ?>">
53
- <div style="margin-right:10px; flex:5;">
54
- <input style="max-width:100%;" type="text" value="<?php echo esc_attr( $value ); ?>" class="base-url base-url-<?php echo esc_attr( $keyGenerate ); ?>" data-key="<?php echo esc_attr( $keyGenerate ); ?>" name="<?php echo esc_attr( sprintf( '%s[%s][%s][%s]', WEGLOT_SLUG, 'custom_urls', $lang, $key ) ); ?>" data-lang="<?php echo esc_attr( $lang ); ?>" />
 
 
 
 
 
 
 
 
 
 
55
  </div>
56
- <div style="flex:5;">
57
- <input style="max-width:100%;" type="text" value="<?php echo esc_attr( $key ); ?>" data-key="<?php echo esc_attr( $keyGenerate ); ?>" class="custom-url custom-<?php echo esc_attr( $keyGenerate ); ?>" data-lang="<?php echo esc_attr( $lang ); ?>" />
58
- </div>
59
- <div style="align-self:flex-end; flex:1; text-align: center; height: 32px;">
60
- <button class="js-btn-remove" data-key="<?php echo esc_attr( $keyGenerate ); ?>">
61
- <span class="dashicons dashicons-minus"></span>
62
- </button>
63
- </div>
64
- </div>
65
- <?php
66
- endforeach;
67
  ?>
68
 
69
  <script type="text/javascript">
46
  <div style="flex:1;"></div>
47
  </div>
48
  <?php
49
+ if ( ! empty( $urls ) ) :
50
+ foreach ( $urls as $key => $value ) :
51
+ $key_generate = sprintf( '%s-%s-%s', $lang, $key, $value );
52
+ ?>
53
+ <div style="display:flex;" id="<?php echo esc_attr( $key_generate ); ?>">
54
+ <div style="margin-right:10px; flex:5;">
55
+ <input style="max-width:100%;" type="text" value="<?php echo esc_attr( $value ); ?>" class="base-url base-url-<?php echo esc_attr( $key_generate ); ?>" data-key="<?php echo esc_attr( $key_generate ); ?>" name="<?php echo esc_attr( sprintf( '%s[%s][%s][%s]', WEGLOT_SLUG, 'custom_urls', $lang, $key ) ); ?>" data-lang="<?php echo esc_attr( $lang ); ?>" />
56
+ </div>
57
+ <div style="flex:5;">
58
+ <input style="max-width:100%;" type="text" value="<?php echo esc_attr( $key ); ?>" data-key="<?php echo esc_attr( $key_generate ); ?>" class="custom-url custom-<?php echo esc_attr( $key_generate ); ?>" data-lang="<?php echo esc_attr( $lang ); ?>" />
59
+ </div>
60
+ <div style="align-self:flex-end; flex:1; text-align: center; height: 32px;">
61
+ <button class="js-btn-remove" data-key="<?php echo esc_attr( $key_generate ); ?>">
62
+ <span class="dashicons dashicons-minus"></span>
63
+ </button>
64
+ </div>
65
  </div>
66
+ <?php
67
+ endforeach;
68
+ endif;
 
 
 
 
 
 
 
 
69
  ?>
70
 
71
  <script type="text/javascript">
vendor/autoload.php CHANGED
@@ -4,4 +4,4 @@
4
 
5
  require_once __DIR__ . '/composer/autoload_real.php';
6
 
7
- return ComposerAutoloaderInit9d76cd5dccc57a2e6c73f7e5d3c79a95::getLoader();
4
 
5
  require_once __DIR__ . '/composer/autoload_real.php';
6
 
7
+ return ComposerAutoloaderInitae314e18789233c1e13de8010f8b5e1a::getLoader();
vendor/composer/autoload_real.php CHANGED
@@ -2,7 +2,7 @@
2
 
3
  // autoload_real.php @generated by Composer
4
 
5
- class ComposerAutoloaderInit9d76cd5dccc57a2e6c73f7e5d3c79a95
6
  {
7
  private static $loader;
8
 
@@ -19,15 +19,15 @@ class ComposerAutoloaderInit9d76cd5dccc57a2e6c73f7e5d3c79a95
19
  return self::$loader;
20
  }
21
 
22
- spl_autoload_register(array('ComposerAutoloaderInit9d76cd5dccc57a2e6c73f7e5d3c79a95', 'loadClassLoader'), true, true);
23
  self::$loader = $loader = new \Composer\Autoload\ClassLoader();
24
- spl_autoload_unregister(array('ComposerAutoloaderInit9d76cd5dccc57a2e6c73f7e5d3c79a95', 'loadClassLoader'));
25
 
26
  $useStaticLoader = PHP_VERSION_ID >= 50600 && !defined('HHVM_VERSION') && (!function_exists('zend_loader_file_encoded') || !zend_loader_file_encoded());
27
  if ($useStaticLoader) {
28
  require_once __DIR__ . '/autoload_static.php';
29
 
30
- call_user_func(\Composer\Autoload\ComposerStaticInit9d76cd5dccc57a2e6c73f7e5d3c79a95::getInitializer($loader));
31
  } else {
32
  $map = require __DIR__ . '/autoload_namespaces.php';
33
  foreach ($map as $namespace => $path) {
@@ -48,19 +48,19 @@ class ComposerAutoloaderInit9d76cd5dccc57a2e6c73f7e5d3c79a95
48
  $loader->register(true);
49
 
50
  if ($useStaticLoader) {
51
- $includeFiles = Composer\Autoload\ComposerStaticInit9d76cd5dccc57a2e6c73f7e5d3c79a95::$files;
52
  } else {
53
  $includeFiles = require __DIR__ . '/autoload_files.php';
54
  }
55
  foreach ($includeFiles as $fileIdentifier => $file) {
56
- composerRequire9d76cd5dccc57a2e6c73f7e5d3c79a95($fileIdentifier, $file);
57
  }
58
 
59
  return $loader;
60
  }
61
  }
62
 
63
- function composerRequire9d76cd5dccc57a2e6c73f7e5d3c79a95($fileIdentifier, $file)
64
  {
65
  if (empty($GLOBALS['__composer_autoload_files'][$fileIdentifier])) {
66
  require $file;
2
 
3
  // autoload_real.php @generated by Composer
4
 
5
+ class ComposerAutoloaderInitae314e18789233c1e13de8010f8b5e1a
6
  {
7
  private static $loader;
8
 
19
  return self::$loader;
20
  }
21
 
22
+ spl_autoload_register(array('ComposerAutoloaderInitae314e18789233c1e13de8010f8b5e1a', 'loadClassLoader'), true, true);
23
  self::$loader = $loader = new \Composer\Autoload\ClassLoader();
24
+ spl_autoload_unregister(array('ComposerAutoloaderInitae314e18789233c1e13de8010f8b5e1a', 'loadClassLoader'));
25
 
26
  $useStaticLoader = PHP_VERSION_ID >= 50600 && !defined('HHVM_VERSION') && (!function_exists('zend_loader_file_encoded') || !zend_loader_file_encoded());
27
  if ($useStaticLoader) {
28
  require_once __DIR__ . '/autoload_static.php';
29
 
30
+ call_user_func(\Composer\Autoload\ComposerStaticInitae314e18789233c1e13de8010f8b5e1a::getInitializer($loader));
31
  } else {
32
  $map = require __DIR__ . '/autoload_namespaces.php';
33
  foreach ($map as $namespace => $path) {
48
  $loader->register(true);
49
 
50
  if ($useStaticLoader) {
51
+ $includeFiles = Composer\Autoload\ComposerStaticInitae314e18789233c1e13de8010f8b5e1a::$files;
52
  } else {
53
  $includeFiles = require __DIR__ . '/autoload_files.php';
54
  }
55
  foreach ($includeFiles as $fileIdentifier => $file) {
56
+ composerRequireae314e18789233c1e13de8010f8b5e1a($fileIdentifier, $file);
57
  }
58
 
59
  return $loader;
60
  }
61
  }
62
 
63
+ function composerRequireae314e18789233c1e13de8010f8b5e1a($fileIdentifier, $file)
64
  {
65
  if (empty($GLOBALS['__composer_autoload_files'][$fileIdentifier])) {
66
  require $file;
vendor/composer/autoload_static.php CHANGED
@@ -4,7 +4,7 @@
4
 
5
  namespace Composer\Autoload;
6
 
7
- class ComposerStaticInit9d76cd5dccc57a2e6c73f7e5d3c79a95
8
  {
9
  public static $files = array (
10
  '6c200413eed8aeea54dbaf934a31b127' => __DIR__ . '/..' . '/weglot/simplehtmldom/src/simple_html_dom.php',
@@ -57,10 +57,10 @@ class ComposerStaticInit9d76cd5dccc57a2e6c73f7e5d3c79a95
57
  public static function getInitializer(ClassLoader $loader)
58
  {
59
  return \Closure::bind(function () use ($loader) {
60
- $loader->prefixLengthsPsr4 = ComposerStaticInit9d76cd5dccc57a2e6c73f7e5d3c79a95::$prefixLengthsPsr4;
61
- $loader->prefixDirsPsr4 = ComposerStaticInit9d76cd5dccc57a2e6c73f7e5d3c79a95::$prefixDirsPsr4;
62
- $loader->prefixesPsr0 = ComposerStaticInit9d76cd5dccc57a2e6c73f7e5d3c79a95::$prefixesPsr0;
63
- $loader->classMap = ComposerStaticInit9d76cd5dccc57a2e6c73f7e5d3c79a95::$classMap;
64
 
65
  }, null, ClassLoader::class);
66
  }
4
 
5
  namespace Composer\Autoload;
6
 
7
+ class ComposerStaticInitae314e18789233c1e13de8010f8b5e1a
8
  {
9
  public static $files = array (
10
  '6c200413eed8aeea54dbaf934a31b127' => __DIR__ . '/..' . '/weglot/simplehtmldom/src/simple_html_dom.php',
57
  public static function getInitializer(ClassLoader $loader)
58
  {
59
  return \Closure::bind(function () use ($loader) {
60
+ $loader->prefixLengthsPsr4 = ComposerStaticInitae314e18789233c1e13de8010f8b5e1a::$prefixLengthsPsr4;
61
+ $loader->prefixDirsPsr4 = ComposerStaticInitae314e18789233c1e13de8010f8b5e1a::$prefixDirsPsr4;
62
+ $loader->prefixesPsr0 = ComposerStaticInitae314e18789233c1e13de8010f8b5e1a::$prefixesPsr0;
63
+ $loader->classMap = ComposerStaticInitae314e18789233c1e13de8010f8b5e1a::$classMap;
64
 
65
  }, null, ClassLoader::class);
66
  }
vendor/composer/installed.json CHANGED
@@ -133,23 +133,23 @@
133
  },
134
  {
135
  "name": "weglot/translation-definitions",
136
- "version": "v2.1.10",
137
- "version_normalized": "2.1.10.0",
138
  "source": {
139
  "type": "git",
140
  "url": "https://github.com/weglot/weglot-translation-definitions.git",
141
- "reference": "e8f743d8e762600993edd4954f34b6068c13b83f"
142
  },
143
  "dist": {
144
  "type": "zip",
145
- "url": "https://api.github.com/repos/weglot/weglot-translation-definitions/zipball/e8f743d8e762600993edd4954f34b6068c13b83f",
146
- "reference": "e8f743d8e762600993edd4954f34b6068c13b83f",
147
  "shasum": ""
148
  },
149
  "require": {
150
  "php": ">=5"
151
  },
152
- "time": "2020-06-08T15:20:54+00:00",
153
  "type": "library",
154
  "installation-source": "dist",
155
  "autoload": {
133
  },
134
  {
135
  "name": "weglot/translation-definitions",
136
+ "version": "v2.3.2",
137
+ "version_normalized": "2.3.2.0",
138
  "source": {
139
  "type": "git",
140
  "url": "https://github.com/weglot/weglot-translation-definitions.git",
141
+ "reference": "3a4d4b76892fe26cba132f6f9a29e4520dfc3ab6"
142
  },
143
  "dist": {
144
  "type": "zip",
145
+ "url": "https://api.github.com/repos/weglot/weglot-translation-definitions/zipball/3a4d4b76892fe26cba132f6f9a29e4520dfc3ab6",
146
+ "reference": "3a4d4b76892fe26cba132f6f9a29e4520dfc3ab6",
147
  "shasum": ""
148
  },
149
  "require": {
150
  "php": ">=5"
151
  },
152
+ "time": "2020-09-09T14:22:43+00:00",
153
  "type": "library",
154
  "installation-source": "dist",
155
  "autoload": {
vendor/weglot/translation-definitions/data/available-languages.json CHANGED
@@ -32,13 +32,18 @@
32
  {
33
  "code": "bg",
34
  "english_name": "Bulgarian",
35
- "local_name": "български"
36
  },
37
  {
38
  "code": "bn",
39
  "english_name": "Bengali",
40
  "local_name": "বাংলা"
41
  },
 
 
 
 
 
42
  {
43
  "code": "bs",
44
  "english_name": "Bosnian",
32
  {
33
  "code": "bg",
34
  "english_name": "Bulgarian",
35
+ "local_name": "Български"
36
  },
37
  {
38
  "code": "bn",
39
  "english_name": "Bengali",
40
  "local_name": "বাংলা"
41
  },
42
+ {
43
+ "code": "br",
44
+ "english_name": "Portuguese",
45
+ "local_name": "Português"
46
+ },
47
  {
48
  "code": "bs",
49
  "english_name": "Bosnian",
vendor/weglot/translation-definitions/data/word-type.json ADDED
@@ -0,0 +1,13 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "OTHER": 0,
3
+ "TEXT": 1,
4
+ "VALUE": 2,
5
+ "PLACEHOLDER": 3,
6
+ "META_CONTENT": 4,
7
+ "IFRAME_SRC": 5,
8
+ "IMG_SRC": 6,
9
+ "IMG_ALT": 7,
10
+ "PDF_HREF": 8,
11
+ "PAGE_TITLE": 9,
12
+ "EXTERNAL_LINK": 10
13
+ }
vendor/weglot/translation-definitions/index.js CHANGED
@@ -1,6 +1,8 @@
1
  // NOTE: This file should not contain any data itself.
2
  var labelKey = "english_name"; // local_name | english_name
3
 
 
 
4
  var cases = {
5
  v1: require("./data/cases/cases-v1.json"),
6
  v2: require("./data/cases/cases-v2-js.json"),
@@ -21,5 +23,6 @@ var languages = require("./data/available-languages.json")
21
  module.exports = {
22
  cases: cases,
23
  mergeNodesList: require("./mergeNodesList").mergeNodesList,
24
- languages: languages
 
25
  };
1
  // NOTE: This file should not contain any data itself.
2
  var labelKey = "english_name"; // local_name | english_name
3
 
4
+ var wordType = require("./data/word-type.json");
5
+
6
  var cases = {
7
  v1: require("./data/cases/cases-v1.json"),
8
  v2: require("./data/cases/cases-v2-js.json"),
23
  module.exports = {
24
  cases: cases,
25
  mergeNodesList: require("./mergeNodesList").mergeNodesList,
26
+ languages: languages,
27
+ wordType: wordType
28
  };
vendor/weglot/translation-definitions/package.json CHANGED
@@ -1,6 +1,6 @@
1
  {
2
  "name": "weglot-translation-definitions",
3
- "version": "2.1.5",
4
  "main": "index.js",
5
  "private": true,
6
  "repository": "https://github.com/weglot/weglot-translation-definitions.git",
1
  {
2
  "name": "weglot-translation-definitions",
3
+ "version": "2.3.2",
4
  "main": "index.js",
5
  "private": true,
6
  "repository": "https://github.com/weglot/weglot-translation-definitions.git",
weglot.php CHANGED
@@ -7,7 +7,7 @@ Author: Weglot Translate team
7
  Author URI: https://weglot.com/
8
  Text Domain: weglot
9
  Domain Path: /languages/
10
- Version: 3.1.9
11
  */
12
 
13
  /**
@@ -22,7 +22,7 @@ if ( ! defined( 'ABSPATH' ) ) {
22
  define( 'WEGLOT_NAME', 'Weglot' );
23
  define( 'WEGLOT_SLUG', 'weglot-translate' );
24
  define( 'WEGLOT_OPTION_GROUP', 'group-weglot-translate' );
25
- define( 'WEGLOT_VERSION', '3.1.9' );
26
  define( 'WEGLOT_PHP_MIN', '5.4' );
27
  define( 'WEGLOT_BNAME', plugin_basename( __FILE__ ) );
28
  define( 'WEGLOT_DIR', __DIR__ );
7
  Author URI: https://weglot.com/
8
  Text Domain: weglot
9
  Domain Path: /languages/
10
+ Version: 3.2.0
11
  */
12
 
13
  /**
22
  define( 'WEGLOT_NAME', 'Weglot' );
23
  define( 'WEGLOT_SLUG', 'weglot-translate' );
24
  define( 'WEGLOT_OPTION_GROUP', 'group-weglot-translate' );
25
+ define( 'WEGLOT_VERSION', '3.2.0' );
26
  define( 'WEGLOT_PHP_MIN', '5.4' );
27
  define( 'WEGLOT_BNAME', plugin_basename( __FILE__ ) );
28
  define( 'WEGLOT_DIR', __DIR__ );