Version Description
- Setting
Project-Id-Version
on new POT files - Added source view to quick links in file tables
- Supporting only WordPress style locale codes
- Editor screen tolerates missing PO headers
- Ajax debugging improvements for issue reporting
- Added loco_parse_locale action callback
Download this release
Release Info
Developer | timwhitlock |
Plugin | Loco Translate |
Version | 2.1.1 |
Comparing to | |
See all releases |
Code changes from version 2.1.0 to 2.1.1
- languages/loco-translate.pot +31 -25
- lib/compiled/locales.php +1 -1
- lib/data/locales.php +1 -1
- loco.php +2 -2
- pub/css/admin.css +1 -1
- pub/css/editor.css +1 -1
- pub/css/podiff.css +1 -1
- pub/css/poview.css +1 -1
- pub/css/skins/blue.css +1 -1
- pub/css/skins/coffee.css +1 -1
- pub/css/skins/ectoplasm.css +1 -1
- pub/css/skins/light.css +1 -1
- pub/css/skins/midnight.css +1 -1
- pub/css/skins/ocean.css +1 -1
- pub/css/skins/sunrise.css +1 -1
- pub/js/debug.js +19 -8
- pub/js/min/admin.js +213 -210
- pub/js/poinit.js +1 -1
- readme.txt +10 -2
- src/Locale.php +16 -4
- src/admin/bundle/LocaleController.php +1 -0
- src/admin/bundle/ViewController.php +1 -0
- src/admin/config/DebugController.php +47 -5
- src/ajax/XgettextController.php +3 -3
- src/gettext/Data.php +3 -2
- src/js/Strings.php +3 -3
- src/mvc/AdminController.php +4 -0
- tpl/admin/bundle/inc-po-table.php +9 -6
- tpl/admin/bundle/locale.php +9 -6
- tpl/admin/config/debug.php +20 -2
- tpl/admin/init/init-po.php +2 -2
languages/loco-translate.pot
CHANGED
@@ -1,9 +1,9 @@
|
|
1 |
#, fuzzy
|
2 |
msgid ""
|
3 |
msgstr ""
|
4 |
-
"Project-Id-Version:
|
5 |
"Report-Msgid-Bugs-To: \n"
|
6 |
-
"POT-Creation-Date: 2018-02-
|
7 |
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
|
8 |
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
9 |
"Language-Team: \n"
|
@@ -305,7 +305,7 @@ msgstr ""
|
|
305 |
msgid "Connected to remote file system"
|
306 |
msgstr ""
|
307 |
|
308 |
-
#: tpl/admin/bundle/inc-po-table.php:
|
309 |
msgid "Copy"
|
310 |
msgstr ""
|
311 |
|
@@ -337,12 +337,13 @@ msgid "Custom language"
|
|
337 |
msgstr ""
|
338 |
|
339 |
#: src/error/Debug.php:19 src/admin/config/BaseController.php:23
|
|
|
340 |
#: src/admin/bundle/BaseController.php:104
|
341 |
msgid "Debug"
|
342 |
msgstr ""
|
343 |
|
344 |
#: src/admin/file/BaseController.php:98 tpl/admin/file/diff.php:31
|
345 |
-
#: tpl/admin/bundle/inc-po-table.php:
|
346 |
msgid "Delete"
|
347 |
msgstr ""
|
348 |
|
@@ -373,7 +374,7 @@ msgstr ""
|
|
373 |
msgid "Disallow"
|
374 |
msgstr ""
|
375 |
|
376 |
-
#: src/admin/bundle/LocaleController.php:
|
377 |
#: tpl/admin/common/inc-fsconn.php:33 tpl/admin/errors/no-backups.php:22
|
378 |
msgid "Documentation"
|
379 |
msgstr ""
|
@@ -814,12 +815,12 @@ msgstr ""
|
|
814 |
msgid "Initializing new translations in unknown set"
|
815 |
msgstr ""
|
816 |
|
817 |
-
#: src/admin/bundle/LocaleController.php:
|
818 |
#: src/admin/list/LocalesController.php:35 tpl/admin/init/init-po.php:63
|
819 |
msgid "Installed languages"
|
820 |
msgstr ""
|
821 |
|
822 |
-
#: src/Locale.php:
|
823 |
msgid "Invalid locale"
|
824 |
msgstr ""
|
825 |
|
@@ -995,7 +996,7 @@ msgstr ""
|
|
995 |
msgid "New translations template for \"%s\""
|
996 |
msgstr ""
|
997 |
|
998 |
-
#: src/admin/bundle/LocaleController.php:
|
999 |
msgid "No core translation files are installed for this language"
|
1000 |
msgstr ""
|
1001 |
|
@@ -1011,7 +1012,7 @@ msgstr ""
|
|
1011 |
msgid "No previous file revisions"
|
1012 |
msgstr ""
|
1013 |
|
1014 |
-
#: tpl/admin/bundle/inc-po-table.php:
|
1015 |
#, php-format
|
1016 |
msgid "No translations found for \"%s\""
|
1017 |
msgstr ""
|
@@ -1150,48 +1151,48 @@ msgid "Plugin translations ‹ Loco"
|
|
1150 |
msgstr ""
|
1151 |
|
1152 |
#: src/mvc/AdminRouter.php:49 src/admin/Navigation.php:44
|
1153 |
-
#: src/admin/bundle/LocaleController.php:
|
1154 |
msgid "Plugins"
|
1155 |
msgstr ""
|
1156 |
|
1157 |
#. Plural category for languages that have no plurals
|
1158 |
-
#: src/Locale.php:
|
1159 |
msgctxt "Plural category"
|
1160 |
msgid "All forms"
|
1161 |
msgstr ""
|
1162 |
|
1163 |
#. Plural category used in some multi-plural languages
|
1164 |
-
#: src/Locale.php:
|
1165 |
msgctxt "Plural category"
|
1166 |
msgid "Few"
|
1167 |
msgstr ""
|
1168 |
|
1169 |
#. Plural category used in some multi-plural languages
|
1170 |
-
#: src/Locale.php:
|
1171 |
msgctxt "Plural category"
|
1172 |
msgid "Many"
|
1173 |
msgstr ""
|
1174 |
|
1175 |
#. Plural category for singular quantity
|
1176 |
-
#: src/Locale.php:
|
1177 |
msgctxt "Plural category"
|
1178 |
msgid "One"
|
1179 |
msgstr ""
|
1180 |
|
1181 |
#. General plural category not covered by other forms
|
1182 |
-
#: src/Locale.php:
|
1183 |
msgctxt "Plural category"
|
1184 |
msgid "Other"
|
1185 |
msgstr ""
|
1186 |
|
1187 |
#. Plural category used in some multi-plural languages
|
1188 |
-
#: src/Locale.php:
|
1189 |
msgctxt "Plural category"
|
1190 |
msgid "Two"
|
1191 |
msgstr ""
|
1192 |
|
1193 |
#. Plural category for zero quantity
|
1194 |
-
#: src/Locale.php:
|
1195 |
msgctxt "Plural category"
|
1196 |
msgid "Zero"
|
1197 |
msgstr ""
|
@@ -1238,7 +1239,7 @@ msgstr ""
|
|
1238 |
msgid "Project name"
|
1239 |
msgstr ""
|
1240 |
|
1241 |
-
#: src/js/Strings.php:
|
1242 |
msgid "Provide the following text when reporting a problem"
|
1243 |
msgstr ""
|
1244 |
|
@@ -1306,19 +1307,20 @@ msgstr ""
|
|
1306 |
msgid "Scan PHP files with extensions:"
|
1307 |
msgstr ""
|
1308 |
|
1309 |
-
#: src/admin/bundle/LocaleController.php:
|
1310 |
msgid "See all core translations"
|
1311 |
msgstr ""
|
1312 |
|
1313 |
-
#: tpl/admin/root.php:62 src/admin/bundle/LocaleController.php:
|
1314 |
msgid "See all plugins"
|
1315 |
msgstr ""
|
1316 |
|
1317 |
-
#: tpl/admin/root.php:47 src/admin/bundle/LocaleController.php:
|
1318 |
msgid "See all themes"
|
1319 |
msgstr ""
|
1320 |
|
1321 |
-
|
|
|
1322 |
msgid "Server returned invalid data"
|
1323 |
msgstr ""
|
1324 |
|
@@ -1400,7 +1402,7 @@ msgstr ""
|
|
1400 |
msgid "Support forum"
|
1401 |
msgstr ""
|
1402 |
|
1403 |
-
#: src/admin/config/DebugController.php:
|
1404 |
msgid "System diagnostics"
|
1405 |
msgstr ""
|
1406 |
|
@@ -1468,7 +1470,7 @@ msgid "Theme translations ‹ Loco"
|
|
1468 |
msgstr ""
|
1469 |
|
1470 |
#: src/mvc/AdminRouter.php:44 src/admin/Navigation.php:41
|
1471 |
-
#: src/admin/bundle/LocaleController.php:
|
1472 |
msgid "Themes"
|
1473 |
msgstr ""
|
1474 |
|
@@ -1684,6 +1686,10 @@ msgstr ""
|
|
1684 |
msgid "Version %s"
|
1685 |
msgstr ""
|
1686 |
|
|
|
|
|
|
|
|
|
1687 |
#: src/package/Header.php:83
|
1688 |
msgid "Visit official site"
|
1689 |
msgstr ""
|
@@ -1718,7 +1724,7 @@ msgstr ""
|
|
1718 |
msgid "WordPress"
|
1719 |
msgstr ""
|
1720 |
|
1721 |
-
#: src/package/Core.php:80 src/admin/bundle/LocaleController.php:
|
1722 |
msgid "WordPress Core"
|
1723 |
msgstr ""
|
1724 |
|
1 |
#, fuzzy
|
2 |
msgid ""
|
3 |
msgstr ""
|
4 |
+
"Project-Id-Version: Loco Translate 2.1.1-dev\n"
|
5 |
"Report-Msgid-Bugs-To: \n"
|
6 |
+
"POT-Creation-Date: 2018-02-16 17:36+0000\n"
|
7 |
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
|
8 |
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
9 |
"Language-Team: \n"
|
305 |
msgid "Connected to remote file system"
|
306 |
msgstr ""
|
307 |
|
308 |
+
#: tpl/admin/bundle/inc-po-table.php:53 tpl/admin/bundle/locale.php:67
|
309 |
msgid "Copy"
|
310 |
msgstr ""
|
311 |
|
337 |
msgstr ""
|
338 |
|
339 |
#: src/error/Debug.php:19 src/admin/config/BaseController.php:23
|
340 |
+
#: src/admin/config/DebugController.php:13
|
341 |
#: src/admin/bundle/BaseController.php:104
|
342 |
msgid "Debug"
|
343 |
msgstr ""
|
344 |
|
345 |
#: src/admin/file/BaseController.php:98 tpl/admin/file/diff.php:31
|
346 |
+
#: tpl/admin/bundle/inc-po-table.php:59 tpl/admin/bundle/locale.php:73
|
347 |
msgid "Delete"
|
348 |
msgstr ""
|
349 |
|
374 |
msgid "Disallow"
|
375 |
msgstr ""
|
376 |
|
377 |
+
#: src/admin/bundle/LocaleController.php:126 tpl/admin/common/inc-fsconn.php:16
|
378 |
#: tpl/admin/common/inc-fsconn.php:33 tpl/admin/errors/no-backups.php:22
|
379 |
msgid "Documentation"
|
380 |
msgstr ""
|
815 |
msgid "Initializing new translations in unknown set"
|
816 |
msgstr ""
|
817 |
|
818 |
+
#: src/admin/bundle/LocaleController.php:112
|
819 |
#: src/admin/list/LocalesController.php:35 tpl/admin/init/init-po.php:63
|
820 |
msgid "Installed languages"
|
821 |
msgstr ""
|
822 |
|
823 |
+
#: src/Locale.php:251
|
824 |
msgid "Invalid locale"
|
825 |
msgstr ""
|
826 |
|
996 |
msgid "New translations template for \"%s\""
|
997 |
msgstr ""
|
998 |
|
999 |
+
#: src/admin/bundle/LocaleController.php:125
|
1000 |
msgid "No core translation files are installed for this language"
|
1001 |
msgstr ""
|
1002 |
|
1012 |
msgid "No previous file revisions"
|
1013 |
msgstr ""
|
1014 |
|
1015 |
+
#: tpl/admin/bundle/inc-po-table.php:104
|
1016 |
#, php-format
|
1017 |
msgid "No translations found for \"%s\""
|
1018 |
msgstr ""
|
1151 |
msgstr ""
|
1152 |
|
1153 |
#: src/mvc/AdminRouter.php:49 src/admin/Navigation.php:44
|
1154 |
+
#: src/admin/bundle/LocaleController.php:142
|
1155 |
msgid "Plugins"
|
1156 |
msgstr ""
|
1157 |
|
1158 |
#. Plural category for languages that have no plurals
|
1159 |
+
#: src/Locale.php:330
|
1160 |
msgctxt "Plural category"
|
1161 |
msgid "All forms"
|
1162 |
msgstr ""
|
1163 |
|
1164 |
#. Plural category used in some multi-plural languages
|
1165 |
+
#: src/Locale.php:344
|
1166 |
msgctxt "Plural category"
|
1167 |
msgid "Few"
|
1168 |
msgstr ""
|
1169 |
|
1170 |
#. Plural category used in some multi-plural languages
|
1171 |
+
#: src/Locale.php:346
|
1172 |
msgctxt "Plural category"
|
1173 |
msgid "Many"
|
1174 |
msgstr ""
|
1175 |
|
1176 |
#. Plural category for singular quantity
|
1177 |
+
#: src/Locale.php:340
|
1178 |
msgctxt "Plural category"
|
1179 |
msgid "One"
|
1180 |
msgstr ""
|
1181 |
|
1182 |
#. General plural category not covered by other forms
|
1183 |
+
#: src/Locale.php:348
|
1184 |
msgctxt "Plural category"
|
1185 |
msgid "Other"
|
1186 |
msgstr ""
|
1187 |
|
1188 |
#. Plural category used in some multi-plural languages
|
1189 |
+
#: src/Locale.php:342
|
1190 |
msgctxt "Plural category"
|
1191 |
msgid "Two"
|
1192 |
msgstr ""
|
1193 |
|
1194 |
#. Plural category for zero quantity
|
1195 |
+
#: src/Locale.php:338
|
1196 |
msgctxt "Plural category"
|
1197 |
msgid "Zero"
|
1198 |
msgstr ""
|
1239 |
msgid "Project name"
|
1240 |
msgstr ""
|
1241 |
|
1242 |
+
#: src/js/Strings.php:56
|
1243 |
msgid "Provide the following text when reporting a problem"
|
1244 |
msgstr ""
|
1245 |
|
1307 |
msgid "Scan PHP files with extensions:"
|
1308 |
msgstr ""
|
1309 |
|
1310 |
+
#: src/admin/bundle/LocaleController.php:133
|
1311 |
msgid "See all core translations"
|
1312 |
msgstr ""
|
1313 |
|
1314 |
+
#: tpl/admin/root.php:62 src/admin/bundle/LocaleController.php:143
|
1315 |
msgid "See all plugins"
|
1316 |
msgstr ""
|
1317 |
|
1318 |
+
#: tpl/admin/root.php:47 src/admin/bundle/LocaleController.php:138
|
1319 |
msgid "See all themes"
|
1320 |
msgstr ""
|
1321 |
|
1322 |
+
#. Generic error when external process broke an Ajax request
|
1323 |
+
#: src/js/Strings.php:50
|
1324 |
msgid "Server returned invalid data"
|
1325 |
msgstr ""
|
1326 |
|
1402 |
msgid "Support forum"
|
1403 |
msgstr ""
|
1404 |
|
1405 |
+
#: src/admin/config/DebugController.php:47
|
1406 |
msgid "System diagnostics"
|
1407 |
msgstr ""
|
1408 |
|
1470 |
msgstr ""
|
1471 |
|
1472 |
#: src/mvc/AdminRouter.php:44 src/admin/Navigation.php:41
|
1473 |
+
#: src/admin/bundle/LocaleController.php:137
|
1474 |
msgid "Themes"
|
1475 |
msgstr ""
|
1476 |
|
1686 |
msgid "Version %s"
|
1687 |
msgstr ""
|
1688 |
|
1689 |
+
#: tpl/admin/bundle/inc-po-table.php:50 tpl/admin/bundle/locale.php:64
|
1690 |
+
msgid "View"
|
1691 |
+
msgstr ""
|
1692 |
+
|
1693 |
#: src/package/Header.php:83
|
1694 |
msgid "Visit official site"
|
1695 |
msgstr ""
|
1724 |
msgid "WordPress"
|
1725 |
msgstr ""
|
1726 |
|
1727 |
+
#: src/package/Core.php:80 src/admin/bundle/LocaleController.php:132
|
1728 |
msgid "WordPress Core"
|
1729 |
msgstr ""
|
1730 |
|
lib/compiled/locales.php
CHANGED
@@ -2,4 +2,4 @@
|
|
2 |
/**
|
3 |
* Downgraded for PHP 5.2 compatibility. Do not edit.
|
4 |
*/
|
5 |
-
function
|
2 |
/**
|
3 |
* Downgraded for PHP 5.2 compatibility. Do not edit.
|
4 |
*/
|
5 |
+
function loco_parse_wp_locale( $tag ){ if( ! preg_match( '/^([a-z]{2,3})(?:[-_]([a-z]{2}))?(?:[-_]([a-z0-9]{3,8}))?$/i', $tag, $tags ) ){ throw new InvalidArgumentException('Invalid WordPress locale: '.json_encode($tag) ); } $data = array( 'lang' => strtolower( $tags[1] ), ); if( isset($tags[2]) && ( $subtag = $tags[2] ) ){ $data['region'] = strtoupper($tags[2]); } if( isset($tags[3]) && ( $subtag = $tags[3] ) ){ $data['variant'] = strtolower($tags[3]); } return $data; }
|
lib/data/locales.php
CHANGED
@@ -2,4 +2,4 @@
|
|
2 |
/**
|
3 |
* Compiled data. Do not edit.
|
4 |
*/
|
5 |
-
return unserialize('a:112:{s:2:"af";a:2:{i:0;s:9:"Afrikaans";i:1;s:9:"Afrikaans";}s:2:"ar";a:2:{i:0;s:6:"Arabic";i:1;s:14:"العربية";}s:3:"ary";a:2:{i:0;s:15:"Moroccan Arabic";i:1;s:31:"العربية المغربية";}s:2:"as";a:2:{i:0;s:8:"Assamese";i:1;s:21:"অসমীয়া";}s:
|
2 |
/**
|
3 |
* Compiled data. Do not edit.
|
4 |
*/
|
5 |
+
return unserialize('a:112:{s:2:"af";a:2:{i:0;s:9:"Afrikaans";i:1;s:9:"Afrikaans";}s:2:"ar";a:2:{i:0;s:6:"Arabic";i:1;s:14:"العربية";}s:3:"ary";a:2:{i:0;s:15:"Moroccan Arabic";i:1;s:31:"العربية المغربية";}s:2:"as";a:2:{i:0;s:8:"Assamese";i:1;s:21:"অসমীয়া";}s:3:"azb";a:2:{i:0;s:17:"South Azerbaijani";i:1;s:29:"گؤنئی آذربایجان";}s:2:"az";a:2:{i:0;s:11:"Azerbaijani";i:1;s:16:"Azərbaycan dili";}s:3:"bel";a:2:{i:0;s:10:"Belarusian";i:1;s:29:"Беларуская мова";}s:5:"bg_BG";a:2:{i:0;s:9:"Bulgarian";i:1;s:18:"Български";}s:5:"bn_BD";a:2:{i:0;s:7:"Bengali";i:1;s:15:"বাংলা";}s:2:"bo";a:2:{i:0;s:7:"Tibetan";i:1;s:21:"བོད་ཡིག";}s:5:"bs_BA";a:2:{i:0;s:7:"Bosnian";i:1;s:8:"Bosanski";}s:2:"ca";a:2:{i:0;s:7:"Catalan";i:1;s:7:"Català";}s:3:"ceb";a:2:{i:0;s:7:"Cebuano";i:1;s:7:"Cebuano";}s:5:"cs_CZ";a:2:{i:0;s:5:"Czech";i:1;s:9:"Čeština";}s:2:"cy";a:2:{i:0;s:5:"Welsh";i:1;s:7:"Cymraeg";}s:5:"da_DK";a:2:{i:0;s:6:"Danish";i:1;s:5:"Dansk";}s:5:"de_DE";a:2:{i:0;s:6:"German";i:1;s:7:"Deutsch";}s:14:"de_CH_informal";a:2:{i:0;s:30:"German (Switzerland, Informal)";i:1;s:21:"Deutsch (Schweiz, Du)";}s:5:"de_CH";a:2:{i:0;s:20:"German (Switzerland)";i:1;s:17:"Deutsch (Schweiz)";}s:12:"de_DE_formal";a:2:{i:0;s:15:"German (Formal)";i:1;s:13:"Deutsch (Sie)";}s:3:"dzo";a:2:{i:0;s:8:"Dzongkha";i:1;s:18:"རྫོང་ཁ";}s:2:"el";a:2:{i:0;s:5:"Greek";i:1;s:16:"Ελληνικά";}s:5:"en_NZ";a:2:{i:0;s:21:"English (New Zealand)";i:1;s:21:"English (New Zealand)";}s:5:"en_GB";a:2:{i:0;s:12:"English (UK)";i:1;s:12:"English (UK)";}s:5:"en_ZA";a:2:{i:0;s:22:"English (South Africa)";i:1;s:22:"English (South Africa)";}s:5:"en_AU";a:2:{i:0;s:19:"English (Australia)";i:1;s:19:"English (Australia)";}s:5:"en_CA";a:2:{i:0;s:16:"English (Canada)";i:1;s:16:"English (Canada)";}s:2:"eo";a:2:{i:0;s:9:"Esperanto";i:1;s:9:"Esperanto";}s:5:"es_AR";a:2:{i:0;s:19:"Spanish (Argentina)";i:1;s:21:"Español de Argentina";}s:5:"es_GT";a:2:{i:0;s:19:"Spanish (Guatemala)";i:1;s:21:"Español de Guatemala";}s:5:"es_VE";a:2:{i:0;s:19:"Spanish (Venezuela)";i:1;s:21:"Español de Venezuela";}s:5:"es_MX";a:2:{i:0;s:16:"Spanish (Mexico)";i:1;s:19:"Español de México";}s:5:"es_CR";a:2:{i:0;s:20:"Spanish (Costa Rica)";i:1;s:22:"Español de Costa Rica";}s:5:"es_CL";a:2:{i:0;s:15:"Spanish (Chile)";i:1;s:17:"Español de Chile";}s:5:"es_PE";a:2:{i:0;s:14:"Spanish (Peru)";i:1;s:17:"Español de Perú";}s:5:"es_CO";a:2:{i:0;s:18:"Spanish (Colombia)";i:1;s:20:"Español de Colombia";}s:5:"es_ES";a:2:{i:0;s:15:"Spanish (Spain)";i:1;s:8:"Español";}s:2:"et";a:2:{i:0;s:8:"Estonian";i:1;s:5:"Eesti";}s:2:"eu";a:2:{i:0;s:6:"Basque";i:1;s:7:"Euskara";}s:5:"fa_IR";a:2:{i:0;s:7:"Persian";i:1;s:10:"فارسی";}s:2:"fi";a:2:{i:0;s:7:"Finnish";i:1;s:5:"Suomi";}s:5:"fr_BE";a:2:{i:0;s:16:"French (Belgium)";i:1;s:21:"Français de Belgique";}s:5:"fr_FR";a:2:{i:0;s:15:"French (France)";i:1;s:9:"Français";}s:5:"fr_CA";a:2:{i:0;s:15:"French (Canada)";i:1;s:19:"Français du Canada";}s:3:"fur";a:2:{i:0;s:8:"Friulian";i:1;s:8:"Friulian";}s:2:"gd";a:2:{i:0;s:15:"Scottish Gaelic";i:1;s:9:"Gàidhlig";}s:5:"gl_ES";a:2:{i:0;s:8:"Galician";i:1;s:6:"Galego";}s:2:"gu";a:2:{i:0;s:8:"Gujarati";i:1;s:21:"ગુજરાતી";}s:3:"haz";a:2:{i:0;s:8:"Hazaragi";i:1;s:15:"هزاره گی";}s:5:"he_IL";a:2:{i:0;s:6:"Hebrew";i:1;s:16:"עִבְרִית";}s:5:"hi_IN";a:2:{i:0;s:5:"Hindi";i:1;s:18:"हिन्दी";}s:2:"hr";a:2:{i:0;s:8:"Croatian";i:1;s:8:"Hrvatski";}s:5:"hu_HU";a:2:{i:0;s:9:"Hungarian";i:1;s:6:"Magyar";}s:2:"hy";a:2:{i:0;s:8:"Armenian";i:1;s:14:"Հայերեն";}s:5:"id_ID";a:2:{i:0;s:10:"Indonesian";i:1;s:16:"Bahasa Indonesia";}s:5:"is_IS";a:2:{i:0;s:9:"Icelandic";i:1;s:9:"Íslenska";}s:5:"it_IT";a:2:{i:0;s:7:"Italian";i:1;s:8:"Italiano";}s:2:"ja";a:2:{i:0;s:8:"Japanese";i:1;s:9:"日本語";}s:5:"jv_ID";a:2:{i:0;s:8:"Javanese";i:1;s:9:"Basa Jawa";}s:5:"ka_GE";a:2:{i:0;s:8:"Georgian";i:1;s:21:"ქართული";}s:3:"kab";a:2:{i:0;s:6:"Kabyle";i:1;s:9:"Taqbaylit";}s:2:"km";a:2:{i:0;s:5:"Khmer";i:1;s:27:"ភាសាខ្មែរ";}s:5:"ko_KR";a:2:{i:0;s:6:"Korean";i:1;s:9:"한국어";}s:3:"ckb";a:2:{i:0;s:16:"Kurdish (Sorani)";i:1;s:13:"كوردی";}s:2:"lo";a:2:{i:0;s:3:"Lao";i:1;s:21:"ພາສາລາວ";}s:5:"lt_LT";a:2:{i:0;s:10:"Lithuanian";i:1;s:15:"Lietuvių kalba";}s:2:"lv";a:2:{i:0;s:7:"Latvian";i:1;s:16:"Latviešu valoda";}s:5:"mk_MK";a:2:{i:0;s:10:"Macedonian";i:1;s:31:"Македонски јазик";}s:5:"ml_IN";a:2:{i:0;s:9:"Malayalam";i:1;s:18:"മലയാളം";}s:2:"mn";a:2:{i:0;s:9:"Mongolian";i:1;s:12:"Монгол";}s:2:"mr";a:2:{i:0;s:7:"Marathi";i:1;s:15:"मराठी";}s:5:"ms_MY";a:2:{i:0;s:5:"Malay";i:1;s:13:"Bahasa Melayu";}s:5:"my_MM";a:2:{i:0;s:17:"Myanmar (Burmese)";i:1;s:15:"ဗမာစာ";}s:5:"nb_NO";a:2:{i:0;s:19:"Norwegian (Bokmål)";i:1;s:13:"Norsk bokmål";}s:5:"ne_NP";a:2:{i:0;s:6:"Nepali";i:1;s:18:"नेपाली";}s:12:"nl_NL_formal";a:2:{i:0;s:14:"Dutch (Formal)";i:1;s:20:"Nederlands (Formeel)";}s:5:"nl_BE";a:2:{i:0;s:15:"Dutch (Belgium)";i:1;s:20:"Nederlands (België)";}s:5:"nl_NL";a:2:{i:0;s:5:"Dutch";i:1;s:10:"Nederlands";}s:5:"nn_NO";a:2:{i:0;s:19:"Norwegian (Nynorsk)";i:1;s:13:"Norsk nynorsk";}s:3:"oci";a:2:{i:0;s:7:"Occitan";i:1;s:7:"Occitan";}s:5:"pa_IN";a:2:{i:0;s:7:"Punjabi";i:1;s:18:"ਪੰਜਾਬੀ";}s:5:"pl_PL";a:2:{i:0;s:6:"Polish";i:1;s:6:"Polski";}s:2:"ps";a:2:{i:0;s:6:"Pashto";i:1;s:8:"پښتو";}s:5:"pt_BR";a:2:{i:0;s:19:"Portuguese (Brazil)";i:1;s:20:"Português do Brasil";}s:10:"pt_PT_ao90";a:2:{i:0;s:27:"Portuguese (Portugal, AO90)";i:1;s:17:"Português (AO90)";}s:5:"pt_PT";a:2:{i:0;s:21:"Portuguese (Portugal)";i:1;s:10:"Português";}s:3:"rhg";a:2:{i:0;s:8:"Rohingya";i:1;s:8:"Ruáinga";}s:5:"ro_RO";a:2:{i:0;s:8:"Romanian";i:1;s:8:"Română";}s:5:"ru_RU";a:2:{i:0;s:7:"Russian";i:1;s:14:"Русский";}s:3:"sah";a:2:{i:0;s:5:"Sakha";i:1;s:14:"Сахалыы";}s:5:"si_LK";a:2:{i:0;s:7:"Sinhala";i:1;s:15:"සිංහල";}s:5:"sk_SK";a:2:{i:0;s:6:"Slovak";i:1;s:11:"Slovenčina";}s:5:"sl_SI";a:2:{i:0;s:9:"Slovenian";i:1;s:13:"Slovenščina";}s:2:"sq";a:2:{i:0;s:8:"Albanian";i:1;s:5:"Shqip";}s:5:"sr_RS";a:2:{i:0;s:7:"Serbian";i:1;s:23:"Српски језик";}s:5:"sv_SE";a:2:{i:0;s:7:"Swedish";i:1;s:7:"Svenska";}s:3:"szl";a:2:{i:0;s:8:"Silesian";i:1;s:17:"Ślōnskŏ gŏdka";}s:5:"ta_IN";a:2:{i:0;s:5:"Tamil";i:1;s:15:"தமிழ்";}s:2:"te";a:2:{i:0;s:6:"Telugu";i:1;s:18:"తెలుగు";}s:2:"th";a:2:{i:0;s:4:"Thai";i:1;s:9:"ไทย";}s:2:"tl";a:2:{i:0;s:7:"Tagalog";i:1;s:7:"Tagalog";}s:5:"tr_TR";a:2:{i:0;s:7:"Turkish";i:1;s:8:"Türkçe";}s:5:"tt_RU";a:2:{i:0;s:5:"Tatar";i:1;s:19:"Татар теле";}s:3:"tah";a:2:{i:0;s:8:"Tahitian";i:1;s:10:"Reo Tahiti";}s:5:"ug_CN";a:2:{i:0;s:6:"Uighur";i:1;s:9:"Uyƣurqə";}s:2:"uk";a:2:{i:0;s:9:"Ukrainian";i:1;s:20:"Українська";}s:2:"ur";a:2:{i:0;s:4:"Urdu";i:1;s:8:"اردو";}s:5:"uz_UZ";a:2:{i:0;s:5:"Uzbek";i:1;s:11:"O‘zbekcha";}s:2:"vi";a:2:{i:0;s:10:"Vietnamese";i:1;s:14:"Tiếng Việt";}s:5:"zh_TW";a:2:{i:0;s:16:"Chinese (Taiwan)";i:1;s:12:"繁體中文";}s:5:"zh_HK";a:2:{i:0;s:19:"Chinese (Hong Kong)";i:1;s:16:"香港中文版 ";}s:5:"zh_CN";a:2:{i:0;s:15:"Chinese (China)";i:1;s:12:"简体中文";}}');
|
loco.php
CHANGED
@@ -4,7 +4,7 @@ Plugin Name: Loco Translate
|
|
4 |
Plugin URI: https://wordpress.org/plugins/loco-translate/
|
5 |
Description: Translate themes and plugins directly in WordPress
|
6 |
Author: Tim Whitlock
|
7 |
-
Version: 2.1.
|
8 |
Author URI: https://localise.biz/wordpress/plugin
|
9 |
Text Domain: loco-translate
|
10 |
Domain Path: /languages/
|
@@ -36,7 +36,7 @@ function loco_plugin_file(){
|
|
36 |
* @return string
|
37 |
*/
|
38 |
function loco_plugin_version(){
|
39 |
-
return '2.1.
|
40 |
}
|
41 |
|
42 |
|
4 |
Plugin URI: https://wordpress.org/plugins/loco-translate/
|
5 |
Description: Translate themes and plugins directly in WordPress
|
6 |
Author: Tim Whitlock
|
7 |
+
Version: 2.1.1
|
8 |
Author URI: https://localise.biz/wordpress/plugin
|
9 |
Text Domain: loco-translate
|
10 |
Domain Path: /languages/
|
36 |
* @return string
|
37 |
*/
|
38 |
function loco_plugin_version(){
|
39 |
+
return '2.1.1';
|
40 |
}
|
41 |
|
42 |
|
pub/css/admin.css
CHANGED
@@ -1 +1 @@
|
|
1 |
-
._ajax_loader_f2{background-image:url(../img/ajax-loader-f2.gif?v=2.1.0);background-repeat:no-repeat;min-height:16px}._ajax_loader_f2x4{background:transparent url(../img/ajax-loader-f2-x4.gif?v=2.1.0) 0 0 no-repeat;min-height:75px}@media only screen and (-webkit-min-device-pixel-ratio: 2), only screen and (min--moz-device-pixel-ratio: 2), only screen and (-o-min-device-pixel-ratio: 2 / 1), only screen and (min-device-pixel-ratio: 2), only screen and (min-resolution: 192dpi), only screen and (min-resolution: 2dppx){._ajax_loader_f2{background-image:url(../img/ajax-loader-f2-x2.gif?v=2.1.0);background-size:16px}}._green_glow_inner{-webkit-box-shadow:inset 0 0 10px 0 #3db63d;-moz-box-shadow:inset 0 0 10px 0 #3db63d;box-shadow:inset 0 0 10px 0 #3db63d}._green_glow_outer{-webkit-box-shadow:0 0 0.5em 0 #3db63d;-moz-box-shadow:0 0 0.5em 0 #3db63d;box-shadow:0 0 0.5em 0 #3db63d}.loco-font,#loco.wrap .icon,#loco.wrap .has-icon:before,#loco.wrap .wp-list-table th.loco-sort.loco-asc:after,#loco.wrap .wp-list-table th.loco-sort.loco-desc:after{font-family:'loco';speak:none;font-style:normal;font-weight:normal;font-variant:normal;text-transform:none;line-height:1;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}@font-face{font-family:'loco';src:url("../font/loco.eot");src:url("../font/loco.eot?#iefix") format("embedded-opentype"),url("../font/loco.woff") format("woff"),url("../font/loco.ttf") format("truetype"),url("../font/loco.svg#loco") format("svg");font-weight:normal;font-style:normal}.tipsy{font-size:11px;position:absolute;padding:5px;z-index:500001;opacity:0;-webkit-transition:opacity 0.15s linear;-o-transition:opacity 0.15s linear;transition:opacity 0.15s linear}.tipsy.in{opacity:1}.tipsy-inner{background-color:#000;color:#FFF;white-space:nowrap;padding:6px 8px;line-height:1.3em;text-align:center;-webkit-border-radius:3px;-moz-border-radius:3px;-ms-border-radius:3px;-o-border-radius:3px;border-radius:3px;-webkit-font-smoothing:subpixel-antialiased}.tipsy-arrow{position:absolute;width:0;height:0;line-height:0;border:5px dashed #000}.tipsy-n .tipsy-arrow{top:0px;left:50%;margin-left:-5px;border-bottom-style:solid;border-top:none;border-left-color:transparent;border-right-color:transparent}.tipsy-nw .tipsy-arrow{top:0;left:10px;border-bottom-style:solid;border-top:none;border-left-color:transparent;border-right-color:transparent}.tipsy-ne .tipsy-arrow{top:0;right:10px;border-bottom-style:solid;border-top:none;border-left-color:transparent;border-right-color:transparent}.tipsy-s .tipsy-arrow{bottom:0;left:50%;margin-left:-5px;border-top-style:solid;border-bottom:none;border-left-color:transparent;border-right-color:transparent}.tipsy-sw .tipsy-arrow{bottom:0;left:10px;border-top-style:solid;border-bottom:none;border-left-color:transparent;border-right-color:transparent}.tipsy-se .tipsy-arrow{bottom:0;right:10px;border-top-style:solid;border-bottom:none;border-left-color:transparent;border-right-color:transparent}.tipsy-e .tipsy-arrow{right:0;top:50%;margin-top:-5px;border-left-style:solid;border-right:none;border-top-color:transparent;border-bottom-color:transparent}.tipsy-w .tipsy-arrow{left:0;top:50%;margin-top:-5px;border-right-style:solid;border-left:none;border-top-color:transparent;border-bottom-color:transparent}#loco.wrap .selector{text-align:left;display:inline-block;white-space:nowrap}#loco.wrap .selectoradd a,#loco.wrap .selector .handle{cursor:default;display:block;position:relative;border-top:solid 1px #fff;border-right:solid 1px #ddd;border-bottom:solid 1px #ddd;border-left:solid 1px #fff;color:#666;height:1.3em;overflow:hidden;white-space:normal}#loco.wrap .selectorsep{display:inline-block;border:solid 1px transparent}#loco.wrap .selectorsep:before{display:block;position:relative;color:#999;height:1.3em;overflow:hidden}#loco.wrap .selectorsep>*{display:block;line-height:1em;color:#666;height:1.3em;overflow:hidden}#loco.wrap .selector .handle{outline:none;white-space:nowrap;max-width:250px;text-overflow:ellipsis}#loco.wrap .selector .handle .prefix{padding-right:0.6ex}#loco.wrap .selector .handle:after{font-family:loco;padding-left:0.5em;font-size:1.3em;color:#ccc;float:right}#loco.wrap .selector .handle:focus:after,#loco.wrap .selector .handle:hover:after{color:#666}#loco.wrap .selector.no-title .handle{padding:0.3em 0.5em}#loco.wrap .selector.no-title .handle .label{display:none}#loco.wrap .selector.no-title .handle .icon{margin-right:0px}#loco.wrap .selector.no-caret .handle:after{display:none}#loco.wrap .selector.dummy .handle{border-color:transparent}#loco.wrap .selector.dummy .handle:after{display:none}#loco.wrap .selectoradd{float:left;clear:none;position:relative}#loco.wrap .selectoradd>*{display:block;float:left;clear:none}#loco.wrap .selectoradd>a.has-icon{width:1.3em}#loco.wrap .selectoradd>a.has-icon:before{color:#999;display:inline;padding-left:0;padding-right:0;line-height:1.4em}#loco.wrap .selectoradd>a.has-icon:hover:after{color:#2e892e}#loco.wrap .selectorsep{display:inline-block}#loco.wrap .selectorsep span{color:#666;height:1.3em}#loco.wrap .selector ul,#loco.wrap .selector li{display:block;position:relative;cursor:default;padding:0;margin:0}#loco.wrap .selector ul{z-index:5;position:absolute;left:0;top:0;background:#f5f5f5;box-shadow:0 10px 5px rgba(0,0,0,0.2);border:solid 1px #ccc;overflow:auto}#loco.wrap .selector.up ul{margin-top:0}#loco.wrap .selector.multi li input{display:none}#loco.wrap .selector.multi li.checked{background:#eee}#loco.wrap .selector li.active{background:#eee !important}#loco.wrap .selector li.over{background:#ccc !important;color:#fff;text-shadow:1px 1px #aaa}#loco.wrap .selector li.over .label{color:#fff}#loco.wrap .selector .label{font:inherit;color:inherit}#loco.wrap .selector .icon{display:inline-block;min-width:1.2em;text-align:center;font-size:14px}#loco.wrap .selector .icon.no-icon{display:none}#loco.wrap .selector .icon:before{color:#666}#loco.wrap .selector .icon,#loco.wrap .selector .lang{vertical-align:middle}#loco.wrap .selector .icon-16{vertical-align:bottom}#loco.wrap .selector .icon,#loco.wrap .selector .lang,#loco.wrap .selector .icon-16{margin-right:5px}#loco.wrap .selector .region,#loco.wrap .selector .lang-ca,#loco.wrap .selector .lang-eo,#loco.wrap .selector .lang-eu,#loco.wrap .selector .variant-wales,#loco.wrap .selector .region-gb.lang-cy,#loco.wrap .selector .variant-scotland,#loco.wrap .selector .region-gb.lang-gd{margin-left:2px;margin-right:7px}#loco.wrap .selector.ticked .icon.no-icon{font-size:12px;display:inline-block}#loco.wrap .selector.ticked .active .icon.no-icon:before{content:"\2713"}#loco.wrap .selectoradd a:hover,#loco.wrap .selector a.handle:focus,#loco.wrap .selector a.handle:hover{color:#000;border-color:#999}#loco.wrap .selector.active .handle{border-color:#999;background-color:#eee;color:#999}#loco.wrap .selector.active .handle:after{color:#999}#loco.wrap .selector.disabled{border-top:solid 1px #fff;border-right:solid 1px #ddd;border-bottom:solid 1px #ddd;border-left:solid 1px #fff;color:#666;height:1.3em;cursor:default;cursor:no-drop;cursor:not-allowed}#loco.wrap .selector.disabled:after{font-family:loco;padding-left:0.5em;padding-right:0.3em;line-height:1em;vertical-align:middle}#loco.wrap .selector li,#loco.wrap .selector .handle,#loco.wrap .selectoradd a,#loco.wrap .selectorsep:before,#loco.wrap .selectorsep span,#loco.wrap .selector.disabled{padding:0.3em 0.75em}#loco.wrap .selector li.disabled,#loco.wrap .selector li.disabled.over{color:#aaa;text-shadow:1px 1px #fff;pointer-events:none}#loco.wrap .selector li.disabled *{cursor:text}#loco.wrap .selector li.disabled .icon:before{color:#aaa}#loco.wrap .selector li.disabled .flag,#loco.wrap .selector li.disabled .icon-16{opacity:0.4}#loco.wrap .selector.lefty ul{left:auto;right:0}#loco.wrap .selector.lefty ul .icon,#loco.wrap .selector.lefty ul .icon-32{display:block;float:right;clear:none}#loco.wrap .selector.lefty ul .label{padding-right:32px;padding-left:0}#loco.wrap div.auto-comp-wrap{width:100%}#loco.wrap div.auto-comp-wrap input{display:inline-block}#loco.wrap div.auto-comp-wrap.loading input{background:transparent url(../img/ajax-loader.gif?v=2.1.0) right 2px no-repeat}#loco.wrap div.auto-comp-drop{color:#333333;background:#FFFFFF;border-top:none;position:absolute;width:100%;top:0;left:0;z-index:99;-webkit-box-shadow:0 5px 5px rgba(0,0,0,0.4);-moz-box-shadow:0 5px 5px rgba(0,0,0,0.4);box-shadow:0 5px 5px rgba(0,0,0,0.4)}#loco.wrap div.auto-comp-result{padding:5px 10px;cursor:pointer;background:#F0F0F0;border-top:solid 1px #FFF;border-bottom:solid 1px #DDD}#loco.wrap div.auto-comp-result:first-child{border-top:solid 1px #DDD}#loco.wrap div.auto-comp-result>*{display:inline-block;vertical-align:middle;line-height:normal}#loco.wrap div.auto-comp-result .icon:before{padding-right:5px}#loco.wrap div.auto-comp-result:hover{background:#A8A8A8;color:#FFFFFF;border-top-color:#A8A8A8;border-bottom-color:#999999}#loco.wrap div.auto-comp-result.selected{background:#666666 !important;color:#FFFFFF;border-top-color:#666666;border-bottom-color:#666666}#loco.wrap div.auto-comp-result .lang,#loco.wrap div.auto-comp-result .region,#loco.wrap div.auto-comp-result .lang-ca,#loco.wrap div.auto-comp-result .lang-eo,#loco.wrap div.auto-comp-result .lang-eu,#loco.wrap div.auto-comp-result .variant-wales,#loco.wrap div.auto-comp-result .region-gb.lang-cy,#loco.wrap div.auto-comp-result .variant-scotland,#loco.wrap div.auto-comp-result .region-gb.lang-gd{margin-right:5px}#loco.wrap div.auto-comp-wrap.error a.icon.clear:before{color:#cc0000;opacity:1}#loco.wrap div.auto-comp-wrap.error input[type="text"]{border-color:#cc0000;color:#cc0000}#loco.wrap div.auto-comp-wrap.error input[type="text"]:focus{-webkit-box-shadow:0 0 0.5em 0 rgba(153,0,0,0.5);-moz-box-shadow:0 0 0.5em 0 rgba(153,0,0,0.5);box-shadow:0 0 0.5em 0 rgba(153,0,0,0.5)}#loco.wrap ._ajax_loader_f2{background-image:url(../img/ajax-loader-f2.gif?v=2.1.0);background-repeat:no-repeat;min-height:16px}#loco.wrap ._ajax_loader_f2x4{background:transparent url(../img/ajax-loader-f2-x4.gif?v=2.1.0) 0 0 no-repeat;min-height:75px}@media only screen and (-webkit-min-device-pixel-ratio: 2), only screen and (min--moz-device-pixel-ratio: 2), only screen and (-o-min-device-pixel-ratio: 2 / 1), only screen and (min-device-pixel-ratio: 2), only screen and (min-resolution: 192dpi), only screen and (min-resolution: 2dppx){#loco.wrap ._ajax_loader_f2{background-image:url(../img/ajax-loader-f2-x2.gif?v=2.1.0);background-size:16px}}#loco.wrap ._green_glow_inner{-webkit-box-shadow:inset 0 0 10px 0 #3db63d;-moz-box-shadow:inset 0 0 10px 0 #3db63d;box-shadow:inset 0 0 10px 0 #3db63d}#loco.wrap ._green_glow_outer{-webkit-box-shadow:0 0 0.5em 0 #3db63d;-moz-box-shadow:0 0 0.5em 0 #3db63d;box-shadow:0 0 0.5em 0 #3db63d}#loco.wrap .loco-font,#loco.wrap .icon,#loco.wrap .has-icon:before,#loco.wrap .wp-list-table th.loco-sort.loco-asc:after,#loco.wrap .wp-list-table th.loco-sort.loco-desc:after{font-family:'loco';speak:none;font-style:normal;font-weight:normal;font-variant:normal;text-transform:none;line-height:1;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}@font-face{#loco.wrap{font-family:'loco';src:url("../fonts/loco.eot");src:url("../fonts/loco.eot?#iefix") format("embedded-opentype"),url("../fonts/loco.ttf") format("truetype"),url("../fonts/loco.woff") format("woff"),url("../fonts/loco.svg#loco") format("svg");font-weight:normal;font-style:normal}}#loco.wrap .has-icon:before{display:inline-block;padding-right:0.3em}#loco.wrap a.icon-help{cursor:help}#loco.wrap a.icon-help span{display:none}#loco.wrap .icon-bullist:before{content:"\e00a"}#loco.wrap .icon-numlist:before{content:"\e00b"}#loco.wrap .icon-indent:before{content:"\e00c"}#loco.wrap .icon-outdent:before{content:"\e00d"}#loco.wrap .icon-link:before{content:"\e011"}#loco.wrap .icon-unlink:before{content:"\e012"}#loco.wrap .icon-bold:before{content:"\42"}#loco.wrap .icon-italic:before{content:"\49"}#loco.wrap .icon-translate:before{content:"\f326"}#loco.wrap .icon-proj:before{content:"\e900"}#loco.wrap .icon-plural:before{content:"\73"}#loco.wrap .icon-max:before,#loco.wrap .icon-full-screen:before{content:"\e901"}#loco.wrap .icon-min:before{content:"\e902"}#loco.wrap .icon-sort:before{content:"\e903"}#loco.wrap .icon-checkbox-checked:before,#loco.wrap .selector.multi li.checked .icon-checkbox:before{content:"\2611"}#loco.wrap .icon-checkbox-unchecked:before{content:"\2610"}#loco.wrap .icon-checkbox-partial:before{content:"\2609"}#loco.wrap .icon-radio-checked:before{content:"\26ab"}#loco.wrap .icon-radio-unchecked:before{content:"\26aa"}#loco.wrap .icon-ext:before{content:"\2b08"}#loco.wrap .icon-share:before{content:"\e904"}#loco.wrap .icon-star:before{content:"\e612"}#loco.wrap .icon-user:before{content:"\e620"}#loco.wrap .icon-ok:before,#loco.wrap .notice-success>.has-icon:before,#loco.wrap .notice-success p>strong.has-icon:before{content:"\2713"}#loco.wrap .icon-remove:before{content:"\d7"}#loco.wrap .icon-cog:before{content:"\e61b"}#loco.wrap .icon-trash:before{content:"\e60f"}#loco.wrap .icon-time:before{content:"\e62d"}#loco.wrap .icon-download:before{content:"\e608"}#loco.wrap .icon-revert:before{content:"\e635"}#loco.wrap .icon-sync:before{content:"\e634"}#loco.wrap .icon-lock:before,#loco.wrap .selector.disabled:after,#loco.wrap .notice-locked>.has-icon:before,#loco.wrap .notice-locked p>strong.has-icon:before{content:"\e604"}#loco.wrap .icon-flag:before{content:"\e60e"}#loco.wrap .icon-tag:before{content:"\e622"}#loco.wrap .icon-tags:before{content:"\e623"}#loco.wrap .icon-print:before{content:"\e62a"}#loco.wrap .icon-camera:before{content:"\e629"}#loco.wrap .icon-pencil:before{content:"\e61e"}#loco.wrap .icon-add:before{content:"\e60c"}#loco.wrap .icon-del:before{content:"\e60d"}#loco.wrap .icon-clear:before,#loco.wrap a.icon.clear:before{content:"\e615"}#loco.wrap .icon-ok-sign:before{content:"\2714"}#loco.wrap .icon-help:before{content:"\3f"}#loco.wrap .icon-info:before,#loco.wrap .notice-info>.has-icon:before,#loco.wrap .notice-info p>strong.has-icon:before{content:"\2139"}#loco.wrap .icon-cancel:before{content:"\e605"}#loco.wrap .icon-warn:before,#loco.wrap .notice-warning>.has-icon:before,#loco.wrap .notice-warning p>strong.has-icon:before,#loco.wrap .notice-error>.has-icon:before,#loco.wrap .notice-error p>strong.has-icon:before{content:"\e62e"}#loco.wrap .icon-comment:before{content:"\e613"}#loco.wrap .icon-bar-chart:before{content:"\e624"}#loco.wrap .icon-key:before{content:"\e606"}#loco.wrap .icon-cogs:before{content:"\e61c"}#loco.wrap .icon-comments:before{content:"\e614"}#loco.wrap .icon-signout:before{content:"\e61a"}#loco.wrap .icon-signin:before{content:"\e619"}#loco.wrap .icon-upload:before{content:"\e609"}#loco.wrap .icon-twitter:before{content:"\1f426"}#loco.wrap .icon-facebook:before{content:"\e630"}#loco.wrap .icon-github:before{content:"\e633"}#loco.wrap .icon-feed:before{content:"\e628"}#loco.wrap .icon-globe:before{content:"\e61d"}#loco.wrap .icon-wrench:before,#loco.wrap .notice-debug>.has-icon:before,#loco.wrap .notice-debug p>strong.has-icon:before{content:"\e626"}#loco.wrap .icon-group:before{content:"\e61f"}#loco.wrap .icon-cloud:before{content:"\e607"}#loco.wrap .icon-copy:before{content:"\e62b"}#loco.wrap .icon-save:before{content:"\e610"}#loco.wrap .icon-menu:before{content:"\e600"}#loco.wrap .icon-table:before{content:"\e627"}#loco.wrap .icon-caret-down:before,#loco.wrap .selector .handle:after{content:"\25bc"}#loco.wrap .icon-caret-up:before,#loco.wrap .selector.active .handle:after{content:"\25b2"}#loco.wrap .icon-caret-right:before{content:"\25b6"}#loco.wrap .icon-mail:before{content:"\e603"}#loco.wrap .icon-cloud-upload:before{content:"\e617"}#loco.wrap .icon-file:before{content:"\e611"}#loco.wrap .icon-circle-white:before{content:"\26ac"}#loco.wrap .icon-circle-black:before{content:"\25cf"}#loco.wrap .icon-eraser:before{content:"\e636"}#loco.wrap .icon-unlock:before{content:"\e616"}#loco.wrap .icon-apple:before{content:"\e60b"}#loco.wrap .icon-android:before{content:"\e60a"}#loco.wrap .icon-back:before{content:"\2b05"}#loco.wrap .icon-next:before{content:"\2794"}#loco.wrap .icon-arrow-up:before{content:"\f062"}#loco.wrap .icon-ccard:before{content:"\f09d"}#loco.wrap .icon-caret-left:before{content:"\25c0"}#loco.wrap .icon-pro:before{content:"\26a1"}#loco.wrap .icon-bell:before{content:"\f0f3"}#loco.wrap .icon-code:before{content:"\f121"}#loco.wrap .icon-hellip:before{content:"\2026"}#loco.wrap .icon-vellip:before{content:"\205e"}#loco.wrap .icon-collapse:before{content:"\f147"}#loco.wrap .icon-expand:before{content:"\f196"}#loco.wrap .icon-wordpress:before{content:"\f19a"}#loco.wrap .icon-database:before{content:"\f1c0"}#loco.wrap .icon-restore:before{content:"\f1da"}#loco.wrap .icon-pilcrow:before{content:"\b6"}#loco.wrap .icon-flag.is-untranslated:before{content:"×"}#loco.wrap .icon-flag.status-0:before,#loco.wrap .icon-flag.is-translated:before{content:"✓"}#loco.wrap .icon-flag.status-1:before,#loco.wrap .icon-flag.is-incorrect:before{content:""}#loco.wrap .icon-flag.status-2:before,#loco.wrap .icon-flag.is-provisional:before{content:""}#loco.wrap .icon-flag.status-3:before,#loco.wrap .icon-flag.is-unapproved:before{content:""}#loco.wrap .icon-flag.status-4:before,#loco.wrap .icon-flag.is-fuzzy:before{content:""}#loco.wrap .icon-flag.status-5:before,#loco.wrap .icon-flag.is-incomplete:before{content:""}#loco.wrap .icon-flag.status-6:before,#loco.wrap .icon-flag.is-rejected:before{content:""}#loco.wrap .lang,#loco.wrap .region,#loco.wrap .lang-ca,#loco.wrap .lang-eo,#loco.wrap .lang-eu,#loco.wrap .variant-wales,#loco.wrap .region-gb.lang-cy,#loco.wrap .variant-scotland,#loco.wrap .region-gb.lang-gd{color:#fff;background:#2e892e;display:inline-block;text-transform:uppercase;overflow:hidden;font-family:Verdana,Arial,sans-serif;font-size:9px;font-weight:normal;font-style:normal;line-height:12px;text-align:center;white-space:normal;text-shadow:none}#loco.wrap .lang{width:20px;height:12px;line-height:12px;vertical-align:middle}#loco.wrap .lang:before{content:attr(lang)}#loco.wrap .lang-el{background-color:#1D48A3}#loco.wrap .lang-el:before{content:"\0395\03BB"}#loco.wrap .region,#loco.wrap .lang-ca,#loco.wrap .lang-eo,#loco.wrap .lang-eu,#loco.wrap .variant-wales,#loco.wrap .region-gb.lang-cy,#loco.wrap .variant-scotland,#loco.wrap .region-gb.lang-gd{width:16px;height:12px;margin:0 2px;background-image:url(../img/flags.png?v=2.1.0);background-repeat:no-repeat;background-color:transparent}#loco.wrap .region:before,#loco.wrap .lang-ca:before,#loco.wrap .lang-eo:before,#loco.wrap .lang-eu:before,#loco.wrap .variant-wales:before,#loco.wrap .region-gb.lang-cy:before,#loco.wrap .variant-scotland:before,#loco.wrap .region-gb.lang-gd:before{visibility:hidden}#loco.wrap .lang-zh{background-color:#B90000}#loco.wrap .lang-zh.script-hans:before{content:"\4E2D\56FD"}#loco.wrap .lang-zh.script-hant:before{content:"\4E2D\570B"}#loco.wrap .__{background-position:0 0}#loco.wrap .lang-ca{background-position:0 -12px}#loco.wrap .lang-eo{background-position:0 -24px}#loco.wrap .lang-eu{background-position:0 -36px}#loco.wrap .region-ad{background-position:0 -48px}#loco.wrap .region-ae{background-position:0 -60px}#loco.wrap .region-af{background-position:0 -72px}#loco.wrap .region-ag{background-position:0 -84px}#loco.wrap .region-ai{background-position:0 -96px}#loco.wrap .region-al{background-position:0 -108px}#loco.wrap .region-am{background-position:0 -120px}#loco.wrap .region-an{background-position:0 -132px}#loco.wrap .region-ao{background-position:0 -144px}#loco.wrap .region-aq{background-position:0 -156px}#loco.wrap .region-ar{background-position:0 -173px}#loco.wrap .region-as{background-position:0 -185px}#loco.wrap .region-at{background-position:0 -197px}#loco.wrap .region-au{background-position:0 -209px}#loco.wrap .region-aw{background-position:0 -221px}#loco.wrap .region-ax{background-position:0 -233px}#loco.wrap .region-az{background-position:0 -245px}#loco.wrap .region-ba{background-position:0 -257px}#loco.wrap .region-bb{background-position:0 -269px}#loco.wrap .region-bd{background-position:0 -281px}#loco.wrap .region-be{background-position:0 -293px}#loco.wrap .region-bf{background-position:0 -305px}#loco.wrap .region-bg{background-position:0 -317px}#loco.wrap .region-bh{background-position:0 -329px}#loco.wrap .region-bi{background-position:0 -341px}#loco.wrap .region-bj{background-position:0 -353px}#loco.wrap .region-bl{background-position:0 -365px}#loco.wrap .region-bm{background-position:0 -382px}#loco.wrap .region-bn{background-position:0 -394px}#loco.wrap .region-bo{background-position:0 -406px}#loco.wrap .region-bq{background-position:0 -418px}#loco.wrap .region-br{background-position:0 -430px}#loco.wrap .region-bs{background-position:0 -442px}#loco.wrap .region-bt{background-position:0 -454px}#loco.wrap .region-bv{background-position:0 -466px}#loco.wrap .region-bw{background-position:0 -478px}#loco.wrap .region-by{background-position:0 -490px}#loco.wrap .region-bz{background-position:0 -502px}#loco.wrap .region-ca{background-position:0 -514px}#loco.wrap .region-cc{background-position:0 -526px}#loco.wrap .region-cd{background-position:0 -538px}#loco.wrap .region-cf{background-position:0 -550px}#loco.wrap .region-cg{background-position:0 -562px}#loco.wrap .region-ch{background-position:0 -574px}#loco.wrap .region-ci{background-position:0 -586px}#loco.wrap .region-ck{background-position:0 -598px}#loco.wrap .region-cl{background-position:0 -610px}#loco.wrap .region-cm{background-position:0 -622px}#loco.wrap .region-cn{background-position:0 -634px}#loco.wrap .region-co{background-position:0 -646px}#loco.wrap .region-cr{background-position:0 -658px}#loco.wrap .region-cs{background-position:0 -670px}#loco.wrap .region-cu{background-position:0 -682px}#loco.wrap .region-cv{background-position:0 -694px}#loco.wrap .region-cw{background-position:0 -706px}#loco.wrap .region-cx{background-position:0 -723px}#loco.wrap .region-cy{background-position:0 -735px}#loco.wrap .region-cz{background-position:0 -747px}#loco.wrap .region-de{background-position:0 -759px}#loco.wrap .region-dj{background-position:0 -771px}#loco.wrap .region-dk{background-position:0 -783px}#loco.wrap .region-dm{background-position:0 -795px}#loco.wrap .region-do{background-position:0 -807px}#loco.wrap .region-dz{background-position:0 -819px}#loco.wrap .region-ec{background-position:0 -831px}#loco.wrap .region-ee{background-position:0 -843px}#loco.wrap .region-eg{background-position:0 -855px}#loco.wrap .region-eh{background-position:0 -867px}#loco.wrap .region-er{background-position:0 -879px}#loco.wrap .region-es{background-position:0 -891px}#loco.wrap .region-et{background-position:0 -903px}#loco.wrap .region-fi{background-position:0 -915px}#loco.wrap .region-fj{background-position:0 -927px}#loco.wrap .region-fk{background-position:0 -939px}#loco.wrap .region-fm{background-position:0 -951px}#loco.wrap .region-fo{background-position:0 -963px}#loco.wrap .region-fr{background-position:0 -975px}#loco.wrap .region-ga{background-position:0 -987px}#loco.wrap .region-gb{background-position:0 -999px}#loco.wrap .region-gd{background-position:0 -1011px}#loco.wrap .region-ge{background-position:0 -1023px}#loco.wrap .region-gf{background-position:0 -1035px}#loco.wrap .region-gg{background-position:0 -1047px}#loco.wrap .region-gh{background-position:0 -1064px}#loco.wrap .region-gi{background-position:0 -1076px}#loco.wrap .region-gl{background-position:0 -1088px}#loco.wrap .region-gm{background-position:0 -1100px}#loco.wrap .region-gn{background-position:0 -1112px}#loco.wrap .region-gp{background-position:0 -1124px}#loco.wrap .region-gq{background-position:0 -1136px}#loco.wrap .region-gr{background-position:0 -1148px}#loco.wrap .region-gs{background-position:0 -1160px}#loco.wrap .region-gt{background-position:0 -1172px}#loco.wrap .region-gu{background-position:0 -1184px}#loco.wrap .region-gw{background-position:0 -1196px}#loco.wrap .region-gy{background-position:0 -1208px}#loco.wrap .region-hk{background-position:0 -1220px}#loco.wrap .region-hm{background-position:0 -1232px}#loco.wrap .region-hn{background-position:0 -1244px}#loco.wrap .region-hr{background-position:0 -1256px}#loco.wrap .region-ht{background-position:0 -1268px}#loco.wrap .region-hu{background-position:0 -1280px}#loco.wrap .region-id{background-position:0 -1292px}#loco.wrap .region-ie{background-position:0 -1304px}#loco.wrap .region-il{background-position:0 -1316px}#loco.wrap .region-im{background-position:0 -1328px}#loco.wrap .region-in{background-position:0 -1345px}#loco.wrap .region-io{background-position:0 -1357px}#loco.wrap .region-iq{background-position:0 -1369px}#loco.wrap .region-ir{background-position:0 -1381px}#loco.wrap .region-is{background-position:0 -1393px}#loco.wrap .region-it{background-position:0 -1405px}#loco.wrap .region-je{background-position:0 -1417px}#loco.wrap .region-jm{background-position:0 -1434px}#loco.wrap .region-jo{background-position:0 -1446px}#loco.wrap .region-jp{background-position:0 -1458px}#loco.wrap .region-ke{background-position:0 -1470px}#loco.wrap .region-kg{background-position:0 -1482px}#loco.wrap .region-kh{background-position:0 -1494px}#loco.wrap .region-ki{background-position:0 -1506px}#loco.wrap .region-km{background-position:0 -1518px}#loco.wrap .region-kn{background-position:0 -1530px}#loco.wrap .region-kp{background-position:0 -1542px}#loco.wrap .region-kr{background-position:0 -1554px}#loco.wrap .region-kw{background-position:0 -1566px}#loco.wrap .region-ky{background-position:0 -1578px}#loco.wrap .region-kz{background-position:0 -1590px}#loco.wrap .region-la{background-position:0 -1602px}#loco.wrap .region-lb{background-position:0 -1614px}#loco.wrap .region-lc{background-position:0 -1626px}#loco.wrap .region-li{background-position:0 -1638px}#loco.wrap .region-lk{background-position:0 -1650px}#loco.wrap .region-lr{background-position:0 -1662px}#loco.wrap .region-ls{background-position:0 -1674px}#loco.wrap .region-lt{background-position:0 -1686px}#loco.wrap .region-lu{background-position:0 -1698px}#loco.wrap .region-lv{background-position:0 -1710px}#loco.wrap .region-ly{background-position:0 -1722px}#loco.wrap .region-ma{background-position:0 -1734px}#loco.wrap .region-mc{background-position:0 -1746px}#loco.wrap .region-md{background-position:0 -1758px}#loco.wrap .region-me{background-position:0 -1770px}#loco.wrap .region-mf{background-position:0 -1783px}#loco.wrap .region-mg{background-position:0 -1800px}#loco.wrap .region-mh{background-position:0 -1812px}#loco.wrap .region-mk{background-position:0 -1824px}#loco.wrap .region-ml{background-position:0 -1836px}#loco.wrap .region-mm{background-position:0 -1848px}#loco.wrap .region-mn{background-position:0 -1860px}#loco.wrap .region-mo{background-position:0 -1872px}#loco.wrap .region-mp{background-position:0 -1884px}#loco.wrap .region-mq{background-position:0 -1896px}#loco.wrap .region-mr{background-position:0 -1908px}#loco.wrap .region-ms{background-position:0 -1920px}#loco.wrap .region-mt{background-position:0 -1932px}#loco.wrap .region-mu{background-position:0 -1944px}#loco.wrap .region-mv{background-position:0 -1956px}#loco.wrap .region-mw{background-position:0 -1968px}#loco.wrap .region-mx{background-position:0 -1980px}#loco.wrap .region-my{background-position:0 -1992px}#loco.wrap .region-mz{background-position:0 -2004px}#loco.wrap .region-na{background-position:0 -2016px}#loco.wrap .region-nc{background-position:0 -2028px}#loco.wrap .region-ne{background-position:0 -2040px}#loco.wrap .region-nf{background-position:0 -2052px}#loco.wrap .region-ng{background-position:0 -2064px}#loco.wrap .region-ni{background-position:0 -2076px}#loco.wrap .region-nl{background-position:0 -2088px}#loco.wrap .region-no{background-position:0 -2100px}#loco.wrap .region-np{background-position:0 -2112px}#loco.wrap .region-nr{background-position:0 -2124px}#loco.wrap .region-nu{background-position:0 -2136px}#loco.wrap .region-nz{background-position:0 -2148px}#loco.wrap .region-om{background-position:0 -2160px}#loco.wrap .region-pa{background-position:0 -2172px}#loco.wrap .region-pe{background-position:0 -2184px}#loco.wrap .region-pf{background-position:0 -2196px}#loco.wrap .region-pg{background-position:0 -2208px}#loco.wrap .region-ph{background-position:0 -2220px}#loco.wrap .region-pk{background-position:0 -2232px}#loco.wrap .region-pl{background-position:0 -2244px}#loco.wrap .region-pm{background-position:0 -2256px}#loco.wrap .region-pn{background-position:0 -2268px}#loco.wrap .region-pr{background-position:0 -2280px}#loco.wrap .region-ps{background-position:0 -2292px}#loco.wrap .region-pt{background-position:0 -2304px}#loco.wrap .region-pw{background-position:0 -2316px}#loco.wrap .region-py{background-position:0 -2328px}#loco.wrap .region-qa{background-position:0 -2340px}#loco.wrap .region-re{background-position:0 -2352px}#loco.wrap .region-ro{background-position:0 -2364px}#loco.wrap .region-rs{background-position:0 -2376px}#loco.wrap .region-ru{background-position:0 -2388px}#loco.wrap .region-rw{background-position:0 -2400px}#loco.wrap .region-sa{background-position:0 -2412px}#loco.wrap .region-sb{background-position:0 -2424px}#loco.wrap .region-sc{background-position:0 -2436px}#loco.wrap .region-sd{background-position:0 -2448px}#loco.wrap .region-se{background-position:0 -2460px}#loco.wrap .region-sg{background-position:0 -2472px}#loco.wrap .region-sh{background-position:0 -2484px}#loco.wrap .region-si{background-position:0 -2496px}#loco.wrap .region-sj{background-position:0 -2508px}#loco.wrap .region-sk{background-position:0 -2520px}#loco.wrap .region-sl{background-position:0 -2532px}#loco.wrap .region-sm{background-position:0 -2544px}#loco.wrap .region-sn{background-position:0 -2556px}#loco.wrap .region-so{background-position:0 -2568px}#loco.wrap .region-sr{background-position:0 -2580px}#loco.wrap .region-ss{background-position:0 -2592px}#loco.wrap .region-st{background-position:0 -2609px}#loco.wrap .region-sv{background-position:0 -2621px}#loco.wrap .region-sx{background-position:0 -2633px}#loco.wrap .region-sy{background-position:0 -2650px}#loco.wrap .region-sz{background-position:0 -2662px}#loco.wrap .region-tc{background-position:0 -2674px}#loco.wrap .region-td{background-position:0 -2686px}#loco.wrap .region-tf{background-position:0 -2698px}#loco.wrap .region-tg{background-position:0 -2710px}#loco.wrap .region-th{background-position:0 -2722px}#loco.wrap .region-tj{background-position:0 -2734px}#loco.wrap .region-tk{background-position:0 -2746px}#loco.wrap .region-tl{background-position:0 -2758px}#loco.wrap .region-tm{background-position:0 -2770px}#loco.wrap .region-tn{background-position:0 -2782px}#loco.wrap .region-to{background-position:0 -2794px}#loco.wrap .region-tr{background-position:0 -2806px}#loco.wrap .region-tt{background-position:0 -2818px}#loco.wrap .region-tv{background-position:0 -2830px}#loco.wrap .region-tw{background-position:0 -2842px}#loco.wrap .region-tz{background-position:0 -2854px}#loco.wrap .region-ua{background-position:0 -2866px}#loco.wrap .region-ug{background-position:0 -2878px}#loco.wrap .region-um{background-position:0 -2890px}#loco.wrap .region-us{background-position:0 -2902px}#loco.wrap .region-uy{background-position:0 -2914px}#loco.wrap .region-uz{background-position:0 -2926px}#loco.wrap .region-va{background-position:0 -2938px}#loco.wrap .region-vc{background-position:0 -2950px}#loco.wrap .region-ve{background-position:0 -2962px}#loco.wrap .region-vg{background-position:0 -2974px}#loco.wrap .region-vi{background-position:0 -2986px}#loco.wrap .region-vn{background-position:0 -2998px}#loco.wrap .region-vu{background-position:0 -3010px}#loco.wrap .region-wf{background-position:0 -3022px}#loco.wrap .region-ws{background-position:0 -3034px}#loco.wrap .region-ye{background-position:0 -3046px}#loco.wrap .region-yt{background-position:0 -3058px}#loco.wrap .region-za{background-position:0 -3070px}#loco.wrap .region-zm{background-position:0 -3082px}#loco.wrap .region-zw{background-position:0 -3094px}#loco.wrap .variant-scotland,#loco.wrap .region-gb.lang-gd{background-position:0 -3106px}#loco.wrap .variant-wales,#loco.wrap .region-gb.lang-cy{background-position:0 -3118px}#loco.wrap .x-eu{background-position:0 -3130px}#loco.wrap span.lang code{display:none}#loco.wrap .icon-bullist:before{content:"\e00a"}#loco.wrap .icon-numlist:before{content:"\e00b"}#loco.wrap .icon-indent:before{content:"\e00c"}#loco.wrap .icon-outdent:before{content:"\e00d"}#loco.wrap .icon-link:before{content:"\e011"}#loco.wrap .icon-unlink:before{content:"\e012"}#loco.wrap .icon-bold:before{content:"\42"}#loco.wrap .icon-italic:before{content:"\49"}#loco.wrap .icon-translate:before{content:"\f326"}#loco.wrap .icon-proj:before{content:"\e900"}#loco.wrap .icon-plural:before{content:"\73"}#loco.wrap .icon-max:before,#loco.wrap .icon-full-screen:before{content:"\e901"}#loco.wrap .icon-min:before{content:"\e902"}#loco.wrap .icon-sort:before{content:"\e903"}#loco.wrap .icon-checkbox-checked:before,#loco.wrap .selector.multi li.checked .icon-checkbox:before{content:"\2611"}#loco.wrap .icon-checkbox-unchecked:before{content:"\2610"}#loco.wrap .icon-checkbox-partial:before{content:"\2609"}#loco.wrap .icon-radio-checked:before{content:"\26ab"}#loco.wrap .icon-radio-unchecked:before{content:"\26aa"}#loco.wrap .icon-ext:before{content:"\2b08"}#loco.wrap .icon-share:before{content:"\e904"}#loco.wrap .icon-star:before{content:"\e612"}#loco.wrap .icon-user:before{content:"\e620"}#loco.wrap .icon-ok:before,#loco.wrap .notice-success>.has-icon:before,#loco.wrap .notice-success p>strong.has-icon:before{content:"\2713"}#loco.wrap .icon-remove:before{content:"\d7"}#loco.wrap .icon-cog:before{content:"\e61b"}#loco.wrap .icon-trash:before{content:"\e60f"}#loco.wrap .icon-time:before{content:"\e62d"}#loco.wrap .icon-download:before{content:"\e608"}#loco.wrap .icon-revert:before{content:"\e635"}#loco.wrap .icon-sync:before{content:"\e634"}#loco.wrap .icon-lock:before,#loco.wrap .selector.disabled:after,#loco.wrap .notice-locked>.has-icon:before,#loco.wrap .notice-locked p>strong.has-icon:before{content:"\e604"}#loco.wrap .icon-flag:before{content:"\e60e"}#loco.wrap .icon-tag:before{content:"\e622"}#loco.wrap .icon-tags:before{content:"\e623"}#loco.wrap .icon-print:before{content:"\e62a"}#loco.wrap .icon-camera:before{content:"\e629"}#loco.wrap .icon-pencil:before{content:"\e61e"}#loco.wrap .icon-add:before{content:"\e60c"}#loco.wrap .icon-del:before{content:"\e60d"}#loco.wrap .icon-clear:before,#loco.wrap a.icon.clear:before{content:"\e615"}#loco.wrap .icon-ok-sign:before{content:"\2714"}#loco.wrap .icon-help:before{content:"\3f"}#loco.wrap .icon-info:before,#loco.wrap .notice-info>.has-icon:before,#loco.wrap .notice-info p>strong.has-icon:before{content:"\2139"}#loco.wrap .icon-cancel:before{content:"\e605"}#loco.wrap .icon-warn:before,#loco.wrap .notice-warning>.has-icon:before,#loco.wrap .notice-warning p>strong.has-icon:before,#loco.wrap .notice-error>.has-icon:before,#loco.wrap .notice-error p>strong.has-icon:before{content:"\e62e"}#loco.wrap .icon-comment:before{content:"\e613"}#loco.wrap .icon-bar-chart:before{content:"\e624"}#loco.wrap .icon-key:before{content:"\e606"}#loco.wrap .icon-cogs:before{content:"\e61c"}#loco.wrap .icon-comments:before{content:"\e614"}#loco.wrap .icon-signout:before{content:"\e61a"}#loco.wrap .icon-signin:before{content:"\e619"}#loco.wrap .icon-upload:before{content:"\e609"}#loco.wrap .icon-twitter:before{content:"\1f426"}#loco.wrap .icon-facebook:before{content:"\e630"}#loco.wrap .icon-github:before{content:"\e633"}#loco.wrap .icon-feed:before{content:"\e628"}#loco.wrap .icon-globe:before{content:"\e61d"}#loco.wrap .icon-wrench:before,#loco.wrap .notice-debug>.has-icon:before,#loco.wrap .notice-debug p>strong.has-icon:before{content:"\e626"}#loco.wrap .icon-group:before{content:"\e61f"}#loco.wrap .icon-cloud:before{content:"\e607"}#loco.wrap .icon-copy:before{content:"\e62b"}#loco.wrap .icon-save:before{content:"\e610"}#loco.wrap .icon-menu:before{content:"\e600"}#loco.wrap .icon-table:before{content:"\e627"}#loco.wrap .icon-caret-down:before,#loco.wrap .selector .handle:after{content:"\25bc"}#loco.wrap .icon-caret-up:before,#loco.wrap .selector.active .handle:after{content:"\25b2"}#loco.wrap .icon-caret-right:before{content:"\25b6"}#loco.wrap .icon-mail:before{content:"\e603"}#loco.wrap .icon-cloud-upload:before{content:"\e617"}#loco.wrap .icon-file:before{content:"\e611"}#loco.wrap .icon-circle-white:before{content:"\26ac"}#loco.wrap .icon-circle-black:before{content:"\25cf"}#loco.wrap .icon-eraser:before{content:"\e636"}#loco.wrap .icon-unlock:before{content:"\e616"}#loco.wrap .icon-apple:before{content:"\e60b"}#loco.wrap .icon-android:before{content:"\e60a"}#loco.wrap .icon-back:before{content:"\2b05"}#loco.wrap .icon-next:before{content:"\2794"}#loco.wrap .icon-arrow-up:before{content:"\f062"}#loco.wrap .icon-ccard:before{content:"\f09d"}#loco.wrap .icon-caret-left:before{content:"\25c0"}#loco.wrap .icon-pro:before{content:"\26a1"}#loco.wrap .icon-bell:before{content:"\f0f3"}#loco.wrap .icon-code:before{content:"\f121"}#loco.wrap .icon-hellip:before{content:"\2026"}#loco.wrap .icon-vellip:before{content:"\205e"}#loco.wrap .icon-collapse:before{content:"\f147"}#loco.wrap .icon-expand:before{content:"\f196"}#loco.wrap .icon-wordpress:before{content:"\f19a"}#loco.wrap .icon-database:before{content:"\f1c0"}#loco.wrap .icon-restore:before{content:"\f1da"}#loco.wrap .icon-pilcrow:before{content:"\b6"}#loco.wrap .icon,#loco.wrap .has-icon:before,#loco.wrap .has-dashicon:before{speak:none;font-style:normal;font-weight:normal;font-variant:normal;text-transform:none;line-height:1;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}#loco.wrap .icon,#loco.wrap .has-icon:before{font-family:'loco'}#loco.wrap .has-dashicon:before{font-family:'dashicons';font-size:1.4em}#loco.wrap .has-icon:before,#loco.wrap .has-dashicon:before,#loco.wrap .has-icon>span{display:inline-block;vertical-align:middle}#loco.wrap .only-icon{text-align:center}#loco.wrap .only-icon:before{text-align:center}#loco.wrap .only-icon span{display:none}#loco.wrap a,#loco.wrap .wp-core-ui .button-link{text-decoration:none}#loco.wrap .has-lang>span{display:inline-block;vertical-align:middle}#loco.wrap a.has-lang:hover>span:last-child{text-decoration:underline}#loco.wrap h1 ul,#loco.wrap h1 li{margin:0;padding:0}#loco.wrap h1 li{display:inline-block}#loco.wrap h1 li:after{content:"/";color:#999;text-shadow:none;display:inline-block}#loco.wrap h1 li:last-child:after{content:""}#loco.wrap h1 li:last-child a{color:inherit;pointer-events:none;cursor:auto}#loco.wrap h2 span{color:#999;font-weight:normal}#loco.wrap h2 .loco-meta,#loco.wrap h3 .loco-meta{color:inherit;font-size:14px;font-weight:normal;vertical-align:middle}#loco.wrap .wp-list-table td:first-child .icon{width:16px;display:inline-block;text-align:center}#loco.wrap .wp-list-table td{white-space:nowrap}#loco.wrap .wp-list-table td>a,#loco.wrap .wp-list-table td>time{display:inline-block;max-width:100%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;-o-text-overflow:ellipsis;-ms-text-overflow:ellipsis}#loco.wrap .wp-list-table th.loco-sort{cursor:pointer}#loco.wrap .wp-list-table th.loco-sort:hover{color:#000}#loco.wrap .wp-list-table th.loco-sort.loco-asc:after,#loco.wrap .wp-list-table th.loco-sort.loco-desc:after{padding:0 0 0 4px;color:#999}#loco.wrap .wp-list-table th.loco-sort.loco-desc:after{content:"\25bc"}#loco.wrap .wp-list-table th.loco-sort.loco-asc:after{content:"\25b2"}#loco.wrap form.loco-filter{display:block;margin-bottom:5px}#loco.wrap form.loco-filter .icon-filter{color:#999}#loco.wrap nav.above-list-table{margin-bottom:1em}#loco.wrap nav.above-list-table a{display:inline-block;margin-right:1em}#loco.wrap .wp-core-ui button.inverted,#loco.wrap .wp-core-ui button.inverted:hover{background:-moz-linear-gradient(top, #ccc 0%, #e0e0e0 5%, #fefefe 100%);background:-webkit-linear-gradient(top, #ccc 0%, #e0e0e0 5%, #fefefe 100%);background:linear-gradient(to bottom, #ccc 0%, #e0e0e0 5%, #fefefe 100%);-webkit-box-shadow:0 1px 0 #fff;-moz-box-shadow:0 1px 0 #fff;box-shadow:0 1px 0 #fff;border-color:#bbb}#loco.wrap .wp-core-ui button:active,#loco.wrap .wp-core-ui button.inverted:active{border-color:#5b9dd9}#loco.wrap .loco-clearable{display:inline-block;vertical-align:middle;position:relative}#loco.wrap .loco-clearable a.clear,#loco.wrap .auto-comp-wrap a.clear{top:0;right:0;outline:none;margin:0;border:solid 1px transparent;padding:5px 5px;position:absolute;font-size:1em;line-height:normal}#loco.wrap .loco-clearable a.clear:before,#loco.wrap .auto-comp-wrap a.clear:before{vertical-align:middle;padding:0;color:#999}#loco.wrap .loco-clearable a.clear:hover:before,#loco.wrap .auto-comp-wrap a.clear:hover:before{color:#333}#loco.wrap .loco-clearable a.clear span,#loco.wrap .auto-comp-wrap a.clear span{display:none}#loco.wrap .loco-clearable ::-ms-clear,#loco.wrap .auto-comp-wrap ::-ms-clear{display:none}#loco.wrap div.progress{color:#000;background:transparent !important}#loco.wrap div.progress *{height:100%;overflow:hidden;white-space:nowrap}#loco.wrap div.progress .t{background-color:#ddd;border:1px solid #ccc}#loco.wrap div.progress .t .bar{float:left;clear:none;background-color:#3db63d}#loco.wrap div.progress .t .bar.f{background-color:#bd2c00}#loco.wrap div.progress .l{display:block}#loco.wrap td div.progress .t{border:none}#loco.wrap td div.progress .l{display:none}#loco.wrap code.path{color:#333;margin:0;padding:0;display:inline;background:transparent}#loco.wrap .notice,#loco.wrap .panel{background:#fff;position:relative;margin:1em 0;padding:1px 12px}#loco.wrap .notice-generic{border-color:#ddd}#loco.wrap .notice-success>.has-icon,#loco.wrap .notice-success p>strong.has-icon{color:#000}#loco.wrap .notice-warning{border-color:#FFA500}#loco.wrap .notice-error{border-color:#dc3232}#loco.wrap .notice-debug{border-color:#00a0d2}#loco.wrap .notice-danger{border-color:#dc3232}#loco.wrap .notice-locked{border-color:#FFA500}#loco.wrap .notice>.has-icon:before,#loco.wrap .notice p>strong.has-icon:before{padding-right:6px}#loco.wrap .notice>p>a.button.has-icon:before{width:1.5em}#loco.wrap .notice>p>em{color:#d54e21;font-style:normal}#loco.wrap .notice>p>em a{color:inherit}#loco.wrap .notice>p a:hover,#loco.wrap .notice>nav a:hover{text-decoration:underline}#loco.wrap .notice>p a.button,#loco.wrap .notice>nav a.button{text-decoration:inherit}#loco.wrap .notice.has-nav{display:flex;flex-direction:row}#loco.wrap .notice.has-nav p,#loco.wrap .notice.has-nav nav{line-height:22px;flex-grow:1}#loco.wrap .notice.has-nav nav{text-align:right;padding:2px;margin:.5em 0}#loco.wrap .notice.has-nav.is-dismissible{padding-right:38px}#loco.wrap .notice.has-nav a{font-size:12px;white-space:nowrap}#loco.wrap .notice.has-nav nav>span{color:#666}#loco.wrap .notice>h3>span{display:inline-block;vertical-align:middle}#loco.wrap ul.problems li{font-style:italic}#loco.wrap label{position:relative}#loco.wrap label.for-disabled,#loco.wrap label.for-disabled>input{cursor:default !important}#loco.wrap input.regular-text,#loco.wrap textarea.regular-text{width:25em}#loco.wrap .button-link{padding:0 10px 1px}#loco.wrap .button-danger{background:#ba0000;border-color:#990000 #660000 #660000;-webkit-box-shadow:0 1px 0 #600;-moz-box-shadow:0 1px 0 #600;box-shadow:0 1px 0 #600;color:#fff;text-shadow:0 -1px 1px #660000, 1px 0 1px #660000, 0 1px 1px #660000, -1px 0 1px #660000}#loco.wrap .button-success{background:#00B500;border-color:#090 #2e892e #2e892e;-webkit-box-shadow:0 1px 0 #2e892e;-moz-box-shadow:0 1px 0 #2e892e;box-shadow:0 1px 0 #2e892e;color:#fff;text-shadow:0 -1px 1px #2e892e,1px 0 1px #2e892e,0 1px 1px #2e892e,-1px 0 1px #2e892e}#loco.wrap .button-success:hover{background:#3db63d}#loco.wrap form button.loco-loading.button-large{padding-left:0}#loco.wrap form button.loco-loading.button-large:before{width:16px;height:16px;margin:0 4px;content:" ";font-size:16px;line-height:1;display:inline-block;vertical-align:sub}#loco.wrap ::-webkit-input-placeholder{color:#ccc}#loco.wrap :-moz-placeholder{color:#ccc;opacity:1}#loco.wrap ::-moz-placeholder{color:#ccc;opacity:1}#loco.wrap :-ms-input-placeholder{color:#ccc}#loco.wrap .ielt10 .placeheld{color:#ccc}#loco.wrap a.has-raquo:after{content:"\A0\BB"}#loco.wrap a.has-laquo:before{content:"\AB\A0"}#loco.wrap span.inline-spinner{display:inline-block;min-width:16px;min-height:16px;background:transparent url(../img/spin-modal.gif?v=2.1.0) 0 0 no-repeat}.js #wpbody-content>.notice{display:none}.js #wpbody-content>.notice.inline{display:block}.js #loco.wrap .jshide{display:none !important}#loco.wrap .invis{visibility:hidden}.form-table tr{vertical-align:top}.form-table tr.compact td{padding-top:0}.loco-modal.request-filesystem-credentials-dialog{top:15% !important;max-height:85% !important}.loco-modal.request-filesystem-credentials-dialog>.ui-dialog-content{background:inherit}.loco-modal.request-filesystem-credentials-dialog .ftp-password>label>em:last-child{display:none}.ui-dialog-content>div.loco-loading{height:100%;background:transparent url(../img/spin-modal.gif?v=2.1.0) center 20px no-repeat}#loco-credit>*{vertical-align:middle}#loco-credit>a{display:inline-block;position:relative;overflow:hidden;background:transparent url(../img/logo-foot.gif?v=2.1.0) 0 0 no-repeat;height:30px;width:100px;text-indent:200px;-webkit-transition-duration:0s;transition-duration:0s}#loco-credit>a:hover{background-position:0 -35px}#loco-content{position:relative}#footer-upgrade span:before{color:#CCC;content:" | ";display:inline;padding-left:0.5em;padding-right:0.5em}#footer-upgrade span:first-child:before{content:"";display:none}.loco-clearfix:after{content:".";display:block;clear:both;visibility:hidden;line-height:0;height:0}dl.debug dt{font-weight:bold}dl.debug dt,dl.debug dd{white-space:pre}.wrap #loco-editor .is-table .wg-tr:nth-child(even){background-color:rgba(0,115,170,0.05)}.wrap #loco-editor .wg-split-x>nav.wg-tabs>a.active,.wrap #loco-editor .is-table .wg-cols>div>div.selected{background-color:#0073aa}.wrap #loco-editor .is-editable>.wg-content>textarea:focus,.wrap #loco-editor .is-editable>.wg-content.has-focus .ace_scroller,.wrap #loco-editor .is-editable>.wg-content.has-focus .mce-content-body{border-color:#5b9dd9;-webkit-box-shadow:inset 0 0 0.6em rgba(30,140,190,0.8);-moz-box-shadow:inset 0 0 0.6em rgba(30,140,190,0.8);box-shadow:inset 0 0 0.6em rgba(30,140,190,0.8)}form button.loco-loading.button-primary[disabled]:before{background:transparent url(../img/skins/fresh/spin-primary-button.gif?v=2.1.0) 0 0 no-repeat !important}
|
1 |
+
._ajax_loader_f2{background-image:url(../img/ajax-loader-f2.gif?v=2.1.1);background-repeat:no-repeat;min-height:16px}._ajax_loader_f2x4{background:transparent url(../img/ajax-loader-f2-x4.gif?v=2.1.1) 0 0 no-repeat;min-height:75px}@media only screen and (-webkit-min-device-pixel-ratio: 2), only screen and (min--moz-device-pixel-ratio: 2), only screen and (-o-min-device-pixel-ratio: 2 / 1), only screen and (min-device-pixel-ratio: 2), only screen and (min-resolution: 192dpi), only screen and (min-resolution: 2dppx){._ajax_loader_f2{background-image:url(../img/ajax-loader-f2-x2.gif?v=2.1.1);background-size:16px}}._green_glow_inner{-webkit-box-shadow:inset 0 0 10px 0 #3db63d;-moz-box-shadow:inset 0 0 10px 0 #3db63d;box-shadow:inset 0 0 10px 0 #3db63d}._green_glow_outer{-webkit-box-shadow:0 0 0.5em 0 #3db63d;-moz-box-shadow:0 0 0.5em 0 #3db63d;box-shadow:0 0 0.5em 0 #3db63d}.loco-font,#loco.wrap .icon,#loco.wrap .has-icon:before,#loco.wrap .wp-list-table th.loco-sort.loco-asc:after,#loco.wrap .wp-list-table th.loco-sort.loco-desc:after{font-family:'loco';speak:none;font-style:normal;font-weight:normal;font-variant:normal;text-transform:none;line-height:1;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}@font-face{font-family:'loco';src:url("../font/loco.eot");src:url("../font/loco.eot?#iefix") format("embedded-opentype"),url("../font/loco.woff") format("woff"),url("../font/loco.ttf") format("truetype"),url("../font/loco.svg#loco") format("svg");font-weight:normal;font-style:normal}.tipsy{font-size:11px;position:absolute;padding:5px;z-index:500001;opacity:0;-webkit-transition:opacity 0.15s linear;-o-transition:opacity 0.15s linear;transition:opacity 0.15s linear}.tipsy.in{opacity:1}.tipsy-inner{background-color:#000;color:#FFF;white-space:nowrap;padding:6px 8px;line-height:1.3em;text-align:center;-webkit-border-radius:3px;-moz-border-radius:3px;-ms-border-radius:3px;-o-border-radius:3px;border-radius:3px;-webkit-font-smoothing:subpixel-antialiased}.tipsy-arrow{position:absolute;width:0;height:0;line-height:0;border:5px dashed #000}.tipsy-n .tipsy-arrow{top:0px;left:50%;margin-left:-5px;border-bottom-style:solid;border-top:none;border-left-color:transparent;border-right-color:transparent}.tipsy-nw .tipsy-arrow{top:0;left:10px;border-bottom-style:solid;border-top:none;border-left-color:transparent;border-right-color:transparent}.tipsy-ne .tipsy-arrow{top:0;right:10px;border-bottom-style:solid;border-top:none;border-left-color:transparent;border-right-color:transparent}.tipsy-s .tipsy-arrow{bottom:0;left:50%;margin-left:-5px;border-top-style:solid;border-bottom:none;border-left-color:transparent;border-right-color:transparent}.tipsy-sw .tipsy-arrow{bottom:0;left:10px;border-top-style:solid;border-bottom:none;border-left-color:transparent;border-right-color:transparent}.tipsy-se .tipsy-arrow{bottom:0;right:10px;border-top-style:solid;border-bottom:none;border-left-color:transparent;border-right-color:transparent}.tipsy-e .tipsy-arrow{right:0;top:50%;margin-top:-5px;border-left-style:solid;border-right:none;border-top-color:transparent;border-bottom-color:transparent}.tipsy-w .tipsy-arrow{left:0;top:50%;margin-top:-5px;border-right-style:solid;border-left:none;border-top-color:transparent;border-bottom-color:transparent}#loco.wrap .selector{text-align:left;display:inline-block;white-space:nowrap}#loco.wrap .selectoradd a,#loco.wrap .selector .handle{cursor:default;display:block;position:relative;border-top:solid 1px #fff;border-right:solid 1px #ddd;border-bottom:solid 1px #ddd;border-left:solid 1px #fff;color:#666;height:1.3em;overflow:hidden;white-space:normal}#loco.wrap .selectorsep{display:inline-block;border:solid 1px transparent}#loco.wrap .selectorsep:before{display:block;position:relative;color:#999;height:1.3em;overflow:hidden}#loco.wrap .selectorsep>*{display:block;line-height:1em;color:#666;height:1.3em;overflow:hidden}#loco.wrap .selector .handle{outline:none;white-space:nowrap;max-width:250px;text-overflow:ellipsis}#loco.wrap .selector .handle .prefix{padding-right:0.6ex}#loco.wrap .selector .handle:after{font-family:loco;padding-left:0.5em;font-size:1.3em;color:#ccc;float:right}#loco.wrap .selector .handle:focus:after,#loco.wrap .selector .handle:hover:after{color:#666}#loco.wrap .selector.no-title .handle{padding:0.3em 0.5em}#loco.wrap .selector.no-title .handle .label{display:none}#loco.wrap .selector.no-title .handle .icon{margin-right:0px}#loco.wrap .selector.no-caret .handle:after{display:none}#loco.wrap .selector.dummy .handle{border-color:transparent}#loco.wrap .selector.dummy .handle:after{display:none}#loco.wrap .selectoradd{float:left;clear:none;position:relative}#loco.wrap .selectoradd>*{display:block;float:left;clear:none}#loco.wrap .selectoradd>a.has-icon{width:1.3em}#loco.wrap .selectoradd>a.has-icon:before{color:#999;display:inline;padding-left:0;padding-right:0;line-height:1.4em}#loco.wrap .selectoradd>a.has-icon:hover:after{color:#2e892e}#loco.wrap .selectorsep{display:inline-block}#loco.wrap .selectorsep span{color:#666;height:1.3em}#loco.wrap .selector ul,#loco.wrap .selector li{display:block;position:relative;cursor:default;padding:0;margin:0}#loco.wrap .selector ul{z-index:5;position:absolute;left:0;top:0;background:#f5f5f5;box-shadow:0 10px 5px rgba(0,0,0,0.2);border:solid 1px #ccc;overflow:auto}#loco.wrap .selector.up ul{margin-top:0}#loco.wrap .selector.multi li input{display:none}#loco.wrap .selector.multi li.checked{background:#eee}#loco.wrap .selector li.active{background:#eee !important}#loco.wrap .selector li.over{background:#ccc !important;color:#fff;text-shadow:1px 1px #aaa}#loco.wrap .selector li.over .label{color:#fff}#loco.wrap .selector .label{font:inherit;color:inherit}#loco.wrap .selector .icon{display:inline-block;min-width:1.2em;text-align:center;font-size:14px}#loco.wrap .selector .icon.no-icon{display:none}#loco.wrap .selector .icon:before{color:#666}#loco.wrap .selector .icon,#loco.wrap .selector .lang{vertical-align:middle}#loco.wrap .selector .icon-16{vertical-align:bottom}#loco.wrap .selector .icon,#loco.wrap .selector .lang,#loco.wrap .selector .icon-16{margin-right:5px}#loco.wrap .selector .region,#loco.wrap .selector .lang-ca,#loco.wrap .selector .lang-eo,#loco.wrap .selector .lang-eu,#loco.wrap .selector .variant-wales,#loco.wrap .selector .region-gb.lang-cy,#loco.wrap .selector .variant-scotland,#loco.wrap .selector .region-gb.lang-gd{margin-left:2px;margin-right:7px}#loco.wrap .selector.ticked .icon.no-icon{font-size:12px;display:inline-block}#loco.wrap .selector.ticked .active .icon.no-icon:before{content:"\2713"}#loco.wrap .selectoradd a:hover,#loco.wrap .selector a.handle:focus,#loco.wrap .selector a.handle:hover{color:#000;border-color:#999}#loco.wrap .selector.active .handle{border-color:#999;background-color:#eee;color:#999}#loco.wrap .selector.active .handle:after{color:#999}#loco.wrap .selector.disabled{border-top:solid 1px #fff;border-right:solid 1px #ddd;border-bottom:solid 1px #ddd;border-left:solid 1px #fff;color:#666;height:1.3em;cursor:default;cursor:no-drop;cursor:not-allowed}#loco.wrap .selector.disabled:after{font-family:loco;padding-left:0.5em;padding-right:0.3em;line-height:1em;vertical-align:middle}#loco.wrap .selector li,#loco.wrap .selector .handle,#loco.wrap .selectoradd a,#loco.wrap .selectorsep:before,#loco.wrap .selectorsep span,#loco.wrap .selector.disabled{padding:0.3em 0.75em}#loco.wrap .selector li.disabled,#loco.wrap .selector li.disabled.over{color:#aaa;text-shadow:1px 1px #fff;pointer-events:none}#loco.wrap .selector li.disabled *{cursor:text}#loco.wrap .selector li.disabled .icon:before{color:#aaa}#loco.wrap .selector li.disabled .flag,#loco.wrap .selector li.disabled .icon-16{opacity:0.4}#loco.wrap .selector.lefty ul{left:auto;right:0}#loco.wrap .selector.lefty ul .icon,#loco.wrap .selector.lefty ul .icon-32{display:block;float:right;clear:none}#loco.wrap .selector.lefty ul .label{padding-right:32px;padding-left:0}#loco.wrap div.auto-comp-wrap{width:100%}#loco.wrap div.auto-comp-wrap input{display:inline-block}#loco.wrap div.auto-comp-wrap.loading input{background:transparent url(../img/ajax-loader.gif?v=2.1.1) right 2px no-repeat}#loco.wrap div.auto-comp-drop{color:#333333;background:#FFFFFF;border-top:none;position:absolute;width:100%;top:0;left:0;z-index:99;-webkit-box-shadow:0 5px 5px rgba(0,0,0,0.4);-moz-box-shadow:0 5px 5px rgba(0,0,0,0.4);box-shadow:0 5px 5px rgba(0,0,0,0.4)}#loco.wrap div.auto-comp-result{padding:5px 10px;cursor:pointer;background:#F0F0F0;border-top:solid 1px #FFF;border-bottom:solid 1px #DDD}#loco.wrap div.auto-comp-result:first-child{border-top:solid 1px #DDD}#loco.wrap div.auto-comp-result>*{display:inline-block;vertical-align:middle;line-height:normal}#loco.wrap div.auto-comp-result .icon:before{padding-right:5px}#loco.wrap div.auto-comp-result:hover{background:#A8A8A8;color:#FFFFFF;border-top-color:#A8A8A8;border-bottom-color:#999999}#loco.wrap div.auto-comp-result.selected{background:#666666 !important;color:#FFFFFF;border-top-color:#666666;border-bottom-color:#666666}#loco.wrap div.auto-comp-result .lang,#loco.wrap div.auto-comp-result .region,#loco.wrap div.auto-comp-result .lang-ca,#loco.wrap div.auto-comp-result .lang-eo,#loco.wrap div.auto-comp-result .lang-eu,#loco.wrap div.auto-comp-result .variant-wales,#loco.wrap div.auto-comp-result .region-gb.lang-cy,#loco.wrap div.auto-comp-result .variant-scotland,#loco.wrap div.auto-comp-result .region-gb.lang-gd{margin-right:5px}#loco.wrap div.auto-comp-wrap.error a.icon.clear:before{color:#cc0000;opacity:1}#loco.wrap div.auto-comp-wrap.error input[type="text"]{border-color:#cc0000;color:#cc0000}#loco.wrap div.auto-comp-wrap.error input[type="text"]:focus{-webkit-box-shadow:0 0 0.5em 0 rgba(153,0,0,0.5);-moz-box-shadow:0 0 0.5em 0 rgba(153,0,0,0.5);box-shadow:0 0 0.5em 0 rgba(153,0,0,0.5)}#loco.wrap ._ajax_loader_f2{background-image:url(../img/ajax-loader-f2.gif?v=2.1.1);background-repeat:no-repeat;min-height:16px}#loco.wrap ._ajax_loader_f2x4{background:transparent url(../img/ajax-loader-f2-x4.gif?v=2.1.1) 0 0 no-repeat;min-height:75px}@media only screen and (-webkit-min-device-pixel-ratio: 2), only screen and (min--moz-device-pixel-ratio: 2), only screen and (-o-min-device-pixel-ratio: 2 / 1), only screen and (min-device-pixel-ratio: 2), only screen and (min-resolution: 192dpi), only screen and (min-resolution: 2dppx){#loco.wrap ._ajax_loader_f2{background-image:url(../img/ajax-loader-f2-x2.gif?v=2.1.1);background-size:16px}}#loco.wrap ._green_glow_inner{-webkit-box-shadow:inset 0 0 10px 0 #3db63d;-moz-box-shadow:inset 0 0 10px 0 #3db63d;box-shadow:inset 0 0 10px 0 #3db63d}#loco.wrap ._green_glow_outer{-webkit-box-shadow:0 0 0.5em 0 #3db63d;-moz-box-shadow:0 0 0.5em 0 #3db63d;box-shadow:0 0 0.5em 0 #3db63d}#loco.wrap .loco-font,#loco.wrap .icon,#loco.wrap .has-icon:before,#loco.wrap .wp-list-table th.loco-sort.loco-asc:after,#loco.wrap .wp-list-table th.loco-sort.loco-desc:after{font-family:'loco';speak:none;font-style:normal;font-weight:normal;font-variant:normal;text-transform:none;line-height:1;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}@font-face{#loco.wrap{font-family:'loco';src:url("../fonts/loco.eot");src:url("../fonts/loco.eot?#iefix") format("embedded-opentype"),url("../fonts/loco.ttf") format("truetype"),url("../fonts/loco.woff") format("woff"),url("../fonts/loco.svg#loco") format("svg");font-weight:normal;font-style:normal}}#loco.wrap .has-icon:before{display:inline-block;padding-right:0.3em}#loco.wrap a.icon-help{cursor:help}#loco.wrap a.icon-help span{display:none}#loco.wrap .icon-bullist:before{content:"\e00a"}#loco.wrap .icon-numlist:before{content:"\e00b"}#loco.wrap .icon-indent:before{content:"\e00c"}#loco.wrap .icon-outdent:before{content:"\e00d"}#loco.wrap .icon-link:before{content:"\e011"}#loco.wrap .icon-unlink:before{content:"\e012"}#loco.wrap .icon-bold:before{content:"\42"}#loco.wrap .icon-italic:before{content:"\49"}#loco.wrap .icon-translate:before{content:"\f326"}#loco.wrap .icon-proj:before{content:"\e900"}#loco.wrap .icon-plural:before{content:"\73"}#loco.wrap .icon-max:before,#loco.wrap .icon-full-screen:before{content:"\e901"}#loco.wrap .icon-min:before{content:"\e902"}#loco.wrap .icon-sort:before{content:"\e903"}#loco.wrap .icon-checkbox-checked:before,#loco.wrap .selector.multi li.checked .icon-checkbox:before{content:"\2611"}#loco.wrap .icon-checkbox-unchecked:before{content:"\2610"}#loco.wrap .icon-checkbox-partial:before{content:"\2609"}#loco.wrap .icon-radio-checked:before{content:"\26ab"}#loco.wrap .icon-radio-unchecked:before{content:"\26aa"}#loco.wrap .icon-ext:before{content:"\2b08"}#loco.wrap .icon-share:before{content:"\e904"}#loco.wrap .icon-star:before{content:"\e612"}#loco.wrap .icon-user:before{content:"\e620"}#loco.wrap .icon-ok:before,#loco.wrap .notice-success>.has-icon:before,#loco.wrap .notice-success p>strong.has-icon:before{content:"\2713"}#loco.wrap .icon-remove:before{content:"\d7"}#loco.wrap .icon-cog:before{content:"\e61b"}#loco.wrap .icon-trash:before{content:"\e60f"}#loco.wrap .icon-time:before{content:"\e62d"}#loco.wrap .icon-download:before{content:"\e608"}#loco.wrap .icon-revert:before{content:"\e635"}#loco.wrap .icon-sync:before{content:"\e634"}#loco.wrap .icon-lock:before,#loco.wrap .selector.disabled:after,#loco.wrap .notice-locked>.has-icon:before,#loco.wrap .notice-locked p>strong.has-icon:before{content:"\e604"}#loco.wrap .icon-flag:before{content:"\e60e"}#loco.wrap .icon-tag:before{content:"\e622"}#loco.wrap .icon-tags:before{content:"\e623"}#loco.wrap .icon-print:before{content:"\e62a"}#loco.wrap .icon-camera:before{content:"\e629"}#loco.wrap .icon-pencil:before{content:"\e61e"}#loco.wrap .icon-add:before{content:"\e60c"}#loco.wrap .icon-del:before{content:"\e60d"}#loco.wrap .icon-clear:before,#loco.wrap a.icon.clear:before{content:"\e615"}#loco.wrap .icon-ok-sign:before{content:"\2714"}#loco.wrap .icon-help:before{content:"\3f"}#loco.wrap .icon-info:before,#loco.wrap .notice-info>.has-icon:before,#loco.wrap .notice-info p>strong.has-icon:before{content:"\2139"}#loco.wrap .icon-cancel:before{content:"\e605"}#loco.wrap .icon-warn:before,#loco.wrap .notice-warning>.has-icon:before,#loco.wrap .notice-warning p>strong.has-icon:before,#loco.wrap .notice-error>.has-icon:before,#loco.wrap .notice-error p>strong.has-icon:before{content:"\e62e"}#loco.wrap .icon-comment:before{content:"\e613"}#loco.wrap .icon-bar-chart:before{content:"\e624"}#loco.wrap .icon-key:before{content:"\e606"}#loco.wrap .icon-cogs:before{content:"\e61c"}#loco.wrap .icon-comments:before{content:"\e614"}#loco.wrap .icon-signout:before{content:"\e61a"}#loco.wrap .icon-signin:before{content:"\e619"}#loco.wrap .icon-upload:before{content:"\e609"}#loco.wrap .icon-twitter:before{content:"\1f426"}#loco.wrap .icon-facebook:before{content:"\e630"}#loco.wrap .icon-github:before{content:"\e633"}#loco.wrap .icon-feed:before{content:"\e628"}#loco.wrap .icon-globe:before{content:"\e61d"}#loco.wrap .icon-wrench:before,#loco.wrap .notice-debug>.has-icon:before,#loco.wrap .notice-debug p>strong.has-icon:before{content:"\e626"}#loco.wrap .icon-group:before{content:"\e61f"}#loco.wrap .icon-cloud:before{content:"\e607"}#loco.wrap .icon-copy:before{content:"\e62b"}#loco.wrap .icon-save:before{content:"\e610"}#loco.wrap .icon-menu:before{content:"\e600"}#loco.wrap .icon-table:before{content:"\e627"}#loco.wrap .icon-caret-down:before,#loco.wrap .selector .handle:after{content:"\25bc"}#loco.wrap .icon-caret-up:before,#loco.wrap .selector.active .handle:after{content:"\25b2"}#loco.wrap .icon-caret-right:before{content:"\25b6"}#loco.wrap .icon-mail:before{content:"\e603"}#loco.wrap .icon-cloud-upload:before{content:"\e617"}#loco.wrap .icon-file:before{content:"\e611"}#loco.wrap .icon-circle-white:before{content:"\26ac"}#loco.wrap .icon-circle-black:before{content:"\25cf"}#loco.wrap .icon-eraser:before{content:"\e636"}#loco.wrap .icon-unlock:before{content:"\e616"}#loco.wrap .icon-apple:before{content:"\e60b"}#loco.wrap .icon-android:before{content:"\e60a"}#loco.wrap .icon-back:before{content:"\2b05"}#loco.wrap .icon-next:before{content:"\2794"}#loco.wrap .icon-arrow-up:before{content:"\f062"}#loco.wrap .icon-ccard:before{content:"\f09d"}#loco.wrap .icon-caret-left:before{content:"\25c0"}#loco.wrap .icon-pro:before{content:"\26a1"}#loco.wrap .icon-bell:before{content:"\f0f3"}#loco.wrap .icon-code:before{content:"\f121"}#loco.wrap .icon-hellip:before{content:"\2026"}#loco.wrap .icon-vellip:before{content:"\205e"}#loco.wrap .icon-collapse:before{content:"\f147"}#loco.wrap .icon-expand:before{content:"\f196"}#loco.wrap .icon-wordpress:before{content:"\f19a"}#loco.wrap .icon-database:before{content:"\f1c0"}#loco.wrap .icon-restore:before{content:"\f1da"}#loco.wrap .icon-pilcrow:before{content:"\b6"}#loco.wrap .icon-flag.is-untranslated:before{content:"×"}#loco.wrap .icon-flag.status-0:before,#loco.wrap .icon-flag.is-translated:before{content:"✓"}#loco.wrap .icon-flag.status-1:before,#loco.wrap .icon-flag.is-incorrect:before{content:""}#loco.wrap .icon-flag.status-2:before,#loco.wrap .icon-flag.is-provisional:before{content:""}#loco.wrap .icon-flag.status-3:before,#loco.wrap .icon-flag.is-unapproved:before{content:""}#loco.wrap .icon-flag.status-4:before,#loco.wrap .icon-flag.is-fuzzy:before{content:""}#loco.wrap .icon-flag.status-5:before,#loco.wrap .icon-flag.is-incomplete:before{content:""}#loco.wrap .icon-flag.status-6:before,#loco.wrap .icon-flag.is-rejected:before{content:""}#loco.wrap .lang,#loco.wrap .region,#loco.wrap .lang-ca,#loco.wrap .lang-eo,#loco.wrap .lang-eu,#loco.wrap .variant-wales,#loco.wrap .region-gb.lang-cy,#loco.wrap .variant-scotland,#loco.wrap .region-gb.lang-gd{color:#fff;background:#2e892e;display:inline-block;text-transform:uppercase;overflow:hidden;font-family:Verdana,Arial,sans-serif;font-size:9px;font-weight:normal;font-style:normal;line-height:12px;text-align:center;white-space:normal;text-shadow:none}#loco.wrap .lang{width:20px;height:12px;line-height:12px;vertical-align:middle}#loco.wrap .lang:before{content:attr(lang)}#loco.wrap .lang-el{background-color:#1D48A3}#loco.wrap .lang-el:before{content:"\0395\03BB"}#loco.wrap .region,#loco.wrap .lang-ca,#loco.wrap .lang-eo,#loco.wrap .lang-eu,#loco.wrap .variant-wales,#loco.wrap .region-gb.lang-cy,#loco.wrap .variant-scotland,#loco.wrap .region-gb.lang-gd{width:16px;height:12px;margin:0 2px;background-image:url(../img/flags.png?v=2.1.1);background-repeat:no-repeat;background-color:transparent}#loco.wrap .region:before,#loco.wrap .lang-ca:before,#loco.wrap .lang-eo:before,#loco.wrap .lang-eu:before,#loco.wrap .variant-wales:before,#loco.wrap .region-gb.lang-cy:before,#loco.wrap .variant-scotland:before,#loco.wrap .region-gb.lang-gd:before{visibility:hidden}#loco.wrap .lang-zh{background-color:#B90000}#loco.wrap .lang-zh.script-hans:before{content:"\4E2D\56FD"}#loco.wrap .lang-zh.script-hant:before{content:"\4E2D\570B"}#loco.wrap .__{background-position:0 0}#loco.wrap .lang-ca{background-position:0 -12px}#loco.wrap .lang-eo{background-position:0 -24px}#loco.wrap .lang-eu{background-position:0 -36px}#loco.wrap .region-ad{background-position:0 -48px}#loco.wrap .region-ae{background-position:0 -60px}#loco.wrap .region-af{background-position:0 -72px}#loco.wrap .region-ag{background-position:0 -84px}#loco.wrap .region-ai{background-position:0 -96px}#loco.wrap .region-al{background-position:0 -108px}#loco.wrap .region-am{background-position:0 -120px}#loco.wrap .region-an{background-position:0 -132px}#loco.wrap .region-ao{background-position:0 -144px}#loco.wrap .region-aq{background-position:0 -156px}#loco.wrap .region-ar{background-position:0 -173px}#loco.wrap .region-as{background-position:0 -185px}#loco.wrap .region-at{background-position:0 -197px}#loco.wrap .region-au{background-position:0 -209px}#loco.wrap .region-aw{background-position:0 -221px}#loco.wrap .region-ax{background-position:0 -233px}#loco.wrap .region-az{background-position:0 -245px}#loco.wrap .region-ba{background-position:0 -257px}#loco.wrap .region-bb{background-position:0 -269px}#loco.wrap .region-bd{background-position:0 -281px}#loco.wrap .region-be{background-position:0 -293px}#loco.wrap .region-bf{background-position:0 -305px}#loco.wrap .region-bg{background-position:0 -317px}#loco.wrap .region-bh{background-position:0 -329px}#loco.wrap .region-bi{background-position:0 -341px}#loco.wrap .region-bj{background-position:0 -353px}#loco.wrap .region-bl{background-position:0 -365px}#loco.wrap .region-bm{background-position:0 -382px}#loco.wrap .region-bn{background-position:0 -394px}#loco.wrap .region-bo{background-position:0 -406px}#loco.wrap .region-bq{background-position:0 -418px}#loco.wrap .region-br{background-position:0 -430px}#loco.wrap .region-bs{background-position:0 -442px}#loco.wrap .region-bt{background-position:0 -454px}#loco.wrap .region-bv{background-position:0 -466px}#loco.wrap .region-bw{background-position:0 -478px}#loco.wrap .region-by{background-position:0 -490px}#loco.wrap .region-bz{background-position:0 -502px}#loco.wrap .region-ca{background-position:0 -514px}#loco.wrap .region-cc{background-position:0 -526px}#loco.wrap .region-cd{background-position:0 -538px}#loco.wrap .region-cf{background-position:0 -550px}#loco.wrap .region-cg{background-position:0 -562px}#loco.wrap .region-ch{background-position:0 -574px}#loco.wrap .region-ci{background-position:0 -586px}#loco.wrap .region-ck{background-position:0 -598px}#loco.wrap .region-cl{background-position:0 -610px}#loco.wrap .region-cm{background-position:0 -622px}#loco.wrap .region-cn{background-position:0 -634px}#loco.wrap .region-co{background-position:0 -646px}#loco.wrap .region-cr{background-position:0 -658px}#loco.wrap .region-cs{background-position:0 -670px}#loco.wrap .region-cu{background-position:0 -682px}#loco.wrap .region-cv{background-position:0 -694px}#loco.wrap .region-cw{background-position:0 -706px}#loco.wrap .region-cx{background-position:0 -723px}#loco.wrap .region-cy{background-position:0 -735px}#loco.wrap .region-cz{background-position:0 -747px}#loco.wrap .region-de{background-position:0 -759px}#loco.wrap .region-dj{background-position:0 -771px}#loco.wrap .region-dk{background-position:0 -783px}#loco.wrap .region-dm{background-position:0 -795px}#loco.wrap .region-do{background-position:0 -807px}#loco.wrap .region-dz{background-position:0 -819px}#loco.wrap .region-ec{background-position:0 -831px}#loco.wrap .region-ee{background-position:0 -843px}#loco.wrap .region-eg{background-position:0 -855px}#loco.wrap .region-eh{background-position:0 -867px}#loco.wrap .region-er{background-position:0 -879px}#loco.wrap .region-es{background-position:0 -891px}#loco.wrap .region-et{background-position:0 -903px}#loco.wrap .region-fi{background-position:0 -915px}#loco.wrap .region-fj{background-position:0 -927px}#loco.wrap .region-fk{background-position:0 -939px}#loco.wrap .region-fm{background-position:0 -951px}#loco.wrap .region-fo{background-position:0 -963px}#loco.wrap .region-fr{background-position:0 -975px}#loco.wrap .region-ga{background-position:0 -987px}#loco.wrap .region-gb{background-position:0 -999px}#loco.wrap .region-gd{background-position:0 -1011px}#loco.wrap .region-ge{background-position:0 -1023px}#loco.wrap .region-gf{background-position:0 -1035px}#loco.wrap .region-gg{background-position:0 -1047px}#loco.wrap .region-gh{background-position:0 -1064px}#loco.wrap .region-gi{background-position:0 -1076px}#loco.wrap .region-gl{background-position:0 -1088px}#loco.wrap .region-gm{background-position:0 -1100px}#loco.wrap .region-gn{background-position:0 -1112px}#loco.wrap .region-gp{background-position:0 -1124px}#loco.wrap .region-gq{background-position:0 -1136px}#loco.wrap .region-gr{background-position:0 -1148px}#loco.wrap .region-gs{background-position:0 -1160px}#loco.wrap .region-gt{background-position:0 -1172px}#loco.wrap .region-gu{background-position:0 -1184px}#loco.wrap .region-gw{background-position:0 -1196px}#loco.wrap .region-gy{background-position:0 -1208px}#loco.wrap .region-hk{background-position:0 -1220px}#loco.wrap .region-hm{background-position:0 -1232px}#loco.wrap .region-hn{background-position:0 -1244px}#loco.wrap .region-hr{background-position:0 -1256px}#loco.wrap .region-ht{background-position:0 -1268px}#loco.wrap .region-hu{background-position:0 -1280px}#loco.wrap .region-id{background-position:0 -1292px}#loco.wrap .region-ie{background-position:0 -1304px}#loco.wrap .region-il{background-position:0 -1316px}#loco.wrap .region-im{background-position:0 -1328px}#loco.wrap .region-in{background-position:0 -1345px}#loco.wrap .region-io{background-position:0 -1357px}#loco.wrap .region-iq{background-position:0 -1369px}#loco.wrap .region-ir{background-position:0 -1381px}#loco.wrap .region-is{background-position:0 -1393px}#loco.wrap .region-it{background-position:0 -1405px}#loco.wrap .region-je{background-position:0 -1417px}#loco.wrap .region-jm{background-position:0 -1434px}#loco.wrap .region-jo{background-position:0 -1446px}#loco.wrap .region-jp{background-position:0 -1458px}#loco.wrap .region-ke{background-position:0 -1470px}#loco.wrap .region-kg{background-position:0 -1482px}#loco.wrap .region-kh{background-position:0 -1494px}#loco.wrap .region-ki{background-position:0 -1506px}#loco.wrap .region-km{background-position:0 -1518px}#loco.wrap .region-kn{background-position:0 -1530px}#loco.wrap .region-kp{background-position:0 -1542px}#loco.wrap .region-kr{background-position:0 -1554px}#loco.wrap .region-kw{background-position:0 -1566px}#loco.wrap .region-ky{background-position:0 -1578px}#loco.wrap .region-kz{background-position:0 -1590px}#loco.wrap .region-la{background-position:0 -1602px}#loco.wrap .region-lb{background-position:0 -1614px}#loco.wrap .region-lc{background-position:0 -1626px}#loco.wrap .region-li{background-position:0 -1638px}#loco.wrap .region-lk{background-position:0 -1650px}#loco.wrap .region-lr{background-position:0 -1662px}#loco.wrap .region-ls{background-position:0 -1674px}#loco.wrap .region-lt{background-position:0 -1686px}#loco.wrap .region-lu{background-position:0 -1698px}#loco.wrap .region-lv{background-position:0 -1710px}#loco.wrap .region-ly{background-position:0 -1722px}#loco.wrap .region-ma{background-position:0 -1734px}#loco.wrap .region-mc{background-position:0 -1746px}#loco.wrap .region-md{background-position:0 -1758px}#loco.wrap .region-me{background-position:0 -1770px}#loco.wrap .region-mf{background-position:0 -1783px}#loco.wrap .region-mg{background-position:0 -1800px}#loco.wrap .region-mh{background-position:0 -1812px}#loco.wrap .region-mk{background-position:0 -1824px}#loco.wrap .region-ml{background-position:0 -1836px}#loco.wrap .region-mm{background-position:0 -1848px}#loco.wrap .region-mn{background-position:0 -1860px}#loco.wrap .region-mo{background-position:0 -1872px}#loco.wrap .region-mp{background-position:0 -1884px}#loco.wrap .region-mq{background-position:0 -1896px}#loco.wrap .region-mr{background-position:0 -1908px}#loco.wrap .region-ms{background-position:0 -1920px}#loco.wrap .region-mt{background-position:0 -1932px}#loco.wrap .region-mu{background-position:0 -1944px}#loco.wrap .region-mv{background-position:0 -1956px}#loco.wrap .region-mw{background-position:0 -1968px}#loco.wrap .region-mx{background-position:0 -1980px}#loco.wrap .region-my{background-position:0 -1992px}#loco.wrap .region-mz{background-position:0 -2004px}#loco.wrap .region-na{background-position:0 -2016px}#loco.wrap .region-nc{background-position:0 -2028px}#loco.wrap .region-ne{background-position:0 -2040px}#loco.wrap .region-nf{background-position:0 -2052px}#loco.wrap .region-ng{background-position:0 -2064px}#loco.wrap .region-ni{background-position:0 -2076px}#loco.wrap .region-nl{background-position:0 -2088px}#loco.wrap .region-no{background-position:0 -2100px}#loco.wrap .region-np{background-position:0 -2112px}#loco.wrap .region-nr{background-position:0 -2124px}#loco.wrap .region-nu{background-position:0 -2136px}#loco.wrap .region-nz{background-position:0 -2148px}#loco.wrap .region-om{background-position:0 -2160px}#loco.wrap .region-pa{background-position:0 -2172px}#loco.wrap .region-pe{background-position:0 -2184px}#loco.wrap .region-pf{background-position:0 -2196px}#loco.wrap .region-pg{background-position:0 -2208px}#loco.wrap .region-ph{background-position:0 -2220px}#loco.wrap .region-pk{background-position:0 -2232px}#loco.wrap .region-pl{background-position:0 -2244px}#loco.wrap .region-pm{background-position:0 -2256px}#loco.wrap .region-pn{background-position:0 -2268px}#loco.wrap .region-pr{background-position:0 -2280px}#loco.wrap .region-ps{background-position:0 -2292px}#loco.wrap .region-pt{background-position:0 -2304px}#loco.wrap .region-pw{background-position:0 -2316px}#loco.wrap .region-py{background-position:0 -2328px}#loco.wrap .region-qa{background-position:0 -2340px}#loco.wrap .region-re{background-position:0 -2352px}#loco.wrap .region-ro{background-position:0 -2364px}#loco.wrap .region-rs{background-position:0 -2376px}#loco.wrap .region-ru{background-position:0 -2388px}#loco.wrap .region-rw{background-position:0 -2400px}#loco.wrap .region-sa{background-position:0 -2412px}#loco.wrap .region-sb{background-position:0 -2424px}#loco.wrap .region-sc{background-position:0 -2436px}#loco.wrap .region-sd{background-position:0 -2448px}#loco.wrap .region-se{background-position:0 -2460px}#loco.wrap .region-sg{background-position:0 -2472px}#loco.wrap .region-sh{background-position:0 -2484px}#loco.wrap .region-si{background-position:0 -2496px}#loco.wrap .region-sj{background-position:0 -2508px}#loco.wrap .region-sk{background-position:0 -2520px}#loco.wrap .region-sl{background-position:0 -2532px}#loco.wrap .region-sm{background-position:0 -2544px}#loco.wrap .region-sn{background-position:0 -2556px}#loco.wrap .region-so{background-position:0 -2568px}#loco.wrap .region-sr{background-position:0 -2580px}#loco.wrap .region-ss{background-position:0 -2592px}#loco.wrap .region-st{background-position:0 -2609px}#loco.wrap .region-sv{background-position:0 -2621px}#loco.wrap .region-sx{background-position:0 -2633px}#loco.wrap .region-sy{background-position:0 -2650px}#loco.wrap .region-sz{background-position:0 -2662px}#loco.wrap .region-tc{background-position:0 -2674px}#loco.wrap .region-td{background-position:0 -2686px}#loco.wrap .region-tf{background-position:0 -2698px}#loco.wrap .region-tg{background-position:0 -2710px}#loco.wrap .region-th{background-position:0 -2722px}#loco.wrap .region-tj{background-position:0 -2734px}#loco.wrap .region-tk{background-position:0 -2746px}#loco.wrap .region-tl{background-position:0 -2758px}#loco.wrap .region-tm{background-position:0 -2770px}#loco.wrap .region-tn{background-position:0 -2782px}#loco.wrap .region-to{background-position:0 -2794px}#loco.wrap .region-tr{background-position:0 -2806px}#loco.wrap .region-tt{background-position:0 -2818px}#loco.wrap .region-tv{background-position:0 -2830px}#loco.wrap .region-tw{background-position:0 -2842px}#loco.wrap .region-tz{background-position:0 -2854px}#loco.wrap .region-ua{background-position:0 -2866px}#loco.wrap .region-ug{background-position:0 -2878px}#loco.wrap .region-um{background-position:0 -2890px}#loco.wrap .region-us{background-position:0 -2902px}#loco.wrap .region-uy{background-position:0 -2914px}#loco.wrap .region-uz{background-position:0 -2926px}#loco.wrap .region-va{background-position:0 -2938px}#loco.wrap .region-vc{background-position:0 -2950px}#loco.wrap .region-ve{background-position:0 -2962px}#loco.wrap .region-vg{background-position:0 -2974px}#loco.wrap .region-vi{background-position:0 -2986px}#loco.wrap .region-vn{background-position:0 -2998px}#loco.wrap .region-vu{background-position:0 -3010px}#loco.wrap .region-wf{background-position:0 -3022px}#loco.wrap .region-ws{background-position:0 -3034px}#loco.wrap .region-ye{background-position:0 -3046px}#loco.wrap .region-yt{background-position:0 -3058px}#loco.wrap .region-za{background-position:0 -3070px}#loco.wrap .region-zm{background-position:0 -3082px}#loco.wrap .region-zw{background-position:0 -3094px}#loco.wrap .variant-scotland,#loco.wrap .region-gb.lang-gd{background-position:0 -3106px}#loco.wrap .variant-wales,#loco.wrap .region-gb.lang-cy{background-position:0 -3118px}#loco.wrap .x-eu{background-position:0 -3130px}#loco.wrap span.lang code{display:none}#loco.wrap .icon-bullist:before{content:"\e00a"}#loco.wrap .icon-numlist:before{content:"\e00b"}#loco.wrap .icon-indent:before{content:"\e00c"}#loco.wrap .icon-outdent:before{content:"\e00d"}#loco.wrap .icon-link:before{content:"\e011"}#loco.wrap .icon-unlink:before{content:"\e012"}#loco.wrap .icon-bold:before{content:"\42"}#loco.wrap .icon-italic:before{content:"\49"}#loco.wrap .icon-translate:before{content:"\f326"}#loco.wrap .icon-proj:before{content:"\e900"}#loco.wrap .icon-plural:before{content:"\73"}#loco.wrap .icon-max:before,#loco.wrap .icon-full-screen:before{content:"\e901"}#loco.wrap .icon-min:before{content:"\e902"}#loco.wrap .icon-sort:before{content:"\e903"}#loco.wrap .icon-checkbox-checked:before,#loco.wrap .selector.multi li.checked .icon-checkbox:before{content:"\2611"}#loco.wrap .icon-checkbox-unchecked:before{content:"\2610"}#loco.wrap .icon-checkbox-partial:before{content:"\2609"}#loco.wrap .icon-radio-checked:before{content:"\26ab"}#loco.wrap .icon-radio-unchecked:before{content:"\26aa"}#loco.wrap .icon-ext:before{content:"\2b08"}#loco.wrap .icon-share:before{content:"\e904"}#loco.wrap .icon-star:before{content:"\e612"}#loco.wrap .icon-user:before{content:"\e620"}#loco.wrap .icon-ok:before,#loco.wrap .notice-success>.has-icon:before,#loco.wrap .notice-success p>strong.has-icon:before{content:"\2713"}#loco.wrap .icon-remove:before{content:"\d7"}#loco.wrap .icon-cog:before{content:"\e61b"}#loco.wrap .icon-trash:before{content:"\e60f"}#loco.wrap .icon-time:before{content:"\e62d"}#loco.wrap .icon-download:before{content:"\e608"}#loco.wrap .icon-revert:before{content:"\e635"}#loco.wrap .icon-sync:before{content:"\e634"}#loco.wrap .icon-lock:before,#loco.wrap .selector.disabled:after,#loco.wrap .notice-locked>.has-icon:before,#loco.wrap .notice-locked p>strong.has-icon:before{content:"\e604"}#loco.wrap .icon-flag:before{content:"\e60e"}#loco.wrap .icon-tag:before{content:"\e622"}#loco.wrap .icon-tags:before{content:"\e623"}#loco.wrap .icon-print:before{content:"\e62a"}#loco.wrap .icon-camera:before{content:"\e629"}#loco.wrap .icon-pencil:before{content:"\e61e"}#loco.wrap .icon-add:before{content:"\e60c"}#loco.wrap .icon-del:before{content:"\e60d"}#loco.wrap .icon-clear:before,#loco.wrap a.icon.clear:before{content:"\e615"}#loco.wrap .icon-ok-sign:before{content:"\2714"}#loco.wrap .icon-help:before{content:"\3f"}#loco.wrap .icon-info:before,#loco.wrap .notice-info>.has-icon:before,#loco.wrap .notice-info p>strong.has-icon:before{content:"\2139"}#loco.wrap .icon-cancel:before{content:"\e605"}#loco.wrap .icon-warn:before,#loco.wrap .notice-warning>.has-icon:before,#loco.wrap .notice-warning p>strong.has-icon:before,#loco.wrap .notice-error>.has-icon:before,#loco.wrap .notice-error p>strong.has-icon:before{content:"\e62e"}#loco.wrap .icon-comment:before{content:"\e613"}#loco.wrap .icon-bar-chart:before{content:"\e624"}#loco.wrap .icon-key:before{content:"\e606"}#loco.wrap .icon-cogs:before{content:"\e61c"}#loco.wrap .icon-comments:before{content:"\e614"}#loco.wrap .icon-signout:before{content:"\e61a"}#loco.wrap .icon-signin:before{content:"\e619"}#loco.wrap .icon-upload:before{content:"\e609"}#loco.wrap .icon-twitter:before{content:"\1f426"}#loco.wrap .icon-facebook:before{content:"\e630"}#loco.wrap .icon-github:before{content:"\e633"}#loco.wrap .icon-feed:before{content:"\e628"}#loco.wrap .icon-globe:before{content:"\e61d"}#loco.wrap .icon-wrench:before,#loco.wrap .notice-debug>.has-icon:before,#loco.wrap .notice-debug p>strong.has-icon:before{content:"\e626"}#loco.wrap .icon-group:before{content:"\e61f"}#loco.wrap .icon-cloud:before{content:"\e607"}#loco.wrap .icon-copy:before{content:"\e62b"}#loco.wrap .icon-save:before{content:"\e610"}#loco.wrap .icon-menu:before{content:"\e600"}#loco.wrap .icon-table:before{content:"\e627"}#loco.wrap .icon-caret-down:before,#loco.wrap .selector .handle:after{content:"\25bc"}#loco.wrap .icon-caret-up:before,#loco.wrap .selector.active .handle:after{content:"\25b2"}#loco.wrap .icon-caret-right:before{content:"\25b6"}#loco.wrap .icon-mail:before{content:"\e603"}#loco.wrap .icon-cloud-upload:before{content:"\e617"}#loco.wrap .icon-file:before{content:"\e611"}#loco.wrap .icon-circle-white:before{content:"\26ac"}#loco.wrap .icon-circle-black:before{content:"\25cf"}#loco.wrap .icon-eraser:before{content:"\e636"}#loco.wrap .icon-unlock:before{content:"\e616"}#loco.wrap .icon-apple:before{content:"\e60b"}#loco.wrap .icon-android:before{content:"\e60a"}#loco.wrap .icon-back:before{content:"\2b05"}#loco.wrap .icon-next:before{content:"\2794"}#loco.wrap .icon-arrow-up:before{content:"\f062"}#loco.wrap .icon-ccard:before{content:"\f09d"}#loco.wrap .icon-caret-left:before{content:"\25c0"}#loco.wrap .icon-pro:before{content:"\26a1"}#loco.wrap .icon-bell:before{content:"\f0f3"}#loco.wrap .icon-code:before{content:"\f121"}#loco.wrap .icon-hellip:before{content:"\2026"}#loco.wrap .icon-vellip:before{content:"\205e"}#loco.wrap .icon-collapse:before{content:"\f147"}#loco.wrap .icon-expand:before{content:"\f196"}#loco.wrap .icon-wordpress:before{content:"\f19a"}#loco.wrap .icon-database:before{content:"\f1c0"}#loco.wrap .icon-restore:before{content:"\f1da"}#loco.wrap .icon-pilcrow:before{content:"\b6"}#loco.wrap .icon,#loco.wrap .has-icon:before,#loco.wrap .has-dashicon:before{speak:none;font-style:normal;font-weight:normal;font-variant:normal;text-transform:none;line-height:1;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}#loco.wrap .icon,#loco.wrap .has-icon:before{font-family:'loco'}#loco.wrap .has-dashicon:before{font-family:'dashicons';font-size:1.4em}#loco.wrap .has-icon:before,#loco.wrap .has-dashicon:before,#loco.wrap .has-icon>span{display:inline-block;vertical-align:middle}#loco.wrap .only-icon{text-align:center}#loco.wrap .only-icon:before{text-align:center}#loco.wrap .only-icon span{display:none}#loco.wrap a,#loco.wrap .wp-core-ui .button-link{text-decoration:none}#loco.wrap .has-lang>span{display:inline-block;vertical-align:middle}#loco.wrap a.has-lang:hover>span:last-child{text-decoration:underline}#loco.wrap h1 ul,#loco.wrap h1 li{margin:0;padding:0}#loco.wrap h1 li{display:inline-block}#loco.wrap h1 li:after{content:"/";color:#999;text-shadow:none;display:inline-block}#loco.wrap h1 li:last-child:after{content:""}#loco.wrap h1 li:last-child a{color:inherit;pointer-events:none;cursor:auto}#loco.wrap h2 span{color:#999;font-weight:normal}#loco.wrap h2 .loco-meta,#loco.wrap h3 .loco-meta{color:inherit;font-size:14px;font-weight:normal;vertical-align:middle}#loco.wrap .wp-list-table td:first-child .icon{width:16px;display:inline-block;text-align:center}#loco.wrap .wp-list-table td{white-space:nowrap}#loco.wrap .wp-list-table td>a,#loco.wrap .wp-list-table td>time{display:inline-block;max-width:100%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;-o-text-overflow:ellipsis;-ms-text-overflow:ellipsis}#loco.wrap .wp-list-table th.loco-sort{cursor:pointer}#loco.wrap .wp-list-table th.loco-sort:hover{color:#000}#loco.wrap .wp-list-table th.loco-sort.loco-asc:after,#loco.wrap .wp-list-table th.loco-sort.loco-desc:after{padding:0 0 0 4px;color:#999}#loco.wrap .wp-list-table th.loco-sort.loco-desc:after{content:"\25bc"}#loco.wrap .wp-list-table th.loco-sort.loco-asc:after{content:"\25b2"}#loco.wrap form.loco-filter{display:block;margin-bottom:5px}#loco.wrap form.loco-filter .icon-filter{color:#999}#loco.wrap nav.above-list-table{margin-bottom:1em}#loco.wrap nav.above-list-table a{display:inline-block;margin-right:1em}#loco.wrap .wp-core-ui button.inverted,#loco.wrap .wp-core-ui button.inverted:hover{background:-moz-linear-gradient(top, #ccc 0%, #e0e0e0 5%, #fefefe 100%);background:-webkit-linear-gradient(top, #ccc 0%, #e0e0e0 5%, #fefefe 100%);background:linear-gradient(to bottom, #ccc 0%, #e0e0e0 5%, #fefefe 100%);-webkit-box-shadow:0 1px 0 #fff;-moz-box-shadow:0 1px 0 #fff;box-shadow:0 1px 0 #fff;border-color:#bbb}#loco.wrap .wp-core-ui button:active,#loco.wrap .wp-core-ui button.inverted:active{border-color:#5b9dd9}#loco.wrap .loco-clearable{display:inline-block;vertical-align:middle;position:relative}#loco.wrap .loco-clearable a.clear,#loco.wrap .auto-comp-wrap a.clear{top:0;right:0;outline:none;margin:0;border:solid 1px transparent;padding:5px 5px;position:absolute;font-size:1em;line-height:normal}#loco.wrap .loco-clearable a.clear:before,#loco.wrap .auto-comp-wrap a.clear:before{vertical-align:middle;padding:0;color:#999}#loco.wrap .loco-clearable a.clear:hover:before,#loco.wrap .auto-comp-wrap a.clear:hover:before{color:#333}#loco.wrap .loco-clearable a.clear span,#loco.wrap .auto-comp-wrap a.clear span{display:none}#loco.wrap .loco-clearable ::-ms-clear,#loco.wrap .auto-comp-wrap ::-ms-clear{display:none}#loco.wrap div.progress{color:#000;background:transparent !important}#loco.wrap div.progress *{height:100%;overflow:hidden;white-space:nowrap}#loco.wrap div.progress .t{background-color:#ddd;border:1px solid #ccc}#loco.wrap div.progress .t .bar{float:left;clear:none;background-color:#3db63d}#loco.wrap div.progress .t .bar.f{background-color:#bd2c00}#loco.wrap div.progress .l{display:block}#loco.wrap td div.progress .t{border:none}#loco.wrap td div.progress .l{display:none}#loco.wrap code.path{color:#333;margin:0;padding:0;display:inline;background:transparent}#loco.wrap .loco-danger{color:#d54e21}#loco.wrap .notice,#loco.wrap .panel{background:#fff;position:relative;margin:1em 0;padding:1px 12px}#loco.wrap .notice-generic{border-color:#ddd}#loco.wrap .notice-success>.has-icon,#loco.wrap .notice-success p>strong.has-icon{color:#000}#loco.wrap .notice-warning{border-color:#FFA500}#loco.wrap .notice-error{border-color:#dc3232}#loco.wrap .notice-debug{border-color:#00a0d2}#loco.wrap .notice-danger{border-color:#dc3232}#loco.wrap .notice-locked{border-color:#FFA500}#loco.wrap .notice>.has-icon:before,#loco.wrap .notice p>strong.has-icon:before{padding-right:6px}#loco.wrap .notice>p>a.button.has-icon:before{width:1.5em}#loco.wrap .notice>p>em{color:#d54e21;font-style:normal}#loco.wrap .notice>p>em a{color:inherit}#loco.wrap .notice>p a:hover,#loco.wrap .notice>nav a:hover{text-decoration:underline}#loco.wrap .notice>p a.button,#loco.wrap .notice>nav a.button{text-decoration:inherit}#loco.wrap .notice.has-nav{display:flex;flex-direction:row}#loco.wrap .notice.has-nav p,#loco.wrap .notice.has-nav nav{line-height:22px;flex-grow:1}#loco.wrap .notice.has-nav nav{text-align:right;padding:2px;margin:.5em 0}#loco.wrap .notice.has-nav.is-dismissible{padding-right:38px}#loco.wrap .notice.has-nav a{font-size:12px;white-space:nowrap}#loco.wrap .notice.has-nav nav>span{color:#666}#loco.wrap .notice>h3>span{display:inline-block;vertical-align:middle}#loco.wrap ul.problems li{font-style:italic}#loco.wrap label{position:relative}#loco.wrap label.for-disabled,#loco.wrap label.for-disabled>input{cursor:default !important}#loco.wrap input.regular-text,#loco.wrap textarea.regular-text{width:25em}#loco.wrap .button-link{padding:0 10px 1px}#loco.wrap .button-danger{background:#ba0000;border-color:#990000 #660000 #660000;-webkit-box-shadow:0 1px 0 #600;-moz-box-shadow:0 1px 0 #600;box-shadow:0 1px 0 #600;color:#fff;text-shadow:0 -1px 1px #660000, 1px 0 1px #660000, 0 1px 1px #660000, -1px 0 1px #660000}#loco.wrap .button-success{background:#00B500;border-color:#090 #2e892e #2e892e;-webkit-box-shadow:0 1px 0 #2e892e;-moz-box-shadow:0 1px 0 #2e892e;box-shadow:0 1px 0 #2e892e;color:#fff;text-shadow:0 -1px 1px #2e892e,1px 0 1px #2e892e,0 1px 1px #2e892e,-1px 0 1px #2e892e}#loco.wrap .button-success:hover{background:#3db63d}#loco.wrap form button.loco-loading.button-large{padding-left:0}#loco.wrap form button.loco-loading.button-large:before{width:16px;height:16px;margin:0 4px;content:" ";font-size:16px;line-height:1;display:inline-block;vertical-align:sub}#loco.wrap ::-webkit-input-placeholder{color:#ccc}#loco.wrap :-moz-placeholder{color:#ccc;opacity:1}#loco.wrap ::-moz-placeholder{color:#ccc;opacity:1}#loco.wrap :-ms-input-placeholder{color:#ccc}#loco.wrap .ielt10 .placeheld{color:#ccc}#loco.wrap a.has-raquo:after{content:"\A0\BB"}#loco.wrap a.has-laquo:before{content:"\AB\A0"}#loco.wrap span.inline-spinner{display:inline-block;min-width:16px;min-height:16px;background:transparent url(../img/spin-modal.gif?v=2.1.1) 0 0 no-repeat}.js #wpbody-content>.notice{display:none}.js #wpbody-content>.notice.inline{display:block}.js #loco.wrap .jshide{display:none !important}#loco.wrap .invis{visibility:hidden}.form-table tr{vertical-align:top}.form-table tr.compact td{padding-top:0}.loco-modal.request-filesystem-credentials-dialog{top:15% !important;max-height:85% !important}.loco-modal.request-filesystem-credentials-dialog>.ui-dialog-content{background:inherit}.loco-modal.request-filesystem-credentials-dialog .ftp-password>label>em:last-child{display:none}.ui-dialog-content>div.loco-loading{height:100%;background:transparent url(../img/spin-modal.gif?v=2.1.1) center 20px no-repeat}#loco-credit>*{vertical-align:middle}#loco-credit>a{display:inline-block;position:relative;overflow:hidden;background:transparent url(../img/logo-foot.gif?v=2.1.1) 0 0 no-repeat;height:30px;width:100px;text-indent:200px;-webkit-transition-duration:0s;transition-duration:0s}#loco-credit>a:hover{background-position:0 -35px}#loco-content{position:relative}#footer-upgrade span:before{color:#CCC;content:" | ";display:inline;padding-left:0.5em;padding-right:0.5em}#footer-upgrade span:first-child:before{content:"";display:none}.loco-clearfix:after{content:".";display:block;clear:both;visibility:hidden;line-height:0;height:0}dl.debug dt{font-weight:bold}dl.debug dt,dl.debug dd{white-space:pre}.wrap #loco-editor .is-table .wg-tr:nth-child(even){background-color:rgba(0,115,170,0.05)}.wrap #loco-editor .wg-split-x>nav.wg-tabs>a.active,.wrap #loco-editor .is-table .wg-cols>div>div.selected{background-color:#0073aa}.wrap #loco-editor .is-editable>.wg-content>textarea:focus,.wrap #loco-editor .is-editable>.wg-content.has-focus .ace_scroller,.wrap #loco-editor .is-editable>.wg-content.has-focus .mce-content-body{border-color:#5b9dd9;-webkit-box-shadow:inset 0 0 0.6em rgba(30,140,190,0.8);-moz-box-shadow:inset 0 0 0.6em rgba(30,140,190,0.8);box-shadow:inset 0 0 0.6em rgba(30,140,190,0.8)}form button.loco-loading.button-primary[disabled]:before{background:transparent url(../img/skins/fresh/spin-primary-button.gif?v=2.1.1) 0 0 no-repeat !important}
|
pub/css/editor.css
CHANGED
@@ -1 +1 @@
|
|
1 |
-
#loco-editor{border:solid 1px #ccc}#loco-editor ._ajax_loader_f2{background-image:url(../img/ajax-loader-f2.gif?v=2.1.0);background-repeat:no-repeat;min-height:16px}#loco-editor ._ajax_loader_f2x4{background:transparent url(../img/ajax-loader-f2-x4.gif?v=2.1.0) 0 0 no-repeat;min-height:75px}@media only screen and (-webkit-min-device-pixel-ratio: 2), only screen and (min--moz-device-pixel-ratio: 2), only screen and (-o-min-device-pixel-ratio: 2 / 1), only screen and (min-device-pixel-ratio: 2), only screen and (min-resolution: 192dpi), only screen and (min-resolution: 2dppx){#loco-editor ._ajax_loader_f2{background-image:url(../img/ajax-loader-f2-x2.gif?v=2.1.0);background-size:16px}}#loco-editor ._green_glow_inner,#loco-editor .is-editable>.wg-content>textarea:focus,#loco-editor .is-editable>.wg-content.has-focus .ace_scroller,#loco-editor .is-editable>.wg-content.has-focus .wysihtml-editor,#loco-editor .is-editable>.wg-content.has-focus .mce-content-body{-webkit-box-shadow:inset 0 0 10px 0 #3db63d;-moz-box-shadow:inset 0 0 10px 0 #3db63d;box-shadow:inset 0 0 10px 0 #3db63d}#loco-editor ._green_glow_outer{-webkit-box-shadow:0 0 0.5em 0 #3db63d;-moz-box-shadow:0 0 0.5em 0 #3db63d;box-shadow:0 0 0.5em 0 #3db63d}#loco-editor .loco-font,#loco-editor .is-table .wg-thead .wg-sortable>header:after{font-family:'loco';speak:none;font-style:normal;font-weight:normal;font-variant:normal;text-transform:none;line-height:1;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}#loco-editor div.ta-mirror{position:absolute;top:0;border:solid 1px transparent;color:transparent;padding:0.4em 0.6em;pointer-events:none}#loco-editor div.ta-mirror span{position:relative}#loco-editor div.ta-mirror span:after{color:#ccc;white-space:pre;display:inline-block;position:absolute;top:0;line-height:normal}#loco-editor div.ta-mirror .crlf:after{content:"\00AC"}#loco-editor div.ta-mirror .eof:after{content:"\00B6"}#loco-editor div.ta-mirror .x20:after{content:"\00B7";color:#aaa}#loco-editor div.ta-mirror .x9:after{content:"\27F6"}#loco-editor div.ta-mirror,#loco-editor .has-mirror textarea{white-space:pre-wrap;word-wrap:break-word;word-spacing:0px}#loco-editor .has-mirror ::-webkit-input-placeholder{color:transparent}#loco-editor .has-mirror :-moz-placeholder{color:transparent;opacity:1}#loco-editor .has-mirror ::-moz-placeholder{color:transparent;opacity:1}#loco-editor .has-mirror :-ms-input-placeholder{color:transparent}#loco-editor .has-mirror .ielt10 .placeheld{color:transparent}#loco-editor div.ta-mirror{left:0;text-align:left}#loco-editor div.ta-mirror span:after{left:0}#loco-editor div.ta-mirror .eol:after{padding-left:0.2em}#loco-editor [dir="RTL"] div.ta-mirror{left:auto;right:0;text-align:right}#loco-editor [dir="RTL"] div.ta-mirror span:after{right:0}#loco-editor [dir="RTL"] div.ta-mirror .eol:after{padding-left:0;padding-right:0.2em}#loco-editor .has-proxy>textarea{display:none !important}#loco-editor .has-proxy .ace_editor{height:100%;font-size:13px !important;line-height:1.4 !important}#loco-editor .has-proxy .ace_editor .ace_marker-layer .ace_bracket{display:none}#loco-editor .has-proxy .ace_print-margin{display:none}#loco-editor .ace_printf{color:#b90690;background-color:#edf1be}#loco-editor .ace_locked{color:#808080}#loco-editor .resizer{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;padding:0 0 6px 0;background:#f0f0f0 url(../img/wg/splity.png?v=2.1.0) center bottom no-repeat;border:1px solid #ddd;overflow:hidden;cursor:move;cursor:row-resize;cursor:s-resize}#loco-editor .resizer>*{height:100%;border:none}#loco-editor ._ajax_loader_f2{background-image:url(../img/ajax-loader-f2.gif?v=2.1.0);background-repeat:no-repeat;min-height:16px}#loco-editor ._ajax_loader_f2x4{background:transparent url(../img/ajax-loader-f2-x4.gif?v=2.1.0) 0 0 no-repeat;min-height:75px}@media only screen and (-webkit-min-device-pixel-ratio: 2), only screen and (min--moz-device-pixel-ratio: 2), only screen and (-o-min-device-pixel-ratio: 2 / 1), only screen and (min-device-pixel-ratio: 2), only screen and (min-resolution: 192dpi), only screen and (min-resolution: 2dppx){#loco-editor ._ajax_loader_f2{background-image:url(../img/ajax-loader-f2-x2.gif?v=2.1.0);background-size:16px}}#loco-editor ._green_glow_inner,#loco-editor .is-editable>.wg-content>textarea:focus,#loco-editor .is-editable>.wg-content.has-focus .ace_scroller,#loco-editor .is-editable>.wg-content.has-focus .wysihtml-editor,#loco-editor .is-editable>.wg-content.has-focus .mce-content-body{-webkit-box-shadow:inset 0 0 10px 0 #3db63d;-moz-box-shadow:inset 0 0 10px 0 #3db63d;box-shadow:inset 0 0 10px 0 #3db63d}#loco-editor ._green_glow_outer{-webkit-box-shadow:0 0 0.5em 0 #3db63d;-moz-box-shadow:0 0 0.5em 0 #3db63d;box-shadow:0 0 0.5em 0 #3db63d}#loco-editor .loco-font,#loco-editor .is-table .wg-thead .wg-sortable>header:after{font-family:'loco';speak:none;font-style:normal;font-weight:normal;font-variant:normal;text-transform:none;line-height:1;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}#loco-editor .wg-cell,#loco-editor .wg-cell>div{clear:both;position:relative;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}#loco-editor .wg-cell{left:0;top:0;padding:0;margin:0;overflow:hidden}#loco-editor .wg-split{background:#eee}#loco-editor .wg-body:after{content:".";display:block;clear:both;visibility:hidden;line-height:0;height:0}#loco-editor .wg-split-x>div>.not-first>*{margin-left:6px}#loco-editor .wg-split-y>div>.not-first>*{margin-top:6px}#loco-editor .wg-split>div>.has-title .wg-content{margin-top:0}#loco-editor .wg-split-x>div>.wg-cell{float:left;clear:none;height:100%}#loco-editor .wg-split-x>div{cursor:move;cursor:ew-resize;cursor:col-resize}#loco-editor .wg-split>div>.not-first:before{display:block;position:absolute;overflow:hidden;content:" "}#loco-editor .wg-split-x>div>.not-first:before{width:6px;height:100%;background:transparent url(../img/wg/splitx.png?v=2.1.0) center center no-repeat}#loco-editor .wg-split-y>div{cursor:move;cursor:ns-resize;cursor:row-resize}#loco-editor .wg-split-y>div>.not-first:before{height:6px;width:100%;background:transparent url(../img/wg/splity.png?v=2.1.0) center center no-repeat}#loco-editor .wg-split>div.locked{cursor:default}#loco-editor .wg-split-x>div.locked>.not-first>*{margin-left:1px}#loco-editor .wg-split-y>div.locked>.not-first>*{margin-top:1px}#loco-editor .wg-split>div.locked>.not-first:before{display:none}#loco-editor .has-title>header{background:#e2e2e2;cursor:default !important;margin:0;white-space:nowrap}#loco-editor .wg-content{background:#fff;cursor:default;padding:4px 6px;overflow:hidden;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}#loco-editor .wg-toolbar{top:0;right:0;margin-top:6px;position:absolute}#loco-editor .wg-toolbar>span{color:#fff;background:#000;display:block;padding:0 6px;cursor:default !important}#loco-editor .wg-toolbar>span:active{color:#000;background-color:#fff}#loco-editor .wg-content,#loco-editor .wg-tbody>div{overflow:scroll;overflow-x:hidden;overflow-y:auto}#loco-editor .is-table{background-color:#fff}#loco-editor .is-table .wg-thead .has-title>header{font-weight:normal;background:transparent;padding:4px 0;margin:0 0 0 10px}#loco-editor .is-table .wg-thead>div>.not-first:before{background-position:center center}#loco-editor .is-table .wg-thead{background:#e2e2e2;border-bottom:solid 1px #ccc}#loco-editor .is-table .wg-tbody{background-image:url(data:image/gif;base64,R0lGODlhAQAsAIABAPz8/P///yH5BAEAAAEALAAAAAABACwAAAIIjI+pAe0PIygAOw==);position:relative}#loco-editor .is-table .wg-cols{outline:none}#loco-editor .is-table .wg-cols>div{float:left;clear:none}#loco-editor .is-table .wg-cols>div>div{white-space:nowrap;line-height:1.7em;padding-left:10px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;-o-text-overflow:ellipsis;-ms-text-overflow:ellipsis;background-color:#fff}#loco-editor .is-table .wg-cols>div>div:nth-child(even){background-color:#f7f7f7}#loco-editor .is-table .wg-cols>div>div.selected{background-color:#3db63d;color:#fff}#loco-editor .is-table .wg-cols>div:first-child>div{padding-left:4px}#loco-editor .is-table .wg-dead{clear:both}#loco-editor .is-table .wg-thead .wg-sortable>header{cursor:pointer !important}#loco-editor .is-table .wg-thead .wg-sortable>header:after{padding:0 0 0 5px;color:#999}#loco-editor .is-table .wg-thead .wg-sortable.wg-asc>header:after{content:"\25b2"}#loco-editor .is-table .wg-thead .wg-sortable.wg-desc>header:after{content:"\25bc"}#loco-editor .is-table .wg-thead .wg-sortable:hover>header:after{color:#000}#loco-editor .is-field>.wg-content{cursor:text;outline:none;padding:0;line-height:normal;overflow:hidden;overflow-y:hidden}#loco-editor .is-field>.wg-content>div,#loco-editor .is-field>.wg-content>textarea{font-size:14px;line-height:1.4;border:1px solid #ddd;width:100%;height:100%;padding:8px 10px;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;-webkit-border-radius:0;-moz-border-radius:0;-ms-border-radius:0;-o-border-radius:0;border-radius:0}#loco-editor .is-field>.wg-content textarea{resize:none;overflow:auto;display:block}#loco-editor .is-field>.wg-content>.ace_editor{padding:0;border-width:0}#loco-editor .is-field>.wg-content>div[contenteditable]{overflow:scroll;overflow-x:hidden;overflow-y:auto}#loco-editor .is-readonly>.wg-content{cursor:default}#loco-editor .is-readonly>.wg-content>div,#loco-editor .is-readonly>.wg-content>textarea,#loco-editor .is-readonly>.wg-content>textarea[readonly]{background:#f8f8f8;text-shadow:0 1px #fff;color:inherit}#loco-editor .is-readonly>.wg-content .ace_scroller{cursor:default;background:#f8f8f8}#loco-editor .is-readonly>.wg-content .ace_cursor-layer{display:none}#loco-editor .is-editable>.wg-content[dir="RTL"] .ace_editor .ace_line{direction:ltr;unicode-bidi:bidi-override}#loco-editor .wg-split-x>nav.wg-tabs{white-space:nowrap;text-align:center;cursor:default}#loco-editor .wg-split-x>nav.wg-tabs>a{display:inline-block;padding:0.5em 1em;margin-top:0.2em;color:#000;text-decoration:none;-webkit-border-radius:0.2em 0.2em 0 0;-moz-border-radius:0.2em 0.2em 0 0;-ms-border-radius:0.2em 0.2em 0 0;-o-border-radius:0.2em 0.2em 0 0;border-radius:0.2em 0.2em 0 0;background-color:#f3f7fd}#loco-editor .wg-split-x>nav.wg-tabs>a:hover{background-color:#fff}#loco-editor .wg-split-x>nav.wg-tabs>a.active{background-color:#3db63d;color:#fff}#loco-editor .wg-split>div>.has-nav>.wg-body{margin-top:0px}#loco-editor .wg-dead{visibility:hidden}@media all and (max-width: 768px){#loco-editor .wg-split-x>div>.not-first>*{margin-left:20px}#loco-editor .wg-split-y>div>.not-first>*{margin-top:20px}#loco-editor .wg-split-x>div>.not-first:before{width:20px}#loco-editor .wg-split-y>div>.not-first:before{height:20px}#loco-editor .is-table .wg-thead header{padding-left:20px}}#loco-editor .is-table .po-fuzzy{color:#b59829;font-weight:bold}#loco-editor .is-table .po-empty{color:#1f507a;font-weight:bold}#loco-editor .is-table .po-flagged{color:#bd2c00}#loco-editor .is-table .wg-cols>div:first-child>div:before{font-family:loco;vertical-align:inherit;display:inline-block;content:" ";width:1.3em;line-height:1}#loco-editor .is-table .wg-cols>div:first-child>div.po-flagged:before{content:""}#loco-editor .is-table .wg-cols>div:first-child>div.po-flag-2:before{content:""}#loco-editor .is-table .wg-cols>div:first-child>div.po-flag-3:before{content:""}#loco-editor .is-table .wg-cols>div:first-child>div.po-fuzzy:before,#loco-editor .is-table .wg-cols>div:first-child>div.po-flag-4:before{content:""}#loco-editor .is-table .wg-cols>div:first-child>div.po-flag-5:before{content:""}#loco-editor .is-table .wg-cols>div:first-child>div.po-flag-6:before{content:""}#loco-editor .is-table .wg-cols>div:first-child>div.po-comment:before{content:"\e613";color:#999}#loco-editor .is-table .wg-cols>div:first-child>div.po-unsaved:before{content:"\e612";color:#f1d040}#loco-editor .is-table .wg-cols>div:first-child>div.selected:before{color:#fff !important}#loco-editor .is-table .wg-cols>div>div.selected.po-flagged{background-color:#bd2c00}#loco-editor .is-table .wg-cols>div>div.selected.po-fuzzy{background-color:#b59829}#loco-editor .is-table .wg-cols>div>div.selected.po-empty{background-color:#999}#loco-editor #po-list .wg-content{padding:0}#loco-editor #po-source>.wg-body>.has-title>header{background:transparent;font-weight:normal;float:left;clear:none;min-width:3.4em}#loco-editor #po-source>.wg-body>.has-title>.wg-content{clear:none}#loco-editor .wg-cell>p.notes,#loco-editor .wg-cell>p.errors{font-size:13px;margin:0;padding:5px 10px;cursor:default !important}#loco-editor .wg-cell>p.notes{color:#333}#loco-editor .wg-cell>p.errors{color:#cc0000}#loco-editor .has-title>header{font-weight:bold;line-height:1.2em;font-family:'Helvetica Neue',Helvetica,Arial,sans-serif;padding:4px 6px}#loco-editor .has-title>header .lang{margin-right:6px;margin-bottom:1px}#loco-editor #po-source>.wg-body>.has-title>h2{min-width:4.5em}#loco-editor .is-table .wg-td{font-size:13px}#loco-editor-inner{min-height:600px;font-size:14px;clear:both}#loco-editor-inner>div.loco-loading{height:100px;background:transparent url(../img/spin-editor-button.gif?v=2.1.0) center 20px no-repeat}#loco-editor-inner h2{color:#000;line-height:1}#loco.wrap #loco-toolbar{font-size:14px;height:50px}#loco.wrap #loco-toolbar form{display:block;float:left;clear:none;padding:0;margin:0}#loco.wrap #loco-toolbar form.aux{float:right;margin-right:5px}#loco.wrap #loco-toolbar fieldset{display:block;position:relative;float:left;clear:none}#loco.wrap #loco-toolbar button,#loco.wrap #loco-toolbar input[type="text"]{display:block;position:relative;float:left;clear:none;margin:5px 0 0 5px;height:36px;text-align:left;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}#loco.wrap #loco-toolbar input[type="text"]{padding:0 10px;font-size:14px;line-height:normal}#loco.wrap #loco-toolbar .invalid input[type="text"]:focus{border-color:#cc0000;-webkit-box-shadow:0 0 2px rgba(153,0,0,0.5);-moz-box-shadow:0 0 2px rgba(153,0,0,0.5);box-shadow:0 0 2px rgba(153,0,0,0.5)}#loco.wrap #loco-toolbar .loco-clearable{padding:0 20px}#loco.wrap #loco-toolbar .loco-clearable.invalid a.clear:before{color:#cc0000}#loco.wrap #loco-toolbar .loco-clearable a.clear{right:25px;line-height:2}#loco.wrap #loco-toolbar .loco-clearable a.clear:focus{-webkit-box-shadow:none;-moz-box-shadow:none;box-shadow:none}#loco.wrap #loco-toolbar .loco-clearable a.clear:hover:before{color:#cc0000}#loco.wrap #loco-toolbar .loco-clearable a.clear:active:before{color:#000}#loco.wrap #loco-toolbar button{-webkit-box-shadow:none;-moz-box-shadow:none;box-shadow:none}#loco.wrap #loco-toolbar button.has-icon:before{width:16px;padding:0}#loco.wrap #loco-toolbar button.has-icon.loco-loading:before{content:" ";height:16px;background:transparent url(../img/spin-editor-button.gif?v=2.1.0) 0 0 no-repeat}#loco.wrap #loco-toolbar button.only-icon{width:40px}
|
1 |
+
#loco-editor{border:solid 1px #ccc}#loco-editor ._ajax_loader_f2{background-image:url(../img/ajax-loader-f2.gif?v=2.1.1);background-repeat:no-repeat;min-height:16px}#loco-editor ._ajax_loader_f2x4{background:transparent url(../img/ajax-loader-f2-x4.gif?v=2.1.1) 0 0 no-repeat;min-height:75px}@media only screen and (-webkit-min-device-pixel-ratio: 2), only screen and (min--moz-device-pixel-ratio: 2), only screen and (-o-min-device-pixel-ratio: 2 / 1), only screen and (min-device-pixel-ratio: 2), only screen and (min-resolution: 192dpi), only screen and (min-resolution: 2dppx){#loco-editor ._ajax_loader_f2{background-image:url(../img/ajax-loader-f2-x2.gif?v=2.1.1);background-size:16px}}#loco-editor ._green_glow_inner,#loco-editor .is-editable>.wg-content>textarea:focus,#loco-editor .is-editable>.wg-content.has-focus .ace_scroller,#loco-editor .is-editable>.wg-content.has-focus .wysihtml-editor,#loco-editor .is-editable>.wg-content.has-focus .mce-content-body{-webkit-box-shadow:inset 0 0 10px 0 #3db63d;-moz-box-shadow:inset 0 0 10px 0 #3db63d;box-shadow:inset 0 0 10px 0 #3db63d}#loco-editor ._green_glow_outer{-webkit-box-shadow:0 0 0.5em 0 #3db63d;-moz-box-shadow:0 0 0.5em 0 #3db63d;box-shadow:0 0 0.5em 0 #3db63d}#loco-editor .loco-font,#loco-editor .is-table .wg-thead .wg-sortable>header:after{font-family:'loco';speak:none;font-style:normal;font-weight:normal;font-variant:normal;text-transform:none;line-height:1;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}#loco-editor div.ta-mirror{position:absolute;top:0;border:solid 1px transparent;color:transparent;padding:0.4em 0.6em;pointer-events:none}#loco-editor div.ta-mirror span{position:relative}#loco-editor div.ta-mirror span:after{color:#ccc;white-space:pre;display:inline-block;position:absolute;top:0;line-height:normal}#loco-editor div.ta-mirror .crlf:after{content:"\00AC"}#loco-editor div.ta-mirror .eof:after{content:"\00B6"}#loco-editor div.ta-mirror .x20:after{content:"\00B7";color:#aaa}#loco-editor div.ta-mirror .x9:after{content:"\27F6"}#loco-editor div.ta-mirror,#loco-editor .has-mirror textarea{white-space:pre-wrap;word-wrap:break-word;word-spacing:0px}#loco-editor .has-mirror ::-webkit-input-placeholder{color:transparent}#loco-editor .has-mirror :-moz-placeholder{color:transparent;opacity:1}#loco-editor .has-mirror ::-moz-placeholder{color:transparent;opacity:1}#loco-editor .has-mirror :-ms-input-placeholder{color:transparent}#loco-editor .has-mirror .ielt10 .placeheld{color:transparent}#loco-editor div.ta-mirror{left:0;text-align:left}#loco-editor div.ta-mirror span:after{left:0}#loco-editor div.ta-mirror .eol:after{padding-left:0.2em}#loco-editor [dir="RTL"] div.ta-mirror{left:auto;right:0;text-align:right}#loco-editor [dir="RTL"] div.ta-mirror span:after{right:0}#loco-editor [dir="RTL"] div.ta-mirror .eol:after{padding-left:0;padding-right:0.2em}#loco-editor .has-proxy>textarea{display:none !important}#loco-editor .has-proxy .ace_editor{height:100%;font-size:13px !important;line-height:1.4 !important}#loco-editor .has-proxy .ace_editor .ace_marker-layer .ace_bracket{display:none}#loco-editor .has-proxy .ace_print-margin{display:none}#loco-editor .ace_printf{color:#b90690;background-color:#edf1be}#loco-editor .ace_locked{color:#808080}#loco-editor .resizer{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;padding:0 0 6px 0;background:#f0f0f0 url(../img/wg/splity.png?v=2.1.1) center bottom no-repeat;border:1px solid #ddd;overflow:hidden;cursor:move;cursor:row-resize;cursor:s-resize}#loco-editor .resizer>*{height:100%;border:none}#loco-editor ._ajax_loader_f2{background-image:url(../img/ajax-loader-f2.gif?v=2.1.1);background-repeat:no-repeat;min-height:16px}#loco-editor ._ajax_loader_f2x4{background:transparent url(../img/ajax-loader-f2-x4.gif?v=2.1.1) 0 0 no-repeat;min-height:75px}@media only screen and (-webkit-min-device-pixel-ratio: 2), only screen and (min--moz-device-pixel-ratio: 2), only screen and (-o-min-device-pixel-ratio: 2 / 1), only screen and (min-device-pixel-ratio: 2), only screen and (min-resolution: 192dpi), only screen and (min-resolution: 2dppx){#loco-editor ._ajax_loader_f2{background-image:url(../img/ajax-loader-f2-x2.gif?v=2.1.1);background-size:16px}}#loco-editor ._green_glow_inner,#loco-editor .is-editable>.wg-content>textarea:focus,#loco-editor .is-editable>.wg-content.has-focus .ace_scroller,#loco-editor .is-editable>.wg-content.has-focus .wysihtml-editor,#loco-editor .is-editable>.wg-content.has-focus .mce-content-body{-webkit-box-shadow:inset 0 0 10px 0 #3db63d;-moz-box-shadow:inset 0 0 10px 0 #3db63d;box-shadow:inset 0 0 10px 0 #3db63d}#loco-editor ._green_glow_outer{-webkit-box-shadow:0 0 0.5em 0 #3db63d;-moz-box-shadow:0 0 0.5em 0 #3db63d;box-shadow:0 0 0.5em 0 #3db63d}#loco-editor .loco-font,#loco-editor .is-table .wg-thead .wg-sortable>header:after{font-family:'loco';speak:none;font-style:normal;font-weight:normal;font-variant:normal;text-transform:none;line-height:1;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}#loco-editor .wg-cell,#loco-editor .wg-cell>div{clear:both;position:relative;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}#loco-editor .wg-cell{left:0;top:0;padding:0;margin:0;overflow:hidden}#loco-editor .wg-split{background:#eee}#loco-editor .wg-body:after{content:".";display:block;clear:both;visibility:hidden;line-height:0;height:0}#loco-editor .wg-split-x>div>.not-first>*{margin-left:6px}#loco-editor .wg-split-y>div>.not-first>*{margin-top:6px}#loco-editor .wg-split>div>.has-title .wg-content{margin-top:0}#loco-editor .wg-split-x>div>.wg-cell{float:left;clear:none;height:100%}#loco-editor .wg-split-x>div{cursor:move;cursor:ew-resize;cursor:col-resize}#loco-editor .wg-split>div>.not-first:before{display:block;position:absolute;overflow:hidden;content:" "}#loco-editor .wg-split-x>div>.not-first:before{width:6px;height:100%;background:transparent url(../img/wg/splitx.png?v=2.1.1) center center no-repeat}#loco-editor .wg-split-y>div{cursor:move;cursor:ns-resize;cursor:row-resize}#loco-editor .wg-split-y>div>.not-first:before{height:6px;width:100%;background:transparent url(../img/wg/splity.png?v=2.1.1) center center no-repeat}#loco-editor .wg-split>div.locked{cursor:default}#loco-editor .wg-split-x>div.locked>.not-first>*{margin-left:1px}#loco-editor .wg-split-y>div.locked>.not-first>*{margin-top:1px}#loco-editor .wg-split>div.locked>.not-first:before{display:none}#loco-editor .has-title>header{background:#e2e2e2;cursor:default !important;margin:0;white-space:nowrap}#loco-editor .wg-content{background:#fff;cursor:default;padding:4px 6px;overflow:hidden;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}#loco-editor .wg-toolbar{top:0;right:0;margin-top:6px;position:absolute}#loco-editor .wg-toolbar>span{color:#fff;background:#000;display:block;padding:0 6px;cursor:default !important}#loco-editor .wg-toolbar>span:active{color:#000;background-color:#fff}#loco-editor .wg-content,#loco-editor .wg-tbody>div{overflow:scroll;overflow-x:hidden;overflow-y:auto}#loco-editor .is-table{background-color:#fff}#loco-editor .is-table .wg-thead .has-title>header{font-weight:normal;background:transparent;padding:4px 0;margin:0 0 0 10px}#loco-editor .is-table .wg-thead>div>.not-first:before{background-position:center center}#loco-editor .is-table .wg-thead{background:#e2e2e2;border-bottom:solid 1px #ccc}#loco-editor .is-table .wg-tbody{background-image:url(data:image/gif;base64,R0lGODlhAQAsAIABAPz8/P///yH5BAEAAAEALAAAAAABACwAAAIIjI+pAe0PIygAOw==);position:relative}#loco-editor .is-table .wg-cols{outline:none}#loco-editor .is-table .wg-cols>div{float:left;clear:none}#loco-editor .is-table .wg-cols>div>div{white-space:nowrap;line-height:1.7em;padding-left:10px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;-o-text-overflow:ellipsis;-ms-text-overflow:ellipsis;background-color:#fff}#loco-editor .is-table .wg-cols>div>div:nth-child(even){background-color:#f7f7f7}#loco-editor .is-table .wg-cols>div>div.selected{background-color:#3db63d;color:#fff}#loco-editor .is-table .wg-cols>div:first-child>div{padding-left:4px}#loco-editor .is-table .wg-dead{clear:both}#loco-editor .is-table .wg-thead .wg-sortable>header{cursor:pointer !important}#loco-editor .is-table .wg-thead .wg-sortable>header:after{padding:0 0 0 5px;color:#999}#loco-editor .is-table .wg-thead .wg-sortable.wg-asc>header:after{content:"\25b2"}#loco-editor .is-table .wg-thead .wg-sortable.wg-desc>header:after{content:"\25bc"}#loco-editor .is-table .wg-thead .wg-sortable:hover>header:after{color:#000}#loco-editor .is-field>.wg-content{cursor:text;outline:none;padding:0;line-height:normal;overflow:hidden;overflow-y:hidden}#loco-editor .is-field>.wg-content>div,#loco-editor .is-field>.wg-content>textarea{font-size:14px;line-height:1.4;border:1px solid #ddd;width:100%;height:100%;padding:8px 10px;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;-webkit-border-radius:0;-moz-border-radius:0;-ms-border-radius:0;-o-border-radius:0;border-radius:0}#loco-editor .is-field>.wg-content textarea{resize:none;overflow:auto;display:block}#loco-editor .is-field>.wg-content>.ace_editor{padding:0;border-width:0}#loco-editor .is-field>.wg-content>div[contenteditable]{overflow:scroll;overflow-x:hidden;overflow-y:auto}#loco-editor .is-readonly>.wg-content{cursor:default}#loco-editor .is-readonly>.wg-content>div,#loco-editor .is-readonly>.wg-content>textarea,#loco-editor .is-readonly>.wg-content>textarea[readonly]{background:#f8f8f8;text-shadow:0 1px #fff;color:inherit}#loco-editor .is-readonly>.wg-content .ace_scroller{cursor:default;background:#f8f8f8}#loco-editor .is-readonly>.wg-content .ace_cursor-layer{display:none}#loco-editor .is-editable>.wg-content[dir="RTL"] .ace_editor .ace_line{direction:ltr;unicode-bidi:bidi-override}#loco-editor .wg-split-x>nav.wg-tabs{white-space:nowrap;text-align:center;cursor:default}#loco-editor .wg-split-x>nav.wg-tabs>a{display:inline-block;padding:0.5em 1em;margin-top:0.2em;color:#000;text-decoration:none;-webkit-border-radius:0.2em 0.2em 0 0;-moz-border-radius:0.2em 0.2em 0 0;-ms-border-radius:0.2em 0.2em 0 0;-o-border-radius:0.2em 0.2em 0 0;border-radius:0.2em 0.2em 0 0;background-color:#f3f7fd}#loco-editor .wg-split-x>nav.wg-tabs>a:hover{background-color:#fff}#loco-editor .wg-split-x>nav.wg-tabs>a.active{background-color:#3db63d;color:#fff}#loco-editor .wg-split>div>.has-nav>.wg-body{margin-top:0px}#loco-editor .wg-dead{visibility:hidden}@media all and (max-width: 768px){#loco-editor .wg-split-x>div>.not-first>*{margin-left:20px}#loco-editor .wg-split-y>div>.not-first>*{margin-top:20px}#loco-editor .wg-split-x>div>.not-first:before{width:20px}#loco-editor .wg-split-y>div>.not-first:before{height:20px}#loco-editor .is-table .wg-thead header{padding-left:20px}}#loco-editor .is-table .po-fuzzy{color:#b59829;font-weight:bold}#loco-editor .is-table .po-empty{color:#1f507a;font-weight:bold}#loco-editor .is-table .po-flagged{color:#bd2c00}#loco-editor .is-table .wg-cols>div:first-child>div:before{font-family:loco;vertical-align:inherit;display:inline-block;content:" ";width:1.3em;line-height:1}#loco-editor .is-table .wg-cols>div:first-child>div.po-flagged:before{content:""}#loco-editor .is-table .wg-cols>div:first-child>div.po-flag-2:before{content:""}#loco-editor .is-table .wg-cols>div:first-child>div.po-flag-3:before{content:""}#loco-editor .is-table .wg-cols>div:first-child>div.po-fuzzy:before,#loco-editor .is-table .wg-cols>div:first-child>div.po-flag-4:before{content:""}#loco-editor .is-table .wg-cols>div:first-child>div.po-flag-5:before{content:""}#loco-editor .is-table .wg-cols>div:first-child>div.po-flag-6:before{content:""}#loco-editor .is-table .wg-cols>div:first-child>div.po-comment:before{content:"\e613";color:#999}#loco-editor .is-table .wg-cols>div:first-child>div.po-unsaved:before{content:"\e612";color:#f1d040}#loco-editor .is-table .wg-cols>div:first-child>div.selected:before{color:#fff !important}#loco-editor .is-table .wg-cols>div>div.selected.po-flagged{background-color:#bd2c00}#loco-editor .is-table .wg-cols>div>div.selected.po-fuzzy{background-color:#b59829}#loco-editor .is-table .wg-cols>div>div.selected.po-empty{background-color:#999}#loco-editor #po-list .wg-content{padding:0}#loco-editor #po-source>.wg-body>.has-title>header{background:transparent;font-weight:normal;float:left;clear:none;min-width:3.4em}#loco-editor #po-source>.wg-body>.has-title>.wg-content{clear:none}#loco-editor .wg-cell>p.notes,#loco-editor .wg-cell>p.errors{font-size:13px;margin:0;padding:5px 10px;cursor:default !important}#loco-editor .wg-cell>p.notes{color:#333}#loco-editor .wg-cell>p.errors{color:#cc0000}#loco-editor .has-title>header{font-weight:bold;line-height:1.2em;font-family:'Helvetica Neue',Helvetica,Arial,sans-serif;padding:4px 6px}#loco-editor .has-title>header .lang{margin-right:6px;margin-bottom:1px}#loco-editor #po-source>.wg-body>.has-title>h2{min-width:4.5em}#loco-editor .is-table .wg-td{font-size:13px}#loco-editor-inner{min-height:600px;font-size:14px;clear:both}#loco-editor-inner>div.loco-loading{height:100px;background:transparent url(../img/spin-editor-button.gif?v=2.1.1) center 20px no-repeat}#loco-editor-inner h2{color:#000;line-height:1}#loco.wrap #loco-toolbar{font-size:14px;height:50px}#loco.wrap #loco-toolbar form{display:block;float:left;clear:none;padding:0;margin:0}#loco.wrap #loco-toolbar form.aux{float:right;margin-right:5px}#loco.wrap #loco-toolbar fieldset{display:block;position:relative;float:left;clear:none}#loco.wrap #loco-toolbar button,#loco.wrap #loco-toolbar input[type="text"]{display:block;position:relative;float:left;clear:none;margin:5px 0 0 5px;height:36px;text-align:left;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}#loco.wrap #loco-toolbar input[type="text"]{padding:0 10px;font-size:14px;line-height:normal}#loco.wrap #loco-toolbar .invalid input[type="text"]:focus{border-color:#cc0000;-webkit-box-shadow:0 0 2px rgba(153,0,0,0.5);-moz-box-shadow:0 0 2px rgba(153,0,0,0.5);box-shadow:0 0 2px rgba(153,0,0,0.5)}#loco.wrap #loco-toolbar .loco-clearable{padding:0 20px}#loco.wrap #loco-toolbar .loco-clearable.invalid a.clear:before{color:#cc0000}#loco.wrap #loco-toolbar .loco-clearable a.clear{right:25px;line-height:2}#loco.wrap #loco-toolbar .loco-clearable a.clear:focus{-webkit-box-shadow:none;-moz-box-shadow:none;box-shadow:none}#loco.wrap #loco-toolbar .loco-clearable a.clear:hover:before{color:#cc0000}#loco.wrap #loco-toolbar .loco-clearable a.clear:active:before{color:#000}#loco.wrap #loco-toolbar button{-webkit-box-shadow:none;-moz-box-shadow:none;box-shadow:none}#loco.wrap #loco-toolbar button.has-icon:before{width:16px;padding:0}#loco.wrap #loco-toolbar button.has-icon.loco-loading:before{content:" ";height:16px;background:transparent url(../img/spin-editor-button.gif?v=2.1.1) 0 0 no-repeat}#loco.wrap #loco-toolbar button.only-icon{width:40px}
|
pub/css/podiff.css
CHANGED
@@ -1 +1 @@
|
|
1 |
-
#loco.wrap .revisions-diff{padding:10px;min-height:20px}#loco.wrap table.diff{border-collapse:collapse}#loco.wrap table.diff td{white-space:nowrap;overflow:hidden;font:normal 12px/17px 'Monaco','Menlo','Ubuntu Mono','Consolas','source-code-pro',monospace;padding:2px}#loco.wrap table.diff td>span{color:#aaa}#loco.wrap table.diff td>span:after{content:". "}#loco.wrap table.diff tbody{border-top:1px dashed #ccc}#loco.wrap table.diff tbody:first-child{border-top:none}#loco.wrap .revisions.loading .diff-meta{color:#eee}#loco.wrap .revisions.loading .loading-indicator span.spinner{visibility:visible;background:#fff url(../img/spin-modal.gif?v=2.1.
|
1 |
+
#loco.wrap .revisions-diff{padding:10px;min-height:20px}#loco.wrap table.diff{border-collapse:collapse}#loco.wrap table.diff td{white-space:nowrap;overflow:hidden;font:normal 12px/17px 'Monaco','Menlo','Ubuntu Mono','Consolas','source-code-pro',monospace;padding:2px}#loco.wrap table.diff td>span{color:#aaa}#loco.wrap table.diff td>span:after{content:". "}#loco.wrap table.diff tbody{border-top:1px dashed #ccc}#loco.wrap table.diff tbody:first-child{border-top:none}#loco.wrap .revisions.loading .diff-meta{color:#eee}#loco.wrap .revisions.loading .loading-indicator span.spinner{visibility:visible;background:#fff url(../img/spin-modal.gif?v=2.1.1) center center no-repeat}#loco.wrap .revisions-meta{clear:both;padding:10px 12px;margin:0;position:relative;top:10px}#loco.wrap .revisions-meta .diff-meta{clear:none;float:left;width:50%;padding:0;min-height:auto}#loco.wrap .revisions-meta .diff-meta button{margin-top:5px}#loco.wrap .revisions-meta .diff-meta-current{float:right;text-align:right}#loco.wrap .revisions-meta time{color:#72777c}#loco.wrap .revisions-control-frame{margin:10px 0}#loco.wrap .revisions-diff-frame{margin-top:20px}
|
pub/css/poview.css
CHANGED
@@ -1 +1 @@
|
|
1 |
-
#loco.wrap #loco-po{padding-right:0;overflow:auto}#loco.wrap #loco-po.loco-loading{min-height:100px;background:#fff url(../img/spin-modal.gif?v=2.1.
|
1 |
+
#loco.wrap #loco-po{padding-right:0;overflow:auto}#loco.wrap #loco-po.loco-loading{min-height:100px;background:#fff url(../img/spin-modal.gif?v=2.1.1) center center no-repeat}#loco.wrap #loco-po.loco-loading ol.msgcat{display:none}#loco.wrap ol.msgcat{margin-left:3em;padding-top:1em;border-top:1px dashed #ccc}#loco.wrap ol.msgcat:first-child{padding-top:0;border-top:none}#loco.wrap ol.msgcat li{color:#aaa;margin:0;padding:0 0 0 1em;font:normal 12px/17px 'Monaco','Menlo','Ubuntu Mono','Consolas','source-code-pro',monospace;border-left:1px solid #EEE}#loco.wrap ol.msgcat li>*{color:#333;white-space:pre}#loco.wrap ol.msgcat li>.po-comment{color:#3CC200}#loco.wrap ol.msgcat li>.po-refs{color:#0073aa}#loco.wrap ol.msgcat li>.po-refs a{color:inherit;text-decoration:none}#loco.wrap ol.msgcat li>.po-refs a:hover{text-decoration:underline}#loco.wrap ol.msgcat li>.po-flags{color:#77904a}#loco.wrap ol.msgcat li>.po-flags em{font-style:normal}#loco.wrap ol.msgcat li>.po-word{color:#000}#loco.wrap ol.msgcat li>.po-junk{font-style:italic;color:#CCC}#loco.wrap ol.msgcat li>.po-string>span{color:#C931C7}#loco.wrap form.loco-filter{top:0;right:0;position:absolute}#loco.wrap .loco-invalid form.loco-filter input[type="text"]:focus{border-color:#cc0000;-webkit-box-shadow:0 0 2px rgba(153,0,0,0.5);-moz-box-shadow:0 0 2px rgba(153,0,0,0.5);box-shadow:0 0 2px rgba(153,0,0,0.5)}#loco.wrap .loco-invalid ol.msgcat{list-style-type:none}#loco.wrap .loco-invalid ol.msgcat li{color:#000}.loco-modal{min-width:90% !important;min-height:100px}#loco-po-ref ol li{color:#aaa;margin:0;white-space:pre;padding:0 0 0 1em;font:normal 12px/17px Consolas,Monaco,monospace;background:transparent;border-left:1px solid #EEE}#loco-po-ref ol li code{margin:0;padding:0;display:inline;background:inherit}#loco-po-ref ol li.highlighted{color:#666;background-color:#f8eec7}#loco-po-ref ol li.highlighted code.T_CONSTANT_ENCAPSED_STRING{color:#C931C7}
|
pub/css/skins/blue.css
CHANGED
@@ -1 +1 @@
|
|
1 |
-
.wrap #loco-editor .is-table .wg-tr:nth-child(even){background-color:rgba(9,100,132,0.05)}.wrap #loco-editor .wg-split-x>nav.wg-tabs>a.active,.wrap #loco-editor .is-table .wg-cols>div>div.selected{background-color:#096484}.wrap #loco-editor .is-editable>.wg-content>textarea:focus,.wrap #loco-editor .is-editable>.wg-content.has-focus .ace_scroller,.wrap #loco-editor .is-editable>.wg-content.has-focus .mce-content-body{border-color:#5b9dd9;-webkit-box-shadow:inset 0 0 0.6em rgba(30,140,190,0.8);-moz-box-shadow:inset 0 0 0.6em rgba(30,140,190,0.8);box-shadow:inset 0 0 0.6em rgba(30,140,190,0.8)}form button.loco-loading.button-primary[disabled]:before{background:transparent url(../../img/skins/blue/spin-primary-button.gif?v=2.1.
|
1 |
+
.wrap #loco-editor .is-table .wg-tr:nth-child(even){background-color:rgba(9,100,132,0.05)}.wrap #loco-editor .wg-split-x>nav.wg-tabs>a.active,.wrap #loco-editor .is-table .wg-cols>div>div.selected{background-color:#096484}.wrap #loco-editor .is-editable>.wg-content>textarea:focus,.wrap #loco-editor .is-editable>.wg-content.has-focus .ace_scroller,.wrap #loco-editor .is-editable>.wg-content.has-focus .mce-content-body{border-color:#5b9dd9;-webkit-box-shadow:inset 0 0 0.6em rgba(30,140,190,0.8);-moz-box-shadow:inset 0 0 0.6em rgba(30,140,190,0.8);box-shadow:inset 0 0 0.6em rgba(30,140,190,0.8)}form button.loco-loading.button-primary[disabled]:before{background:transparent url(../../img/skins/blue/spin-primary-button.gif?v=2.1.1) 0 0 no-repeat !important}
|
pub/css/skins/coffee.css
CHANGED
@@ -1 +1 @@
|
|
1 |
-
.wrap #loco-editor .is-table .wg-tr:nth-child(even){background-color:rgba(199,165,137,0.05)}.wrap #loco-editor .wg-split-x>nav.wg-tabs>a.active,.wrap #loco-editor .is-table .wg-cols>div>div.selected{background-color:#c7a589}.wrap #loco-editor .is-editable>.wg-content>textarea:focus,.wrap #loco-editor .is-editable>.wg-content.has-focus .ace_scroller,.wrap #loco-editor .is-editable>.wg-content.has-focus .mce-content-body{border-color:#5b9dd9;-webkit-box-shadow:inset 0 0 0.6em rgba(30,140,190,0.8);-moz-box-shadow:inset 0 0 0.6em rgba(30,140,190,0.8);box-shadow:inset 0 0 0.6em rgba(30,140,190,0.8)}form button.loco-loading.button-primary[disabled]:before{background:transparent url(../../img/skins/coffee/spin-primary-button.gif?v=2.1.
|
1 |
+
.wrap #loco-editor .is-table .wg-tr:nth-child(even){background-color:rgba(199,165,137,0.05)}.wrap #loco-editor .wg-split-x>nav.wg-tabs>a.active,.wrap #loco-editor .is-table .wg-cols>div>div.selected{background-color:#c7a589}.wrap #loco-editor .is-editable>.wg-content>textarea:focus,.wrap #loco-editor .is-editable>.wg-content.has-focus .ace_scroller,.wrap #loco-editor .is-editable>.wg-content.has-focus .mce-content-body{border-color:#5b9dd9;-webkit-box-shadow:inset 0 0 0.6em rgba(30,140,190,0.8);-moz-box-shadow:inset 0 0 0.6em rgba(30,140,190,0.8);box-shadow:inset 0 0 0.6em rgba(30,140,190,0.8)}form button.loco-loading.button-primary[disabled]:before{background:transparent url(../../img/skins/coffee/spin-primary-button.gif?v=2.1.1) 0 0 no-repeat !important}
|
pub/css/skins/ectoplasm.css
CHANGED
@@ -1 +1 @@
|
|
1 |
-
.wrap #loco-editor .is-table .wg-tr:nth-child(even){background-color:rgba(163,183,69,0.05)}.wrap #loco-editor .wg-split-x>nav.wg-tabs>a.active,.wrap #loco-editor .is-table .wg-cols>div>div.selected{background-color:#a3b745}.wrap #loco-editor .is-editable>.wg-content>textarea:focus,.wrap #loco-editor .is-editable>.wg-content.has-focus .ace_scroller,.wrap #loco-editor .is-editable>.wg-content.has-focus .mce-content-body{border-color:#5b9dd9;-webkit-box-shadow:inset 0 0 0.6em rgba(30,140,190,0.8);-moz-box-shadow:inset 0 0 0.6em rgba(30,140,190,0.8);box-shadow:inset 0 0 0.6em rgba(30,140,190,0.8)}form button.loco-loading.button-primary[disabled]:before{background:transparent url(../../img/skins/ectoplasm/spin-primary-button.gif?v=2.1.
|
1 |
+
.wrap #loco-editor .is-table .wg-tr:nth-child(even){background-color:rgba(163,183,69,0.05)}.wrap #loco-editor .wg-split-x>nav.wg-tabs>a.active,.wrap #loco-editor .is-table .wg-cols>div>div.selected{background-color:#a3b745}.wrap #loco-editor .is-editable>.wg-content>textarea:focus,.wrap #loco-editor .is-editable>.wg-content.has-focus .ace_scroller,.wrap #loco-editor .is-editable>.wg-content.has-focus .mce-content-body{border-color:#5b9dd9;-webkit-box-shadow:inset 0 0 0.6em rgba(30,140,190,0.8);-moz-box-shadow:inset 0 0 0.6em rgba(30,140,190,0.8);box-shadow:inset 0 0 0.6em rgba(30,140,190,0.8)}form button.loco-loading.button-primary[disabled]:before{background:transparent url(../../img/skins/ectoplasm/spin-primary-button.gif?v=2.1.1) 0 0 no-repeat !important}
|
pub/css/skins/light.css
CHANGED
@@ -1 +1 @@
|
|
1 |
-
.wrap #loco-editor .is-table .wg-tr:nth-child(even){background-color:rgba(136,136,136,0.05)}.wrap #loco-editor .wg-split-x>nav.wg-tabs>a.active,.wrap #loco-editor .is-table .wg-cols>div>div.selected{background-color:#888}.wrap #loco-editor .is-editable>.wg-content>textarea:focus,.wrap #loco-editor .is-editable>.wg-content.has-focus .ace_scroller,.wrap #loco-editor .is-editable>.wg-content.has-focus .mce-content-body{border-color:#5b9dd9;-webkit-box-shadow:inset 0 0 0.6em rgba(30,140,190,0.8);-moz-box-shadow:inset 0 0 0.6em rgba(30,140,190,0.8);box-shadow:inset 0 0 0.6em rgba(30,140,190,0.8)}form button.loco-loading.button-primary[disabled]:before{background:transparent url(../../img/skins/light/spin-primary-button.gif?v=2.1.
|
1 |
+
.wrap #loco-editor .is-table .wg-tr:nth-child(even){background-color:rgba(136,136,136,0.05)}.wrap #loco-editor .wg-split-x>nav.wg-tabs>a.active,.wrap #loco-editor .is-table .wg-cols>div>div.selected{background-color:#888}.wrap #loco-editor .is-editable>.wg-content>textarea:focus,.wrap #loco-editor .is-editable>.wg-content.has-focus .ace_scroller,.wrap #loco-editor .is-editable>.wg-content.has-focus .mce-content-body{border-color:#5b9dd9;-webkit-box-shadow:inset 0 0 0.6em rgba(30,140,190,0.8);-moz-box-shadow:inset 0 0 0.6em rgba(30,140,190,0.8);box-shadow:inset 0 0 0.6em rgba(30,140,190,0.8)}form button.loco-loading.button-primary[disabled]:before{background:transparent url(../../img/skins/light/spin-primary-button.gif?v=2.1.1) 0 0 no-repeat !important}
|
pub/css/skins/midnight.css
CHANGED
@@ -1 +1 @@
|
|
1 |
-
.wrap #loco-editor .is-table .wg-tr:nth-child(even){background-color:rgba(225,77,67,0.05)}.wrap #loco-editor .wg-split-x>nav.wg-tabs>a.active,.wrap #loco-editor .is-table .wg-cols>div>div.selected{background-color:#e14d43}.wrap #loco-editor .is-editable>.wg-content>textarea:focus,.wrap #loco-editor .is-editable>.wg-content.has-focus .ace_scroller,.wrap #loco-editor .is-editable>.wg-content.has-focus .mce-content-body{border-color:#5b9dd9;-webkit-box-shadow:inset 0 0 0.6em rgba(30,140,190,0.8);-moz-box-shadow:inset 0 0 0.6em rgba(30,140,190,0.8);box-shadow:inset 0 0 0.6em rgba(30,140,190,0.8)}form button.loco-loading.button-primary[disabled]:before{background:transparent url(../../img/skins/midnight/spin-primary-button.gif?v=2.1.
|
1 |
+
.wrap #loco-editor .is-table .wg-tr:nth-child(even){background-color:rgba(225,77,67,0.05)}.wrap #loco-editor .wg-split-x>nav.wg-tabs>a.active,.wrap #loco-editor .is-table .wg-cols>div>div.selected{background-color:#e14d43}.wrap #loco-editor .is-editable>.wg-content>textarea:focus,.wrap #loco-editor .is-editable>.wg-content.has-focus .ace_scroller,.wrap #loco-editor .is-editable>.wg-content.has-focus .mce-content-body{border-color:#5b9dd9;-webkit-box-shadow:inset 0 0 0.6em rgba(30,140,190,0.8);-moz-box-shadow:inset 0 0 0.6em rgba(30,140,190,0.8);box-shadow:inset 0 0 0.6em rgba(30,140,190,0.8)}form button.loco-loading.button-primary[disabled]:before{background:transparent url(../../img/skins/midnight/spin-primary-button.gif?v=2.1.1) 0 0 no-repeat !important}
|
pub/css/skins/ocean.css
CHANGED
@@ -1 +1 @@
|
|
1 |
-
.wrap #loco-editor .is-table .wg-tr:nth-child(even){background-color:rgba(158,186,160,0.05)}.wrap #loco-editor .wg-split-x>nav.wg-tabs>a.active,.wrap #loco-editor .is-table .wg-cols>div>div.selected{background-color:#9ebaa0}.wrap #loco-editor .is-editable>.wg-content>textarea:focus,.wrap #loco-editor .is-editable>.wg-content.has-focus .ace_scroller,.wrap #loco-editor .is-editable>.wg-content.has-focus .mce-content-body{border-color:#5b9dd9;-webkit-box-shadow:inset 0 0 0.6em rgba(30,140,190,0.8);-moz-box-shadow:inset 0 0 0.6em rgba(30,140,190,0.8);box-shadow:inset 0 0 0.6em rgba(30,140,190,0.8)}form button.loco-loading.button-primary[disabled]:before{background:transparent url(../../img/skins/ocean/spin-primary-button.gif?v=2.1.
|
1 |
+
.wrap #loco-editor .is-table .wg-tr:nth-child(even){background-color:rgba(158,186,160,0.05)}.wrap #loco-editor .wg-split-x>nav.wg-tabs>a.active,.wrap #loco-editor .is-table .wg-cols>div>div.selected{background-color:#9ebaa0}.wrap #loco-editor .is-editable>.wg-content>textarea:focus,.wrap #loco-editor .is-editable>.wg-content.has-focus .ace_scroller,.wrap #loco-editor .is-editable>.wg-content.has-focus .mce-content-body{border-color:#5b9dd9;-webkit-box-shadow:inset 0 0 0.6em rgba(30,140,190,0.8);-moz-box-shadow:inset 0 0 0.6em rgba(30,140,190,0.8);box-shadow:inset 0 0 0.6em rgba(30,140,190,0.8)}form button.loco-loading.button-primary[disabled]:before{background:transparent url(../../img/skins/ocean/spin-primary-button.gif?v=2.1.1) 0 0 no-repeat !important}
|
pub/css/skins/sunrise.css
CHANGED
@@ -1 +1 @@
|
|
1 |
-
.wrap #loco-editor .is-table .wg-tr:nth-child(even){background-color:rgba(221,130,59,0.05)}.wrap #loco-editor .wg-split-x>nav.wg-tabs>a.active,.wrap #loco-editor .is-table .wg-cols>div>div.selected{background-color:#dd823b}.wrap #loco-editor .is-editable>.wg-content>textarea:focus,.wrap #loco-editor .is-editable>.wg-content.has-focus .ace_scroller,.wrap #loco-editor .is-editable>.wg-content.has-focus .mce-content-body{border-color:#5b9dd9;-webkit-box-shadow:inset 0 0 0.6em rgba(30,140,190,0.8);-moz-box-shadow:inset 0 0 0.6em rgba(30,140,190,0.8);box-shadow:inset 0 0 0.6em rgba(30,140,190,0.8)}form button.loco-loading.button-primary[disabled]:before{background:transparent url(../../img/skins/sunrise/spin-primary-button.gif?v=2.1.
|
1 |
+
.wrap #loco-editor .is-table .wg-tr:nth-child(even){background-color:rgba(221,130,59,0.05)}.wrap #loco-editor .wg-split-x>nav.wg-tabs>a.active,.wrap #loco-editor .is-table .wg-cols>div>div.selected{background-color:#dd823b}.wrap #loco-editor .is-editable>.wg-content>textarea:focus,.wrap #loco-editor .is-editable>.wg-content.has-focus .ace_scroller,.wrap #loco-editor .is-editable>.wg-content.has-focus .mce-content-body{border-color:#5b9dd9;-webkit-box-shadow:inset 0 0 0.6em rgba(30,140,190,0.8);-moz-box-shadow:inset 0 0 0.6em rgba(30,140,190,0.8);box-shadow:inset 0 0 0.6em rgba(30,140,190,0.8)}form button.loco-loading.button-primary[disabled]:before{background:transparent url(../../img/skins/sunrise/spin-primary-button.gif?v=2.1.1) 0 0 no-repeat !important}
|
pub/js/debug.js
CHANGED
@@ -17,16 +17,27 @@
|
|
17 |
$('#loco-ajax-url').text( window.ajaxurl );
|
18 |
}
|
19 |
|
|
|
|
|
20 |
// check UTF-8 passes to Ajax and back without a problem
|
21 |
-
|
22 |
-
|
23 |
-
|
24 |
-
|
25 |
-
function( xhr, error, message ){
|
26 |
-
var text = $('<pre>'+xhr.responseText+'</pre>').text();
|
27 |
-
$('#loco-ajax-check').text( text||'FAILED' );
|
28 |
}
|
29 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
30 |
|
31 |
|
32 |
|
17 |
$('#loco-ajax-url').text( window.ajaxurl );
|
18 |
}
|
19 |
|
20 |
+
|
21 |
+
|
22 |
// check UTF-8 passes to Ajax and back without a problem
|
23 |
+
|
24 |
+
function onAjaxTestPass( data, status, xhr ){
|
25 |
+
if( data && data.ping ){
|
26 |
+
$('#loco-ajax-check').text( data.ping );
|
|
|
|
|
|
|
27 |
}
|
28 |
+
else {
|
29 |
+
onAjaxTestFail( xhr, status, data && data.error && data.error.message );
|
30 |
+
}
|
31 |
+
}
|
32 |
+
|
33 |
+
function onAjaxTestFail( xhr, error, message ){
|
34 |
+
if( 'success' !== error ){
|
35 |
+
message = loco.ajax.parse( loco.ajax.strip( xhr.responseText ) );
|
36 |
+
}
|
37 |
+
$('#loco-ajax-check').text( 'FAILED: '+message ).addClass('loco-danger');
|
38 |
+
}
|
39 |
+
|
40 |
+
loco.ajax.post( 'ping', {echo:'\u039F\u039A \u2713'}, onAjaxTestPass, onAjaxTestFail );
|
41 |
|
42 |
|
43 |
|
pub/js/min/admin.js
CHANGED
@@ -1,43 +1,43 @@
|
|
1 |
-
(function(
|
2 |
-
""}b=
|
3 |
-
b!=b?b=0:0!=b&&Infinity!=b&&-Infinity!=b&&(b=(0<b||-1)*Math.floor(Math.abs(b))));if(b>=a)return-1;for(b=0<=b?b:Math.max(a-Math.abs(b),0);b<a;b++)if(b in c&&c[b]===d)return b;return-1});return d}({},
|
4 |
-
|
5 |
-
if(a){var
|
6 |
-
a||"",b||"",
|
7 |
-
1;y.src=
|
8 |
-
|
9 |
-
5);d.init=function(a){!b&&a&&(c=a.host||(a.host=c),b=a.legacy?l.require("$
|
10 |
-
d.page=function(){b&&b.page.apply(b,arguments);return d};d.event=function(){b&&b.event.apply(b,arguments);return d};d.reset=function(){b&&b.reset&&b.reset();return d};return d}({},
|
11 |
-
var
|
12 |
-
b.label+'" class="butt '+(b.css||"")+'" />');
|
13 |
-
[]),!0}catch(m){return a+="\n\n--\n"+(m.message||m),b.call(f,a),!1}};d.success=function(a,b,c){return d.alert(a,b,"success",c||2E3)};d.dialog=function(a,b,c,
|
14 |
-
a)+"px"}function a(a){a?(m.show(),
|
15 |
-
|
16 |
-
|
17 |
-
return d};var
|
18 |
-
function(a){
|
19 |
-
a);return d};return d}({},
|
20 |
-
function(a){d.kill();return!0});
|
21 |
-
this.options.gravity,m;switch(
|
22 |
-
"tipsy-arrow tipsy-arrow-"+
|
23 |
b.attr("title"==c.title?"original-title":c.title):"function"==typeof c.title&&(a=c.title.call(b[0]));return(a=(""+a).replace(/(^\s*|\s*$)/,""))||c.fallback},setTitle:function(a){var b=this.$element;b.attr("default-title")||b.attr("default-title",this.getTitle());null==a&&(a=b.attr("default-title")||this.getTitle());b.attr("original-title",a);if(this.$tip)this.$tip.find(".tipsy-inner")[this.options.html?"html":"text"](a)},tip:function(){this.$tip||(this.$tip=h('<div class="tipsy"></div>').html('<div class="tipsy-arrow"></div><div class="tipsy-inner"></div>'),
|
24 |
-
this.$tip.data("tipsy-pointee",this.$element[0]));return this.$tip},validate:function(){this.$element[0].parentNode||(this.hide(),this.options=this.$element=null)},enable:function(){this.enabled=!0},disable:function(){this.hide();this.enabled=!1},toggleEnabled:function(){this.enabled=!this.enabled}};h.fn.tipsy=function(a){function b(
|
25 |
-
(
|
26 |
-
delayIn:0,delayOut:0,fade:!1,fallback:"",gravity:"n",html:!1,live:!1,offset:0,opacity:0.8,title:"title",trigger:"hover",anchor:null};h.fn.tipsy.elementOptions=function(a,b){return h.metadata?h.extend({},b,h(a).metadata()):b};h.fn.tipsy.autoNS=function(){return h(this).offset().top>h(l).scrollTop()+h(f).height()/2?"s":"n"};h.fn.tipsy.autoWE=function(){return h(this).offset().left>h(l).scrollLeft()+h(f).width()/2?"e":"w"};h.fn.tipsy.autoBounds=function(a,b){return function(){var c=b[0],
|
27 |
-
b[1]:!1,
|
28 |
-
(
|
29 |
-
b)return
|
30 |
-
a=a.split("?");a[0]=a[0].replace(/(\.[a-z0-9]{1,4})?$/i,".json");return a.join("?")};d.errorData=function(a,b,
|
31 |
-
|
32 |
-
a.status,
|
33 |
-
|
34 |
-
a.preventDefault();return!1}function b(){
|
35 |
-
e.length;)c=e[q],m[c]?m[c](b,
|
36 |
-
b.attr("href");if(
|
37 |
-
|
38 |
-
b=h('<div class="basic"></div>').append(b).append(
|
39 |
-
previous),!0};d.reload=function(){
|
40 |
-
function(a){return b().init().find(a)};d.script=function(a,b){if(b){if("function"!==typeof b.run)throw Error(a+" macro has no run function");m[a]=b.run;return d}return m[a]};return d}({},
|
41 |
"\u0201":"a","\u0203":"a","\u1ea1":"a","\u1eb7":"a","\u1ead":"a","\u1e01":"a","\u01fd":"\u00e6","\u01e3":"\u00e6","\u1e03":"b","\u1e05":"b","\u1e07":"b","\u0107":"c","\u0109":"c","\u010d":"c","\u010b":"c","\u00e7":"c","\u1e09":"c","\u010f":"d","\u1e0b":"d","\u1e11":"d","\u0111":"d","\u1e0d":"d","\u1e13":"d","\u1e0f":"d","\u00f0":"d","\ua77a":"d","\u01c6":"\u01f3","\u00e9":"e","\u00e8":"e","\u0115":"e","\u00ea":"e","\u1ebf":"e","\u1ec1":"e","\u1ec5":"e","\u1ec3":"e","\u011b":"e","\u00eb":"e","\u1ebd":"e",
|
42 |
"\u0117":"e","\u0229":"e","\u1e1d":"e","\u0119":"e","\u0113":"e","\u1e17":"e","\u1e15":"e","\u1ebb":"e","\u0205":"e","\u0207":"e","\u1eb9":"e","\u1ec7":"e","\u1e19":"e","\u1e1b":"e","\u1e1f":"f","\ua77c":"f","\u01f5":"g","\u011f":"g","\u011d":"g","\u01e7":"g","\u0121":"g","\u0123":"g","\u1e21":"g","\ua7a1":"g","\u1d79":"g","\u0125":"h","\u021f":"h","\u1e27":"h","\u1e23":"h","\u1e29":"h","\u0127":"h","\u210f":"h","\u1e25":"h","\u1e2b":"h","\u1e96":"h","\u00ed":"i","\u00ec":"i","\u012d":"i","\u00ee":"i",
|
43 |
"\u01d0":"i","\u00ef":"i","\u1e2f":"i","\u0129":"i","\u012f":"i","\u012b":"i","\u1ec9":"i","\u0209":"i","\u020b":"i","\u1ecb":"i","\u1e2d":"i","\u0135":"j","\u01f0":"j","\u1e31":"k","\u01e9":"k","\u0137":"k","\ua7a3":"k","\u1e33":"k","\u1e35":"k","\u013a":"l","\u013e":"l","\u013c":"l","\u0142":"l","\u1e37":"l","\u1e39":"l","\u1e3d":"l","\u1e3b":"l","\u0140":"l","\u1e3f":"m","\u1e41":"m","\u1e43":"m","\u0144":"n","\u01f9":"n","\u0148":"n","\u00f1":"n","\u1e45":"n","\u0146":"n","\ua7a5":"n","\u1e47":"n",
|
@@ -49,175 +49,178 @@ function(a){return b().init().find(a)};d.script=function(a,b){if(b){if("function
|
|
49 |
"\u1f95":"\u03b7","\u1f23":"\u03b7","\u1f93":"\u03b7","\u1f27":"\u03b7","\u1f97":"\u03b7","\u1f91":"\u03b7","\u03ae":"\u03b7","\u1f75":"\u03b7","\u1fc4":"\u03b7","\u1f74":"\u03b7","\u1fc2":"\u03b7","\u1fc6":"\u03b7","\u1fc7":"\u03b7","\u1fc3":"\u03b7","\u1f30":"\u03b9","\u1f34":"\u03b9","\u1f32":"\u03b9","\u1f36":"\u03b9","\u1f31":"\u03b9","\u1f35":"\u03b9","\u1f33":"\u03b9","\u1f37":"\u03b9","\u03af":"\u03b9","\u1f77":"\u03b9","\u1f76":"\u03b9","\u1fd0":"\u03b9","\u1fd6":"\u03b9","\u03ca":"\u03b9",
|
50 |
"\u0390":"\u03b9","\u1fd3":"\u03b9","\u1fd2":"\u03b9","\u1fd7":"\u03b9","\u1fd1":"\u03b9","\u1f40":"\u03bf","\u1f44":"\u03bf","\u1f42":"\u03bf","\u1f41":"\u03bf","\u1f45":"\u03bf","\u1f43":"\u03bf","\u03cc":"\u03bf","\u1f79":"\u03bf","\u1f78":"\u03bf","\u1fe4":"\u03c1","\u1fe5":"\u03c1","\u1f50":"\u03c5","\u1f54":"\u03c5","\u1f52":"\u03c5","\u1f56":"\u03c5","\u1f51":"\u03c5","\u1f55":"\u03c5","\u1f53":"\u03c5","\u1f57":"\u03c5","\u03cd":"\u03c5","\u1f7b":"\u03c5","\u1f7a":"\u03c5","\u1fe0":"\u03c5",
|
51 |
"\u1fe6":"\u03c5","\u03cb":"\u03c5","\u03b0":"\u03c5","\u1fe3":"\u03c5","\u1fe2":"\u03c5","\u1fe7":"\u03c5","\u1fe1":"\u03c5","\u1f60":"\u03c9","\u1f64":"\u03c9","\u1fa4":"\u03c9","\u1f62":"\u03c9","\u1fa2":"\u03c9","\u1f66":"\u03c9","\u1fa6":"\u03c9","\u1fa0":"\u03c9","\u1f61":"\u03c9","\u1f65":"\u03c9","\u1fa5":"\u03c9","\u1f63":"\u03c9","\u1fa3":"\u03c9","\u1f67":"\u03c9","\u1fa7":"\u03c9","\u1fa1":"\u03c9","\u03ce":"\u03c9","\u1f7d":"\u03c9","\u1ff4":"\u03c9","\u1f7c":"\u03c9","\u1ff2":"\u03c9",
|
52 |
-
"\u1ff6":"\u03c9","\u1ff7":"\u03c9","\u1ff3":"\u03c9","\u0491":"\u0433","\u0450":"\u0435","\u0451":"\u0435","\u04c2":"\u0436","\u045d":"\u0438","\u04e3":"\u0438","\u04ef":"\u0443"});l.register("$7",function(d,f,h){d.init=function(){function d(a){return y[a]||a}function b(a){return String(a||"").toLowerCase().replace(
|
53 |
-
|
54 |
-
b)},find:function(b,c){return
|
55 |
-
|
56 |
-
q=!0}function
|
57 |
-
a(),
|
58 |
-
q=c.value,m=c.label;
|
59 |
-
|
60 |
-
(m([
|
61 |
-
url:this.url+encodeURIComponent(b)};l.require("$22","http.js").ajax(
|
62 |
-
a.selectIndex(b,!0);return!1}).mouseover(function(){h(this).addClass("over");a.hover=b;return!0}).mouseout(function(){h(this).removeClass("over");a.hover=-1;return!0}),c=null;return a}function c(b){
|
63 |
-
"icon no-icon";++q<
|
64 |
-
e&&b.attr("id",e);
|
65 |
-
var
|
66 |
-
this.over?(this.close(),a.stopPropagation(),a.preventDefault(),!1):!0:(this.open(),a.stopPropagation(),a.preventDefault(),this.handle.focus(),!1)};
|
67 |
-
|
68 |
-
|
69 |
-
(b=b||this.getElement(a),b.addClass("over"))};
|
70 |
-
return this};
|
71 |
-
|
72 |
-
this.options[a];if(c){var e=this,
|
73 |
-
return this};
|
74 |
-
this.index[a],e=this.options[c];e&&(e.text=b,this.getElement(c).find("span.label").text(b),c===this.idx&&this.setLabel(b));return this};
|
75 |
-
null!=c&&this.selectValue(c,!0);this.save=function(c){a.store(b,c)};return this};
|
76 |
-
|
77 |
-
|
78 |
-
[],c=this.options,a=this.selected,
|
79 |
-
m:function(b){return
|
80 |
-
b.getHours()?"am":"pm"},A:function(b){return 12>b.getHours()?"AM":"PM"}}};return d}({},
|
81 |
-
setTimeout(b,3E4)):
|
82 |
-
String(a)+" hour"+(1===a?"":"s")+" ago";if(c)return"";c=Math.floor(e/864E5)-Math.floor(
|
83 |
-
f.ieVersion;d.ie=function(b){return b?
|
84 |
-
!b.target&&
|
85 |
-
|
86 |
-
b=null}function a(a){return"&#"+a.charCodeAt(0)+";"}function
|
87 |
-
b!==a;)
|
88 |
a.find(".button").removeClass("loading");a.find("button").each(b);a.find("input").each(b);a.find("select").each(b);a.find("textarea").each(b);f.attachEvent&&a.hasClass("has-placeholders")&&d.placeholders(a);a.removeClass("disabled").trigger("locoEnable");delete a._disabled},c=d.disable=function(a){function b(a,c){c.disabled?c.setAttribute("data-was-disabled","true"):c.disabled=!0}a._disabled||(a.find(".button").addClass("loading"),a.find("button").each(b),a.find("input").each(b),a.find("select").each(b),
|
89 |
-
a.find("textarea").each(b),a.addClass("disabled").trigger("locoDisable"),a._disabled=!0)};d.jsonify=function(a,d
|
90 |
-
|
91 |
-
for(c in e)e[c].name===
|
92 |
-
a.form.action);
|
93 |
-
f,
|
94 |
-
h(f).triggerHandler("resize");
|
95 |
-
b){if(-1===b.className.indexOf("jshide")){var
|
96 |
-
a),b&&console.debug&&console.debug(b))};d.clear=function(){for(var a=-1,b,c=e
|
97 |
-
|
98 |
-
d&&d(
|
99 |
-
|
100 |
-
return d}({},
|
101 |
-
c=new
|
102 |
-
f.isValid=function(){return!!this.lang};f.isKnown=function(){var a=this.lang;return!(!a||"zxx"===a)};f.toString=function(a){a=a||"-";var b,c=this.lang||"zxx";if(b=this.
|
103 |
-
this.lang).toLowerCase()]};f=null;return d}({},
|
104 |
-
|
105 |
-
|
106 |
-
|
107 |
-
d
|
108 |
-
|
109 |
-
"
|
110 |
-
|
111 |
-
a
|
112 |
-
|
113 |
-
|
114 |
-
|
115 |
-
function
|
116 |
-
|
117 |
-
"
|
118 |
-
|
119 |
-
|
120 |
-
|
121 |
-
|
122 |
-
|
123 |
-
|
124 |
-
q=
|
125 |
-
|
126 |
-
|
127 |
-
return this}
|
128 |
-
|
129 |
-
TextAreaPrototype.
|
130 |
-
this.
|
131 |
-
|
132 |
-
a
|
133 |
-
a;this
|
134 |
-
|
135 |
-
|
136 |
-
this.
|
137 |
-
|
138 |
-
|
139 |
-
|
140 |
-
|
141 |
-
|
142 |
-
|
143 |
-
c
|
144 |
-
|
145 |
-
|
146 |
-
|
147 |
-
|
148 |
-
|
149 |
-
|
150 |
-
|
151 |
-
|
152 |
-
|
153 |
-
|
154 |
-
|
155 |
-
|
156 |
-
this.
|
157 |
-
a);
|
158 |
-
|
159 |
-
|
160 |
-
|
161 |
-
|
162 |
-
function(
|
163 |
-
|
164 |
-
c)
|
165 |
-
|
166 |
-
|
167 |
-
"
|
168 |
-
|
169 |
-
|
170 |
-
|
171 |
-
|
172 |
-
this.
|
173 |
-
|
174 |
-
|
175 |
-
|
176 |
-
|
177 |
-
|
178 |
-
|
179 |
-
|
180 |
-
[
|
181 |
-
|
182 |
-
|
183 |
-
|
184 |
-
|
185 |
-
this.
|
186 |
-
a
|
187 |
-
|
188 |
-
|
189 |
-
a
|
190 |
-
|
191 |
-
|
192 |
-
|
193 |
-
|
194 |
-
|
195 |
-
|
196 |
-
|
197 |
-
b
|
198 |
-
|
199 |
-
|
200 |
-
|
201 |
-
|
202 |
-
|
203 |
-
|
204 |
-
f.
|
205 |
-
return
|
206 |
-
|
207 |
-
|
208 |
-
|
209 |
-
|
210 |
-
c.
|
211 |
-
|
212 |
-
|
213 |
-
f
|
214 |
-
d=
|
215 |
-
|
216 |
-
|
217 |
-
|
218 |
-
|
219 |
-
b
|
220 |
-
c=a;var
|
221 |
-
|
222 |
-
|
223 |
-
|
|
|
|
|
|
1 |
+
(function(v,z,h,S){var l=function(){var d={};return{register:function(f,h){d[f]=h},require:function(f,h){var p=d[f];if(!p)throw Error('CommonJS error: failed to require("'+h+'")');return p}}}();l.register("$1",function(d,f,h){function p(b){var c=typeof b;if("string"===c)if(/[^ <>!=()%^&|?:n0-9]/.test(b))console.error("Invalid plural: "+b);else return new Function("n","return "+b);"function"!==c&&(b=function(a){return 1!=a});return b}d.init=function(b){function c(e,b,c){return(e=a[e])&&e[c]?e[c]:b||
|
2 |
+
""}b=p(b);var a={};return{_:function(a){return c(a,a,0)},_x:function(a,b){return c(b+"\u0004"+a,a,0)},_n:function(a,n,k){k=Number(b(k));isNaN(k)&&(k=0);return c(a,k?n:a,k)},load:function(e){a=e||{};return this},pluraleq:function(a){b=p(a);return this}}};return d}({},v,z));l.register("$2",function(d,f,h){Array.prototype.indexOf||(Array.prototype.indexOf=function(d){if(null==this)throw new TypeError;var b,c=Object(this),a=c.length>>>0;if(0===a)return-1;b=0;1<arguments.length&&(b=Number(arguments[1]),
|
3 |
+
b!=b?b=0:0!=b&&Infinity!=b&&-Infinity!=b&&(b=(0<b||-1)*Math.floor(Math.abs(b))));if(b>=a)return-1;for(b=0<=b?b:Math.max(a-Math.abs(b),0);b<a;b++)if(b in c&&c[b]===d)return b;return-1});return d}({},v,z));l.register("$3",function(d,f,h){d.trim=function(d,b){for(b||(b=" \n");d&&-1!==b.indexOf(d.substr(0,1));)d=d.substr(1);for(;d&&-1!==b.indexOf(d.substr(-1));)d=d.substr(0,d.length-1);return d};d.sprintf=function(d){var b=0,c,a=[].slice.call(arguments,1);return d.replace(/%(s|u|%)/g,function(e,n){if("%"===
|
4 |
+
n)return"%";c=a[b++];return String(c)||""})};return d}({},v,z));l.register("$47",function(d,f,h){function p(){var b=a;e&&(b="("+e+") "+b);h.title=b}function b(e){e||(e=c);e!==a&&(a=e,p())}var c=h.title,a=c,e=0;d.set=function(a){b(a);return d};d.get=function(){return a};d.replace=function(e,c){b(a.replace(e,c));return d};d.badge=function(a){isNaN(a=Number(a))&&(a=0);a!==e&&(e=a,p());return d};return d}({},v,z));l.register("$40",function(d,f,h){function p(e){a||f._gat&&(a=_gat._createTracker(b,"loco"));
|
5 |
+
if(a){var n=e.shift();a[n].apply(a,e)}else c&&c.push(e);return d}var b,c,a;d._init=function(a){if(b=a.code){c=f._gaq||(f._gaq=[]);c.push(["_setAccount",b]);c.push(["_trackPageview"]);c.push(["_setDomainName",a.host]);a=h.createElement("script");a.type="text/javascript";a.async=!0;a.src=("https:"==h.location.protocol?"https://ssl":"http://www")+".google-analytics.com/ga.js";var n=h.getElementsByTagName("script")[0];n.parentNode.insertBefore(a,n)}return d};d.event=function(a,b,c,g){return p(["_trackEvent",
|
6 |
+
a||"",b||"",c||"",g||0])};d.page=function(a,b){var c={page:a||location.pathname+location.hash,title:b||l.require("$47","title.js").get()};return p(["_trackPageview",c])};return d}({},v,z));l.register("$41",function(d,f,h){function p(a,e){if(b)b[a](e);else f.ga&&ga(a,e);return d}var b,c;d._init=function(a){a.code&&(function(a,b,c,g,m,y,d){a.GoogleAnalyticsObject=m;a[m]=a[m]||function(){(a[m].q=a[m].q||[]).push(arguments)};a[m].l=1*new Date;y=b.createElement(c);d=b.getElementsByTagName(c)[0];y.async=
|
7 |
+
1;y.src=g;d.parentNode.insertBefore(y,d)}(f,h,"script","//www.google-analytics.com/analytics.js","ga"),ga("create",a.code,{alwaysSendReferrer:!0,userId:a.user}),a.custom&&p("set",a.custom),d.page(),ga(function(a){b=a}));return d};d.event=function(a,e,b,c){return p("send",{hitType:"event",eventCategory:a||"",eventAction:e||"",eventLabel:b||"",eventValue:Number(c||0)})};d.page=function(a,e){var b={hitType:"pageview",page:a||location.pathname+location.hash,title:e||l.require("$47","title.js").get()};
|
8 |
+
b.location=location.protocol+"//"+location.hostname+b.page;c&&p("set",{referrer:c});c=b.location;return p("send",b)};d.reset=function(){c=location.href;var a={page:location.pathname+location.hash,title:l.require("$47","title.js").get(),location:c};p("set",a);return d};return d}({},v,z));l.register("$31",function(d,f,B){function p(a,c){h(a).click(function(a){b&&b.event(c,"click",this.getAttribute("href")||"");return!0});a=null;return d}var b,c=location.hostname,a="/help"===location.pathname.substr(0,
|
9 |
+
5);d.init=function(a){!b&&a&&(c=a.host||(a.host=c),b=a.legacy?l.require("$40","legacy.js"):l.require("$41","universal.js"),b._init(a));return d};d.link=function(b){for(var n=b.getAttribute("href");n&&"#"!==n;){if(0===n.indexOf("#"))return p(b,"anchor");if("/help"===n.substr(0,5)&&!a)b.setAttribute("target","_blank");else if(0===n.indexOf("http")||0===n.indexOf("//")){if(-1!==n.indexOf(c)&&/^(https?:)*\/\/([^\/]+)/.exec(n)&&c===RegExp.$2)break;b.setAttribute("target","_blank");p(b,"external")}break}return d};
|
10 |
+
d.page=function(){b&&b.page.apply(b,arguments);return d};d.event=function(){b&&b.event.apply(b,arguments);return d};d.reset=function(){b&&b.reset&&b.reset();return d};return d}({},v,z));l.register("$35",function(d,f,l){function p(a,b,n,d,g){function m(){s&&clearTimeout(s);r&&r.fadeOut(400,function(){h(this).remove();r=null});return!1}function y(){C();-1!==d&&(s=setTimeout(m,d||2E3));r.off("mouseleave").on("mouseenter",C)}function C(){s&&clearTimeout(s);s=null;r.off("mouseenter").on("mouseleave",y)}
|
11 |
+
var s;c||(c=l.createElement("div"),c.id="growls",l.body.appendChild(c));var r=h('<div class="growl growl-'+n+'"><div><a class="close" href="#"><span>X</span></a><span class="badge"></span><p class="message"></p><small class="caption"></small></div></div>');r.find("p").text(a||"Empty message");b?r.find("small").text(b):r.find("small").remove();if(g.length){g.push({label:"Cancel",callback:m,css:"cancel"});var A,q=h('<form action="#" class="dialog"></form>');b=function(a,b){A=h('<input type="button" value="'+
|
12 |
+
b.label+'" class="butt '+(b.css||"")+'" />');A.click(function(a){"function"===typeof b.callback&&b.callback(a,{close:m})});q.append(A);return A};for(a=0;a<g.length;a++)b(a,g[a]);r.append(q)}h(c).prepend(r.hide().fadeIn(400));r.find("a").click(m);y()}var b,c;d.init=function(){if(!b)return b=f.alert,f.alert=function(a){a=String(a).split("\n");var b=a[1]&&a.slice(1).join("\n");d.alert(a[0],b)},d};d.debug=function(a){b(a);return d};d.alert=function(a,e,c,d,g){try{return p(a,e||"",c||"alert",d||4E3,g||
|
13 |
+
[]),!0}catch(m){return a+="\n\n--\n"+(m.message||m),b.call(f,a),!1}};d.success=function(a,b,c){return d.alert(a,b,"success",c||2E3)};d.dialog=function(a,b,c,k){return d.alert(a,b,k||"alert",-1,c)};return d}({},v,z));l.register("$42",function(d,f,l){function p(a){return 27===a.keyCode&&r&&A?(H(),a.preventDefault(),!1):!0}function b(a){if(r){a=f.innerWidth;var b=f.innerHeight;a!==E&&(E=a,I(u));b!==w&&(w=b,s&&c())}return!0}function c(){var a=n.outerHeight(!0)-s.clientHeight;s.style.maxHeight=String(w-
|
14 |
+
a)+"px"}function a(a){a?(m.show(),k.addClass("has-title")):(m.hide(),k.removeClass("has-title"))}var e,n,k,g,m,y,C,s,r=!1,A=!1,q=!1,G,D,E,u,w,F=d.init=function(){if(!e){e=h('<div id="overlay"></div>');n=h('<div class="overlay-frame"></div>');k=h('<div class="overlay-container"></div>');m=h('<div class="overlay-title"><span class="icon"></span><span class="title">Untitled</span></div>');y=h("<nav></nav>");C=h('<a class="overlay-close" href="#"><span>x</span></a>');g=h('<div class="overlay-bg"></div>');
|
15 |
+
e.append(n.append(k)).append(g).prependTo(l.body);h(l).on("keydown",p);h(f).resize(b);E=f.innerWidth;w=f.innerHeight;D=k.outerWidth(!0)-k.width()+(n.innerWidth()-n.width());G=parseInt(k.css("width"));if(!G||isNaN(G))G=k.width();y.hide().prependTo(n);m.append(C.hide()).hide().prependTo(n);e.hide()}return e},I=d.width=function(a){var b=F();if(null===a)n.css("width",""),k.css("width","");else{a=a||G||640;x=a+D;u=a;var q=E;x>q?(x=q,a=x-D,b.addClass("spill")):b.removeClass("spill");n.css("width",x+"px");
|
16 |
+
k.css("width",a+"px")}return d};d.autoSize=function(){var a=F(),b=G||0;k.children().each(function(a,q){b=Math.max(b,h(q).outerWidth(!0))});I(b);if(s=a.find("div.overlay-scroll")[0])w=f.innerHeight,c();return d};d.css=function(a){F().attr("class",a);return d};d.think=function(){F().addClass("loading");return d};d.unthink=function(){F().removeClass("loading");return d};d.html=function(a){F();f.innerShiv&&(a=innerShiv(a,!1));return k.html(a)};d.append=function(a){F();a instanceof jQuery||(a=h(a));k.append(a);
|
17 |
+
return d};var H=d.close=function(a){if(r){var b=function(){F().hide();h(l.body).removeClass("has-overlay");r=!1;k.html("");r=null;e.trigger("overlayClosed",[d])};null==a&&(a=300);e.trigger("overlayClosing",[d]);a?e.fadeOut(a,b):b()}return d};d.title=function(b,g){F();var e="",c=m.find("span");g&&/^lang lang-(\w+)/.exec(g)&&(e=RegExp.$1);c.eq(0).attr("class",g||"icon").attr("lang",e);q=b||"";c.eq(1).text(q);null!=b?a(!0):A||a(!1);return d};d.enableClose=function(){F();A=!0;C.off("click").on("click",
|
18 |
+
function(a){H();return!1});a(!0);C.show();return d};d.disableClose=function(){F();A=!1;C.hide();r&&q||a(!1);return d};d.enableNav=function(a){y.append(a);y.show();return d};d.disableNav=function(){y.html("").hide();return d};d.open=function(){F();k.html("");I(G);e.attr("class","");h(l.body).addClass("has-overlay");F().show();r=!0;d.title(null);A&&a(!0);e.trigger("overlayOpened",[d]);return d};d.active=function(){return r};d.listen=function(a){F().on("overlayClosed",a);return d};d.unlisten=function(a){F().off("overlayClosed",
|
19 |
+
a);return d};return d}({},v,z));l.register("$11",function(d,f,l){function p(a,b){this.$element=h(a);this.options=b;this.enabled=!0;this.fixTitle()}d.init=function(a,e){var n={fade:!0,offset:5,delayIn:b,delayOut:c,anchor:a.attr("data-anchor"),gravity:a.attr("data-gravity")||"s"};e&&(n=h.extend({},n,e));a.tipsy(n)};d.delays=function(a,e){b=a||150;c=e||100};d.kill=function(){h("div.tipsy").remove()};d.text=function(a,b){b.data("tipsy").setTitle(a)};var b,c;d.delays();h(l.body).on("overlayOpened overlayClosing",
|
20 |
+
function(a){d.kill();return!0});p.prototype={show:function(){var a=this.getTitle();if(a&&this.enabled){var b=this.tip();b.find(".tipsy-inner")[this.options.html?"html":"text"](a);b[0].className="tipsy";b.remove().css({top:0,left:0}).prependTo(l.body);var a=(a=this.options.anchor)?this.$element.find(a):this.$element,a=h.extend({},a.offset(),{width:a[0].offsetWidth,height:a[0].offsetHeight}),c=b[0].offsetWidth,d=b[0].offsetHeight,g="function"==typeof this.options.gravity?this.options.gravity.call(this.$element[0]):
|
21 |
+
this.options.gravity,m;switch(g.charAt(0)){case "n":m={top:a.top+a.height+this.options.offset,left:a.left+a.width/2-c/2};break;case "s":m={top:a.top-d-this.options.offset,left:a.left+a.width/2-c/2};break;case "e":m={top:a.top+a.height/2-d/2,left:a.left-c-this.options.offset};break;case "w":m={top:a.top+a.height/2-d/2,left:a.left+a.width+this.options.offset}}2==g.length&&("w"==g.charAt(1)?m.left=a.left+a.width/2-15:m.left=a.left+a.width/2-c+15);b.css(m).addClass("tipsy-"+g);b.find(".tipsy-arrow")[0].className=
|
22 |
+
"tipsy-arrow tipsy-arrow-"+g.charAt(0);this.options.className&&b.addClass("function"==typeof this.options.className?this.options.className.call(this.$element[0]):this.options.className);b.addClass("in")}},hide:function(){this.tip().remove()},fixTitle:function(){var a=this.$element,b=a.attr("title")||"";(b||"string"!==typeof a.attr("original-title"))&&a.attr("original-title",b).removeAttr("title")},getTitle:function(){var a,b=this.$element,c=this.options;this.fixTitle();"string"==typeof c.title?a=
|
23 |
b.attr("title"==c.title?"original-title":c.title):"function"==typeof c.title&&(a=c.title.call(b[0]));return(a=(""+a).replace(/(^\s*|\s*$)/,""))||c.fallback},setTitle:function(a){var b=this.$element;b.attr("default-title")||b.attr("default-title",this.getTitle());null==a&&(a=b.attr("default-title")||this.getTitle());b.attr("original-title",a);if(this.$tip)this.$tip.find(".tipsy-inner")[this.options.html?"html":"text"](a)},tip:function(){this.$tip||(this.$tip=h('<div class="tipsy"></div>').html('<div class="tipsy-arrow"></div><div class="tipsy-inner"></div>'),
|
24 |
+
this.$tip.data("tipsy-pointee",this.$element[0]));return this.$tip},validate:function(){this.$element[0].parentNode||(this.hide(),this.options=this.$element=null)},enable:function(){this.enabled=!0},disable:function(){this.hide();this.enabled=!1},toggleEnabled:function(){this.enabled=!this.enabled}};h.fn.tipsy=function(a){function b(g){var c=h.data(g,"tipsy");c||(c=new p(g,h.fn.tipsy.elementOptions(g,a)),h.data(g,"tipsy",c));return c}function c(){var g=b(this),m=a.delayIn;g.hoverState="in";0==m?g.show():
|
25 |
+
(g.fixTitle(),setTimeout(function(){"in"==g.hoverState&&g.show()},m))}function d(){var g=b(this),c=a.delayOut;g.hoverState="out";0==c?g.hide():(g.tip().removeClass("in"),setTimeout(function(){"out"==g.hoverState&&g.hide()},c))}a=h.extend({},h.fn.tipsy.defaults,a);a.live||this.each(function(){b(this)});if("manual"!=a.trigger){var g=a.live?"live":"bind",m="hover"==a.trigger?"mouseleave":"blur";this[g]("hover"==a.trigger?"mouseenter":"focus",c)[g](m,d)}return this};h.fn.tipsy.defaults={className:null,
|
26 |
+
delayIn:0,delayOut:0,fade:!1,fallback:"",gravity:"n",html:!1,live:!1,offset:0,opacity:0.8,title:"title",trigger:"hover",anchor:null};h.fn.tipsy.elementOptions=function(a,b){return h.metadata?h.extend({},b,h(a).metadata()):b};h.fn.tipsy.autoNS=function(){return h(this).offset().top>h(l).scrollTop()+h(f).height()/2?"s":"n"};h.fn.tipsy.autoWE=function(){return h(this).offset().left>h(l).scrollLeft()+h(f).width()/2?"e":"w"};h.fn.tipsy.autoBounds=function(a,b){return function(){var c=b[0],d=1<b.length?
|
27 |
+
b[1]:!1,g=h(l).scrollTop()+a,m=h(l).scrollLeft()+a,y=h(this);y.offset().top<g&&(c="n");y.offset().left<m&&(d="w");h(f).width()+h(l).scrollLeft()-y.offset().left<a&&(d="e");h(f).height()+h(l).scrollTop()-y.offset().top<a&&(c="s");return c+(d?d:"")}};return d}({},v,z));l.register("$8",function(d,f,l){d.listen=function(d,b){function c(){s[k?"show":"hide"]()}function a(a){C&&d.setAttribute("size",a.length||1);k=a;c();return a}function e(){g=null;b(k)}function n(){var b=d.value;y&&b===y&&(b="");b!==k&&
|
28 |
+
(g&&clearTimeout(g),a(b),m?g=setTimeout(e,m):e())}var k,g;d=d instanceof jQuery?d[0]:d;var m=150,y=f.attachEvent&&d.getAttribute("placeholder"),C=1===Number(d.size),s=h('<a href="#clear" tabindex="-1" class="icon clear"><span>clear</span></a>').click(function(a){d.value="";n();return!1});a(d.value);h(d).on("input blur focus",function(){n();return!0}).after(s);c();return{delay:function(a){m=a},ping:function(b){b?(g&&clearTimeout(g),b=d.value,y&&b===y&&(b=""),a(b),e(),b=void 0):b=n();return b},val:function(b){if(null==
|
29 |
+
b)return k;g&&clearTimeout(g);d.value=a(b);c()},el:function(){return d},blur:function(a){return h(d).on("blur",a)}}};return d}({},v,z));l.register("$22",function(d,f,B){var p,b,c={401:"Authorization Required",422:"Invalid data sent to server",404:"Not Found",500:"Server Error",502:"Bad Gateway",503:"Service unavailable",504:"Gateway timeout"};d.keepAlive=function(a){p=a;b&&clearTimeout(b);b=setTimeout(function(){b=null;d.ajax({url:"/ajax/user/session.json"})},a)};d.jsonLink=function(a){if(!a)return"";
|
30 |
+
a=a.split("?");a[0]=a[0].replace(/(\.[a-z0-9]{1,4})?$/i,".json");return a.join("?")};d.errorData=function(a,b,d){var k,g;d=a.responseText;b=a.status;if(!d&&0===b)return null;try{k=h.parseJSON(d)||{}}catch(m){k={},g=c[a.status]||m.message||m}k.error=g||k.error||k.statusText||a.statusText||c[b]||"Unknown Error";return k};d.ajax=function(a,b,n,k){function g(a){function b(a){var q=a&&a[0];if(!q||B.contains&&!B.contains(q))a=h(B.body);return a}a.alert&&alert(a.alert);var g=a.events,g=a.success,c=b(k);
|
31 |
+
g&&l.require("$35","growl.js").success.apply(null,g.push?g:[g]);c.trigger("locoAjaxSuccess",[a]);if((g=a.events)&&g.length)for(var e,q=l.require("$31","ga.js");e=g.shift();)c=b(c),c.trigger(e,[a]),q.event("ajax",e);if(c=a.download)f.location.assign(c);else if(c=a.redirect)if(0===c.indexOf("/modal/"))a.modal={url:c};else return f.location.assign(c),!1;else if(a.reload)return f.location.reload(),!1;(c=a.modal)&&l.require("$32","modal.js").replace(c);n&&n();return!0}function m(a,m,k){if("abort"!==m){var r=
|
32 |
+
a.status,A;if(401===r)l.require("$32","modal.js").load("/modal/user/ping.json?r="+encodeURIComponent(location.pathname),c[r]);else{if("parsererror"===m)f.console&&console.error&&console.error(r,a.responseText),A=404===r?"Ajax service not found":/^\s+Fatal error/.test(a.responseText)?"Fatal server error from Ajax request":"Bad Ajax response";else{var q=d.errorData(a,m,k);q&&q.error&&(A=q.error)}"function"===typeof b&&!1===b(null,A,r,a)?n&&n():q&&q.data&&!g(q.data)||(alert(A||"Unknown Ajax error"),
|
33 |
+
n&&n())}}}(a.headers||(a.headers={}))["X-Loco-Csrf"]=f.loco&&J.csrf||"";a.error=m;a.success=function(a,k,s){if(!a||"object"!==typeof a)return m(s,"unknown");p&&d.keepAlive(p);(a.status||a.error)&&alert(a.error||a.statusText||s.statusText||c[a.status]||"Unknown Error");"function"===typeof b&&!1===b(a&&a.data?a.data:a,null,k,s)?n&&n():a&&a.data?g(a.data):n&&n()};-1!==a.url.indexOf(".json")&&(a.dataType="json");return h.ajax(a)};return d}({},v,z));l.register("$32",function(d,f,B){function p(a){a.stopPropagation();
|
34 |
+
a.preventDefault();return!1}function b(){k||(k=l.require("$42","overlay.js"),k.listen(e));return k}function c(){var a=y.length-1,b=y[a],g=h('<a class="has-icon icon-back" data-gravity="w">Back</a>').attr("href",b[0]).attr("title",b[1]).click(function(g){if(y[a]===b&&A())return p(g)});k.enableNav(g);l.require("$11","tooltip.js").init(g)}function a(a,g){b().autoSize();var e=k.init();l.require("$18","html.js").init(e);y.length&&c();e.find("[data-script]").each(function(a,b){b=h(b);for(var q=-1,c,e=b.attr("data-script").split(" ");++q<
|
35 |
+
e.length;)c=e[q],m[c]?m[c](b,g||{}):alert("Unknown script "+c)});e.trigger("locoModalLoaded",[k,a||"",g||{}]);var r,d=e.find("form")[0],w;if(d)a:for(e=0;e<d.elements.length;e++)switch(r=d.elements[e],r.type){case "text":case "email":case "textarea":w=Number(r.getAttribute("tabindex"));if(isNaN(w)||100>w)continue a;h(r).focus();break a}}function e(){C=null;y=[];return!0}function n(a){var b=h(a.currentTarget),g=b.attr("data-modal");if("back"===g){if(A())return p(a);g="close"}if("close"===g){r();var c=
|
36 |
+
b.attr("href");if(c&&-1!==c.indexOf("#!"))return!0}else{var e="submit"===a.type,m=b.attr("title")||b.attr("data-title"),c=b.attr("href")||b.attr("action"),d=e?b.serialize():"",e=e?b.attr("method"):"get";g||(g=c.split("/").slice(1,4).join("-"));b.trigger("locoModalInvoked",[]);s(c,m,e,d,"modal "+g)}return p(a)}var k,g=l.require("$31","ga.js"),m={},y=[],C,s=d.load=function(c,e,m,r,n){var w=C;C=[].slice.call(arguments);w&&c!==w[0]&&(y.push(w),c+=-1===c.indexOf("?")?"?":"&",c+="r="+encodeURIComponent(w[0]));
|
37 |
+
w=b();w.active()||w.open().css("modal").html('<div class="loading"></div>');w.title("Loading ..").disableClose().disableNav();n&&k.width(null).css(n).autoSize();w.think();var w=c.split("#"),A=w[1];A&&(c=w[0]);var w=l.require("$22","http.js"),f={type:m||"get",data:r||"",url:w.jsonLink(c)};w.ajax(f,function(b,d,w){var f=b&&b.html;if(!f)return b&&b.redirect?(C=y.pop()||null,s(b.redirect,e,m,r,n)):(b=h('<h3 class="error"></h3>').text(d||"Unknown error"),d=h('<footer class="buttonset"><a href="/" data-modal="close" class="has-icon icon-ok">Close</a></footer>'),
|
38 |
+
b=h('<div class="basic"></div>').append(b).append(d),d="Error",w&&200!==w&&(d+=" "+w),k.unthink().enableClose().title(d).html("").append(b),l.require("$18","html.js").init(k.init())),!1;e=b.title||e||"Untitled";C&&(C[1]=e);k.unthink().enableClose().title(e,b.icon).html(f);w=b.js||{};A&&(w["#"]=A);a(c,w);g.page(c,e);k.init().one("overlayClosed",function(){g.reset()});return!0});return d},r=d.close=function(){b().close();return d},A=d.back=function(){if(previous=y.pop())return C=y[y.length-2],s.apply(null,
|
39 |
+
previous),!0};d.reload=function(){C&&s.apply(null,C)};d.postback=function(a){C&&(C[2]="post",C[3]=a,s.apply(null,C))};d.initLink=function(a){a.click(n)};d.initForm=function(a){h(a).submit(n)};d.replace=function(c){b();var g=c&&c.html,e=c&&c.url,m=c&&c.title,r=c&&c.action;if(e)g=y.length-1,g=0<=g?y[g][0]:void 0,e===g?A():(c=c&&c.css||e.split("/").slice(1,4).join("-"),s(e,m,"","",c));else if(g)k.open().html(g),m&&k.enableClose().title(m),a("",c&&c.js);else if("function"===typeof d[r])d[r]()};d.find=
|
40 |
+
function(a){return b().init().find(a)};d.script=function(a,b){if(b){if("function"!==typeof b.run)throw Error(a+" macro has no run function");m[a]=b.run;return d}return m[a]};return d}({},v,z));l.register("$21",{"\u00e1":"a","\u00e0":"a","\u0103":"a","\u1eaf":"a","\u1eb1":"a","\u1eb5":"a","\u1eb3":"a","\u00e2":"a","\u1ea5":"a","\u1ea7":"a","\u1eab":"a","\u1ea9":"a","\u01ce":"a","\u00e5":"a","\u01fb":"a","\u00e4":"a","\u01df":"a","\u00e3":"a","\u0227":"a","\u01e1":"a","\u0105":"a","\u0101":"a","\u1ea3":"a",
|
41 |
"\u0201":"a","\u0203":"a","\u1ea1":"a","\u1eb7":"a","\u1ead":"a","\u1e01":"a","\u01fd":"\u00e6","\u01e3":"\u00e6","\u1e03":"b","\u1e05":"b","\u1e07":"b","\u0107":"c","\u0109":"c","\u010d":"c","\u010b":"c","\u00e7":"c","\u1e09":"c","\u010f":"d","\u1e0b":"d","\u1e11":"d","\u0111":"d","\u1e0d":"d","\u1e13":"d","\u1e0f":"d","\u00f0":"d","\ua77a":"d","\u01c6":"\u01f3","\u00e9":"e","\u00e8":"e","\u0115":"e","\u00ea":"e","\u1ebf":"e","\u1ec1":"e","\u1ec5":"e","\u1ec3":"e","\u011b":"e","\u00eb":"e","\u1ebd":"e",
|
42 |
"\u0117":"e","\u0229":"e","\u1e1d":"e","\u0119":"e","\u0113":"e","\u1e17":"e","\u1e15":"e","\u1ebb":"e","\u0205":"e","\u0207":"e","\u1eb9":"e","\u1ec7":"e","\u1e19":"e","\u1e1b":"e","\u1e1f":"f","\ua77c":"f","\u01f5":"g","\u011f":"g","\u011d":"g","\u01e7":"g","\u0121":"g","\u0123":"g","\u1e21":"g","\ua7a1":"g","\u1d79":"g","\u0125":"h","\u021f":"h","\u1e27":"h","\u1e23":"h","\u1e29":"h","\u0127":"h","\u210f":"h","\u1e25":"h","\u1e2b":"h","\u1e96":"h","\u00ed":"i","\u00ec":"i","\u012d":"i","\u00ee":"i",
|
43 |
"\u01d0":"i","\u00ef":"i","\u1e2f":"i","\u0129":"i","\u012f":"i","\u012b":"i","\u1ec9":"i","\u0209":"i","\u020b":"i","\u1ecb":"i","\u1e2d":"i","\u0135":"j","\u01f0":"j","\u1e31":"k","\u01e9":"k","\u0137":"k","\ua7a3":"k","\u1e33":"k","\u1e35":"k","\u013a":"l","\u013e":"l","\u013c":"l","\u0142":"l","\u1e37":"l","\u1e39":"l","\u1e3d":"l","\u1e3b":"l","\u0140":"l","\u1e3f":"m","\u1e41":"m","\u1e43":"m","\u0144":"n","\u01f9":"n","\u0148":"n","\u00f1":"n","\u1e45":"n","\u0146":"n","\ua7a5":"n","\u1e47":"n",
|
49 |
"\u1f95":"\u03b7","\u1f23":"\u03b7","\u1f93":"\u03b7","\u1f27":"\u03b7","\u1f97":"\u03b7","\u1f91":"\u03b7","\u03ae":"\u03b7","\u1f75":"\u03b7","\u1fc4":"\u03b7","\u1f74":"\u03b7","\u1fc2":"\u03b7","\u1fc6":"\u03b7","\u1fc7":"\u03b7","\u1fc3":"\u03b7","\u1f30":"\u03b9","\u1f34":"\u03b9","\u1f32":"\u03b9","\u1f36":"\u03b9","\u1f31":"\u03b9","\u1f35":"\u03b9","\u1f33":"\u03b9","\u1f37":"\u03b9","\u03af":"\u03b9","\u1f77":"\u03b9","\u1f76":"\u03b9","\u1fd0":"\u03b9","\u1fd6":"\u03b9","\u03ca":"\u03b9",
|
50 |
"\u0390":"\u03b9","\u1fd3":"\u03b9","\u1fd2":"\u03b9","\u1fd7":"\u03b9","\u1fd1":"\u03b9","\u1f40":"\u03bf","\u1f44":"\u03bf","\u1f42":"\u03bf","\u1f41":"\u03bf","\u1f45":"\u03bf","\u1f43":"\u03bf","\u03cc":"\u03bf","\u1f79":"\u03bf","\u1f78":"\u03bf","\u1fe4":"\u03c1","\u1fe5":"\u03c1","\u1f50":"\u03c5","\u1f54":"\u03c5","\u1f52":"\u03c5","\u1f56":"\u03c5","\u1f51":"\u03c5","\u1f55":"\u03c5","\u1f53":"\u03c5","\u1f57":"\u03c5","\u03cd":"\u03c5","\u1f7b":"\u03c5","\u1f7a":"\u03c5","\u1fe0":"\u03c5",
|
51 |
"\u1fe6":"\u03c5","\u03cb":"\u03c5","\u03b0":"\u03c5","\u1fe3":"\u03c5","\u1fe2":"\u03c5","\u1fe7":"\u03c5","\u1fe1":"\u03c5","\u1f60":"\u03c9","\u1f64":"\u03c9","\u1fa4":"\u03c9","\u1f62":"\u03c9","\u1fa2":"\u03c9","\u1f66":"\u03c9","\u1fa6":"\u03c9","\u1fa0":"\u03c9","\u1f61":"\u03c9","\u1f65":"\u03c9","\u1fa5":"\u03c9","\u1f63":"\u03c9","\u1fa3":"\u03c9","\u1f67":"\u03c9","\u1fa7":"\u03c9","\u1fa1":"\u03c9","\u03ce":"\u03c9","\u1f7d":"\u03c9","\u1ff4":"\u03c9","\u1f7c":"\u03c9","\u1ff2":"\u03c9",
|
52 |
+
"\u1ff6":"\u03c9","\u1ff7":"\u03c9","\u1ff3":"\u03c9","\u0491":"\u0433","\u0450":"\u0435","\u0451":"\u0435","\u04c2":"\u0436","\u045d":"\u0438","\u04e3":"\u0438","\u04ef":"\u0443"});l.register("$7",function(d,f,h){d.init=function(){function d(a){return y[a]||a}function b(a){return String(a||"").toLowerCase().replace(g,d)}function c(a,b,c,g){b=a.split(b);for(var q=b.length;0!==q--;)(a=b[q])&&null==g[a]&&(c.push(a),g[a]=!0);return c}function a(a){return c(b(a),m,[],{})}function e(a,g){for(var e=[],
|
53 |
+
d={},q,y=g.length,n=m;0!==y--;)(q=g[y])&&c(b(q),n,e,d);k[a]=e}function n(a,b){var c=[],g=-1,q=k,e=q.length,m,d,y,w,n,f,h=a.length,p=b?!0:!1;a:for(;++g<e;)if(y=q[g],null!=y&&(w=y.length)){n=0;b:for(;n<h;n++){f=a[n];for(m=0;m<w;m++)if(d=y[m],0===d.indexOf(f))continue b;continue a}c.push(p?b[g]:g)}return c}var k=[],g=/[^a-z0-9]/g,m=/[\-_\s.?!;:,*^+=~`"(){}<>\[\]\/\\\u00a0\u1680\u180e\u2000-\u206f\u2e00-\u2e7f\u3000-\u303f]+/,y=l.require("$21","flatten.json");return{split:a,norm:b,pull:function(a,b){return n(a,
|
54 |
+
b)},find:function(b,c){return n(a(b),c)},add:function(b,c){k[b]=a(c)},push:function(a){e(k.length,a)},index:function(a,b){e(a,b)},size:function(){return k.length},clear:function(){k=[]},remove:function(a){k[a]=null}}};return d}({},v,z));l.register("$23",function(d,f,h){d.create=function(){var d=[],b=l.require("$7","fulltext.js").init();return{add:function(c,a){b.add(d.length,a);d.push(c);return this},find:function(c){return b.find(c,d)},clear:function(){d=[];b.clear();return this}}};return d}({},
|
55 |
+
v,z));l.register("$10",function(d,f,B){function p(b){-1===b.indexOf("?")&&(b="/auto/"+b+".json?q=");this.url=b;this.dead={}}function b(){this.dict=l.require("$23","dict.js").create()}d.init=function(c){function a(){if("hint"!==I){var a=w.val()&&!(K&&K.val())&&null==E&&!q;B[a?"addClass":"removeClass"]("error")}}function e(a){K&&K.val(a)}function d(){v.show();var a=w.outerWidth(!1),b=w.outerHeight(!1),c=w.css("margin-top");c&&(c=parseInt(c),isNaN(c)||(b+=c));a-=2;v.css("top",b+"px").css("width",a+"px");
|
56 |
+
q=!0}function k(){v.hide();q=!1}function g(){v.html("");k();A=0;u=E=null}function m(b){g();var c;for(c=0;c<b.length;c++){var q=c,e=b[c],m=e.value,r=e.lang||m.lang,w=h('<span class="label"></span>').text(e.label),k=h('<div class="auto-comp-result"></div>'),D=void 0,s=void 0;if(s=e.icon)D=h("<span></span>").attr("class",s).appendTo(k),r?(D.attr("lang",r),e.lang=r):-1!==s.indexOf("lang-"+m)&&(D.attr("lang",m),e.lang=m);for(s in e)k.data(s,e[s]);k.append(w);y(q,k)}(A=b.length)?(G&&d(),f(0)):(f(null),
|
57 |
+
a(),B.trigger("locoAutonone",[]))}function y(a,b){v.append(b);b.click(function(c){c.stopPropagation();f(a,b);r();return!1});return b}function f(a,b){u&&(u.removeClass("selected"),u=null);E=null;null==a?e(""):(b||(b=v.find("div.auto-comp-result").eq(a)),b.length&&(b.addClass("selected"),E=a,u=b))}function s(a){if(A){var b=A-1;null==E?a=0<a?0:b:(a=E+a,0>a?a=b:a>b&&(a=0));return f(a)}}function r(){if(null==E)Q.val(""),e("");else{var b=v.find("div.auto-comp-result").eq(E),c=b.data()||{label:"Error"},
|
58 |
+
q=c.value,m=c.label;e(q);Q.val(m);k();b=b.clone();b.data(c);g();y(0,b);A=1;f(0,b);a();b.trigger("locoAutocomp",[q,m,b])}}var A=0,q=!1,G=!1,D=c.form,E=null,u=null,w=h(c),F=w.attr("name"),I=w.attr("data-mode"),H=w.attr("data-provider"),K="hint"!==I&&h('<input type="hidden" value="" name="'+F+'" />').appendTo(D),B=h('<div class="auto-comp-wrap"></div>').replaceAll(w),v=h('<div class="auto-comp-drop"></div>');H&&(H=new p(H));K&&w.attr("name","_"+F);w.attr("autocomplete")||w.attr("autocomplete","off");
|
59 |
+
B.append(w).append(v);k();w.focus(function(a){G=!0;1<A&&d()}).blur(function(b){G=!1;a()}).keydown(function(a){function b(){a.preventDefault();a.stopPropagation();return!1}switch(a.keyCode){case 27:q&&(a.stopPropagation(),k(),w.blur());break;case 40:A&&(q?s(1):d());break;case 38:q&&s(-1);break;case 13:if(q)return r(),b();if(!E&&"hint"!==I)return b()}return!0});var Q=l.require("$8","LocoTextListener.js").listen(w,function(a){H&&H.fetch(a,m)});(D=w.attr("data-pre"))&&(D=h.parseJSON(D))&&D.value&&D.label?
|
60 |
+
(m([D]),r()):!c.value||K&&K.val()||!H||H.fetch(c.value,function(a){m(a);r()});return{$:w,val:function(){return K&&K.val()},clear:g,reset:function(){g();w.val("");e("");Q.ping()},force:function(a,b){g();e(b||"");Q.val(a)},preload:function(a){A&&g();H=new b;var c,q;for(c in a)q=a[c],H.add(q)},mode:function(a){I=a},provide:function(a){H=new p(a)}}};p.prototype.fetch=function(b,a){if(!b)return a&&a([]),this.dead={},this;var e,d=this.dead;for(e in d)if(0===b.indexOf(e))return a&&a([]),this;e={dataType:"json",
|
61 |
+
url:this.url+encodeURIComponent(b)};l.require("$22","http.js").ajax(e,function(e){var g=e&&e.results;g&&(a&&e.query&&e.query===b&&a(e.results),g.length||(d[b]=0));return!0});return this};b.prototype.add=function(b){var a=b.fulltext||b.label||b.value;a&&this.dict.add(b,a)};b.prototype.fetch=function(b,a){var e=b?this.dict.find(b):[];a&&a(e);return this};return d}({},v,z));l.register("$9",function(d,f,B){function p(a){a.stopPropagation();a.preventDefault();return!1}function b(a,b,c){if(c=c||a.getElement(b))c.off().mouseup(function(c){c.stopPropagation();
|
62 |
+
a.selectIndex(b,!0);return!1}).mouseover(function(){h(this).addClass("over");a.hover=b;return!0}).mouseout(function(){h(this).removeClass("over");a.hover=-1;return!0}),c=null;return a}function c(b){n===b&&(h(f).off("resize scroll",a),n=null);return b}function a(a){n&&n.resize()}function e(a){if(a){var b,c=a[0],e=c.id,d=c.title,r=[],n=[],q=-1,k=c.options.length,D,f=this.selectedIcon||"";this.id=e||"";this.name=c.name||"";this.prefix=c.getAttribute("data-prefix");for(this.defaultIcon=c.getAttribute("data-icon")||
|
63 |
+
"icon no-icon";++q<k;)b=c.options[q],D=b.disabled,b.selected&&r.push(q),b=h(b),n.push([b.val(),b.text(),b.attr("data-icon")||f,D,b.attr("lang")]);this.hidden||(this.hidden=h('<input type="hidden" name="'+this.name+'" value="" />').appendTo(c.form));this.list=h("<ul></ul>");this.icon=h('<span class="icon"> </span>');this.selection=h('<span class="label"></span>');this.handle=h('<a class="handle" href="#"></a>').attr("tabindex",a.attr("tabindex")||"").append(this.icon).append(this.selection);b=h('<div class="selector"></div>').addClass(c.className).append(this.handle).append(this.list).replaceAll(c);
|
64 |
+
e&&b.attr("id",e);d&&a.hasClass("hastip")&&(b.attr("title",d),l.require("$11","tooltip.js").init(b,{gravity:a.attr("data-gravity")||"s",anchor:a.attr("data-anchor")}));this.wrapper=b;this.up=b.hasClass("up");for(this.clearOptions();b=n.shift();)this.addOption.apply(this,b);this.enable();this.close();if(k=r.length)for(q=0;q<k;q++)this.selectIndex(r[q]);else q=c.selectedIndex,null!=q&&0<=q&&this.selectIndex(q)}}d.create=function(a){return new e(a)};d.extend=function(a){a.parent=e;a.prototype=new e};
|
65 |
+
var n,k=e.prototype;k.enable=function(){var a=this;a.handle.click(function(a){a.preventDefault();return!1}).mouseover(function(b){return a.onRollover(b)}).mouseout(function(b){return a.onRollout(b)}).mousedown(function(b){return a.onPress(b)}).keydown(function(b){return a.onKeydown(b)});h(B).mouseup(function(b){return a.onRelease(b)}).keydown(function(b){return a.onGlobalKeydown(b)})};k.onRollover=function(a){return this.over=!0};k.onRollout=function(a){this.over=!1;return!0};k.onPress=function(a){return this.active?
|
66 |
+
this.over?(this.close(),a.stopPropagation(),a.preventDefault(),!1):!0:(this.open(),a.stopPropagation(),a.preventDefault(),this.handle.focus(),!1)};k.onRelease=function(a){this.active&&!this.over&&this.close();return!0};k.onGlobalKeydown=function(a){if(this.active)switch(a.keyCode){case 27:return this.close(),p(a);case 40:return this.hoverNext(1),p(a);case 38:return this.hoverNext(-1),p(a);case 13:if(-1!=this.hover)return this.selectIndex(this.hover,!0),this.hoverItem(-1),this.close(),p(a)}return!0};
|
67 |
+
k.onKeydown=function(a){return this.active||40!==a.keyCode?!0:(this.open(),p(a))};k.resize=function(){var a=this.list,b=this.handle,c=b.outerWidth()||0,e=a.outerWidth()||0,d;this.up?(d=a.outerHeight(),a.css("top","-"+(d+2)+"px")):(d=b.outerHeight()||0,d+=2,a.css("top",d+"px"),b=d+l.require("$18","html.js").top(b[0]),d=f.innerHeight-Math.max(0,b-f.pageYOffset),d-=4,a.css("max-height",d+"px"));c>e&&(c-=e-a.width(),a.css("min-width",String(c)+"px"))};k.open=function(){var b=this.list,e=this.wrapper,
|
68 |
+
d=e.data("tipsy");this.active=!0;this.hover=-1;e.addClass("active");b.show().scrollTop(0);d&&d.disable();this!==n&&(n&&c(n),h(f).on("resize scroll",a),n=this);this.resize()};k.close=function(){var a=this.wrapper,b=a.data("tipsy");this.list.hide();this.active=!1;-1!==this.hover&&(this.getElement(this.hover).removeClass("over"),this.hover=-1);a.removeClass("active");b&&b.enable();c(this)};k.hoverItem=function(a,b){-1!==this.hover&&this.getElement(this.hover).removeClass("over");this.hover=a;-1!==a&&
|
69 |
+
(b=b||this.getElement(a),b.addClass("over"))};k.hoverNext=function(a){var b=this.options.length;if(b){b-=1;if(-1==this.hover)a=0<a?0:b;else{a=this.hover+a;if(0>a){this.close();return}a>b&&(a=0)}this.hoverItem(a)}};k.enableChange=function(a){this.eventName=a;this.eventData=[].slice.call(arguments,1);return this};k.enableConfirm=function(a){this.confirm=a;return this};k.clearOptions=function(){this.index={};this.length=0;this.options=[];this.list.html("");this.hidden.val("");this.idx=this.hover=-1;
|
70 |
+
return this};k.destroy=function(){this.clearOptions();this.hidden.remove()};k.addOption=function(a,c,e,d,n){var r=this.options.length,k=h("<span></span>").addClass(e||"icon no-icon"),q=h('<span class="label"></span>').text(c||a),q=h("<li></li>").append(k).append(q).appendTo(this.list);n?n=n.split("-").shift():e&&-1!==e.indexOf("lang-"+a)&&(n=a);n&&k.attr("lang",n);q.attr("data-option",r);this.options[r]={value:a,text:c,lang:n||"",icon:e};this.index[a]=r;this.length=r+1;d?this.disableIndex(r):b(this,
|
71 |
+
r,q);return r};k.disableOption=function(a){return this.disableIndex(this.index[a])};k.disableIndex=function(a){(a=this.getElement(a))&&a.addClass("disabled").off();return this};k.enableOption=function(a){return this.enableIndex(this.index[a])};k.enableIndex=function(a){return b(this,a)};k.reIndex=function(){for(var a=-1,b={},c=this.options,e=c.length;++a<e;)b[c[a].value]=a;this.index=b;this.length=e};k.selectValue=function(a,b){return this.selectIndex(this.index[a],b)};k.selectIndex=function(a,b){var c=
|
72 |
+
this.options[a];if(c){var e=this,d=e.idx,r=c.value,n=c.icon||e.defaultIcon,q=function(){null!=d&&e.getElement(d).removeClass("active");e.getElement(a).addClass("active");e.setLabel(c.text).setIcon(n,c.lang);e.hidden.val(r);e.idx=a;b&&e.change()};d===a?e.hidden.val(r):b?"function"===typeof e.confirm?e.confirm.call(null,c,function(a){a&&q()}):e.beforeChange(r)&&q():q();e.active&&e.close()}return this};k.setLabel=function(a){this.selection.text(a);(a=this.prefix)&&this.selection.prepend(h('<span class="prefix"></span>').text(a));
|
73 |
+
return this};k.setIcon=function(a,b){this.icon.attr("class",a).attr("lang",b||"");return this};k.val=function(){var a=this.options[this.idx];return a&&a.value};k.change=function(){var a=this.val(),b=this.save,c=this.eventName||"change",e=[a].concat(this.eventData||[]);this.wrapper.trigger(c,e);b&&b(a);this.hidden.triggerHandler("change");return this};k.beforeChange=function(a){var b=h.Event("locoBeforeSelect");this.wrapper.trigger(b,[a]);return!b.isDefaultPrevented()};k.renameOption=function(a,b){var c=
|
74 |
+
this.index[a],e=this.options[c];e&&(e.text=b,this.getElement(c).find("span.label").text(b),c===this.idx&&this.setLabel(b));return this};k.removeOption=function(a){var b=this.index[a],c=this.options[b];c&&(a=this.val(),this.getElement(b).remove(),this.options.splice(b,1),this.reIndex(),a===c.value?this.selectIndex(0,!0):this.selectValue(a,!1))};k.getElement=function(a){return this.list.find("li").eq(a)};k.getWrapper=function(){return this.wrapper};k.persist=function(a){var b=this.id||this.name,c=a.fetch(b);
|
75 |
+
null!=c&&this.selectValue(c,!0);this.save=function(c){a.store(b,c)};return this};k.listen=function(a){return this.on(this.eventName||"change",a)};k.on=function(a,b){this.wrapper.on(a,b);return this};k=null;return d}({},v,z));l.register("$33",function(d,f,B){function p(b){var c=[],a=h([]);this.hidden=a;this.selected=c;this.selectedIcon="icon icon-checkbox";this.constructor.call(this,b);this.wrapper.addClass("multi");for(var e,d,k,g=h('<input type="checkbox" name="'+this.name+'[]" />')[0],m=this.options,
|
76 |
+
y=m.length,f=-1;++f<y;)e=this.getElement(f)[0],k=g.cloneNode(!0),c[f]&&(k.checked=!0),k.setAttribute("value",m[f].value),a.push(e.appendChild(k));(d=this.defaultIcon)&&this.setIcon(d);(d=b.attr("title"))?this.setLabel(d):this.wrapper.addClass("no-title")}d.create=function(b){return new p(b)};l.require("$9","LocoSelector.js").extend(p);f=p.prototype;f.selectIndex=function(b,c){return this.setIndexState(b,!this.selected[b],c)};f.setIndexState=function(b,c,a){var e=this.options[b],d=this.getElement(b),
|
77 |
+
k=this.hidden[b],g=this.selected;e&&c!==g[b]&&(g[b]=c,d[c?"addClass":"removeClass"]("checked"),k&&(k.checked=c),a&&this.change());return this};f.selectValue=function(b,c){if(null==b.pop)return p.parent.prototype.selectValue.call(this,b,c);for(var a=this.selected.slice(),e=this.options.length,d=!1,k=-1,g=-1;++k<e;)a[k]&&(d=!0),a[k]=!1;if(e=b.length)for(;++g<e;)k=this.index[b[g]],!1===a[k]&&(d=a[k]=!0);if(d){for(k in a)this.setIndexState(k,a[k]);c&&this.change()}return this};f.val=function(){for(var b=
|
78 |
+
[],c=this.options,a=this.selected,e=a.length,d=-1;++d<e;)a[d]&&b.push(c[d].value);return b};f=null;return d}({},v,z));l.register("$43",function(d,f,h){function p(b,a){for(var e=String(b);a>e.length;)e="0"+e;return e}function b(b){var a=b%10;if(1===a){if(11!==b)return"st"}else if(2===a){if(12!==b)return"nd"}else if(3===a&&13!==b)return"rd";return"th"}d.formatter=function(){return{format:function(b,a){var e=this;return a.replace(/%[YmdHisMjSghAa]/g,function(a){return e[a.charAt(1)](b)})},Y:function(b){return String(b.getFullYear())},
|
79 |
+
m:function(b){return p(1+b.getFullMonth(),2)},M:function(b){return"Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec".split(" ")[b.getMonth()]},d:function(b){return p(b.getDate(),2)},H:function(b){return p(b.getHours(),2)},i:function(b){return p(b.getMinutes(),2)},s:function(b){return p(b.getSeconds(),2)},j:function(b){return String(b.getDate())},S:function(c){return b(c.getDate())},g:function(b){b=b.getHours();return String(0===b?12:12<b?b-12:b)},h:function(b){return p(this.g(b),2)},a:function(b){return 12>
|
80 |
+
b.getHours()?"am":"pm"},A:function(b){return 12>b.getHours()?"AM":"PM"}}};return d}({},v,z));l.register("$34",function(d,f,B){function p(a){var c=a.id,d=n||(n=[]),r=k||(k={}),A=a.getAttribute("datetime"),A=m(A);if(!isNaN(A))return c||(c="tick"+ ++g,a.setAttribute("id",c)),a={id:c,el:a,dt:new Date(A),st:a.textContent},r[c]||d.push(a),r[c]=a,e||(e=setTimeout(b,200)),a}function b(){for(var a=n,d=a.length,g={},r=[];0<d--;)ticker=a[d],c(ticker)&&(r.push(ticker),g[ticker.id]=ticker);r.length?(n=r,k=g,e=
|
81 |
+
setTimeout(b,3E4)):e=k=n=null}function c(b){var c=b.el;if(B.contains&&!B.contains(c))return!1;strDate=a(b.dt,new Date,!0);if(""===strDate)return!1;strDate!==b.st&&(h(c).text(strDate),b.st=strDate);return!0}function a(a,b,c){var e=b.getTime(),d=a.getTime(),q=e-d;if(6E4>q)return"Just now";if(36E5>q)return a=Math.floor(q/6E4),String(a)+" minute"+(1===a?"":"s")+" ago";if(864E5>q&&b.getDate()===a.getDate()&&b.getMonth()===a.getMonth()&&b.getFullYear()===a.getFullYear())return a=Math.round(q/36E5),"About "+
|
82 |
+
String(a)+" hour"+(1===a?"":"s")+" ago";if(c)return"";c=Math.floor(e/864E5)-Math.floor(d/864E5);e=l.require("$43","date.js").formatter();q=e.format(a," %g:%i %A");return 1>=c&&(b.setHours(0),b.setMinutes(0),b.setSeconds(0),b=b.getTime()-864E5,d>=b)?"Yesterday at"+q:11>c?c+" days ago at"+q:e.format(a,"%M %j%S %Y,")+q}var e,n,k,g=0,m=Date.parse||function(){return Number.NaN};d.onEach=function(a,b){p(b)};d.update=function(a){c(p(a))};d.rel=a;return d}({},v,z));l.register("$18",function(d,f,B){var p=
|
83 |
+
f.ieVersion;d.ie=function(b){return b?p<=b:p};var b=d.init=function(b){b?b instanceof jQuery||(b=h(b)):b=h(B.body);var a=l.require("$31","ga.js"),e=l.require("$19","forms.js"),n=l.require("$32","modal.js"),k=l.require("$10","LocoAutoComplete.js"),g=l.require("$9","LocoSelector.js"),m=l.require("$33","LocoMultiSelector.js"),y=l.require("$11","tooltip.js");b.find("form").each(function(a,b){var c=h(b);p&&10>p&&e.placeholders(c);b.getAttribute("data-modal")?n.initForm(b):b.action&&0!==c.attr("action").indexOf("#")&&
|
84 |
+
!b.target&&e.jsonify(b);c.find("input.auto-comp").each(function(a,b){k.init(b)});c.find("select.selector").each(function(a,b){b.hasAttribute("multiple")?m.create(h(b)):g.create(h(b))});c.hasClass("hasreveal")&&e.revealify(c);c.find("button.hastip").each(function(a,b){y.init(h(b))})});b.find("a").each(function(b,c){-1!==c.className.indexOf("hastip")&&y.init(h(c));-1!==c.href.indexOf("/modal/")||c.getAttribute("data-modal")?n.initLink(h(c)):a.link(c)});b.find("time.tick").each(l.require("$34","tick.js").onEach);
|
85 |
+
e=n=k=b=null;return d};d.$=function(b){return h(f.innerShiv?innerShiv(b,!1):b)};h.fn._html=function(c){return null!=c?(c=this.html(f.innerShiv?innerShiv(c,!1):c),b(this),c):j.html()};h.fn.macro=function(b,a){if("function"!==typeof b.run)throw Error("macro has no run function");b.run(this,a||{});return this};d.el=function(b,a){var e=B.createElement(b||"div");a&&(e.className=a);return e};d.txt=function(b){return B.createTextNode(b||"")};d.h=function(){function b(){d=/[<>&]/g;k=/(\r\n|\n|\r)/g;g=/(?:https?):\/\/([a-zA-Z0-9\-_\.\?%~&;=\/]+(?:#.*)?)/g;
|
86 |
+
b=null}function a(a){return"&#"+a.charCodeAt(0)+";"}function e(a,b){return'<a href="'+a+'">'+b+"</a>"}var d,k,g;return function(m,y){b&&b();var f=m.replace(d,a);y&&(f=f.replace(k,"<br />").replace(g,e));return f}}();d.noop=function(b){b&&(b.preventDefault(),b.stopPropagation(),h(b.target).blur());return!1};d.top=function(b,a){a||(a=B.body);for(var e=b.offsetTop||0;(b=b.offsetParent)&&b!==a;)e+=b.offsetTop||0;return e};d.left=function(b,a){a||(a=B.body);for(var e=b.offsetLeft||0;(b=b.offsetParent)&&
|
87 |
+
b!==a;)e+=b.offsetLeft||0;return e};return d}({},v,z));l.register("$19",function(d,f,B){function p(a){function b(){a.value===g&&(a.value="",d.removeClass("placeheld"));return!0}function c(){""===a.value&&(a.value=g,d.addClass("placeheld"));return!0}var d=h(a);if(!d.hasClass("auto-comp")){var g=d.attr("placeholder");if(g)return d.focus(b).blur(c),c(),{kill:function(){b();d.off("focus",b).off("blur",c)}}}}var b=d.enable=function(a){function b(a,c){c.getAttribute("data-was-disabled")||(c.disabled=!1)}
|
88 |
a.find(".button").removeClass("loading");a.find("button").each(b);a.find("input").each(b);a.find("select").each(b);a.find("textarea").each(b);f.attachEvent&&a.hasClass("has-placeholders")&&d.placeholders(a);a.removeClass("disabled").trigger("locoEnable");delete a._disabled},c=d.disable=function(a){function b(a,c){c.disabled?c.setAttribute("data-was-disabled","true"):c.disabled=!0}a._disabled||(a.find(".button").addClass("loading"),a.find("button").each(b),a.find("input").each(b),a.find("select").each(b),
|
89 |
+
a.find("textarea").each(b),a.addClass("disabled").trigger("locoDisable"),a._disabled=!0)};d.jsonify=function(a,e,d){a instanceof jQuery||(a=h(a));a.disable||(h.fn.disable=function(){c(this);return this},h.fn.enable=function(){b(this);this.placehold&&this.placehold();return this});var k="";a.find('[type="submit"]').click(function(a){a&&a.target&&a.target.name&&(k=encodeURIComponent(a.target.name)+"="+encodeURIComponent(a.target.value));return!0});a.submit(function(b){if(b&&b.isDefaultPrevented&&b.isDefaultPrevented()||
|
90 |
+
d&&!1===d(b))return!1;var c=a.serialize(),c=c.replace(/%0D%0A/g,"%0A");k&&(c&&(c+="&"),c+=k,k="");a.disable();var f=l.require("$22","http.js"),c={url:f.jsonLink(a.attr("action")),type:a.attr("method"),data:c};f.ajax(c,e,function(){a.enable()},a);b.preventDefault();b.stopPropagation();return!1})};d.revealify=function(a){a=a.closest("form");a.find("div[data-reveal-if]").each(function(b,c){function d(a){var b;q=q||a.target;if("."===r)b=Boolean(q&&q[A]),p&&(b=!b);else{var c,e=h(q.form).serializeArray();
|
91 |
+
for(c in e)e[c].name===s&&(b=e[c].value);b=p?A!==b:A===b}if(b!==f)if(f=b,a)g[f?"slideDown":"slideUp"](200);else g[f?"show":"hide"]();return!0}var g=h(c),m=/^(\!?)([_\w\-\[\]]+)(\.|!?=)(.*)$/.exec(g.attr("data-reveal-if"));if(m){var f,p=m[1],s=m[2],r=m[3],A=m[4],m=a[0][s];if(m.type||null==m.length)m=[m];b=m.length;for(var q;0!==b--;)q=m[b],d(),h(q).change(d).removeClass("jshide");m=m=q=null}});a=null};d.linkify=function(a){var b=a.getAttribute("data-icon");if(b){var c=h(a),d=h("<a> </a>");d.attr("href",
|
92 |
+
a.form.action);d.attr("class",c.attr("class"));d.attr("tabindex",c.attr("tabindex"));c.attr("tabindex","-1");d.text(c.val());b&&h("<span></span>").prependTo(d).addClass(b);c.hide().after(d);d.click(function(a){c.click();return!1})}};d.placeholders=function(a){var b,c=[];a.find("input[placeholder]").each(function(a,d){"password"!==d.type&&(b=p(d))&&c.push(b)});c.length&&(a.submit(function(){for(var a in c)c[a].kill()}),a.addClass("has-placeholders"),b=i=null)};return d}({},v,z));l.register("$4",function(d,
|
93 |
+
f,B){function p(a,b,c){function d(){e();g=setTimeout(b,c)}function e(){g&&clearTimeout(g);g=null}var g;d();h(a).mouseenter(e).mouseleave(d);return{die:function(){e();h(a).off("mouseenter mouseleave")}}}function b(a,b){a.fadeTo(b,0,function(){a.slideUp(b,function(){a.remove();h(f).triggerHandler("resize")})})}function c(a,c){function d(c){k[m]=null;b(h(a),250);e&&e.die();var q;if(q=c)c.stopPropagation(),c.preventDefault(),q=!1;return q}var e,m;h(a).addClass("is-dismissible");h('<button type="button" class="notice-dismiss" href="#"> </a>').prependTo(a).click(d);
|
94 |
+
h(f).triggerHandler("resize");g();m=k.length;k.push(d);c&&(e=p(a,d,c));return{stick:function(){e&&e.die();e=null;k[m]=null}}}function a(a,b,c){var d=l.require("$18","html.js");a=h('<div class="notice notice-'+a+'" loco-notice inline></div>').prependTo(h("#loco-notices"));var e=h(d.el("p"));c=h(d.el("span")).text(c);b=h(d.el("strong","has-icon")).text(b+": ");e.append(b).append(c).appendTo(a);return a}function e(b,d,e,g){b=a(e,d,b).hide().fadeIn(500);h(f).triggerHandler("resize");return c(b,g)}function n(){h("#loco-notices").find("div.notice").each(function(a,
|
95 |
+
b){if(-1===b.className.indexOf("jshide")){var d=-1===b.className.indexOf("notice-success")?null:5E3;c(b,d)}})}var k=[],g=Date.now||function(){return(new Date).getTime()},m,y,C,s;d.error=function(a){return e(a,m,"error")};d.warning=function(a){return e(a,y,"warning")};d.info=function(a){return e(a,C,"info")};d.success=function(a){return e(a,s,"success",5E3)};d.log=function(){f.console&&console.log&&console.log.apply(console,arguments)};d.debug=function(a,b){f.console&&console.error&&(console.error("Loco Error: "+
|
96 |
+
a),b&&console.debug&&console.debug(b))};d.clear=function(){for(var a=-1,b,c=k,e=c.length;++a<e;)(b=c[a])&&b();k=[];return d};d.create=a;d.raise=function(a){(d[a.type]||d.error).call(d,a.message)};d.convert=c;d.init=function(a){m=a._("Error");y=a._("Warning");C=a._("Notice");s=a._("OK");setTimeout(n,1E3);return d};return d}({},v,z));l.register("$5",function(d,f,B){function p(a){var b=h("<pre>"+a+"</pre>").text();b&&(b=b.replace(/[\r\n]+/g,"\n").replace(/(^|\n)\s+/g,"$1").replace(/\s+$/,""));b||(b=
|
97 |
+
a)||(b="Blank response from server");return b}function b(a){return(a=a.split(/[\r\n]/)[0])?(a=a.replace(/ +in +\S+ on line \d+/,""),a=a.replace(/^[()! ]+Fatal error:\s*/,"")):t._("Server returned invalid data")}function c(a,c,d,g){function r(c,g,r){if("abort"!==g){var k=e||{_:function(a){return a}},y=c.status,w=c.responseText,h=p(w),s=c.getResponseHeader("Content-Type")||"text/html",l=c.getResponseHeader("Content-Length")||w.length;"success"===g&&r?f.error(r):(f.error(b(h)+".\n"+k._("Check console output for debugging information")),
|
98 |
+
f.debug("Ajax failure for "+a,{status:y,error:g,message:r,output:w}),"parsererror"===g&&(r="Response not JSON"),f.log([k._("Provide the following text when reporting a problem")+":","----","Status "+y+' "'+(r||k._("Unknown error"))+'" ('+s+" "+l+" bytes)",h,"===="].join("\n")));d&&d.call&&d(c,g,r);n=c}}g.url=k;g.dataType="json";g.error=r;g.success=function(a,b,d){var e=a&&a.data,g=a&&a.notices,w=g&&g.length;for(!e||a.error?r(d,b,a&&a.error&&a.error.message):c&&c(e,b,d);w--;)f.raise(g[w])};var f=l.require("$4",
|
99 |
+
"notices.js").clear();return h.ajax(g)}var a={},e,n,k=f.ajaxurl||"/wp-admin/admin-ajax.php",g=f.encodeURIComponent;d.init=function(b){a=b.nonces||a;return d};d.localise=function(a){e=a;return d};d.xhr=function(){return n};d.strip=p;d.parse=b;d.submit=function(a,b,d){function e(){g.removeClass("loading");l.require("$19","forms.js").enable(g)}var g=h(a),n=g.serialize();g.addClass("loading");l.require("$19","forms.js").disable(g);return c(a.route.value,function(a,c,d){e();b&&b(a,c,d)},function(a,b,c){e();
|
100 |
+
d&&d(a,b,c)},{type:a.method,data:n})};d.post=function(b,d,e,n){var r;(r=a[b])||(f.console&&console.debug&&console.debug('No nonce for "'+b+'"'),r="");r="action=loco_json&route="+g(b)+"&loco-nonce="+g(r);(d=d?h.param(d):"")&&(r+="&"+d);return c(b,e,n,{type:"post",data:r})};d.setNonce=function(b,c){a[b]=c;return d};d.hasNonce=function(b){return!!a[b]};return d}({},v,z));l.register("$20",{arab:1,aran:1,hebr:1,nkoo:1,syrc:1,syrn:1,syrj:1,syre:1,samr:1,mand:1,mend:1,thaa:1,adlm:1,cprt:1,phnx:1,armi:1,
|
101 |
+
prti:1,phli:1,phlp:1,phlv:1,avst:1,mani:1,khar:1,orkh:1,ital:1,lydi:1,ar:1,ary:1,ckb:1,dv:1,fa:1,he:1,nqo:1,ps:1,ur:1,yi:1});l.register("$6",function(d,f,h){function p(){}var b,c=l.require("$20","rtl.json");d.init=function(){return new p};d.cast=function(a){return a instanceof p?a:"string"===typeof a?d.parse(a):d.clone(a)};d.clone=function(a){var b,c=new p;for(b in a)c[b]=a[b];return c};d.parse=function(a){if(!(b||(b=/^([a-z]{2,3})(?:[-_]([a-z]{2}))?(?:[-_]([a-z0-9]{3,8}))?$/i)).exec(a))return null;
|
102 |
+
var c=new p;c.lang=RegExp.$1.toLowerCase();if(a=RegExp.$2)c.region=a.toUpperCase();if(a=RegExp.$3)c.variant=a.toLowerCase();return c};f=p.prototype;f.isValid=function(){return!!this.lang};f.isKnown=function(){var a=this.lang;return!(!a||"zxx"===a)};f.toString=function(a){a=a||"-";var b,c=this.lang||"zxx";if(b=this.region)c+=a+b;if(b=this.variant)c+=a+b;return c};f.getIcon=function(){for(var a=3,b,c,d=["variant","region","lang"],g=[];0!==a--;)if(b=d[a],c=this[b])g.push(b),g.push(b+"-"+c.toLowerCase());
|
103 |
+
return g.join(" ")};f.isRTL=function(){return!!c[String(this.lang).toLowerCase()]};f=null;return d}({},v,z));l.register("$36",function(d,f,h){function p(){}var b,c,a=l.require("$20","rtl.json");d.init=function(){return new p};d.cast=function(a){return a instanceof p?a:"string"===typeof a?d.parse(a):d.clone(a)};d.clone=function(a){var b,c=new p;for(b in a)c[b]=a[b];return c};d.parse=function(a){b||(c=/[-_+]/,b=/^([a-z]{2,3})(?:-([a-z]{4}))?(?:-([a-z]{2}|[0-9]{3}))?(?:-([0-9][a-z0-9]{3,8}|[a-z0-9]{5,8}))?(?:-([a-z]-[-a-z]+))?$/i);
|
104 |
+
a=String(a).split(c).join("-");if(!b.exec(a))return null;var d=new p;d.lang=RegExp.$1.toLowerCase();if(a=RegExp.$2)d.script=a.charAt(0).toUpperCase()+a.substr(1).toLowerCase();if(a=RegExp.$3)d.region=a.toUpperCase();if(a=RegExp.$4)d.variant=a.toLowerCase();if(a=RegExp.$5)d.extension=a;return d};f=p.prototype;f.isValid=function(){return!!this.lang};f.isKnown=function(){var a=this.lang;return!(!a||"zxx"===a)};f.toString=function(a){a=a||"-";var b,c=this.lang||"zxx";if(b=this.script)c+=a+b;if(b=this.region)c+=
|
105 |
+
a+b;if(b=this.variant)c+=a+b;if(b=this.extension)c+=a+b;return c};f.getIcon=function(){for(var a=4,b,c,d=["variant","region","script","lang"],f=[];0!==a--;)if(b=d[a],c=this[b])1===a&&3===c.length?f.push("region-m49"):f=f.concat([b,b+"-"+c.toLowerCase()]);return f.join(" ")};f.isRTL=function(){return!!a[String(this.script||this.lang).toLowerCase()]};f=null;return d}({},v,z));l.register("$37",function(d,f,h){function p(a){f.console&&console.error&&console.error(a)}function b(){p("Method not implemented")}
|
106 |
+
function c(){}function a(a){}c.prototype.toString=function(){return"[Undefined]"};a.prototype._validate=function(a){var d,f,g=!0;for(d in this)f=this[d],f===b?(p(a+"."+d+"() must be implemented"),g=!1):f instanceof c&&(p(a+"."+d+" must be defined"),g=!1);return g};d.init=function(d,f){var k,g=new a;if(d)for(k=d.length;0!==k--;)g[d[k]]=b;if(f)for(k=f.length;0!==k--;)g[f[k]]=new c;return g};d.validate=function(a){var b=/function (\w+)\(/.exec(a.toString())?RegExp.$1:"";a.prototype._validate(b||"Object")};
|
107 |
+
return d}({},v,z));l.register("$48",function(d,f,h){var p=f.requestAnimationFrame,b=f.cancelAnimationFrame,c=0;if(!p||!b)for(var a in{ms:1,moz:1,webkit:1,o:1})if(p=f[a+"RequestAnimationFrame"])if(b=f[a+"CancelAnimationFrame"]||f[a+"CancelRequestAnimationFrame"])break;p&&b||(p=function(a){var b=e();timeToCall=Math.max(0,16-(b-c));nextTime=b+timeToCall;timerId=f.setTimeout(function(){a(nextTime)},timeToCall);c=nextTime;return timerId},b=function(a){clearTimeout(a)});var e=Date.now||function(){return(new Date).getTime()};
|
108 |
+
d.loop=function(a,c){function d(){f=p(d,c);a(e++)}var e=0,f;d();return{stop:function(){f&&b(f);f=null}}};return d}({},v,z));l.register("$44",function(d,f,h){function p(b,c,d,e){if(a){var g=d;d=function(a){if((a.MSPOINTER_TYPE_TOUCH||"touch")===a.pointerType)return g(a)}}b.addEventListener(c,d,e);return{unbind:function(){b.removeEventListener(c,d,e)}}}function b(a){a.preventDefault();a.stopPropagation();return!1}var c,a=!!f.navigator.msPointerEnabled,e=a?"MSPointerDown":"touchstart",n=a?"MSPointerMove":
|
109 |
+
"touchmove",k=a?"MSPointerUp":"touchend";d.ok=function(a){null==c&&(c="function"===typeof h.body.addEventListener);c&&a&&a(d);return c};d.ms=function(){return a};d.dragger=function(a,c){function d(b){a.addEventListener(b,f[b],!1)}function r(b){a.removeEventListener(b,f[b],!1)}var f={};f[e]=function(a){g(a,function(b,d){d.type=e;c(a,d,q)});d(n);d(k);return!0};f[k]=function(a){r(n);r(k);g(a,function(b,d){d.type=k;c(a,d,q)});return!0};f[n]=function(a){g(a,function(b,d){d.type=n;c(a,d,q)});return b(a)};
|
110 |
+
d(e);var q={kill:function(){r(e);r(n);r(k);a=q=c=null}};return q};d.swiper=function(c,d,f){function r(a){c.addEventListener(a,u[a],!1)}function A(a){c.removeEventListener(a,u[a],!1)}function q(){h&&h.stop();h=null}var h,D,p,u={},w=[],F=[],I=[];u[e]=function(a){D=!1;q();var b=m();g(a,function(a,c){w[a]=b;F[a]=c.clientX;I[a]=c.clientY});p=c.scrollLeft;return!0};u[k]=function(a){g(a,function(a,b){var c=m()-w[a],e=F[a]-b.clientX,c=Math.abs(e)/c;d(c,e?0>e?-1:1:0)});p=null;return!0};u[n]=function(a){var d,
|
111 |
+
e;null==p||g(a,function(a,b){d=F[a]-b.clientX;e=I[a]-b.clientY});if(e&&Math.abs(e)>Math.abs(d))return D=!0;d&&(D=!0,c.scrollLeft=Math.max(0,p+d));return b(a)};if(!a||f)r(e),r(n),r(k),a&&(c.className+=" mstouch");return{kill:function(){A(e);A(n);A(k);q()},swiped:function(){return D},ms:function(){return a},snap:function(b){a&&!f&&(c.style["-ms-scroll-snap-points-x"]="snapInterval(0px,"+b+"px)",c.style["-ms-scroll-snap-type"]="mandatory",c.style["-ms-scroll-chaining"]="none")},scroll:function(a,b,d){q();
|
112 |
+
var e=c.scrollLeft,g=a>e?1:-1,w=Math[1===g?"min":"max"],r=Math.round(16*b*g);return h=l.require("$48","fps.js").loop(function(b){b&&(e=Math.max(0,w(a,e+r)),c.scrollLeft=e,a===e&&(q(),d&&d(e)))},c)}}};d.start=function(a,b){return p(a,e,b,!1)};d.move=function(a,b){return p(a,n,b,!1)};d.end=function(a,b){return p(a,k,b,!1)};var g=d.each=function(b,c){if(a)(b.MSPOINTER_TYPE_TOUCH||"touch")===b.pointerType&&c(0,b);else for(var d=-1,e=(b.originalEvent||b).changedTouches||[];++d<e.length;)c(d,e[d])},m=Date.now||
|
113 |
+
function(){return(new Date).getTime()};return d}({},v,z));l.register("$49",function(d,f,l){d.init=function(d){function b(){f.style.top=String(-d.scrollTop)+"px";return!0}function c(){var b=f;b.textContent=d.value;b.innerHTML=b.innerHTML.replace(/[ \t]/g,a).split(/(?:\r\n|\r|\n)/).join('<span class="eol crlf"></span>\r\n')+'<span class="eol eof"></span>';return!0}function a(a){return'<span class="x'+a.charCodeAt(0).toString(16)+'">'+a+"</span>"}var e=d.parentNode,f=e.insertBefore(l.createElement("div"),
|
114 |
+
d);h(d).on("input",c).on("scroll",b);h(e).addClass("has-mirror");f.className="ta-mirror";var k=d.offsetWidth-d.clientWidth;2<k&&(f.style.marginRight=String(k-2)+"px");c();b();return{kill:function(){h(d).off("input",c).off("scroll",b);e.removeChild(f);f=null;h(e).removeClass("has-mirror")}}};return d}({},v,z));l.register("$30",function(d,f,h){function p(a,c){for(var d=0,k=-1,g=c&&f[c],m=b[a]||[],h=m.length;++k<h;)callback=m[k],"function"===typeof callback&&(callback(g),d++);return d}var b={},c;d.load=
|
115 |
+
function(a,c,d){function k(){y&&(clearTimeout(y),y=null);l&&(l.onreadystatechange=null,l=l=l.onload=null);a&&(delete b[a],a=null)}function g(b,c){var e=l&&l.readyState;if(c||!e||"loaded"===e||"complete"===e)c||p(a,d),k()}function m(){if(0===p(a))throw Error('Failed to load "'+(d||a)+'"');k()}if(d&&f[d])"function"===typeof c&&c(f[d]);else if(null!=b[a])b[a].push(c);else{b[a]=[c];var y=setTimeout(m,4E3),l=h.createElement("script");l.setAttribute("src",a);l.setAttribute("async","true");l.onreadystatechange=
|
116 |
+
g;l.onload=g;l.onerror=m;l.onabort=k;h.getElementsByTagName("head")[0].appendChild(l)}};d.stat=function(a){var b;if(!(b=c)){for(var d,f,g=h.getElementsByTagName("script"),m=-1,y=g.length;++m<y;)if(b=g[m].getAttribute("src"))if(d=b.indexOf("/lib/vendor"),-1!==d){f=b.substr(0,d);break}b=c=f||"/static"}return b+a};return d}({},v,z));l.register("$15",function(d,f,B){function p(a,b){a.setReadOnly(!1);a.on("change",function(a,c){return b.val(c.getValue())});a.on("focus",function(a,c){return b.focus()});
|
117 |
+
a.on("blur",function(a,c){return b.blur()})}function b(a){a.off("change");a.off("focus");a.off("blur")}function c(a){b(a);a.setReadOnly(!0);a.setHighlightGutterLine(!1);a.setHighlightActiveLine(!1)}function a(a,b){function c(){this.HighlightRules=d}var d=e(b),g=a.require,f=g("ace/lib/oop");f.inherits(d,g("ace/mode/text_highlight_rules").TextHighlightRules);f.inherits(c,g("ace/mode/text").Mode);return new c}function e(a){var b=n(a);return function(){var c=[{token:"empty_line",regex:"^$"},{token:"constant.language",
|
118 |
+
regex:"(?:&#[0-9]+;)|(?:&#x[0-9a-fA-F]+;)|(?:&[a-zA-Z0-9_:\\.-]+;)"},{token:"constant.language",regex:"<!\\[CDATA\\["},{token:"constant.language",regex:"\\]\\]>"},{token:"locked",regex:"<(?:xliff:)?(?:g|ph)[^>]*>[^<]*</(?:xliff:)?(?:g|ph)>"},{token:"locked",regex:"<(?:xliff:)?(bx|ex|x)[^/>]*/>"},{token:"constant.language",regex:"</?[:a-z]+[^>]*>"}];b&&c.push({token:"printf printf-"+a,regex:b});c.push({defaultToken:"text"});this.$rules={start:c}}}function n(a){switch(a){case "objc":return"%(?:\\d+\\$)?[-+'0# ]*\\d*(?:\\.\\d+|\\.\\*(?:\\d+\\$)?)?(?:hh?|ll?|[qjzTL])?[sScCdDioOuUxXfFeEgGaAp%@]";
|
119 |
+
case "java":return"%(?:\\d+\\$)?[-+,(0# ]*\\d*(?:\\.\\d+)?(?:[bBhHsScCdoxXeEfgGaA%n]|[tT][A-DFH-IL-NQ-TY-Za-ehj-mpr-sz])";case "php":return"%(?:\\d+\\$)?(?:'.|[-+0 ])*\\d*(?:\\.\\d+)?[suxXbcdeEfFgGo%]";case "auto":return"%(?:\\d+\\$)?(?:[-+0]?\\d*(\\.\\d+)?[duxoefgaDUXOEFGA]|[@scSC%])";case g:return k||"%%"}}var k,g="auto";d.init=function(d,e,k){var n,r=!1,A=k||g,q=d.parentNode,G=q.appendChild(B.createElement("div"));h(q).addClass("has-proxy has-ace");l.require("$30","remote.js").load("https://cdnjs.cloudflare.com/ajax/libs/ace/1.2.6/ace.js",
|
120 |
+
function(b){if(G){if(!b)throw Error("Failed to load code editor");n=b.edit(G);var q=n.session,g=n.renderer;n.$blockScrolling=Infinity;n.setShowInvisibles(r);n.setWrapBehavioursEnabled(!1);n.setBehavioursEnabled(!1);n.setHighlightActiveLine(!1);q.setUseSoftTabs(!1);g.setShowGutter(!0);g.setPadding(10);g.setScrollMargin(8);q.setMode(a(b,A));n.setValue(d.value,-1);q.setUseWrapMode(!0);e?p(n,e):c(n)}},"ace");return{kill:function(){n&&(b(n),n.destroy(),n=null);G&&(q.removeChild(G),h(q).removeClass("has-proxy has-ace"),
|
121 |
+
G=null);return this},disable:function(){n&&c(n);e=null;return this},enable:function(a){e=a;n&&p(n,a);return this},resize:function(){n&&n.resize();return this},val:function(a){n&&a!==n.getValue()&&n.setValue(a,-1);return this},invs:function(a){a=a||!1;r!==a&&(r=a,n&&n.setShowInvisibles(a));return this},strf:function(b){b=b||g;b!==A&&(A=b,n&&n.session.setMode(a(f.ace,b)));return this},focus:function(){return this}}};d.strf=function(a,b){g=a;k=b;return d};return d}({},v,z));l.register("$50",function(d,
|
122 |
+
f,B){function p(a,b){function c(){return b.val(a.getContent())}a.on("input",c);a.on("change",c);a.on("focus",function(a){return b.focus()});a.on("blur",function(a){return b.blur()});a.setMode("design")}function b(a){a.off("input");a.off("change");a.off("focus");a.off("blur")}function c(a){b(a);a.setMode("readonly")}var a=0;d.load=function(a){var b=l.require("$30","remote.js");b.load(b.stat("/lib/tinymce.min.js"),a,"tinymce");return d};d.init=function(e,f){function k(a){l=a;s="<p>"===a.substr(0,3)&&
|
123 |
+
"</p>"===a.substr(-4);return a.replace(/(<\/?)script/ig,"$1loco:script")}function g(a){m=a;a._getContent=a.getContent;a.getContent=function(a){a=this._getContent(a);a=a.replace(/(<\/?)loco:script/ig,"$1script");if(!s&&"<p>"===a.substr(0,3)&&"</p>"===a.substr(-4)){var b=a.substr(3,a.length-7);if(b===l||-1===b.indexOf("</p>"))a=b}return a};a._setContent=a.setContent;a.setContent=function(a,b){return this._setContent(k(a),b)};f?p(a,f):c(a);h(q).removeClass("loading")}var m,y=!1,l="",s=!1,r=e.parentNode,
|
124 |
+
A=r.parentNode,q=r.appendChild(B.createElement("div")),G=A.insertBefore(B.createElement("nav"),r);G.id="_tb"+String(++a);h(r).addClass("has-proxy has-mce");h(q).addClass("mce-content-body loading").html(k(e.value));d.load(function(a){if(!a)throw Error("Failed to load HTML editor");q&&a.init({inline:!0,target:q,hidden_input:!1,theme:"modern",skin:!1,plugins:"link",browser_spellcheck:!0,menubar:!1,fixed_toolbar_container:"#"+G.id,toolbar:"formatselect | bold italic link unlink | bullist numlist outdent indent",
|
125 |
+
block_formats:"Paragraph=p;Heading 1=h1;Heading 2=h2;Heading 3=h4;Heading 4=h4;Heading 5=h5;Heading 6=h6;",forced_root_block:"p",relative_urls:!1,convert_urls:!1,remove_script_host:!1,document_base_url:"",allow_script_urls:!1,formats:{alignleft:{classes:"alignleft"},alignright:{selector:"p,h1,h2,h3,h4,span,strong,em,a",classes:"alignright"},aligncenter:{selector:"p,h1,h2,h3,h4,span,strong,em,a",classes:"aligncenter"},strikethrough:{inline:"del"}},fix_list_elements:!0,extended_valid_elements:"span,b,i,u,loco:script",
|
126 |
+
entities:"38,amp,60,lt,62,gt,160,nbsp",entity_encoding:"named",keep_styles:!1,init_instance_callback:g})});return{val:function(a){null==m?h(q).html(a):m.getContent()!==a&&m.setContent(a);return this},kill:function(){m&&(f&&f.val(m.getContent()),b(m),m.destroy(),m=null);q&&(r.removeChild(q),h(r).removeClass("has-proxy has-mce"),q=null);G&&(A.removeChild(G),G=null);return this},enable:function(a){f=a;m&&p(m,a);return this},disable:function(){m&&c(m);f=null;return this},focus:function(){m&&f&&m.focus();
|
127 |
+
return this},invs:function(a){a=a||!1;y!==a&&(y=a,h(r)[a?"addClass":"removeClass"]("show-invs"));return this}}};return d}({},v,z));l.register("$45",function(d,f,B){function p(a){function b(){p&&(l.off("input",d),p=!1)}function d(){var b=a.value;b!==r&&(l.trigger("changing",[b,r]),r=b)}function f(){d();p&&A!==r&&l.trigger("changed",[r])}function g(){c=a;A=r;p||(l.on("input",d),p=!0);l.trigger("editFocus");s.addClass("has-focus");return!0}function m(){c===a&&(c=null);l.trigger("editBlur");s.removeClass("has-focus");
|
128 |
+
p&&(f(),b());return!0}var p=!1,l=h(a),s=h(a.parentNode),r=a.value,A;l.blur(m).focus(g);return{val:function(b){r!==b&&(a.value=b,l.triggerHandler("input"),r=b);return!0},kill:function(){b();l.off("blur",m).off("focus",g)},fire:function(){r=null;d()},ping:f,blur:m,focus:g}}function b(a){this.e=a}var c;d._new=function(a){return new b(a)};d.init=function(a){var c=new b(a);a.disabled?(a.removeAttribute("disabled"),c.disable()):a.readOnly?c.disable():c.enable();return c};TextAreaPrototype=b.prototype;TextAreaPrototype.destroy=
|
129 |
+
function(){this.unlisten();this.e=null};TextAreaPrototype.reload=function(a,b){b?this.l||this.enable():this.l&&this.disable();return this.val(a||"")};TextAreaPrototype.val=function(a){var b=this.e;if(null==a)return b.value;var c=this.l,d=this.p||c;d&&d.val(a);c||b.value===a||(b.value=a,h(b).triggerHandler("input"));return this};TextAreaPrototype.fire=function(){this.l&&this.l.fire();return this};TextAreaPrototype.ping=function(){this.l&&this.l.ping();return this};TextAreaPrototype.focus=function(){var a=
|
130 |
+
this.p;a?a.focus():h(this.e).focus()};TextAreaPrototype.focused=function(){return c&&c===this.el};TextAreaPrototype.parent=function(){return this.e.parentNode};TextAreaPrototype.attr=function(a,b){var c=this.e;if(1===arguments.length)return c.getAttribute(a);null==b?c.removeAttribute(a):c.setAttribute(a,b);return this};TextAreaPrototype.editable=function(){return!!this.l};TextAreaPrototype.enable=function(){var a=this.p;this.e.removeAttribute("readonly");this.listen();a&&a.enable&&a.enable(this.l);
|
131 |
+
return this};TextAreaPrototype.disable=function(){var a=this.p;this.e.setAttribute("readonly",!0);this.unlisten();a&&a.disable&&a.disable();return this};TextAreaPrototype.listen=function(){var a=this.l;a&&a.kill();this.l=p(this.e);return this};TextAreaPrototype.unlisten=function(){this.l&&this.l.kill();this.l=null;return this};TextAreaPrototype.setInvs=function(a,b){var c=this.i||!1;if(b||c!==a)this._i&&(this._i.kill(),delete this._i),(c=this.p)?c.invs&&c.invs(a):a&&(this._i=l.require("$49","mirror.js").init(this.e)),
|
132 |
+
this.i=a;return this};TextAreaPrototype.getInvs=function(){return this.i||!1};TextAreaPrototype.setMode=function(a){var b=this.p;a!==(this.m||"")&&(this.m=a,b&&b.kill(),this.p=b="code"===a?l.require("$15","ace.js").init(this.e,this.l,this["%"]):"html"===a?l.require("$50","mce.js").init(this.e,this.l):null,this.setInvs(this.i,!0),c&&this.focus());return this};TextAreaPrototype.setStrf=function(a){this["%"]=a;"code"===this.m&&this.p.strf(a);return this};TextAreaPrototype.name=function(a){this.e.setAttribute("name",
|
133 |
+
a);return this};TextAreaPrototype.placeholder=function(a){this.e.setAttribute("placeholder",a);return this};TextAreaPrototype.redraw=function(){var a=this.p;a&&a.resize&&a.resize()};TextAreaPrototype=null;return d}({},v,z));l.register("$46",function(d,f,l){function p(a){var b=f.console;b&&b.error&&b.error(a)}function b(a){var b=l.createElement("div");a&&b.setAttribute("class",a);return b}function c(a){return function(){a.resize();return this}}function a(a){return function(b){var c=b.target.$index;
|
134 |
+
if(null==c)return!0;a.select(c);b.stopPropagation();b.preventDefault();return!1}}function e(a){return function(){a.redrawDirty()&&a.redraw();return!0}}function n(a){return function(b){var c;c=b.keyCode;if(40===c)c=1;else if(38===c)c=-1;else return!0;if(b.shiftKey||b.ctrlKey||b.metaKey||b.altKey)return!0;a.selectNext(c);b.stopPropagation();b.preventDefault();return!1}}function k(a,b,c){function d(a){p("row["+a+"] disappeared");return{cellVal:function(){return""}}}return function(e){var g=b||0,f=c?
|
135 |
+
-1:1,w=a.rows||[];e.sort(function(a,b){return f*(w[a]||d(a)).cellVal(g).localeCompare((w[b]||d(b)).cellVal(g))})}}function g(a){this.w=a}function m(a){this.t=a;this.length=0}function y(a,b,c){var d=l.createElement("div");d.className=c||"";this._=d;this.d=b||[];this.i=a||0;this.length=b.length}function C(a){this.live=a;this.rows=[]}d.create=function(a){return new g(a)};var s=g.prototype;s.init=function(d){var g=this.w,q=g.id,f=g.splity(q+"-thead",q+"-tbody"),k=f[0],f=f[1],m=[],p=[],w=[],F=[];if(d)this.ds=
|
136 |
+
d,this.idxs=p,this._idxs=null;else if(!(d=this.ds))throw Error("No datasource");k.css.push("wg-thead");f.css.push("wg-tbody");d.eachCol(function(a,b,c){w[a]=q+"-col-"+b;F[a]=c||b});for(var l=b(),s=-1,K=w.length,C=b("wg-cols"),v=k.splitx.apply(k,w);++s<K;)v[s].header(F[s]),C.appendChild(l.cloneNode(!1));d.eachRow(function(a,b,c){m[a]=new y(a,b,c);p[a]=a});this.rows=m;this.cols=C;this.ww=null;this.root=l=f.body;this.head=k;k.redraw=c(this);k=f.fixed=v[0].bodyY()||20;g.lock().resize(k,f);g.css.push("is-table");
|
137 |
+
g.restyle();this.sc?this._re_sort(K):d.sort&&d.sort(p);this.redrawDirty();this.render();h(l).attr("tabindex","-1").on("keydown",n(this)).on("mousedown",a(this)).on("scroll",e(this));return this};s.clear=function(){for(var a=this.pages||[],b=a.length;0!==b--;)a[b].destroy();this.pages=[];this.sy=this.mx=this.mn=this.vh=null;void 0;return this};s.render=function(){for(var a,b,c=[],d=this.rows||[],e=-1,g,f=this.idxs,w=f.length,k=this.idxr={},m=this.r,h=this._r,n=this.root,p=this.cols;++e<w;){0===e%100&&
|
138 |
+
(a=p.cloneNode(!0),b=new C(a),b.h=2200,b.insert(n),c.push(b));g=f[e];k[g]=e;a=d[g];if(null==a)throw Error("Render error, no data at ["+g+"]");a.page=b;b.rows.push(a)}b&&100!==b.size()&&b.sleepH(22);this.pages=c;this.mx=this.mn=null;this.redrawDirty();this.redraw();null==m?null!=h&&(a=d[h])&&a.page&&(delete this._r,this.select(h,!0)):(a=d[m])&&a.page?this.select(m,!0):(this.deselect(),this._r=m);return this};s.resize=function(){var a=-1,b=this.ww||(this.ww=[]),c=this.w,d=c.cells[0],e=d.body.childNodes,
|
139 |
+
g=e.length,f=this.pages||[],w=f.length;for(c.redraw.call(d);++a<g;)b[a]=e[a].style.width;if(w){c=this.mx;for(a=this.mn;a<=c;a++)f[a].widths(b);this.redrawDirty()&&this.redraw()}};s.redrawDirty=function(){var a=!1,b=this.root,c=b.scrollTop,b=b.clientHeight;this.sy!==c&&(a=!0,this.sy=c);this.vh!==b&&(a=!0,this.vh=b);return a};s.redraw=function(){for(var a=0,b=-1,c=null,d=null,e=this.ww,g=this.sy,f=this.vh,w=this.mn,k=this.mx,m=Math.max(0,g-100),g=f+g+100,h=this.pages||[],n=h.length;++b<n&&!(a>g);)f=
|
140 |
+
h[b],a+=f.height(),a<m||(null===c&&(c=b),d=b,f.rendered||f.render(e));if(w!==c){if(null!==w&&c>w)for(b=w;b<c;b++){f=h[b];if(!f)throw Error("Shit!");f.rendered&&f.sleep()}this.mn=c}if(k!==d){if(null!==k&&d<k)for(b=k;b>d;b--)f=h[b],f.rendered&&f.sleep();this.mx=d}};s.selected=function(){return this.r};s.thead=function(){return this.w.cells[0]};s.tbody=function(){return this.w.cells[1]};s.tr=function(a){return(a=this.rows[a])?a.cells():[]};s.td=function(a,b){return this.tr(a)[b]};s.next=function(a,b,
|
141 |
+
c){null==c&&(c=this.r||0);var d=this.idxs,e=d.length,g=(this.idxr||{})[c];for(c=g;c!==(g+=a)&&!(0<=g&&e>g);)if(b&&e)g=1===a?-1:e,b=!1;else return null;c=d[g];return null==c||null==this.rows[c]?(p("Bad next: ["+g+"] does not map to data row"),null):c};s.selectNext=function(a,b,c){a=this.next(a,b);null!=a&&this.r!==a&&this.select(a,c);return this};s.deselect=function(a){var b=this.r;null!=b&&(this.r=null,h(this.tr(b)).removeClass("selected"),this.w.fire("wgRowDeselect",[b,a]));return this};s.selectRow=
|
142 |
+
function(a,b){return this.select(this.idxs[a])};s.select=function(a,b){var c=this.rows[a],d=c&&c.page;if(!d)return this.deselect(!1),p("Row is filtered out"),this;this.deselect(!0);var e,g=this.w.cells[1];d.rendered||(e=d.top(),g.scrollY(e),this.redrawDirty()&&this.redraw());if(!c.rendered)return d.rendered||p("Failed to render page"),p("Row ["+c.i+"] not rendered"),this;d=c.cells();h(d).addClass("selected");this.r=a;b||(e=g.scrollY(),h(this.root).focus(),e!==g.scrollY()&&g.scrollY(e));g.scrollTo(d[0],
|
143 |
+
!0);this.w.fire("wgRowSelect",[a,c.data()]);return this};s.unfilter=function(){this._idxs&&(this.idxs=this._sort(this._idxs),this._idxs=null,this.clear().render());return this};s.filter=function(a){this._idxs||(this._idxs=this.idxs);this.idxs=this._sort(a);return this.clear().render()};s.each=function(a){for(var b,c=-1,d=this.rows||[],e=this.idxs||[],g=e.length;++c<g;)b=e[c],a(d[b],c,b);return this};s.sortable=function(a){var b=this.sc||(this.sc=new m(this));b.has(a)||b.add(a);return this};s._re_sort=
|
144 |
+
function(a){var b=-1,c=this.sc,d=c.active;for(this.sc=c=new m(this);++b<a;)c.add(b);d&&(b=this.head.indexOf(d.id),-1===b&&(b=Math.min(d.idx,a-1)),this.sort(b,d.desc));return this};s._sort=function(a,b){b?(this.s=b,b(a)):(b=this.s)&&b(a);return a};s.sort=function(a,b){this._sort(this.idxs,k(this,a,b));this.sc.activate(a,b);return this};s=null;s=m.prototype;s.has=function(a){return null!=this[a]};s.add=function(a){var b=this,c=b.t.head.cells[a];b[a]={desc:null,idx:a,id:c.id};b.length++;c.addClass("wg-sortable").on("click",
|
145 |
+
function(c){if("header"===c.target.nodeName.toLowerCase())return c.stopImmediatePropagation(),b.toggle(a),!1});return b};s.toggle=function(a){this.t.sort(a,!this[a].desc).clear().render();return this};s.activate=function(a,b){var c,d;c=this.active;var e=this[a],g=this.t.head.cells;c&&(d=g[c.idx])&&(d.removeClass(c.css),c!==e&&d.restyle());(d=g[a])?(e.desc=b,this.active=e,c="wg-"+(b?"desc":"asc"),d.addClass(c).restyle(),e.css=c):this.active=null;return this};s=null;s=y.prototype;s.render=function(a){var b,
|
146 |
+
c=[],d=this._,e=this.d,g=this.length;if(d){for(;0!==g--;)c[g]=b=d.cloneNode(!1),b.textContent=e[g]||"\u00a0",b.$index=this.i,a[g].appendChild(b);this._=null;this.c=c}else for(c=this.c;0!==g--;)a[g].appendChild(c[g]);this.rendered=!0;return this};s.cells=function(){return this.c||[]};s.data=function(){return this.d||[]};s.destroy=function(){this.page=null;this.rendered=!1};s.cellVal=function(a){return this.d[a]};s=null;s=C.prototype;s.size=function(){return this.rows.length};s.insert=function(a){var c=
|
147 |
+
this.h,d=b("wg-dead");d.style.height=String(c)+"px";a.appendChild(d);return this.dead=d};s.top=function(){return(this.rendered?this.live:this.dead).offsetTop};s.height=function(){var a=this.h;null==a&&(this.h=a=this.rendered?this.live.firstChild.offsetHeight:this.dead.offsetHight);a||p("row has zero height");return a};s.render=function(a){for(var b,c=-1,d=this.rows,e=d.length,g=this.dead,f=this.live,w=f.childNodes;++c<e;)b=d[c],b.rendered||b.render(w);e=a.length;for(c=0;c<e;c++)w[c].style.width=a[c];
|
148 |
+
g.parentNode.replaceChild(f,g);this.rendered=!0;this.h=null;return this};s.sleep=function(){var a=this.height(),b=this.live,c=this.dead;c.style.height=String(a)+"px";b.parentNode.replaceChild(c,b);this.rendered=!1;this.h=a;return this};s.sleepH=function(a){a*=this.rows.length;var b=this.dead;b&&(b.style.height=String(a)+"px");this.rendered||(this.h=a);return this};s.widths=function(a){for(var b=this.live.childNodes,c=a.length;0!==c--;)b[c].style.width=a[c];return this};s.destroy=function(){var a=
|
149 |
+
this.rendered?this.live:this.dead,b=this.rows,c=b.length;for(a.parentNode.removeChild(a);0!==c--;)b[c].destroy()};s=null;return d}({},v,z));l.register("$38",function(d,f,v){function p(a,b){var c=a.id,d=c&&s[c],e=d&&d.parent();if(!d||!e)return null;var g=e.dir===C,c=g?"X":"Y",f="page"+c,g=g?y:m,k=g(e.el),c=b["offset"+c],h=e.el,n=h.className;null==c&&(c=b[f]-g(a));c&&(k+=c);h.className=n+" is-resizing";return{done:function(){h.className=n},move:function(a){e.resize(a[f]-k,d);return!0}}}function b(b,
|
150 |
+
c){function d(){h(v).off("mousemove",e);A&&(A.done(),A=null);return!0}function e(a){A?A.move(a):d();return!0}if(A)return!0;A=p(b.target,b);if(!A)return!0;h(v).one("mouseup",d).on("mousemove",e);return a(b)}function c(a,b){var c=b.type;"touchmove"===c?A&&A.move(b):"touchstart"===c?A=p(a.target,b):"touchend"===c&&A&&(A.done(),A=null)}function a(a){a.stopPropagation();a.preventDefault();return!1}function e(a){var b=r;b&&b.redraw();a&&a.redraw();return r=a}function n(a,b){var c=h(b).on("editFocus",function(){c.trigger("wgFocus",
|
151 |
+
[e(a)])}).on("editBlur",function(){c.trigger("wgBlur",[e(null)])})}function k(a){var b=a.id,c=a.className;this.id=b;this.el=a;this.pos=this.index=0;this.css=[c||"wg-root","wg-cell"];this._cn=c;s[b]=this;this.clear()}var g=l.require("$18","html.js"),m=g.top,y=g.left,C=1,s={},r,A=!1;d.init=function(a){var d=new k(a);d.redraw();l.require("$44","touch.js").ok(function(b){b.dragger(a,c)});h(a).mousedown(b);return d};f=k.prototype;f.fire=function(a,b){var c=h.Event(a);c.cell=this;h(this.el).trigger(c,b);
|
152 |
+
return this};f.each=function(a){for(var b=-1,c=this.cells,d=c.length;++b<d;)a(c[b],b);return this};f.indexOf=function(a){return(a=s[a.id||String(a)])&&a.pid===this.id?a.index:-1};f.on=function(){return this.$("on",arguments)};f.off=function(){return this.$("off",arguments)};f.find=function(a){return h(this.el).find(a)};f.$=function(a,b){h.fn[a].apply(h(this.el),b);return this};f.addClass=function(a){this.css.push(a);return this};f.removeClass=function(a){a=this.css.indexOf(a);-1!==a&&this.css.splice(a,
|
153 |
+
1);return this};f.parent=function(){return this.pid&&s[this.pid]};f.splitx=function(){return this._split(C,arguments)};f.splity=function(){return this._split(2,arguments)};f._split=function(a,b){(this.length||this.field)&&this.clear();for(var c=-1,d,e=b.length,f=1/e,h=0;++c<e;){d=g.el();this.body.appendChild(d);for(var m=d,n=b[c],p=n,l=1;s[n];)n=p+"-"+ ++l;m.id=n;d=new k(d);d.index=c;d.pid=this.id;d.pos=h;h+=f;this.cells.push(d);this.length++}this.dir=a;this.redraw();return this.cells};f.destroy=
|
154 |
+
function(){this.clear();delete s[this.id];var a=this.el;a.innerHTML="";a.className=this._cn||"";h(a).off();return this};f.exists=function(){return this===s[this.id]};f.clear=function(){for(var a=this.el,b=this.cells,c=this.field,d=this.body,e=this.nav,f=this.length||0;0!==f--;)delete s[b[f].destroy().id];this.cells=[];this.length=0;e&&(a.removeChild(e),this.nav=null);d&&(c&&(g.ie()&&h(d).triggerHandler("blur"),c.destroy(),this.field=null),this.table&&(this.table=null),a.removeChild(d));this.body=
|
155 |
+
a.appendChild(g.el("","wg-body"));this._h=null;return this};f.resize=function(a,b){if(!b&&(b=this.cells[1],!b))return;var c=b.index,d=this.cells;this.parent();var e=h(this.el)[this.dir===C?"width":"height"](),g=d[c+1],c=d[c-1];pad=(b.body||b.el.firstChild).offsetTop||0;max=(g?g.pos*e:e)-pad;min=c?c.pos*e:0;b.pos=Math.min(max,Math.max(min,a))/e;this.redraw();return this};f.distribute=function(a){for(var b=-1,c=0,d,e=this.cells,g=a.length;++b<g&&(d=e[++c]);)d.pos=Math.max(0,Math.min(1,a[b]));this.redraw();
|
156 |
+
return this};f.distribution=function(){for(var a=[],b=0,c=this.cells,d=c.length-1;b<d;)a[b]=c[++b].pos;return a};f.restyle=function(){var a=this.css.concat();0===this.index?a.push("first"):a.push("not-first");this.dir&&(a.push("wg-split"),2===this.dir?a.push("wg-split-y"):a.push("wg-split-x"));this.t&&a.push("has-title");this.nav&&a.push("has-nav");this.field&&(a.push("is-field"),this.field.editable()?a.push("is-editable"):a.push("is-readonly"));a=a.join(" ");a!==this._css&&(this._css=a,this.el.className=
|
157 |
+
a);return this};f.redraw=function(a){this.restyle();var b=this.el,c=this.body,d=this.field;if(c){var e,g=b.clientWidth||0,f=b.clientHeight||0,k=c.offsetTop||0,f=k>f?0:f-k;this._h!==f&&(this._h=f,c.style.height=String(f)+"px",e=d);this._w!==g&&(this._w=g,e=d);e&&e.redraw()}c=this.length;g=1;f=this.nav;for(k=2===this.dir?"height":"width";0!==c--;)d=this.cells[c],f?e=1:(d.fixed&&(d.pos=d.fixed/h(b)[k]()),e=g-d.pos,g=d.pos),d.el.style[k]=String(100*e)+"%",d.redraw(a);return this};f.contents=function(a,
|
158 |
+
b){var c=this.el,d=this.body;if(null==a)return d.innerHTML;this.length?this.clear():d&&(c.removeChild(d),d=null);d||(this.body=d=c.appendChild(g.el("",b||"wg-content")),this._h=null,(c=this.lang)&&this._locale(c,this.rtl,!0));"string"===typeof a?h(d)._html(a):a&&this.append(a);this.redraw();return this};f.textarea=function(a,b){var c=this.field;if(c){var d=c.editable();c.reload(a,b);d!==b&&this.restyle()}else this.length&&this.clear(),d=g.el("textarea"),d.setAttribute("wrap","virtual"),d.value=a,
|
159 |
+
this.contents(d),c=l.require("$45","field.js")._new(d)[b?"enable":"disable"](),n(this,d),this.field=c,this.restyle();this.lang||this.locale("en");return c};f.locale=function(a){a=l.require("$36","locale.js").cast(a);return this._locale(String(a),a.isRTL())};f._locale=function(a,b,c){var d=this.body;if(c||a!==this.lang)this.lang=a,d&&d.setAttribute("lang",a);if(c||b!==this.rtl)this.rtl=b,d&&d.setAttribute("dir",b?"RTL":"LTR");return this};f.editable=function(){var a=this.field;if(a)return a.editable()?
|
160 |
+
a:null;var b=this.cells,c=b.length,d=this.navigated();if(null!=d)return b[d].editable();for(;++d<c;){for(d=0;d<c;c++);if(a=b[d].editable())return a}};f.eachTextarea=function(a){var b=this.field;b?a(b):this.each(function(b){b.eachTextarea(a)});return this};f.append=function(a){a&&(a.nodeType?g.init(this.body.appendChild(a)):g.init(h(a).appendTo(this.body)));return this};f.prepend=function(a){var b=this.body;if(a.nodeType){var c=b.firstChild;g.init(c?b.insertBefore(a,c):b.appendChild(a))}else g.init(h(a).prependTo(b));
|
161 |
+
return this};f.before=function(a){var b=this.body;a.nodeType?g.init(this.el.insertBefore(a,b)):g.init(h(a).insertBefore(b));return this};f.header=function(a,b){if(null==a&&null==b)return this.el.getElementsByTagName("header")[0];this.t=g.txt(a||"");this.el.insertBefore(g.el("header",b),this.body).appendChild(this.t);this.redraw();return this};f.title=function(a){var b=this.t;if(b)return b.nodeValue=a||"",b;this.header(a);return this.t};f.titled=function(){var a=this.t;return a&&a.nodeValue};f.bodyY=
|
162 |
+
function(){return m(this.body,this.el)};f.scrollY=function(a){if(S===a)return this.body.scrollTop;this.body.scrollTop=a};f.tabulate=function(a){var b=this.table;b?b.clear():b=l.require("$46","wgtable.js").create(this);b.init(a);return this.table=b};f.lock=function(){this.body.className+=" locked";return this};f.scrollTo=function(a,b){var c,d=this.body;c=d.scrollTop;var e=m(a,d);if(c>e)c=e;else{var g=d.clientHeight,e=e+h(a).outerHeight();if(g+c<e)c=e-g;else return}b?d.scrollTop=c:h(d).stop(!0).animate({scrollTop:c},
|
163 |
+
250)};f.navigize=function(b,c){function d(a){var b=f[a],c=m[a],e=h(b.el).show();c.addClass("active");k=a;n.data("idx",a);b.fire("wgTabSelect",[a]);return e}var e=this,f=e.cells,w=e.nav,k,m=[];w&&e.el.removeChild(w);var w=e.nav=e.el.insertBefore(g.el("nav","wg-tabs"),e.body),n=h(w).on("click",function(b){var c=h(b.target).data("idx");if(null==c)return!0;if(null!=k){var g=m[k];h(f[k].el).hide();g.removeClass("active")}d(c);e.redraw();return a(b)});null==c&&(c=n.data("idx")||0);e.each(function(a,c){m[c]=
|
164 |
+
h('<a href="#'+a.id+'"></a>').data("idx",c).text(b[c]).appendTo(n);a.pos=0;h(a.el).hide()});d(f[c]?c:0);e.lock();e.redraw();return e};f.navigated=function(){var a=this.nav;if(a)return h(a).data("idx")};f=null;return d}({},v,z));l.register("$26",function(d,f,h){function p(b){this.reIndex([]);if(b)for(var c in b)this.add(c,b[c])}d.init=function(b){return new p(b)};f=p.prototype;f.reIndex=function(b){for(var c={},a=-1,d=b.length;++a<d;)c[b[a]]=a;this.keys=b;this.length=a;this.ords=c};f.key=function(b,
|
165 |
+
c){if(null==c)return this.keys[b];var a=this.keys[b],d=this.ords[c];if(c!==a){if(null!=d)throw Error("Clash with item at ["+d+"]");this.keys[b]=c;delete this.ords[a];this.ords[c]=b}return b};f.indexOf=function(b){b=this.ords[b];return null==b?-1:b};f.add=function(b,c){var a=this.ords[b];null==a&&(this.keys[this.length]=b,a=this.ords[b]=this.length++);this[a]=c;return a};f.get=function(b){return this[this.ords[b]]};f.has=function(b){return null!=this.ords[b]};f.del=function(b){this.cut(this.ords[b],
|
166 |
+
1)};f.cut=function(b,c){c=c||1;var a=[].splice.call(this,b,c);this.keys.splice(b,c);this.reIndex(this.keys);return a};f.each=function(b){for(var c=-1,a=this.keys,d=this.length;++c<d;)b(a[c],this[c],c);return this};f.sort=function(b){for(var c=-1,a=this.length,d,f=this.keys,k=this.ords,g=[];++c<a;)g[c]=[this[c],f[c]];g.sort(function(a,c){return b(a[0],c[0])});for(c=0;c<a;c++)d=g[c],this[c]=d[0],d=d[1],f[c]=d,k[d]=c;return this};f.join=function(b){return[].join.call(this,b)};f=null;return d}({},v,z));
|
167 |
+
l.register("$24",function(d,f,v){function p(a){var b=[];a&&(a.saved()||b.push("po-unsaved"),a.fuzzy()?b.push("po-fuzzy"):a.flagged()&&(b.push("po-flagged"),b.push("po-flag-"+a.flags().join(" po-flag-"))),a.translation()||b.push("po-empty"),a.comment()&&b.push("po-comment"));return b.join(" ")}function b(a,b,c){b=h(a.title(b).parentNode);var d=b.find("span.lang");c?(c=l.require("$36","locale.js").cast(c),d.length||(d=h("<span></span>").prependTo(b)),d.attr("lang",c.lang).attr("class",c.getIcon()||
|
168 |
+
"lang region region-"+(c.region||"zz").toLowerCase())):(d.remove(),c="en");a.locale(c);return b}function c(){this.dirty=0}var a="poUpdate",e="changing",n="changed",k=0,g=1,m=2,y=3,C=4,s=5,r=/^\s+/,A,q,G=l.require("$3","string.js").sprintf,z=l.require("$18","html.js");d.extend=function(a){return a.prototype=new c};d.localise=function(a){q=a;return d};var E=function(){var a=v.createElement("p");return function(b){a.innerHTML=b.replace("src=","x=");return a.textContent}}(),u=c.prototype=l.require("$37",
|
169 |
+
"abstract.js").init(["getListColumns","getListHeadings","getListEntry"],["editable","t"]);u.init=function(){this.localise();this.editable={source:!0,target:!0};this.mode="";this.html=!1;return this};u.localise=function(a){a||(a=q||l.require("$1","t.js").init());var b=[];b[k]=a._x("Source text","Editor")+":";b[y]=a._x("%s translation","Editor")+":";b[C]=a._x("Context","Editor")+":";b[s]=a._x("Comments","Editor")+":";b[g]=a._x("Single","Editor")+":";b[m]=a._x("Plural","Editor")+":";this.labels=b;this.t=
|
170 |
+
a;return this};u.setRootCell=function(a){function b(a){c.redraw(!0,a);return!0}var c=l.require("$38","wingrid.js").init(a);h(f).on("resize",b);this.redraw=b;h(a).on("wgFocus wgBlur",function(a,b){a.stopPropagation();A=b});this.destroy=function(){c.destroy();h(f).off("resize",b)};this.rootDiv=a;return c};c.prototype.$=function(){return h(this.rootDiv)};u.on=function(a,b){return h(this.rootDiv).on(a,b)};u.setListCell=function(a){var b=this;b.listCell=a;a.on("wgRowSelect",function(a,c){b.loadMessage(b.po.row(c));
|
171 |
+
return!0}).on("wgRowDeselect",function(a,c,d){d||b.loadNothing();return!0})};u.setSourceCell=function(a){this.sourceCell=a;a=a.find("p.notes");this.$notes=a.length?a:null};u.setTargetCell=function(a){this.targetCell=a;a=a.find("p.errors");this.$errs=a.length?a:null};u.next=function(a,b,c){for(var d=this.listTable,e=d.selected(),g=e,f,k=this.po;null!=(e=d.next(a,c,e));){if(g===e){e=null;break}if(b&&(f=k.row(e),f.translated(0)))continue;break}null!=e&&d.select(e,!0);return e};u.current=function(a){var b=
|
172 |
+
this.active;if("undefined"===typeof a)return b;a?a.is(b)?this.reloadMessage(a):this.loadMessage(a):this.unloadActive();return this};u.getTargetEditable=function(){return this.editable.target&&this.targetCell&&this.targetCell.editable()};u.getSourceEditable=function(){return this.editable.source&&this.sourceCell&&this.sourceCell.editable()};u.getContextEditable=function(){return this.editable.context&&this.contextCell&&this.contextCell.editable()};u.getFirstEditable=function(){return this.getTargetEditable()||
|
173 |
+
this.getSourceEditable()||this.getContextEditable()};u.searchable=function(a){a&&(this.dict=a,this.po&&this.rebuildSearch());return this.dict&&!0};u.rebuildSearch=function(){var a=-1,b=this.po.rows,c=b.length,d=this.dict;for(d.clear();++a<c;)d.add(a,b[a].toText())};u.filtered=function(){return this.lastSearch||""};u.filter=function(a,b){var c,d=this.listTable,e=this.lastFound,g=this.lastSearch;if(a){if(g===a)return e||0;if(g&&!e&&0===a.indexOf(g))return 0;c=this.dict.find(a)}this.lastSearch=g=a;this.lastFound=
|
174 |
+
e=c?c.length:this.po.length;c?d.filter(c):d.unfilter();b||this.fire("poFilter",[g,e]);return e};u.countFiltered=function(){return this.lastSearch?this.lastFound:this.po.length};u.unsave=function(a,b){var c=!1;if(a=a||self.active){if(c=a.saved(b))this.dirty++,a.unsave(b),this.fire("poUnsaved",[a,b]);this.markUnsaved(a)}return c};u.markUnsaved=function(a){var b=this.po.indexOf(a);if(b=this.listTable.tr(b)){var c=b[0].className;changedStyle=c.replace(/(?:^| +)po-[a-z]+/g,"")+" "+p(a);changedStyle!==
|
175 |
+
c&&h(b).attr("class",changedStyle)}};u.save=function(a){var b=this.po;if(this.dirty||a)b.each(function(a,b){b.save()}),this.listCell.find("div.po-unsaved").removeClass("po-unsaved"),this.dirty=0,this.fire("poSave");return b};u.fire=function(a,b){var c=this.on;if(c&&c[a]&&(c=c[a].apply(this,b||[]),!1===c))return!1;c=h.Event(a);h(this.rootDiv).trigger(c,b);return!c.isDefaultPrevented()};u.getSorter=function(){return null};u.reload=function(){var a=this,b,c=a.listCell,d=a.listTable,e=a.po,g=e&&e.locale(),
|
176 |
+
f=g&&g.isRTL(),k=e&&e.length||0;if(e&&e.row){a.lastSearch&&(a.lastSearch="",a.lastFound=k,a.fire("poFilter",["",k]));d&&(b=d.thead().distribution());a.listTable=d=c.tabulate({eachCol:function(b){var c,d,e=a.getListColumns(),g=a.getListHeadings();for(d in e)c=e[d],b(c,d,g[c])},eachRow:function(b){e.each(function(c,d){b(d.idx,a.getListEntry(d),p(d))})},sort:a.getSorter()});var h,c=a.getListColumns();for(h in c)d.sortable(c[h]);b&&d.thead().distribute(b);d.tbody().$(f?"addClass":"removeClass",["is-rtl"]);
|
177 |
+
a.targetLocale=g;a.fire("poLoad");return!!k}c&&c.clear().header("Error").contents("Invalid messages list")};u.load=function(a,b){this.po=a;this.dict&&this.rebuildSearch();this.reload()&&(-1!==b?this.listTable.selectRow(b||0):this.active&&this.unloadActive())};u.pasteMessage=function(a){var b,c=0;(b=this.sourceCell)&&b.eachTextarea(function(b){b.val(a.source(null,c++))});(b=this.contextCell)&&b.eachTextarea(function(b){b.val(a.context())});if(b=this.targetCell)c=0,b.eachTextarea(function(b){b.val(a.translation(c++))});
|
178 |
+
this.updateListCell(a,"source");this.updateListCell(a,"target");return this};u.reloadMessage=function(a){var b,c;this.pasteMessage(a);(b=this.sourceCell)&&this.setNotes(a.notes())&&b.redraw();if(b=this.targetCell)c=b.navigated()||0,this.setErrors(a.errors(c))&&b.redraw();return this};u.setNotes=function(a){var b=!1,c=this.$notes;a?(c||(this.$notes=c=h('<p class="notes"></p>').insertAfter(this.sourceCell.header())),a=z.h(a,!0),c.html(a).show(),z.init(c),b=!0):c&&c.text()&&(c.text("").hide(),b=!0);
|
179 |
+
return b};u.setErrors=function(a){var b=!1,c=this.$errs;a&&a.length?(c||(this.$errs=c=h('<p class="errors"></p>').insertAfter(this.targetCell.header())),c.html(z.h(a.join(".\n")+".",!0)).show(),z.init(c),b=!0):c&&c.text()&&(c.text("").hide(),b=!0);return b};u.loadMessage=function(c){function d(a){var e,h=a,h=a.id;e=M[k];a.off();a.titled()!==e&&b(a,e,u.sourceLocale||"en");u.setNotes(c.notes())&&a.clear();V?(e=a.splity(h+"-singular",h+"-plural"),h=e[0],e=e[1],h.header(M[g]).textarea(W,N).setStrf(E).setMode(v).setInvs(B),
|
180 |
+
e.header(M[m]).textarea(V,N).setStrf(E).setMode(v).setInvs(B),a.lock(),N&&(f(h,0),f(e,1))):(a.textarea(W,N).setStrf(E).setMode(v).setInvs(B),N&&f(a,0))}function f(b,d){b.on(e,function(a,b,e){1===d?c.plural(b):(c.source(b),u.updateListCell(c,"source"));u.unsave(c,d)}).on(n,function(b){0===d&&u.po.reIndex(c);u.dict&&u.rebuildSearch();u.fire(a,[c])})}function h(a,d,e){L&&a.eachTextarea(function(a){a.ping()});a.off();var g=d.isKnown()&&d.label||"Target",g=G(M[y],g);a.titled()!==g&&b(a,g,d);u.setErrors(c.errors(e))&&
|
181 |
+
a.clear();if(c.pluralized()){var f=[],k=d.plurals||["One","Other"],m=l.require("$26","collection.js").init();for(c.each(function(a,b,c){if(c||k[a])f.push(k[a]||"Form "+a),m.add("plural-"+a,c)});(g=f.length)<d.nplurals;)f.push(k[g]||"Form "+m.length),m.add("plural-"+g,c.translation(g));children=a.splitx.apply(a,m.keys);a.each(function(a,b){var d=L&&!c.disabled(b);a.textarea(m[b],d).setStrf(E).setMode(v).setInvs(B);L&&p(a,b)});a.navigize(f,e||null).on("wgTabSelect",function(a,b){var d=L&&a.cell.editable();
|
182 |
+
d&&d.focus();u.setErrors(c.errors(b));u.fire("poTab",[b])})}else L=L&&!c.disabled(0),a.textarea(c.translation(),L).setStrf(E).setMode(v).setInvs(B),L&&p(a,0)}function p(b,d){b.on(e,function(a,b,e){c.translate(b,d);0===d&&u.updateListCell(c,"target");c.fuzzy(d)?u.fuzzy(!1,c,d):u.unsave(c,d);""===b?u.fire("poEmpty",[!0,c,d]):""===e&&u.fire("poEmpty",[!1,c,d])}).on(n,function(b){u.dict&&u.rebuildSearch();u.fire(a,[c])})}function r(d){d.off();b(d,M[C]);d.textarea(c.context(),!0).setMode(v).setInvs(B);
|
183 |
+
S&&d.on(e,function(a,b){c.context(b);u.updateListCell(c,"source");u.unsave(c,R)}).on(n,function(){u.po.reIndex(c);u.dict&&u.rebuildSearch();u.fire(a,[c])})}function q(a){var d=M[s];a.titled()!==d&&b(a,d);a.off().on(e,function(a,b){c.comment(b);u.fire("poComment",[c,b]);u.unsave(c,R)}).textarea(c.comment(),!0)}var u=this,v=u.mode,z=c.isHTML(),B=u.inv||!1,D=this.fmt||null,E=c.format()||null,J=c.is(u.active),R=0,P=u.sourceCell,T=u.targetCell,U=u.contextCell,X=u.commentCell,L=u.editable.target,N=u.editable.source,
|
184 |
+
S=u.editable.context,W=c.source()||"",V=c.plural()||"",O=A,Y=u.targetLocale,M=u.labels;u.html!==z&&(u.html=z,"code"!==u.mode&&(v=z?"html":"",u.setMode(v)));u.active=c;P&&d(P);U&&r(U);T&&Y&&(R=T.navigated()||0,h(T,Y,R));X&&q(X);O&&(O.exists()||(O=O.parent()),(z=O.editable())&&z.focus());D!==E&&(this.fmt=E);J||u.fire("poSelected",[c])};u.unloadActive=function(){var a;(a=this.$notes)&&a.text("").hide();(a=this.$errs)&&a.text("").hide();(a=this.sourceCell)&&a.off().clear();(a=this.contextCell)&&a.off().clear();
|
185 |
+
(a=this.targetCell)&&a.off().clear();(a=this.commentCell)&&a.off();this.active&&(this.fire("poDeselected",[this.active]),this.active=null);return this};u.loadNothing=function(){var a,b=this.t,c=this.mode||"",d=this.inv||!1,e=this.fmt;this.unloadActive();(a=this.commentCell)&&a.textarea("",!1);if(a=this.sourceCell)a.textarea("",!1).setStrf(e).setMode(c).setInvs(d),a.title(b._x("Source text not loaded","Editor")+":");if(a=this.contextCell)a.textarea("",!1).setMode(c).setInvs(d),a.title(b._x("Context not loaded",
|
186 |
+
"Editor")+":");if(a=this.targetCell)a.textarea("",!1).setStrf(e).setMode(c).setInvs(d),a.title(b._x("Translation not loaded","Editor")+":");this.fire("poSelected",[null])};u.updateListCell=function(a,b){var c=this.getListColumns()[b],d=this.getListEntry(a)[c||0],e=this.po.indexOf(a);if(c=this.listTable.td(e,c))c.textContent=d};u.cellText=function(a){if(-1!==a.indexOf("<")||-1!==a.indexOf("&"))a=E(a);return a.replace(r,"")||"\u00a0"};u.fuzzy=function(b,c,d){if(!c){c=this.active;if(!c)return null;null==
|
187 |
+
d&&(d=this.targetCell&&this.targetCell.navigated()||0)}var e=c.fuzzy(d);null==b||e==b||b&&!c.translated(d)||!this.fire("poFuzzy",[c,b,d])||(c.fuzzy(d,b),this.fire(a,[c])&&this.unsave(c,d));return e};u.add=function(b,c){var d,e=this.po.get(b,c);e?d=this.po.indexOf(e):(d=this.po.length,e=this.po.add(b,c),this.load(this.po,-1),this.fire("poAdd",[e]),this.fire(a,[e]));this.lastSearch&&this.filter("");this.listTable.select(d);return e};u.del=function(b){if(b=b||this.active){var c=this.lastSearch,d=this.po.del(b);
|
188 |
+
null!=d&&(this.unsave(b),this.fire("poDel",[b]),this.fire(a,[b]),this.reload(),this.dict&&this.rebuildSearch(),this.active&&this.active.equals(b)&&this.unloadActive(),this.po.length&&(c&&this.filter(c),this.active||(d=Math.min(d,this.po.length-1),this.listTable.select(d))))}};u.setMono=function(a){return this.setMode(a?"code":this.html?"html":"")};u.setMode=function(a){this.mode!==a&&(this.mode=a,this.callTextareas(function(b){b.setMode(a)}));return this};u.getMono=function(){return"code"===this.mode};
|
189 |
+
u.setInvs=function(a){(this.inv||!1)!==a&&(this.inv=a,this.callTextareas(function(b){b.setInvs(a)}),this.fire("poInvs",[a]));return this};u.getInvs=function(){return this.inv||!1};u.callTextareas=function(a){var b=this.targetCell;b&&b.eachTextarea(a);(b=this.contextCell)&&b.eachTextarea(a);(b=this.sourceCell)&&b.eachTextarea(a);return this};u.focus=function(){var a=this.getTargetEditable();a&&a.focus();return this};u=null;return d}({},v,z));l.register("$25",function(d,f,h){Number.prototype.format=
|
190 |
+
function(d){d=Math.pow(10,d||0);var b=Math.round(d*this)/d;d=[];var b=String(b),c=b.split("."),b=c[0],c=c[1],a=b.length;do d.unshift(b.substring(a-3,a));while(0<(a-=3));b=d.join(",");if(d=c){d=c;for(var e,c=d.length;"0"===d.charAt(--c);)e=c;e&&(d=substring(0,e));d=c=d}d&&(b+="."+c);return b};Number.prototype.percent=function(d){var b=0,c=this&&d?100*(this/d):0;if(0===c)return"0";if(100===c)return"100";if(99<c){c=Math.min(c,99.99);do d=c.format(++b);while("100"===d.substr(0,3)&&2>b)}else if(0.5>c){c=
|
191 |
+
Math.max(c,1E-4);do d=c.format(++b);while("0"===d&&4>b)}else d=c.format(0);return d};return d}({},v,z));l.register("$12",function(d,f,h){function p(){this.init()._validate();this.sourceLocale={lang:"en",label:"English",plurals:["One","Other"]}}f=l.require("$24","base.js");l.require("$25","number.js");d.init=function(b){var c=new p;b=c.setRootCell(b);var a=b.splity("po-list","po-edit"),d=a[0],f=a[1],a=f.splitx("po-trans","po-comment"),k=a[0],g=a[1].header("Loading.."),a=k.splity("po-source","po-target"),
|
192 |
+
k=a[0].header("Loading.."),a=a[1].header("Loading..");b.distribute([0.34]);f.distribute([0.8]);c.setListCell(d);c.setSourceCell(k);c.setTargetCell(a);c.commentCell=g;c.editable.source=!1;return c};f=p.prototype=f.extend(p);f.getListHeadings=function(){var b=this.t||{_x:function(b){return b}};return[b._x("Source text","Editor"),b._x("Translation","Editor")]};f.getListColumns=function(){return{source:0,target:1}};f.getListEntry=function(b){if(!b)return["",""];var c=this.cellText,a=[c(b.id||b.source()||
|
193 |
+
""),c(b.translation()||"")];if(b=b.context())a[0]+=" [ "+c(b)+" ]";return a};f.stats=function(){var b=this.po,c=b.length,a=0,d=0,f=0;b.each(function(b,c){c.fuzzy()?f++:c.translated()?a++:d++});return{t:c,p:a.percent(c)+"%",f:f,u:d}};f.unlock=function(){this._unlocked||(this._unlocked=this.targetLocale,delete this.targetLocale,this.po&&this.po.unlock(),this.editable={source:!0,context:!0,target:!1},this.contextCell=this.targetCell,delete this.targetCell,this.fire("poLock",[!1]),this.active&&this.loadMessage(this.active))};
|
194 |
+
f.lock=function(){var b;this._unlocked&&(b=this.targetLocale=this._unlocked,delete this._unlocked,this.po&&this.po.lock(b),this.editable={source:!1,context:!1,target:!0},this.targetCell=this.contextCell,delete this.contextCell,this.fire("poLock",[!0,b]),this.active&&this.loadMessage(this.active))};f.locked=function(){return!this._unlocked};f.getSorter=function(){function b(a,b){var d=a.weight(),g=b.weight();return d===g?c(a,b):d>g?-1:1}function c(a,b){return a.hash().localeCompare(b.hash())}var a=
|
195 |
+
this;return function(d){var f=a.po,k=a.locked()?b:c;d.sort(function(a,b){return k(f.row(a),f.row(b))})}};return d}({},v,z));l.register("$13",function(d,f,l){var p={copy:66,clear:75,save:83,fuzzy:85,next:40,prev:38,enter:13,invis:73},b={38:!0,40:!0,73:!0},c={66:function(a,b){var c=b.current();c&&(c.normalize(),b.focus().pasteMessage(c))},75:function(a,b){var c=b.current();c&&(c.untranslate(),b.focus().pasteMessage(c))},85:function(a,b){b.focus().fuzzy(!b.fuzzy())},13:function(a,b){b.getFirstEditable()&&
|
196 |
+
b.next(1,!0,!0)},40:function(a,b){var c=a.shiftKey;b.next(1,c,c)},38:function(a,b){var c=a.shiftKey;b.next(-1,c,c)},73:function(a,b){if(!a.shiftKey)return!1;b.setInvs(!b.getInvs())}};d.init=function(a,d){function n(d){if(d.isDefaultPrevented()||!d.metaKey&&!d.ctrlKey)return!0;var e=d.which;if(!k[e])return!0;var f=c[e];if(!f)throw Error("command undefined #"+e);if(d.altKey||d.shiftKey&&!b[e]||!1===f(d,a))return!0;d.stopPropagation();d.preventDefault();return!1}var k={};h(d||f).on("keydown",n);return{add:function(a,
|
197 |
+
b){c[p[a]]=b;return this},enable:function(){var a,b;for(b in arguments)a=p[arguments[b]],k[a]=!0;return this},disable:function(){h(d||f).off("keydown",n);a=d=k=null}}};return d}({},v,z));l.register("$27",function(d,f,h){function l(b,c){var a=RegExp("^.{0,"+(b-1)+"}["+c+"]"),d=RegExp("^[^"+c+"]+");return function(c,f){for(var g=c.length,h;g>b;){h=a.exec(c)||d.exec(c);if(null==h)break;h=h[0];f.push(h);h=h.length;g-=h;c=c.substr(h)}0!==g&&f.push(c);return f}}d.create=function(b){function c(a){return m[a]||
|
198 |
+
"\\"+a}var a,d,f=/(?:\r\n|[\r\n\v\f\u2028\u2029])/g,h=/[ \r\n]+/g,g=/[\t\v\f\x07\x08\\\"]/g,m={"\t":"\\t","\v":"\\v","\f":"\\f","\u0007":"\\a","\b":"\\b"};if(null==b||isNaN(b=Number(b)))b=79;0<b&&(a=l(b-3," "),d=l(b-2,"-\u2013 \\.,:;\\?!\\)\\]\\}\\>"));return{pair:function(a,h){if(!h)return a+' ""';h=h.replace(g,c);var k=0;h=h.replace(f,function(){k++;return"\\n\n"});if(!(k||b&&b<h.length+a.length+3))return a+' "'+h+'"';var m=[a+' "'],l=h.split("\n");if(d)for(var p=-1,v=l.length;++p<v;)d(l[p],m);
|
199 |
+
else m=m.concat(l);return m.join('"\n"')+'"'},prefix:function(a,b){var c=a.split(f);return b+c.join("\n"+b)},refs:function(b){b=b.replace(h," ",b);a&&(b=a(b,[]).join("\n#: "));return"#: "+b}}};return d}({},v,z));l.register("$39",function(d,f,h){function l(){this.length=0}d.init=function(){return new l};f=l.prototype;f.push=function(b){this[this.length++]=b;return this};f.sort=function(b){[].sort.call(this,b);return this};f.each=function(b){for(var c=-1,a=this.length;++c<a;)b(c,this[c]);return this};
|
200 |
+
return d}({},v,z));l.register("$28",function(d,f,h){function p(){}d.extend=function(b){return b.prototype=new p};f=p.prototype=l.require("$37","abstract.js").init(["add","load"]);f.row=function(b){return this.rows[b]};f.lock=function(b){return this.locale(b||{lang:"zxx",label:"Unknown",nplurals:1,pluraleq:"n!=1"})};f.unlock=function(){var b=this.loc;this.loc=null;return b};f.locale=function(b){null==b?b=this.loc:this.loc=b=l.require("$36","locale.js").cast(b);return b};f.each=function(b){this.rows.each(b);
|
201 |
+
return this};f.indexOf=function(b){"object"!==typeof b&&(b=this.get(b));if(!b)return-1;null==b.idx&&(b.idx=this.rows.indexOf(b.hash()));return b.idx};f.get=function(b){return this.rows&&this.rows.get(b)};f.del=function(b){b=this.indexOf(b);if(-1!==b){var c=this.rows.cut(b,1);if(c&&c.length)return this.length=this.rows.length,this.rows.each(function(a,b,c){b.idx=c}),b}};f.reIndex=function(b,c){var a=this.indexOf(b),d=b.hash(),f=this.rows.indexOf(d);return f===a?a:-1!==f?(c=(c||0)+1,b.source("Error, duplicate "+
|
202 |
+
String(c)+": "+b.source()),this.reIndex(b,c)):this.rows.key(a,d)};f.sort=function(b){this.rows.sort(b);return this};f["export"]=function(){for(var b=-1,c=this.rows,a=c.length,d=l.require("$39","list.js").init();++b<a;)d.push(c[b]);return d};f=null;return d}({},v,z));l.register("$29",function(d,f,h){function l(){this.id=this._id=this.ref=this.cmt=this.xcmt=""}d.extend=function(b){return b.prototype=new l};f=l.prototype;f.flag=function(b,c){var a=this.flg||(this.flg=[]);if(null!=c)a[c]=b;else for(var d=
|
203 |
+
Math.max(a.length,this.src.length,this.msg.length);0!==d--;)a[d]=b;return this};f.flagged=function(b){var c=this.flg||[];if(null!=b)return c[b]||0;for(b=c.length;0!==b--;)if(c[b])return!0;return!1};f.flags=function(){for(var b,c={},a=[],d=this.flg||[],f=d.length;0!==f--;)b=d[f],c[b]||(c[b]=!0,a.push(b));return a};f.flaggedAs=function(b,c){var a=this.flg||[];if(null!=c)return b===a[c]||0;for(var d=a.length;0!==d--;)if(a[d]===b)return!0;return!1};f.fuzzy=function(b,c){var a=this.flaggedAs(4,b);null!=
|
204 |
+
c&&this.flag(c?4:0,b);return a};f.source=function(b,c){if(null==b)return this.src[c||0]||"";this.src[c||0]=b;return this};f.plural=function(b,c){if(null==b)return this.src[c||1]||"";this.src[c||1]=b||"";return this};f.each=function(b){for(var c=-1,a=this.src,d=this.msg,f=Math.max(a.length,d.length);++c<f;)b(c,a[c],d[c]);return this};f.count=function(){return Math.max(this.src.length,this.msg.length)};f.pluralized=function(){return 1<this.src.length||1<this.msg.length};f.translate=function(b,c){this.msg[c||
|
205 |
+
0]=b||"";return this};f.untranslate=function(b){if(null!=b)this.msg[b]="";else{var c=this.msg,a=c.length;for(b=0;b<a;b++)c[b]=""}return this};f.translation=function(b){return this.msg[b||0]||""};f.errors=function(b){return this.err&&this.err[b||0]||[]};f.translated=function(b){if(null!=b)return!!this.msg[b];var c=this.msg,a=c.length;for(b=0;b<a;b++)if(!c[b])return!1;return!0};f.comment=function(b){if(null==b)return this.cmt;this.cmt=b||"";return this};f.notes=function(b){if(null==b)return this.xcmt;
|
206 |
+
this.xcmt=b||"";return this};f.refs=function(b){if(null==b)return this.ref;this.ref=b||"";return this};f.format=function(b){if(null==b)return this.fmt;this.fmt=b;return this};f.context=function(b){if(null==b)return this.ctx||"";this.ctx=b||"";return this};f.toString=f.toText=function(){return this.src.concat(this.msg,[this.id,this.ctx]).join(" ")};f.weight=function(){var b=0;this.translation()||(b+=2);this.fuzzy()&&(b+=1);return b};f.equals=function(b){return this===b||this.hash()===b.hash()};f.hash=
|
207 |
+
function(){return this.id};f.normalize=function(){for(var b=this.msg.length;0!==b--;)this.msg[b]=this.src[b]||""};f.disabled=function(b){return!!(this.lck||[])[b||0]};f.disable=function(b){(this.lck||(this.lck=[]))[b||0]=!0;return this};f.saved=function(b){var c=this.drt;if(!c)return!0;if(null!=b)return!c[b];for(b=c.length;0!==b--;)if(c[b])return!1;return!0};f.unsave=function(b){(this.drt||(this.drt=[]))[b||0]=!0;return this};f.save=function(b){var c=this.drt;null==b?this.drt=null:c[b]=!1;return this};
|
208 |
+
f.is=function(b){return b&&(b===this||b.idx===this.idx)};f.isHTML=function(b){if(null==b)return this.htm||!1;this.htm=b};f=null;return d}({},v,z));l.register("$14",function(d,f,h){function p(a){return{"Project-Id-Version":"PACKAGE VERSION","Report-Msgid-Bugs-To":"","POT-Creation-Date":a||"","PO-Revision-Date":a||"","Last-Translator":"","Language-Team":"",Language:"","Plural-Forms":"","MIME-Version":"1.0","Content-Type":"text/plain; charset=UTF-8","Content-Transfer-Encoding":"8bit"}}function b(a,b){var c=
|
209 |
+
a||"";b&&(c+="\x00"+b);return c}function c(){return l.require("$26","collection.js").init()}function a(a){var b=f.console;b&&b.error&&b.error(a.message||String(a))}function e(a){return l.require("$27","format.js").create(a)}function n(a){this.locale(a);this.length=0;this.rows=c();this.head=p(this.now())}function k(a,b){this.src=[a||""];this.msg=[b||""]}d.create=function(a){return new n(a)};h=l.require("$28","messages.js").extend(n);h.now=function(){function a(b,c){for(var d=String(b);d.length<c;)d=
|
210 |
+
"0"+d;return d}var b=new Date,c=b.getUTCFullYear(),d=b.getUTCMonth()+1,e=b.getUTCDate(),f=b.getUTCHours(),b=b.getUTCMinutes();return a(c,4)+"-"+a(d,2)+"-"+a(e,2)+" "+a(f,2)+":"+a(b,2)+"+0000"};h.header=function(a,b){var c=this.head||(this.head={});if(null==b)return this.headers()[a]||"";c[a]=b||"";return this};h.headers=function(a){var b,c=this.now(),d=this.head||(this.head=p(c));if(null!=a){for(b in a)d[b]=a[b];return this}var e=this.locale();a={};for(b in d)a[b]=String(d[b]);e?(a.Language=String(e)||
|
211 |
+
"zxx",a["Language-Team"]=e.label||a.Language,a["Plural-Forms"]="nplurals="+(e.nplurals||"2")+"; plural="+(e.pluraleq||"n!=1")+";",b="PO-Revision-Date"):(a.Language="",a["Plural-Forms"]="nplurals=INTEGER; plural=EXPRESSION;",a["PO-Revision-Date"]="YEAR-MO-DA HO:MI+ZONE",b="POT-Creation-Date");a[b]||(a[b]=c);a["X-Generator"]="Loco https://localise.biz/";return a};h.get=function(a,c){var d=b(a,c);return this.rows.get(d)};h.add=function(b,c){b instanceof k||(b=new k(b));c&&b.context(c);var d=b.hash();
|
212 |
+
this.rows.get(d)?a("Duplicate message at index "+this.indexOf(b)):(b.idx=this.rows.add(d,b),this.length=this.rows.length);return b};h.load=function(b){for(var c=-1,d,e,f,h,l,n,p=(f=this.locale())&&f.nplurals||2,v=[];++c<b.length;)d=b[c],null==d.parent?(e=d.source||d.id,f=d.target||"",h=d.context,e||h?(l=new k(e,f),l._id=d._id,h&&l.context(h),d.flag&&l.flag(d.flag,0),d.comment&&l.comment(d.comment),d.notes&&l.notes(d.notes),d.refs&&l.refs(d.refs),l.format(d.format),d.message=l,this.add(l)):0===c&&
|
213 |
+
"object"===typeof f&&(this.head=f,this.headcmt=d.comment)):v.push(d);for(c=-1;++c<v.length;)try{d=v[c];e=d.source||d.id;l=b[d.parent]&&b[d.parent].message;if(!l)throw Error("parent missing for plural "+e);n=d.plural;1===n&&l.plural(e);n>=p||(d.flag&&l.flag(d.flag,n),l.translate(d.target||"",n),d.format&&!l.format()&&l.format(d.format))}catch(z){a(z)}return this};h.merge=function(b){var d=this,e,f=b.header("POT-Creation-Date"),h=d.rows,k=[],l=[];b=b.rows;d.rows.each(function(a,c){null==b.get(a)&&l.push(c)});
|
214 |
+
d.rows=c();b.each(function(b,c){try{(e=h.get(b))?(e.ref=c.ref,e.fmt=c.fmt):(e=c,k.push(e)),d.add(e)}catch(f){a(f)}});f&&d.header("POT-Creation-Date",f);return{add:k,del:l}};h.wrap=function(a){this.fmtr=e(a);return this};h.toString=function(){var a,b=this.locale(),c=[],d=[],f=this.headers(),h=!b,l=b&&b.nplurals||2,n=this.fmtr||e();f[b?"PO-Revision-Date":"POT-Creation-Date"]=this.now();for(a in f)d.push(a+": "+f[a]);d=new k("",d.join("\n"));d.comment(this.headcmt||"");h&&d.fuzzy(0,!0);c.push(d.toString());
|
215 |
+
c.push("");this.rows.each(function(a,b){a&&(c.push(b.cat(n,h,l)),c.push(""))});return c.join("\n")};h=l.require("$29","message.js").extend(k);h.hash=function(){return b(this.source(),this.context())};h.toString=function(){return this.cat(e())};h.cat=function(a,b,c){var d,e=[],f;(f=this.cmt)&&e.push(a.prefix(f,"# "));(f=this.xcmt)&&e.push(a.prefix(f,"#. "));d=this.ref;if(f=this._id)d+=(d?" ":"")+"loco:"+f;d&&/\S/.test(d)&&e.push(a.refs(d));!b&&this.fuzzy()&&e.push("#, fuzzy");(f=this.fmt)&&e.push("#, "+
|
216 |
+
f+"-format");(f=this.ctx)&&e.push(a.pair("msgctxt",f));e.push(a.pair("msgid",this.src[0]));if(null==this.src[1])e.push(a.pair("msgstr",b?"":this.msg[0]));else for(d=-1,e.push(a.pair("msgid_plural",this.src[1])),f=this.msg||["",""],c=c||f.length;++d<c;)e.push(a.pair("msgstr["+d+"]",b?"":f[d]||""));return e.join("\n")};h.compare=function(a,b){var c=this.weight(),d=a.weight();if(c>d)return 1;if(c<d)return-1;if(b){c=this.hash().toLowerCase();d=a.hash().toLowerCase();if(c<d)return 1;if(c>d)return-1}return 0};
|
217 |
+
h=h=null;return d}({},v,z));l.register("$16",function(d,f,l){d.init=function(d){function b(){h(r).addClass("jshide");I&&z&&h(I).removeClass("jshide").hide().fadeIn(500)}function c(){if(z)return H&&H.dialog("close"),b(),h(d).find('button[type="submit"]').attr("disabled",!1),h(f).triggerHandler("resize"),s&&s(!0),!0;E&&H?(h(r).removeClass("jshide").hide().fadeIn(500),I&&h(I).addClass("jshide")):b();h(d).find('input[type="submit"]').attr("disabled",!0);s&&s(!1);return!1}function a(a){var b,c;for(b in v)c=
|
218 |
+
v[b],a[b]?a[b].value=c:h('<input type="hidden" />').attr("name",b).appendTo(a).val(c)}function e(a){a.preventDefault();a=h(a.target).serializeArray();y(a);q=!0;return!1}function n(a){a.preventDefault();H.dialog("close");return!1}function k(a){a.preventDefault();H.dialog("open");return!1}function g(b){v=b.authed&&b.creds;A=b.method;b.notice&&D.notices.info(b.notice);if(v)"direct"!==A&&(a(d),q&&b.success&&D.notices.success(b.success)),z=!0,c();else if(z=!1,b.reason)D.notices.info(b.reason);else if(b=
|
219 |
+
b.prompt){var g;H||(F.click(k),H=h('<div id="loco-fs-creds"></div>').dialog({dialogClass:"request-filesystem-credentials-dialog loco-modal",minWidth:580,modal:!0,autoOpen:!1,closeOnEscape:!0}));g=H;g.html(b).find("form").submit(e);g.dialog("option","title",g.find("h2").remove().text());g.find("button.cancel-button").show().click(n);g.find('input[type="submit"]').addClass("button-primary");c();h(f).triggerHandler("resize")}else D.notices.error("Server didn't return credentials, nor a prompt for credentials")}
|
220 |
+
function m(){c()}function y(a){q=!1;a.path=E;a.auth=u;D.ajax.setNonce("fsConnect",w).post("fsConnect",a,g,m);return a}var v,s,r=d,A=null,q=!1,z=!1,D=f.locoScope,E=d.path.value,u=d.auth.value,w=d["loco-nonce"].value,F=h(r).find("button.button-primary"),I=l.getElementById(r.id+"-warn"),H;I&&D.notices.convert(I).stick();d.connection_type?(v={},v.connection_type=d.connection_type.value,z=!0):E&&u&&y({});c();return{applyCreds:function(b){if(b.nodeType)a(b);else{var c,d=v||{};for(c in d)b[c]=d[c]}return this},
|
221 |
+
setForm:function(b){d=b;c();a(b);return this},connect:function(){E=d.path.value;u=d.auth.value;y(h(d).serializeArray());return this},listen:function(a){s=a;z&&a(!0);return this}}};return d}({},v,z));l.register("$17",function(d,f,v){function p(d,f,g,h){f="n"===g?c(f):a(f);h&&(f=e(f));return b([].sort,[f])(d)}function b(a,b){return function(c){a.apply(c,b);return c}}function c(a){return function(b,c){var d=b&&b[a]||0,e=c&&c[a]||0;return d===e?0:d>e?1:-1}}function a(a){return function(b,c){return(b&&
|
222 |
+
b[a]||"").localeCompare(c&&c[a]||"")}}function e(a){return function(b,c){return-1*a(b,c)}}d.init=function(a){function b(a){var c=-1,d=a.length;for(h("tr",q).remove();++c<d;)q.appendChild(a[c].$)}function c(a){s=a?B.find(a,d):d.slice(0);v&&(a=e[v],s=p(s,v,a.type,a.desc));b(s)}var d=[],e=[],f=0,s,r,v,q=a.getElementsByTagName("tbody")[0],z=a.getElementsByTagName("thead")[0],B=l.require("$7","fulltext.js").init();z&&q&&(h("th",z).each(function(a,c){var g=c.getAttribute("data-sort-type");g&&(a=f,h(c).addClass("loco-sort").click(function(c){c.preventDefault();
|
223 |
+
c=a;var f=e[c],g=f.type,l=!(f.desc=!f.desc);s=p(s||d.slice(0),c,g,l);b(s);r&&r.removeClass("loco-desc loco-asc");r=h(f.$).addClass(l?"loco-desc":"loco-asc").removeClass(l?"loco-asc":"loco-desc");v=c;return!1}),e[f]={$:c,type:g});c.hasAttribute("colspan")?f+=Number(c.getAttribute("colspan")):f++}),h("tr",q).each(function(a,b){var c,f,g,h=[],k={_:a,$:b},l=b.getElementsByTagName("td");for(f in e){c=l[f];(g=c.textContent.replace(/(^\s+|\s+$)/g,""))&&h.push(g);c.hasAttribute("data-sort-value")&&(g=c.getAttribute("data-sort-value"));
|
224 |
+
switch(e[f].type){case "n":g=Number(g)}k[f]=g}d[a]=k;B.index(a,h)}),a=h('form.loco-filter input[type="text"]',a.parentNode),a.length&&(a=a[0],z=h(a.form),1<d.length?l.require("$8","LocoTextListener.js").listen(a,c):z.hide(),z.on("submit",function(a){a.preventDefault();return!1})))};return d}({},v,z));var J=v.locoScope||(v.locoScope={});v=v.locoConf||(v.locoConf={});z=l.require("$1","t.js").init();var P=v.wplang;l.require("$2","array.js");J.l10n=z;z.load(v.wpl10n);P&&z.pluraleq(P.pluraleq);J.string=
|
225 |
+
l.require("$3","string.js");J.notices=l.require("$4","notices.js").init(z);J.ajax=l.require("$5","ajax.js").init(v).localise(z);J.locale=l.require("$6","wplocale.js");J.fulltext=l.require("$7","fulltext.js");J.watchtext=l.require("$8","LocoTextListener.js").listen;J.selector=l.require("$9","LocoSelector.js").create;J.autocomp=l.require("$10","LocoAutoComplete.js").init;J.tooltip=l.require("$11","tooltip.js");J.po={ed:l.require("$12","poedit.js"),kbd:l.require("$13","hotkeys.js"),init:l.require("$14",
|
226 |
+
"po.js").create,ace:l.require("$15","ace.js").strf("php")};J.fs=l.require("$16","fsconn.js");h("#loco.wrap table.wp-list-table").each(function(d,f){l.require("$17","tables.js").init(f)})})(window,document,window.jQuery);
|
pub/js/poinit.js
CHANGED
@@ -36,7 +36,7 @@
|
|
36 |
}
|
37 |
function getLocale(){
|
38 |
var value = getValue();
|
39 |
-
return value ? loco.locale.parse(value) : loco.locale.
|
40 |
}
|
41 |
function onModeChange(){
|
42 |
redrawMode( isSelectMode() );
|
36 |
}
|
37 |
function getLocale(){
|
38 |
var value = getValue();
|
39 |
+
return value ? loco.locale.parse(value) : loco.locale.clone( {lang:'zxx'} );
|
40 |
}
|
41 |
function onModeChange(){
|
42 |
redrawMode( isSelectMode() );
|
readme.txt
CHANGED
@@ -4,7 +4,7 @@ Tags: translation, translators, localization, localisation, l10n, i18n, Gettext,
|
|
4 |
Requires at least: 4.1
|
5 |
Requires PHP: 5.2.4
|
6 |
Tested up to: 4.9.4
|
7 |
-
Stable tag: 2.1.
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
@@ -87,6 +87,14 @@ Help is provided via the [plugin support forum](https://wordpress.org/support/pl
|
|
87 |
|
88 |
== Changelog ==
|
89 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
90 |
= 2.1.0 =
|
91 |
* Add `fs_protect` setting to avoid overwriting system files
|
92 |
* Fixed bug in connect dialogue where errors not redisplayed
|
@@ -228,7 +236,7 @@ Help is provided via the [plugin support forum](https://wordpress.org/support/pl
|
|
228 |
|
229 |
== Upgrade Notice ==
|
230 |
|
231 |
-
= 2.1.
|
232 |
* Various bug fixes and improvements
|
233 |
|
234 |
|
4 |
Requires at least: 4.1
|
5 |
Requires PHP: 5.2.4
|
6 |
Tested up to: 4.9.4
|
7 |
+
Stable tag: 2.1.1
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
87 |
|
88 |
== Changelog ==
|
89 |
|
90 |
+
= 2.1.1 =
|
91 |
+
* Setting `Project-Id-Version` on new POT files
|
92 |
+
* Added source view to quick links in file tables
|
93 |
+
* Supporting only WordPress style locale codes
|
94 |
+
* Editor screen tolerates missing PO headers
|
95 |
+
* Ajax debugging improvements for issue reporting
|
96 |
+
* Added loco_parse_locale action callback
|
97 |
+
|
98 |
= 2.1.0 =
|
99 |
* Add `fs_protect` setting to avoid overwriting system files
|
100 |
* Fixed bug in connect dialogue where errors not redisplayed
|
236 |
|
237 |
== Upgrade Notice ==
|
238 |
|
239 |
+
= 2.1.1 =
|
240 |
* Various bug fixes and improvements
|
241 |
|
242 |
|
src/Locale.php
CHANGED
@@ -44,11 +44,12 @@ class Loco_Locale implements JsonSerializable {
|
|
44 |
public static function parse( $tag ){
|
45 |
$locale = new Loco_Locale('');
|
46 |
try {
|
47 |
-
$locale->setSubtags(
|
48 |
}
|
49 |
catch( Exception $e ){
|
50 |
// isValid should return false
|
51 |
}
|
|
|
52 |
return $locale;
|
53 |
}
|
54 |
|
@@ -66,16 +67,27 @@ class Loco_Locale implements JsonSerializable {
|
|
66 |
|
67 |
/**
|
68 |
* @internal
|
69 |
-
* Allow read
|
70 |
*/
|
71 |
public function __get( $t ){
|
72 |
return isset($this->tag[$t]) ? $this->tag[$t] : '';
|
73 |
}
|
74 |
|
75 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
76 |
|
77 |
/**
|
78 |
-
* Set subtags as produced from
|
79 |
* @return Loco_Locale
|
80 |
*/
|
81 |
public function setSubtags( array $tag ){
|
@@ -402,7 +414,7 @@ class Loco_Locale implements JsonSerializable {
|
|
402 |
|
403 |
|
404 |
// Depends on compiled library
|
405 |
-
if( ! function_exists('
|
406 |
loco_include('lib/compiled/locales.php');
|
407 |
}
|
408 |
|
44 |
public static function parse( $tag ){
|
45 |
$locale = new Loco_Locale('');
|
46 |
try {
|
47 |
+
$locale->setSubtags( loco_parse_wp_locale($tag) );
|
48 |
}
|
49 |
catch( Exception $e ){
|
50 |
// isValid should return false
|
51 |
}
|
52 |
+
do_action( 'loco_parse_locale', $locale, $tag );
|
53 |
return $locale;
|
54 |
}
|
55 |
|
67 |
|
68 |
/**
|
69 |
* @internal
|
70 |
+
* Allow read access to subtags
|
71 |
*/
|
72 |
public function __get( $t ){
|
73 |
return isset($this->tag[$t]) ? $this->tag[$t] : '';
|
74 |
}
|
75 |
|
76 |
|
77 |
+
/**
|
78 |
+
* @internal
|
79 |
+
* Allow write access to subtags
|
80 |
+
*/
|
81 |
+
public function __set( $t, $s ){
|
82 |
+
if( isset($this->tag[$t]) ){
|
83 |
+
$this->tag[$t] = $s;
|
84 |
+
$this->setSubtags( $this->tag );
|
85 |
+
}
|
86 |
+
}
|
87 |
+
|
88 |
|
89 |
/**
|
90 |
+
* Set subtags as produced from loco_parse_wp_locale
|
91 |
* @return Loco_Locale
|
92 |
*/
|
93 |
public function setSubtags( array $tag ){
|
414 |
|
415 |
|
416 |
// Depends on compiled library
|
417 |
+
if( ! function_exists('loco_parse_wp_locale') ){
|
418 |
loco_include('lib/compiled/locales.php');
|
419 |
}
|
420 |
|
src/admin/bundle/LocaleController.php
CHANGED
@@ -101,6 +101,7 @@ class Loco_admin_bundle_LocaleController extends Loco_mvc_AdminController {
|
|
101 |
// author / system / custom / other
|
102 |
'store' => $dir->getTypeLabel( $dir->getTypeId() ),
|
103 |
// links
|
|
|
104 |
'info' => Loco_mvc_AdminRouter::generate( $type.'-file-info', $args ),
|
105 |
'edit' => Loco_mvc_AdminRouter::generate( $type.'-file-edit', $args ),
|
106 |
'delete' => Loco_mvc_AdminRouter::generate( $type.'-file-delete', $args ),
|
101 |
// author / system / custom / other
|
102 |
'store' => $dir->getTypeLabel( $dir->getTypeId() ),
|
103 |
// links
|
104 |
+
'view' => Loco_mvc_AdminRouter::generate( $type.'-file-view', $args ),
|
105 |
'info' => Loco_mvc_AdminRouter::generate( $type.'-file-info', $args ),
|
106 |
'edit' => Loco_mvc_AdminRouter::generate( $type.'-file-edit', $args ),
|
107 |
'delete' => Loco_mvc_AdminRouter::generate( $type.'-file-delete', $args ),
|
src/admin/bundle/ViewController.php
CHANGED
@@ -216,6 +216,7 @@ class Loco_admin_bundle_ViewController extends Loco_admin_bundle_BaseController
|
|
216 |
// author / system / custom / other
|
217 |
'store' => $dir->getTypeLabel( $dir->getTypeId() ),
|
218 |
// links
|
|
|
219 |
'info' => $this->getProjectLink('file-info', $project, $args ),
|
220 |
'edit' => $this->getProjectLink('file-edit', $project, $args ),
|
221 |
'delete' => $this->getProjectLink('file-delete', $project, $args ),
|
216 |
// author / system / custom / other
|
217 |
'store' => $dir->getTypeLabel( $dir->getTypeId() ),
|
218 |
// links
|
219 |
+
'view' => $this->getProjectLink('file-view', $project, $args ),
|
220 |
'info' => $this->getProjectLink('file-info', $project, $args ),
|
221 |
'edit' => $this->getProjectLink('file-edit', $project, $args ),
|
222 |
'delete' => $this->getProjectLink('file-delete', $project, $args ),
|
src/admin/config/DebugController.php
CHANGED
@@ -4,12 +4,39 @@
|
|
4 |
*/
|
5 |
class Loco_admin_config_DebugController extends Loco_admin_config_BaseController {
|
6 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
7 |
|
|
|
|
|
|
|
8 |
private function memory_size( $raw ){
|
9 |
$bytes = wp_convert_hr_to_bytes($raw);
|
10 |
$value = Loco_mvc_FileParams::renderBytes($bytes);
|
11 |
return $value;//.' ('.number_format($bytes).')';
|
12 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
13 |
|
14 |
|
15 |
/**
|
@@ -25,8 +52,13 @@ class Loco_admin_config_DebugController extends Loco_admin_config_BaseController
|
|
25 |
$versions = new Loco_mvc_ViewParams( array (
|
26 |
'Loco Translate' => loco_plugin_version(),
|
27 |
'WordPress' => $GLOBALS['wp_version'],
|
28 |
-
'PHP' => phpversion(),
|
|
|
29 |
) );
|
|
|
|
|
|
|
|
|
30 |
|
31 |
// utf8 / encoding:
|
32 |
$encoding = new Loco_mvc_ViewParams( array (
|
@@ -45,7 +77,7 @@ class Loco_admin_config_DebugController extends Loco_admin_config_BaseController
|
|
45 |
//'PHP upload_max_filesize' => $this->memory_size( ini_get('upload_max_filesize') ),
|
46 |
) );
|
47 |
|
48 |
-
//
|
49 |
$this->enqueueScript('debug');
|
50 |
$this->set( 'js', new Loco_mvc_ViewParams( array (
|
51 |
'nonces' => array( 'ping' => wp_create_nonce('ping') ),
|
@@ -54,13 +86,23 @@ class Loco_admin_config_DebugController extends Loco_admin_config_BaseController
|
|
54 |
// File system access
|
55 |
$dir = new Loco_fs_Directory( loco_constant('LOCO_LANG_DIR') ) ;
|
56 |
$ctx = new Loco_fs_FileWriter( $dir );
|
|
|
57 |
$fs = new Loco_mvc_PostParams( array(
|
58 |
-
'langdir' => $
|
59 |
'writable' => $ctx->writable(),
|
60 |
'disabled' => $ctx->disabled(),
|
61 |
-
'
|
62 |
) );
|
63 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
64 |
|
65 |
// alert to known system setting problems
|
66 |
if( get_magic_quotes_gpc() ){
|
@@ -70,7 +112,7 @@ class Loco_admin_config_DebugController extends Loco_admin_config_BaseController
|
|
70 |
Loco_error_AdminNotices::add( new Loco_error_Debug('You have "magic_quotes_runtime" enabled. We recommend you disable this in PHP') );
|
71 |
}
|
72 |
|
73 |
-
return $this->view('admin/config/debug', compact('breadcrumb','versions','encoding','memory','fs') );
|
74 |
}
|
75 |
|
76 |
}
|
4 |
*/
|
5 |
class Loco_admin_config_DebugController extends Loco_admin_config_BaseController {
|
6 |
|
7 |
+
|
8 |
+
/**
|
9 |
+
* {@inheritdoc}
|
10 |
+
*/
|
11 |
+
public function init(){
|
12 |
+
parent::init();
|
13 |
+
$this->set( 'title', __('Debug','loco-translate') );
|
14 |
+
}
|
15 |
+
|
16 |
|
17 |
+
/**
|
18 |
+
* @internal
|
19 |
+
*/
|
20 |
private function memory_size( $raw ){
|
21 |
$bytes = wp_convert_hr_to_bytes($raw);
|
22 |
$value = Loco_mvc_FileParams::renderBytes($bytes);
|
23 |
return $value;//.' ('.number_format($bytes).')';
|
24 |
}
|
25 |
+
|
26 |
+
|
27 |
+
/**
|
28 |
+
* @internal
|
29 |
+
*/
|
30 |
+
private function rel_path( $path, $default = '' ){
|
31 |
+
if( is_string($path) && $path && '/' === $path[0] ){
|
32 |
+
$file = new Loco_fs_File( $path );
|
33 |
+
$path = $file->getRelativePath(ABSPATH);
|
34 |
+
}
|
35 |
+
else if( ! $path ){
|
36 |
+
$path = '(none)';
|
37 |
+
}
|
38 |
+
return $path;
|
39 |
+
}
|
40 |
|
41 |
|
42 |
/**
|
52 |
$versions = new Loco_mvc_ViewParams( array (
|
53 |
'Loco Translate' => loco_plugin_version(),
|
54 |
'WordPress' => $GLOBALS['wp_version'],
|
55 |
+
'PHP' => phpversion().' ('.PHP_SAPI.')',
|
56 |
+
'Server' => isset($_SERVER['SERVER_SOFTWARE']) ? $_SERVER['SERVER_SOFTWARE'] : ( function_exists('apache_get_version') ? apache_get_version() : '' ),
|
57 |
) );
|
58 |
+
// we want to know about modules in case there are security mods installed known to break functionality
|
59 |
+
if( function_exists('apache_get_modules') && ( $mods = preg_grep('/^mod_/',apache_get_modules() ) ) ){
|
60 |
+
$versions['Server'] .= ' + '.implode(', ',$mods);
|
61 |
+
}
|
62 |
|
63 |
// utf8 / encoding:
|
64 |
$encoding = new Loco_mvc_ViewParams( array (
|
77 |
//'PHP upload_max_filesize' => $this->memory_size( ini_get('upload_max_filesize') ),
|
78 |
) );
|
79 |
|
80 |
+
// Ajaxing:
|
81 |
$this->enqueueScript('debug');
|
82 |
$this->set( 'js', new Loco_mvc_ViewParams( array (
|
83 |
'nonces' => array( 'ping' => wp_create_nonce('ping') ),
|
86 |
// File system access
|
87 |
$dir = new Loco_fs_Directory( loco_constant('LOCO_LANG_DIR') ) ;
|
88 |
$ctx = new Loco_fs_FileWriter( $dir );
|
89 |
+
$fsp = Loco_data_Settings::get()->fs_protect;
|
90 |
$fs = new Loco_mvc_PostParams( array(
|
91 |
+
'langdir' => $this->rel_path( $dir->getPath() ),
|
92 |
'writable' => $ctx->writable(),
|
93 |
'disabled' => $ctx->disabled(),
|
94 |
+
'fs_protect' => 1 === $fsp ? 'Warn' : ( $fsp ? 'Block' : 'Off' ),
|
95 |
) );
|
96 |
|
97 |
+
// Debug and error log settings
|
98 |
+
$debug = new Loco_mvc_PostParams( array(
|
99 |
+
'WP_DEBUG' => loco_constant('WP_DEBUG') ? 'On' : 'Off',
|
100 |
+
'WP_DEBUG_LOG' => $this->rel_path( loco_constant('WP_DEBUG_LOG') ),
|
101 |
+
'WP_DEBUG_DISPLAY' => loco_constant('WP_DEBUG_DISPLAY') ? 'On' : 'Off',
|
102 |
+
'PHP display_errors' => ini_get('display_errors') ? 'On' : 'Off',
|
103 |
+
'PHP log_errors' => ini_get('log_errors') ? 'On' : 'Off',
|
104 |
+
'PHP error_log' => $this->rel_path( ini_get('error_log') ),
|
105 |
+
) );
|
106 |
|
107 |
// alert to known system setting problems
|
108 |
if( get_magic_quotes_gpc() ){
|
112 |
Loco_error_AdminNotices::add( new Loco_error_Debug('You have "magic_quotes_runtime" enabled. We recommend you disable this in PHP') );
|
113 |
}
|
114 |
|
115 |
+
return $this->view('admin/config/debug', compact('breadcrumb','versions','encoding','memory','fs','debug') );
|
116 |
}
|
117 |
|
118 |
}
|
src/ajax/XgettextController.php
CHANGED
@@ -39,10 +39,10 @@ class Loco_ajax_XgettextController extends Loco_ajax_common_BundleController {
|
|
39 |
$data = $ext->addProject($project)->includeMeta()->getTemplate( $domain );
|
40 |
|
41 |
// additional headers to set in new POT file
|
42 |
-
$
|
43 |
-
|
44 |
-
);
|
45 |
|
|
|
46 |
$potsize = $potfile->putContents( $data->msgcat(true) );
|
47 |
|
48 |
// set response data for debugging
|
39 |
$data = $ext->addProject($project)->includeMeta()->getTemplate( $domain );
|
40 |
|
41 |
// additional headers to set in new POT file
|
42 |
+
$head = $data->getHeaders();
|
43 |
+
$head['Project-Id-Version'] = $project->getName();
|
|
|
44 |
|
45 |
+
// write POT file to disk returning byte length
|
46 |
$potsize = $potfile->putContents( $data->msgcat(true) );
|
47 |
|
48 |
// set response data for debugging
|
src/gettext/Data.php
CHANGED
@@ -124,7 +124,9 @@ class Loco_gettext_Data extends LocoPoIterator implements JsonSerializable {
|
|
124 |
// exporting headers non-scalar so js doesn't have to parse them
|
125 |
try {
|
126 |
$headers = $this->getHeaders();
|
127 |
-
$po[0]['
|
|
|
|
|
128 |
}
|
129 |
// suppress header errors when serializing
|
130 |
// @codeCoverageIgnoreStart
|
@@ -168,7 +170,6 @@ class Loco_gettext_Data extends LocoPoIterator implements JsonSerializable {
|
|
168 |
'Report-Msgid-Bugs-To' => '',
|
169 |
'POT-Creation-Date' => $date,
|
170 |
);
|
171 |
-
// Project-Id-Version permitted to
|
172 |
// headers that must always override when localizing
|
173 |
$required = array (
|
174 |
'PO-Revision-Date' => $date,
|
124 |
// exporting headers non-scalar so js doesn't have to parse them
|
125 |
try {
|
126 |
$headers = $this->getHeaders();
|
127 |
+
if( count($headers) && '' === $po[0]['source'] ){
|
128 |
+
$po[0]['target'] = $headers->getArrayCopy();
|
129 |
+
}
|
130 |
}
|
131 |
// suppress header errors when serializing
|
132 |
// @codeCoverageIgnoreStart
|
170 |
'Report-Msgid-Bugs-To' => '',
|
171 |
'POT-Creation-Date' => $date,
|
172 |
);
|
|
|
173 |
// headers that must always override when localizing
|
174 |
$required = array (
|
175 |
'PO-Revision-Date' => $date,
|
src/js/Strings.php
CHANGED
@@ -46,14 +46,14 @@ class Loco_js_Strings extends Loco_hooks_TranslateBuffer {
|
|
46 |
// Shows number of untranslated strings at top of editor
|
47 |
__("%s untranslated",'loco-translate');
|
48 |
|
49 |
-
//
|
50 |
-
__("
|
51 |
|
52 |
//
|
53 |
__("Check console output for debugging information",'loco-translate');
|
54 |
|
55 |
//
|
56 |
-
__("
|
57 |
|
58 |
//
|
59 |
__("Unknown error",'loco-translate');
|
46 |
// Shows number of untranslated strings at top of editor
|
47 |
__("%s untranslated",'loco-translate');
|
48 |
|
49 |
+
// Generic error when external process broke an Ajax request
|
50 |
+
__("Server returned invalid data",'loco-translate');
|
51 |
|
52 |
//
|
53 |
__("Check console output for debugging information",'loco-translate');
|
54 |
|
55 |
//
|
56 |
+
__("Provide the following text when reporting a problem",'loco-translate');
|
57 |
|
58 |
//
|
59 |
__("Unknown error",'loco-translate');
|
src/mvc/AdminController.php
CHANGED
@@ -196,6 +196,10 @@ abstract class Loco_mvc_AdminController extends Loco_mvc_Controller {
|
|
196 |
$jsConf = new Loco_mvc_ViewParams;
|
197 |
$view->set( 'js', $jsConf );
|
198 |
}
|
|
|
|
|
|
|
|
|
199 |
// localize script if translations in memory
|
200 |
if( is_textdomain_loaded('loco-translate') ){
|
201 |
$strings = new Loco_js_Strings;
|
196 |
$jsConf = new Loco_mvc_ViewParams;
|
197 |
$view->set( 'js', $jsConf );
|
198 |
}
|
199 |
+
// additional debugging info when enabled
|
200 |
+
if( loco_debugging() ){
|
201 |
+
$jsConf['WP_DEBUG'] = true;
|
202 |
+
}
|
203 |
// localize script if translations in memory
|
204 |
if( is_textdomain_loaded('loco-translate') ){
|
205 |
$strings = new Loco_js_Strings;
|
tpl/admin/bundle/inc-po-table.php
CHANGED
@@ -43,17 +43,20 @@
|
|
43 |
</a><?php
|
44 |
if( $domain ):?>
|
45 |
<nav class="row-actions">
|
46 |
-
<span
|
47 |
<a href="<?php $po->e('edit')?>"><?php esc_html_e('Edit','loco-translate')?></a> |
|
48 |
</span>
|
49 |
-
<span
|
|
|
|
|
|
|
50 |
<a href="<?php $po->e('copy')?>"><?php esc_html_e('Copy','loco-translate')?></a> |
|
51 |
</span>
|
52 |
-
<span
|
53 |
-
<a href="<?php $po->e('
|
54 |
</span>
|
55 |
-
<span class="
|
56 |
-
<a href="<?php $po->e('
|
57 |
</span>
|
58 |
</nav><?php
|
59 |
endif?>
|
43 |
</a><?php
|
44 |
if( $domain ):?>
|
45 |
<nav class="row-actions">
|
46 |
+
<span>
|
47 |
<a href="<?php $po->e('edit')?>"><?php esc_html_e('Edit','loco-translate')?></a> |
|
48 |
</span>
|
49 |
+
<span>
|
50 |
+
<a href="<?php $po->e('view')?>"><?php esc_html_e('View','loco-translate')?></a> |
|
51 |
+
</span>
|
52 |
+
<span>
|
53 |
<a href="<?php $po->e('copy')?>"><?php esc_html_e('Copy','loco-translate')?></a> |
|
54 |
</span>
|
55 |
+
<span>
|
56 |
+
<a href="<?php $po->e('info')?>"><?php esc_html_e('Info','loco-translate')?></a> |
|
57 |
</span>
|
58 |
+
<span class="trash">
|
59 |
+
<a href="<?php $po->e('delete')?>"><?php esc_html_e('Delete','loco-translate')?></a>
|
60 |
</span>
|
61 |
</nav><?php
|
62 |
endif?>
|
tpl/admin/bundle/locale.php
CHANGED
@@ -57,17 +57,20 @@ $this->extend('../layout');
|
|
57 |
<?php $po->e('title')?>
|
58 |
</a>
|
59 |
<nav class="row-actions">
|
60 |
-
<span
|
61 |
<a href="<?php $po->e('edit')?>"><?php esc_html_e('Edit','loco-translate')?></a> |
|
62 |
</span>
|
63 |
-
<span
|
|
|
|
|
|
|
64 |
<a href="<?php $po->e('copy')?>"><?php esc_html_e('Copy','loco-translate')?></a> |
|
65 |
</span>
|
66 |
-
<span
|
67 |
-
<a href="<?php $po->e('
|
68 |
</span>
|
69 |
-
<span class="
|
70 |
-
<a href="<?php $po->e('
|
71 |
</span>
|
72 |
</nav>
|
73 |
</td><?php
|
57 |
<?php $po->e('title')?>
|
58 |
</a>
|
59 |
<nav class="row-actions">
|
60 |
+
<span>
|
61 |
<a href="<?php $po->e('edit')?>"><?php esc_html_e('Edit','loco-translate')?></a> |
|
62 |
</span>
|
63 |
+
<span>
|
64 |
+
<a href="<?php $po->e('view')?>"><?php esc_html_e('View','loco-translate')?></a> |
|
65 |
+
</span>
|
66 |
+
<span>
|
67 |
<a href="<?php $po->e('copy')?>"><?php esc_html_e('Copy','loco-translate')?></a> |
|
68 |
</span>
|
69 |
+
<span>
|
70 |
+
<a href="<?php $po->e('info')?>"><?php esc_html_e('Info','loco-translate')?></a> |
|
71 |
</span>
|
72 |
+
<span class="trash">
|
73 |
+
<a href="<?php $po->e('delete')?>"><?php esc_html_e('Delete','loco-translate')?></a>
|
74 |
</span>
|
75 |
</nav>
|
76 |
</td><?php
|
tpl/admin/config/debug.php
CHANGED
@@ -8,14 +8,14 @@ $this->extend('../layout');
|
|
8 |
<div class="panel" id="loco-versions">
|
9 |
<h3>Versions</h3>
|
10 |
<dl><?php
|
11 |
-
foreach( $versions as $key => $value ):?>
|
12 |
<dt>
|
13 |
<?php echo $versions->escape($key)?>:
|
14 |
</dt>
|
15 |
<dd>
|
16 |
<code class="path"><?php $versions->e($key)?></code>
|
17 |
</dd><?php
|
18 |
-
endforeach?>
|
19 |
</dl>
|
20 |
</div>
|
21 |
|
@@ -69,5 +69,23 @@ $this->extend('../layout');
|
|
69 |
|
70 |
<dt>File mods disallowed:</dt>
|
71 |
<dd><?php echo $fs->disabled?'Yes':'No'?></dd>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
72 |
</dl>
|
73 |
</div>
|
8 |
<div class="panel" id="loco-versions">
|
9 |
<h3>Versions</h3>
|
10 |
<dl><?php
|
11 |
+
foreach( $versions as $key => $value ): if( $value ):?>
|
12 |
<dt>
|
13 |
<?php echo $versions->escape($key)?>:
|
14 |
</dt>
|
15 |
<dd>
|
16 |
<code class="path"><?php $versions->e($key)?></code>
|
17 |
</dd><?php
|
18 |
+
endif; endforeach?>
|
19 |
</dl>
|
20 |
</div>
|
21 |
|
69 |
|
70 |
<dt>File mods disallowed:</dt>
|
71 |
<dd><?php echo $fs->disabled?'Yes':'No'?></dd>
|
72 |
+
|
73 |
+
<dt>File mod safety level:</dt>
|
74 |
+
<dd><?php $fs->e('fs_protect')?></dd>
|
75 |
+
|
76 |
+
</dl>
|
77 |
+
</div>
|
78 |
+
|
79 |
+
<div class="panel" id="loco-debug">
|
80 |
+
<h3>Debug settings</h3>
|
81 |
+
<dl><?php
|
82 |
+
foreach( $debug as $key => $value ):?>
|
83 |
+
<dt>
|
84 |
+
<?php echo $debug->escape($key)?>:
|
85 |
+
</dt>
|
86 |
+
<dd>
|
87 |
+
<?php $debug->e($key)?>
|
88 |
+
</dd><?php
|
89 |
+
endforeach?>
|
90 |
</dl>
|
91 |
</div>
|
tpl/admin/init/init-po.php
CHANGED
@@ -96,7 +96,7 @@ $this->extend('../layout');
|
|
96 |
</label>
|
97 |
</th>
|
98 |
<td>
|
99 |
-
<a href="<?php $help->e('href')?>#locations" class="has-icon icon-help" target="_blank"><?php $help->e('text')?></a>
|
100 |
</td>
|
101 |
</tr><?php
|
102 |
$choiceId = 0;
|
@@ -139,7 +139,7 @@ $this->extend('../layout');
|
|
139 |
3. <?php esc_html_e('Template options','loco-translate')?>:
|
140 |
</th>
|
141 |
<td>
|
142 |
-
<a href="<?php $help->e('href')?>#copy" class="has-icon icon-help" target="_blank"><?php $help->e('text')?></a>
|
143 |
</td>
|
144 |
</tr>
|
145 |
<tr valign="top" class="compact">
|
96 |
</label>
|
97 |
</th>
|
98 |
<td>
|
99 |
+
<a href="<?php $help->e('href')?>#locations" class="has-icon icon-help" target="_blank" tabindex="-1"><?php $help->e('text')?></a>
|
100 |
</td>
|
101 |
</tr><?php
|
102 |
$choiceId = 0;
|
139 |
3. <?php esc_html_e('Template options','loco-translate')?>:
|
140 |
</th>
|
141 |
<td>
|
142 |
+
<a href="<?php $help->e('href')?>#copy" class="has-icon icon-help" target="_blank" tabindex="-1"><?php $help->e('text')?></a>
|
143 |
</td>
|
144 |
</tr>
|
145 |
<tr valign="top" class="compact">
|